/* Diamond Web Studio - unified design system
   Tokens > base > layout > components > sections > pages > motion */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0a0b0d;
  --ink-2: #0f1113;
  --panel: #15171a;
  --panel-2: #1c1f23;
  --line: rgba(244, 244, 241, .1);
  --line-2: rgba(244, 244, 241, .2);
  --text: #f4f4f1;
  --muted: #aeb2b8;
  --dim: #8f949b;
  --volt: #c6ff3d;
  --volt-hi: #d7ff72;
  --volt-glow: rgba(198, 255, 61, .16);
  --on-volt: #0a0b0d;
  --paper: #f4f4f1;
  --paper-2: #e9e9e4;
  --paper-ink: #0a0b0d;
  --paper-muted: #4c5057;

  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --body: "Geist", system-ui, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.3125rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  --fs-3xl: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --max: 1360px;
  --radius: 3px;
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 var(--fs-md)/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); }
h1 em, h2 em { font-style: normal; color: var(--volt); }
.paper h2 em { color: var(--paper-ink); background: linear-gradient(to bottom, transparent 14%, var(--volt) 14%, var(--volt) 96%, transparent 96%); padding: 0 .14em; margin: 0 -.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); letter-spacing: -.015em; line-height: 1.2; font-weight: 600; }
p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--text); }
::selection { background: var(--volt); color: var(--on-volt); }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: var(--s2); z-index: 100; padding: 10px 16px; background: var(--text); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: var(--s2); }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Layout */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 160px); }
.section-tight { padding-block: clamp(64px, 8vw, 112px); }
.label { display: inline-block; position: relative; padding-left: 17px; text-wrap: balance; font: 600 var(--fs-xs)/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.label::before { content: ""; position: absolute; left: 0; top: calc((1.3em - 7px) / 2); width: 7px; height: 7px; background: var(--volt); transform: rotate(45deg); }
.lede { font-size: var(--fs-lg); line-height: 1.55; color: var(--muted); max-width: 44ch; }
.muted { color: var(--muted); }
.head { display: grid; gap: var(--s3); max-width: 820px; margin-bottom: clamp(40px, 6vw, 80px); }
.head p { color: var(--muted); max-width: 60ch; }
.head-split { display: grid; gap: var(--s3); max-width: 880px; margin-bottom: clamp(40px, 6vw, 72px); }
.head-split > div { display: grid; gap: var(--s3); }
.head-split p { color: var(--muted); max-width: 60ch; font-size: var(--fs-lg); line-height: 1.55; }
.head-split .link { margin-top: 4px; width: fit-content; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius); font: 600 var(--fs-sm)/1 var(--body); letter-spacing: .005em; white-space: nowrap; cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--volt); color: var(--on-volt); }
.btn-primary:hover { background: var(--volt-hi); box-shadow: 0 10px 40px -10px var(--volt-glow); }
.btn-line { border-color: var(--line-2); color: var(--text); }
.btn-line:hover { border-color: var(--text); }
.btn-quiet { color: var(--text); }
.btn-quiet:hover { color: var(--volt); }
.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: var(--fs-md); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-sm); color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .25s, color .25s; }
.link:hover { border-color: var(--volt); color: var(--volt); }
.link .i { width: 16px; height: 16px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-solid, .menu-open .site-header { background: rgba(7, 9, 13, .96); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s4); height: var(--header-h); width: min(1480px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-gem { width: 44px; height: 44px; flex: none; border-radius: 50%; filter: brightness(1.55) contrast(1.15) saturate(1.2); -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); transition: transform .6s var(--ease); }
.brand:hover .brand-gem { transform: rotate(-10deg) scale(1.08); }
.brand:hover .brand-gem .gem-shine { animation: shine 1.1s var(--ease); }
.brand-word { display: grid; font: 700 1.125rem/1 var(--display); letter-spacing: -.03em; }
.brand-word small { font: 500 .6875rem/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.primary-nav { display: flex; gap: 4px; margin-left: auto; }
.primary-nav a { padding: 10px 14px; font-size: var(--fs-sm); color: var(--muted); border-radius: var(--radius); transition: color .2s; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--text); }
.primary-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--volt); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-icon { padding: 0 14px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--radius); background: none; cursor: pointer; place-items: center; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; } .menu-lines::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; background: var(--ink); padding: var(--s4) var(--gutter) var(--s5); display: grid; align-content: space-between; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { font: 500 1.75rem/1.2 var(--display); letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu nav a[aria-current] { color: var(--volt); }
.mobile-menu-actions { display: grid; gap: 10px; padding-top: var(--s4); }
.menu-open { overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ink); padding-top: var(--s7); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); padding-bottom: var(--s6); }
.footer-pitch { display: grid; gap: var(--s3); align-content: start; }
.footer-title { font: 500 var(--fs-2xl)/1.05 var(--display); letter-spacing: -.028em; }
.footer-pitch > p:not(.footer-title) { color: var(--muted); max-width: 42ch; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.footer-nav div { display: grid; gap: 10px; align-content: start; font-size: var(--fs-sm); }
.footer-nav a { color: var(--muted); transition: color .2s; width: fit-content; padding: 2px 0; }
.footer-nav a:hover { color: var(--text); }
.footer-nav p { color: var(--muted); }
.footer-label { font-size: var(--fs-xs) !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim) !important; margin-bottom: 4px; }
.footer-word { font: 700 clamp(5rem, 1rem + 17vw, 17rem)/.8 var(--display); letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(244, 244, 241, .09); background: linear-gradient(180deg, rgba(244, 244, 241, .07), transparent 85%); -webkit-background-clip: text; background-clip: text; user-select: none; padding: 0 var(--gutter); margin-top: var(--s2); overflow: hidden; white-space: nowrap; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); padding-block: var(--s4); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--dim); }
.footer-base a { margin-left: var(--s3); color: var(--muted); }
.footer-base a:hover { color: var(--text); }

