/* Hintling 4.0.0: the V4 "Bright and product-led" design, Powder & Slate (Dan, 16 Nov 2026).
   The foundation every page loads last: tokens, type, the juicy buttons, labels, cards, the header, the footer with the
   big wordmark, shared V4 parts (stage, bento, tiles, device frames, glass chips, FAQ, forms, tables) and the motion.
   Layout and behaviour only: no words are set here. Page groups add their own file (v4-home, v4-pages, v4-work,
   v4-trade, v4-guides) on top of this one, using these tokens. */

/* ---------- tokens ---------- */
:root {
	color-scheme: light;
	--ink: #142033; --body: #3E4A5C; --mute: #586477; --edge: #8893A5; --line: #E2E8F0; --mist: #F4F7FA; --paper: #FFFFFF;
	--accent: #9DBBDD; --on-accent: #142033; --accent-text: #2F5E91; --accent-display: #2361C6; --accent-deep: #2C5786;
	--wash: #F1F5FA; --wash-2: #E3EBF5; --glow: 157, 187, 221; --glow-2: 206, 220, 240;
	--ok: #17713D; --ok-wash: #E6F5EC;
	--month-bg: #9DBBDD; --month-ink: #142033; --month-soft: #24324A; --month-chip: rgba(255, 255, 255, .45);

	/* juicy buttons: Azure, the only colour (Dan's pick, 17 Nov 2026): white text on a deep blue gradient, every state
	   AA for white text on both stops (rest 4.67/5.84, hover 4.81/6.17, press 6.07/7.09; notes/BUTTONS.md) */
	--b-top: #2F72D6; --b-bot: #2361C6; --b-ink: #FFFFFF; --b-glow: 35, 97, 198;
	--b-h-top: #2B6FD8; --b-h-bot: #1E5CC6; --b-p-top: #255FBE; --b-p-bot: #1F55AD;
	--b-sweep: rgba(255, 255, 255, 0); /* no light band under white text: it would dip below AA while it passes */
	--mark: #2F72D6; /* dots, the pick ring, step rules, the wordmark's dots */
	/* the accent phrase of a heading: Azure gradient words (Dan's pick B, 17 Nov 2026) */
	--hl-deep: #2361C6; --hl-mid: #3D7FE0; --hl-shine: #6EA2EC;

	--r-s: 12px; --r-m: 20px; --r-l: 28px; --r-xl: 40px; --pill: 999px;
	--sh-1: 0 1px 2px rgba(20, 32, 51, .05), 0 4px 14px rgba(20, 32, 51, .05);
	--sh-2: 0 2px 4px rgba(20, 32, 51, .04), 0 20px 44px -16px rgba(20, 32, 51, .18);
	--sh-3: 0 4px 8px rgba(20, 32, 51, .04), 0 44px 80px -28px rgba(var(--glow), .55);
	--e-out: cubic-bezier(.16, 1, .3, 1); --e-soft: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.45, .64, 1);
	--wrap: 1240px; --gut: 24px; --gap: 24px; --sec: 128px;
	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--hs-shell: 40px; --hs-core: 28px; --hs-field: 12px;
	/* the header stays at the top (r2, P4 M2): --v4-stick = where it sticks (below the admin bar when one is fixed there),
	   --v4-head = its height (12px above the 64px pill; 70px from 520px down), --v4-stuck = its bottom edge. Sticky parts
	   and anchor jumps (html scroll-padding) are measured from --v4-stuck. */
	--v4-stick: 0px; --v4-head: 76px; --v4-stuck: calc(var(--v4-stick) + var(--v4-head));
}
:root:has(> body.admin-bar) { --v4-stick: 32px; }
@media (max-width: 782px) { :root:has(> body.admin-bar) { --v4-stick: 46px; } }
@media (max-width: 600px) { :root:has(> body.admin-bar) { --v4-stick: 0px; } }
@media (max-width: 520px) { :root { --v4-head: 70px; } }
@media (max-width: 900px) { :root { --sec: 88px; --gap: 16px; } }
@media (max-width: 600px) { :root { --gut: 20px; --sec: 72px; --r-xl: 28px; --r-l: 22px; } }
@media (max-width: 359px) { :root { --gut: 14px; } }

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--v4-stuck) + 20px); }
body { background: var(--paper); color: var(--body); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
:where(h1, h2, h3, h4, h5, h6, .wp-block-heading) { font-family: var(--font); color: var(--ink); font-weight: 800; text-wrap: balance; word-spacing: .05em; }
:where(h1) { letter-spacing: -.045em; }
:where(h2) { letter-spacing: -.04em; }
:where(h3) { letter-spacing: -.03em; }
:where(h4, h5, h6) { font-weight: 700; letter-spacing: -.015em; }
:where(p, li, dd, td, figcaption) { text-wrap: pretty; }
strong, b { font-weight: 700; color: inherit; }
em { font-style: normal; }
code, kbd, pre, samp { font-family: var(--mono); font-size: .9em; }
::selection { background: #CFE0F6; color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
a { color: var(--accent-text); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); text-decoration-thickness: 2.5px; }
.has-muted-color { color: var(--mute) !important; }
.sr-only, .hs-sr, .v4-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.v4-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); box-sizing: border-box; }
.v4-num, .hs-price, .num { font-variant-numeric: tabular-nums lining-nums; }

