/* ==========================================================================
   Joshua Tree Capital Management — Site Stylesheet
   Aesthetic: Editorial Institutional. Warm off-white, Carolina blue strokes,
   Fraunces display + IBM Plex Sans UI. No fills-as-accent, no rounded blobs,
   no startup-y polish. Magazine-adjacent.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,300;1,8..60,400;1,8..60,500&family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap");

/* ──────────────────────────────────────────────────────────────────────────
   Tokens
   ────────────────────────────────────────────────────────────────────────── */
:root {
  /* Surface */
  --bg:          #FAFAF7;   /* warm off-white — not sterile */
  --bg-alt:      #F2F0EA;   /* darker band for section contrast */
  --bg-ink:      #0E1318;   /* near-black band for footer/feature blocks */

  /* Ink */
  --ink:         #0A0A0A;
  --ink-2:       #2A2A2A;
  --ink-mute:    #7A7670;
  --ink-on-dark: rgba(255, 255, 255, 0.92);
  --ink-on-dark-mute: rgba(255, 255, 255, 0.55);

  /* Rules */
  --rule:        #DDD9D1;
  --rule-strong: #2A2A2A;
  --rule-dark:   rgba(255, 255, 255, 0.12);

  /* Accent — Carolina blue, exact UNC */
  --accent:       #4B9CD3;
  --accent-deep:  #2E6F9E;
  --accent-pale:  #E6F0F7;

  /* Type */
  --serif:  "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans:   "IBM Plex Sans", -apple-system, Segoe UI, sans-serif;
  --mono:   "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Rhythm */
  --page-max:    1180px;
  --prose-max:   680px;
  --side-gutter: clamp(20px, 4vw, 48px);

  /* Motion */
  --ease-out:  cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in:   cubic-bezier(0.8, 0, 0.8, 0.2);

  /* Elevation */
  --shadow-card: 0 1px 0 0 var(--rule);
  --shadow-hover: 0 24px 60px -28px rgba(10, 10, 10, 0.18), 0 2px 0 0 var(--accent);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* iOS Safari doesn't reliably honour `overflow-x: hidden` on body alone
     when descendants use translate transforms (carousel side-cards). Clip
     at the document root so nothing ever drags the viewport horizontally.
     `overflow-x: clip` preferred (no scroll container); fall back to hidden. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Subtle grain — analog texture, 3% opacity SVG noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.6;
}

img, svg { display: block; max-width: 100%; }

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

/* ──────────────────────────────────────────────────────────────────────────
   Typography
   ────────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 48;
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 8vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 60;
}

.display em {
  font-style: italic;
  color: var(--accent-deep);
  font-variation-settings: "opsz" 60;
}

h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 500; }

p  { max-width: var(--prose-max); color: var(--ink-2); }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

/* Animated link underline — left-in on hover */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  font-weight: 500;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform-origin: right center;
  transform: scaleX(1);
  transition: transform 0.35s var(--ease-out);
}
.link:hover { color: var(--accent-deep); }
.link:hover::after {
  background: var(--accent);
  transform-origin: left center;
  animation: linkSlide 0.6s var(--ease-out);
}
@keyframes linkSlide {
  0%   { transform: scaleX(1); transform-origin: right; }
  50%  { transform: scaleX(0); transform-origin: right; }
  51%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.link .chev {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}
.link:hover .chev { transform: translateX(3px); }

/* Overline — small editorial category/section marker */
.overline {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.overline::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent);
}

