/*
Theme Name: ADOU — Atlanta Daughters of Uganda
Theme URI: https://example.org/adou
Author: Atlanta Daughters of Uganda
Description: Custom theme for Atlanta Daughters of Uganda (ADOU). Includes Events with online registration, Photo Albums, Leadership Team, membership applications with leadership approval, online dues payment links, and CSV exports. Page text is editable under Appearance → Customize.
Version: 1.5.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adou
*/

:root {
  color-scheme: light dark;
  --plum-950: #2a0645;
  --plum-900: #3b0a63;
  --plum-800: #4a1178;
  --plum-700: #5d1f92;
  --plum-500: #7d3cbd;
  --plum-300: #b794dd;
  --plum-100: #ece4d8;
  --plum-50:  #f6f1ea;
  /* Warm darks for heroes, bands and footer (purple stays an accent) */
  --night-950: #1b1714;
  --night-900: #26201b;
  --night-800: #362e27;
  --gold-600: #b97e10;
  --gold-500: #d9a404;
  --gold-100: #fbf0cd;
  --ink: #1f1b18;
  --ink-soft: #5c544c;
  --paper: #ffffff;
  --paper-alt: #f8f5f0;
  --line: #e6ded3;
  --shadow: 0 18px 40px rgba(45, 32, 18, 0.12);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3eee8;
    --ink-soft: #c9bfb3;
    --paper: #171412;
    --paper-alt: #1f1b18;
    --line: #3a332c;
    --plum-50: #27221d;
    --plum-100: #302a24;
    --gold-100: #3a2f10;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--plum-700); }
@media (prefers-color-scheme: dark) { a { color: var(--plum-300); } }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
section { padding: 5.2rem 0; }
section.alt { background: var(--paper-alt); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; color: var(--ink); }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.45rem; font-weight: 600; }
.section-head { max-width: 46rem; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin: 0.9rem 0 0; font-size: 1.06rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 0.9rem;
}
.kicker::before, .kicker.centered::after {
  content: ""; width: 2rem; height: 2px; background: var(--gold-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--gold-500); color: #2a1802; }
.btn-gold:hover { background: var(--gold-600); color: #fff; }
.btn-plum, .btn-dark { background: var(--night-900); color: #fff; }
.btn-plum:hover, .btn-dark:hover { background: var(--night-800); }
@media (prefers-color-scheme: dark) { .btn-plum, .btn-dark { background: #f3eee8; color: #1b1714; } .btn-plum:hover, .btn-dark:hover { background: #fff; } }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.85); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.14); }
.btn-outline-plum { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-plum:hover { background: var(--plum-50); }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.2rem; padding: 0.6rem 0; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--plum-100); background: #fff; }
.brand .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; line-height: 1.05; color: var(--ink); }
.brand .brand-sub { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
nav.main { display: flex; gap: 1.6rem; align-items: center; }
nav.main a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.98rem; padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a.active { color: var(--ink); border-bottom-color: var(--gold-500); }
.nav .btn { padding: 0.6rem 1.3rem; font-size: 0.95rem; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--ink); font-size: 1.25rem; line-height: 1;
}
@media (max-width: 900px) {
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.6rem 1.25rem 1.1rem;
    box-shadow: var(--shadow);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  nav.main .btn { margin-top: 0.8rem; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  header.site .wrap { position: relative; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--night-950);
}
.hero img.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22, 18, 15, 0.9) 0%, rgba(27, 23, 20, 0.78) 46%, rgba(27, 23, 20, 0.38) 78%, rgba(27, 23, 20, 0.22) 100%);
}
.hero-inner { position: relative; padding: 6.2rem 0 6.8rem; max-width: 44rem; }
.hero .tagline-top {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-500); border: 1px solid rgba(217, 164, 4, 0.55); border-radius: 999px; padding: 0.4rem 1rem;
  background: rgba(27, 23, 20, 0.45); margin-bottom: 1.6rem;
}
.hero h1 { color: #fff; font-size: clamp(2.7rem, 6.4vw, 4.4rem); font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--gold-500); }
.hero p.lede { font-size: 1.16rem; color: #f3eee8; margin: 1.4rem 0 0; max-width: 36rem; }
.hero .tagline-full {
  margin-top: 1.5rem; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--plum-100);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-meta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; font-size: 0.95rem; color: #d6cbbf; }
.hero-meta strong { color: #fff; }
@media (max-width: 640px) { .hero-inner { padding: 4.2rem 0 4.8rem; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1020px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 430px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.3rem; text-align: left;
}
.pillar .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--plum-50); color: var(--plum-700); margin-bottom: 1rem;
}
@media (prefers-color-scheme: dark) { .pillar .icon { color: var(--plum-300); } }
.pillar .icon svg { width: 27px; height: 27px; }
.pillar h3 { font-size: 1.28rem; margin-bottom: 0.45rem; }
.pillar p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); line-height: 1.55; }
.belief {
  margin-top: 2.2rem; text-align: center; font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-style: italic; color: var(--plum-800);
  max-width: 52rem; margin-inline: auto;
}
@media (prefers-color-scheme: dark) { .belief { color: var(--plum-300); } }
.belief strong { font-style: normal; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split p { color: var(--ink-soft); margin: 0 0 1.05rem; }
.split p strong { color: var(--ink); }
.fact-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.5rem 0 1.8rem; }
.fact {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 0.45rem 1rem; font-size: 0.9rem; font-weight: 600;
}
.fact span { color: var(--gold-600); }

/* ---------- Purpose band ---------- */
.purpose-band { background: var(--night-900); color: #fff; position: relative; overflow: hidden; }
.purpose-band::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,4,0.20) 0%, rgba(217,164,4,0) 65%);
}
.purpose-band h2 { color: #fff; }
.purpose-band .kicker { color: var(--gold-500); }
.purpose-band p { color: #e8e0d6; font-size: 1.13rem; max-width: 56rem; }
.purpose-band p strong { color: #fff; }

/* ---------- Activities ---------- */
.activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .activities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .activities { grid-template-columns: 1fr; } }
.activity { border-top: 3px solid var(--gold-500); background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.5rem 1.4rem; }
.activity .num { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--gold-600); letter-spacing: 0.08em; }
.activity h3 { margin: 0.4rem 0 0.5rem; }
.activity p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.activity.wide { grid-column: span 1; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; background: var(--night-950); border: none; padding: 0; width: 100%; text-align: left; font: inherit; }
.shot img { width: 100%; height: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; transition: transform 0.4s ease; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.04); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.1rem 0.95rem;
  background: linear-gradient(to top, rgba(20, 16, 13, 0.85), rgba(20, 16, 13, 0));
  color: #fff; font-size: 0.92rem; font-weight: 600; line-height: 1.4;
}
.shot figcaption small { display: block; font-weight: 400; color: #ddd2c5; font-size: 0.82rem; margin-top: 0.15rem; }

/* ---------- Events ---------- */
.events-empty {
  border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--plum-50);
  padding: 2.6rem 2rem; text-align: center; max-width: 46rem; margin-inline: auto;
}
.events-empty h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.events-empty p { color: var(--ink-soft); margin: 0 auto 1.5rem; max-width: 34rem; }
.event-kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; margin-bottom: 1.8rem; }
.event-kinds span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.95rem; font-size: 0.88rem; font-weight: 600; }

