/* ==========================================================================
   WebMax Digital v4 — "the site is the instrument"
   Outfit (display) · Manrope (body) · Geist Mono (prompt / readouts)
   ========================================================================== */
:root {
    --paper: #FFFFFF;
    --paper-2: #F4F6F5;
    --paper-3: #EAEFED;
    --ink: #0B1412;
    --ink-2: #44514E;
    --ink-3: #66726F;
    --muted: #7F8C89;
    --line: #DDE3E1;
    --line-2: #C9D2CF;
    --teal: #0E9C8C;
    --teal-ink: #0A6F64;
    --teal-ink-2: #08594F;
    --teal-wash: #E3F4F1;
    --mint: #5EEAD4;
    --flare: #FF6B35;
    --console: #07110F;
    --console-2: #0D1C19;
    --console-line: rgba(94, 234, 212, .14);
    --c-text: #B9C7C3;

    --f-display: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

    --bar-h: 68px;
    --gut: clamp(16px, 4vw, 40px);
    --max: 1240px;
    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --ease: cubic-bezier(.2, .7, .1, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --shadow: 0 1px 2px rgba(11, 20, 18, .04), 0 8px 24px -8px rgba(11, 20, 18, .10);
    --shadow-lg: 0 2px 4px rgba(11, 20, 18, .04), 0 30px 60px -20px rgba(11, 20, 18, .22);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--f-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; transition: transform .2s; }
.skip:focus { transform: translateY(72px); }
.wm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
html.modal-open, html.modal-open body { overflow: hidden; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: calc(880px + var(--gut) * 2); }
.wrap--text { max-width: calc(760px + var(--gut) * 2); }
.wrap--post { max-width: calc(780px + var(--gut) * 2); }
.wrap--post-wide { max-width: calc(1060px + var(--gut) * 2); }

/* ---------- type atoms ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.kicker--mint { color: var(--mint); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(14, 156, 140, .5); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 156, 140, .45); } 70% { box-shadow: 0 0 0 9px rgba(14, 156, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 156, 140, 0); } }
.h2 { font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -.04em; line-height: 1.02; font-weight: 700; }
.lede { font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); max-width: 58ch; }
.small { font-size: 13.5px; color: var(--ink-3); }
.muted { color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 15.5px/1 var(--f-display); color: var(--teal-ink); padding: 10px 0; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--bg); color: var(--fg); font: 600 15.5px/1.15 var(--f-display); letter-spacing: -.005em; text-align: center; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s; position: relative; isolation: isolate; }
.btn--primary { --bg: var(--teal-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 22px -10px rgba(10, 111, 100, .75); }
.btn--primary:hover { --bg: var(--teal-ink-2); transform: translateY(-1px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16.5px; border-radius: 14px; }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--mint)); transform: scaleX(0); transform-origin: 0 50%; }

/* ==========================================================================
   COMMAND BAR (header)
   ========================================================================== */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--bar-h); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.bar.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }
.bar__inner { height: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding-inline: var(--gut); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 700 19px/1 var(--f-display); letter-spacing: -.025em; color: var(--ink); white-space: nowrap; }
.logo__prompt { display: inline-flex; align-items: center; justify-content: center; font: 500 13px/1 var(--f-mono); color: var(--mint); background: var(--console); border-radius: 8px; height: 30px; padding: 0 8px; letter-spacing: 0; }
.logo__prompt i { font-style: normal; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bar__links { list-style: none; display: flex; justify-content: center; gap: 4px; }
.bar__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; font: 500 15px/1 var(--f-display); color: var(--ink-2); transition: background-color .2s, color .2s; }
.bar__links a:hover { background: var(--paper-2); color: var(--ink); }
.bar__links a.is-active { color: var(--ink); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.bar__actions { display: flex; align-items: center; gap: 10px; }
.kbd-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 8px 0 12px; border-radius: 10px; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); transition: box-shadow .2s, color .2s; }
.kbd-btn:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.kbd-btn__k, kbd { font: 500 11.5px/1 var(--f-mono); color: var(--ink-3); background: var(--paper-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 4px 6px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--console); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--mint); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; right: 19px; }

/* ==========================================================================
   PROMPT BAR (audit form)
   ========================================================================== */
.prompt { display: flex; align-items: center; gap: 0; background: var(--paper); border-radius: 18px; padding: 7px 7px 7px 18px; box-shadow: inset 0 0 0 1.5px var(--ink), 0 18px 40px -22px rgba(11, 20, 18, .45); transition: box-shadow .25s; max-width: 680px; }
.prompt:focus-within { box-shadow: inset 0 0 0 1.5px var(--teal-ink), 0 0 0 5px rgba(94, 234, 212, .35), 0 18px 40px -22px rgba(11, 20, 18, .45); }
.prompt__mark { font: 500 17px/1 var(--f-mono); color: var(--teal-ink); padding-right: 10px; flex: none; }
.prompt__input { flex: 1 1 auto; min-width: 0; height: 52px; border: 0; background: transparent; font: 400 17px/1 var(--f-mono); color: var(--ink); outline: none; letter-spacing: -.01em; }
.prompt__input::placeholder { color: var(--muted); }
.prompt__go { flex: none; min-height: 52px; border-radius: 12px; }
.prompt.is-error { animation: shake .45s; box-shadow: inset 0 0 0 1.5px var(--flare), 0 18px 40px -22px rgba(11, 20, 18, .45); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.prompt--dark { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(94, 234, 212, .35); margin-inline: auto; }
.prompt--dark .prompt__mark { color: var(--mint); }
.prompt--dark .prompt__input { color: #fff; }
.prompt--dark .prompt__input::placeholder { color: #7C918C; }
.prompt--dark:focus-within { box-shadow: inset 0 0 0 1.5px var(--mint), 0 0 0 5px rgba(94, 234, 212, .18); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: calc(var(--bar-h) + clamp(36px, 7vh, 88px)) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__grid-bg, .phead__grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--paper-3) 1px, transparent 1px), linear-gradient(90deg, var(--paper-3) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 65% at 30% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 65% at 30% 30%, #000 20%, transparent 75%); opacity: .75; }
.hero::after { content: ''; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(94, 234, 212, .28), rgba(94, 234, 212, 0) 62%); pointer-events: none; }
.hero__wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-areas: 'head head' 'copy scope'; gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 72px); align-items: center; }
.hero__head { grid-area: head; }
.hero__copy { grid-area: copy; }
.hero__instrument { grid-area: scope; }
.hero__h1 { margin-bottom: clamp(20px, 3vh, 28px); font-weight: 500; }
.hero__title { font: 800 clamp(40px, 6.1vw, 90px)/.95 var(--f-display); letter-spacing: -.055em; color: var(--ink); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line__in { display: block; }
.hero__title .muted { color: var(--muted); }
.ghost { position: relative; display: inline-block; }
.hero__sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; max-width: 48ch; margin-bottom: clamp(24px, 3.5vh, 34px); }

