/* ============================================================
   RUNVS.net — v3 · one-page cinematic
   Gold dust, pinned scenes, a deck that stacks.
   ============================================================ */

:root {
  --bg: #0a0a12;
  --surface: #111118;
  --panel: rgba(20, 20, 30, 0.9);
  --gold: #C9A84C;
  --gold-dim: rgba(201, 168, 76, 0.6);
  --text: #e8e8f0;
  --muted: #6a6a82;
  --green: #3a7d44;
  --border: rgba(201, 168, 76, 0.15);
  --blue: #5b8dd9;
  --purple: #9b6fd4;

  --display: 'Playfair Display', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 5vw, 80px);
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration: none; }

/* ---- Fixed layers ------------------------------------------------ */

#gl {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  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%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, footer, .nav, .marquee { position: relative; z-index: 2; }

/* ---- Preloader ---------------------------------------------------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: none;
  align-items: center;
  justify-content: center;
}

html.js .preloader { display: flex; }

.preloader-inner { text-align: center; }
.preloader-mark { width: 72px; height: 72px; }

.preloader-count {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: 44px;
  color: var(--gold);
  margin-top: 18px;
  font-variant-numeric: tabular-nums;
}

.preloader-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--muted);
  margin-top: 10px;
}

/* ---- Custom cursor ------------------------------------------------ */

.cursor { display: none; }

@media (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 250; pointer-events: none; }
  .cursor-dot, .cursor-ring {
    position: absolute;
    top: 0; left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor-dot { width: 6px; height: 6px; background: var(--gold); }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s;
  }
  .cursor.is-hover .cursor-ring { width: 56px; height: 56px; border-color: var(--gold); }
  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
}

/* ---- Nav ----------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .r-mark { width: 34px; height: 34px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.wordmark {
  font-weight: 700;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 3px;
}

.brand-tag {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
  color: var(--gold);
}

.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }

.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: 0 50%; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px; height: 30px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
  margin: 7px auto;
  transition: transform 0.35s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: rgba(10, 10, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 17px; letter-spacing: 4px; }
}

/* ---- Type ------------------------------------------------------------ */

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 4vh, 48px);
}

.label::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 160px;
  background: linear-gradient(90deg, var(--gold-dim), transparent);
}

.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  max-width: 18ch;
}

.display.xl { font-size: clamp(44px, 8vw, 110px); max-width: none; }
.display em { font-style: italic; color: var(--gold); }

.lede {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 56ch;
}

.section {
  padding: clamp(90px, 14vh, 180px) var(--pad);
  max-width: 1320px;
  margin: 0 auto;
}

/* ---- Hero --------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--pad) 110px;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: clamp(20px, 3vh, 36px);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold-dim); }

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 12.5vw, 170px);
  line-height: 0.96;
  letter-spacing: -0.015em;
}

.ht-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.ht-gold em { font-style: italic; color: var(--gold); }

/* split chars */
.char { display: inline-block; will-change: transform; }
.word { display: inline-block; white-space: nowrap; }

.hero-zh {
  font-family: var(--mono);
  font-size: clamp(14px, 1.8vw, 20px);
  letter-spacing: 6px;
  color: var(--gold-dim);
  margin-top: clamp(20px, 3vh, 30px);
}

.hero-sub {
  margin-top: clamp(18px, 2.5vh, 28px);
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 19px);
}

.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: clamp(28px, 4vh, 44px); }

.btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: color 0.35s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.35s var(--ease);
  z-index: -1;
}

.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleY(1); }
.btn.ghost { border-color: var(--border); color: var(--muted); }
.btn.ghost:hover { color: var(--bg); border-color: var(--gold); }

.hero-foot {
  position: absolute;
  bottom: 32px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.hero-scroll {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--gold-dim), transparent);
  display: block;
  animation: drip 2.2s var(--ease) infinite;
}

@keyframes drip {
  0% { transform: scaleY(0); transform-origin: 0 0; }
  45% { transform: scaleY(1); transform-origin: 0 0; }
  55% { transform: scaleY(1); transform-origin: 0 100%; }
  100% { transform: scaleY(0); transform-origin: 0 100%; }
}

