/* ============================================================
   PonsiScheme — style.css
   Old-money investment bank. Disturbingly honest about it.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy: #0A1428;
  --navy-deep: #060D1D;
  --gold: #C9A227;
  --gold-bright: #E3C158;
  --ivory: #F5F2EA;
  --green: #00C776;
  --red: #E5484D;

  --ink-88: rgba(245, 242, 234, 0.88);
  --ink-68: rgba(245, 242, 234, 0.68);
  --ink-50: rgba(245, 242, 234, 0.5);
  --ink-38: rgba(245, 242, 234, 0.38);
  --hairline: rgba(201, 162, 39, 0.2);
  --hairline-soft: rgba(201, 162, 39, 0.12);

  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ticker-h: 38px;
  --nav-h: 68px;
}

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

html {
  color-scheme: dark;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink-88);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-top: calc(var(--ticker-h) + var(--nav-h));
}

/* Faint film grain over everything — old paper, not new pixels. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.028;
  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.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

h1, h2, h3, p, figure, blockquote { margin: 0; }

a { color: inherit; }

img, svg, video { max-width: 100%; }

button { font: inherit; }

::selection {
  background: rgba(201, 162, 39, 0.85);
  color: var(--navy);
}

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

main [id] { scroll-margin-top: calc(var(--ticker-h) + var(--nav-h) + 18px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--navy);
  font: 600 13px var(--sans);
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.25s ease;
}

.skip-link:focus-visible { top: calc(var(--ticker-h) + 8px); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 40px);
}

.section { padding-block: clamp(88px, 11vw, 148px); }

.section-deep {
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.016), rgba(245, 242, 234, 0) 160px),
    var(--navy-deep);
  border-block: 1px solid var(--hairline-soft);
}

.section-head { max-width: 720px; margin-bottom: clamp(42px, 6vw, 68px); }

.section-head h2 { margin-bottom: 18px; }

h2 {
  font: 400 clamp(1.9rem, 3.4vw, 2.8rem)/1.15 var(--serif);
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.section-lede {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-68);
  max-width: 60ch;
}

.eyebrow {
  font: 500 11px var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: rgba(201, 162, 39, 0.5);
  margin-right: 12px;
  vertical-align: middle;
}

.star { color: var(--gold); }

.fine {
  font-size: 0.72em;
  color: var(--ink-50);
}

.tick {
  color: var(--green);
  font-size: 0.85em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-gold {
  background: linear-gradient(180deg, #D9B545, #B18E1E);
  color: #081026;
  border-color: rgba(255, 235, 180, 0.35);
  box-shadow: 0 10px 30px -12px rgba(201, 162, 39, 0.55);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -12px rgba(201, 162, 39, 0.7);
}

.btn-outline {
  border-color: rgba(201, 162, 39, 0.55);
  color: var(--gold-bright);
}

.btn-outline:hover {
  background: rgba(201, 162, 39, 0.08);
  border-color: rgba(227, 193, 88, 0.8);
}

.btn-ghost {
  padding: 15px 6px;
  color: rgba(245, 242, 234, 0.75);
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 500;
  font-size: 14px;
}

.btn-ghost:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(201, 162, 39, 0.5);
}

.btn-small {
  padding: 11px 18px;
  font-size: 11.5px;
}

/* ---------- Ticker tape ---------- */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ticker-h);
  z-index: 60;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050B18;
  border-bottom: 1px solid rgba(201, 162, 39, 0.14);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll var(--ticker-duration, 42s) linear infinite;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.08em;
}

.ticker-label {
  color: rgba(245, 242, 234, 0.48);
  margin-right: 8px;
}

.ticker-value.up { color: var(--green); }
.ticker-value.down { color: var(--red); }
.ticker-value.gold { color: var(--gold-bright); }

.ticker-sep {
  color: rgba(201, 162, 39, 0.35);
  font-size: 8px;
  padding: 0 18px;
}

/* ---------- Navbar ---------- */
.site-header {
  position: fixed;
  top: var(--ticker-h);
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 20, 40, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(6, 13, 29, 0.96);
  border-bottom-color: rgba(201, 162, 39, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--ivory);
  text-decoration: none;
}

