/* Datum Foundry Nine — the foundry floor */

@property --fz {
  syntax: '<number>';
  inherits: true;
  initial-value: 1;
}

:root {
  --bg: #252C27;
  --bg-deep: #1B201C;
  --scene-bg: #252C27;
  --cream: #F3F0E6;
  --sage: #C4CEB8;
  --moss: #7E8C74;
  --molten: #EE9A4C;
  --gold: #D9B46A;
  --gold-soft: #EBD3A0;
  --sea: #7DB6D8;
  --pass: #8FD8A0;
  --fail: #F0644F;
  --warn: #F0BC4E;
  --rose: #D7AFA4;

  --ink: var(--cream);
  --ink-2: rgba(243, 240, 230, 0.74);
  --ink-3: rgba(243, 240, 230, 0.5);
  --line: rgba(196, 206, 184, 0.16);
  --line-2: rgba(196, 206, 184, 0.3);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --cecil: 'Cormorant Garamond', 'Newsreader', Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 76px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
}
html, body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }
::selection { background: var(--molten); color: #1B201C; }

:focus-visible {
  outline: 2px solid var(--molten);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--cream);
  color: #1B201C;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }


/* ── Canvas and atmosphere ───────────────────────────────── */

#foundry {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  display: block;
  z-index: 0;
  background: radial-gradient(ellipse at 70% 40%, #2E3830 0%, var(--bg) 60%);
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(130% 95% at 55% 45%, transparent 52%, rgba(8, 10, 9, 0.62) 100%),
    linear-gradient(to bottom, rgba(8, 10, 9, 0.35), transparent 18%, transparent 82%, rgba(8, 10, 9, 0.4));
}
.veil::after {
  content: '';
  position: absolute;
  inset: -100px;
  opacity: 0.075;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-30px, 18px); }
  40% { transform: translate(22px, -36px); }
  60% { transform: translate(-14px, 40px); }
  80% { transform: translate(38px, 10px); }
  100% { transform: translate(0, 0); }
}

/* ── Loader ──────────────────────────────────────────────── */

.loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--bg);
  transition: opacity 0.9s var(--ease) 0.1s, visibility 0.9s 0.1s;
  animation: loader-failsafe 0s 5s forwards;
}
html:not(.js) .loader,
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

