/* ============================================================
   CARE — "Editorial Humanitarian" design system
   Palette is unchanged (red #D32F2F / ink #111 / paper #FAFAFA /
   soft-red #FDECEC / neutrals) — used boldly. Type: Fraunces
   (display) + Hanken Grotesk (text). Hand-written, no build step.
   ============================================================ */

/* ---- Tokens ----------------------------------------------- */
:root {
  --red: #D32F2F;
  --red-dark: #B71C1C;
  --red-deep: #7d1414;      /* shade of the same red, for gradient depth */
  --ink: #15110F;           /* warm near-black */
  --ink-soft: #1E1916;      /* warm near-black for panels */
  --paper: #F7F4EE;         /* warm ivory */
  --line: #E6DFD4;          /* warm stone hairline */
  --muted: #6F675F;         /* warm grey */
  --tint: #F7EAE6;          /* soft-red, warmed */
  --white: #FFFDF9;         /* bone white for raised surfaces */

  --shadow-sm: 0 1px 2px rgba(40,22,14,.05);
  --shadow: 0 34px 70px -42px rgba(40,22,14,.38);
  --shadow-red: 0 16px 34px -20px rgba(183,28,28,.6);
  --container: 1220px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---- Reset / base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:target { scroll-margin-top: 130px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Fine paper grain over the whole page — atmosphere, very subtle */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.04; font-weight: 600; letter-spacing: -0.02em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

/* ---- Layout helpers --------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section--tight { padding: 2.25rem 0; }
.bg-off-white { background: var(--paper); }
.bg-white { background: var(--white); }
/* soft-red tint section — warmth, in-palette */
.bg-off-white:nth-of-type(even) {}
.text-center { text-align: center; }
.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; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
  position: relative; transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-white { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn .icon { width: 1.05em; height: 1.05em; }

/* ---- Section typography (editorial, left-led) ------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; font-size: .72rem; color: var(--red);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--red); display: inline-block; }
.section-title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); text-align: left; letter-spacing: -0.025em; max-width: 22ch; }
.section-subtitle { color: var(--muted); text-align: left; margin: .7rem 0 0; max-width: 46rem; font-size: 1.05rem; }
.red-divider { display: flex; justify-content: flex-start; margin: 1.1rem 0 2rem; }
.red-divider::after { content: ""; display: block; width: 2.5rem; height: 3px; background: var(--red); border-radius: 2px; }

/* ---- TODO / placeholder markers --------------------------- */
.todo {
  display: inline-block; background: var(--tint); color: var(--red-dark); border: 1px solid rgba(211,47,47,.35);
  font-family: var(--sans); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .18rem .55rem; border-radius: 999px; vertical-align: middle;
}
.placeholder-box {
  background: var(--tint); color: rgba(211,47,47,.5);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600;
  border-radius: 6px; padding: 1.25rem; min-height: 13rem;
  border: 1px dashed rgba(211,47,47,.3);
}
.pending-note {
  background: var(--tint); border-left: 3px solid var(--red); color: var(--red-dark);
  border-radius: 0 8px 8px 0; padding: 1.25rem 1.5rem; font-size: .95rem; line-height: 1.7;
}

/* ---- Top info bar ----------------------------------------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-family: var(--sans); font-size: .78rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: .55rem; padding-bottom: .55rem; gap: 1rem; }
.topbar-contact { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.topbar-contact a { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; transition: color .2s; }
.topbar-contact a:hover { color: #fff; }
.topbar-social { display: flex; align-items: center; gap: 1.1rem; }
.topbar-social a { display: inline-flex; align-items: center; gap: .35rem; transition: color .2s; }
.topbar-social a:hover { color: var(--red); }
.topbar-social .handle { font-size: .74rem; letter-spacing: .04em; }
.topbar-social .icon { width: 1.35rem; height: 1.35rem; }
.topbar-contact .icon { width: 1.05rem; height: 1.05rem; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }
.topbar .icon { color: var(--red); }

/* ---- Header / nav ----------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,250,.85); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
/* Header spreads full-width (content elsewhere stays capped) so the brand + nav
   sit on one line instead of cramming inside the 1220px content column. */
.site-header .container { max-width: none; padding-left: 2rem; padding-right: 2rem; }
/* Direct child only — must NOT match the mobile menu's nested .container. */
.navbar > .container { display: flex; align-items: center; justify-content: space-between; min-height: 4.75rem; gap: 1.1rem; }
.brand { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.brand img { width: 54px; height: 54px; }
.brand-name { font-family: var(--serif); color: var(--ink); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1.05; }
.brand-tag { color: var(--muted); font-family: var(--sans); font-size: .56rem; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; }

.nav-links { display: none; align-items: center; gap: .1rem; }
.nav-link {
  position: relative; color: var(--ink); font-family: var(--sans); font-size: .76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .02em; padding: .5rem .42rem; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: .42rem; right: .42rem; bottom: .15rem; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--red); }

/* Desktop dropdown menus */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: .2rem; }
.nav-caret { width: .55rem; height: .55rem; transition: transform .3s var(--ease); }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% - 2px); left: 0; min-width: 224px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 60;
}
.nav-dropdown.align-right { left: auto; right: 0; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: .6rem .85rem; border-radius: 9px; color: var(--ink);
  font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: 0;
  text-transform: none; white-space: nowrap; transition: background .18s, color .18s, padding-left .18s;
}
.nav-dropdown a:hover { background: var(--tint); color: var(--red); padding-left: 1.1rem; }

.nav-actions { display: none; align-items: center; gap: .6rem; }
.mobile-only-actions { display: flex; gap: .25rem; flex-shrink: 0; }

.icon-btn { background: none; border: none; color: var(--ink); padding: .5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; transition: color .2s, background .2s; }
.icon-btn:hover { color: var(--red); background: var(--tint); }
.icon-btn .icon { width: 1.25rem; height: 1.25rem; }
.hamburger { display: inline-flex; }

.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--line); }
.mobile-menu.open { display: block; }
.mobile-menu .container { padding-top: .5rem; padding-bottom: 1.25rem; }
.mobile-menu a:not(.btn) { display: block; padding: .75rem .25rem; color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.mobile-menu a:not(.btn):hover { color: var(--red); }
.mobile-menu > .container > a:not(.btn), .mobile-menu .m-row { border-bottom: 1px solid var(--line); }
.mobile-menu .m-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.mobile-menu .m-row a { flex: 1; }
.m-toggle { background: none; border: none; padding: .6rem .5rem; color: var(--muted); display: inline-flex; align-items: center; }
.m-toggle .icon { width: 1.15rem; height: 1.15rem; transition: transform .3s var(--ease); }
.m-item.open .m-toggle .icon { transform: rotate(180deg); }
.m-sub { display: none; padding: .15rem 0 .6rem .95rem; }
.m-item.open .m-sub { display: block; }
.m-sub a { padding: .5rem .25rem !important; font-size: .82rem !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--muted) !important; }
.m-sub a:hover { color: var(--red) !important; }
.mobile-menu .btn { margin-top: 1rem; width: 100%; }