/* entrance */
.js .hero__h1, .js .hero__sub, .js .hero .prompt, .js .hero__instrument, .js .readout--hero { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease-out) forwards; }
.js .hero__title .line__in { transform: translateY(105%); animation: lineup 1s var(--ease-out) forwards; }
.js .hero__title .line:nth-child(2) .line__in { animation-delay: .1s; }
.js .hero__sub { animation-delay: .28s; }
.js .hero .prompt { animation-delay: .38s; }
.js .hero__instrument { animation-delay: .22s; transform: translateY(24px) scale(.98); }
.js .readout--hero { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes lineup { to { transform: none; } }
.js .ghost { animation: ghost 1.6s .55s var(--ease-out) both; }
@keyframes ghost { 0% { opacity: .12; filter: blur(6px); } 60% { opacity: .5; filter: blur(2px); } 100% { opacity: 1; filter: none; } }

/* instrument */
.scope { position: relative; background: var(--console); border-radius: var(--r-xl); padding: clamp(20px, 2.4vw, 30px); color: var(--c-text); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(94, 234, 212, .10); overflow: hidden; }
.scope::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 0%, rgba(94, 234, 212, .12), transparent 60%); pointer-events: none; }
.scope__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; font: 400 12.5px/1.3 var(--f-mono); position: relative; }
.scope__label b { font-weight: 500; color: #E7F3F0; }
.scope__count { color: var(--mint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.scope__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(4px, .55vw, 8px); position: relative; }
.scope__grid i { aspect-ratio: 1; border-radius: 6px; background: rgba(94, 234, 212, .06); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .12); position: relative; transition: background-color .25s, box-shadow .25s, transform .25s; }
.scope__grid i::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; background: var(--mint); opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--ease-out); }
.scope:not(.is-scanning):not(.is-done) .scope__grid i::after { animation: idle 4.2s calc(var(--d) * 140ms) infinite ease-in-out; }
@keyframes idle { 0%, 100% { opacity: 0; transform: scale(.4); } 18% { opacity: .55; transform: scale(.9); } 36% { opacity: 0; transform: scale(.4); } }
.scope__grid i.on { background: rgba(94, 234, 212, .16); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .55), 0 0 18px -4px rgba(94, 234, 212, .55); }
.scope__grid i.on::after { opacity: 1; transform: scale(1); animation: none; }
.scope__line { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--console-line); font: 400 15px/1.3 var(--f-mono); color: #E7F3F0; display: flex; align-items: center; min-width: 0; position: relative; }
.scope__line [data-scope-url] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.scope__gt { color: var(--mint); margin-right: 8px; }
.scope:not(.is-typing) [data-scope-url] { color: #6F8580; }
.caret { display: inline-block; width: 9px; height: 18px; margin-left: 3px; background: var(--flare); animation: blink 1.05s steps(1) infinite; flex: none; }

/* readout strips */
.readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.readout__cell { padding: clamp(18px, 2vw, 26px) clamp(18px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 6px; position: relative; }
.readout__cell + .readout__cell { box-shadow: inset 1px 0 0 var(--line); }
.readout__cell b { font: 700 clamp(30px, 3.2vw, 44px)/1 var(--f-display); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.readout__cell span { font: 400 13px/1.4 var(--f-mono); color: var(--ink-3); letter-spacing: .01em; }
.readout--hero { margin-top: clamp(40px, 6vw, 72px); }
.readout--hero .readout__cell b::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-left: 10px; vertical-align: .55em; }

/* ==========================================================================
   STATEMENT (ten → three)
   ========================================================================== */
.statement { padding: clamp(72px, 10vw, 140px) 0; }
.statement__wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.statement__h { font: 700 clamp(34px, 4.6vw, 64px)/1.02 var(--f-display); letter-spacing: -.045em; margin-bottom: 22px; }
.statement__p { font-size: clamp(17px, 1.4vw, 20px); max-width: 46ch; }
.tenthree { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 12px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); min-height: 160px; justify-content: center; }
.tt { width: 22px; height: 22px; border-radius: 50%; background: var(--line-2); position: relative; transition: transform .7s var(--ease-out), opacity .7s; transition-delay: calc(var(--i) * 50ms); }
.tt--keep { width: auto; height: 46px; min-width: 22px; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.tt--keep .tt__pill { position: absolute; inset: 12px 0; border-radius: 99px; background: var(--line-2); transition: transform .7s var(--ease-out), background-color .5s; transition-delay: calc(var(--i) * 50ms + .25s); }
.tt__label { position: relative; padding: 0 22px; font: 700 20px/1 var(--f-display); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease-out); transition-delay: calc(var(--i) * 50ms + .55s); }
.tenthree .tt--keep .tt__pill { transform: scaleX(.26) scaleY(.48); }
[data-tenthree].is-on .tt:not(.tt--keep) { opacity: .35; transform: scale(.45); }
[data-tenthree].is-on .tt--keep .tt__pill { transform: none; background: var(--teal-ink); box-shadow: 0 10px 24px -12px rgba(10, 111, 100, .9); }
[data-tenthree].is-on .tt__label { opacity: 1; transform: none; }

/* ==========================================================================
   SERVICE MODULES
   ========================================================================== */
.modules { padding: clamp(24px, 3vw, 40px) 0 clamp(72px, 9vw, 120px); }
.modules__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.mtab { text-align: left; padding: 20px 22px 0; border-radius: var(--r-lg); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; transition: background-color .3s, box-shadow .3s, transform .3s var(--ease); overflow: hidden; }
.mtab:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.mtab.is-on { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow); }
.mtab__num { font: 500 12.5px/1.3 var(--f-mono); color: var(--teal-ink); letter-spacing: .06em; }
.mtab__title { font: 700 clamp(18px, 1.7vw, 23px)/1.15 var(--f-display); letter-spacing: -.025em; color: var(--ink); }
.mtab__bar { display: block; height: 3px; margin: 16px -22px 0; background: var(--line); }
.mtab__bar span { display: block; height: 100%; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; }
.modules.is-live .mtab.is-on .mtab__bar span { animation: tabfill 7s linear forwards; }
.tabs-paused .modules.is-live .mtab.is-on .mtab__bar span { animation-play-state: paused; }
.tabs-manual .modules .mtab.is-on .mtab__bar span { animation: none; transform: scaleX(1); }
@keyframes tabfill { to { transform: scaleX(1); } }
.modules__panels { position: relative; display: grid; }
.mpanel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s, transform .55s var(--ease-out), visibility 0s .45s; }
.mpanel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s, transform .55s var(--ease-out), visibility 0s; }
.mpanel__num { font: 500 12.5px/1.3 var(--f-mono); color: var(--teal-ink); letter-spacing: .06em; margin-bottom: 14px; }
.mpanel__title { font: 700 clamp(32px, 3.6vw, 52px)/1.02 var(--f-display); letter-spacing: -.045em; margin-bottom: 16px; }
.mpanel__desc { margin-bottom: 22px; }
.ticks { list-style: none; display: grid; gap: 10px; margin-bottom: 18px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: 15.5px; line-height: 1.45; }
.ticks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal-wash); color: var(--teal-ink); margin-top: 0; }
.mpanel__demo { border-radius: var(--r-lg); background: linear-gradient(160deg, var(--paper-2), #E9F2EF); box-shadow: inset 0 0 0 1px var(--line); min-height: 380px; display: grid; place-items: center; padding: clamp(20px, 3vw, 40px); overflow: hidden; position: relative; }
.mpanel__demo::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(10, 111, 100, .14) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); mask-image: radial-gradient(ellipse at center, #000, transparent 75%); }

/* demo: browser */
.demo-browser { position: relative; width: min(100%, 440px); background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); overflow: hidden; }
.demo-browser__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.demo-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.demo-browser__url { margin-left: 14px; height: 18px; flex: 1; border-radius: 6px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.demo-browser__screen { position: relative; padding: 22px; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: auto auto auto auto auto; gap: 10px 18px; min-height: 230px; }
.db { display: block; border-radius: 6px; background: var(--paper-3); }
.db--nav { grid-column: 1 / -1; height: 10px; width: 100%; background: linear-gradient(90deg, var(--paper-3) 0 20%, transparent 20% 60%, var(--paper-3) 60% 100%); margin-bottom: 8px; }
.db--h { grid-column: 1; height: 22px; width: 92%; background: var(--ink); }
.db--l { grid-column: 1; height: 9px; }
.db--l.s { width: 100%; }
.db--l.m { width: 72%; }
.db--cta { grid-column: 1; height: 30px; width: 58%; border-radius: 8px; background: var(--teal-ink); margin-top: 8px; }
.db--img { grid-column: 2; grid-row: 2 / 6; border-radius: 12px; background: linear-gradient(135deg, var(--teal-wash), #CFEDE7); min-height: 130px; }
.db-cursor { position: absolute; left: 70%; top: 85%; width: 18px; height: 18px; border-radius: 50%; background: rgba(11, 20, 18, .85); box-shadow: 0 0 0 6px rgba(11, 20, 18, .08); opacity: 0; }
.demo-browser__vitals { display: flex; gap: 8px; padding: 12px 22px 18px; }
.demo-browser__vitals span { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--f-mono); color: var(--ink-3); padding: 6px 9px; border-radius: 99px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.demo-browser__vitals i { width: 7px; height: 7px; border-radius: 50%; background: #1FB57A; }
.play .db { animation: build .7s var(--ease-out) both; }
.play .db--nav { animation-delay: .05s; } .play .db--h { animation-delay: .2s; } .play .db--l.s { animation-delay: .32s; } .play .db--l.m { animation-delay: .42s; } .play .db--cta { animation-delay: .55s; } .play .db--img { animation-delay: .3s; }
@keyframes build { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.play .db-cursor { animation: cursor 2.2s 1s var(--ease) both; }
@keyframes cursor { 0% { opacity: 0; transform: translate(80px, 60px); } 30% { opacity: 1; } 60% { transform: translate(-150px, -24px); } 70% { transform: translate(-150px, -24px) scale(.8); } 80%, 100% { opacity: 1; transform: translate(-150px, -24px) scale(1); } }
.play .demo-browser__vitals span { animation: build .5s var(--ease-out) both; }
.play .demo-browser__vitals span:nth-child(1) { animation-delay: 1.1s; } .play .demo-browser__vitals span:nth-child(2) { animation-delay: 1.25s; } .play .demo-browser__vitals span:nth-child(3) { animation-delay: 1.4s; }

/* demo: rank */
.demo-rank { width: min(100%, 440px); position: relative; }
.demo-rank__q { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border-radius: 99px; background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); color: var(--ink-3); margin-bottom: 18px; }
.demo-rank__qline { height: 10px; width: 55%; border-radius: 6px; background: var(--paper-3); }
.demo-rank__list { list-style: none; display: grid; gap: 10px; counter-reset: rank; }
.rankrow { counter-increment: rank; display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 18px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .65s var(--ease-out), box-shadow .3s; }
.rankrow .pos::before { content: counter(rank); }
.rankrow .pos { font: 500 14px/1 var(--f-mono); color: var(--ink-3); width: 18px; }
.rankrow .ln { flex: 1; height: 10px; border-radius: 6px; background: var(--paper-3); }
.rankrow--you { box-shadow: inset 0 0 0 1.5px var(--teal), 0 14px 30px -18px rgba(10, 111, 100, .7); }
.rankrow--you .ln { background: linear-gradient(90deg, var(--teal), rgba(94, 234, 212, .3)); }
.rankrow--you .pos { color: var(--teal-ink); font-weight: 700; }
.rankrow .up { font: 600 12.5px/1 var(--f-mono); color: var(--teal-ink); opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; white-space: nowrap; }
.is-top .rankrow .up { opacity: 1; transform: none; }

/* demo: ai */
.demo-ai { width: min(100%, 460px); display: flex; flex-direction: column; gap: 12px; position: relative; }
.demo-ai .bubble { max-width: 86%; padding: 14px 18px; border-radius: 20px; font-size: 15px; line-height: 1.5; }
.demo-ai .q { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; font-family: var(--f-mono); font-size: 14px; }
.demo-ai .a { align-self: flex-start; background: var(--paper); color: var(--ink-2); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.demo-ai .a b { color: var(--teal-ink); }
.demo-ai .typing { align-self: flex-start; display: inline-flex; gap: 5px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 16px 18px; }
.demo-ai .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dots 1s infinite; }
.demo-ai .typing i:nth-child(2) { animation-delay: .15s; } .demo-ai .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.demo-ai .typing { display: none; }
.play .demo-ai .q { animation: build .5s var(--ease-out) both; }
.play .demo-ai .typing { display: inline-flex; animation: typingshow 1.4s .5s both; }
@keyframes typingshow { 0% { opacity: 0; transform: translateY(6px); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.play .demo-ai .a { animation: build .6s 1.6s var(--ease-out) both; }
.play .demo-ai .typing { position: absolute; bottom: 0; }

/* ==========================================================================
   CONSOLE BAND (metrics + rating)
   ========================================================================== */
.band { padding: 0 0 clamp(72px, 9vw, 120px); }
.console { position: relative; background: var(--console); color: var(--c-text); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 72px); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; isolation: isolate; }
.console__grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(94, 234, 212, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 234, 212, .06) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, #000, transparent 80%); mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, #000, transparent 80%); }
.console::after { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; bottom: -220px; background: radial-gradient(circle, rgba(94, 234, 212, .22), transparent 65%); }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--console-line); border-radius: var(--r-lg); overflow: hidden; }
.metric { background: var(--console); padding: clamp(20px, 2.4vw, 32px); }
.metric__n { font: 700 clamp(40px, 4.6vw, 68px)/1 var(--f-display); letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums; }
.metric__l { margin-top: 10px; font: 400 13px/1.4 var(--f-mono); color: #93A7A2; }
.rating { text-align: left; }
.rating__num { font: 800 clamp(80px, 10vw, 150px)/.85 var(--f-display); letter-spacing: -.06em; color: #fff; }
.rating__stars { color: var(--mint); letter-spacing: .18em; font-size: 22px; margin: 14px 0 18px; }
.rating p { color: var(--c-text); font-size: 17px; max-width: 42ch; }

/* ==========================================================================
   CASE FILE (selected work)
   ========================================================================== */
.work { padding: 0 0 clamp(72px, 9vw, 120px); }
.sec-head { margin-bottom: clamp(26px, 3.5vw, 44px); display: grid; gap: 14px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec-head--center { justify-items: center; text-align: center; }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; }
.sec-head--split .kicker { margin-bottom: 14px; }
.case { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.case__tag { font: 500 18px/1 var(--f-mono); color: var(--teal-ink); margin-bottom: 16px; }
.case__title { font: 700 clamp(28px, 3.2vw, 44px)/1.05 var(--f-display); letter-spacing: -.04em; margin-bottom: 18px; }
.case__body { margin-bottom: 14px; }
.case__body--2 { color: var(--ink); font-weight: 600; }
.pipe { list-style: none; position: relative; display: grid; gap: 12px; padding-left: 8px; }
.pipe::before { content: ''; position: absolute; left: 19px; top: 18px; bottom: 18px; width: 2px; background: var(--line-2); }
.pipe::after { content: ''; position: absolute; left: 19px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--teal), var(--mint)); transform: scaleY(0); transform-origin: 50% 0; transition: transform 1.6s var(--ease-out); }
.case.is-on .pipe::after { transform: none; }
.pipe__node { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; opacity: .5; transform: translateX(-6px); transition: opacity .5s, transform .5s var(--ease-out); transition-delay: calc(var(--i) * 190ms + .1s); }
.case.is-on .pipe__node { opacity: 1; transform: none; }
.pipe__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-2); flex: none; position: relative; transition: box-shadow .4s; transition-delay: inherit; }
.pipe__dot::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--teal); transform: scale(0); transition: transform .4s var(--ease-out); transition-delay: inherit; }
.case.is-on .pipe__dot { box-shadow: inset 0 0 0 2px var(--teal); }
.case.is-on .pipe__dot::after { transform: none; }
.pipe__label { font: 500 14px/1.2 var(--f-mono); color: var(--ink); background: var(--paper); padding: 10px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.pipe__node:last-child .pipe__label { background: var(--console); color: var(--mint); box-shadow: none; }

/* ==========================================================================
   POST CARDS
   ========================================================================== */
.latest { padding: 0 0 clamp(72px, 9vw, 120px); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pcard { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.pcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.pcard__meta { font: 400 12.5px/1.3 var(--f-mono); color: var(--ink-3); }
.pcard__meta i { font-style: normal; margin: 0 4px; }
.pcard__title { font: 700 20px/1.2 var(--f-display); letter-spacing: -.025em; color: var(--ink); }
.pcard__ex { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pcard__more { margin-top: auto; padding-top: 8px; font: 600 14.5px/1 var(--f-display); color: var(--teal-ink); }
.pgrid--blog .pcard--lead { grid-column: 1 / -1; flex-direction: row; }
.pcard--lead .pcard__img { flex: 1.3; aspect-ratio: auto; min-height: 340px; }
.pcard--lead .pcard__body { flex: 1; padding: clamp(24px, 3vw, 44px); justify-content: center; }
.pcard--lead .pcard__title { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.035em; }
.pcard--lead .pcard__more { margin-top: 10px; }

/* ==========================================================================
   FAQ as search queries
   ========================================================================== */
.faq { padding: 0 0 clamp(72px, 9vw, 120px); }
.qlist { display: grid; gap: 12px; }
.q { border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.q[open] { box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow); }
.q summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px 14px 20px; cursor: pointer; border-radius: 18px; }
.q summary::-webkit-details-marker { display: none; }
.q__icon { color: var(--teal-ink); flex: none; display: inline-flex; }
.q__text { flex: 1; font: 600 clamp(16px, 1.3vw, 18px)/1.35 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.q__plus { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); transition: transform .35s var(--ease), background-color .3s; }
.q[open] .q__plus { transform: rotate(45deg); background: var(--teal-ink); color: #fff; }
.q__a { padding: 0 22px 22px 56px; }
.q__a p { padding-left: 16px; box-shadow: inset 2px 0 0 var(--teal); color: var(--ink-2); }
.q[open] .q__a { animation: qopen .45s var(--ease-out); }
@keyframes qopen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final { padding: 0 0 clamp(72px, 9vw, 120px); }
.final__card { position: relative; overflow: hidden; isolation: isolate; text-align: center; background: var(--console); border-radius: var(--r-xl); padding: clamp(48px, 7vw, 104px) clamp(20px, 5vw, 72px); color: var(--c-text); }
.final__card::before { content: ''; position: absolute; z-index: -1; inset: -40% -10% auto; height: 120%; background: radial-gradient(ellipse at 50% 0%, rgba(94, 234, 212, .26), transparent 60%); }
.final__scope { position: absolute; z-index: -1; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; padding: 18px; opacity: .55; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, transparent 30%, #000 85%); mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, transparent 30%, #000 85%); }
.final__scope i { border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .12); animation: idle2 5s calc(var(--d) * 160ms) infinite ease-in-out; }
@keyframes idle2 { 0%, 100% { background: transparent; } 20% { background: rgba(94, 234, 212, .10); } 40% { background: transparent; } }
.final__card h2 { color: #fff; font: 800 clamp(40px, 6vw, 84px)/.98 var(--f-display); letter-spacing: -.05em; margin-bottom: 20px; }
.final__card p { max-width: 50ch; margin: 0 auto 30px; font-size: clamp(17px, 1.4vw, 19px); color: var(--c-text); }
.final__card small { display: block; margin-top: 18px; font: 400 13px/1.5 var(--f-mono); color: #8FA39E; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 28px; background: var(--paper-2); border-top: 1px solid var(--line); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.foot__logo { display: inline-flex; align-items: center; gap: 8px; font: 700 22px/1 var(--f-display); color: var(--ink); letter-spacing: -.025em; }
.foot__tagline { margin-top: 16px; max-width: 34ch; }
.foot__links { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 6px 36px; align-content: start; }
.foot__links a { min-height: 40px; display: inline-flex; align-items: center; font: 500 15.5px/1 var(--f-display); color: var(--ink); }
.foot__links a:hover { color: var(--teal-ink); }
.foot__contact { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot__contact a, .foot__contact span { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; }
.foot__contact svg { color: var(--teal-ink); flex: none; }
.foot__contact a:hover { color: var(--teal-ink); }
.foot__dim { color: var(--ink-3); padding-left: 25px; }
.foot__word { margin: clamp(40px, 6vw, 72px) 0 18px; font: 800 clamp(64px, 17vw, 260px)/.8 var(--f-display); letter-spacing: -.07em; color: var(--paper-3); white-space: nowrap; user-select: none; }
.foot__word span { font-family: var(--f-mono); font-weight: 500; letter-spacing: -.08em; margin-right: .12em; color: var(--teal); }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font: 400 13px/1.5 var(--f-mono); color: var(--ink-3); }
.foot__status { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #1FB57A; box-shadow: 0 0 0 3px rgba(31, 181, 122, .18); }

/* ==========================================================================
   AUDIT CHAT MODAL
   ========================================================================== */
.audit-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.audit-modal.is-open { visibility: visible; pointer-events: auto; }
.audit-modal__overlay { position: absolute; inset: 0; background: rgba(7, 17, 15, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.audit-modal.is-open .audit-modal__overlay { opacity: 1; }
.audit-modal__sheet { position: relative; width: min(100%, 460px); height: min(680px, calc(100vh - 40px)); height: min(680px, calc(100dvh - 40px)); display: flex; flex-direction: column; background: var(--paper); border-radius: 26px; box-shadow: 0 40px 90px -30px rgba(7, 17, 15, .6), inset 0 0 0 1px var(--line); overflow: hidden; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .3s, transform .45s var(--ease-out); }
.audit-modal.is-open .audit-modal__sheet { opacity: 1; transform: none; }
.audit-modal__header { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; background: var(--console); color: #fff; }
.audit-modal__avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(94, 234, 212, .14); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .3); flex: none; }
.audit-modal__who { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.audit-modal__title { font: 700 16px/1.1 var(--f-display); color: #fff; }
.audit-modal__status { font: 400 12px/1.2 var(--f-mono); color: #9FB4AF; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audit-modal__dot { width: 7px; height: 7px; border-radius: 50%; background: #2FD08F; flex: none; }
.audit-modal__close { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #CFE0DC; background: rgba(255, 255, 255, .06); flex: none; }
.audit-modal__close:hover { background: rgba(255, 255, 255, .12); }
.audit-modal__scan { display: grid; grid-template-columns: repeat(47, 1fr); gap: 2px; padding: 0 18px 12px; background: var(--console); }
.audit-modal__scan i { height: 4px; border-radius: 2px; background: rgba(94, 234, 212, .14); transition: background-color .3s; }
.audit-modal__scan i.on { background: var(--mint); }
.audit-modal__body { flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 8px; background: var(--paper-2); overscroll-behavior: contain; }
.chat-row { display: flex; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .35s var(--ease-out); }
.chat-row.is-in { opacity: 1; transform: none; }
.chat-row--user { justify-content: flex-end; }
.chat-bubble { max-width: 82%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.5; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; overflow-wrap: anywhere; }
.chat-row--user .chat-bubble { background: var(--teal-ink); color: #fff; box-shadow: none; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.chat-bubble--typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.chat-bubble--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dots 1s infinite; }
.chat-bubble--typing span:nth-child(2) { animation-delay: .15s; } .chat-bubble--typing span:nth-child(3) { animation-delay: .3s; }
.chat-bubble--status { display: inline-flex; align-items: center; gap: 10px; font: 400 13.5px/1.4 var(--f-mono); background: var(--console); color: var(--mint); box-shadow: none; }
.chat-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(94, 234, 212, .25); border-top-color: var(--mint); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.chat-check { color: var(--mint); font-weight: 700; }
.chat-meta { align-self: flex-end; font: 400 11px/1 var(--f-mono); color: var(--ink-3); margin: -2px 4px 4px; }
.chat-action { display: inline-flex; margin-top: 10px; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--teal-ink); color: #fff; font: 600 14px/1 var(--f-display); }
.chat-composer { display: flex; gap: 8px; padding: 12px; background: var(--paper); border-top: 1px solid var(--line); }
.chat-composer__input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font: 400 16px/1 var(--f-mono); outline: none; }
.chat-composer__input:focus { box-shadow: inset 0 0 0 1.5px var(--teal-ink); }
.chat-composer__send { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-ink); color: #fff; flex: none; }
.chat-composer.is-disabled .chat-composer__send { background: var(--line-2); }
.chat-composer.is-error { animation: shake .45s; }
.chat-composer.is-error .chat-composer__input { box-shadow: inset 0 0 0 1.5px var(--flare); }
.audit-toast { position: fixed; z-index: 210; left: 50%; bottom: 22px; width: min(92vw, 520px); display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--console); color: #E5F1EE; font-size: 14.5px; box-shadow: var(--shadow-lg); transform: translate(-50%, 140%); transition: transform .5s var(--ease-out); }
.audit-toast.is-visible { transform: translate(-50%, 0); }
.audit-toast__icon { color: var(--mint); font-weight: 700; }
.audit-toast a { color: var(--mint); text-decoration: underline; }

/* ==========================================================================
   COMMAND PALETTE
   ========================================================================== */
.palette { position: fixed; inset: 0; z-index: 190; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 20px 20px; }
.palette[hidden] { display: none; }
.palette__overlay { position: absolute; inset: 0; background: rgba(7, 17, 15, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
.palette.is-open .palette__overlay { opacity: 1; }
.palette__sheet { position: relative; width: min(100%, 640px); max-height: 70vh; display: flex; flex-direction: column; background: var(--paper); border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(7, 17, 15, .55), inset 0 0 0 1px var(--line); overflow: hidden; opacity: 0; transform: translateY(-10px) scale(.98); transition: opacity .2s, transform .3s var(--ease-out); }
.palette.is-open .palette__sheet { opacity: 1; transform: none; }
.palette__search { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.palette__search input { flex: 1; min-width: 0; height: 62px; border: 0; outline: none; background: transparent; font: 500 17px/1 var(--f-display); color: var(--ink); }
.palette__search input::-webkit-search-cancel-button { display: none; }
.palette__x { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.palette__x:hover { background: var(--paper-2); }
.palette__list { list-style: none; overflow-y: auto; padding: 8px; flex: 1; overscroll-behavior: contain; }
.palette__group { font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 14px 12px 8px; }
.palette__item a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.palette__item i { font-style: normal; font-family: var(--f-mono); color: var(--muted); opacity: 0; }
.palette__item.is-sel a, .palette__item a:hover { background: var(--teal-wash); }
.palette__item.is-sel i { opacity: 1; }
.palette__none { padding: 20px; color: var(--muted); }
.palette__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--paper-2); }
.palette__hint { display: inline-flex; gap: 4px; }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.phead { position: relative; padding: calc(var(--bar-h) + clamp(40px, 7vw, 96px)) 0 clamp(36px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.phead--big { padding-bottom: clamp(48px, 6vw, 88px); }
.phead--doc { padding-bottom: 32px; }
.crumbs { font: 400 13px/1.4 var(--f-mono); color: var(--ink-3); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--teal-ink); }
.crumbs a:hover { text-decoration: underline; }
.phead .kicker { margin-bottom: 20px; }
.phead__title { font: 800 clamp(42px, 6.2vw, 92px)/.96 var(--f-display); letter-spacing: -.055em; max-width: 16ch; }
.phead__sub { margin-top: 24px; font-size: clamp(17px, 1.45vw, 20px); max-width: 58ch; }
.phead .btn-row { margin-top: 30px; }
.sec { padding: clamp(56px, 8vw, 112px) 0; }
.sec--tight { padding-top: 0; }
.sec--top0 { padding-top: 0; }
.sec--soft { background: var(--paper-2); }

/* about */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.principle { padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; transition: box-shadow .3s, transform .3s var(--ease); }
.principle:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); transform: translateY(-2px); }
.principle__num { align-self: flex-start; font: 500 12px/1 var(--f-mono); color: var(--mint); background: var(--console); padding: 7px 9px; border-radius: 8px; }
.principle__title { font-size: clamp(21px, 1.9vw, 25px); letter-spacing: -.03em; line-height: 1.12; }
.principle p { font-size: 15.5px; }
.about__rail { display: grid; gap: 16px; position: sticky; top: calc(var(--bar-h) + 24px); }
.readout--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.readout--grid .readout__cell:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
.readout--grid .readout__cell:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
.approach { display: grid; gap: 4px; border-radius: var(--r-lg); background: var(--paper-2); padding: 8px; }
.approach__item { display: flex; gap: 14px; padding: 16px; border-radius: 16px; }
.approach__item:hover { background: var(--paper); }
.approach__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--console); color: var(--mint); font-size: 18px; }
.approach__item h3 { font-size: 17px; letter-spacing: -.015em; margin-bottom: 4px; }
.approach__item p { font-size: 14.5px; line-height: 1.55; }
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: var(--console); color: var(--c-text); position: relative; overflow: hidden; }
.founder::after { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(94, 234, 212, .2), transparent 65%); }
.founder__mark { font: 500 clamp(44px, 6vw, 88px)/1 var(--f-mono); color: var(--mint); letter-spacing: -.06em; }
.founder__mark i { font-style: normal; animation: blink 1.1s steps(1) infinite; }
.founder__title { color: #fff; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.04em; margin-bottom: 18px; }
.founder p { font-size: clamp(16px, 1.3vw, 18px); max-width: 68ch; position: relative; z-index: 1; }
.about .work { padding: clamp(56px, 8vw, 112px) 0 0; }

/* strip */
.strip { padding: clamp(56px, 8vw, 112px) 0; }
.strip__card { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: linear-gradient(120deg, var(--teal-wash), #F2FAF8 60%, var(--paper-2)); box-shadow: inset 0 0 0 1px #CBE8E2; }
.strip__title { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -.045em; margin-bottom: 10px; }
.strip__sub { max-width: 56ch; }

/* contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.info { margin: 0; display: grid; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.info__row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 18px 22px; }
.info__row + .info__row { box-shadow: inset 0 1px 0 var(--line); }
.info dt { display: flex; align-items: center; gap: 10px; font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .04em; color: var(--ink-3); align-self: start; padding-top: 3px; }
.info dt svg { color: var(--teal-ink); flex: none; }
.info dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.info dd a { color: var(--teal-ink); }
.info dd a:hover { text-decoration: underline; }
.arrows { list-style: none; display: grid; gap: 6px; font-weight: 500; color: var(--ink-2); }
.arrows li::before { content: '→'; color: var(--teal-ink); margin-right: 8px; }
.contact__actions { display: grid; gap: 16px; }
.card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.card--dark { background: var(--console); color: var(--c-text); box-shadow: none; position: relative; overflow: hidden; }
.card--dark .card__title { color: #fff; }
.card__title { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; margin-bottom: 10px; }
.card__sub { margin-bottom: 22px; }
.card__note { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.card--dark .card__note { color: #93A7A2; }
.card__note a { color: var(--teal-ink); font-weight: 600; }
.card--dark .card__note a { color: var(--mint); }
.wm-form { display: grid; gap: 14px; }
.wm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field__label { font: 500 12.5px/1.3 var(--f-mono); color: var(--ink-3); letter-spacing: .03em; }
.field__label em { font-style: normal; color: var(--muted); }
.field input, .field textarea { width: 100%; border: 0; border-radius: 12px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); padding: 14px 15px; font-size: 16px; color: var(--ink); outline: none; transition: box-shadow .2s, background-color .2s; }
.field input { height: 50px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--teal-ink), 0 0 0 4px rgba(94, 234, 212, .25); }
.wm-form .btn { justify-self: start; }
.wm-form__status { min-height: 1.4em; font-size: 14.5px; color: var(--ink-2); }
.wm-form__status.is-ok { color: var(--teal-ink); font-weight: 600; }
.wm-form__status a { text-decoration: underline; }

/* legal */
.legal__meta { margin-top: 18px; font: 400 13px/1.4 var(--f-mono); color: var(--ink-3); }
.legal .phead__title { font-size: clamp(38px, 5vw, 64px); }
.legal article { padding-bottom: clamp(56px, 8vw, 112px); }

/* services archive */
.svc-list { display: grid; gap: 12px; }
.svc-row { display: grid; grid-template-columns: 64px 140px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .35s var(--ease), background-color .3s; }
.svc-row:hover { box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow-lg); transform: translateY(-2px); }
.svc-row__num { font: 800 34px/1 var(--f-display); color: var(--teal); letter-spacing: -.04em; }
.svc-row__slug { font: 400 13.5px/1 var(--f-mono); color: var(--ink-3); }
.svc-row__title { font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -.035em; margin-bottom: 8px; }
.svc-row__desc { display: block; font-size: 15.5px; max-width: 62ch; }
.svc-row__go { font: 500 13px/1 var(--f-mono); color: var(--teal-ink); white-space: nowrap; }

/* service page */
.svc-hero { position: relative; padding: calc(var(--bar-h) + clamp(36px, 6vw, 84px)) 0 clamp(48px, 6vw, 88px); overflow: hidden; isolation: isolate; }
.svc-hero__kicker { margin-bottom: 24px; font-weight: 500; }
.svc-hero__title { font: 800 clamp(40px, 6vw, 88px)/.97 var(--f-display); letter-spacing: -.055em; color: var(--ink); max-width: 18ch; }
.svc-hero__title em { font-style: normal; color: var(--teal); }
.svc-hero__row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px 48px; align-items: end; margin-top: clamp(24px, 3vw, 36px); }
.svc-hero__sub { font-size: clamp(17px, 1.45vw, 20px); max-width: 54ch; }
.readout--svc { margin-top: clamp(36px, 5vw, 60px); }
.svc-problem { padding: 0 0 clamp(56px, 8vw, 112px); }
.console--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.svc-problem__copy .kicker { margin-bottom: 18px; }
.svc-problem__h { color: #fff; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.04em; line-height: 1.08; margin-bottom: 20px; }
.svc-problem__copy p:not(.kicker) { color: var(--c-text); margin-bottom: 14px; }
.errlog { background: rgba(0, 0, 0, .28); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--console-line); padding: 22px; font-family: var(--f-mono); }
.errlog__label { font: 500 12.5px/1.3 var(--f-mono); color: var(--mint); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--console-line); }
.errlog ul { list-style: none; display: grid; gap: 4px; }
.errlog li { display: flex; gap: 12px; padding: 9px 4px; font-size: 14px; line-height: 1.45; color: #DCE8E5; opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .45s var(--ease-out); transition-delay: calc(var(--i) * 140ms + .2s); }
.errlog.is-on li { opacity: 1; transform: none; }
.errlog__x { color: var(--flare); font-weight: 700; flex: none; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { --mx: 50%; --my: 0%; position: relative; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; transition: box-shadow .3s, transform .35s var(--ease); }
.feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(94, 234, 212, .22), transparent 60%); opacity: 0; transition: opacity .3s; }
.feature:hover::before { opacity: 1; }
.feature:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); transform: translateY(-2px); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--console); color: var(--mint); margin-bottom: 20px; }
.feature__title { font-size: 20px; letter-spacing: -.025em; margin-bottom: 10px; }
.feature p { font-size: 15.5px; }
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.flow::before, .flow::after { content: ''; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: var(--line-2); }
.flow::after { background: linear-gradient(90deg, var(--teal), var(--mint)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s var(--ease-out); }
.flow.is-on::after { transform: none; }
.flow__step { position: relative; z-index: 1; }
.flow__node { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); margin-bottom: 22px; transition: background-color .4s, box-shadow .4s; transition-delay: calc(var(--i) * 420ms + .2s); }
.flow__node span { font: 500 14px/1 var(--f-mono); color: var(--ink-3); transition: color .4s; transition-delay: inherit; }
.flow.is-on .flow__node { background: var(--console); box-shadow: 0 10px 24px -12px rgba(7, 17, 15, .6); }
.flow.is-on .flow__node span { color: var(--mint); }
.flow__title { font-size: 20px; letter-spacing: -.025em; margin-bottom: 10px; }
.flow__step p { font-size: 15.5px; }
.manifest { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.manifest__head .kicker { margin-bottom: 14px; }
.manifest__head .lede { margin-top: 14px; }
.manifest__cta { margin-top: 28px; display: grid; justify-items: start; gap: 10px; }
.manifest__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.manifest__list--one { grid-template-columns: 1fr; }
.manifest--care { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--teal); }
.manifest--care .manifest__list li { background: var(--teal-wash); box-shadow: none; }
.manifest__list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.45; }
.manifest__check { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--teal-ink); color: #fff; flex: none; }
.final--svc { padding-top: clamp(56px, 8vw, 112px); }

/* blog */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 600 14px/1 var(--f-display); color: var(--ink); transition: box-shadow .2s; }
.chip span { font: 400 12px/1 var(--f-mono); color: var(--ink-3); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pagination, .navigation.pagination { margin-top: clamp(32px, 4vw, 56px); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font: 500 14px/1 var(--f-mono); color: var(--ink); }
.page-numbers.current { background: var(--ink); color: #fff; box-shadow: none; }
a.page-numbers:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.empty { text-align: center; padding: 40px 0; display: grid; gap: 12px; justify-items: center; }

/* single post */
.post-head { padding: calc(var(--bar-h) + clamp(32px, 5vw, 72px)) 0 0; }
.post-head .breadcrumbs { display: none; }
.post-head__meta { font: 400 13px/1.4 var(--f-mono); color: var(--ink-3); margin-bottom: 20px; }
.post-head__meta a { color: var(--teal-ink); }
.post-head__title { font: 800 clamp(34px, 4.6vw, 62px)/1.02 var(--f-display); letter-spacing: -.045em; margin-bottom: 20px; }
.post-head__ex p { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.55; }
.post-head__by { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; font: 400 13px/1.4 var(--f-mono); color: var(--ink-3); }
.post-head__img { margin: clamp(32px, 4vw, 48px) 0 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper-2); }
.post-head__img img { width: 100%; height: auto; }
.post-layout { display: grid; grid-template-columns: minmax(0, 780px); justify-content: center; gap: 56px; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
body.has-toc .post-layout { grid-template-columns: 220px minmax(0, 760px); }
.toc { position: sticky; top: calc(var(--bar-h) + 28px); align-self: start; max-height: calc(100vh - var(--bar-h) - 56px); overflow: auto; }
.toc__label { font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.toc__list { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc__list a { display: block; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); transition: color .2s, border-color .2s; }
.toc__list a:hover { color: var(--ink); }
.toc__list a.is-on { color: var(--teal-ink); border-left-color: var(--teal); font-weight: 600; }
.news { margin: 0 0 clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--console); color: var(--c-text); position: relative; overflow: hidden; }
.news::after { content: ''; position: absolute; width: 360px; height: 360px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(94, 234, 212, .2), transparent 65%); pointer-events: none; }
.news__label { font: 500 13px/1 var(--f-mono); color: var(--mint); margin-bottom: 14px; }
.news__title { color: #fff; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.035em; margin-bottom: 10px; }
.news__desc { margin-bottom: 22px; }
.news__form { display: flex; gap: 10px; position: relative; z-index: 1; max-width: 540px; }
.news__form input[type=email] { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .3); color: #fff; font: 400 16px/1 var(--f-mono); outline: none; }
.news__form input[type=email]::placeholder { color: #7C918C; }
.news__form input[type=email]:focus { box-shadow: inset 0 0 0 1.5px var(--mint); }
.news__form .btn { min-height: 52px; }
.news__form.is-error { animation: shake .45s; }
.news__form.is-sent button { background: var(--mint); color: var(--console); }
.news__status { margin-top: 10px; min-height: 1.2em; color: var(--mint); font-weight: 700; }
.pn { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); }
.pn__a { flex: 1 1 280px; max-width: 48%; padding: 18px 20px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); font: 600 15.5px/1.4 var(--f-display); color: var(--ink); transition: box-shadow .2s; }
.pn__a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pn__a--next { text-align: right; margin-left: auto; }

/* prose (post / page content) */
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); min-width: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; line-height: 1.15; margin-top: 2em; scroll-margin-top: calc(var(--bar-h) + 20px); }
.prose h3 { font-size: clamp(20px, 1.9vw, 24px); letter-spacing: -.025em; line-height: 1.25; margin-top: 1.7em; }
.prose h4 { font-size: 18px; margin-top: 1.5em; }
.prose a { color: var(--teal-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 18px 22px; border-radius: 0 16px 16px 0; background: var(--paper-2); box-shadow: inset 3px 0 0 var(--teal); font-size: 18px; color: var(--ink); }
.prose code { font: 400 .86em/1.4 var(--f-mono); background: var(--paper-2); padding: 2px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); overflow-wrap: anywhere; }
.prose pre { background: var(--console); color: #DCE8E5; padding: 20px; border-radius: 16px; overflow-x: auto; font: 400 14px/1.6 var(--f-mono); }
.prose pre code { background: none; box-shadow: none; padding: 0; color: inherit; }
.prose img { border-radius: 16px; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.5; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: block; overflow-x: auto; }
.prose thead th { background: var(--console); color: #fff; font: 600 14px/1.3 var(--f-display); text-align: left; }
.prose th, .prose td { padding: 12px 16px; vertical-align: top; min-width: 120px; }
.prose tbody tr:nth-child(even) td { background: var(--paper-2); }
.prose tbody td { border-top: 1px solid var(--line); }
.prose details { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 18px; background: var(--paper); }
.prose details + details { margin-top: 10px; }
.prose summary { cursor: pointer; padding: 15px 0; font: 600 17px/1.4 var(--f-display); color: var(--ink); list-style-position: outside; }
.prose details[open] { box-shadow: inset 0 0 0 1.5px var(--ink); padding-bottom: 6px; }
.prose details[open] summary { color: var(--teal-ink); }
.prose .key-takeaways { padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: var(--teal-wash); box-shadow: inset 0 0 0 1px #C3E6DF; }
.prose .key-takeaways > :first-child { margin-top: 0; }
.prose .key-takeaways h2, .prose .key-takeaways h3 { font-size: 15px; font-family: var(--f-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 12px; }
.prose .key-takeaways ul { margin: 0; }
.prose .key-takeaways li { color: var(--ink); }
.prose .blog-faq { margin-top: 2em; }
.prose .blog-faq > * + * { margin-top: 10px; }
.prose .faq-answer { padding-bottom: 12px; }
.prose .blog-sources { margin-top: 2.4em; padding: 20px 22px; border-radius: 16px; background: var(--paper-2); font-size: 14.5px; line-height: 1.6; }
.prose .blog-sources h2, .prose .blog-sources h3 { font: 500 12.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.prose .blog-sources a { overflow-wrap: anywhere; }
.prose--legal { font-size: 16.5px; }
.prose--legal h2 { font-size: clamp(22px, 2.2vw, 28px); }

/* in-post audit CTAs injected by webmax_post_audit_ctas() */
.post-audit-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: 16px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; }
.post-audit-strip__text { flex: 1 1 280px; }
.post-audit-cta { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); background: var(--console); color: var(--c-text); margin: 2em 0; }
.post-audit-cta::after { content: ''; position: absolute; width: 300px; height: 300px; right: -100px; top: -120px; background: radial-gradient(circle, rgba(94, 234, 212, .22), transparent 65%); pointer-events: none; }
.post-audit-cta__title { font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--f-display); color: #fff; letter-spacing: -.03em; margin-bottom: 8px; }
.post-audit-cta__text { margin-bottom: 18px; font-size: 16px; }
.prose .post-audit-strip .btn, .prose .post-audit-cta .btn { text-decoration: none; }
.prose .post-audit-cta > * + * { margin-top: 0; }
.breadcrumbs__list { list-style: none; }

/* 404 */
.e404 { padding: calc(var(--bar-h) + clamp(48px, 8vw, 120px)) 0 clamp(72px, 9vw, 120px); }
.e404__code { font: 500 clamp(80px, 14vw, 180px)/.9 var(--f-mono); letter-spacing: -.08em; color: var(--teal); margin-bottom: 18px; }
.e404__body { margin: 22px 0 30px; max-width: 58ch; font-size: 18px; }
.term { margin-top: 40px; padding: 20px 22px; border-radius: 16px; background: var(--console); color: #DCE8E5; font: 400 14px/1.7 var(--f-mono); max-width: 620px; overflow-wrap: anywhere; }
.term__p { color: var(--mint); }
.term__err { color: #FF8A65; }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
html.is-loaded .reveal { opacity: 1; transform: none; }
.pgrid .reveal:nth-child(2), .features .reveal:nth-child(3n+2), .principles .reveal:nth-child(2n) { transition-delay: .08s; }
.pgrid .reveal:nth-child(3), .features .reveal:nth-child(3n) { transition-delay: .16s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .bar__links a { padding: 0 10px; }
    body.has-toc .post-layout { grid-template-columns: minmax(0, 780px); }
    .toc { display: none; }
}
@media (max-width: 960px) {
    :root { --bar-h: 64px; }
    .bar__links, .kbd-btn { display: none; }
    .bar__inner { grid-template-columns: 1fr auto; }
    .menu-btn { display: inline-block; }
    .hero__wrap { grid-template-columns: 1fr; grid-template-areas: 'head' 'copy' 'scope'; }
    .statement__wrap, .console, .case, .about__grid, .contact__grid, .manifest, .console--split, .sec-head--split, .svc-hero__row { grid-template-columns: 1fr; }
    .about__rail { position: static; }
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .flow::before, .flow::after { display: none; }
    .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot__top { grid-template-columns: 1fr 1fr; }
    .foot__brand { grid-column: 1 / -1; }
    .svc-row { grid-template-columns: 56px minmax(0, 1fr); }
    .svc-row__slug { display: none; }
    .svc-row__go { grid-column: 2; }
}
@media (max-width: 899px) {
    /* service modules become a stacked story on small screens */
    .modules__tabs { display: none; }
    .modules__panels { display: grid; gap: 16px; }
    .mpanel { grid-area: auto; opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr; padding: 24px; }
    .mpanel__demo { min-height: 300px; order: -1; }
}
@media (max-width: 640px) {
    body { font-size: 16.5px; }
    .bar__cta { padding: 0 12px; }
    .logo { font-size: 17px; }
    .logo__prompt { height: 28px; padding: 0 7px; font-size: 12px; }
    .prompt { flex-wrap: wrap; padding: 6px 6px 6px 14px; border-radius: 16px; }
    .prompt__input { height: 50px; font-size: 16px; }
    .prompt__go { flex: 1 1 100%; margin-top: 4px; white-space: normal; padding: 10px 14px; }
    .readout { grid-template-columns: 1fr; }
    .readout__cell + .readout__cell { box-shadow: inset 0 1px 0 var(--line); }
    .readout--grid { grid-template-columns: 1fr 1fr; }
    .readout--grid .readout__cell:nth-child(2) { box-shadow: inset 1px 0 0 var(--line); }
    .readout--svc .readout__cell { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; }
    .readout--hero .readout__cell { flex-direction: row; align-items: center; gap: 16px; }
    .readout--hero .readout__cell b { min-width: 86px; }
    .metrics { grid-template-columns: 1fr 1fr; }
    .principles, .features, .pgrid, .manifest__list, .wm-form__row { grid-template-columns: 1fr; }
    .flow { grid-template-columns: 1fr; }
    .info__row { grid-template-columns: 1fr; gap: 6px; }
    .q summary { padding: 12px 12px 12px 16px; gap: 12px; }
    .q__a { padding: 0 16px 18px 16px; }
    .pgrid--blog .pcard--lead { flex-direction: column; }
    .pcard--lead .pcard__img { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
    .foot__top { grid-template-columns: 1fr; }
    .foot__bottom { flex-direction: column; }
    .news__form { flex-direction: column; }
    .pn__a { max-width: 100%; }
    .svc-row { grid-template-columns: 1fr; gap: 10px; }
    .svc-row__go { grid-column: auto; }
    .founder { grid-template-columns: 1fr; }
    .tenthree { gap: 10px 8px; }
    .tt { width: 18px; height: 18px; }
    .tt__label { font-size: 17px; padding: 0 16px; }
    .audit-modal { padding: 0; place-items: end center; }
    .audit-modal__sheet { width: 100%; height: 92vh; height: 92dvh; border-radius: 24px 24px 0 0; }
    .palette { padding: 0; align-items: flex-end; }
    .palette__sheet { width: 100%; max-height: 88vh; max-height: 88dvh; border-radius: 24px 24px 0 0; transform: translateY(30px); }
    .palette__hint { display: none; }
    .palette__foot .btn { width: 100%; }
    .prose { font-size: 17px; }
    .demo-browser__screen { padding: 16px; min-height: 200px; }
    .mpanel__demo { padding: 16px; min-height: 0; }
}

/* ==========================================================================
   REDUCED MOTION — static, fully visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
    .js .reveal, .js .hero__h1, .js .hero__sub, .js .hero .prompt, .js .hero__instrument, .js .readout--hero, .js .hero__title .line__in { opacity: 1; transform: none; animation: none; }
    .js .ghost { animation: none; }
}

/* ==========================================================================
   SIGNAL — scroll-driven 3D layer (assets/js/signal.js, homepage only)
   Fixed behind everything; no layout impact. Light cards turn to frosted glass
   ONLY once the layer is running (html.has-signal), so without WebGL nothing changes.
   ========================================================================== */
.signal3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.signal3d.is-on { opacity: 1; }
@media (min-width: 900px) {
    .has-signal .readout,
    .has-signal .mpanel,
    .has-signal .mtab.is-on { background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(7px) saturate(1.15); backdrop-filter: blur(7px) saturate(1.15); }
    .has-signal .mpanel { background: rgba(255, 255, 255, .56); -webkit-backdrop-filter: blur(5px) saturate(1.15); backdrop-filter: blur(5px) saturate(1.15); }
    .has-signal .mpanel__demo { background: linear-gradient(160deg, rgba(244, 246, 245, .72), rgba(233, 242, 239, .72)); }
    .has-signal .tenthree,
    .has-signal .case,
    .has-signal .mtab { background: rgba(244, 246, 245, .66); -webkit-backdrop-filter: blur(7px) saturate(1.15); backdrop-filter: blur(7px) saturate(1.15); }
}
/* final CTA grid lights up as it scrolls in */
.final__scope i.on { animation: none; background: rgba(94, 234, 212, .09); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .34); transition: background-color .4s, box-shadow .4s; }
/* card tilt (set inline by site.js on fine pointers) */
.pcard.is-tilt { transition: transform .18s linear, box-shadow .35s; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
    .signal3d { display: none; }
}

/* ==========================================================================
   Editorial photography (v4.1, 2026-10-02) — framed, art-directed, subtle parallax
   ========================================================================== */
.statement__visual { display: grid; gap: 18px; position: relative; }
.st-photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(10, 30, 28, .35), inset 0 0 0 1px var(--line); background: var(--paper-2); }
.st-photo img, .media-band img, .rating__photo img, .final__media img, .demo-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-photo img, .media-band img { height: 116%; margin-top: -8%; will-change: transform; }
.statement__visual .tenthree { position: relative; z-index: 1; margin: -64px 20px 0; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 20px 40px -24px rgba(10, 30, 28, .3), inset 0 0 0 1px var(--line); }

/* service tabs: photo behind the live demo, demo floats on top */
.mpanel__demo { position: relative; overflow: hidden; isolation: isolate; }
.demo-photo { position: absolute; inset: 0; z-index: -1; }
.demo-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(247, 250, 249, .78) 0%, rgba(247, 250, 249, .35) 55%, rgba(10, 111, 100, .18) 100%); }
.mpanel__demo > :not(.demo-photo) { position: relative; z-index: 1; }

/* results console: photo card above the 5.0 */
.rating__photo { margin: 0 0 22px; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 10; box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .18); }
.rating__photo img { transition: transform 1.2s var(--ease-out, cubic-bezier(.16, 1, .3, 1)); }
.rating:hover .rating__photo img { transform: scale(1.04); }

/* final CTA: dusk desk behind the dark card, text kept AA via a heavy veil */
.final__media { position: absolute; inset: 0; z-index: -2; opacity: .38; }
.final__media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(8, 14, 13, .55), rgba(8, 14, 13, .92) 75%); }
.final__media img { filter: saturate(.85); }

/* wide framed band (About + service pages) */
.media-band { margin: clamp(28px, 5vw, 64px) 0; position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 21 / 9; box-shadow: 0 30px 70px -36px rgba(10, 30, 28, .4), inset 0 0 0 1px var(--line); background: var(--paper-2); }

@media (max-width: 960px) {
  .st-photo { aspect-ratio: 16 / 11; }
  .statement__visual .tenthree { margin: -48px 12px 0; }
  .media-band { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .st-photo img, .media-band img { height: 100%; margin-top: 0; transform: none !important; }
}

/* ==========================================================================
   SERVICE LANDING PAGES (v4.2, 2026-10-02) — paid-ads layout
   ========================================================================== */
.svc-hero--lp { padding: calc(var(--bar-h) + clamp(20px, 3.4vw, 48px)) 0 clamp(40px, 5vw, 72px); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: 'main visual' 'trust trust'; gap: clamp(28px, 4vw, 64px); align-items: center; }
.svc-hero__main { grid-area: main; min-width: 0; }
.svc-hero__visual { grid-area: visual; position: relative; min-width: 0; }
.svc-hero--lp .crumbs { margin-bottom: 16px; }
.svc-hero--lp .svc-hero__kicker { margin-bottom: 18px; }
.svc-hero--lp .svc-hero__title { font-size: clamp(36px, 4.1vw, 60px); line-height: .98; max-width: 19ch; }
.svc-hero--lp .svc-hero__title em { display: block; }
.svc-hero--lp .svc-hero__sub { margin-top: clamp(18px, 2vw, 26px); }
.svc-hero__prompt { margin-top: clamp(22px, 2.6vw, 32px); }
.svc-hero__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 12px; }
.svc-hero__alt .kicker { letter-spacing: .06em; text-transform: none; color: var(--ink-3); }
.svc-hero__photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 1 / 1; max-height: calc(100vh - var(--bar-h) - 200px); width: 100%; background: var(--paper-2); box-shadow: 0 30px 60px -30px rgba(10, 30, 28, .4), inset 0 0 0 1px var(--line); }
.svc-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 17, 15, .28)); pointer-events: none; }
.svc-hero__demo { position: absolute; left: clamp(-56px, -3vw, -16px); bottom: clamp(18px, 3vw, 36px); width: 440px; transform: scale(.72); transform-origin: 0 100%; z-index: 2; }
.svc-hero__demo .demo-rank, .svc-hero__demo .demo-ai { padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.svc-hero__demo .demo-ai { min-height: 230px; }

/* trust strip (home stats, verbatim) */
.trust { grid-area: trust; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.trust__item { padding: clamp(16px, 1.8vw, 22px) clamp(16px, 1.8vw, 24px); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.trust__item + .trust__item { box-shadow: inset 1px 0 0 var(--line); }
.trust__item b { font: 700 clamp(26px, 2.5vw, 36px)/1 var(--f-display); letter-spacing: -.04em; color: var(--ink); }
.trust__item span { font: 400 12.5px/1.4 var(--f-mono); color: var(--ink-3); }
.trust__stars { font-style: normal; color: var(--teal); letter-spacing: .08em; }

/* problem: paragraph blocks + CTA under the error log */
.pblock { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px dashed var(--console-line); }
.pblock__n { font: 500 12.5px/1.9 var(--f-mono); color: var(--mint); }
.pblock p { color: var(--c-text); }
.svc-problem__side { display: grid; gap: 18px; }
.svc-problem__cta .btn { width: 100%; }

/* features: staggered reveal */
.svc-solution .feature.reveal { transition-delay: calc(var(--i, 0) * 70ms); }

/* proof band: service metrics stacked beside the rating card */
.svc-proof { padding-top: clamp(8px, 2vw, 24px); }
.metrics--stack { grid-template-columns: 1fr; }
.metrics--stack .metric { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; }
.metrics--stack .metric__l { margin: 0; text-align: right; }

/* process: band photo with a floating live demo, CTA row */
.media-band--svc { margin: 0 0 clamp(40px, 6vw, 80px); }
.media-band__demo { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); width: 440px; transform: scale(.7); transform-origin: 100% 100%; z-index: 1; }
.media-band__demo .demo-rank, .media-band__demo .demo-ai { padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); }
.media-band__demo .demo-ai { min-height: 230px; }
.svc-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 4vw, 52px); }
.svc-cta-row--center { justify-content: center; }
.svc-work { padding-top: 0; }
.svc-related .sec-head--row .kicker { margin-bottom: 12px; }