/* the one accent phrase in a heading (V4 .hl; stored pages use <em>): Azure gradient words (Dan's pick B, 17 Nov 2026).
   At rest the phrase shows the deep end of the gradient (#3D7FE0 to #2361C6; the light #6EA2EC band only passes once,
   when the heading comes in: v4-shine below). Solid #2361C6 where background-clip:text is missing; plain text in forced
   colours; selected text in slate. Words, copy and screen readers are untouched (CSS only). */
:where(h1, h2, h3) em, .v4-hl, .hl { color: var(--accent-display); font-style: normal; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	:where(h1, h2, h3) em, .v4-hl, .hl,
	:is(h1, h2, h3) .v4-wv em .v4-w, .v4-wv :is(.v4-hl, .hl) .v4-w {
		background: linear-gradient(100deg, var(--hl-deep) 0%, var(--hl-mid) 40%, var(--hl-shine) 50%, var(--hl-mid) 60%, var(--hl-deep) 100%) 100% 0 / 260% 100% no-repeat;
		-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
		-webkit-box-decoration-break: clone; box-decoration-break: clone;
	}
	/* a heading split into words by v4.js: each word carries the gradient (a moving word paints on its own layer) */
	:is(h1, h2, h3) .v4-wv em, .v4-wv :is(.v4-hl, .hl) { background: none; -webkit-text-fill-color: currentColor; }
}
:where(h1, h2, h3) em::selection, :where(h1, h2, h3) em ::selection, .v4-hl::selection, .v4-hl ::selection, .hl::selection, .hl ::selection { color: var(--ink); -webkit-text-fill-color: var(--ink); background: #CFE0F6; }
@media (forced-colors: active) {
	:where(h1, h2, h3) em, .v4-hl, .hl, :is(h1, h2, h3) .v4-wv em .v4-w, .v4-wv :is(.v4-hl, .hl) .v4-w { background: none !important; color: CanvasText; -webkit-text-fill-color: currentColor !important; }
}

/* ---------- juicy buttons ----------
   Primary: a glossy gradient fill in the button blue, slate text (white on Azure), an inner top highlight and a soft glow
   of its own colour. Hover: a brighter fill fades in, one band of light sweeps across, the button lifts and its glow
   blooms, the arrow slides. Press: a deeper fill, an inner shadow, a small squash. All three fills pass AA in every
   state (FOR-LEGAL §3 / notes/BUTTONS.md). */
.v4-btn,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.wp-element-button:not(.wp-block-button__link) {
	--lift: 0px; --mx: 0px; --my: 0px;
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box;
	min-height: 52px; padding: 12px 26px; border: 0; border-radius: var(--pill);
	background: linear-gradient(180deg, var(--b-top) 0%, var(--b-bot) 100%); color: var(--b-ink);
	font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em; text-decoration: none; text-align: center; cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(20, 32, 51, .08), 0 1px 2px rgba(20, 32, 51, .12), 0 10px 22px -10px rgba(var(--b-glow), .85);
	transform: translate3d(var(--mx), calc(var(--my) - var(--lift)), 0);
	transition: transform 260ms var(--e-soft), box-shadow 260ms var(--e-soft), color 200ms var(--e-soft);
	-webkit-tap-highlight-color: transparent;
}
.v4-btn::before,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link::before,
.wp-element-button:not(.wp-block-button__link)::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, var(--b-sweep) 50%, rgba(255, 255, 255, 0) 62%) -120% 0 / 260% 100% no-repeat, linear-gradient(180deg, var(--b-h-top) 0%, var(--b-h-bot) 100%);
	transition: opacity 260ms var(--e-soft), background-position 0s linear 260ms;
}
.v4-btn:hover, .v4-btn:focus-visible,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:focus-visible,
.wp-element-button:not(.wp-block-button__link):hover,
.wp-element-button:not(.wp-block-button__link):focus-visible {
	color: var(--b-ink); text-decoration: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(20, 32, 51, .08), 0 2px 4px rgba(20, 32, 51, .1), 0 18px 34px -12px rgba(var(--b-glow), .95), 0 6px 16px -6px rgba(var(--b-glow), .5);
}
@media (hover: hover) {
	.v4-btn:hover,
	.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
	.wp-element-button:not(.wp-block-button__link):hover { --lift: 2px; }
	.v4-btn:hover::before,
	.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover::before,
	.wp-element-button:not(.wp-block-button__link):hover::before { opacity: 1; background-position: 220% 0, 0 0; transition: opacity 260ms var(--e-soft), background-position 900ms var(--e-out); }
}
.v4-btn:focus-visible::before,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:focus-visible::before,
.wp-element-button:not(.wp-block-button__link):focus-visible::before { opacity: 1; }
.v4-btn:active,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:active,
.wp-element-button:not(.wp-block-button__link):active {
	--lift: 0px; transform: translate3d(var(--mx), var(--my), 0) scale(.97); transition-duration: 110ms;
	box-shadow: inset 0 2px 6px rgba(20, 32, 51, .22), inset 0 -1px 0 rgba(255, 255, 255, .3), 0 4px 10px -6px rgba(var(--b-glow), .8);
}
.v4-btn:active::before,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:active::before,
.wp-element-button:not(.wp-block-button__link):active::before { opacity: 1; background: linear-gradient(180deg, var(--b-p-top) 0%, var(--b-p-bot) 100%); transition: opacity 80ms; }
.v4-btn svg { width: 18px; height: 18px; flex: none; transition: transform 320ms var(--spring); }
@media (hover: hover) { .v4-btn:hover svg { transform: translateX(3px); } }