/* ---------- Join / form ---------- */
.join-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.2rem; align-items: start; }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; gap: 2.2rem; } }
.join-copy p { color: var(--ink-soft); margin: 0 0 1rem; }
.join-copy .matters { font-family: var(--font-display); font-size: 1.45rem; font-style: italic; color: var(--plum-800); margin: 1.4rem 0; line-height: 1.35; }
@media (prefers-color-scheme: dark) { .join-copy .matters { color: var(--plum-300); } }
form.member {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow);
}
form.member h3 { margin-bottom: 0.3rem; }
form.member .form-sub { color: var(--ink-soft); font-size: 0.94rem; margin: 0 0 1.3rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 0.68rem 0.85rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--plum-500); outline-offset: 1px; border-color: var(--plum-500); }
.field .err { display: none; color: #b3261e; font-size: 0.85rem; margin-top: 0.3rem; }
.field.invalid input, .field.invalid select { border-color: #b3261e; }
.field.invalid .err { display: block; }
.form-done { display: none; }
.form-done.visible { display: block; }
.form-done .summary {
  background: var(--plum-50); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.15rem; font-size: 0.95rem; white-space: pre-wrap; margin: 1rem 0;
}
.form-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Partner / contact ---------- */
.partner-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.6rem; align-items: center; }
@media (max-width: 860px) { .partner-split { grid-template-columns: 1fr; } }
.partner-split .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.partner-split .photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.partner-split p { color: var(--ink-soft); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem; background: var(--paper); }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.contact-card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Footer ---------- */
footer.site { background: var(--night-950); color: #ece5dc; padding: 3.6rem 0 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }
footer.site .f-brand { display: flex; gap: 1rem; align-items: flex-start; }
footer.site .f-brand img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
footer.site h3 { color: #fff; font-size: 1.35rem; }
footer.site .f-tag { font-family: var(--font-display); font-style: italic; color: #e3c46a; margin: 0.35rem 0 0; font-size: 1.05rem; }
footer.site h4 { margin: 0 0 0.8rem; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); font-family: var(--font-body); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 0.5rem; }
footer.site a { color: #ece5dc; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.16); margin-top: 2.6rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.9rem; color: #c2b6a8; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(18, 15, 13, 0.94); padding: 1.2rem;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 12px; }
.lightbox figcaption { color: #f3eee8; margin-top: 1rem; font-size: 1rem; }
.lightbox button {
  position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); color: #fff;
  font-size: 1.3rem; cursor: pointer;
}

/* ---------- Steps, status pills ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.25rem; }
.step .n { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--gold-600); letter-spacing: 0.04em; }
.step h3 { font-size: 1.18rem; margin: 0.3rem 0 0.4rem; }
.step p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }
.pill { display: inline-block; padding: 0.16rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.pill-pending { background: var(--gold-100); color: var(--gold-600); }
.pill-ok { background: #e0f1e2; color: #1c6b2a; }
.pill-no { background: #fbe9e7; color: #a02c22; }
.pill-info { background: var(--plum-100); color: var(--plum-800); }
@media (prefers-color-scheme: dark) {
  .pill-ok { background: #15351b; color: #93d69b; }
  .pill-no { background: #3d1a16; color: #f0a49c; }
  .pill-info { color: var(--plum-100); }
}
.fineprint { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 1.1rem; }
.ack-ref { font-weight: 700; color: var(--plum-800); }
@media (prefers-color-scheme: dark) { .ack-ref { color: var(--plum-300); } }

/* ---------- Event cards & registration ---------- */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: start; }
@media (max-width: 980px) { .event-grid { grid-template-columns: 1fr; } }
.event-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.45rem; box-shadow: var(--shadow); }
.event-card .when { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-600); }
.event-card h3 { margin: 0.45rem 0 0.5rem; font-size: 1.5rem; }
.event-card > p { margin: 0 0 0.9rem; color: var(--ink-soft); font-size: 0.97rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; font-size: 0.9rem; font-weight: 600; margin-bottom: 1.1rem; }
.reg-form { display: none; margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.reg-form.open { display: block; }
.reg-done { display: none; margin-top: 1rem; background: var(--plum-50); border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1.05rem; font-size: 0.94rem; }
.reg-done.visible { display: block; }
.pay-note { text-align: center; color: var(--ink-soft); font-size: 0.95rem; max-width: 46rem; margin: 1.8rem auto 0; }

/* ---------- Members area & leadership admin ---------- */
.signin-card { max-width: 34rem; margin-inline: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow); }
.signin-msg { margin: 1rem 0 0; font-size: 0.95rem; }
.member-area { display: none; margin-top: 2.4rem; }
.member-area.visible { display: block; }
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.5rem; }
@media (max-width: 900px) { .member-grid { grid-template-columns: 1fr; } }
.member-tile { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 1.4rem 1.3rem; }
.member-tile h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.member-tile p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.admin-block { margin-top: 2.6rem; }
.admin-block > h3 { margin-bottom: 0.6rem; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
table.admin { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
table.admin th { text-align: left; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); background: var(--paper-alt); }
table.admin td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.admin tr:last-child td { border-bottom: none; }
table.admin .sub { display: block; color: var(--ink-soft); font-size: 0.85rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.btn-small { padding: 0.42rem 0.95rem; font-size: 0.86rem; }
@media (max-width: 760px) {
  table.admin, table.admin tbody, table.admin tr, table.admin td { display: block; width: 100%; }
  table.admin thead { display: none; }
  table.admin tr { border-bottom: 1px solid var(--line); padding: 0.45rem 0; }
  table.admin tr:last-child { border-bottom: none; }
  table.admin td { border-bottom: none; padding: 0.32rem 1rem; }
  table.admin td::before { content: attr(data-label); display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.12rem; }
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; }
.stat .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--plum-800); line-height: 1; }
@media (prefers-color-scheme: dark) { .stat .num { color: var(--plum-300); } }
.stat .lbl { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin-top: 0.35rem; }
.notice-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.notice-box pre { white-space: pre-wrap; font: inherit; font-size: 0.95rem; margin: 0 0 1rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1rem 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: baseline; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1.05rem; font-size: 0.96rem; }
.checklist li .pill { margin-left: auto; flex: none; }
.empty-row { color: var(--ink-soft); font-style: italic; }
.contact-form-wrap { max-width: 46rem; margin: 2.6rem auto 0; }