/* sticky mobile CTA dock */
.lp-dock { display: none; }
@media (max-width: 768px) {
    .lp-dock { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 -10px 30px -18px rgba(10, 30, 28, .4), inset 0 1px 0 var(--line); transform: translateY(110%); transition: transform .35s var(--ease-out); }
    .lp-dock .btn { min-height: 48px; padding: 0 12px; font-size: 14.5px; white-space: nowrap; }
    .lp-dock.is-on { transform: none; }
    html.modal-open .lp-dock { transform: translateY(110%); }
    .single-webmax_service .site-footer { padding-bottom: 76px; }
}

/* 3D layer on service pages: frost the cards so the field reads behind them */
@media (min-width: 900px) {
    .has-signal .svc--lp .sec--soft { background: rgba(244, 246, 245, .62); }
    .has-signal .svc--lp .trust,
    .has-signal .svc--lp .feature,
    .has-signal .svc--lp .q,
    .has-signal .svc--lp .flow__node { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(7px) saturate(1.15); backdrop-filter: blur(7px) saturate(1.15); }
    .has-signal .svc--lp .manifest,
    .has-signal .svc--lp .case { background: rgba(244, 246, 245, .7); -webkit-backdrop-filter: blur(7px) saturate(1.15); backdrop-filter: blur(7px) saturate(1.15); }
    .has-signal .svc--lp .flow.is-on .flow__node { background: var(--console); }
}