/* the arrow WordPress buttons carry (3.x drew it in a lime circle): now a plain arrow in the text colour */
.wp-block-button .wp-element-button::after, .hs-brief .wp-element-button::after {
	content: ""; flex: none; width: 18px; height: 18px; border-radius: 0; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h11M10.5 5.5 15 10l-4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h11M10.5 5.5 15 10l-4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 320ms var(--spring);
}
@media (hover: hover) { .wp-block-button .wp-element-button:hover::after, .hs-brief .wp-element-button:hover::after { transform: translateX(3px); } }

/* light (second) button: white, a 1.5px edge, slate text */
.v4-btn--light,
.is-style-outline > .wp-block-button__link {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box;
	min-height: 52px; padding: 12px 26px; border: 0; border-radius: var(--pill);
	background: var(--paper); color: var(--ink); font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
	box-shadow: inset 0 0 0 1.5px var(--edge), 0 1px 2px rgba(20, 32, 51, .06);
	transition: transform 260ms var(--e-soft), box-shadow 260ms var(--e-soft), background-color 260ms var(--e-soft);
}
.v4-btn--light::before { display: none; }
.v4-btn--light:hover, .is-style-outline > .wp-block-button__link:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 10px 22px -14px rgba(20, 32, 51, .4); text-decoration: none; }
@media (hover: hover) { .v4-btn--light:hover, .is-style-outline > .wp-block-button__link:hover { transform: translateY(-2px); } }
.v4-btn--light:active, .is-style-outline > .wp-block-button__link:active { transform: scale(.97); transition-duration: 110ms; background: var(--mist); }
.is-style-outline .wp-element-button::after { background-color: currentColor; background-image: none; }
.v4-btn--sm { min-height: 44px; padding: 8px 20px; font-size: .9375rem; }
.v4-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wp-block-buttons { gap: 12px; }

/* text link with an arrow (3.x .hs-text-link) */
.hs-text-link a, .v4-link { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; background: none; padding-bottom: 0; }
.hs-text-link a:hover, .v4-link:hover { color: var(--ink); text-decoration-thickness: 2.5px; background: none; }

