/* ============================================================
   Chinese American Aid Foundation — Design System v2
   Inspired by the Ease Health reference (styles.refero.design):
   a warm cream canvas layered with soft blush/rose washes, and one
   ink — #5C2418, a deep oxblood value-matched to the reference's
   forest ink at 12.2:1 — carrying headings and body alike. The brand
   red #9E3927 is too light (6.8:1) for running text, so it lives on
   fills and small accents. One cool slate panel counterbalances.
   Surfaces are flat and shadowless; depth comes from tinted
   layers, hairline dividers, and generous padding. Display serif
   (Cormorant Garamond, light) over a humanist sans (Inter).
   ============================================================ */

:root {
  /* Brand — the single saturated ink */
  --color-primary: #9e3927;        /* CAAF red: CTAs, headings, links, icon strokes */
  --color-primary-dark: #7a2a1c;   /* hover state, flat CTA band fill */
  --color-primary-tint: #f8e9e2;   /* blush wash — dominant tinted surface (keylime role) */

  /* Tinted surface ladder (cream → blush → rose → terracotta) */
  --color-blush: #f8e9e2;
  --color-rose: #f1d8cb;
  --color-terra: #e9c3b0;

  /* Cool counterpoint (slate role) — media/screenshot panels only */
  --color-slate: #b6ced5;

  /* Accent tokens kept for compatibility, remapped into the red family */
  --color-accent: #e9c3b0;         /* decorative only: divider marks, dots */
  --color-accent-dark: #9e3927;    /* small labels previously gold — now brand red */
  --color-accent-tint: #f8e9e2;

  /* The ink. Deep oxblood — a luminance match for the reference's forest ink
     (#0f3e17 sits at 12.2:1 on cream; #5c2418 sits at 12.2:1 too). The brand
     red #9e3927 is only 6.8:1, too light to carry body copy, so the single-ink
     rule is honored by value-matching our hue rather than reusing it literally.
     Headings and body share this one color; hierarchy comes from size, not tint. */
  --color-ink: #5c2418;            /* every text element unless stated otherwise */
  --color-ink-soft: #5c2418;       /* deliberately identical — see above */
  --color-ink-muted: #8a6055;      /* rare: tiny captions and disclaimers only */
  --color-paper: #fffefc;          /* cream paper — page canvas */
  --color-surface: #fffefc;        /* card surface in tinted contexts */
  --color-border: #efeeeb;         /* hairline dividers */
  --color-border-strong: #e3d5cc;  /* input borders, dashed placeholders */

  /* Footer / deep surface */
  --color-deep: #241511;
  --color-deep-soft: #4a2c22;
  --color-on-deep: #f3e6da;
  --color-on-deep-soft: #cbb4a4;
  --color-hairline-on-deep: rgba(243, 230, 218, 0.22);  /* on-dark 1px rules */
  --color-hairline-on-deep-faint: rgba(243, 230, 218, 0.14);

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --container-w: 1200px;
  --radius-sm: 7px;      /* nav items, inputs */
  --radius-md: 14px;     /* cards, buttons — the system radius */
  --radius-lg: 14px;     /* large panels share the same radius: consistency is the point */
  --radius-pill: 999px;  /* badges and tags only */

  /* Shadows survive only for floating UI (dropdown menu, mobile drawer).
     Cards and panels are flat — depth comes from tinted fills. */
  --shadow-sm: 0 2px 10px rgba(34, 34, 34, 0.07);
  --shadow-md: 0 10px 28px rgba(34, 34, 34, 0.1);
  --shadow-lg: 0 24px 60px rgba(34, 34, 34, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
  --dur-slow: 560ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
button { cursor: pointer; }

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Headings and body share one ink, exactly as the reference does — there,
   93% of text elements carry a single color and hierarchy is built from size
   and weight alone. Small headings (h4) switch to the sans. */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--color-ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 4.8vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 3.3vw, 3.1rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); letter-spacing: -0.01em; }
/* Sub-block headings (timeline entries, bare h4s) were rendering at 16.32px
   against 16px body — a 1.02x step, so they read as the paragraph's first line
   rather than as a heading. Raised to an existing scale value for a real step.
   Footer column heads and the values grid override this with their own sizes. */
h4 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--color-ink);
  text-wrap: balance;
}

p { max-width: 62ch; }
p.wide { max-width: none; }

.lede {
  font-size: clamp(1.02rem, 1.3vw, 1.125rem);
  color: var(--color-ink-soft);
  max-width: 56ch;
  font-weight: 300;
}

/* Statement — the reference's defining move: supporting copy set at display
   size in the display face, standing alone with no small sans paragraph beneath
   it. A section becomes one continuous voice instead of label + heading + body. */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--color-ink);
  max-width: 32ch;
  text-wrap: balance;
}

/* ---------- Focus & a11y ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-paper);
  padding: var(--space-3) var(--space-4);
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 400;
}
.skip-link:focus {
  left: 0;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--space-7); }
}

.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-7); }
.section--tint { background: var(--color-blush); }
.section--paper { background: var(--color-paper); }
.section--surface { background: var(--color-surface); }

/* Eyebrow: tiny uppercase typographic marker, no decorative bar */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

