/* ═══════════════════════════════════════════════════════════════
   DIGI TOUCH v4 — MIDNIGHT & MOLTEN GOLD
   void #050507 · ivory #F2EFE6 · gold #E8B44C→#F6D989 · teal #35D0BA
   display: Fraunces (variable) · labels: IBM Plex Mono · body: system
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Fraunces';
  src: url('assets/fraunces-var.woff2') format('woff2');
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('assets/plex-mono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('assets/plex-mono-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --void: #050507;
  --void-2: #0B0B10;
  --panel: rgba(242, 239, 230, 0.045);
  --panel-2: rgba(242, 239, 230, 0.08);
  --hair: rgba(232, 180, 76, 0.28);
  --hair-dim: rgba(242, 239, 230, 0.14);
  --ivory: #F2EFE6;
  --dim: #B8B4A3;
  --gold: #E8B44C;
  --gold-hi: #F6D989;
  --gold-grad: linear-gradient(105deg, #B9832B 0%, #E8B44C 35%, #F6D989 52%, #E8B44C 68%, #B9832B 100%);
  --teal: #35D0BA;
  --blood: #E15A4E;
  --pop: cubic-bezier(0.2, 1.1, 0.3, 1);
  --glide: cubic-bezier(0.22, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background:
    radial-gradient(90% 60% at 80% -10%, rgba(232, 180, 76, 0.07), transparent 60%),
    radial-gradient(80% 50% at 10% 110%, rgba(53, 208, 186, 0.05), transparent 60%),
    var(--void);
  color: var(--ivory);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.04rem;
  line-height: 1.66;
  overflow-x: clip;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

em { font-style: italic; }

/* gold text */
.fin-gold, .act-t em {
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
}
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 200% 0; } }

/* ── entrance veil ── */
.veil { position: fixed; inset: 0; z-index: 150; background: var(--void); pointer-events: none;
  transition: opacity 1.1s ease; }
.veil.lift { opacity: 0; }

/* ── chrome ── */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.05rem clamp(1rem, 3vw, 2.2rem);
  background: linear-gradient(rgba(5, 5, 7, 0.85), transparent);
}
.bar-brand {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.12rem;
  letter-spacing: 0.22em; text-decoration: none;
}
.bar-cta {
  font-family: 'Plex Mono', monospace; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em;
  text-decoration: none; color: var(--gold-hi);
  border: 1px solid var(--hair); border-radius: 999px;
  padding: 0.5rem 1.05rem;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.bar-cta:hover { background: var(--gold); color: var(--void); box-shadow: 0 0 24px rgba(232, 180, 76, 0.45); }

.dots {
  position: fixed; right: 1.1rem; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: 0.9rem;
}
.dots a { display: grid; place-items: center; width: 18px; height: 18px; }
.dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dim); opacity: 0.55;
  transition: transform 0.25s var(--pop), background 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}
.dots a.here i { background: var(--gold); opacity: 1; transform: scale(1.7); box-shadow: 0 0 12px rgba(232, 180, 76, 0.7); }
@media (max-width: 900px) { .dots { display: none; } }

/* ═════════ ACTS (shared) ═════════ */
.act { padding: clamp(3.2rem, 6.5vw, 5.5rem) clamp(1.1rem, 4.5vw, 4rem); max-width: 1240px; margin: 0 auto; }
.act-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.act-head-c { margin-inline: auto; text-align: center; }
.act-no {
  font-family: 'Plex Mono', monospace; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.34em; color: var(--gold);
}
.act-t {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: clamp(2.1rem, 5.6vw, 4.3rem); line-height: 1.06;
  letter-spacing: 0.005em; margin-top: 0.9rem; text-wrap: balance;
}
.act-s { margin-top: 1.1rem; color: var(--dim); max-width: 40rem; text-wrap: pretty; }