/* Section counter, editorial "Nº 01 / Strategy" */
.counter {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.counter b { color: var(--accent-deep); font-weight: 500; }

/* Body prose — article-style */
.prose {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink-2);
  font-weight: 300;
  font-variation-settings: "opsz" 14;
}
.prose p { max-width: var(--prose-max); margin: 0 0 1.2em; }
.prose p + p { text-indent: 1.5em; }
.prose p.lede { text-indent: 0; font-size: 22px; color: var(--ink); font-weight: 400; }
.prose h2 { margin: 2em 0 0.6em; font-size: 32px; }
.prose h3 { margin: 1.6em 0 0.4em; font-size: 22px; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose blockquote {
  font-size: 28px;
  line-height: 1.35;
  font-style: italic;
  padding-left: 32px;
  border-left: 2px solid var(--accent);
  margin: 1.5em 0;
  color: var(--ink);
}

/* ──────────────────────────────────────────────────────────────────────────
   Layout scaffolding
   ────────────────────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left:  var(--side-gutter);
  padding-right: var(--side-gutter);
}

.section {
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: clamp(64px, 7vw, 104px);
  position: relative;
  z-index: 2;
}

.section--tight { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }

.section--dark {
  background: var(--bg-ink);
  color: var(--ink-on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--ink-on-dark); }
.section--dark .overline { color: var(--ink-on-dark-mute); }
.section--dark .counter { color: var(--ink-on-dark-mute); }

.section--band {
  background: var(--accent-deep);
  color: var(--ink-on-dark);
}
.section--band h1,
.section--band h2,
.section--band h3,
.section--band .card-title {
  color: #fff;
}
.section--band p,
.section--band .sec-lede,
.section--band .card-summary {
  color: var(--ink-on-dark);
}
.section--band .sec-eyebrow,
.section--band .card-meta {
  color: var(--ink-on-dark-mute);
  border-top-color: rgba(255,255,255,0.35);
}
.section--band .sec-eyebrow { border-top-color: rgba(255,255,255,0.55); }
.section--band .card {
  border-top: 0;
  background: rgba(8, 32, 58, 0.55);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 28px 28px 32px;
  color: var(--ink-on-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.35s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.section--band .card:hover {
  background: rgba(8, 32, 58, 0.75);
  border-color: rgba(255,255,255,0.28);
}
.section--band .card:hover .card-title { color: var(--accent-pale); }
.section--band .card-meta {
  border-top: 0;
  padding-top: 0;
  color: rgba(255,255,255,0.7);
}
.section--band .card-meta .cat { color: var(--accent-pale); }
.section--band .card--coming::after {
  top: 24px; right: 24px;
  background: #fff;
  color: var(--ink);
  border: 0;
}
.section--band .link { color: #fff; }
.section--band .link::after { background: #fff; }
.section--band .pullquote-mark { color: rgba(255,255,255,0.25); }
.section--band .pullquote-attr { color: var(--ink-on-dark-mute); }

/* Rail fade mask sits above the defined cards on band — keep subtle */
.section--band .rail-wrap::before,
.section--band .rail-wrap::after { display: none; }
.section--band .rail-btn {
  background: rgba(8, 32, 58, 0.55);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.section--band .rail-btn:hover {
  background: rgba(8, 32, 58, 0.9);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.section--band .rail-btn:disabled {
  background: rgba(8, 32, 58, 0.35);
  opacity: 0.5;
}

.rule {
  height: 1px;
  background: var(--rule);
  margin: 0;
}
.rule--strong { height: 2px; background: var(--ink); }
.rule--dark   { background: var(--rule-dark); }

/* Asymmetric rule: thin-thick pairing for section starts */
.rule-pair {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rule-pair::before { content: ""; height: 1px; background: var(--rule); flex: 1; }
.rule-pair::after  { content: ""; height: 3px; background: var(--ink); width: 48px; }

/* ──────────────────────────────────────────────────────────────────────────
   Navigation
   ────────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
  padding: 20px 0;
}
.nav.is-scrolled {
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
  padding: 14px 0;
}

/* Interior pages (everything except home) open with a solid nav so it doesn't
   bleed into a Carolina blue band or any other full-bleed first section. */
body:not(.page-home) .nav {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  margin: 0;
  padding-left:  clamp(24px, 3vw, 48px);
  padding-right: clamp(24px, 3vw, 48px);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-weight: 400;
}
.nav-logo-mark {
  width: 30px; height: 30px; flex: 0 0 30px;
}
.nav-logo-text {
  display: flex; flex-direction: column; line-height: 1;
}
.nav-logo-name {
  font-size: 17px; font-weight: 400; letter-spacing: 0.005em; color: var(--ink);
}
.nav-logo-sub {
  font-family: var(--sans);
  font-size: 10px; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-mute); margin-top: 4px;
}

.nav-links {
  list-style: none; display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-2); position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
}

.nav-cta {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.nav-cta:hover {
  background: var(--ink); color: var(--bg) !important; border-color: var(--ink);
}

/* Home hero: force nav to white-on-dark until scrolled */
.page-home .nav:not(.is-scrolled) .nav-logo,
.page-home .nav:not(.is-scrolled) .nav-logo-name,
.page-home .nav:not(.is-scrolled) .nav-logo-mark,
.page-home .nav:not(.is-scrolled) .nav-links a,
.page-home .nav:not(.is-scrolled) .nav-cta {
  color: rgba(255,255,255,0.95) !important;
}
.page-home .nav:not(.is-scrolled) .nav-logo-sub {
  color: rgba(255,255,255,0.7);
}
.page-home .nav:not(.is-scrolled) .nav-cta {
  border-color: rgba(255,255,255,0.85);
}
.page-home .nav:not(.is-scrolled) .nav-cta:hover {
  background: #fff; color: var(--ink) !important; border-color: #fff;
}
.page-home .nav:not(.is-scrolled) .nav-burger span { background: #fff; }

.nav-burger {
  display: none;
  width: 32px; height: 18px; position: relative; cursor: pointer;
  background: transparent; border: 0;
}
.nav-burger span {
  display: block; height: 1px; width: 100%; background: var(--ink);
  position: absolute; left: 0;
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out), opacity 0.2s;
}
.nav-burger span:nth-child(1) { top: 2px; }
.nav-burger span:nth-child(2) { top: 8px; }
.nav-burger span:nth-child(3) { top: 14px; }
.nav-burger.is-open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; top: 66px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column; align-items: flex-start;
    padding: 40px var(--side-gutter);
    gap: 22px;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 14px 32px rgba(10,10,10,0.08);
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  }
  .nav-links.is-open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .nav-links a { font-size: 18px; }

  /* Home hero forces white text on the transparent nav. When the mobile
     menu opens the panel is cream (var(--bg)), so white-on-cream disappears.
     Force ink color back on the open panel — and match the burger strokes. */
  .page-home .nav:not(.is-scrolled) .nav-links.is-open a,
  .page-home .nav:not(.is-scrolled) .nav-links.is-open .nav-cta {
    color: var(--ink) !important;
  }
  .page-home .nav:not(.is-scrolled) .nav-links.is-open .nav-cta {
    border-color: var(--ink);
  }
  .page-home .nav:not(.is-scrolled) .nav-burger.is-open span {
    background: var(--ink);
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   Hero
   ────────────────────────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(140px, 16vh, 180px);
  padding-bottom: clamp(80px, 10vw, 140px);
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 72px;
  }
}
.hero-headline {
  max-width: 920px;
}
.hero-headline .overline      { opacity: 0; animation: reveal 0.6s var(--ease-out) 0.1s forwards; }
.hero-headline .display       { opacity: 0; animation: reveal 0.8s var(--ease-out) 0.2s forwards; }
.hero-headline .hero-sub      { opacity: 0; animation: reveal 0.6s var(--ease-out) 0.4s forwards; }
.hero-headline .hero-cta-row  { opacity: 0; animation: reveal 0.6s var(--ease-out) 0.55s forwards; }

.hero-sub {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  font-weight: 300;
  color: var(--ink-2);
  max-width: 620px;
  font-variation-settings: "opsz" 24;
}
.hero-cta-row {
  margin-top: 40px;
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}
.hero-meta {
  border-left: 1px solid var(--rule);
  padding: 10px 0 10px 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  animation: reveal 0.6s var(--ease-out) 0.7s forwards;
}
.hero-meta b { color: var(--ink); font-weight: 500; font-family: var(--mono); }
.hero-meta div { margin-bottom: 8px; }
.hero-meta div:last-child { margin-bottom: 0; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────────────────────────────────
   Stats strip
   ────────────────────────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat {
  padding: 44px 28px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat-val {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 60;
  color: var(--ink);
}
.stat-label {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ──────────────────────────────────────────────────────────────────────────
   Card (Perspectives previews + generic editorial card)
   ────────────────────────────────────────────────────────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  padding: 28px 0 0;
  border-top: 1px solid var(--ink);
  color: var(--ink);
  transition: transform 0.35s var(--ease-out);
  height: 100%;
  min-height: 280px;
}
.card:hover { transform: translateY(-4px); }
.card:hover .card-title { color: var(--accent-deep); }

.card-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.card-meta .cat { color: var(--accent-deep); font-weight: 500; }

.card-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.25s var(--ease-out);
  margin-bottom: 14px;
  font-variation-settings: "opsz" 48;
}

.card-summary {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  font-variation-settings: "opsz" 14;
}

.card--coming {
  position: relative;
}
.card--coming::after {
  content: "Coming soon";
  position: absolute;
  top: 28px; right: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--accent-pale);
  color: var(--accent-deep);
}

/* Horizontal scrolling card rail (featured perspectives) */
.rail-wrap {
  position: relative;
  margin-top: 56px;
}
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 380px);
  gap: 32px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: transparent; }
