/* Paitaq Capital — site styles. No build step; edit directly.
   Layout: photo-led, full-bleed bands; short copy on a white page, navy for night/space and the fund. */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f2f3f4;
  --ink: #0e141b;
  --ink-2: #3b4550;
  --muted: #626c76;
  --line: #dde1e5;
  --line-strong: #b9c0c7;
  --navy: #0c1d30;
  --navy-ink: #eef1f4;
  --navy-muted: #a9b6c4;
  --navy-line: #24384f;
  --accent: #9a4a1f;
  --accent-on-dark: #e3a57c;
  --on-accent: #ffffff;
  --focus: #1d4fa3;
  --scrim: rgba(6, 12, 20, .62);

  /* Map + chart series (validated: all-pairs color-blind check) */
  --map-land: #eceff1;
  --map-border: #cfd5da;
  --map-outline: #b4bcc4;
  --map-tribal: #b5582a;
  --map-grid: #2b3440;
  --map-grid-hv: #151a21;
  --map-gen: #2f6fc8;
  --map-hydro: #15a596;
  --map-gas: #7a8794;
  --bar: #9a4a1f;
  --bar-track: #e6e9ec;

  --ph-bg: #fff3c4;
  --ph-ink: #5a4300;
  --ph-line: #c9a227;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --section-y: clamp(72px, 9vw, 136px);
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b1117;
    --bg-alt: #111922;
    --ink: #e9edf1;
    --ink-2: #bcc5ce;
    --muted: #8e98a2;
    --line: #22303c;
    --line-strong: #38485a;
    --navy: #060d16;
    --navy-line: #1c2c3f;
    --accent: #df9a6c;
    --accent-on-dark: #e8ac84;
    --on-accent: #0e141b;
    --focus: #8ab4ff;
    --map-land: #18212b;
    --map-border: #2a3642;
    --map-outline: #3a4856;
    --map-tribal: #cf7038;
    --map-grid: #b8c2cd;
    --map-grid-hv: #eef2f6;
    --map-gen: #4a8ee6;
    --map-hydro: #1fa89a;
    --map-gas: #6c7884;
    --bar: #df9a6c;
    --bar-track: #1e2933;
    --ph-bg: #3b3210;
    --ph-ink: #ffe28a;
    --ph-line: #8a7420;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1117;
  --bg-alt: #111922;
  --ink: #e9edf1;
  --ink-2: #bcc5ce;
  --muted: #8e98a2;
  --line: #22303c;
  --line-strong: #38485a;
  --navy: #060d16;
  --navy-line: #1c2c3f;
  --accent: #df9a6c;
  --accent-on-dark: #e8ac84;
  --on-accent: #0e141b;
  --focus: #8ab4ff;
  --map-land: #18212b;
  --map-border: #2a3642;
  --map-outline: #3a4856;
  --map-tribal: #cf7038;
  --map-grid: #b8c2cd;
  --map-grid-hv: #eef2f6;
  --map-gen: #4a8ee6;
  --map-hydro: #1fa89a;
  --map-gas: #6c7884;
  --bar: #df9a6c;
  --bar-track: #1e2933;
  --ph-bg: #3b3210;
  --ph-ink: #ffe28a;
  --ph-line: #8a7420;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: #9cc2ff; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none; font-size: 14px; }
