/* ============================================================================
   Orion Studio Pro · orion.stryxlabs.com — REBUILD #3
   Pre-dawn sky backdrop · readable type · glass content cards
   3D 5-bar mark is the centerpiece (lives in /module.js Three.js scene)
   NO templates-v4 chrome (no corner brackets, no rails, no cypher)
   ============================================================================ */

@font-face {
  font-family: 'Santander';
  src: url('/fonts/Santander.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Santander';
  src: url('/fonts/Santander-Italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- 1 — TOKENS ---------- */
:root {
  /* Pre-dawn sky palette: deep slate top → warm pearl horizon */
  --sky-1:        #06091a;   /* upper sky, almost-black violet */
  --sky-2:        #0e1838;   /* mid sky, deep navy */
  --sky-3:        #1f3057;   /* horizon glow, royal navy */
  --sky-4:        #4a5d8a;   /* low atmosphere, cool steel */
  --sky-5:        #c5cad9;   /* horizon haze, warm pearl */
  --sky-6:        #f0e8d8;   /* dawn light, warm cream */

  /* Brand gradient — locked from real Orion app theme tokens */
  --brand-1:      #4191E1;   /* electric blue */
  --brand-2:      #41E1B5;   /* mint emerald */
  --brand-3:      #22D3EE;   /* cyan */
  --brand-grad:   linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 50%, var(--brand-3) 100%);

  /* Type colors — tuned for the pre-dawn backdrop, large readable */
  --ink:          #f5f3ee;   /* primary text — warm white */
  --ink-2:        #d8d5cc;   /* secondary text */
  --ink-3:        #a4a8b8;   /* tertiary text, labels */
  --ink-4:        #6b7090;   /* fade text, dim */
  --ink-rule:     rgba(245,243,238,0.10);
  --ink-rule-2:   rgba(245,243,238,0.18);

  /* Status colors (used in chips/calendar) */
  --c-green:      #59d99e;
  --c-amber:      #f5c34a;
  --c-red:        #ff7a7a;

  /* Glass card surfaces — semi-transparent over the WebGL backdrop */
  --glass-1:      rgba(255,255,255,0.04);
  --glass-2:      rgba(255,255,255,0.06);
  --glass-3:      rgba(255,255,255,0.08);
  --glass-edge:   rgba(255,255,255,0.10);
  --glass-shadow: 0 30px 80px -20px rgba(2,4,12,0.55), 0 12px 30px -10px rgba(2,4,12,0.40);

  /* Type stack */
  --font-display: 'Santander', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif:   'Fraunces', 'Source Serif Pro', Georgia, serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  /* Motion — premium curve from the actual Orion LogoReveal */
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:      cubic-bezier(0.7, 0, 0.84, 0);

  /* Scale */
  --max:          1320px;
  --gut:          clamp(20px, 4vw, 56px);
  --rad:          18px;
  --rad-sm:       10px;
}

/* ---------- 2 — RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sky-1);
  min-height: 100svh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; background: none; border: 0; }
table { border-collapse: collapse; width: 100%; }
ol, ul { list-style: none; }
em, i { font-style: italic; font-family: var(--font-serif); font-weight: 400; }
strong, b { font-weight: 600; color: var(--ink); }
code { font-family: var(--font-mono); font-size: 0.92em; color: var(--ink-2); }

/* ---------- 3 — BACKDROP LAYERS ---------- */

/* WebGL canvas — lives behind everything, fixed full viewport */
#orionCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* CSS pre-dawn sky fallback — visible while WebGL is loading
   AND visible behind the canvas as a base layer */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 120% 90% at 50% 110%, rgba(245,224,200,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 30% 100%, rgba(65,145,225,0.16) 0%, transparent 50%),
    radial-gradient(ellipse 90% 70% at 75% 95%, rgba(65,225,181,0.10) 0%, transparent 50%),
    linear-gradient(180deg,
      var(--sky-1)   0%,
      var(--sky-2)  35%,
      var(--sky-3)  70%,
      var(--sky-4)  90%,
      var(--sky-5) 100%
    );
}

/* Subtle film grain — atmospheric dust, NOT HUD chrome */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='1'/></svg>");
}