/* Home hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 48px) 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: var(--s4); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.75rem, 1.3rem + 4vw, 5.25rem); line-height: .94; letter-spacing: -.045em; font-weight: 650; }
.hero h1 em { font-style: normal; color: var(--volt); }
.hero .lede { max-width: 40ch; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.hero-proof li { display: flex; align-items: center; gap: 10px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; background: var(--volt); transform: rotate(45deg); }
.hero-visual { position: relative; aspect-ratio: 1 / .74; transform: perspective(1400px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .6s var(--ease); transform-style: preserve-3d; }
.frame { position: absolute; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-a { width: 100%; aspect-ratio: 16 / 9; right: 0; top: 6%; z-index: 2; }
.frame-b { width: 28%; aspect-ratio: 4 / 5; left: -12%; bottom: -16%; z-index: 3; }
.frame-c { width: 46%; aspect-ratio: 16 / 9; right: 6%; top: 0; z-index: 1; opacity: .55; }
.hero-note { position: absolute; left: 0; right: 0; top: 100%; margin-top: 22px; z-index: 4; font-size: var(--fs-xs); color: var(--dim); letter-spacing: .02em; text-align: right; }


/* Hero screen: live work in motion */
.hero-screen { background: #000; }
.hero-screen video { width: 100%; height: 100%; object-fit: cover; }
.hero-note a { margin-left: 6px; }

/* Signature live concept (click to load, desktop) */
.sig-live { position: relative; aspect-ratio: 16 / 9; background: #000; }
.sig-live img, .sig-live iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.sig-live-start { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.sig-live-start:active { transform: translate(-50%, calc(-50% + 1px)); }
.sig-live.is-live img, .sig-live.is-live .sig-live-start { display: none; }
.sig-live:not(.is-live)::after { content: ""; position: absolute; inset: 0; background: rgba(5, 7, 10, .38); pointer-events: none; }
.sig-live-start { z-index: 2; }

/* Hero atmosphere: lime spotlight that follows the pointer, glass fact chips */
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; left: var(--mx, 72%); top: var(--my, 42%); transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--volt-glow), transparent 70%); pointer-events: none; transition: left 1s var(--ease), top 1s var(--ease); z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }
.chip { position: absolute; z-index: 5; display: grid; gap: 2px; padding: 12px 16px; border-radius: 6px; background: rgba(21, 23, 26, .84); border: 1px solid rgba(244, 244, 241, .16); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 40px -20px rgba(0, 0, 0, .6); font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }
.chip b { font: 650 var(--fs-lg)/1.1 var(--display); color: var(--text); letter-spacing: -.02em; }
.chip b span { color: var(--volt); }
.chip-1 { right: -3%; top: -4%; }
.chip-2 { right: 4%; bottom: 6%; }
@supports not (backdrop-filter: blur(1px)) { .chip { background: var(--panel-2); } }
@media (prefers-reduced-transparency: reduce) { .chip { background: var(--panel-2); backdrop-filter: none; } }

/* Work: contextual View badge trailing the pointer (the native cursor stays) */
.view-badge { position: fixed; left: 0; top: 0; z-index: 40; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border-radius: 50%; background: var(--volt); color: var(--on-volt); font: 650 var(--fs-sm)/1 var(--display); pointer-events: none; transform: translate3d(var(--bx, -200px), var(--by, -200px), 0) scale(var(--bs, 0)); transition: transform .35s var(--ease); }
@media (hover: none) { .view-badge { display: none; } }

/* Gem: the diamond reacts to the cursor, and a light sweep catches the facets.
   color-dodge keeps the sweep black on the black ground, so it only lights the stone. */