/* ---------- Reveal (content is always visible; no hidden states) ---------- */
.reveal { opacity: 1; }

/* =========================================================
   Multi-page additions
   ========================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 0.6rem; left: 0.6rem; z-index: 200; width: auto; height: auto; clip: auto; background: var(--gold-500); color: #2a1802; padding: 0.6rem 1rem; border-radius: 8px; }

/* Nav rendered by wp_nav_menu (li items directly inside nav.main) */
nav.main li { list-style: none; margin: 0; padding: 0; }
nav.main .current-menu-item > a,
nav.main .current-menu-ancestor > a,
nav.main .current_page_parent > a,
nav.main .current-page-ancestor > a { color: var(--ink); border-bottom-color: var(--gold-500); font-weight: 600; }
nav.main .nav-signin { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 1080px) and (min-width: 901px) { nav.main { gap: 1.05rem; } nav.main a { font-size: 0.93rem; } }
@media (max-width: 900px) { nav.main li { border-bottom: 1px solid var(--line); } nav.main li a { display: block; border-bottom: 0; } nav.main li:last-child { border-bottom: 0; } }

/* Inner-page hero */
.page-hero { position: relative; background: var(--night-950); color: #fff; overflow: hidden; }
.page-hero img.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero .veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(22,18,15,0.9) 0%, rgba(27,23,20,0.8) 55%, rgba(27,23,20,0.5) 100%); }
.page-hero .wrap { position: relative; padding: 4.4rem 0 4.2rem; }
.page-hero .kicker { color: var(--gold-500); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 600; max-width: 46rem; }
.page-hero h1 em { color: var(--gold-500); }
.page-hero .lede { color: #f3eee8; font-size: 1.12rem; max-width: 40rem; margin: 1.1rem 0 0; }
.page-hero .crumbs { font-size: 0.86rem; color: #cfc4b7; margin-bottom: 1.2rem; }
.page-hero .crumbs a { color: #ece5dc; text-decoration: none; }
.page-hero .crumbs a:hover { text-decoration: underline; }
@media (max-width: 640px) { .page-hero .wrap { padding: 3.2rem 0; } }

.prose { max-width: 46rem; }
.prose p { color: var(--ink-soft); margin: 0 0 1.05rem; }
.prose p strong { color: var(--ink); }
.page-content { padding: 3rem 0; }
.page-content .prose > *:first-child { margin-top: 0; }
.lead-in { font-size: 1.12rem; }

/* Section footers / links */
.section-foot { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.section-foot.center { justify-content: center; }
.text-link { font-weight: 700; text-decoration: none; color: var(--plum-700); }
.text-link:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) { .text-link { color: var(--plum-300); } }

/* Focus-area teaser grid on home (5 compact cards) */
.focus-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1020px) { .focus-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .focus-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 430px) { .focus-grid { grid-template-columns: 1fr; } }
.focus-card { display: block; text-decoration: none; color: inherit; border-top: 3px solid var(--gold-500); background: var(--paper); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); padding: 1.35rem 1.2rem; transition: transform .15s ease, box-shadow .15s ease; }
.focus-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.focus-card .num { font-family: var(--font-display); font-weight: 700; color: var(--gold-600); letter-spacing: .08em; }
.focus-card h3 { font-size: 1.25rem; margin: 0.35rem 0 0.4rem; }
.focus-card p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); line-height: 1.55; }

