/* Arddeon site. Same family as Galleion: night, white ink, one amber running light, Hanken Grotesk. */
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #05070a;
  --surface: #0c1117;
  --surface-2: #121922;
  --line: #1c2430;
  --ink: #f1f3f6;
  --muted: #a3acba;
  --accent: #ffb347;
  --accent-ink: #120c02;
  --green: #5ef2b0;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --m: clamp(16px, 3vw, 40px);
  --display: clamp(3rem, 1.2rem + 7.6vw, 8.5rem);
  --head: clamp(2rem, 1.2rem + 3.4vw, 4.25rem);
  --lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --small: 0.875rem;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif; font-size: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; margin: 0; text-wrap: balance; }
h1 { font-size: var(--display); }
h2 { font-size: var(--head); line-height: 1; }
h3 { font-size: var(--lead); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--m); }
.lead { font-size: var(--lead); line-height: 1.35; max-width: 34ch; }
.note { font-size: var(--small); color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.dim { color: var(--muted); }
.mt { margin-top: 16px; }
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 400ms var(--ease), transform 500ms var(--ease); }
.top.solid { background: rgba(5, 7, 10, 0.92); backdrop-filter: blur(10px); }
.top.hide { transform: translateY(-100%); }
.top .bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: 0.24em; }
.brand svg { width: 30px; height: 30px; }
.menu { display: flex; gap: 4px; margin-left: 24px; }
.menu a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; padding: 8px 12px; border-radius: 8px; transition: color 200ms; }
.menu a:hover { color: var(--ink); }
.burger { display: none; appearance: none; width: 44px; height: 44px; margin-left: 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 17, 23, 0.72); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform 300ms var(--ease), top 300ms var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 96px var(--m) 48px; background: rgba(5, 7, 10, 0.97); backdrop-filter: blur(14px); opacity: 0; transition: opacity 300ms var(--ease); }
.mnav[hidden] { display: none; }
.mnav.open { opacity: 1; }
.mnav nav { display: grid; gap: 4px; }
.mnav nav a { color: var(--ink); text-decoration: none; font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; padding: 4px 0; transform: translateY(12px); opacity: 0; transition: transform 500ms var(--ease), opacity 500ms var(--ease), color 200ms; }
.mnav.open nav a { transform: none; opacity: 1; }
.mnav nav a:nth-child(2) { transition-delay: 40ms; } .mnav nav a:nth-child(3) { transition-delay: 80ms; } .mnav nav a:nth-child(4) { transition-delay: 120ms; } .mnav nav a:nth-child(5) { transition-delay: 160ms; }
.mnav nav a:hover { color: var(--accent); }
.mnav .btn { align-self: flex-start; }
body.menu-open { overflow: hidden; }
body.menu-open .top { background: transparent; backdrop-filter: none; transform: none; }
.act { margin-left: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform 300ms var(--ease), background-color 200ms; }
.btn svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { background: #ffc06a; }
.btn.sm { height: 38px; padding: 0 18px; font-size: 0.9375rem; }
.btn.ghost { background: var(--surface-2); color: var(--ink); }
.btn.ghost:hover { background: #1a2330; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero: engine above, everything centered below */
.hero { position: relative; padding: 76px 0 clamp(48px, 8vh, 96px); overflow: hidden; }
.stage { --sh: clamp(320px, 62vh, 760px); position: relative; height: var(--sh); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 18%; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.stage.dragging { cursor: grabbing; }
.stage:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 12px; }
/* the render turntable: a 3:2 frame that fits the stage, edges faded into the night background */
.frame { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(100%, calc(var(--sh) * 1.5)); aspect-ratio: 3 / 2;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 80%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 80%, transparent); mask-composite: intersect; }
.frame img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; transition: opacity 240ms var(--ease), transform 600ms var(--ease); }
.frame img.out { opacity: 0; transform: scale(0.985); }
/* the turning engine: two neighbouring renders blended on a canvas over the still, so it spins smoothly */
.frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 240ms var(--ease); }
.frame canvas.live { opacity: 1; }
/* live 3D engine (hero3d.js) over the still; the still stays for the inside views and when WebGL is missing */
.stage canvas.gl { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity 900ms var(--ease); pointer-events: none; }
.stage.gl canvas.gl { opacity: 1; }
.stage .frame { transition: opacity 600ms var(--ease); }
.stage.gl .frame { opacity: 0; }
.stage.gl.inside canvas.gl { opacity: 0; }
.stage.gl.inside .frame { opacity: 1; }
/* the wordmark: readable, under the engine like a stage it stands on */
.hero .stage .wordmark, .stage .wordmark { position: absolute; z-index: 1; left: 0; right: 0; top: auto; bottom: 36px; transform: none; padding: 0 var(--m); opacity: 1; pointer-events: none; }
.stage .wordmark svg { display: block; width: min(100%, 1040px); margin: 0 auto; height: auto; }
.stage .wordmark text { fill: url(#wm-fill); stroke: url(#shine); stroke-width: 1.4; stroke-opacity: 0.8; }
.parts { position: absolute; z-index: 3; top: 60px; left: 50%; transform: translateX(-50%); display: inline-flex; gap: 6px; transition: opacity 300ms; }
.parts[hidden] { display: none; }
.chip { white-space: nowrap; appearance: none; font: inherit; font-size: 0.8125rem; font-weight: 600; color: var(--muted); background: rgba(12, 17, 23, 0.72); border: 1px solid var(--line); border-radius: 999px; height: 30px; padding: 0 12px; cursor: pointer; transition: color 200ms, border-color 200ms; }
.chip.on { color: var(--accent); border-color: var(--accent); }
.cr { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: -14px; white-space: nowrap; margin: 0; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; margin-top: 22px; display: flex; flex-direction: column; align-items: center; text-align: center; cursor: auto; }
.hero h1 { font-size: clamp(2.75rem, 1rem + 6.4vw, 7.25rem); }
.hero h1 .line { display: inline-block; }
.hero .lead { margin: 22px auto 0; max-width: 40ch; color: #d6dbe3; }
.hero .btns { justify-content: center; }
.hero .inst { margin-top: 36px; }
.view { position: absolute; z-index: 3; top: 12px; left: 50%; transform: translateX(-50%); display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(12, 17, 23, 0.8); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.seg { appearance: none; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.875rem; font-weight: 600; height: 36px; padding: 0 18px; border-radius: 999px; cursor: pointer; transition: background-color 300ms var(--ease), color 300ms; }
.seg.on { background: var(--accent); color: var(--accent-ink); }
.hint { position: absolute; z-index: 3; bottom: 6px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--muted); white-space: nowrap; transition: opacity 600ms; pointer-events: none; }
.hint svg { width: 16px; height: 16px; animation: spin 6s linear infinite; }
.hint.gone { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.rise { animation: rise 1100ms var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.panel { background: rgba(12, 17, 23, 0.72); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(8px); }
.inst { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(560px, 100%); }
.inst .cell { padding: 14px 16px 12px; text-align: center; border-right: 1px solid var(--line); }
.inst .cell:nth-child(3) { border-right: 0; }
.inst .lab { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.inst .val { font-weight: 600; font-size: 1rem; margin-top: 8px; }
.inst .big { font-weight: 600; font-size: 1.5rem; line-height: 1; }
.inst .big small { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.inst .sub { font-size: 0.6875rem; color: var(--muted); margin-top: 8px; }
.inst .foot { grid-column: 1 / -1; border-top: 1px solid var(--line); font-size: 0.6875rem; color: var(--muted); text-align: center; padding: 7px; }
.travel { position: relative; height: 16px; border-radius: 8px; background: #0a0e13; border: 1px solid var(--line); }
.travel span { position: absolute; top: 2px; width: 8px; height: 10px; border-radius: 3px; background: var(--green); box-shadow: 0 0 10px rgba(94, 242, 176, 0.6); }
.meter { height: 6px; border-radius: 3px; background: #1a222d; margin: 5px 0 0; overflow: hidden; }
.meter span { display: block; height: 100%; width: 70%; background: var(--accent); border-radius: 3px; }

/* bands: every heading, subtitle and button is centered */
.band { position: relative; padding: clamp(72px, 9vw, 132px) 0; overflow: hidden; }
.band.alt { background: rgba(8, 11, 16, 0.78); }
.band > .wrap { position: relative; z-index: 1; }
.head { text-align: center; max-width: 900px; margin: 0 auto; }
.sublead { color: var(--muted); font-size: var(--lead); line-height: 1.4; margin: 18px auto 0; max-width: 40ch; }
.steps { list-style: none; padding: 0; margin: clamp(48px, 7vw, 88px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; text-align: center; }
.steps li { border-top: 1px solid var(--line); padding: 26px 8px 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 50%; width: 0; height: 2px; background: var(--accent); transform: translateX(-50%); transition: width 1200ms var(--ease) 300ms; }
.steps li.on::before { width: 64px; }
.steps .n { display: block; color: var(--accent); font-weight: 600; font-size: 0.875rem; margin-bottom: 18px; }
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--muted); max-width: 36ch; margin: 0 auto; }

.sim-card { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; padding: 18px; background: linear-gradient(180deg, #0c1117, #080b10); border: 1px solid var(--line); border-radius: 22px; }
.engine2 { width: 100%; height: 100%; min-height: 340px; border-radius: 14px; background: #04060a; }
.ctl { padding: 28px 12px 12px; text-align: center; }
.ctl h3 { font-size: 1.125rem; margin-bottom: 18px; }
.ctl input[type=range] { width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--fill, 100%), #2a3340 var(--fill, 100%)); outline: none; margin: 10px 0; }
.ctl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #ffd08a; border: 3px solid var(--accent); box-shadow: 0 0 16px rgba(255, 179, 71, 0.7); cursor: pointer; }
.ctl input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #ffd08a; border: 3px solid var(--accent); box-shadow: 0 0 16px rgba(255, 179, 71, 0.7); cursor: pointer; }
.ends { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--muted); margin-top: 6px; }
.ctl dl { margin: 26px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ctl dl div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; }
.ctl dt { color: var(--muted); font-size: 0.8125rem; }
.ctl dd { margin: 4px 0 0; font-weight: 600; font-size: 1.375rem; transition: color 400ms; }
.ctl dd.flash { color: var(--accent); }

.stats { list-style: none; margin: clamp(44px, 6vw, 72px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1100px; }
.stats li { text-align: center; padding: 30px 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--surface), transparent); transition: transform 500ms var(--ease), border-color 300ms; }
.stats li:hover { transform: translateY(-4px); border-color: rgba(255, 179, 71, 0.45); }
.stats b { display: block; font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stats span { display: block; margin: 14px auto 0; color: var(--muted); font-size: 0.9375rem; max-width: 26ch; }
.stats strong { color: var(--ink); font-weight: 600; }

.uses { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: center; }
.uses article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px 26px; transition: transform 500ms var(--ease), border-color 300ms; }
.uses article:hover { transform: translateY(-4px); border-color: rgba(255, 179, 71, 0.45); }
.uses h3 { margin-bottom: 12px; }
.uses p:not(.eyebrow) { color: var(--muted); max-width: 34ch; margin: 0 auto; }

.road { list-style: none; padding: 0; margin: clamp(44px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; text-align: center; }
.road::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 7px; height: 2px; background: var(--line); }
.road::after { content: ""; position: absolute; left: 12.5%; top: 7px; height: 2px; width: 0; background: var(--accent); transition: width 1600ms var(--ease) 300ms; }
.road.on::after { width: 37.5%; }
.road li { position: relative; padding: 0 12px; }
.road .dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid #3a4452; margin: 0 auto 22px; position: relative; z-index: 1; }
.road .done .dot { background: var(--accent); border-color: var(--accent); }
.road .next .dot { border-color: var(--accent); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 179, 71, 0.45); } 100% { box-shadow: 0 0 0 14px rgba(255, 179, 71, 0); } }
.road h3 { font-size: 1.25rem; margin-bottom: 8px; }
.road p { color: var(--muted); font-size: 0.9375rem; max-width: 26ch; margin: 0 auto; }
.banner { margin: 56px auto 0; max-width: 760px; text-align: center; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: var(--small); }

/* night sky: a faint blueprint grid and two slow running lights behind everything */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(120, 140, 165, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 140, 165, 0.06) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%); }
.sky::before, .sky::after { content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: 0.16; animation: drift 28s ease-in-out infinite alternate; }
.sky::before { background: radial-gradient(circle, #ffb347, transparent 65%); left: -18vmax; top: -12vmax; }
.sky::after { background: radial-gradient(circle, #5ef2b0, transparent 65%); right: -22vmax; top: 30vh; opacity: 0.08; animation-duration: 34s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate(14vmax, 18vh) scale(1.15); } }
body { background: var(--bg); isolation: isolate; }

/* giant shimmering outline words, the footer wordmark's cousins */
.ghostword { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 0 var(--m); pointer-events: none; z-index: 0; opacity: 0.2; }
.ghostword svg { width: 100%; height: auto; }
.ghostword text { font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 200px; letter-spacing: -0.04em; fill: none; stroke: url(#shine); stroke-width: 1.2; }
.hero .ghostword { top: 34%; opacity: 0.28; }
.stage, .hero-copy { position: relative; z-index: 1; }

/* problem */
/* the problem: each pain is a row, words on one side and an animated scene on the other */
.pains { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: clamp(20px, 2.4vw, 32px); }
.pain { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); align-items: center; gap: clamp(24px, 3vw, 56px); padding: clamp(20px, 2.4vw, 36px); min-height: min(760px, 52vw); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(120deg, rgba(255, 179, 71, 0.06), rgba(12, 17, 23, 0.6) 45%); overflow: hidden; transition: border-color 300ms; }
.pain:nth-child(even) .pain-copy { order: 2; }
.pain:nth-child(even) { grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.62fr); }
.pain:hover { border-color: rgba(255, 179, 71, 0.4); }
.pain-copy { text-align: center; padding: 0 clamp(0px, 1vw, 16px); }
.pain .viz { align-self: stretch; display: grid; place-items: center; }
.pain .viz-svg { max-height: 100%; }
.pains .pn { display: block; font-size: clamp(4rem, 2rem + 6vw, 9rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 179, 71, 0.7); margin-bottom: 20px; }
.pains h3 { margin-bottom: 18px; font-size: clamp(1.75rem, 1.1rem + 2vw, 3.25rem); letter-spacing: -0.035em; }
.pains p { color: var(--muted); max-width: 30ch; margin: 0 auto; font-size: var(--lead); line-height: 1.45; }

/* animated scenes (inline SVG, no images) */
.viz { position: relative; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 40%, #0d131b, #070a0f); overflow: hidden; }
.viz-svg { display: block; width: 100%; height: auto; }
.viz text { font-family: inherit; fill: var(--muted); letter-spacing: 0.02em; }
.viz .t-xs { font-size: 12px; fill: #c9d2e0; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.viz .t-s { font-size: 15px; }
.viz .t-m { font-size: 22px; font-weight: 600; fill: var(--ink); letter-spacing: -0.01em; }
.viz .t-l { font-size: 40px; font-weight: 600; fill: var(--accent); letter-spacing: -0.03em; }
.viz .t-ink { fill: var(--accent-ink); }
.viz .t-r { fill: #ff6b5e; font-weight: 600; }
.viz .t-hud { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; fill: #e8eefc; }
.viz .t-hud.dim { fill: var(--muted); }
.viz .v3-fan { transform-box: view-box; transform-origin: 0 0; }
.viz :is(.v2-x, .v2-can, .v3-vib, .v3-shake, .fa-bob, .fw-bob, .shim) { transform-box: fill-box; transform-origin: center; }
.viz :is(.v1-cell, .v3-pow, .hud-bar, .beam) { transform-box: fill-box; }
.viz:not(.running) * { animation-play-state: paused !important; }

/* 01 hours, not days */
.v1 .v1-batt { stroke-dasharray: 0 100; animation: v1-batt 9s var(--ease) infinite; }
.v1 .v1-drone { transform-box: view-box; transform-origin: 280px 196px; animation: v1-drone 9s ease-in-out infinite; }
.v1 .v1-cell { transform-origin: left center; animation: v1-cell 9s ease-in-out infinite; }
.v1 .v1-gap, .v1 .v1-gaplab { opacity: 0; animation: v1-gap 9s ease-in-out infinite; }
@keyframes v1-batt { 0% { stroke-dasharray: 0 100; opacity: 1; } 42% { stroke-dasharray: 18 100; } 88% { stroke-dasharray: 18 100; opacity: 1; } 96%, 100% { stroke-dasharray: 18 100; opacity: 0; } }
@keyframes v1-drone { 0% { transform: rotate(0deg); opacity: 1; } 42% { transform: rotate(64.8deg); opacity: 1; } 50% { transform: rotate(64.8deg); opacity: 0; } 94% { transform: rotate(0deg); opacity: 0; } 100% { transform: rotate(0deg); opacity: 1; } }
@keyframes v1-cell { 0% { transform: scaleX(1); fill: #ffb347; } 40% { transform: scaleX(0.08); fill: #ffb347; } 44% { transform: scaleX(0.08); fill: #ff6b5e; } 90% { transform: scaleX(0.08); fill: #ff6b5e; } 100% { transform: scaleX(1); fill: #ffb347; } }
@keyframes v1-gap { 0%, 42% { opacity: 0; } 50% { opacity: 1; } 58% { opacity: 0.45; } 66% { opacity: 1; } 74% { opacity: 0.45; } 82% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* 02 the wrong fuel */
.v2 .v2-wave { animation: v2-wave 4s linear infinite; }
.v2 .v2-drop { animation: v2-drop 2.4s cubic-bezier(0.5, 0, 0.9, 0.6) infinite; }
.v2 .v2-x { animation: v2-x 0.6s ease-out infinite; }
.v2 .v2-can { animation: v2-can 7s var(--ease) infinite; }
.v2 .v2-lab { animation: v2-lab 7s ease infinite; }
@keyframes v2-wave { to { transform: translateX(60px); } }
@keyframes v2-drop { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(128px); opacity: 0; } }
@keyframes v2-x { 0% { transform: scale(1); } 30% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes v2-can { 0% { transform: translateX(330px); opacity: 0; } 12% { opacity: 1; } 40% { transform: translateX(0); } 84% { transform: translateX(0); opacity: 1; } 96%, 100% { transform: translateX(0) translateY(6px); opacity: 0; } }
@keyframes v2-lab { 0%, 34% { opacity: 0; } 46%, 84% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* 03 small engines struggle */
.v3 .v3-fan { animation: spin 0.45s linear infinite; }
.v3 .v3-drip { animation: v3-drip 0.78s cubic-bezier(0.5, 0, 1, 1) infinite; }
.v3 .v3-pow { transform-origin: left center; animation: v3-pow 1.4s ease-in-out infinite; }
.v3 .v3-shake { animation: v3-shake 0.18s steps(2) infinite; }
.v3 .v3-vib { animation: v3-vib 0.6s ease-out infinite; }
.v3 .v3-ember { opacity: 0; animation: v3-ember 1.8s ease-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes v3-drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(70px); opacity: 0.2; } }
@keyframes v3-pow { 0%, 100% { transform: scaleX(0.8); } 50% { transform: scaleX(1.15); } }
@keyframes v3-shake { 0% { transform: translate(-1.6px, 0.6px) rotate(-0.6deg); } 50% { transform: translate(1.6px, -0.8px) rotate(0.6deg); } 100% { transform: translate(-0.8px, 1px) rotate(-0.3deg); } }
@keyframes v3-vib { 0% { opacity: 0.9; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes v3-ember { 0% { opacity: 0; transform: translate(0, 0); } 8% { opacity: 1; } 40%, 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }

/* built for long days: two cinematic scenes */
.films { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.film { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 8 / 6.2; isolation: isolate; text-align: left; }
.film .viz { position: absolute; inset: 0; border: 0; border-radius: 0; }
.film .viz-svg { width: 100%; height: 100%; transition: transform 1600ms var(--ease); }
.film:hover .viz-svg { transform: scale(1.03); }
.film-copy { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(22px, 3vw, 40px); padding-top: 70px; background: linear-gradient(to top, rgba(5, 7, 10, 0.92) 40%, rgba(5, 7, 10, 0)); }
.film-copy h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.film-copy p:not(.eyebrow) { color: #c3cad5; max-width: 44ch; margin: 0; }
.hud { position: absolute; inset: clamp(14px, 2vw, 22px); z-index: 1; pointer-events: none; display: flex; justify-content: space-between; align-items: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #e8eefc; }
.hud::before, .hud::after { content: ""; position: absolute; width: 26px; height: 26px; border: 1.5px solid rgba(255, 179, 71, 0.6); }
.hud::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.hud::after { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.hud-l { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0 0 14px; }
.hud-l i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 2.3s steps(1) infinite; }
.hud-r { display: grid; justify-items: end; gap: 8px; padding: 12px 14px 0 0; color: var(--muted); }
.hud-r b { display: block; width: clamp(90px, 12vw, 160px); height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.hud-r em { display: block; height: 100%; background: var(--accent); transform-origin: left center; animation: hud-bar 26s linear infinite; }
.film:not(:has(.viz.running)) .hud * { animation-play-state: paused; }
/* Built for long days: photo scenes (ChatGPT images, cleaned) with code-driven motion */
.scene { container-type: size; overflow: hidden; background: #05070a; z-index: 0; }
.scene .scene-film { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease); pointer-events: none; }
.scene.has-film .scene-film { opacity: 1; }
.scene.has-film.film-on > :not(.scene-film) { visibility: hidden; }
.scene .backdrop { position: absolute; left: 50%; top: 50%; width: max(100cqw, 159.9cqh); aspect-ratio: 1586 / 992; transform: translate(-50%, -50%) scale(1.04); animation: drift-bg 48s ease-in-out infinite alternate; }
.scene .backdrop > img { display: block; width: 100%; height: 100%; }
.scene .backdrop > *:not(img) { position: absolute; }
@keyframes drift-bg { from { transform: translate(-50%, -50%) scale(1.04) translateX(-1.2%); } to { transform: translate(-50%, -50%) scale(1.1) translateX(1.2%); } }
.film:hover .scene .backdrop { animation-duration: 32s; }
/* in the air */
.scene-air .stars { inset: 0 0 62% 0; }
.scene-air .stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px rgba(255, 255, 255, 0.8); animation: tw 4s ease-in-out infinite; }
.scene-air .town { left: 12%; top: 53%; width: 44%; height: 9%; background: radial-gradient(closest-side, rgba(255, 179, 71, 0.22), transparent); animation: town 5s ease-in-out infinite; }
@keyframes town { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.scene-air .craft { position: absolute; z-index: 1; left: 0; top: 10%; width: 60%; animation: fly 30s linear infinite; animation-delay: -9s; }
.scene-air .bank { position: relative; transform: scaleX(-1); animation: bank 7s ease-in-out infinite; }
.scene-air .bank img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45)); }
@keyframes fly { 0% { transform: translateX(-62cqw); opacity: 0; } 7% { opacity: 1; } 93% { opacity: 1; } 100% { transform: translateX(78cqw); opacity: 0; } }
@keyframes bank { 0%, 100% { transform: scaleX(-1) translateY(-1.5%) rotate(-1.2deg); } 50% { transform: scaleX(-1) translateY(2.5%) rotate(1.4deg); } }
.scene-air .prop { position: absolute; left: 88.9%; top: 75.4%; width: 3.2%; aspect-ratio: 1; transform: translate(-50%, -50%) scaleX(0.42) scaleY(5.6); border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(235, 240, 250, 0.42) 0deg 14deg, rgba(235, 240, 250, 0.06) 14deg 90deg); animation: prop 0.12s linear infinite; mix-blend-mode: screen; }
@keyframes prop { from { background-position: 0 0; filter: blur(0.4px); rotate: 0deg; } to { rotate: 360deg; filter: blur(0.6px); } }
.scene-air .nav, .scene-air .strobe { position: absolute; width: 0.7%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.scene-air .nav.red { left: 98.6%; top: 2.6%; background: #ff4d4d; box-shadow: 0 0 10px 3px rgba(255, 77, 77, 0.8); animation: blink 1.6s steps(1) infinite; }
.scene-air .nav.green { left: 1.2%; top: 97.4%; background: #5ef2b0; box-shadow: 0 0 10px 3px rgba(94, 242, 176, 0.8); animation: blink 1.6s steps(1) infinite; animation-delay: -0.8s; }
.scene-air .strobe { left: 33.6%; top: 56.6%; width: 0.9%; background: #fff; box-shadow: 0 0 16px 6px rgba(255, 255, 255, 0.9); opacity: 0; animation: strobe 1.9s linear infinite; }
/* on the water */
.scene-sea .beacon { left: 9.46%; top: 35.1%; width: 2.2%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 236, 190, 1), rgba(255, 179, 71, 0.6) 40%, transparent); animation: beacon 4s ease-in-out infinite; }
.scene-sea .beam { left: 9.46%; top: 35.1%; width: 26%; height: 3%; transform-origin: 0 50%; transform: translateY(-50%); background: linear-gradient(90deg, rgba(255, 220, 160, 0.35), transparent); clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 55%); animation: beam-sweep 4s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { opacity: 0.25; scale: 0.8; } 45%, 55% { opacity: 1; scale: 1.5; } }
@keyframes beam-sweep { 0%, 100% { opacity: 0; transform: translateY(-50%) scaleX(0.5); } 50% { opacity: 1; transform: translateY(-50%) scaleX(1); } }
.scene-sea .backdrop { animation-name: drift-sea; }
@keyframes drift-sea { from { transform: translate(-57%, -50%) scale(1.04) translateX(-1%); } to { transform: translate(-57%, -50%) scale(1.09) translateX(1%); } }
.film:has(.scene-sea) .hud { flex-direction: column; justify-content: flex-start; }
.film:has(.scene-sea) .hud-r { justify-items: start; padding: 6px 0 0 14px; }
.scene-sea .glint { left: 81.3%; top: 0; bottom: 0; width: 0; }
.scene-sea .glint i { position: absolute; left: 0; height: 0.35%; transform: translateX(-50%); border-radius: 2px; background: rgba(240, 244, 255, 0.85); filter: blur(0.5px); animation: shim 2.4s ease-in-out infinite; }
.scene-sea .vessel { position: absolute; z-index: 1; left: 20%; top: 14%; width: 60%; }
.scene-sea .ride { position: relative; transform-origin: 60% 88%; animation: ride 6.5s ease-in-out infinite; }
.scene-sea .ride img { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5)); }
@keyframes ride { 0%, 100% { transform: translateY(0) rotate(-0.8deg); } 25% { transform: translateY(1.6%) rotate(0.6deg); } 50% { transform: translateY(-0.6%) rotate(1.4deg); } 75% { transform: translateY(1%) rotate(-0.2deg); } }
.scene-sea .foam { position: absolute; left: 72%; top: 92%; width: 26%; height: 14%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(235, 242, 255, 0.55), rgba(235, 242, 255, 0.15) 55%, transparent); filter: blur(2px); animation: foam 1.3s ease-in-out infinite; }
@keyframes foam { 0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92, 0.85); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08, 1.12); } }
.scene-sea .wake { position: absolute; left: -22%; top: 87%; width: 82%; height: 7%; border-radius: 50%; background: linear-gradient(90deg, transparent, rgba(225, 235, 250, 0.10) 30%, rgba(225, 235, 250, 0.38) 85%, rgba(225, 235, 250, 0.5)); background-size: 100% 100%; filter: blur(3px); animation: wake 2.6s ease-in-out infinite; }
@keyframes wake { 0%, 100% { opacity: 0.55; transform: scaleY(0.85); } 50% { opacity: 1; transform: scaleY(1.15); } }
.scene-sea .lamp { position: absolute; width: 1%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.scene-sea .lamp.mast { left: 33.5%; top: 3.2%; width: 2.2%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)); animation: blink 2.6s ease-in-out infinite; }
.scene-sea .lamp.green { left: 86.7%; top: 71%; background: radial-gradient(closest-side, rgba(94, 242, 176, 0.95), rgba(94, 242, 176, 0)); width: 2.6%; animation: glow 2s ease-in-out infinite; }
.scene-sea .lamp.red { left: 96.5%; top: 68.1%; background: radial-gradient(closest-side, rgba(255, 77, 77, 0.95), rgba(255, 77, 77, 0)); width: 2.6%; animation: glow 2s ease-in-out infinite; animation-delay: -1s; }
@keyframes glow { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.made { margin: 20px auto 0; max-width: 760px; text-align: center; padding: 26px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.made h3 { margin-bottom: 8px; }
.made p:not(.eyebrow) { color: var(--muted); margin: 0; }
.viz .tw { animation: tw 4s ease-in-out infinite; }
.viz .blink { animation: blink 1.6s steps(1) infinite; }
.viz .blink.g { animation-duration: 2.3s; }
.viz .strobe { animation: strobe 1.9s linear infinite; }
@keyframes strobe { 0%, 4%, 10%, 100% { opacity: 0; } 2%, 7% { opacity: 1; } }
.viz .drift { animation: drift 60s linear infinite; }
.viz .fa-fly { animation: fa-fly 30s linear infinite; animation-delay: -11s; }
.viz .fa-bob { animation: bob 4s ease-in-out infinite; }
.viz .fa-sunrise { animation: sunrise 26s ease-in-out infinite alternate; }
.viz .hud-bar { transform-origin: left center; animation: hud-bar 26s linear infinite; }
.viz .shim { animation: shim 2.4s ease-in-out infinite; }
.viz .beam { transform-origin: right center; animation: beam 5s ease-in-out infinite; }
.viz .wv { animation: wave 14s linear infinite; }
.viz .w2 { animation-duration: 10s; } .viz .w3 { animation-duration: 7s; } .viz .w4 { animation-duration: 5s; }
.viz .fw-bob { animation: boat 5s ease-in-out infinite; }
.viz .wake { animation: wake 2.5s ease-in-out infinite; }
@keyframes tw { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: 0.15; } }
@keyframes drift { to { transform: translateX(-800px); } }
@keyframes fa-fly { 0% { transform: translateX(150px); opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(700px); opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(-3px) rotate(-1deg); } 50% { transform: translateY(4px) rotate(1deg); } }
@keyframes sunrise { from { transform: translateY(40px); opacity: 0.7; } to { transform: translateY(-6px); opacity: 1; } }
@keyframes hud-bar { from { transform: scaleX(0.02); } to { transform: scaleX(1); } }
@keyframes shim { 0%, 100% { opacity: 0.35; transform: scaleX(0.8); } 50% { opacity: 1; transform: scaleX(1.15); } }
@keyframes beam { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
@keyframes wave { to { transform: translateX(-200px); } }
@keyframes boat { 0%, 100% { transform: translateY(-3px) rotate(-2deg); } 50% { transform: translateY(4px) rotate(2deg); } }
@keyframes wake { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* answer */
.answer { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.answer-img { position: relative; }
.answer-img img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.answer-img .cr { bottom: 4px; }
.answer-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.answer-copy .sublead { margin-top: 18px; }
.answer-copy .btns { justify-content: center; }
.mini { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 520px; }
.mini li { border: 1px solid var(--line); border-radius: 14px; padding: 16px 8px; background: rgba(12, 17, 23, 0.7); }
.mini b { display: block; font-size: 2.25rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.mini span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.8125rem; line-height: 1.35; }
.btns.center { justify-content: center; }

/* Pulsiqe page: section links that stay in reach */
.pq-hero { padding-bottom: clamp(32px, 5vh, 64px); }
.pq-hero h1 { font-size: clamp(3.5rem, 1rem + 9vw, 10rem); }
.subnav { position: sticky; top: 0; z-index: 40; padding: 10px 0; transition: top 500ms var(--ease); }
.top:not(.hide) ~ main .subnav { top: 72px; }
.subnav-in { display: flex; gap: 4px; justify-content: center; margin: 0 auto; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 999px; background: rgba(12, 17, 23, 0.85); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; text-decoration: none; color: var(--muted); font-size: 0.875rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; transition: background-color 300ms var(--ease), color 300ms; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { background: var(--accent); color: var(--accent-ink); }
section[id] { scroll-margin-top: 70px; }

/* inside: spread it open */
.spread-card { margin: clamp(36px, 5vw, 56px) auto 0; max-width: 1100px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, #0c1117, #06080c); }
.spread { position: relative; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: #000; }
.spread .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 120ms linear; will-change: opacity, transform; }
.open-tag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(5, 7, 10, 0.75); border: 1px solid rgba(255, 179, 71, 0.5); color: var(--accent); font-weight: 600; font-size: 0.875rem; }
.spread .cr { bottom: 10px; }
.opener { max-width: 640px; margin: 22px auto 6px; }
.opener input[type=range], .ctl input[type=range] { width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--fill, 100%), #2a3340 var(--fill, 100%)); outline: none; margin: 10px 0; }
.opener input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #ffd08a; border: 3px solid var(--accent); box-shadow: 0 0 16px rgba(255, 179, 71, 0.7); cursor: pointer; }
.opener input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #ffd08a; border: 3px solid var(--accent); box-shadow: 0 0 16px rgba(255, 179, 71, 0.7); cursor: pointer; }
.details { margin: 28px auto 0; max-width: 1100px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.details figure { margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); text-align: center; }
.details img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 900ms var(--ease); }
.details figure:hover img { transform: scale(1.04); }
.details figcaption { padding: 20px 22px 24px; }
.details h3 { margin-bottom: 8px; }
.details p { color: var(--muted); max-width: 40ch; margin: 0 auto; }

/* how it works: the cut-through drawing and its four steps */
.how-card { position: relative; margin: clamp(36px, 5vw, 56px) auto 0; max-width: 1200px; padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, #0a0e14, #040609); }
.film-tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 12px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 17, 23, 0.8); }
.film-tabs button { appearance: none; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.875rem; font-weight: 600; height: 36px; padding: 0 18px; border-radius: 999px; cursor: pointer; transition: background-color 300ms var(--ease), color 300ms; }
.film-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.film-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cyclefilm { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.cyclefilm[hidden] { display: none; }
.cyclefilm video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-step { position: absolute; left: 18px; bottom: 16px; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(5, 7, 10, 0.72); backdrop-filter: blur(6px); border: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink); }
.film-step .num { color: var(--accent); font-weight: 600; margin-right: 6px; }
.film-cr { position: absolute; right: 16px; top: 14px; margin: 0; max-width: 46ch; text-align: right; font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(232, 238, 252, 0.7); }
.how-card.filmmode .legend, .how-card.filmmode .section-view { display: none; }
.section-view { width: 100%; height: clamp(280px, 42vw, 560px); border-radius: 14px; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 10px 0 4px; font-size: 0.8125rem; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 0; }
.k-air::before { background: #e8eefc; } .k-fuel::before { background: var(--accent); } .k-gas::before { background: #96a0af; } .k-pwr::before { background: var(--green); }
.play { position: absolute; top: 24px; right: 24px; }
.cycle { list-style: none; padding: 0; margin: 24px auto 0; max-width: 1200px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cycle button { all: unset; box-sizing: border-box; display: block; width: 100%; height: 100%; cursor: pointer; text-align: center; padding: 22px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 17, 23, 0.6); transition: border-color 300ms, background-color 300ms, transform 400ms var(--ease); }
.cycle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cycle li.on button { border-color: var(--accent); background: rgba(255, 179, 71, 0.08); transform: translateY(-3px); }
.cycle .n { display: block; color: var(--accent); font-weight: 600; font-size: 0.875rem; margin-bottom: 10px; }
.cycle .t { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; margin-bottom: 8px; }
.cycle .d { display: block; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.ctl .mode { color: var(--muted); font-size: 0.9375rem; margin-bottom: 12px; }
.ctl .mode b { color: var(--ink); }

/* footer */
.foot-site { border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.fcols { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.fcols p { color: var(--muted); max-width: 52ch; font-size: 0.9375rem; margin: 16px auto 0; }
.fcols p.company { margin-top: 6px; color: var(--ink); font-weight: 600; }
.fcols nav { display: flex; gap: 8px 28px; flex-wrap: wrap; justify-content: center; }
.fcols nav a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.fcols nav a:hover { color: var(--ink); }
.giant { margin-top: 40px; padding: 0 var(--m); }
.giant svg { width: 100%; height: auto; }
.giant text { font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 200px; letter-spacing: -0.04em; fill: url(#shine); }

/* reveal */
.js [data-in] { opacity: 0; transform: translateY(32px); filter: blur(4px); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease), filter 1000ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-in].on { opacity: 1; transform: none; filter: none; }

@media (min-width: 2000px) {
  :root { --body: 1.25rem; }
  .wrap { max-width: 1760px; }
  .hero h1 { font-size: 8.5rem; }
}
@media (max-width: 980px) {
  .menu { display: none; }
  .burger { display: inline-block; }
  .act { margin-left: auto; display: flex; align-items: center; }
  .steps, .uses, .details, .films { grid-template-columns: minmax(0, 1fr); }
  .pain, .pain:nth-child(even) { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pain:nth-child(even) .pain-copy { order: 0; }
  .answer { grid-template-columns: minmax(0, 1fr); }
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sim-card { grid-template-columns: minmax(0, 1fr); }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .road::before, .road::after { display: none; }
}
@media (max-width: 520px) {
  .hero { min-height: max(100svh, 700px); }
  .stage { --sh: clamp(240px, 34vh, 300px); }
  .parts { top: auto; bottom: 2px; }
  .stage.inside .hint { opacity: 0; }
  .chip { padding: 0 9px; font-size: 0.75rem; }
  .inst .cell { padding: 10px 6px; }
  .inst .big { font-size: 1.125rem; }
  .road { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .ctl dl { grid-template-columns: 1fr 1fr; }
  .cycle { grid-template-columns: minmax(0, 1fr); }
  .section-view { height: min(640px, 150vw); }
  .subnav a { padding: 7px 11px; font-size: 0.8125rem; }
  .subnav-in { justify-content: flex-start; }
  .play { position: static; display: block; margin: 6px auto 4px; }
  .film-cr { left: 0; right: 0; top: 0; max-width: none; text-align: left; font-size: 0.5625rem; padding: 8px 12px 18px; background: linear-gradient(rgba(5, 7, 10, 0.85), rgba(5, 7, 10, 0)); }
  .film-step { left: 10px; bottom: 10px; font-size: 0.8125rem; padding: 6px 11px; }
  .film-tabs button { padding: 0 13px; }
  .mini b { font-size: 1.75rem; }
  .film { aspect-ratio: 4 / 5; }
  .scene-air .craft { width: 96%; top: 14%; }
  .scene-sea .vessel { left: 2%; width: 96%; top: 20%; }
  .scene-sea .scene-film { object-position: 62% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .hint svg, .road .next .dot, .sky::before, .sky::after { animation: none; }
  .js [data-in] { opacity: 1; transform: none; filter: none; transition: none; }
  .steps li::before, .road::after { transition: none; }
  .viz-svg *, .film .viz-svg, .hud * { animation: none !important; transition: none; }
  .scene *, .scene .backdrop { animation: none !important; }
  .scene-air .craft { transform: translateX(8cqw); }
  .scene .backdrop { transform: translate(-50%, -50%) scale(1.04); }
  .v1 .v1-batt { stroke-dasharray: 18 100; }
  .v1 .v1-gap, .v1 .v1-gaplab, .v2 .v2-lab { opacity: 1; }
  .v1 .v1-drone { transform: rotate(64.8deg); }
  .v1 .v1-cell { transform: scaleX(0.08); fill: #ff6b5e; }
}

/* signed-in console */
.console header { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.console .mark { font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.console .signin { color: var(--muted); }
.console h2 { font-size: 1.375rem; letter-spacing: -0.02em; margin: 40px 0 14px; }
.console main { padding-bottom: 64px; }
.console table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.console td, .console th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.console th { color: var(--muted); font-weight: 500; }
.console .sim { background: rgba(255, 179, 71, 0.1); border: 1px solid rgba(255, 179, 71, 0.4); color: #ffd08a; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 0.9375rem; }
.console .scroll { overflow-x: auto; }
/* the "sign-in opens soon" page, shown while the console is closed */
.closed { min-height: calc(100vh - 72px); display: grid; place-items: center; text-align: center; }
.closed h1 { font-size: clamp(2.5rem, 7vw, 5rem); margin: 12px 0 18px; }