.wordmark-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font: 500 13px var(--sans);
  letter-spacing: 0.04em;
  color: var(--ink-68);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.25s ease;
}

.nav-link:hover { color: var(--ivory); }

.nav-link.active { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(92vh - var(--ticker-h) - var(--nav-h));
  padding: clamp(56px, 9vh, 104px) 0 clamp(64px, 10vh, 120px);
  background:
    radial-gradient(900px 480px at 78% 4%, rgba(201, 162, 39, 0.08), transparent 62%),
    radial-gradient(720px 440px at 8% 92%, rgba(201, 162, 39, 0.05), transparent 65%);
}

/* Vignette */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(130% 95% at 50% 10%, transparent 55%, rgba(3, 7, 14, 0.55) 100%);
}

.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}

.hero-title {
  font: 400 clamp(2.6rem, 5.4vw, 4.4rem)/1.07 var(--serif);
  letter-spacing: -0.015em;
  color: var(--ivory);
  margin-bottom: 26px;
}

.accent-em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
}

.hero-sub {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink-68);
  max-width: 54ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ---------- CA pill ---------- */
.ca-pill {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 6px;
  background: rgba(4, 7, 15, 0.55);
  overflow: hidden;
}

.ca-label {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  font: 500 10px var(--mono);
  letter-spacing: 0.18em;
  color: rgba(201, 162, 39, 0.75);
  border-right: 1px solid var(--hairline);
}

.ca-value {
  align-self: center;
  padding: 10px 14px;
  font: 400 12.5px var(--mono);
  color: rgba(245, 242, 234, 0.8);
  max-width: min(340px, 52vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  padding: 10px 16px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--hairline);
  font: 600 11px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.copy-btn:hover { background: rgba(201, 162, 39, 0.1); }

.copy-btn.copied { color: var(--green); }

/* ---------- Media frames ---------- */
.media-slot {
  position: relative;
  overflow: hidden;
  background: #04070F;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 6px;
}

/* Inner mat, like a framed certificate — paints above the media */
.media-slot::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 3px;
  pointer-events: none;
}

.media-slot > video,
.media-slot > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-169 {
  aspect-ratio: 16 / 9;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.65);
}

.media-square { aspect-ratio: 1 / 1; }

/* ---------- Trust bar ---------- */
.trust-bar {
  border-block: 1px solid var(--hairline-soft);
  padding: 22px 0;
}

.trust-inner {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 22px;
  text-align: center;
}

.trust-label {
  font: 500 10px var(--mono);
  letter-spacing: 0.2em;
  color: rgba(245, 242, 234, 0.35);
}

.trust-names {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: rgba(245, 242, 234, 0.4);
}

.trust-names i {
  font-style: normal;
  color: rgba(201, 162, 39, 0.35);
  padding: 0 8px;
}

/* ---------- Ponzinomics ---------- */
.ponzi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}

.pyramid-wrap {
  position: relative;
  padding: 8px;
}

/* Ambient glow behind the pyramid, activated after the light-up sequence */
.pyramid-wrap::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: radial-gradient(closest-side, rgba(201, 162, 39, 0.16), transparent 72%);
  opacity: 0;
  transition: opacity 1.6s ease;
  pointer-events: none;
}

.pyramid-wrap.is-pulsing::before {
  opacity: 1;
  animation: pyr-glow 5s ease-in-out infinite alternate;
}

@keyframes pyr-glow {
  from { opacity: 0.35; }
  to   { opacity: 1; }
}

