/* The Serendib Endowment — shared stylesheet
   Brand tokens carried over from the v3.4 single-page site. */

:root {
  --heritage:  #183A2C;
  --forest:    #0D2318;
  --green-mid: #2E5E48;
  --gold:      #D4A853;
  --gold-lt:   #F0D898;
  --gold-dk:   #8B5E2A;
  --cream:     #F5F0E8;
  --parchment: #EDE6D6;
  --border:    #D8CEB8;
  --muted:     #4C5C4C;
  --white:     #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--forest);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility floor */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--heritage);
  padding: 10px 18px; font-size: 13px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ── NAV ───────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; background: var(--heritage); z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; min-height: 56px; box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.nav-brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav-links { display: flex; gap: 2px; flex-wrap: nowrap; align-items: center; }
.nav-links a {
  color: rgba(212,168,83,0.6); text-decoration: none;
  font-size: 11px; font-weight: 400; letter-spacing: 0.5px;
  padding: 5px 9px; border-radius: 3px;
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.nav-links a:hover { background: rgba(212,168,83,0.1); color: var(--gold); }
.nav-links a[aria-current="page"] {
  color: var(--gold); background: rgba(212,168,83,0.14);
  box-shadow: inset 0 -2px 0 var(--gold);
  border-radius: 3px 3px 0 0; font-weight: 500;
}
.nav-cta {
  background: var(--gold); color: var(--heritage) !important;
  padding: 5px 14px !important; border-radius: 14px;
  font-weight: 700 !important; margin-left: 6px;
}
.nav-cta:hover { background: var(--gold-lt); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: rgba(212,168,83,0.7); border-radius: 1px;
}
.nav-drawer {
  display: none; position: fixed; top: 56px; left: 0; right: 0;
  background: var(--heritage); z-index: 99; padding: 12px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4); flex-direction: column;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  color: rgba(212,168,83,0.7); text-decoration: none;
  font-size: 13px; letter-spacing: 1px; padding: 12px 24px;
  border-bottom: 1px solid rgba(212,168,83,0.08);
}
.nav-drawer a:hover { background: rgba(212,168,83,0.08); color: var(--gold); }
.nav-drawer a[aria-current="page"] {
  color: var(--gold); background: rgba(212,168,83,0.12);
  box-shadow: inset 3px 0 0 var(--gold);
}
@media(max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .site-nav { padding: 0 16px; }
}

/* ── SECTIONS ──────────────────────────────────────── */
.section { padding: 72px 40px; background: var(--white); }
.section-wide { padding: 72px 40px; background: var(--white); }
.parchment-section { background: var(--parchment); padding: 72px 40px; }
.dark-section { background: var(--heritage); color: white; padding: 72px 40px; }
.dark-section h2 { color: var(--gold-lt); }
.dark-section h3 { color: var(--gold-lt); }
.dark-section p { color: rgba(255,255,255,0.78); }
.wrap { max-width: 960px; margin: 0 auto; }
.wrap-narrow { max-width: 720px; margin: 0 auto; }

h1 {
  text-wrap: balance;
  font-family: 'Cormorant Garamond', serif; font-size: clamp(32px,5vw,52px);
  font-weight: 300; line-height: 1.15; letter-spacing: 0.5px;
}
h2 {
  text-wrap: balance;
  font-family: 'Cormorant Garamond', serif; font-size: clamp(26px,4vw,40px);
  font-weight: 300; color: var(--heritage); letter-spacing: 0.5px;
  line-height: 1.2; margin-bottom: 6px;
}
h2 span { color: var(--gold-dk); font-style: italic; }
h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 22px;
  font-weight: 400; color: var(--heritage); margin-bottom: 12px;
}
p { margin-bottom: 16px; line-height: 1.75; max-width: 72ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.lede { font-size: 17px; max-width: 68ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
a { color: var(--gold-dk); }
.dark-section a { color: var(--gold); }

.gold-divider {
  width: 48px; height: 2px; background: var(--gold);
  margin: 16px 0 32px; border-radius: 1px;
}
.dark-section .gold-divider { background: var(--gold); }

/* ── PAGE HEADER (interior pages) ──────────────────── */
.page-head {
  background: var(--heritage); color: white;
  padding: 60px 40px 52px; position: relative; overflow: hidden;
}
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,168,83,0.09) 0%, transparent 65%);
}
.page-head .wrap,
.page-head .wrap-narrow { position: relative; z-index: 1; }
.page-head.compact { padding: 40px 40px 34px; }
.page-head.compact h1 { font-size: clamp(26px,3.4vw,36px); }
.page-head.compact p { font-size: clamp(15px,1.6vw,17px); margin-top: 12px; }
.page-head .eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(212,168,83,0.6); margin-bottom: 14px;
}
.page-head h1 { color: var(--gold-lt); }
.page-head p {
  text-wrap: pretty;
  font-family: 'Cormorant Garamond', serif; font-size: clamp(17px,2vw,21px);
  font-weight: 300; font-style: italic; color: rgba(255,255,255,0.68);
  line-height: 1.65; max-width: 640px; margin-top: 18px;
}

