/* Datum Medical — homepage concept styles */
@font-face { font-family: "Funnel Display"; src: url("assets/fonts/FunnelDisplay.ttf") format("truetype"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("assets/fonts/FunnelSans.ttf") format("truetype"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/JetBrainsMono.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  --clean: #ECEDEA;            /* hero backdrop: the film is composited onto exactly this */
  --card: #F6F6F4;
  --white: #FFFFFF;
  --ink: #0E1015;
  --ink-2: #2A2E36;
  --muted: #5A606A;
  --faint: #8D929A;
  --line: rgba(14, 16, 21, .1);
  --line-2: rgba(14, 16, 21, .16);
  --indigo: #3A2EDB;
  --indigo-2: #5A4FF2;
  --indigo-soft: #E2E0FA;
  --pass: #11A566;
  --flag: #E5484D;
  --night: #0B0C11;
  --night-2: #14151C;
  --night-3: #1C1E27;
  --night-line: rgba(255, 255, 255, .09);
  --on-night: #EDEDF2;
  --on-night-muted: #9496A4;
  --r: 22px;
  --r-sm: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: "Funnel Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "Funnel Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--clean); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; line-height: 1.02; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
svg { overflow: visible; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--indigo); color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------------- shared ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .dot { width: 7px; height: 7px; background: var(--indigo); border-radius: 2px; transform: rotate(45deg); }
.eyebrow.light { color: var(--on-night-muted); }
.eyebrow.light .dot { background: var(--indigo-2); }
.sec-title { font-size: clamp(36px, 4.8vw, 72px); max-width: 17ch; margin-top: 18px; text-wrap: balance; }
.sec-title.light { color: #fff; }
.sec-sub { margin-top: 18px; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 46ch; }
.sec-sub.light { color: var(--on-night-muted); }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 24px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 560; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sweep, var(--ink-2)); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate .45s var(--ease); }
.btn:hover svg { translate: 4px 0; }
.btn > span { position: relative; }
.btn-indigo { --bg: var(--indigo); --sweep: #2A1FC2; box-shadow: 0 12px 30px -14px rgba(58, 46, 219, .8); }
.btn-ink { --bg: var(--ink); --sweep: #262A33; }
.btn-ghost { --bg: rgba(255, 255, 255, .6); --fg: var(--ink); --sweep: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; padding: 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2);
}

/* ---------------- nav ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease), translate .6s var(--ease);
}
.nav.is-solid { background: rgba(236, 237, 234, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.is-dark { color: #fff; }
.nav.is-dark.is-solid { background: rgba(11, 12, 17, .72); box-shadow: 0 1px 0 var(--night-line); }
.nav.is-dark .btn-ghost { --bg: rgba(255, 255, 255, .08); --fg: #fff; --sweep: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.nav.is-hidden { translate: 0 -100%; }
.brand { display: flex; align-items: center; gap: 10px; }
.mark { width: 30px; height: 30px; display: grid; place-items: center; }
.mark svg { width: 30px; height: 30px; }
.mark rect { fill: none; stroke: currentColor; stroke-width: 2; }
.mark text { font: 700 10.5px var(--display); fill: currentColor; text-anchor: middle; }
.mark .stem { stroke: currentColor; stroke-width: 2; }
.mark .tri { fill: var(--indigo); }
.nav.is-dark .mark .tri { fill: var(--indigo-2); }
.word { font-family: var(--display); font-weight: 620; font-size: 21px; letter-spacing: -0.035em; display: flex; align-items: baseline; gap: 6px; }
.word small { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 500; border-radius: 999px; transition: background .3s; }
.nav-links a:hover { background: rgba(14, 16, 21, .06); }
.nav.is-dark .nav-links a:hover { background: rgba(255, 255, 255, .1); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--indigo); }
.nav-right { display: flex; gap: 8px; margin-left: 12px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--night); color: #fff; padding: 100px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav a { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-size: clamp(38px, 11vw, 64px); font-weight: 520; letter-spacing: -0.04em; line-height: 1.15; }
.menu nav small { font-family: var(--mono); font-size: 12px; color: var(--on-night-muted); letter-spacing: 0; }

/* ---------------- 1. hero story ---------------- */
.story { position: relative; background: var(--clean); }
.story-pin {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 24px;
  padding: 92px var(--gutter) 96px;
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px; opacity: .55;
  mask-image: radial-gradient(34% 48% at 71% 52%, transparent 62%, #000 100%), linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(34% 48% at 71% 52%, transparent 62%, #000 100%), linear-gradient(180deg, #000 30%, transparent 100%);
  mask-composite: intersect; -webkit-mask-composite: source-in;
}
.story-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4.4vh, 44px); max-width: 620px; }
.hero-block .eyebrow { margin-bottom: 22px; }
.hero-title { font-size: clamp(44px, min(5.3vw, 8.6vh), 84px); font-weight: 560; letter-spacing: -0.045em; line-height: .98; max-width: 12ch; }
.hero-sub { margin-top: clamp(14px, 2.6vh, 24px); font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 40ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 3.2vh, 30px); }