@media (max-width: 479px) { .brand-tag { display: none; } .brand-name { font-size: 1.2rem; } }
@media (min-width: 1440px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .hamburger { display: none; }
  .mobile-only-actions { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---- Search overlay --------------------------------------- */
.search-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(17,17,17,.6); backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding: 12vh 1rem 1rem; }
.search-overlay.open { display: flex; }
.search-panel { background: var(--white); border-radius: 14px; width: 100%; max-width: 640px; box-shadow: var(--shadow); overflow: hidden; }
.search-panel-head { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.15rem; border-bottom: 1px solid var(--line); }
.search-panel-head .icon { color: var(--red); }
.search-panel-head input { flex: 1; border: none; font-family: var(--sans); font-size: 1.1rem; padding: .5rem .25rem; outline: none; color: var(--ink); }
.search-results { max-height: 52vh; overflow-y: auto; }
.search-results a { display: block; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.search-results a:hover { background: var(--paper); }
.search-results .r-title { font-weight: 700; }
.search-results .r-summary { font-size: .85rem; color: var(--muted); margin-top: .15rem; }
.search-empty { padding: 1.5rem 1.25rem; color: var(--muted); font-size: .9rem; }

/* ---- Hero (editorial, dramatic) --------------------------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 82% 15%, rgba(211,47,47,.55), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(125,20,20,.55), transparent 55%),
    linear-gradient(180deg, #171313, var(--ink));
}
/* Oversized ghost typographic mark */
.hero::after {
  content: "CARE"; position: absolute; right: -2%; bottom: -6%; z-index: 1;
  font-family: var(--serif); font-weight: 900; font-style: italic; font-size: clamp(9rem, 26vw, 24rem);
  color: rgba(255,255,255,.04); letter-spacing: -0.04em; line-height: .8; pointer-events: none; user-select: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 780px; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--red); }
.hero h1 { color: #fff; font-size: clamp(2.9rem, 8vw, 6rem); font-weight: 600; margin: 1.4rem 0 1.6rem; letter-spacing: -0.035em; }
.hero p { color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.7; margin-bottom: 2.5rem; max-width: 40rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- Page banner (interior) ------------------------------- */
.page-banner { position: relative; background: var(--ink); color: #fff; text-align: left; padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(2.25rem, 4vw, 3rem); overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 85% 0%, rgba(211,47,47,.5), transparent 55%), linear-gradient(180deg,#171313,var(--ink)); }
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 3.6rem); }
.page-banner .breadcrumb { color: rgba(255,255,255,.55); font-family: var(--sans); font-size: .82rem; margin-top: .9rem; letter-spacing: .04em; }
.page-banner .breadcrumb a:hover { color: var(--red); }
.page-banner p.lead { color: rgba(255,255,255,.8); max-width: 42rem; margin: 1.2rem 0 0; }

/* ---- Stat teaser strip ------------------------------------ */
.stat-strip { background: var(--ink); color: #fff; border-top: 3px solid var(--red); }
.stat-strip .container { display: flex; flex-wrap: wrap; }
.stat-item { flex: 1 1 240px; display: flex; align-items: center; gap: 1.1rem; padding: 2rem; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-item .icon { width: 2.4rem; height: 2.4rem; color: var(--red); }
.stat-value { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1; color: #fff; }
.stat-label { color: rgba(255,255,255,.6); font-family: var(--sans); font-size: .85rem; margin-top: .3rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---- Grids ------------------------------------------------ */
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---- Cards ------------------------------------------------ */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 2rem 1.75rem; text-align: left; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; display: block;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card-icon { width: 3.5rem; height: 3.5rem; background: var(--tint); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 0 1.25rem; transition: background .3s, transform .3s var(--ease); }
.card:hover .card-icon { background: var(--red); transform: rotate(-6deg); }
.card-icon .icon { width: 1.7rem; height: 1.7rem; color: var(--red); transition: color .3s; }
.card:hover .card-icon .icon { color: #fff; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin-bottom: .6rem; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: .95rem; line-height: 1.65; }

/* ---- "Why CARE" boxes ------------------------------------- */
.info-box { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 2.25rem; text-align: left; position: relative; }
.info-box::before { content: ""; display: block; width: 2.25rem; height: 3px; background: var(--red); margin-bottom: 1.25rem; }
.info-box h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .75rem; }
.info-box p { color: var(--muted); font-size: .95rem; line-height: 1.7; }
.prose p { color: var(--muted); line-height: 1.9; margin-bottom: 1.25rem; font-size: 1.1rem; max-width: 62ch; }
.prose.max-720 p { margin-left: 0; margin-right: 0; }

/* ---- Feature rows (alternating, editorial) ---------------- */
.feature-row { display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: center; }
@media (min-width: 1024px) { .feature-row { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .feature-row.reverse .feature-media { order: 2; } }
.feature-media { min-height: 20rem; position: relative; }
.feature-media .placeholder-box { min-height: 20rem; border-radius: 14px; }
.feature-body .badge { width: 3.75rem; height: 3.75rem; background: var(--tint); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.feature-body .badge .icon { width: 1.7rem; height: 1.7rem; color: var(--red); }
.feature-body h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 1.25rem; }
.feature-body p { color: var(--muted); line-height: 1.85; margin-bottom: 1.75rem; font-size: 1.05rem; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; color: var(--ink); font-size: .98rem; margin-bottom: .8rem; font-weight: 500; }
.check-list li::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--tint); border: 2px solid var(--red); margin-top: .2rem; flex-shrink: 0; }

/* ---- Patient journey flow --------------------------------- */
.flow { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; align-items: stretch; }
.flow-step { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.15rem 1.35rem; box-shadow: var(--shadow-sm); flex: 1 1 190px; max-width: 260px; display: flex; align-items: center; gap: .85rem; transition: transform .3s var(--ease), box-shadow .3s; }
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flow-step .num { background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 700; border-radius: 50%; width: 2.1rem; height: 2.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .95rem; }
.flow-step span.label { font-size: .92rem; font-weight: 600; }
.flow-arrow { display: flex; align-items: center; color: var(--red); }
@media (max-width: 767px) { .flow { flex-direction: column; align-items: stretch; } .flow-step { max-width: none; } .flow-arrow { justify-content: center; transform: rotate(90deg); } }

/* ---- Partners --------------------------------------------- */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (min-width: 640px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partner-grid { grid-template-columns: repeat(4, 1fr); } }
.partner-cat { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem 1rem; text-align: center; transition: transform .3s var(--ease), border-color .3s; }
.partner-cat:hover { transform: translateY(-4px); border-color: var(--red); }
.partner-cat .icon { width: 2rem; height: 2rem; color: var(--red); margin: 0 auto .85rem; }
.partner-cat h4 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: .35rem; }
.partner-cat p { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---- Transparency block ----------------------------------- */
.transparency { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.transparency::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 10% 10%, rgba(211,47,47,.35), transparent 50%); }
.transparency > .container { position: relative; z-index: 1; }
.transparency .t-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .transparency .t-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .transparency .t-grid { grid-template-columns: repeat(5, 1fr); } }
.t-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 1.5rem; transition: background .25s, transform .3s var(--ease); }
.t-card:hover { background: rgba(211,47,47,.16); transform: translateY(-4px); }
.t-card .icon { width: 1.7rem; height: 1.7rem; color: var(--red); margin-bottom: .75rem; }
.t-card h4 { color: #fff; font-family: var(--serif); font-size: 1.1rem; margin-bottom: .3rem; }
.t-card p { color: rgba(255,255,255,.6); font-size: .8rem; }

/* ---- Testimonials ----------------------------------------- */
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 2.5rem; position: relative; }
.quote-card .qmark { font-family: var(--serif); color: var(--red); font-size: 4rem; line-height: .6; margin-bottom: 1rem; font-style: italic; }
.quote-card blockquote { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.5; color: var(--ink); margin-bottom: 1.5rem; letter-spacing: -0.01em; }
.quote-card .attr { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.quote-card .attr .name { font-family: var(--sans); font-weight: 700; }
.quote-card .attr .loc { color: var(--muted); font-size: .85rem; }

/* ---- Timeline --------------------------------------------- */
.timeline { position: relative; border-left: 2px solid var(--line); padding-left: 2.75rem; margin-left: .5rem; }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -3.35rem; top: .05rem; width: 1.15rem; height: 1.15rem; background: var(--red); border-radius: 50%; border: 4px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.timeline-item .year { font-family: var(--serif); color: var(--red); font-weight: 700; font-size: 1.2rem; margin-bottom: .3rem; }

/* ---- Team grid -------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-member { text-align: left; }
.team-photo { width: 7.5rem; height: 7.5rem; border-radius: 50%; background: var(--tint); margin: 0 0 .9rem; display: flex; align-items: center; justify-content: center; color: rgba(211,47,47,.4); font-family: var(--sans); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; border: 1px solid rgba(211,47,47,.2); transition: transform .3s var(--ease); }
.team-member:hover .team-photo { transform: scale(1.05); }
.team-member .name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.team-member .role { color: var(--muted); font-size: .85rem; }

/* ---- Forms ------------------------------------------------ */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form input, .form select, .form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: .9rem 1.1rem;
  font-family: var(--sans); font-size: .98rem; color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--tint); }
.form textarea { resize: vertical; min-height: 7.5rem; }
.form-status { font-size: .9rem; border-radius: 10px; padding: .85rem 1.1rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.form-status.error { background: var(--tint); color: var(--red-dark); border: 1px solid rgba(211,47,47,.4); }

.newsletter { display: flex; flex-direction: column; gap: .6rem; }
.newsletter input { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: .7rem .95rem; color: #fff; font-family: var(--sans); font-size: .88rem; }
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter input:focus { outline: none; border-color: var(--red); }

/* ---- Tabs ------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-start; margin-bottom: 2.25rem; }
.tab-btn { border: 1.5px solid var(--line); background: var(--white); color: var(--muted); border-radius: 999px; padding: .6rem 1.4rem; font-family: var(--sans); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; transition: all .25s; }
.tab-btn:hover { border-color: var(--ink); color: var(--ink); }
.tab-btn[aria-selected="true"] { background: var(--red); color: #fff; border-color: var(--red); box-shadow: var(--shadow-red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s var(--ease); }

.event-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .event-grid { grid-template-columns: repeat(3, 1fr); } }
.event-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-date { background: var(--ink); color: #fff; text-align: center; padding: 1.5rem; position: relative; }
.event-date::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 100% at 50% 0%, rgba(211,47,47,.4), transparent 60%); }
.event-date .day { position: relative; font-family: var(--serif); font-size: 3rem; font-weight: 700; color: #fff; line-height: 1; }
.event-date .month { position: relative; font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--red); font-weight: 700; margin-top: .25rem; }
.event-body { padding: 1.75rem; }
.event-body h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .9rem; }
.event-meta { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .88rem; margin-bottom: .4rem; }
.event-meta .icon { width: 1rem; height: 1rem; color: var(--red); }
.event-body p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-top: .6rem; }
.past-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

/* ---- Accordion (FAQ) -------------------------------------- */
.accordion { max-width: 62rem; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.acc-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); transition: border-color .3s, box-shadow .3s; }
.acc-item:has(.acc-trigger[aria-expanded="true"]) { border-color: var(--red); box-shadow: var(--shadow); }
.acc-trigger { width: 100%; text-align: left; background: none; border: none; padding: 1.4rem 1.5rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acc-trigger:hover { color: var(--red); }
.acc-trigger .chev { color: var(--red); flex-shrink: 0; transition: transform .3s var(--ease); }
.acc-trigger[aria-expanded="true"] .chev { transform: rotate(90deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-panel-inner { padding: 0 1.5rem 1.5rem; color: var(--muted); line-height: 1.8; }

/* ---- Donate ----------------------------------------------- */
.bank-row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .9rem 0; }
.bank-row .k { color: var(--muted); font-size: .9rem; }
.bank-row .v { font-family: var(--serif); font-weight: 600; font-size: .95rem; text-align: right; }
.donate-way { display: flex; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; transition: border-color .3s; }
.donate-way:hover { border-color: var(--red); }
.donate-way::before { content: ""; width: .6rem; height: .6rem; background: var(--red); border-radius: 50%; margin-top: .5rem; flex-shrink: 0; }
.donate-way .w-title { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.donate-way .w-desc { color: var(--muted); font-size: .9rem; }
.amount-box { border: 1.5px dashed rgba(211,47,47,.4); border-radius: 14px; padding: 1.75rem; text-align: center; background: var(--tint); }
.amount-grid { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.1rem; }
.amount-btn { border: 1.5px solid var(--red); color: var(--red); background: var(--white); border-radius: 999px; padding: .55rem 1.15rem; font-family: var(--sans); font-weight: 600; font-size: .85rem; transition: all .2s; }
.amount-btn:hover, .amount-btn.selected { background: var(--red); color: #fff; }

/* ---- Footer ----------------------------------------------- */
.site-footer { background: var(--ink); color: #fff; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: rgba(255,255,255,.5); }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .95rem; line-height: 1.8; margin-top: 1.25rem; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer-social a { width: 2.4rem; height: 2.4rem; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: all .25s; }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer h4 { color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .92rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--red); padding-left: .3rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; color: rgba(255,255,255,.65); font-size: .92rem; margin-bottom: .85rem; }
.footer-contact .icon { width: 1.05rem; height: 1.05rem; color: var(--red); flex-shrink: 0; margin-top: .2rem; }
.footer-contact a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.5rem; text-align: center; color: rgba(255,255,255,.4); font-size: .78rem; }

/* ---- CTA band --------------------------------------------- */
.cta-band { position: relative; background: var(--red); color: #fff; text-align: left; padding: clamp(2.75rem, 5vw, 3.75rem) 0; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 80% 20%, rgba(255,255,255,.14), transparent 55%), linear-gradient(135deg, var(--red), var(--red-deep)); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .6rem; letter-spacing: -0.02em; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.08rem; max-width: 40rem; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-start; }

/* ---- Misc ------------------------------------------------- */
.map-placeholder { min-height: 18rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.max-720 { max-width: 62rem; margin-left: 0; margin-right: 0; }
.container.max-720 { max-width: var(--container); margin-left: auto; margin-right: auto; }
.center-btn { text-align: left; margin-top: 2rem; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-start; margin-bottom: 0; }
.anchor-nav a { border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1.15rem; font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--muted); transition: all .25s; }
.anchor-nav a:hover { border-color: var(--red); color: var(--red); }

/* ---- Motion ----------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Scroll reveal — additive: only hides when JS is present (html.js),
   so no-JS users always see content. */
:root.js [data-animate] { opacity: 0; transform: translateY(24px); }
:root.js [data-animate].in-view { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  :root.js [data-animate] { opacity: 1; transform: none; }
}

/* ============================================================
   Events calendar, event media, policy documents, Board page
   (existing tokens only — no new brand colours)
   ============================================================ */
.btn-sm { padding: .6rem 1.1rem; font-size: .78rem; }
.text-link { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }

/* Visible keyboard focus on the new interactive elements */
.btn:focus-visible, .tab-btn:focus-visible, .icon-btn:focus-visible, .text-link:focus-visible,
.doc-card a:focus-visible, .footer-policies a:focus-visible, .events-empty a:focus-visible,
.fc .fc-button:focus-visible, .fc .fc-event:focus-visible, .fc .fc-list-event:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--white);
}
.fc .fc-button:focus { box-shadow: none; }

/* ---- Photos in existing placeholder slots ----------------- */
.feature-media.has-photo { min-height: 0; }
.media-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; margin: 0 auto; background: var(--tint); }

/* ---- Event cards (reuse .event-card / .event-body) -------- */
.event-grid { padding: 0; }
.event-card { display: flex; flex-direction: column; }
.event-cover { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tint); }
.event-cover-ph { min-height: 0; aspect-ratio: 3 / 2; border-radius: 0; border-width: 0 0 1px; }
.event-card .event-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.event-card .event-body .btn { margin-top: auto; }
.event-card .event-body p + .btn, .event-card .event-meta + .btn { margin-top: 1rem; }
.events-empty { text-align: left; color: var(--muted); max-width: 36rem; margin: 0; font-size: 1.05rem; }
.events-empty a { color: var(--red-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
[data-events-upcoming]:empty { display: none; }

/* ---- Calendar (FullCalendar Standard, themed via its CSS vars) */
.events-calendar {
  --fc-border-color: var(--line);
  --fc-button-bg-color: var(--white);
  --fc-button-border-color: var(--line);
  --fc-button-text-color: var(--ink);
  --fc-button-hover-bg-color: var(--paper);
  --fc-button-hover-border-color: var(--ink);
  --fc-button-active-bg-color: var(--ink);
  --fc-button-active-border-color: var(--ink);
  --fc-today-bg-color: var(--tint);
  --fc-event-bg-color: var(--red);
  --fc-event-border-color: var(--red);
  --fc-event-text-color: var(--white);
  --fc-page-bg-color: var(--white);
  --fc-neutral-bg-color: var(--paper);
  --fc-list-event-hover-bg-color: var(--tint);
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1rem;
  font-family: var(--sans);
}
.events-calendar .fc-toolbar-title { font-family: var(--serif); font-size: 1.5rem; }
.events-calendar .fc-button { font-family: var(--sans); font-weight: 700; font-size: .8rem; text-transform: none; border-radius: 999px !important; margin: 0 .15rem !important; padding: .45rem .95rem; }
.events-calendar .fc-button-primary:not(:disabled).fc-button-active, .events-calendar .fc-button-primary:not(:disabled):active { color: var(--white); }
.events-calendar .fc-button:disabled { opacity: .55; }
.events-calendar .fc-col-header-cell-cushion, .events-calendar .fc-daygrid-day-number { color: var(--ink); font-size: .85rem; }
.events-calendar .fc-event { cursor: pointer; font-size: .8rem; font-weight: 600; padding: .1rem .3rem; border-radius: 6px; }
.events-calendar .fc-event-main { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; white-space: normal; }
.events-calendar .ev-past { background: var(--white); border: 1px dashed var(--muted); }
.events-calendar .ev-past .fc-event-main, .events-calendar .fc-list-event.ev-past td { color: var(--muted); }
.events-calendar .fc-list-event.ev-past .fc-list-event-dot { border-color: var(--muted); }
.events-calendar .fc-list-event.ev-upcoming .fc-list-event-dot { border-color: var(--red); }
.events-calendar .fc-list-event-title, .events-calendar .fc-list-event-time { color: var(--ink); }
.events-calendar .fc-list-day-cushion { background: var(--paper); }
.ev-tag { display: inline-block; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 0 .4rem; line-height: 1.5; margin-right: .35rem; }
.calendar-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .5rem; color: var(--muted); font-size: .9rem; margin: -1rem 0 1.25rem; }
.ev-key { width: 1rem; height: 1rem; border-radius: 4px; display: inline-block; }
.ev-key--upcoming { background: var(--red); }
.ev-key--past { background: var(--white); border: 1px dashed var(--muted); margin-left: 1rem; }
@media (max-width: 719px) {
  .events-calendar { padding: .6rem; }
  .events-calendar .fc-header-toolbar { flex-direction: column; gap: .6rem; }
  .events-calendar .fc-toolbar-title { font-size: 1.25rem; }
}

/* ---- Event dialog / gallery ------------------------------- */
.event-dialog { margin: auto; /* the global `* { margin:0 }` reset would un-centre the modal */ border: none; border-radius: 16px; padding: 0; width: min(920px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); box-shadow: var(--shadow); color: var(--ink); background: var(--white); }
.event-dialog::backdrop { background: rgba(17,17,17,.7); }
.event-dialog-inner { position: relative; padding: 2rem 1.5rem 1.5rem; }
.event-dialog-close { position: absolute; top: .75rem; right: .75rem; }
.event-dialog h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .5rem 2.5rem .75rem 0; }
.event-dialog .eyebrow:empty { display: none; }
.event-dialog-meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-bottom: .75rem; }
.event-dialog-meta .event-meta { margin: 0; }
.event-dialog-summary { color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.event-dialog-summary:empty { display: none; }
.event-gallery { margin: 0; }
.event-gallery-stage { background: var(--ink); border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; height: min(60vh, 560px); touch-action: pan-y; }
.event-gallery-stage img, .event-gallery-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.event-gallery-stage .placeholder-box { width: 100%; height: 100%; border-radius: 0; }
.event-gallery-caption { color: var(--muted); font-size: .9rem; margin-top: .75rem; min-height: 1.4em; }
.event-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.event-gallery-controls[hidden] { display: none; }
.event-gallery-counter { color: var(--ink); font-weight: 700; font-size: .9rem; }
.event-gallery-controls .btn:disabled { opacity: .45; cursor: default; transform: none; }
@media (max-width: 559px) { .event-gallery-stage { height: 52vh; } .event-dialog-inner { padding: 1.75rem 1rem 1rem; } }

/* ---- Policy documents ------------------------------------- */
.docs-block { text-align: left; }
.docs-notice { display: flex; gap: .6rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: 0 10px 10px 0; padding: 1rem 1.25rem; color: var(--ink); font-size: .95rem; line-height: 1.6; margin-bottom: 1.25rem; }
.docs-notice .icon { color: var(--red-dark); margin-top: .2rem; }
.doc-list { display: flex; flex-direction: column; gap: .85rem; }
.docs-subhead { font-size: 1.15rem; margin: 2rem 0 .85rem; }
.docs-subhead:empty { display: none; }
.doc-card { display: flex; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.25rem; }
.doc-card-icon { flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.doc-card-icon .icon { width: 1.3rem; height: 1.3rem; color: var(--red-dark); }
.doc-card-body { min-width: 0; flex: 1; }
.doc-title { font-size: 1.05rem; line-height: 1.3; margin-bottom: .35rem; overflow-wrap: anywhere; }
.doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; color: var(--muted); font-size: .85rem; margin-bottom: .75rem; }
.doc-badge { display: inline-flex; align-items: center; gap: .3rem; background: var(--tint); color: var(--red-dark); border: 1px solid var(--red-dark); border-radius: 999px; padding: .1rem .6rem; font-size: .74rem; font-weight: 700; }
.doc-badge--signed { background: var(--white); color: var(--ink); border-color: var(--ink); }
.doc-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---- Footer policy links ---------------------------------- */
.footer-policies { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem .6rem; margin-top: .75rem; }
.footer-policies a { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 3px; }
.footer-policies a:hover { color: var(--white); }
.footer-policies span { color: rgba(255,255,255,.55); }

/* ---- Board of Directors (auto-fit: 3 or 4 members) -------- */
.team-grid--auto { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 1.75rem; max-width: 64rem; margin: 0 auto; }
.team-grid--auto .team-member { flex: 0 1 13rem; }
@media (max-width: 479px) { .team-grid--auto .team-member { flex-basis: calc(50% - 1rem); } }
.team-initials { font-family: var(--serif); font-size: 2rem; font-weight: 600; letter-spacing: .02em; color: var(--red-dark); text-transform: none; }
.team-photo-img { object-fit: cover; padding: 0; }
.team-member .bio { color: var(--muted); font-size: .88rem; line-height: 1.6; margin-top: .5rem; }

/* ============================================================
   Directors, reported figures, partners, event archive
   ============================================================ */
:root { --mid-gray: var(--muted); }   /* used inline across pages; was never defined */

/* ---- Board of Directors: editorial portrait cards ---------- */
.directors-head { max-width: 46rem; margin: 0 0 2.75rem; }
.directors-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-top: 1.1rem; letter-spacing: -0.025em; }
.director-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 3rem 2.75rem; }
.director-card { position: relative; }
@media (min-width: 900px) { .director-grid:not(.director-grid--compact) .director-card:nth-child(even) { margin-top: 3.5rem; } }
.director-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--tint); box-shadow: 14px 14px 0 var(--tint); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.director-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3.5rem; height: 4px; background: var(--red); }
.director-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.director-card:hover .director-photo { box-shadow: 8px 8px 0 var(--red); transform: translate(3px, 3px); }
.director-photo--initials { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 4rem; font-weight: 600; color: var(--red-dark); }
.director-meta { position: relative; padding: 1.75rem 0 0 3.25rem; }
.director-index { position: absolute; left: 0; top: 1.7rem; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--red); }
.director-meta .name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.director-meta .role { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .55rem; }
.director-meta .bio { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-top: .9rem; }
.director-grid--compact { max-width: 46rem; margin: 0; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.director-grid--compact .director-photo { box-shadow: 8px 8px 0 var(--tint); }
.director-grid--compact .director-meta { padding: 1.25rem 0 0; text-align: left; }
.director-grid--compact .director-index { display: none; }
.director-grid--compact .director-meta .name { font-size: 1.15rem; }
@media (max-width: 559px) {
  .director-grid:not(.director-grid--compact) { grid-template-columns: 1fr; max-width: 21rem; }
  .director-grid--compact { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .director-photo { box-shadow: 10px 10px 0 var(--tint); }
}

/* ---- Reported figures ---------------------------------------- */
.figure-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .figure-grid { grid-template-columns: repeat(4, 1fr); } }
.figure-card { padding: 2rem 1.5rem 2.25rem 0; border-bottom: 1px solid var(--line); }
.figure-card + .figure-card { padding-left: 1.5rem; border-left: 1px solid var(--line); }
@media (max-width: 899px) { .figure-card:nth-child(odd) { padding-left: 0; border-left: none; } }
.figure-value { font-family: var(--serif); font-weight: 600; font-size: clamp(3.2rem, 8vw, 5.5rem); line-height: .95; letter-spacing: -0.04em; color: var(--ink); }
.figure-card:first-child .figure-value { color: var(--red); }
.figure-label { font-weight: 700; font-size: 1rem; margin-top: 1rem; }
.figure-detail { color: var(--muted); font-size: .86rem; margin-top: .25rem; }
.figure-note { color: var(--muted); font-size: .85rem; line-height: 1.6; max-width: 46rem; margin: 1.5rem 0 0; }
.stat-strip .stat-value { color: #fff; }

/* ---- Dashboard bars ------------------------------------------- */
.dash-grid { gap: 3rem; }
.dash-panel h3 { font-size: 1.3rem; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--ink); }
.bar-list { display: flex; flex-direction: column; gap: .85rem; }
.bar-row { display: grid; grid-template-columns: minmax(7rem, 12rem) 1fr 2rem; align-items: center; gap: .9rem; font-size: .92rem; }
.bar-label { font-weight: 600; }
.bar-track { height: .55rem; background: var(--tint); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--red); border-radius: 999px; }
.bar-count { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; text-align: right; }

