/* ================================================================
   cbi.vu — Vanuatu Citizenship by Investment
   Design system v2. Editorial-grade luxe. Aman × private bank ×
   editorial magazine. Hairline rules, generous whitespace, paper
   grain, magazine-grade numerals.
   ================================================================ */

/* ---------- SELF-HOSTED FONTS ----------
   Latin-subset woff2, served from /fonts. No Google CDN dependency:
   no third-party round-trip, no font-swap flash, nothing phoning home.
   Exotic glyphs (∞, ₿, ₽, ﷼) fall back to the system stacks below. */
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/instrument-400.woff2') format('woff2');}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url('/fonts/instrument-400-italic.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('/fonts/inter-300.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/inter-500.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/inter-600.woff2') format('woff2');}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/jetbrains-400.woff2') format('woff2');}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/jetbrains-500.woff2') format('woff2');}

/* ---------- TOKENS ---------- */
:root {
  /* Palette */
  --ink:           #0B1F2D;        /* dominant deep ocean blue */
  --ink-soft:      #1A3142;
  --ink-strong:    #061521;
  --lagoon:        #4A7888;
  --lagoon-fog:    #B5C8D1;
  --cream:         #F4EEE2;
  --paper:         #FAF6EC;
  --paper-warm:    #F1E9D8;        /* warm secondary paper */
  --sand:          #DDD0B8;
  --gold:          #B89968;
  --gold-soft:     #C9AC81;
  --bitcoin:       #f7931a;
  --rule:          rgba(11, 31, 45, 0.10);
  --rule-strong:   rgba(11, 31, 45, 0.22);
  --rule-light:    rgba(244, 238, 226, 0.16);
  --rule-light-strong: rgba(244, 238, 226, 0.32);
  --text:          #1A1F26;
  --text-soft:     #2C3742;
  --muted:         #6B7889;
  --muted-soft:    #8B95A3;
  --muted-light:   rgba(244, 238, 226, 0.68);

  /* Typography */
  --font-display:  'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Scale (editorial-tuned) */
  --step-xxxs:     0.6875rem;      /* 11 */
  --step-xxs:      0.75rem;        /* 12 */
  --step-xs:       0.8125rem;      /* 13 */
  --step-sm:       0.9375rem;      /* 15 */
  --step-base:     1.0625rem;      /* 17 */
  --step-md:       1.25rem;        /* 20 */
  --step-lg:       1.5rem;         /* 24 */
  --step-xl:       clamp(1.75rem, 2.6vw, 2.25rem);
  --step-2xl:      clamp(2.25rem, 4vw, 3.25rem);
  --step-3xl:      clamp(3rem, 5.5vw, 4.75rem);
  --step-display:  clamp(3.25rem, 8.5vw, 7.5rem);
  --step-monolith: clamp(5rem, 14vw, 12rem); /* magazine-grade numerals */

  /* Spacing */
  --s-1:           0.5rem;
  --s-2:           1rem;
  --s-3:           1.5rem;
  --s-4:           2rem;
  --s-5:           3rem;
  --s-6:           4rem;
  --s-7:           6rem;
  --s-8:           8rem;
  --s-9:           12rem;

  /* Layout */
  --container:        min(1280px, 90vw);
  --container-narrow: min(780px, 88vw);
  --container-wide:   min(1480px, 94vw);
  --container-editorial: min(960px, 90vw);

  /* Motion */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --dur-quick:     180ms;
  --dur-mid:       420ms;
  --dur-slow:      900ms;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: 'kern', 'liga', 'calt', 'ss01', 'onum';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px;
  padding: 0.75rem 1.25rem;
  background: var(--ink); color: var(--cream);
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

::selection { background: var(--ink); color: var(--cream); }

/* Subtle paper grain — barely-there warmth */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 17% 23%, rgba(184, 153, 104, 0.025) 0, transparent 35%),
    radial-gradient(circle at 83% 71%, rgba(74, 120, 136, 0.022) 0, transparent 38%);
  pointer-events: none;
  z-index: 0;
}
main { position: relative; z-index: 1; }

/* ---------- TYPOGRAPHY ---------- */
.display, .headline, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-feature-settings: 'kern', 'liga', 'dlig';
}
h1, .display {
  font-size: var(--step-display);
  letter-spacing: -0.028em;
  line-height: 0.98;
}
h2 {
  font-size: var(--step-3xl);
  line-height: 1.05;
  letter-spacing: -0.022em;
}
h3 {
  font-size: var(--step-2xl);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h4 {
  font-size: var(--step-xl);
  line-height: 1.18;
  letter-spacing: -0.012em;
}

.sovereignty-italic {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* Eyebrow — refined editorial label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: '';
  width: 2.25rem; height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.on-dark { color: var(--lagoon-fog); }
.eyebrow.center { justify-content: center; }
.eyebrow.gold { color: var(--gold); }

/* Section heads — composed editorial pair */
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 62ch;
  margin-bottom: var(--s-5);
}
.section-head.center { align-items: center; text-align: center; margin-inline: auto; }
.section-head.split {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-5);
  max-width: none;
  flex-wrap: wrap;
}
.section-head .lede {
  font-size: var(--step-md);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 52ch;
  font-weight: 300;
}
@media (max-width: 760px) {
  .section-head.split { flex-direction: column; align-items: flex-start; }
}

