/* ============================================================================
   DELTAQUANT · design system (revision 2: light default, navy for drama)
   Accents sampled from the logo: cobalt #105898, leaf teal #3C72A2, gold #CDB487
   ============================================================================ */
/* the font faces are linked directly from each page head (fonts/fonts.css): a CSS import would delay them behind this file */

:root {
  --bg: #FFFFFF; --bg-2: #F6F8FB; --bg-3: #EEF2F7;
  --ink: #0B1220; --ink-2: #4B5566; --ink-3: #7B8494;
  --line: rgba(11,18,32,.12); --line-2: rgba(11,18,32,.07);
  --accent: #105898; --accent-hover: #0C467A; --accent-2: #2C7FBF; --accent-tint: #E4EEF8; --teal: #3C72A2; --gold: #CDB487; --on-accent: #FFFFFF;
  --navy: #070B18; --navy-2: #0B1226; --porcelain: #F4F1EC; --mist: #B9BFCC;
  --indA: #B8651B; --indA-tint: #F6E3D2; --indB: #4F52C9; --indB-tint: #E1E2FB;
  --ok: #0E6B45; --ok-tint: #DDF3E8; --warn: #B7791F;
  --studio-bg: #F3F4F6; --studio-ink: #0B1220;
  --font-head: 'Geist', system-ui, -apple-system, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(.22,.61,.36,1); --ease-out: cubic-bezier(.16,1,.3,1); --ease-in-out: cubic-bezier(.65,0,.35,1);
  --t-ui: 220ms; --t-fade: 700ms;
  --gutter: 16px; --max: 1440px; --nav-h: 68px;
  --shadow: 0 18px 50px rgba(11,18,32,.08); --shadow-2: 0 10px 30px rgba(11,18,32,.10);
  --fg: var(--ink); --fg-2: var(--ink-2);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--font-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; transition: background-color 700ms var(--ease), color 700ms var(--ease); }