.gem { position: relative; display: block; transform: perspective(900px) rotateX(var(--gx, 0deg)) rotateY(var(--gy, 0deg)) scale(var(--gs, 1)); transition: transform .5s var(--ease); }
.gem img { width: 100%; height: 100%; display: block; }
.gem-shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, .55) 47%, rgba(198, 255, 61, .4) 53%, transparent 66%); background-size: 300% 100%; background-position: var(--sx, 100%) 50%; opacity: var(--so, 0); transition: opacity .6s var(--ease), background-position .35s var(--ease); will-change: background-position, opacity; }
@keyframes shine { 0% { background-position: 110% 50%; opacity: 0; } 30% { opacity: 1; } 100% { background-position: -10% 50%; opacity: 0; } }
.gem::after { content: ""; position: absolute; left: var(--hx, 50%); top: var(--hy, 50%); width: 60%; height: 60%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(198, 255, 61, .22), transparent 70%); mix-blend-mode: color-dodge; opacity: var(--ho, 0); transition: opacity .4s var(--ease); pointer-events: none; }

/* VRT signature */
.vrt-sig { display: block; width: 100%; height: auto; fill: var(--volt); }
.accountable-sig { width: 150px; }
.accountable .accountable-title { color: var(--text); font: 650 var(--fs-lg)/1.25 var(--display); letter-spacing: -.02em; color: var(--text); margin-bottom: 8px; }
.portrait-card .accountable-sig { width: 180px; }

/* Leaks */
.leaks-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.leaks-intro { position: sticky; top: calc(var(--header-h) + 48px); display: grid; gap: var(--s3); }
.leaks-intro p { color: var(--muted); max-width: 42ch; }
.leak-list { border-top: 1px solid var(--line); }
.leak { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s3); padding-block: var(--s5); border-bottom: 1px solid var(--line); }
.leak-n { font: 500 var(--fs-sm)/1.9 var(--display); color: var(--volt); }
.leak h3 { font-size: var(--fs-xl); margin-bottom: 12px; }
.leak p { color: var(--muted); max-width: 56ch; }

/* System */
.system { background: var(--ink-2); border-block: 1px solid var(--line); }
.system-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); position: relative; }
.system-rail::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: var(--volt); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); transition: transform .1s linear; }
.stage { padding: var(--s4) var(--s4) var(--s4) 0; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: var(--s2); align-content: start; }
.stage + .stage { padding-left: var(--s4); border-left: 1px solid var(--line); }
.stage > .stage-name { font: 650 var(--fs-2xl)/1 var(--display); letter-spacing: -.04em; color: var(--text); }
.stage > p { color: var(--muted); font-size: var(--fs-sm); }
.stage ul { display: grid; align-content: start; gap: 10px; margin-top: var(--s1); font-size: var(--fs-sm); }
.stage li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; color: var(--text); }
.stage li::before { content: ""; width: 7px; height: 7px; margin-top: .55em; border: 1.5px solid var(--volt); transform: rotate(45deg); }
.system-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.system-foot > div { display: grid; gap: 8px; align-content: start; }
.system-foot strong { font: 650 var(--fs-md)/1.3 var(--display); letter-spacing: -.01em; }
#system.section { padding-bottom: clamp(56px, 6vw, 88px); }

/* Signature */
.signature { position: relative; background: #05070a; overflow: hidden; }
.signature-head { display: grid; gap: var(--s3); max-width: 920px; margin-bottom: var(--s6); }
.signature-head h2 { font-size: var(--fs-3xl); }
.signature-head p { color: var(--muted); font-size: var(--fs-lg); line-height: 1.55; max-width: 62ch; }
.sig-stage { position: relative; }
.sig-screen { position: relative; border-radius: 6px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 60px 140px -50px rgba(198, 255, 61, .22), 0 30px 60px -30px rgba(0, 0, 0, .8); transform: perspective(1800px) rotateX(var(--tilt, 8deg)) scale(var(--scale, .94)); transform-origin: 50% 0; transition: transform .1s linear; }
.sig-screen video, .sig-screen img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sig-screen .sig-tall { display: none; }
.sig-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); margin-top: var(--s2); font-size: var(--fs-xs); color: var(--dim); }
.sig-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); margin-top: var(--s7); }
.sig-body > div:first-child { display: grid; gap: var(--s3); align-content: start; }
.sig-body > div:first-child p { color: var(--muted); }
.sig-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s5); }
.sig-features li { padding: var(--s3) 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.sig-features h3 { font-size: var(--fs-md); }
.sig-features p { font-size: var(--fs-sm); color: var(--muted); }
.sig-fit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s5); padding: var(--s4); border: 1px solid var(--line-2); border-radius: var(--radius); }
.sig-fit p { max-width: 62ch; color: var(--muted); }
.sig-fit strong { color: var(--text); }

