/* ──────────────────────────────────────────────────────────
   The Money Room — Editorial landing page
   Design: magazine-style, ivory + ink + oxblood, dark mode
   ────────────────────────────────────────────────────────── */

/* ── Tokens ── */
:root {
  --bg:        #F2EDE4;
  --bg-soft:   #ECE5D8;
  --paper:    #FAF6EC;
  --ink:       #1A1612;
  --ink-soft:  #3A332C;
  --muted:     #6E6557;
  --rule:      rgba(26, 22, 18, 0.14);
  --rule-soft: rgba(26, 22, 18, 0.07);
  --accent:    #1F4D3A;       /* deep estate green */
  --accent-2:  #2E6B52;
  --brass:     #A88456;
  --shadow:    0 1px 0 rgba(26,22,18,0.04);

  --serif:  'Boska', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Switzer', -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  --mono:   ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 144px);
}

[data-theme="dark"] {
  --bg:        #0F0D0B;
  --bg-soft:   #161310;
  --paper:    #1A1612;
  --ink:       #ECE3D2;
  --ink-soft:  #C9BFAB;
  --muted:     #8E8472;
  --rule:      rgba(236, 227, 210, 0.16);
  --rule-soft: rgba(236, 227, 210, 0.08);
  --accent:    #6FAA8A;       /* sage-mint that pops on dark */
  --accent-2:  #88BFA2;
  --brass:     #C9A875;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: 'ss01', 'cv02';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Subtle paper-grain backdrop, doesn't render in print */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(rgba(26,22,18,0.025) 1px, transparent 1px),
    radial-gradient(rgba(26,22,18,0.018) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: multiply;
}
[data-theme="dark"] body::before {
  background-image:
    radial-gradient(rgba(236,227,210,0.03) 1px, transparent 1px),
    radial-gradient(rgba(236,227,210,0.02) 1px, transparent 1px);
  mix-blend-mode: screen;
}

main, .masthead, .footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--paper); }

/* ── Headings ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
em { font-style: italic; }
strong { font-weight: 500; color: var(--ink); }

/* ──────────────────────────────────────────────────────────
   DATELINE (the small newspaper ear at the very top)
   ────────────────────────────────────────────────────────── */
.dateline {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--rule-soft);
  background: var(--bg-soft);
}
.dateline .dot { color: var(--rule); }
@media (max-width: 760px) {
  .dateline { display: none; }
}

/* ──────────────────────────────────────────────────────────
   MASTHEAD
   ────────────────────────────────────────────────────────── */
.masthead {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  z-index: 50;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  margin-right: auto; /* push nav + actions to the right */
}
.brand-mark {
  width: 26px;
  height: 26px;
  display: block;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-word {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.005em;
  font-weight: 500;
  font-style: italic;
}

.mast-nav {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
  align-items: center;
}
.mast-nav a {
  position: relative;
  padding: 4px 0;
  transition: color .25s ease;
}
.mast-nav a:hover { color: var(--accent); }
.mast-nav a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width .3s ease;
}
.mast-nav a:hover::after { width: 100%; }

.mast-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: border-color .25s ease, transform .3s ease, background .25s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--ink); transform: rotate(15deg); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .t-moon { display: none; }
[data-theme="dark"] .theme-toggle .t-sun { display: none; }
[data-theme="dark"] .theme-toggle .t-moon { display: block; }

.cta-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.cta-mini:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 919px) {
  .masthead { gap: 16px; padding: 14px var(--gutter); }
  .mast-nav { display: none; }
}

/* ──────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(32px, 6vw, 72px);
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero-rail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.hero-rail-fill {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}

.hero-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
}
.tag-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
}

.hero-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.5vw, 6.5rem);
  line-height: 0.97;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  max-width: 18ch;
}
.hero-h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
  font-weight: 300;
  font-style: italic;
}

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

.hero-side {
  margin-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px 32px;
  max-width: 880px;
}
.hero-side-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-side-row .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-side-row .v {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
}

.hero-rule {
  margin-top: clamp(40px, 6vw, 72px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule) 20%, var(--rule) 80%, transparent);
}

/* ──────────────────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────────────────── */
.btn {
  --pad-y: 14px;
  --pad-x: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FAF6EC;
}
[data-theme="dark"] .btn-primary {
  background: var(--ink);
  color: #1A1612;
  border-color: var(--ink);
}
[data-theme="dark"] .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1A1612;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: transparent;
}

