/* Heavy Lift Drones · Air Mule showcase · v2.0
   System: dark-locked graphite studio, one accent (#E2531F), one radius (4px), one easing curve.
   Type: Archivo (variable wdth 62-100, wght 400-820) for display and body, JetBrains Mono for data.
   Layout families: sticky 3D stage, ruled facts band, paper datasheet, bento grid, horizontal pan,
   kinetic statement, split about, two-pane configurator, two-column FAQ, full-bleed contact plate. */

/* ------------------------------------------------------------------ fonts */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-v2.woff2") format("woff2-variations"), url("/assets/fonts/archivo-v2.woff2") format("woff2"); font-weight: 400 820; font-stretch: 62% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-v2.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------------ tokens */
:root {
  --bg: #0b0c0e; --bg-1: #101215; --bg-2: #15181c; --bg-3: #1b1f24;
  --line: rgba(236, 238, 241, .08); --line-2: rgba(236, 238, 241, .14); --line-3: rgba(236, 238, 241, .24);
  --text: #eceef1; --text-2: #b4b9c0; --muted: #7c828b;
  --accent: #e2531f; --accent-hi: #f0642e; --on-accent: #0b0c0e; --accent-soft: rgba(226, 83, 31, .14);
  --paper: #f1f2ef; --paper-2: #e7e9e5; --ink: #121417; --ink-2: #4a4f57; --ink-3: #5c6067; --ink-line: rgba(18, 20, 23, .12); --accent-ink: #b23c10;
  --radius: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px; --s32: 128px;
  --fs-12: .75rem; --fs-13: .8125rem; --fs-14: .875rem; --fs-16: 1rem; --fs-18: 1.125rem; --fs-20: 1.25rem; --fs-24: 1.5rem;
  --fs-body: 1.0625rem;
  --fs-h1: clamp(3rem, min(1.5rem + 5.4vw, 11.5svh), 6.75rem);
  --fs-h2: clamp(2.25rem, 1.35rem + 3.3vw, 4.5rem);
  --fs-stmt: clamp(2.25rem, 1rem + 4.6vw, 5.5rem);
  --fs-num: clamp(3.25rem, 2rem + 4.2vw, 6rem);
  --wrap: 1320px; --gutter: clamp(16px, 4.2vw, 56px); --nav-h: 72px;
  --section-y: clamp(96px, 11vw, 176px);
  color-scheme: dark;
}
@media (max-width: 760px) { :root { --nav-h: 64px; } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; font-weight: 400; font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: var(--radius); }
.doc :focus-visible, .sheet__card :focus-visible { outline-color: var(--accent-ink); } /* 5.3:1 on paper */
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--s4); top: var(--s4); z-index: 100; padding: var(--s3) var(--s4); background: var(--accent); color: var(--on-accent); font-weight: 600; border-radius: var(--radius); text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus { transform: none; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ------------------------------------------------------------------ type */
.hero-title, .h2, .statement, .kinetic, .contact__title, .mcard__name, .sheet__model, .fact__n, .tile__v, .lift-count__num, .verb h3 {
  font-family: var(--font); font-stretch: 72%; font-weight: 760; letter-spacing: -.012em; line-height: .96; color: var(--text); text-wrap: balance; font-kerning: normal;
}
.hero-title { font-size: var(--fs-h1); line-height: .92; }
.hero-title em { font-style: normal; color: var(--accent-hi); }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .ln > span { display: block; }
.h2 { font-size: var(--fs-h2); }
.statement { font-size: var(--fs-stmt); line-height: .94; }
.body { color: var(--text-2); max-width: 58ch; text-wrap: pretty; }
.body a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.body a:hover { color: var(--accent-hi); }
a[href^="tel:"] { white-space: nowrap; }
.lead { color: var(--text-2); font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; max-width: 46ch; text-wrap: pretty; }
.small { font-size: var(--fs-14); }
.note, .fine { font-size: var(--fs-13); color: var(--muted); max-width: 64ch; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s3); font-family: var(--font-mono); font-size: var(--fs-12); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent); }
.tnum { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ buttons */
.btn { --bh: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s3); min-height: var(--bh); padding: 0 var(--s6); border: 1px solid transparent; border-radius: var(--radius); font-family: var(--font); font-size: var(--fs-16); font-weight: 600; font-stretch: 100%; letter-spacing: .005em; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { --bh: 56px; padding: 0 var(--s8); font-size: var(--fs-16); }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hi); }
.btn--line { border-color: var(--line-3); color: var(--text); background: rgba(11, 12, 14, .35); }
.btn--line:hover { border-color: var(--text); }
.btn--line .ico { color: var(--text-2); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #262a30; }
.btn--ink-line { border-color: rgba(18, 20, 23, .28); color: var(--ink); background: transparent; }
.btn--ink-line:hover { border-color: var(--ink); }
.btn--ink-line.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 600; text-decoration: none; color: var(--accent-hi); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); border-bottom: 1px solid transparent; transition: border-color .35s var(--ease); }
/* the blur lives on a pseudo-element: backdrop-filter on .nav itself would make it the containing block of the fixed mobile menu */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 12, 14, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.nav.is-solid { border-bottom-color: var(--line); }
.nav.is-solid::before { opacity: 1; }
body.menu-open .nav::before { background: var(--bg); }
.nav__inner { height: 100%; width: min(100% - 2 * var(--gutter), 1480px); margin-inline: auto; display: flex; align-items: center; gap: var(--s4); }
.nav__brand { display: block; flex: none; width: 104px; padding: var(--s2) 0; }
.nav__brand img { width: 104px; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); font-size: var(--fs-14); font-weight: 500; color: var(--text-2); text-decoration: none; transition: color .2s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: 9px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a.is-current { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__phone { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3); font-family: var(--font-mono); font-size: var(--fs-13); color: var(--text); text-decoration: none; white-space: nowrap; }
.nav__phone .ico { width: 18px; height: 18px; color: var(--text-2); }
.nav__phone:hover { color: var(--accent-hi); }
.nav__cta { --bh: 42px; padding: 0 var(--s5); font-size: var(--fs-14); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(11, 12, 14, .5); position: relative; padding: 0; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mmenu { display: none; overscroll-behavior: contain; }
body.menu-open { overflow: hidden; }
@media (max-width: 1260px) {
  .nav__phone-txt { display: none; }
  .nav__phone { width: 44px; justify-content: center; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); }
}
@media (max-width: 1060px) {
  .nav__links, .nav__cta { display: none; }
  .nav__phone { margin-left: auto; }
  .nav__toggle { display: block; }
  .mmenu { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s8); position: fixed; inset: var(--nav-h) 0 0; overflow-y: auto; background: var(--bg); padding: var(--s4) var(--gutter) calc(var(--s8) + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .mmenu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .mmenu nav { display: flex; flex-direction: column; }
  .mmenu nav a { display: flex; align-items: center; min-height: 58px; font-stretch: 72%; font-weight: 740; font-size: clamp(1.75rem, 7vw, 2.5rem); line-height: 1; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mmenu nav a:hover { color: var(--accent-hi); }
  .mmenu__foot { display: grid; gap: var(--s3); }
}

/* mobile quick-action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: auto 1fr; gap: var(--s2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom)); background: rgba(11, 12, 14, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar .btn { --bh: 48px; padding: 0 var(--s5); }
  body.menu-open .mbar { transform: translateY(110%); }
}
@media (max-width: 360px) {
  .mbar .btn { padding: 0 var(--s3); font-size: .9375rem; gap: var(--s2); }
  .footer { padding-bottom: calc(var(--s24) + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------------ stage (3D story) */
/* Base (no 3D: no WebGL, reduced motion, software GPU, or before boot): poster + hero overlay, then the
   chapters as ordinary stacked sections. .stage-on (set by drone.js) turns it into a pinned scroll story. */
.stage { position: relative; display: grid; background: var(--bg); }
.stage__sticky { grid-area: 1 / 1; position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.stage__bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(ellipse 62% 58% at 64% 44%, #1e2228 0%, #15181c 42%, rgba(11, 12, 14, 0) 78%),
  linear-gradient(180deg, #0d0f12 0%, var(--bg) 100%); }
.stage__floor { position: absolute; inset: 0; background: radial-gradient(ellipse 40% 16% at 64% 74%, rgba(240, 100, 46, .045), rgba(240, 100, 46, 0) 72%); }
.stage__view { position: absolute; inset: 0; z-index: 1; }
.stage__view picture { position: absolute; inset: 0; }
.stage__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: opacity .9s var(--ease); }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s var(--ease); }
.stage__sticky::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background:
  linear-gradient(180deg, rgba(11, 12, 14, .55) 0%, rgba(11, 12, 14, 0) 18%, rgba(11, 12, 14, 0) 82%, var(--bg) 100%); }
.stage__panels { display: contents; }
.callouts, .hud { display: none; }
.stage__tag { position: absolute; z-index: 3; top: calc(var(--nav-h) + var(--s4)); right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); margin: 0; padding: 3px var(--s2); border: 1px solid var(--line-2); border-radius: var(--radius); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(11, 12, 14, .5); pointer-events: none; }

.panel { position: relative; }
.panel__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.panel--hero { grid-area: 1 / 1; z-index: 3; display: flex; align-items: center; min-height: 100svh; padding: calc(var(--nav-h) + var(--s8)) 0 var(--s20); pointer-events: none; }
.panel--hero .panel__inner > * { max-width: 620px; }
.panel--hero .panel__inner { pointer-events: auto; }
.panel--hero .eyebrow { margin-bottom: var(--s6); }
.panel--hero .hero-title { margin-bottom: var(--s6); }
.panel--hero .lead { margin-bottom: var(--s10); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.panel:not(.panel--hero) { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.panel:not(.panel--hero) .panel__inner > * { max-width: 680px; }
.panel .h2 { margin-bottom: var(--s6); }
.panel--statement .body { margin-top: var(--s6); font-size: var(--fs-18); }

/* without the 3D story (reduced motion, no WebGL): the four chapters sit as a 2 x 2 spread, not four sparse rows */
@media (min-width: 1000px) {
  html:not(.stage-on) .stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not(.stage-on) .stage__sticky, html:not(.stage-on) .panel--hero { grid-area: 1 / 1 / 2 / 3; }
  html:not(.stage-on) .panel:not(.panel--hero) { padding-block: clamp(80px, 9vw, 136px); }
  html:not(.stage-on) .panel:not(.panel--hero) .panel__inner { width: auto; margin: 0; }
  html:not(.stage-on) .panel--lift, html:not(.stage-on) .panel--models { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: clamp(32px, 4vw, 64px); }
  html:not(.stage-on) .panel--statement, html:not(.stage-on) .panel--feat { padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-left: clamp(32px, 4vw, 64px); border-left: 1px solid var(--line); }
  html:not(.stage-on) .panel--statement .statement { font-size: clamp(2.25rem, 1rem + 3vw, 4rem); }
}

/* hero entrance (CSS only, so it never waits on JS) */
.js .panel--hero .hero-title .ln > span { animation: lineUp 1.1s var(--ease) both; }
.js .panel--hero .hero-title .ln + .ln > span { animation-delay: .08s; }
.js .panel--hero .eyebrow, .js .panel--hero .lead, .js .panel--hero .actions { animation: fadeUp 1s var(--ease) both; }
.js .panel--hero .lead { animation-delay: .22s; }
.js .panel--hero .actions { animation-delay: .32s; }
@keyframes lineUp { from { transform: translateY(104%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* lift chapter */
.lift-count { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: var(--s3); row-gap: var(--s2); margin: var(--s2) 0 var(--s6); color: var(--text); }
.lift-count__pre { grid-column: 1 / -1; }
.lift-count__unit { padding-bottom: .16em; font-family: var(--font); font-size: clamp(1.75rem, 1rem + 2vw, 3rem); font-stretch: 72%; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1; color: var(--text-2); }
.lift-count__pre, .lift-count__unit { font-family: var(--font-mono); font-size: var(--fs-14); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lift-count__num { font-size: clamp(6rem, 3rem + 11vw, 13.5rem); font-stretch: 62%; font-weight: 800; line-height: .8; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text); }

/* models chapter: payload ruler + model card */
html:not(.js) .ruler { display: none; }
.cfg__fallback { display: none; }
html:not(.js) #cfgSend { display: none; } /* without JS (or if the page script fails) a plain mailto link takes over */
html:not(.js) .cfg__fallback { display: flex; }
.ruler { position: relative; height: 64px; margin: var(--s10) 20px var(--s6) 0; --sel: .222; }
.ruler::before { content: "Payload \00b7  lb"; position: absolute; left: 0; top: -24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ruler__track { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-3); }
.ruler__track::before, .ruler__track::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--line-3); }
.ruler__track::before { left: 0; } .ruler__track::after { right: 0; }
.ruler__fill { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--sel)); transition: transform .7s var(--ease); }
.ruler__stop { position: absolute; top: 0; left: calc(var(--x) * 100%); width: 40px; height: 64px; margin-left: -20px; padding: 0; border: 0; background: none; color: var(--muted); display: flex; flex-direction: column; align-items: center; transition: color .25s var(--ease); }
.ruler__tick { display: block; width: 1px; height: 18px; margin-top: 13px; background: currentColor; transition: height .35s var(--ease), background-color .25s var(--ease), margin .35s var(--ease); }
.ruler__lb { margin-top: 8px; font-family: var(--font-mono); font-size: var(--fs-12); font-variant-numeric: tabular-nums; }
.ruler__stop:hover { color: var(--text); }
.ruler__stop[aria-selected="true"] { color: var(--accent-hi); }
.ruler__stop[aria-selected="true"] .ruler__tick { height: 26px; margin-top: 5px; width: 2px; }
.ruler__stop:focus-visible { outline-offset: 0; }
.mcard { padding: var(--s6); border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(16, 18, 21, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin-bottom: var(--s6); }
.mcard__head { margin-bottom: var(--s5); }
.mcard__name { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: var(--s2); }
.mcard__use { color: var(--text-2); font-size: var(--fs-16); }
.mcard__specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.mcard__specs > div { padding-top: var(--s4); }
.mcard__specs > div + div { padding-left: var(--s5); border-left: 1px solid var(--line-2); }
.mcard__specs dt { font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s1); }
.mcard__specs dd { font-stretch: 72%; font-weight: 720; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); line-height: 1; font-variant-numeric: tabular-nums; }
.mcard.is-swap .mcard__name, .mcard.is-swap .mcard__use, .mcard.is-swap dd { animation: swapIn .55s var(--ease) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* features chapter */
.feat-list { counter-reset: f; border-top: 1px solid var(--line-2); margin-bottom: var(--s5); }
.feat-list li { counter-increment: f; display: flex; align-items: baseline; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line-2); font-size: var(--fs-18); font-weight: 500; }
.feat-list li::before { content: counter(f, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-12); color: var(--muted); }

/* ---- stage-on: pinned story ---- */
.stage-on .stage { display: block; height: var(--stage-h, 600vh); }
.stage-on .stage__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.stage-on .stage__canvas.is-ready { opacity: 1; }
.stage-on .stage__poster.is-hidden { opacity: 0; }
.stage-on .stage__panels { display: block; position: sticky; top: 0; height: 100vh; height: 100svh; margin-top: -100vh; margin-top: -100svh; z-index: 3; pointer-events: none; }
/* panels fade with opacity only: they stay in the accessibility tree and reachable by keyboard (focus scrolls the story to them) */
.stage-on .panel { position: absolute; inset: 0; display: flex; align-items: center; min-height: 0; padding: var(--nav-h) 0 var(--s16); border: 0; opacity: 0; }
.stage-on .panel.is-active { pointer-events: auto; }
.stage-on .panel--hero { padding: calc(var(--nav-h) + var(--s8)) 0 var(--s20); } /* identical to the static hero, so nothing jumps when the 3D takes over */
.stage-on .panel:not(.panel--hero) .panel__inner > * { max-width: 520px; }
.stage-on .panel--statement .panel__inner, .stage-on .panel--feat .panel__inner { display: flex; flex-direction: column; align-items: flex-end; }
.stage-on .panel--statement:not(.panel--hero) .panel__inner > * { max-width: 720px; width: 100%; }
.stage-on .panel--feat:not(.panel--hero) .panel__inner > * { max-width: 460px; width: 100%; }
.stage-on .callouts { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stage-on .hud { display: flex; align-items: center; gap: var(--s8); position: absolute; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: var(--s6); z-index: 4; font-family: var(--font-mono); font-size: var(--fs-12); color: var(--muted); pointer-events: none; }
.hud__item { display: flex; align-items: baseline; gap: var(--s2); text-transform: uppercase; letter-spacing: .08em; transition: opacity .3s var(--ease); white-space: nowrap; }
.hud__item--model { min-width: 23ch; }
.hud__item--payload { min-width: 15ch; }
.stage-on .hud { transition: opacity .5s var(--ease); }
.stage-on .hud.is-hero { opacity: 0; }
.hud__item.is-empty { opacity: 0; }
.hud__item i { font-style: normal; }
.hud__item b { color: var(--text); font-size: var(--fs-13); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.hud__progress { flex: 1; height: 1px; background: var(--line-2); position: relative; }
.hud__progress span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* callouts pinned to 3D anchors */
.callout { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.callout__dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(226, 83, 31, .22); }
.callout__line { position: absolute; left: 0; top: 0; width: var(--len, 90px); height: 1px; background: linear-gradient(90deg, var(--accent), rgba(236, 238, 241, .5)); transform-origin: 0 0; transform: rotate(var(--ang, -20deg)); }
.callout__label { position: absolute; left: var(--lx, 90px); top: var(--ly, -40px); transform: translate(var(--tx, 0), -50%); white-space: nowrap; padding: var(--s2) var(--s3); border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(16, 18, 21, .9); font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .02em; color: var(--text); }

@media (max-width: 760px) {
  .stage__bg { background: radial-gradient(ellipse 90% 46% at 50% 30%, #1e2228 0%, #15181c 44%, rgba(11, 12, 14, 0) 80%), linear-gradient(180deg, #0d0f12 0%, var(--bg) 100%); }
  .stage__floor { background: radial-gradient(ellipse 70% 18% at 50% 52%, rgba(240, 100, 46, .05), rgba(240, 100, 46, 0) 72%); }
  .stage__sticky::after { background: linear-gradient(180deg, rgba(11, 12, 14, .5) 0%, rgba(11, 12, 14, 0) 16%, rgba(11, 12, 14, 0) 42%, rgba(11, 12, 14, .82) 62%, var(--bg) 84%); }
  .panel--hero { align-items: flex-end; padding-bottom: calc(var(--s10) + env(safe-area-inset-bottom)); }
  .panel--hero .eyebrow { margin-bottom: var(--s4); letter-spacing: .05em; gap: var(--s2); }
  .panel--hero .eyebrow::before { width: 12px; }
  .panel--hero .hero-title { font-size: clamp(2.6rem, 11.6vw, 3.6rem); margin-bottom: var(--s4); }
  .panel--hero .lead { font-size: var(--fs-16); margin-bottom: var(--s6); }
  .panel--hero .actions { gap: var(--s2); }
  .panel--hero .actions .btn { flex: 1 1 100%; }
  .panel--hero .actions .btn--line { --bh: 44px; border: 0; background: none; color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 4px; font-size: var(--fs-14); font-weight: 500; }
  .stage-on .panel { align-items: flex-end; }
  .stage-on .panel:not(.panel--hero) { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .stage-on .panel--hero { padding-bottom: calc(var(--s10) + env(safe-area-inset-bottom)); }
  .callouts { counter-reset: co; }
  .callout { counter-increment: co; }
  .callout__label, .callout__line { display: none; }
  .callout__dot { left: -11px; top: -11px; width: 22px; height: 22px; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(226, 83, 31, .25); }
  .callout__dot::after { content: counter(co, decimal-leading-zero); font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--on-accent); }
  .stage-on .panel--statement .panel__inner, .stage-on .panel--feat .panel__inner { align-items: stretch; }
  .stage-on .panel .h2 { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: var(--s4); }
  .stage-on .panel .body { font-size: var(--fs-14); }
  .stage-on .panel--lift .body, .stage-on .panel--models .body.small { display: none; }
  .stage-on .statement { font-size: clamp(2rem, 9.4vw, 2.8rem); }
  .stage-on .lift-count__num { font-size: clamp(5.5rem, 30vw, 8rem); }
  .stage-on .ruler { margin: var(--s8) 20px var(--s4) 0; }
  .stage-on .mcard { padding: var(--s4); margin-bottom: 0; }
  .stage-on .mcard__head { margin-bottom: var(--s3); }
  .stage-on .feat-list li { padding: var(--s3) 0; font-size: var(--fs-16); }
  .stage-on .panel--feat .note { display: none; }
  .stage-on .hud { display: none; }
  .ruler__stop { width: 34px; margin-left: -17px; }
}

/* short laptop screens: the pinned chapters must fit between the nav and the HUD */
@media (min-width: 761px) and (max-height: 760px) {
  .stage-on .panel .h2 { font-size: clamp(2rem, 7svh, 3.5rem); margin-bottom: var(--s4); }
  .stage-on .statement { font-size: clamp(2rem, 8svh, 4.5rem); }
  .stage-on .lift-count__num { font-size: clamp(5rem, 22svh, 11rem); }
  .stage-on .panel--models .body.small { display: none; }
  .stage-on .ruler { margin-top: var(--s8); margin-bottom: var(--s4); }
  .stage-on .mcard { padding: var(--s4); }
  .stage-on .mcard__head { margin-bottom: var(--s3); }
  .stage-on .feat-list li { padding: 10px 0; }
}

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding: var(--section-y) 0; }
.sec-head { display: grid; gap: var(--s6); margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head > .h2 { max-width: 860px; }
.sec-head > .body { max-width: 56ch; }
.sec-head .body { font-size: var(--fs-18); }

/* facts band */
.facts { border-block: 1px solid var(--line); background: var(--bg); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s4); padding: clamp(28px, 4vw, 52px) var(--s6) clamp(28px, 4vw, 52px) 0; }
.fact + .fact { padding-left: clamp(16px, 2.6vw, 40px); border-left: 1px solid var(--line); }
.fact dt { font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.fact dd { display: flex; align-items: baseline; gap: var(--s2); }
.fact__n { font-size: var(--fs-num); font-stretch: 64%; font-weight: 780; line-height: .86; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact dd { overflow: hidden; padding-bottom: .04em; flex-wrap: wrap; min-width: 0; }
.facts.is-in .fact dd { overflow: visible; } /* clip only during the rise, never cut a value (fallback fonts are wider) */
.js .facts:not(.is-in) .fact__n, .js .facts:not(.is-in) .fact__u { transform: translateY(110%); }
.fact__n, .fact__u { display: inline-block; transition: transform 1.1s var(--ease); }
.fact:nth-child(2) .fact__n, .fact:nth-child(2) .fact__u { transition-delay: .08s; }
.fact:nth-child(3) .fact__n { transition-delay: .16s; }
.fact:nth-child(4) .fact__n, .fact:nth-child(4) .fact__u { transition-delay: .24s; }
.fact__u { font-family: var(--font-mono); font-size: var(--fs-14); color: var(--muted); }
@media (max-width: 900px) {
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact__n { font-size: clamp(2.4rem, 11.5vw, 3.25rem); }
  .fact { padding-right: var(--s3); }
}

/* datasheet: the paper document */
.sheetsec { background: var(--bg); overflow: clip; }
.sheetsec::before { content: ""; position: absolute; left: 50%; top: 38%; width: min(1200px, 120vw); height: 70%; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(236, 238, 241, .06), rgba(236, 238, 241, 0) 65%); pointer-events: none; }
.doc { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 50px 120px -40px rgba(0, 0, 0, .75), 0 24px 48px -24px rgba(0, 0, 0, .6); transform-origin: 50% 0; }
.doc__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s6); padding: var(--s5) clamp(20px, 3vw, 40px); background: var(--ink); color: var(--paper); }
.doc__logo { width: 84px; }
.doc__title { font-stretch: 72%; font-weight: 740; font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); line-height: 1; margin-bottom: var(--s1); }
.doc__sub { font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .04em; color: #a9aeb5; }
.doc__dl { --bh: 44px; background: var(--paper); color: var(--ink); font-size: var(--fs-14); padding: 0 var(--s5); }
.doc__dl:hover { background: #fff; }
.doc__dl .ico { width: 18px; height: 18px; }
.doc__table { padding: var(--s4) clamp(20px, 3vw, 40px) 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-16); }
.spec-table thead th { padding: var(--s4) var(--s4) var(--s3) 0; text-align: left; font-family: var(--font-mono); font-size: var(--fs-12); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--ink); }
.spec-table tbody th, .spec-table td { padding: var(--s5) var(--s4) var(--s5) 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--ink-line); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody th { font-stretch: 72%; font-weight: 740; font-size: clamp(1.25rem, 1rem + .7vw, 1.625rem); line-height: 1; white-space: nowrap; }
.spec-table td { color: var(--ink-2); }
.spec-table td b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; font-size: var(--fs-18); }
.spec-table th:first-child { width: 20%; }
.spec-table td:nth-child(2) { width: 30%; }
.spec-table td:nth-child(3) { width: 14%; }
.spec-table td:last-child { width: 36%; }
.cell-pay { display: flex; align-items: center; white-space: nowrap; }
.cell-pay b { margin-right: .3em; }
.cell-pay .bar { position: relative; flex: 1 1 auto; min-width: 64px; max-width: 220px; height: 6px; margin-right: var(--s4); background: var(--paper-2); border-radius: 1px; overflow: hidden; }
.cell-pay .bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--v)); transition: transform 1.2s var(--ease) calc(var(--d, 0) * 90ms + 150ms); }
.js .spec-table:not(.is-in) .cell-pay .bar::after { transform: scaleX(0); }
.spec-table tbody tr { transition: background-color .2s var(--ease); }
.spec-table tbody tr:hover { background: rgba(18, 20, 23, .035); }
.doc__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s8); margin: var(--s4) clamp(20px, 3vw, 40px) 0; padding: var(--s5) 0 var(--s6); border-top: 1px solid var(--ink); }
.doc__foot p { font-size: var(--fs-14); color: var(--ink-3); max-width: 62ch; }
.doc__foot .link-arrow { color: var(--accent-ink); }
@media (max-width: 760px) {
  .doc__head { grid-template-columns: auto 1fr; gap: var(--s4); }
  .doc__dl { grid-column: 1 / -1; width: 100%; }
  .spec-table, .spec-table thead, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: auto !important; }
  .spec-table tr { display: grid; grid-template-columns: 1.25fr 1fr .8fr; column-gap: var(--s3); align-items: baseline; }
  .spec-table thead th:last-child { display: none; }
  .spec-table thead th { padding: var(--s3) 0 var(--s2); }
  .spec-table tbody tr { padding: var(--s3) 0; border-bottom: 1px solid var(--ink-line); }
  .spec-table tbody tr:last-child { border-bottom: 0; }
  .spec-table tbody th, .spec-table td { padding: 0; border: 0; }
  .spec-table tbody th { font-size: var(--fs-18); }
  .spec-table td b { font-size: var(--fs-16); }
  .spec-table td:last-child { grid-column: 1 / -1; margin-top: 2px; font-size: var(--fs-13); color: var(--ink-3); }
  .cell-pay .bar { display: none; }
}