/* ── HERO (home) ───────────────────────────────────── */
.hero {
  background: var(--heritage); color: white;
  padding: 80px 40px 72px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,168,83,0.09) 0%, transparent 65%);
}
.hero > * { position: relative; z-index: 1; }
.hero-divider { width: 48px; height: 1px; background: rgba(212,168,83,0.4); margin: 28px auto; }
.hero-subtitle {
  font-size: 13px; font-weight: 300; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(212,168,83,0.55); margin-bottom: 8px;
}
.hero-tagline {
  text-wrap: balance;
  font-family: 'Cormorant Garamond', serif; font-size: clamp(18px,2.5vw,26px);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,0.65); line-height: 1.6;
  max-width: 560px; margin: 0 auto;
}
.hero-lede {
  text-wrap: balance;
  font-family: 'Cormorant Garamond', serif; font-size: clamp(17px,2vw,22px);
  font-weight: 300; font-style: italic; color: rgba(255,255,255,0.7);
  line-height: 1.75; max-width: 580px; margin: 0 auto 24px;
}
.hero-stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  margin-top: 36px; border-top: 1px solid rgba(212,168,83,0.2); padding-top: 32px;
}
.hero-stat { text-align: center; padding: 0 32px; border-right: 1px solid rgba(212,168,83,0.2); }
.hero-stat:last-child { border-right: none; }
.hero-stat .val {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: 34px;
  font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 6px;
}
.hero-stat .lbl {
  font-size: 9px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.38);
}
@media(max-width:680px) {
  .hero-stats { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0; }
  .hero-stat {
    padding: 16px 12px;
    border-right: 1px solid rgba(212,168,83,0.18);
    border-bottom: 1px solid rgba(212,168,83,0.18);
  }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-child(n+3) { border-bottom: none; }
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--gold); color: var(--heritage);
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 14px 32px; border-radius: 3px; text-decoration: none;
  transition: background 0.2s;
}
.btn:hover { background: var(--gold-lt); }
.btn-dark {
  background: var(--heritage); color: var(--gold-lt);
  text-transform: none; letter-spacing: 0.5px;
}
.btn-dark:hover { background: var(--forest); color: var(--gold-lt); }
/* For use ON dark bands, where .btn-dark would be invisible. */
.btn-outline {
  background: transparent; color: var(--gold-lt);
  border: 1px solid rgba(212,168,83,0.55);
  text-transform: none; letter-spacing: 0.3px; font-weight: 600;
}
.btn-outline:hover { background: rgba(212,168,83,0.12); color: var(--gold-lt); }
.btn-ghost {
  background: transparent; color: var(--gold-dk);
  border: 1px solid var(--border); text-transform: none; letter-spacing: 0.3px;
  font-weight: 600; padding: 12px 24px;
}
.btn-ghost:hover { background: rgba(212,168,83,0.08); }

/* ── ENTITY BADGE / FACT STRIP ─────────────────────── */
.charity-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(212,168,83,0.08); border: 1px solid rgba(212,168,83,0.3);
  border-radius: 4px; padding: 10px 16px;
}
.charity-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-dk); flex-shrink: 0; }
.charity-badge span { font-size: 12px; color: var(--muted); }

.fact-strip {
  background: var(--forest); padding: 22px 40px;
  border-top: 1px solid rgba(212,168,83,0.15);
}
.fact-strip .wrap {
  display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: center;
}
.fact { text-align: center; }
.fact dt {
  font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(212,168,83,0.45); margin-bottom: 3px;
}
.fact dd { font-size: 13px; color: rgba(255,255,255,0.75); }

/* ── CARDS & GRIDS ─────────────────────────────────── */
.two-col { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; margin-top: 36px; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
@media(max-width:900px) { .three-col { grid-template-columns: minmax(0,1fr); } }
@media(max-width:760px) { .two-col { grid-template-columns: minmax(0,1fr); } }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold); border-radius: 6px; padding: 26px 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 10px;
}

.callout {
  background: rgba(212,168,83,0.07); border-left: 3px solid var(--gold);
  padding: 20px 24px; margin: 28px 0;
}
.callout p { font-size: 14px; }
.dark-section .callout { background: rgba(255,255,255,0.05); }

/* ── NUMBERED SEQUENCE (how the fund works) ────────── */
.min-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 32px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.min-item:last-child { border-bottom: none; }
.min-num {
  font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 300;
  color: rgba(212,168,83,0.45); line-height: 1; text-align: right; padding-top: 4px;
}
.min-body strong { font-size: 14px; font-weight: 600; color: var(--heritage); display: block; margin-bottom: 6px; }
.min-body p { font-size: 14px; color: var(--muted); }
@media(max-width:560px) { .min-item { grid-template-columns: 48px 1fr; gap: 16px; } .min-num { font-size: 36px; } }

/* ── WHY ROW ───────────────────────────────────────── */
.why-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.why-item { padding: 0 24px 0 0; position: relative; }
.why-item:not(:last-child)::after {
  content: ''; position: absolute; right: 12px; top: 4px;
  height: 52px; width: 1px; background: rgba(212,168,83,0.3);
}
.why-icon { margin-bottom: 14px; }
.why-title {
  font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 400;
  font-style: italic; color: white; margin-bottom: 8px; line-height: 1.3;
}
.why-body { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.65; }
@media(max-width:720px) {
  .why-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .why-item::after { display: none; }
}
@media(max-width:520px) { .why-row { grid-template-columns: minmax(0,1fr); } }