.btn-large {
  --pad-y: 18px;
  --pad-x: 28px;
  font-size: 15px;
}

/* ──────────────────────────────────────────────────────────
   GENERIC SECTION
   ────────────────────────────────────────────────────────── */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--rule);
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 64px);
  max-width: 980px;
}

.section-marker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.section-marker span {
  color: var(--accent);
  font-weight: 500;
}

.section-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.section-h2 em { color: var(--accent); font-style: italic; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ──────────────────────────────────────────────────────────
   § 01  PROBLEM
   ────────────────────────────────────────────────────────── */
.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
}
@media (min-width: 880px) {
  .section-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}

.col-major p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.2em;
  font-weight: 300;
  max-width: 38ch;
}
.col-major .lede { font-size: clamp(1.35rem, 1.75vw, 1.6rem); }

.dropcap {
  float: left;
  font-family: var(--serif);
  font-size: 4.6em;
  line-height: 0.85;
  font-weight: 400;
  padding: 4px 12px 0 0;
  color: var(--accent);
  font-style: italic;
}

.col-minor {
  border-left: 1px solid var(--rule);
  padding-left: clamp(20px, 3vw, 36px);
}
@media (max-width: 879px) {
  .col-minor { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
}

.symptom-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.symptom-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.symptom-list li {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  font-weight: 300;
}
.symptom-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.pull {
  margin: clamp(40px, 6vw, 72px) 0 0;
  max-width: 36ch;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.3;
  text-align: left;
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* ──────────────────────────────────────────────────────────
   § 02  METHOD
   ────────────────────────────────────────────────────────── */
.method-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.method-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--rule);
  transition: background .3s ease;
}
.method-item:hover {
  background: linear-gradient(to right, transparent, var(--bg-soft) 30%, transparent);
}
@media (max-width: 640px) {
  .method-item { grid-template-columns: 1fr; gap: 12px; }
}

.m-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.m-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.m-body p {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 56ch;
}

/* ──────────────────────────────────────────────────────────
   § 03  DELIVERABLES
   ────────────────────────────────────────────────────────── */
.deliverable-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.d-item {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 12px;
  align-content: start;
  position: relative;
  transition: background .3s ease;
}
.d-item:hover {
  background: var(--paper);
}
.d-item-wide {
  grid-column: 1 / -1;
  background: var(--paper);
}
[data-theme="dark"] .d-item-wide { background: var(--bg-soft); }
.d-item-wide:hover { background: var(--bg-soft); }

.d-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
}
.d-item h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}
.d-item-wide h4 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-style: italic;
}
.d-item p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 44ch;
}

/* ──────────────────────────────────────────────────────────
   § 04  FIT
   ────────────────────────────────────────────────────────── */
.fit-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 800px) {
  .fit-cols {
    grid-template-columns: 1fr 1px 1fr;
    gap: clamp(40px, 5vw, 72px);
  }
}
.fit-divider {
  display: none;
  background: var(--rule);
  align-self: stretch;
}
@media (min-width: 800px) { .fit-divider { display: block; } }

.fit-title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.fit-bullet { color: var(--accent); font-size: 9px; }

.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.fit-list li {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.35;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-soft);
  font-weight: 400;
}
.fit-col-not .fit-list li {
  color: var(--muted);
  font-style: italic;
  font-weight: 300;
}

/* ──────────────────────────────────────────────────────────
   § 05  BEHIND THE ROOM (founder)
   ────────────────────────────────────────────────────────── */
.behind-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  max-width: 1080px;
}
@media (min-width: 880px) {
  .behind-grid {
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: clamp(48px, 6vw, 96px);
  }
}

.founder-figure {
  margin: 0;
  display: grid;
  gap: 14px;
  justify-items: center;
  width: 100%;
}