/* Body type */
.lead {
  font-family: var(--font-display);
  font-size: var(--step-xl);
  line-height: 1.32;
  color: var(--text-soft);
  letter-spacing: -0.008em;
  font-weight: 400;
}
.body-lg {
  font-size: var(--step-md);
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 300;
}
.mono {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.fine {
  font-size: var(--step-xs);
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* Drop-cap — magazine first-paragraph treatment */
.dropcap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4.8em;
  line-height: 0.84;
  padding: 0.08em 0.14em 0 0;
  color: var(--ink);
  font-style: italic;
  font-feature-settings: 'dlig', 'liga';
}

/* ---------- LAYOUT ---------- */
.container       { width: var(--container); margin-inline: auto; }
.container-narrow { width: var(--container-narrow); margin-inline: auto; }
.container-wide  { width: var(--container-wide); margin-inline: auto; }
.container-editorial { width: var(--container-editorial); margin-inline: auto; }

.section { padding-block: var(--s-8); }
.section-tight { padding-block: var(--s-6); }
.section-loose { padding-block: var(--s-9); }
@media (max-width: 760px) {
  .section { padding-block: var(--s-6); }
  .section-tight { padding-block: var(--s-5); }
  .section-loose { padding-block: var(--s-7); }
}

.grid { display: grid; gap: var(--s-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.bg-cream  { background: var(--cream); }
.bg-paper  { background: var(--paper); }
.bg-warm   { background: var(--paper-warm); }
.bg-ink    { background: var(--ink); color: var(--cream); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--cream); }
.bg-ink .eyebrow { color: var(--lagoon-fog); }

/* ---------- TRUST STRIP ----------
   Discrete, single-line credentials band. Sits below the sub-hero
   ledger-line on pages where authority signaling matters (program,
   pricing). Mono small-caps, gold accent dot, generous spacing. */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-strip .ts-mark {
  color: var(--gold);
  font-size: 1.1em;
  line-height: 1;
}
.trust-strip .ts-sep {
  width: 1px;
  height: 12px;
  background: var(--rule-strong);
}
.trust-strip a { color: var(--ink); }
.trust-strip a:hover { color: var(--bitcoin); }
.trust-strip.on-dark {
  border-bottom-color: var(--rule-light-strong);
  color: var(--muted-light);
}
.trust-strip.on-dark a { color: var(--cream); }
.trust-strip.on-dark .ts-sep { background: var(--rule-light-strong); }

/* Verified-on micro stamp — sits beneath a fact ledger. Subtle,
   just enough to show the file is fresh. */
.verified-stamp {
  font-family: var(--font-mono);
  font-size: var(--step-xxxs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
}
.verified-stamp::before {
  content: '✓';
  color: var(--gold);
  font-size: 1.1em;
  line-height: 1;
}
.verified-stamp.on-dark { color: var(--muted-light); }

/* ---------- LEDGER LINE (single-line letterhead, editorial) ---------- */
.ledger-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  padding-block: var(--s-3);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ledger-line .ll-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.ledger-line .ll-label {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.ledger-line .ll-val {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw, 1.625rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}
.ledger-line.on-dark {
  border-color: var(--rule-light-strong);
}
.ledger-line.on-dark .ll-label { color: var(--muted-light); }
.ledger-line.on-dark .ll-val { color: var(--cream); }

/* ---------- NAVIGATION ---------- */
/* Nav modeled after 21cbi.io: always pinned, always translucent
   paper with backdrop blur, always with a hairline bottom border.
   No transparent→solid scroll toggle — the bar reads the same on
   every page over every background. Matches the parent's
   `bg-surface/80 backdrop-blur-md fixed top-0 w-full z-50
   border-b border-outline-variant/10` posture. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 0.95rem 0;
  background: rgba(250, 246, 236, 0.82);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.015em;
  line-height: 1;
  font-style: italic;
}
.brand .dot { display: inline-block; width: 4px; height: 4px; background: currentColor; border-radius: 50%; margin-inline: 2px; vertical-align: middle; transform: translateY(-0.35em); }
.brand .vu {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: translateY(-0.4em);
  opacity: 0.75;
  margin-left: 0.25rem;
  font-style: normal;
}
.nav-links {
  display: flex; gap: var(--s-4); align-items: center;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  min-height: 44px;
  display: inline-flex; align-items: center;
  padding: 0 0.3rem;
  transition: color var(--dur-quick) var(--ease-out);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.65rem; height: 1px;
  background: currentColor; opacity: 0;
  transform: translateY(2px);
  transition: opacity var(--dur-quick), transform var(--dur-quick);
}
.nav-link:hover { color: var(--bitcoin); }
.nav-link:hover::after { opacity: 1; transform: translateY(0); background: var(--bitcoin); }
.nav-link.is-current::after { opacity: 0.5; transform: translateY(0); }
.nav-link:focus-visible { outline: 2px solid var(--bitcoin); outline-offset: 4px; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.9rem 1.3rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex; align-items: center;
  transition: all var(--dur-quick) var(--ease-out);
}
.nav-cta:hover { background: var(--bitcoin); border-color: var(--bitcoin); color: #fff; }

@media (max-width: 760px) {
  .nav-links .nav-link:not(.priority) { display: none; }
}

/* ---------- LANGUAGE PICKER (nav dropdown) ---------- */
.lang-picker {
  position: relative;
  display: inline-block;
}
.lang-trigger {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0 0.6rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  transition: color var(--dur-quick);
}
.lang-trigger:hover { color: var(--bitcoin); }
.lang-trigger:focus-visible { outline: 2px solid var(--bitcoin); outline-offset: 4px; }
.lang-trigger .lang-chev {
  width: 10px; height: 10px;
  transition: transform var(--dur-quick);
}
.lang-picker.is-open .lang-trigger .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline-end: 0;
  min-width: 180px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  box-shadow: 0 20px 40px -16px rgba(11, 31, 45, 0.25);
  z-index: 51;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity var(--dur-quick), transform var(--dur-quick);
}
.lang-picker.is-open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-menu li { margin: 0; }
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--step-sm);
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  transition: background var(--dur-quick);
}
.lang-menu a:hover { background: var(--cream); }
.lang-menu a[aria-current="true"] {
  background: var(--ink);
  color: var(--cream);
}
.lang-menu .lang-code {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* Hide on the narrowest screens to keep mobile nav clean. */
@media (max-width: 540px) {
  .lang-picker { display: none; }
}

/* ---------- RTL OVERRIDES ----------
   Logical properties (margin-inline-*, padding-inline-*, inset-inline-*)
   handle most of the RTL flip automatically once `dir="rtl"` is set on
   <html>. These overrides cover the edge cases that don't translate
   cleanly: drop-cap floats, button arrow direction, and the
   italic-accent device (Arabic typography doesn't use italic; we
   suppress the slant and rely on the period for emphasis).
*/
[dir="rtl"] .dropcap::first-letter { float: right; padding: 0.08em 0 0 0.14em; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
[lang="ar"] .sovereignty-italic { font-style: normal; font-weight: 500; }
[lang="zh-Hans"] .sovereignty-italic, [lang="zh"] .sovereignty-italic {
  font-style: normal; font-weight: 500; color: var(--gold);
}

/* Arabic-script font stack. Loaded conditionally via per-page font
   link tags on /ar/ pages. Naskh is the editorial-grade Arabic serif. */
[lang="ar"] {
  font-family: 'Noto Sans Arabic', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4,
[lang="ar"] .display, [lang="ar"] .headline {
  font-family: 'Noto Naskh Arabic', 'Amiri', Georgia, serif;
}

/* CJK font stack for Simplified Chinese. */
[lang="zh-Hans"], [lang="zh"] {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}
[lang="zh-Hans"] h1, [lang="zh-Hans"] h2, [lang="zh-Hans"] h3, [lang="zh-Hans"] h4,
[lang="zh-Hans"] .display, [lang="zh-Hans"] .headline,
[lang="zh"] h1, [lang="zh"] h2, [lang="zh"] h3, [lang="zh"] h4 {
  font-family: 'Noto Serif SC', 'Songti SC', 'STSong', Georgia, serif;
}

/* ---------- BLOG INDEX (the journal) ---------- */
.journal-list {
  display: flex;
  flex-direction: column;
}
.journal-entry {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule-strong);
  align-items: start;
}
.journal-entry:last-child { border-bottom: 1px solid var(--rule-strong); }
.journal-entry .je-meta {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.journal-entry .je-meta .je-date {
  color: var(--ink);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.008em;
  text-transform: none;
}
.journal-entry .je-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.journal-entry .je-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.journal-entry h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.018em;
}
.journal-entry .je-excerpt {
  font-size: var(--step-md);
  line-height: 1.6;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 56ch;
}
.journal-entry .je-byline {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.journal-entry a.je-link {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.journal-entry a.je-link:hover { color: var(--bitcoin); }
.journal-entry a.je-link::after { content: ' →'; }
@media (max-width: 760px) {
  .journal-entry { grid-template-columns: 1fr; gap: var(--s-2); }
}

/* ---------- BLOG POST (essay layout) ---------- */
.essay {
  max-width: var(--container-editorial);
  margin: 0 auto;
}
.essay .essay-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.essay .essay-body p {
  font-size: var(--step-md);
  line-height: 1.75;
  color: var(--text);
  max-width: 64ch;
  margin-bottom: 1.25rem;
}
.essay .essay-body h2 {
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  letter-spacing: -0.012em;
  margin-top: var(--s-5);
  margin-bottom: var(--s-2);
}
.essay .essay-body h3 {
  font-size: var(--step-xl);
  font-style: italic;
  margin-top: var(--s-4);
  margin-bottom: var(--s-1);
}
.essay .essay-body .pullquote { margin: var(--s-5) 0; }

/* ---------- BTC TICKER (nav pill) ----------
   1:1 port of the 21cbi.io navbar ticker (components/layout/
   BtcTicker.jsx + .btn-primary-pill in app/globals.css). Pure
   black pill, white text, Inter 10px/700/0.25em label, tabular
   12px price that transitions to emerald-400 (up) or red-400
   (down) over 500 ms, lucide-style ArrowUpRight / ArrowDownRight
   icons, Tailwind animate-ping on the status dot, Bitcoin-orange
   hover with price flipping to pure white. Hidden until the
   first successful price fetch (matches the parent's
   `if (!price) return null`). Hidden below 768 px (md breakpoint).
---------------------------------------------------------------- */
.btc-ticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;                  /* gap-2.5 */
  padding: 0.625rem 1.25rem;      /* py-2.5 px-5 */
  background: #000000;            /* btn-primary-pill */
  color: #ffffff;
  border: 0;
  border-radius: 9999px;          /* rounded-full */
  font-family: var(--font-body);  /* Inter */
  font-size: 10px;                /* text-[10px] */
  font-weight: 700;               /* font-bold */
  letter-spacing: 0.25em;         /* tracking-[0.25em] */
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.btc-ticker[hidden] { display: none; }
.btc-ticker:focus-visible { outline: 2px solid var(--bitcoin); outline-offset: 4px; }

/* Hover: pill turns Bitcoin orange, price flips to pure white
   (overrides the emerald/red market-direction color). */
.btc-ticker:hover { background-color: #f7931a; }
.btc-ticker:hover .bt-price { color: #ffffff; }

/* Status dot (h-1.5 w-1.5 = 6 × 6 px). The ping pseudo-element
   uses Tailwind's exact `animate-ping` keyframes. */
.btc-ticker .bt-dot {
  position: relative;
  display: inline-flex;
  width: 6px; height: 6px;
  flex-shrink: 0;
}
.btc-ticker .bt-dot::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4); /* cached / stale */
}
.btc-ticker.is-live .bt-dot::after { background: #22c55e; }            /* CoinGecko green-500 */
.btc-ticker.src-fallback .bt-dot::after { background: #f59e0b; }       /* Binance amber-500 */
.btc-ticker.is-live .bt-dot::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: #22c55e;
  opacity: 0.75;
  animation: tickerPing 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes tickerPing {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btc-ticker .bt-dot::before { animation: none; opacity: 0; }
}

/* BTC label — inherits the 10 px / 700 / 0.25em styling. */
.btc-ticker .bt-label { opacity: 0.75; }

/* Price — Inter, 12 px, tabular numerals, normal tracking. Stays
   white by default; turns emerald-400 / red-400 only when the
   direction class is set. 500 ms color transition matches the
   parent's `duration-500`. */
.btc-ticker .bt-price {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  transition: color 0.5s ease;
}
.btc-ticker.dir-up   .bt-price { color: #34d399; }   /* emerald-400 */
.btc-ticker.dir-down .bt-price { color: #f87171; }   /* red-400 */

/* Arrows — lucide ArrowUpRight / ArrowDownRight at 14 px. Only
   the one that matches the active direction renders. */
.btc-ticker .bt-arrow {
  display: none;
  width: 14px; height: 14px;
  flex-shrink: 0;
  vertical-align: middle;
  transition: color 0.5s ease;
}
.btc-ticker.dir-up   .bt-arrow.up   { display: inline-block; color: #34d399; }
.btc-ticker.dir-down .bt-arrow.down { display: inline-block; color: #f87171; }
.btc-ticker:hover .bt-arrow { color: #ffffff; }

@media (max-width: 767px) { .btc-ticker { display: none; } }

/* ---------- BUTTONS ---------- */
.btn {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1.15rem 2.1rem;
  border-radius: 999px;
  min-height: 56px;
  min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.7rem;
  transition: all var(--dur-quick) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--bitcoin); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn-ghost:hover { background: var(--bitcoin); color: #fff; border-color: var(--bitcoin); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--bitcoin); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--bitcoin); outline-offset: 4px; }
.btn .arrow { display: inline-block; transition: transform var(--dur-quick) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  /* 88vh, not 100vh: at typical desktop heights this keeps the eyebrow
     and headline in the viewport without scroll, and at the fold a hint
     of the next section is visible — which invites scroll instead of
     suggesting the photo IS the page. */
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: kenBurns 28s var(--ease-in-out) infinite alternate;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(11, 31, 45, 0.08) 0%, rgba(11, 31, 45, 0.5) 60%, rgba(11, 31, 45, 0.85) 100%),
    linear-gradient(180deg, rgba(11, 31, 45, 0.45) 0%, rgba(11, 31, 45, 0.08) 28%, rgba(11, 31, 45, 0.78) 100%);
}
@keyframes kenBurns {
  from { transform: scale(1.04) translate(-0.5%, -0.5%); }
  to   { transform: scale(1.12) translate(0.5%, 0.5%); }
}
.hero-content {
  padding-block: var(--s-7) var(--s-7);
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lagoon-fog);
  flex-wrap: wrap;
}
.hero-eyebrow .seal {
  width: 8px; height: 8px;
  background: var(--bitcoin);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(247, 147, 26, 0.18);
}
.hero-eyebrow .divider { opacity: 0.35; }
.hero-h1 {
  font-size: var(--step-display);
  line-height: 0.97;
  letter-spacing: -0.032em;
  color: var(--cream);
  max-width: 17ch;
  margin-bottom: var(--s-4);
}
.hero-sub {
  font-size: var(--step-md);
  line-height: 1.55;
  color: var(--muted-light);
  max-width: 50ch;
  margin-bottom: var(--s-5);
  font-weight: 300;
}
.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  align-items: center;
}
.hero-meta {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule-light-strong);
  display: flex; flex-wrap: wrap;
  gap: var(--s-5);
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lagoon-fog);
}
.hero-meta .meta-pair { display: flex; flex-direction: column; gap: 0.4rem; }
.hero-meta .meta-pair .v {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  letter-spacing: -0.005em;
  color: var(--cream);
  text-transform: none;
}

.hero-scroll {
  position: absolute;
  bottom: var(--s-4);
  right: var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lagoon-fog);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}
.hero-scroll .line {
  display: inline-block;
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, var(--lagoon-fog) 30%, var(--lagoon-fog));
  animation: scrollPulse 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.8); transform-origin: bottom; }
  50% { opacity: 1; transform: scaleY(1); }
}
@media (max-width: 760px) {
  .hero { min-height: 92vh; }
  .hero-scroll { display: none; }
  .hero-meta { gap: var(--s-3); }
}

/* ---------- LEAD / EDITORIAL OPENER ---------- */
.lead-block {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: var(--s-6);
  align-items: start;
}
.lead-block .label {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.6rem;
  border-top: 1px solid var(--rule);
}
.lead-block .copy {
  font-family: var(--font-display);
  font-size: var(--step-xl);
  line-height: 1.32;
  color: var(--text);
  letter-spacing: -0.008em;
}
.lead-block .copy p + p { margin-top: 1.5rem; }
@media (max-width: 880px) {
  .lead-block { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* ---------- PILLAR — editorial chapters, no boxes ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5) var(--s-7);
}
.pillar {
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-strong);
  display: flex; flex-direction: column;
  gap: var(--s-2);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.24em;
  color: var(--muted);
  display: flex; align-items: baseline; gap: 0.7rem;
  text-transform: uppercase;
}
.pillar-num .num-big {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-transform: none;
}
.pillar-num .slash { color: var(--gold); }
.pillar h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.125rem);
  line-height: 1.12;
  margin-top: 0.4rem;
}
.pillar p {
  font-size: var(--step-sm);
  line-height: 1.72;
  color: var(--text-soft);
  max-width: 42ch;
  font-weight: 300;
}
@media (max-width: 880px) {
  .pillar-grid { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* ---------- PHOTO BREAK ---------- */
.photo-break {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
}
.photo-break-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: -2;
}
/* Parallax headroom: when JS enables motion, the photo-break background
   is oversized so it can drift on scroll without revealing an edge.
   site.js sets the transform; reduced-motion never gets the class. */
html.motion .photo-break-bg { top: -12%; bottom: auto; height: 124%; will-change: transform; }
.photo-break-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 45, 0.32) 0%, rgba(11, 31, 45, 0.12) 30%, rgba(11, 31, 45, 0.86) 100%),
    radial-gradient(ellipse 90vw 45vh at 20% 95%, rgba(11, 31, 45, 0.55) 0%, transparent 70%);
}
.photo-break-content {
  padding-block: var(--s-7);
  position: relative;
}
.photo-break .caption-line {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lagoon-fog);
  display: inline-flex; align-items: center; gap: 0.8rem;
}
.photo-break .caption-line::before {
  content: '—'; opacity: 0.6;
}
.photo-break h2 {
  font-size: var(--step-3xl);
  color: var(--cream);
  max-width: 16ch;
  line-height: 1.0;
  margin-top: var(--s-3);
}
.photo-break p {
  margin-top: var(--s-3);
  max-width: 52ch;
  color: var(--muted-light);
  font-size: var(--step-md);
  line-height: 1.6;
  font-weight: 300;
}

