/* ============================================================
   SPACE SUPREMACY — EXPERIENCE LAYER
   Scroll-driven cinematic landing. Loads on top of styles.css.
   Chapters are tall sections (.ch.pin) with a sticky .stage;
   JS writes --p (0..1) per chapter and per-frame effect values.
   ============================================================ */

body.exp {
  background: var(--bg-0);
}
[hidden] { display: none !important; }
body.exp::before { display: none; } /* kill the static grid; canvas owns the bg */

/* fine pointers get the reticle cursor */
@media (pointer: fine) {
  body.exp.cursor-on, body.exp.cursor-on a, body.exp.cursor-on button,
  body.exp.cursor-on .btn, body.exp.cursor-on input, body.exp.cursor-on label {
    cursor: none;
  }
}

/* ---------- warp canvas + overlays ---------- */
#warp {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(76, 224, 255, 0.012) 0px,
    rgba(76, 224, 255, 0.012) 1px,
    transparent 1px,
    transparent 4px
  );
}
.exp-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 55%, rgba(1, 3, 6, 0.62) 100%);
}

/* ---------- custom cursor ---------- */
.reticle-cursor {
  position: fixed;
  z-index: 200;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid rgba(76, 224, 255, 0.7);
  border-radius: 50%;
  pointer-events: none;
  display: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.reticle-cursor::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 6px var(--electric);
}
.reticle-cursor::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px dashed rgba(76, 224, 255, 0.25);
  border-radius: 50%;
}
.reticle-cursor.hot {
  transform: scale(1.7);
  border-color: var(--electric);
  background: rgba(40, 238, 255, 0.08);
}
@media (pointer: fine) {
  body.exp.cursor-on .reticle-cursor { display: block; }
}

/* ---------- boot overlay ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}
.boot.gone { opacity: 0; pointer-events: none; }
.boot-inner { width: min(520px, 86vw); }
.boot-line {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 22px;
  white-space: nowrap;
  overflow: hidden;
}
.boot-line .ok { color: var(--green); }
.boot-line .hi { color: var(--cyan); }
.boot-bar {
  margin-top: 14px;
  height: 2px;
  background: rgba(76, 224, 255, 0.12);
  overflow: hidden;
}
.boot-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--electric);
  box-shadow: 0 0 12px var(--electric);
}
.boot-skip {
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
}

/* ---------- HUD chrome ---------- */
.hud-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.hud-rail a {
  width: 8px;
  height: 8px;
  border: 1px solid var(--cyan-dim);
  border-radius: 50%;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.hud-rail a:hover { border-color: var(--electric); }
.hud-rail a.on {
  background: var(--electric);
  border-color: var(--electric);
  box-shadow: 0 0 10px var(--electric);
}
.hud-rail a .tip {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.hud-rail a:hover .tip { opacity: 1; }

.hud-stat {
  position: fixed;
  left: var(--gutter);
  bottom: 22px;
  z-index: 90;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 2.1;
  pointer-events: none;
}
.hud-stat div { white-space: nowrap; }
.hud-stat .hi { color: var(--cyan); }

/* ---------- chapter scaffolding ---------- */
.ch { position: relative; z-index: 2; }
.ch.pin { height: 300vh; }
.ch.pin.tall { height: 380vh; }
.landing-only .ch.pin { height: 240vh; }
.landing-only .ch.pin.tall { height: 300vh; }
.landing-only #top { height: 170vh !important; }
.ch .stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  contain: paint;
}
.stage-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
}

/* Authored imagery stays beneath the HUD and scroll choreography. */
.hero-gameplay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.economy-gameplay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-gameplay {
  opacity: 0.42;
  filter: saturate(0.78) contrast(1.08);
  -webkit-mask-image: radial-gradient(ellipse 88% 80% at 50% 48%, #000 22%, rgba(0,0,0,0.72) 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 80% at 50% 48%, #000 22%, rgba(0,0,0,0.72) 58%, transparent 100%);
}
#top .stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,4,8,0.52), rgba(2,4,8,0.14) 42%, rgba(2,4,8,0.72));
  pointer-events: none;
}
#top .stage-inner,
#top .scroll-hint { z-index: 2; }
.economy-gameplay {
  opacity: 0.26;
  filter: saturate(0.7) contrast(1.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
}
#economy .stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 8, 0.4);
  pointer-events: none;
}
#economy .stage-inner { z-index: 1; }