.founder-arch {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  color: var(--ink);
}
.founder-arch .arch-fill { fill: var(--bg-soft); }
.founder-arch .haze-from { stop-color: var(--accent); stop-opacity: 0.18; }
.founder-arch .haze-to   { stop-color: var(--accent); stop-opacity: 0; }
.founder-arch .arch-mono {
  fill: var(--accent);
  font-family: 'Boska', Georgia, serif;
  font-style: italic;
  font-size: 130px;
  font-weight: 400;
  opacity: 0.5;
  letter-spacing: -2px;
}
.founder-arch .arch-stroke,
.founder-arch .arch-inner,
.founder-arch .arch-floor {
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
}
.founder-arch .arch-stroke { stroke-width: 1.4; }
.founder-arch .arch-inner  { stroke-width: 0.6; opacity: 0.4; }
.founder-arch .arch-floor  { stroke-width: 1.4; }

.founder-caption {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.behind-body {
  display: grid;
  gap: 24px;
  max-width: 60ch;
}
.behind-body .section-marker { margin-bottom: -4px; }
.behind-body .section-h2 em { color: var(--accent); }

.behind-pull {
  margin: 8px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.32;
  color: var(--ink);
  font-weight: 300;
  max-width: 38ch;
  letter-spacing: -0.005em;
}

.behind-prose p {
  margin: 0 0 1em;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 54ch;
}
.behind-prose p:last-child { margin-bottom: 0; }
.behind-prose em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.behind-foot {
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 24px;
}
.behind-sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--accent);
  letter-spacing: -0.01em;
  font-weight: 400;
  line-height: 1;
}
.behind-creds {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.behind-creds em { font-style: italic; text-transform: none; letter-spacing: 0.04em; color: var(--ink-soft); }

.behind-press {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.press-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.press-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.005em;
}

/* ──────────────────────────────────────────────────────────
   § 06  INVESTMENT
   ────────────────────────────────────────────────────────── */
.invest-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  gap: 28px;
  max-width: 880px;
  position: relative;
  overflow: hidden;
}
.invest-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at top right, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%);
  pointer-events: none;
}

.invest-lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  max-width: 50ch;
  font-weight: 300;
  font-style: italic;
}

/* ── Pricing calculator ── */
.calc {
  margin: 8px 0 6px;
  border: 1px solid var(--rule);
  background: color-mix(in oklab, var(--bg) 60%, var(--paper) 40%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  z-index: 1;
}
@media (min-width: 720px) {
  .calc { grid-template-columns: 1fr 1px 1fr; }
}

.calc-input {
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 12px;
  align-content: center;
}
.calc-input label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-input-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
}
.calc-prefix,
.calc-suffix {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--muted);
  font-weight: 300;
  flex-shrink: 0;
}
.calc-suffix { font-size: 14px; letter-spacing: 0.04em; margin-left: 4px; }
.calc-input input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  outline: none;
  padding: 6px 0;
  font-variant-numeric: tabular-nums;
  width: 100%;
  min-width: 0;
}
.calc-input input::placeholder {
  color: var(--muted);
  font-style: italic;
  font-weight: 300;
  opacity: 0.7;
}

.calc-divider {
  background: var(--rule);
  height: 1px;
  width: 100%;
}
@media (min-width: 720px) {
  .calc-divider { width: 1px; height: auto; }
}

.calc-output {
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 8px;
  align-content: center;
  position: relative;
}
.calc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-label-soft { color: var(--accent); }

.calc-price {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.calc-price-muted { color: var(--muted); opacity: 0.5; }
.calc-cadence {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.42em;
  letter-spacing: 0;
  color: var(--ink-soft);
  font-weight: 300;
  vertical-align: 0.4em;
  margin-left: 6px;
}
.calc-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.4;
  font-family: var(--sans);
}
.calc-note-large {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.4;
  max-width: 32ch;
  color: var(--muted);
}

.calc-below-msg {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38ch;
}
.calc-below-msg em { color: var(--accent); font-style: italic; }