@media (max-width: 960px) {
    .svc-hero__grid { grid-template-columns: 1fr; grid-template-areas: 'main' 'trust' 'visual'; gap: 24px; }
    .svc-hero__photo { aspect-ratio: 4 / 3; }
    .svc-hero__demo { left: 12px; bottom: 12px; transform: scale(.62); }
    .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust__item:nth-child(4) { box-shadow: inset 0 1px 0 var(--line); }
    .trust__item:nth-child(5) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
}
@media (max-width: 640px) {
    .svc-hero--lp .svc-hero__title { font-size: clamp(32px, 9vw, 42px); }
    .svc-hero__demo { transform: scale(.52); }
    .trust { display: flex; flex-wrap: wrap; background: transparent; box-shadow: none; gap: 6px; border-radius: 0; overflow: visible; }
    .trust__item, .trust__item + .trust__item, .trust__item:nth-child(4), .trust__item:nth-child(5) { flex-direction: row; align-items: baseline; gap: 6px; padding: 7px 11px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
    .trust__item b { font-size: 15px; letter-spacing: -.02em; }
    .trust__item span { font-size: 11.5px; }
    .media-band__demo { transform: scale(.5); right: 10px; bottom: 10px; }
    .metrics--stack .metric { grid-template-columns: 1fr; gap: 6px; }
    .metrics--stack .metric__l { text-align: left; }
    .svc-cta-row .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   INNER PAGES (v4.3, 2026-10-02) — every page at home-page level:
   photo hero, mid-page band, photo CTA strip, signal layer, reveals.
   ========================================================================== */
/* fix: parallax offset relative to the frame HEIGHT (margin-% used the width -> blank strip under the photo) */
.st-photo img, .media-band img { position: absolute; left: 0; top: -8%; height: 116%; margin-top: 0; }

/* page hero: copy + art-directed photo */
.phead--media { padding-top: calc(var(--bar-h) + clamp(28px, 5vw, 72px)); }
.phead--media .phead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.phead--media .phead__copy { min-width: 0; }
.phead--media .phead__title { font-size: clamp(40px, 5.2vw, 80px); }
.phead__trust { margin-top: clamp(32px, 4vw, 56px); }

.pvis { position: relative; min-width: 0; margin: 0 18px 18px 0; animation: pv-in 1.1s var(--ease-out) .1s both; }
@keyframes pv-in { from { transform: translateY(28px) scale(.97); } }
.pvis__frame { position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r-xl); background: linear-gradient(140deg, var(--teal-wash), rgba(94, 234, 212, .38)); box-shadow: inset 0 0 0 1px #CBE8E2; }
.pmedia { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 1 / 1; max-height: calc(100vh - var(--bar-h) - 150px); width: 100%; background: var(--paper-2); box-shadow: 0 30px 60px -30px rgba(10, 30, 28, .42), inset 0 0 0 1px var(--line); }
.pmedia img { position: absolute; left: 0; top: -6%; display: block; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.pmedia::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(200deg, rgba(14, 156, 140, 0) 45%, rgba(10, 111, 100, .26)), linear-gradient(0deg, rgba(7, 17, 15, .2), transparent 38%); }
.pvis--arch .pmedia, .pvis--arch .pvis__frame { border-radius: 50% 50% var(--r-xl) var(--r-xl) / 36% 36% var(--r-xl) var(--r-xl); }
.pvis--arch .pmedia { aspect-ratio: 4 / 4.7; }
.pvis--wide .pmedia { aspect-ratio: 4 / 3.1; }
.pvis--tall .pmedia { aspect-ratio: 4 / 5; }

/* glass audit chip (decorative) */
.pchip { position: absolute; z-index: 2; left: -24px; bottom: 30px; width: 170px; padding: 10px 12px 12px; border-radius: 16px; background: rgba(7, 17, 15, .84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 22px 44px -20px rgba(7, 17, 15, .6), inset 0 0 0 1px var(--console-line); }
.pchip__bar { display: flex; gap: 5px; margin-bottom: 9px; }
.pchip__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(94, 234, 212, .35); }
.pchip__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; }
.pchip__grid i { aspect-ratio: 1; border-radius: 4px; background: var(--mint); opacity: .12; animation: pchip 4.8s calc(var(--d) * 150ms) infinite ease-in-out; }
@keyframes pchip { 0%, 100% { opacity: .12; } 40%, 60% { opacity: .85; } }

/* services index: three-photo mosaic (Web / Search / AI) */
.pmosaic { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 5 / 4.6; max-height: calc(100vh - var(--bar-h) - 150px); min-width: 0; animation: pv-in 1.1s var(--ease-out) .1s both; }
.pmosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); box-shadow: 0 24px 48px -28px rgba(10, 30, 28, .42), inset 0 0 0 1px var(--line); }
.pmosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pmosaic .pmosaic__a { grid-row: 1 / 3; border-radius: 50% 50% var(--r-lg) var(--r-lg) / 26% 26% var(--r-lg) var(--r-lg); }
.pmosaic__b { transform: translateY(-14px); }
.pmosaic__c { transform: translateY(14px); }
.pmosaic__c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(14, 156, 140, .18), rgba(7, 17, 15, .18)); }
.pmosaic .pchip { left: auto; right: -14px; bottom: -26px; }

