/* ============================================================
   ROCKET CAPITAL
   Warm dark · land-survey motif · burnt orange
   Clash Display (headlines) + General Sans (text/data)
   ============================================================ */

:root {
  /* Ink (warm, umber-leaning near-black) */
  --ink-900: #0B0A08;
  --ink-850: #100E0B;
  --ink-800: #161310;
  --ink-700: #1E1A15;
  --ink-600: #2A251E;

  /* Text */
  --text: #F3EFE6;
  --dim: #B9B3A6;
  --mute: #948D7F;

  /* Accent */
  --gold: #E96A2D;
  --gold-soft: #F08A55;
  --gold-deep: #B04E1D;
  --gold-ink: #170D03;

  /* Lines */
  --line: rgba(243, 239, 230, 0.10);
  --line-strong: rgba(243, 239, 230, 0.18);

  /* Type */
  --display: 'Clash Display', system-ui, sans-serif;
  --serif: 'General Sans', system-ui, sans-serif; /* legacy name; now the text face */
  --sans: 'General Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* z-scale */
  --z-nav: 50;
  --z-menu: 60;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--ink-900);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.num, .ledger td.r, .ledger th.r, .model__big {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--gold-ink); padding: 0.6rem 1rem;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ============================================================
   BUTTONS & LINKS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.35rem; border-radius: 6px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn--lg { padding: 0.95rem 1.8rem; font-size: 1.02rem; }
.btn--full { width: 100%; }

.btn:active { transform: translateY(0) scale(0.97); }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-1px); }

.btn--ink { background: var(--ink-900); color: var(--text); }
.btn--ink:hover { background: var(--ink-700); transform: translateY(-1px); }

.navlink { font-size: 0.95rem; font-weight: 500; color: var(--dim); transition: color 0.25s; }
.navlink:hover { color: var(--text); }

.linkline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; font-size: 1.02rem; color: var(--gold-soft);
  border-bottom: 1px solid var(--gold-deep); padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.linkline:hover { color: var(--gold); border-color: var(--gold); }