/* bento: standard features */
.features { background: var(--bg-1); border-top: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); gap: var(--s3); }
.tile { --mx: 50%; --my: 50%; position: relative; grid-column: span 3; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; transition: border-color .3s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(240, 100, 46, .09), transparent 60%); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.tile:hover { border-color: var(--line-3); }
.tile:hover::before { opacity: 1; }
.tile > .ico { display: none; }
.tile--big { justify-content: flex-end; }
.tile--big { grid-column: span 3; }
.tile--media { grid-column: span 6; grid-row: span 2; padding: 0; background: var(--bg-3); }
.tile--media picture, .tile--media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(11, 12, 14, .85)); pointer-events: none; }
.tile__cap { position: absolute; left: var(--s6); bottom: var(--s5); z-index: 1; font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .06em; color: var(--text-2); }
.tile__v { font-size: clamp(2.75rem, 2rem + 2.4vw, 4.25rem); font-stretch: 64%; font-weight: 780; line-height: .9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile__v small { margin-left: 6px; font-family: var(--font-mono); font-size: var(--fs-14); font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.tile__k { color: var(--text-2); font-size: var(--fs-16); }
.tile__x { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-14); color: var(--text-2); }
.tile__x .ico { width: 16px; height: 16px; color: var(--text-2); }
.tile__t { font-size: var(--fs-18); font-weight: 600; line-height: 1.3; max-width: 22ch; }
.bento { counter-reset: cap; }
.tile:not(.tile--big):not(.tile--media) { counter-increment: cap; min-height: 0; margin-top: var(--s8); padding: var(--s5) var(--s4) 0 0; background: none; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; }
.tile:not(.tile--big):not(.tile--media)::before { display: none; }
.tile:not(.tile--big):not(.tile--media)::after { content: counter(cap, decimal-leading-zero); order: -1; font-family: var(--font-mono); font-size: var(--fs-12); color: var(--muted); }
.features .fine { margin-top: var(--s8); max-width: none; text-wrap: pretty; }
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--media { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: var(--s2); }
  .tile, .tile--big { grid-column: span 1; padding: var(--s4); min-height: 0 !important; }
  .tile--big { grid-column: 1 / -1; }
  .tile--media { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
  .tile > .ico { margin-bottom: var(--s6); }
  .tile__t { font-size: var(--fs-16); }
}

/* applications: horizontal pan */
.work { background: var(--bg); overflow: clip; }
.work__pin { padding-block: 0; }
.work__head { margin-bottom: clamp(40px, 5vw, 72px); }
.work__track { display: flex; gap: var(--s4); padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; counter-reset: w; }
.work__track::after { content: ""; flex: 0 0 1px; }
.work__track::-webkit-scrollbar { display: none; }
.wcard { counter-increment: w; flex: 0 0 clamp(260px, 30vw, 420px); scroll-snap-align: start; }
.wcard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.wcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: saturate(.68) contrast(1.06) brightness(.9); transition: filter .6s var(--ease); }
.wcard:hover .wcard__media img { filter: none; }
.wcard__title { display: flex; align-items: baseline; gap: var(--s3); margin-top: var(--s4); font-size: var(--fs-20); font-weight: 600; line-height: 1.25; }
.wcard:not(.wcard--opts) .wcard__title::before { content: counter(w, decimal-leading-zero) " / 05"; content: counter(w, decimal-leading-zero) " / 05" / ""; flex: none; white-space: nowrap; font-family: var(--font-mono); font-size: var(--fs-12); font-weight: 500; color: var(--muted); }
.wcard--opts { flex-basis: clamp(300px, 34vw, 480px); display: flex; }
.wcard--opts .wcard__body { display: flex; flex-direction: column; gap: var(--s5); width: 100%; aspect-ratio: 4 / 5; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); }
.wcard--opts .wcard__title { margin: 0; font-stretch: 72%; font-weight: 740; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); line-height: 1; }
.wcard--opts p { color: var(--text-2); font-size: var(--fs-16); }
.wcard--opts .btn { margin-top: auto; align-self: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips li { padding: var(--s2) var(--s3); border: 1px solid var(--line-2); border-radius: var(--radius); font-family: var(--font-mono); font-size: var(--fs-12); color: var(--text-2); }
@media (min-width: 900px) {
  .work { padding-block: 0; } /* the pinned frame carries its own spacing, or the pin would sit a section-padding down */
  .work__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + var(--s4)) 0 var(--s8); }
  .work__head { margin-bottom: clamp(24px, 4vh, 56px); }
  .wcard__media { aspect-ratio: auto; height: clamp(240px, calc(100svh - 420px), 560px); }
  .wcard { flex-basis: clamp(220px, calc((100svh - 420px) * .8), 448px); }
  .wcard--opts { flex-basis: clamp(380px, calc((100svh - 420px) * 1.4), 520px); }
  .wcard--opts .wcard__body { aspect-ratio: auto; height: auto; min-height: calc(clamp(240px, calc(100svh - 420px), 560px) + 44px); }
  .work__track::after { flex-basis: calc(max(var(--gutter), (100vw - var(--wrap)) / 2) - var(--s4)); } /* trailing gutter the pan can reach */
}
@media (min-width: 900px) and (max-height: 820px) {
  .wcard--opts { flex-basis: 560px; }
  .wcard--opts .wcard__body { padding: var(--s6); gap: var(--s4); }
  .wcard--opts p { font-size: var(--fs-14); }
}
@media (max-width: 899px) { .wcard--opts .wcard__body { aspect-ratio: auto; min-height: 100%; } }
@media (max-width: 760px) { .wcard { flex-basis: 78vw; } .wcard--opts { flex-basis: 86vw; } }