/* ---- Partner names -------------------------------------------- */
.partner-list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .65rem; }
.partner-list li { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: .6rem 1.2rem; font-weight: 600; font-size: .92rem; transition: border-color .25s, transform .3s var(--ease); }
.partner-list li:hover { border-color: var(--red); transform: translateY(-2px); }

/* ---- Events archive by year ------------------------------------ */
.event-year-group + .event-year-group { margin-top: 3rem; }
.event-year-group[hidden] { display: none; }
.event-year { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: var(--red); letter-spacing: -0.03em; margin-bottom: 1.75rem; display: flex; align-items: center; gap: 1.25rem; }
.event-year::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.event-card .event-date { padding: 2rem 1.5rem; }
.event-card .event-date .month { letter-spacing: .14em; }

/* ============================================================
   Layout pass: left-led section heads, tighter rhythm, fuller rows
   ============================================================ */
/* Page banner: breadcrumb above the title, both on the content grid's left edge */
.page-banner .container { display: flex; flex-direction: column-reverse; gap: .6rem; }
.page-banner .breadcrumb { margin-top: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.page-banner h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }

/* Closing band: message on the left, buttons on the right */
.cta-band .container { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) {
  .cta-band .container { grid-template-columns: 1fr auto; column-gap: 3rem; }
  .cta-band .cta-actions { grid-column: 2; grid-row: 1 / span 2; }
}