/* ── BOARD ─────────────────────────────────────────── */
.board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.board-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(212,168,83,0.15);
  border-radius: 8px; overflow: hidden;
}
.board-card .photo { aspect-ratio: 3/4; overflow: hidden; background: rgba(255,255,255,0.06); }
.board-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.board-card .body { padding: 12px 14px; }
.board-card .name {
  font-family: 'Cormorant Garamond', serif; font-size: 15px; color: white; margin-bottom: 4px;
}
.board-card .role {
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.board-card .bio { font-size: 12.5px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.board-card .name a { display: inline-block; vertical-align: middle; margin-left: 6px; opacity: 0.75; }
@media(max-width:900px) { .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media(max-width:560px) { .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── OUR WORK ──────────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
@media(max-width:860px) { .work-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media(max-width:560px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  display: block; text-decoration: none;
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold); border-radius: 6px; overflow: hidden;
  transition: box-shadow 0.2s;
}
.work-card:hover { box-shadow: 0 6px 20px rgba(13,35,24,0.10); }
.work-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--parchment); }
.work-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-card-body { padding: 20px 20px 22px; }
.work-card-meta {
  font-size: 10px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 8px;
}
.work-card h3 { font-size: 21px; margin-bottom: 8px; }
.work-card p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.work-card .more {
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.4px; color: var(--gold-dk);
  border-bottom: 1px solid rgba(139,94,42,0.4); padding-bottom: 1px;
}

/* ── BREADCRUMB & ARTICLE NAVIGATION ───────────────── */
.breadcrumb {
  font-size: 11px; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.4); margin-bottom: 18px;
}
.breadcrumb a { color: rgba(212,168,83,0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 8px; opacity: 0.45; }

.article-nav {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--border);
}
.adjacent { display: block; text-decoration: none; }
.adjacent.next { text-align: right; }
.adjacent .dir {
  display: block; font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 6px;
}
.adjacent .ttl {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: 17px;
  color: var(--heritage); line-height: 1.3;
}
.adjacent:hover .ttl { color: var(--gold-dk); }
@media(max-width:560px) {
  .article-nav { grid-template-columns: 1fr; }
  .adjacent.next { text-align: left; }
}

/* ── HOME: WHERE THINGS STAND ──────────────────────── */
.stand-block { padding: 30px 0 34px; border-bottom: 1px solid var(--border); }
.stand-block:last-child { border-bottom: none; padding-bottom: 0; }
.stand-block .card-label { margin-bottom: 6px; }
.stand-block > p.small { margin-bottom: 0; }

/* ── LATEST UPDATES (home page) ────────────────────── */
.latest-list { margin-top: 4px; border-top: none; }
.latest-item {
  display: flex; align-items: baseline; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.latest-meta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; width: 250px; }
/* Sized for the longest date the site can produce ("30 September 2026"),
   so the tag beside it never gets crowded. */
.latest-date { font-size: 12px; color: var(--muted); white-space: nowrap; width: 124px; flex-shrink: 0; }
.latest-title {
  font-family: 'Cormorant Garamond', serif; font-size: 19px;
  color: var(--heritage); text-decoration: none; line-height: 1.3;
}
.latest-title:hover { color: var(--gold-dk); }
@media(max-width:640px) {
  .latest-item { flex-direction: column; gap: 8px; }
  .latest-meta { width: auto; }
}

/* ── CONSTITUTION ──────────────────────────────────── */
.constitution { margin-top: 40px; }
.constitution p { font-size: 15px; max-width: 74ch; }

/* Contents rail */
.const-rail {
  background: var(--parchment); border: 1px solid var(--border);
  border-radius: 6px; padding: 26px 30px; margin-bottom: 48px;
}
.const-rail h2 { font-size: 26px; margin-bottom: 14px; }
.const-rail ol { list-style: none; columns: 2; column-gap: 40px; }
@media(max-width:680px) { .const-rail ol { columns: 1; } }
.const-rail li { break-inside: avoid; padding: 5px 0; }
.const-rail a {
  text-decoration: none; color: var(--forest); font-size: 14px;
  display: flex; gap: 12px;
}
.const-rail a:hover { color: var(--gold-dk); }
.const-rail .r-num {
  color: var(--gold-dk); font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px; min-width: 46px; padding-top: 3px;
}

/* Parts and clauses */
.constitution .part { margin-bottom: 52px; scroll-margin-top: 80px; }
.constitution .part-h {
  font-size: 30px; padding-bottom: 12px; margin-bottom: 22px;
  border-bottom: 2px solid var(--gold);
}
.constitution .part-range {
  display: block; font-family: 'DM Sans', sans-serif; font-size: 10px;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-dk); margin-bottom: 4px;
}
.constitution .clause {
  display: flex; gap: 14px; align-items: baseline;
  font-size: 20px; margin: 32px 0 10px; scroll-margin-top: 80px;
}
.constitution .clause .anchor { text-decoration: none; flex-shrink: 0; }
.constitution .clause .num {
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700;
  color: var(--gold-dk); letter-spacing: 0.5px;
}
.constitution .clause .anchor:hover .num { text-decoration: underline; }
.constitution .subclause {
  display: flex; gap: 12px; align-items: baseline;
  font-family: 'DM Sans', sans-serif; font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.3px; color: var(--heritage);
  margin: 26px 0 8px; scroll-margin-top: 80px;
}
.constitution .subclause .anchor { text-decoration: none; flex-shrink: 0; }
.constitution .subclause .num {
  color: var(--gold-dk); font-weight: 700; font-size: 12px;
}
.constitution .subclause .anchor:hover .num { text-decoration: underline; }

/* Lettered and roman lists */
.constitution ol.lettered, .constitution ol.roman { list-style: none; margin: 12px 0 12px 4px; }
.constitution ol.lettered li, .constitution ol.roman li {
  display: flex; gap: 10px; padding: 5px 0;
  font-size: 15px; line-height: 1.75; max-width: 74ch;
}
.constitution .mk { color: var(--gold-dk); font-weight: 600; flex-shrink: 0; min-width: 26px; }

/* Definitions */
.constitution p.defn {
  padding-left: 16px; border-left: 2px solid var(--border); margin-bottom: 12px;
}
.constitution p.defn b i, .constitution p.defn i b { color: var(--heritage); font-style: italic; }

/* Cross references */
.constitution .xref {
  color: var(--gold-dk); text-decoration: none;
  border-bottom: 1px dotted rgba(139,94,42,0.5);
}
.constitution .xref:hover { border-bottom-style: solid; }

/* ── PARTNER LOGO PANEL (update articles) ──────────── */
.partner-panel {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 32px 28px; margin: 28px 0 8px;
  text-align: center;
}
.partner-panel img { max-height: 56px; max-width: 100%; width: auto; display: inline-block; }
.partner-panel .label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 18px;
}
.partner-panel .caption { font-size: 12px; color: var(--muted); margin-top: 18px; }
/* For logos supplied as white artwork. */
.partner-panel.dark {
  background: var(--heritage); border-color: rgba(212,168,83,0.28);
}
.partner-panel.dark .label { color: rgba(212,168,83,0.75); }
.partner-panel.dark .caption { color: rgba(255,255,255,0.6); }