/* Boot scrim — covers the page until the Three.js scene is ready */
.bootscrim {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--sky-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 800ms var(--ease), visibility 0s linear 800ms;
}
.bootscrim.is-ready {
  opacity: 0;
  visibility: hidden;
}
.bootscrim__inner { text-align: center; }
.bootscrim__bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-bottom: 22px;
}
.bootscrim__bars span {
  display: block;
  width: 10px;
  background: var(--brand-grad);
  border-radius: 3px;
  animation: bootBars 1.4s var(--ease) infinite;
}
.bootscrim__bars span:nth-child(1) { height: 36%; animation-delay: 0.00s; }
.bootscrim__bars span:nth-child(2) { height: 60%; animation-delay: 0.10s; }
.bootscrim__bars span:nth-child(3) { height: 100%; animation-delay: 0.20s; }
.bootscrim__bars span:nth-child(4) { height: 50%; animation-delay: 0.30s; }
.bootscrim__bars span:nth-child(5) { height: 76%; animation-delay: 0.40s; }
@keyframes bootBars {
  0%, 100% { transform: scaleY(1);   opacity: 1; }
  50%      { transform: scaleY(0.4); opacity: 0.4; }
}
.bootscrim__msg {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 4 — TOPBAR / NAV ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(6,9,26,0.78) 0%, rgba(6,9,26,0.28) 70%, transparent 100%);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.topbar__logo {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 4px 14px rgba(34,211,238,0.35));
}
.tb-bar {
  transform-origin: 50% 100%;
  transform-box: fill-box;
  animation: tbBarRise 900ms var(--ease) backwards;
}
.tb-bar--1 { animation-delay: 0.00s; }
.tb-bar--2 { animation-delay: 0.08s; }
.tb-bar--3 { animation-delay: 0.16s; }
.tb-bar--4 { animation-delay: 0.24s; }
.tb-bar--5 { animation-delay: 0.32s; }
@keyframes tbBarRise {
  0%   { transform: scaleY(0.05); opacity: 0; }
  100% { transform: scaleY(1);    opacity: 1; }
}
.topbar:hover .tb-bar  { transition: transform 360ms var(--ease); }
.topbar:hover .tb-bar--1 { transform: scaleY(1.10); }
.topbar:hover .tb-bar--2 { transform: scaleY(1.06); }
.topbar:hover .tb-bar--3 { transform: scaleY(1.12); }
.topbar:hover .tb-bar--4 { transform: scaleY(1.04); }
.topbar:hover .tb-bar--5 { transform: scaleY(1.08); }

.topbar__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.topbar__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-left: 10px;
  border-left: 1px solid var(--ink-rule);
  margin-left: 4px;
}

.topbar__nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.topbar__nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
.topbar__nav a:hover { color: var(--ink); border-bottom-color: var(--brand-2); }
.topbar__cta {
  padding: 10px 18px !important;
  border-radius: 999px;
  background: var(--brand-grad);
  color: var(--sky-1) !important;
  font-weight: 600;
  border: 0 !important;
  letter-spacing: 0.18em !important;
  box-shadow: 0 8px 24px -8px rgba(34,211,238,0.55);
}
.topbar__cta:hover { color: var(--sky-1) !important; transform: translateY(-1px); }

/* ---------- 5 — PROGRESS BAR ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 60;
  background: rgba(255,255,255,0.05);
}
.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--brand-grad);
  box-shadow: 0 0 12px rgba(34,211,238,0.6);
  transition: width 80ms linear;
}

/* ---------- 6 — SIDE MARK ---------- */
.sidemark {
  position: fixed;
  top: 50%;
  right: clamp(14px, 2vw, 32px);
  transform: translateY(-50%);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0;
  text-align: center;
}
.sidemark__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--brand-2);
}
.sidemark__name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  transition: color 240ms var(--ease);
}
.sidemark__line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, var(--brand-2), transparent);
  opacity: 0.6;
  margin-top: 8px;
}

/* ---------- 7 — SCENE LAYOUT ---------- */
.scene {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  padding: clamp(120px, 14vh, 180px) var(--gut) clamp(80px, 10vh, 140px);
  display: flex;
  align-items: center;
}
.scene__inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.scene__inner--center {
  text-align: center;
  max-width: 920px;
}

