/* ==========================================================================
   Design Meets Tech — main stylesheet (v1.1)
   One warm neutral family, one desaturated accent, no glows, no purple.
   Hierarchy comes from weight and colour, not from size or decoration.
   ========================================================================== */

@font-face { font-family: "Geist"; src: url("../fonts/geist-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

@property --x { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

:root {
	/* Warm neutrals only — never mix cool greys in. */
	/* Brand palette (Design Meets Tech brand board). */
	--ink: #111111;          /* Ink Black */
	--ink-2: #1B1A19;
	--ink-3: #272523;
	--paper: #F6F3EE;        /* Cream White */
	--paper-2: #ECE6DE;
	--surface: #FFFFFF;      /* Pure White */
	--line: #DED6CD;         /* Warm Beige */
	--line-strong: #C9BFB3;
	--line-dark: rgba(246, 243, 238, .1);
	--muted: #6B6761;        /* Graphite Grey */
	--muted-light: #A39D96;
	--on-dark: #D6D0C9;
	--navy: #224A7A;         /* Navy Blue */
	--teal: #2E9BB3;         /* Teal Blue */

	/* Orange leads; teal and navy support it (as in the logo). Ink text on orange passes AA. */
	--signal: #E4572E;       /* Orange */
	--signal-hover: #EC6A44;
	--signal-soft: #FBE4DB;
	--signal-ink: #B43E1B;   /* orange for text on light backgrounds */
	--ok: #224A7A;           /* positive states use navy text + teal marks */
	--error: #B42318;

	--font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: 1.0625rem;
	--fs-lg: 1.1875rem;
	--fs-h3: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
	--fs-h2: clamp(1.9rem, 1.4rem + 1.8vw, 3rem);
	--fs-h1: clamp(2.4rem, 1.7rem + 2.6vw, 3.9rem);

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(17, 17, 17, .06);
	--shadow: 0 18px 40px -22px rgba(17, 17, 17, .28);
	--shadow-lg: 0 34px 70px -34px rgba(17, 17, 17, .45);
	--edge-light: inset 0 1px 0 rgba(255, 255, 255, .07);

	--container: none; /* full width on every page; text keeps its own readable measure */
	--gutter: clamp(16px, 4.5vw, 96px);
	--section: clamp(72px, 9vw, 128px);
	--header-h: 84px;
	--pill-h: 56px;
	--ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0; font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.6;
	color: var(--ink); background: var(--paper);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal-ink); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
/* Two-tone headings: the second clause steps back in colour, not in font. */
h1 em, h2 em, h3 em { font-style: normal; color: var(--muted); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--signal); color: var(--ink); }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.single-post .container-narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(40px, 6vw, 80px); }
.site-main { outline: none; }

/* ---------- Section heads: left-aligned, title | intro ---------- */
.eyebrow { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .04em; color: var(--muted); margin: 0 0 16px; }
.eyebrow-light { color: var(--muted-light); }

.section-head {
	display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px);
	align-items: end; margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head > .eyebrow { grid-column: 1 / -1; }
.section-head > .section-title, .section-head > div:first-child { grid-column: 1; }
.section-head > .section-intro, .section-head.split > :last-child:not(:first-child) { grid-column: 2; justify-self: end; }
.section-head.split > div:first-child .eyebrow { margin-bottom: 16px; }
.section-title { font-size: var(--fs-h2); margin: 0; max-width: 22ch; }
.section-intro { font-size: var(--fs-lg); color: var(--muted); margin: 0; line-height: 1.55; max-width: 52ch; }
@media (max-width: 820px) {
	.section-head { grid-template-columns: 1fr; }
	.section-head > .section-intro, .section-head.split > :last-child:not(:first-child) { grid-column: 1; justify-self: start; margin-top: 20px; }
}
.h3 { font-size: var(--fs-h3); }

/* ---------- Buttons: no lift, no glow; tactile press ---------- */
.btn {
	--btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-fg);
	font-weight: 550; font-size: var(--fs-sm); line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .15s var(--ease);
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover { color: var(--btn-fg); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:disabled, .btn.is-loading { opacity: .7; cursor: progress; }
.btn-primary:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); }
.btn-accent { --btn-bg: var(--signal); --btn-fg: var(--ink); --btn-bd: var(--signal); }
.btn-accent:hover { --btn-bg: var(--signal-hover); --btn-bd: var(--signal-hover); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bd: var(--ink); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(246, 243, 238, .24); }
.btn-ghost-light:hover { --btn-bd: rgba(246, 243, 238, .6); }
.btn-sm { min-height: 40px; padding: 0 18px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: var(--fs-base); }
.row-cta, .center-cta { display: flex; margin-top: clamp(36px, 5vw, 56px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; text-decoration: none; border-bottom: 1px solid var(--signal); padding-bottom: 2px; }
.text-link .icon { transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-decoration: none; }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand:hover { color: inherit; }
.custom-logo { max-height: 44px; width: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark-mark { display: inline-flex; color: var(--ink); }
.wordmark-mark .logo-mark { width: auto; height: 40px; }
.wordmark-text { display: flex; flex-direction: column; white-space: nowrap; font-weight: 700; font-size: 1.08rem; line-height: .98; letter-spacing: -.035em; }
.wm-accent { color: var(--signal); }
.brand-light .wordmark-mark { color: #fff; }
.site-footer .wordmark-mark .logo-mark { height: 48px; }
.site-footer .wordmark-text { font-size: 1.3rem; }
.brand-tagline { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; font: 500 12px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }

/* ---------- Header ----------
   Top of page: a full-width bar — links left, logo centred, actions + menu dots right.
   After scrolling: the same items float as a centred glass pill with a separate round menu button.
   The <header> keeps its height in the flow, so nothing jumps when the bar starts floating. */
.site-header { position: relative; z-index: 100; height: var(--header-h); }
.header-bar {
	height: var(--header-h); padding: 0 var(--gutter);
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 24px;
}
.hb-pill { display: contents; }
.hb-nav { grid-column: 1; grid-row: 1; justify-self: start; min-width: 0; }
.site-header .brand { grid-column: 2; grid-row: 1; }
.hb-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 20px; margin-right: 60px; }
.menu-toggle { grid-column: 3; grid-row: 1; justify-self: end; }

.hb-nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 0 0 -12px; padding: 0; }
.hb-nav .menu a { display: block; padding: 8px 12px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: inherit; opacity: .78; transition: opacity .2s, background-color .2s; white-space: nowrap; }
.hb-nav .menu a:hover { opacity: 1; }
.hb-nav .menu .current-menu-item > a, .hb-nav .menu .current_page_item > a { opacity: 1; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.hb-link { font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: inherit; opacity: .78; white-space: nowrap; transition: opacity .2s; }
.hb-link:hover { opacity: 1; color: inherit; }
.hb-cta { white-space: nowrap; }

/* Dots menu button — 3×3 dots; the close button keeps only the diagonals (an X made of dots). */
.menu-toggle, .menu-close {
	width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer;
	display: inline-grid; place-items: center; transition: background-color .25s, transform .25s var(--ease);
}
.menu-toggle:hover, .menu-close:hover { background: rgba(17, 17, 17, .06); }
.dots { display: grid; grid-template-columns: repeat(3, 4px); gap: 4px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; transition: transform .35s var(--ease), opacity .25s; }
.menu-toggle:hover .dots i:nth-child(odd) { transform: scale(1.25); }
.dots-x i:nth-child(even) { transform: scale(0); opacity: 0; }
.menu-close:hover .dots-x i { transform: scale(1.2); }
.menu-close:hover .dots-x i:nth-child(even) { transform: scale(0); }

/* Floating state */
@keyframes dmt-pill-in { from { opacity: 0; transform: translate3d(0, -130%, 0); } to { opacity: 1; transform: none; } }
.site-header.is-floating .header-bar {
	position: fixed; z-index: 100; top: calc(12px + var(--wp-admin--admin-bar--height, 0px)); left: 0; right: 0;
	width: min(1080px, calc(100% - 24px)); height: var(--pill-h); margin: 0 auto; padding: 0;
	display: flex; align-items: center; gap: 8px; color: #fff;
	animation: dmt-pill-in .55s var(--ease) both;
}
.site-header.is-floating .hb-pill {
	flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 22px; border-radius: 999px;
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 20px;
	background: rgba(17, 17, 17, .94); border: 1px solid rgba(246, 243, 238, .12);
	backdrop-filter: saturate(160%) blur(24px); -webkit-backdrop-filter: saturate(160%) blur(24px);
	box-shadow: 0 18px 40px -20px rgba(17, 17, 17, .55);
}
.site-header.is-floating .hb-nav,
.site-header.is-floating .brand,
.site-header.is-floating .hb-actions { grid-row: 1; }
.site-header.is-floating .hb-actions { margin-right: 0; gap: 16px; }
.site-header.is-floating .hb-nav .menu { margin-left: -10px; }
.site-header.is-floating .hb-nav .menu a { padding: 7px 10px; }
.site-header.is-floating .wordmark-mark { color: #fff; }
.site-header.is-floating .wordmark-mark .logo-mark { height: 32px; }
.site-header.is-floating .wordmark-text { font-size: .98rem; }
.site-header.is-floating .menu-toggle {
	flex-shrink: 0; width: var(--pill-h); height: var(--pill-h);
	background: rgba(17, 17, 17, .94); border: 1px solid rgba(246, 243, 238, .12);
	backdrop-filter: saturate(160%) blur(24px); -webkit-backdrop-filter: saturate(160%) blur(24px);
	box-shadow: 0 18px 40px -20px rgba(17, 17, 17, .55);
}
.site-header.is-floating .menu-toggle:hover { background: rgba(17, 17, 17, .94); transform: scale(1.04); }
.site-header.is-floating .header-bar { transition: translate .35s var(--ease), opacity .25s; }
.site-header.is-floating.is-tucked .header-bar { translate: 0 calc(-100% - 24px); opacity: 0; pointer-events: none; }
.site-header.is-floating .hb-cta { min-height: 40px; }

/* ---------- Menu drawer ---------- */
.menu-drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; transition: visibility 0s linear .5s; }
.menu-backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .45); opacity: 0; transition: opacity .4s; }
.menu-panel {
	position: absolute; top: 8px; right: 8px; bottom: 8px; width: min(540px, calc(100% - 16px));
	display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
	background: var(--surface); color: var(--ink); border-radius: 20px; padding: 22px clamp(22px, 3vw, 36px) 28px;
	box-shadow: -30px 0 80px -40px rgba(17, 17, 17, .6);
	transform: translate3d(calc(100% + 16px), 0, 0); transition: transform .55s var(--ease);
}
.menu-open .menu-drawer { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.menu-open .menu-backdrop { opacity: 1; }
.menu-open .menu-panel { transform: none; }
.admin-bar .menu-panel { top: calc(8px + var(--wp-admin--admin-bar--height, 0px)); }
html.menu-open, html.menu-open body { overflow: hidden; }

.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 4vh, 40px); }
.menu-title { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; }
.menu-top-actions { display: flex; align-items: center; gap: 10px; }
.menu-label { margin: 0 0 10px; font: 500 var(--fs-xs) var(--font-mono); color: var(--muted); letter-spacing: .02em; }
.menu-explore .menu { list-style: none; margin: 0 0 clamp(28px, 6vh, 64px); padding: 0; }
.menu-explore .menu a {
	display: inline-block; padding: 3px 0; font-size: clamp(1.7rem, 1.35rem + 1.3vw, 2.35rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.15;
	text-decoration: none; color: var(--ink); transition: color .2s, transform .35s var(--ease);
}
.menu-explore .menu a:hover { color: var(--signal-ink); transform: translateX(6px); }
.menu-explore .current-menu-item > a, .menu-explore .current_page_item > a { color: var(--signal-ink); }
.menu-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.menu-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu-col a { display: inline-flex; align-items: center; min-height: 28px; }
.menu-col a { font-size: var(--fs-sm); text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.menu-col a:hover { color: var(--signal-ink); text-decoration: underline; }
.menu-note { margin: auto 0 0; padding-top: 28px; font-size: var(--fs-sm); color: var(--muted); max-width: 44ch; }

/* Staggered entrance for the big links */
.menu-explore .menu li { opacity: 0; transform: translate3d(24px, 0, 0); transition: opacity .4s, transform .6s var(--ease); }
.menu-open .menu-explore .menu li { opacity: 1; transform: none; }
.menu-open .menu-explore .menu li:nth-child(1) { transition-delay: .08s; }
.menu-open .menu-explore .menu li:nth-child(2) { transition-delay: .12s; }
.menu-open .menu-explore .menu li:nth-child(3) { transition-delay: .16s; }
.menu-open .menu-explore .menu li:nth-child(4) { transition-delay: .2s; }
.menu-open .menu-explore .menu li:nth-child(5) { transition-delay: .24s; }
.menu-open .menu-explore .menu li:nth-child(6) { transition-delay: .28s; }
.menu-open .menu-explore .menu li:nth-child(n+7) { transition-delay: .32s; }

@media (max-width: 1080px) {
	:root { --header-h: 72px; }
	.header-bar { grid-template-columns: auto minmax(0, 1fr) auto; }
	.hb-nav, .hb-link { display: none; }
	.site-header .brand { grid-column: 1; justify-self: start; }
	.hb-actions { margin-right: 56px; }
	.site-header.is-floating .hb-pill { grid-template-columns: auto minmax(0, 1fr) auto; padding-left: 18px; }
	.site-header.is-floating .brand { grid-column: 1; }
	.site-header.is-floating .hb-actions { grid-column: 3; }
}
@media (max-width: 520px) {
	.hb-cta { min-height: 38px; padding: 0 14px; font-size: .875rem; }
	.wordmark-mark .logo-mark { height: 34px; }
	.wordmark-text { font-size: .98rem; }
	.menu-cols { grid-template-columns: 1fr; }
	.menu-top-actions .btn { display: none; }
}
@media (max-width: 380px) {
	.hb-cta { display: none; }
	.hb-actions { margin-right: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.site-header.is-floating .header-bar { animation: none; }
	.menu-panel, .menu-explore .menu li, .menu-backdrop { transition: none; }
}

	.brand { position: relative; z-index: 2; }

/* ---------- Hero ---------- */
/* Inset card under the header: rounded, 8px from the viewport edges, fills the first screen. */
.hero {
	position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff;
	margin: 0 8px; border-radius: var(--radius-lg);
	padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 88px);
	min-height: min(calc(100svh - var(--header-h) - 8px), 940px); display: flex; align-items: center;
}
.hero-grid {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(246, 243, 238, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 243, 238, .045) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(105deg, transparent 30%, #000 75%); -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 75%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero-title { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 24px; max-width: 17ch; }
.hero-title em { color: var(--muted-light); }
.hero-text { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--on-dark); max-width: 52ch; margin: 0 0 32px; line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.hero-facts div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line-dark); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts dt { font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em; }
.hero-facts dd { margin: 2px 0 0; font-family: var(--font-mono); font-size: 12px; color: var(--muted-light); }

/* Design | Code split mockup */
.hero-visual { margin: 0; }
.split-frame { border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px rgba(246, 243, 238, .08), 0 40px 90px -40px rgba(0, 0, 0, .8); }
.split-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.split-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.split-bar span { margin-left: 12px; font: 500 11px var(--font-mono); color: var(--muted); background: var(--surface); padding: 3px 12px; border-radius: 6px; }
.split-stage { position: relative; aspect-ratio: 4 / 3; container-type: inline-size; overflow: hidden; --x: 58%; animation: splitDrift 9s ease-in-out infinite alternate; cursor: ew-resize; }
.split-stage.is-manual { animation: none; }
@keyframes splitDrift { from { --x: 46%; } to { --x: 72%; } }
.pane { position: absolute; inset: 0; }
.pane-design { padding: 4.5cqi 5cqi; color: var(--ink); display: grid; grid-template-rows: auto 1fr auto; gap: 4cqi; }
.pd-nav { display: flex; align-items: center; gap: 3cqi; font-size: 2.3cqi; color: var(--muted); }
.pd-nav strong { font-size: 2.9cqi; color: var(--ink); letter-spacing: -.02em; margin-right: auto; }
.pd-nav em { font-style: normal; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: .6cqi 2cqi; }
.pd-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4cqi; align-items: center; }
.pd-kicker { font: 500 2cqi var(--font-mono); color: var(--signal-ink); margin: 0 0 1.6cqi; }
.pd-h { font-size: 5.4cqi; font-weight: 600; line-height: 1.02; letter-spacing: -.03em; margin: 0 0 2cqi; }
.pd-p { font-size: 2.3cqi; color: var(--muted); margin: 0 0 3cqi; line-height: 1.45; }
.pd-btn { display: inline-block; font-size: 2.2cqi; font-weight: 550; background: var(--ink); color: #fff; padding: 1.6cqi 3cqi; border-radius: 999px; }
.pd-img { position: relative; aspect-ratio: 1 / 1.05; border-radius: 2cqi; background: #E7D9CB; overflow: hidden; }
.pot { position: absolute; bottom: 14%; border-radius: 1.4cqi 1.4cqi 3.4cqi 3.4cqi; }
.pot::before { content: ""; position: absolute; left: 0; right: 0; top: -1.2cqi; height: 2.4cqi; border-radius: 50%; background: inherit; filter: brightness(.88); }
.pot-a { left: 16%; width: 30%; height: 44%; background: #B9BFAF; }
.pot-b { left: 52%; width: 26%; height: 30%; background: #C3714D; }
.pd-row { display: flex; gap: 2cqi; }
.pd-row span { flex: 1; font-size: 2.1cqi; padding: 2.4cqi 2cqi; border-radius: 1.4cqi; background: var(--surface); border: 1px solid var(--line); }
.pane-clip { position: absolute; inset: 0; overflow: hidden; transform: translateX(var(--x)); }
.pane-code { background: var(--ink-2); padding: 4.5cqi 4cqi 4.5cqi 5cqi; }
.pane-code pre { margin: 0; font: 500 2.25cqi/1.75 var(--font-mono); color: var(--on-dark); white-space: pre; }
.pane-code b, .pane-code i, .pane-code s { font-weight: 500; font-style: normal; text-decoration: none; }
.pane-code b { color: #EF8A69; }
.pane-code i { color: var(--muted-light); }
.pane-code s { color: #6FC3D6; }
.split-handle { position: absolute; inset: 0; transform: translateX(var(--x)); pointer-events: none; }
.split-handle::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--signal); }
.split-handle span { position: absolute; left: -15px; top: calc(50% - 15px); width: 30px; height: 30px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(17, 17, 17, .25); }
.split-handle span::before, .split-handle span::after { content: ""; position: absolute; top: 11px; width: 6px; height: 6px; border: solid var(--ink); border-width: 0 0 1.5px 1.5px; }
.split-handle span::before { left: 8px; transform: rotate(45deg); }
.split-handle span::after { right: 8px; transform: rotate(-135deg); }
.split-caption { display: flex; justify-content: space-between; margin-top: 14px; font: 500 12px var(--font-mono); color: var(--muted-light); }
.split-hint { opacity: .7; }
@media (hover: none) { .split-hint { display: none; } .split-stage { cursor: default; } }

@media (max-width: 960px) {
	.hero { min-height: auto; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { max-width: 620px; width: 100%; }
}
@media (max-width: 560px) {
	.hero-ctas .btn { width: 100%; }
	.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.hero-facts div { padding: 0; margin: 0; border: 0; }
	.hero-facts dt { font-size: 1rem; }
	.split-stage { aspect-ratio: 4 / 3.4; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; flex-direction: column; gap: 4px; padding: 28px 28px 28px 0; }
.trust-item + .trust-item { padding-left: 28px; border-left: 1px solid var(--line); }
.trust-item strong { font-size: 1.375rem; letter-spacing: -.025em; font-weight: 600; }
.trust-item span { font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 900px) {
	.trust-list { grid-template-columns: 1fr 1fr; }
	.trust-item:nth-child(3) { padding-left: 0; border-left: 0; }
	.trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Platforms ---------- */
.platforms { padding: 32px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.platforms-inner { display: flex; align-items: center; gap: 40px; }
.platforms-label { flex-shrink: 0; max-width: 220px; margin: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 48s linear infinite; }
.marquee-track li { flex-shrink: 0; display: flex; align-items: center; height: 44px; white-space: nowrap; margin-right: 56px; }
.pl-logo { display: inline-flex; align-items: center; gap: 10px; color: #8F887F; font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; transition: color .3s; }
.pl-logo svg { width: 26px; height: 26px; fill: currentColor; flex-shrink: 0; transition: fill .3s; }
.pl-logo.pl-wordmark { gap: 8px; }
.pl-logo.pl-wordmark svg { width: 58px; height: 58px; }
.marquee-track li:hover .pl-logo { color: var(--ink); }
.marquee-track li:hover .pl-logo svg { fill: var(--brand, currentColor); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .platforms-inner { flex-direction: column; align-items: flex-start; gap: 16px; } .platforms-label { max-width: none; } .marquee { width: 100%; } }

/* ---------- Process: one rail, steps offset like a path (no equal boxed columns) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-strong); }
.step { position: relative; display: flex; flex-direction: column; padding-top: 44px; }
.step:nth-child(even) { margin-top: 56px; }
.step::before { content: ""; position: absolute; top: 4px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--signal); transition: transform .6s var(--ease) calc(var(--d, 0) * 120ms), background-color .4s; }
.step:nth-child(even)::before { top: -52px; }
.step:nth-child(even)::after { content: ""; position: absolute; left: 8px; top: -37px; height: 70px; width: 1px; background: var(--line-strong); }
.js .step.reveal:not(.is-in)::before { transform: scale(0); }
.step:hover::before { background: var(--signal); }
.step-num { font: 500 var(--fs-xs) var(--font-mono); color: var(--signal-ink); margin-bottom: 14px; }
.step-title { font-size: var(--fs-h3); margin-bottom: 10px; }
.step p { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 18px; max-width: 40ch; }
.step .step-out { display: flex; align-items: flex-start; gap: 10px; margin: auto 0 0; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: var(--fs-sm); font-weight: 550; color: var(--ink); line-height: 1.4; }
.step-out-label { display: block; font: 500 11px var(--font-mono); color: var(--muted); letter-spacing: .02em; font-weight: 500; margin-bottom: 2px; }
.step-out-icon { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: var(--ink); margin-top: 2px; }
@media (max-width: 1000px) {
	.steps { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
	.steps::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
	.step, .step:nth-child(even) { margin: 0; padding: 0 0 32px; }
	.step::before, .step:nth-child(even)::before { top: 2px; left: -34px; }
	.step:nth-child(even)::after { display: none; }
	.step-num { margin-bottom: 6px; }
	.step p { margin-bottom: 12px; }
	.step .step-out { padding-top: 12px; }
}

/* ---------- Bento ---------- */
.features { background: var(--surface); }
.bento { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.tile-tall { grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--edge-light); }
.tile-copy h3 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); margin-bottom: 12px; max-width: 22ch; }
.tile-copy p { color: var(--muted); margin: 0; max-width: 46ch; font-size: var(--fs-sm); }
.tile-tall .tile-copy p { color: var(--on-dark); }

.tile-tall { gap: 40px; }
/* Project flow: fills the tall tile, each stage lights up as you scroll */
.flow { --p: 0; list-style: none; margin: 0; padding: 0; position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 340px; }
.flow::before, .flow::after { content: ""; position: absolute; left: 9px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px; }
.flow::before { background: rgba(246, 243, 238, .12); }
.flow::after { background: var(--signal); transform-origin: top; transform: scaleY(var(--p)); }
.flow li { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.flow-node { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(246, 243, 238, .25); transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .5s var(--ease); }
.flow-card { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 12px; background: var(--ink-2); border: 1px solid rgba(246, 243, 238, .06); box-shadow: var(--edge-light); color: var(--muted-light); transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); }
.flow-label { font-size: var(--fs-base); font-weight: 550; letter-spacing: -.01em; }
.flow-num { font: 500 12px var(--font-mono); opacity: .7; }
.flow li.is-on .flow-node { border-color: var(--signal); background: var(--ink); transform: scale(1.1); }
.flow li.is-on .flow-card { color: #fff; background: var(--ink-3); border-color: rgba(246, 243, 238, .12); transform: translateX(4px); }
.flow li.is-end.is-on .flow-node { background: var(--signal); }
.flow li.is-end.is-on .flow-card { background: var(--signal); border-color: var(--signal); color: var(--ink); }

/* Load race: two tracks fill with scroll, ours finishes first */
.race { --p: 0; display: grid; gap: 18px; padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.race-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: var(--fs-sm); font-weight: 550; }
.race-state { font: 500 11px var(--font-mono); font-style: normal; color: var(--muted); }
.race-track { height: 10px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.race-track i { display: block; height: 100%; border-radius: inherit; transform-origin: left; }
.race-heavy .race-track i { background: repeating-linear-gradient(90deg, var(--line-strong) 0 14px, #DCD5CA 14px 16px); transform: scaleX(clamp(0, calc(var(--p) * 1.02), 1)); }
.race-light .race-track i { background: var(--signal); transform: scaleX(clamp(0, calc(var(--p) * 2.5), 1)); }
.race-heavy .race-meta span:first-child { color: var(--muted); }
.race-row.is-on .race-state { color: var(--ok); }
.race-light.is-on .race-state { color: var(--signal-ink); }

/* Edit list: rows save one by one, the last one publishes */
.edits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.edits li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .5s var(--ease), opacity .5s var(--ease); opacity: .55; }
.edit-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--paper-2); color: var(--muted); transition: background-color .4s, color .4s; }
.edit-state { font: 500 11px var(--font-mono); color: var(--muted); }
.edit-state .s-done { display: inline-flex; align-items: center; gap: 4px; }
.edits li.is-on { opacity: 1; transform: translateX(4px); border-color: var(--line-strong); }
.edits li.is-on .edit-icon { background: var(--ink); color: #fff; }
.edits li.is-on .edit-state { color: var(--ok); }
.edits li.is-publish.is-on { border-color: var(--signal); background: var(--signal-soft); }
.edits li.is-publish.is-on .edit-icon { background: var(--signal); color: var(--ink); }

/* Shared wait/done state swap */
.edits li:not(.is-on) .s-done, .race-row:not(.is-on) .s-done { display: none; }
.edits li.is-on .s-wait, .race-row.is-on .s-wait { display: none; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .tile-tall { grid-row: auto; } .flow { min-height: 0; gap: 10px; } }
@media (max-width: 720px) {
	.tile, .tile-tall { gap: 24px; padding: 24px 20px; }
	.flow-card { padding: 12px 16px; }
	.flow-label { font-size: var(--fs-sm); }
}

/* ---------- Services index ---------- */
.services-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.services-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.services-aside .section-intro { margin: 20px 0 28px; }
.service-index { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.service-line { display: grid; grid-template-columns: 48px minmax(0, 1fr) 44px; gap: 16px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.service-line:hover { color: var(--ink); }
.sl-num { font: 500 var(--fs-xs) var(--font-mono); color: var(--muted); }
.sl-main { display: flex; flex-direction: column; gap: 4px; }
.sl-title { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 600; letter-spacing: -.025em; transition: color .25s; }
.sl-tag { font-size: var(--fs-sm); color: var(--muted); }
.sl-arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.sl-arrow .icon { transition: transform .4s var(--ease); }
.service-line:hover .sl-title { color: var(--signal-ink); }
.service-line:hover .sl-arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
.service-line:hover .sl-arrow .icon { transform: rotate(45deg); }
.related .service-index { max-width: none; }
@media (max-width: 900px) { .services-layout { grid-template-columns: 1fr; } .services-aside { position: static; } }
@media (max-width: 480px) { .service-line { grid-template-columns: 28px minmax(0, 1fr) 40px; gap: 12px; padding: 16px 0; } .sl-arrow { width: 40px; height: 40px; } .sl-tag { font-size: var(--fs-xs); } }

/* ---------- Compare ---------- */
.compare { background: var(--surface); }
.compare-wrap { position: relative; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper); -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 17px 20px; text-align: center; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.compare-table thead th { font-weight: 600; padding-top: 24px; padding-bottom: 20px; }
.compare-table tbody th { text-align: left; font-weight: 500; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table .is-us { background: var(--ink); color: #fff; }
.compare-table .cmp-short { display: none; }
@media (max-width: 720px) {
	.compare-wrap { overflow: visible; }
	.compare-table { min-width: 0; table-layout: fixed; }
	.compare-table th, .compare-table td { padding: 12px 4px; font-size: 12.5px; }
	.compare-table thead th { padding: 16px 4px 12px; font-size: 12px; }
	.compare-table thead th:first-child, .compare-table tbody th { width: 38%; padding-left: 12px; padding-right: 8px; line-height: 1.35; }
	.compare-table .cmp-long { display: none; }
	.compare-table .cmp-short { display: inline; hyphens: auto; -webkit-hyphens: auto; }
	.compare-table thead th { font-size: 11px; }
	.compare-table .cmp-p { font-size: 10.5px; letter-spacing: -.02em; }
	.compare-table .cmp .icon { width: 16px; height: 16px; }
}
.compare-table td.is-us { border-bottom-color: var(--line-dark); }
.cmp { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.cmp-y { color: var(--ink); }
.is-us .cmp-y { color: var(--signal); }
.cmp-n { color: var(--line-strong); }
.cmp-p { font: 500 12px var(--font-mono); color: var(--muted); }
.is-us .cmp-p { color: var(--on-dark); }

/* ---------- Work carousel ---------- */
.work { overflow: hidden; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-strong); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .15s; }
.carousel-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.carousel-btn:active { transform: scale(.96); }
.carousel {
	--edge: var(--gutter);
	display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 540px); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 4px var(--edge) 24px; scroll-padding-inline: var(--edge); scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.carousel > :nth-child(even) { margin-top: 48px; }
.work-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.work-card:hover { color: var(--ink); }
.work-media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); }
.carousel > :nth-child(even) .work-media { aspect-ratio: 4 / 3; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.03); }
.work-meta { padding: 20px 4px 0; }
.work-meta h3, .work-meta .h3 { margin: 12px 0 6px; font-size: 1.3rem; }
.work-meta p { color: var(--muted); font-size: var(--fs-sm); margin: 0; max-width: 46ch; }
.work-meta .work-result { color: var(--signal-ink); font-weight: 550; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 28px; }
.project-grid > :nth-child(even) { margin-top: 64px; }
@media (max-width: 720px) { .project-grid { grid-template-columns: 1fr; } .project-grid > :nth-child(even) { margin-top: 0; } .carousel > :nth-child(even) { margin-top: 0; } .carousel > :nth-child(even) .work-media { aspect-ratio: 3 / 2; } }
.admin-hint { padding: 16px 20px; border: 1px dashed var(--signal); border-radius: var(--radius-sm); background: var(--signal-soft); font-size: var(--fs-sm); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--ink); color: #fff; }
.testimonials .section-title em { color: var(--muted-light); }
.testimonials .carousel-btn { border-color: var(--line-dark); color: #fff; }
.testimonials .carousel-btn:hover { background: #fff; color: var(--ink); }
.testimonial-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-track.is-feature { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); row-gap: 40px; }
.testimonial-track.is-feature > :first-child { grid-row: span 2; }
.testimonial { margin: 0; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 22px; }
.testimonial blockquote { margin: 0; font-size: 1.125rem; line-height: 1.55; letter-spacing: -.01em; color: var(--on-dark); }
.testimonial blockquote p { margin: 0; }
.is-feature > :first-child { border-top-color: var(--signal); }
.is-feature > :first-child blockquote { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.3; letter-spacing: -.025em; color: #fff; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.testimonial figcaption strong { font-weight: 600; }
.testimonial figcaption { justify-content: space-between; flex-wrap: wrap; }
.t-project { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 550; color: var(--signal); text-decoration: none; }
.t-project:hover { color: #fff; }
.testimonial figcaption em { display: block; font-style: normal; color: var(--muted-light); font: 500 12px var(--font-mono); }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.stars { display: flex; gap: 3px; color: var(--signal); }
.stars .icon { fill: currentColor; }
@media (max-width: 900px) {
	.testimonial-track, .testimonial-track.is-feature { grid-template-columns: 1fr; }
	.testimonial-track.is-feature > :first-child { grid-row: auto; }
}

/* ---------- Pricing: one featured package, two compact options ---------- */
.price-more > summary { display: none; }
@media (max-width: 720px) {
	.price-more > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; padding: 12px 0; margin-bottom: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 550; }
	.price-more > summary::-webkit-details-marker { display: none; }
	.price-more > summary::after { content: "+"; font: 500 18px var(--font-mono); color: var(--signal-ink); }
	.price-more[open] > summary::after { content: "−"; }
}
.price-shared { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: -8px 0 28px; padding: 14px 18px; border-left: 3px solid var(--signal); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: var(--fs-sm); color: var(--muted); }
.price-shared strong { font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }
.price-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(16px, 1.5vw, 24px); align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.price-card.is-featured { grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg), var(--edge-light); padding: clamp(32px, 3.4vw, 48px); }
.price-card.is-compact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: 1fr auto; column-gap: 28px; padding: 26px 28px; }
.price-card.is-compact .price-head { grid-row: span 2; }
.price-card.is-compact .price-features { margin-bottom: 18px; gap: 8px; }
.price-badge { align-self: flex-start; margin-bottom: 18px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--signal); color: var(--signal); font: 500 11px var(--font-mono); }
.price-name { font-size: 1.4rem; margin-bottom: 8px; }
.is-featured .price-name { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); }
.price-for { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 0; }
.is-featured .price-for { color: var(--on-dark); font-size: var(--fs-base); max-width: 40ch; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line-dark); }
.price-amount { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; margin: 14px 0 0; }
.is-featured .price-amount { margin: -10px 0 26px; }
.price-features { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 11px; flex: 1; }
.is-featured .price-features { gap: 16px; align-content: start; }
.is-featured .price-features li { font-size: var(--fs-base); }
.price-features li { display: flex; gap: 10px; font-size: var(--fs-sm); align-items: flex-start; }
.price-features .icon { color: var(--ok); flex-shrink: 0; margin-top: 2px; }
.is-featured .price-features .icon { color: var(--signal); }
.price-card .btn { width: 100%; }
.is-featured .btn { width: auto; align-self: flex-start; margin-top: auto; }
.price-note { display: flex; align-items: flex-start; gap: 8px; margin: 32px 0 0; color: var(--muted); font-size: var(--fs-sm); max-width: 640px; }
.price-note .icon { flex-shrink: 0; margin-top: 3px; }
@media (max-width: 1100px) { .price-card.is-compact { grid-template-columns: 1fr; } .price-card.is-compact .price-head { grid-row: auto; margin-bottom: 18px; } }
@media (max-width: 860px) {
	.price-grid { grid-template-columns: 1fr; }
	.price-card.is-featured { grid-row: auto; }
	.is-featured .price-features { grid-template-columns: 1fr; }
	.is-featured .btn { width: 100%; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside .section-intro { margin: 20px 0 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 550; letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--signal-ink); }
.faq-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-answer { padding: 0 56px 24px 0; color: var(--muted); max-width: 65ch; }
.faq-answer p:last-child { margin: 0; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq-answer { padding-right: 0; } .faq-item summary { font-size: 1.0625rem; } }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--section) 0; }
.home .cta-band { background: var(--surface); padding-top: 0; }
.cta-card {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end;
	padding: clamp(36px, 6vw, 80px); border-radius: var(--radius-lg); background: var(--ink); color: #fff; box-shadow: var(--edge-light);
}
.cta-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(rgba(246, 243, 238, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 243, 238, .04) 1px, transparent 1px);
	background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.cta-title { font-size: var(--fs-h2); margin-bottom: 18px; max-width: 20ch; }
.cta-title em { color: var(--muted-light); }
.cta-copy p { color: var(--on-dark); font-size: var(--fs-lg); max-width: 52ch; margin: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; justify-self: end; }
.cta-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); text-decoration: none; font-size: var(--fs-sm); }
.cta-mail:hover { color: #fff; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; } .cta-actions { justify-self: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) 0 32px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.footer-tagline { max-width: 340px; font-size: var(--fs-sm); }
.footer-title { font: 500 var(--fs-xs) var(--font-mono); color: var(--muted-light); margin-bottom: 18px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer .footer-col li { margin-bottom: 4px; font-size: var(--fs-sm); }
.site-footer .footer-col a { display: inline-flex; align-items: center; min-height: 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { flex-shrink: 0; color: var(--muted-light); }
.footer-contact + .btn { margin-top: 12px; color: var(--ink); }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); }
.social a:hover { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.footer-giant { font-size: clamp(2.2rem, 8.6vw, 8.5rem); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: #fff; opacity: .07; margin: clamp(48px, 7vw, 96px) 0 24px; white-space: nowrap; user-select: none; }
.footer-giant span { color: var(--signal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }
.legal-menu { display: flex; gap: 20px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr 1fr; column-gap: 20px; } .footer-top > :last-child { grid-column: 1 / -1; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 64px); }
.page-title { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.75rem); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 20px; max-width: 22ch; }
.page-intro { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; margin: 0 0 32px; }
.page-hero .hero-ctas { margin-top: 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Service single */
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.service-icon { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--ink); flex-shrink: 0; }
.service-icon-lg { width: 56px; height: 56px; margin-bottom: 24px; border-color: var(--signal); color: var(--signal-ink); }
.service-tagline { font-size: 1.35rem; line-height: 1.3; margin: -4px 0 16px; color: var(--signal-ink); font-weight: 500; letter-spacing: -.015em; }
.service-tagline em { font-style: normal; }
.deliverables { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.deliverables h2 { font: 500 var(--fs-xs) var(--font-mono); color: var(--muted); margin-bottom: 20px; letter-spacing: .02em; }
.deliverables ul { list-style: none; margin: 0; padding: 0; display: grid; }
.deliverables li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; }
.deliverables li:first-child { border-top: 0; padding-top: 0; }
.deliverables .icon { flex-shrink: 0; color: var(--signal-ink); margin-top: 2px; }
.service-body { padding-bottom: clamp(24px, 4vw, 48px); }
/* "In short" answer box (answer-first for search snippets and AI answers) */
.service-main { padding-top: clamp(8px, 2vw, 24px); }
.answer-box { max-width: 68ch; margin: 0 0 clamp(32px, 4vw, 48px); padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--signal); border-radius: var(--radius-lg); }
.answer-label { font: 500 var(--fs-xs) var(--font-mono); color: var(--signal-ink); margin: 0 0 10px; letter-spacing: .02em; }
.answer-text { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; margin: 0 0 18px; }
.answer-meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.answer-meta div { display: flex; gap: 8px; }
.answer-meta dt { color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.answer-meta dd { margin: 0; font-weight: 550; }
.related-guides { max-width: 68ch; margin: 8px 0 clamp(40px, 5vw, 64px); }
.related-guides h2 { font: 500 var(--fs-xs) var(--font-mono); color: var(--muted); margin: 0 0 12px; letter-spacing: .02em; }
.related-guides ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.related-guides a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 550; }
.related-guides a .icon { flex-shrink: 0; transition: transform .3s var(--ease); }
.related-guides a:hover .icon { transform: translateX(4px); }
.byline { font-size: var(--fs-sm); color: var(--muted); margin: -16px 0 0; }
@media (max-width: 900px) { .service-hero-grid { grid-template-columns: 1fr; } }

/* Services overview list */
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 120px minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-row-head { display: flex; align-items: center; gap: 16px; }
.service-num { font: 500 var(--fs-xs) var(--font-mono); color: var(--muted); }
.service-row h2 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); margin-bottom: 12px; }
.service-row h2 a { text-decoration: none; }
.service-row-main p { color: var(--muted); max-width: 52ch; }
.service-row-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-sm); }
.service-row-list li { display: flex; gap: 10px; align-items: center; }
.service-row-list .icon { color: var(--ok); flex-shrink: 0; }
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr; gap: 18px; } }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-equation { display: grid; position: sticky; top: calc(var(--header-h) + 32px); border-top: 1px solid var(--line-strong); }
.eq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.eq-item span { display: block; font: 500 var(--fs-xs) var(--font-mono); color: var(--muted); }
.eq-item strong { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; font-weight: 600; }
.eq-accent strong { color: var(--signal-ink); }
.eq-op { display: none; }
.values { background: var(--surface); }
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
.value { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.value-num { grid-row: span 2; font: 500 var(--fs-xs) var(--font-mono); color: var(--muted); padding-top: 4px; }
.value h3 { font-size: 1.2rem; margin: 0 0 6px; }
.value p { color: var(--muted); font-size: var(--fs-sm); margin: 0; max-width: 46ch; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-equation { position: static; } }
@media (max-width: 640px) { .value-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-aside .page-title { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.25rem); }
.next-steps { list-style: none; margin: 8px 0 36px; padding: 0; display: grid; gap: 16px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; }
.next-steps li > span { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font: 500 12px var(--font-mono); }
.next-steps strong { display: block; }
.next-steps div { color: var(--muted); font-size: var(--fs-sm); }
.next-steps div strong { color: var(--ink); font-size: var(--fs-base); font-weight: 550; }
.contact-direct { list-style: none; padding: 24px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.contact-direct li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-direct .icon { color: var(--signal-ink); }
.contact-form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-form-card { position: static; } }

/* ---------- Forms: label above, help/error below ---------- */
.lead-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 550; }
.field label span { color: var(--signal-ink); }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="url"], .lead-form select, .lead-form textarea,
.audit-form input, .search-form input {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
	font-size: 1rem; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.lead-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2367615A' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.lead-form textarea { min-height: 130px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus, .audit-form input:focus, .search-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(228, 87, 46, .2); }
.lead-form .is-invalid, .audit-form .is-invalid { border-color: var(--error) !important; }
.field-error { margin: 0; font-size: var(--fs-xs); color: var(--error); }
.field-help { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-xs); color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); flex-shrink: 0; }
.lead-form .btn { width: 100%; }
.form-foot { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.form-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; font-size: var(--fs-sm); }
.form-notice.is-success { background: #E8F4F7; color: #193A61; }
.form-notice.is-error { background: #F9E3DF; color: #7F1D14; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.search-form { display: flex; gap: 10px; margin-top: 24px; max-width: 520px; }
.search-form .btn { min-height: 50px; }

/* ---------- Audit dialog ---------- */
.audit-modal { border: 1px solid var(--line-dark); padding: 0; border-radius: var(--radius-lg); max-width: min(480px, calc(100vw - 32px)); width: 100%; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg), var(--edge-light); }
.audit-modal::backdrop { background: rgba(17, 17, 17, .55); }
.audit-modal[open] { animation: modalIn .5s var(--ease); }
.audit-modal:focus { outline: none; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.audit-inner { position: relative; padding: clamp(28px, 5vw, 40px); }
.audit-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.audit-close:hover { background: rgba(246, 243, 238, .08); }
.audit-close:active { transform: scale(.96); }
.audit-title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); margin-bottom: 10px; max-width: 16ch; }
.audit-text { color: var(--on-dark); font-size: var(--fs-sm); }
.audit-form { display: grid; gap: 14px; margin-top: 22px; }
.audit-form .field label { color: var(--on-dark); font-size: var(--fs-xs); }
.audit-form input { background: var(--ink-2); border-color: var(--ink-3); color: #fff; }
.audit-form input::placeholder { color: #7E776E; }
.audit-form input:focus { background: var(--ink-2); border-color: var(--signal); }
.audit-form .field-error { color: #F0A48D; }
.audit-form .btn { width: 100%; margin-top: 4px; }
.audit-foot { font-size: var(--fs-xs); color: var(--muted-light); margin: 14px 0 0; }
.audit-inner:has(.form-notice.is-success) .audit-form,
.audit-inner:has(.form-notice.is-success) .audit-text { display: none; }
.audit-inner .form-notice { margin: 0 48px 20px 0; }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #0B3D1E; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.wa-float:hover { color: #0B3D1E; }
.wa-float:active { transform: scale(.96); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
.post-grid > :first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.post-card { display: flex; flex-direction: column; }
.post-card-media { aspect-ratio: 16 / 10; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-fallback { display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 24px; background: var(--ink); background-image: linear-gradient(rgba(246, 243, 238, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 243, 238, .05) 1px, transparent 1px); background-size: 40px 40px; }
.post-card-fallback span { font: 500 13px var(--font-mono); color: var(--signal); }
.post-card-body { padding: 20px 4px 0; }
.post-grid > :first-child .post-card-body { padding: 0; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 12px; }
.post-card-title { font-size: 1.35rem; line-height: 1.2; margin-bottom: 10px; }
.post-grid > :first-child .post-card-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.post-card-title a { text-decoration: none; }
.post-card-body p:last-child { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: inline-grid; place-items: center; border: 1px solid var(--line); text-decoration: none; font-size: var(--fs-sm); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { padding: 48px 0; max-width: 560px; }
@media (max-width: 760px) { .post-grid, .post-grid > :first-child { grid-template-columns: 1fr; } .post-grid > :first-child .post-card-body { padding: 0 4px; } }

.post-hero .page-title { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); max-width: 22ch; }
.post-cover img { border-radius: var(--radius-lg); width: 100%; margin-bottom: 48px; }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin: 56px 0; padding: 32px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; box-shadow: var(--edge-light); }
.post-cta h2 { font-size: 1.4rem; margin-bottom: 6px; }
.post-cta p { margin: 0; color: var(--on-dark); font-size: var(--fs-sm); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 64px; }
.post-navigation a { display: block; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; height: 100%; }
.post-navigation a:hover { border-color: var(--line-strong); }
.post-navigation .nav-next { text-align: right; }
.nav-sub { display: block; font: 500 var(--fs-xs) var(--font-mono); color: var(--muted); margin-bottom: 6px; }
.nav-title { font-weight: 550; }

/* ---------- Prose ---------- */
.prose { font-size: 1.125rem; line-height: 1.75; padding-bottom: 24px; }
.prose > * { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--signal-ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--signal); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--signal); font-size: 1.3rem; line-height: 1.45; letter-spacing: -.01em; }
.prose img { border-radius: var(--radius); }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--ink); color: var(--on-dark); padding: 20px; border-radius: var(--radius); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prose .table-wrap table { margin: 0; font-size: var(--fs-sm); min-width: 560px; }
.prose .table-wrap th, .prose .table-wrap td { border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .table-wrap th { background: var(--paper); font-weight: 600; color: var(--ink); }
.prose .table-wrap tr:last-child td { border-bottom: 0; }
.prose .table-wrap td:first-child { font-weight: 550; color: var(--ink); }
.lead-prose { font-size: var(--fs-lg); color: var(--muted); }

/* ---------- Designed body copy (CMS page content) ---------- */
.content-sections .container { display: grid; gap: clamp(32px, 4vw, 56px); }
.cs-intro { max-width: 60ch; }
.cs-rows { border-top: 1px solid var(--line-strong); }
.cs-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); padding-block: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.cs-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.cs-num { display: block; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .04em; color: var(--signal-ink); margin-bottom: 14px; }
.cs-title { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem); line-height: 1.12; letter-spacing: -.025em; margin: 0; max-width: 18ch; text-wrap: balance; }
@media (max-width: 820px) {
	.cs-row { grid-template-columns: 1fr; gap: 20px; }
	.cs-head { position: static; }
}