html[data-world="navy"] body { background: var(--navy); color: var(--porcelain); --fg: var(--porcelain); --fg-2: var(--mist); --line: rgba(244,241,236,.14); --line-2: rgba(244,241,236,.07); }
img, canvas, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.case { text-transform: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.sr-only:focus-visible { position: fixed !important; top: 12px; left: 12px; z-index: 200; width: auto; height: auto; clip: auto; padding: 14px 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; outline-offset: 2px; }
::selection { background: rgba(16,88,152,.18); }

/* ------------------------------------------------------------ view transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: cubic-bezier(.22,.61,.36,1); }
::view-transition-old(hero-bag), ::view-transition-new(hero-bag) { animation-duration: 520ms; }
.opener .stage__inner { view-transition-name: hero-bag; }
html.is-leaving body { opacity: 0; transition: opacity 220ms var(--ease); }
html.is-entering body { animation: page-in 420ms var(--ease) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------ type */
.eyebrow { font: 500 11px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
html[data-world="navy"] .eyebrow, .navy .eyebrow { color: #8FC3E8; }
.h-display { font-family: var(--font-head); font-weight: 760; letter-spacing: -.035em; line-height: .95; margin: 0; text-wrap: balance; font-size: clamp(40px, 7.4vw, 112px); }
.h-1 { font-family: var(--font-head); font-weight: 740; letter-spacing: -.03em; line-height: 1; margin: 0; font-size: clamp(34px, 5vw, 72px); text-wrap: balance; }
.h-2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; margin: 0; font-size: clamp(26px, 3.1vw, 44px); text-wrap: balance; }
.h-3 { font-family: var(--font-head); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; margin: 0; font-size: clamp(19px, 1.6vw, 24px); }
.accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 1.06em; color: var(--accent); }
html[data-world="navy"] .accent, .navy .accent { color: #8FC3E8; }
.measure { max-width: 62ch; }
.lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--fg-2); }
.mono { font-family: var(--font-mono); letter-spacing: .08em; }
.label { font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.readout { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: .04em; display: inline-flex; align-items: baseline; gap: .35em; }
.readout__value { font-size: 1em; color: var(--fg); }
.readout__unit { font-size: .72em; color: var(--fg-2); letter-spacing: .12em; text-transform: uppercase; }
.readout--xl .readout__value { font-size: clamp(34px, 5vw, 72px); font-weight: 500; letter-spacing: -.02em; }
.readout--lg .readout__value { font-size: clamp(22px, 2.6vw, 36px); }
.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ components */
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .6em .95em; border: 1.5px solid var(--accent); border-radius: 999px; font: 600 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: #fff; white-space: nowrap; }
.chip.is-active, .chip--fill { background: var(--accent); color: var(--on-accent); }
@media (max-width: 720px) { .chip { white-space: normal; line-height: 1.35; max-width: 100%; text-align: center; } }
html[data-world="navy"] .chip, .navy .chip { background: rgba(7,11,24,.5); border-color: #8FC3E8; color: #fff; backdrop-filter: blur(10px); }
.chip--gold { border-color: var(--gold); color: #8A6B2E; }
.glass { background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: var(--shadow); }
html[data-world="navy"] .glass, .navy .glass { background: rgba(11,18,38,.62); border-color: rgba(244,241,236,.14); color: var(--porcelain); }
.badge { display: inline-flex; align-items: center; gap: .5em; padding: .5em .85em; border-radius: 6px; font: 600 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); }
.badge--indA { color: var(--indA); border-color: transparent; background: var(--indA-tint); }
.badge--indB { color: var(--indB); border-color: transparent; background: var(--indB-tint); }
.badge--ok { color: var(--ok); border-color: transparent; background: var(--ok-tint); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 0 1.5em; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--accent); font: 600 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: #fff; transition: transform var(--t-ui) var(--ease), background var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ghost { background: transparent; }
html[data-world="navy"] .btn--ghost, .navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.btn--sm { min-height: 38px; padding: 0 1.1em; font-size: 11px; }
.btn--lg { min-height: 58px; padding: 0 2em; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.seg { display: inline-flex; padding: 4px; border: 1.5px solid var(--line); border-radius: 999px; gap: 2px; background: #fff; position: relative; }
.seg__opt { padding: .75em 1.15em; border-radius: 999px; font: 600 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); transition: color var(--t-ui) var(--ease), background var(--t-ui) var(--ease); min-height: 42px; }
.seg__opt:hover { color: var(--ink); }
.seg__opt[aria-pressed="true"], .seg__opt[aria-checked="true"] { background: var(--accent); color: var(--on-accent); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: .9em 0; border-top: 1px solid var(--line-2); vertical-align: top; }
.spec-table th { font: 500 11px/1.5 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); width: 34%; padding-right: 1.2em; }
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: 1px solid var(--line-2); }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.status { display: inline-flex; align-items: center; gap: .6em; font: 600 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fg-2); }
.status.is-ok::before { background: #2BC27E; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,194,126,.5); } 70% { box-shadow: 0 0 0 10px rgba(43,194,126,0); } 100% { box-shadow: 0 0 0 0 rgba(43,194,126,0); } }
.gauge { position: relative; height: 5px; background: var(--line-2); border-radius: 3px; overflow: visible; }
.gauge__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); border-radius: 3px; transition: width 120ms linear; }
.gauge__mark { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); }
.gauge__mark > span { position: absolute; top: -20px; left: 0; transform: translateX(-50%); white-space: nowrap; font: 600 10px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
html[data-world="navy"] .gauge__fill, .navy .gauge__fill { background: #8FC3E8; }
html[data-world="navy"] .gauge__mark, .navy .gauge__mark { background: var(--porcelain); }
.gauge--indA .gauge__fill { background: var(--indA); } .gauge--indB .gauge__fill { background: var(--indB); }

/* ------------------------------------------------------------ layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { position: relative; padding: clamp(72px, 10vh, 140px) 0; }
.section--tight { padding: clamp(44px, 6vh, 88px) 0; }
.section--tint { background: var(--bg-2); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.col-6, .col-4, .col-8, .col-5, .col-7, .col-3 { grid-column: span 12; }
@media (min-width: 900px) { .col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-8 { grid-column: span 8; } .col-5 { grid-column: span 5; } .col-7 { grid-column: span 7; } .col-3 { grid-column: span 3; } }
.stack > * + * { margin-top: var(--stack, 1.2rem); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------ shell: top nav */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line-2); transition: background 700ms var(--ease), border-color 700ms var(--ease); }
body { padding-top: var(--nav-h); } /* the nav is injected by shell.js after the first paint: its space is reserved here so nothing shifts */
html.is-solo body { padding-top: 0; }