/* Brand divider — soft terracotta rule with the diamond mark */
.brand-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-block: var(--space-6);
  color: var(--color-terra);
}
.brand-divider::before,
.brand-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-terra) 20%, var(--color-terra) 80%, transparent);
}
.brand-divider .mark {
  width: 10px; height: 10px;
  border: 2px solid var(--color-terra);
  transform: rotate(45deg);
  flex: none;
}
.brand-divider--start { justify-content: flex-start; }
.brand-divider--start::before { display: none; }

/* ---------- Buttons ----------
   14px radius, flat fills, color-only hover transitions. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 400;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  min-height: 44px;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-paper);
}
.btn--primary:hover { background: var(--color-primary-dark); }

.btn--ghost-onlight {
  background: var(--color-blush);
  color: var(--color-primary);
}
.btn--ghost-onlight:hover { background: var(--color-rose); }

.btn--onphoto {
  background: var(--color-paper);
  color: var(--color-primary);
}
.btn--onphoto:hover { background: var(--color-blush); }

/* On dark bands: cream fill, red text */
.btn--accent {
  background: var(--color-paper);
  color: var(--color-primary);
}
.btn--accent:hover { background: var(--color-blush); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 400;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: gap var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.link-arrow:hover { gap: 0.65em; border-color: var(--color-primary); }

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: var(--color-ink);
  color: var(--color-on-deep);
}
.announce-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding-block: var(--space-2);
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
  flex-wrap: wrap;
}
.announce-bar a {
  color: var(--color-on-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.announce-bar a:hover { color: var(--color-paper); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 252, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.12;
}
.brand img { height: 46px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  color: var(--color-primary);
}
.nav-toggle svg { width: 28px; height: 28px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-weight: 400;
  font-size: 0.9rem;
}
.primary-nav__list a {
  text-decoration: none;
  color: var(--color-ink);
  padding-block: var(--space-2);
  position: relative;
}
.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: right var(--dur-med) var(--ease);
}
.primary-nav__list a:hover::after,
.primary-nav__list a[aria-current="page"]::after { right: 0; }
.primary-nav__list a[aria-current="page"] { color: var(--color-primary); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: var(--space-2);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  translate: 0 6px;
  transition: opacity var(--dur-fast) var(--ease), translate var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; translate: 0 0;
}
.dropdown a {
  display: block;
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 400;
  color: var(--color-ink);
}
.dropdown a:hover { background: var(--color-blush); color: var(--color-primary); }
.dropdown a::after { display: none; }

@media (max-width: 900px) {
  /* backdrop-filter establishes a new containing block for fixed-position
     descendants, which would break the full-height mobile nav drawer below */
  .site-header { backdrop-filter: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--color-paper);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-8) var(--space-6);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease);
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav__list { flex-direction: column; align-items: flex-start; gap: var(--space-4); width: 100%; }
  .dropdown { position: static; transform: none; box-shadow: none; border: none; padding-left: var(--space-4); opacity: 1; visibility: visible; translate: none; display: none; min-width: 0; }
  .has-dropdown.is-expanded .dropdown { display: block; }
  .nav-cta { margin-top: var(--space-5); }
}

.nav-scrim {
  display: none;
  position: fixed; inset: 0;
  background: rgba(34, 34, 34, 0.4);
  z-index: 90;
}
.nav-scrim.is-open { display: block; }

/* ---------- Hero (photo) ---------- */
.hero {
  position: relative;
  color: var(--color-paper);
  overflow: hidden;
  min-height: min(86vh, 780px);
  display: flex;
  align-items: flex-end;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* headroom for the parallax translate so no gap is ever exposed */
  transform: scale(1.12) translateY(var(--parallax-y, 0px));
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img { transform: scale(1.12); }
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(36, 21, 17, 0.88) 0%, rgba(36, 21, 17, 0.45) 55%, rgba(36, 21, 17, 0.15) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-9) var(--space-8);
  width: 100%;
}
.hero h1 { color: var(--color-paper); max-width: 20ch; }
.hero .lede { color: var(--color-on-deep); max-width: 52ch; margin-top: var(--space-4); }
.hero__actions { display: flex; gap: var(--space-4); margin-top: var(--space-6); flex-wrap: wrap; }
.hero__eyebrow { color: var(--color-blush); }

/* Compact photo hero for interior pages (vs. the full-height homepage hero) */
.hero--compact { min-height: min(64vh, 560px); }
.hero--compact .hero__content { padding-block: var(--space-8) var(--space-7); }
.hero--compact .breadcrumb { color: var(--color-on-deep-soft); }
.hero--compact .breadcrumb a { color: var(--color-on-deep); }

/* Stat strip below the hero — a flat blush panel, no shadow */
.stat-strip {
  position: relative;
  z-index: 2;
  margin-top: var(--space-8);
  background: var(--color-blush);
  border-radius: var(--radius-md);
  overflow: hidden; /* so the end cells clip to the panel's rounded corners on hover */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-strip.is-static { position: static; margin-top: 0; }
.stat {
  padding: var(--space-6) var(--space-5);
  text-align: left;
}
/* Homepage stat strip reads as one centered, balanced group */
.stat-strip .stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.6s cubic-bezier(0.5, 0, 0, 1);
}
/* These four cells share one continuous panel, so lifting a single cell would
   tear it out of the strip. The segment tints instead and only the figure
   rises — the same slow settle, without breaking the panel. */