.scene--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.scene--reverse .scene__copy { order: 2; }
.scene--reverse .scene__stage { order: 1; }

.scene--center { text-align: center; }

.scene__copy { max-width: 600px; }
.scene__stage {
  position: relative;
  min-height: 60svh;
}
.stage-marker {
  /* This invisible marker is targeted by GSAP ScrollTrigger
     to align the 3D scene's morph state with the right HTML section. */
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ---------- 8 — TYPOGRAPHY: HERO ---------- */
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 32px;
  margin-top: 28px;
}
.hero__title-row {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroRise 1100ms var(--ease) forwards;
}
.hero__title-row:nth-child(1) { animation-delay: 0.20s; }
.hero__title-row:nth-child(2) { animation-delay: 0.34s; }
.hero__title-row:nth-child(3) { animation-delay: 0.48s; }
.hero__title-row--accent {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
}
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 620px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroRise 1100ms var(--ease) 0.62s forwards;
}

.hero__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
  opacity: 0;
  animation: heroRise 1100ms var(--ease) 0.74s forwards;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 720px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-rule);
  opacity: 0;
  animation: heroRise 1100ms var(--ease) 0.86s forwards;
}
.hero__meta-cell { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 36px);
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}
.hero__meta-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 9 — TYPOGRAPHY: COMMON ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.eyebrow__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 10px var(--brand-2);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1.0; transform: scale(1.25); }
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 24px;
}
.display em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.display--md { font-size: clamp(28px, 3vw, 42px); }
.display--xl { font-size: clamp(48px, 6.5vw, 96px); }

.prose {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 22px;
  max-width: 56ch;
}
.prose--small { font-size: clamp(14px, 1vw, 16px); color: var(--ink-3); }
.prose--center { margin-left: auto; margin-right: auto; max-width: 64ch; }

/* ---------- 10 — BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 240ms var(--ease);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--brand-grad);
  color: var(--sky-1);
  box-shadow: 0 12px 32px -10px rgba(34,211,238,0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -12px rgba(34,211,238,0.75);
}
.btn--ghost {
  background: var(--glass-2);
  color: var(--ink);
  border-color: var(--ink-rule-2);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
}
.btn--xl {
  font-size: 14px;
  padding: 20px 36px;
  letter-spacing: 0.16em;
}

/* ---------- 11 — SCROLL CUE ---------- */
.scrollcue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0;
  animation: heroRise 1100ms var(--ease) 1.0s forwards;
}
.scrollcue__line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--brand-2));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0.0); transform-origin: top; }
  50%  { transform: scaleY(1.0); transform-origin: top; }
  51%  { transform: scaleY(1.0); transform-origin: bottom; }
  100% { transform: scaleY(0.0); transform-origin: bottom; }
}

/* ---------- 12 — BULLETS / SPECLISTS / KVGRID ---------- */
.bullets {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-rule);
}
.bullets li {
  position: relative;
  padding: 14px 0 14px 28px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  border-bottom: 1px solid var(--ink-rule);
}
.bullets li:last-child { border-bottom: 0; }
.bullets li::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--brand-2);
}
.bullets li strong { color: var(--ink); font-weight: 600; }

.speclist {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--ink-rule);
}
.speclist > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-rule);
  align-items: baseline;
}
.speclist dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.speclist dd {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.5;
}

.kvgrid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kvgrid > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--glass-1);
  border: 1px solid var(--ink-rule);
  border-radius: var(--rad-sm);
  backdrop-filter: blur(10px);
  transition: all 240ms var(--ease);
}
.kvgrid > div:hover {
  background: var(--glass-2);
  border-color: var(--ink-rule-2);
  transform: translateY(-1px);
}
.kvgrid span {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 15px;
  color: var(--ink-2);
}
.kvgrid b {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brand-2);
  font-weight: 500;
}

.cryptolist {
  margin-top: 28px;
  border-top: 1px solid var(--ink-rule);
}
.cryptolist__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-rule);
}
.cryptolist__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.cryptolist__v {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 16px;
  color: var(--ink-2);
}