.rail::-webkit-scrollbar-thumb { background: var(--rule); }
.rail > * { scroll-snap-align: start; }

/* Fade edges on rail */
.rail-wrap::before,
.rail-wrap::after {
  content: "";
  position: absolute; top: 0; bottom: 28px;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.rail-wrap::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.rail-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.rail-ctrls {
  display: flex; gap: 8px; margin-top: 24px; justify-content: flex-end;
}
.rail-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-size: 16px;
}
.rail-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rail-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ──────────────────────────────────────────────────────────────────────────
   Approach grid (site signals — 3-up with icon + number)
   ────────────────────────────────────────────────────────────────────────── */
.approach {
  display: grid; gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 56px;
}
.approach-item {
  display: flex; flex-direction: column; gap: 14px;
}
.approach-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}
.approach-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-mute);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-top: 2px;
}
.approach-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 48;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .approach-title { white-space: normal; }
}
.approach-body {
  font-family: var(--serif);
  font-size: 17px; line-height: 1.6;
  color: var(--ink-2); font-weight: 300;
  font-variation-settings: "opsz" 14;
}

/* ──────────────────────────────────────────────────────────────────────────
   Section header (counter + rule + title)
   ────────────────────────────────────────────────────────────────────────── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 800px) {
  .sec-head { grid-template-columns: 180px 1fr; align-items: start; gap: 48px; }
}
.sec-head .counter { padding-top: 12px; border-top: 2px solid var(--ink); display: inline-block; }
.sec-head h2       { margin-top: 0; }
.sec-head-cta      { margin-top: 8px; }

/* ──────────────────────────────────────────────────────────────────────────
   Pull quote
   ────────────────────────────────────────────────────────────────────────── */