.stat-strip .stat:hover { background: var(--color-rose); }
.stat-strip .stat__num { transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1); }
.stat-strip .stat:hover .stat__num { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  .stat-strip .stat,
  .stat-strip .stat__num { transition: none; }
  .stat-strip .stat:hover .stat__num { transform: none; }
}
.stat__num {
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}
.stat__label {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  font-weight: 400;
  margin-top: var(--space-1);
}
@media (max-width: 860px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Cards ----------
   Flat tinted panels: blush on cream sections, cream on tinted
   sections. No borders, no shadows — depth is fill contrast. */
.card-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.card {
  background: var(--color-blush);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.section--tint .card { background: var(--color-paper); }
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-4px); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-rose); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__media--placeholder img { width: 72px; height: 72px; object-fit: contain; opacity: 0.5; }
.card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card__tag {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-primary);
}
.card__body h3 { margin-bottom: var(--space-1); }
.card__body p { font-size: 0.9rem; color: var(--color-ink-soft); }
.card__cta { margin-top: auto; padding-top: var(--space-3); font-weight: 400; color: var(--color-primary); font-size: 0.9rem; }

/* People grid (board / cohorts) */
.people-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.person {
  text-align: left;
}
.person__photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-blush);
  margin-bottom: var(--space-3);
}
.section--tint .person__photo { background: var(--color-paper); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__initial {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  background: var(--color-rose);
}
.person__name { font-weight: 400; font-size: 0.9rem; }
/* Presentation link beneath a participant. Underlined rather than colour-only,
   so it reads as a link without adding a second ink to the page. */
.person__link {
  display: inline-block;
  margin-top: var(--space-1);
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.person__link:hover { color: var(--color-primary-dark); }
@media (prefers-reduced-motion: reduce) { .person__link { transition: none; } }
.person__role { font-size: 0.9rem; color: var(--color-ink-soft); margin-top: 2px; }
.person__meta { font-size: 0.9rem; color: var(--color-ink-soft); margin-top: 2px; line-height: 1.4; }

/* ---------- Values / feature list ----------
   Serif headings over sans copy. The reference builds its whole page from this
   pairing — a large display line answered by small sans prose — and it is what
   makes each block read as editorial rather than as a bulleted list. */
.feature-list { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* Reverted from display serif. At this size Cormorant's thin strokes rendered
   *lighter* than the sans paragraph beneath it, inverting the hierarchy it was
   meant to create. Weight is capped at 400, so rank is established by the
   sturdier face plus a size step instead. */
.feature-list h4 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.35;
  margin-bottom: var(--space-2);
  color: var(--color-ink);
}
.feature-list p { font-size: 0.9rem; color: var(--color-ink-soft); }

/* ---------- Timeline (history) ---------- */
.timeline { display: grid; gap: var(--space-6); }
.timeline__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-5);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-border);
}
.timeline__item:first-child { border-top: none; }
.timeline__year { font-family: var(--font-display); letter-spacing: -0.01em; font-variant-numeric: lining-nums; font-size: 1.5rem; font-weight: 400; color: var(--color-primary); }
@media (max-width: 640px) {
  .timeline__item { grid-template-columns: 1fr; gap: var(--space-2); }
}

/* ---------- Quote / message block ---------- */
.message-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-7);
  align-items: start;
  background: var(--color-blush);
  border-radius: var(--radius-md);
  padding: var(--space-7);
}
.section--tint .message-block { background: var(--color-paper); }
.message-block__photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; }
.message-block__photo img { width: 100%; height: 100%; object-fit: cover; }
.message-block blockquote { font-family: var(--font-display); letter-spacing: -0.01em; font-size: clamp(1.25rem, 1.7vw, 1.55rem); font-weight: 400; line-height: 1.5; color: var(--color-ink); }
.message-block figcaption { margin-top: var(--space-4); font-weight: 400; color: var(--color-primary); }
.message-block figcaption span { display: block; font-weight: 400; color: var(--color-ink-soft); font-size: 0.9rem; }
@media (max-width: 700px) {
  .message-block { grid-template-columns: 1fr; }
  .message-block__photo { max-width: 140px; }
}

/* ---------- Page hero (interior pages) ----------
   A light blush wash panel with red serif display type —
   the reference system's hero treatment. */
.page-hero {
  background: var(--color-blush);
  color: var(--color-ink);
  padding-block: var(--space-9) var(--space-8);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%; top: -30%;
  width: 480px; height: 480px;
  border: 60px solid rgba(158, 57, 39, 0.05);
  border-radius: 50%;
}
.page-hero .eyebrow { color: var(--color-primary); }
.page-hero h1 { color: var(--color-ink); max-width: 22ch; }
.page-hero .lede { color: var(--color-ink-soft); }
.breadcrumb {
  display: flex; gap: var(--space-2); align-items: center;
  font-size: 0.9rem; font-weight: 400; color: var(--color-ink-soft);
  margin-bottom: var(--space-5);
}
.breadcrumb a { color: var(--color-primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Event details card ---------- */
.event-card {
  background: var(--color-blush);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-4);
}
.section--tint .event-card { background: var(--color-paper); }
.event-card dl { display: grid; gap: var(--space-3); }
.event-card dt { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); }
.event-card dd { font-weight: 400; color: var(--color-ink); }

/* ---------- Schedule ---------- */
.schedule { display: grid; gap: 0; border-top: 1px solid var(--color-border); }
.schedule__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-5);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.schedule__time { font-weight: 400; color: var(--color-primary); }
@media (max-width: 600px) { .schedule__row { grid-template-columns: 1fr; gap: var(--space-1); } }