.loader__mark {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(243, 240, 230, 0.12), 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  animation: mark-rise 1.1s var(--ease) both;
}
.loader__mark img { width: 100%; height: 100%; object-fit: contain; }
@keyframes mark-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.94); }
}
.loader__bar {
  width: 180px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--load, 0));
  background: var(--molten);
  transition: transform 0.25s linear;
}
.loader__txt {
  display: flex;
  gap: 22px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── Nav, ruler, HUD ─────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--scene-bg) 92%, transparent) 30%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(#000 62%, transparent);
  mask-image: linear-gradient(#000 62%, transparent);
  transition: transform 0.5s var(--ease), opacity 0.5s;
}
.js body.is-loading .nav { opacity: 0; transform: translateY(-12px); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
}
.brand__mark {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(243, 240, 230, 0.12);
  transition: transform 0.6s var(--ease);
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand:hover .brand__mark { transform: scale(1.06); }
.brand__name { font: 500 14px/1 var(--sans); letter-spacing: 0.01em; }

.nav__links { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav__links a {
  position: relative;
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.03em;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--molten);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.ruler {
  position: fixed;
  right: clamp(14px, 1.8vw, 28px);
  top: 50%;
  z-index: 15;
  transform: translateY(-50%);
}
.ruler ol {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ruler ol::before {
  content: '';
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.ruler__cursor {
  position: absolute;
  right: 0;
  top: 4px;
  width: 1px;
  height: calc((100% - 8px) * var(--prog, 0));
  background: linear-gradient(to bottom, transparent, var(--molten));
  pointer-events: none;
}
.ruler a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--ink-3);
  text-decoration: none;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.1em;
}
.ruler__n { position: relative; width: 20px; text-align: right; transition: color 0.3s; }
.ruler__n::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 50%;
  width: 7px;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease), background 0.3s;
}
.ruler__label {
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
  white-space: nowrap;
}
.ruler a:hover .ruler__label,
.ruler a:focus-visible .ruler__label { opacity: 1; transform: none; }
.ruler a:hover,
.ruler a.is-active { color: var(--cream); }
.ruler a.is-active .ruler__n { color: var(--molten); }
.ruler a.is-active .ruler__n::after { width: 16px; background: var(--molten); }

.hud {
  position: fixed;
  left: var(--gutter);
  bottom: 22px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 18px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  pointer-events: none;
  transition: opacity 0.5s;
}
.hud b { color: var(--cream); font-weight: 500; }
.hud i { font-style: normal; }
.hud__name { color: var(--sage); }
.hud__xyz { font-variant-numeric: tabular-nums; }
.js body.is-loading .hud,
.js body.is-loading .ruler { opacity: 0; }

/* ── Type and buttons ────────────────────────────────────── */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}
.eyebrow .num { color: var(--molten); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow .num::after {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--gold, .eyebrow--gold .num { color: var(--gold); }
.eyebrow--sea .num { color: var(--sea); }

h1, h2, h3 { font-weight: 400; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--sage); }

h2 {
  margin: 0.32em 0 0.42em;
  font: 400 clamp(38px, 4.4vw, 74px)/1.0 var(--serif);
  letter-spacing: -0.032em;
  font-variation-settings: 'opsz' 72;
  text-wrap: balance;
}
.h3 { font-size: clamp(34px, 3.4vw, 54px); }

.lede {
  margin: 0;
  max-width: 34em;
  font: 300 clamp(16.5px, 1.18vw, 19.5px)/1.6 var(--sans);
  color: var(--ink-2);
  text-wrap: pretty;
}
.body {
  margin: 1em 0 0;
  max-width: 34em;
  font-size: 15.5px;
  color: var(--ink-3);
  text-wrap: pretty;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions--center { justify-content: center; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 14.5px/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn--small { padding: 11px 16px; font-size: 13px; }
.btn__arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--cream); color: #1B201C; }
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #F6C68A, var(--molten));
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn--primary:hover::before { transform: none; }
.btn--primary:hover { box-shadow: 0 10px 40px -10px rgba(238, 154, 76, 0.6); }

.btn--ghost {
  background: rgba(37, 44, 39, 0.35);
  border-color: var(--line-2);
  color: var(--cream);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(243, 240, 230, 0.6); background: rgba(243, 240, 230, 0.06); }

.btn--gold {
  background: linear-gradient(180deg, #EDD196, #C9A55B);
  color: #1A1410;
}
.btn--gold:hover { box-shadow: 0 10px 40px -10px rgba(217, 180, 106, 0.65); }
.btn--ghost-gold { border-color: rgba(217, 180, 106, 0.45); color: var(--gold-soft); background: rgba(20, 14, 12, 0.35); }
.btn--ghost-gold:hover { border-color: var(--gold); background: rgba(217, 180, 106, 0.08); }

.play {
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.pulse {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--molten);
}
.pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(3.4); opacity: 0; }
}

/* Reveal states (only when JavaScript is running) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms + 120ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

[data-split] { perspective: 900px; }
.w { display: inline-block; white-space: nowrap; }
.js [data-split] .w {
  opacity: 0;
  transform-origin: 50% 100%;
  transform: translateY(0.5em) rotateX(-80deg);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.js [data-split].is-in .w { opacity: 1; transform: none; filter: blur(0); }

/* ── Stations ────────────────────────────────────────────── */

main { position: relative; z-index: 2; }

.station {
  position: relative;
  height: calc(var(--h, 100) * 1vh);
}
.station__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--nav-h) 0 48px;
}
/* A soft scrim on the text side keeps type legible over the particles. */
.station__sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.station[data-side='left'] .station__sticky::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--scene-bg) 78%, transparent) 0%, color-mix(in srgb, var(--scene-bg) 40%, transparent) 34%, transparent 56%);
}
.station[data-side='right'] .station__sticky::before {
  background: linear-gradient(270deg, color-mix(in srgb, var(--scene-bg) 78%, transparent) 0%, color-mix(in srgb, var(--scene-bg) 40%, transparent) 34%, transparent 56%);
}

.wrap {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 calc(var(--gutter) + 64px) 0 var(--gutter);
}

.layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: center;
}
.col--text { grid-column: 1 / span 5; grid-row: 1; }
.col--card { grid-column: 8 / span 5; grid-row: 1; }
.col--narrow { grid-column: 1 / span 4; }
.layout--flip .col--text { grid-column: 8 / span 5; }
.layout--flip .col--card { grid-column: 1 / span 5; }
#release-gate .layout--flip .col--card { grid-column: 1 / span 6; }

/* Hero */
.station--hero { height: 100vh; height: 100svh; }
.hero { position: relative; }
.hero__title {
  margin: 0.3em 0 0.34em;
  font: 400 clamp(48px, 6.7vw, 116px)/0.96 var(--serif);
  letter-spacing: -0.04em;
  font-variation-settings: 'opsz' 72;
}
.hero__title em { color: var(--cream); }

