/* =========================================================
   VILLAIN FX — noir, gold, a little fire
   Type:   Cinzel (display) · Cormorant Garamond italic (voice) · Instrument Sans (body)
   Color:  black · bone · gold (action/value) · crimson (villain/fire/loss only)
   ========================================================= */
/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Cinzel"; src: url("assets/fonts/cinzel.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0b0a09;
  --bg-2: #12100e;
  --surface: #181614;
  --line: rgba(236, 232, 225, 0.12);
  --line-2: rgba(236, 232, 225, 0.18);
  --text: #f3efe8;
  --muted: #bab3a8;
  --faint: #9c968c;
  --gold: #d4af6a;
  --gold-hi: #f0d394;
  --gold-deep: #8a6a2f;
  --crimson: #e5383b;
  --ember: #c1121f;

  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --voice: "Cormorant Garamond", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-hero: clamp(40px, 6.4vw, 108px);
  --t-h2: clamp(30px, 4.4vw, 68px);
  --t-num: clamp(104px, 15vw, 232px);

  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1320px;
  --section: clamp(96px, 13vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
b { font-weight: 600; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--gold); color: #000; padding: 12px 18px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.voice { font-family: var(--voice); font-style: italic; font-weight: 500; font-size: 1.14em; letter-spacing: 0; text-transform: none; line-height: .9; }
.kicker {
  display: flex; align-items: baseline; gap: 14px;
  font: 500 12px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.kicker__n { font: 600 15px/1 var(--display); letter-spacing: .08em; color: var(--gold); min-width: 2ch; }
.h2 { font: 500 var(--t-h2)/1.04 var(--display); letter-spacing: -.005em; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 46ch; }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); }
.fineprint { margin-top: 40px; font-size: 13px; color: var(--faint); max-width: 70ch; }

/* split words (hero + section headings) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .14em; margin: -.06em -.02em -.14em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Atmosphere ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .grain { animation: grain 1s steps(5) infinite; }
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -5%); } 75% { transform: translate(-6%, -2%); } }

/* ---------- First-visit intro ---------- */
.loader { display: none; }
.js.first-visit .loader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 250; background: var(--bg); }
.loader__mark { width: 96px; height: auto; opacity: 0; transform: scale(.92); animation: mark-in .8s var(--ease) .05s forwards; }
@keyframes mark-in { to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 28px; border: 0; border-radius: 2px; cursor: pointer;
  font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: box-shadow .4s var(--ease), scale .15s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate .4s var(--ease); }
.btn:hover svg { translate: 4px 0; }
.btn:active { scale: .98; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--outline { color: var(--gold); background: transparent; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .55); }
.btn--outline:hover { color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-hi), 0 12px 40px -16px rgba(212, 175, 106, .6); }
.btn--gold { color: #0b0905; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #b48d48); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%);
  translate: -110% 0; transition: translate .9s var(--ease);
}
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 44px -14px rgba(212, 175, 106, .75); }
.btn--gold:hover::after { translate: 110% 0; }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; gap: 10px;
  font-size: 15px; color: var(--muted); transition: color .3s;
}
.link-arrow::after { content: "→"; transition: translate .4s var(--ease); }
.link-arrow::before { content: ""; position: absolute; left: 0; right: 1.4em; bottom: 10px; height: 1px; background: currentColor; opacity: .4; transition: opacity .3s; }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover::after { translate: 4px 0; }
.link-arrow:hover::before { opacity: 1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: translate .5s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 10, 9, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-hidden { translate: 0 -100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; position: relative; z-index: 2; }
.brand__logo { width: 40px; height: 40px; }
.brand__word { font: 600 14px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; }
.brand__word b { color: var(--gold); }
.nav__links { margin-left: auto; display: flex; gap: 4px; }
.nav__links a:not(.btn) { position: relative; padding: 14px 14px; font-size: 14px; color: var(--muted); transition: color .3s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__menu-cta, .nav__toggle { display: none; }

@media (max-width: 959px) {
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 7px; margin-left: auto; width: 48px; height: 48px; position: relative; z-index: 2;
    background: transparent; border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .4s 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); }
  .nav__links {
    position: fixed; inset: 0; z-index: 1; margin: 0; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 0;
    padding: calc(var(--nav-h) + 24px) var(--gutter) calc(40px + env(safe-area-inset-bottom)); background: var(--bg);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-in-out), visibility 0s .7s;
  }
  .nav__links.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease-in-out); }
  .nav__links a:not(.btn) { font: 500 clamp(30px, 9vw, 44px)/1 var(--display); color: var(--text); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__menu-cta { display: inline-flex; margin-top: 28px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; translate: none; }
}