/* What We Do: focus-area rows */
.focus-rows { display: grid; gap: 1.2rem; }
.focus-row { display: grid; grid-template-columns: 5.5rem 1fr 1fr; gap: 1.6rem; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.8rem; scroll-margin-top: 6rem; }
@media (max-width: 860px) { .focus-row { grid-template-columns: 1fr; gap: 0.8rem; } }
.focus-row .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--gold-500); line-height: 1; }
.focus-row h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.focus-row p { margin: 0 0 0.7rem; color: var(--ink-soft); }
.focus-row .looks-like { font-size: 0.94rem; }
.focus-row .looks-like h4 { margin: 0 0 0.45rem; font-size: 0.76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.focus-row ul { margin: 0 0 0.9rem; padding-left: 1.1rem; color: var(--ink-soft); }
.focus-row ul li { margin-bottom: 0.2rem; }
.focus-row .related a { font-weight: 600; }

/* Event cards (archive + home) */
.event-card .when { display: block; }
.event-card h3 a { color: inherit; text-decoration: none; }
.event-card h3 a:hover { color: var(--plum-700); }
.event-card .focus-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; background: var(--plum-50); color: var(--plum-800); border-radius: 999px; padding: 0.2rem 0.75rem; margin-bottom: 0.9rem; text-decoration: none; }
@media (prefers-color-scheme: dark) { .event-card .focus-tag { color: var(--plum-100); } }
.event-grid.past .event-card { box-shadow: none; opacity: 0.85; }