.linkline svg { transition: transform 0.3s var(--ease); }
.linkline:hover svg { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 10, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.brand { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 500; font-size: 1.3rem; }
.brand__name { color: var(--text); }

.nav__links { display: flex; gap: 1.9rem; }
.nav__links a { position: relative; font-size: 0.95rem; color: var(--dim); font-weight: 500; transition: color 0.25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__links a:hover { color: var(--gold-soft); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1.2rem; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); transition: transform 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 0.35rem;
  position: absolute; top: 100%; left: 0; right: 0; z-index: var(--z-menu);
  padding: 0.5rem var(--gutter) 1.5rem;
  background: rgba(11, 10, 8, 0.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease), visibility 0.35s;
}
.nav__mobile a { padding: 0.85rem 0; color: var(--dim); border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.nav__mobile .btn { margin-top: 0.75rem; }
.nav__mobile.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

/* ============================================================
   SHARED
   ============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter); }

.display {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
}
.display em { font-style: italic; color: var(--gold-soft); }

.kicker {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  color: var(--gold); margin-bottom: 0.9rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  max-width: var(--maxw); margin: 0 auto;
  padding: 7rem var(--gutter) 4rem;
}

.hero__map {
  position: absolute; z-index: 0;
  right: -4%; top: 50%; transform: translateY(-50%);
  width: min(52vw, 660px); aspect-ratio: 1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at center, #000 55%, transparent 78%);
          mask-image: radial-gradient(circle at center, #000 55%, transparent 78%);
}
.hero__map svg { width: 100%; height: 100%; }

/* plat-map strokes */
.pm { stroke: rgba(233, 106, 45, 0.5); stroke-width: 1.1; fill: none; }
.pm--road { stroke-width: 1.6; stroke: rgba(233, 106, 45, 0.62); }
.pm--thin { stroke-width: 0.8; stroke: rgba(233, 106, 45, 0.38); }
.pm--dash { stroke-dasharray: 0.006 0.005; stroke: rgba(233, 106, 45, 0.55); }
.pm--dash.pm--thin { stroke-dasharray: 0.004 0.008; }
.pm-fill { fill: rgba(233, 106, 45, 0.7); }
.pm-text {
  fill: rgba(245, 150, 105, 0.75); font-family: var(--sans);
  font-size: 15px; font-weight: 500;
}
.pm-text--label { font-size: 12.5px; letter-spacing: 0.14em; fill: rgba(245, 150, 105, 0.6); }

/* draw-in: default state is fully drawn; animation only under .js + .draw */
.js .hero__map.draw .pm:not(.pm--dash) {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: pmDraw 1.5s var(--ease) forwards;
}
.js .hero__map.draw .pm--dash,
.js .hero__map.draw .pm-fill,
.js .hero__map.draw .pm-text { opacity: 0; animation: pmFade 1s var(--ease) forwards; }

.js .hero__map.draw .pm:nth-child(-n+4) { animation-delay: 0.1s; }
.js .hero__map.draw .pm:nth-child(n+5):nth-child(-n+14) { animation-delay: 0.55s; }
.js .hero__map.draw .pm:nth-child(n+15):nth-child(-n+18) { animation-delay: 1s; }
.js .hero__map.draw .pm:nth-child(n+19) { animation-delay: 1.2s; }
.js .hero__map.draw .pm--dash { animation-delay: 0.3s; }
.js .hero__map.draw .pm-fill { animation-delay: 1.5s; }
.js .hero__map.draw .pm-text { animation-delay: 1.65s; }

@keyframes pmDraw { to { stroke-dashoffset: 0; } }
@keyframes pmFade { to { opacity: 1; } }

.hero__inner { position: relative; z-index: 1; max-width: 640px; }

.hero__title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__lede {
  color: var(--dim); font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65; max-width: 42ch; margin-bottom: 2.2rem;
}

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-bottom: 3.2rem; }

.hero__facts { font-size: clamp(0.72rem, 3.1vw, 0.92rem); color: var(--mute); white-space: nowrap; }

/* ============================================================
   THESIS  (light plate)
   ============================================================ */
.thesis, .firm {
  background: #FBFAF7;
  --text: #191510;
  --dim: #4C463C;
  --mute: #6E675B;
  --line: rgba(25, 21, 16, 0.14);
  --line-strong: rgba(25, 21, 16, 0.28);
}
.thesis .display em, .firm .display em { color: var(--gold-deep); }

.thesis__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.thesis .coord { color: var(--gold-deep); text-transform: uppercase; }

/* ---- two pathways (numbered rows + stat cards) ---- */
.pathways { display: grid; }
.pathway {
  display: grid;
  grid-template-columns: clamp(80px, 9vw, 130px) minmax(0, 1fr) minmax(290px, 360px);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
}
.pathway + .pathway { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }

.pathway__n {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 4rem); line-height: 0.9; letter-spacing: -0.02em;
  color: var(--text);
}
.pathway__cat {
  display: block; margin-top: 0.7rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep);
}

.pathway__body h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem); letter-spacing: -0.01em;
  color: var(--text); margin-bottom: 0.9rem;
}
.pathway__body p { color: var(--dim); font-size: 1.02rem; line-height: 1.62; max-width: 44ch; margin-bottom: 1.5rem; }
.pathlink {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); border-bottom: 1px solid var(--gold); padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.pathlink span { transition: transform 0.3s var(--ease); }
.pathlink:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.pathlink:hover span { transform: translateX(3px); }

.pathcard {
  background: #FFFFFF; border: 1px solid rgba(25, 21, 16, 0.10);
  border-radius: 12px; padding: 0.3rem 1.4rem;
  box-shadow: 0 16px 44px -30px rgba(25, 21, 16, 0.45);
}
.pathcard > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; }
.pathcard > div + div { border-top: 1px solid rgba(25, 21, 16, 0.09); }
.pathcard dt { color: var(--mute); font-size: 0.95rem; }
.pathcard dd { font-family: var(--display); font-weight: 500; font-size: 1.08rem; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 900px) {
  .pathway { grid-template-columns: 1fr; gap: 1.3rem; }
  .pathway__n { font-size: clamp(2.6rem, 15vw, 3.4rem); }
  .pathway__cat { margin-top: 0.35rem; }
  .pathcard { padding: 0.2rem 1.25rem; }
}

/* ============================================================
   MODEL
   ============================================================ */