/* ---------- Image shots ---------- */
.shot { position: relative; overflow: hidden; background: var(--bg-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
/* designed fallback: a low fire glow if an image isn't there yet */
.shot.is-missing { background:
  radial-gradient(60% 40% at 70% 100%, rgba(229, 56, 59, .32), transparent 70%),
  radial-gradient(30% 22% at 70% 100%, rgba(240, 170, 80, .35), transparent 70%),
  var(--bg-2); }
.shot.is-missing img { display: none; }
.shot--optional.is-missing { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: grid; align-content: center;
  padding: calc(var(--nav-h) + 48px) 0 140px;
}
.hero__media { position: absolute; inset: 0; z-index: -3; background: var(--bg); }
.hero__media img { object-position: 72% 55%; filter: brightness(1.18) contrast(1.06) saturate(1.08); }
/* living fire layered on the photo (positions computed in JS from the image's cover/position) */
.fx-haze, .fx-fire, .fx-light { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__haze { filter: brightness(1.18) contrast(1.06) saturate(1.08); } /* match the hero photo's grade */
.fx-fire { mix-blend-mode: screen; }
.fx-light {
  mix-blend-mode: soft-light; opacity: 0;
  background: radial-gradient(var(--lr, 30vw) circle at var(--lx, 75%) var(--ly, 60%), rgba(255, 150, 60, .95), rgba(255, 110, 40, .35) 45%, transparent 72%);
}
.shot.is-missing canvas, .shot.is-missing .fx-light { display: none; }
.shot__inner { position: absolute; inset: 0; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 10, 9, .9) 0%, rgba(11, 10, 9, .62) 30%, rgba(11, 10, 9, .08) 56%, transparent 70%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%),
    linear-gradient(180deg, rgba(11, 10, 9, .55) 0%, transparent 16%);
}
.hero__content { display: grid; gap: 30px; }
.hero__title { font: 500 var(--t-hero)/1.02 var(--display); letter-spacing: -.01em; max-width: 11.5ch; text-wrap: balance; }
.hero__title .voice { color: var(--crimson); font-size: 1.18em; text-shadow: 0 0 36px rgba(229, 56, 59, .6), 0 0 2px rgba(229, 56, 59, .7); }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 6px; }
.hero__proof {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-start;
  padding: 22px var(--gutter); border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.hero__proof span + span::before { content: "◆"; margin: 0 18px; color: var(--gold); font-size: 8px; vertical-align: 2px; }

@media (max-width: 759px) {
  /* Phone: image owns the top of the screen, copy sits in the dark below it */
  .hero { align-content: end; padding: 0 0 116px; }
  .hero__media { bottom: 34%; }
  .hero__media img { object-position: 82% 60%; }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 10, 9, .75) 0%, transparent 16%, transparent 34%, rgba(11, 10, 9, .9) 58%, var(--bg) 68%); }
  .hero__content { gap: 22px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions { gap: 4px; }
  .hero__proof { justify-content: space-between; font-size: 12px; letter-spacing: .08em; padding: 18px var(--gutter); }
  .hero__proof span + span::before { margin: 0 12px; }
  .hero__proof { justify-content: flex-start; white-space: nowrap; }
  .hide-sm { display: none; }
}

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 2; display: flex; min-height: 56px; overflow: hidden; background: var(--bg-2); border-block: 1px solid var(--line); }
/* TradingView makes its ticker taller on phones (two lines: price, then change). Reserve that height so nothing is cut off or jumps. */
@media (max-width: 759px) { .ticker { min-height: 84px; } }
.ticker__label {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 0 18px; position: relative; z-index: 1;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; border-right: 1px solid var(--line); background: var(--bg);
}
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--crimson); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3.6); opacity: 0; } }
.ticker__tv { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.ticker__tv .tradingview-widget-container { position: relative; width: 100%; } /* the widget sets its own height; the strip grows to fit */
.ticker__fallback { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; transition: opacity .6s; }
.ticker__tv.is-live .ticker__fallback { opacity: 0; }
.marquee { display: flex; gap: 64px; padding-left: 24px; white-space: nowrap; animation: marquee 32s linear infinite; font-size: 13px; letter-spacing: .14em; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }
/* Chrome paints transparent iframes white under a dark color-scheme; match schemes. Desaturate to stay in palette. */
.tradingview-widget-container iframe { color-scheme: normal; filter: saturate(.55) sepia(.12); }

/* ---------- Hairline-draw reveals (JS adds .is-in) ---------- */
[data-line] { position: relative; }
[data-line]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform-origin: left; }
.js.motion [data-line]::before { transform: scaleX(0); transition: transform 1.4s var(--ease-in-out) var(--d, 0s); }
.js.motion [data-line] > * { opacity: 0; translate: 0 14px; transition: opacity 1s var(--ease) calc(.35s + var(--d, 0s)), translate 1s var(--ease) calc(.35s + var(--d, 0s)); }
.js.motion [data-line].is-in::before { transform: scaleX(1); }
.js.motion [data-line].is-in > * { opacity: 1; translate: 0 0; }

