/* ============================================================
   DELOS — persistent aerial infrastructure
   Design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@100;200;300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg:        #07090c;
  --bg-2:      #0b0e13;
  --panel:     #0e1218;
  --fg:        #f4f5f7;
  --muted:     rgba(244, 245, 247, 0.56);
  --faint:     rgba(244, 245, 247, 0.30);
  --ghost:     rgba(244, 245, 247, 0.14);
  --line:      rgba(244, 245, 247, 0.11);
  --line-2:    rgba(244, 245, 247, 0.06);

  --ember:     #e6edfa;
  --ember-2:   #ffffff;
  --ember-dim: rgba(220, 230, 248, 0.16);

  --display: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1640px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--ember); color: #0a0c10; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* media wells — empty image-slots read as intentional dark panels */
image-slot {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.025), transparent 60%),
    linear-gradient(180deg, #0d1219, #090c11);
  border: 1px solid var(--line-2);
}
.hero-media image-slot {
  border: none;
  background:
    radial-gradient(120% 90% at 70% 18%, rgba(220,230,248,0.10), transparent 55%),
    linear-gradient(180deg, #0c1320 0%, #0a1016 42%, #0b0d12 100%);
}
.grid-wedge image-slot {
  background:
    radial-gradient(90% 120% at 85% 30%, rgba(220,230,248,0.12), transparent 55%),
    linear-gradient(180deg, #11151c, #0a0d12);
}

/* ---------- global texture overlays ---------- */
.tex {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
/* blueprint grid — the connective tissue (dock network / electric grid) */
.tex-grid {
  background-image:
    linear-gradient(to right, var(--line-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  mask-image: radial-gradient(ellipse 120% 120% at 50% 40%, #000 35%, transparent 88%);
  opacity: 0.9;
}
/* fine grain */
.tex-grain {
  opacity: 0.035;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   TYPE VOICES
   ============================================================ */
.mono {
  font-family: var(--mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(10px, 0.8vw, 12.5px);
  color: var(--muted);
}
.mono.tight { letter-spacing: 0.14em; }
.ember { color: var(--ember); }

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: clamp(10px, 0.78vw, 12px);
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--ember);
  display: inline-block;
}

/* thin billboard headline */
.display {
  font-family: var(--display);
  font-weight: 200;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
/* heavy editorial claim */
.claim {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* ============================================================
   LAYOUT
   ============================================================ */
section { position: relative; z-index: 2; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .5s ease, padding .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(7, 9, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; object-fit: contain; transition: width .5s ease, height .5s ease; }
.nav.solid .brand img { width: 42px; height: 42px; }
.brand .wm {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 17px;
  text-transform: uppercase;
}
.brand .pill {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 9px 3px;
  margin-left: 4px;
}
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 44px); align-items: center; }
.nav-links a {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted);
  transition: color .3s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.cta {
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 18px;
}
.nav-links a.cta:hover { border-color: var(--ember); color: var(--ember); }
@media (max-width: 720px) { .nav-links a:not(.cta) { display: none; } }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  transition: opacity .9s ease, visibility .9s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
#preCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.preloader .skip { position: absolute; top: 24px; right: var(--pad); z-index: 2; }
.pre-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pre-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pre-count {
  font-family: var(--display);
  font-weight: 100;
  font-size: clamp(96px, 26vw, 420px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  display: flex;
  align-items: flex-start;
}
.pre-count .pct { font-size: 0.3em; font-weight: 300; margin-top: 0.4em; margin-left: 0.1em; color: var(--muted); }
.pre-sub { margin-top: 14px; }
.pre-bottom { display: flex; align-items: center; gap: 24px; }
.pre-bar {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.pre-bar i {
  position: absolute;
  inset: 0;
  background: var(--ember);
  transform-origin: left;
  transform: scaleX(0);
}
.skip {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none;
}
.skip:hover { color: var(--fg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { height: 100svh; min-height: 640px; position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: #06080b; }
.hero-media image-slot { width: 100%; height: 100%; }
.hero-media #heroCanvas { width: 100%; height: 100%; display: block; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, var(--bg) 1%, transparent 34%),
    linear-gradient(to bottom, rgba(7,9,12,.5) 0%, transparent 22%),
    radial-gradient(ellipse 70% 70% at 22% 88%, rgba(6,8,11,.7), transparent 60%);
}
.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad) clamp(48px, 7vw, 96px);
}
.hero h1 {
  font-size: clamp(72px, 17vw, 320px);
  font-weight: 200;
  line-height: 0.86;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  font-weight: 500;
  display: block;
}
.hero-foot {
  margin-top: clamp(20px, 3vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  flex-wrap: wrap;
}
.hero-foot p { max-width: 40ch; color: var(--muted); font-size: clamp(14px, 1.05vw, 17px); line-height: 1.45; }

.scroll-cue {
  position: absolute;
  left: var(--pad); bottom: 22px;
  z-index: 4;
}

/* hero telemetry strip — live ops chrome */
.hero-telemetry {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: 22px;
  z-index: 4;
  display: flex; align-items: center; gap: 16px;
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}
.hero-telemetry b { color: var(--fg); font-weight: 500; font-variant-numeric: tabular-nums; }
.hero-telemetry .tsep { width: 1px; height: 10px; background: var(--line); }
.hero-telemetry .live { display: inline-flex; align-items: center; gap: 7px; color: var(--ember); }
@media (max-width: 1100px) { .hero-telemetry { display: none; } }

/* altitude scale — right-edge HUD ticks */
.alt-scale {
  position: absolute;
  right: var(--pad); top: 50%;
  transform: translateY(-58%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: flex-end; gap: 7px;
  opacity: 0.38;
  pointer-events: none;
  font-size: 9px; letter-spacing: 0.2em;
}
.alt-scale i { width: 7px; height: 1px; background: var(--fg); opacity: 0.55; }
.alt-scale span { line-height: 1; }
@media (max-width: 900px) { .alt-scale { display: none; } }

/* corner registration marks — hard-tech chrome */
.reg-marks { position: absolute; inset: 88px 26px 26px; z-index: 4; pointer-events: none; }
.reg-marks i { position: absolute; width: 15px; height: 15px; opacity: 0.4; }
.reg-marks i::before, .reg-marks i::after { content: ""; position: absolute; background: var(--fg); }
.reg-marks i::before { left: 50%; top: 0; width: 1px; height: 100%; }
.reg-marks i::after { top: 50%; left: 0; height: 1px; width: 100%; }
.reg-marks i:nth-child(1) { top: 0; left: 0; }
.reg-marks i:nth-child(2) { top: 0; right: 0; }
.reg-marks i:nth-child(3) { bottom: 54px; left: 0; }
.reg-marks i:nth-child(4) { bottom: 54px; right: 0; }

.hero-wordmark {
  position: absolute;
  right: var(--pad); bottom: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
}

/* ============================================================
   THE OPERATIONS PAGE (substation animation + modes)
   ============================================================ */
.operations {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(130% 90% at 60% 18%, rgba(220,230,248,0.07), transparent 55%),
    linear-gradient(180deg, #090c11 0%, #07090c 60%, #060809 100%);
}
.operations #subCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.sub-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(7,9,12,0.55) 0%, transparent 22%),
    linear-gradient(to top, var(--bg) 1%, transparent 34%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(6,8,11,0.6), transparent 60%);
}
.op-overlay {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(96px, 11vh, 122px) var(--pad) clamp(26px, 3.5vw, 40px);
}
.op-head h2 { font-size: clamp(38px, 5.6vw, 96px); margin-top: 14px; }
.op-head p { max-width: 52ch; color: var(--muted); font-size: clamp(13.5px, 1vw, 16px); line-height: 1.5; margin-top: 18px; }

/* selectable deployment-mode boxes */
.op-modes {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.op-box {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-height: 104px;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(18,22,29,0.62), rgba(10,13,18,0.42));
  border: 1px solid var(--line);
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  transition: border-color .35s, background .35s, transform .35s;
}
.op-box:hover { border-color: var(--ghost); transform: translateY(-3px); }
.op-box.is-active { border-color: var(--fg); background: linear-gradient(180deg, rgba(28,34,44,0.7), rgba(14,18,24,0.5)); }
.op-idx { font-size: 11px; color: var(--faint); letter-spacing: 0.24em; }
.op-name { font-size: clamp(18px, 1.5vw, 24px); font-weight: 300; letter-spacing: -0.01em; line-height: 1.1; margin-top: auto; }
.op-tag {
  position: absolute; top: 18px; right: 20px;
  font-size: 9.5px; letter-spacing: 0.22em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 8px;
}
@media (max-width: 760px) {
  .op-modes { grid-template-columns: 1fr; gap: 10px; }
  .op-box { min-height: 0; flex-direction: row; align-items: center; gap: 14px; }
  .op-name { margin-top: 0; }
}

/* ============================================================
   THE DOCK (animated swap)
   ============================================================ */
.dock-stage {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 80%, rgba(220,230,248,0.09), transparent 55%),
    linear-gradient(180deg, #060809 0%, #080b10 45%, #06080b 100%);
}
.dock-stage #dockCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.dock-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6,8,11,0.6) 0%, transparent 24%),
    linear-gradient(to top, var(--bg) 1%, transparent 26%),
    radial-gradient(ellipse 55% 55% at 18% 78%, rgba(6,8,11,0.55), transparent 60%);
}
.dock-overlay {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(112px, 14vh, 140px) var(--pad) clamp(36px, 6vw, 70px);
}
.dock-head h2 { font-size: clamp(40px, 6.4vw, 116px); margin-top: 18px; }
.dock-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.dock-foot p { max-width: 46ch; color: var(--muted); font-size: clamp(14px, 1.05vw, 17px); line-height: 1.5; }

/* ============ POLE SCAN ============ */
.pole-stage {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 20%, rgba(220,230,248,0.07), transparent 55%),
    linear-gradient(180deg, #06080b 0%, #080b10 50%, #060809 100%);
}
.pole-stage #poleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.pole-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6,8,11,0.6) 0%, transparent 24%),
    linear-gradient(to top, var(--bg) 1%, transparent 26%);
}
.pole-overlay {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(112px, 14vh, 140px) var(--pad) clamp(36px, 6vw, 70px);
}
.pole-head { text-align: right; margin-left: auto; max-width: none; }
.pole-head h2 { font-size: clamp(34px, 5.4vw, 96px); margin-top: 18px; text-wrap: nowrap; }
.pole-foot { margin-top: 26px; }
.pole-foot p { max-width: 42ch; color: var(--muted); font-size: clamp(14px, 1.05vw, 17px); line-height: 1.55; }
.pole-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.pole-foot p { max-width: 46ch; color: var(--muted); font-size: clamp(14px, 1.05vw, 17px); line-height: 1.5; }
/* truck-view preview toggle — tiny box, bottom right of the dock stage */
.truck-toggle {
  position: absolute;
  right: var(--pad); bottom: 34px;
  z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 108px;
  padding: 12px 10px 10px;
  background: linear-gradient(180deg, rgba(16,20,27,0.85), rgba(9,12,17,0.75));
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  transition: border-color .3s, color .3s, transform .3s;
}
.truck-toggle svg { width: 56px; height: 28px; display: block; }
.truck-toggle .mono { font-size: 9.5px; letter-spacing: 0.2em; }
.truck-toggle:hover { border-color: var(--ghost); color: var(--fg); transform: translateY(-2px); }
.truck-toggle.on { border-color: var(--fg); color: var(--fg); }
@media (max-width: 720px) { .truck-toggle { display: none; } }
.dock-phase {
  position: absolute; z-index: 4; right: var(--pad); top: 56px;
  text-align: right; color: var(--ember);
  letter-spacing: 0.28em;
}
.dock-progress {
  position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: 26px;
  height: 1px; background: var(--line); overflow: hidden;
}
.dock-progress i {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--ember));
}
@media (max-width: 720px) { .dock-phase { display: none; } }
.hero-wordmark img { width: 22px; height: 22px; object-fit: contain; opacity: 0.85; }
.hero-wordmark span {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 12.5px;
  color: var(--muted);
}
@media (max-width: 640px) {
  .hero-wordmark span { display: none; }
}

/* ============================================================
   GENERIC SECTION SHELL
   ============================================================ */
.band { padding: clamp(96px, 16vh, 200px) 0; }
.band-head { max-width: 24ch; margin-bottom: clamp(40px, 6vw, 88px); }
.section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ember);
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding: clamp(120px, 22vh, 280px) 0; text-align: left; }
.manifesto .claim {
  font-size: clamp(34px, 6.4vw, 116px);
}
.manifesto .claim .dim { color: var(--ghost); }
.manifesto .caption {
  margin-top: clamp(36px, 5vw, 64px);
  max-width: 60ch;
  line-height: 2.1;
}

/* ============================================================
   THE DOCK — product anatomy
   ============================================================ */
.dock-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
}
@media (max-width: 940px) { .dock-grid { grid-template-columns: 1fr; } }
.dock-copy h2 { font-size: clamp(40px, 5.4vw, 90px); font-weight: 200; line-height: 0.96; letter-spacing: -0.03em; }
.dock-copy p.lede { margin-top: 26px; max-width: 46ch; color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; }

.spec {
  margin-top: clamp(34px, 4vw, 54px);
  border-top: 1px solid var(--line);
}
.spec-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row .k { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: var(--muted); white-space: nowrap; }
.spec-row .dots { flex: 1; border-bottom: 1px dotted var(--ghost); transform: translateY(-3px); }
.spec-row .v { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; color: var(--fg); white-space: nowrap; }

.dock-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11.5px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--fg);
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer;
  background: none;
  transition: border-color .3s, color .3s, background .3s;
}
.btn:hover { border-color: var(--ember); color: var(--ember); }
.btn.solid { background: var(--fg); color: #0a0c10; border-color: var(--fg); }
.btn.solid:hover { background: var(--ember); border-color: var(--ember); color: #1a0f08; }
.btn.dashed { border-style: dashed; }

.dock-media { position: relative; }
.dock-media image-slot { width: 100%; aspect-ratio: 4/5; }
.dock-media .tag {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 4px;
}

/* ============================================================
   PAYLOADS
   ============================================================ */
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 26px); }
@media (max-width: 860px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(14,18,24,0.3));
  padding: clamp(24px, 2.4vw, 40px);
  min-height: clamp(340px, 36vw, 480px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color .4s, transform .4s;
}
.pay-card:hover { border-color: var(--ghost); transform: translateY(-4px); }
.pay-card .idx { font-family: var(--mono); font-size: 12px; color: var(--ember); letter-spacing: 0.2em; }
.pay-card .pay-media { margin: 22px 0 auto; }
.pay-card image-slot { width: 100%; aspect-ratio: 16/11; }
.pay-card h3 { font-size: clamp(26px, 2.3vw, 38px); font-weight: 300; letter-spacing: -0.02em; margin-top: 26px; }
.pay-card p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 32ch; }

/* ============================================================
   THE LOOP — scroll-driven process
   ============================================================ */
.loop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 90px); align-items: start; }
@media (max-width: 940px) { .loop-grid { grid-template-columns: 1fr; } }
.loop-media {
  position: sticky;
  top: 14vh;
}
.loop-media image-slot { width: 100%; aspect-ratio: 5/6; }
.loop-steps { display: flex; flex-direction: column; }
.loop-step {
  padding: clamp(26px, 3vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.32;
  transition: opacity .5s ease;
}
.loop-step:first-child { border-top: 1px solid var(--line); }
.loop-step.on { opacity: 1; }
.loop-step .num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--ember); }
.loop-step h3 { font-size: clamp(30px, 3.6vw, 60px); font-weight: 200; letter-spacing: -0.025em; margin-top: 12px; line-height: 1; }
.loop-step p { margin-top: 14px; max-width: 42ch; color: var(--muted); font-size: clamp(14px, 1vw, 16.5px); line-height: 1.55; }