/* what we do: kinetic statement + verbs */
.custom { background: var(--bg-1); border-top: 1px solid var(--line); }
.kinetic { font-size: clamp(2.5rem, 1rem + 5.2vw, 6.75rem); line-height: .96; max-width: 23ch; margin-bottom: clamp(56px, 8vw, 120px); }
.kinetic .w { display: inline; }
.js .kinetic.is-split .w { opacity: .4; transition: opacity .3s linear; } /* .4 keeps the unread words at 3:1 */
.js .kinetic.is-split .w.is-on { opacity: 1; }
.verbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s6); counter-reset: v; margin-bottom: clamp(48px, 6vw, 88px); }
.verb { counter-increment: v; position: relative; padding-top: var(--s5); }
.verb::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.verb::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease); }
.verb.is-on::after { transform: scaleX(1); }
.verb h3 { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); font-size: clamp(2rem, 1.4rem + 1.8vw, 3.25rem); }
.custom__body { margin-top: var(--s6); font-size: var(--fs-18); max-width: 56ch; }
.verb h3::after { content: counter(v, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-12); font-weight: 500; letter-spacing: 0; color: var(--muted); }
.verb p { color: var(--text-2); font-size: var(--fs-14); line-height: 1.5; max-width: 26ch; }
.js .verb { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .verb.is-on, .js .verb.is-shown { opacity: 1; transform: none; }
.custom__line { font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.35; color: var(--text); max-width: 34ch; padding-left: var(--s5); border-left: 2px solid var(--line-3); }
@media (max-width: 900px) { .verbs { grid-template-columns: 1fr 1fr; } .verb:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .verbs { grid-template-columns: 1fr; gap: var(--s5); } }

/* about: split */
.about { background: var(--bg); }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__media { position: sticky; top: calc(var(--nav-h) + var(--s8)); }
.about__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5) contrast(1.12) brightness(.86); }
.about__frame::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(11, 12, 14, .5)); pointer-events: none; }
.about__copy { display: grid; gap: var(--s6); padding-top: var(--s2); }
.about__copy .h2 { margin-bottom: var(--s2); font-size: clamp(2.25rem, 1.2rem + 2.6vw, 4rem); }
.quote { margin: var(--s2) 0; padding: var(--s2) 0 var(--s2) var(--s5); border-left: 2px solid var(--line-3); }
.quote p { text-wrap: balance; }
.quote p { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); line-height: 1.35; font-weight: 500; color: var(--text); }
.about__facts { display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line-2); }
.about__facts > div { padding: var(--s5) var(--s6) 0 0; }
.about__facts > div + div { padding-left: var(--s6); border-left: 1px solid var(--line-2); }
.about__facts dt { font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.about__facts dd { font-size: var(--fs-16); font-weight: 600; }
.about__facts > div:first-child dd { font-stretch: 64%; font-weight: 780; font-size: 2.75rem; line-height: .9; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; }
}