/* ── PEOPLE CARDS (light background, used in update articles) ── */
.people-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin: 28px 0 8px;
}
@media(max-width:560px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.people-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.people-card .photo { aspect-ratio: 3/4; overflow: hidden; background: var(--parchment); }
.people-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.people-card .body { padding: 12px 14px; }
.people-card .name {
  font-family: 'Cormorant Garamond', serif; font-size: 16px;
  color: var(--heritage); line-height: 1.25; margin-bottom: 4px;
}
.people-card .name a { display: inline-block; vertical-align: middle; margin-left: 5px; opacity: 0.7; }
.people-card .name a:hover { opacity: 1; }
.people-card .role {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 7px;
}
.people-card .bio { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

.director-grid, .adviser-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.director-grid .board-card .photo,
.adviser-grid .board-card .photo { aspect-ratio: 4/5; }
.director-grid .board-card .body,
.adviser-grid .board-card .body { padding: 16px 18px 18px; }
.director-grid .board-card .name,
.adviser-grid .board-card .name { font-size: 20px; margin-bottom: 6px; }
.director-grid .board-card .bio,
.adviser-grid .board-card .bio { font-size: 13px; }
.adviser-grid { margin-top: 24px; }

@media(max-width:560px) {
  .director-grid, .adviser-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

/* Light-background variant, used where the board sits on white or parchment. */
.section-wide .board-card,
.parchment-section .board-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}
.section-wide .board-card .photo,
.parchment-section .board-card .photo { background: var(--parchment); }
.section-wide .board-card .name,
.parchment-section .board-card .name { color: var(--heritage); }
.section-wide .board-card .role,
.parchment-section .board-card .role { color: var(--gold-dk); }
.section-wide .board-card .bio,
.parchment-section .board-card .bio { color: var(--muted); }
.section-wide .board-card .name a svg,
.parchment-section .board-card .name a svg { fill: var(--gold-dk); }

/* ── PAST GIVING ───────────────────────────────────── */
.past-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
@media(max-width:760px) { .past-grid { grid-template-columns: 1fr; } }
.past-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.past-card .img { height: 180px; overflow: hidden; }
.past-card .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.past-card .body { padding: 16px; }
.past-card .date {
  font-size: 9px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 6px;
}
.past-card strong { font-size: 13px; display: block; margin-bottom: 6px; color: var(--forest); }
.past-card span { font-size: 13px; line-height: 1.6; color: var(--muted); }

.q-list { list-style: none; margin-top: 4px; }
.q-list li {
  font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--heritage);
  padding: 9px 0; border-bottom: 1px solid var(--border); line-height: 1.35;
}
.q-list li:last-child { border-bottom: none; padding-bottom: 0; }

/* ── ACCORDION ─────────────────────────────────────── */
.accordion-wrap { margin-top: 32px; border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; text-align: left; font-family: inherit;
}
.acc-btn:hover { background: rgba(212,168,83,0.03); }
.acc-icon-wrap {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--parchment); display: flex; align-items: center; justify-content: center;
}
.acc-title-wrap { flex: 1; }
.acc-title-wrap strong {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400;
  color: var(--heritage); line-height: 1.3;
}
.acc-subtitle { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.acc-arrow { color: var(--gold); font-size: 22px; transition: transform 0.25s; flex-shrink: 0; }
.acc-item.open .acc-arrow { transform: rotate(90deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-inner { padding: 0 0 20px 52px; }
.acc-inner p { font-size: 14px; line-height: 1.75; }
@media(max-width:560px) { .acc-inner { padding-left: 0; } }

/* ── UPDATES / PRESS ───────────────────────────────── */
.update-list { margin-top: 8px; border-top: 1px solid var(--border); }
.update-item {
  display: grid; grid-template-columns: 150px 1fr; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.update-meta { padding-top: 2px; }
.update-date {
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
  color: var(--muted); display: block; margin-bottom: 8px;
}
.tag {
  display: inline-block; font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px;
  background: rgba(212,168,83,0.14); color: var(--gold-dk);
  border: 1px solid rgba(212,168,83,0.3);
}
.tag-statement { background: rgba(46,94,72,0.10); color: var(--heritage); border-color: rgba(46,94,72,0.28); }
.tag-letter { background: var(--heritage); color: var(--gold-lt); border-color: var(--heritage); }
.update-body h3 { font-size: 21px; margin-bottom: 8px; }
.update-body p { font-size: 14px; color: var(--muted); }
.update-body .more {
  display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px; text-decoration: none; border-bottom: 1px solid rgba(139,94,42,0.4);
}
@media(max-width:640px) {
  .update-item { grid-template-columns: 1fr; gap: 10px; }
  .update-meta { display: flex; align-items: center; gap: 12px; }
  .update-date { margin-bottom: 0; }
}

/* Four equal blocks, aligned in rows rather than two stacked columns. */
.gov-grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 34px 44px; margin-top: 28px;
}
.gov-grid h3 { font-size: 21px; margin-bottom: 10px; }
.gov-grid p { font-size: 14.5px; margin-bottom: 0; }
@media(max-width:760px) { .gov-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Sub-headings inside the dark board section */
.dark-section h3 + p.small { color: rgba(255,255,255,0.62); font-size: 13px; }

/* ── DOCUMENTS: published and internal ─────────────── */
.doc-feature {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; margin: 36px 0 12px;
}
@media(max-width:760px) { .doc-feature { grid-template-columns: 1fr; } }
.doc-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold); border-radius: 6px; padding: 26px 26px 24px;
}
.doc-card h3 { font-size: 26px; margin-bottom: 10px; }
.doc-card p { font-size: 14.5px; color: var(--muted); }

.doc-secondary { margin-top: 44px; }
.doc-secondary h3 { font-size: 22px; }
.doc-secondary > p { max-width: 88ch; font-size: 14px; }

.policy-list {
  list-style: none; margin-top: 18px;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 40px;
  border-top: 1px solid var(--border);
}
@media(max-width:820px) { .policy-list { grid-template-columns: 1fr; } }
.policy-list li {
  padding: 15px 0; border-bottom: 1px solid var(--border);
  font-size: 13.5px; color: var(--muted); line-height: 1.7;
}
.policy-list li strong { color: var(--forest); font-weight: 600; }

/* ── DOCUMENT / POLICY TABLE ───────────────────────── */
.doc-list { margin-top: 28px; border-top: 1px solid var(--border); }
.doc-row {
  display: grid; grid-template-columns: 1fr 210px 110px; gap: 24px;
  align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border);
}
.doc-row .name { font-size: 14px; font-weight: 500; color: var(--forest); }
.doc-row .note { font-size: 13px; color: var(--muted); }
.status {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; text-align: center; white-space: nowrap;
}
.status-adopted { background: rgba(46,94,72,0.12); color: var(--heritage); }
.status-pending { background: rgba(212,168,83,0.16); color: var(--gold-dk); }
.status-due { background: var(--parchment); color: var(--muted); }
@media(max-width:640px) {
  .doc-row { grid-template-columns: 1fr auto; }
  .doc-row .note { grid-column: 1 / -1; }
}

/* ── DEFINITION TABLE (entity details) ─────────────── */
.detail-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.detail-table th {
  text-align: left; font-weight: 500; color: var(--muted);
  padding: 12px 20px 12px 0; border-bottom: 1px solid var(--border);
  width: 220px; vertical-align: top;
}
.detail-table td {
  padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--forest);
}
@media(max-width:560px) {
  .detail-table th, .detail-table td { display: block; width: auto; border-bottom: none; padding: 4px 0; }
  .detail-table td { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
}

/* ── PROGRESS ──────────────────────────────────────── */
.progress-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.progress-head .amount { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--heritage); }
.progress-track { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 4px; }
.progress-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.donor-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  gap: 16px; margin: 32px 0;
}
.donor-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold); border-radius: 6px; padding: 20px 18px;
}
.donor-card .who { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--heritage); margin-bottom: 4px; }
.donor-card .when {
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 8px;
}
.donor-card .amt { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--gold-dk); margin-bottom: 8px; }
.donor-card .note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.donor-card.open {
  background: var(--parchment); border: 1px dashed var(--border);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
}