/* ---------- MATH / LEDGER — editorial accounting ---------- */
.ledger {
  background: transparent;
}
.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  padding: 1.65rem 0;
  gap: var(--s-4);
  border-top: 1px solid var(--rule);
}
.ledger-row:first-child { border-top: 1px solid var(--rule-strong); }
.ledger-row:last-child { border-bottom: 1px solid var(--rule); }
.ledger-row .item-name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ledger-row .item-desc {
  font-family: var(--font-body);
  font-size: var(--step-xs);
  color: var(--muted);
  font-style: normal;
  display: block;
  margin-top: 0.35rem;
  letter-spacing: 0;
  font-weight: 300;
  line-height: 1.55;
}
.ledger-row .item-val {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  text-align: right;
  letter-spacing: -0.005em;
  font-feature-settings: 'tnum', 'lnum';
}
.ledger-row .item-dots {
  border-bottom: 1px dotted var(--rule-strong);
  align-self: end;
  height: 1.4rem;
  min-width: 4rem;
}
.ledger-total {
  background: var(--ink);
  color: var(--cream);
  padding-inline: var(--s-3);
  margin-top: 0;
  border: 0;
}
.ledger-total .item-name,
.ledger-total .item-val { color: var(--cream); }
.ledger-total .item-name {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ledger-total .item-val {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-style: italic;
}
.ledger-total .item-dots { border-bottom-color: var(--rule-light); }
@media (max-width: 760px) {
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.2rem 0;
  }
  .ledger-row .item-dots { display: none; }
  .ledger-row .item-val { text-align: left; }
}