/* ---------- 13 — CHIPS ---------- */
.chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid;
}
.chip--green { color: var(--c-green); border-color: rgba(89,217,158,0.35); background: rgba(89,217,158,0.08); }
.chip--amber { color: var(--c-amber); border-color: rgba(245,195,74,0.35); background: rgba(245,195,74,0.08); }
.chip--red   { color: var(--c-red);   border-color: rgba(255,122,122,0.35); background: rgba(255,122,122,0.08); }

/* ---------- 14 — BLOCKS (post-morph content sections) ---------- */
.block {
  position: relative;
  z-index: 5;
  padding: clamp(80px, 12vh, 160px) var(--gut);
  max-width: var(--max);
  margin: 0 auto;
}
.block__head {
  max-width: 760px;
  margin-bottom: 56px;
}
.block__head--tight { margin-bottom: 32px; }

/* 14.1 — Modules grid */
.block--modules { padding-top: clamp(120px, 16vh, 200px); }
.modgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.modgrid__col {
  background: var(--glass-1);
  border: 1px solid var(--ink-rule);
  border-radius: var(--rad);
  padding: 28px;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: var(--glass-shadow);
  transition: all 320ms var(--ease);
}
.modgrid__col:hover {
  background: var(--glass-2);
  border-color: rgba(65,225,181,0.30);
  transform: translateY(-3px);
}
.modgrid__h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-rule);
}
.modgrid__col ul { display: flex; flex-direction: column; gap: 14px; }
.modgrid__col li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.modgrid__col li:last-child { border-bottom: 0; }
.modgrid__col li b {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.modgrid__col li span {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.45;
}

/* 14.2 — Themes wall */
.themewall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.swatch {
  position: relative;
  aspect-ratio: 5 / 3;
  border-radius: var(--rad);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border: 1px solid var(--ink-rule);
  overflow: hidden;
  transition: transform 360ms var(--ease), border-color 360ms var(--ease);
  cursor: default;
}
.swatch::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c3) 0%, transparent 60%);
  opacity: 0.55;
  filter: blur(20px);
  transition: opacity 360ms var(--ease);
}
.swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,0.02) 2px 3px);
  pointer-events: none;
  opacity: 0.4;
}
.swatch:hover {
  transform: translateY(-3px);
  border-color: var(--c3);
}
.swatch:hover::before { opacity: 0.85; }
.swatch b {
  position: relative;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.swatch span {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* 14.3 — Stack section */
.block--stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.stacktable th, .stacktable td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-rule);
  vertical-align: top;
}
.stacktable th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-2);
  width: 38%;
  font-weight: 500;
}
.stacktable td {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 16px;
  color: var(--ink-2);
}
.stacktable code {
  background: var(--glass-2);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--ink-rule);
}

.reasons { display: flex; flex-direction: column; gap: 18px; counter-reset: r; }
.reasons li {
  position: relative;
  padding: 18px 18px 18px 64px;
  background: var(--glass-1);
  border: 1px solid var(--ink-rule);
  border-radius: var(--rad-sm);
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  counter-increment: r;
  backdrop-filter: blur(10px);
  transition: all 280ms var(--ease);
}
.reasons li:hover { background: var(--glass-2); border-color: var(--ink-rule-2); }
.reasons li::before {
  content: counter(r, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-2);
  letter-spacing: 0.1em;
}
.reasons li b { color: var(--ink); font-weight: 600; }

/* 14.4 — Day in the life timeline */
.dayline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--ink-rule);
}
.dayline li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-rule);
  align-items: baseline;
}
.dayline__time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.dayline__what {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}
.dayline__what b { color: var(--ink); font-weight: 600; }

/* 14.5 — Roadmap */
.rmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.rmap__col {
  position: relative;
  background: var(--glass-1);
  border: 1px solid var(--ink-rule);
  border-radius: var(--rad);
  padding: 28px;
  backdrop-filter: blur(14px);
  transition: all 280ms var(--ease);
}
.rmap__col--now   { border-color: rgba(65,225,181,0.30); }
.rmap__col--soon  { border-color: rgba(65,145,225,0.22); }
.rmap__col--later { border-color: var(--ink-rule); }
.rmap__col:hover { transform: translateY(-3px); background: var(--glass-2); }
.rmap__col h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-rule);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.rmap__col h3 span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--brand-2);
  text-transform: lowercase;
}
.rmap__col ul { display: flex; flex-direction: column; gap: 12px; }
.rmap__col li {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 15px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.rmap__col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--brand-2);
}