/* image curtain reveal */
.js.motion [data-shot] { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-in-out); }
.js.motion [data-shot] > img, .js.motion [data-shot] > .shot__inner { scale: 1.18; transition: scale 2.4s var(--ease); }
.js.motion [data-shot].is-in { clip-path: inset(0); }
.js.motion [data-shot].is-in > img, .js.motion [data-shot].is-in > .shot__inner { scale: 1; }

/* ---------- The Code (typographic) ---------- */
.code { padding: var(--section) 0; }
.manifesto { margin: 32px 0 clamp(56px, 8vw, 104px); font: italic 500 clamp(34px, 5vw, 76px)/1.08 var(--voice); max-width: 24ch; text-wrap: balance; }
.rules li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 26px 0 30px; }
.rules__n { font: italic 500 26px/1.1 var(--voice); color: var(--gold); }
.rules h3 { font: 600 18px/1.35 var(--sans); margin-bottom: 6px; }
.rules p { color: var(--muted); font-size: 16px; max-width: 42ch; }
@media (min-width: 860px) { .rules { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 96px); } }

/* ---------- The Record (compact stat strip) ---------- */
.record { position: relative; padding: var(--section) 0; background: var(--bg-2); overflow: hidden; isolation: isolate; }
.record__chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 45%; z-index: -1; opacity: .35; }
.record__chart .up { fill: rgba(212, 175, 106, .1); stroke: rgba(212, 175, 106, .3); }
.record__chart .dn { fill: rgba(229, 56, 59, .16); stroke: rgba(229, 56, 59, .34); }
.record__chart .trend { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .7; }
.record__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.record__title { font: 500 clamp(26px, 3vw, 42px)/1.1 var(--display); }
.stats { display: grid; }
.stat { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start; padding: 26px 0 30px; }
.stat__num {
  font: 500 clamp(40px, 5.2vw, 76px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat dd { display: grid; gap: 6px; }
.stat dd b { font: 600 13px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.stat dd > span { color: var(--muted); font-size: 15px; max-width: 32ch; }
.rr { display: grid; grid-template-columns: 1fr 2fr; gap: 5px; margin-top: 8px; height: 5px; max-width: 200px; }
.rr i { display: block; transform-origin: left; }
.rr__risk { background: var(--crimson); }
.rr__reward { background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi)); }
@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(3, 1fr); column-gap: clamp(32px, 4vw, 64px); }
  .stat { grid-template-columns: 1fr; gap: 18px; padding-top: 32px; }
}

/* ---------- Arsenal ---------- */
.arsenal { padding: var(--section) 0; }
.weapon h3 { font: 500 clamp(22px, 2.2vw, 30px)/1.15 var(--display); transition: color .4s; }
.weapon p { color: var(--muted); }
.weapon__n { font: italic 500 32px/1 var(--voice); color: var(--gold); }
.carousel-hint { display: none; }

