/* ==========================================================================
   The London Bitcoin Co. — gold strategy redesign
   Two worlds: BLACK (Bitcoin, digital scarcity) · PAPER (Nevada gold, geological)
   ========================================================================== */

@font-face { font-family: Geist; src: url(assets/fonts/Geist-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(assets/fonts/Geist-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(assets/fonts/Geist-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Geist; src: url(assets/fonts/Geist-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Geist; src: url(assets/fonts/Geist-Black.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: GeistMono; src: url(assets/fonts/GeistMono-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: GeistMono; src: url(assets/fonts/GeistMono-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --black: #0d0c0a;
  --panel: #16130f;
  --paper: #f5f0e3;
  --paper-deep: #ece4d0;
  --card-au: #f1e8cf;
  --ink: #171310;
  --white: #f4efe2;
  --gold: #c9a13d;
  --gold-bright: #eed88d;
  --gold-deep: #8f7126;
  --gold-grad: linear-gradient(165deg, #f0da92 8%, #c9a13d 52%, #94762a 96%);
  --dim-w: rgba(244, 239, 226, .64);
  --dim-b: rgba(23, 19, 16, .64);
  --hair-w: rgba(237, 224, 198, .16);
  --hair-b: rgba(23, 19, 16, .16);
  --mono: "GeistMono", "SF Mono", ui-monospace, monospace;
  --sans: "Geist", -apple-system, "Helvetica Neue", sans-serif;
  --nav-h: 64px;
  --spring: cubic-bezier(.34, 1.56, .48, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--gold); color: var(--black); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }

.mono { font-family: var(--mono); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

.skip { position: fixed; left: -999px; top: 8px; z-index: 300; background: var(--gold); color: var(--black); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- reveals (clip-mask, never fades) ---------- */
.rv { display: block; overflow: hidden; }
.rv > span { display: block; transform: translateY(112%); transition: transform .74s cubic-bezier(.22, .9, .24, 1); transition-delay: calc(var(--i, 0) * 120ms); }
.in .rv > span, .rv.in > span { transform: translateY(0); }
body.still .rv > span { transform: none !important; transition: none !important; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.eyebrow span::before { content: "◆ "; font-size: 9px; vertical-align: 2px; }
h1 { font-size: clamp(44px, 7.4vw, 108px); font-weight: 900; line-height: .98; letter-spacing: -.028em; }
h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(34px, 5vw, 68px); font-weight: 900; line-height: 1.0; letter-spacing: -.025em; }
h3 { font-size: clamp(26px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }
.lead { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.5; max-width: 640px; margin-top: 18px; }
[data-ink="white"] .lead { color: var(--dim-w); }
[data-ink="black"] .lead { color: var(--dim-b); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 26px; border-radius: 999px; letter-spacing: .01em;
  transition: transform .3s var(--spring), background .2s, color .2s, border-color .2s;
  will-change: transform;
}
.btn:hover { transform: scale(.965); }
.btn:active { transform: scale(.9); }
.btn-gold { background: var(--gold-grad); color: var(--black); box-shadow: 0 1px 0 rgba(255, 236, 170, .55) inset, 0 8px 24px -12px rgba(201, 161, 61, .55); }
.btn-line { border: 1px solid var(--hair-w); color: var(--white); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-ink { background: var(--ink); color: var(--paper); }

/* ==========================================================================
   NAV
   ========================================================================== */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 clamp(16px, 2.6vw, 36px);
  color: var(--nav-ink, var(--white));
  transition: color .35s;
}
#nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: var(--nav-bg-o, 0);
  background: color-mix(in srgb, var(--nav-bg, #0d0c0a) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-hair, rgba(237, 224, 198, .1));
  transition: opacity .3s;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 15px; letter-spacing: .01em; }
.brand img { width: 34px; height: 34px; }
.brand-name b { font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav-links > a, .nav-drop > button {
  font: 500 14px var(--sans); color: inherit; background: none; border: 0; cursor: pointer;
  padding: 9px 13px; border-radius: 999px; letter-spacing: .01em; opacity: .82;
  transition: opacity .2s, background .2s;
}
.nav-links > a:hover, .nav-drop > button:hover { opacity: 1; background: rgba(128, 128, 128, .14); }
.nav-drop { position: relative; }
.caret { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
#invMenu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: #14110d; border: 1px solid var(--hair-w); border-radius: 14px;
  padding: 8px; display: none; flex-direction: column; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
}
#invMenu.open { display: flex; }
#invMenu a { color: var(--white); font-size: 14px; padding: 10px 14px; border-radius: 8px; }
#invMenu a:hover { background: rgba(201, 161, 61, .14); color: var(--gold-bright); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.chip {
  font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px; padding: 8px 13px; opacity: .8;
  background: none; color: inherit; cursor: pointer;
  transition: opacity .2s, transform .3s var(--spring);
}
.chip:hover { opacity: 1; transform: scale(.96); }
#menuBtn { display: none; }

/* mobile sheet */
#sheet {
  position: fixed; inset: 0; z-index: 90; background: var(--black); color: var(--white);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s;
}
#sheet.open { opacity: 1; pointer-events: auto; }
.sheet-inner { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.sheet-inner > a { font-size: clamp(28px, 7vw, 40px); font-weight: 800; letter-spacing: -.02em; padding: 6px 20px; }
.sheet-inner > a:hover { color: var(--gold-bright); }
.sheet-mono { margin-top: 26px; display: flex; gap: 22px; justify-content: center; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* ==========================================================================
   S1 · HERO
   ========================================================================== */
.scene-hero { position: relative; height: 100svh; min-height: 620px; }
.hero-stage { position: absolute; inset: 0; overflow: hidden; background: var(--black); }
#contourWrap { position: absolute; inset: -6% -6% -12% -6%; }
#contourWrap svg { width: 100%; height: 100%; }
#contourWrap path { fill: none; stroke: var(--gold); stroke-width: .8; opacity: .16; }
#contourWrap path.mj { stroke-width: 1.5; opacity: .3; stroke: var(--gold-bright); }
#contourWrap path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.3, .5, .2, 1); transition-delay: calc(var(--lv) * 90ms); }
body.drawn #contourWrap path, body.still #contourWrap path { stroke-dashoffset: 0; }
.hero-vignette { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 30% 78%, rgba(13, 12, 10, .92) 0%, rgba(13, 12, 10, .45) 42%, rgba(13, 12, 10, 0) 70%),
  linear-gradient(180deg, rgba(13, 12, 10, .8), rgba(13, 12, 10, 0) 26%, rgba(13, 12, 10, 0) 72%, rgba(13, 12, 10, .88)); }
.hero-copy { position: absolute; left: clamp(20px, 6vw, 96px); bottom: clamp(88px, 16svh, 170px); max-width: 900px; }
.hero-sub { margin-top: 22px; font-size: clamp(15px, 1.5vw, 19px); color: var(--dim-w); max-width: 520px; line-height: 1.5; }
.hero-ctas { margin-top: 30px; }
.hero-ctas span { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cap {
  position: absolute; left: clamp(20px, 6vw, 96px); bottom: 28px;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 216, 141, .5);
}
.dia { display: inline-block; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); margin-right: 10px; vertical-align: 1px; }
.scroll-cue { position: absolute; right: clamp(22px, 5vw, 80px); bottom: 26px; width: 1px; height: 56px; background: var(--hair-w); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold); animation: cue 2.1s cubic-bezier(.6, .1, .3, .9) infinite; }
@keyframes cue { to { top: 110%; } }
body.still .scroll-cue span, body.rm .scroll-cue span { animation: none; top: 30%; }

/* ==========================================================================
   scenes (sticky stages)
   ========================================================================== */
.scene { position: relative; }
.scene .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }

/* ---------- S2 · THESIS (black · drawn) ----------
   Same grammar as #nevada and #mining: copy left, a DRAWN data graphic right,
   mono gold counters, hairline table. No photo, no cards, no pills. */
#gold .stage { background: var(--black); color: var(--white); }
.th-grid {
  position: absolute; inset: 0; padding: calc(var(--nav-h) + 3svh) clamp(20px, 5vw, 80px) 12svh;
  display: grid; grid-template-columns: minmax(320px, 1fr) minmax(300px, 46%);
  gap: clamp(20px, 5vw, 80px); align-items: center;
}
.th-copy h2 { font-size: clamp(34px, 4.6vw, 64px); }
.th-counters { display: flex; gap: clamp(22px, 3.4vw, 52px); margin: 30px 0 8px; }
.th-counters b { display: block; font: 700 clamp(26px, 3vw, 44px) var(--mono); letter-spacing: -.03em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.th-counters b i { font-style: normal; font-size: .55em; letter-spacing: 0; margin-right: .08em; }
.th-counters b span { font: inherit; }
.th-counters > div > span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim-w); }
.th-line { color: var(--dim-w); max-width: 460px; line-height: 1.5; font-size: 15.5px; margin: 10px 0 26px; }
.th-ledger { list-style: none; border-top: 1px solid var(--hair-w); max-width: 520px; }
.th-row {
  display: grid; grid-template-columns: 92px 1fr 1fr; align-items: baseline; gap: 14px;
  padding: 10px 2px; border-bottom: 1px solid var(--hair-w);
  font-size: 13px; letter-spacing: .04em; opacity: .3; transition: opacity .45s;
}
.th-row.on, body.still .th-row { opacity: 1; }
.th-row i { font-style: normal; color: var(--gold); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.th-row .th-l { color: var(--white); }
.th-row .th-r { color: var(--gold-bright); }
.th-close {
  margin-top: 22px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(238, 216, 141, .58); opacity: 0; transform: translateY(12px);
  transition: opacity .5s, transform .6s var(--spring);
}
.th-close.on, body.still .th-close { opacity: 1; transform: none; }
.th-chartwrap { position: relative; height: min(78svh, 760px); aspect-ratio: auto !important; }
.th-chartwrap svg { width: 100%; height: 100%; overflow: visible; }
.thc-hair { stroke: var(--gold); stroke-width: .8; opacity: .42; }
.thc-curve { fill: none; stroke: var(--gold-bright); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.thc-cap { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 3 6; opacity: .8; }
.thc-axis { stroke: rgba(237,224,198,.22); stroke-width: 1; }
.thc-lbl { font: 500 11px var(--mono); fill: var(--dim-w); letter-spacing: .08em; text-transform: uppercase; }
.thc-lbl.gold { fill: var(--gold); }
.thc-cap-lbl { font: 700 13px var(--mono); fill: var(--gold-bright); letter-spacing: .06em; }
.thc-halv { opacity: 0; transition: opacity .45s; }
.thc-halv.on, body.still .thc-halv { opacity: 1; }
.thc-halv line { stroke: rgba(237,224,198,.3); stroke-width: 1; }
.thc-halv rect { fill: url(#thDia); stroke: #7c621f; stroke-width: 1.2; }
.thc-halv text { font: 500 11px var(--mono); fill: var(--dim-w); letter-spacing: .08em; }
#gold .foot { position: absolute; left: 0; right: 0; bottom: 3.4svh; text-align: center; }
.th-photo, .th-grade, .th-tex { display: none; }

@media (max-height: 880px) and (min-width: 1021px) {
  .th-copy h2 { font-size: clamp(30px, 3.8vw, 50px); }
  .th-counters { margin: 18px 0 4px; }
  .th-line { margin: 8px 0 16px; font-size: 14.5px; }
  .th-row { padding: 8px 2px; }
  .th-chartwrap { height: min(68svh, 620px); }
}

/* ---------- S3/S7 · VEIN WIPES ---------- */
.wipe .stage { background: var(--black); }
#closewipe .stage { background: var(--paper); }
.vein-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vein-gold { fill: url(#veinGrad); }
.vein-paper { fill: var(--paper); }
.vein-black { fill: var(--black); }
.vein-word {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%); z-index: 3;
  font-size: clamp(90px, 12.6vw, 250px); font-weight: 500; letter-spacing: .06em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(201, 161, 61, .8);
}
/* gold on both words: the flood must REVEAL the word, never erase it */
.vein-word-b { -webkit-text-stroke: 1.5px rgba(201, 161, 61, .8); }
.vein-dias { position: absolute; inset: 0; z-index: 4; }
.vein-dias i { position: absolute; left: 0; top: 0; width: 12px; height: 12px; background: var(--gold-grad); transform: rotate(45deg); box-shadow: 0 0 18px rgba(201, 161, 61, .5); }

/* ---------- S4 · NEVADA ---------- */
#nevada .stage { background: var(--paper); color: var(--ink); }
.nv-grid {
  position: absolute; inset: 0; padding: calc(var(--nav-h) + 3svh) clamp(20px, 5vw, 80px) 12svh;
  display: grid; grid-template-columns: minmax(320px, 1fr) minmax(300px, 44%);
  gap: clamp(20px, 5vw, 80px); align-items: center;
}
.nv-copy .eyebrow { color: #96731f; }
.nv-counters { display: flex; gap: clamp(18px, 3vw, 44px); margin: 30px 0 8px; }
.nv-counters b { display: block; font: 700 clamp(26px, 3vw, 44px) var(--mono); letter-spacing: -.03em; background: linear-gradient(165deg, #a8842c, #7c621f); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.nv-counters span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim-b); }
.nv-line { color: var(--dim-b); max-width: 460px; line-height: 1.5; font-size: 15.5px; margin: 10px 0 26px; }
.nv-legend { list-style: none; border-top: 1px solid var(--hair-b); max-width: 460px; }
.nv-legend li {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 2px; border-bottom: 1px solid var(--hair-b);
  font-size: 13px; letter-spacing: .04em; opacity: .35; transition: opacity .4s, background .4s;
}
.nv-legend li.on { opacity: 1; }
.nv-legend li i { font-style: normal; color: #96731f; font-size: 11px; }
.nv-legend li span { margin-left: auto; color: var(--dim-b); font-size: 12px; }
.nv-mapwrap { position: relative; height: min(78svh, 780px); }
.nv-mapwrap svg { width: 100%; height: 100%; overflow: visible; }
.nvr-fill { fill: var(--paper); }
.nvr-line { fill: none; stroke: var(--ink); stroke-width: .8; }
.nv-city circle { fill: rgba(23, 19, 16, .55); }
.nv-city text { font: 500 19px var(--mono); fill: var(--dim-b); letter-spacing: .06em; paint-order: stroke; stroke: var(--paper); stroke-width: 5px; }
.nv-city { opacity: 0; transition: opacity .5s; }
.nv-city.on { opacity: .85; }
.nv-proj { opacity: 0; }
.nv-proj.on { opacity: 1; }
.nv-proj rect { fill: url(#diaGrad); stroke: #7c621f; stroke-width: 1.6; }
.nv-proj .ring { fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0; }
.nv-proj text { font: 600 23px var(--mono); fill: var(--ink); letter-spacing: .04em; paint-order: stroke; stroke: var(--paper); stroke-width: 6px; }
.nv-proj .idx { font: 700 17px var(--mono); fill: #3a2e0d; stroke: none; }
#nevada .foot { position: absolute; left: 0; right: 0; bottom: 3.4svh; text-align: center; }
.foot { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(23, 19, 16, .42); padding: 0 20px; line-height: 1.7; }
[data-ink="white"] .foot { color: rgba(244, 239, 226, .4); }

/* ==========================================================================
   S5 · PROJECTS (paper flow)
   ========================================================================== */
#projects { background: var(--paper); color: var(--ink); padding: clamp(36px, 6vw, 90px) 0 clamp(50px, 7vw, 110px); }
.proj-intro { padding-bottom: 18px; }
.proj { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.proj-wrap-line { border-bottom: 1px solid var(--hair-b); }
.proj > .proj-toggle { border-top: 1px solid var(--hair-b); }
.proj:last-of-type { border-bottom: 1px solid var(--hair-b); }
.proj-toggle {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  gap: clamp(14px, 2.4vw, 28px); padding: 20px 0; background: none; border: 0; cursor: pointer;
  text-align: left; color: var(--ink); font-family: var(--sans);
}
.proj-toggle .pdia { width: clamp(40px, 3.8vw, 56px); height: clamp(40px, 3.8vw, 56px); font-size: clamp(13px, 1.2vw, 16px); margin-right: 0; }
.pt-h { display: block; font-weight: 800; font-size: clamp(22px, 2.8vw, 38px); letter-spacing: -.02em; line-height: 1.05; transition: color .25s; }
.proj-toggle:hover .pt-h { color: #96731f; }
.pt-sub { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #96731f; }
.pt-ac { font-size: 12px; letter-spacing: .1em; color: var(--dim-b); white-space: nowrap; }
.pt-x { font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; color: #96731f; line-height: 1; transition: transform .4s var(--spring); }
.proj.open .pt-x { transform: rotate(45deg); }
.pbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.25, .9, .3, 1); }
.proj.open .pbody { grid-template-rows: 1fr; }
.pbody > .pbody-in { overflow: hidden; }
.pbody-in > .foot { margin-bottom: 30px; }
.proj-head { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); margin-bottom: 14px; }
.pdia {
  position: relative; width: clamp(52px, 5vw, 72px); height: clamp(52px, 5vw, 72px); flex: none;
  display: grid; place-items: center; margin-right: 8px;
  font-size: clamp(15px, 1.4vw, 19px); font-weight: 700; color: #2c230a;
}
.pdia::before {
  content: ""; position: absolute; inset: 9%; z-index: -1;
  background: var(--gold-grad); border: 1px solid #7c621f;
  transform: rotate(45deg) scale(.92);
  box-shadow: 0 14px 30px -14px rgba(140, 108, 34, .6);
  transition: transform .5s var(--spring);
}
.proj:hover .pdia::before { transform: rotate(45deg) scale(1.04); }
.proj-sub { color: #96731f; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 8px; }
.spec { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim-b); border-block: 1px solid var(--hair-b); padding: 12px 0; margin: 18px 0 26px; }
.proj-body { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(300px, 46%); gap: clamp(24px, 4vw, 64px); align-items: start; }
.proj-facts p { line-height: 1.55; color: rgba(23, 19, 16, .8); font-size: 15.5px; max-width: 520px; }
.proj-facts p + p { margin-top: 14px; }
.status-chip {
  display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--hair-b); border-radius: 999px; padding: 9px 16px; color: var(--dim-b);
  margin: 16px 0 !important;
}
.status-chip.gold { border-color: rgba(150, 115, 31, .5); color: #96731f; background: rgba(201, 161, 61, .08); }

.grade-hero { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.grade-num {
  font: 700 clamp(64px, 7vw, 118px)/0.95 var(--mono); letter-spacing: -.05em;
  background: linear-gradient(165deg, #b8912f 6%, #8f7126 60%, #6d5518); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.grade-hero > span, .grade-pair span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim-b); line-height: 1.7; }
.grade-pair { display: flex; gap: clamp(20px, 3vw, 48px); }
.grade-pair .grade-num { font-size: clamp(40px, 4.4vw, 74px); display: block; margin-bottom: 6px; }

.assay { width: 100%; border-collapse: collapse; background: #fbf8f0; border: 1px solid var(--hair-b); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px -34px rgba(90, 70, 20, .45); }
.assay caption { caption-side: top; text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #96731f; padding: 0 16px 10px; }
.assay th { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; text-align: right; padding: 12px 16px; background: var(--ink); color: var(--paper); }
.assay th:first-child { text-align: left; }
.assay td { padding: 11px 16px; font: 500 14px var(--mono); color: var(--ink); text-align: right; border-top: 1px solid var(--hair-b); font-variant-numeric: tabular-nums; }
.assay td:first-child { text-align: left; color: rgba(23, 19, 16, .72); }
.assay tbody tr { transition: background .25s; }
.assay tbody tr:hover { background: rgba(201, 161, 61, .12); }
.assay tr.hi { background: rgba(201, 161, 61, .16); }
.assay tr.hi td { font-weight: 700; color: #6d5518; }
.assay-pair { display: grid; gap: 20px; }

.tiles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tiles li { background: #fbf8f0; border: 1px solid var(--hair-b); border-radius: 12px; padding: 20px 18px; }
.tiles b { display: block; font: 700 clamp(30px, 3vw, 44px) var(--mono); letter-spacing: -.04em; color: var(--ink); }
.tiles span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim-b); }

.sb-chip span { display: block; background: var(--ink); color: var(--paper); border-radius: 14px; padding: 20px 22px; margin-top: 18px; max-width: 520px; }
.sb-chip b { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 8px; }
.sb-chip p { color: rgba(244, 239, 226, .82) !important; font-size: 14.5px !important; }
.sb-chip .sb-note { margin-top: 10px !important; font-size: 10.5px !important; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 239, 226, .5) !important; }
.proj .foot { margin-top: 22px; padding: 0; text-align: left; }

/* (S6 Tethered Gold section removed — styles pruned 21 Sep 2026) */

.pdf-row { margin-top: 54px; }
.pdf-row > span { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pdf-note { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim-b); }

/* ==========================================================================
   S8 · PLATFORM · S9 TEAM · S10 INVESTORS (black)
   ========================================================================== */
#platform, #team, #investors { background: var(--black); padding: clamp(50px, 8vw, 130px) 0; }
#platform { padding-top: clamp(60px, 9vw, 150px); }
.pillars { list-style: none; margin-top: 44px; border-top: 1px solid var(--hair-w); }
.pillars li span { display: grid; grid-template-columns: minmax(150px, 260px) 1fr; gap: 20px; padding: 26px 2px; border-bottom: 1px solid var(--hair-w); align-items: baseline; }
.pillars b { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.pillars b::before { content: "◆ "; font-size: 8px; vertical-align: 2px; }
.pillars li { font-size: clamp(16px, 1.7vw, 21px); line-height: 1.45; color: rgba(244, 239, 226, .88); }

.team { list-style: none; margin-top: 44px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; filter: grayscale(1) contrast(1.04) brightness(.92); transition: filter .4s; background: var(--panel); }
.team li:hover img { filter: grayscale(.15) contrast(1.02); }
.team b { display: block; margin-top: 12px; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.team i { font-style: normal; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: block; margin-top: 4px; }

.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 40px; }
.inv-grid a span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--hair-w); border-radius: 14px; padding: 20px 20px;
  font-size: 15px; font-weight: 600; transition: border-color .25s, background .25s, transform .3s var(--spring);
}
.inv-grid a:hover span { border-color: rgba(201, 161, 61, .55); background: rgba(201, 161, 61, .07); transform: scale(.98); }
.inv-grid i { font-style: normal; color: var(--gold); transition: transform .3s var(--spring); }
.inv-grid a:hover i { transform: translateX(4px); }
.partners { margin-top: 44px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 239, 226, .5); line-height: 2.1; max-width: 900px; }
.contact-row { margin-top: 34px; }
.contact-row > span { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- bitcoin mining / north america ---------- */
#mining { background: var(--black); padding: clamp(50px, 8vw, 130px) 0 clamp(30px, 5vw, 70px); }
.mstats { display: flex; gap: clamp(22px, 4vw, 60px); margin: 30px 0 10px; }
.mstats b { display: block; font: 700 clamp(28px, 3.2vw, 48px) var(--mono); letter-spacing: -.03em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.mstats i { font-style: normal; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim-w); }
.mine-grid { display: grid; grid-template-columns: minmax(320px, 54%) 1fr; gap: clamp(24px, 4.5vw, 70px); align-items: center; margin-top: clamp(24px, 4vh, 44px); }
.na-map span { display: block; border: 1px solid var(--hair-w); background: #100e0b; padding: 10px; }
.na-map svg { width: 100%; height: auto; display: block; }
.na-land { fill: none; stroke: rgba(237, 224, 198, .5); stroke-width: 1.1; }
.na-states { fill: none; stroke: rgba(237, 224, 198, .13); stroke-width: .8; }
.na-site rect { fill: url(#diaGrad2); stroke: #7c621f; stroke-width: 1; }
.na-site text { font: 600 15px var(--mono); fill: var(--white); letter-spacing: .04em; paint-order: stroke; stroke: #100e0b; stroke-width: 5px; }
.na-site { opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .7s var(--spring); transition-delay: calc(var(--d) * 140ms + .3s); }
.mapin .na-site, body.still .na-site { opacity: 1; transform: none; }
.na-map figcaption { margin-top: 12px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 239, 226, .4); line-height: 1.8; }
.mine-pillars { margin-top: 0 !important; }
.mine-pillars li span { grid-template-columns: 1fr; gap: 9px; padding: 20px 2px; }
.mine-pillars li { font-size: 15.5px; line-height: 1.55; }
#mining .foot { margin-top: 34px; text-align: left; padding: 0; }
@media (max-width: 1020px) { .mine-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mstats b { font-size: 26px; } }

/* ---------- regulatory news ---------- */
#news { background: var(--black); padding: clamp(50px, 8vw, 130px) 0 clamp(30px, 5vw, 70px); }
.news-list > span { display: block; border-top: 1px solid var(--hair-w); margin-top: 40px; }
.news-it { display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--hair-w); transition: background .25s, padding-left .3s var(--spring); }
.news-it:hover { background: rgba(201, 161, 61, .06); padding-left: 14px; }
.news-it time { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.news-it p { font-size: clamp(15.5px, 1.6vw, 19px); font-weight: 600; }
.news-it i { font-style: normal; color: var(--gold); transition: transform .3s var(--spring); }
.news-it:hover i { transform: translateX(5px); }
.news-cta { margin-top: 30px; }
.news-cta > span { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 560px) { .news-it { grid-template-columns: 1fr auto; } .news-it time { grid-column: 1 / -1; } }

footer { background: var(--black); border-top: 1px solid var(--hair-w); padding: 44px 0 56px; }
.f-brand { display: flex; align-items: center; gap: 11px; font-weight: 600; margin-bottom: 20px; }
.f-disc { font-size: 11px; line-height: 1.8; color: rgba(244, 239, 226, .42); max-width: 940px; letter-spacing: .02em; }
.f-meta { margin-top: 18px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 239, 226, .5); }
.f-meta a { text-decoration: underline; text-underline-offset: 3px; }
.f-meta a:hover { color: var(--gold-bright); }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  #menuBtn { display: inline-block; }
  .th-grid { grid-template-columns: 1fr; align-content: center; gap: 14px; padding-top: calc(var(--nav-h) + 1svh); padding-bottom: 4svh; }
  .th-copy h2 { font-size: clamp(28px, 8vw, 36px); }
  .th-counters { margin: 16px 0 4px; gap: 22px; }
  .th-counters b { font-size: 24px; }
  .th-line { display: none; }
  .th-ledger { max-width: none; }
  .th-row { grid-template-columns: 86px 1fr 1fr; gap: 8px; font-size: 11.5px; padding: 7px 0; }
  .th-row i { font-size: 9px; }
  .th-close { margin-top: 12px; }
  .th-chartwrap { height: auto !important; width: 100%; aspect-ratio: var(--th-ar, 1000 / 560) !important; }
  /* viewBox is 1000 units wide → ~0.35px per unit on a phone; size type in units */
  .th-chartwrap svg.narrow .thc-lbl { font-size: 30px; }
  .th-chartwrap svg.narrow .thc-cap-lbl { font-size: 33px; }
  .th-chartwrap svg.narrow .thc-halv text { font-size: 28px; }
  .th-chartwrap svg.narrow .thc-curve { stroke-width: 4.5; }
  .th-chartwrap svg.narrow .thc-hair { stroke-width: 1.6; opacity: .5; }
  .th-chartwrap svg.narrow .thc-halv rect { width: 20px; height: 20px; }
  .th-chartwrap svg.narrow .thc-halv line { stroke-width: 2; }
  .th-chartwrap svg.narrow .thc-cap { stroke-width: 2.5; stroke-dasharray: 6 10; }
  .th-chartwrap svg.narrow .thc-axis { stroke-width: 2; }
  .th-counters > div > span { font-size: 9px; letter-spacing: .14em; }
  #gold .foot { display: none; }
  /* wipes: word must fit the screen and read on BOTH fields (gold stroke, never ink) */
  .vein-word { font-size: calc(100vw / 5.1); letter-spacing: .05em; left: 0; }
  .vein-word-b { -webkit-text-stroke: 1.5px rgba(201, 161, 61, .8); }
  .nv-grid { grid-template-columns: 1fr; align-content: start; gap: 12px; padding-top: calc(var(--nav-h) + 2svh); }
  .nv-mapwrap { height: 44svh; }
  .nv-legend { display: none; }
  .proj-body { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .mandate { grid-template-columns: 1fr 1fr; }
  .pillars li span { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 560px) {
  .pt-ac { display: none; }
  .nav-right .chip { display: none; }
  .nav-right #menuBtn { display: inline-block; }
  .brand-name { font-size: 13.5px; }
  h1 { font-size: clamp(38px, 11.5vw, 54px); }
  .hero-copy { bottom: 14svh; }
  .hero-cap { display: none; }
  .grade-num { font-size: clamp(56px, 17vw, 84px); }
  .team { grid-template-columns: 1fr 1fr; }
  .nv-counters b { font-size: 24px; }
  .th-mlist div { grid-template-columns: 108px 1fr; }
  .f-disc { font-size: 10px; }
}

/* reduced motion: end-states, no idle loops */
@media (prefers-reduced-motion: reduce) {
  .rv > span { transform: none !important; transition: none !important; }
  #contourWrap path { stroke-dashoffset: 0 !important; transition: none !important; }
  .th-row-in { transform: none !important; transition: none !important; }
  .scroll-cue span { animation: none; }
}

/* ==========================================================================
   IR sub-pages
   ========================================================================== */
.ir-hero { position: relative; background: var(--black); padding: calc(var(--nav-h) + 9svh) 0 7svh; overflow: hidden; }
.ir-hero #contourWrap { position: absolute; inset: -20% -6% -30% -6%; opacity: .55; }
.ir-hero .wrap { position: relative; }
.ir-hero h1 { font-size: clamp(38px, 5.6vw, 84px); letter-spacing: -.026em; }
.ir-meta { margin-top: 16px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 216, 141, .55); }
.ir-tabs { background: var(--black); border-block: 1px solid var(--hair-w); position: relative; z-index: 5; }
.ir-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ir-tabs .wrap::-webkit-scrollbar { display: none; }
.ir-tabs a {
  font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 13px; white-space: nowrap; color: rgba(244, 239, 226, .55); transition: color .2s;
}
.ir-tabs a:hover { color: var(--white); }
.ir-tabs a.on { color: var(--gold-bright); box-shadow: 0 -2px 0 var(--gold) inset; }
.ir-body { background: var(--black); padding: clamp(36px, 5vw, 72px) 0 clamp(60px, 8vw, 120px); min-height: 40vh; }
.ir-lead { font-size: clamp(15.5px, 1.5vw, 19px); line-height: 1.55; color: var(--dim-w); max-width: 680px; margin-bottom: 34px; }
.ir-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 239, 226, .4); margin-top: 14px; line-height: 1.8; }
.ir-open { display: inline-block; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.ir-open:hover { color: var(--gold-bright); }
.iframe-card { background: #fbf8f0; border: 1px solid var(--hair-w); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8); }
.iframe-card + .ir-open, .iframe-card + h2 { margin-top: 40px; }
.iframe-card iframe { display: block; width: 100%; border: 0; }
.ir-body h2 { font-size: clamp(22px, 2.6vw, 34px); margin: 44px 0 18px; }
.ir-body h2:first-child { margin-top: 0; }

.doc-list { list-style: none; border-top: 1px solid var(--hair-w); }
.doc-list a {
  display: flex; align-items: baseline; gap: 18px; padding: 19px 4px;
  border-bottom: 1px solid var(--hair-w); transition: background .25s, padding-left .3s var(--spring);
}
.doc-list a:hover { background: rgba(201, 161, 61, .06); padding-left: 12px; }
.doc-list .doc-t { font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; flex: 1; }
.doc-list .doc-s { font: 400 11px var(--mono); letter-spacing: .1em; color: rgba(244, 239, 226, .45); }
.doc-list .doc-dl { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201, 161, 61, .4); border-radius: 999px; padding: 7px 13px; white-space: nowrap; }
.doc-list a:hover .doc-dl { background: rgba(201, 161, 61, .14); color: var(--gold-bright); }

.ir-table-wrap { max-width: 760px; }
.stat-band { display: flex; gap: 16px; align-items: baseline; background: #14110d; border: 1px solid var(--hair-w); border-radius: 14px; padding: 20px 24px; margin-top: 22px; max-width: 760px; }
.stat-band b { font: 700 clamp(24px, 2.6vw, 38px) var(--mono); letter-spacing: -.03em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-band span { font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim-w); }

.risk-callout { border: 1px solid rgba(201, 161, 61, .5); background: rgba(201, 161, 61, .07); border-radius: 14px; padding: 20px 24px; margin-bottom: 34px; max-width: 780px; }
.risk-callout b { display: block; font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 8px; }
.risk-callout p { font-size: 15px; line-height: 1.55; color: rgba(244, 239, 226, .85); }
.prose { max-width: 780px; }
.prose p { font-size: clamp(15px, 1.45vw, 17.5px); line-height: 1.65; color: rgba(244, 239, 226, .82); margin-bottom: 18px; }
.prose strong { color: var(--white); }
.prose ol { margin: 0 0 18px 20px; }
.prose li { font-size: clamp(15px, 1.45vw, 17.5px); line-height: 1.65; color: rgba(244, 239, 226, .82); margin-bottom: 12px; }
.fact-panel { background: #14110d; border: 1px solid var(--hair-w); border-radius: 14px; padding: 24px 26px; margin: 30px 0; max-width: 780px; }
.fact-panel dl { display: grid; gap: 0; }
.fact-panel dl div { display: grid; grid-template-columns: minmax(150px, 240px) 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hair-w); align-items: baseline; }
.fact-panel dl div:first-child { border-top: 0; padding-top: 0; }
.fact-panel dt { font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.fact-panel dd { font-size: 14.5px; font-weight: 500; }
.chip-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

@media (max-width: 560px) {
  .doc-list a { flex-wrap: wrap; gap: 8px 14px; }
  .doc-list .doc-t { flex-basis: 100%; }
  .fact-panel dl div { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   photography
   ========================================================================== */
.hero-photo { position: absolute; inset: 0; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%;
  filter: saturate(.82) contrast(1.02) brightness(.9);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 12, 10, .62), rgba(13, 12, 10, .28) 34%, rgba(13, 12, 10, .55) 68%, rgba(13, 12, 10, .96) 100%);
}
#contourWrap { opacity: .75; }

.field-photo { margin-top: 22px; max-width: 420px; }
.field-photo img { border-radius: 12px; border: 1px solid var(--hair-b); box-shadow: 0 22px 44px -28px rgba(90, 70, 20, .5); width: 100%; height: auto; }
.field-photo figcaption { margin-top: 10px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(23, 19, 16, .48); line-height: 1.7; }

#ground { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: var(--black); }
.ground-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.82) brightness(.9) contrast(1.04); }
/* orbital image: even radial vignette so centred copy sits on a calm core */
.ground-grade {
  position: absolute; inset: 0;
  background: radial-gradient(64% 56% at 50% 50%, rgba(13, 12, 10, .7) 0%, rgba(13, 12, 10, .42) 48%, rgba(13, 12, 10, .08) 100%),
              linear-gradient(180deg, rgba(13, 12, 10, .8), rgba(13, 12, 10, .1) 28%, rgba(13, 12, 10, .1) 72%, rgba(13, 12, 10, .9) 100%);
}
.ground-copy { position: relative; padding-top: 16svh; padding-bottom: 16svh; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ground-copy h2 { font-size: clamp(30px, 4.2vw, 64px); max-width: 34ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.ground-cta { margin-top: 34px; }
.ground-cta > span { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ground-cta .pdf-note { color: rgba(244, 239, 226, .7); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ground-cap {
  position: absolute; left: 0; right: 0; bottom: 28px; text-align: center;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 216, 141, .5); padding: 0 20px;
}

@media (max-width: 560px) {
  .hero-photo img { object-position: 42% 88%; }
  #ground { min-height: 80svh; }
  .ground-copy h2 .gbr { display: none; }
  .ground-copy h2 { font-size: clamp(28px, 8.2vw, 34px); max-width: 13ch; }
  .ground-cta .pdf-note { font-size: 10px; letter-spacing: .1em; }
  .ground-cap { font-size: 9px; letter-spacing: .12em; bottom: 18px; }
}

/* small phones: thesis stack must fit one screen */
@media (max-width: 1020px) and (max-height: 720px) {
  .th-grid { gap: 6px; padding-top: calc(var(--nav-h) + 1svh); align-content: start; padding-bottom: 2svh; }
  .th-copy .eyebrow { margin-bottom: 4px; }
  .th-copy h2 { font-size: 24px; }
  .th-counters { margin: 10px 0 2px; }
  .th-counters b { font-size: 20px; }
  .th-row { padding: 5px 0; font-size: 10.5px; }
  .th-close { margin-top: 8px; }
}