/* ---------- FAQ ----------
   Serif questions over sans answers, separated by hairlines. */
.faq { display: grid; gap: 0; max-width: 800px; border-top: 1px solid var(--color-border); }
.faq details {
  background: transparent;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-5) var(--space-2);
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-primary);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform var(--dur-fast) var(--ease);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: var(--space-3); color: var(--color-ink-soft); font-size: 0.9rem; }

/* ---------- Stat snapshot (small, inline) ---------- */
.snapshot { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-block: var(--space-7); }
.snapshot .stat {
  border-radius: var(--radius-md);
  background: var(--color-blush);
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1), background 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.section--tint .snapshot .stat { background: var(--color-paper); }

/* Metrics respond to the pointer with the same slow settle used elsewhere:
   a small lift and one step deeper on the tint ladder. Depth stays a matter of
   fill contrast — no shadow is introduced. */
.snapshot .stat:hover { transform: translateY(-5px); background: var(--color-rose); }
.section--tint .snapshot .stat:hover { background: var(--color-blush); }
.snapshot .stat .stat__num { transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1); }
.snapshot .stat:hover .stat__num { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .snapshot .stat,
  .snapshot .stat .stat__num { transition: none; }
  .snapshot .stat:hover { transform: none; }
  .snapshot .stat:hover .stat__num { transform: none; }
}

/* ---------- CTA band — the one flat dark panel ---------- */
.cta-band {
  background: var(--color-primary-dark);
  color: var(--color-on-deep);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--color-paper); }
.cta-band p { color: var(--color-on-deep); opacity: 0.85; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-deep);
  color: var(--color-on-deep-soft);
  padding-block: var(--space-8) var(--space-6);
}
.footer-grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.footer-brand img { height: 40px; width: auto; }
.footer-brand span { font-family: var(--font-display); color: var(--color-paper); font-size: 1.15rem; }
.site-footer h4 { color: var(--color-paper); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-4); font-family: var(--font-body); font-weight: 400; }
.footer-links { display: grid; gap: var(--space-3); }
.footer-links a { text-decoration: none; color: var(--color-on-deep-soft); font-size: 0.9rem; transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--color-paper); }
.footer-contact { display: grid; gap: var(--space-3); font-size: 0.9rem; }
.footer-contact a { color: var(--color-on-deep-soft); text-decoration: none; }
.footer-contact a:hover { color: var(--color-paper); }
.social-row { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.social-row a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-hairline-on-deep);
  border-radius: 50%;
  color: var(--color-paper);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.social-row a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-hairline-on-deep-faint);
  display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
  font-size: 0.9rem;
}

/* ---------- Utilities ---------- */
/* A line break that only applies from tablet up. On narrow screens the text
   wraps naturally instead of being forced into an awkward break. */
.br-wide { display: none; }
@media (min-width: 768px) { .br-wide { display: inline; } }

.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.max-w-prose { max-width: 62ch; }
.stack { display: grid; gap: var(--space-5); }
.stack--lg { gap: var(--space-7); }
.row-between {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Pathway grid (homepage: Programs / Events / Galleries / Donate) ---------- */
.pathway-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .pathway-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pathway-grid { grid-template-columns: 1fr; }
}
.pathway-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--color-blush);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.section--tint .pathway-card { background: var(--color-paper); }
.pathway-card:hover { transform: translateY(-4px); }
.pathway-card__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-rose); }
.pathway-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.pathway-card:hover .pathway-card__media img { transform: scale(1.05); }
.pathway-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.pathway-card__body h3 { font-size: 1.5rem; }
.pathway-card__body p { font-size: 0.9rem; color: var(--color-ink-soft); }
/* All four pathway CTAs render as the same filled button, and all four cards
   share one surface — the Donate card is no longer set apart by a deeper tint. */
.pathway-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--color-primary);
  color: var(--color-paper);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  margin-top: auto;
  white-space: nowrap;
  width: fit-content;
  font-weight: 400;
  font-size: 0.9rem;
  transition: background 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.pathway-card:hover .pathway-card__cta { background: var(--color-primary-dark); }
@media (prefers-reduced-motion: reduce) {
  .pathway-card__cta { transition: none; }
}

/* ---------- Featured / current opportunity band (used only when there is a live, time-sensitive opportunity to surface) ---------- */
.featured-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  background: var(--color-paper);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-7);
}
.featured-band .eyebrow { color: var(--color-primary); }

/* ---------- Partner / organizations logo strip ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-5);
}
.partner-tile {
  background: var(--color-blush);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
}
.section--tint .partner-tile { background: var(--color-paper); }
.partner-tile img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.6s cubic-bezier(0.5, 0, 0, 1), opacity 0.6s cubic-bezier(0.5, 0, 0, 1);
}
/* The whole tile lifts and steps one shade deeper as its logo regains colour.
   Same slow settle used across the site; depth stays fill-based, no shadow. */
.partner-tile {
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1), background 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.partner-tile:hover { transform: translateY(-6px); background: var(--color-rose); }
.section--tint .partner-tile:hover { background: var(--color-blush); }
.partner-tile:hover img { filter: grayscale(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .partner-tile { transition: none; }
  .partner-tile:hover { transform: none; }
}

/* ---------- Volunteer callout (e.g. College Admission Workshop page) ---------- */
.volunteer-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-7);
  align-items: center;
  background: var(--color-blush);
  border-radius: var(--radius-md);
  padding: var(--space-7);
}
.section--tint .volunteer-band { background: var(--color-paper); }
@media (max-width: 760px) {
  .volunteer-band { grid-template-columns: 1fr; }
}
.volunteer-band ul { display: grid; gap: var(--space-3); }
.volunteer-band li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--color-ink-soft); }
.volunteer-band li::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--color-primary);
  flex: none;
}