/* Work rails */
.work { overflow: clip; }
.rails { display: grid; gap: 16px; margin-top: var(--s2); }
.rail { display: flex; gap: 16px; width: max-content; will-change: transform; }
.rail a { position: relative; width: clamp(260px, 28vw, 440px); flex: none; }
.rail .shot { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.rail img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rail a:hover img { transform: scale(1.04); }
.rail .meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: var(--fs-sm); }
.rail .meta span { color: var(--dim); }
.work-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s5); }
.work-foot p { color: var(--dim); font-size: var(--fs-sm); max-width: 60ch; }

/* Light pricing band (the page's single deliberate theme switch) */
.paper { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.paper .label { color: var(--paper-ink); }
.paper .label::before { background: var(--paper-ink); }
.paper .head p, .paper .head-split p, .paper .muted { color: var(--paper-muted); }
.paper .link { color: var(--paper-ink); border-color: rgba(11, 14, 20, .25); }
.paper .link:hover { color: var(--paper-ink); border-color: var(--paper-ink); }
.paper .btn-line { border-color: rgba(11, 14, 20, .3); color: var(--paper-ink); }
.paper .btn-line:hover { border-color: var(--paper-ink); }
.paper strong { color: var(--paper-ink); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--s2); padding: var(--s4); background: #fff; border: 1px solid rgba(11, 14, 20, .1); border-radius: var(--radius); }
.tier-kicker { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-muted); }
.tier h3 { font-size: var(--fs-xl); }
.tier-price { font: 500 var(--fs-2xl)/1 var(--display); letter-spacing: -.03em; }
.tier-price small { font: 500 var(--fs-sm) var(--body); letter-spacing: 0; color: var(--paper-muted); margin-right: 6px; }
.tier > p { color: var(--paper-muted); font-size: var(--fs-sm); }
.tier ul { display: grid; gap: 10px; font-size: var(--fs-sm); padding-block: var(--s2); border-top: 1px solid rgba(11, 14, 20, .1); }
.tier li { position: relative; padding-left: 26px; }
.tier li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border: solid var(--paper-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.tier .btn { width: 100%; }
.tier-note { font-size: var(--fs-xs) !important; }
.tier-signature { background: var(--ink); color: var(--text); border-color: var(--ink); position: relative; }
.tier-signature .tier-kicker { color: var(--volt); }
.tier-signature > p, .tier-signature .tier-price small { color: var(--muted); }
.tier-signature ul { border-color: var(--line); }
.tier-signature li::before { border-color: var(--volt); }
.tier-signature strong { color: var(--text); }
.tier-flag { position: absolute; top: -1px; right: var(--s3); padding: 6px 10px; background: var(--volt); color: var(--on-volt); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; border-radius: 0 0 var(--radius) var(--radius); }
.pack { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: center; margin-top: 16px; padding: var(--s4); background: #fff; border: 1px solid rgba(11, 14, 20, .1); border-radius: var(--radius); }
.pack > div:first-child { display: grid; gap: 12px; }
.pack p { color: var(--paper-muted); font-size: var(--fs-sm); }
.pack-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pack-shots img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; border-radius: var(--radius); border: 1px solid rgba(11, 14, 20, .08); }
.growth { margin-top: var(--s7); }
.growth-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(11, 14, 20, .14); }
.growth-grid li { padding: var(--s4) var(--s4) var(--s4) 0; border-bottom: 1px solid rgba(11, 14, 20, .1); display: grid; gap: 10px; align-content: start; }
.growth-grid li:not(:nth-child(3n + 1)) { padding-left: var(--s4); border-left: 1px solid rgba(11, 14, 20, .1); }
.growth-grid h3 { font-size: var(--fs-lg); }
.growth-grid p { color: var(--paper-muted); font-size: var(--fs-sm); }
.growth-grid .tag { font-size: var(--fs-xs); font-weight: 600; color: var(--paper-muted); letter-spacing: .1em; text-transform: uppercase; }
.price-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); margin-top: var(--s5); font-size: var(--fs-sm); color: var(--paper-muted); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: var(--s4) 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 12px; align-content: start; }
.step-n { font: 500 var(--fs-2xl)/1 var(--display); color: var(--volt); letter-spacing: -.03em; }
.step p { color: var(--muted); font-size: var(--fs-sm); }
.accountable { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s5); align-items: center; margin-top: var(--s6); padding: var(--s4); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.monogram { width: 72px; height: 72px; display: grid; place-items: center; background: var(--volt); color: var(--on-volt); font: 600 1.75rem/1 var(--display); border-radius: var(--radius); }
.accountable p { color: var(--muted); max-width: 80ch; }