.pullquote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 0;
}
.pullquote-mark {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.7;
  color: var(--accent);
  font-weight: 300;
  font-variation-settings: "opsz" 60;
}
.pullquote-body {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60;
  font-style: italic;
}
.pullquote-attr {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  font-style: normal;
}

/* ──────────────────────────────────────────────────────────────────────────
   Post (article) layout
   ────────────────────────────────────────────────────────────────────────── */
.post-hero {
  padding-top: clamp(140px, 16vh, 180px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.post-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 900px;
  font-variation-settings: "opsz" 60;
}
/* ──────────────────────────────────────────────────────────────────────────
   Forms (contact)
   ────────────────────────────────────────────────────────────────────────── */
.form {
  display: grid; gap: 28px; max-width: 560px;
}
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  font-family: var(--sans);
  font-size: 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  color: var(--ink);
  transition: border-color 0.2s;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field textarea { min-height: 140px; font-family: var(--serif); font-size: 17px; line-height: 1.6; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost {
  background: transparent; color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

/* ──────────────────────────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-ink);
  color: var(--ink-on-dark);
  padding: 80px 0 40px;
  font-family: var(--sans);
  position: relative;
  z-index: 2;
}
.footer-inner {
  width: 100%;
  padding-left:  clamp(24px, 3vw, 48px);
  padding-right: clamp(24px, 3vw, 48px);
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-dark);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 800px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
  }
  .footer-cols {
    grid-template-columns: repeat(3, minmax(140px, auto));
    gap: clamp(48px, 6vw, 96px);
    justify-content: end;
  }
}
.footer-brand .nav-logo-name { color: #fff; font-size: 22px; }
.footer-brand .nav-logo-sub  { color: rgba(255,255,255,0.45); }
.footer-tag {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-on-dark-mute);
  max-width: 340px;
  font-weight: 300;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-on-dark-mute);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-on-dark);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-disc {
  margin: 40px auto 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 900px;
  text-align: center;
}

.footer-bottom {
  margin-top: 40px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ──────────────────────────────────────────────────────────────────────────
   Reveal animation (scroll-triggered via IntersectionObserver)
   ────────────────────────────────────────────────────────────────────────── */
/* JS is present → elements start hidden and reveal on intersection.
   Without JS (or before the class hydrates) content stays visible. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* ──────────────────────────────────────────────────────────────────────────
   Investor Portal — GoTrue auth gates + dashboard shell
   Keeps all element IDs the existing investors.html JS depends on.
   ────────────────────────────────────────────────────────────────────────── */
.portal-gate {
  max-width: 440px;
  margin: 72px auto 0;
  padding: 56px 48px;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 0 rgba(10,10,10,0.04), 0 40px 80px -40px rgba(10,10,10,0.12);
}

.portal-lock {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  color: var(--accent-deep);
  border-radius: 2px;
}
.portal-lock svg { width: 22px; height: 22px; }
.portal-lock svg * { stroke: var(--accent-deep) !important; }

.portal-gate h2 {
  font-family: var(--serif) !important;
  font-weight: 300 !important;
  font-size: 28px !important;
  color: var(--ink) !important;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.005em;
}

.portal-gate p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.7;
}

.portal-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portal-form label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}

.portal-form input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s var(--ease-out), background 0.15s var(--ease-out);
}
.portal-form input:focus {
  border-color: var(--accent);
  background: #fff;
}