/* ---------- Photo interstitials (About page rhythm) ---------- */
.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.photo-duo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
}
@media (max-width: 560px) {
  .photo-duo { grid-template-columns: 1fr; }
}

/* Captioned photo — lifts, darkens, and reveals its caption on hover.
   Timing follows the reference's motion character: a slow settle on a hard
   ease-out, rather than the snappy UI feedback we had before. */
.photo-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  /* Hug the image. As a grid or flex child this would otherwise stretch to the
     row height, and the overlay and caption — positioned against the figure —
     would land in the empty space below the photo instead of on it. */
  align-self: start;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.photo-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.photo-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(36, 21, 17, 0.85) 0%, rgba(36, 21, 17, 0.45) 45%, rgba(36, 21, 17, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.5, 0, 0, 1);
  pointer-events: none;
}
.photo-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: var(--space-5);
  color: var(--color-paper);
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s cubic-bezier(0.5, 0, 0, 1), transform 0.6s cubic-bezier(0.5, 0, 0, 1);
  pointer-events: none;
}
/* Wide variant. Declared after `.photo-figure img` so it wins on source order —
   both selectors carry the same specificity. */
.photo-figure--band img { aspect-ratio: 21 / 9; }
@media (max-width: 640px) {
  .photo-figure--band img { aspect-ratio: 4 / 3; }
}

/* Square variant — for the portrait beside the president's message, which sits
   in a fixed-width column rather than a photo grid. */
.photo-figure--square img { aspect-ratio: 1 / 1; }
.photo-figure--square figcaption { padding: var(--space-4); font-size: 0.85rem; }

/* Landscape variant — matches the 4:3 used by card media. */
.photo-figure--landscape img { aspect-ratio: 4 / 3; }

.photo-figure:hover,
.photo-figure:focus-within { transform: translateY(-6px); }
.photo-figure:hover::after,
.photo-figure:focus-within::after { opacity: 1; }
.photo-figure:hover figcaption,
.photo-figure:focus-within figcaption { opacity: 1; transform: translateY(0); }

/* Touch and reduced-motion users never trigger hover, so the caption must not
   be the only way to reach the information — it stays visible for them. */
@media (hover: none) {
  .photo-figure::after { opacity: 1; }
  .photo-figure figcaption { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-figure,
  .photo-figure::after,
  .photo-figure figcaption { transition: none; }
  .photo-figure:hover { transform: none; }
}
.photo-band {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
}
@media (max-width: 640px) {
  .photo-band { aspect-ratio: 4 / 3; }
}

/* ---------- E-Journal flipbook ----------
   The slate panel is the designated home for document previews —
   the system's single cool counterpoint. */
.flipbook-wrap {
  max-width: 900px;
  margin-inline: auto;
}
.flipbook-stage {
  display: flex;
  justify-content: center;
  background: var(--color-slate);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
#ejournal-flipbook {
  margin-inline: auto;
}
#ejournal-flipbook canvas {
  border-radius: var(--radius-sm);
}
.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.flipbook-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-paper);
  color: var(--color-primary);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.flipbook-controls button:hover:not(:disabled) { background: var(--color-primary); color: var(--color-paper); }
.flipbook-controls button:disabled { opacity: 0.4; cursor: default; }
.flipbook-controls button svg { width: 20px; height: 20px; }
.flipbook-page-count {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-soft);
  min-width: 9ch;
  text-align: center;
}
.flipbook-loading {
  color: #38464c;
  text-align: center;
  padding: var(--space-9) 0;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}
.gallery-tile {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-blush);
  position: relative;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: linear-gradient(0deg, rgba(24,10,7,0.78) 0%, rgba(24,10,7,0) 100%);
  color: var(--color-paper);
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}
.gallery-tile:hover .gallery-tile__caption { opacity: 1; }
.gallery-album + .gallery-album { margin-top: var(--space-9); }
.gallery-album h3 { margin-bottom: var(--space-2); }

/* Simple placeholder page (2024 SCP, etc.) */
.placeholder-block {
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  text-align: center;
  color: var(--color-ink-soft);
}

/* ---------------------------------------------------------------------------
   PDF lightbox — opens presentations in an overlay instead of downloading.
   The trigger stays a real <a href="...pdf">, so with JS off (or if the
   browser cannot render PDFs inline) the link still works on its own.
--------------------------------------------------------------------------- */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: clamp(0.75rem, 3vw, var(--space-6));
  background: rgba(36, 21, 17, 0.82);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.5, 0, 0, 1);
}
.pdf-modal.is-open { display: flex; }
.pdf-modal.is-visible { opacity: 1; }

.pdf-modal__dialog {
  position: relative;
  margin: auto;
  width: min(1100px, 100%);
  height: min(88vh, 100%);
  display: flex;
  flex-direction: column;
  background: var(--color-paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(36, 21, 17, 0.45);
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1);
}
.pdf-modal.is-visible .pdf-modal__dialog { transform: translateY(0); }

