/* ==========================================================
   knuz0 — "trust boundary"
   Cool steel  = what is expected.
   Signal orange = the finding. It is used sparingly, on purpose.
   Retune everything from the variables below.
   ========================================================== */
:root {
  --bg: #06080b;
  --bg-1: #0a0d12;
  --bg-2: #0e1218;
  --ink: #eef1f5;
  --ink-2: #b9c1cd;
  --muted: #808a98;
  --faint: #4b5462;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .15);
  --steel: #9bb0cc;
  --signal: #ff7a45;
  --signal-soft: rgba(255, 122, 69, .14);
  --glass: rgba(8, 10, 14, .58);

  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #29313c var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--ink); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--signal); color: #06080b; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 6px; }

.wrap { width: min(100% - var(--pad) * 2, var(--max)); margin-inline: auto; }
.skip {
  position: fixed; left: -999px; top: 12px; z-index: 200;
  background: var(--ink); color: #06080b; padding: 10px 16px; border-radius: 10px; font-weight: 500;
}
.skip:focus { left: 12px; }

/* ---------- atmosphere ---------- */
.bg {
  position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background:
    radial-gradient(900px 560px at 90% -10%, rgba(255, 122, 69, .075), transparent 62%),
    radial-gradient(820px 620px at -12% 42%, rgba(155, 176, 204, .07), transparent 62%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: .3;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 28%, #000, transparent 82%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 28%, #000, transparent 82%);
}
.bg-glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(540px circle at var(--cx, 72%) var(--cy, 18%), rgba(155, 176, 204, .09), transparent 62%);
}
/* the 3D scene: fixed behind everything, the camera moves with the scroll */
#scene {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity 1.6s ease .2s;
}
#scene.ready { opacity: 1; }
.bg-noise {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress { position: fixed; left: 0; top: 0; width: 100%; height: 2px; z-index: 95; pointer-events: none; }
.progress i {
  display: block; height: 100%; transform-origin: left; transform: scaleX(var(--sp, 0));
  background: linear-gradient(90deg, var(--steel), var(--signal));
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 80;
  display: flex; align-items: center; gap: 30px;
  padding: 7px 7px 7px 22px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10, 13, 18, .5);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  transition: background .35s, border-color .35s;
}
.nav.scrolled { background: rgba(10, 13, 18, .82); border-color: var(--line-2); }
.brand { font: 500 15px var(--mono); letter-spacing: .02em; }
.cursor { color: var(--signal); animation: blink 1.15s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a {
  white-space: nowrap; font-size: 14px; color: var(--ink-2); padding: 9px 15px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.menu a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.menu a.cta { background: var(--ink); color: #06080b; font-weight: 500; margin-left: 6px; }
.menu a.cta:hover { background: #fff; }
.burger { display: none; }

.sheet {
  position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 0 var(--pad);
  background: rgba(6, 8, 11, .94); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s, visibility 0s .35s;
}
.sheet.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s; }
.sheet a { font-size: clamp(38px, 11vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; display: flex; align-items: baseline; gap: 16px; }
.sheet small { font: 400 12px var(--mono); color: var(--signal); letter-spacing: .1em; }

/* section rail */
.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.rail a {
  display: flex; align-items: center; gap: 10px; padding: 5px 0;
  font: 400 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.rail a span {
  opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s;
  background: rgba(10, 13, 18, .85); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line);
}
.rail a i { display: block; width: 14px; height: 1px; background: currentColor; opacity: .55; transition: width .35s var(--ease), background .3s, opacity .3s; }
.rail a:hover span { opacity: 1; transform: none; }
.rail a:hover i { opacity: 1; }
.rail a.on { color: var(--ink); }
.rail a.on i { width: 32px; background: var(--signal); opacity: 1; }

/* ---------- shared type ---------- */
.display {
  font-weight: 500; font-size: clamp(38px, 6vw, 92px); line-height: .98; letter-spacing: -.05em;
  margin: 0; text-wrap: balance;
}
.display em { color: var(--signal); font-size: 1.1em; letter-spacing: -.025em; line-height: .9; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.65; max-width: 46ch; margin: 0; }

.sec { position: relative; padding-top: clamp(150px, 18vw, 270px); }
.sec-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: clamp(40px, 5vw, 72px);
  font: 400 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.sec-head .i { color: var(--signal); }
.sec-head .rule { flex: 1; height: 1px; background: var(--line); }

/* huge outlined section numbers: they drift at their own speed, which is what gives the page depth */
.sec-num {
  position: absolute; right: calc(var(--pad) * .5); top: clamp(70px, 10vw, 170px); z-index: -1;
  font-weight: 600; font-size: clamp(200px, 34vw, 540px); line-height: .8; letter-spacing: -.08em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
  pointer-events: none; user-select: none; translate: 0 var(--py, 0px);
}

/* word-by-word heading reveal (added by JS) */
.js .display .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .16em 0; margin: 0 -.05em -.16em 0; }
.js .display .wi { display: inline-block; transform: translateY(108%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms + var(--d, 0ms)); }
.js .display.is-in .wi { transform: none; }
/* fade-up reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 150px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 8, 11, .78) 0%, rgba(6, 8, 11, .5) 30%, rgba(6, 8, 11, 0) 58%);
}
/* the hero text sits on layers: they slide against each other as the cursor moves */
.hero-inner { perspective: 1400px; }
.hero .status { translate: calc(var(--hx, 0) * -6px) calc(var(--hy, 0) * -4px); }
.hero h1 {
  font-size: clamp(48px, 8.2vw, 132px); max-width: 8em; margin: 44px 0 30px; letter-spacing: -.058em;
  translate: calc(var(--hx, 0) * -22px) calc(var(--hy, 0) * -12px);
  rotate: 0 1 0 calc(var(--hx, 0) * 2.6deg);
}
.tagline {
  display: flex; align-items: center; gap: 14px; margin: 0 0 44px;
  font-size: clamp(18px, 2vw, 28px); font-weight: 400; letter-spacing: -.03em; line-height: 1.25; color: var(--ink-2);
  translate: calc(var(--hx, 0) * -13px) calc(var(--hy, 0) * -7px);
}
.tagline::before { content: ""; flex: none; width: 32px; height: 1px; background: var(--signal); }
.hero .lead { margin-bottom: 60px; translate: calc(var(--hx, 0) * -7px) calc(var(--hy, 0) * -4px); }
.status {
  display: inline-flex; align-items: center; gap: 11px; margin: 0;
  font: 400 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  padding: 8px 16px 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .02);
}
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 69, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 122, 69, 0); } }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 24px; border-radius: 999px;
  font-weight: 500; font-size: 15px; border: 1px solid var(--line-2);
  transition: background .3s, color .3s, border-color .3s;
}
.btn .ar { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: -12px; border-radius: 50%; transition: transform .45s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn.primary { background: var(--ink); color: #06080b; border-color: var(--ink); padding-right: 14px; }
.btn.primary .ar { background: #06080b; color: var(--ink); margin-right: 0; }
.btn.primary:hover { background: #fff; }
.btn.ghost:hover { border-color: var(--ink-2); background: rgba(255, 255, 255, .05); }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 26px; margin-inline: auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  font: 400 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.cue { display: inline-flex; align-items: center; gap: 12px; }
.cue i { position: relative; width: 1px; height: 38px; background: var(--line-2); overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--signal); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { to { top: 110%; } }
.sim { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.sim b { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-left: 4px; }
.sim .sim-k { color: var(--faint); }
.sim .x, .sim .x b { color: var(--signal); }

/* ---------- ticker ---------- */
/* a solid band: it sits in front of the 3D scene instead of fading into it */
.ticker {
  position: relative; overflow: hidden; background: #090c11;
  border-block: 1px solid var(--line-2);
}
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, #090c11, rgba(9, 12, 17, 0)); }
.ticker::after { right: 0; background: linear-gradient(270deg, #090c11, rgba(9, 12, 17, 0)); }
.ticker-track { display: flex; width: max-content; padding: 24px 0; animation: tick 80s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  position: relative; white-space: nowrap; padding: 0 34px;
  font: 500 13px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.ticker span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--signal); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- track record ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); overflow-x: clip; }
.stat { padding-top: 48px; perspective: 900px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(20px, 4vw, 64px); }
.big {
  display: flex; align-items: flex-start; font-weight: 300; font-size: clamp(88px, 17vw, 250px);
  line-height: .82; letter-spacing: -.075em; font-variant-numeric: tabular-nums;
}
/* numerals tip up out of the page */
.js .stat .big {
  transform-origin: 50% 100%; transform: rotateX(-72deg) translateY(30px); opacity: 0;
  transition: transform 1.4s var(--ease), opacity .9s ease; transition-delay: calc(var(--d, 0ms) + 120ms);
}
.js .stat.in .big { transform: none; opacity: 1; }
.plus { font-size: .34em; font-weight: 400; letter-spacing: 0; color: var(--signal); margin: .12em 0 0 .08em; }
.ticks { display: grid; grid-template-columns: repeat(var(--n, 10), 1fr); gap: 3px; height: 22px; margin-top: 44px; width: min(100%, calc(var(--n, 10) * 10px)); }
.ticks i { display: block; background: var(--line-2); transition: background .3s; }
.ticks i.on { background: var(--ink-2); }
.ticks i.last.on { background: var(--signal); }
.label { margin-top: 28px; font: 400 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fine { margin: clamp(56px, 7vw, 96px) 0 0; font-size: 14.5px; color: var(--muted); max-width: 60ch; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: clamp(64px, 8vw, 120px); }
.about-head { grid-column: 1 / -1; max-width: 11em; }
.pull {
  grid-column: 1 / span 6; margin: 0; align-self: start;
  font: 400 clamp(26px, 3.1vw, 46px)/1.16 var(--serif); letter-spacing: -.01em; color: var(--ink);
}
.pull em { color: var(--signal); }
.about-body { grid-column: 8 / span 5; }
.about-body p { margin: 0 0 26px; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; }
.sub { margin: 52px 0 14px; font: 400 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.placeholder-text { color: var(--muted) !important; font-style: italic; }
.specs {
  grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .006)), var(--glass);
}
.spec { padding: 32px 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec:nth-child(4n) { border-right: 0; }
.spec:nth-last-child(-n + 4) { border-bottom: 0; }
.spec dt { margin-bottom: 14px; font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 0; font-size: 17px; line-height: 1.4; color: var(--ink); }

/* ---------- journey ---------- */
.journey-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 64px; align-items: start; }
.journey-head { grid-column: 1 / span 5; position: sticky; top: 120px; }
.year-ghost {
  margin-top: 36px; font-weight: 600; font-size: clamp(110px, 16vw, 250px); line-height: .8; letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none;
}
.timeline { grid-column: 7 / span 6; position: relative; margin: 0; padding: 0 0 0 44px; list-style: none; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; }
.timeline::before { background: var(--line-2); }
.timeline::after { background: linear-gradient(var(--signal), var(--ink-2)); transform: scaleY(var(--p, 0)); transform-origin: top; }
.timeline li { position: relative; padding-bottom: clamp(72px, 10vw, 140px); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -48.5px; top: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2); transition: background .5s, border-color .5s, box-shadow .5s;
}
.timeline li.on::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 6px var(--signal-soft); }
.timeline time { font: 400 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.timeline h3 { margin: 14px 0 14px; font-weight: 500; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.08; }
.timeline p { margin: 0; color: var(--ink-2); max-width: 46ch; line-height: 1.65; }

/* ---------- focus bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(270px, auto); gap: 22px; margin-top: clamp(56px, 7vw, 96px); }
.tile {
  position: relative; grid-column: span 3; display: flex; flex-direction: column; padding: 30px 30px 32px; min-width: 0;
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .008)), var(--glass);
  transform-style: preserve-3d;
  transition: border-color .35s, background .35s;
}
.tile--feature { grid-column: span 6; grid-row: span 2; }
/* once revealed, tiles tilt toward the cursor and their contents float above the card */
.js .tile.settled {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .3s ease-out, border-color .35s, background .35s; transition-delay: 0s;
}
.tile > .tile-top, .tile > h3, .tile > p { transform: translateZ(22px); }
.tile .panel { transform: translateZ(40px); box-shadow: 0 34px 56px -26px rgba(0, 0, 0, .9); }
/* cursor spotlight */
.tile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .07), transparent 45%);
}
.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .5), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile:hover { border-color: var(--line-2); }
/* viewfinder corners */
.corners {
  --c: var(--signal);
  position: absolute; inset: 18px; pointer-events: none; opacity: 0; transition: opacity .35s, inset .45s var(--ease);
  background:
    linear-gradient(var(--c), var(--c)) top left / 12px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 12px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 12px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 12px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 12px no-repeat;
}
.tile:hover .corners { opacity: .95; inset: 10px; }
.tile-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 60px; position: relative; }
.tile--feature .tile-top { padding-bottom: 32px; }
.n { font: 400 12px var(--mono); letter-spacing: .12em; color: var(--muted); }
.tag {
  font: 400 11px var(--mono); letter-spacing: .06em; color: var(--ink-2);
  padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px;
}
.tile h3 { position: relative; margin: 0 0 12px; font-weight: 500; font-size: 21px; letter-spacing: -.025em; line-height: 1.2; }
.tile p { position: relative; margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.tile--feature h3 { font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 16px; }
.tile--feature p { font-size: 16.5px; max-width: 40ch; color: var(--ink-2); }

.panel {
  position: relative; margin: 36px 0 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  background: rgba(4, 6, 9, .78);
}
.tile--feature .panel { margin-top: auto; }
.panel-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.panel-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel-bar em { margin-left: 10px; font: 400 12px var(--mono); color: var(--muted); }
.panel pre { margin: 0; padding: 18px 20px 20px; overflow-x: auto; font: 400 13px/1.8 var(--mono); }
.panel code { font-family: inherit; }
.panel .c { color: var(--faint); }
.panel .m { color: var(--steel); }
.panel .a { color: var(--ink); }
.panel .k { color: var(--muted); }
.panel .ok { color: var(--ink-2); }
.panel .bad { color: var(--signal); }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(110px, 14vw, 200px); }
.contact .display { font-size: clamp(44px, 8.4vw, 132px); }
.contact .lead { margin-top: 40px; }
.contact-links { list-style: none; margin: clamp(64px, 8vw, 120px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-links a {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(96px, 200px) 1fr auto; align-items: center; gap: 20px;
  padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line);
}
.contact-links a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, rgba(255, 255, 255, .045), transparent); transition: transform .6s var(--ease);
}
.contact-links a:hover::before, .contact-links a:focus-visible::before { transform: scaleX(1); }
.contact-links .k { font: 400 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-links .v { font-weight: 400; font-size: clamp(26px, 4.4vw, 62px); letter-spacing: -.045em; line-height: 1.05; transition: transform .6s var(--ease); overflow-wrap: anywhere; }
.contact-links .arr { color: var(--muted); transition: transform .6s var(--ease), color .3s; transform: rotate(-45deg); }
.contact-links a:hover .v { transform: translateX(16px); }
.contact-links a:hover .arr { transform: translateX(-8px) rotate(0); color: var(--signal); }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.foot-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  padding: 40px 0 0; font-size: 13px; color: var(--muted);
}
.foot-row .mono { font: 400 12px var(--mono); letter-spacing: .04em; }
.totop { color: var(--ink-2); transition: color .25s; }
.totop:hover { color: var(--signal); }
.wordmark {
  margin-top: 16px; text-align: center; user-select: none; white-space: nowrap;
  font-weight: 600; font-size: clamp(120px, 27vw, 420px); line-height: .78; letter-spacing: -.08em;
  height: .56em; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, 0) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark span { color: transparent; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .rail { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--feature { grid-column: span 1; grid-row: auto; }
  .tile--feature { grid-column: span 2; }
  .tile--feature .panel { margin-top: 36px; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(4n) { border-right: 1px solid var(--line); }
  .spec:nth-child(2n) { border-right: 0; }
  .spec:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .spec:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 860px) {
  .about-grid, .journey-grid { grid-template-columns: minmax(0, 1fr); }
  .about-head, .pull, .about-body, .specs, .journey-head, .timeline { grid-column: 1 / -1; }
  .journey-head { position: static; }
  .year-ghost { display: none; }
  .timeline { padding-left: 36px; }
  .timeline li::before { left: -40.5px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { left: var(--pad); right: var(--pad); transform: none; justify-content: space-between; padding: 6px 6px 6px 20px; }
  .menu { display: none; }
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); cursor: pointer; padding: 0;
  }
  .burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .hero { justify-content: flex-start; padding: 120px 0 380px; }
  .hero::after { background: linear-gradient(180deg, rgba(6, 8, 11, .55) 0%, rgba(6, 8, 11, 0) 60%); }
  .hero h1 { max-width: 9em; margin-top: 36px; }
  .hero-foot { bottom: 18px; }
  .sim { gap: 12px; }
  .sim .sim-k { display: none; }
  .sec-num { font-size: clamp(160px, 56vw, 300px); }

  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 48px; }
  .big { font-size: clamp(110px, 38vw, 190px); }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tile--feature { grid-column: span 1; }
  .specs { grid-template-columns: 1fr; }
  .spec, .spec:nth-child(2n), .spec:nth-child(4n) { border-right: 0; }
  .spec, .spec:nth-last-child(-n + 4), .spec:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .spec:last-child { border-bottom: 0; }
  .contact-links a { grid-template-columns: 1fr auto; row-gap: 6px; }
  .contact-links .k { grid-column: 1 / -1; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .display .wi { transform: none; }
  .js .stat .big { transform: none; opacity: 1; }
  .ticker-track { width: auto; flex-wrap: wrap; justify-content: center; }
  #scene { opacity: 1; }
}