/* ---------- labels: a pill with a dot, never mono caps ---------- */
.v4-tag, .hs-eyebrow {
	display: inline-flex !important; width: fit-content; max-width: 100%; align-items: center; gap: 8px; box-sizing: border-box;
	min-height: 32px; padding: 5px 14px 5px 12px !important; border-radius: var(--pill);
	background: var(--wash); color: var(--accent-deep) !important;
	font-family: var(--font) !important; font-size: .8125rem !important; font-weight: 700 !important; letter-spacing: -.005em !important; line-height: 1.3 !important; text-transform: none !important;
}
.v4-tag::before, .hs-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mark); flex: none; }
.v4-tag a, .hs-eyebrow a { color: inherit; }
.v4-tag--quiet { background: var(--mist); color: var(--body) !important; }
.v4-tag--quiet::before { background: var(--edge); }
.v4-tag--ok { background: var(--ok-wash); color: var(--ok) !important; }
.v4-tag--ok::before { background: var(--ok); }
.v4-tag--plain { background: var(--paper); box-shadow: var(--sh-1); color: var(--ink) !important; }

/* ---------- cards ---------- */
.v4-card, .hs-card {
	position: relative; box-sizing: border-box; border: 0; border-radius: var(--r-l) !important; background: var(--paper);
	box-shadow: var(--sh-1), inset 0 0 0 1px var(--line);
	transition: transform 320ms var(--e-soft), box-shadow 320ms var(--e-soft);
}
.v4-card { padding: clamp(22px, 2.6vw, 32px); }
@media (hover: hover) {
	.v4-card.v4-lift:hover, .hs-card:has(a):hover { transform: translateY(-4px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
}
.hs-card--featured { background: var(--paper) !important; color: var(--body); box-shadow: var(--sh-3), inset 0 0 0 2px var(--mark) !important; }
.hs-card--featured :where(p, li) { color: var(--body) !important; }
.hs-card--featured :where(h3, strong) { color: var(--ink) !important; }
.hs-card--featured .has-muted-color { color: var(--mute) !important; }
.hs-card--featured .wp-block-button:not(.is-style-outline) .wp-element-button { background: linear-gradient(180deg, var(--b-top) 0%, var(--b-bot) 100%); color: var(--b-ink); }

/* ---------- V4 parts the page groups build sections from ---------- */
.v4-sec { padding-block: calc(var(--sec) / 2); }
.v4-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 860px; }
.v4-head.center { text-align: center; justify-items: center; margin-inline: auto; }
.v4-d1, .v4-d2, .v4-d3, .v4-h3 { color: var(--ink); font-weight: 800; text-wrap: balance; word-spacing: .07em; margin: 0; }
.v4-d1 { font-size: clamp(2.5rem, 1.35rem + 5.1vw, 5.5rem); line-height: 1; letter-spacing: -.045em; }
.v4-d2 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem); line-height: 1.04; letter-spacing: -.04em; }
.v4-d3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.1; letter-spacing: -.03em; }
.v4-h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
.v4-lead { font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem); line-height: 1.5; color: var(--body); max-width: 34em; }
.v4-small { font-size: .875rem; line-height: 1.55; }
.v4-mute { color: var(--mute); }