.hero-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  max-width: 44ch;
}

@media (max-width: 640px) { .hero-meta { display: none; } }

/* ---- Marquee --------------------------------------------------------------- */

.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 22px 0;
  white-space: nowrap;
  background: rgba(10, 10, 18, 0.6);
}

.marquee-track { display: inline-block; animation: marquee 38s linear infinite; }

.marquee span {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(20px, 3vw, 34px);
  margin-right: 64px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.35);
}

.marquee span.solid { color: var(--gold); -webkit-text-stroke: 0; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Fight ------------------------------------------------------------------ */

.fight-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

@media (max-width: 900px) { .fight-grid { grid-template-columns: 1fr; } }

.fight-sticky { position: sticky; top: calc(var(--nav-h) + 40px); }

@media (max-width: 900px) { .fight-sticky { position: static; } }

.fight-list { display: flex; flex-direction: column; gap: clamp(24px, 4vh, 44px); }

.problem {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: clamp(28px, 3.5vw, 48px);
  position: relative;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.problem:hover { border-color: rgba(201, 168, 76, 0.45); transform: translateY(-4px); }

.problem-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 18px;
}

.problem h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  margin-bottom: 10px;
}

.problem p { color: var(--muted); font-size: 15px; }

.problem .zh {
  font-family: var(--mono);
  color: var(--gold-dim);
  letter-spacing: 3px;
  display: block;
  margin-top: 14px;
  font-size: 14px;
}

/* ---- Stats -------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  background: rgba(17, 17, 24, 0.6);
}

@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: clamp(30px, 4vw, 56px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: 0; }

@media (max-width: 760px) {
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}

.stat-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1;
  color: var(--gold);
  display: block;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
  display: block;
}

/* ---- Badges ---------------------------------------------------------------------- */

.badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.badge .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.badge.live .dot { background: var(--green); animation: pulse 2s ease-in-out infinite; }
.badge.private .dot { background: var(--gold); }
.badge.built .dot { background: var(--blue); }
.badge.soon .dot { background: var(--muted); }
.badge.concept .dot { background: var(--purple); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(58, 125, 68, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(58, 125, 68, 0); }
}

/* ---- Deck --------------------------------------------------------------------------- */

.deck { display: flex; flex-direction: column; gap: 24px; margin-top: clamp(30px, 5vh, 60px); }

.deck-card {
  position: sticky;
  background: linear-gradient(160deg, rgba(26, 26, 38, 0.97), rgba(14, 14, 22, 0.97));
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 4px;
  box-shadow: 0 -20px 60px -40px rgba(0, 0, 0, 0.9);
  will-change: transform;
}

.deck-card:nth-child(1) { top: calc(var(--nav-h) + 24px); }
.deck-card:nth-child(2) { top: calc(var(--nav-h) + 44px); }
.deck-card:nth-child(3) { top: calc(var(--nav-h) + 64px); }
.deck-card:nth-child(4) { top: calc(var(--nav-h) + 84px); }
.deck-card:nth-child(5) { top: calc(var(--nav-h) + 104px); }

.deck-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 8px;
}

.deck-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold-dim);
}

.deck-head h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1;
}

.deck-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: auto;
}

@media (max-width: 640px) { .deck-role { margin-left: 0; } }

.product-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  transition: padding 0.35s var(--ease), background 0.35s var(--ease);
}

.product-row:hover { padding-left: 14px; background: rgba(201, 168, 76, 0.03); }
.product-row .name { font-weight: 500; font-size: clamp(15px, 1.7vw, 18px); flex: none; }
.product-row .desc { color: var(--muted); font-size: 13.5px; flex: 1; }

@media (max-width: 640px) {
  .product-row { flex-wrap: wrap; }
  .product-row .desc { flex-basis: 100%; order: 3; }
}

.deck-link { margin-top: 20px; }

.deck-link a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 3px;
}

/* ---- Arcade — horizontal ----------------------------------------------------------------- */

.arcade { position: relative; }

.arcade-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: clamp(90px, 14vh, 160px) var(--pad);
}