.pdf-modal__bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  flex: none;
}
.pdf-modal__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-ink);
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdf-modal__open {
  flex: none;
  font-size: 0.85rem;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdf-modal__close {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.3s cubic-bezier(0.5, 0, 0, 1);
}
.pdf-modal__close:hover { background: var(--color-blush); }

.pdf-modal__frame { flex: 1 1 auto; width: 100%; border: 0; background: var(--color-blush); }

/* Shown only when the browser will not display a PDF inline (mostly iOS). */
.pdf-modal__fallback {
  display: none;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-6);
  text-align: center;
}
.pdf-modal.is-fallback .pdf-modal__frame { display: none; }
.pdf-modal.is-fallback .pdf-modal__fallback { display: flex; }

body.has-modal { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .pdf-modal, .pdf-modal__dialog { transition: none; }
}

/* ---------- Gala sponsor wall ----------
   Same lift-and-colourise as the home page partner grid, but the tile keeps
   its own background on hover. Several sponsor logos are supplied on a solid
   white plate, so shifting the tile colour underneath made that plate read as
   a hard edge rather than part of the mark. */
.partner-grid--steady .partner-tile:hover,
.section--tint .partner-grid--steady .partner-tile:hover {
  background: var(--color-paper);
}
.partner-grid--four { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.people-grid--four { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); max-width: 900px; }

/* ---------- Wide photo figures (Lunar New Year 2024) ---------- */
.photo-figure--wide img { aspect-ratio: 16 / 9; }


.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-5);
}
@media (max-width: 720px) {
  .photo-grid { grid-template-columns: 1fr; }
}

/* Invitation flyer: portrait art shown beside its own explanation. */
.flyer-block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) 1fr;
  gap: var(--space-8);
  align-items: center;
}
.flyer-block img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
@media (max-width: 860px) {
  .flyer-block { grid-template-columns: 1fr; }
  .flyer-block figure { max-width: 420px; margin-inline: auto; }
}

/* Anchor targets sit below the sticky header rather than under it. */
[id="upcoming-events"],
[id="past-events"],
[id="our-history"] {
  scroll-margin-top: 96px;
}

/* ---------- Scholarship award cards (FAALS recipients) ---------- */
.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
  gap: var(--space-4);
  align-items: stretch;
}
.award-card {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1),
              border-color 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.award-card:hover { transform: translateY(-6px); border-color: var(--color-terra); }
.award-card h4 { margin: 0; text-wrap: balance; }

/* ---------- Value icons (About → What guides our work) ----------
   Line icons sized to sit above each value without competing with the
   heading. Scoped to --icons so other feature lists are untouched. */
.value-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}
.feature-list--icons { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.feature-list--icons .value-icon {
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.feature-list--icons > div:hover .value-icon { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .feature-list--icons .value-icon { transition: none; }
  .feature-list--icons > div:hover .value-icon { transform: none; }
}

/* ---------- Leadership portraits (About) ----------
   Card lifts and the portrait scales up slightly inside its rounded frame.
   No scrim or caption here — the names sit below the photo already.
   Scoped to --lift so the cohort rosters on other pages keep their
   plain, non-interactive treatment. */
.people-grid--lift .person {
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.people-grid--lift .person:hover,
.people-grid--lift .person:focus-within {
  transform: translateY(-6px);
}
.people-grid--lift .person__photo img,
.people-grid--lift .person__initial {
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.people-grid--lift .person:hover .person__photo img,
.people-grid--lift .person:focus-within .person__photo img,
.people-grid--lift .person:hover .person__initial,
.people-grid--lift .person:focus-within .person__initial {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .people-grid--lift .person,
  .people-grid--lift .person__photo img,
  .people-grid--lift .person__initial { transition: none; }
  .people-grid--lift .person:hover,
  .people-grid--lift .person:hover .person__photo img,
  .people-grid--lift .person:hover .person__initial { transform: none; }
}

/* Donate hero: the photo is already blurred in the asset, so the scrim only
   needs to carry the extra darkening that keeps the headline readable. */
.hero--soft .hero__scrim {
  background: linear-gradient(0deg, rgba(36, 21, 17, 0.86) 0%, rgba(36, 21, 17, 0.55) 55%, rgba(36, 21, 17, 0.4) 100%);
}
.hero--soft .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(36, 21, 17, 0.25);   /* the requested 25% darken */
}

/* Four-up feature list where every heading holds one line, so the body copy
   below them all starts on the same baseline with no added gap. */
.feature-list--aligned {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-5);
}
.feature-list--aligned h4 {
  font-size: 1.2rem;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .feature-list--aligned h4 { white-space: normal; }
}

/* Inline address link — underlined so it reads as a link inside a
   definition list without introducing a second ink colour. */
.link-address {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-terra);
  transition: text-decoration-color 0.4s cubic-bezier(0.5, 0, 0, 1),
              color 0.4s cubic-bezier(0.5, 0, 0, 1);
}
.link-address:hover { color: var(--color-primary); text-decoration-color: var(--color-primary); }

/* ---------- Icon cards (FAALS criteria) ----------
   Bordered card carrying an icon, heading and short body, lifting on hover
   like the other interactive tiles on the site. */
.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: var(--space-5);
}
.icon-card {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1),
              border-color 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.icon-card:hover { transform: translateY(-6px); border-color: var(--color-terra); }
.icon-card h4 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: var(--space-2);
  color: var(--color-ink);
}
.icon-card p { font-size: 0.9rem; color: var(--color-ink-soft); }

