/* General Assets — site stylesheet
   Dark, cinematic style. Near-black grounds, cool grey text, one pale brass accent,
   wide grotesque display headings, technical sans body, mono labels. */

:root {
  color-scheme: dark;
  --navy: #12161c;
  --navy-deep: #07090c;
  --heading: #f2f4f6;
  --accent: #c9b68e;
  --accent-light: #c9b68e;
  --bg: #0a0c0f;
  --surface: #101319;
  --surface-alt: #0d1014;
  --text: #c6ccd4;
  --muted: #8b949f;
  --border: #20252d;
  --border-strong: #3a414c;
  --focus: #8ab4ff;
  --ok: #6fbf7f;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1200px;
  --measure: 720px;
  --gutter: 16px;
  --radius: 2px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--heading); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.2; color: var(--heading); margin: 0 0 .6em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
table { border-collapse: collapse; width: 100%; }
small { font-size: .875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.measure { max-width: var(--measure); }
.section { padding: clamp(3rem, 2rem + 4vw, 6rem) 0; }
.section-tight { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0; }
.section-alt { background: var(--surface-alt); }
.section-navy { background: var(--navy); color: #e6e9ed; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a { color: #fff; }
.section-navy a:hover { color: var(--accent-light); }
.section-navy .btn-light, .section-navy .btn-light:hover { color: var(--heading); }
.section-head { max-width: var(--measure); margin-bottom: 2.5rem; }
.eyebrow { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block; }
.section-navy .eyebrow { color: var(--accent-light); }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); }
.section-navy .lede { color: #b4bcc6; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-loose { gap: 3rem; align-items: start; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 500; font-size: .95rem;
  padding: .8rem 1.4rem; border: 1px solid var(--navy); border-radius: var(--radius);
  background: var(--navy); color: #fff; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--heading); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--heading); border-color: #fff; }
.btn-light:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--heading); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--border-strong); padding-bottom: 1px; }
.text-link:hover { border-color: var(--accent); }
.text-link::after { content: " \2192"; }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: var(--gutter); top: -100px; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 1000; text-decoration: none; }
.skip-link:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--heading); }
.brand:hover { color: var(--heading); }
.brand svg { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-name { font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.nav-wrap { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.site-nav a { font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--text); padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--heading); border-color: var(--border-strong); }
.site-nav a[aria-current="page"] { color: var(--heading); border-color: var(--accent); }
.lang { display: flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; padding-left: 1.5rem; border-left: 1px solid var(--border); }
.lang span { color: var(--heading); }
.lang a { color: var(--muted); font-weight: 500; text-decoration: none; }
.lang a:hover { color: var(--heading); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: .5rem .65rem; cursor: pointer; color: var(--heading); }
.nav-toggle .bars { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-wrap { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; box-shadow: 0 12px 24px -16px rgba(0,0,0,.3); }
  .nav-wrap.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { border-color: var(--border); color: var(--accent); }
  .lang { border-left: 0; padding-left: 0; padding-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #e6e9ed; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: center; padding: clamp(3.5rem, 2rem + 5vw, 7rem) 0; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero .lede { color: #b4bcc6; max-width: 36rem; }
.hero .btn-row { margin-top: 2rem; }
.hero-visual { justify-self: end; width: 100%; max-width: 420px; }
.hero-visual svg { width: 100%; height: auto; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 2rem; } .hero-visual { justify-self: start; max-width: 320px; } }

/* Page intro (inner pages) */
.page-intro { padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); border-bottom: 1px solid var(--border); background: var(--surface); }
.page-intro h1 { margin-bottom: .75rem; }
.page-intro .lede { max-width: var(--measure); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--border-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Strip (who we are / key facts) ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.strip-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 2.5rem; align-items: start; padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; }
@media (max-width: 900px) { .strip-inner { grid-template-columns: 1fr; gap: 1.5rem; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.fact { border-left: 1px solid var(--border-strong); padding-left: 1.1rem; }
.fact dt { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .3rem; }
.fact dd { margin: 0; font-family: var(--display); font-size: 1.6rem; color: var(--heading); line-height: 1.2; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; min-width: 0; }
.card h3 { margin-top: .75rem; margin-bottom: .6rem; font-size: 1.25rem; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.card .text-link { margin-top: auto; align-self: flex-start; font-size: .95rem; }
.card-icon { width: 40px; height: 40px; color: var(--accent); }
.card-icon svg { width: 100%; height: 100%; }
.card-meta { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .8rem; color: var(--muted); }
.card-meta li { margin: 0; }
.card-meta li + li::before { content: "\00b7"; margin-right: .75rem; color: var(--border-strong); }
.card.is-soon { opacity: .85; }

/* Tags (thin border + status dot, no pastel pills) */
.tag { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: .25rem .6rem; line-height: 1.2; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.tag.is-muted::before { background: var(--border-strong); }
.tag.is-ok::before { background: var(--ok); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps li { counter-increment: step; border-top: 1px solid var(--border-strong); padding-top: 1.25rem; margin: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-size: 1.9rem; color: var(--accent); display: block; margin-bottom: .6rem; line-height: 1; }
.steps h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; }
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { margin: 0; max-width: 40rem; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }
.person { background: var(--surface); border: 1px solid var(--border); padding: 1.5rem; display: flex; gap: 1.1rem; align-items: flex-start; }
.person .silhouette { flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid var(--border); background: var(--surface-alt); color: var(--border-strong); }
.person h3 { font-size: 1.1rem; margin: .1rem 0 .15rem; }
.person .role { font-size: .85rem; color: var(--accent); font-weight: 600; margin-bottom: .5rem; }
.person p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Definition lists / governance ---------- */
.kv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); border-top: 1px solid var(--border); margin: 0; }
.kv dt, .kv dd { padding: 1rem 0; border-bottom: 1px solid var(--border); margin: 0; }
.kv dt { font-weight: 600; color: var(--heading); font-size: .95rem; padding-right: 1.5rem; }
.kv dd { color: var(--muted); }
@media (max-width: 640px) { .kv { grid-template-columns: 1fr; } .kv dt { border-bottom: 0; padding-bottom: .2rem; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); background: var(--surface); }
.table { font-size: .92rem; min-width: 760px; }
.table th, .table td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-alt); border-bottom: 1px solid var(--border-strong); line-height: 1.3; }
.table tbody tr:last-child td { border-bottom: 0; }
.table th[scope="row"] { font-weight: 600; color: var(--heading); min-width: 170px; }
.table td { white-space: nowrap; }
.table td.wrap { white-space: normal; }
.table caption { text-align: left; font-size: .875rem; color: var(--muted); padding: .75rem 1rem; caption-side: bottom; }
.table-note { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.article .table { min-width: 0; } /* tables inside articles fit the text column; .table-wrap still scrolls on small screens */

/* SRI scale indicator (1–7) */
.sri { display: inline-grid; grid-template-columns: repeat(7, 14px); gap: 2px; vertical-align: middle; margin-left: .5rem; }
.sri span { height: 10px; border: 1px solid var(--border-strong); background: transparent; }
.sri span.is-on { background: var(--navy); border-color: var(--navy); }

/* ---------- Article (guide) ---------- */
.article-layout { display: grid; grid-template-columns: 260px minmax(0, var(--measure)); gap: 4rem; justify-content: center; padding: clamp(2rem, 1.5rem + 2vw, 4rem) 0; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, var(--measure)); gap: 2rem; } }
.toc { position: sticky; top: 92px; align-self: start; font-size: .9rem; max-height: calc(100vh - 110px); overflow: auto; }
.toc h2 { font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.toc li { margin: 0; }
.toc a { display: block; padding: .45rem 0 .45rem 1rem; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; line-height: 1.4; }
.toc a:hover { color: var(--heading); }
.toc a.is-active { color: var(--heading); border-left-color: var(--accent); font-weight: 500; }
@media (max-width: 1000px) {
  .toc { position: static; max-height: none; border: 1px solid var(--border); background: var(--surface); padding: 1.25rem 1.25rem .75rem; }
  .toc details summary { cursor: pointer; font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--heading); font-weight: 600; margin-bottom: .5rem; }
  .toc h2 { display: none; }
}
@media (min-width: 1001px) { .toc details summary { display: none; } .toc details { display: contents; } }
.article { min-width: 0; }
.article-header { margin-bottom: 2.5rem; }
.article-header h1 { margin-bottom: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.article-meta time { color: var(--text); }
.article h2 { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.article h3 { margin-top: 2rem; font-size: 1.2rem; }
.article p, .article li { font-size: 1.05rem; line-height: 1.7; }
.article .lede { font-size: 1.25rem; color: var(--muted); }
.pull { margin: 2.5rem 0; padding: 1.5rem 0 1.5rem 1.75rem; border-left: 3px solid var(--accent); font-family: var(--display); font-size: 1.4rem; line-height: 1.4; color: var(--heading); }
.pull p { font-size: inherit; line-height: inherit; margin: 0; }
.pull cite { display: block; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--navy); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.callout h4 { margin-bottom: .4rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout p, .callout li { font-size: .98rem; }
.figure { margin: 2.5rem 0; }
.figure svg { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--border); }
.figure figcaption { font-size: .875rem; color: var(--muted); margin-top: .75rem; }
.fund-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
@media (max-width: 560px) { .fund-types { grid-template-columns: 1fr; } }
.fund-types > div { background: var(--surface); border: 1px solid var(--border); padding: 1.25rem; }
.fund-types h3 { margin-top: 0; margin-bottom: .4rem; font-size: 1.1rem; }
.fund-types p { font-size: .95rem; margin-bottom: 0; color: var(--muted); }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; color: var(--heading); font-family: var(--display); font-size: 1.15rem; list-style: none; position: relative; padding-right: 2.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 1.1rem; margin: 0; }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .9rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.75rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border: 1px solid var(--accent); }