/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s3); margin-bottom: var(--s5); }
.reviews-head > div:first-child { display: grid; gap: var(--s3); }
.review-controls { display: flex; align-items: center; gap: 8px; }
.review-controls button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); background: none; border-radius: var(--radius); cursor: pointer; transition: border-color .2s; }
.review-controls button:hover { border-color: var(--text); }
.review-controls [data-prev] .i { transform: rotate(180deg); }
.review-count { font-size: var(--fs-sm); color: var(--dim); min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 32%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.review-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: grid; grid-template-rows: 1fr auto; gap: var(--s4); padding: var(--s4); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.review blockquote { font: 450 1.1875rem/1.5 var(--display); letter-spacing: -.012em; color: var(--text); }
.review figcaption { font-size: var(--fs-sm); display: grid; grid-template-rows: auto auto; align-content: start; gap: 4px; min-height: 96px; padding-top: var(--s2); border-top: 1px solid var(--line); }
.review figcaption strong { font: 650 var(--fs-md)/1.2 var(--display); }
.review figcaption span { line-height: 1.4; }
.review figcaption span { color: var(--dim); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s6); }
.faq-grid > div:first-child { display: grid; gap: var(--s3); align-content: start; }
.faq-grid > div:first-child p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: var(--s3); padding: 22px 0; cursor: pointer; font: 500 var(--fs-lg)/1.3 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: .35em; border: solid var(--volt); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { padding-bottom: var(--s3); color: var(--muted); max-width: 68ch; }
.faq summary:focus-visible { outline: none; color: var(--volt); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.faq summary:hover { color: var(--volt); }
.paper .faq summary:focus-visible, .paper .faq summary:hover { color: var(--paper-ink); }
.paper .faq details, .paper .faq details:first-child { border-color: rgba(11, 14, 20, .12); }

/* Closing CTA with the brand diamond */
.closing { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.closing-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5); align-items: center; }
.closing-copy { display: grid; gap: var(--s4); position: relative; z-index: 1; }
.closing h2 { font-size: var(--fs-3xl); }
.closing-copy > p { color: var(--muted); max-width: 52ch; font-size: var(--fs-lg); }
.closing-diamond { position: relative; aspect-ratio: 1; will-change: transform; }
.nowrap { white-space: nowrap; }
@media (hover: hover), (pointer: fine) { .only-touch { display: none !important; } }
/* Work rails: scroll-driven where supported (JS adds .is-timeline and sets --travel per rail) */
@media (prefers-reduced-motion: no-preference) {
  .rails.is-timeline { view-timeline: --rails block; view-timeline-inset: 0px; }
  .rails.is-timeline .rail { animation: rail-left linear both; animation-timeline: --rails; animation-range: cover 0% cover 100%; }
  .rails.is-timeline .rail:nth-child(even) { animation-name: rail-right; }
}
@keyframes rail-left { from { transform: translate3d(calc(var(--travel, 0px) * -.2), 0, 0); } to { transform: translate3d(calc(var(--travel, 0px) * -.8), 0, 0); } }
@keyframes rail-right { from { transform: translate3d(calc(var(--travel, 0px) * -.8), 0, 0); } to { transform: translate3d(calc(var(--travel, 0px) * -.2), 0, 0); } }
.closing-diamond { animation: float 9s ease-in-out infinite; }
.closing-diamond .gem { -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* Subpage hero */
.page-hero { padding: calc(var(--header-h) + clamp(64px, 9vw, 128px)) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s5); align-items: end; }
.page-hero .wrap > div:first-child { display: grid; gap: var(--s3); }
.page-hero h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.75rem); }
.page-hero .aside { color: var(--muted); display: grid; gap: var(--s3); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.jump a { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: var(--fs-sm); color: var(--muted); transition: color .2s, border-color .2s; }
.jump a:hover { color: var(--text); border-color: var(--text); }

/* Services page */
.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.included li { padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.included li:not(:nth-child(3n + 1)) { padding-left: var(--s3); border-left: 1px solid var(--line); }
.included h3 { font-size: var(--fs-md); }
.included p { font-size: var(--fs-sm); color: var(--muted); }
.care-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.care { display: grid; gap: 12px; align-content: start; padding: var(--s4) var(--s3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.care .tier-price { font-size: var(--fs-xl); color: var(--volt); }
.care p { font-size: var(--fs-sm); color: var(--muted); }
.care .link { margin-top: auto; width: fit-content; }
.tech { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.tech div { display: grid; gap: 12px; align-content: start; }
.tech h3 { font-size: var(--fs-md); padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.tech ul { display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--muted); }
.fineprint { margin-top: var(--s5); font-size: var(--fs-sm); color: var(--dim); max-width: 90ch; }
.pack-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: var(--s5); }
.pack-steps li { padding-top: var(--s3); border-top: 1px solid var(--line-2); display: grid; gap: 8px; }
.pack-steps span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--volt); }
.pack-steps p { font-size: var(--fs-sm); color: var(--muted); }

/* Free audit: the standout offer, lit with a slow volt edge */
.audit { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); padding: clamp(32px, 5vw, 64px); border-radius: 8px; background: var(--panel); isolation: isolate; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); box-shadow: 0 0 0 1px rgba(198, 255, 61, .35), 0 30px 80px -40px rgba(198, 255, 61, .35); }
.audit::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, rgba(198, 255, 61, .18) 80%, transparent 90%); animation: audit-spin 9s linear infinite; }
.audit::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: 7px; background: var(--panel); }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes audit-spin { to { --spin: 360deg; } }
.audit:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(198, 255, 61, .6), 0 40px 100px -40px rgba(198, 255, 61, .5); }
.audit-copy { display: grid; gap: var(--s3); align-content: center; }
.audit-copy h2 { font-size: var(--fs-2xl); }
.audit-copy > p:not(.label) { color: var(--muted); font-size: var(--fs-lg); line-height: 1.55; }
.audit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); align-content: center; }
.audit-list li { display: grid; gap: 6px; align-content: start; padding-top: var(--s2); border-top: 1px solid var(--line-2); }
.audit-list h3 { font-size: var(--fs-md); }
.audit-list p { font-size: var(--fs-sm); color: var(--muted); }