.pyr {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.pyr polygon {
  fill: rgba(201, 162, 39, 0.05);
  stroke: rgba(201, 162, 39, 0.28);
  stroke-width: 1;
  transition: fill 0.9s ease, stroke 0.9s ease;
}

.pyr text {
  fill: var(--ink-50);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: fill 0.9s ease;
}

.pyr-l1 text { font-size: 11px; letter-spacing: 0.1em; }

.pyr-ground {
  stroke: rgba(201, 162, 39, 0.22);
  stroke-width: 1;
}

/* Light-up sequence: bottom first — the base funds the top */
.pyr.lit .pyr-l4 polygon, .pyr.lit .pyr-l4 text { transition-delay: 0.05s; }
.pyr.lit .pyr-l3 polygon, .pyr.lit .pyr-l3 text { transition-delay: 0.5s; }
.pyr.lit .pyr-l2 polygon, .pyr.lit .pyr-l2 text { transition-delay: 0.95s; }
.pyr.lit .pyr-l1 polygon, .pyr.lit .pyr-l1 text { transition-delay: 1.4s; }

.pyr.lit .pyr-l1 polygon { fill: rgba(201, 162, 39, 0.52); stroke: rgba(227, 193, 88, 0.95); }
.pyr.lit .pyr-l2 polygon { fill: rgba(201, 162, 39, 0.34); stroke: rgba(227, 193, 88, 0.75); }
.pyr.lit .pyr-l3 polygon { fill: rgba(201, 162, 39, 0.2);  stroke: rgba(227, 193, 88, 0.58); }
.pyr.lit .pyr-l4 polygon { fill: rgba(201, 162, 39, 0.11); stroke: rgba(227, 193, 88, 0.45); }

.pyr.lit text { fill: rgba(245, 242, 234, 0.95); }

.pyr.reduced polygon,
.pyr.reduced text { transition: none; }

.pyramid-caption {
  margin-top: 22px;
  text-align: center;
  font: 400 10px var(--mono);
  letter-spacing: 0.14em;
  color: var(--ink-38);
}

/* ---------- Stat cards ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card {
  background: rgba(6, 13, 29, 0.6);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 26px 24px;
  transition: border-color 0.35s ease;
}

.stat-card:hover { border-color: rgba(201, 162, 39, 0.42); }

.stat-label {
  font: 500 10px var(--mono);
  letter-spacing: 0.18em;
  color: rgba(201, 162, 39, 0.85);
  margin-bottom: 14px;
}

.stat-value {
  font: 400 1.32rem/1.3 var(--serif);
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.stat-foot {
  font-size: 13px;
  color: var(--ink-50);
}

/* ---------- The Algorithm / terminal ---------- */
.algo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}

.terminal {
  background: #04070F;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(245, 242, 234, 0.03);
  border-bottom: 1px solid var(--hairline-soft);
}

.term-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  opacity: 0.85;
}

.term-dot-r { background: var(--red); }
.term-dot-y { background: var(--gold); }
.term-dot-g { background: var(--green); }

.terminal-title {
  margin-left: 10px;
  font: 400 11px var(--mono);
  letter-spacing: 0.04em;
  color: rgba(245, 242, 234, 0.45);
}

.terminal-body {
  margin: 0;
  padding: 22px 24px;
  font: 400 13px/1.75 var(--mono);
  color: rgba(245, 242, 234, 0.85);
  white-space: pre;
  overflow-x: auto;
  min-height: calc(1.75em * 21 + 45px);
}

.tok-key { color: var(--gold-bright); }
.tok-str { color: var(--green); }
.tok-com { color: rgba(245, 242, 234, 0.38); font-style: italic; }

.term-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 1px;
  background: var(--gold);
  vertical-align: text-bottom;
}

.term-cursor.blink { animation: cursor-blink 1.1s step-end infinite; }

@keyframes cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ---------- The Pyramid Plan (timeline) ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.35) 6%, rgba(201, 162, 39, 0.35) 94%, transparent);
}

.phase { position: relative; }

.phase-node {
  display: block;
  width: 11px;
  height: 11px;
  margin-bottom: 28px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  background: var(--navy);
}

.phase-eyebrow {
  font: 500 10px var(--mono);
  letter-spacing: 0.2em;
  color: rgba(201, 162, 39, 0.85);
  margin-bottom: 10px;
}

.phase-title {
  font: 400 1.35rem/1.25 var(--serif);
  color: var(--ivory);
  margin-bottom: 10px;
}

.phase-copy {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-50);
  max-width: 26ch;
}

/* ---------- Hall of Victims ---------- */
.victims-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.victim-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px;
  background: rgba(6, 13, 29, 0.55);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  transition: border-color 0.35s ease;
}

.victim-card:hover { border-color: rgba(201, 162, 39, 0.42); }