/* ---------- TWO-TRACK COMPARE — editorial spread ---------- */
.tracks {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-6);
}
.track {
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-strong);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  position: relative;
}
.track.featured { border-top-color: var(--ink); }
.track-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}
.track.featured .track-badge {
  color: var(--gold);
  background: none;
}
.track.featured .track-badge::before {
  content: '◆';
  margin-right: 0.5rem;
  font-size: 0.6em;
  vertical-align: middle;
  color: var(--gold);
}
.track h3 {
  font-size: clamp(1.85rem, 2.5vw, 2.4rem);
  line-height: 1.08;
}
.track .price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.95;
  color: var(--ink);
  font-style: italic;
  margin-top: 0.3rem;
  letter-spacing: -0.018em;
  font-feature-settings: 'tnum', 'lnum';
}
.track .price-note {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.65rem;
  display: block;
  line-height: 1.5;
  font-style: normal;
}
.track ul { display: flex; flex-direction: column; gap: 0.85rem; margin: var(--s-2) 0; }
.track li {
  padding-left: 1.6rem;
  position: relative;
  font-size: var(--step-sm);
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 300;
}
.track li::before {
  content: '';
  position: absolute; left: 0; top: 0.7rem;
  width: 0.85rem; height: 1px;
  background: var(--gold);
}
.track .track-cta { margin-top: auto; padding-top: var(--s-3); }
@media (max-width: 760px) {
  .tracks { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* ---------- TIMELINE — editorial chapters ---------- */
.timeline {
  display: flex; flex-direction: column;
  position: relative;
}
.timeline-step {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
.timeline-step:first-child { border-top: 1px solid var(--rule-strong); }
.timeline-step:last-child { border-bottom: 1px solid var(--rule); }
.timeline-step .marker {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.timeline-step .marker .num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}
.timeline-step h4 {
  font-size: var(--step-xl);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.timeline-step p {
  font-size: var(--step-sm);
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 60ch;
  font-weight: 300;
}
@media (max-width: 760px) {
  .timeline-step { grid-template-columns: 1fr; gap: var(--s-2); }
}

/* ---------- PAYMENT RAILS — editorial cards ---------- */
.rails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-block: var(--s-3);
}
.rail {
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-strong);
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: border-color var(--dur-quick), padding-top var(--dur-quick);
}
.rail:hover { border-top-color: var(--bitcoin); }
.rail .glyph {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--bitcoin);
}
.rail .name {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.rail h4 {
  font-size: var(--step-lg);
  font-style: italic;
}
.rail p {
  font-size: var(--step-sm);
  color: var(--text-soft);
  line-height: 1.6;
  font-weight: 300;
}
@media (max-width: 760px) {
  .rails { grid-template-columns: 1fr; }
}

/* ---------- FOUNDER BLOCK — magazine portrait ---------- */
.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: var(--s-6);
  align-items: center;
}
.founder-portrait {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink) 35% center / cover;
  overflow: hidden;
}
.founder-portrait::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 31, 45, 0.5));
}
.founder-portrait .mark {
  position: absolute; bottom: var(--s-3); left: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  z-index: 1;
}
.founder-body h2 {
  font-size: var(--step-2xl);
  font-style: italic;
  max-width: 20ch;
}
.founder-body p {
  margin-top: var(--s-3);
  font-size: var(--step-md);
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 56ch;
  font-weight: 300;
}
.founder-body .sig {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.founder-body .sig .name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-style: italic;
}
.founder-body .sig .title {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 880px) {
  .founder { grid-template-columns: 1fr; }
}

