@font-face { font-family: "Plex Mono"; src: url("../_shared/fonts/plexmono-normal-400-latin.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "Plex Mono"; src: url("../_shared/fonts/plexmono-normal-500-latin.woff2") format("woff2"); font-weight: 500; }

:root {
  --ink: #0a0b0d;
  --ink-2: #111317;
  --steel: #2a2d33;
  --nickel: #c3c7cd;
  --nickel-2: #8d939b;
  --paper: #e6e7e9;
  --paper-2: #d7d9dc;
  --text: #eceef1;
  --muted: #8a9099;
  --accent: #ff2a7f;
  --display: "Futura", "Futura PT", "Avenir Next", "Helvetica Neue", sans-serif;
  --sans: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(24px, 4.4vw, 72px);
}
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mono { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; touch-action: pan-y; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 60px; display: flex; align-items: center; gap: 28px;
  padding: 0 var(--pad); color: var(--text); transition: color .4s, background .4s;
  background: rgba(10, 11, 13, .62); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.nav::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: currentColor; opacity: .14; }
.brand { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .34em; text-transform: uppercase; margin-right: auto; }
.links { display: flex; gap: 26px; font-size: 13.5px; font-weight: 500; letter-spacing: .01em; }
.links a { opacity: .78; transition: opacity .2s; }
.links a:hover { opacity: 1; }
.tools { display: flex; gap: 14px; }
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; display: block; }
.menu { display: none; }
.nav.light { color: #0b0c0e; background: rgba(230, 231, 233, .78); }

/* ---------- type ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 0 0 14px; }
.eyebrow.dark { color: #6b7078; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.h1 { font-family: var(--display); font-weight: 500; font-size: clamp(56px, 8.6vw, 136px); line-height: .92; letter-spacing: -.035em; margin: 0; }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5.6vw, 88px); line-height: .98; letter-spacing: -.03em; margin: 0; }
.h2.dark { color: #0b0c0e; }
.h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.015em; margin: 0; }
.w { display: inline-block; will-change: transform; }
.lede, .body { color: #b4b9c0; font-size: 16px; line-height: 1.5; max-width: 34ch; margin: 18px 0 0; }

/* ---------- buttons ---------- */
.ctas { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-size: 14.5px; font-weight: 600; letter-spacing: .005em; transition: background .25s, color .25s, transform .2s; }
.btn.solid { background: var(--text); color: #0b0c0e; }
.btn.solid:hover { background: #fff; }
.btn.ghost { color: var(--text); box-shadow: inset 0 0 0 1px rgba(236, 238, 241, .28); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px rgba(236, 238, 241, .6); }
.btn.big { height: 56px; padding: 0 26px; font-size: 15.5px; }
.btn b { font-weight: 500; transition: transform .3s; }
.btn .fill { position: absolute; border-radius: 50%; background: var(--accent); pointer-events: none; transform: translate(-50%, -50%) scale(0);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.btn .fill.go { transform: translate(-50%, -50%) scale(1); }
.btn.pressed { color: #fff; }
.btn.pressed b { transform: translateX(6px); }
.btn > span, .btn > b { position: relative; z-index: 1; }

/* ---------- stage (hero + cyclone, pinned) ---------- */
.stage { position: relative; height: 250vh; z-index: 2; }
.pin { position: sticky; top: 0; height: 100vh; overflow: hidden; pointer-events: none; }
.pin a, .pin button { pointer-events: auto; }
.hero { position: absolute; left: var(--pad); right: var(--pad); bottom: 7vh; }
.ch { display: inline-block; will-change: transform; }
.hero .lede .w, .hero .btn { will-change: transform; }
.hero .btn { transition: background .25s, color .25s; }
@media (max-width: 899px) { .hero .eyebrow { display: none; } }
.cyc { position: absolute; left: var(--pad); right: var(--pad); top: 16vh; opacity: 0; }
.cyc .body { position: fixed; left: var(--pad); bottom: 7vh; margin: 0; }
.notes, .cnotes { position: absolute; inset: 0; }
.note { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; color: #aeb3ba; opacity: 0; white-space: nowrap; }
.note i { position: absolute; height: 1px; background: rgba(200, 205, 212, .45); transform-origin: 0 50%; }
.note span { font-size: 10px; padding: 3px 6px; border: 1px solid rgba(200, 205, 212, .25); border-radius: 3px; background: rgba(10, 11, 13, .55); }

/* ---------- range ---------- */
.range { position: relative; z-index: 3; background: var(--paper); color: #0b0c0e; padding: 120px 0 90px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.rows { list-style: none; margin: 46px 0 0; padding: 0; border-top: 1px solid rgba(11, 12, 14, .14); }
.row { position: relative; display: grid; grid-template-columns: 96px 1fr 24px; gap: 20px; align-items: center; padding: 18px 0;
  border-bottom: 1px solid rgba(11, 12, 14, .14); cursor: pointer; transition: background .3s; }
.row h3 { font-family: var(--display); font-weight: 500; font-size: 23px; letter-spacing: -.015em; margin: 0 0 2px; }
.row p { margin: 0; color: #4a4f57; font-size: 14.5px; line-height: 1.4; }
.row .models { margin-top: 8px; font-size: 10px; color: #7a7f87; letter-spacing: .1em; }
.row .arr { font-size: 20px; color: #0b0c0e; opacity: .35; transition: transform .3s, opacity .3s, color .3s; }
.row:hover .arr, .row.on .arr { transform: translateX(4px); opacity: 1; color: var(--accent); }
.row.on { background: linear-gradient(90deg, rgba(255, 42, 127, .06), rgba(255, 42, 127, 0)); }
.mini { width: 96px; height: 96px; display: block; border-radius: 10px; background: #dcdee1; }
.detail { grid-column: 1 / -1; height: 0; overflow: hidden; transition: height .6s cubic-bezier(.2, .7, .2, 1); }
.detail .ph { position: relative; height: 172px; margin-top: 4px; border-radius: 12px; overflow: hidden;
  background: #121317 url(img/supersonic.jpg) 34% 40% / cover; }
.detail .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 13, .35), rgba(10, 11, 13, 0) 45%), linear-gradient(0deg, rgba(10, 11, 13, .6), rgba(10, 11, 13, 0) 40%); }
.detail .ph canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.detail .ph span { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; color: #f1f3f5; font: 600 13px/1.3 var(--sans);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.detail canvas.dg { display: block; width: 100%; height: 150px; border-radius: 12px; background: #dcdee1; margin-top: 8px; }
.detail p { margin: 10px 2px 2px; font: 500 13px/1.4 var(--sans); color: #4a4f57; letter-spacing: 0; text-transform: none; }
.row.on .detail { height: 394px; }

/* ---------- story ---------- */
.story { position: relative; z-index: 3; background: var(--ink); padding: 150px 0 110px; min-height: 100vh; }
.story .big { font-family: var(--display); font-weight: 500; font-size: clamp(120px, 17vw, 260px); line-height: .84; letter-spacing: -.05em; margin: 4px 0 30px; font-variant-numeric: tabular-nums; }
.story .h3 { color: #c9cdd3; max-width: 18ch; }
#dots { width: 100%; height: 290px; display: block; margin: 24px 0 16px; }
.story .body { max-width: 40ch; }
.story .one { color: var(--text); }
.story .fail { color: #8a9099; }
.story .one { transition: color .6s; }
.story.done .one { color: var(--accent); }

/* ---------- CTA ---------- */
.cta { position: relative; z-index: 2; height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(var(--ink), rgba(10, 11, 13, 0) 180px); }
.cta .wrap { width: 100%; padding-bottom: 12vh; }
.foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #6d727a; font-size: 10px; }
.foot p { flex-basis: 100%; margin: 4px 0 0; letter-spacing: .06em; text-transform: none; font-size: 10.5px; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .hero { left: var(--pad); bottom: 9vh; max-width: 640px; }
  .lede { font-size: 17px; }
  .cyc { left: auto; right: var(--pad); top: 50%; transform: translateY(-50%); width: 34vw; }
  .cyc .body { position: static; margin-top: 22px; }
  .rows { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 14px; align-items: start; }
  .row { grid-template-columns: 1fr; border: 1px solid rgba(11, 12, 14, .12); border-radius: 14px; padding: 18px; align-items: start; }
  .row .arr { position: absolute; right: 18px; top: 18px; }
  .mini { width: 100%; height: auto; aspect-ratio: 1; }
  .story .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; }
  .story .eyebrow, .story .big { grid-column: 1 / -1; }
  #dots { grid-column: 2; grid-row: 3 / span 2; height: 260px; margin: 0; }
}
@media (max-width: 899px) {
  .links { display: none; }
  .menu { display: block; }
  .tools .ico:first-child { display: none; }
}

/* reel: under the end card only the air stays */
html.ending main, html.ending .nav { opacity: 0; transition: opacity .45s; }
html.ending #gl { opacity: .6; transition: opacity .6s; }