/* build sheet configurator */
.build { background: var(--bg-1); border-top: 1px solid var(--line); }
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cfg__steps { display: grid; gap: var(--s10); }
.cfg__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.cfg__group legend, .cfg__label { display: flex; align-items: center; gap: var(--s3); width: 100%; padding: 0 0 var(--s4); margin-bottom: var(--s4); border-bottom: 1px solid var(--line-2); font-size: var(--fs-18); font-weight: 600; }
.cfg__group legend small, .cfg__label small { margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-12); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cfg__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-3); border-radius: var(--radius); font-family: var(--font-mono); font-size: var(--fs-12); font-weight: 500; color: var(--text-2); }
.cfg__models { display: grid; gap: var(--s2); }
.mopt, .chip, .upg { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mopt input, .chip input, .upg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mopt__box { display: grid; grid-template-columns: 18px minmax(120px, 160px) minmax(110px, 130px) 1fr; align-items: center; column-gap: var(--s5); min-height: 64px; padding: var(--s3) var(--s5); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.mopt__box::before { content: ""; width: 18px; height: 18px; border: 1px solid var(--line-3); border-radius: 50%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.mopt input:checked + .mopt__box::before { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--bg-2), inset 0 0 0 9px var(--accent); }
.mopt__name { font-stretch: 72%; font-weight: 740; font-size: var(--fs-24); line-height: 1.05; white-space: nowrap; }
.mopt__spec { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--text-2); font-variant-numeric: tabular-nums; transition: color .2s var(--ease); }
.mopt input:checked + .mopt__box .mopt__spec { color: var(--accent-hi); }
.mopt__use { font-size: var(--fs-14); color: var(--text-2); line-height: 1.4; }
.mopt:hover .mopt__box { border-color: var(--line-3); }
.mopt input:checked + .mopt__box { border-color: var(--accent); background: linear-gradient(90deg, var(--accent-soft), rgba(226, 83, 31, .03)); }
.mopt input:focus-visible + .mopt__box, .chip input:focus-visible + span, .upg input:focus-visible ~ .upg__switch { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.cfg__chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip span { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); font-size: var(--fs-14); font-weight: 500; color: var(--text-2); transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.chip span::before { content: ""; width: 12px; height: 12px; border: 1px solid var(--line-3); border-radius: 2px; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.chip:hover span { border-color: var(--line-3); color: var(--text); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.chip input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--bg-2); }
.cfg__upgrades { display: grid; gap: var(--s2); }
.upg { display: flex; align-items: center; gap: var(--s4); padding: var(--s4); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); transition: border-color .2s var(--ease); }
.upg:hover { border-color: var(--line-3); }
.upg__box { display: grid; gap: 2px; flex: 1; }
.upg__name { font-weight: 600; }
.upg__detail { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--text-2); }
.upg__switch { position: relative; flex: none; width: 44px; height: 24px; border: 1px solid var(--line-3); border-radius: var(--radius); background: var(--bg-1); transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.upg__switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 2px; background: var(--text-2); transition: transform .35s var(--ease), background-color .25s var(--ease); }
.upg input:checked ~ .upg__switch { background: var(--accent); border-color: var(--accent); }
.upg input:checked ~ .upg__switch::after { transform: translateX(20px); background: var(--on-accent); }
.upg:has(input:checked) { border-color: var(--accent); }
.cfg__warn { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); font-size: var(--fs-14); color: var(--accent-hi); }
.cfg__warn .ico { width: 18px; height: 18px; }
.cfg__group textarea { display: block; width: 100%; min-height: 128px; padding: var(--s4); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); font-size: var(--fs-16); line-height: 1.5; resize: vertical; transition: border-color .2s var(--ease); }
.cfg__group textarea:hover { border-color: var(--line-3); }
.cfg__group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cfg__help { margin-top: var(--s2); font-size: var(--fs-13); color: var(--muted); }
.cfg__help span { font-family: var(--font-mono); }