/* stage: the soft colour field that holds a hero, the featured work or the closing call */
.v4-stage { position: relative; border-radius: var(--r-xl); background: linear-gradient(168deg, var(--wash) 0%, var(--wash-2) 100%); overflow: hidden; isolation: isolate; }
.v4-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(60% 70% at 78% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%), radial-gradient(45% 60% at 8% 100%, rgba(var(--glow), .15), rgba(var(--glow), 0) 70%), radial-gradient(42% 55% at 100% 100%, rgba(var(--glow-2), .3), rgba(var(--glow-2), 0) 70%); }
.v4-stage--mist { background: var(--mist); }
.v4-stage--mist::before { background: radial-gradient(60% 70% at 78% 30%, #fff, rgba(255, 255, 255, 0) 70%); }

/* bento: uneven tiles, never three equal icon cards */
.v4-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.v4-tile { grid-column: span 12; border-radius: var(--r-l); background: var(--mist); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; min-width: 0; box-sizing: border-box; }
.v4-tile--wash { background: var(--wash); }
.v4-tile--white { background: var(--paper); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
@media (min-width: 760px) { .v4-s4 { grid-column: span 4; } .v4-s5 { grid-column: span 5; } .v4-s6 { grid-column: span 6; } .v4-s7 { grid-column: span 7; } .v4-s8 { grid-column: span 8; } .v4-s3 { grid-column: span 6; } }
@media (min-width: 1080px) { .v4-s3 { grid-column: span 3; } }

/* glass: only ever on a colour field or a picture, never on white */
.v4-glass { background: rgba(255, 255, 255, .76); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); box-shadow: var(--sh-2), inset 0 0 0 1px rgba(255, 255, 255, .9); border-radius: var(--r-m); }
.v4-chip { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; color: var(--ink); font-weight: 700; font-size: .9375rem; line-height: 1.25; letter-spacing: -.01em; }
.v4-chip small { display: block; font-size: .8125rem; font-weight: 500; color: var(--body); letter-spacing: 0; }

/* device frames (real screens only) */
.v4-browser { background: #fff; border-radius: 18px; box-shadow: var(--sh-3), inset 0 0 0 1px rgba(20, 32, 51, .06); overflow: hidden; }
.v4-browser .v4-chrome { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--line); }
.v4-browser .v4-dots { display: flex; gap: 6px; flex: none; }
.v4-browser .v4-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D5DBE5; }
.v4-browser .v4-url { flex: 1; min-width: 0; height: 24px; border-radius: var(--pill); background: var(--mist); color: var(--mute); font-size: .75rem; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; margin-inline: auto; }
.v4-phone { background: #fff; border-radius: 30px; padding: 7px; box-shadow: var(--sh-2), inset 0 0 0 1px rgba(20, 32, 51, .08); }
.v4-phone > * { border-radius: 24px; overflow: hidden; }

/* ticks */
.v4-ticks, .hs-ticks { display: grid; gap: 10px; padding: 0; list-style: none; }
.v4-ticks li, .hs-ticks li { position: relative; padding-left: 30px; }
.v4-ticks li::before, .hs-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--wash-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23142033' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.4'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* FAQ: rounded disclosures (core Details block and V4 markup) */
.v4-faq details, .wp-block-details { background: #fff; border-radius: var(--r-m); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); transition: box-shadow 260ms var(--e-soft); }
.v4-faq details + details, .wp-block-details + .wp-block-details { margin-top: 12px; }
.v4-faq details[open], .wp-block-details[open] { box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.v4-faq summary, .wp-block-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; color: var(--ink); font-size: 1.0625rem; letter-spacing: -.015em; line-height: 1.3; border-radius: var(--r-m); }
.v4-faq summary::-webkit-details-marker, .wp-block-details summary::-webkit-details-marker { display: none; }
.v4-faq summary::after, .wp-block-details summary::after { content: ""; width: 32px; height: 32px; flex: none; border-radius: 50%;
	background: var(--wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23142033' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M16 10v12M10 16h12'/%3E%3C/svg%3E") center / 32px no-repeat; transition: transform 320ms var(--spring), background-color 220ms var(--e-soft); }
.v4-faq details[open] summary::after, .wp-block-details[open] summary::after { transform: rotate(45deg); background-color: var(--wash-2); }
.wp-block-details > :not(summary) { padding-inline: 22px; }
.wp-block-details > :last-child:not(summary) { padding-bottom: 22px; }

/* forms */
:where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], select, textarea) {
	font-family: var(--font); font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--edge); border-radius: var(--r-s); min-height: 48px; padding: 10px 14px; box-sizing: border-box;
	transition: border-color 200ms var(--e-soft), box-shadow 200ms var(--e-soft);
}
:where(input, select, textarea):focus-visible { outline: 2px solid transparent; outline-offset: 2px; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(var(--glow), .45); }

/* tables */
.wp-block-table table { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.wp-block-table :where(th, td) { border: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.wp-block-table tr:last-child :where(th, td) { border-bottom: 0; }
.wp-block-table thead th { background: var(--wash); color: var(--ink); font-weight: 700; }
.wp-block-table figcaption { color: var(--mute); }

/* pictures: rounded, never full-bleed behind text */
.wp-block-image img, .wp-block-post-featured-image img { border-radius: var(--r-l); }

/* ---------- shared stored-page parts that 3.x styled in redesign.css (no longer loaded): notes, footnote marks ----------
   Zero weight (:where), so a page group's own rule wins. */
:where(.hs-r.alignfull) { display: flow-root; }
:where(.hs-r) .wrap { box-sizing: border-box; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
:where(.hs-notes) { padding: clamp(8px, 2vw, 24px) 0 clamp(28px, 4vw, 48px); background: transparent; }
:where(.hs-notes) .hs-notes-h { margin: 0 0 14px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--font); font-size: .9375rem; font-weight: 800; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
:where(.hs-notes-list) { display: grid; gap: 8px; max-width: 64em; margin: 0; padding: 0; list-style: none; }
:where(.hs-notes-list) li { display: grid; grid-template-columns: 1.75em minmax(0, 1fr); max-width: none; font-size: .875rem; line-height: 1.6; color: var(--mute); scroll-margin-top: 16px; }
:where(.hs-notes-m) { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
:where(.hs-notes-list) li:target { color: var(--ink); }
:where(.hs-fn-s) { position: relative; top: -.42em; vertical-align: baseline; line-height: 0; font-size: max(12px, .55em); font-weight: 600; letter-spacing: 0; text-transform: none; }
:where(.hs-fn) { display: inline; margin: 0 -10px 0 -8px; padding: 5px 10px; border-radius: 6px; white-space: nowrap; color: inherit; text-decoration: none; font-variant-numeric: tabular-nums; }
:where(.hs-fn):hover { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
:where(.hs-fn-chip) { position: absolute; left: 12px; top: 12px; line-height: 0; font-size: 13px; z-index: 2; }
:where(.hs-fn-chip) .hs-fn { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; margin: 0; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); font: 700 13px/1 var(--font); box-shadow: var(--sh-1), inset 0 0 0 1.5px var(--edge); }
:where(.hs-fn-chip) .hs-fn:hover { text-decoration: none; background: #fff; }
:where(.hs-r) .ai-note { margin-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--mute); }

/* ---------- header: a floating glass pill that stays at the top (r2, P4 M2: the header element is the sticky box, as in
   3.7.5; the clear 12px strip above the pill lets clicks through) ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: var(--v4-stick); z-index: 50; padding-top: 12px; pointer-events: none; }
.v4-top-wrap { position: relative; z-index: 50; margin-top: 0; padding-inline: var(--gut); }
.v4-top-wrap .v4-bar { pointer-events: auto; }
.v4-bar { max-width: var(--wrap); margin-inline: auto; display: flex; align-items: center; gap: 12px; min-height: 64px; box-sizing: border-box; padding: 8px 10px 8px 22px; border-radius: var(--pill);
	background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
	box-shadow: var(--sh-1), inset 0 0 0 1px rgba(20, 32, 51, .07); position: relative; transition: box-shadow 260ms var(--e-soft), background-color 260ms var(--e-soft); }
.v4-scrolled .v4-bar { background: rgba(255, 255, 255, .94); box-shadow: 0 2px 6px rgba(20, 32, 51, .05), 0 14px 34px -14px rgba(20, 32, 51, .22), inset 0 0 0 1px rgba(20, 32, 51, .07); }
.v4-brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; flex: none; border-radius: 10px; }
.v4-brand img { display: block; width: 132px; height: auto; transition: transform 420ms var(--spring); }
@media (hover: hover) { .v4-brand:hover img { transform: translateY(-1px) scale(1.03); } }
.v4-nav { display: flex; gap: 2px; }
.v4-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: var(--pill); text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--ink); white-space: nowrap; transition: background-color 220ms var(--e-soft); }
.v4-nav a:hover { background: var(--mist); color: var(--ink); }
.v4-nav a[aria-current="page"] { background: var(--wash-2); }
.v4-nav-cta { white-space: nowrap; flex: none; }
.v4-menu { display: none; }
.v4-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: var(--pill); font-weight: 700; font-size: .9375rem; color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--edge); background: var(--paper); }
.v4-menu summary::-webkit-details-marker { display: none; }
.v4-menu summary i { position: relative; width: 16px; height: 10px; }
.v4-menu summary i::before, .v4-menu summary i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 300ms var(--e-soft), top 300ms var(--e-soft); }
.v4-menu summary i::before { top: 0; }
.v4-menu summary i::after { top: 8px; }
.v4-menu[open] summary i::before { top: 4px; transform: rotate(45deg); }
.v4-menu[open] summary i::after { top: 4px; transform: rotate(-45deg); }
.v4-menu-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); padding: 12px; display: grid; gap: 2px; }
/* 4.0.1 (P4 r2 N1): on a phone held sideways the open menu scrolls inside itself instead of running off the screen */
.v4-menu-panel { box-sizing: border-box; max-height: calc(100vh - var(--v4-stuck) - 16px); max-height: calc(100dvh - var(--v4-stuck) - 16px); overflow-y: auto; overscroll-behavior: contain; }
.v4-menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px; text-decoration: none; font-weight: 600; color: var(--ink); }
.v4-menu-panel a:hover { background: var(--mist); color: var(--ink); }
.v4-menu-panel a[aria-current="page"] { background: var(--wash); }
.v4-menu-panel .v4-btn { margin-top: 8px; color: var(--b-ink); }
.v4-menu-panel .v4-btn:hover { background: linear-gradient(180deg, var(--b-top) 0%, var(--b-bot) 100%); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (max-width: 1099px) { .v4-nav { display: none; } .v4-menu { display: block; } .v4-bar { padding-left: 18px; } }
/* phones keep "Start a project" in the header (CRO audit L1); the Menu button shows its icon, its word stays for screen readers */
@media (max-width: 520px) {
	.v4-bar { gap: 6px; padding: 6px 6px 6px 14px; min-height: 58px; }
	.v4-brand img { width: 104px; }
	.v4-bar .v4-nav-cta { min-height: 44px; padding: 6px 14px; font-size: .875rem; gap: 6px; }
	.v4-bar .v4-nav-cta::after { display: none; }
	.v4-menu summary { width: 44px; padding: 0; justify-content: center; }
	.v4-menu summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 359px) { .v4-brand img { width: 92px; } .v4-bar .v4-nav-cta { padding: 6px 11px; font-size: .8125rem; } }

/* ---------- footer: light, columns, then the big wordmark (kept from 3.3.0) ---------- */
.v4-foot-wrap { margin-top: 0; }
.v4-foot { background: var(--mist); color: var(--body); padding-top: clamp(64px, 8vw, 104px); overflow: hidden; font-size: .9375rem; position: relative; isolation: isolate; }
.v4-foot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 60% at 85% 100%, rgba(var(--glow), .22), rgba(var(--glow), 0) 70%), radial-gradient(40% 50% at 5% 100%, rgba(var(--glow-2), .45), rgba(var(--glow-2), 0) 70%); }
.v4-foot-cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.v4-fc-brand img { width: 150px; height: auto; margin-bottom: 18px; }
.v4-fc-brand p { max-width: 30em; margin: 0 0 12px; color: var(--body); }
.v4-foot-mail { color: var(--ink); font-weight: 700; }
.v4-fc-follow a { color: var(--accent-text); font-weight: 600; }
.v4-foot nav h2 { font-size: .9375rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin: 0 0 10px; }
.v4-foot nav ul { list-style: none; margin: 0; padding: 0; }
.v4-foot nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--body); text-decoration: none; font-weight: 500; transition: color 200ms var(--e-soft); }
.v4-foot nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--mark); text-underline-offset: 5px; }
.v4-foot-legal { margin: clamp(40px, 5vw, 56px) 0 0; padding-top: 24px; border-top: 1px solid #D9E1EC; color: var(--mute); font-size: .84375rem; line-height: 1.6; max-width: 62em; }
.v4-mega { margin-top: clamp(40px, 5vw, 72px); padding: 0 var(--gut) clamp(14px, 2vw, 26px); }
.v4-mega-svg { display: block; width: 100%; max-width: 1360px; height: auto; margin: 0 auto; overflow: hidden; }
.v4-mega-svg path { fill: var(--ink); }
.v4-mega-svg .m-dot { fill: var(--mark); }
.v4-mega-svg .m-l { transform-box: view-box; }
@media (max-width: 1000px) { .v4-foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .v4-fc-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .v4-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }
@media (max-width: 380px) { .v4-foot-cols { grid-template-columns: minmax(0, 1fr); } }

/* the footer no longer needs the 3.x top band spacing */
body:has(.foot-band) .v4-foot { padding-top: clamp(64px, 8vw, 104px); }

/* ---------- motion ----------
   Everything is visible at rest: nothing is hidden while it waits for the script or for scrolling. The script adds
   .v4-in a little before a block reaches the screen, and the keyframe starts from a visible state (at least 25%
   opacity) and always finishes; .v4-done then removes the animation so hovers take over. html.v4-motion is set in the
   head only when the visitor hasn't asked for reduced motion. */
@keyframes v4-rise { from { opacity: .28; transform: translate3d(0, 26px, 0) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes v4-rise-s { from { opacity: .3; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes v4-word { from { opacity: .22; transform: translate3d(0, .42em, 0); filter: blur(5px); } 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes v4-pop { from { opacity: .35; transform: translate3d(0, 10px, 0) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes v4-pic { from { opacity: .4; clip-path: inset(14% 0 0 0 round var(--r-l)); transform: translate3d(0, 22px, 0) scale(1.03); } to { opacity: 1; clip-path: inset(0 0 0 0 round var(--r-l)); transform: none; } }
@keyframes v4-rule { from { transform: scaleX(.1); } to { transform: scaleX(1); } }
@keyframes v4-shine { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes v4-drop { from { opacity: .4; transform: translate3d(0, -12px, 0); } to { opacity: 1; transform: none; } }
@keyframes v4-letter { from { transform: translateY(102%); } to { transform: none; } }
@keyframes v4-fade-down { from { opacity: .3; transform: translate3d(0, -6px, 0); } to { opacity: 1; transform: none; } }

.v4-motion .v4-top-wrap { animation: v4-drop 760ms var(--e-out) both; }
.v4-motion [data-v4].v4-in { animation: v4-rise 900ms var(--e-out) both; animation-delay: calc(var(--i, 0) * 85ms); }
.v4-motion [data-v4="s"].v4-in { animation-name: v4-rise-s; }
.v4-motion [data-v4="pop"].v4-in { animation: v4-pop 720ms var(--spring) both; animation-delay: calc(var(--i, 0) * 70ms); }
.v4-motion [data-v4="pic"].v4-in { animation: v4-pic 1100ms var(--e-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.v4-motion [data-v4-split].v4-in { animation: none; }
.v4-motion .v4-in .v4-w { display: inline-block; animation: v4-word 860ms var(--e-out) both; animation-delay: calc(var(--d0, 0ms) + var(--w) * 55ms); }
.v4-wv .v4-w { display: inline-block; }
.v4-motion .v4-done, .v4-motion .v4-done .v4-w { animation: none !important; }
/* 4.0.1 (P4 L4): a block already on screen when v4.js ran late stays at rest: nothing inside it animates either */
.v4-motion .v4-now, .v4-motion .v4-now::before, .v4-motion .v4-now::after, .v4-motion .v4-now *, .v4-motion .v4-now *::before, .v4-motion .v4-now *::after { animation: none !important; }
/* the accent phrase of a heading: one soft shine passes over it as the heading comes in, then it rests on the deep end.
   Split headings: the words land, then the shine runs word to word (--a: the word's place in the phrase, from v4.js).
   Other headings: the shine runs when their block is revealed. Finished state = rest state; none with reduced motion. */
.v4-motion .v4-in :is(h1, h2, h3) .v4-wv em .v4-w, .v4-motion .v4-in .v4-wv :is(.v4-hl, .hl) .v4-w,
.v4-motion :is(h1, h2, h3).v4-in .v4-wv em .v4-w {
	animation: v4-word 860ms var(--e-out) both, v4-shine 1400ms cubic-bezier(.2, .7, .1, 1) both;
	animation-delay: calc(var(--d0, 0ms) + var(--w) * 55ms), calc(var(--d0, 0ms) + 380ms + var(--wn, 4) * 55ms + var(--a, 0) * 70ms);
}
.v4-motion :is(h1, h2, h3):is(.v4-in, .v4-in *) em:not(.v4-wv *), .v4-motion :is(.v4-hl, .hl):is(.v4-in *):not(.v4-wv *) {
	animation: v4-shine 1400ms cubic-bezier(.2, .7, .1, 1) both; animation-delay: calc(var(--i, 0) * 85ms + 350ms);
}
/* the footer wordmark: letters rise from behind their line, the middle letters first */
.v4-motion .v4-mega.v4-in .m-l { animation: v4-letter 1000ms cubic-bezier(.2, .7, .1, 1) both; animation-delay: calc(var(--d) * 80ms); }
.v4-motion .v4-mega.v4-done .m-l { animation: none; }
.v4-motion details[open] > :not(summary) { animation: v4-fade-down 420ms var(--e-out); }
/* reading progress on guides */
@supports (animation-timeline: scroll()) {
	.v4-motion body.single-post::before { content: ""; position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--b-top), var(--b-bot)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; animation: v4-read linear both; animation-timeline: scroll(root block); }
	.v4-motion body.single-post.admin-bar::before { top: 32px; }
}
@keyframes v4-read { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
	.v4-btn, .wp-block-button__link, .wp-element-button { transform: none !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print {
	.wp-site-blocks > header.wp-block-template-part { position: static; padding-top: 0; }
	.v4-top-wrap { position: static; }
	.v4-btn::before, .wp-block-button__link::before { display: none; }
}