/* Paper variants */
.paper .included { border-color: rgba(10, 11, 13, .14); }
.paper .included li { border-color: rgba(10, 11, 13, .1) !important; }
.paper .included p, .paper .tech ul { color: var(--paper-muted); }
.pack-steps-paper { margin-top: var(--s2); margin-bottom: var(--s2); grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px 24px; }
.paper .pack-steps li { border-color: rgba(10, 11, 13, .18); }
.paper .pack-steps span { color: var(--paper-ink); }
.paper .pack-steps p { color: var(--paper-muted); }
.pack h3 .muted { font-weight: 500; }
.paper .price-foot { margin-top: var(--s4); }

/* Studio page */
.studio-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 5vw, 80px)) 0 var(--s5); overflow: hidden; border-bottom: 1px solid var(--line); }
.studio-hero::before { content: ""; position: absolute; left: 50%; top: 62%; width: 1100px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--volt-glow), transparent 72%); pointer-events: none; }
.studio-hero-copy { display: grid; gap: var(--s3); justify-items: center; text-align: center; position: relative; }
.studio-hero-copy h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem); max-width: 16ch; }
.studio-hero-copy .lede { max-width: 52ch; }
.ring { --item: clamp(220px, 24vw, 340px); position: relative; height: calc(var(--item) * .5625 + 150px); margin-top: var(--s5); perspective: 1700px; perspective-origin: 50% 30%; cursor: grab; touch-action: pan-y; user-select: none; outline-offset: -6px; }
.ring.is-dragging { cursor: grabbing; }
.ring-track { position: absolute; left: 50%; top: 40px; width: var(--item); height: calc(var(--item) * .5625); margin-left: calc(var(--item) / -2); transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateX(-6deg) rotateY(var(--angle, 0deg)); }
.ring-spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: ring-spin 100s linear infinite; }
.ring.is-paused .ring-spin { animation-play-state: paused; }
@keyframes ring-spin { to { transform: rotateY(-360deg); } }
.ring-track a { position: absolute; inset: 0; transform: rotateY(calc(var(--i) * var(--step))) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.ring-track img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ring-track span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: var(--fs-xs); font-weight: 600; background: linear-gradient(transparent, rgba(10, 11, 13, .88)); }
.ring-track a:focus-visible { outline: 2px solid var(--volt); outline-offset: -2px; }
.studio-jump { justify-content: center; margin-top: var(--s2); }
@media (prefers-reduced-motion: reduce) {
  .ring { height: auto; perspective: none; cursor: auto; }
  .ring-track { position: static; width: auto; margin: 0 auto; height: auto; transform: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; width: min(var(--max), 100% - 2 * var(--gutter)); }
  .ring-spin { display: contents; animation: none; }
  .ring-track a { position: relative; transform: none; aspect-ratio: 16 / 9; }
}
.featured-concept { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s5); align-items: center; }
.featured-concept > div:last-child { display: grid; gap: var(--s3); }
.featured-concept p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) 24px; }
/* Subgrid: media, label, title, summary and details line up across every card in a row */
.card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
@supports not (grid-template-rows: subgrid) { .card { grid-row: auto; grid-template-rows: none; } }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); cursor: zoom-in; padding: 0; width: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.card-media:hover img { transform: scale(1.035); }
.card .card-top { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--volt); font-weight: 600; margin-top: 4px; }
.card h3 { font-size: var(--fs-xl); }
.card > p { color: var(--muted); font-size: var(--fs-sm); }
.card dl { display: grid; gap: 10px; font-size: var(--fs-sm); padding-top: 12px; border-top: 1px solid var(--line); }
.card dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.card dd { color: var(--muted); }
.lp-track { --lp-h: clamp(360px, 34vw, 500px); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: var(--s2); }
.lp { flex: 0 0 auto; width: calc(var(--lp-h) * (var(--ar, 4 / 5))); scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.lp .card-media { height: var(--lp-h); aspect-ratio: auto; }
.lp .card-media img { object-fit: contain; }
.lp h3 { font-size: var(--fs-lg); }
.lp p { font-size: var(--fs-sm); color: var(--muted); }
.lp small { font-size: .75rem; color: var(--volt); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.industry { display: grid; gap: 10px; align-content: start; padding-top: var(--s3); border-top: 1px solid var(--line-2); }
.industry p { font-size: var(--fs-sm); color: var(--muted); }
.industry ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px var(--s3); margin-top: 8px; }
.industry li { position: relative; padding-left: 16px; font-size: var(--fs-sm); color: var(--text); line-height: 1.35; }
.industry li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; background: var(--volt); transform: rotate(45deg); }
.viewer { width: min(1500px, 94vw); max-height: 92vh; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--ink); color: var(--text); }
.viewer::backdrop { background: rgba(3, 5, 8, .88); }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--ink); z-index: 1; }
.viewer-bar p { font-weight: 600; }
.viewer-close { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); background: none; cursor: pointer; font-size: 1.25rem; line-height: 1; }
.viewer img { width: 100%; height: auto; }