.sheet { position: sticky; top: calc(var(--nav-h) + var(--s6)); }
.sheet__card { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .5) inset; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-bottom: var(--s4); margin-bottom: var(--s5); border-bottom: 1px solid var(--ink); }
.sheet__top img { width: 76px; filter: brightness(0); opacity: .82; }
.sheet__k { font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sheet__model { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); color: var(--ink); margin-bottom: var(--s4); }
.sheet__model.is-empty { color: var(--ink-3); }
.sheet__specs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: var(--s4); border-block: 1px solid var(--ink-line); }
.sheet__specs > div { padding: var(--s3) 0; }
.sheet__specs > div + div { padding-left: var(--s4); border-left: 1px solid var(--ink-line); }
.sheet__specs dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.sheet__specs dd { font-weight: 700; font-size: var(--fs-18); font-variant-numeric: tabular-nums; }
.sheet__rows { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.sheet__rows > div { display: grid; grid-template-columns: 96px 1fr; gap: var(--s3); align-items: baseline; }
.sheet__v { font-size: var(--fs-14); font-weight: 600; color: var(--ink); line-height: 1.45; }
.sheet__v.is-empty { font-weight: 400; color: var(--ink-3); }
.is-flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { background-color: rgba(226, 83, 31, .22); } 100% { background-color: transparent; } }
.sheet__actions { display: grid; gap: var(--s2); }
.sheet__call { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: var(--fs-14); font-weight: 600; color: var(--ink-2); text-decoration: none; }
.sheet__call:hover { color: var(--accent-ink); }
.sheet__status { min-height: 1.5em; margin-top: var(--s2); font-size: var(--fs-13); color: var(--ink-2); text-align: center; }
.sheet__status:empty { display: none; }
.sheet__note { margin-top: var(--s4); font-size: var(--fs-13); color: var(--muted); }
@media (max-width: 640px) {
  .mopt__box { grid-template-columns: 18px 1fr auto; row-gap: 2px; padding: var(--s3) var(--s4); column-gap: var(--s3); }
  .mopt__box::before { grid-row: 1 / 3; }
  .mopt__use { grid-column: 2 / -1; font-size: var(--fs-13); }
}
@media (max-width: 980px) {
  .cfg { grid-template-columns: 1fr; }
  .sheet { position: relative; top: 0; }
}