/* ============================================================
   GRID WEDGE
   ============================================================ */
.grid-wedge { position: relative; overflow: hidden; }
.grid-wedge .gw-media { position: relative; }
.grid-wedge image-slot { width: 100%; height: clamp(420px, 64vh, 760px); }
.gw-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(7,9,12,.92) 0%, rgba(7,9,12,.5) 42%, transparent 75%);
  pointer-events: none;
}
.gw-copy {
  position: absolute;
  left: var(--pad); top: 50%;
  transform: translateY(-50%);
  max-width: 38ch;
  z-index: 3;
}
.gw-copy h2 { font-size: clamp(40px, 5.6vw, 96px); font-weight: 200; letter-spacing: -0.03em; line-height: 0.95; }
.gw-copy p { margin-top: 22px; color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; max-width: 40ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  padding-top: clamp(60px, 9vh, 110px);
  background:
    radial-gradient(ellipse 90% 70% at 30% 0%, rgba(220,230,248,0.06), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

/* spec-sheet rows — hard-tech footer */
.foot-rows { border-top: 1px solid var(--line); }
.foot-row {
  display: grid;
  grid-template-columns: minmax(140px, 240px) 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.foot-row .f-label { color: var(--faint); font-size: 11px; }
.foot-row .f-value {
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 40px);
  letter-spacing: -0.01em;
  color: var(--fg);
  width: fit-content;
}
a.f-value { transition: color .3s; }
.flag-row { display: inline-flex; align-items: center; gap: 18px; }
.usflag { width: clamp(30px, 2.4vw, 44px); height: auto; display: block; border: 1px solid var(--line); opacity: 0.9; }
a.f-value:hover { color: var(--ember); }
@media (max-width: 640px) { .foot-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; } }
.foot-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: clamp(34px, 4vw, 80px);
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 48px; } }