.model { border-top: 1px solid var(--line); }
.model__grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.model__copy .display { margin-bottom: 1.4rem; }
.model__copy p { color: var(--dim); font-size: 1.08rem; max-width: 56ch; }
.model__aside {
  margin-top: 1.4rem; font-family: var(--serif); font-style: italic;
  color: var(--gold-soft) !important; font-size: 1.1rem !important;
}

.model__figure { text-align: left; justify-self: end; }
.model__big {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: clamp(4.5rem, 10vw, 8rem); line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.model__cap {
  display: block; margin-top: 1rem; color: var(--dim);
  font-size: 1rem; max-width: 24ch; line-height: 1.55;
}

/* ============================================================
   PORTFOLIO / LEDGER
   ============================================================ */
.portfolio { border-top: 1px solid var(--line); }
.portfolio__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.portfolio__sub { color: var(--mute); font-size: 0.98rem; max-width: 52ch; }

.ledger-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ledger { width: 100%; min-width: 680px; border-collapse: collapse; }

.ledger th {
  font-size: 0.8rem; font-weight: 600; color: var(--mute);
  text-align: left; padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line-strong);
}
.ledger th.r, .ledger td.r { text-align: right; }

.ledger td {
  padding: 1.05rem 0.9rem; font-size: 0.98rem; color: var(--dim);
  border-bottom: 1px solid var(--line);
}
.ledger tbody tr { transition: background 0.25s var(--ease); }
.ledger tbody tr:hover { background: rgba(233, 106, 45, 0.05); }
.ledger tbody tr:hover .mult i::after { background: var(--gold-soft); }

.ledger__name { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--text); }

.mult { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--gold-soft); font-weight: 600; }
.mult i { width: 52px; height: 3px; background: rgba(233, 106, 45, 0.18); position: relative; overflow: hidden; }
.mult i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.9s var(--ease) 0.25s;
}
tr.in .mult i::after, html:not(.js) .mult i::after { transform: scaleX(var(--w, 0)); }

.ledger tfoot td {
  padding: 1rem 0.9rem; border-bottom: none; border-top: 1px solid var(--line-strong);
  color: var(--text); font-weight: 600; font-size: 0.98rem;
}
.ledger tfoot td:first-child { color: var(--mute); font-weight: 500; }

.portfolio__note { margin-top: 2.2rem; color: var(--mute); font-size: 0.95rem; max-width: 68ch; }

/* ============================================================
   PLAYBOOK
   ============================================================ */
.playbook { border-top: 1px solid var(--line); }
.playbook .display { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(2.5rem, 6vw, 5rem); row-gap: 2.4rem;
}
.step { counter-increment: step; position: relative; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.step::before {
  content: counter(step);
  position: absolute; right: 0; top: 1rem;
  font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1;
  color: var(--gold-deep);
}
.step h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.3rem;
  color: var(--text); margin-bottom: 0.5rem; padding-right: 3rem;
}
.step p { color: var(--dim); font-size: 0.99rem; max-width: 52ch; }

/* ============================================================
   FIRM
   ============================================================ */
.firm__grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}

.firm__photo {
  position: relative; overflow: hidden; border: 1px solid rgba(25, 21, 16, 0.3);
  aspect-ratio: 4/5; max-width: 420px; border-radius: 4px;
  box-shadow: 0 18px 44px -24px rgba(25, 21, 16, 0.45);
  --text: #F3EFE6;
  --line: rgba(243, 239, 230, 0.10);
  --line-strong: rgba(243, 239, 230, 0.18);
}
.firm__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
  background: var(--ink-800);
}
/* survey-grid texture behind monogram */
.firm__ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 74%);
          mask-image: radial-gradient(circle at center, #000, transparent 74%);
}
.firm__mono { position: relative; font-family: var(--display); font-weight: 500; font-size: clamp(3.5rem, 8vw, 5rem); color: var(--gold-soft); line-height: 1; }
.firm__ph-name { position: relative; font-family: var(--serif); font-size: 1.15rem; color: var(--text); margin-top: 0.7rem; }
.firm__ph-role { position: relative; font-size: 0.85rem; color: var(--gold); }

.firm__content .display { margin-bottom: 1.4rem; }
.firm__lede { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.62; color: var(--text); margin-bottom: 1.1rem; }
.firm .kicker { color: var(--gold-deep); }
.firm__lede strong { color: var(--gold-deep); font-weight: 700; }
.firm__body { color: var(--dim); font-size: 1.05rem; max-width: 58ch; margin-bottom: 2rem; }