.donor-list { margin: 32px 0 24px; border-top: 1px solid var(--border); }
.donor-row {
  display: grid; grid-template-columns: 240px 1fr 130px; gap: 24px;
  align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--border);
}
.donor-row .who {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--heritage);
}
.donor-row .when {
  display: block; font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dk); margin-top: 2px;
}
.donor-row .note { font-size: 13px; color: var(--muted); }
.donor-row .amt {
  font-family: 'Cormorant Garamond', serif; font-size: 22px;
  color: var(--gold-dk); text-align: right;
}
.donor-row .amt .times { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--muted); }
.donor-row.named { background: rgba(212,168,83,0.05); }
.donor-row.open .who { font-style: italic; color: var(--muted); }
.donor-row.open .amt a {
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
}
@media(max-width:640px) {
  .donor-row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .donor-row .note { grid-column: 1 / -1; }
}

/* ── CTA BAND ──────────────────────────────────────── */
.cta-band { background: var(--heritage); padding: 60px 40px; text-align: center; }
.cta-band h2 { color: var(--gold-lt); text-wrap: balance; }
.cta-band p {
  color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 28px;
  text-wrap: balance;
}
.cta-band .gold-divider { margin: 16px auto 24px; }

/* ── ACKNOWLEDGEMENT OF COUNTRY ────────────────────── */
.acknowledgement {
  max-width: 960px; margin: 0 auto 34px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(212,168,83,0.15);
}
.acknowledgement p {
  max-width: none; margin: 0;
  font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,0.6);
}

/* ── FOOTER ────────────────────────────────────────── */
footer { background: var(--forest); color: rgba(255,255,255,0.5); padding: 48px 40px 32px; }
.footer-social {
  max-width: 960px; margin: 0 auto 26px; display: flex; gap: 12px;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.35); color: rgba(212,168,83,0.75);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover {
  background: rgba(212,168,83,0.14); color: var(--gold); border-color: var(--gold);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  max-width: 960px; margin: 0 auto 32px;
}
@media(max-width:760px) { .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; } }
.footer-col h4 {
  font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(212,168,83,0.5); margin-bottom: 12px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.55); text-decoration: none;
  font-size: 13px; padding: 3px 0;
}
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 12px; color: rgba(255,255,255,0.42); line-height: 1.7; }
.footer-legal {
  max-width: 960px; margin: 0 auto; padding-top: 24px;
  border-top: 1px solid rgba(212,168,83,0.15);
  font-size: 11px; color: rgba(255,255,255,0.35); line-height: 1.8;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media(max-width:680px) {
  .section, .section-wide, .parchment-section, .dark-section,
  .page-head, .cta-band, footer { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 60px 20px 52px; }
  h2 { font-size: 28px; }
}

/* ── OUR WORK: the record of distributions ─────────── */
.work-list { margin-top: 36px; }
.work-year {
  display: flex; align-items: center; gap: 18px;
  margin: 0 0 22px; padding-top: 8px;
}
.work-year span {
  font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 300;
  color: var(--gold-dk); line-height: 1;
}
.work-year::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.work-group { margin-bottom: 44px; }

.work-item {
  display: grid; grid-template-columns: 300px 1fr; gap: 32px;
  align-items: start; padding: 0 0 34px;
  margin-bottom: 34px; border-bottom: 1px solid var(--border);
}
.work-group .work-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 8px; }
@media(max-width:760px) { .work-item { grid-template-columns: 1fr; gap: 18px; } }

.work-shot {
  border-radius: 6px; overflow: hidden; border: 1px solid var(--border);
  background: var(--parchment); aspect-ratio: 4/3;
}
.work-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.work-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.work-place {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted);
}
.work-body h3 { font-size: 24px; margin-bottom: 10px; }
.work-body p { font-size: 15px; color: var(--muted); }