/* services list: photo thumbnail per service */
.svc-row { grid-template-columns: 64px 200px minmax(0, 1fr) auto; }
.svc-row__thumb { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.svc-row__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.svc-row:hover .svc-row__thumb img { transform: scale(1.06); }
.svc-row__main .svc-row__slug { display: block; margin-bottom: 10px; }

/* CTA strip with a framed photo */
.strip__card--media { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: clamp(24px, 4vw, 64px); row-gap: 22px; align-items: center; position: relative; isolation: isolate; }
.strip__card--media .strip__copy { grid-column: 1; grid-row: 1; align-self: end; min-width: 0; }
.strip__card--media > .btn { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; }
.strip__media { grid-column: 2; grid-row: 1 / 3; position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 10; background: var(--paper-2); box-shadow: 0 24px 48px -26px rgba(10, 30, 28, .45), inset 0 0 0 1px #CBE8E2; }
.strip__media img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.strip__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(227, 244, 241, .3), transparent 45%, rgba(10, 111, 100, .22)); }

/* about: founder card with photo */
.founder--media { grid-template-columns: auto minmax(0, 1fr) minmax(0, .78fr); align-items: center; }
.founder__copy { min-width: 0; }
.founder__photo { margin: 0; position: relative; z-index: 1; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3.6; background: var(--console-2); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .22); }
.founder__photo img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; filter: saturate(.9); will-change: transform; }
.founder__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 17, 15, .45), transparent 50%), linear-gradient(200deg, rgba(94, 234, 212, .14), transparent 60%); }