/* ═════════ HERO ═════════ */
.hero {
  max-width: none; margin: 0;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  position: relative;
  padding-bottom: 3.4rem;
}
#swarm { position: absolute; inset: 0; width: 100%; height: 100%; }
/* reserves the zone where the swarm word forms, so the copy sits just beneath it */
.swarm-space { height: min(33svh, 330px); width: 100%; }
.hero-fallback {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
/* reduced-motion / no-canvas: show the words as real type */
.hero.static #swarm, .hero.static .swarm-space, .shot .swarm-space { display: none; }
.hero.static .hero-fallback {
  position: static; width: auto; height: auto; clip-path: none; overflow: visible;
  font-family: 'Fraunces', Georgia, serif; font-weight: 640;
  font-size: clamp(2.6rem, 9vw, 8rem); line-height: 1.05; text-wrap: balance;
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1.5rem;
}

.hero-under { position: relative; z-index: 2; max-width: 44rem; display: flex; flex-direction: column; align-items: center; }
.hero-kicker {
  font-family: 'Plex Mono', monospace; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.34em; color: var(--gold);
}
.hero-line { margin-top: 1rem; color: var(--dim); font-size: clamp(1.02rem, 1.5vw, 1.16rem); max-width: 36rem; text-wrap: pretty; }
.hero-gold {
  font-family: 'Fraunces', Georgia, serif; font-weight: 640; font-style: normal;
  font-size: 1.25em; color: var(--gold-hi); white-space: nowrap;
}
.hero-acts { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 1.8rem; }

.gbtn {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.05em;
  color: var(--void); text-decoration: none;
  background: var(--gold-grad); background-size: 200% 100%;
  border: none; border-radius: 999px; cursor: pointer;
  padding: 0.95rem 1.9rem;
  box-shadow: 0 0 0 1px rgba(246, 217, 137, 0.5) inset, 0 8px 34px rgba(232, 180, 76, 0.28);
  transition: transform 0.25s var(--pop), box-shadow 0.25s ease, background-position 0.6s ease;
}
.gbtn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 0 0 1px rgba(246, 217, 137, 0.6) inset, 0 14px 44px rgba(232, 180, 76, 0.4); }
.tbtn {
  font-family: 'Plex Mono', monospace; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em;
  color: var(--ivory); text-decoration: none;
  border-bottom: 1px solid var(--hair); padding-bottom: 0.25rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tbtn:hover { color: var(--gold-hi); border-color: var(--gold); }

.hero-hint {
  position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
  z-index: 2; white-space: nowrap;
  font-family: 'Plex Mono', monospace; font-size: 0.62rem; letter-spacing: 0.3em;
  color: var(--dim); opacity: 0.75;
}
@media (max-width: 720px) { .hero-hint { display: none; } }

/* ═════════ cinematic image bands ═════════ */
.cine { position: relative; margin: 0; }
.cine img {
  width: 100%; height: clamp(300px, 52vw, 620px);
  object-fit: cover; display: block;
}
.cine::before, .cine::after {
  content: ''; position: absolute; left: 0; right: 0; height: 30%;
  pointer-events: none;
}
.cine::before { top: 0; background: linear-gradient(var(--void), transparent); }
.cine::after { bottom: 0; background: linear-gradient(transparent, var(--void)); }
.cine figcaption {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  z-index: 2; white-space: nowrap;
  font-family: 'Plex Mono', monospace; font-weight: 600;
  font-size: 0.64rem; letter-spacing: 0.42em; color: var(--gold-hi);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

/* side portraits */
.act-side {
  width: clamp(200px, 24vw, 320px); height: auto;
  border: 1px solid var(--hair); border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(232, 180, 76, 0.08);
}
.flow-top {
  display: flex; gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.flow-top .act-head { margin-bottom: 0; }
.flow-top { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.path-wrap {
  display: flex; gap: clamp(1.8rem, 5vw, 4rem);
  align-items: flex-start; justify-content: space-between; flex-wrap: wrap;
}
.path-img { margin-top: 0.4rem; }
@media (max-width: 860px) {
  .flow-top, .path-wrap { flex-direction: column; align-items: flex-start; }
  .act-side { width: min(70vw, 300px); align-self: center; }
}

/* ═════════ ACT I · THE FLEET (image cards) ═════════ */
.fleet {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 2vw, 1.4rem);
}
.fl-card {
  position: relative; min-width: 0; overflow: hidden;
  border: 1px solid var(--hair-dim); border-radius: 18px;
  background: linear-gradient(170deg, rgba(242, 239, 230, 0.05), rgba(11, 11, 16, 0.9) 55%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--glide), border-color 0.3s ease, box-shadow 0.3s ease;
}
.fl-card:hover {
  transform: translateY(-6px);
  border-color: var(--hair);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(232, 180, 76, 0.12);
}
.fl-img { aspect-ratio: 16 / 9.2; overflow: hidden; }
.fl-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--glide);
}
.fl-card:hover .fl-img img { transform: scale(1.05); }
.fl-body { padding: 1rem 1.15rem 1.1rem; }
.fl-body h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.18rem; }
.fl-body p { color: var(--dim); font-size: 0.8rem; margin-top: 0.3rem; }
.fl-price {
  display: flex; align-items: baseline; gap: 0.6rem;
  margin-top: 0.75rem; padding-top: 0.7rem;
  border-top: 1px dashed var(--hair-dim);
  font-family: 'Plex Mono', monospace; font-weight: 600; font-size: 0.95rem; color: var(--gold-hi);
}
.fl-price del { color: var(--dim); font-size: 0.72rem; text-decoration-color: var(--blood); }
/* the wildcard */
.fl-card-x {
  border: 1px dashed var(--gold);
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(232, 180, 76, 0.16), transparent 55%),
    linear-gradient(170deg, rgba(242, 239, 230, 0.05), rgba(11, 11, 16, 0.9) 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.fl-x-mark {
  font-size: 2.6rem; line-height: 1; padding: 1.4rem 1.15rem 0;
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
}
.fl-card-x h3 {
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 980px) { .fleet { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fleet { grid-template-columns: 1fr; } }

/* ═════════ fresh off the line ═════════ */
.works { padding-top: clamp(3rem, 7vw, 5rem); }
.wk-s { margin-inline: auto; }
.wk-row {
  display: grid; grid-template-columns: 1.25fr 0.72fr 1.25fr;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: start;
}
.wk-card {
  margin: 0; min-width: 0;
  transition: transform 0.3s var(--glide);
}
.wk-card:hover { transform: translateY(-6px); }
.wk-card:nth-child(1) { transform: rotate(-1.1deg); }
.wk-card:nth-child(3) { transform: rotate(1.1deg); }
.wk-card:nth-child(1):hover { transform: rotate(-1.1deg) translateY(-6px); }
.wk-card:nth-child(3):hover { transform: rotate(1.1deg) translateY(-6px); }
.wk-chrome {
  display: flex; align-items: center; gap: 6px;
  background: #14141B;
  border: 1px solid var(--hair-dim); border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 0.55rem 0.9rem;
}
.wk-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(242, 239, 230, 0.18); }
.wk-chrome i:first-child { background: rgba(225, 90, 78, 0.6); }
.wk-chrome span {
  margin-left: 0.6rem;
  font-family: 'Plex Mono', monospace; font-size: 0.62rem; letter-spacing: 0.08em; color: var(--dim);
  background: rgba(242, 239, 230, 0.06); border-radius: 6px; padding: 0.15rem 0.7rem;
}
.wk-card img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--hair-dim); border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}
.wk-card-phone { padding: 0 clamp(0.2rem, 1vw, 1rem); }
.wk-card-phone .wk-bezel { display: none; }
.wk-card-phone img {
  border: 6px solid #14141B; border-radius: 26px;
  outline: 1px solid var(--hair-dim);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
}
.wk-card figcaption { text-align: center; margin-top: 0.9rem; }
.wk-card figcaption strong {
  display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.08rem;
}
.wk-card figcaption span {
  font-family: 'Plex Mono', monospace; font-size: 0.64rem; letter-spacing: 0.1em; color: var(--dim);
}
.wk-note {
  text-align: center; margin-top: 1.8rem;
  font-size: 0.78rem; color: var(--dim); opacity: 0.8;
}
@media (max-width: 860px) {
  .wk-row { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .wk-card-phone { max-width: 15rem; margin-inline: auto; }
  .wk-card:nth-child(1), .wk-card:nth-child(3) { transform: none; }
}

/* ═════════ ACT II · DIVISIONS ═════════ */
.svcs { display: grid; gap: clamp(2.4rem, 6vw, 4.5rem); }
.svc {
  display: grid; grid-template-columns: minmax(0, 44%) 1fr;
  gap: clamp(1.4rem, 4vw, 3rem); align-items: center;
}
.svc:nth-child(even) { direction: rtl; }
.svc:nth-child(even) > * { direction: ltr; }
.svc img {
  width: 100%; height: 100%; max-height: 340px; object-fit: cover;
  border: 1px solid var(--hair); border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.svc-body { min-width: 0; }
.svc-k {
  font-family: 'Plex Mono', monospace; font-weight: 600;
  font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gold);
}
.svc-body h3 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem); margin-top: 0.5rem;
}
.svc-body > p { color: var(--dim); margin-top: 0.7rem; max-width: 36rem; text-wrap: pretty; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; }
.chips li {
  font-family: 'Plex Mono', monospace; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.05em;
  color: var(--gold-hi);
  border: 1px solid var(--hair); border-radius: 999px;
  padding: 0.32rem 0.75rem;
  background: var(--panel);
}
@media (max-width: 860px) {
  .svc, .svc:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .svc img { max-height: 240px; }
}