.firm__quote {
  font-family: var(--serif); font-style: italic; font-size: 1.18rem; line-height: 1.6;
  color: var(--text); max-width: 54ch;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.firm__quote cite {
  display: block; margin-top: 0.9rem;
  font-family: var(--sans); font-style: normal; font-size: 0.92rem;
  color: var(--gold-deep); font-weight: 600;
}
.firm__quote cite::before { content: "— "; }

/* ============================================================
   START (dark band)
   ============================================================ */
.start { background: var(--ink-900); color: var(--text); border-bottom: 1px solid var(--line); }
.start__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); }

.start__title {
  font-family: var(--display); font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 2.2rem;
  color: var(--text);
}

.start__steps {
  list-style: none; counter-reset: sstep;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem); margin-bottom: 2.6rem;
}
.start__steps li {
  counter-increment: sstep;
  font-size: 1.02rem; line-height: 1.6; color: var(--dim);
  padding-top: 0.9rem; border-top: 1.5px solid var(--line-strong);
}
.start__steps li::before {
  content: counter(sstep) ".";
  display: block; font-family: var(--display); font-weight: 600; font-size: 1.6rem;
  color: var(--gold); margin-bottom: 0.4rem;
}
.start__steps strong { color: var(--text); font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid transparent; }
.faq .display { margin-bottom: clamp(2rem, 4vw, 3rem); }

.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 1.4rem 0.15rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.08rem, 1.9vw, 1.3rem); color: var(--text);
  transition: color 0.25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-soft); }
.qa__ic { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.qa__ic::before, .qa__ic::after { content: ""; position: absolute; background: var(--gold); transition: transform 0.3s var(--ease); }
.qa__ic::before { top: 50%; left: 0; width: 100%; height: 1.4px; transform: translateY(-50%); }
.qa__ic::after { left: 50%; top: 0; width: 1.4px; height: 100%; transform: translateX(-50%); }
.qa[open] .qa__ic::after { transform: translateX(-50%) scaleY(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.42s var(--ease), opacity 0.3s var(--ease); opacity: 0.4; }
.qa__a p { overflow: hidden; min-height: 0; padding: 0 3rem 1.6rem 0.15rem; color: var(--dim); font-size: 1.02rem; line-height: 1.65; max-width: 72ch; }
.qa.expanded .qa__a { grid-template-rows: 1fr; opacity: 1; }
html:not(.js) .qa[open] .qa__a { grid-template-rows: 1fr; opacity: 1; }

/* ============================================================
   INVEST
   ============================================================ */
.invest { border-top: 1px solid var(--line); }
.invest__card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.invest__title {
  font-family: var(--display); font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem;
}
.invest__sub { color: var(--dim); font-size: 1.06rem; margin-bottom: 1.8rem; max-width: 44ch; }
.invest__list { list-style: none; display: grid; gap: 0.75rem; }
.invest__list li { position: relative; padding-left: 1.7rem; color: var(--text); font-size: 1rem; }
.invest__list li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 9px; height: 9px;
  background:
    linear-gradient(var(--gold) 0 0) center/9px 1.2px no-repeat,
    linear-gradient(var(--gold) 0 0) center/1.2px 9px no-repeat;
}

.invest__form {
  display: grid; gap: 1.1rem; align-content: start;
  background: var(--ink-800); border: 1px solid var(--line);
  border-radius: 10px; padding: clamp(1.5rem, 3vw, 2.2rem);
}
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9rem; color: var(--dim); font-weight: 500; }
.field input, .field select {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: 6px;
  background: var(--ink-900); border: 1px solid var(--line-strong); color: var(--text);
  font-family: var(--sans); font-size: 1rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233, 106, 45, 0.15); }