@media (prefers-reduced-motion: reduce) {
  .icon-card { transition: none; }
  .icon-card:hover { transform: none; }
}

/* Ivan Chiang's separate award — photo beside the citation once supplied. */
.ivan-block {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) 1fr;
  gap: var(--space-8);
  align-items: center;
}
.ivan-block:not(:has(figure)) { grid-template-columns: 1fr; max-width: 62ch; }
.ivan-block h3 { font-family: var(--font-display); font-weight: 400; }
@media (max-width: 860px) {
  .ivan-block { grid-template-columns: 1fr; }
  .ivan-block figure { max-width: 480px; }
}

/* ---------- Video embeds (archive galas) ----------
   youtube-nocookie keeps tracking cookies out until a viewer presses play. */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}
.video-embed { margin: 0; }
.video-embed__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-deep);
}
.video-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed figcaption {
  margin-top: var(--space-3);
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

/* ---------- Secondary CTA band (newsletter) ----------
   Sits below the primary ask on every page. Deliberately quieter than
   .cta-band so two stacked bands read as a hierarchy rather than a repeat:
   tinted ground, ink text, and the solid button carrying the brand instead
   of the whole panel. */
.cta-band--soft {
  background: var(--color-blush);
  color: var(--color-ink);
  border: 1px solid var(--color-rose);
}
.cta-band--soft h2 { color: var(--color-ink); }
.cta-band--soft p { color: var(--color-ink-soft); opacity: 1; }
.section--tint .cta-band--soft { background: var(--color-paper); }

/* ---------- AAYP winners ---------- */
.year-block { margin-top: var(--space-9); }
.year-block:first-of-type { margin-top: var(--space-7); }
.year-head {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.year-head h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin: 0;
}
.year-head span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}
/* The prompt each cohort answered — set as a quotation, since it is one. */
.prompt {
  margin-top: var(--space-5);
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-terra);
  max-width: 68ch;
}
.prompt span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-2);
}
.prompt p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--color-ink);
  margin: 0;
}

.winner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-7);
}
.winner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1),
              border-color 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.winner:hover { transform: translateY(-6px); border-color: var(--color-terra); }
.winner__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-blush);
  margin-bottom: var(--space-4);
}
.winner__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.winner__name { font-size: 1.1rem; color: var(--color-ink); margin-bottom: var(--space-2); }
.winner__excerpt {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-4);
  flex: 1 1 auto;
}
.winner__more {
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.4s cubic-bezier(0.5, 0, 0, 1);
}
.winner__more:hover { color: var(--color-primary-dark); }

/* ---------- Essay reader ----------
   Same overlay pattern as the presentation viewer, holding text instead of
   a PDF: the headshot and name stay with the essay so the reader keeps the
   person in view while they read. */
.essay-modal__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  flex: none;
}
.essay-modal__head img {
  width: 60px; height: 60px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  flex: none;
}
.essay-modal__who { flex: 1 1 auto; min-width: 0; }
.essay-modal__who h3 { font-size: 1.35rem; margin: 0; color: var(--color-ink); }
.essay-modal__who p {
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  margin-top: 2px;
  font-variant-numeric: lining-nums;
}
.essay-modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: var(--space-6);
}
.essay-modal__body p {
  max-width: 68ch;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-5);
}
.essay-modal__body p:last-child { margin-bottom: 0; }
.essay-modal__prompt {
  max-width: 68ch;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.essay-modal__prompt span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-2);
}
.essay-modal__prompt em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.15rem;
  color: var(--color-ink);
}
@media (max-width: 620px) {
  .essay-modal__head { padding: var(--space-4); }
  .essay-modal__body { padding: var(--space-4); }
}

/* Hero photos where the subjects sit high in the frame: shift the crop
   window up the image so heads are not clipped by the banner's shorter
   aspect ratio. */
.hero--lower .hero__media img { object-position: 50% var(--hero-y, 20%); }

/* Denser photo grid for legacy project galleries (16 images). */
.photo-grid--tight { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }
@media (max-width: 720px) { .photo-grid--tight { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }

/* Year jump buttons (AAYP winners) */
.year-jump {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.year-jump a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-paper);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-variant-numeric: lining-nums tabular-nums;
  text-decoration: none;
  transform: translateY(0);
  transition: background 0.5s cubic-bezier(0.5, 0, 0, 1),
              color 0.5s cubic-bezier(0.5, 0, 0, 1),
              border-color 0.5s cubic-bezier(0.5, 0, 0, 1),
              transform 0.5s cubic-bezier(0.5, 0, 0, 1);
}
.year-jump a:hover,
.year-jump a:focus-visible {
  background: var(--color-blush);
  border-color: var(--color-terra);
  color: var(--color-primary);
  transform: translateY(-3px);
}
/* On a tinted section the blush ground matches the panel, so hover goes to paper. */
.section--tint .year-jump a:hover,
.section--tint .year-jump a:focus-visible { background: var(--color-paper); }
/* Land the year clear of the sticky header */
.year-block[id] { scroll-margin-top: 104px; }

@media (prefers-reduced-motion: reduce) {
  .year-jump a { transition: none; }
  .year-jump a:hover { transform: none; }
}

/* Library locations */
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.library-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-4) var(--space-5);
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1),
              border-color 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.library-item:hover { transform: translateY(-6px); border-color: var(--color-terra); }