.stage-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start;
  padding: 22px 24px; border-radius: var(--r); background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 20px 50px -30px rgba(14, 16, 21, .35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.stage-num { font-family: var(--display); font-weight: 520; font-size: 40px; letter-spacing: -0.04em; line-height: 1; color: var(--indigo); display: flex; align-items: baseline; }
.stage-num i { font-style: normal; font-size: 14px; font-family: var(--mono); color: var(--faint); letter-spacing: 0; margin-left: 2px; }
.stage-swap { display: grid; }
.stage { grid-area: 1 / 1; visibility: hidden; }
.stage.is-on { visibility: visible; }
.stage h2 { font-size: 26px; letter-spacing: -0.03em; }
.stage p { margin: 8px 0 14px; color: var(--muted); font-size: 16px; max-width: 44ch; }

.film-wrap { position: relative; z-index: 1; display: grid; place-items: center; min-height: 0; }
.film {
  position: relative; aspect-ratio: 1; width: min(100%, calc(100svh - 170px)); max-width: 820px;
  translate: 0 0; will-change: transform;
}
.film-poster, .film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.film-poster { opacity: 0; transition: opacity .6s var(--ease); }
.film-poster, .film-video {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect;
}
.film.show-poster .film-poster { opacity: 1; }
.film-video { opacity: 0; transition: opacity .5s var(--ease); }
.film.is-ready .film-video { opacity: 1; }
.crop { position: absolute; width: 18px; height: 18px; border: 0 solid var(--ink); opacity: .35; }
.crop.tl { left: 2%; top: 2%; border-left-width: 1.5px; border-top-width: 1.5px; }
.crop.tr { right: 2%; top: 2%; border-right-width: 1.5px; border-top-width: 1.5px; }
.crop.bl { left: 2%; bottom: 2%; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.crop.br { right: 2%; bottom: 2%; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hud { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.hud-top { left: calc(2% + 28px); top: calc(2% + 2px); right: calc(2% + 28px); justify-content: space-between; }
.hud-scan { width: 90px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.hud-scan i { display: block; height: 100%; width: 100%; background: var(--indigo); transform-origin: 0 50%; transform: scaleX(0); }

/* callouts that follow the 3D anchors */
.callouts { position: absolute; inset: 0; pointer-events: none; }
.co { position: absolute; left: 0; top: 0; width: 0; height: 0; --len: 64px; --ang: -40deg; opacity: 0; transition: opacity .35s var(--ease); }
.co.is-on { opacity: 1; }
.co .pt { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--c, var(--indigo)), 0 0 0 7px color-mix(in srgb, var(--c, var(--indigo)) 18%, transparent); }
.co .ln { position: absolute; left: 0; top: 0; height: 1.5px; width: var(--len); background: var(--c, var(--indigo)); transform-origin: 0 50%; transform: rotate(var(--ang)) scaleX(0); transition: transform .45s var(--ease); }
.co.is-on .ln { transform: rotate(var(--ang)) scaleX(1); }
.co .tag {
  position: absolute; left: calc(cos(var(--ang)) * var(--len)); top: calc(sin(var(--ang)) * var(--len));
  translate: var(--tx, 0) -50%; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 11px 7px 9px; border-radius: 10px; background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(14, 16, 21, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 11.5px; color: var(--ink); letter-spacing: .01em;
  clip-path: inset(0 100% 0 0 round 10px); transition: clip-path .5s .15s var(--ease);
}
.co.left .tag { --tx: -100%; clip-path: inset(0 0 0 100% round 10px); }
.co.is-on .tag { clip-path: inset(0 0 0 0 round 10px); }
.co .tag b { font-weight: 600; font-size: 10px; letter-spacing: .06em; padding: 3px 6px; border-radius: 5px; color: #fff; background: var(--c, var(--indigo)); transition: background .4s; }
.co.flag { --c: var(--flag); }
.co.pass { --c: var(--pass); }
.co.dark .tag { background: rgba(14, 16, 21, .86); color: #fff; box-shadow: none; }

.rail {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; z-index: 3;
  display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1.5px solid var(--line-2);
}
.rail li { position: relative; }
.rail button {
  width: 100%; text-align: left; padding: 14px 8px 0 0; font-size: 14px; font-weight: 500; color: var(--faint);
  display: flex; gap: 10px; align-items: baseline; transition: color .35s var(--ease);
}
.rail b { font-family: var(--mono); font-weight: 500; font-size: 11px; }
.rail li.is-on button, .rail li.is-done button { color: var(--ink); }
.rail li.is-on b { color: var(--indigo); }
.rail button:hover { color: var(--ink); }
.rail-fill { position: absolute; left: 0; top: -1.5px; height: 1.5px; width: 100%; background: var(--indigo); transform-origin: 0 50%; transform: scaleX(0); }
.cue {
  position: absolute; right: var(--gutter); bottom: 74px; z-index: 3; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.cue svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 50% { translate: 0 4px; } }

/* ---------------- 2. proof ---------------- */
.proof { padding: clamp(80px, 11vw, 150px) 0 0; background: var(--clean); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.proof-lead { font-family: var(--display); font-size: clamp(30px, 3.4vw, 50px); font-weight: 480; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.stats li { border-top: 1px solid var(--line-2); padding-top: 16px; }
.stats b { display: block; font-family: var(--display); font-size: clamp(40px, 4.2vw, 60px); font-weight: 520; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.certs { margin-top: clamp(64px, 8vw, 110px); border-block: 1px solid var(--line); overflow: hidden; background: var(--card); }
.certs-track { display: flex; width: max-content; }
.certs-track span { display: inline-flex; align-items: center; gap: 12px; padding: 22px 36px; white-space: nowrap; font-size: 15px; color: var(--muted); border-right: 1px solid var(--line); }
.certs-track i { font-style: normal; font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--ink); padding: 6px 10px; border-radius: 8px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------------- 3. services ---------------- */
.services { position: relative; padding: clamp(90px, 11vw, 160px) 0; background: var(--clean); }
.stage-filter { display: grid; gap: 12px; justify-items: start; }
.stage-filter > p:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.seg button { position: relative; z-index: 1; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 520; color: var(--muted); transition: color .35s var(--ease); }
.seg button.is-on { color: #fff; }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--ink); }
.filter-note { font-size: 14.5px; color: var(--muted); min-height: 1.5em; }
.filter-note b { color: var(--ink); font-weight: 600; }

.svc-list { border-top: 1px solid var(--line-2); }
.svc-group { display: flex; gap: 6px; padding: 34px 0 12px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); border-bottom: 1px solid var(--line); }
.svc-group b { color: var(--indigo); font-weight: 600; }
.svc { border-bottom: 1px solid var(--line); }
.svc > summary, .svc > .more { transition: opacity .45s var(--ease); }
.svc.is-dim > summary, .svc.is-dim > .more { opacity: .28; }
.svc summary {
  list-style: none; cursor: pointer; position: relative;
  display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.05fr) 78px 36px; gap: 20px; align-items: center;
  min-height: 78px; padding: 12px 0;
}
.svc summary::-webkit-details-marker { display: none; }
.svc summary::before { content: ""; position: absolute; inset: 0 calc(-1 * min(var(--gutter), 24px)); background: var(--white); border-radius: 16px; opacity: 0; transition: opacity .35s var(--ease); z-index: -1; }
.svc { position: relative; isolation: isolate; }
.svc summary:hover::before, .svc[open] summary::before { opacity: 1; }
.svc .n { font-family: var(--mono); font-size: 12px; color: var(--faint); transition: color .3s; }
.svc .t { font-family: var(--display); font-size: clamp(21px, 2vw, 28px); font-weight: 520; letter-spacing: -0.03em; line-height: 1.1; transition: translate .5s var(--ease); }
.svc .d { font-size: 15px; color: var(--muted); line-height: 1.4; }
.svc summary:hover .t { translate: 8px 0; }
.svc summary:hover .n, .svc[open] .n { color: var(--indigo); }
.stg { display: flex; gap: 5px; justify-content: flex-end; }
.stg i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); position: relative; }
.stg i.on { background: var(--indigo); box-shadow: none; }
.svc.is-match .stg i.hit { box-shadow: 0 0 0 3px var(--indigo-soft); }
.pm { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .5s var(--ease), background .3s, color .3s; }
.pm svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.svc[open] .pm { transform: rotate(45deg); background: var(--ink); color: #fff; box-shadow: none; }
.svc .more { overflow: hidden; }
.svc .more > div { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.05fr) 134px; gap: 20px; padding: 4px 0 26px; }
.svc .more ul { grid-column: 3; display: grid; gap: 8px; }
.svc .more li { position: relative; padding-left: 22px; font-size: 15.5px; }
.svc .more li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1.5px; background: var(--indigo); }
.svc .more img { grid-column: 2; grid-row: 1; width: 100%; max-width: 340px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.svc-preview { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 16 / 10; pointer-events: none; opacity: 0; }
.pv-in { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(14, 16, 21, .5); background: var(--card); }
.pv-in img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- 4. fixes ---------------- */
.fixes { padding: clamp(90px, 11vw, 150px) 0; background: var(--white); }
.fix-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fix { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r); background: var(--clean); }
.fix header { display: flex; gap: 16px; align-items: baseline; }
.fix-n { font-family: var(--mono); font-size: 12px; color: var(--indigo); }
.fix h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 520; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.fix-viz { border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 10px; }
.viz { width: 100%; height: auto; display: block; }
.fix-how { font-size: 16px; color: var(--muted); max-width: 52ch; }
.fix-how b { color: var(--ink); font-weight: 600; }

.dfm-grid path { stroke: var(--line); stroke-width: 1; }
.dfm-part { fill: var(--indigo-soft); stroke: var(--indigo); stroke-width: 2; stroke-linejoin: round; }
.dfm-flag circle { fill: var(--flag); }
.dfm-flag text { fill: #fff; font: 700 11px var(--mono); text-anchor: middle; }
.dfm-flag.ok circle { fill: var(--pass); }
.dfm-tags text { font: 600 11px var(--mono); letter-spacing: .06em; fill: var(--flag); }
.dfm-tags text.ok { fill: var(--pass); }

.trace-line { stroke: var(--line-2); stroke-width: 2; fill: none; }
.trace-pulse { stroke: var(--indigo); stroke-width: 2.5; fill: none; stroke-dasharray: 260; stroke-dashoffset: 260; }
.trace-node circle { fill: var(--white); stroke: var(--line-2); stroke-width: 2; transition: fill .3s, stroke .3s; }
.trace-node.on circle { fill: var(--indigo); stroke: var(--indigo); }
.trace-node text { font: 500 10.5px var(--mono); fill: var(--muted); text-anchor: middle; }
.trace-lot { font: 600 12px var(--mono); letter-spacing: .06em; fill: var(--ink); }

.scale-axis { stroke: var(--line-2); stroke-width: 1.5; }
.scale-bars rect { fill: var(--indigo-soft); }
.scale-bars rect.hot { fill: var(--indigo); }
.scale-cap { fill: none; stroke: var(--pass); stroke-width: 2; stroke-dasharray: 5 4; }
.scale-label { font: 600 11px var(--mono); letter-spacing: .06em; fill: var(--ink); }

.nda-doc { fill: var(--white); stroke: var(--line-2); stroke-width: 1.5; }
.nda-lines path { stroke: var(--line-2); stroke-width: 6; stroke-linecap: round; }
.nda-bars rect { fill: var(--ink); transform-box: fill-box; transform-origin: 0 50%; }
.nda-lock circle { fill: var(--indigo); }
.nda-lock rect { fill: #fff; }
.nda-lock .shackle { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }

/* ---------------- 5. quality (dark) ---------------- */
.quality { position: relative; padding: clamp(90px, 11vw, 160px) 0; background: var(--night); color: var(--on-night); overflow: hidden; }
.quality::before { content: ""; position: absolute; inset: -20% -10% auto; height: 80%; background: radial-gradient(50% 50% at 40% 40%, rgba(90, 79, 242, .22), transparent 70%); pointer-events: none; }
.quality .eyebrow { color: var(--on-night-muted); }
.quality .eyebrow .dot { background: var(--indigo-2); }
.quality .sec-title { color: #fff; }
.quality .sec-sub { color: var(--on-night-muted); }
.trace-stage { position: relative; display: grid; gap: clamp(12px, 2vw, 24px); }
.dhr-visual { position: relative; margin-inline: calc(-1 * min(var(--gutter), 40px)); }
.dhr-inner { position: relative; }
.dhr-img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.dhr-dots { position: absolute; inset: 0; }
.dhr-dot {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
}
.dhr-dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); animation: pulse 2.4s var(--ease) infinite; }
.dhr-dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(90, 79, 242, .55); transition: transform .35s var(--ease), background .3s; }
.dhr-dot:hover::after, .dhr-dot.is-on::after { background: var(--indigo-2); box-shadow: 0 0 0 4px #fff; transform: scale(1.15); }
.dhr-dot span { position: absolute; bottom: calc(100% + 4px); left: 50%; translate: -50% 0; white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--on-night-muted); opacity: 0; transition: opacity .3s; }
.dhr-dot:hover span, .dhr-dot.is-on span { opacity: 1; color: #fff; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.dhr-card {
  position: relative; background: #F5F5F1; color: var(--ink); border-radius: 18px; padding: 22px 24px 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); font-family: var(--mono); overflow: hidden;
  display: grid; grid-template-columns: minmax(200px, .55fr) minmax(0, 2fr); column-gap: clamp(20px, 3vw, 40px); align-items: start;
}
.dhr-top { grid-column: 1 / -1; }
.dhr-card h3 { grid-column: 1; grid-row: 2; }
.dhr-card dl { grid-column: 2; grid-row: 2 / span 2; }
.dhr-card dl { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; margin-top: 14px; }
.dhr-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: radial-gradient(circle at 6px 8px, var(--night) 5px, transparent 5.5px) 0 0 / 12px 8px repeat-x; }
.dhr-top { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); }
.dhr-card h3 { font-family: var(--display); font-size: 30px; margin: 16px 0 12px; }
.dhr-card dl { display: grid; gap: 0; }
.dhr-hint { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-muted); }
.dhr-card dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.dhr-card dt { color: var(--faint); }
.dhr-card dd { color: var(--ink); }
.dhr-card dd.ok { color: var(--pass); font-weight: 600; }
.dhr-stamp {
  grid-column: 1; grid-row: 3; justify-self: start; align-self: start; margin-top: 4px; padding: 6px 12px; border: 2.5px solid var(--pass); border-radius: 8px;
  color: var(--pass); font-weight: 700; font-size: 18px; letter-spacing: .12em; rotate: -12deg; opacity: .9;
}
.q-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); margin-top: clamp(64px, 8vw, 110px); }
.q-block h3 { font-size: 22px; font-weight: 520; color: #fff; margin-bottom: 20px; }
.docs { display: grid; }
.docs li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--night-line); }
.docs svg { width: 22px; height: 22px; fill: none; stroke: var(--indigo-2); stroke-width: 1.6; stroke-linejoin: round; margin-top: 2px; }
.docs b { display: block; font-weight: 560; color: #fff; }
.docs span { font-size: 15px; color: var(--on-night-muted); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checks li { padding: 16px; border-radius: 14px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.checks b { display: block; font-family: var(--display); font-size: 20px; font-weight: 540; color: #fff; letter-spacing: -0.02em; }
.checks span { font-size: 14px; color: var(--on-night-muted); }
.cc-title { margin-top: 40px; }
.cc { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 13.5px; color: var(--on-night-muted); }
.cc li { position: relative; z-index: 1; display: grid; justify-items: start; gap: 10px; }
.cc i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; background: var(--night); box-shadow: inset 0 0 0 1.5px var(--night-line); color: #fff; transition: background .4s, box-shadow .4s; }
.cc li.on i { background: var(--indigo); box-shadow: none; }
.cc li.you { color: #fff; font-weight: 600; }
.cc li.you i { box-shadow: inset 0 0 0 1.5px var(--indigo-2); }
.cc-line { position: absolute; left: 15px; right: 15%; top: 14px; height: 2px; background: var(--indigo); transform-origin: 0 50%; transform: scaleX(0); }
.cc::before { content: ""; position: absolute; left: 15px; right: 15%; top: 14px; height: 2px; background: var(--night-line); }

/* ---------------- 6. capabilities ---------------- */
.caps { padding: clamp(90px, 11vw, 160px) 0; background: var(--clean); }
.tabs { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.tabs button { position: relative; z-index: 1; padding: 11px 20px; border-radius: 999px; font-weight: 540; font-size: 15px; color: var(--muted); transition: color .35s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tab-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--indigo); z-index: 0; }
.tab-panels { display: grid; }
.panel { grid-area: 1 / 1; visibility: hidden; }
.panel.is-on { visibility: visible; }
.devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.devices li { display: grid; gap: 6px; padding: 26px; border-radius: var(--r); background: var(--white); min-height: 200px; align-content: start; transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.devices li:hover { translate: 0 -4px; box-shadow: 0 24px 50px -30px rgba(14, 16, 21, .4); }
.devices svg { width: 48px; height: 48px; fill: none; stroke: var(--indigo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.devices b { font-family: var(--display); font-size: 24px; font-weight: 540; letter-spacing: -0.025em; }
.devices span { color: var(--muted); font-size: 15px; }
.procs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.procs li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line-2); }
.procs b { font-family: var(--display); font-size: 20px; font-weight: 520; letter-spacing: -0.02em; }
.procs span { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }
.mat-hint { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.mats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.mats li {
  --k: var(--indigo);
  position: relative; aspect-ratio: 1 / 1.05; padding: 14px; border-radius: 16px; background: var(--white); cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); transition: translate .45s var(--ease), box-shadow .45s var(--ease), background .35s;
}
.mats li[data-k="elast"] { --k: #0E9F9A; }
.mats li[data-k="metal"] { --k: #6B7280; }
.mats li::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--k); }
.mats i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.mats b { font-family: var(--display); font-size: clamp(26px, 2.6vw, 40px); font-weight: 540; letter-spacing: -0.04em; line-height: 1; }
.mats span { font-size: 12.5px; color: var(--muted); line-height: 1.25; }
.mats li:hover, .mats li.is-on { translate: 0 -4px; box-shadow: inset 0 0 0 2px var(--k), 0 20px 40px -24px rgba(14, 16, 21, .4); }
.mat-legend { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.mat-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.k-poly { background: var(--indigo); } .k-elast { background: #0E9F9A; } .k-metal { background: #6B7280; }
.sterile { margin-left: auto; display: inline-flex; gap: 6px; }
.sterile b { font-family: var(--mono); font-size: 11.5px; font-weight: 600; padding: 7px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--faint); transition: background .3s, color .3s, box-shadow .3s; }
.sterile b.on { background: var(--pass); color: #fff; box-shadow: none; }
.sterile b.off { text-decoration: line-through; }

/* ---------------- 7. facility ---------------- */
.facility { background: var(--clean); }
.fac-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; }
.fac-media { position: absolute; inset: 0; overflow: hidden; clip-path: inset(6% 4% 6% 4% round 28px); will-change: clip-path; }
.fac-media img, .fac-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fac-media video { opacity: 0; transition: opacity 1s var(--ease); }
.fac-media video.is-playing { opacity: 1; }
.fac-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 9, 14, .62) 100%); }
.fac-over { position: absolute; left: 0; right: 0; bottom: clamp(48px, 8vh, 96px); z-index: 2; color: #fff; }
.fac-over .eyebrow { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.fac-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 64px); margin-top: 30px; }
.fac-stats b { display: block; font-family: var(--display); font-size: clamp(34px, 3.4vw, 52px); font-weight: 520; letter-spacing: -0.04em; line-height: 1; }
.fac-stats span { font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.fac-strip { overflow: hidden; padding: clamp(60px, 8vw, 110px) 0 0; }
.fac-track { display: flex; gap: 16px; padding: 0 var(--gutter); width: max-content; }
.fac-track figure { margin: 0; width: clamp(280px, 34vw, 520px); flex: none; }
.fac-track img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.fac-track figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: 14.5px; color: var(--muted); }
.fac-track figcaption b { color: var(--ink); font-weight: 600; }
.scope { padding: clamp(60px, 8vw, 110px) 0 clamp(90px, 11vw, 150px); }
.scope-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r); background: var(--white); }
.scope-seal { position: relative; width: 130px; height: 130px; display: grid; place-items: center; }
.scope-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.scope-seal text { font: 600 9.6px var(--mono); letter-spacing: .14em; fill: var(--indigo); }
.scope-seal b { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.03em; }
@keyframes spin { to { rotate: 360deg; } }
.scope-text { margin-top: 14px; font-family: var(--display); font-size: clamp(20px, 2vw, 28px); font-weight: 460; letter-spacing: -0.02em; line-height: 1.25; max-width: 44ch; }
.scope-meta { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.scope-meta a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- 8. work ---------------- */
.work { padding: clamp(90px, 11vw, 150px) 0; background: var(--white); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { display: grid; gap: 14px; align-content: start; }
.case-img { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--clean); }
.case-img img { width: 100%; height: 100%; object-fit: cover; scale: 1.02; transition: scale 1s var(--ease); }
.case:hover .case-img img { scale: 1.07; }
.case-tag-dark { display: none; }
.case-client { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.redact {
  position: relative; display: inline-block; vertical-align: -3px; height: 1.15em; width: 7.5ch; border-radius: 3px;
  background: var(--ink); cursor: help; overflow: hidden; outline-offset: 2px;
}
.redact::after {
  content: "UNDER NDA"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; color: #fff; opacity: 0; translate: 0 100%;
  transition: translate .35s var(--ease), opacity .35s;
}
.redact:hover::after, .redact:focus-visible::after { opacity: 1; translate: 0 0; }
.case h3 { font-size: clamp(22px, 1.9vw, 27px); font-weight: 520; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.case-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case-tags li { font-family: var(--mono); font-size: 11px; padding: 6px 10px; border-radius: 999px; background: var(--clean); color: var(--ink-2); }

/* ---------------- 9. faq ---------------- */
.faq { padding: clamp(90px, 11vw, 150px) 0; background: var(--clean); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec-head { position: sticky; top: 110px; }
.faq-cta { margin-top: 30px; }
.qa details { border-top: 1px solid var(--line-2); }
.qa details:last-child { border-bottom: 1px solid var(--line-2); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-family: var(--display); font-size: clamp(20px, 1.9vw, 26px); font-weight: 520; letter-spacing: -0.025em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: rotate .5s var(--ease); }
.qa details[open] summary svg { rotate: 45deg; }
.qa .a { overflow: hidden; }
.qa .a p { padding: 0 48px 28px 0; font-size: 17px; color: var(--muted); max-width: 60ch; }

/* ---------------- 10. contact ---------------- */
.contact { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--night); color: var(--on-night); overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -10%; top: 10%; width: 70%; height: 90%; background: radial-gradient(50% 50% at 50% 50%, rgba(90, 79, 242, .28), transparent 70%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-left { position: sticky; top: 110px; }
.label-wrap { position: relative; margin-top: 48px; width: min(100%, 380px); }
.printer { position: relative; z-index: 2; height: 26px; border-radius: 10px 10px 4px 4px; background: linear-gradient(#2A2C36, #1B1D25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 20px -10px rgba(0, 0, 0, .6); }
.printer .slot { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 4px; border-radius: 2px; background: #07080B; }
.prog-label {
  position: relative; z-index: 1; margin: -6px 14px 0; padding: 18px 18px 16px; border-radius: 0 0 10px 10px;
  background: #FAFAF7; color: var(--ink); font-family: var(--mono); font-size: 12px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); transform-origin: 50% 0;
}
.pl-top { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-weight: 700; letter-spacing: .08em; font-size: 11px; }
.prog-label dl div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.prog-label dt { color: var(--faint); text-transform: uppercase; font-size: 10.5px; letter-spacing: .06em; padding-top: 1px; }
.prog-label dd { font-weight: 500; min-height: 1.3em; }
.prog-label dd.flash { animation: flash .6s var(--ease); }
@keyframes flash { from { background: var(--indigo-soft); } to { background: transparent; } }
.pl-foot { display: flex; gap: 14px; align-items: center; padding-top: 12px; }
.pl-foot canvas { width: 76px; height: 76px; image-rendering: pixelated; }
.pl-foot > div { display: grid; gap: 6px; justify-items: start; }
.nda-flag { font-weight: 700; font-size: 11px; letter-spacing: .08em; padding: 5px 8px; border: 2px solid var(--indigo); color: var(--indigo); border-radius: 6px; transition: opacity .3s; }
.nda-flag.off { opacity: .2; text-decoration: line-through; }
.pl-note { font-size: 10.5px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }

.form { position: relative; background: var(--white); color: var(--ink); border-radius: 26px; padding: clamp(20px, 3vw, 40px); display: grid; gap: 26px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); }
.form-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 16px; background: var(--clean); isolation: isolate; }
.form-tabs button { position: relative; z-index: 1; padding: 13px 10px; border-radius: 12px; font-size: 14.5px; font-weight: 560; color: var(--muted); transition: color .35s; text-align: center; line-height: 1.2; }
.form-tabs button[aria-selected="true"] { color: var(--ink); }
.ft-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 12px; background: var(--white); box-shadow: 0 4px 14px -6px rgba(14, 16, 21, .3); z-index: 0; }
.form legend { font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.form legend small { font-weight: 400; color: var(--faint); margin-left: 6px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button {
  padding: 10px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500; background: var(--clean);
  box-shadow: inset 0 0 0 1px transparent; transition: background .3s var(--ease), color .3s, box-shadow .3s, scale .25s var(--ease);
}
.pick button:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.pick button:active { scale: .96; }
.pick button.is-on { background: var(--indigo); color: #fff; }
.pick-sm button { padding: 9px 13px; font-size: 14px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
.vol { display: flex; align-items: center; gap: 14px; height: 42px; }
.vol input { flex: 1; accent-color: var(--indigo); -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--indigo) var(--fill, 45%), var(--clean) var(--fill, 45%)); }
.vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--indigo), 0 4px 10px -2px rgba(58, 46, 219, .5); cursor: grab; }
.vol input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--indigo); cursor: grab; }
.vol output { min-width: 84px; text-align: right; font-family: var(--mono); font-weight: 600; font-size: 14px; }
.upload { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; border: 1.5px dashed var(--line-2); background: var(--card); }
.upload svg { width: 26px; height: 26px; fill: none; stroke: var(--indigo); stroke-width: 1.6; }
.upload b { display: block; font-weight: 600; }
.upload span { font-size: 14px; color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields label { display: grid; gap: 6px; }
.fields .full { grid-column: 1 / -1; }
.fields span { font-size: 13.5px; font-weight: 560; color: var(--muted); }
.fields input { height: 50px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--clean); font: inherit; font-size: 16px; color: var(--ink); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s, background .3s; }
.fields input:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--indigo); }
.fields input.bad { box-shadow: inset 0 0 0 1.5px var(--flag); }
.nda-toggle { display: flex; gap: 14px; align-items: center; cursor: pointer; }
.nda-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.sw { flex: none; position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--line-2); transition: background .35s var(--ease); }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: translate .45s var(--ease); }
.nda-toggle input:checked + .sw { background: var(--indigo); }
.nda-toggle input:checked + .sw::after { translate: 20px 0; }
.nda-toggle input:focus-visible + .sw { outline: 2px solid var(--indigo); outline-offset: 3px; }
.nda-toggle b { display: block; font-weight: 600; }
.nda-toggle small { font-size: 14px; color: var(--muted); }
.form-note { margin-top: -12px; text-align: center; font-size: 12.5px; color: var(--faint); }
.form-done { position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: var(--white); display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px; padding: 40px; }
.form-done[hidden] { display: none; }
.done-check { width: 64px; height: 64px; }
.done-check circle { fill: none; stroke: var(--pass); stroke-width: 2.5; }
.done-check path { fill: none; stroke: var(--pass); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-done h3 { font-size: 30px; }
.form-done p { color: var(--muted); max-width: 36ch; }

/* ---------------- footer ---------------- */
.foot { background: var(--night); color: var(--on-night-muted); padding: 0 0 28px; border-top: 1px solid var(--night-line); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.foot-big { font-family: var(--display); font-size: clamp(72px, 13vw, 200px); font-weight: 560; letter-spacing: -0.06em; line-height: .85; color: #fff; display: flex; align-items: flex-end; gap: 14px; }
.foot-big span { font-family: var(--mono); font-size: clamp(11px, 1vw, 14px); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); padding-bottom: .9em; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-self: end; }
.foot-cols div { display: grid; gap: 8px; align-content: start; font-size: 14.5px; }
.foot-cols b { color: #fff; font-weight: 600; margin-bottom: 6px; }
.foot-cols a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--night-line); font-family: var(--mono); font-size: 11.5px; }

/* ---------------- responsive ---------------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 1023px), (max-aspect-ratio: 4/5) {
  .story-pin { display: block; padding: 0; }
  .story-copy { position: absolute; inset: 0; max-width: none; display: block; pointer-events: none; }
  .story-copy a, .story-copy button { pointer-events: auto; }
  .hero-block { position: absolute; left: var(--gutter); right: var(--gutter); top: 84px; }
  .hero-block .eyebrow { margin-bottom: 14px; }
  .hero-title { font-size: clamp(38px, 10vw, 64px); max-width: 12ch; }
  .hero-sub { display: none; }
  .hero-ctas { margin-top: 20px; }
  .hero-ctas .btn-ghost { display: none; }
  .stage-card { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 84px; padding: 16px 18px; gap: 14px; opacity: 0; }
  .stage-num { font-size: 30px; }
  .stage h2 { font-size: 22px; }
  .stage p { font-size: 15px; margin: 6px 0 10px; }
  .chips li { font-size: 10.5px; padding: 6px 9px; }
  .film-wrap { position: absolute; left: 0; right: 0; top: var(--film-top, 44%); display: block; }
  .film { width: min(100vw, 56svh); margin-inline: auto; }
  .rail { bottom: 22px; }
  .rail button { font-size: 0; gap: 0; }
  .rail b { font-size: 11px; }
  .cue { display: none; }
  .hud-scan { display: none; }
  .co .tag { font-size: 10px; padding: 5px 8px 5px 7px; }
  .co.wide-only { display: none; }
  .co .tag b { font-size: 9px; }
}
@media (max-width: 1023px) {
  .proof-grid, .trace-stage, .q-cols, .faq-grid, .contact-grid, .foot-top { grid-template-columns: 1fr; }
  .svc summary { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 12px; min-height: 70px; }
  .svc .d, .svc .stg { display: none; }
  .svc .more > div { grid-template-columns: 1fr; padding: 0 0 22px 48px; }
  .svc .more ul, .svc .more img { grid-column: 1; grid-row: auto; }
  .svc-preview { display: none; }
  .fix-grid, .cases { grid-template-columns: 1fr; }
  .devices, .procs { grid-template-columns: 1fr 1fr; }
  .mats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq .sec-head, .contact-left { position: static; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .dhr-card { grid-template-columns: 1fr; }
  .dhr-card h3, .dhr-card dl, .dhr-stamp { grid-column: 1; grid-row: auto; }
  .dhr-stamp { margin-top: 18px; }
  .dhr-card dl { grid-template-columns: 1fr 1fr; }
  .dhr-visual { overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .dhr-inner { width: 980px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 64px; }
  .nav-right { display: none; }
  .burger { display: block; }
  .word small { display: none; }
  .split-head { display: block; }
  .stage-filter { margin-top: 28px; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg button { padding: 9px 12px; font-size: 13.5px; flex: none; }
  .tabs { margin-top: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .devices, .procs { grid-template-columns: 1fr; }
  .devices li { min-height: 0; }
  .mats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mats span { display: none; }
  .checks { grid-template-columns: 1fr; }
  .dhr-card dl { grid-template-columns: 1fr; }
  .cc { font-size: 11.5px; }
  .fields { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .scope-card { grid-template-columns: 1fr; }
  .sterile { margin-left: 0; }
  .fac-track figure { width: 78vw; }
  .foot-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