/* ---------- CLOSER CTA ---------- */
.closer {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.closer::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(247, 147, 26, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(74, 120, 136, 0.16) 0%, transparent 60%);
  z-index: -1;
}
.closer .inner {
  text-align: center;
  padding-block: var(--s-9);
}
.closer h2 {
  font-size: var(--step-display);
  line-height: 0.98;
  color: var(--cream);
  margin-bottom: var(--s-4);
  max-width: 14ch;
  margin-inline: auto;
}
.closer p {
  font-size: var(--step-md);
  color: var(--muted-light);
  max-width: 52ch;
  margin: 0 auto var(--s-5);
  font-weight: 300;
}
.closer .btn-light { background: var(--cream); color: var(--ink); }
.closer .btn-light:hover { background: var(--bitcoin); color: #fff; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink-strong);
  color: var(--cream);
  padding-block: var(--s-7) var(--s-4);
  font-size: var(--step-xs);
  border-top: 1px solid rgba(244, 238, 226, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-5);
  align-items: start;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(244, 238, 226, 0.08);
}
.footer h5 {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lagoon-fog);
  margin-bottom: var(--s-2);
}
.footer ul li { margin-bottom: 0.7rem; }
.footer a:hover { color: var(--bitcoin); }
.footer .brand-block {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.1;
  font-style: italic;
  color: var(--cream);
  margin-bottom: var(--s-3);
  letter-spacing: -0.015em;
}
.footer .rails-line {
  font-family: var(--font-body);
  font-size: var(--step-sm);
  color: var(--muted-light);
  max-width: 40ch;
  margin-bottom: var(--s-3);
  line-height: 1.6;
  font-style: normal;
  font-weight: 300;
}
.footer .ecosystem {
  display: flex; flex-direction: column;
  gap: 0.55rem;
}
.footer-fine {
  padding-top: var(--s-3);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- SUB-HEADER (interior pages) ---------- */
.sub-hero {
  padding-top: 8rem;
  padding-bottom: var(--s-7);
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.sub-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 60vw 40vw at 100% 0%, rgba(74, 120, 136, 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 50vw 40vw at 0% 100%, rgba(11, 31, 45, 0.55) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.sub-hero .inner { position: relative; z-index: 1; padding-top: var(--s-3); padding-bottom: var(--s-2); }
.sub-hero .crumb {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lagoon-fog);
  margin-bottom: var(--s-4);
  display: inline-flex; align-items: center; gap: 0.85rem;
}
.sub-hero .crumb a:hover { color: var(--bitcoin); }
.sub-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 0.98;
  color: var(--cream);
  letter-spacing: -0.028em;
  max-width: 18ch;
  margin-bottom: var(--s-4);
}
.sub-hero p {
  font-size: var(--step-md);
  max-width: 60ch;
  color: var(--muted-light);
  line-height: 1.6;
  margin-bottom: var(--s-5);
  font-weight: 300;
}

/* ---------- SUB-HERO META LEDGER ----------
   Bottom-of-sub-hero horizontal ledger strip, matching the program /
   pricing pages' pattern. Use on inner pages where the dark sub-hero
   would otherwise read as empty after the H1 + lede. Reads like a
   private-banker letterhead: small mono label, italic display value,
   tight grid. */
.sub-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  padding-top: var(--s-3);
  margin-top: var(--s-4);
  border-top: 1px solid var(--rule-light-strong);
}
.sub-hero-meta .shm-pair {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.sub-hero-meta .shm-label {
  font-family: var(--font-mono);
  font-size: var(--step-xxxs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.sub-hero-meta .shm-val {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: -0.008em;
  color: var(--cream);
}

/* ---------- PULL QUOTE ---------- */
.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2xl);
  line-height: 1.2;
  color: var(--ink);
  border-left: 1px solid var(--gold);
  padding-left: var(--s-3);
  max-width: 32ch;
  margin: var(--s-5) 0;
  letter-spacing: -0.012em;
}
.pullquote.center { margin-inline: auto; }

/* ---------- TRIO IMPERATIVE — editorial moment ---------- */
.trio-section {
  position: relative;
}
.trio {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  align-items: baseline;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--ink);
  justify-content: center;
  text-align: center;
  letter-spacing: -0.018em;
  line-height: 1.05;
}
.trio .beat { white-space: nowrap; }
.trio .sep {
  color: var(--gold);
  font-style: normal;
  margin-inline: 0.25rem;
  opacity: 0.7;
}