/* Rich text: shared by content sections and the About intro */
.rich { font-size: var(--fs-lg); line-height: 1.7; color: var(--ink-3); }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin: 0 0 1.1em; max-width: 62ch; }
.rich-lead { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.rich-lead p { max-width: 46ch; }
.rich h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -.02em; margin: 1.8em 0 .7em; }
.rich h3 { font-size: var(--fs-h3); margin: 1.6em 0 .5em; }
.rich strong { color: var(--ink); font-weight: 600; }
.rich a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.rich a:hover { color: var(--signal-ink); }

/* Lists: ruled rows with an orange tick */
.rich ul, .rich ol { list-style: none; padding: 0; margin: 0 0 1.4em; border-top: 1px solid var(--line); }
.rich li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); margin: 0; line-height: 1.55; }
.rich li::before { content: ""; position: absolute; left: 0; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: var(--signal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B43E1B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rich ol { counter-reset: rich; }
.rich ol > li { counter-increment: rich; }
.rich ol > li::before { content: counter(rich, decimal-leading-zero); background: none; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--signal-ink); top: 20px; }
.rich li.li-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 28px; align-items: baseline; }
.rich .li-label { font-weight: 600; color: var(--ink); line-height: 1.4; }
.rich .li-text { color: var(--muted); }
.rich .li-text strong { color: var(--ink); }
@media (max-width: 640px) { .rich li.li-split { grid-template-columns: 1fr; } }