.portal-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}
.portal-form .btn:hover:not(:disabled) {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}
.portal-form .btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.portal-error {
  display: none;
  padding: 12px 14px;
  border-left: 2px solid #C0392B;
  background: #FCF3F1;
  color: #8C2C20;
  font-size: 13px;
  line-height: 1.5;
}

.portal-success {
  display: none;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: var(--accent-pale);
  color: var(--accent-deep);
  font-size: 13px;
  line-height: 1.5;
}

/* Authenticated dashboard */
.portal-content {
  display: none;
  max-width: var(--page-max);
  margin: 48px auto 0;
  padding: 0 var(--side-gutter) 96px;
}
.portal-content.visible { display: block; }

.portal-welcome {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 28px;
  margin-bottom: 44px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.portal-welcome h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 48px);
  color: var(--ink);
  font-variation-settings: "opsz" 60;
  letter-spacing: -0.015em;
}

.portal-badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--accent);
  color: var(--accent-deep);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doc-section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 40px 0 20px;
}

.doc-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  margin-bottom: 12px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.doc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.doc-card.placeholder { border-left-color: var(--rule); opacity: 0.72; }

.doc-icon {
  width: 56px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-pale);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.doc-icon.placeholder { background: var(--bg-alt); color: var(--ink-mute); }

.doc-info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 4px;
}
.doc-info p {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.55;
  margin-bottom: 6px;
}
.doc-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.doc-date.placeholder-date { color: var(--ink-mute); font-style: italic; }

.doc-actions a {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.doc-actions a:hover { background: var(--ink); color: #fff; }
.doc-pending {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.portal-unrecognized {
  padding: 28px 32px;
  border: 1px solid #D4B64A;
  background: #FDF8E6;
  color: #6B5320;
  margin: 24px 0;
}
.portal-unrecognized h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: #5C4210;
  margin-bottom: 6px;
}
.portal-unrecognized p { font-size: 14px; line-height: 1.6; }
.portal-unrecognized a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.portal-disc {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.7;
}
.portal-disc b { color: var(--ink-2); font-weight: 600; }

.logout-btn {
  margin-top: 32px;
  padding: 10px 16px;
  background: transparent;
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}
.logout-btn:hover { color: var(--ink); border-color: var(--ink); }

@media (max-width: 560px) {
  .portal-gate { padding: 40px 28px; margin-top: 40px; }
  .doc-card { grid-template-columns: 48px 1fr; }
  .doc-card .doc-actions { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Imagery
   ────────────────────────────────────────────────────────────────────────── */
.hero-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
  align-self: center;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--rule);
  pointer-events: none;
}
.hero-figure:hover img { transform: scale(1.05); }

@media (max-width: 900px) {
  .hero-figure { aspect-ratio: 16 / 10; margin-top: 32px; }
}

.band-photo {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  max-height: 540px;
  background: var(--bg-ink);
  position: relative;
}
.band-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) contrast(1.04) brightness(0.96);
}
.band-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.04) 0%, rgba(10,10,10,0.12) 100%);
  pointer-events: none;
}

.sidenote-figure {
  margin: 40px 0 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-alt);
}
.sidenote-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}

.contact-band {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 24 / 7;
  max-height: 320px;
  margin-top: 8px;
  position: relative;
  background: var(--bg-alt);
}
.contact-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) contrast(1.03);
}