/* 14.6 — Contact */
.block--contact {
  text-align: center;
  padding-top: clamp(140px, 18vh, 220px);
  padding-bottom: clamp(140px, 18vh, 220px);
}
.contact__inner { max-width: 760px; margin: 0 auto; }
.contact__sub { margin-top: 28px; }

/* ---------- 15 — FOOTER ---------- */
.footer {
  position: relative;
  z-index: 5;
  padding: 40px var(--gut) 32px;
  border-top: 1px solid var(--ink-rule);
  background: rgba(6,9,26,0.55);
  backdrop-filter: blur(14px);
}
.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-rule);
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__logo { width: 22px; height: 22px; }
.footer__brand span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.footer__links { display: inline-flex; gap: 22px; flex-wrap: wrap; }
.footer__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 220ms var(--ease);
}
.footer__links a:hover { color: var(--brand-2); }
.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
}
.footer__tag em { font-family: var(--font-serif); color: var(--brand-2); font-style: italic; text-transform: lowercase; }

/* ---------- 16 — RESPONSIVE ---------- */

/* Wide laptop: tighten side spacing */
@media (max-width: 1280px) {
  .scene--split { gap: clamp(28px, 4vw, 64px); }
  .modgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tablet portrait + small laptop */
@media (max-width: 980px) {
  .topbar__nav a:not(.topbar__cta) { display: none; }
  .topbar__sub { display: none; }
  .scene--split { grid-template-columns: 1fr; gap: 32px; }
  .scene--reverse .scene__copy  { order: 1; }
  .scene--reverse .scene__stage { order: 2; }
  .scene__stage { min-height: 40svh; }
  .scene { padding-top: 110px; padding-bottom: 80px; }
  .hero__title { font-size: clamp(42px, 9vw, 88px); }
  .hero__meta { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .modgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block--stack { grid-template-columns: 1fr; }
  .rmap { grid-template-columns: 1fr; }
  .sidemark { display: none; }
  .progress { height: 1px; }
}

/* Phone */
@media (max-width: 620px) {
  :root { --gut: 18px; }
  .topbar { padding: 12px 16px; }
  .topbar__name { font-size: 17px; }
  .topbar__cta { padding: 8px 14px !important; font-size: 10px; }
  .scene { padding-top: 96px; padding-bottom: 56px; }
  .hero__title { font-size: clamp(34px, 11vw, 64px); }
  .hero__lede { font-size: 16px; }
  .hero__actions { flex-wrap: wrap; }
  .hero__meta { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero__meta-num { font-size: 24px; }
  .display { font-size: clamp(28px, 8vw, 44px); }
  .display--xl { font-size: clamp(36px, 11vw, 64px); }
  .display--md { font-size: clamp(22px, 6vw, 32px); }
  .modgrid { grid-template-columns: 1fr; }
  .kvgrid { grid-template-columns: 1fr; }
  .themewall { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .swatch { padding: 16px; }
  .swatch b { font-size: 15px; }
  .speclist > div { grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; }
  .speclist dd { font-size: 14px; }
  .cryptolist__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .dayline li { grid-template-columns: 70px 1fr; gap: 12px; padding: 18px 0; }
  .dayline__what { font-size: 15px; }
  .stacktable th { width: 42%; font-size: 10px; padding: 12px 0; }
  .stacktable td { font-size: 14px; padding: 12px 0; }
  .reasons li { padding: 16px 16px 16px 50px; font-size: 14px; }
  .reasons li::before { left: 14px; top: 16px; }
  .footer__top, .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__links { gap: 14px; row-gap: 8px; }
  .btn { padding: 12px 20px; font-size: 10px; }
  .btn--xl { padding: 16px 28px; font-size: 12px; }
}

/* Tiny phone */
@media (max-width: 380px) {
  .hero__meta { grid-template-columns: 1fr; }
  .hero__title { font-size: 38px; }
}