/* contact: photo + trust points under the details */
.contact__side { display: grid; gap: 16px; min-width: 0; }
.contact__photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 11; background: var(--paper-2); box-shadow: 0 24px 48px -28px rgba(10, 30, 28, .4), inset 0 0 0 1px var(--line); }
.contact__photo img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.contact__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(10, 111, 100, .24)); }
.trust--pills { display: flex; flex-wrap: wrap; gap: 6px; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.trust--pills .trust__item, .trust--pills .trust__item:nth-child(n) { flex-direction: row; align-items: baseline; gap: 6px; padding: 8px 13px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.trust--pills .trust__item b { font-size: 17px; letter-spacing: -.02em; }
.trust--pills .trust__item span { font-size: 12px; }

/* blog: featured-image treatment */
.pcard__img { position: relative; }
.pcard__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(14, 156, 140, .22), transparent 45%); opacity: 0; transition: opacity .45s var(--ease); }
.pcard:hover .pcard__img::after { opacity: 1; }
.pcard--lead .pcard__img { margin: 12px; border-radius: 20px; }

/* single post: framed featured image + photo newsletter card */
.post-head { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 24px; }
.post-head .phead__grid-bg { -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 18%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 60% 55% at 50% 18%, #000 15%, transparent 72%); }
.post-head__img--framed { position: relative; isolation: isolate; overflow: visible; background: none; box-shadow: none; margin-right: 18px; margin-bottom: 18px; }
.post-head__img--framed img { position: relative; z-index: 1; display: block; border-radius: var(--r-xl); box-shadow: 0 40px 80px -40px rgba(10, 30, 28, .5); }
.post-head__glow { position: absolute; z-index: 0; inset: 18px -18px -18px 18px; border-radius: var(--r-xl); background: linear-gradient(140deg, var(--teal-wash), rgba(94, 234, 212, .4)); box-shadow: inset 0 0 0 1px #CBE8E2; }
.news--media { isolation: isolate; }
.news__media { position: absolute; inset: 0; z-index: -1; opacity: .5; overflow: hidden; }
.news__media img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; filter: saturate(.85); will-change: transform; }
.news__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 17, 15, .96) 35%, rgba(7, 17, 15, .62)); }