/* ---------- Insights list ---------- */
.article-list .card h3 a { text-decoration: none; }
.article-list .card h3 a:hover { color: var(--accent); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--heading); margin-bottom: .4rem; }
.field .hint { font-size: .8rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { margin-top: .3rem; width: 18px; height: 18px; flex: 0 0 auto; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid var(--border-strong); background: var(--surface); font-size: .95rem; }
.form-status[hidden] { display: none; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.office { background: var(--surface); border: 1px solid var(--border); padding: 1.75rem; }
.office address { font-style: normal; color: var(--muted); }
.office .h3 { font-size: 1.3rem; }
.office .h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 1.25rem 0 .3rem; }
.office p { color: var(--muted); font-size: .95rem; }
.office .map { margin: 1.25rem 0; border: 1px solid var(--border); }

/* ---------- Legal ---------- */
.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9rem; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.legal h2 { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 1.6rem; }
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.15rem; margin-top: 1.75rem; }

/* ---------- Placeholder marker ---------- */
.ph { color: var(--accent); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b4bcc6; font-size: .9rem; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding: 3.5rem 0 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand .mark-fill { fill: #fff; }
.site-footer h3 { font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #e6e9ed; text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); text-decoration: underline; }
.footer-legal { padding: 2rem 0 2.5rem; font-size: .8rem; line-height: 1.6; color: #8b949f; }
.footer-legal p { margin-bottom: .75rem; max-width: 72rem; }
.footer-legal strong { color: #b4bcc6; font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.25rem; margin-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom li { margin: 0; }

/* ---------- Cookie banner ---------- */
/* ---------- Cookie consent dialog (markup: templates/partials/cookie-consent.html, logic: assets/js/consent.js) ---------- */
.cc { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cc[hidden] { display: none; }
html.cc-lock { overflow: hidden; }
.cc-backdrop { position: absolute; inset: 0; background: rgba(4,6,9,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: ccFade .35s ease both; }
.cc-dialog { position: relative; width: 100%; max-width: 600px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--border-strong); border-top: 2px solid var(--accent); box-shadow: 0 48px 120px -40px rgba(0,0,0,.9); padding: 2.5rem 2.75rem 1.9rem; outline: none; animation: ccIn .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ccFade { from { opacity: 0; } }
@keyframes ccIn { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes ccUp { from { opacity: 0; transform: translateY(40px); } }
.cc-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.cc-mark { flex: none; width: 36px; color: var(--heading); }
.cc-mark svg { width: 36px; height: 36px; }
.cc-eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.cc-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.cc-dialog h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.05rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .8rem; }
.cc-dialog p { margin: 0; color: #a7b0bb; font-size: .97rem; line-height: 1.65; }
.cc button { font: inherit; margin: 0; cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.75rem; }
.cc-btn { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1rem; background: var(--heading); border: 1px solid var(--heading); border-radius: var(--radius); color: var(--navy-deep); font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .01em; transition: background .2s, border-color .2s; }
.cc-btn:hover { background: var(--accent); border-color: var(--accent); }
.cc-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .9rem; margin-top: 1.2rem; font-size: .85rem; color: var(--muted); }
.cc-links a, .cc-more { padding: 0; background: none; border: 0; color: var(--heading); font-size: .85rem; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cc-links a:hover, .cc-more:hover { color: var(--accent); }
.cc-prefs { margin-top: 1.5rem; border-top: 1px solid var(--border); }
.cc-prefs[hidden] { display: none; }
.cc-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cc-cat strong { display: block; margin-bottom: .2rem; font-size: .97rem; font-weight: 600; color: var(--heading); }
.cc-desc { display: block; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.cc-always { flex: none; padding-top: .2rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.cc-switch { flex: none; position: relative; width: 46px; height: 26px; margin-top: 2px; padding: 0; border: 0; border-radius: 999px; background: var(--border-strong); transition: background .2s; }
.cc-switch span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--heading); box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .2s; }
.cc-switch[aria-checked="true"] { background: var(--accent); }
.cc-switch[aria-checked="true"] span { transform: translateX(20px); background: var(--navy-deep); }
.cc-save { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 1.1rem; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--radius); color: var(--heading); font-family: var(--sans); font-size: .92rem; font-weight: 500; transition: background .2s, border-color .2s; }
.cc-save:hover { background: rgba(255,255,255,.06); border-color: var(--heading); }
@media (max-width: 600px) {
  .cc { align-items: flex-end; padding: 0; }
  .cc-dialog { max-height: 92vh; max-height: 92dvh; border-left: 0; border-right: 0; border-bottom: 0; padding: 1.75rem var(--gutter) 1.25rem; animation-name: ccUp; }
  .cc-head { margin-bottom: 1.1rem; }
  .cc-dialog p { font-size: .93rem; }
  .cc-actions { grid-template-columns: 1fr; gap: 10px; margin-top: 1.4rem; }
  .cc-btn { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .cc-backdrop, .cc-dialog { animation: none; } }

/* ---------- 404 ---------- */
.notfound { padding: clamp(4rem, 3rem + 5vw, 8rem) 0; text-align: left; }
.notfound .code { font-family: var(--display); font-size: 5rem; color: var(--accent); line-height: 1; margin-bottom: 1rem; }

/* ---------- Dark theme adjustments ---------- */
body { font-size: 1.02rem; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; }
h1 { font-stretch: 105%; }
.eyebrow, .fact dt, .table thead th, .card-meta, .tag, .breadcrumb, .toc h2 { font-family: var(--mono); }
.eyebrow { font-weight: 500; letter-spacing: .14em; font-size: .72rem; }
.lede { color: #a7b0bb; }
.site-header { background: rgba(10,12,15,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand-name { font-weight: 600; letter-spacing: -0.01em; font-stretch: 110%; }
.section-navy { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.btn, .btn-light { background: var(--heading); border-color: var(--heading); color: var(--navy-deep); font-weight: 500; }
.btn:hover, .btn-light:hover { background: var(--accent); border-color: var(--accent); color: var(--navy-deep); }
.btn-outline, .btn-ghost-light { background: transparent; border-color: var(--border-strong); color: var(--heading); }
.btn-outline:hover, .btn-ghost-light:hover { background: rgba(255,255,255,.06); border-color: var(--heading); color: var(--heading); }
.section-navy .btn, .section-navy .btn:hover, .section-navy .btn-light, .section-navy .btn-light:hover { color: var(--navy-deep); }
.section-navy .btn-outline, .section-navy .btn-ghost-light, .section-navy .btn-outline:hover, .section-navy .btn-ghost-light:hover { color: var(--heading); }
.steps li::before { font-family: var(--mono); font-size: 1rem; letter-spacing: .08em; }
.sri span.is-on { background: var(--accent); border-color: var(--accent); }
.callout { border-left-color: var(--accent); }
.figure svg, .office .map svg { background: #f1eee7; }
.fact dd, .fund-facts dd { font-weight: 500; }

/* ---------- Fund pages: hero, spec strip, timeline, photo tiles ---------- */
.prep-notice { background: var(--navy-deep); border-bottom: 1px solid var(--border); font-size: .85rem; color: var(--text); }
.prep-notice p { margin: 0; padding: .65rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }

.hero-photo { position: relative; background: var(--navy-deep); color: #e6e9ed; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(540px, 80vh, 780px); }
.hero-photo-media { position: absolute; top: 0; right: 0; bottom: 0; width: 74%; margin: 0; }
.hero-photo-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.8) contrast(1.08) brightness(.9); }
.hero-photo-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(7,9,12,.82) 24%, rgba(7,9,12,.1) 62%, rgba(7,9,12,.3) 100%), linear-gradient(0deg, rgba(7,9,12,.95) 0%, rgba(7,9,12,0) 42%); }
.hero-photo-media figcaption { position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 1; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(230,233,237,.6); }
.hero-photo-inner { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero-photo-inner > * { max-width: 47rem; }
.hero-photo h1 { color: #fff; font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.4rem); line-height: 1; letter-spacing: -0.035em; margin-bottom: 1.5rem; text-wrap: balance; }
.hero-photo .lede { color: #c9d0d8; max-width: 36rem; }
.hero-photo .btn-row { margin-top: 2rem; }
@media (max-width: 760px) {
  .hero-photo { display: block; min-height: 0; }
  .hero-photo-media { position: relative; width: 100%; aspect-ratio: 4 / 3; }
  .hero-photo-media::after { background: linear-gradient(0deg, var(--navy-deep) 0%, rgba(7,9,12,0) 50%); }
  .hero-photo-media figcaption { bottom: .75rem; }
  .hero-photo-inner { padding-top: 1rem; padding-bottom: 3rem; }
}

.fund-facts-wrap { background: var(--navy-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fund-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.fund-facts > div { padding: 1.5rem 1.25rem; border-left: 1px solid var(--border); min-width: 0; }
.fund-facts > div:first-child { border-left: 0; padding-left: 0; }
.fund-facts dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.fund-facts dd { margin: 0; font-family: var(--display); font-size: 1.2rem; color: var(--heading); line-height: 1.25; }
@media (max-width: 960px) {
  .fund-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fund-facts > div, .fund-facts > div:first-child { padding: 1.1rem 1rem 1.1rem 0; border-left: 0; border-top: 1px solid var(--border); }
  .fund-facts > div:nth-child(-n+2) { border-top: 0; }
  .fund-facts > div:last-child { grid-column: 1 / -1; }
}

.case-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem 4rem; align-items: start; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.case-intro h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.case-intro p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .case-intro { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.timeline li { position: relative; margin: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--border-strong); }
.timeline li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; background: var(--accent); }
.timeline-date { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.timeline h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.timeline p { color: var(--muted); font-size: .95rem; margin: 0; }
.timeline + .table-note { margin-top: 2rem; max-width: var(--measure); }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }

.photo-card { position: relative; margin: 0; overflow: hidden; background: var(--navy-deep); border-radius: var(--radius); min-width: 0; }
.photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.75) contrast(1.06) brightness(.82); transition: transform .8s ease; }
.photo-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4.5rem 1.5rem 1.5rem; background: linear-gradient(0deg, rgba(7,9,12,.94) 0%, rgba(7,9,12,.7) 55%, rgba(7,9,12,0) 100%); }
.photo-card h3 { font-size: 1.35rem; margin-bottom: .4rem; color: #fff; }
.photo-card p { color: #b4bcc6; font-size: .92rem; margin: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .photo-card:hover img { transform: scale(1.03); } }
.photo-card.is-wide img { aspect-ratio: 4 / 3; }
.universe-more { margin-top: 2rem; margin-bottom: 0; }

.photo-break { position: relative; overflow: hidden; background: var(--navy-deep); display: flex; align-items: flex-end; min-height: clamp(380px, 46vw, 580px); }
.photo-break img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.75); }
.photo-break::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,9,12,.92) 0%, rgba(7,9,12,.25) 60%, rgba(7,9,12,.35) 100%); }
.photo-break-inner { position: relative; z-index: 1; padding-top: 4rem; padding-bottom: clamp(2rem, 1.5rem + 3vw, 4rem); }
.photo-break .statement { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 1rem + 2.8vw, 3.1rem); line-height: 1.08; letter-spacing: -0.03em; color: #fff; max-width: 20em; margin: 0 0 1rem; text-wrap: balance; }
.photo-break p { color: #c9d0d8; max-width: 38rem; margin: 0; }

.section-navy .checklist.limits li { padding: 1.15rem 0; margin: 0; border-top: 1px solid var(--border-strong); color: #b4bcc6; }
.section-navy .checklist.limits li:last-child { border-bottom: 1px solid var(--border-strong); }
.section-navy .checklist.limits li::before { display: none; }
.section-navy .checklist strong { color: #fff; font-weight: 500; display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: .2rem; }

.photo-credits { background: var(--navy-deep); border-top: 1px solid var(--border); padding: 1.5rem 0; font-size: .78rem; color: var(--muted); }
.photo-credits h2 { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.photo-credits p { margin: 0; max-width: 72rem; }
.photo-credits a { color: inherit; }

/* ---------- Print ---------- */
@media print {
  .site-header, .cc, .toc, .skip-link, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