/* chapter heading kit */
.ch-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}
.ch-kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--electric);
  box-shadow: 0 0 8px var(--electric);
}
.mega {
  margin: 0;
  font-weight: 700;
  font-size: clamp(38px, 7.2vw, 104px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--heading);
  text-wrap: balance;
}
.mega .ghost {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(76, 224, 255, 0.45);
}
.mega .lit {
  display: block;
  text-shadow: 0 0 30px rgba(76, 224, 255, 0.45);
}
.ch-sub {
  margin: 24px 0 0;
  max-width: 52ch;
  color: var(--body);
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 0.04em;
}
.ch-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--hairline);
  border-radius: 40px;
  padding: 8px 18px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ch-read:hover { color: var(--cyan); border-color: var(--hairline-strong); }

/* generic scroll-driven helpers (driven by --p) */
.rise { transform: translateY(calc((1 - var(--p, 0)) * 60px)); opacity: var(--p, 0); }

/* ============================================================
   CH-01 COMBAT — orbit duel + capacitor + combat log
   ============================================================ */
.combat-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.duel-wrap { position: relative; display: grid; place-items: center; }
.duel-wrap svg { width: min(480px, 88vw); height: auto; }
.cap-readout {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.cap-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) calc(var(--cap, 100) * 1%), rgba(76, 224, 255, 0.08) 0);
  display: grid;
  place-items: center;
  position: relative;
}
.cap-ring::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 1px solid var(--hairline);
}
.cap-ring b {
  position: relative;
  z-index: 1;
  font-size: 9px;
  color: var(--heading);
  font-weight: 600;
}
.combat-log {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(2, 8, 12, 0.72);
  padding: 18px 20px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  line-height: 2.1;
  backdrop-filter: blur(4px);
}
.combat-log .ll {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.combat-log .ll.on { opacity: 1; transform: none; }
.combat-log .t { color: var(--muted); }
.combat-log .c { color: var(--cyan); }
.combat-log .g { color: var(--green); }
.combat-log .r { color: var(--danger); }
.combat-log .a { color: var(--amber); }

/* ============================================================
   CH-02 SOL — security gradient dolly
   ============================================================ */
.sol-stage .stage-inner {
  max-width: none;
  padding-inline: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 4vh, 48px);
}
.sol-head .mega { font-size: clamp(24px, 4vw, 52px); }
.sol-tints { position: absolute; inset: 0; pointer-events: none; }
.sol-tints i {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: none;
}
.sol-tints .t-hi { background: radial-gradient(ellipse 90% 70% at 50% 110%, rgba(76, 255, 140, 0.13), transparent 70%); }
.sol-tints .t-lo { background: radial-gradient(ellipse 90% 70% at 50% 110%, rgba(255, 140, 76, 0.13), transparent 70%); }
.sol-tints .t-null { background: radial-gradient(ellipse 90% 70% at 50% 110%, rgba(255, 80, 80, 0.15), transparent 70%); }
.sol-head { text-align: center; position: relative; z-index: 2; padding-inline: var(--gutter); }
.sec-meter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}
.sec-meter .sec-val {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 700;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 0 36px rgba(76, 224, 255, 0.35);
}
.sec-meter .sec-band {
  font-size: clamp(13px, 1.8vw, 20px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
}
.sol-track-wrap {
  margin-top: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.sol-track {
  display: flex;
  gap: clamp(40px, 8vw, 120px);
  width: max-content;
  padding: 26px 50vw;
  will-change: transform;
}
.sol-stop {
  text-align: center;
  position: relative;
  flex: none;
}
.sol-stop::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 1px;
  height: 10px;
  background: var(--cyan-dim);
}
.sol-stop .pl {
  width: clamp(34px, 5vw, 56px);
  height: clamp(34px, 5vw, 56px);
  margin: 0 auto 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  position: relative;
}
.sol-stop .pl::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
}
.sol-stop .nm { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--heading); }
.sol-stop .ds { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.sol-stop.s-hi { color: var(--green); }
.sol-stop.s-lo { color: var(--orange); }
.sol-stop.s-null { color: var(--danger); }
.sol-stop.s-sun { color: var(--amber); }
.sol-stop.s-sun .pl { box-shadow: 0 0 26px rgba(255, 226, 160, 0.5); }

/* ============================================================
   CH-03 ECONOMY — forge chain + trade ticker
   ============================================================ */
.econ-grid { text-align: center; }
.forge-chain {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin-top: 6vh;
  flex-wrap: wrap;
}
.forge-node {
  flex: 0 1 150px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px 12px;
  background: rgba(2, 8, 12, 0.6);
  opacity: 0.25;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.forge-node.on {
  opacity: 1;
  transform: none;
  border-color: var(--hairline-strong);
  box-shadow: 0 0 22px rgba(40, 238, 255, 0.12);
}
.forge-node .fi { font-size: 20px; color: var(--cyan); }
.forge-node .fn { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--heading); margin-top: 8px; }
.forge-node .fd { font-size: 9.5px; letter-spacing: 0.06em; color: var(--muted); margin-top: 4px; }
.forge-link {
  flex: 0 0 34px;
  align-self: center;
  height: 1px;
  background: var(--hairline);
  position: relative;
  overflow: visible;
}
.forge-link i {
  position: absolute;
  inset: 0;
  background: var(--electric);
  box-shadow: 0 0 8px var(--electric);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.forge-link.on i { transform: scaleX(1); }
.ticker-wrap {
  margin-top: 7vh;
  border-block: 1px solid var(--hairline);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker {
  display: flex;
  gap: 44px;
  width: max-content;
  padding: 13px 0;
  will-change: transform;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker .up { color: var(--green); }
.ticker .dn { color: var(--danger); }
.ticker .it { color: var(--body); }

/* ============================================================
   CH-04 SOVEREIGNTY — territory flip map
   ============================================================ */
.sov-grid-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.sov-map {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px;
}
.sov-map i {
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(76, 224, 255, 0.1);
  border: 1px solid rgba(76, 224, 255, 0.14);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.sov-map i.a { background: rgba(76, 224, 255, 0.45); border-color: var(--cyan); }
.sov-map i.b {
  background: rgba(216, 112, 255, 0.5);
  border-color: var(--violet);
  box-shadow: 0 0 8px rgba(216, 112, 255, 0.35);
}
.sov-map i.war {
  background: rgba(255, 80, 80, 0.55);
  border-color: var(--danger);
  box-shadow: 0 0 10px rgba(255, 80, 80, 0.4);
}
.sov-legend {
  display: flex;
  gap: 22px;
  margin-top: 16px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.sov-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sov-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.sov-legend .la { background: rgba(76, 224, 255, 0.45); }
.sov-legend .lb { background: rgba(216, 112, 255, 0.5); }
.sov-legend .lw { background: rgba(255, 80, 80, 0.55); }

/* ============================================================
   CH-05 GALLERY — horizontal film strip
   ============================================================ */
.strip-stage .stage-inner {
  width: 100vw;
  max-width: 100vw;
  min-width: 0;
  padding-inline: 0;
}
.strip-head { padding-inline: var(--gutter); max-width: var(--maxw); margin: 0 auto 5vh; }
.strip-note {
  max-width: 74ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.film-strip {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-inline: var(--gutter);
  will-change: transform;
}
.frame {
  position: relative;
  width: clamp(260px, 34vw, 460px);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-1);
  flex: none;
  margin: 0;
}
.frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,5,8,0.08), transparent 42%, rgba(1,5,8,0.92));
  pointer-events: none;
}
.frame:hover > img { transform: scale(1.035); filter: saturate(1.12); }
.frame.store-frame > img { transform: scale(1.22); }
.frame.store-frame:hover > img { transform: scale(1.28); }
.frame figcaption {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  color: var(--heading);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.frame figcaption b { font-weight: 600; }
.frame figcaption small {
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-align: right;
}
.frame .ph { position: absolute; inset: 0; }
.frame .corner-id { position: absolute; top: 10px; left: 12px; font-size: 9px; letter-spacing: 0.2em; color: var(--cyan); text-transform: uppercase; z-index: 2; }
.frame.trailer { width: clamp(300px, 44vw, 620px); }

/* ============================================================
   CALM MEDIA BANDS
   ============================================================ */
.calm { position: relative; z-index: 2; }

/* ---------- reduced motion: unpin everything, show all ---------- */
@media (prefers-reduced-motion: reduce) {
  .ch.pin, .ch.pin.tall { height: auto; }
  .ch .stage { position: relative; height: auto; overflow: visible; padding-block: 16vh; }
  .rise { transform: none; opacity: 1; }
  .strip-stage { overflow: hidden; }
  .film-strip {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    transform: none !important;
  }
  .frame,
  .frame.trailer { width: 100%; }
  .combat-log .ll, .forge-node, .forge-link i { opacity: 1; transform: none; }
  .boot { display: none; }
  .reticle-cursor { display: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .combat-grid, .sov-grid-wrap { grid-template-columns: 1fr; gap: 30px; }
  .hud-rail { right: 10px; }
  .hud-rail a .tip { display: none !important; }
  .hud-stat { display: none; }
  .ch.pin { height: 240vh; }
  .ch.pin.tall { height: 300vh; }
  .landing-only .ch.pin { height: 190vh; }
  .landing-only .ch.pin.tall { height: 230vh; }
  .landing-only #top { height: 150vh !important; }
  .duel-wrap svg { width: min(360px, 80vw); }

  .stage-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .econ-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .forge-chain {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }
  .forge-node {
    min-width: 0;
    padding-inline: 7px;
  }
  .forge-link { display: none; }
  .forge-node .fn {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .forge-node .fd { font-size: 8px; }
}

/* Phone choreography: preserve the scenes while keeping every animated plane
   inside the visible canvas and away from fixed navigation. */
@media (max-width: 600px) {
  .hud-rail,
  .hud-stat,
  .combat-log { display: none; }

  .ch.pin { height: 190svh; }
  .ch.pin.tall { height: 230svh; }
  .landing-only .ch.pin { height: 190svh; }
  .landing-only .ch.pin.tall { height: 230svh; }

  .stage-inner { padding-inline: 20px; }

  #top .stage-inner { padding-inline: 12px; }
  #top .hero-content {
    width: 100%;
    max-width: 100%;
  }
  #top .eyebrow {
    gap: 8px;
    margin-bottom: 14px;
    padding: 5px 10px;
    font-size: 9px;
    line-height: 1.45;
    letter-spacing: 0.2em;
  }
  #top .wordmark {
    font-size: clamp(40px, 14vw, 58px);
    line-height: 0.9;
  }
  #top .tagline {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: 0.03em;
  }
  #top .hero-cta {
    gap: 8px;
    margin-top: 20px;
  }
  #top .hero-cta .btn {
    min-height: 44px;
    padding-block: 10px;
  }
  #top .hero-readout { margin-top: 28px; }
  #top .readout-item .v { font-size: 19px; }

  .ch-kicker {
    gap: 10px;
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: 0.24em;
  }
  .ch-kicker::before { width: 28px; }
  .mega { font-size: clamp(32px, 10vw, 44px); }
  .ch-sub {
    margin-top: 18px;
    line-height: 1.62;
  }
  .ch-read {
    min-height: 44px;
    margin-top: 20px;
    padding: 11px 16px;
    line-height: 1.35;
  }

  .combat-grid,
  .sov-grid-wrap { gap: 20px; }
  .duel-wrap svg { width: min(300px, 72vw); }

  .econ-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .forge-chain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }
  .forge-node {
    min-width: 0;
    padding: 10px 8px;
  }
  .forge-node:last-of-type { grid-column: 1 / -1; }
  .forge-link { display: none; }
  .forge-node .fi { font-size: 15px; }
  .forge-node .fn {
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .forge-node .fd {
    margin-top: 2px;
    font-size: 8px;
  }
  .ticker-wrap { margin-top: 24px; }

  .sov-map { gap: 3px; }
  .sov-legend {
    justify-content: space-between;
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .strip-head { margin-bottom: 24px; }
  .frame,
  .frame.trailer { width: min(280px, calc(100vw - 54px)); }
}

@media (max-width: 600px) and (max-height: 760px) {
  #top .scroll-hint { display: none; }
  #top .eyebrow { margin-bottom: 10px; }
  #top .tagline { margin-top: 13px; }
  #top .hero-cta { margin-top: 16px; }
  #top .hero-readout { margin-top: 22px; }

  #economy .stage-inner { margin-top: 60px; }
  #economy .mega { font-size: 28px; }
  #economy .ch-sub {
    font-size: 12px;
    line-height: 1.48;
  }
  #economy .forge-chain {
    gap: 6px;
    margin-top: 14px;
  }
  #economy .forge-node { padding: 6px; }
  #economy .forge-node .fd { display: none; }
  #economy .ticker-wrap { margin-top: 14px; }
  #economy .ch-read { margin-top: 12px; }

  #sovereignty .stage-inner { margin-top: 56px; }
}