/* The same three facts for every distribution */
.work-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  margin: 28px 0 8px; padding: 22px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
@media(max-width:620px) { .work-facts { grid-template-columns: 1fr; gap: 16px; } }
.work-fact .l {
  display: block; font-size: 9px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 7px;
}
.work-fact .v {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: 20px;
  font-weight: 400; color: var(--heritage); line-height: 1.3;
}

.work-figure { margin: 28px 0 0; }
.work-figure img {
  width: 100%; height: auto; display: block;
  border-radius: 6px; border: 1px solid var(--border);
}

/* ── VIDEO: click-to-play facade ───────────────────── */
.video-embed {
  position: relative; aspect-ratio: 16/9; margin: 30px 0 10px;
  border-radius: 6px; overflow: hidden;
  background: var(--heritage);
  border: 1px solid rgba(212,168,83,0.3);
}
/* With a poster, the artwork carries the frame and the controls sit over it. */
.video-embed.has-poster { background-size: cover; background-position: center; }
/* The poster artwork already carries the title, so only the control shows. */
.video-embed.has-poster .video-play {
  justify-content: center; padding: 0;
  background: rgba(13,35,24,0.10);
}
.video-embed.has-poster .video-play:hover { background: rgba(13,35,24,0.28); }
.video-embed.has-poster .video-icon {
  width: 74px; height: 74px;
  background: rgba(13,35,24,0.78); border-color: rgba(212,168,83,0.8);
  box-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.video-embed.has-poster .video-label,
.video-embed.has-poster .video-note { display: none; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit; padding: 24px; text-align: center;
  transition: background 0.2s;
}
.video-play:hover { background: rgba(212,168,83,0.07); }
.video-icon {
  display: flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.55); color: var(--gold);
  transition: background 0.2s, transform 0.2s;
}
.video-play:hover .video-icon { background: rgba(212,168,83,0.14); transform: scale(1.04); }
.video-label {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300;
  color: var(--gold-lt); line-height: 1.35; max-width: 32ch;
}
.video-note {
  font-size: 11px; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45); max-width: 40ch;
}
.video-alt { font-size: 12px; color: var(--muted); margin: 0 0 30px; }
.video-alt a { color: var(--gold-dk); }

.tag-media { background: rgba(46,94,72,0.12); color: var(--heritage); border-color: rgba(46,94,72,0.3); }

/* ── Home hero ─────────────────────────────────────── */
.hero-h {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; color: var(--gold-lt);
  letter-spacing: 0.5px; line-height: 1.08;
  text-wrap: balance;
}
.hero-a { padding: 72px 40px 64px; }
.hero-a .hero-mark svg { height: 76px; }
.hero-a .hero-h { font-size: clamp(38px, 6vw, 68px); margin: 26px 0 0; }
.hero-a .hero-divider { margin: 26px auto 24px; }
.hero-a .hero-lede { font-style: normal; font-size: clamp(16px, 1.7vw, 19px); max-width: 58ch; }
.hero-a .hero-stats { margin-top: 52px; }

/* ── HOME: the three charitable purposes ───────────── */
.purpose-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px; margin-top: 40px;
}
.purpose img {
  width: 100%; height: 180px; object-fit: cover; display: block;
  border-radius: 6px; margin-bottom: 16px;
}
.purpose-num {
  display: block; font-family: 'DM Sans', sans-serif; font-size: 10px;
  font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--gold-dk); margin-bottom: 9px;
}
.purpose h3 { font-size: 23px; margin-bottom: 9px; }
.purpose p { font-size: 14.5px; color: var(--muted); margin-bottom: 0; }

@media(max-width:820px) {
  .purpose-row { grid-template-columns: 1fr; gap: 34px; }
  .purpose img { height: 200px; }
}


/* ── HOME: the founding fund ───────────────────────── */
.fund-split {
  display: grid; grid-template-columns: 1fr 420px; gap: 56px;
  align-items: center; margin-top: 30px;
}
@media(max-width:860px) { .fund-split { grid-template-columns: 1fr; gap: 32px; } }
.fund-meter {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 26px 28px;
}
.fm-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.fm-val {
  font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 300;
  color: var(--heritage); line-height: 1;
}
.fm-of { font-size: 12px; color: var(--muted); }
.fm-foot {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 10px;
  font-size: 11.5px; color: var(--muted);
}
.fm-foot strong { color: var(--gold-dk); font-weight: 600; }

/* ── HOME: latest updates as cards ─────────────────── */
.latest-cards {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; margin-top: 34px;
}
@media(max-width:760px) { .latest-cards { grid-template-columns: 1fr; } }
.latest-card {
  display: block; text-decoration: none;
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold); border-radius: 6px;
  padding: 26px 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.latest-card:hover { border-color: var(--gold-dk); transform: translateY(-2px); }
.lc-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.lc-date { font-size: 11.5px; color: var(--muted); }
.latest-card h3 { font-size: 25px; margin-bottom: 10px; color: var(--heritage); }
.latest-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.lc-more {
  font-size: 12px; font-weight: 600; letter-spacing: 0.6px;
  color: var(--gold-dk); border-bottom: 1px solid rgba(139,94,42,0.4);
  padding-bottom: 2px;
}
.latest-card:hover .lc-more { border-bottom-color: var(--gold-dk); }

/* Buttons keep their own colours inside dark sections, where a bare
   `.dark-section a` rule would otherwise paint them gold on gold. */
.dark-section a.btn { color: var(--forest); }
.dark-section a.btn-outline,
.dark-section a.btn-ghost { color: var(--gold); }