/* ---------- CONTACT GRID (begin page) — editorial channels ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5) var(--s-6);
}
.contact-card {
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-strong);
  display: flex; flex-direction: column; gap: var(--s-2);
  transition: border-top-color var(--dur-quick);
}
.contact-card:hover { border-top-color: var(--bitcoin); }
.contact-card .channel {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card h3 {
  font-size: var(--step-xl);
  font-style: italic;
}
.contact-card p {
  font-size: var(--step-sm);
  color: var(--text-soft);
  line-height: 1.65;
  font-weight: 300;
  max-width: 42ch;
}
.contact-card .value {
  font-family: var(--font-mono);
  font-size: var(--step-sm);
  color: var(--ink);
  padding-top: var(--s-2);
  margin-top: auto;
  word-break: break-all;
  letter-spacing: 0.04em;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* ---------- BIO TIMELINE ---------- */
.creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3) var(--s-5);
}
.cred {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-2);
}
.cred .when {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.cred .what {
  font-family: var(--font-display);
  font-size: var(--step-md);
  line-height: 1.3;
  color: var(--ink);
  font-style: italic;
  letter-spacing: -0.008em;
}
@media (max-width: 760px) { .creds { grid-template-columns: 1fr; } }

/* ---------- BIOMETRIC CALLOUT — editorial framed ---------- */
.callout {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: var(--s-5) 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-5);
  align-items: start;
}
.callout .tag {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.5rem;
  border-top: 1px solid var(--gold);
  display: inline-block;
  align-self: start;
  width: fit-content;
}
.callout h4 {
  font-size: var(--step-xl);
  font-style: italic;
  margin-bottom: 0.7rem;
}
.callout p {
  font-size: var(--step-sm);
  line-height: 1.7;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 58ch;
}
.callout .centers {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.4rem;
  margin-top: var(--s-3);
}
.callout .center {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
}
@media (max-width: 760px) {
  .callout { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* ---------- TAX SPREAD — magazine 0/0/0 ---------- */
.tax-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5) var(--s-6);
}
.tax-cell {
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-strong);
}
.tax-cell .tax-label {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--s-3);
}
.tax-cell .tax-figure {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-monolith);
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: var(--s-3);
  font-feature-settings: 'lnum';
}
.tax-cell .tax-note {
  font-size: var(--step-sm);
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 38ch;
}
@media (max-width: 880px) { .tax-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- CONTEXT TILES — editorial cards (no boxes) ---------- */
.context-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5) var(--s-6);
}
.context-cell {
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-strong);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.context-cell .label {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.context-cell h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-xl);
  color: var(--ink);
  letter-spacing: -0.012em;
}
.context-cell p {
  font-size: var(--step-sm);
  line-height: 1.7;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 38ch;
}
@media (max-width: 880px) { .context-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- PASSPORT ANCHOR — editorial 2-up ---------- */
.passport-anchor {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-6);
  align-items: center;
}
.passport-photo {
  aspect-ratio: 4/5;
  background: var(--ink) center / cover;
  box-shadow: 0 30px 60px -20px rgba(11, 31, 45, 0.35);
}
.passport-copy h2 {
  font-size: var(--step-2xl);
  letter-spacing: -0.018em;
  max-width: 18ch;
}
.passport-copy .body-lg { max-width: 56ch; }
.passport-copy .fine { max-width: 56ch; }
@media (max-width: 880px) {
  .passport-anchor { grid-template-columns: 1fr; }
}

/* ---------- FAQ — editorial chapters ---------- */
.faq {
  display: flex;
  flex-direction: column;
}
.faq-cat-rail {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-bottom: var(--s-5);
}
.faq-cat-rail button {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  transition: all var(--dur-quick);
  min-height: 36px;
}
.faq-cat-rail button:hover { color: var(--ink); border-color: var(--ink); }
.faq-cat-rail button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.faq details {
  border-top: 1px solid var(--rule-strong);
  padding: var(--s-3) 0;
  position: relative;
}
.faq details[hidden] { display: none; }
.faq details:last-of-type { border-bottom: 1px solid var(--rule-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 2.5rem;
  align-items: baseline;
  gap: var(--s-3);
  padding-right: 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.875rem);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.012em;
  transition: color var(--dur-quick);
}
.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-style: normal;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  transition: transform var(--dur-mid) var(--ease-out);
  justify-self: end;
  align-self: start;
  margin-top: 0.1em;
}
.faq details[open] summary::after { content: '−'; }
.faq .answer {
  padding-top: var(--s-3);
  font-size: var(--step-base);
  line-height: 1.72;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 70ch;
}
.faq .answer p { margin-top: 0; }
.faq .answer p + p { margin-top: var(--s-2); }
.faq .meta-cat {
  position: absolute;
  top: var(--s-3);
  left: -7rem;
  width: 6rem;
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.4rem;
}
@media (max-width: 1100px) {
  .faq .meta-cat { position: static; width: auto; padding-top: 0; margin-bottom: 0.5rem; display: block; }
}