@media (max-width: 700px) {
  .band-photo { aspect-ratio: 16 / 11; }
  .contact-band { aspect-ratio: 16 / 9; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Full-bleed hero  (Abraham-style landscape with overlaid text)
   ────────────────────────────────────────────────────────────────────────── */
.hero-full {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  color: #fff;
  margin-top: calc(-1 * var(--nav-h, 72px)); /* pull under transparent nav if set */
}
.hero-full--centered {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* cancel global body grain inside hero so image stays clean */
.hero-full::before { content: none; }

.hero-full-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transform-origin: center 42%;
  animation: heroZoomOut 9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  z-index: 0;
  will-change: transform;
}

@keyframes heroZoomOut {
  0%   { transform: scale(1.45); }
  100% { transform: scale(1.00); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-full-img { animation: none; transform: scale(1); }
}

.hero-full-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center,
      rgba(8, 12, 18, 0.35) 0%,
      rgba(8, 12, 18, 0.55) 55%,
      rgba(8, 12, 18, 0.75) 100%);
}
.hero-full-scrim--soft {
  background:
    linear-gradient(180deg,
      rgba(8, 12, 18, 0.35) 0%,
      rgba(8, 12, 18, 0.0) 25%,
      rgba(8, 12, 18, 0.0) 75%,
      rgba(8, 12, 18, 0.35) 100%);
}
.hero-full--image-only { align-items: flex-end; justify-content: center; }

.hero-full-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
}
.hero-full--centered .hero-full-inner {
  padding: 0 var(--side-gutter);
}

.hero-full-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: #fff;
  max-width: 18ch;
  margin: 0 auto;
  font-variation-settings: "opsz" 60;
  opacity: 0;
  animation: reveal 1.2s var(--ease-out) 0.3s forwards;
}
.hero-full-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-pale);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  opacity: 0;
  animation: reveal 0.8s var(--ease-out) 1s forwards;
}
.hero-scroll-indicator:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.hero-scroll-arrow {
  font-size: 18px;
  animation: scrollPulse 2.2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50%      { transform: translateY(4px); opacity: 1; }
}

.anchor-offset {
  display: block;
  height: 0;
  scroll-margin-top: 80px;
}

/* light-on-dark link variant used in hero + CTA band */
.link--light { color: rgba(255,255,255,0.95); }
.link--light::after { background: rgba(255,255,255,0.95); }
.link--light:hover { color: #fff; }

@media (max-width: 720px) {
  .hero-full { min-height: 560px; align-items: flex-end; }
  .hero-full-title { max-width: 16ch; }
  .hero-full-caption { bottom: 12px; font-size: 10px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Editorial lede + section head  (AQR / Bridgewater feel)
   ────────────────────────────────────────────────────────────────────────── */
.lede {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
}
.lede-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 12px;
  border-top: 1px solid var(--rule-strong);
}
.lede-body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.5;
  color: var(--ink);
  font-variation-settings: "opsz" 24;
}
.lede-cta { margin-top: 28px; grid-column: 2 / -1; }

@media (max-width: 760px) {
  .lede { grid-template-columns: 1fr; gap: 20px; }
  .lede-cta { grid-column: 1 / -1; }
}

.sec-head--editorial {
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}
.sec-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 12px;
  border-top: 1px solid var(--rule-strong);
}
.sec-eyebrow--light {
  color: var(--ink-on-dark-mute);
  border-top-color: rgba(255,255,255,0.35);
}
.sec-body h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.sec-body h2.sec-h2--wide {
  max-width: none;
  font-size: clamp(26px, 3vw, 42px);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .sec-body h2.sec-h2--wide { white-space: normal; }
}
.sec-lede {
  margin-top: 20px;
  max-width: 62ch;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  font-variation-settings: "opsz" 18;
}
.sec-lede--light { color: var(--ink-on-dark); }

.sec-tail {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  max-width: 960px;
}

/* ──────────────────────────────────────────────────────────────────────────
   Intro block — centered "What we do" (Bridgewater-style)
   ────────────────────────────────────────────────────────────────────────── */
.intro-block { background: var(--bg); }

.intro-centered {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.intro-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-variation-settings: "opsz" 36;
  margin-bottom: 36px;
}

.intro-body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.6;
  color: var(--ink);
  font-variation-settings: "opsz" 18;
  max-width: 72ch;
  margin: 0 auto;
}

.intro-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  transition: color 0.25s var(--ease-out);
}
.intro-more:hover { color: var(--accent-deep); }
.intro-more-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  font-size: 16px;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  transition: transform 0.25s var(--ease-out);
}
.intro-more:hover .intro-more-plus { transform: rotate(90deg); }

/* Push interior-page headings away from the sticky nav */
.page-heading { padding-top: clamp(120px, 10vw, 160px); }
.page-heading-band { padding-top: clamp(140px, 12vw, 200px); }