@media (min-width: 760px) {
  .arsenal__track { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
  .arsenal__list { border-bottom: 1px solid var(--line-2); }
  .weapon { display: grid; grid-template-columns: 80px 5fr 6fr; gap: 24px; align-items: baseline; padding: 34px 0 38px; transition: padding-left .5s var(--ease); }
  .weapon:hover { padding-left: 16px; }
  .weapon:hover h3 { color: var(--gold); }
}
@media (max-width: 759px) {
  /* Phone: a swipeable deck instead of six stacked rows */
  .arsenal__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .arsenal__track::-webkit-scrollbar { display: none; }
  .arsenal__list { display: flex; gap: 12px; width: max-content; }
  .weapon {
    width: 78vw; max-width: 340px; min-height: 300px; scroll-snap-align: start; display: grid; align-content: space-between; gap: 18px;
    padding: 28px 24px; background: var(--surface); border: 1px solid var(--line);
  }
  .weapon::before { display: none; }
  .js.motion .weapon > * { opacity: 1; translate: none; }
  .weapon__n { font-size: 56px; }
  .carousel-hint { display: block; margin-top: 20px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
}

/* weekly live schedule */
.week { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 24px; }
.week .kicker { align-items: center; }
.week__list { display: grid; }
.week__list li { display: grid; gap: 8px; padding: 26px 0 30px; }
.week__when { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.week__list h3 { font: 500 clamp(22px, 2vw, 28px)/1.15 var(--display); }
.week__list p { color: var(--muted); }
@media (min-width: 860px) { .week__list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- Markets ---------- */
.markets { padding: var(--section) 0; background: var(--bg-2); }
.markets__grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .markets__grid { grid-template-columns: 1fr 1fr; } }
.market { display: grid; align-content: start; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.market__media { aspect-ratio: 3 / 2; }
.market__body { display: grid; gap: 14px; padding: clamp(24px, 3.4vw, 40px) clamp(24px, 3.4vw, 40px) 24px; }
.market__sym { font-size: 12px; letter-spacing: .24em; color: var(--gold); }
.market h3 { font: 500 clamp(34px, 4vw, 56px)/1 var(--display); }
.market__body > p:last-child { color: var(--muted); max-width: 46ch; }
.market__chart { position: relative; height: 220px; margin: 0 clamp(16px, 2.4vw, 28px) clamp(16px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.market__chart .tradingview-widget-container { position: absolute; inset: 0; }
.market__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.market__chart.is-live .market__ph { display: none; }
.market__chart.is-offline .market__ph { gap: 12px; align-content: center; text-align: center; }
.market__ph a { min-height: 44px; display: inline-flex; align-items: center; color: var(--gold); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.markets__note { margin-top: clamp(32px, 4vw, 48px); max-width: 60ch; color: var(--muted); font-size: 17px; }
.markets__note .voice { display: block; margin-bottom: 6px; font-size: clamp(26px, 2.6vw, 34px); color: var(--text); }

/* ---------- Offer ---------- */
.enroll { position: relative; padding: var(--section) 0; overflow: hidden; isolation: isolate; }
.enroll::before {
  content: ""; position: absolute; left: 50%; bottom: -30%; width: 1100px; height: 800px; translate: -50% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(193, 18, 31, .22), rgba(240, 150, 60, .06) 60%, transparent);
}
.enroll__grid { display: grid; justify-items: center; }
/* the key: a wide banner, with the offer card resting over its lower edge */
.enroll__media { width: 100%; max-width: 1000px; aspect-ratio: 3 / 2;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.enroll__grid .offer { width: 100%; max-width: 620px; z-index: 1; margin-top: clamp(-96px, -8vw, -40px); }
.enroll__media.is-missing + .offer { margin-top: 0; }
.offer {
  position: relative; display: grid; gap: 30px; padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(170deg, #15100a 0%, var(--surface) 38%, var(--bg) 100%);
  border: 1px solid rgba(212, 175, 106, .32);
  box-shadow: 0 50px 140px -50px rgba(212, 175, 106, .35);
}
.offer::before { content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); box-shadow: 0 0 22px 1px var(--gold); }
.offer__name { font: 500 clamp(30px, 3.4vw, 46px)/1.05 var(--display); }
.offer__price { display: flex; align-items: flex-start; gap: 6px; margin-top: -8px; }
.offer__cur { font: 500 36px/1.2 var(--display); color: var(--gold); }
.offer__amt {
  font: 500 clamp(104px, 13vw, 168px)/.82 var(--display); letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.offer__per { align-self: flex-end; margin: 0 0 10px 14px; font-size: 12px; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.offer__list { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.offer__list li { display: flex; gap: 14px; align-items: baseline; }
.offer__list li::before { content: "◆"; color: var(--gold); font-size: 9px; translate: 0 -2px; }
.offer__secure { text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-top: -12px; }
.js.motion .offer { clip-path: inset(50% 0 50% 0); transition: clip-path 1.5s var(--ease-in-out); }
.js.motion .offer.is-in { clip-path: inset(-20% -20% -40% -20%); }
@media (max-width: 759px) {
  .enroll__media { width: calc(100% + var(--gutter) * 2); max-width: none; margin: 0 calc(var(--gutter) * -1); }
  .enroll__grid .offer { width: calc(100% + var(--gutter) * 2); max-width: none; margin: -32px calc(var(--gutter) * -1) 0; border-inline: 0; padding: 40px var(--gutter); }
}

.steps { display: grid; margin-top: clamp(64px, 9vw, 120px); }
.steps li { display: grid; gap: 6px; padding: 26px 0 30px; color: var(--muted); }
.steps li span { font: italic 500 20px/1 var(--voice); color: var(--gold); }
.steps li b { font: 500 22px/1.2 var(--display); color: var(--text); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- Voices ---------- */
.voices { padding: var(--section) 0; }
.quote { margin: 0; display: grid; gap: 28px; align-content: space-between; padding: 32px; background: var(--bg-2); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font: italic 500 24px/1.3 var(--voice); }
.quote figcaption { display: grid; gap: 2px; font-size: 15px; }
.quote figcaption span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quote--lead blockquote { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; }
.quote--lead { border-color: rgba(212, 175, 106, .3); }
@media (min-width: 760px) {
  .voices__track { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
  .quotes { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
  .quote--lead { grid-row: span 3; padding: clamp(36px, 4vw, 56px); }
}
@media (max-width: 759px) {
  .voices__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .voices__track::-webkit-scrollbar { display: none; }
  .quotes { display: flex; gap: 12px; width: max-content; }
  .quote { width: 84vw; max-width: 360px; scroll-snap-align: start; }
  .quote--lead blockquote { font-size: 28px; }
}

.voices__fine { margin-top: 20px; font-size: 13px; color: var(--faint); }
.voices__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); }
.voices__cta p { color: var(--muted); max-width: 52ch; }
.voices__cta .voice { display: block; font-size: clamp(26px, 2.6vw, 34px); color: var(--text); margin-bottom: 4px; }
@media (max-width: 759px) { .voices__cta .btn { width: 100%; } }

/* ---------- Share-your-story dialog ---------- */
.story {
  width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; overflow: auto;
  background: linear-gradient(170deg, #17120c 0%, var(--surface) 40%, var(--bg) 100%); color: var(--text);
  border: 1px solid rgba(212, 175, 106, .35); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(212, 175, 106, .3);
}
.story::backdrop { background: rgba(6, 5, 4, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.story[open] { animation: story-in .5s var(--ease); }
@keyframes story-in { from { opacity: 0; translate: 0 24px; } }
.story__form { display: grid; gap: 28px; padding: clamp(24px, 4vw, 44px); }
.story__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.story__title { margin-top: 14px; font: 500 clamp(28px, 3.4vw, 40px)/1.05 var(--display); }
.story__close { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.story__close span { position: absolute; left: 13px; top: 21px; width: 18px; height: 1.5px; background: var(--text); }
.story__close span:first-child { rotate: 45deg; } .story__close span:last-child { rotate: -45deg; }
.story__close:hover { border-color: var(--gold); }
.story__body { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input[type="text"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 2px; border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--text); font: 400 16px/1.5 var(--sans); transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 106, .16); }
.field [aria-invalid="true"] { border-color: var(--crimson); }
.field textarea::placeholder { color: var(--faint); }
.field__hint { font-size: 13px; color: var(--faint); }
.field__err { font-size: 14px; color: var(--crimson); min-height: 0; }
.field__err:empty { display: none; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field--check { grid-template-columns: 22px 1fr; align-items: start; gap: 4px 12px; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.field--check label { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--text); }
.field--check .field__err { grid-column: 2; }
.story__msg { font-size: 14px; color: var(--muted); }
.story__msg.is-error { color: var(--crimson); }
.story__done { display: grid; gap: 16px; justify-items: start; }
.story__done .voice { font-size: 32px; color: var(--gold); }
@media (max-width: 559px) {
  .story { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-inline: 0; border-bottom: 0; }
  .story[open] { animation: sheet-in .5s var(--ease); }
  @keyframes sheet-in { from { translate: 0 100%; } }
}
/* the flame cursor can't draw above a modal, so hand back the normal cursor while it's open */
html.flame-cursor[data-modal], html.flame-cursor[data-modal] * { cursor: auto !important; }
html.flame-cursor[data-modal] button, html.flame-cursor[data-modal] select, html.flame-cursor[data-modal] label[for] { cursor: pointer !important; }
html.flame-cursor[data-modal] input[type="text"], html.flame-cursor[data-modal] textarea { cursor: text !important; }
html[data-modal] .fire-trail { visibility: hidden; }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; background: var(--bg-2); }
.faq__grid { display: grid; }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } .faq .section-head { position: sticky; top: calc(var(--nav-h) + 40px); } }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; list-style: none; cursor: pointer;
  padding: 26px 0; min-height: 44px; font: 500 clamp(18px, 1.7vw, 21px)/1.35 var(--sans); transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary { color: var(--gold); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 40px 28px 0; color: var(--muted); max-width: 60ch; }

/* ---------- Join (a little fire) ---------- */
.join { position: relative; padding: var(--section) 0 calc(var(--section) * 1.1); text-align: center; overflow: hidden; isolation: isolate; }
.join::before {
  content: ""; position: absolute; left: 50%; bottom: -260px; width: 1200px; height: 560px; translate: -50% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(240, 160, 70, .22), transparent 60%),
    radial-gradient(closest-side, rgba(193, 18, 31, .35), transparent);
  filter: blur(8px);
}
@keyframes flicker { 0% { opacity: .8; scale: 1 1; } 40% { opacity: 1; scale: 1.03 1.08; } 70% { opacity: .85; scale: .99 .97; } 100% { opacity: 1; scale: 1.02 1.05; } }
.join__inner { display: grid; justify-items: center; gap: 24px; }
.signup { width: 100%; max-width: 540px; margin-top: 12px; text-align: left; }
.signup__label { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.signup__row { display: flex; flex-direction: column; gap: 10px; }
.signup input {
  flex: 1; min-height: 54px; padding: 0 20px; border-radius: 2px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text); font: 400 16px/1 var(--sans); transition: border-color .3s, box-shadow .3s;
}
.signup input::placeholder { color: var(--faint); }
.signup input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 106, .16); }
.signup input[aria-invalid="true"] { border-color: var(--crimson); }
.signup__msg { min-height: 24px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.signup__msg.is-error { color: var(--crimson); }
.signup__msg.is-ok { color: var(--text); }
@media (min-width: 560px) { .signup__row { flex-direction: row; } }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__top { display: grid; gap: 22px; align-items: center; margin-bottom: 40px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: auto 1fr auto; gap: 48px; } }
.footer__tag { font: italic 500 21px/1.3 var(--voice); color: var(--muted); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--muted); transition: color .3s, border-color .3s; }
.footer__social a:hover { color: var(--gold); border-color: var(--gold); }
.footer__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__social svg.fill, .footer__social .dot { fill: currentColor; stroke: none; }
.disclaimer { padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--faint); max-width: 110ch; }
.copyright { margin-top: 20px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 14px; }
.footer__legal a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; transition: color .3s; }
.footer__legal a:hover { color: var(--gold); }
.disclaimer a, .offer__secure a, .faq__a a, .legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Sub pages: legal + 404 ---------- */
.subpage .nav { justify-content: space-between; }
.subpage__back { font-size: 14px; }
.legal { max-width: 820px; padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(80px, 10vw, 140px); }
.legal__head { display: grid; gap: 20px; padding-bottom: 40px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.legal__title { font: 500 clamp(36px, 5vw, 64px)/1.05 var(--display); }
.legal__updated { font-size: 14px; color: var(--faint); }
.legal section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal h2 { font: 500 clamp(21px, 2vw, 26px)/1.25 var(--display); margin-bottom: 14px; }
.legal p, .legal li { color: var(--muted); max-width: 68ch; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { display: grid; gap: 10px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: "◆"; position: absolute; left: 0; top: .1em; font-size: 9px; color: var(--gold); }
.legal li b, .legal p b { color: var(--text); }
.footer--slim { padding-top: 40px; }
.footer--slim .footer__legal { margin-top: 0; }
.lost { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 40px) 0 80px; }
.lost::before { content: ""; position: absolute; left: 50%; bottom: -30%; width: 1200px; height: 700px; translate: -50% 0; z-index: -1; background: radial-gradient(closest-side, rgba(193, 18, 31, .3), rgba(240, 150, 60, .08) 55%, transparent); }
.lost__inner { display: grid; gap: 22px; justify-items: start; }
.lost__code { font: 500 clamp(120px, 24vw, 300px)/.8 var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost__title { font: 500 clamp(30px, 4.4vw, 60px)/1.05 var(--display); max-width: 16ch; }
.lost__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }

/* ---------- Mobile enroll dock ---------- */
.dock { display: none; }
@media (max-width: 759px) {
  .dock {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(10, 10, 11, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    translate: 0 110%; transition: translate .5s var(--ease);
  }
  .dock.is-on { translate: 0 0; }
  .dock:not(.is-on) b { animation-play-state: paused !important; }
  .dock__price { display: grid; line-height: 1.2; }
  .dock__price b { font: 600 22px/1 var(--display); color: var(--gold); }
  .dock__price span { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .subpage .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); } /* no enroll dock on sub pages */
}

/* ---------- Living flame cursor (mouse/trackpad only; JS adds .flame-cursor) ---------- */
.fire-trail { display: none; }
@media (hover: hover) and (pointer: fine) {
  .fire-trail { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 400; pointer-events: none; }
  html.flame-cursor, html.flame-cursor * { cursor: none !important; }
  html.flame-cursor input, html.flame-cursor textarea { cursor: text !important; }
}

/* Sale price: the old price, struck through */
.was { font-weight: 500; opacity: .62; text-decoration-thickness: 2px; text-decoration-color: var(--crimson); margin-right: .15em; }
.offer__was { display: block; margin-bottom: 4px; font: 500 20px/1 var(--display); color: var(--muted); text-decoration-thickness: 2px; text-decoration-color: var(--crimson); }

/* ---------- The $50: molten gold, a fire glow, rising embers ---------- */
@keyframes molten { from { background-position: 0% 50%; } to { background-position: -250% 50%; } }
@keyframes ember-rise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translate(var(--dx, 0px), -150px) scale(.2); opacity: 0; }
}
.offer__price { position: relative; isolation: isolate; }
.offer__price::before {
  content: ""; position: absolute; left: 4%; right: 30%; top: 15%; bottom: -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(245, 130, 40, .38), rgba(193, 18, 31, .18) 55%, transparent);
  filter: blur(14px);
}
.offer__amt, .dock__price b {
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 14%, var(--gold-hi) 26%, #fff6dc 32%, var(--gold-hi) 38%, var(--gold) 52%, #b8863c 70%, var(--gold) 86%, var(--gold-deep) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.offer__embers { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.offer__embers i { position: absolute; bottom: 12%; left: var(--x); width: 3px; height: 3px; border-radius: 50%; background: #ffd58a; box-shadow: 0 0 6px 2px rgba(245, 120, 40, .8); opacity: 0; }
.js.motion .offer__amt, .js.motion .dock__price b { animation: molten 7s linear infinite; }
.js.motion .offer__price::before { animation: flicker 2.4s ease-in-out infinite alternate; }
.js.motion .offer__embers i { animation: ember-rise var(--d, 3s) linear var(--s, 0s) infinite; }
/* gold buttons shimmer on hover only (see .btn--gold:hover::after) */

/* Off-screen sections pause their CSS animations (JS toggles .is-offscreen) */
.is-offscreen, .is-offscreen *, .is-offscreen::before, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee { animation: none; }
}