/* ---------- SLATE CROSS-SELL (the other five programs) ---------- */
.slate-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
}
.slate-card {
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-strong);
  display: flex; flex-direction: column;
  gap: 0.65rem;
  min-height: 240px;
  transition: border-top-color var(--dur-quick);
}
.slate-card:hover { border-top-color: var(--gold); }
.slate-card .slate-region {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.slate-card .slate-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.7vw, 1.875rem);
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.1;
}
.slate-card .slate-price {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-top: 0.1rem;
  font-feature-settings: 'tnum';
}
.slate-card .slate-note {
  font-size: var(--step-sm);
  line-height: 1.6;
  color: var(--text-soft);
  font-weight: 300;
  margin-top: 0.2rem;
}
.slate-card .slate-link {
  margin-top: auto;
  padding-top: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.slate-card .slate-link:hover { color: var(--bitcoin); }
.slate-card .slate-link::after { content: '↗'; opacity: 0.7; }
@media (max-width: 1100px) {
  .slate-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .slate-grid { grid-template-columns: 1fr; }
}

/* ---------- VISA-FREE REGIONAL BREAKDOWN ---------- */
.visa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
.visa-row {
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  align-items: baseline;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-3) var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
}
.visa-row:nth-child(even) { padding-inline-start: var(--s-4); border-inline-start: 1px solid var(--rule); }
.visa-row .vr-count {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.012em;
}
.visa-row .vr-region {
  display: flex; flex-direction: column;
  gap: 0.25rem;
}
.visa-row .vr-region .vr-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-md);
  color: var(--ink);
  letter-spacing: -0.008em;
}
.visa-row .vr-region .vr-list {
  font-family: var(--font-body);
  font-size: var(--step-xs);
  color: var(--text-soft);
  line-height: 1.55;
  font-weight: 300;
}
.visa-row .vr-tag {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  align-self: start;
  padding-top: 0.4rem;
}
@media (max-width: 880px) {
  .visa-grid { grid-template-columns: 1fr; }
  .visa-row, .visa-row:nth-child(even) {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
}

/* ---------- ECOSYSTEM SPREAD ---------- */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5) var(--s-6);
}
.eco-card {
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-strong);
  display: flex; flex-direction: column; gap: var(--s-2);
  transition: border-top-color var(--dur-quick);
}
.eco-card:hover { border-top-color: var(--gold); }
.eco-card .role {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eco-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-xl);
  letter-spacing: -0.012em;
}
.eco-card p {
  font-size: var(--step-sm);
  color: var(--text-soft);
  line-height: 1.65;
  font-weight: 300;
}
.eco-card .domain {
  margin-top: auto;
  padding-top: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
@media (max-width: 880px) { .ecosystem-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- BTC CALCULATOR — editorial sovereign ledger ---------- */
.calculator {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--s-6);
  align-items: start;
}
.calculator .calc-intro {
  position: sticky;
  top: 7rem;
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.calculator .calc-intro h2 {
  font-size: var(--step-2xl);
  line-height: 1.05;
  letter-spacing: -0.018em;
}
.calculator .calc-intro p {
  font-size: var(--step-md);
  line-height: 1.6;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 38ch;
}
.calculator .live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  align-self: flex-start;
  margin-top: var(--s-2);
}
.calculator .live-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--muted);
}
.calculator .live-chip.is-live .dot {
  background: #5BAE6F;
  box-shadow: 0 0 0 3px rgba(91, 174, 111, 0.18);
  animation: livePulse 2.4s var(--ease-in-out) infinite;
}
.calculator .live-chip .price-val {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: none;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* Currency picker — sits in the intro column under the live chip */
.calc-currency {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.4rem;
}
.calc-currency .cur-label {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.55rem 0.6rem 0.55rem 0;
}
.calc-currency button {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  transition: all var(--dur-quick);
  min-height: 32px;
  font-weight: 500;
}
.calc-currency button:hover { color: var(--ink); border-color: var(--ink); }
.calc-currency button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.calculator .calc-body {
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-strong);
  display: flex; flex-direction: column;
  gap: var(--s-4);
}
.calculator .calc-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 4px;
  background: var(--paper);
}
.calculator .calc-toggle button {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: all var(--dur-quick);
  min-height: 44px;
}
.calculator .calc-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
}
.calculator .calc-family {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}
.calculator .calc-family button {
  padding: 1.1rem 0.5rem;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 0;
  border-left: 0; border-right: 0;
  text-align: left;
  display: flex; flex-direction: column; gap: 0.3rem;
  transition: border-top-color var(--dur-quick), color var(--dur-quick);
  min-height: 88px;
}
.calculator .calc-family button:hover { border-top-color: var(--ink); }
.calculator .calc-family button[aria-pressed="true"] {
  border-top-color: var(--gold);
}
.calculator .calc-family .ft-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.008em;
}
.calculator .calc-family .ft-desc {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.calculator .calc-family button[aria-pressed="true"] .ft-label { color: var(--ink); }
.calculator .calc-family button[aria-pressed="true"] .ft-desc { color: var(--gold); }

.calculator .calc-stepper {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  gap: var(--s-2);
}
.calculator .calc-stepper[hidden] { display: none; }
.calculator .calc-stepper .lbl {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
}
.calculator .calc-stepper .sublbl {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--step-xxs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}
.calculator .calc-stepper .controls {
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.calculator .calc-stepper .controls button {
  width: 44px; height: 44px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--ink);
  transition: all var(--dur-quick);
}
.calculator .calc-stepper .controls button:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.calculator .calc-stepper .controls button:disabled { opacity: 0.3; cursor: not-allowed; }
.calculator .calc-stepper .controls .v {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.75rem;
  min-width: 2.5rem;
  text-align: center;
  color: var(--ink);
}

.calc-lines {
  display: flex; flex-direction: column;
}
.calc-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.calc-line:first-child { border-top: 0; padding-top: var(--s-3); }
.calc-line .cl-label {
  font-family: var(--font-body);
  font-size: var(--step-sm);
  color: var(--text-soft);
  font-weight: 300;
}
.calc-line .cl-usd {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  font-feature-settings: 'tnum';
}
.calc-line .cl-sats {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: right;
  min-width: 9ch;
  font-feature-settings: 'tnum';
}
.calc-line.is-highlight .cl-label { color: var(--gold); }
.calc-line.is-highlight .cl-usd { color: var(--gold); }
.calc-line.is-highlight .cl-sats { color: var(--gold); opacity: 0.7; }

.calc-total {
  margin-top: var(--s-3);
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-2);
}
.calc-total .row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s-2);
}
.calc-total .row[hidden] { display: none; }
.calc-total .row + .row { padding-top: 0.8rem; border-top: 1px solid var(--rule-light); }
.calc-total .label {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.calc-total .val {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cream);
  letter-spacing: -0.01em;
  font-feature-settings: 'tnum', 'lnum';
}
.calc-total .val.usd { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1; }
.calc-total .val.btc { font-size: 1.75rem; color: var(--bitcoin); }
.calc-total .val.sats { font-family: var(--font-mono); font-style: normal; font-size: 1rem; color: var(--cream); letter-spacing: 0; }

.calc-disclosure {
  font-size: var(--step-xs);
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  max-width: 60ch;
  margin-top: var(--s-2);
}

/* Calculator closing CTA: turns the computed total into a next step
   instead of dead space. Sits between the totals and the disclosure. */