/* Links inside list rows become chips */
.rich li a { display: inline-flex; align-items: center; gap: 6px; margin: 3px 2px; padding: 5px 12px 5px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: var(--fs-sm); line-height: 1.3; text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.rich li a::after { content: ""; width: 10px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%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 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat; color: var(--signal); transition: transform .25s var(--ease); }
.rich li a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.rich li a:hover::after { transform: translate(2px, -2px); }
.rich li.li-links { color: var(--muted); font-size: var(--fs-sm); }

.rich ul.chip-list { display: flex; flex-wrap: wrap; gap: 10px 8px; border: 0; }
.rich ul.chip-list > li { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 4px; padding: 0; border: 0; }
.rich ul.chip-list > li::before { display: none; }
.rich ul.chip-list a { margin: 0; padding: 8px 14px 8px 16px; font-size: var(--fs-base); }
.about-copy p { max-width: 40ch; }

.service-main.has-guides { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.service-main.has-guides .answer-box, .service-main.has-guides .related-guides { max-width: none; margin-bottom: 0; }
.service-main.has-guides .related-guides { margin-top: 0; padding-top: clamp(22px, 3vw, 32px); }
.service-body .content-sections { padding-top: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) { .service-main.has-guides { grid-template-columns: 1fr; } }

/* Guide author box (E-E-A-T) */
.author-box { margin: 40px 0 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.author-box .eyebrow { margin-bottom: 6px; }
.author-box .author-name { margin: 0 0 6px; font-weight: 600; color: var(--ink); }
.author-box p:last-child { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.author-box a { color: var(--signal-ink); font-weight: 550; }

/* Case studies */
.work-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-soft { background: transparent; color: var(--muted); }
.work-meta .work-chips + h2, .work-meta .work-chips + h3 { margin-top: 12px; }
.work-meta p + p { margin-top: 6px; }
.project-cover img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--paper-2); }
.project-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(28px, 4vw, 48px) 0 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.project-facts > div { padding: 20px 24px 20px 0; }
.project-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.project-facts dt { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); margin-bottom: 6px; }
.project-facts dd { margin: 0; font-weight: 550; color: var(--ink); }
@media (max-width: 820px) {
	.project-facts { grid-template-columns: 1fr 1fr; }
	.project-facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
	.project-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
	.site-footer .footer-col a, .menu-col a, .footer-bottom a { min-height: 44px; }
	.site-footer .footer-col li { margin-bottom: 0; }
}

/* Closing "get in touch" paragraph */
.rich .rich-cta { max-width: none; margin-top: 28px; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--muted); font-size: var(--fs-base); }
.rich .rich-cta a[href="/contact"] { color: var(--signal-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.rich .rich-cta a[href="/contact"]::after { content: " →"; transition: margin .2s; }
.rich .rich-cta a[href="/contact"]:hover { color: var(--ink); }
.alignwide { max-width: 1100px; }
.alignfull { max-width: none; }
.wp-block-image figcaption, .wp-caption-text { font-size: var(--fs-xs); color: var(--muted); }

.comments-area { margin-bottom: 64px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
.comment-form .submit { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 550; cursor: pointer; }

/* ---------- Reveal on scroll (transform + opacity only) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.split-stage { animation: none; }
	.flow, .race { --p: 1 !important; }
	.marquee-track { animation: marquee 90s linear infinite !important; animation-duration: 90s !important; animation-iteration-count: infinite !important; } /* slower, still one row */
}

@media print {
	.site-header, .menu-drawer, .site-footer, .audit-modal, .wa-float, .cta-band { display: none !important; }
	.hero { color: #000; background: none; }
}