/* Split cards — two big side-by-side cards (Strategy page) */
.split-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split-cards { grid-template-columns: 1fr 1fr; }
  .split-cards.split-cards--single { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
}
.split-card {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  padding: 40px 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.split-card-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  align-self: flex-start;
}
.split-card-body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(16px, 1.15vw, 18.5px);
  line-height: 1.7;
  color: var(--ink-2);
  font-variation-settings: "opsz" 18;
}
.split-card-body p { margin: 0 0 1.1em; max-width: none; }
.split-card-body p:last-child { margin-bottom: 0; }
.split-card-body a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.split-card-body a:hover { color: var(--ink); }

.split-card-facts {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.split-card-facts > div { display: flex; flex-direction: column; gap: 3px; }
.split-card-facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.split-card-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
}

/* "How we think" — single-column, full-page-width prose (AQR-style) */
.think-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.think-eyebrow {
  display: inline-block;
  align-self: flex-start;
}
.think-body {
  max-width: none;
  width: 100%;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.75;
  color: var(--ink-2);
  font-variation-settings: "opsz" 18;
}
.think-body p { margin: 0 0 1.3em; max-width: none; }
.think-body p:last-child { margin-bottom: 0; }

/* ──────────────────────────────────────────────────────────────────────────
   Timeline — Systematica-style zigzag milestones on a horizontal rail
   ────────────────────────────────────────────────────────────────────────── */
.timeline-wrap { margin-top: 56px; }

.timeline-track {
  /* Override .rail grid-auto-columns for this context */
  grid-auto-columns: minmax(280px, 320px);
  gap: 48px;
  padding: 20px 0 28px;
  position: relative;
  align-items: stretch;
}

/* Horizontal connector line */
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255,255,255,0.28);
  z-index: 0;
  pointer-events: none;
}

.timeline-item {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  row-gap: 18px;
  scroll-snap-align: start;
  position: relative;
  min-height: 440px;
}

/* The dot sits in the middle row, centered horizontally */
.timeline-node {
  grid-row: 2;
  justify-self: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-pale);
  border: 3px solid var(--accent-deep);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 5px rgba(8, 32, 58, 0.6);
}

/* Card styling — matches the defined card treatment on the band */
.timeline-card {
  background: rgba(8, 32, 58, 0.6);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 22px 22px 24px;
  color: var(--ink-on-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.timeline-item:hover .timeline-card {
  border-color: rgba(255,255,255,0.36);
  background: rgba(8, 32, 58, 0.82);
  transform: translateY(-2px);
}

/* Stem connecting card edge to the central dot */
.timeline-card::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,0.28);
}

/* Odd items: card ABOVE the line */
.timeline-item:nth-child(odd) .timeline-card {
  grid-row: 1;
  align-self: end;
}
.timeline-item:nth-child(odd) .timeline-card::after {
  top: 100%;
  height: 18px;
}

/* Even items: card BELOW the line */
.timeline-item:nth-child(even) .timeline-card {
  grid-row: 3;
  align-self: start;
}
.timeline-item:nth-child(even) .timeline-card::after {
  bottom: 100%;
  height: 18px;
}

.timeline-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-pale);
  font-weight: 500;
}

.timeline-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: #fff;
  font-variation-settings: "opsz" 28;
  margin: 0;
}

.timeline-body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-on-dark);
  font-variation-settings: "opsz" 14;
  margin: 0;
}

/* Mobile: collapse zigzag to a single column stack */
@media (max-width: 720px) {
  .timeline-track {
    grid-auto-columns: minmax(260px, 85vw);
    gap: 24px;
  }
  .timeline-track::before { display: none; }
  .timeline-item {
    grid-template-rows: auto;
    min-height: auto;
    row-gap: 0;
  }
  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    grid-row: 1;
    align-self: stretch;
  }
  .timeline-item:nth-child(odd) .timeline-card::after,
  .timeline-item:nth-child(even) .timeline-card::after { display: none; }
  .timeline-node { display: none; }
}

/* Story grid — 3 cards, fills full width, used for About "Origin" section */
.story-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 56px;
}
.story-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.story-card-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.story-card-meta span:first-child { color: var(--accent-pale); }
.story-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: #fff;
  font-variation-settings: "opsz" 36;
}
.story-card-body {
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink-on-dark);
  font-variation-settings: "opsz" 14;
}