/* telemetry — signature gimmick */
.telem .t-label { color: var(--faint); }
.telem .t-clock {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.telem .t-sub { margin-top: 18px; max-width: 30ch; color: var(--muted); line-height: 1.5; }
.telem .live { color: var(--ember); display: inline-flex; align-items: center; gap: 8px; }
.telem .live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 var(--ember); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220,230,248,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(220,230,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,230,248,0); }
}

.foot-col h4 { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.2em; font-size: 11px; color: var(--faint); margin-bottom: 18px; }
.foot-nav { display: flex; flex-direction: column; gap: 14px; }
.foot-nav a { font-size: clamp(20px, 2vw, 30px); font-weight: 300; color: var(--muted); transition: color .3s; width: fit-content; }
.foot-nav a:hover { color: var(--fg); }
.foot-meta { display: flex; flex-direction: column; gap: 22px; }
.foot-meta .m-block .mono { display: block; }
.foot-meta .m-block a, .foot-meta .m-block span { font-size: 15px; color: var(--fg); }

.foot-wordmark {
  margin-top: clamp(70px, 11vh, 150px);
  position: relative;
  line-height: 0.7;
  overflow: hidden;
}
.foot-wordmark .wm-big {
  font-weight: 900;
  font-size: clamp(80px, 25vw, 460px);
  letter-spacing: -0.04em;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--fg) 30%, rgba(244,245,247,0.18));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(14%);
  display: block;
}
.foot-legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  .telem .live .dot { animation: none; }
}