/* ---- contact strip above the nav (desktop and tablet): phone, mobile, e-mail, LinkedIn */
:root { --strip-h: 30px; }
.topstrip { position: fixed; top: 0; left: 0; right: 0; z-index: 61; height: var(--strip-h); display: none; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); background: var(--navy); color: #DCE6F2; font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; }
.topstrip a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topstrip a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topstrip__left, .topstrip__right { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topstrip svg { width: 12px; height: 12px; flex: 0 0 auto; }
@media (min-width: 720px) { .topstrip { display: flex; } .topbar { top: var(--strip-h); } body { padding-top: calc(var(--nav-h) + var(--strip-h)); } .mobile-nav { inset: calc(var(--nav-h) + var(--strip-h)) 0 0 0; } }
html.is-solo .topstrip { display: none; }
@media print { .topstrip { display: none !important; } }
html[data-world="navy"] .topbar { background: rgba(7,11,24,.72); border-color: rgba(244,241,236,.1); }
.topbar__brand { display: block; flex: 0 0 auto; line-height: 0; }
.topbar__logo { height: 40px; width: auto; max-width: none; }
.topbar__logo--navy { display: none; }
html[data-world="navy"] .topbar__logo--light { display: none; }
html[data-world="navy"] .topbar__logo--navy { display: block; }
.topbar__nav { display: none; align-items: center; gap: 10px; margin-left: 36px; margin-right: auto; flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; }
.topbar__nav a { white-space: nowrap; }
.topbar__right { flex: 0 0 auto; gap: 10px; }
/* ≥ 1280: full size · 1024–1279: smaller type, the call to action stays · 720–1023: smaller still, the call to action folds into the Contact link */
@media (max-width: 1279px) { .topbar__nav { gap: 4px; margin-left: 22px; } .topbar__nav a { font-size: 11px; letter-spacing: .08em; padding: 10px 7px; } .topbar__cta { padding-left: 14px; padding-right: 14px; } }
@media (max-width: 1179px) { .topbar__cta { display: none !important; } }
@media (max-width: 1023px) { .topbar__logo { height: 34px; } .topbar__nav { gap: 2px; margin-left: 16px; } .topbar__nav a { font-size: 10px; letter-spacing: .05em; padding: 10px 6px; } }
/* the links sit right after the logo (left group); the CTA and controls are pushed to the far right */
@media (min-width: 720px) { .topbar__nav { display: flex; } }
.topbar__nav a { position: relative; font: 600 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); padding: 10px 10px; transition: color var(--t-ui); }
.topbar__nav a:hover, .topbar__nav a[aria-current="page"] { color: var(--accent); }
html[data-world="navy"] .topbar__nav a:hover, html[data-world="navy"] .topbar__nav a[aria-current="page"] { color: #fff; }
.topbar__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
html[data-world="navy"] .topbar__nav a[aria-current="page"]::after { background: #8FC3E8; }
.topbar__right { display: flex; align-items: center; gap: 10px; }
.topbar__cta { display: none; } @media (min-width: 720px) { .topbar__cta { display: inline-flex; } }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-grid; place-items: center; color: var(--fg); background: #fff; transition: border-color var(--t-ui), transform var(--t-ui); }
html[data-world="navy"] .icon-btn { background: rgba(11,18,38,.5); color: #fff; border-color: rgba(244,241,236,.2); }
.icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.icon-btn svg { width: 16px; height: 16px; }
.sound-toggle .wave { transition: transform 300ms var(--ease); transform-origin: 50% 50%; }
.sound-toggle[aria-pressed="false"] .wave { transform: scaleY(.25); }
html.is-muted .sound-toggle { display: none; }
.menu-btn { display: inline-grid; } @media (min-width: 720px) { .menu-btn { display: none; } }
.mobile-nav { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 59; background: #fff; padding: 24px var(--gutter); display: none; flex-direction: column; gap: 6px; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { font: 600 15px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 16px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.progress-rail { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 61; pointer-events: none; }
.progress-rail__fill { height: 100%; width: 0; background: var(--accent); transition: width 80ms linear; }

/* ------------------------------------------------------------ chapters (pinned canvases) */
.chapter { position: relative; height: calc(var(--pin, 5) * 100vh); }
.chapter.is-static { height: 160vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg-2); isolation: isolate; }
.chapter.navy .stage { background: var(--navy); color: var(--porcelain); --fg: var(--porcelain); --fg-2: var(--mist); --line: rgba(244,241,236,.14); --line-2: rgba(244,241,236,.07); }
.stage__inner { position: absolute; inset: 0; will-change: transform; }
canvas.film { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-lcp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 400ms var(--ease); }
.film-lcp.is-hidden { opacity: 0; pointer-events: none; }
.film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 900ms var(--ease); }
.film-poster--end { opacity: 0; }
.stage__vignette { position: absolute; inset: 0; pointer-events: none; }
.chapter.navy .stage__vignette { background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(7,11,24,.75) 100%), linear-gradient(to top, rgba(7,11,24,.65), transparent 32%), linear-gradient(to right, rgba(7,11,24,.7) 0%, rgba(7,11,24,.3) 36%, transparent 60%); }
.chapter.light .stage__vignette { background: linear-gradient(to right, rgba(246,248,251,.94) 0%, rgba(246,248,251,.62) 30%, transparent 56%), linear-gradient(to top, rgba(246,248,251,.9), transparent 30%); }
@media (max-width: 899px) { .chapter.light .stage__vignette { background: linear-gradient(to top, rgba(246,248,251,.98) 0%, rgba(246,248,251,.94) 42%, rgba(246,248,251,.5) 58%, transparent 72%); } .chapter.navy .stage__vignette { background: linear-gradient(to top, rgba(7,11,24,.97) 0%, rgba(7,11,24,.9) 40%, rgba(7,11,24,.5) 56%, transparent 70%); } }
.hud { position: absolute; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud--tl { top: calc(var(--gutter) + 24px); left: var(--gutter); }
.hud--tr { top: calc(var(--gutter) + 24px); right: var(--gutter); text-align: right; }
.hud--bl { bottom: var(--gutter); left: var(--gutter); }
.hud--br { bottom: var(--gutter); right: var(--gutter); text-align: right; }
.hud--center { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.hud--headline { left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%); }
@media (min-width: 900px) { .hud--headline { right: auto; width: min(56vw, 880px); } }
@media (max-width: 899px) { .hud--headline { top: auto; bottom: 72px; transform: none; } .hud--headline .h-display { font-size: clamp(34px, 11vw, 48px); } .hud--headline .lede { font-size: 15px; margin-top: 14px !important; } .hud--headline .chips { margin-top: 18px; } .hud--headline .row { margin-top: 18px !important; gap: 10px; } .hud--headline .row .btn { flex: 1 1 100%; justify-content: center; padding: 15px 18px; font-size: 11px; } .hud--br { display: none; } .stage .scroll-hint { display: none; } }
.chapter .stage .fade { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.chapter .stage .fade.is-in { opacity: 1; transform: none; }
.opener .stage .fade { opacity: 1; transform: none; }
.opener .stage .fade.is-out { opacity: 0; transform: translateY(-12px); }
.chapter.solo-hide, .solo-hide { display: none !important; }
html.is-solo { overflow: hidden; }
html.is-solo .chapter { height: 100vh; }
.scroll-hint { position: absolute; bottom: calc(var(--gutter) + 4px); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 600 10px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); transition: opacity 400ms; }
.scroll-hint i { display: block; width: 2px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: drip 1.8s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips .chip { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.chips.is-in .chip { opacity: 1; transform: none; }

/* ------------------------------------------------------------ 00 loader */
.loader { position: fixed; inset: 0; z-index: 100; background: #fff; display: grid; place-items: center; transition: opacity 900ms var(--ease), visibility 900ms; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { width: min(92vw, 560px); text-align: center; }
.loader__logo { height: clamp(44px, 7vw, 64px); width: auto; max-width: none; margin: 0 auto 48px; opacity: 0; clip-path: inset(0 100% 0 0); transition: opacity 1.4s var(--ease), clip-path 1.6s var(--ease-in-out); }
.loader.is-drawn .loader__logo { opacity: 1; clip-path: inset(0 0 0 0); }
.loader__test { display: grid; gap: 14px; text-align: left; }
.loader__test .label { display: flex; justify-content: space-between; }
.loader__bar { height: 3px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.loader__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); transition: width 160ms linear; }
.loader__result { font: 700 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); transition: color 400ms; }
.loader__result.is-pass { color: var(--ok); }
.loader__gate { margin-top: 44px; display: grid; gap: 14px; justify-items: center; opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.loader.is-pass .loader__gate { opacity: 1; transform: none; }
.loader__gate small { font: 400 12px/1.5 var(--font-mono); letter-spacing: .06em; color: var(--fg-2); }

/* ------------------------------------------------------------ dock / open */
.dock-hud { display: grid; gap: 18px; }
.lock { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--fg-2); transition: color 200ms, border-color 200ms, background 200ms; }
.lock.is-locked { color: #7BE3B1; border-color: rgba(123,227,177,.5); background: rgba(123,227,177,.1); }
.lock svg { width: 14px; height: 14px; }
.hint { font: 400 11px/1.5 var(--font-mono); letter-spacing: .08em; color: var(--fg-2); }
.cycle-counter { display: flex; gap: 8px; align-items: center; }
.cycle-counter i { width: 22px; height: 4px; background: var(--line-2); border-radius: 2px; transition: background 200ms; }
.cycle-counter i.is-on { background: var(--accent); }
.chapter.navy .cycle-counter i.is-on { background: #8FC3E8; }

/* ------------------------------------------------------------ anatomy + lens */
.parts { display: grid; gap: 6px; }
.part { display: flex; gap: 14px; align-items: baseline; font: 600 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); opacity: .35; transition: opacity 300ms, color 300ms; }
.part.is-on { opacity: 1; color: var(--fg); }
.part b { font-weight: 600; color: var(--accent); min-width: 2ch; }
.part span { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 400; }
.lens-stage { position: relative; }
.lens { position: absolute; width: var(--lens-size, 300px); height: var(--lens-size, 300px); border-radius: 50%; left: 0; top: 0; transform: translate(calc(var(--lx, 50vw) - 50%), calc(var(--ly, 50vh) - 50%)); pointer-events: none; box-shadow: 0 0 0 2px var(--accent), 0 20px 60px rgba(11,18,32,.18); overflow: hidden; opacity: 0; transition: opacity 500ms var(--ease); will-change: transform; }
.lens.is-on { opacity: 1; }
.lens canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lens__label { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); white-space: nowrap; }
.lens-readout { position: absolute; left: var(--gutter); bottom: var(--gutter); }
@media (max-width: 820px) { .lens { --lens-size: 200px; } }

/* ------------------------------------------------------------ barrier */
.lrv { display: grid; gap: 10px; width: min(90vw, 520px); }
.lrv__scale { display: flex; justify-content: space-between; font: 600 10px/1 var(--font-mono); letter-spacing: .14em; color: var(--fg-2); }
.clean-strip { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 24px; }
.clean-strip > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font: 600 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.clean-strip b { font-weight: 600; color: var(--fg); letter-spacing: .04em; text-transform: none; }

/* ------------------------------------------------------------ varieties */
.varieties { display: grid; grid-template-columns: 1fr; gap: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 900px) { .varieties { grid-template-columns: 1fr 1fr; } }
.variety { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: 40px; min-height: 70vh; }
.variety--indA { background: linear-gradient(180deg, #FBF3EA, #F6E3D2); color: var(--ink); }
.variety--indB { background: var(--navy); color: var(--porcelain); --fg: var(--porcelain); --fg-2: var(--mist); --line: rgba(244,241,236,.14); --line-2: rgba(244,241,236,.07); }
.variety canvas.film, .variety .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.variety--indA::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(251,243,234,.96) 0%, rgba(251,243,234,.55) 50%, rgba(251,243,234,.25) 100%); pointer-events: none; }
.variety > :not(canvas):not(.film-poster) { position: relative; z-index: 1; }
.variety__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.variety__body { display: grid; align-content: center; gap: 14px; padding: 28px 0; }
.variety__foot { font: 600 11px/1.6 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.autoclave { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.autoclave .readout__value { font-size: clamp(22px, 2.6vw, 34px); }
.dose { display: grid; justify-items: center; gap: 8px; }
.dose svg { width: min(46vw, 240px); height: auto; }
.dose__value { font-family: var(--font-mono); font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; }
.sal { position: relative; width: 100%; aspect-ratio: 16 / 7; max-height: 34vh; }
.sal canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sal__caption { position: absolute; left: 0; bottom: 0; }
.compare .spec-table th:first-child { width: 22%; }
.compare .col-indA { color: var(--indA); } .compare .col-indB { color: var(--indB); }

/* ------------------------------------------------------------ proof */
.bench { display: grid; gap: 0; border-top: 1px solid var(--line); }
.bench__row { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease), transform 600ms var(--ease-out); }
.bench__row.is-in { opacity: 1; transform: none; }
.bench__row.is-head { font: 600 10px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); opacity: 1; transform: none; }
.bench__name { font-weight: 600; letter-spacing: -.01em; }
.bench__std, .bench__crit { font: 400 13px/1.5 var(--font-mono); letter-spacing: .02em; color: var(--fg-2); }
.bench__res { font-family: var(--font-mono); font-size: 13px; }
.bench__res.is-hidden { color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; font-size: 10px; }
@media (max-width: 720px) { .bench__row { grid-template-columns: 1fr 1fr; } .bench__row.is-head { display: none; } .bench__name { grid-column: 1 / -1; } }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ------------------------------------------------------------ object */
model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.hotspot { display: grid; justify-items: center; gap: 6px; pointer-events: none; }
.hotspot i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(16,88,152,.18); }
.hotspot span { font: 600 10px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; background: rgba(255,255,255,.92); padding: 6px 8px; border-radius: 4px; border: 1px solid var(--line); }

/* ------------------------------------------------------------ cards, grids, forms */
.cards { display: grid; gap: 24px; }
@media (min-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
.cards--3 { grid-template-columns: 1fr; } @media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: clamp(24px, 2.8vw, 40px); border-radius: 20px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 18px; align-content: start; transition: transform var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: 0 24px 60px rgba(11,18,32,.12); }
.card__head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.card__img { border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; background: var(--bg-3); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card--link { position: relative; }
.card--link::after { content: "→"; position: absolute; right: 28px; bottom: 24px; font: 500 22px/1 var(--font-head); color: var(--accent); }
.matrix { display: grid; grid-template-columns: auto 1fr 1fr; font: 600 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); border-top: 1px solid var(--line-2); }
.matrix > div { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-2); }
.matrix > div.is-cell { color: var(--accent); }
.apps { display: grid; gap: 16px; }
@media (min-width: 720px) { .apps { grid-template-columns: repeat(3, 1fr); } }
.app { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; min-height: 160px; display: grid; align-content: space-between; gap: 16px; transition: box-shadow 300ms, transform 300ms; overflow: hidden; box-shadow: var(--shadow); }
.app:hover, .app:focus-within { transform: translateY(-2px); }
.app__name { font-weight: 650; letter-spacing: -.015em; font-size: 17px; }
.app__reveal { display: grid; gap: 10px; }
/* the recommendation and the Configure button are the point of the card: always visible, on every device; the card is not a disclosure */
.app__reveal, html.is-touch .app__reveal, .app__body, html.is-touch .app__body { opacity: 1 !important; transform: none !important; max-height: none !important; visibility: visible !important; }
.app__toggle, html.is-touch .app__toggle { display: none !important; }
.app__reco { display: flex; flex-wrap: wrap; gap: 6px; }
.app__reco .chip { font-size: 10px; padding: .45em .7em; }
.docs-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.docs-list > div { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.docs-list .label { white-space: nowrap; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 720px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font: 600 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color var(--t-ui), box-shadow var(--t-ui); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(16,88,152,.15); outline: none; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--accent); }
.field--check label { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--fg-2); font-weight: 400; }
.field--check label a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { font: 600 11px/1.5 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); min-height: 1.5em; }
.form__status.is-ok { color: var(--ok); } .form__status.is-err { color: var(--warn); }
.intents { display: flex; flex-wrap: wrap; gap: 10px; }
.intents .chip { cursor: pointer; min-height: 44px; }

/* ------------------------------------------------------------ footer */
.footer { padding: clamp(56px, 8vh, 100px) 0 40px; border-top: 1px solid var(--line-2); background: var(--bg-2); }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__logo { height: 40px; width: auto; max-width: none; }
.footer a:hover { color: var(--accent); }
.footer small { display: block; margin-top: 40px; font: 400 11px/1.6 var(--font-mono); letter-spacing: .06em; color: var(--fg-2); }

/* ------------------------------------------------------------ reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 800ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reduced-motion .reveal, .reduced-motion .bench__row, .reduced-motion .chips .chip { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .scroll-hint i { animation: none; } .status.is-ok::before { animation: none; } ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ------------------------------------------------------------ noscript / print */
noscript .static { padding: 80px var(--gutter); }
@media print { body { padding-top: 0; } .loader, .topbar, .chat-fab, .chat-panel { display: none !important; } .chapter { height: auto; } .stage { position: static; height: auto; } }