/* legal: restrained photo band under the title */
.phead--doc .phead__grid-bg { -webkit-mask-image: radial-gradient(ellipse 55% 70% at 50% 20%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 55% 70% at 50% 20%, #000 15%, transparent 75%); }
.legal__band { margin: clamp(28px, 4vw, 44px) 0 0; position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 21 / 5; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.legal__band img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.legal__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(227, 244, 241, .6), rgba(227, 244, 241, 0) 55%), linear-gradient(0deg, rgba(10, 111, 100, .16), transparent); }
.legal .phead--doc { padding-bottom: clamp(36px, 5vw, 56px); }

/* 404: designed page with photo */
.e404 { position: relative; overflow: hidden; isolation: isolate; }
.e404__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.e404__copy { min-width: 0; }

/* 3D signal on About / Contact / Services: frost the light cards so the field reads behind them */
@media (min-width: 900px) {
    .has-signal .about .principle,
    .has-signal .about .readout,
    .has-signal .services .svc-row,
    .has-signal .services .trust,
    .has-signal .contact .info,
    .has-signal .contact .card:not(.card--dark),
    .has-signal .contact .trust__item { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(7px) saturate(1.15); backdrop-filter: blur(7px) saturate(1.15); }
    .has-signal .about .approach,
    .has-signal .about .case { background: rgba(244, 246, 245, .7); -webkit-backdrop-filter: blur(7px) saturate(1.15); backdrop-filter: blur(7px) saturate(1.15); }
}

@media (max-width: 960px) {
    .phead--media .phead__grid, .e404__grid { grid-template-columns: 1fr; }
    .pvis, .pmosaic { margin-top: 8px; }
    .pmedia, .pmosaic { max-height: none; }
    .pvis .pmedia, .pvis--wide .pmedia { aspect-ratio: 4 / 3; }
    .pvis--arch .pmedia { aspect-ratio: 4 / 3.6; }
    .pvis--tall .pmedia { aspect-ratio: 4 / 4.4; }
    .svc-row { grid-template-columns: 56px 150px minmax(0, 1fr); }
    .svc-row__go { grid-column: 3; }
    .founder--media { grid-template-columns: auto minmax(0, 1fr); }
    .founder__photo { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
    .strip__card--media { grid-template-columns: 1fr; }
    .strip__media { grid-column: 1; grid-row: 1; }
    .strip__card--media .strip__copy { grid-column: 1; grid-row: 2; }
    .strip__card--media > .btn { grid-column: 1; grid-row: 3; }
}
@media (max-width: 640px) {
    .pvis { margin: 4px 10px 10px 0; }
    .pvis__frame, .post-head__glow { inset: 10px -10px -10px 10px; }
    .post-head__img--framed { margin-right: 10px; margin-bottom: 10px; }
    .pchip { left: 10px; bottom: 14px; width: 132px; padding: 8px 9px 9px; }
    .pchip__grid { gap: 4px; }
    .pmosaic { gap: 10px; }
    .pmosaic .pchip { right: 8px; left: auto; bottom: -14px; }
    .pmosaic__b { transform: translateY(-8px); }
    .pmosaic__c { transform: translateY(8px); }
    .svc-row { grid-template-columns: 1fr; }
    .svc-row__thumb { aspect-ratio: 16 / 8; }
    .svc-row__go { grid-column: auto; }
    .founder--media { grid-template-columns: 1fr; }
    .legal__band { aspect-ratio: 21 / 8; }
    .pcard--lead .pcard__img { margin: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .st-photo img, .media-band img { top: 0; height: 100%; }
    .pvis, .pmosaic { animation: none; }
    .pchip__grid i { animation: none; opacity: .4; }
    .pmedia img, .strip__media img, .founder__photo img, .contact__photo img, .news__media img, .legal__band img { top: 0; height: 100%; transform: none !important; }
}

/* ==========================================================================
   SERVICE LANDING PAGES v4.4 (2026-10-02) — imagery woven through every section.
   Each page has its own photos (wm_service_visuals): hero, problem, solution, proof, process band, FAQ, CTA.
   Parallax = transform on the <img> only (site.js [data-parallax]); frames reveal via .reveal.
   ========================================================================== */
/* hero: bigger photo + offset teal frame */
.svc-hero__grid { grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); }
.svc-hero__frame { position: absolute; z-index: 0; inset: 18px -18px -18px 18px; border-radius: var(--r-xl); background: linear-gradient(140deg, var(--teal-wash), rgba(94, 234, 212, .38)); box-shadow: inset 0 0 0 1px #CBE8E2; pointer-events: none; }
.svc-hero__photo { z-index: 1; max-height: calc(100vh - var(--bar-h) - 150px); }

/* shared section photo frame */
.svc-shot { margin: 0; position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); background: var(--paper-2); box-shadow: 0 24px 48px -28px rgba(10, 30, 28, .42), inset 0 0 0 1px var(--line); }
.svc-shot img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; display: block; will-change: transform; }
.svc-shot::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* problem: photo above the "Sound familiar?" log, inside the dark console */
.svc-shot--problem { aspect-ratio: 16 / 10; background: var(--console-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--console-line); }
.svc-shot--problem img { filter: saturate(.82) contrast(1.02); }
.svc-shot--problem::after { background: linear-gradient(180deg, transparent 55%, rgba(7, 17, 15, .55)); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .16); }