/* If story-grid lands on a light section, flip colors */
.section:not(.section--band) .story-card {
  background: var(--bg-alt);
  border-color: var(--rule);
}
.section:not(.section--band) .story-card-meta { color: var(--ink-mute); }
.section:not(.section--band) .story-card-meta span:first-child { color: var(--accent-deep); }
.section:not(.section--band) .story-card-title { color: var(--ink); }
.section:not(.section--band) .story-card-body { color: var(--ink-2); }

/* Bio card — 2-column leadership block that fills the page.
   48px margin-top assumes a .sec-head sits above it. On the About page
   the bio section has no header, so we zero it out below to avoid
   triple-stacking space with the preceding How-we-think block. */
.bio-card {
  margin-top: 48px;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .bio-card { grid-template-columns: 340px 1fr; }
}
.page-about .bio-card { margin-top: 0; }
.bio-card-left {
  padding: 36px 36px 40px;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .bio-card-left {
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
}
.bio-card-right {
  padding: 36px 36px 40px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.7;
  color: var(--ink-2);
  font-variation-settings: "opsz" 18;
}
.bio-card-right p { margin: 0 0 1.1em; max-width: 62ch; }
.bio-card-right p:last-child { margin-bottom: 0; }

.bio-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  display: inline-block;
}

.bio-facts {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bio-facts > div { display: flex; flex-direction: column; gap: 4px; }
.bio-facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.bio-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
}

@media (max-width: 760px) {
  .sec-head--editorial { grid-template-columns: 1fr; gap: 18px; }
}

/* ─────────────────────────────────────────────────────────────────
   Contact page — editorial two-column layout
   ───────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  padding: 24px 0 80px;
}
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
}

.contact-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 10px;
}
.contact-h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
  font-variation-settings: "opsz" 36;
}
.contact-rule {
  width: 48px;
  height: 1px;
  background: var(--ink);
  margin-bottom: 28px;
}

.contact-email { margin-bottom: 28px; }
.contact-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-email-line {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  font-variation-settings: "opsz" 18;
}
.contact-email-line a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-email-line a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent-deep);
}

.contact-note {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  padding: 22px 24px;
}
.contact-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--ink-2);
  font-variation-settings: "opsz" 14;
}

/* Form status banner */
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.form-status.is-success {
  display: block;
  background: #f0faf4;
  border-color: #1a8754;
  color: #1a8754;
}
.form-status.is-error {
  display: block;
  background: #fef2f2;
  border-color: #c0392b;
  color: #c0392b;
}

/* ─────────────────────────────────────────────────────────────────
   Disclaimer gate — full-screen modal shown once per visitor
   ───────────────────────────────────────────────────────────────── */
html.disclaimer-locked,
body.disclaimer-locked {
  overflow: hidden;
  height: 100%;
}

/* While disclaimer is up: freeze the hero zoom at its opening frame
   and keep reveal-animated elements hidden. The animation will start
   fresh once the visitor acknowledges. */
html.disclaimer-locked .hero-full-img {
  animation-play-state: paused;
  transform: scale(1.45);
}
html.disclaimer-locked [data-reveal].is-revealed {
  opacity: 0 !important;
  transform: translateY(16px) !important;
}

.disclaimer-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 48px);
}
.disclaimer-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 48, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.disclaimer-gate-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(28px, 3vw, 44px);
  box-shadow:
    0 32px 80px -20px rgba(0, 0, 0, 0.55),
    0 12px 32px -12px rgba(0, 0, 0, 0.3);
  animation: disclaimerIn 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes disclaimerIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.disclaimer-gate-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 12px;
}
.disclaimer-gate-heading {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
  font-variation-settings: "opsz" 36;
  line-height: 1.15;
}
.disclaimer-gate-body {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  font-variation-settings: "opsz" 14;
}
.disclaimer-gate-body p {
  margin: 0 0 1em;
}
.disclaimer-gate-body p:last-child {
  margin-bottom: 0;
}

.disclaimer-gate-actions {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.disclaimer-gate-btn {
  appearance: none;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  padding: 13px 26px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.disclaimer-gate-btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}
.disclaimer-gate-btn:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
.disclaimer-gate-decline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.disclaimer-gate-decline:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 540px) {
  .disclaimer-gate-actions { flex-direction: column; align-items: stretch; }
  .disclaimer-gate-btn { width: 100%; }
  .disclaimer-gate-decline { text-align: center; }
}