/* Single event */
.event-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .event-layout { grid-template-columns: 1fr; gap: 2rem; } }
.event-facts { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: sticky; top: 6rem; }
@media (max-width: 900px) { .event-facts { position: static; } }
.event-facts dl { margin: 0 0 1.3rem; display: grid; gap: 0.85rem; }
.event-facts dt { font-size: 0.74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.event-facts dd { margin: 0.1rem 0 0; font-weight: 600; }
.event-facts .reg-form { display: block; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 0; }
.event-facts h3 { font-size: 1.35rem; margin-bottom: 0.8rem; }

/* Alerts */
.alert { border-radius: 12px; padding: 1rem 1.15rem; margin: 0 0 1.3rem; font-size: 0.96rem; border: 1px solid; }
.alert strong { display: block; margin-bottom: 0.2rem; }
.alert-ok { background: #e9f6eb; border-color: #b7e0bd; color: #1c5a26; }
.alert-err { background: #fdecea; border-color: #f2c1bc; color: #8f241b; }
@media (prefers-color-scheme: dark) { .alert-ok { background: #15351b; border-color: #2c5a33; color: #b9e6be; } .alert-err { background: #3d1a16; border-color: #6b2c25; color: #f5b8b1; } }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Join CTA band */
.cta-band { background: var(--night-900); color: #fff; position: relative; overflow: hidden; padding: 4.4rem 0; }
.cta-band::after { content: ""; position: absolute; left: -160px; bottom: -180px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(217,164,4,0.18) 0%, rgba(217,164,4,0) 65%); }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band .quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.25; color: #fff; margin: 0; }
.cta-band p.sub { color: #e8e0d6; margin: 0.9rem 0 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .actions { justify-content: flex-start; } }

/* Gallery strip + albums */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .album-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .album-grid { grid-template-columns: 1fr; } }
.album-card { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.album-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.album-card:hover img { transform: scale(1.03); }
.album-card .body { padding: 1.1rem 1.25rem 1.3rem; }
.album-card h3 { font-size: 1.35rem; }
.album-card .meta { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.25rem; }
.adou-album .wp-block-gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
@media (max-width: 900px) { .adou-album .wp-block-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .adou-album .wp-block-gallery { grid-template-columns: 1fr; } }
.adou-album .wp-block-gallery figure.wp-block-image { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night-950); width: 100% !important; cursor: zoom-in; }
.adou-album .wp-block-gallery figure.wp-block-image img { width: 100%; aspect-ratio: 4/3.1; object-fit: cover; height: auto; }
.adou-album .wp-block-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2rem 1rem 0.85rem; background: linear-gradient(to top, rgba(20,16,13,0.85), rgba(20,16,13,0)); color: #fff; font-size: 0.92rem; font-weight: 600; text-align: left; }
.album-note { text-align: center; color: var(--ink-soft); margin-top: 1.6rem; font-size: 0.95rem; }

/* Leadership cards */
.leader-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 980px) { .leader-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .leader-grid { grid-template-columns: 1fr; } }
.leader { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.2rem; }
.leader img, .leader .ph { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid var(--gold-100); }
.leader .ph { display: grid; place-items: center; background: var(--plum-50); color: var(--plum-700); font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }
.leader h3 { font-size: 1.3rem; }
.leader .role { color: var(--gold-600); font-weight: 700; font-size: 0.82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0.3rem 0 0.6rem; }
.leader p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* Membership page */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } }
.benefit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; }
.benefit h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.dues-card { background: var(--night-900); color: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.dues-card .amount { font-family: var(--font-display); font-size: 3.6rem; font-weight: 700; color: var(--gold-500); line-height: 1; }
.dues-card .per { color: #d6cbbf; font-weight: 600; margin-top: 0.3rem; }
.dues-card p { color: #e8e0d6; margin: 1rem 0 0; font-size: 0.97rem; }
.faq { max-width: 50rem; margin-inline: auto; display: grid; gap: 0.7rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.3rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1.05rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-600); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-soft); }

/* Apply page */
.apply-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } }
.apply-aside .steps { grid-template-columns: 1fr; margin-top: 1.4rem; gap: 0.8rem; }
.field .req { color: #b3261e; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 1.1rem; }
.check input { margin-top: 0.3rem; accent-color: var(--plum-700); }

/* Contact */
.contact-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }
.contact-split .contact-cards { grid-template-columns: 1fr; margin-top: 0; }
.social a { font-weight: 700; margin-right: 0.9rem; }