.calc-cta {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-light-strong);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
}
.calc-cta-line {
  font-family: var(--font-display);
  font-size: var(--step-md);
  line-height: 1.4;
  color: var(--cream);
  letter-spacing: -0.008em;
  max-width: 42ch;
}
.calc-cta-line strong { color: var(--bitcoin); font-weight: 400; font-style: italic; }
.calc-cta-btn { align-self: flex-start; }
.calc-cta-alt {
  font-family: var(--font-mono);
  font-size: var(--step-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lagoon-fog);
}
.calc-cta-alt:hover { color: var(--bitcoin); }
@media (max-width: 880px) {
  .calculator { grid-template-columns: 1fr; gap: var(--s-4); }
  .calculator .calc-intro { position: static; }
  .calculator .calc-family { grid-template-columns: 1fr; }
  .calc-line { grid-template-columns: 1fr auto; }
  .calc-line .cl-sats { grid-column: 1 / -1; text-align: left; }
}

/* ---------- STRATEGY SESSION FAB ---------- */
/* Bottom-right floating Bitcoin button. Opens a modal containing a
   Calendly inline widget → Stripe Embedded Checkout. 1:1 port of the
   parent StrategySessionFab.jsx (h-14 w-14, bg #F6931C, hover scale
   1.1, BTC_symbol image scaled 110% to fill the circle). */
/* The FAB used to have a solid #F6931C background and the Bitcoin
   image sitting on top of it. Because the image's own circle is
   the same orange, the visual collapsed: you could not tell whether
   the orange was the CSS background or the image itself, and it
   read as a flat rendered icon rather than an asset. Now the
   background is transparent; the image carries the orange and the
   B itself. A subtle deep-ink shadow + a hairline gold ring give
   the FAB a private-banker frame (a small luxe touch over the
   stock crypto icon), and the button's circular border-radius
   clips any of the image's black canvas. */
.fab-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: transparent;
  padding: 0;
  border: 1px solid rgba(184, 153, 104, 0.45);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(11, 31, 45, 0.42),
              0 2px 6px -1px rgba(11, 31, 45, 0.18);
  transition: transform var(--dur-quick) var(--ease-out),
              box-shadow var(--dur-quick) var(--ease-out);
}
.fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 36px -10px rgba(11, 31, 45, 0.5),
              0 3px 8px -1px rgba(11, 31, 45, 0.22);
}
.fab-btn:focus-visible { outline: 2px solid var(--bitcoin); outline-offset: 3px; }
.fab-btn picture {
  display: block;
  width: 100%;
  height: 100%;
}
.fab-btn img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

/* Modal overlay + dialog. Locked-scroll body via JS. */
.fab-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fab-overlay[hidden] { display: none; }
.fab-dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--paper);
  color: var(--text);
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
}
.fab-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--muted);
  font-size: 1.75rem;
  line-height: 1;
  border: 0;
  cursor: pointer;
  transition: background var(--dur-quick), color var(--dur-quick);
}
.fab-close:hover { background: rgba(11, 31, 45, 0.06); color: var(--ink); }
.fab-close:focus-visible { outline: 2px solid var(--bitcoin); outline-offset: 2px; }

.fab-stage { padding: 2.5rem 1.5rem 1.5rem; }
@media (min-width: 640px) { .fab-stage { padding: 2.5rem 2rem 2rem; } }

.fab-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--bitcoin);
}
.fab-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.fab-lede {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-soft);
}

.fab-cal-mount {
  position: relative;
  margin-top: 1rem;
  min-width: 280px;
  height: 700px;
}
.fab-cal-mount > div { width: 100%; height: 100%; }
.fab-spinner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  pointer-events: none;
}
.fab-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(11, 31, 45, 0.15);
  border-top-color: var(--bitcoin);
  border-radius: 9999px;
  animation: fabSpin 0.8s linear infinite;
}
.fab-spinner-overlay p {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes fabSpin { to { transform: rotate(360deg); } }

.fab-checkout-mount { margin-top: 1.5rem; min-height: 400px; }

.fab-confirm h2 { font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 2.5rem); line-height: 1.1; }
.fab-confirm p { margin-top: 1rem; font-size: 1rem; line-height: 1.7; color: var(--text-soft); font-weight: 300; }
.fab-confirm .fine { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); font-weight: 300; line-height: 1.65; }

.fab-action {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: background var(--dur-quick);
}
.fab-action:hover { background: var(--bitcoin); color: #fff; }
.fab-action.secondary { background: transparent; color: var(--ink); border: 1px solid rgba(11, 31, 45, 0.2); }
.fab-action.secondary:hover { background: rgba(11, 31, 45, 0.05); color: var(--ink); }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 480ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 600ms; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- VIEW TRANSITIONS ----------
   Cross-document navigation dissolves between pages instead of a hard
   white reload (Chromium 126+, Safari 18.2+). Degrades to a normal
   navigation everywhere else. Disabled under reduced-motion. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 320ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* ---------- PRINT STYLESHEET ----------
   For HNW clients who print quotes. Strip interactive chrome,
   force light backgrounds, expose link URLs in parentheses,
   keep editorial typography. */
@media print {
  body { background: #fff !important; color: #000 !important; }
  body::before { display: none; }
  .nav, .fab-btn, .fab-overlay, .hero-scroll, .btc-ticker, .lang-picker, .skip-link { display: none !important; }
  .hero, .photo-break, .sub-hero, .closer { min-height: 0 !important; padding: 1.5rem 0 !important; color: #000 !important; background: #fff !important; }
  .hero-photo, .photo-break-bg, .closer::before { display: none !important; }
  .hero h1, .photo-break h2, .sub-hero h1, .closer h2 { color: #000 !important; max-width: none; font-size: 24pt; }
  .hero-sub, .photo-break p, .sub-hero p, .closer p { color: #333 !important; max-width: none; }
  .hero-meta, .ledger-line, .ledger { color: #000 !important; border-color: #999 !important; }
  .ledger-total, .calc-total { background: #f4f4f4 !important; color: #000 !important; border: 1px solid #999 !important; }
  .ledger-total .item-name, .ledger-total .item-val, .calc-total .label, .calc-total .val { color: #000 !important; }
  .footer { background: #fff !important; color: #000 !important; border-top: 1px solid #999 !important; padding-block: 1rem !important; }
  .footer * { color: #000 !important; }
  section { page-break-inside: avoid; }
  h1, h2, h3, h4 { page-break-after: avoid; }
  a[href^="http"]::after,
  a[href^="/"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; font-style: normal; }
  a[href^="#"]::after, a[href^="mailto:"]::after { content: ""; }
  .btn { border: 1px solid #000 !important; background: #fff !important; color: #000 !important; padding: 0.25rem 0.5rem !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- UTILS ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--s-1); }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }
.divider { height: 1px; background: var(--rule); margin-block: var(--s-5); }
.rule-thin { height: 1px; background: var(--rule); margin-block: var(--s-3); }
.rule-strong { height: 1px; background: var(--rule-strong); margin-block: var(--s-3); }