.skip-link:focus { top: 12px; color: var(--bg); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.on-dark { background: var(--navy); color: var(--navy-ink); }
.on-dark h2, .on-dark h3 { color: var(--navy-ink); }

.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.on-dark .eyebrow, .photo-band .eyebrow, .hero .eyebrow { color: var(--accent-on-dark); }
.h2 { font-size: clamp(34px, 4.4vw, 58px); }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 52ch; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.head-row .lede { margin: 0; }
.text-link { font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(3px); }

sup.fn { font-size: .62em; font-weight: 600; line-height: 0; vertical-align: super; margin-left: 1px; }
sup.fn a { text-decoration: none; color: inherit; opacity: .75; padding: 0 1px; }
sup.fn a:hover { opacity: 1; text-decoration: underline; }

/* Placeholders: highlighted on purpose so none ships unnoticed (see README). */
.ph { background: var(--ph-bg); color: var(--ph-ink); box-shadow: inset 0 -1px 0 var(--ph-line); padding: 0 .25em; border-radius: 2px; font-family: var(--sans); font-style: normal; font-weight: 500; font-size: .92em; letter-spacing: 0; text-transform: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--light { background: #fff; color: #0e141b; border-color: #fff; }
.btn--light:hover { background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: #0e141b; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.site-header.is-clear { background: transparent; color: #fff; border-bottom-color: transparent; }
.site-header.is-clear .brand-mark { color: #fff; }
.site-header.is-clear .icon-btn { border-color: rgba(255,255,255,.45); color: #fff; }
.site-header.is-clear .nav-cta { background: #fff; color: #0e141b; border-color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { width: 30px; height: 30px; flex: none; color: var(--accent); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 21px; letter-spacing: .22em; font-weight: 500; }
.brand-sub { font-size: 9.5px; letter-spacing: .42em; font-weight: 600; opacity: .7; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; gap: 2px; }
.nav-list a { display: block; padding: 8px 12px; font-size: 14.5px; font-weight: 500; text-decoration: none; color: inherit; opacity: .85; }
.nav-list a:hover, .nav-list a[aria-current="true"] { opacity: 1; color: inherit; }
.nav-list a[aria-current="true"] { box-shadow: inset 0 -1px 0 currentColor; }
.nav-cta { margin-left: 8px; }
.icon-btn { appearance: none; background: none; border: 1px solid var(--line-strong); color: inherit; width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.menu-toggle { display: none; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 1020px) {
  .menu-toggle { display: inline-grid; }
  .nav .nav-cta { display: none; }
  .nav-list { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav-list a[aria-current="true"] { box-shadow: none; color: var(--accent); }
  .nav-list li:last-child a { border-bottom: 0; }
}
@media (max-width: 380px) { .brand-name { font-size: 18px; letter-spacing: .16em; } .header-inner { gap: 12px; } .brand { gap: 9px; } }

/* ---------- Photo primitives ---------- */
.photo { position: relative; overflow: hidden; background: #2a3440; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.photo-band > .photo { position: absolute; inset: 0; z-index: -2; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,12,20,.78) 0%, rgba(6,12,20,.5) 45%, rgba(6,12,20,.12) 100%); }
.photo-band h1, .photo-band h2 { color: #fff; }

/* ---------- Hero ---------- */
.hero { min-height: max(560px, min(92vh, 900px)); display: flex; align-items: flex-end; }
.hero::after { background: linear-gradient(180deg, rgba(6,12,20,.55) 0%, rgba(6,12,20,0) 26%), linear-gradient(90deg, rgba(6,12,20,.72) 0%, rgba(6,12,20,.38) 50%, rgba(6,12,20,.05) 100%), linear-gradient(0deg, rgba(6,12,20,.55) 0%, rgba(6,12,20,0) 45%); }
.hero-inner { padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { font-size: clamp(46px, 7vw, 100px); line-height: 1; letter-spacing: -0.025em; font-weight: 350; max-width: 12ch; }
.hero h1 em { font-style: italic; font-weight: 300; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; margin: 26px 0 34px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Intro + stats ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.statement { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.16; font-weight: 350; letter-spacing: -0.015em; }
.intro-side { display: grid; gap: 20px; justify-items: start; }
.intro-side p { color: var(--ink-2); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.stats dd { margin: 0; }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .v { font-size: clamp(36px, 3.8vw, 54px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat .v small { font-size: .42em; font-weight: 500; letter-spacing: 0; margin-left: 3px; }
.stat .l { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--muted); max-width: 26ch; }
.on-dark .stat, .on-dark .stats { border-color: var(--navy-line); }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .stat:nth-child(2n) { padding-left: 20px; }
}

/* ---------- Strategy cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: block; aspect-ratio: 3 / 4; max-width: 100%; color: #fff; text-decoration: none; overflow: hidden; border-radius: 4px; isolation: isolate; }
.card .photo { position: absolute; inset: 0; z-index: -2; }
.card .photo img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,12,20,.86) 0%, rgba(6,12,20,.35) 48%, rgba(6,12,20,0) 72%); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.card h3 { font-size: clamp(24px, 2.1vw, 30px); color: #fff; }
.card p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.85); }
a.card:hover { color: #fff; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .card:hover .photo img { transform: scale(1.04); } }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .card { aspect-ratio: 4 / 3; } }

/* ---------- Space band ---------- */
.space { min-height: clamp(560px, 70vw, 760px); display: flex; align-items: center; }
.space .wrap { padding-block: var(--section-y); }
.space h2 { max-width: 14ch; }
.space .band-sub { font-size: clamp(17px, 1.4vw, 19px); color: rgba(255,255,255,.86); max-width: 44ch; margin-top: 22px; }
.band-stats { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); max-width: 620px; }
.band-stats .v { font-size: clamp(34px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.band-stats .l { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.78); max-width: 24ch; }

/* ---------- Partnership split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
.split > .photo { min-height: 360px; }
.split-body { padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; justify-content: center; max-width: 680px; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 32px; margin-top: 44px; }
.principle { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.principle h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.principle p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; min-height: 0; } .split > .photo { aspect-ratio: 16 / 10; min-height: 0; } }
@media (max-width: 480px) { .principles { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Platform ---------- */
.platform-stats { margin-top: 0; margin-bottom: clamp(32px, 4vw, 48px); }
.map-card { border: 1px solid var(--line); background: var(--bg); border-radius: 4px; overflow: hidden; margin: 0; }
.map-toolbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.chip { appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 13px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); font: 500 13px/1.2 var(--sans); border-radius: 99px; cursor: pointer; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip .key { width: 14px; height: 14px; flex: none; display: inline-block; }
.key--tribal { background: var(--map-tribal); border-radius: 2px; }
.key--hv { height: 2px !important; background: var(--map-grid-hv); }
.key--ehv { height: 2px !important; background: var(--map-grid); opacity: .7; }
.key--sub, .key--gen, .key--hydro, .key--doe { width: 9px !important; height: 9px !important; border-radius: 50%; }
.key--sub { background: var(--map-grid-hv); }
.key--gen { background: var(--map-gen); }
.key--hydro { background: var(--map-hydro); }
.key--doe { background: transparent; box-shadow: inset 0 0 0 2px var(--map-tribal); }
.key--gas { height: 2px !important; background: var(--map-gas); }
.chip[aria-pressed="true"] .key--sub, .chip[aria-pressed="true"] .key--hv, .chip[aria-pressed="true"] .key--ehv, .chip[aria-pressed="true"] .key--gas { background: var(--bg); }
.map-stage { padding: clamp(8px, 2vw, 24px); }
.map-stage img, .map-stage svg { display: block; width: 100%; height: auto; }
.map-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.map-foot a { white-space: nowrap; }
.no-js .map-toolbar, .map-card.is-static .map-toolbar { display: none; }
.map-stage .pm-nation { fill: var(--map-land); stroke: var(--map-outline); stroke-width: .6; }
.map-stage .pm-states { fill: none; stroke: var(--map-border); stroke-width: .4; }
.map-stage .pm-anc { fill: none; stroke: var(--map-tribal); stroke-width: .5; stroke-opacity: .65; }
.map-stage .pm-juris { fill: var(--map-tribal); fill-opacity: .2; stroke: var(--map-tribal); stroke-opacity: .55; stroke-width: .3; }
.map-stage .pm-held { fill: var(--map-tribal); fill-opacity: .85; stroke: var(--map-tribal); stroke-width: .25; }
.map-stage .pm-tx345 { fill: none; stroke: var(--map-grid); stroke-opacity: .5; stroke-width: .5; stroke-linecap: round; stroke-linejoin: round; }
.map-stage .pm-tx500 { fill: none; stroke: var(--map-grid-hv); stroke-opacity: .9; stroke-width: .95; stroke-linecap: round; stroke-linejoin: round; }
.map-stage .pm-gas { fill: none; stroke: var(--map-gas); stroke-opacity: .5; stroke-width: .45; }
.map-stage .pm-subs { stroke: var(--map-grid-hv); stroke-width: 2.2; stroke-linecap: round; }
.map-stage .pm-plants { stroke: var(--map-gen); stroke-opacity: .75; stroke-width: 2.1; stroke-linecap: round; }
.map-stage .pm-npd { stroke: var(--map-hydro); stroke-width: 3.6; stroke-linecap: round; }
.map-stage .pm-doe { stroke: var(--map-tribal); stroke-width: 4.2; stroke-linecap: round; }
.map-stage .pm-doe-hole { stroke: var(--bg); stroke-width: 1.8; stroke-linecap: round; }

details.method { margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.method > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; font-size: 16px; }
details.method > summary::-webkit-details-marker { display: none; }
details.method > summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; }
details.method[open] > summary::after { content: "−"; }
.method-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 72px); padding: 4px 0 28px; }
@media (max-width: 860px) { .method-body { grid-template-columns: 1fr; } }
.weights li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 2.5ch; gap: 16px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.weights li:last-child { border-bottom: 0; font-weight: 600; }
.weights .bar { height: 10px; background: var(--bar); border-radius: 0 3px 3px 0; width: calc(var(--v) * 4%); }
.weights .n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.method-notes { display: grid; gap: 14px; font-size: 15px; color: var(--ink-2); align-content: start; }
.method-notes strong { color: var(--ink); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { padding: 24px 24px 0 0; border-top: 2px solid var(--ink); }
.step + .step { padding-left: 0; }
.step .n { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .08em; }
.step h3 { font-size: clamp(22px, 2vw, 28px); margin-top: 14px; }
.step p { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.5; max-width: 22ch; }
.steps .step:not(:first-child) { border-top-color: var(--line-strong); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; } .step { padding-bottom: 28px; } .steps .step { border-top-color: var(--line-strong); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Fund ---------- */
.fund-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .fund-grid { grid-template-columns: 1fr; } }
.fund-grid .band-sub { color: var(--navy-muted); font-size: 18px; margin: 22px 0 32px; max-width: 42ch; }
.terms { border-top: 1px solid var(--navy-line); }
.terms div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.terms dt { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-muted); padding-top: 3px; }
.terms dd { margin: 0; font-size: 16px; }

/* ---------- Leadership ----------
   The two 4:5 headshots always sit side by side in the first grid row, with
   identical size and aligned tops. On wider screens each bio sits in the column
   under its photo; on phones the bios stack full width below the pair. */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 88px); row-gap: 32px; max-width: 1060px; align-items: start; }
.leader-photo { margin: 0; min-width: 0; grid-row: 1; }
.leader-photo--1 { grid-column: 1; }
.leader-photo--2 { grid-column: 2; }
.leader-frame { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); }
.leader-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.leader-frame--pending { display: grid; place-items: center; border: 1px dashed var(--line-strong); padding: 12px; text-align: center; }
.leader-photo figcaption { display: none; }
.leader { min-width: 0; grid-row: 2; }
.leader--1 { grid-column: 1; }
.leader--2 { grid-column: 2; }
.leader-name { font-size: clamp(28px, 2.6vw, 34px); }
.leader-title { margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.leader-bio { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 62ch; display: grid; gap: 1em; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.leader-more { display: grid; gap: 1em; }
.leader-more[hidden], .bio-toggle[hidden] { display: none; }
.bio-toggle { appearance: none; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; padding: 6px 0; border: 0; background: none; color: var(--ink); font: 600 14.5px/1.2 var(--sans); cursor: pointer; border-bottom: 1px solid var(--line-strong); }
.bio-toggle::after { content: "+"; font-weight: 500; font-size: 17px; line-height: 1; color: var(--accent); }
.bio-toggle[aria-expanded="true"]::after { content: "\2212"; }
.bio-toggle:hover { border-bottom-color: var(--accent); }
@media (max-width: 700px) {
  .leaders { column-gap: 14px; row-gap: 0; }
  .leader-photo figcaption { display: block; margin-top: 10px; font-family: var(--serif); font-size: 18px; line-height: 1.2; }
  .leader { grid-column: 1 / -1; margin-top: 56px; }
  .leader--2 { grid-row: 3; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.contact > .photo { min-height: 100%; }
.contact-body { padding: var(--section-y) var(--gutter); max-width: 760px; }
.contact-body .lede { margin: 16px 0 8px; }
.direct { font-size: 15px; color: var(--ink-2); margin-bottom: 32px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact > .photo { aspect-ratio: 16 / 9; } }
.form { display: grid; gap: 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px; padding: 12px 14px; width: 100%; min-width: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.err { font-size: 13px; color: #b3261e; }
:root[data-theme="dark"] .err { color: #f2b8b5; }
:root[data-theme="dark"] .field [aria-invalid="true"] { border-color: #f2b8b5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #f2b8b5; } :root:not([data-theme="light"]) .field [aria-invalid="true"] { border-color: #f2b8b5; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot small { font-size: 12.5px; color: var(--muted); }
.form-status { padding: 14px 16px; border-left: 2px solid var(--accent); background: var(--bg-alt); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-muted); padding-block: clamp(56px, 7vw, 96px) 36px; font-size: 14px; }
.site-footer a { color: var(--navy-ink); }
.site-footer a:hover { color: var(--accent-on-dark); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--navy-line); }
.footer-top .brand { color: var(--navy-ink); }
.footer-top .brand-mark { color: var(--accent-on-dark); }
.footer-tag { margin-top: 18px; font-family: var(--serif); font-size: 20px; color: var(--navy-ink); max-width: 30ch; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-nav h2 { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-muted); margin-bottom: 12px; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { text-decoration: none; }
.fine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; padding-top: 32px; font-size: 12.5px; line-height: 1.6; }
.fine h2 { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-muted); margin-bottom: 10px; }
.fine p + p { margin-top: .8em; }
.sources { list-style: decimal; padding-left: 1.3em; display: grid; gap: 6px; }
.sources li { overflow-wrap: anywhere; }
.sources li:target { color: var(--navy-ink); background: var(--navy-line); outline: 4px solid var(--navy-line); }
.legal-row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--navy-line); font-size: 12.5px; }
@media (max-width: 860px) { .footer-top, .fine { grid-template-columns: 1fr; } .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Legal page (legal.html) ---------- */
.legal-page { padding-block: calc(var(--header-h) + clamp(48px, 6vw, 88px)) var(--section-y); }
.legal-body { max-width: 760px; }
.legal-meta { margin-top: 16px; font-size: 14px; color: var(--muted); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; padding-block: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.legal-toc a { text-decoration: none; }
.legal-body section { padding-top: 48px; }
.legal-body h2 { font-size: clamp(26px, 2.6vw, 34px); }
.legal-body h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; margin-top: 28px; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal-body section p { margin-top: 10px; }
.legal-body ul { list-style: disc; padding-left: 1.2em; margin-top: 10px; display: grid; gap: 10px; }
.legal-body li strong { color: var(--ink); }
.legal-back { margin-right: 10px; }
.legal-footer { padding-block: 28px; }
.legal-footer .legal-row { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Reveal (visible at rest; animates only when JS runs and motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-play-state: paused; }
  .js .reveal.is-visible { animation-play-state: running; }
  @keyframes rise { from { opacity: .001; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- Forced colors / print ---------- */
@media (forced-colors: active) { .weights .bar { background: CanvasText; forced-color-adjust: none; } .photo-band::after, .card::after { display: none; } }
@media print {
  .site-header, .map-toolbar, .form, .theme-toggle, .photo-band > .photo, .card .photo { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .photo-band, .card, .on-dark { color: #000 !important; background: #fff !important; }
  .photo-band h1, .photo-band h2, .card h3 { color: #000 !important; }
}