/* Headline effects. --fz runs from 1 at the top of the page to 0 once you start scrolling (or on hover). */
.fx { display: inline-block; transition: --fz 0.6s var(--ease); }
.hero__title:hover .fx { --fz: 0; }
/* Blur: the phrase starts out of focus and sharpens as you scroll. */
.fx-blur {
  filter: blur(calc(var(--fz) * 0.028em));
  opacity: calc(1 - var(--fz) * 0.3);
}
.fx-blur .w {
  background: linear-gradient(100deg, #F7EDD3 5%, var(--gold) 58%, #B8864A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.fx-hot .w {
  background-image: linear-gradient(100deg, var(--cream) 0%, #F6C68A 50%, var(--molten) 100%);
}
/* Cool: the word starts molten and loses its heat. */
.fx-cool .w {
  color: color-mix(in srgb, #FFC27E calc(var(--fz) * 100%), var(--sage));
  text-shadow: 0 0 calc(var(--fz) * 0.25em) rgba(238, 154, 76, calc(var(--fz) * 0.9));
}
/* Tilt: true to the baseline at first, then a couple of degrees off. */
.fx-tilt { transform-origin: 0 85%; transform: rotate(calc((1 - var(--fz)) * -2.4deg)); }
.fx-tilt .w {
  background: linear-gradient(100deg, var(--cream) 10%, #F6C68A 55%, var(--molten) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.hero__lede {
  margin: 0;
  max-width: 31em;
  font: 300 clamp(17px, 1.3vw, 21px)/1.55 var(--sans);
  color: var(--ink-2);
}
.hero .eyebrow .pulse { margin-right: 4px; }
.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  padding-left: calc(var(--gutter) + 230px);
}
.scrollcue {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.scrollcue__line {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: var(--line);
}
.scrollcue__line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 50%;
  background: var(--molten);
  animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue {
  from { transform: translateY(-100%); }
  to { transform: translateY(200%); }
}
.hint {
  margin: 0;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Studio doors */
.doors {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.doors a {
  display: grid;
  grid-template-columns: 34px 1fr auto 22px;
  align-items: baseline;
  gap: 14px;
  padding: clamp(10px, 1.6vh, 15px) 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  text-decoration: none;
  transition: padding 0.45s var(--ease), background 0.45s;
}
.doors__n { font: 500 11px/1 var(--mono); color: var(--molten); letter-spacing: 0.08em; }
.doors__name { font: 400 clamp(19px, 1.6vw, 24px)/1.15 var(--serif); letter-spacing: -0.01em; }
.doors__what { font-size: 13px; color: var(--ink-3); text-align: right; }
.doors__go { color: var(--ink-3); transition: transform 0.45s var(--ease), color 0.3s; }
.doors a:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(238, 154, 76, 0.08), transparent 70%); }
.doors a:hover .doors__go { transform: translateX(4px); color: var(--molten); }

/* Lists */
.ticks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--ink-2);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 1px;
  background: var(--molten);
}

.steps, .process {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.steps li, .process li {
  position: relative;
  padding: 14px 10px 0 0;
  font: 400 clamp(16px, 1.3vw, 19px)/1.2 var(--serif);
  color: var(--ink-3);
  transition: color 0.5s;
}
.steps li span, .process li span {
  display: block;
  margin-bottom: 6px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.1em;
  color: var(--ink-3);
  transition: color 0.5s;
}
.steps li::before, .process li::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--molten);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.steps li.is-on, .process li.is-on { color: var(--cream); }
.steps li.is-on span, .process li.is-on span { color: var(--molten); }
.steps li.is-on::before, .process li.is-on::before { transform: scaleX(1); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
  padding: 9px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ── Cards ───────────────────────────────────────────────── */

.card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(48, 57, 50, 0.62), rgba(24, 29, 26, 0.74));
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(243, 240, 230, 0.07);
  font-size: 14px;
}
.tilt {
  transform: perspective(1200px) rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)) translateZ(calc(var(--tz, 0) * 1px));
  opacity: var(--op, 1);
  will-change: transform;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(500px circle at var(--gx, 30%) var(--gy, 0%), rgba(243, 240, 230, 0.07), transparent 45%);
}
.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.card__head b { display: block; font: 500 15px/1.2 var(--sans); }
.card__head small { display: block; color: var(--ink-3); font-size: 12px; }
.card__head--plain { justify-content: space-between; }
.card__note {
  margin: 14px 0 0;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
}
.chip {
  padding: 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Oliver chat */
.avatar {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF0CF, #F2B062 42%, #9A5321 100%);
  box-shadow: 0 0 26px rgba(238, 154, 76, 0.55);
  color: #2A1A0C;
  font: italic 500 18px/1 var(--serif);
}
.status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}
.chat__log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  position: relative;
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.msg.is-on { opacity: 1; transform: none; }
.msg--you {
  align-self: flex-end;
  background: rgba(243, 240, 230, 0.93);
  color: #1B201C;
  border-bottom-right-radius: 5px;
  transform-origin: right bottom;
}
.msg--oliver {
  align-self: flex-start;
  background: rgba(196, 206, 184, 0.09);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  transform-origin: left bottom;
}
.msg__text { visibility: hidden; }
.msg--oliver.is-typed .msg__text { visibility: visible; animation: fade-in 0.4s both; }
.typing {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  gap: 4px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  animation: typing 1s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
.msg--oliver.is-typed .typing { display: none; }
@keyframes typing {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
@keyframes fade-in { from { opacity: 0; } }

.brief {
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px dashed rgba(238, 154, 76, 0.5);
  border-radius: 13px;
  background: rgba(238, 154, 76, 0.06);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.brief.is-on { opacity: 1; transform: none; }
.brief__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--molten);
}
.brief dl { margin: 0; display: grid; gap: 6px; }
.brief dl > div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  align-items: baseline;
}
.brief.is-on dl > div { animation: row-in 0.55s var(--ease) both; }
.brief.is-on dl > div:nth-child(2) { animation-delay: 0.12s; }
.brief.is-on dl > div:nth-child(3) { animation-delay: 0.24s; }
.brief.is-on dl > div:nth-child(4) { animation-delay: 0.36s; }
@keyframes row-in { from { opacity: 0; transform: translateX(-8px); } }
.brief dt {
  font: 500 10px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.brief dd { margin: 0; font-size: 13.5px; color: var(--cream); }

/* Readiness report */
.report__top {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 14px;
}
.gauge { flex: none; width: 118px; height: 118px; transform: rotate(-90deg); overflow: visible; }
.gauge__track { fill: none; stroke: rgba(196, 206, 184, 0.13); stroke-width: 7; }
.gauge__fill {
  fill: none;
  stroke: var(--molten);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: calc(100 - var(--score, 0));
  filter: drop-shadow(0 0 6px rgba(238, 154, 76, 0.55));
}
.gauge__ticks line { stroke: rgba(196, 206, 184, 0.35); stroke-width: 1; }
.report__score { display: flex; flex-wrap: wrap; align-items: baseline; }
.report__num {
  font: 400 60px/1 var(--serif);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.report__of { margin-left: 4px; font: 400 14px/1 var(--mono); color: var(--ink-3); }
.report__score b { flex-basis: 100%; margin-top: 8px; font: 500 15px/1.2 var(--sans); color: var(--molten); }
.report__score small { flex-basis: 100%; color: var(--ink-3); font-size: 12.5px; }
.bars { list-style: none; margin: 0; padding: 0; }
.bars li {
  display: grid;
  grid-template-columns: 128px 1fr 30px;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink-2);
}
.bars i {
  position: relative;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(196, 206, 184, 0.12);
}
.bars i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-origin: left;
  transform: scaleX(calc(var(--v) / 100 * var(--f, 0)));
  background: linear-gradient(90deg, var(--moss), var(--sage) 60%, var(--cream));
}
.bars li.is-low i::after { background: linear-gradient(90deg, #B5652B, var(--molten)); }
.bars b { font: 500 12px/1 var(--mono); color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.report__next {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
}
.report__next b { color: var(--cream); font-weight: 500; }

/* Release Gate board */
.board { --row: 102px; padding-bottom: 16px; }
.board__label {
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.board__gate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.board__state {
  display: none;
  padding: 7px 12px;
  border-radius: 999px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fade-in 0.5s both;
}
.board__state--wait { background: rgba(196, 206, 184, 0.1); color: var(--sage); box-shadow: inset 0 0 0 1px var(--line-2); }
.board__state--hold { background: rgba(240, 100, 79, 0.14); color: #FF9A8A; box-shadow: inset 0 0 0 1px rgba(240, 100, 79, 0.45); }
.board__state--clear { background: rgba(143, 216, 160, 0.16); color: var(--pass); box-shadow: inset 0 0 0 1px rgba(143, 216, 160, 0.5), 0 0 30px -4px rgba(143, 216, 160, 0.45); }
.board__state--verify { background: rgba(240, 188, 78, 0.13); color: var(--warn); box-shadow: inset 0 0 0 1px rgba(240, 188, 78, 0.45); }
.board[data-stage='0'] .board__state--wait,
.board[data-stage='1'] .board__state--wait,
.board[data-stage='2'] .board__state--hold,
.board[data-stage='3'] .board__state--verify,
.board[data-stage='4'] .board__state--clear { display: inline-block; }
.board[data-stage='4'] { box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(243, 240, 230, 0.07), 0 0 0 1px rgba(143, 216, 160, 0.35); }
.board__inbox {
  height: calc(var(--row) + 26px);
  padding: 0 0 10px;
  border-bottom: 1px dashed var(--line);
}
.board__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 12px;
}
.board__col {
  height: calc(var(--row) * 2 + 34px);
  padding: 10px;
  border-radius: 12px;
  background: rgba(196, 206, 184, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
}
.board__col[data-col='blocker'] .board__label { color: #FF9A8A; }
.board__col[data-col='major'] .board__label { color: var(--warn); }
.board__col[data-col='minor'] .board__label { color: var(--sage); }
.board__cols { position: relative; }
.tickets {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  pointer-events: none;
}
.ticket {
  --c: 0;
  --y: 0px;
  --rot: 0deg;
  position: absolute;
  top: 0;
  left: calc(var(--c) * ((100% - 20px) / 3 + 10px) + 6px);
  width: calc((100% - 20px) / 3 - 12px);
  height: calc(var(--row) - 10px);
  padding: 9px 10px 9px 12px;
  border-radius: 9px;
  background: #F1EEE3;
  color: #1B201C;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.7);
  transform: translateY(var(--y)) rotate(var(--rot));
  transition: left 0.85s var(--ease), transform 0.85s var(--ease), background 0.5s;
}
.ticket p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ticket__ev {
  position: absolute;
  left: 12px;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s, transform 0.5s var(--ease);
}
.ticket__ev span {
  flex: none;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(27, 32, 28, 0.08);
  font: 500 9.5px/1 var(--mono);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.ticket__ev .ticket__fixed { display: none; background: #3FA35A; color: #fff; }
.ticket::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  transition: background 0.5s;
}
/* Stage 0: everything lands in the inbox, unsorted */
.board[data-stage='0'] .ticket { --y: calc((var(--row) + 29px) * -1); }
.board[data-stage='0'] .ticket:nth-child(1) { --c: 0; --rot: -3deg; }
.board[data-stage='0'] .ticket:nth-child(2) { --c: 0.66; --rot: 2.5deg; }
.board[data-stage='0'] .ticket:nth-child(3) { --c: 1.33; --rot: -1.5deg; }
.board[data-stage='0'] .ticket:nth-child(4) { --c: 2; --rot: 3deg; }
/* Stage 1+: sorted by severity */
.board:not([data-stage='0']) .ticket[data-sev='major'] { --c: 1; }
.board:not([data-stage='0']) .ticket[data-sev='minor'] { --c: 2; }
.board:not([data-stage='0']) .ticket[data-slot='0'] { --y: 28px; }
.board:not([data-stage='0']) .ticket[data-slot='1'] { --y: calc(28px + var(--row)); }
.board:not([data-stage='0']) .ticket[data-sev='blocker']::before { background: var(--fail); }
.board:not([data-stage='0']) .ticket[data-sev='major']::before { background: var(--warn); }
.board:not([data-stage='0']) .ticket[data-sev='minor']::before { background: var(--moss); }
.board .ticket:nth-child(2) { transition-delay: 0.08s; }
.board .ticket:nth-child(3) { transition-delay: 0.16s; }
.board .ticket:nth-child(4) { transition-delay: 0.24s; }
/* Stage 2+: evidence attached */
.board[data-stage='2'] .ticket__ev,
.board[data-stage='3'] .ticket__ev,
.board[data-stage='4'] .ticket__ev { opacity: 1; transform: none; }
/* Stage 3+: blockers repaired */
.board[data-stage='3'] .ticket[data-fix],
.board[data-stage='4'] .ticket[data-fix] { background: #DDF2E1; }
.board[data-stage='3'] .ticket[data-fix]::before,
.board[data-stage='4'] .ticket[data-fix]::before { background: #3FA35A; }
.board[data-stage='3'] .ticket[data-fix] p,
.board[data-stage='4'] .ticket[data-fix] p { text-decoration: line-through; text-decoration-color: rgba(27, 32, 28, 0.45); color: rgba(27, 32, 28, 0.55); }
.board[data-stage='3'] .ticket[data-fix] .ticket__fixed,
.board[data-stage='4'] .ticket[data-fix] .ticket__fixed { display: inline-block; }
.board[data-stage='3'] .ticket[data-fix] .ticket__ev span:last-child,
.board[data-stage='4'] .ticket[data-fix] .ticket__ev span:last-child { display: none; }

/* ── Cecil ───────────────────────────────────────────────── */

.station--cecil { --scrim: #191312; }
.layout--cecil .col--text { grid-column: 1 / span 5; }
.layout--cecil .col--card { grid-column: 7 / span 6; }
.invite {
  margin: 22px 0 0;
  font: italic 400 clamp(17px, 1.4vw, 21px)/1.3 var(--cecil);
  color: rgba(235, 211, 160, 0.82);
}
.cecil-title {
  margin: 0.12em 0 0.3em;
  font: 500 clamp(44px, 5.2vw, 86px)/0.96 var(--cecil);
  letter-spacing: -0.012em;
  color: #F6EFDD;
  text-wrap: balance;
}
.cecil-lede {
  margin: 0 0 18px;
  font: italic 400 clamp(20px, 1.65vw, 27px)/1.32 var(--cecil);
  color: rgba(243, 240, 230, 0.86);
}
.cecil-lede span { color: var(--gold); }
.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
}
.facts li {
  padding: 7px 13px;
  border: 1px solid rgba(217, 180, 106, 0.32);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--gold-soft);
  background: rgba(25, 19, 18, 0.4);
}

.trailer { margin: 0; perspective: 1600px; }
.trailer__stage {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)) translateZ(calc(var(--tz, 0) * 1px));
  opacity: var(--op, 1);
  will-change: transform;
}
.trailer__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #0E1411 url('../assets/cecil/still-corridor.jpg') center / cover;
  box-shadow:
    0 0 0 1px rgba(217, 180, 106, 0.38),
    0 50px 120px -30px rgba(0, 0, 0, 0.85),
    0 0 120px -20px rgba(232, 105, 58, 0.28);
}
.trailer__frame::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(217, 180, 106, 0.3);
  border-radius: 6px;
  pointer-events: none;
}
.trailer__video { width: 100%; height: 100%; object-fit: cover; }
.trailer__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--gx, 70%) var(--gy, 20%), rgba(255, 236, 200, 0.12), transparent 45%);
  mix-blend-mode: screen;
}
.trailer__seal {
  position: absolute;
  right: -26px;
  top: -26px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 2px solid #C9A55B;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #1A231E, #0B100D);
  color: #E3C67F;
  font: italic 500 34px/1 var(--cecil);
  transform: translateZ(70px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(217, 180, 106, 0.18);
}
.trailer__cap {
  position: absolute;
  left: 4px;
  bottom: -36px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(235, 211, 160, 0.72);
  transform: translateZ(30px);
}
.trailer__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  margin: -39px 0 0 -39px;
  display: grid;
  place-items: center;
  padding: 0 0 0 4px;
  border: 1px solid rgba(217, 180, 106, 0.65);
  border-radius: 50%;
  background: rgba(14, 20, 17, 0.5);
  color: var(--gold-soft);
  cursor: pointer;
  opacity: 0;
  transform: translateZ(50px) scale(0.9);
  transition: opacity 0.4s, transform 0.5s var(--ease), background 0.3s;
}
.trailer__play .play { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
.trailer__stage:hover .trailer__play,
.trailer__play:focus-visible { opacity: 1; transform: translateZ(50px) scale(1); }
.trailer__play:hover { background: rgba(217, 180, 106, 0.2); }
@media (hover: none) {
  .trailer__play { opacity: 1; transform: translateZ(50px) scale(1); }
}
.trailer__quote {
  margin: 66px 0 0 auto;
  max-width: 380px;
  text-align: right;
}
.trailer__quote p {
  margin: 0;
  font: italic 400 clamp(19px, 1.5vw, 23px)/1.35 var(--cecil);
  color: rgba(243, 240, 230, 0.82);
}
.trailer__quote cite {
  display: block;
  margin-top: 10px;
  font: 500 10.5px/1 var(--mono);
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.trailer__quote cite::before { content: '— '; }

/* ── The launch, in the hero ─────────────────────────────── */

.launch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(27, 32, 28, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}
.launch__tag {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rose);
  color: #1B201C;
  font: 600 10.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.launch__text b { color: var(--cream); font-weight: 600; }
.launch__go { color: var(--rose); transition: transform 0.45s var(--ease); }
.launch:hover { border-color: rgba(215, 175, 164, 0.6); background: rgba(215, 175, 164, 0.08); }
.launch:hover .launch__go { transform: translateX(4px); }

/* ── VibeHelm ────────────────────────────────────────────── */

.layout--deck .col--text { grid-column: 1 / span 5; }
.layout--deck .col--card { grid-column: 7 / span 6; }
.deck-logo { margin: 10px 0 0; }
.deck-logo img { width: min(100%, 440px); height: auto; }
.deck-tag { margin: 8px 0 0; font: italic 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); color: var(--cream); }
.modes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: 24px 0 0;
  padding: 0;
}
.modes li { display: grid; gap: 2px; padding-left: 12px; border-left: 2px solid rgba(215, 175, 164, 0.5); }
.modes b { font: 500 14px/1.3 var(--sans); color: var(--cream); }
.modes span { font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }

.deckshot {
  margin: 0;
  padding: 10px 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(48, 57, 50, 0.62), rgba(24, 29, 26, 0.8));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(243, 240, 230, 0.07);
}
.deckshot__bar { display: flex; align-items: center; gap: 6px; padding: 2px 6px 10px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.deckshot__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(243, 240, 230, 0.18); }
.deckshot__bar span { margin-left: 8px; }
.deckshot__frame { position: relative; overflow: hidden; border-radius: 10px; background: #0d100e; aspect-ratio: 1280 / 668; }
.deckshot__video { width: 100%; height: 100%; object-fit: cover; }
.deckshot__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  display: grid;
  place-items: center;
  padding: 0 0 0 4px;
  border: 1px solid rgba(243, 240, 230, 0.6);
  border-radius: 50%;
  background: rgba(14, 20, 17, 0.55);
  color: var(--cream);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s, transform 0.5s var(--ease), background 0.3s;
}
.deckshot__play .play { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
.deckshot:hover .deckshot__play, .deckshot__play:focus-visible { opacity: 1; transform: none; }
.deckshot__play:hover { background: rgba(243, 240, 230, 0.16); }
@media (hover: none) { .deckshot__play { opacity: 1; transform: none; } }
.deckshot figcaption { margin: 12px 6px 0; font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.deck-link { color: var(--rose); border-color: rgba(215, 175, 164, 0.45); }
.trailer-dialog--deck video { box-shadow: 0 0 0 1px rgba(243, 240, 230, 0.25), 0 40px 120px rgba(0, 0, 0, 0.8); }
.trailer-dialog--deck .trailer-dialog__foot a { color: var(--rose); }
.trailer-dialog--deck .trailer-dialog__foot a:hover { color: var(--cream); }
.trailer-dialog--deck .trailer-dialog__close:hover { background: rgba(243, 240, 230, 0.12); }

/* ── DF9 Labs ────────────────────────────────────────────── */

.gauntlet { display: block; color: inherit; text-decoration: none; transition: border-color 0.3s; }
.gauntlet:hover { border-color: rgba(238, 154, 76, 0.55); }
.gauntlet__list { list-style: none; margin: 0; padding: 0; }
.gauntlet__list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.gauntlet__list span { font: 500 11px/1 var(--mono); color: var(--molten); letter-spacing: 0.06em; }
.gauntlet__list b { font: 400 17px/1.2 var(--serif); }
.gauntlet__list i { font-style: normal; font-size: 12.5px; color: var(--ink-3); text-align: right; }
.gauntlet__foot { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.gauntlet__foot b { color: var(--cream); font-weight: 500; }

.trailer-dialog {
  width: min(1120px, 92vw);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}
.trailer-dialog::backdrop {
  background: rgba(8, 7, 6, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.trailer-dialog[open] .trailer-dialog__inner { animation: dialog-in 0.6s var(--ease) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(20px) scale(0.97); } }
.trailer-dialog__inner { position: relative; }
.trailer-dialog video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(217, 180, 106, 0.35), 0 40px 120px rgba(0, 0, 0, 0.8);
}
.trailer-dialog__close {
  position: absolute;
  right: 0;
  top: -52px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(217, 180, 106, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--gold-soft);
  font: 300 24px/1 var(--sans);
  cursor: pointer;
}
.trailer-dialog__close:hover { background: rgba(217, 180, 106, 0.15); }
.trailer-dialog__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(235, 211, 160, 0.7);
}
.trailer-dialog__foot a { color: var(--gold); text-decoration: none; }
.trailer-dialog__foot a:hover { color: var(--gold-soft); }

/* ── Orbital Fortune ─────────────────────────────────────── */

.textlink {
  display: inline-flex;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(125, 182, 216, 0.45);
  font: 500 15px/1 var(--mono);
  color: var(--sea);
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, gap 0.3s var(--ease);
}
.textlink:hover { color: var(--cream); border-color: var(--cream); gap: 12px; }

.layout--orbital .col--text { grid-column: 1 / span 4; }
.layout--orbital .col--card { grid-column: 6 / span 7; }
.of-logo { margin: 18px 0 10px -3%; line-height: 0; }
.of-logo img {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.45));
}
.of-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  font: 500 11px/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea);
}
.of-status .pulse { background: var(--sea); }