/* FAQ */
.faq { background: var(--bg); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--nav-h) + var(--s8)); margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); min-height: 76px; padding: var(--s5) 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; line-height: 1.35; transition: color .2s var(--ease); }
.qa summary:hover h3 { color: var(--text); }
.qa summary:hover .qa__icon { border-color: var(--line-3); }
.qa__icon { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: var(--radius); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--text); transition: transform .4s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { border-color: var(--accent); background: var(--accent); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--on-accent); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { padding: 0 var(--s16) var(--s6) 0; }
.qa__a p { color: var(--text-2); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}
@media (max-width: 900px) {
  .faq__wrap { grid-template-columns: 1fr; }
  .faq .sec-head { position: relative; top: 0; margin-bottom: var(--s10); }
  .qa__a { padding-right: 0; }
}

/* contact plate */
.contact { position: relative; overflow: clip; padding-block: clamp(120px, 14vw, 220px); border-top: 1px solid var(--line); }
.contact__bg { position: absolute; inset: 0; z-index: 0; }
.contact__bg img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 60%; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 12, 14, .55) 30%, rgba(11, 12, 14, .7) 70%, var(--bg) 100%), linear-gradient(90deg, rgba(11, 12, 14, .8), rgba(11, 12, 14, .15)); }
.contact__inner { position: relative; z-index: 1; }
.contact .eyebrow { margin-bottom: var(--s6); }
.contact__title { font-size: clamp(2.25rem, 1.1rem + 4.2vw, 5.25rem); line-height: .96; max-width: 20ch; margin-bottom: clamp(48px, 6vw, 80px); }
.contact__title span { color: var(--accent-hi); }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.ccard { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: var(--s4); row-gap: var(--s1); align-items: start; padding: var(--s6); border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(16, 18, 21, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-decoration: none; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.ccard > .ico:first-child { grid-row: 1 / 3; align-self: center; width: 26px; height: 26px; color: var(--text-2); }
.ccard__k { font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ccard__v { grid-column: 2; font-size: var(--fs-18); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ccard__v--mail { font-size: var(--fs-16); }
.ccard__go { grid-column: 3; grid-row: 1 / 3; align-self: center; width: 22px; height: 22px; color: var(--text-2); transition: transform .4s var(--ease), color .2s var(--ease); }
a.ccard:hover { border-color: var(--accent); background: rgba(21, 24, 28, .9); }
a.ccard:hover .ccard__go { transform: translate(3px, -3px); color: var(--accent-hi); }
@media (max-width: 980px) { .contact__grid { grid-template-columns: 1fr; } }

/* footer */
.footer { padding: var(--s20) 0 var(--s8); border-top: 1px solid var(--line); background: var(--bg); font-size: var(--fs-14); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: var(--s10); padding-bottom: var(--s12); }
.footer__brand img { width: 120px; margin-bottom: var(--s4); }
.footer__brand p { color: var(--text-2); max-width: 30ch; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s6); align-content: start; }
.footer__nav a, .footer__contact a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text-2); text-decoration: none; transition: color .2s var(--ease); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent-hi); }
.footer__contact { display: grid; align-content: start; }
.footer__contact span { color: var(--muted); margin-top: var(--s2); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); padding-top: var(--s6); border-top: 1px solid var(--line); font-size: var(--fs-13); color: var(--muted); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; gap: var(--s8); } }