.field input.invalid { border-color: #E06A50; }
.field__note { font-size: 0.86rem; color: var(--mute); text-align: center; }
.field__note.ok { color: var(--gold-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--ink-850); }
.footer__top {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.5rem;
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 3rem;
}
.footer__brand p { color: var(--dim); margin: 1.1rem 0 1.4rem; max-width: 32ch; }
.brand--footer { font-size: 1.25rem; }
.footer__cta { color: var(--gold-soft); font-weight: 600; font-size: 0.95rem; transition: color 0.25s; }
.footer__cta:hover { color: var(--gold); }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__col h4 { font-size: 0.9rem; color: var(--mute); margin-bottom: 1rem; font-weight: 600; }
.footer__col a { display: block; padding: 0.35rem 0; color: var(--dim); font-size: 0.95rem; transition: color 0.25s; }
.footer__col a:hover { color: var(--gold-soft); }

.footer__disc { max-width: var(--maxw); margin: 0 auto; padding: 1.8rem var(--gutter) 2.8rem; border-top: 1px solid var(--line); }
.footer__disc p { font-size: 0.82rem; color: var(--mute); line-height: 1.6; max-width: 100ch; }
.footer__disc strong { color: var(--dim); }
.footer__copy { margin-top: 1.1rem; font-size: 0.86rem; }

/* ============================================================
   REVEAL (gated on .js so no-JS/headless renders visible)
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.24s; }
.js [data-reveal][data-delay="4"] { transition-delay: 0.32s; }
.js [data-reveal][data-delay="5"] { transition-delay: 0.40s; }
.js tr[data-reveal] { transform: none; } /* rows fade only; translate breaks table layout */

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; clip-path: none !important; }
  .js [data-reveal].mask .mline { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  .hero__title::after { transform: scaleX(1); transition: none; }
  .hero__title::before { opacity: 0.9; transition: none; }
  .qa__a { transition: none; }
  .js .hero__map.draw .pm:not(.pm--dash) { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .js .hero__map.draw .pm--dash,
  .js .hero__map.draw .pm-fill,
  .js .hero__map.draw .pm-text { opacity: 1; animation: none; }
  .mult i::after { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  /* keep the primary CTA in the bar; drop the login link into the menu */
  .nav__actions .navlink { display: none; }
  .nav__actions { gap: 0.6rem; }
  .nav__actions .btn { padding: 0.55rem 0.95rem; font-size: 0.88rem; width: auto; }
  /* visible bordered menu button instead of bare lines */
  .nav__toggle {
    display: flex; width: 42px; height: 42px;
    border: 1px solid var(--line-strong); border-radius: 6px;
    background: rgba(243, 239, 230, 0.04);
  }
  .nav__mobile { display: flex; }

  /* ---- floating nav bar on mobile ---- */
  .nav { top: 0.7rem; left: 0.75rem; right: 0.75rem; border-bottom: none; }
  .nav__inner {
    padding: 0.55rem 0.6rem 0.55rem 1rem;
    background: rgba(11, 10, 8, 0.72);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.65);
    transition: background 0.3s var(--ease);
  }
  .nav.scrolled { background: transparent; }
  .nav.scrolled .nav__inner { background: rgba(11, 10, 8, 0.9); }

  /* dropdown menu floats to match the bar */
  .nav__mobile {
    top: calc(100% + 0.5rem); left: 0; right: 0;
    padding: 0.4rem 1rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    box-shadow: 0 14px 36px -16px rgba(0, 0, 0, 0.72);
  }
  .nav__mobile a:last-of-type { border-bottom: none; }

  .thesis__cols, .model__grid, .firm__grid, .invest__card { grid-template-columns: 1fr; }
  .model__figure { justify-self: start; }
  .firm__photo { max-width: 380px; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 860px) {
  .hero { overflow: hidden; }   /* clip the oversized plat map, no sideways pan */
  .hero__map {
    right: -32%; top: 42%; width: 120vw; opacity: 0.3;
  }
  .hero__inner { max-width: 100%; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .start__steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .portfolio__head { flex-direction: column; gap: 1rem; }

  /* ---- ledger: full-width label / value rows per deal ---- */
  .ledger-wrap { overflow-x: visible; }
  .ledger, .ledger tbody, .ledger tfoot, .ledger tr, .ledger td { display: block; }
  .ledger { min-width: 0; }
  .ledger thead { display: none; }
  .ledger td { padding: 0; border: none; }

  .ledger tbody tr { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
  .ledger tbody tr:hover { background: none; }

  .ledger td.ledger__name { font-size: 1.4rem; }
  .ledger tbody td:nth-child(2) { color: var(--mute); font-size: 0.95rem; margin-bottom: 0.5rem; }

  /* each metric: label left, value right, spanning the full width */
  .ledger tbody td:nth-child(n+3),
  .ledger tfoot td:nth-child(n+2) {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.72rem 0; font-size: 1.05rem; font-weight: 500; color: var(--text);
    border-top: 1px solid var(--line);
  }
  .ledger tbody td:nth-child(n+3)::before,
  .ledger tfoot td:nth-child(n+2)::before {
    font-size: 0.98rem; font-weight: 400; letter-spacing: 0; text-transform: none;
    color: var(--mute); margin: 0;
  }
  .ledger tbody td:nth-child(3)::before { content: "Units"; }
  .ledger tbody td:nth-child(4)::before { content: "Acquired"; }
  .ledger tbody td:nth-child(5)::before { content: "Basis"; }
  .ledger tbody td:nth-child(6)::before { content: "Value"; }
  .ledger tbody td:nth-child(7)::before { content: "Multiple"; }
  .ledger tbody .mult { margin-left: auto; }
  .ledger tbody .mult i { width: 96px; }

  .ledger tfoot tr { padding: 1.4rem 0 0; }
  .ledger tfoot td:first-child {
    color: var(--mute); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    border-top: 1px solid var(--line-strong); padding-top: 1.2rem; padding-bottom: 0.3rem;
  }
  .ledger tfoot td:nth-child(2)::before { content: "Basis"; }
  .ledger tfoot td:nth-child(3)::before { content: "Value"; }
  .ledger tfoot td:nth-child(4)::before { content: "Multiple"; }
}

@media (max-width: 720px) {
  /* all buttons go full-width and centered on mobile */
  .btn { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .linkline { align-self: center; }
}

@media (max-width: 480px) {
  .brand__name { font-size: 1.12rem; }
  .nav__inner { gap: 0.75rem; padding-top: 0.8rem; padding-bottom: 0.8rem; }
}

@media (max-width: 400px) {
  .brand__name { font-size: 1.05rem; }
  .nav__inner { gap: 0.5rem; }
  .nav__actions .btn { padding: 0.5rem 0.8rem; font-size: 0.84rem; }
}

@media (max-width: 420px) {
  .footer__cols { grid-template-columns: 1fr; }
  .hero__cta { gap: 1.1rem; }
}

/* ============================================================
   CRAFT & MOTION (v3 polish)
   ============================================================ */

/* film grain over everything, very faint */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* survey coordinate annotations */
.coord {
  display: block; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; color: var(--mute); margin-bottom: 1.1rem;
}

/* accounting double-rule under ledger totals */
.tot { display: inline-block; padding-bottom: 3px; border-bottom: 4px double rgba(233, 106, 45, 0.65); }

/* audited double-rule under the 12%+ figure */
.model__big { padding-bottom: 0.45rem; border-bottom: 4px double rgba(233, 106, 45, 0.45); }

/* heading reveal: ink settles into focus (drafted, then inked) */
.js [data-reveal].mask { opacity: 1; transform: none; }
.js [data-reveal].mask .mline {
  display: block;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(10px) scale(0.992);
  transform-origin: left bottom;
  transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease);
}
.js [data-reveal].mask.in .mline {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* hero datum line: draws beneath the headline like the plat linework */
.hero__title { position: relative; padding-bottom: 1.3rem; }
.hero__title::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 7px; height: 7px; margin-bottom: -3px;
  background:
    linear-gradient(var(--gold) 0 0) center/7px 1px no-repeat,
    linear-gradient(var(--gold) 0 0) center/1px 7px no-repeat;
  opacity: 0; transition: opacity 0.4s var(--ease) 1.5s;
}
.hero__title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: min(430px, 72%); height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(233, 106, 45, 0.05));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.2s var(--ease) 0.55s;
}
.js .hero__title.in::after { transform: scaleX(1); }
.js .hero__title.in::before { opacity: 0.9; }

/* hero cascade: slower, more deliberate than the site default */
.js .hero [data-reveal][data-delay="1"] { transition-delay: 0.45s; }
.js .hero [data-reveal][data-delay="2"] { transition-delay: 0.65s; }
.js .hero [data-reveal][data-delay="3"] { transition-delay: 0.85s; }