.shiptease {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #0B1118;
  box-shadow:
    0 0 0 1px rgba(125, 182, 216, 0.3),
    0 50px 120px -30px rgba(0, 0, 0, 0.85),
    0 0 140px -30px rgba(238, 154, 76, 0.32);
}
.shiptease picture, .shiptease img { display: block; width: 100%; height: 100%; }
.shiptease img {
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease);
}
.shiptease:hover img { transform: scale(1.09) translateX(-1%); }
/* Targeting brackets in each corner */
.shiptease::before {
  content: '';
  position: absolute;
  inset: 14px;
  z-index: 2;
  pointer-events: none;
  --c: rgba(211, 234, 246, 0.75);
  background:
    linear-gradient(var(--c), var(--c)) top left / 18px 1px,
    linear-gradient(var(--c), var(--c)) top left / 1px 18px,
    linear-gradient(var(--c), var(--c)) top right / 18px 1px,
    linear-gradient(var(--c), var(--c)) top right / 1px 18px,
    linear-gradient(var(--c), var(--c)) bottom left / 18px 1px,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 18px,
    linear-gradient(var(--c), var(--c)) bottom right / 18px 1px,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 18px;
  background-repeat: no-repeat;
}
.shiptease::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 10, 16, 0.72), transparent 34%);
}
.shiptease__hud {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(211, 234, 246, 0.85);
}
.shiptease__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 30%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(125, 182, 216, 0.1) 85%, rgba(211, 234, 246, 0.35) 100%);
  mix-blend-mode: screen;
  animation: scan 5.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes scan {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(380%); }
}