/* ── HOME: the modelling invitation ────────────────── */
.model-split {
  display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: center;
}
@media(max-width:880px) { .model-split { grid-template-columns: 1fr; gap: 34px; } }
.model-dials {
  border: 1px solid rgba(212,168,83,0.3); border-radius: 8px;
  padding: 22px 24px; background: rgba(212,168,83,0.05);
}
.md-cap {
  font-size: 10px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--gold); padding-bottom: 12px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(212,168,83,0.28);
}
.md-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid rgba(212,168,83,0.16);
}
.md-row:last-of-type { border-bottom: none; }
.md-l { font-size: 12.5px; color: rgba(255,255,255,0.62); }
.md-v {
  font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 400;
  color: var(--gold-lt); white-space: nowrap;
}
.md-note {
  font-size: 11px; line-height: 1.6; color: rgba(255,255,255,0.42);
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(212,168,83,0.16);
}

/* ═══ ONE-PAGE EXPLAINER ═══════════════════════════════════════════ */
.op-head {
  background: var(--heritage); padding: 62px 40px 54px; text-align: left;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(212,168,83,0.09), transparent 62%);
}
.op-head .wrap, .op-body .wrap { max-width: 820px; }
.op-mark svg { height: 64px; }
.op-head h1 {
  font-size: clamp(34px, 5vw, 52px); font-weight: 300; color: var(--gold-lt);
  margin: 22px 0 6px; letter-spacing: 0.5px;
}
.op-tag {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px); color: var(--gold); margin-bottom: 20px;
}
.op-sub {
  font-size: 15.5px; line-height: 1.8; color: rgba(255,255,255,0.74);
  max-width: none; margin: 0;
}

.op-body { padding-top: 56px; padding-bottom: 20px; }

.op-step {
  display: block; position: relative;
  padding: 46px 0; border-bottom: 1px solid var(--border);
}
.op-step:last-of-type { border-bottom: none; }
.op-n {
  position: absolute; left: -74px; top: 50px;
  font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 300;
  color: rgba(139,94,42,0.38); line-height: 1; text-align: right; width: 54px;
}
@media(max-width:1080px) {
  .op-n { position: static; width: auto; text-align: left; font-size: 28px; margin-bottom: 6px; }
}
.op-step h2 { font-size: 30px; margin-bottom: 0; }
.op-step p { font-size: 15px; color: var(--muted); margin-bottom: 14px; max-width: none; }
.op-step .gold-divider { margin: 10px 0 20px; }
.op-step p strong { color: var(--heritage); }
.op-note {
  font-size: 12.5px !important; color: var(--muted); font-style: italic;
  padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--border);
}

/* entity facts */
.op-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  margin-top: 18px; padding: 18px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media(max-width:680px) { .op-facts { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; } }
.op-facts .l, .op-three .l, .op-people .l {
  display: block; font-size: 9px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 5px;
}
.op-facts .v { font-family: 'Cormorant Garamond', serif; font-size: 19px; color: var(--heritage); }

/* the flow */
.op-flow {
  display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr; gap: 14px;
  align-items: stretch; margin: 24px 0 8px;
}
@media(max-width:760px) {
  .op-flow { grid-template-columns: 1fr; gap: 10px; }
  .of-arrow { display: none; }
}
.of-item {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold); border-radius: 6px;
  padding: 20px 20px 18px; display: flex; flex-direction: column;
}
.of-k {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: 19px;
  color: var(--heritage); margin-bottom: 7px;
}
.of-item p { font-size: 13px !important; margin-bottom: 0; }
.of-arrow { color: var(--gold-dk); font-size: 18px; text-align: center; align-self: center; }

/* three purposes */
.op-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 10px; }
.op-three > div { padding: 0 26px; position: relative; }
.op-three > div:first-child { padding-left: 0; }
.op-three > div:last-child { padding-right: 0; }
.op-three > div:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 4px; bottom: 4px;
  width: 1px; background: var(--border);
}
.op-ic { color: var(--gold); margin-bottom: 12px; }
@media(max-width:680px) { .op-three { grid-template-columns: 1fr; gap: 18px; } }
.op-three strong {
  display: block; font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 21px; color: var(--heritage); margin: 4px 0 8px;
}
.op-three p { font-size: 13.5px !important; margin-bottom: 0; }

/* people */
.op-people { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 26px; margin: 18px 0 4px; }
@media(max-width:680px) { .op-people { grid-template-columns: 1fr; gap: 16px; } }
.op-people p { font-size: 14px !important; margin-bottom: 0; }

/* meter */
.op-meter {
  background: var(--parchment); border-radius: 8px; padding: 22px 24px; margin-top: 18px;
}
.om-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.om-v { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 300; color: var(--heritage); line-height: 1; }
.om-of { font-size: 12px; color: var(--muted); }
.om-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 9px; font-size: 11.5px; color: var(--muted); }
.om-foot strong { color: var(--gold-dk); font-weight: 600; }

/* close */
.op-cta {
  margin-top: 40px; padding: 30px 0 10px; border-top: 2px solid var(--gold); text-align: left;
}
.op-cta h2 { font-size: 24px; margin-bottom: 8px; }
.op-cta p { font-size: 14px; color: var(--muted); }
.op-cta .op-note { border-top: none; max-width: none; margin: 0; }

.op-roster-note { margin-top: 16px !important; font-size: 14.5px; }
.op-roster { margin-top: 18px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 26px; }
@media(max-width:680px) { .op-roster { grid-template-columns: 1fr; gap: 16px; } }
.op-roster .l {
  display: block; font-size: 9px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 5px;
}
.op-roster span.v { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.65; }

.op-dl { margin-top: 26px; text-align: left; }
.nb { white-space: nowrap; }
.op-more { margin: 18px 0 0 !important; }
.op-more a {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.4px; color: var(--gold-dk);
  text-decoration: none; border-bottom: 1px solid rgba(139,94,42,0.35); padding-bottom: 2px;
}
.op-more a:hover { border-bottom-color: var(--gold-dk); }