/* About page */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.portrait-card { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: var(--s3); padding: var(--s5) var(--s4); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.portrait-card .monogram { width: 96px; height: 96px; font-size: 2.25rem; }
.portrait-card dl { display: grid; gap: 14px; font-size: var(--fs-sm); }
.portrait-card dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.letter { display: grid; gap: var(--s3); font-size: var(--fs-lg); line-height: 1.6; color: var(--muted); }
.letter p:first-of-type { font: 500 var(--fs-2xl)/1.1 var(--display); letter-spacing: -.028em; color: var(--text); }
.letter .sign { font-size: var(--fs-md); color: var(--text); }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.why-grid > div:first-child { display: grid; gap: var(--s3); position: sticky; top: calc(var(--header-h) + 32px); }
.why-copy p:first-of-type { font: 400 var(--fs-lg)/1.6 var(--body); letter-spacing: 0; color: var(--muted); }
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.roadmap li { display: grid; gap: 10px; padding: var(--s4) var(--s3); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); align-content: start; }
.roadmap span { font: 500 var(--fs-xl)/1 var(--display); color: var(--volt); }
.roadmap p { font-size: var(--fs-sm); color: var(--muted); }
.after { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.after li { display: grid; gap: 10px; padding-top: var(--s3); border-top: 1px solid var(--line-2); align-content: start; }
.after p { font-size: var(--fs-sm); color: var(--muted); }
.after b { color: var(--volt); font-weight: 600; font-size: var(--fs-sm); }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); padding: var(--s5) var(--s4); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.field { display: grid; gap: 8px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-sm); font-weight: 600; }
.field label span { font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--ink); border: 1px solid rgba(233, 238, 247, .22); border-radius: var(--radius); transition: border-color .2s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7afbc' stroke-width='2'%3E%3Cpath d='M6 9l6 6l6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(233, 238, 247, .38); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--volt); outline-offset: 0; border-color: var(--volt); }
.field [aria-invalid="true"] { border-color: #f08b8b; }
.field-error { font-size: var(--fs-xs); color: #f5a3a3; }
.field-help { font-size: var(--fs-xs); color: var(--dim); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: grid; gap: 12px; }
.form-foot .btn { width: fit-content; }
.form-status { font-size: var(--fs-sm); color: var(--muted); min-height: 1.5em; }
.form-status.is-error { color: #f5a3a3; }
.form-status.is-ok { color: #9fd8b2; }
.form-side { display: grid; gap: var(--s4); position: sticky; top: calc(var(--header-h) + 32px); }
.side-block { display: grid; gap: 12px; padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.side-block p { color: var(--muted); font-size: var(--fs-sm); }
.success { display: grid; gap: var(--s3); padding: var(--s5) var(--s4); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.success p { color: var(--muted); }

/* Legal */
.prose { max-width: 760px; display: grid; gap: var(--s3); color: var(--muted); }
.prose h2 { font-size: var(--fs-xl); color: var(--text); margin-top: var(--s3); }
.prose .effective { font-size: var(--fs-sm); color: var(--dim); }

/* 404 */
.lost { min-height: 88vh; display: grid; align-items: center; padding: calc(var(--header-h) + 48px) 0 64px; }
.lost .wrap { display: grid; gap: var(--s4); max-width: 900px; position: relative; }
.lost-diamond { position: absolute; right: -30%; top: -14%; width: 500px; -webkit-mask-image: radial-gradient(closest-side, #000 64%, transparent 100%); mask-image: radial-gradient(closest-side, #000 64%, transparent 100%); }
@media (max-width: 1100px) { .lost-diamond { display: none; } }
.lost-code { font: 500 clamp(6rem, 4rem + 10vw, 12rem)/.8 var(--display); letter-spacing: -.06em; color: var(--panel-2); -webkit-text-stroke: 1px var(--line-2); }
.lost-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lost-links a { display: grid; gap: 6px; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.lost-links a:hover { border-color: var(--volt); }
.lost-links span { font-size: var(--fs-sm); color: var(--muted); }

/* Motion: reveal (opacity/transform only) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-rise] { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
.js .hero .frame { animation: settle 1.4s var(--ease) both; animation-delay: calc(200ms + var(--d, 0) * 140ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(40px) scale(.98); } }
.js .hero .frame-c { animation-name: settle-dim; }
@keyframes settle-dim { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: .55; } }

/* Rows of unequal content: keep every item's content pinned to the top */
.sig-features li, .stage, .care, .roadmap li, .after li, .growth-grid li, .industries div, .tech div, .step, .included li, .pack-steps li, .lost-links a { align-content: start; }

/* Tablet */
@media (max-width: 1100px) {
  .primary-nav, .label-wide { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .why-grid, .hero-grid, .leaks-grid, .signature-head, .sig-body, .footer-top, .closing-inner, .page-hero .wrap, .featured-concept, .about-grid, .form-layout, .faq-grid, .head-split, .pack, .system-foot { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; }
  .leaks-intro, .portrait-card, .form-side, .why-grid > div:first-child { position: static; }
  .system-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage:nth-child(3) { padding-left: 0; border-left: 0; }
  .stage:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .tiers { grid-template-columns: 1fr; max-width: 640px; }
  .growth-grid, .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .growth-grid li:not(:nth-child(3n + 1)), .included li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .growth-grid li:nth-child(2n), .included li:nth-child(2n) { padding-left: var(--s4); border-left: 1px solid rgba(11, 14, 20, .1); }
  .included li:nth-child(2n) { border-left-color: var(--line); padding-left: var(--s3); }
  .steps, .care-grid, .tech, .roadmap, .industries, .pack-steps, .audit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-track { grid-auto-columns: minmax(300px, 46%); }
  .lp-track { --lp-h: 440px; }
}

/* Phone */
@media (max-width: 767.98px) {
  :root { --header-h: 64px; }
  .header-actions .btn-primary { display: none; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 40px); }
  .hero h1 { font-size: clamp(2.5rem, 1.4rem + 7vw, 3.25rem); }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-visual { aspect-ratio: auto; transform: none; margin-top: var(--s2); }
  .hero-visual .frame-a { position: relative; top: 0; width: 100%; }
  .hero-visual .frame-b, .chip-2 { display: none; }
  .chip-1 { top: -18px; bottom: auto; right: 10px; }
  .hero-note { position: static; margin-top: 30px; text-align: left; }
  .hero::before { display: none; }
  .leak { grid-template-columns: 1fr; gap: 8px; padding-block: var(--s4); }
  .system-rail { grid-template-columns: 1fr; }
  .stage, .stage + .stage { padding: var(--s3) 0; border-left: 0; border-top: 1px solid var(--line); grid-row: auto; grid-template-rows: none; }
  .sig-screen { transform: none; }
  .sig-screen .sig-live { display: none; }
  .sig-screen .sig-tall { display: block; aspect-ratio: 9 / 16; max-height: 78vh; max-height: 78svh; margin-inline: auto; width: auto; }
  .industry { grid-row: auto; grid-template-rows: none; }
  .industry ul { display: block; columns: 2; column-gap: var(--s3); }
  .industry li { break-inside: avoid; margin-bottom: 12px; }
  .audit-list, .sig-features, .growth-grid, .included, .steps, .care-grid, .tech, .roadmap, .industries, .after, .cards, .pack-steps, .lost-links, .footer-nav, .form { grid-template-columns: 1fr; }
  .growth-grid li, .growth-grid li:nth-child(2n), .included li, .included li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .pack-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .review-track { grid-auto-columns: 86%; }
  .lp-track { --lp-h: 400px; }
  .form { padding: var(--s4) var(--s3); }
  .card { grid-row: auto; grid-template-rows: none; gap: 12px; }
  .cards { gap: var(--s5); }
  .form-foot .btn, .btn-row .btn { width: 100%; }
  .accountable { grid-template-columns: 1fr; }
  .closing-diamond { width: 100%; max-width: 320px; margin-inline: auto; order: -1; }
  .footer-base a { margin: 0 var(--s3) 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .sig-screen { transform: none; }
  .rail { transform: none !important; }
}