.invest-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 720px) {
  .invest-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.invest-stats > div { display: grid; gap: 6px; }
.invest-stats dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.invest-stats dd {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
}

.invest-note {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 58ch;
}

/* ──────────────────────────────────────────────────────────
   § 06  FAQ
   ────────────────────────────────────────────────────────── */
.faq-list {
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(20px, 2.6vw, 28px) 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.chev {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  color: var(--accent);
}
.chev::before, .chev::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transition: transform .35s ease, opacity .25s;
}
.chev::before { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.chev::after  { width: 1px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .chev::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-body {
  padding: 0 0 clamp(20px, 2.6vw, 28px);
  max-width: 64ch;
}
.faq-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ──────────────────────────────────────────────────────────
   § 07  APPLY
   ────────────────────────────────────────────────────────── */
.sec-apply {
  background: var(--ink);
  color: var(--bg);
  max-width: none;
  margin-top: 0;
  border-top: 1px solid var(--rule);
}
[data-theme="dark"] .sec-apply { background: var(--bg-soft); color: var(--ink); }

.sec-apply .section-marker { color: rgba(242,237,228,0.5); }
[data-theme="dark"] .sec-apply .section-marker { color: var(--muted); }
.sec-apply .section-marker span { color: var(--accent); }

.apply-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 0;
  display: grid;
  gap: 32px;
}

.apply-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--bg);
  margin: 0;
}
[data-theme="dark"] .apply-h2 { color: var(--ink); }
.apply-h2 em { font-style: italic; color: var(--accent); }

.apply-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.45;
  color: rgba(242,237,228,0.75);
  max-width: 48ch;
  margin: 0;
  font-weight: 300;
}
[data-theme="dark"] .apply-sub { color: var(--ink-soft); }

.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  max-width: 820px;
  margin-top: 16px;
}
@media (max-width: 720px) {
  .apply-form { grid-template-columns: 1fr; }
}
.field {
  display: grid;
  gap: 8px;
}
.field-full { grid-column: 1 / -1; }

.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.65);
}
[data-theme="dark"] .field label { color: var(--muted); }

.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(242,237,228,0.25);
  padding: 12px 0;
  color: var(--bg);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  outline: none;
  transition: border-color .25s ease;
  width: 100%;
  border-radius: 0;
}
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea {
  color: var(--ink);
  border-bottom-color: var(--rule);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23F2EDE4' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 12px 8px;
  padding-right: 24px;
  cursor: pointer;
}
[data-theme="dark"] .field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23ECE3D2' stroke-width='1.5' stroke-linecap='round'/></svg>");
}
.field select option { color: #1A1612; background: #F2EDE4; }
.field textarea { resize: vertical; min-height: 60px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--accent);
}

.apply-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  margin-top: 12px;
}
.sec-apply .btn-primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.sec-apply .btn-primary:hover {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
[data-theme="dark"] .sec-apply .btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.apply-fine {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.45);
  margin: 0;
}
[data-theme="dark"] .apply-fine { color: var(--muted); }

.apply-success {
  border: 1px solid rgba(242,237,228,0.25);
  padding: 32px;
  max-width: 540px;
  display: grid;
  gap: 12px;
}
[hidden] { display: none !important; }

.honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  left: -9999px;
}

.btn[disabled] { opacity: 0.55; cursor: progress; }
.apply-error {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.apply-success h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--bg);
  margin: 0;
  font-style: italic;
}
[data-theme="dark"] .apply-success h3 { color: var(--ink); }
.apply-success p {
  margin: 0;
  font-size: 16px;
  color: rgba(242,237,228,0.75);
  line-height: 1.55;
}
[data-theme="dark"] .apply-success p { color: var(--ink-soft); }

/* ──────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule);
  padding: 36px var(--gutter);
  background: var(--bg);
}
.foot-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.foot-brand .brand-mark { width: 22px; height: 22px; }
.foot-word {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
}
.foot-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  flex: 1;
  min-width: 200px;
  text-align: center;
}
.foot-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.foot-meta .dot { color: var(--rule); }

@media (max-width: 720px) {
  .foot-tag { text-align: left; flex-basis: 100%; }
}

/* ── Print ── */
@media print {
  .masthead, .theme-toggle, .cta-mini, .hero-actions, .apply-form, .footer { display: none; }
  body { background: white; color: black; }
  body::before { display: none; }
}