/* Documents use the full width in two columns instead of one narrow centred column */
@media (min-width: 900px) {
  .doc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .feature-body .doc-list { grid-template-columns: 1fr; }
}
.docs-notice { max-width: 46rem; }

/* Short text sections: heading in the left column, content in the right */
@media (min-width: 900px) {
  .split { display: grid; grid-template-columns: minmax(14rem, 22rem) 1fr; column-gap: 4rem; align-items: start; }
  .split > .split-head .red-divider { margin-bottom: 0; }
}
.split-head .section-title { max-width: none; }
.split-body > :first-child { margin-top: 0; }
.split-body p { max-width: 62ch; }

/* Forms: don't stretch inputs across the full row */
.form { max-width: 46rem; }
.timeline { max-width: 50rem; }
.transparency .section-title, .transparency .section-subtitle { text-align: left; }
.team-grid { max-width: 56rem; }

.docs-single .doc-list, .split-body .doc-list { grid-template-columns: 1fr; }
.split-head > .mt-3 { margin-top: 0; }
@media (max-width: 899px) { .split-head { margin-bottom: 1.5rem; } }

/* ---- Program row without a photo: text left, documents right ---- */
.feature-row--solo { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .feature-row--solo .feature-body { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; align-items: start; }
  .feature-row--solo .feature-body > * { grid-column: 1; }
  .feature-row--solo .feature-body > .feature-docs { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; }
}
.event-gallery[hidden] { display: none; }