.arcade-panel {
  flex: none;
  width: min(620px, 84vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.arcade-intro .display { max-width: none; }
.arcade-hint { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-top: 36px; }

.chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  transition: color 0.3s, border-color 0.3s;
}

.chip:hover { color: var(--gold); border-color: var(--gold-dim); }

.game-card {
  flex: none;
  width: min(300px, 74vw);
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 28px 26px 26px;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 4px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.game-card:hover { border-color: rgba(201, 168, 76, 0.5); transform: translateY(-6px); }

.game-glyph {
  position: absolute;
  top: -6px; right: 6px;
  font-size: 110px;
  line-height: 1;
  opacity: 0.08;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}

.game-card:hover .game-glyph { opacity: 0.18; transform: scale(1.08) rotate(-4deg); }

.game-card h3 {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 6px;
}

.game-card p { color: var(--muted); font-size: 13px; }

.arcade-outro { text-align: center; align-items: center; width: min(720px, 90vw); }

/* pinned mode: GSAP drives the track sideways inside a viewport-high window */
.arcade.is-pinned .arcade-pin { height: 100svh; overflow: hidden; display: flex; align-items: center; }
.arcade.is-pinned .arcade-track { padding-top: 0; padding-bottom: 0; }

/* mobile / no-pin: native horizontal scroll with snap */
.arcade.no-pin .arcade-pin { overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.arcade.no-pin .game-card, .arcade.no-pin .arcade-panel { scroll-snap-align: center; }

/* ---- Academy -------------------------------------------------------------------------------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 6vh, 64px);
}

@media (max-width: 700px) { .pricing { grid-template-columns: 1fr; } }

.price-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: clamp(30px, 4vw, 48px);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border-color: rgba(201, 168, 76, 0.45); }

.price-card.featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.price-tier {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 16px;
}

.price-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
}

.price-value .per { font-size: 18px; color: var(--muted); font-family: var(--body); font-weight: 400; }

.price-card ul { list-style: none; margin-top: 28px; flex: 1; }

.price-card li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  color: var(--muted);
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-card li::before { content: "—"; color: var(--gold-dim); font-family: var(--mono); }

.pullquote {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.25;
  text-align: center;
  max-width: 24ch;
  margin: clamp(70px, 10vh, 120px) auto;
}

.pullquote em { color: var(--gold); }

.ihack {
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(201, 168, 76, 0.06), transparent),
    var(--surface);
  padding: clamp(32px, 5vw, 56px);
  border-radius: 4px;
}

.ihack h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 44px);
  margin-top: 18px;
}

.ihack h3 em { font-style: italic; color: var(--gold); }
.ihack .lede { margin-top: 12px; }

/* ---- Research ---------------------------------------------------------------------------------- */

.paper {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: clamp(32px, 5vw, 64px);
  border-radius: 4px;
  margin-top: 28px;
}

.paper-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 22px;
}

.paper h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.1;
  max-width: 24ch;
}

.paper h3 em { font-style: italic; color: var(--gold); }

.paper .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 18px 0 26px;
}

.paper blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  font-size: clamp(16px, 2vw, 20px);
  font-style: italic;
  max-width: 52ch;
  margin-bottom: 28px;
}

/* ---- Statement ------------------------------------------------------------------------------------ */

.statement {
  text-align: center;
  padding: clamp(120px, 20vh, 240px) var(--pad);
}

.q-outline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 8vw, 120px);
  line-height: 1.05;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.4);
}

.q-gold {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(40px, 8vw, 120px);
  line-height: 1.05;
  color: var(--gold);
}

.statement-note {
  margin-top: 30px;
  color: var(--muted);
  font-size: 15px;
}

/* ---- Footer ------------------------------------------------------------------------------------------ */

footer {
  border-top: 1px solid var(--border);
  padding: clamp(48px, 8vh, 90px) var(--pad) 40px;
  position: relative;
  overflow: hidden;
}

.footer-mega {
  position: absolute;
  bottom: -0.28em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(120px, 24vw, 420px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(201, 168, 76, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links { display: flex; gap: 10px 26px; flex-wrap: wrap; }

.footer-links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding-top: 24px;
}

.footer-bottom span, .footer-bottom a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
}

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

/* ---- Reduced motion -------------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