/* ═════════ the A–Z index ═════════ */
.dex {
  border-top: 1px solid var(--hair-dim); border-bottom: 1px solid var(--hair-dim);
  background: linear-gradient(180deg, rgba(232, 180, 76, 0.05), transparent 30%), var(--void-2);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.1rem, 4.5vw, 4rem);
}
.dex-inner { max-width: 1240px; margin: 0 auto; }
.dex-list {
  list-style: none;
  columns: 3; column-gap: 2.5rem;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  font-family: 'Plex Mono', monospace; font-size: 0.84rem;
}
.dex-list li {
  padding: 0.42rem 0; border-bottom: 1px dashed var(--hair-dim);
  break-inside: avoid; color: var(--dim);
}
.dex-list li::before { content: '◆ '; color: var(--gold); font-size: 0.6em; vertical-align: 0.2em; }
.dex-list li:last-child { color: var(--gold-hi); }
.dex-foot { margin-top: 1.6rem; color: var(--dim); }
.dex-foot strong { color: var(--gold-hi); }
@media (max-width: 900px) { .dex-list { columns: 2; } }
@media (max-width: 560px) { .dex-list { columns: 1; } }

/* ═════════ ACT V · industries ═════════ */
.cine-in { margin-top: 0.5rem; }
.cine-in img { border-radius: 18px; border: 1px solid var(--hair-dim); }
.cine-in::before, .cine-in::after { display: none; }
.act-wide .cine-in { position: relative; }
.cine-in figcaption {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  white-space: nowrap; max-width: 94%; overflow: hidden; text-overflow: ellipsis;
  font-family: 'Plex Mono', monospace; font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.28em; color: var(--gold-hi);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.95);
}
.inds {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}
.inds li {
  border: 1px solid var(--hair-dim); border-radius: 12px;
  background: var(--panel);
  padding: 1rem 1.1rem; min-width: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.inds li:hover { border-color: var(--hair); background: var(--panel-2); }
.inds h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.05rem; }
.inds p { font-family: 'Plex Mono', monospace; font-size: 0.66rem; letter-spacing: 0.04em; color: var(--dim); margin-top: 0.35rem; }
.inds li:last-child { border-style: dashed; border-color: var(--gold); }
.inds li:last-child h3 { color: var(--gold-hi); }
@media (max-width: 1000px) { .inds { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .inds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .inds { grid-template-columns: 1fr; } }

/* ═════════ numbers band ═════════ */
.nums {
  border-top: 1px solid var(--hair-dim); border-bottom: 1px solid var(--hair-dim);
  background: var(--void-2);
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.1rem, 4.5vw, 4rem);
}
.nums-row {
  list-style: none; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  text-align: center;
}
.nums-row strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif; font-weight: 640;
  font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}