/* ── print: send this as a PDF ── */
@media print {
  .site-nav, footer, .nav-drawer, .op-dl, .op-more { display: none !important; }
  html, body, main, .section-wide, .op-body { background: #fff !important; }
  .op-head {
    background: #fff !important; background-image: none !important;
    padding: 0 0 7px; text-align: left; border-bottom: 2px solid #8B5E2A;
  }
  .op-head h1 { color: #0D2318 !important; font-size: 18pt; margin: 3px 0 1px; }
  .op-tag { color: #8B5E2A !important; font-size: 10pt; margin-bottom: 5px; }
  .op-sub { color: #333 !important; font-size: 8.4pt; line-height: 1.32; margin: 0; max-width: none; }
  .op-mark svg { height: 20px; }

  .op-body { padding: 0 !important; }
  .op-step { padding: 0; }
  .op-n { position: static; width: auto; text-align: left; margin-bottom: 2px; }
  .op-step h2 { font-size: 10.5pt; margin-bottom: 3px; }
  .op-step p { margin-bottom: 2px; }
  .op-step p { font-size: 7.7pt !important; line-height: 1.3; margin-bottom: 3px; color: #333 !important; }
  .op-n { font-size: 13pt; }
  .op-note { font-size: 7.2pt !important; padding-top: 3px; margin-top: 0; line-height: 1.28; }

  .op-facts { margin-top: 5px; padding: 5px 0; gap: 10px; }
  .op-facts .v { font-size: 10pt; }
  .op-facts .l, .op-three .l, .op-people .l { font-size: 6.5pt; margin-bottom: 2px; }

  /* the arrow columns collapse the grid in print; drop them */
  .op-flow { margin: 6px 0 2px; gap: 8px; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); align-items: stretch; }
  .op-step .gold-divider { display: none; }
  .op-ic { display: none; }
  .op-three > div { padding: 0 9px; }
  .op-three > div:first-child { padding-left: 0; }
  .op-three > div:last-child { padding-right: 0; }
  .op-three strong { font-size: 10.5pt; margin: 0 0 2px; }
  .of-arrow { display: none !important; }
  .of-item { padding: 6px 8px 5px; background: #F5F2EA !important; border: none; border-top: 2px solid #8B5E2A; }
  .of-k { font-size: 10.5pt; margin-bottom: 3px; }
  .of-item p { font-size: 7.4pt !important; line-height: 1.3; }

  .op-three { gap: 12px; margin-top: 5px; }
  .op-three strong { font-size: 10.5pt; margin-bottom: 2px; }
  .op-three p { font-size: 7.6pt !important; line-height: 1.3; }

  .op-roster { margin: 5px 0 2px; gap: 14px; }
  .op-roster-note { margin-top: 5px !important; font-size: 7.7pt !important; }
  .op-roster .l { font-size: 6.5pt; margin-bottom: 1px; }
  .op-roster span.v { font-size: 7.6pt; line-height: 1.3; }


  .op-meter { padding: 12px 14px; margin-top: 9px; background: #F5F2EA !important; }
  .om-v { font-size: 18pt; }
  .om-of, .om-foot { font-size: 7.6pt; }
  .progress-track { height: 6px; }

  /* the close becomes a single line in print, so it sits on page one */
  .op-cta { margin-top: 5px; padding: 6px 0 0; break-before: avoid; }
  .op-cta h2 { display: none; }
  .op-cta { text-align: left; }
  .op-cta p::before { content: "To contribute, or to ask anything"; display: block; font-weight: 600; margin-bottom: 2px; }
  .op-cta h2 { font-size: 10.5pt; margin-bottom: 3px; }
  .op-cta p { font-size: 8pt; }

  /* keep small blocks whole; let the long sections flow */
  .op-facts, .op-flow, .op-three, .op-people, .op-meter, .op-cta { break-inside: avoid; }
  .of-item, .op-three > div { break-inside: avoid; }

  .of-item, .op-meter, .progress-fill, .progress-track {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  a { text-decoration: none; color: inherit; }
}

/* ── HOME: the model preview ───────────────────────── */
.model-preview {
  border: 1px solid rgba(212,168,83,0.3); border-radius: 8px;
  padding: 20px 22px 18px; background: rgba(212,168,83,0.05);
}
.mp-cap {
  font-size: 9px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 12px;
}
.mp-chart { width: 100%; height: auto; display: block; }
.mp-set {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px 18px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(212,168,83,0.2);
}
.mp-set .l {
  display: block; font-size: 9px; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 3px;
}
.mp-set .v {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: 20px;
  color: var(--gold-lt); line-height: 1.15;
}
.mp-set .k {
  display: inline-block; margin-top: 5px; font-size: 8.5px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,0.38);
  border: 1px solid rgba(212,168,83,0.26); border-radius: 3px; padding: 2px 6px;
}
.mp-note {
  font-size: 11px; line-height: 1.6; color: rgba(255,255,255,0.42);
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(212,168,83,0.16);
}


/* Long email addresses and URLs must be able to wrap rather than widen
   their grid track. */
a[href^="mailto:"], a[href^="http"], .detail-table td { overflow-wrap: anywhere; }

/* ── Grids that were previously inline, now with mobile breakpoints ── */
.what-is-grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) 260px; gap: 32px;
}
@media(max-width:900px) { .what-is-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media(max-width:620px) { .what-is-grid { grid-template-columns: minmax(0,1fr); gap: 24px; } }

.proj-header-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 28px 0 20px;
}
@media(max-width:760px) { .proj-header-stats { grid-template-columns: minmax(0,1fr); } }

.sliders-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px 32px; }
@media(max-width:700px) { .sliders-grid { grid-template-columns: minmax(0,1fr); } }

.ic-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 12px;
}
@media(max-width:560px) { .ic-grid { grid-template-columns: minmax(0,1fr); } }

/* The founders photograph is a fixed-height panel on desktop only */
@media(max-width:760px) { .founders-photo { height: 300px !important; } }

.founders-row {
  display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 56px; align-items: center;
}
@media(max-width:860px) { .founders-row { grid-template-columns: minmax(0,1fr); gap: 32px; } }


/* Visually hidden, still read by screen readers and still part of the outline. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