/* solution: image-led feature grid (photo spans the left column, 6 cards fill the rest) */
.features--media { grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr)); }
.svc-shot--feature { grid-column: 1; grid-row: 1 / span 3; min-height: 420px; border-radius: var(--r-xl); }
.svc-shot--feature::after { background: linear-gradient(200deg, transparent 50%, rgba(14, 156, 140, .18)); }

/* proof: service results photo + glass stat chip */
.rating__photo--svc { position: relative; aspect-ratio: 4 / 3; margin-bottom: 26px; }
.rating__photo--svc img { position: absolute; left: 0; top: -8%; height: 116%; will-change: transform; }
.rating:hover .rating__photo--svc img { transform: none; }
.rating__chip { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: rgba(7, 17, 15, .62); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .28); max-width: calc(100% - 28px); }
.rating__chip b { font: 800 clamp(26px, 2.6vw, 36px)/1 var(--f-display); letter-spacing: -.04em; color: #fff; }
.rating__chip span { font: 500 11.5px/1.3 var(--f-mono); color: var(--mint); letter-spacing: .06em; text-transform: uppercase; }

/* FAQ: arch photo beside the questions */
.faq--svc .faq-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-split__media { position: sticky; top: calc(var(--bar-h) + 28px); }
.faq-split__frame { position: absolute; inset: 16px -16px -16px 16px; border-radius: 50% 50% var(--r-xl) var(--r-xl) / 30% 30% var(--r-xl) var(--r-xl); background: linear-gradient(140deg, var(--teal-wash), rgba(94, 234, 212, .34)); box-shadow: inset 0 0 0 1px #CBE8E2; }
.svc-shot--faq { aspect-ratio: 4 / 5; border-radius: 50% 50% var(--r-xl) var(--r-xl) / 30% 30% var(--r-xl) var(--r-xl); }
.faq-split__main { min-width: 0; }

/* final CTA photo a touch more present */
.final--svc .final__media { opacity: .46; }

@media (max-width: 960px) {
    .svc-hero__grid { grid-template-columns: 1fr; }
    .svc-hero__frame { inset: 12px -8px -12px 12px; }
    .features--media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-shot--feature { grid-column: 1 / -1; grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; }
    .faq--svc .faq-split { grid-template-columns: 1fr; }
    .faq-split__media { position: relative; top: 0; }
    .faq-split__frame { display: none; }
    .svc-shot--faq { aspect-ratio: 16 / 9; border-radius: var(--r-xl); }
}
@media (max-width: 640px) {
    .features--media { grid-template-columns: 1fr; }
    .svc-shot--feature { aspect-ratio: 4 / 3; }
    .svc-shot--faq { aspect-ratio: 3 / 2; }
    .rating__photo--svc { aspect-ratio: 16 / 11; }
}
@media (min-width: 900px) {
    .has-signal .svc--lp .svc-shot--feature { background: var(--paper-2); }
}
@media (prefers-reduced-motion: reduce) {
    .svc-shot img, .rating__photo--svc img { top: 0; height: 100%; transform: none !important; }
}