.nums-row span { font-family: 'Plex Mono', monospace; font-size: 0.7rem; letter-spacing: 0.16em; color: var(--dim); text-transform: uppercase; }
@media (max-width: 720px) { .nums-row { grid-template-columns: 1fr 1fr; gap: 1.6rem 0.8rem; } }

/* ═════════ comparison ═════════ */
.compare-block { max-width: 56rem; margin-top: clamp(3rem, 7vw, 4.5rem); }
.compare-scroll { overflow-x: auto; border: 1px solid var(--hair-dim); border-radius: 14px; }
.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.9rem; }
.compare th, .compare td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--hair-dim); }
.compare thead th {
  font-family: 'Plex Mono', monospace; font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
  background: var(--void-2);
}
.compare tbody th { font-weight: 600; color: var(--ivory); white-space: nowrap; }
.compare td { color: var(--dim); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare .cmp-us { color: var(--gold-hi); background: rgba(232, 180, 76, 0.06); font-weight: 600; }

/* ═════════ care line ═════════ */
.careline {
  max-width: 56rem; margin-top: 2rem;
  border: 1px solid var(--hair); border-radius: 14px;
  background: linear-gradient(100deg, rgba(232, 180, 76, 0.09), transparent 60%);
  padding: 1.3rem 1.5rem;
}
.cl-k { font-family: 'Plex Mono', monospace; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.28em; color: var(--gold); }
.cl-line { margin-top: 0.5rem; color: var(--dim); }
.cl-line strong { color: var(--gold-hi); }

/* ═════════ voices ═════════ */
.voices { margin-top: clamp(3rem, 7vw, 4.5rem); }
.voice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.voice {
  border: 1px solid var(--hair-dim); border-radius: 16px;
  background: var(--panel);
  padding: 1.5rem 1.4rem;
  display: flex; flex-direction: column; min-width: 0;
}
.voice p { font-size: 0.94rem; color: var(--ivory); font-style: italic; flex-grow: 1; text-wrap: pretty; }
.voice footer { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.2rem; }
.v-init {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 0.9rem;
  color: var(--void); background: var(--gold-grad);
}
.voice cite { font-style: normal; font-family: 'Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.08em; color: var(--dim); }
@media (max-width: 900px) { .voice-row { grid-template-columns: 1fr; } }

/* ═════════ ACT III · CRASH ═════════ */
.crash { text-align: center; }
.odo-wrap { margin-top: 0.6rem; }
.odo-label {
  font-family: 'Plex Mono', monospace; font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.4em; color: var(--dim);
  transition: color 0.4s ease;
}
.odo-label.now { color: var(--gold); }
.odo {
  /* solid gold, not gradient-clip: transformed digit columns break
     background-clip:text through the overflow context (see log) */
  display: inline-flex; align-items: center;
  font-family: 'Fraunces', Georgia, serif; font-weight: 680;
  font-size: clamp(3.6rem, 15vw, 12rem); line-height: 1;
  margin-top: 1rem;
  color: var(--gold-hi);
  filter: drop-shadow(0 8px 44px rgba(232, 180, 76, 0.3));
}
.odo-cur { margin-right: 0.06em; }
.odo-digit {
  display: inline-block; overflow: hidden;
  height: 1.02em; width: 0.62em;
  vertical-align: bottom;
}
.odo-digit .col {
  display: flex; flex-direction: column; align-items: center;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.odo-digit .col span { height: 1.02em; line-height: 1.02; display: block; }
.odo-comma { opacity: 0.85; }
.odo.slim .odo-l, .odo.slim .odo-d0, .odo.slim .odo-d1 { display: none; }
.odo-verdict {
  font-family: 'Plex Mono', monospace; font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.42em; color: var(--gold);
  margin-top: 1.2rem;
}
.odo-verdict[hidden] { display: none; }
.odo-verdict:not([hidden]) { animation: verdictIn 0.6s var(--pop) both; }
@keyframes verdictIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; } }

.oaths {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(0.8rem, 2.5vw, 1.6rem);
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
}
.oaths li {
  min-width: 10rem;
  border: 1px solid var(--hair-dim); border-radius: 12px;
  background: var(--panel);
  padding: 1.15rem 1.4rem;
}
.oaths strong {
  display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 640;
  font-size: 1.9rem; color: var(--gold-hi);
}
.oaths span { font-size: 0.78rem; color: var(--dim); letter-spacing: 0.04em; }

/* ═════════ ACT IV · RIVER ═════════ */
.river { margin: 0 auto; max-width: 900px; }
.river svg { width: 100%; height: auto; display: block; }
.rv-dead { fill: none; stroke: var(--hair-dim); stroke-width: 2; stroke-dasharray: 7 7; }
.rv-block rect { fill: rgba(225, 90, 78, 0.12); stroke: rgba(225, 90, 78, 0.55); }
.rv-block text { fill: #F2A49C; font: 600 13px 'Plex Mono', monospace; letter-spacing: 0.08em; }
.rv-live { fill: none; stroke: url(#gold); stroke-width: 3.5; stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(232, 180, 76, 0.55)); }
.rv-coin { fill: var(--gold-hi); filter: drop-shadow(0 0 10px rgba(246, 217, 137, 0.9)); }
.rv-node circle { fill: var(--void-2); stroke: var(--hair); stroke-width: 1.5; }
.rv-node-you circle { stroke: var(--teal); }
.rv-node text { fill: var(--ivory); font: 700 12.5px 'Plex Mono', monospace; letter-spacing: 0.06em; }
.rv-node text + text { fill: var(--dim); font-weight: 400; font-size: 11px; }
.rv-mid text { fill: var(--dim); font: 600 12px 'Plex Mono', monospace; letter-spacing: 0.14em; }

.flow-notes {
  max-width: 46rem; margin: 2.4rem auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem;
}
.flow-notes p { color: var(--dim); font-size: 0.95rem; }
.flow-notes strong { color: var(--ivory); display: block; margin-bottom: 0.3rem; }
@media (max-width: 720px) { .flow-notes { grid-template-columns: 1fr; } }

/* ═════════ ACT V · PATH + QA ═════════ */
.steps {
  list-style: none;
  border-left: 1px solid var(--hair);
  margin-left: 0.4rem;
  display: grid; gap: 1.9rem;
  max-width: 44rem;
}
.step { position: relative; padding-left: 2rem; }
.step::before {
  content: '';
  position: absolute; left: -5px; top: 0.5rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(232, 180, 76, 0.8);
}
.step-t { font-family: 'Plex Mono', monospace; font-weight: 600; font-size: 0.66rem; letter-spacing: 0.34em; color: var(--gold); }
.step h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.5rem; margin-top: 0.25rem; }
.step p:last-child { color: var(--dim); margin-top: 0.35rem; max-width: 34rem; }

.qa-block { max-width: 44rem; margin-top: clamp(3rem, 7vw, 4.5rem); }
.qa-t { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.6rem; margin-bottom: 1rem; }
.qa-block details { border-top: 1px solid var(--hair-dim); }
.qa-block details:last-child { border-bottom: 1px solid var(--hair-dim); }
.qa-block summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.02rem;
  padding: 1.05rem 2.6rem 1.05rem 0; position: relative;
}
.qa-block summary::-webkit-details-marker { display: none; }
.qa-block summary::after {
  content: '+'; position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%);
  font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; color: var(--gold);
  transition: transform 0.25s var(--pop);
}
.qa-block details[open] summary::after { content: '−'; }
.qa-block details p { padding: 0 0 1.2rem; color: var(--dim); max-width: 58ch; }

/* ═════════ FINALE ═════════ */
.finale { text-align: center; }
.fin-t {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: 1.05; text-wrap: balance;
}
.fin-s { color: var(--dim); max-width: 34rem; margin: 1.2rem auto 0; text-wrap: pretty; }
.fin-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.8rem;
  max-width: 700px; margin: 2.6rem auto 0; text-align: left;
}
.ff { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.ff-w { grid-column: 1 / -1; }
.ff label { font-family: 'Plex Mono', monospace; font-weight: 600; font-size: 0.64rem; letter-spacing: 0.3em; color: var(--dim); }
.ff input {
  font: 500 1.05rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ivory); background: transparent;
  border: none; border-bottom: 1px solid var(--hair-dim);
  padding: 0.6rem 0.05rem; border-radius: 0;
}
.ff input::placeholder { color: rgba(171, 167, 149, 0.5); }
.ff input:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.ff-go { justify-self: center; grid-column: 1 / -1; margin-top: 0.4rem; }
.ff-done { grid-column: 1 / -1; text-align: center; color: var(--gold-hi); font-size: 0.95rem; }
.ff-done[hidden] { display: none; }
.fin-alt { margin-top: 1.7rem; font-size: 0.88rem; color: var(--dim); }
.fin-alt a { color: var(--gold-hi); text-underline-offset: 3px; }