/* ------------------------------------------------------------------ reveals */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .verb { opacity: 1; transform: none; }
  .js .kinetic.is-split .w { opacity: 1; }
  .wcard__media img { transform: none; }
}

/* ------------------------------------------------------------------ print */
@media print {
  :root { --bg: #fff; --bg-1: #fff; --bg-2: #fff; --text: #121417; --text-2: #3c4047; --muted: #5c6067; --line: #d9dbd7; --line-2: #c9ccc7; --line-3: #b0b3ae; }
  body { background: #fff; color: #121417; }
  .nav, .mbar, .skip, .mmenu, .stage__canvas, .callouts, .hud, .contact__bg, .stage__tag, .stage__sticky::after { display: none !important; }
  .stage, html.stage-on .stage { display: block !important; height: auto !important; }
  .stage__sticky, html.stage-on .stage__sticky, html.stage-on .stage__panels { position: static !important; height: auto !important; min-height: 0 !important; margin: 0 !important; }
  .stage__sticky { height: 60vh !important; }
  .stage .panel, html.stage-on .panel { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; min-height: 0 !important; padding: 24px 0 !important; }
  .reveal, .verb, .fact__n, .fact__u, .kinetic .w, .doc { opacity: 1 !important; transform: none !important; }
  .pin-spacer { padding: 0 !important; height: auto !important; }
  .work__track { transform: none !important; flex-wrap: wrap; }
  .section, .facts { padding-block: 32px !important; break-inside: avoid-page; }
  .hero-title, .h2, .statement, .kinetic, .contact__title, .fact__n, .tile__v { color: #121417 !important; }
  a { text-decoration: none; }
}