/* Partner */
.partner-areas { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.2rem 0 1.6rem; }
.partner-areas span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.95rem; font-size: 0.88rem; font-weight: 600; }
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 980px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ways { grid-template-columns: 1fr; } }

/* Posts / generic */
.post-list { display: grid; gap: 1.4rem; max-width: 46rem; }
.post-list article h2 { font-size: 1.8rem; }
.post-list article h2 a { color: inherit; text-decoration: none; }
.pagination { margin-top: 2rem; display: flex; gap: 0.6rem; }
.entry-content img { border-radius: 12px; height: auto; }
.entry-content h2 { margin: 2rem 0 0.8rem; }
.entry-content h3 { margin: 1.6rem 0 0.6rem; }
.entry-content p, .entry-content li { color: var(--ink-soft); }
.not-found { text-align: center; padding: 6rem 0; }

/* Grid children may shrink below their image's natural width */
.split > *, .partner-split > *, .join-grid > *, .apply-grid > *, .contact-split > *, .event-layout > *, .member-cols > *,
.album-grid > *, .gallery > *, .event-grid > *, .pillars > *, .focus-grid > *, .benefits > *, .ways > *, .steps > *,
.leader-grid > *, .activities > *, .footer-grid > *, .cta-band .wrap > * { min-width: 0; }

/* =========================================================
   Dropdown menus
   ========================================================= */