/* ── How we work: the drum ───────────────────────────────── */

.drum {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 26px 0 0;
  max-width: 560px;
}
.drum__label {
  flex: none;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--molten);
}
.drum__window {
  --face: 52px;
  --radius: 63px;
  position: relative;
  flex: 1;
  height: 132px;
  overflow: hidden;
  perspective: 520px;
  -webkit-mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
  mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
}
.drum__ring {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--radius) * -1)) rotateX(calc(var(--drum, 0) * 1deg));
}
.drum__ring li {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: var(--face);
  margin-top: calc(var(--face) / -2);
  font: italic 400 clamp(28px, 2.6vw, 40px)/var(--face) var(--serif);
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--cream);
  backface-visibility: hidden;
  transform: rotateX(calc(var(--i) * -45deg)) translateZ(var(--radius));
}

/* ── Datum ───────────────────────────────────────────────── */

.station--datum .station__sticky { justify-content: flex-end; padding-bottom: 10vh; }
.station--datum .station__sticky::before {
  background: linear-gradient(to top, color-mix(in srgb, var(--scene-bg) 80%, transparent), transparent 55%);
}
.datum {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.datum h2 { margin-top: 0.22em; }
.definition {
  margin: 0;
  font: 400 13px/1.4 var(--mono);
  color: var(--ink-3);
}
.definition b { color: var(--cream); font-weight: 500; }
.definition i { font-family: var(--serif); font-size: 15px; }

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(20, 24, 21, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.brand--quiet .brand__mark { width: 28px; height: 28px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a,
.footer__consent { font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.footer__links a:hover,
.footer__consent:hover { color: var(--cream); }
.footer__consent { padding: 0; border: 0; background: none; font-family: inherit; line-height: inherit; cursor: pointer; }
.footer__small { margin: 0; flex-basis: 100%; font: 400 11.5px/1.5 var(--mono); color: var(--ink-3); }

/* ── Cookie consent ──────────────────────────────────────── */

.consent {
  position: fixed;
  left: var(--gutter);
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  padding: 20px 22px 18px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(48, 57, 50, 0.92), rgba(24, 29, 26, 0.96));
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(243, 240, 230, 0.07);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.consent[hidden] { display: none; }
.consent.is-open { opacity: 1; transform: none; }
.js body.is-loading .consent { visibility: hidden; opacity: 0; transform: translateY(16px); }
.consent__text { margin: 12px 0 16px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__actions .btn { flex: 1 1 0; justify-content: center; white-space: nowrap; }
.consent__text a { color: var(--gold-soft); text-underline-offset: 3px; }
.consent__text a:hover { color: var(--cream); }

/* ── Privacy and cookies page ────────────────────────────── */

.doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
}
.doc-top__back { font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.doc-top__back:hover { color: var(--cream); }

.doc {
  max-width: calc(720px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 48px var(--gutter) 110px;
  color: var(--ink-2);
}
.doc h1 {
  margin: 18px 0 24px;
  font: 400 clamp(40px, 6vw, 68px)/1.02 var(--serif);
  letter-spacing: -0.03em;
  color: var(--cream);
  text-wrap: balance;
}
.doc p { margin: 0 0 14px; }
.doc a { color: var(--gold-soft); text-underline-offset: 3px; }
.doc a:hover { color: var(--cream); }
.doc__lede { font: 300 clamp(17px, 1.3vw, 20px)/1.6 var(--sans); color: var(--ink); }
.doc__action { margin-top: 28px; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-height: 760px) and (min-width: 901px) {
  h2 { font-size: clamp(34px, 3.8vw, 60px); }
  .doors { margin-top: 22px; }
  .card { padding: 16px; }
  .board { --row: 92px; }
  .drum__window { height: 112px; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .col--text, .layout--flip .col--text { grid-column-end: span 6; }
  .layout--flip .col--text { grid-column-start: 7; }
  .col--card { grid-column: 7 / span 6; }
  .layout--flip .col--card, #release-gate .layout--flip .col--card { grid-column: 1 / span 6; }
  .layout--orbital .col--text { grid-column: 1 / span 5; }
  .layout--orbital .col--card { grid-column: 6 / span 7; }
  .layout--deck .col--text { grid-column: 1 / span 6; }
  .layout--deck .col--card { grid-column: 7 / span 6; }
  .doors__what { display: none; }
  .gauntlet__list i { display: none; }
  .modes { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links, .ruler, .hud, .hint { display: none; }
  .brand__name { font-size: 13px; }

  .station { height: auto; }
  .station__sticky {
    position: relative;
    height: auto;
    min-height: 100svh;
    justify-content: flex-end;
    padding: 46svh 0 12svh;
  }
  .station[data-side] .station__sticky::before {
    background: linear-gradient(to bottom, transparent 22%, color-mix(in srgb, var(--scene-bg) 72%, transparent) 46%, color-mix(in srgb, var(--scene-bg) 86%, transparent));
  }
  .station--hero .station__sticky { justify-content: center; padding: calc(var(--nav-h) + 6svh) 0 15svh; }
  .station--hero .station__sticky::before { background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--scene-bg) 55%, transparent) 70%); }
  .station--datum .station__sticky { padding-bottom: 14svh; }

  .wrap { padding: 0 var(--gutter); }
  .layout { display: block; }
  .col--card { margin-top: 34px; }
  .hero__foot { padding-left: var(--gutter); bottom: 20px; }
  .doors__what { display: none; }
  .doors a { grid-template-columns: 30px 1fr 22px; }

  .tilt, .trailer__stage { transform: none !important; }
  .of-logo { margin-left: -2%; }
  .modes { grid-template-columns: 1fr; gap: 8px; }
  .launch { font-size: 13px; }
  .shiptease__hud { left: 26px; right: 26px; bottom: 20px; font-size: 9px; letter-spacing: 0.12em; }
  .trailer__seal { right: -8px; top: -22px; width: 56px; height: 56px; font-size: 28px; }
  .trailer__quote { margin-top: 58px; }
  .trailer-dialog__close { top: -50px; }
  .board { --row: 100px; }
  .bars li { grid-template-columns: 112px 1fr 28px; }
}

@media (max-width: 460px) {
  .hero__title { font-size: clamp(44px, 13vw, 60px); }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .card { padding: 16px; border-radius: 16px; }
  .report__top { gap: 14px; }
  .gauge { width: 96px; height: 96px; }
  .report__num { font-size: 48px; }
  .ticket p { font-size: 11px; }
  .ticket__ev span:last-child { display: none; }
  .brief dl > div { grid-template-columns: 1fr; gap: 2px; }
  .steps li, .process li { font-size: 15px; }
  .drum { flex-direction: column; align-items: flex-start; gap: 4px; }
  .drum__window { width: 100%; flex: none; }
  .gauntlet__list i { display: none; }
  .launch__text { line-height: 1.35; }
}

/* ── Reduced motion ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .veil::after, .scrollcue__line::after, .pulse::after, .shiptease__scan { animation: none; }
  .shiptease__scan { display: none; }
  .js [data-reveal], .js [data-split] .w { transform: none; filter: none; transition: opacity 0.6s; transition-delay: 0s; }
  .tilt, .trailer__stage { transform: none !important; }
  .ticket { transition: transform 0.01s, background 0.3s; }
  .btn, .doors a, .consent { transition: none; }
}