/* ---- Student Body (About > Leadership; data from student-body.json / live feed) ---- */
.student-body { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.student-body h3 { margin: 0 0 1.75rem; }
.student-body-sub { color: var(--muted); margin-bottom: 1.75rem; }
.student-body .director-grid--compact { max-width: none; grid-template-columns: repeat(auto-fit, minmax(11rem, 13rem)); }
@media (max-width: 639px) { .student-body .director-grid--compact { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Premium refinement layer: visual only.
   Quiet-luxury editorial: warm ivory and ink, hairline rules,
   lighter display type, squared corners, slower and softer motion.
   Overrides the rules above; no markup or behaviour depends on it.
   ============================================================ */
:root {
  --radius: 3px;
  --ease-lux: cubic-bezier(.22, 1, .36, 1);
  --hairline-dark: rgba(255,255,255,.1);
}
html { scrollbar-color: #cbbfb1 var(--paper); }
body { color: #221d1a; font-size: 1.04rem; letter-spacing: .002em; }
body::after { opacity: .045; mix-blend-mode: multiply; }
h1, h2 { font-weight: 420; letter-spacing: -0.03em; }
h3, h4 { font-weight: 500; letter-spacing: -0.015em; }
.icon { stroke-width: 1.7; }
::selection { background: var(--ink); color: var(--paper); }

/* ---- Rhythm ------------------------------------------------ */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.bg-white { background: var(--white); }
.bg-off-white { background: var(--paper); }
.bg-white + .bg-off-white, .bg-off-white + .bg-white { border-top: 1px solid var(--line); }
/* used on donate.html but never defined before, so its white text sat on a light background */
.bg-dark { background: linear-gradient(165deg, #1f1816, #110e0d); color: #fff; border-top: 1px solid var(--red); }

/* ---- Labels and headings ---------------------------------- */
.eyebrow { font-size: .68rem; letter-spacing: .3em; font-weight: 700; }
.eyebrow::before { width: 2.75rem; height: 1px; }
.section-title { font-size: clamp(2.15rem, 4.3vw, 3.5rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.032em; }
.section-subtitle { font-size: 1.08rem; line-height: 1.7; }
/* Headings stand alone now (no tagline, no divider), so they carry the gap to the content */
.section-title { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.split-head .section-title { margin-bottom: 0; }
@media (max-width: 899px) { .split-head .section-title { margin-bottom: .25rem; } }
.red-divider { display: none; }
/* No short red accent lines anywhere: labels and cards go without them too */
.eyebrow::before, .info-box::before { display: none; }
.prose p { color: #4f4842; }

/* ---- Buttons: squared, tracked, a slow fill on hover ------- */
.btn {
  border-radius: 999px; border-width: 1px;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05rem 1.95rem; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-lux), border-color .45s var(--ease-lux), box-shadow .45s var(--ease-lux), background-color .45s var(--ease-lux);
}
.btn:hover, .btn:active { transform: none; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .6s var(--ease-lux);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn-primary { background: var(--red); box-shadow: var(--shadow-red); }
.btn-primary::before { background: var(--red-deep); }
.btn-primary:hover { background: var(--red); box-shadow: 0 20px 40px -22px rgba(125,20,20,.75); }
.btn-outline { border-color: rgba(21,17,15,.5); }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { background: transparent; color: var(--paper); border-color: var(--ink); }
.btn-outline-white { border-color: rgba(255,255,255,.4); }
.btn-outline-white::before { background: #fff; }
.btn-outline-white:hover { background: transparent; color: var(--ink); border-color: #fff; }
.btn-dark::before { background: #000; }
.btn-dark:hover { background: var(--ink); }
.btn-sm { padding: .7rem 1.2rem; font-size: .68rem; }
.event-gallery-controls .btn:disabled::before { display: none; }

/* ---- Top bar and header ------------------------------------ */
/* Top bar: contact and social links grouped on the right, every icon the same size */
.topbar { background: #0f0c0b; font-size: .74rem; letter-spacing: .04em; color: rgba(255,255,255,.62); }
.topbar .container { justify-content: flex-end; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: .5rem; padding-bottom: .5rem; }
.topbar-contact { gap: .5rem 1.5rem; }
.topbar-social { gap: 1rem; padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.14); }
.topbar-contact a, .topbar-social a { display: inline-flex; align-items: center; gap: .5rem; line-height: 1; color: rgba(255,255,255,.66); transition: color .25s; }
.topbar-contact a:hover, .topbar-social a:hover { color: #fff; }
.topbar .icon, .topbar-contact .icon, .topbar-social .icon { width: .95rem; height: .95rem; color: var(--red); stroke-width: 1.8; }
/* Social icons share one round frame so the narrow "f" and the square Instagram mark read the same size */
.topbar-social { gap: .5rem; }
.topbar-social a { width: 1.75rem; height: 1.75rem; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transition: border-color .25s, background-color .25s; }
.topbar-social a:hover { border-color: var(--red); background: var(--red); }
.topbar-social a:hover .icon { color: #fff; }
.topbar-social .icon { width: .85rem; height: .85rem; }
@media (max-width: 639px) {
  .topbar .container { justify-content: center; }
  .topbar-social { padding-left: 0; border-left: none; }
}
/* Logo bar: solid bone white (the translucent ivory turned muddy grey over the dark hero) */
.site-header { background: #FFFDF9; backdrop-filter: none; border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -24px rgba(40,22,14,.35); }
.brand-name { font-weight: 600; letter-spacing: .06em; }
.brand-tag { letter-spacing: .16em; }
.footer-brand .brand-tag { white-space: normal; letter-spacing: .14em; line-height: 1.5; display: inline-block; max-width: 15rem; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.nav-link { font-size: .7rem; letter-spacing: .1em; font-weight: 600; color: #2a2421; transition: color .3s; }
.nav-link:hover { color: var(--ink); }
.nav-link::after { height: 1px; bottom: .05rem; }
.nav-dropdown { border-radius: var(--radius); border-color: var(--line); background: var(--white); padding: .6rem; box-shadow: 0 30px 60px -30px rgba(40,22,14,.35); }
.nav-dropdown a { border-radius: 2px; font-weight: 500; font-size: .84rem; }
.nav-dropdown a:hover { background: var(--paper); color: var(--red-dark); }
.mobile-menu { background: var(--white); }
.mobile-menu a:not(.btn) { font-size: .78rem; letter-spacing: .14em; }
.search-overlay { background: rgba(21,17,15,.55); backdrop-filter: blur(8px); }
.search-panel { border-radius: var(--radius); background: var(--white); }

/* ---- Hero: cinematic, light display type, staged entrance -- */
.hero { padding: clamp(5rem, 11vw, 8.5rem) 0 clamp(4.5rem, 9vw, 7rem); box-shadow: inset 0 -1px 0 var(--hairline-dark); }
.hero::before {
  background:
    radial-gradient(55% 70% at 88% 8%, rgba(211,47,47,.42), transparent 62%),
    radial-gradient(45% 60% at 0% 100%, rgba(125,20,20,.5), transparent 62%),
    linear-gradient(160deg, #1f1816 0%, #130f0e 55%, #0c0a09 100%);
}
.hero::after { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); font-weight: 300; }
.hero h1 { font-weight: 340; font-size: clamp(3.1rem, 8.4vw, 6.8rem); line-height: .98; letter-spacing: -0.042em; margin: 1.6rem 0 1.8rem; }
.hero p { color: rgba(255,255,255,.72); }
.hero .eyebrow { color: rgba(255,255,255,.85); }
@keyframes luxRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: luxRise 1.2s var(--ease-lux) both; }
.hero-inner > :nth-child(2) { animation-delay: .12s; }
.hero-inner > :nth-child(3) { animation-delay: .24s; }
.hero-inner > :nth-child(4) { animation-delay: .36s; }

/* Hero logo, to the right of the headline */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-logo { justify-self: start; order: -1; animation: luxRise 1.4s var(--ease-lux) .2s both; }
.hero-logo img {
  width: clamp(7.5rem, 30vw, 10rem); height: auto; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 0 10px rgba(255,255,255,.03), 0 30px 70px -20px rgba(0,0,0,.7), 0 0 80px -10px rgba(211,47,47,.45);
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(2.5rem, 5vw, 5rem); }
  .hero-logo { order: 0; justify-self: end; }
  .hero-logo img { width: clamp(15rem, 25vw, 23rem); }
}

/* ---- Interior page banner ---------------------------------- */
.page-banner { padding: clamp(3.25rem, 6.5vw, 5rem) 0 clamp(2.75rem, 5vw, 4rem); box-shadow: inset 0 -1px 0 var(--hairline-dark); }
.page-banner::before { background: radial-gradient(70% 130% at 92% 0%, rgba(211,47,47,.4), transparent 60%), linear-gradient(165deg, #1f1816, #110e0d); }
.page-banner h1 { font-weight: 380; font-size: clamp(2.3rem, 5.4vw, 3.8rem); letter-spacing: -0.035em; }
.page-banner .container > * { animation: luxRise 1s var(--ease-lux) both; }
.page-banner .breadcrumb { color: rgba(255,255,255,.5); }

/* ---- Stat strip --------------------------------------------- */
.stat-strip { background: #100d0c; border-top: 1px solid var(--red); }
.stat-item { padding: 2.5rem 2.25rem; border-right-color: var(--hairline-dark); }
.stat-item .icon { width: 2rem; height: 2rem; stroke-width: 1.3; }
.stat-value { font-weight: 340; font-size: 3.1rem; letter-spacing: -0.03em; }
.stat-label { font-size: .74rem; letter-spacing: .14em; color: rgba(255,255,255,.55); }

/* ---- Surfaces: squared corners, hairlines, quiet hovers ----- */
.card, .info-box, .quote-card, .event-card, .acc-item, .doc-card, .partner-cat, .t-card,
.flow-step, .donate-way, .amount-box, .events-calendar, .event-dialog, .media-photo,
.placeholder-box, .feature-media .placeholder-box, .event-gallery-stage, .form-status { border-radius: var(--radius); }
.pending-note, .docs-notice { border-radius: 0; }
.card, .info-box, .quote-card, .event-card, .doc-card, .partner-cat, .flow-step, .donate-way { background: var(--white); }

.card { padding: 2.5rem 2.1rem 2.25rem; transition: transform .7s var(--ease-lux), box-shadow .7s var(--ease-lux), border-color .5s; }
.card::before { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-lux); }
.card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: transparent; border: 1px solid rgba(211,47,47,.35); transition: background .5s var(--ease-lux), border-color .5s; }
.card:hover .card-icon { transform: none; border-color: var(--red); }
.card-icon .icon { width: 1.35rem; height: 1.35rem; }
.card h3 { font-weight: 450; font-size: 1.42rem; letter-spacing: -0.018em; }

.info-box { padding: 2.5rem 2.25rem; }
.info-box::before { width: 2.75rem; height: 1px; margin-bottom: 1.5rem; }
.info-box h3 { font-weight: 450; }

.feature-body .badge { border-radius: 50%; background: transparent; border: 1px solid rgba(211,47,47,.35); }
.feature-body h2 { font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.85rem); }
.check-list li::before { width: .55rem; height: .55rem; border-radius: 0; border: none; background: var(--red); transform: rotate(45deg); margin-top: .55rem; }

.flow-step { box-shadow: none; transition: transform .6s var(--ease-lux), box-shadow .6s var(--ease-lux); }
.flow-step:hover { transform: translateY(-3px); }
.flow-step .num { background: transparent; color: var(--red); border: 1px solid rgba(211,47,47,.45); font-weight: 500; }

.partner-cat:hover { transform: translateY(-3px); border-color: rgba(211,47,47,.5); }
.partner-cat h4 { font-weight: 500; }

.transparency::before { background: radial-gradient(70% 120% at 8% 0%, rgba(211,47,47,.3), transparent 55%), linear-gradient(170deg, #1a1513, #0f0c0b); }
.t-card { background: rgba(255,255,255,.03); border-color: var(--hairline-dark); }
.t-card:hover { background: rgba(211,47,47,.12); border-color: rgba(211,47,47,.45); transform: translateY(-3px); }
.t-card h4 { font-weight: 450; }

.quote-card { padding: 2.75rem; }
.quote-card blockquote { font-weight: 350; font-size: 1.45rem; }

.timeline { border-left-width: 1px; }
.timeline-item::before { width: .7rem; height: .7rem; left: -3.13rem; top: .35rem; border: none; box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--line); transform: rotate(45deg); border-radius: 0; }
.timeline-item .year { font-weight: 500; font-style: italic; }

/* ---- Pills become tracked, squared controls ----------------- */
.tab-btn, .anchor-nav a, .partner-list li, .amount-btn { border-radius: 999px; border-width: 1px; }
.tab-btn { font-size: .7rem; letter-spacing: .14em; padding: .75rem 1.4rem; background: var(--white); }
.tab-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); box-shadow: none; }
.anchor-nav a { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--white); }
.anchor-nav a:hover { border-color: var(--ink); color: var(--ink); }
.partner-list li { background: var(--white); }

/* ---- Forms ------------------------------------------------- */
.form input, .form select, .form textarea { border-radius: 2px; border-width: 1px; background: var(--white); padding: 1rem 1.1rem; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21,17,15,.07); }
.newsletter input { border-radius: 2px; }

/* ---- Events, calendar, accordion, documents ----------------- */
.event-card { transition: transform .7s var(--ease-lux), box-shadow .7s var(--ease-lux); }
.event-card:hover { transform: translateY(-3px); }
.event-date { background: #120f0e; }
.event-date .day { font-weight: 360; }
.event-body h3 { font-weight: 450; }
.events-calendar .fc-button { border-radius: 999px !important; letter-spacing: .06em; }
.events-calendar .fc-toolbar-title { font-weight: 420; }
.event-year { font-weight: 400; }
.acc-item:has(.acc-trigger[aria-expanded="true"]) { border-color: rgba(21,17,15,.35); }
.acc-trigger { font-weight: 450; font-size: 1.22rem; padding: 1.55rem 1.6rem; }
.doc-card-icon { border-radius: 50%; background: transparent; border: 1px solid rgba(183,28,28,.3); }
.doc-badge { border-radius: 2px; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---- Directors, figures, dashboard -------------------------- */
.director-photo, .director-photo img { border-radius: 2px; }
.director-meta .name { font-weight: 450; }
.figure-grid { border-top-width: 1px; }
.figure-value { font-weight: 320; letter-spacing: -0.045em; }
.dash-panel h3 { border-bottom-width: 1px; font-weight: 450; }
.bar-track { height: .35rem; }
.bar-count { font-weight: 450; }

/* ---- Donate -------------------------------------------------- */
.donate-way::before { width: .45rem; height: .45rem; border-radius: 0; transform: rotate(45deg); }
.amount-box { border-style: solid; border-width: 1px; border-color: rgba(211,47,47,.25); }
.bank-row .v { font-weight: 500; }

/* ---- Closing band and footer -------------------------------- */
.cta-band { padding: clamp(3.5rem, 6.5vw, 5rem) 0; }
.cta-band::before { background: radial-gradient(60% 140% at 85% 0%, rgba(255,255,255,.12), transparent 60%), linear-gradient(120deg, #c62828 0%, #9e1b1b 55%, #6e1111 100%); }
.cta-band h2 { font-weight: 400; font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.03em; }
.site-footer { background: #0f0c0b; }
.site-footer::before { height: 1px; }
.footer-grid { padding: 4.5rem 0 3rem; }
.footer h4 { font-size: .68rem; letter-spacing: .26em; color: rgba(255,255,255,.9); }
.footer-links a, .footer-contact li { color: rgba(255,255,255,.58); }
.footer-links a:hover { color: #fff; padding-left: 0; }
.footer-social a { border-color: rgba(255,255,255,.14); }
.footer-bottom { border-top-color: var(--hairline-dark); letter-spacing: .04em; }

/* ---- Scroll reveal: slower, softer -------------------------- */
:root.js [data-animate] { transform: translateY(28px); }
:root.js [data-animate].in-view { transition: opacity 1s var(--ease-lux), transform 1s var(--ease-lux); }

/* ---- Images: rounded, lifted, with a soft warm glow ---------- */
:root {
  --img-radius: 18px;
  --img-glow: 0 26px 50px -28px rgba(40,22,14,.55), 0 0 44px -12px rgba(211,47,47,.32);
  --img-glow-hover: 0 36px 64px -30px rgba(40,22,14,.6), 0 0 60px -10px rgba(211,47,47,.45);
}
.media-photo, .director-photo, .director-photo img, .event-gallery-stage {
  border-radius: var(--img-radius);
}
.media-photo, .director-photo {
  box-shadow: var(--img-glow);
  transform: translateY(-4px);
  transition: transform .7s var(--ease-lux), box-shadow .7s var(--ease-lux);
}
.media-photo:hover, .director-card:hover .director-photo { transform: translateY(-10px); box-shadow: var(--img-glow-hover); }
.director-photo::after { display: none; }
.director-grid--compact .director-photo, .director-photo--initials { box-shadow: var(--img-glow); }
@media (max-width: 559px) { .director-photo { box-shadow: var(--img-glow); } }
.team-photo { box-shadow: var(--img-glow); }

/* Event cards: the cover sits inside the card as its own rounded, glowing image */
.event-card { border-radius: var(--img-radius); }
.event-card .event-cover, .event-card .event-cover-ph, .event-card .event-date {
  width: calc(100% - 1.5rem); margin: .75rem .75rem 0; border-radius: calc(var(--img-radius) - 6px);
  box-shadow: var(--img-glow);
  transition: transform .7s var(--ease-lux), box-shadow .7s var(--ease-lux);
}
.event-card .event-cover-ph { border-width: 1px; }
.event-card:hover .event-cover, .event-card:hover .event-cover-ph, .event-card:hover .event-date { transform: translateY(-4px); box-shadow: var(--img-glow-hover); }
.event-date { overflow: hidden; }

/* ---- Leadership tiles (About: Board of Directors + Student Body) centred in the row ---- */
.director-grid--compact,
.student-body .director-grid--compact {
  max-width: none; margin-left: auto; margin-right: auto;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 13rem)); justify-content: center;
}
.director-grid--compact .director-meta { text-align: center; }
@media (max-width: 559px) {
  .director-grid--compact,
  .student-body .director-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Annual report figures (Impact #annual-report, Donate #where-it-went) ----
   Ranked single-hue bars: one series, one colour; the numbers are printed as text,
   so nothing is read from colour alone. Bars square at the baseline, 4px round at the data end. */
.figure-grid--ar { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.ar-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 720px) and (max-width: 1099px) { .ar-grid { grid-template-columns: repeat(2, 1fr); } .ar-grid > :last-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .ar-grid { grid-template-columns: repeat(3, 1fr); } }
.ar-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.75rem 1.6rem 1.4rem; box-shadow: 0 24px 50px -40px rgba(40,22,14,.35);
}
.ar-panel h3 { font-size: 1.22rem; font-weight: 500; }
.ar-total { color: var(--muted); font-size: .88rem; margin: .35rem 0 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.ar-panel--wide .ar-total { margin-top: 0; }
.ar-total strong { color: var(--ink); font-weight: 700; }
.ar-list { display: flex; flex-direction: column; gap: .6rem; }
.ar-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline;
  column-gap: 1rem; row-gap: .5rem; padding: .55rem .6rem .7rem; margin: 0 -.6rem; border-radius: 10px;
  transition: background-color .3s;
}
.ar-row:hover { background: var(--paper); }
.ar-label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.ar-value { font-weight: 600; font-size: .92rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ar-share { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; min-width: 3.4em; text-align: right; }
.ar-track { grid-column: 1 / -1; display: block; height: 8px; }
.ar-fill { display: block; height: 100%; width: var(--w); background: var(--red); border-radius: 0 4px 4px 0; transform-origin: left center; }
.ar-row:hover .ar-fill { background: var(--red-dark); }
@supports (animation-timeline: view()) {
  @keyframes arGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .ar-fill { animation: arGrow linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
}
@media (prefers-reduced-motion: reduce) { .ar-fill { animation: none; } }
.figure-grid--ar .figure-value { font-size: clamp(2.6rem, 5vw, 4.2rem); white-space: nowrap; }
.figure-unit { font-family: var(--sans); font-size: .32em; font-weight: 600; letter-spacing: .08em; vertical-align: .95em; margin-right: .3em; color: var(--muted); }
@media (max-width: 559px) { .figure-grid--ar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figure-grid--ar .figure-value { font-size: 1.85rem; } .figure-grid--ar .figure-card { padding-right: .75rem; } .figure-grid--ar .figure-card + .figure-card { padding-left: 1rem; } .figure-grid--ar .figure-card:nth-child(odd) { padding-left: 0; } }

/* ---- Patient journey: symmetric grid instead of a ragged flex wrap ----
   Wide: one row of six equal steps with arrows between. Tablet: 3 x 2, arrows hidden (the
   numbers carry the order). Phone: the stacked column with downward arrows, as before. */
@media (min-width: 768px) {
  .flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .flow-arrow { display: none; }
  .flow-step { max-width: none; }
}
@media (min-width: 1100px) {
  .flow { grid-template-columns: repeat(5, minmax(0, 1fr) auto) minmax(0, 1fr); gap: 0 .6rem; align-items: stretch; }
  .flow-arrow { display: flex; justify-content: center; }
  .flow-step { flex-direction: column; justify-content: flex-start; text-align: center; gap: .85rem; padding: 1.5rem 1rem 1.35rem; }
  .flow-step span.label { line-height: 1.35; }
}
@media (max-width: 767px) { .flow-step { flex: 0 0 auto; } }