/* ═════════ CODA ═════════ */
.coda { border-top: 1px solid var(--hair-dim); text-align: center; padding: 3rem 1rem 2.6rem; }
.coda-mark {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.6rem; letter-spacing: 0.3em;
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.coda-line { margin-top: 0.7rem; font-family: 'Plex Mono', monospace; font-size: 0.7rem; letter-spacing: 0.26em; color: var(--dim); }
.coda-tiny { margin-top: 0.5rem; font-size: 0.72rem; color: var(--dim); opacity: 0.65; }

/* ═════════ reveals ═════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s var(--glide); }
.reveal.shown { opacity: 1; transform: none; }

/* ═════════ shot hook (fixed px only — H36) ═════════ */
.shot .veil { display: none; }
.shot .hero { min-height: 0; padding-top: 7rem; }
.shot .hero #swarm { display: none; }
.shot .hero .hero-fallback {
  position: static; width: auto; height: auto; clip-path: none; overflow: visible;
  font-family: 'Fraunces', Georgia, serif; font-weight: 640;
  font-size: clamp(2.6rem, 9vw, 8rem); line-height: 1.05;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1.5rem;
}

/* ═════════ reduced motion ═════════ */
@media (prefers-reduced-motion: reduce) {
  .fin-gold, .odo, .act-t em, .coda-mark, .hero.static .hero-fallback { animation: none; }
  .veil { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .odo-digit .col { transition: none; }
  .odo-verdict:not([hidden]) { animation: none; }
  .gbtn, .bar-cta, .dots i { transition: none; }
}

/* ═════════ responsive ═════════ */
@media (max-width: 720px) {
  .fin-form { grid-template-columns: 1fr; }
  .oaths { display: grid; grid-template-columns: 1fr 1fr; }
  .oaths li { min-width: 0; }
  .hero { padding-bottom: 3.2rem; }
  .hero-under { padding-right: 0.5rem; }
}