.library-item__place {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-ink);
}
.library-item__province {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
@media (prefers-reduced-motion: reduce) {
  .library-item { transition: none; }
  .library-item:hover { transform: none; }
}

/* ---------- Application template (AAYS 2027) ---------- */
/* Placeholder marker: obviously a gap awaiting real information, without
   looking like a rendering fault. */
.tbc {
  display: inline-block;
  padding: 0.08em 0.55em;
  border: 1px dashed var(--color-terra);
  border-radius: var(--radius-sm);
  background: var(--color-blush);
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 0.85em;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.section--tint .tbc { background: var(--color-paper); }

.notice-inline {
  margin-top: var(--space-5);
  max-width: 62ch;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-terra);
}

.apply-block {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.apply-block h3 { font-family: var(--font-display); font-weight: 400; }
.prompt-list {
  margin: var(--space-5) 0 0;
  padding-left: 1.4rem;
  display: grid;
  gap: var(--space-3);
  color: var(--color-ink-soft);
}
.prompt-list li { padding-left: 0.3rem; }
.prompt-list li::marker { color: var(--color-primary); font-variant-numeric: lining-nums; }
.prompt-note {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.notice-block {
  background: var(--color-blush);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-5) var(--space-6);
}
.notice-block h4 { color: var(--color-ink); }
.notice-block p { margin-top: var(--space-2); font-size: 0.92rem; color: var(--color-ink-soft); }

.apply-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  background: var(--color-blush);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.apply-cta h3 { font-family: var(--font-display); font-weight: 400; }
.apply-cta p { margin-top: var(--space-2); font-size: 0.92rem; color: var(--color-ink-soft); max-width: 52ch; }
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* FAQ — native <details>, so it works without JavaScript */
.faq-list { display: grid; gap: var(--space-3); }
.faq {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq summary {
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
  transition: color 0.4s cubic-bezier(0.5, 0, 0, 1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-primary);
  transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-primary); }
.faq__body { padding: 0 var(--space-5) var(--space-5); }
.faq__body p { font-size: 0.92rem; color: var(--color-ink-soft); max-width: 68ch; }

@media (prefers-reduced-motion: reduce) {
  .faq summary, .faq summary::after { transition: none; }
}

/* Gallery tile whose subjects sit high in the frame — show more of the top. */
.gallery-tile img.tile--lower { object-position: 50% 15%; }

/* ---------- Event album cards (gallery hub) ---------- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.album-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1),
              border-color 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.album-card:hover { transform: translateY(-6px); border-color: var(--color-terra); }
.album-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-blush); }
.album-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.album-card:hover .album-card__media img { transform: scale(1.05); }
.album-card__body { padding: var(--space-4) var(--space-5) var(--space-5); }
.album-card__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-ink); line-height: 1.3; }
.album-card__count {
  display: block;
  margin-top: var(--space-2);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  font-variant-numeric: lining-nums;
}

/* ---------- Photo grid inside an album ---------- */
.album-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-3);
}
@media (max-width: 640px) { .album-photos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.album-photo {
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-blush);
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.5, 0, 0, 1);
}
.album-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.5, 0, 0, 1);
}
.album-photo:hover { transform: translateY(-4px); }
.album-photo:hover img { transform: scale(1.06); }
.album-photo:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: none;
  background: rgb(20, 11, 8);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.5, 0, 0, 1);
}
.lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox.is-visible { opacity: 1; }
.lightbox__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  color: var(--color-on-deep);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 var(--space-4);
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.lightbox__stage img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox__nav {
  display: flex; justify-content: center; gap: var(--space-4);
  padding: var(--space-4) var(--space-5) var(--space-6);
}
.lightbox__btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--color-hairline-on-deep);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-on-deep);
  cursor: pointer;
  transition: background 0.4s cubic-bezier(0.5, 0, 0, 1), border-color 0.4s cubic-bezier(0.5, 0, 0, 1);
}
.lightbox__btn:hover:not(:disabled) { background: rgba(243,230,218,0.14); border-color: var(--color-on-deep-soft); }
.lightbox__btn:disabled { opacity: 0.3; cursor: default; }
.lightbox__btn svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .album-photo, .album-photo img, .album-card, .album-card__media img { transition: none; }
  .album-photo:hover, .album-card:hover { transform: none; }
  .album-photo:hover img, .album-card:hover .album-card__media img { transform: none; }
}

/* Caption inside the lightbox — carries the same text the tile shows on
   hover. Hidden entirely for photos that have no caption. */
.lightbox.is-open { grid-template-rows: auto 1fr auto auto; }
.lightbox__caption {
  margin: 0;
  padding: var(--space-4) var(--space-6) 0;
  text-align: center;
  color: var(--color-on-deep);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 70ch;
  justify-self: center;
}
.lightbox__caption[hidden] { display: none; }

/* ---------- Site map ----------
   A plain, dense list. Built to be scanned and crawled, not admired. */
.sitemap-group + .sitemap-group { margin-top: var(--space-8); }
.sitemap-group h2 {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  font-size: 1.35rem;
}
.sitemap-group h2 span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-variant-numeric: lining-nums;
  color: var(--color-ink-muted);
}
.sitemap-list {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-2) var(--space-6);
}
.sitemap-list li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}
.sitemap-list a {
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s cubic-bezier(0.5, 0, 0, 1);
}
.sitemap-list a:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.sitemap-list code {
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  word-break: break-all;
}