nav.main .menu-item-has-children { position: relative; }
nav.main .menu-item-has-children > a::after { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.4em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.2em) rotate(45deg); opacity: 0.7; }
nav.main .sub-menu { list-style: none; margin: 0; padding: 0.5rem; position: absolute; top: 100%; left: -0.8rem; min-width: 15rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 60; }
nav.main .menu-item-has-children:hover > .sub-menu, nav.main .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
nav.main .sub-menu a { display: block; padding: 0.55rem 0.75rem; border-radius: 9px; border-bottom: 0; font-size: 0.94rem; white-space: nowrap; }
nav.main .sub-menu a:hover { background: var(--paper-alt); }
nav.main .sub-menu .current-menu-item > a { border-bottom: 0; background: var(--paper-alt); }
@media (max-width: 1100px) and (min-width: 901px) { nav.main { gap: 0.95rem; } nav.main > li > a { font-size: 0.92rem; } }
@media (max-width: 900px) {
  nav.main .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0.4rem 0.9rem; min-width: 0; background: transparent; }
  nav.main .sub-menu li { border-bottom: 0; }
  nav.main .sub-menu a { padding: 0.4rem 0; color: var(--ink-soft); }
  nav.main .menu-item-has-children > a::after { display: none; }
}

/* =========================================================
   Our Story & Leadership
   ========================================================= */
.story-photo img { aspect-ratio: 4 / 5; }
.pull-quote { margin: 3rem auto 0; max-width: 44rem; text-align: center; padding: 0 1rem; }
.pull-quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.35; color: var(--ink); margin: 0; text-wrap: balance; }
.pull-quote::before { content: ""; display: block; width: 3rem; height: 2px; background: var(--gold-500); margin: 0 auto 1.3rem; }

.profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.2rem; }
@media (max-width: 960px) { .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .profile-grid { grid-template-columns: 1fr; } }
.profile { margin: 0; text-align: center; }
.profile .profile-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--plum-50); border: 1px solid var(--line); }
.profile .profile-photo.ph { display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--ink-soft); letter-spacing: 0.04em; background: linear-gradient(160deg, var(--plum-50), var(--plum-100)); }
.profile h3 { font-size: 1.3rem; margin-top: 1rem; text-wrap: balance; }
.profile .role { margin: 0.3rem 0 0; color: var(--gold-600); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.profile.with-bio { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.profile.with-bio .profile-photo { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.profile.with-bio .body { padding: 1.1rem 1.25rem 1.35rem; }
.profile.with-bio h3 { margin-top: 0; }
.profile .bio { margin-top: 0.7rem; }
.profile .bio p { margin: 0 0 0.6rem; font-size: 0.93rem; line-height: 1.6; color: var(--ink-soft); }
.profile .bio p:last-child { margin-bottom: 0; }

.founder-bio { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.founder-bio h3 { font-size: 1.5rem; }
.founder-bio .who { margin: 0.3rem 0 1rem; color: var(--ink-soft); font-size: 0.95rem; }
.founder-bio .cols { columns: 2 22rem; column-gap: 2.6rem; }
.founder-bio .cols p { margin: 0 0 1rem; color: var(--ink-soft); break-inside: avoid; }

/* Mission page overall message */
.message-band { padding: 4.4rem 0; text-align: center; }
.message-prose { margin-inline: auto; }
.message-prose p { font-size: 1.08rem; }
.message-line { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.25; color: var(--ink); margin: 1.6rem auto 0; max-width: 40rem; text-wrap: balance; }

/* =========================================================
   Programs & Rising Daughters
   ========================================================= */
.program-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.2rem; }
.program-card { display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.7rem 1.5rem; transition: transform .15s ease, box-shadow .15s ease; }
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.program-card .kicker { margin: 0; }
.program-card h3 { font-size: 1.7rem; }
.program-card .tag { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink); margin: 0; }
.program-card p { margin: 0; color: var(--ink-soft); }
.program-card .text-link { margin-top: auto; padding-top: 0.5rem; }
.program-card.featured { background: var(--night-900); border-color: var(--night-900); color: #fff; }
.program-card.featured h3, .program-card.featured .tag { color: #fff; }
.program-card.featured p { color: #e8e0d6; }
.program-card.featured .text-link { color: var(--gold-500); }

.rd-band { background: var(--night-900); color: #fff; padding: 3.6rem 0; position: relative; overflow: hidden; }
.rd-band::after { content: ""; position: absolute; right: -140px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(217,164,4,0.2) 0%, rgba(217,164,4,0) 65%); }
.rd-band .wrap { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .rd-band .wrap { grid-template-columns: 1fr; } }
.rd-band h2 { color: #fff; font-style: italic; font-weight: 600; }
.rd-band p { color: #e8e0d6; margin: 0.9rem 0 0; max-width: 40rem; }
.rd-band .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }
@media (max-width: 860px) { .rd-band .actions { justify-content: flex-start; } }
.rd-band .wrap > * { min-width: 0; }

.rd-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .rd-intro { grid-template-columns: 1fr; gap: 2rem; } }
.rd-intro > * { min-width: 0; }
.rd-vision { background: var(--paper-alt); border: 1px solid var(--line); border-left: 3px solid var(--gold-500); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.6rem 1.6rem 0.8rem; }
.rd-vision p { color: var(--ink-soft); }
.rd-focus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 900px) { .rd-focus { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rd-focus { grid-template-columns: 1fr; } }

.legacy-band { background: var(--night-950); color: #fff; padding: 4.8rem 0; text-align: center; }
.legacy-band .legacy-text { color: #e8e0d6; max-width: 42rem; margin: 0.4rem auto 0; font-size: 1.08rem; }
.legacy-quote { margin: 2rem auto 0; max-width: 46rem; }
.legacy-quote p { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.25; color: #fff; text-wrap: balance; }
.legacy-quote em { font-style: italic; }
.legacy-quote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 4.5rem; line-height: 0.6; color: var(--gold-500); margin-bottom: 0.6rem; }

.involve-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.involve-list li { padding-left: 1.2rem; position: relative; color: var(--ink-soft); }
.involve-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--gold-500); }
.involve-list strong { color: var(--ink); }
.choice-list { border: 0; padding: 0; margin: 0 0 1.1rem; }
.choice-list legend { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.5rem; padding: 0; }
.choice-list .check { margin: 0 0 0.45rem; color: var(--ink); }
@media (max-width: 460px) { .profile-grid.founders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .profile-grid.founders h3 { font-size: 1.05rem; } .profile-grid.founders .role { font-size: 0.68rem; } }
.profile img.profile-photo { object-position: 50% 22%; }

/* Leadership: two-up horizontal cards so longer bios read comfortably */
.profile-grid.leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.profile-grid.leaders .profile.with-bio { flex-direction: row; align-items: stretch; }
.profile-grid.leaders .profile.with-bio .profile-photo { width: 38%; flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
.profile-grid.leaders .profile.with-bio .body { padding: 1.4rem 1.5rem 1.5rem; }
@media (max-width: 1020px) { .profile-grid.leaders { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .profile-grid.leaders .profile.with-bio { flex-direction: column; }
  .profile-grid.leaders .profile.with-bio .profile-photo { width: 100%; flex: none; aspect-ratio: 4 / 5; border-right: 0; border-bottom: 1px solid var(--line); }
}
.profile-grid.leaders .profile.with-bio img.profile-photo { height: auto; min-height: 0; align-self: stretch; }
@media (max-width: 560px) { .profile-grid.leaders .profile.with-bio img.profile-photo { align-self: auto; } }
.profile-grid.leaders .profile.with-bio .profile-photo { align-self: flex-start; aspect-ratio: 4 / 5; min-height: 0; height: auto; border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius) 0; }
.profile-grid.leaders .profile.with-bio img.profile-photo { align-self: flex-start; object-position: 50% 25%; }
@media (max-width: 560px) { .profile-grid.leaders .profile.with-bio .profile-photo { border-radius: 0; } }
.mini-bio-link, .mini-bio summary { display: inline-block; margin-top: 0.6rem; font-size: 0.85rem; font-weight: 700; color: var(--plum-700); cursor: pointer; text-decoration: none; list-style: none; }
.mini-bio summary::-webkit-details-marker { display: none; }
.mini-bio summary::after { content: " +"; color: var(--gold-600); }
.mini-bio[open] summary::after { content: " \2212"; }
.mini-bio .bio { text-align: left; margin-top: 0.6rem; }
@media (prefers-color-scheme: dark) { .mini-bio-link, .mini-bio summary { color: var(--plum-300); } }
#founder-bio { scroll-margin-top: 6rem; }