.victim-quote {
  font: italic 400 1.04rem/1.65 var(--serif);
  color: rgba(245, 242, 234, 0.85);
  flex-grow: 1;
}

.victim-id {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--hairline-soft);
  padding-top: 16px;
}

.victim-name {
  font: 600 14px var(--sans);
  color: var(--ivory);
}

.victim-role {
  font: 500 10px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-38);
}

/* ---------- How to Buy ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.step-card {
  padding: 30px 28px;
  background: rgba(6, 13, 29, 0.6);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  transition: border-color 0.35s ease;
}

.step-card:hover { border-color: rgba(201, 162, 39, 0.42); }

.step-num {
  font: 400 2.1rem/1 var(--serif);
  color: rgba(201, 162, 39, 0.4);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}

.step-title {
  font: 400 1.35rem/1.25 var(--serif);
  color: var(--ivory);
  margin-bottom: 10px;
}

.step-copy {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-50);
}

.step-final {
  border-color: rgba(201, 162, 39, 0.38);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.05), rgba(201, 162, 39, 0.015)), rgba(6, 13, 29, 0.6);
}

.step-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }

.faq-item {
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.faq-item:last-child { border-bottom: 1px solid rgba(201, 162, 39, 0.15); }

.faq-item summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font: 400 1.16rem/1.4 var(--serif);
  color: rgba(245, 242, 234, 0.9);
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--gold-bright); }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font: 300 1.5rem/1 var(--serif);
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item p {
  padding: 0 0 24px;
  max-width: 62ch;
  line-height: 1.7;
  color: var(--ink-68);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid rgba(201, 162, 39, 0.28);
  padding: 56px 0 48px;
  background: var(--navy-deep);
}

/* Double rule, like the bottom of a bank statement */
.footer::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(201, 162, 39, 0.12);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: 36px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  font: 500 13px var(--sans);
  letter-spacing: 0.06em;
  color: var(--ink-68);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover { color: var(--gold-bright); }

.footer-ca {
  font: 400 11px var(--mono);
  color: var(--ink-38);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--ink-38);
  max-width: 84ch;
}

.footer-copyright {
  margin-top: 24px;
  font: 400 10.5px var(--mono);
  letter-spacing: 0.14em;
  color: rgba(245, 242, 234, 0.3);
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .ponzi-grid,
  .algo-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero { min-height: 0; }

  .pyramid-wrap { max-width: 480px; margin-inline: auto; }
}

@media (max-width: 880px) {
  :root { --nav-h: 60px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: calc(var(--ticker-h) + var(--nav-h));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 44px clamp(24px, 7vw, 48px);
    background: rgba(6, 13, 29, 0.985);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    overflow-y: auto;
  }

  body.menu-open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.menu-open { overflow: hidden; }

  body.menu-open .site-header {
    background: rgba(6, 13, 29, 0.985);
    border-bottom-color: var(--hairline-soft);
  }

  .nav-menu .nav-link {
    font: 400 1.65rem/1.5 var(--serif);
    padding: 10px 0;
  }

  .nav-cta { margin-top: 22px; }
}

@media (max-width: 840px) {
  .victims-grid,
  .steps { grid-template-columns: 1fr; }

  .victim-card .media-slot { width: 132px; }

  .timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(201, 162, 39, 0.35) 5%, rgba(201, 162, 39, 0.35) 95%, transparent);
  }

  .phase { padding-left: 36px; }

  .phase-node {
    position: absolute;
    left: 0;
    top: 5px;
    margin: 0;
  }

  .phase-copy { max-width: 48ch; }
}

@media (max-width: 560px) {
  :root { --ticker-h: 32px; }

  .ticker-item { font-size: 10.5px; }

  .stat-grid { grid-template-columns: 1fr; }

  .terminal-body {
    padding: 18px 16px;
    font-size: 11.5px;
    white-space: pre-wrap;
    min-height: calc(1.75em * 24 + 40px);
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-outline {
    flex: 1 1 100%;
    justify-content: center;
  }

  .ca-value { max-width: 46vw; }

  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion: the scheme stands still ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track { animation: none; }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .term-cursor.blink { animation: none; }

  .pyramid-wrap.is-pulsing::before { animation: none; opacity: 0.6; }
}
