﻿/* ==========================================================================
   Care for Your Kidney Foundation â€” design system
   ========================================================================== */

:root{
  /* Primary accent â€” a calm sky/azure blue (deliberately not red/maroon).
     Token names kept as maroon-*/coral-* since they're referenced throughout
     this file and the HTML via var(); only the colour values changed. */
  --maroon-900:#123449;
  --maroon-800:#18506a;
  --maroon-700:#1f6f8f;
  --maroon-600:#2683a6;
  --coral-500:#3aa0c4;
  --coral-400:#63b8d6;
  --gold-500:#d99b28;
  --gold-400:#e8b656;
  --teal-900:#0d2b2e;
  --teal-800:#123a3d;
  --teal-700:#17494d;
  --teal-600:#1d5c61;
  --teal-500:#227478;
  /* Logo red/orange â€” sampled from assets/images/shared/logo.png, used for the header nav
     (active links, highlight pill, CTA buttons) */
  --brand-900:#7f1f1f;
  --brand-700:#b62c2c;
  --brand-600:#cc6528;
  --ink-900:#1c1a19;
  --ink-700:#3d3836;
  --ink-500:#665f5c;
  --ink-300:#a89f9b;
  --paper-0:#ffffff;
  --paper-50:#fdfaf7;
  --paper-100:#f7f0ea;
  --paper-200:#efe4da;
  --line:#e6d9cd;
  --wash-rose:#eaf4fa;
  --wash-rose-line:#cfe6f2;
  --wash-gold:#fdf6e6;
  --wash-gold-line:#f3e3bd;
  --wash-sage:#eef5f2;
  --wash-sage-line:#d7e7e1;
  --shadow-sm: 0 1px 2px rgba(28,26,25,.06), 0 1px 1px rgba(28,26,25,.04);
  --shadow-md: 0 6px 20px rgba(28,26,25,.10), 0 2px 6px rgba(28,26,25,.06);
  --shadow-lg: 0 20px 50px rgba(28,26,25,.16), 0 6px 16px rgba(28,26,25,.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1440px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:94px; overflow-x:hidden; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--paper-50);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  max-width:100vw;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; line-height:1.15; font-weight:800; letter-spacing:-.01em; }
p{ margin:0; }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }

section{ padding:88px 0; }
@media (max-width:768px){ section{ padding:56px 0; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  color:var(--maroon-700);
  margin-bottom:14px;
}
.eyebrow::before{
  content:""; width:26px; height:2px; background:var(--gold-500); display:inline-block;
}
.section-head{ max-width:720px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); color:var(--teal-900); }
.section-head p{ margin-top:14px; font-size:17px; color:var(--ink-500); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.section-head-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:32px; }
.section-head-row .section-head{ margin-bottom:0; }
.section-icon{ flex-shrink:0; }
@media (max-width:820px){ .section-icon{ display:none; } }

/* ---------- hero photo decoration (dashed ring + blob + squiggle) ---------- */
.hero-photo-wrap{ position:relative; }
.hero-photo-wrap::before{
  content:""; position:absolute; left:-28px; top:-24px; width:74%; height:74%;
  background:var(--wash-sage); border-radius:44% 56% 52% 48% / 48% 44% 56% 52%; z-index:0;
}
.hero-photo-wrap::after{
  content:""; position:absolute; right:-22px; top:-20px; width:110px; height:110px;
  border:1.5px dashed var(--teal-600); border-radius:50%; z-index:0;
}
.hero-photo-wrap .squiggle{ position:absolute; right:-16px; top:60px; z-index:0; pointer-events:none; }
.hero-photo-wrap .image-stack{ position:relative; z-index:1; }

/* ---------- contact hero photo: compact tilted showcase frame ---------- */
.hero2-photo.image-stack{
  max-width:480px; aspect-ratio:4/3.2; margin-left:auto; border-width:5px;
  box-shadow:14px 14px 0 var(--gold-500), var(--shadow-lg);
  transition:transform .35s ease, box-shadow .35s ease;
}
.hero2-photo.image-stack:hover{
  transform:translateY(-4px);
  box-shadow:8px 8px 0 var(--gold-500), var(--shadow-lg);
}
.hero-photo-wrap .hero-photo-chip{
  position:absolute; left:-20px; bottom:18px; z-index:2;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:12px 18px 12px 14px; display:flex; align-items:center; gap:12px;
}
.hero-photo-chip .ico{
  width:36px; height:36px; border-radius:10px; flex-shrink:0; background:var(--teal-900); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.hero-photo-chip .ico svg{ width:17px; height:17px; }
.hero-photo-chip b{ display:block; font-size:13px; font-weight:800; color:var(--teal-900); line-height:1.2; }
.hero-photo-chip span{ display:block; font-size:11px; color:var(--ink-500); margin-top:1px; }
@media (max-width:900px){
  .hero2-photo.image-stack{ margin:0 auto; transform:none; box-shadow:var(--shadow-lg); }
  .hero-photo-chip{ left:12px; bottom:-16px; }
}
@media (max-width:900px){ .hero-photo-wrap::before,.hero-photo-wrap::after,.hero-photo-wrap .squiggle{ display:none; } }

.bg-paper{ background:var(--paper-0); }

/* Warm "paper" band â€” soft corner glows, a faint dot-grid and a kidney
   watermark instead of a flat tint, so alternating sections read as
   designed rather than just a color swap. */
.bg-tint{
  position:relative; overflow:hidden; isolation:isolate;
  background:
    radial-gradient(620px 340px at 96% -10%, rgba(217,155,40,.15), transparent 60%),
    radial-gradient(560px 360px at -8% 108%, rgba(58,160,196,.13), transparent 58%),
    var(--paper-100);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.bg-tint::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:radial-gradient(var(--gold-500) 1.6px, transparent 1.6px);
  background-size:26px 26px;
  -webkit-mask-image:radial-gradient(580px 420px at 100% 0%, #000 0%, transparent 72%);
          mask-image:radial-gradient(580px 420px at 100% 0%, #000 0%, transparent 72%);
  opacity:.4;
}
.bg-tint::after{
  content:""; position:absolute; left:-64px; bottom:-64px; width:270px; height:270px; z-index:0; pointer-events:none;
  color:var(--teal-700); opacity:.08; background-color:currentColor; transform:rotate(-12deg);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21c-3-1-5-4.5-5-9 0-5 3-8 6-8s5 2 5 5c0 2-1 3-1 5 0 3 2 4 2 7 0 2-2 3-4 3s-2-2-3-3Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21c-3-1-5-4.5-5-9 0-5 3-8 6-8s5 2 5 5c0 2-1 3-1 5 0 3 2 4 2 7 0 2-2 3-4 3s-2-2-3-3Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.bg-tint > .container{ position:relative; z-index:1; }
@media (max-width:640px){ .bg-tint::after{ opacity:.05; } }

/* Premium light "showcase" band â€” used for impact numbers and closing CTAs.
   Warm gradient wash + gold glow instead of a flat dark block, so pages
   don't stack multiple heavy dark sections on top of each other. */
.bg-teal{
  position:relative; overflow:hidden;
  background:
    radial-gradient(700px 380px at 8% 15%, rgba(217,155,40,.16), transparent 60%),
    radial-gradient(760px 420px at 96% 90%, rgba(58,160,196,.14), transparent 58%),
    linear-gradient(180deg, var(--paper-100) 0%, var(--paper-50) 100%);
  color:var(--ink-900);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.bg-teal .section-head h2{ color:var(--teal-900); }
.bg-teal .section-head p{ color:var(--ink-500); }
.bg-teal .btn-ghost{ border-color:var(--maroon-700); color:var(--maroon-700); }
.bg-teal .btn-ghost:hover{ background:var(--maroon-700); color:#fff; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 26px; border-radius:999px; font-weight:700; font-size:15px;
  border:2px solid transparent; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--coral-500); color:#fff; box-shadow:var(--shadow-md); }
.btn-primary:hover{ background:var(--maroon-700); box-shadow:var(--shadow-lg); }
.btn-ghost{ background:transparent; border-color:rgba(255,255,255,.5); color:#fff; }
.btn-ghost:hover{ background:rgba(255,255,255,.12); }
.btn-outline{ background:transparent; border-color:var(--maroon-700); color:var(--maroon-700); }
.btn-outline:hover{ background:var(--maroon-700); color:#fff; }

/* ---------- header ---------- */

.header-topbar{ background:var(--paper-50); color:var(--ink-700); font-size:13px; border-bottom:1px solid var(--line); }
.topbar-wrap{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  width:100%; margin:0 auto; padding:10px 32px; box-sizing:border-box;
}
.htb-contacts{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.htb-contacts a{ display:inline-flex; align-items:center; gap:10px; color:var(--ink-700); font-weight:600; transition:color .15s ease; }
.htb-contacts a:hover{ color:var(--brand-700); }
.htb-ic{
  display:inline-flex; align-items:center; justify-content:center; flex-shrink:0;
  width:26px; height:26px; border-radius:50%; background:var(--paper-200);
  transition:background .18s ease, transform .18s ease;
}
.htb-contacts a:hover .htb-ic{ background:var(--brand-700); transform:translateY(-1px); }
.htb-contacts a:hover .htb-ic svg{ color:#fff; }
.htb-ic svg, .htb-badge svg{ width:14px; height:14px; color:var(--brand-700); flex-shrink:0; }
.htb-right{ display:flex; align-items:center; gap:20px; }
.htb-badge{ display:inline-flex; align-items:center; gap:8px; color:var(--ink-500); font-weight:600; letter-spacing:.01em; white-space:nowrap; }
.htb-divider{ width:1px; height:18px; background:var(--line); }
.htb-social{ display:flex; align-items:center; gap:10px; }
.htb-social a{
  display:flex; align-items:center; justify-content:center; color:var(--ink-700);
  width:30px; height:30px; border-radius:50%; background:var(--paper-200);
  transition:background .18s ease, color .18s ease, transform .18s ease;
}
.htb-social a:hover{ background:var(--brand-700); color:#fff; transform:translateY(-2px); }
.htb-social svg{ width:14px; height:14px; }
@media (max-width:860px){ .htb-badge{ display:none; } }
@media (max-width:700px){ .header-topbar{ display:none; } }

.site-header{
  position:sticky; top:0; z-index:1000;
  background:rgba(253,250,247,.94); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(28,26,25,.03);
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 32px 14px; width:100%; margin:0 auto; box-sizing:border-box; }
.brand{ display:flex; align-items:center; gap:14px; min-width:0; }
.brand img{ height:52px; width:auto; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; gap:2px; line-height:1.2; min-width:0; }
.brand-text strong{ font-size:17px; color:var(--teal-900); font-weight:800; letter-spacing:-.01em; white-space:nowrap; }
.brand-text span{ font-size:11.5px; color:var(--teal-700); font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
/* nav-menu takes whatever width remains after the brand, rather than a
   fixed 50% — a hard half-width cap left too little room once the nav
   carried several multi-word grouped labels (e.g. "Research & Recognition"),
   forcing pill text to wrap onto a second line instead of just sizing down. */
.nav-menu{ display:flex; align-items:center; justify-content:flex-end; gap:16px; flex:1 1 auto; min-width:0; }
.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links a,
.nav-dropdown-trigger,
.nav-cta .btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:36px; padding:0 14px; border-radius:999px; font-weight:700; font-size:13.5px; line-height:1;
  color:var(--ink-700); box-sizing:border-box; white-space:nowrap;
}
.nav-links a{ transition:background .15s ease, color .15s ease; }
.nav-links a:hover{ background:var(--paper-200); color:var(--brand-900); }
.nav-links a.active{ background:var(--brand-900); color:#fff; }
.nav-links a.nav-highlight{
  background:var(--brand-700); color:#fff; position:relative;
  box-shadow:0 3px 10px rgba(127,31,31,.22);
}
.nav-links a.nav-highlight.active{ background:var(--brand-900); }
.nav-links a.nav-highlight .dot{
  position:absolute; top:-3px; right:-3px; width:9px; height:9px; border-radius:50%;
  background:var(--gold-400); box-shadow:0 0 0 2px #fff;
}

/* ---------- nav dropdown groups ("Our Programs", "Research & Recognition", "Media") ---------- */
.nav-dropdown{ position:relative; }
.nav-dropdown-trigger{
  display:inline-flex; align-items:center; justify-content:center; gap:5px;
  height:36px; padding:0 12px 0 14px; border-radius:999px; font-weight:700; font-size:13.5px; line-height:1;
  color:var(--ink-700); box-sizing:border-box; background:none; border:none; cursor:pointer; font-family:inherit;
  transition:background .15s ease, color .15s ease;
}
.nav-dropdown-trigger:hover{ background:var(--paper-200); color:var(--brand-900); }
.nav-dropdown-trigger.active{ background:var(--brand-900); color:#fff; }
.nav-dropdown-caret{ width:9px; height:9px; flex-shrink:0; transition:transform .18s ease; }
.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown.open .nav-dropdown-caret{ transform:rotate(180deg); }
/* top:100% with zero gap — a positional gap between trigger and menu (e.g.
   calc(100% + 6px)) creates a dead zone the cursor crosses without hovering
   either element, dropping :hover mid-transit and closing the menu before
   a click can land. A transparent top border reproduces the old 6px of
   breathing room as part of the element's own hoverable box instead. */
.nav-dropdown-menu{
  position:absolute; top:100%; left:0; min-width:230px;
  border:1px solid var(--line); border-top:6px solid transparent; background-clip:padding-box;
  background:#fff; border-radius:var(--radius-md); box-shadow:var(--shadow-lg);
  padding:8px; display:flex; flex-direction:column; gap:2px;
  opacity:0; pointer-events:none; transform:translateY(-6px); transition:opacity .16s ease, transform .16s ease;
  z-index:1001;
}
.nav-dropdown-menu a{
  display:flex; align-items:center; justify-content:flex-start; gap:10px;
  height:auto; padding:9px 12px; border-radius:8px; font-weight:600; font-size:13.5px; line-height:1.3;
  color:var(--ink-700); white-space:nowrap;
}
.nav-dropdown-menu a:hover{ background:var(--paper-200); color:var(--brand-900); }
.nav-dropdown-menu a.active{ background:var(--wash-rose); color:var(--brand-900); }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu{
  opacity:1; pointer-events:auto; transform:translateY(0);
}

.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-cta .btn{ padding:0 16px; font-size:13px; border-width:1.5px; }
.nav-cta .btn-outline{ border-color:var(--brand-700); color:var(--brand-700); }
.nav-cta .btn-outline:hover{ background:var(--brand-700); color:#fff; }
.nav-cta .btn-outline.active{ background:var(--brand-900); border-color:var(--brand-900); color:#fff; }
.nav-cta .btn-primary{ background:var(--brand-700); color:#fff; }
.nav-cta .btn-primary:hover{ background:var(--brand-900); }
.nav-cta .btn .btn-ic{ display:inline-flex; }
.nav-cta .btn svg{ width:16px; height:16px; }
.nav-toggle{
  display:none; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  width:44px; height:44px; border-radius:12px; border:1.5px solid var(--line); background:#fff;
  cursor:pointer; flex-shrink:0; transition:border-color .18s ease, background .18s ease;
}
.nav-toggle:hover{ border-color:var(--brand-700); }
.nav-toggle span{ display:block; width:20px; height:2.4px; background:var(--brand-900); border-radius:2px; transition:transform .25s ease, opacity .2s ease; }
.nav-toggle.open{ border-color:var(--brand-700); }
.nav-toggle.open span:nth-child(1){ transform:translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7.4px) rotate(-45deg); }

/* Selector needs to match ".nav-cta .btn"'s specificity (0,2,0) â€” a bare
   ".nav-contact-btn" (0,1,0) loses to that unconditional display:inline-flex
   above and silently never hides, regardless of this media query. */
@media (max-width:1180px){ .nav-cta .nav-contact-btn{ display:none; } }

/* Mirror image of the rule above: this plain-nav-links "Contact Us" only
   exists so the mobile dropdown (and the 981â€“1160px tablet range, which had
   no Contact Us at all before â€” the outline button hides at 1160px but
   nav-links stays a horizontal bar until 980px) has one. Above 1160px the
   outline button in nav-cta already covers it, so hide this copy there to
   avoid showing "Contact Us" twice. Specificity matches ".nav-links a"
   (0,1,1) for the same reason as above. */
.nav-links a.nav-contact-link{ display:none; }
@media (max-width:1180px){ .nav-links a.nav-contact-link{ display:inline-flex; } }

/* Icons + quick-contact rows only exist for the mobile dropdown card â€” the
   desktop pill nav stays icon-free/minimal, so both are hidden by default
   and switched on inside the â‰¤1180px block below (raised from 980px now
   that the nav carries 10 primary items â€” a horizontal pill bar stops
   fitting well below that, even on laptop-width screens). */
.nl-ic{ display:none; }
.nav-links-contact{ display:none; }

@media (max-width:1180px){
  .nav-wrap{ align-items:center; }
  .nav-menu{ align-items:center; flex:0 0 auto; }
  .nav-links{
    position:fixed; inset:82px 16px auto 16px; flex-direction:column; align-items:stretch;
    background:#fff; border-radius:var(--radius-md); box-shadow:var(--shadow-lg); padding:10px;
    border:1px solid var(--line);
    max-height:calc(100vh - 100px); overflow-y:auto;
    transform:translateY(-12px); opacity:0; pointer-events:none; transition:all .2s ease;
  }
  .nav-links.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-links a{ height:auto; padding:14px 18px; justify-content:flex-start; gap:12px; }
  .nl-ic{ display:inline-flex; width:18px; height:18px; flex-shrink:0; opacity:.7; }
  .nav-links a.active .nl-ic,
  .nav-links a.nav-highlight .nl-ic{ opacity:1; }
  .nav-toggle{ display:flex; }

  /* Dropdown groups become tap-to-expand accordions inside the mobile
     panel — the desktop hover-flyout CSS above doesn't apply on touch, so
     visibility is driven entirely by the JS-toggled .open class here. */
  .nav-dropdown-trigger{
    width:100%; height:auto; padding:14px 18px; justify-content:flex-start; gap:12px; font-size:14.5px;
  }
  .nav-dropdown-trigger .nl-ic{ margin-right:0; }
  .nav-dropdown-trigger .nav-dropdown-caret{ margin-left:auto; }
  .nav-dropdown-trigger.active{ background:var(--brand-900); color:#fff; }
  .nav-dropdown-trigger.active .nl-ic{ opacity:1; }
  .nav-dropdown-menu{
    position:static; opacity:1; pointer-events:auto; transform:none;
    background:transparent; border:none; box-shadow:none; padding:0; margin:0 0 0 14px;
    max-height:0; overflow:hidden; transition:max-height .22s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu{ max-height:260px; margin-top:2px; margin-bottom:4px; }
  .nav-dropdown-menu a{ padding:12px 16px; }
  .brand-text span{ display:none; }

  /* Quick-contact rows â€” the phone/email topbar above the header is hidden
     on mobile (â‰¤700px), so this is the only place the number surfaces. */
  .nav-links-contact{
    display:flex; flex-direction:column; gap:2px;
    margin-top:10px; padding-top:14px; border-top:1px solid var(--line);
  }
  .nlc-item{
    display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px;
    transition:background .15s ease;
  }
  .nlc-item:hover, .nlc-item:active{ background:var(--paper-200); }
  .nlc-ic{
    width:38px; height:38px; border-radius:50%; flex-shrink:0;
    background:var(--wash-sage); color:var(--teal-700);
    display:flex; align-items:center; justify-content:center;
  }
  .nlc-ic svg{ width:17px; height:17px; }
  .nlc-item:last-child .nlc-ic{ background:var(--wash-gold); color:var(--gold-500); }
  .nlc-item b{
    display:block; font-size:10.5px; text-transform:uppercase; letter-spacing:.06em;
    color:var(--ink-500); font-weight:800;
  }
  .nlc-item span{ display:block; font-size:14.5px; color:var(--teal-900); font-weight:700; margin-top:2px; }
}

/* ---------- hero ---------- */
.hero{
  position:relative; color:#fff; overflow:hidden;
  min-height:min(86vh,780px); display:flex; align-items:flex-end;
}
.hero-media{ position:absolute; inset:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-media::after{
  content:""; position:absolute; inset:0;
  /* cool sky-blue duotone â€” lighter up top so the photo breathes, deep enough
     at the base for white text/stat legibility */
  background:linear-gradient(180deg, rgba(15,45,60,.30) 0%, rgba(11,33,46,.55) 45%, rgba(6,18,26,.90) 100%),
             linear-gradient(100deg, rgba(18,52,73,.50) 0%, rgba(18,52,73,.04) 55%);
}
/* floating decorative glows â€” subtle, CSS-only motion for an "alive" hero */
.hero::before, .hero::after{
  content:""; position:absolute; border-radius:50%; filter:blur(60px); pointer-events:none; z-index:1;
  animation:heroFloat 9s ease-in-out infinite;
}
.hero::before{ width:340px; height:340px; right:6%; top:8%; background:radial-gradient(circle,rgba(217,155,40,.35),transparent 70%); }
.hero::after{ width:260px; height:260px; right:22%; bottom:12%; background:radial-gradient(circle,rgba(58,160,196,.40),transparent 70%); animation-delay:-4.5s; }
@keyframes heroFloat{
  0%,100%{ transform:translateY(0) scale(1); }
  50%{ transform:translateY(-24px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce){ .hero::before,.hero::after{ animation:none; } }
@media (max-width:900px){ .hero::before,.hero::after{ display:none; } }
.hero-inner{ position:relative; z-index:2; padding:64px 24px 56px; max-width:var(--container); margin:0 auto; width:100%; }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.35); padding:8px 16px; border-radius:999px; font-size:13px; font-weight:700;
  letter-spacing:.04em; margin-bottom:22px; max-width:100%; flex-wrap:wrap; row-gap:4px;
}
.hero-badge svg{ flex-shrink:0; }
.hero-badge svg{ width:14px; height:14px; }
.hero h1{ font-size:clamp(34px,5.4vw,60px); max-width:820px; }
.hero h1 em{ font-style:normal; color:var(--gold-400); }
.hero p.lead{ margin-top:20px; max-width:640px; font-size:18px; color:rgba(255,255,255,.92); }
.hero-actions{ margin-top:22px; display:flex; gap:14px; flex-wrap:wrap; }
.hero-stats{
  margin-top:52px; display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  border-top:1px solid rgba(255,255,255,.25); padding-top:28px;
}
.hero-stats .stat{ padding-right:20px; }
.hero-stats .stat b{ display:block; font-size:clamp(24px,3vw,34px); font-weight:800; }
.hero-stats .stat span{ font-size:13px; color:rgba(255,255,255,.72); }
@media (max-width:768px){ .hero-stats{ grid-template-columns:repeat(2,1fr); row-gap:22px; } }

/* ---------- hero v2: light two-column hero (home page) ---------- */
.hero2{
  position:relative; overflow:hidden; padding:28px 0 0;
  background:linear-gradient(180deg, var(--paper-50) 0%, var(--paper-100) 100%);
}
.hero2::before{
  content:""; position:absolute; right:-8%; top:-18%; width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(58,160,196,.14), transparent 65%); pointer-events:none;
}
.hero2::after{
  content:""; position:absolute; left:-10%; bottom:-25%; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(217,155,40,.12), transparent 65%); pointer-events:none;
}

/* decorative blob shape behind the photo, dotted grids, leaf sprig */
.hero2-blob{
  position:absolute; right:-10%; top:-8%; width:58%; height:820px; z-index:0; pointer-events:none;
  background:linear-gradient(160deg,var(--teal-800),var(--teal-900) 72%);
  border-radius:38% 62% 55% 45% / 48% 42% 58% 52%;
}
.hero2-blob .kidney-wm{ position:absolute; right:10%; bottom:8%; width:230px; height:230px; color:var(--gold-400); opacity:.16; animation:hero2Float 10s ease-in-out infinite; }
.hero2-dots{
  position:absolute; width:118px; height:118px; z-index:0; pointer-events:none;
  background-image:radial-gradient(var(--gold-500) 2.4px, transparent 2.4px); background-size:18px 18px; opacity:.55;
}
.hero2-dots.dots-top{ right:40%; top:4%; z-index:2; }
.hero2-dots.dots-bottom{ right:1.5%; bottom:5%; }
.hero2-leaf{ position:absolute; left:-1%; bottom:-3%; width:190px; z-index:0; pointer-events:none; color:var(--gold-500); opacity:.4; animation:hero2Float 8s ease-in-out infinite; animation-delay:-3s; }
@keyframes hero2Float{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-14px) rotate(2deg); }
}
@media (max-width:900px){ .hero2-blob,.hero2-dots,.hero2-leaf{ display:none; } }
@media (prefers-reduced-motion: reduce){ .hero2-blob .kidney-wm,.hero2-leaf{ animation:none; } }

.hero2-grid{
  position:relative; z-index:1; display:grid; grid-template-columns:1fr 1.05fr; gap:48px; align-items:center;
  padding-bottom:16px; min-height:calc(100vh - 164px);
}
.hero-badge-light{
  display:inline-flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line);
  padding:9px 20px; border-radius:999px; font-size:12px; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:var(--maroon-700); box-shadow:var(--shadow-sm); margin-bottom:16px;
}
.hero-badge-light .dot{ width:5px; height:5px; border-radius:50%; background:var(--gold-500); flex-shrink:0; }
.hero-badge-light .hbl-ic{ width:16px; height:16px; color:var(--gold-500); flex-shrink:0; }
.hero2 h1{ font-size:clamp(28px,3vw,40px); color:var(--teal-900); max-width:600px; }
.hero2 h1 em{ font-style:normal; color:var(--gold-500); }
.h1-accent{ display:block; width:60px; height:4px; border-radius:3px; background:var(--gold-500); margin-top:14px; }
.hero2 p.lead{ margin-top:14px; max-width:560px; font-size:16px; color:var(--ink-500); }
.btn .btn-ic{
  width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,.24);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.btn .btn-ic svg{ width:13px; height:13px; }
.hero2-photo{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg);
  aspect-ratio:4/4.6; border:6px solid #fff; width:100%;
}
.hero2-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 35%; }
.fade-slide{ position:absolute; inset:0; opacity:0; transition:opacity 1.1s ease; }
.fade-slide.active{ opacity:1; }
@media (max-width:900px){
  .hero2-grid{ grid-template-columns:1fr; gap:36px; min-height:0; }
  /* `order` only works on a direct grid child â€” the photo column is wrapped
     differently per page (.hero2-photo-wrap, .hero-photo-wrap, .image-stack
     directly), so target it structurally: text is always first, the photo
     wrapper is always the last (and only other) child of .hero2-grid. */
  .hero2-grid > *:last-child{ order:-1; }
  .hero2-photo{ max-width:640px; margin:0 auto; width:100%; }
  .hero2 h1,.hero2 p.lead{ max-width:100%; }
}

/* ---------- hero2 photo overlays: floating stat card + circular badge ---------- */
.hero2-photo-wrap{ position:relative; z-index:1; }
.hero2-photo-wrap .hero2-photo{ aspect-ratio:4/3.2; max-height:66vh; }
.hero-photo-stat{
  position:absolute; left:-14px; top:14px; z-index:2; max-width:158px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:var(--shadow-lg);
  padding:10px 13px 10px 10px; display:flex; align-items:center; gap:8px;
}
.hero-photo-stat.tint{ background:var(--wash-sage); border-color:var(--wash-sage-line); }
.hero-photo-stat .ico{
  width:30px; height:30px; border-radius:8px; flex-shrink:0;
  background:var(--teal-900); color:#fff; display:flex; align-items:center; justify-content:center;
}
.hero-photo-stat .ico svg{ width:14px; height:14px; }
.hero-photo-stat b{ display:block; font-size:15px; font-weight:800; color:var(--teal-900); line-height:1.1; }
.hero-photo-stat span{ display:block; font-size:10px; font-weight:700; color:var(--ink-700); margin-top:2px; }
.hero-photo-stat small{ display:block; font-size:9px; color:var(--ink-500); margin-top:2px; line-height:1.35; }

.hero-photo-badge{
  position:absolute; right:-18px; bottom:-18px; z-index:2;
  width:120px; height:120px; border-radius:50%; background:#fff; border:1px solid var(--line);
  box-shadow:var(--shadow-lg); display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; gap:6px; padding:14px;
}
.hero-photo-badge svg{ width:26px; height:26px; color:var(--gold-500); }
.hero-photo-badge span{ font-size:9.5px; font-weight:700; color:var(--ink-700); line-height:1.3; }
.hero-photo-badge strong{ color:var(--teal-900); font-size:11px; }
.hero-photo-badge.boxed{ border:3px solid var(--wash-gold-line); }
.hero-photo-badge.boxed span{ text-transform:uppercase; letter-spacing:.04em; font-size:8.5px; }
@media (max-width:900px){
  .hero-photo-stat{ left:12px; top:12px; }
  .hero-photo-badge{ right:12px; bottom:-24px; width:104px; height:104px; padding:12px; }
}
@media (max-width:480px){
  .hero-photo-stat{ max-width:136px; padding:8px 10px; gap:6px; }
  .hero-photo-stat .ico{ width:25px; height:25px; }
  .hero-photo-stat .ico svg{ width:12px; height:12px; }
  .hero-photo-stat b{ font-size:13px; }
  .hero-photo-stat span{ font-size:9.5px; }
  .hero-photo-stat small{ font-size:8.5px; }
  .hero-photo-badge{ right:8px; bottom:-18px; width:82px; height:82px; padding:9px; gap:3px; }
  .hero-photo-badge svg{ width:19px; height:19px; }
  .hero-photo-badge span{ font-size:7.5px; }
  .hero-photo-badge strong{ font-size:8.5px; }
  .hero-photo-badge.boxed{ border-width:2px; }
  .hero-photo-badge.boxed span{ font-size:7px; }
}

/* ---------- hero feature panel: 4-up icon cards below hero (home page) ---------- */
.hero-feature-panel{
  position:relative; z-index:1; margin-top:8px; overflow:hidden;
  background:linear-gradient(180deg,#fff,var(--paper-50));
  border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  padding:30px; display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
}
.hero-feature-panel::before{
  content:""; position:absolute; inset:0 0 auto 0; height:4px;
  background:linear-gradient(90deg,var(--coral-500),var(--gold-500),var(--teal-600));
}
.hfp-item{
  position:relative; text-align:center; padding:22px 16px; border-radius:var(--radius-md);
  border:1px solid transparent; background:var(--paper-50);
  transition:transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease;
}
.hfp-item:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.hfp-item .ic{
  width:50px; height:50px; border-radius:13px; margin:0 auto 14px; color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:transform .35s cubic-bezier(.34,1.56,.64,1);
}
.hfp-item:hover .ic{ transform:scale(1.1) rotate(-6deg); }
.hfp-item .ic svg{ width:22px; height:22px; }
.hfp-item.tint-rose{ background:var(--wash-rose); border-color:var(--wash-rose-line); }
.hfp-item.tint-gold{ background:var(--wash-gold); border-color:var(--wash-gold-line); }
.hfp-item.tint-sage{ background:var(--wash-sage); border-color:var(--wash-sage-line); }
.hfp-item .ic.wash-a{ background:linear-gradient(135deg,var(--coral-400),var(--maroon-700)); }
.hfp-item .ic.wash-b{ background:linear-gradient(135deg,var(--gold-400),var(--gold-500)); }
.hfp-item .ic.wash-c{ background:linear-gradient(135deg,var(--teal-500),var(--teal-800)); }
.hfp-item .ic.wash-d{ background:linear-gradient(135deg,var(--coral-400),var(--maroon-600)); }
.hfp-item h4{ font-size:16px; color:var(--teal-900); margin-bottom:6px; }
.hfp-item p{ font-size:13.5px; color:var(--ink-500); }
@media (max-width:900px){
  .hero-feature-panel{ grid-template-columns:repeat(2,1fr); padding:22px; gap:14px; }
}
@media (max-width:560px){
  .hero-feature-panel{ grid-template-columns:1fr; padding:18px; }
}

/* ---------- icon stat row (used under hero2) ---------- */
.hero-stats-row{ position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:20px 44px; padding:32px 0 44px; border-top:1px solid var(--line); }
.hsr-item{ display:flex; align-items:center; gap:14px; }
.hsr-item .ic{ width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.hsr-item .ic svg{ width:20px; height:20px; }
.hsr-item b{ display:block; font-size:23px; font-weight:800; color:var(--teal-900); line-height:1.1; }
.hsr-item span{ font-size:12.5px; color:var(--ink-500); }
.hsr-item .ic.wash-a{ background:var(--wash-rose); color:var(--maroon-700); }
.hsr-item .ic.wash-b{ background:var(--wash-gold); color:var(--gold-500); }
.hsr-item .ic.wash-c{ background:var(--wash-sage); color:var(--teal-700); }
.hsr-item .ic.wash-d{ background:var(--wash-rose); color:var(--maroon-600); }

/* ---------- page header (interior pages) ---------- */
.page-hero{
  position:relative; padding:58px 0 44px; overflow:hidden;
  background:
    radial-gradient(900px 460px at -5% -20%, rgba(217,155,40,.20), transparent 60%),
    radial-gradient(800px 420px at 105% 10%, rgba(58,160,196,.16), transparent 58%),
    linear-gradient(180deg, var(--paper-100) 0%, var(--paper-50) 100%);
  border-bottom:1px solid var(--line);
}
.page-hero .container{ position:relative; z-index:2; }
.crumb{ font-size:13px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--maroon-700); margin-bottom:12px; display:inline-flex; align-items:center; gap:8px; }
.crumb::before{ content:""; width:22px; height:2px; background:var(--gold-500); display:inline-block; }
.page-hero h1{ font-size:clamp(30px,4.4vw,46px); color:var(--teal-900); }
.page-hero p{ margin-top:14px; max-width:640px; color:var(--ink-500); font-size:16.5px; }

/* ---------- stat strip ---------- */
.stat-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.stat-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:26px 22px;
  box-shadow:var(--shadow-sm); text-align:center;
}
.stat-card b{ font-size:clamp(26px,3vw,34px); color:var(--maroon-700); display:block; font-weight:800; }
.stat-card span{ font-size:14px; color:var(--ink-500); }
.stat-card small{ display:block; font-size:12px; color:var(--ink-500); margin-top:2px; }
.stat-card .ic{ width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
.stat-card .ic svg{ width:22px; height:22px; }
.stat-card .ic.wash-a{ background:var(--wash-rose); color:var(--maroon-700); }
.stat-card .ic.wash-b{ background:var(--wash-gold); color:var(--gold-500); }
.stat-card .ic.wash-c{ background:var(--wash-sage); color:var(--teal-700); }
.stat-card .ic.wash-d{ background:var(--wash-rose); color:var(--maroon-600); }
@media (max-width:900px){ .stat-strip{ grid-template-columns:repeat(2,1fr); } }

/* ---------- cards / grids ---------- */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:980px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  padding:28px; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.card .icon{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--coral-500),var(--maroon-700)); color:#fff; margin-bottom:18px;
}
.card .icon svg{ width:26px; height:26px; }
.card h3{ font-size:18px; color:var(--teal-900); margin-bottom:8px; }
.card p{ font-size:15px; color:var(--ink-500); }
@media (max-width:560px){
  .card{ padding:20px; }
  .card .icon{ width:42px; height:42px; border-radius:12px; margin-bottom:14px; }
  .card .icon svg{ width:21px; height:21px; }
  .card h3{ font-size:16px; }
  .card p{ font-size:14px; }
}

.photo-card{ border-radius:var(--radius-md); overflow:hidden; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm); }
.photo-card .ph{ aspect-ratio:4/3; overflow:hidden; }
.photo-card .ph img{ width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.photo-card:hover .ph img{ transform:scale(1.06); }
.photo-card .cap{ padding:16px 18px; }
.photo-card .cap h4{ font-size:15px; color:var(--teal-900); font-weight:700; }
.photo-card .cap p{ font-size:13px; color:var(--ink-500); margin-top:4px; }

/* ---------- honouree grid: oration honourees (photo cards) ---------- */
.honouree-subhead{ font-size:13px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--teal-700); margin-bottom:14px; }
.honouree-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:20px; }
.honouree-card{
  display:block; background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden;
  box-shadow:var(--shadow-sm); text-align:center; transition:transform .2s ease, box-shadow .2s ease;
}
.honouree-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.honouree-card .hc-photo{ aspect-ratio:4/5; overflow:hidden; background:var(--paper-100); }
.honouree-card .hc-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 15%; transition:transform .35s ease; }
.honouree-card:hover .hc-photo img{ transform:scale(1.05); }
.honouree-card .hc-photo.contain{ background:#fff; padding:6px; }
.honouree-card .hc-photo.contain img{ object-fit:contain; object-position:center; }
.honouree-card .hc-photo.mono{
  display:flex; align-items:center; justify-content:center; font-size:38px; font-weight:800; color:#fff;
  background:linear-gradient(135deg,var(--teal-700),var(--teal-900));
}
.honouree-card .hc-body{ padding:16px 14px 20px; }
.honouree-card h4{ font-size:15.5px; color:var(--teal-900); }
.honouree-card .hc-role{ display:block; margin-top:4px; font-size:12px; color:var(--ink-500); }
.honouree-card .hc-tag{ display:inline-block; margin-top:10px; font-size:11px; font-weight:800; letter-spacing:.03em; padding:5px 12px; border-radius:999px; }
.honouree-card .hc-tag.done{ background:var(--wash-sage); color:var(--teal-700); }
.honouree-card .hc-tag.tbd{ background:var(--wash-gold); color:var(--gold-500); }
@media (max-width:900px){ .honouree-grid{ grid-template-columns:repeat(2,1fr); } }

.honouree-card{ position:relative; }
.honouree-card .hc-icon{
  position:absolute; top:12px; left:12px; z-index:1; width:34px; height:34px; border-radius:10px;
  display:flex; align-items:center; justify-content:center; background:var(--teal-900); color:#fff;
  box-shadow:var(--shadow-sm);
}
.honouree-card .hc-icon svg{ width:17px; height:17px; }
.honouree-subhead.upcoming-head{ display:flex; align-items:center; gap:8px; margin-top:36px; }
.honouree-subhead.upcoming-head svg{ width:15px; height:15px; color:var(--gold-500); }
.btn-sm{ padding:9px 18px; font-size:13px; }

/* ---------- oration showcase: featured photo + citation ---------- */
.oration-feature-grid{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr); gap:28px; margin-bottom:44px; align-items:stretch; }

.of-photo-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden;
  box-shadow:var(--shadow-sm); display:flex; flex-direction:column;
}
.of-photo{ aspect-ratio:4/5; overflow:hidden; background:var(--paper-100); }
.of-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 15%; }
.of-photo-body{ padding:20px 20px 24px; text-align:center; margin-top:auto; }
.of-photo-body h4{ font-size:18px; color:var(--teal-900); }
.of-meta{ display:block; margin-top:4px; margin-bottom:16px; font-size:12.5px; color:var(--ink-500); }

.of-citation-card{
  position:relative; background:#fff; border:1px solid var(--wash-gold-line); border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm); padding:28px 30px 26px; display:flex; flex-direction:column;
}
.of-citation-banner{
  align-self:flex-start; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  color:var(--maroon-700); background:var(--wash-gold); border:1px solid var(--wash-gold-line);
  padding:6px 14px; border-radius:999px; margin-bottom:16px;
}
.of-citation-head{ margin-bottom:14px; }
.of-citation-sub{ display:block; font-size:13px; color:var(--ink-500); }
.of-citation-head h3{ font-size:clamp(20px,2.2vw,25px); color:var(--teal-800); margin-top:2px; }
.of-citation-label{
  display:inline-flex; align-items:center; gap:6px; margin-top:10px; font-size:12.5px; font-weight:800;
  letter-spacing:.04em; text-transform:uppercase; color:var(--teal-600);
}
.of-citation-label svg{ width:14px; height:14px; }
.of-citation-text{ font-size:14.5px; line-height:1.7; color:var(--ink-700); }
.of-citation-foot{
  display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:20px; padding-top:18px;
  border-top:1px solid var(--line);
}
.of-citation-foot h4{ font-size:15px; color:var(--teal-900); }
.of-citation-foot .of-meta{ margin-bottom:0; }

@media (max-width:900px){
  .oration-feature-grid{ grid-template-columns:1fr; }
  .of-citation-card{ padding:24px 22px 22px; }
  .of-citation-foot{ flex-direction:column; align-items:flex-start; }
}

/* ---------- gallery (horizontal slider) ---------- */
.gallery-slider{ position:relative; min-width:0; }
.gallery-track{
  display:flex; align-items:flex-start; gap:16px; overflow-x:auto; scroll-snap-type:x proximity;
  scroll-behavior:smooth; padding:4px 4px 14px; -webkit-overflow-scrolling:touch;
  scrollbar-width:thin; scrollbar-color:var(--gold-500) transparent;
}
.gallery-track::-webkit-scrollbar{ height:6px; }
.gallery-track::-webkit-scrollbar-thumb{ background:var(--gold-500); border-radius:4px; }
.gallery-track::-webkit-scrollbar-track{ background:transparent; }
.gallery-track a{
  flex:0 0 clamp(200px,26vw,290px); scroll-snap-align:start; display:block;
  aspect-ratio:4/3; overflow:hidden; border-radius:12px; box-shadow:0 6px 18px rgba(13,20,20,.08);
}
.gallery-track img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease, filter .3s ease; }
.gallery-track a:hover img{ transform:scale(1.08); }
.gallery-info{ max-width:720px; margin-bottom:18px; }
.gallery-info h3{
  display:flex; align-items:center; gap:12px; font-size:20px; color:var(--teal-900); margin-bottom:10px;
}
.gallery-info h3 .icon{
  width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--gold-400),var(--gold-500)); color:#fff; flex-shrink:0;
}
.gallery-info h3 .icon svg{ width:19px; height:19px; }
.gallery-info p{ font-size:14.5px; line-height:1.65; color:var(--ink-500); }
.gallery-info strong{ color:var(--maroon-700); }
.gallery-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:42px; height:42px; border-radius:50%;
  background:#fff; border:1.5px solid var(--line); color:var(--teal-900); font-size:22px; line-height:1;
  display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:3;
  box-shadow:0 8px 20px rgba(13,20,20,.14); transition:background .15s ease, border-color .15s ease;
}
.gallery-nav:hover{ background:var(--teal-900); border-color:var(--teal-900); color:#fff; }
.gallery-nav.prev{ left:-14px; }
.gallery-nav.next{ right:-14px; }
@media (max-width:820px){
  .gallery-nav.prev{ left:-6px; }
  .gallery-nav.next{ right:-6px; }
}
@media (max-width:600px){
  .gallery-track a{ flex-basis:76vw; }
  .gallery-nav{ width:36px; height:36px; font-size:18px; }
}

.gallery-slider.compact{ margin-top:18px; }
.gallery-slider.compact .gallery-track{ gap:10px; padding:2px 2px 10px; }
.gallery-slider.compact .gallery-track a{ flex-basis:clamp(140px,32%,200px); border-radius:10px; box-shadow:none; }
.gallery-slider.compact .gallery-nav{ width:32px; height:32px; font-size:18px; }
.gallery-slider.compact .gallery-nav.prev{ left:-10px; }
.gallery-slider.compact .gallery-nav.next{ right:-10px; }
@media (max-width:640px){ .gallery-slider.compact .gallery-track a{ flex-basis:60vw; } }

.lightbox{
  position:fixed; inset:0; background:rgba(13,20,20,.92); z-index:2000;
  display:flex; align-items:center; justify-content:center; padding:5vh 5vw;
  opacity:0; pointer-events:none; transition:opacity .2s ease;
}
.lightbox.open{ opacity:1; pointer-events:auto; }
.lightbox img{ max-width:100%; max-height:90vh; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.lightbox-close{
  position:absolute; top:22px; right:26px; width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.3); color:#fff; font-size:22px; cursor:pointer;
}

/* ---------- camp galleries (stacked sections) ---------- */
.camp-gallery + .camp-gallery{ margin-top:56px; padding-top:40px; border-top:1px solid var(--line); }
@media (min-width:601px){
  .camp-gallery .gallery-track{ gap:22px; }
  .camp-gallery .gallery-track a{ flex:0 0 clamp(260px,32vw,400px); border-radius:16px; }
}

/* camp galleries scroll continuously, same technique as the home page photo marquee */
.camp-gallery .gallery-slider{
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.camp-gallery .gallery-slider .gallery-track{
  width:max-content; overflow:visible; scroll-snap-type:none;
  animation:gallery-scroll 38s linear infinite;
}
.camp-gallery .gallery-slider:hover .gallery-track,
.camp-gallery .gallery-slider:focus-within .gallery-track{ animation-play-state:paused; }
@media (prefers-reduced-motion: reduce){
  .camp-gallery .gallery-slider .gallery-track{ animation:none; overflow-x:auto; width:auto; }
}

/* ---------- data table ---------- */
.area-cell{ display:inline-flex; align-items:center; gap:10px; }
.area-cell .pin{ width:26px; height:26px; border-radius:50%; background:var(--wash-sage); color:var(--teal-700); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.area-cell .pin svg{ width:13px; height:13px; }
.data-table{ width:100%; border-collapse:collapse; background:#fff; border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); }
.data-table th,.data-table td{ padding:12px 10px; text-align:left; font-size:13.5px; border-bottom:1px solid var(--line); }
.data-table thead th{ background:var(--teal-900); color:#fff; font-weight:700; font-size:11px; text-transform:uppercase; letter-spacing:.02em; line-height:1.35; }
.data-table tbody tr:hover{ background:var(--paper-100); }
.data-table tbody tr:last-child td{ font-weight:800; background:var(--paper-100); }
.table-scroll{ overflow-x:auto; border-radius:var(--radius-md); }
@media (min-width:860px){
  /* Fixed layout lets the table sit inside the container without a scrollbar â€”
     but that only works once headers are allowed to wrap, so only turn on
     word-break here. Below this width the table keeps auto layout + horizontal
     scroll, which is the more readable option on small screens. */
  .data-table{ table-layout:fixed; }
  .data-table th,.data-table td{ overflow-wrap:break-word; word-break:break-word; }
  .data-table th:first-child, .data-table td:first-child{ width:15%; }
}

/* ---------- timeline (events) ---------- */
.timeline{ position:relative; margin-top:10px; }
.timeline::before{
  content:""; position:absolute; left:26px; top:0; bottom:0; width:2px;
  background:linear-gradient(var(--line),var(--line)); background-image:repeating-linear-gradient(to bottom,var(--coral-500) 0 8px,transparent 8px 16px);
}
.tl-item{ position:relative; padding:0 0 56px 74px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-dot{
  position:absolute; left:14px; top:2px; width:26px; height:26px; border-radius:50%;
  background:#fff; border:3px solid var(--coral-500); box-shadow:0 0 0 6px var(--paper-50);
}
.tl-year{ display:inline-block; background:var(--maroon-800); color:#fff; font-weight:800; font-size:13px; padding:6px 14px; border-radius:999px; margin-bottom:12px; }
.tl-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:26px; box-shadow:var(--shadow-sm); }
.tl-card h3{ font-size:20px; color:var(--teal-900); }
.tl-card .role{ font-size:13.5px; color:var(--maroon-700); font-weight:700; margin-top:4px; }
.tl-card p{ margin-top:12px; font-size:15px; color:var(--ink-500); }
.tl-media{ margin-top:18px; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.tl-media img{ border-radius:10px; aspect-ratio:4/3; object-fit:cover; }
.tl-media.single{ grid-template-columns:1fr 1fr; }
@media (max-width:640px){ .tl-media{ grid-template-columns:1fr 1fr; } }
.tl-badge-tbd{ display:inline-flex; align-items:center; gap:6px; background:var(--paper-200); color:var(--ink-500); font-size:12.5px; font-weight:700; padding:5px 12px; border-radius:999px; }

.tl-person-group{ display:flex; flex-wrap:wrap; gap:20px 28px; }
.tl-person{ display:flex; align-items:center; gap:16px; }
.tl-avatar{
  flex:none; width:92px; height:115px; border-radius:14px; overflow:hidden;
  border:3px solid var(--paper-100); box-shadow:var(--shadow-sm); background:var(--paper-100);
}
.tl-avatar img{ width:100%; height:100%; object-fit:cover; object-position:center 15%; }
.tl-avatar.mono{ display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--teal-700),var(--teal-900)); color:#fff; font-weight:800; font-size:28px; }
.tl-card > .tl-person-group{ margin-bottom:4px; }
@media (max-width:560px){
  .tl-avatar{ width:72px; height:90px; border-radius:12px; }
  .tl-avatar.mono{ font-size:22px; }
}
.tl-card > .tl-person-group + p{ margin-top:14px; }

/* ---------- team ---------- */
.team-card{ text-align:center; }
.avatar{
  width:118px; height:118px; border-radius:50%; margin:0 auto 18px; overflow:hidden;
  border:4px solid var(--paper-100); box-shadow:var(--shadow-sm);
}
.avatar img{ width:100%; height:100%; object-fit:cover; }
.avatar.mono{ display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--teal-700),var(--teal-900)); color:#fff; font-weight:800; font-size:30px; }
.team-card h3{ font-size:17px; color:var(--teal-900); }
.team-card .role{ font-size:13.5px; color:var(--maroon-700); font-weight:700; margin-top:4px; }
.team-card p{ margin-top:12px; font-size:14px; color:var(--ink-500); text-align:left; }

/* ---------- quote / message ---------- */
.quote-block{
  position:relative; overflow:hidden;
  display:grid; grid-template-columns:220px 1fr; gap:36px; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:36px; box-shadow:var(--shadow-sm);
}
.quote-block .qmark{ position:absolute; top:18px; left:28px; font-size:64px; line-height:1; font-family:Georgia,serif; color:var(--wash-gold-line); z-index:0; }
.quote-block .wm{
  position:absolute; right:-22px; bottom:-26px; width:170px; height:170px; opacity:.07; color:var(--maroon-700); z-index:0;
}
.quote-block > *{ position:relative; z-index:1; min-width:0; }
.quote-block .qava{ width:100%; aspect-ratio:1/1; border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-md); }
.quote-block .qava img{ width:100%; height:100%; object-fit:cover; }
.quote-block blockquote{ font-size:19px; color:var(--ink-700); font-style:italic; margin:0 0 14px; line-height:1.55; }
.quote-block .who{ font-weight:800; color:var(--teal-900); font-size:15px; }
.quote-block .who span{ display:block; font-weight:600; color:var(--ink-500); font-size:13px; font-style:normal; }
@media (max-width:700px){ .quote-block{ grid-template-columns:1fr; text-align:center; } .quote-block .qava{ width:140px; margin:0 auto; } }

/* ---------- highlight panel (screenings promo) ---------- */
.highlight-panel{
  background:linear-gradient(120deg,var(--maroon-800),var(--coral-500));
  border-radius:var(--radius-lg); padding:44px; color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
  box-shadow:var(--shadow-lg);
}
.highlight-panel h3{ font-size:26px; }
.highlight-panel p{ margin-top:10px; color:#ffe3d9; max-width:480px; }

/* ---------- CTA band ---------- */
.cta-band{
  position:relative; overflow:hidden;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(217,155,40,.16), transparent 60%),
    #fff;
  border:1px solid var(--line); box-shadow:var(--shadow-lg);
  border-radius:var(--radius-lg); padding:52px; text-align:center;
}
.cta-band::after{
  content:""; position:absolute; left:0; right:0; top:0; height:5px;
  background:linear-gradient(90deg,var(--gold-500),var(--coral-500),var(--maroon-700));
}
.cta-band .wm-dots{
  position:absolute; width:110px; height:110px; opacity:.5; pointer-events:none;
  background-image:radial-gradient(var(--wash-gold-line) 2.2px, transparent 2.2px);
  background-size:16px 16px;
}
.cta-band .wm-dots.tl{ left:22px; top:22px; }
.cta-band .wm-dots.br{ right:22px; bottom:22px; }
.cta-band h2{ font-size:clamp(24px,3vw,32px); color:var(--teal-900); }
.cta-band p{ margin-top:12px; color:var(--ink-500); }
.cta-band .hero-actions{ justify-content:center; margin-top:26px; }
.cta-band .btn-ghost{ border-color:var(--maroon-700); color:var(--maroon-700); }
.cta-band .btn-ghost:hover{ background:var(--maroon-700); color:#fff; }

/* ---------- footer ---------- */
.site-footer{ position:relative; background:var(--teal-900); color:#cfe3e2; padding:64px 0 26px; }
.site-footer::before{
  content:""; position:absolute; left:0; right:0; top:0; height:4px;
  background:linear-gradient(90deg,var(--gold-500),var(--coral-500),var(--maroon-700));
}
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ height:42px; background:#fff; border-radius:8px; padding:4px; }
.footer-brand strong{ color:#fff; font-size:16px; }
.footer-tagline{
  display:inline-flex; align-items:center; gap:8px; margin-top:16px;
  font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--gold-400);
}
.footer-tagline::before{ content:""; width:16px; height:2px; background:var(--gold-400); display:inline-block; flex-shrink:0; }
.site-footer h4{ color:#fff; font-size:14px; margin-bottom:16px; letter-spacing:.04em; text-transform:uppercase; }
.site-footer p{ font-size:14px; color:#a9c6c4; }
.site-footer ul li{ margin-bottom:10px; }
.site-footer ul li a{ font-size:14px; color:#cfe3e2; transition:color .15s ease; }
.site-footer ul li a:hover{ color:var(--gold-400); }
.footer-contact-row{ display:flex; align-items:center; gap:10px; margin-top:12px; }
.footer-contact-row svg{ width:15px; height:15px; color:var(--gold-400); flex-shrink:0; }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14);
  display:flex; align-items:center; justify-content:center; color:#cfe3e2; transition:background .15s ease, color .15s ease;
}
.footer-social a:hover{ background:var(--gold-500); color:var(--teal-900); }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{ margin-top:48px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; color:#8fb3b0; }
.footer-bottom .fb-links{ display:flex; gap:18px; flex-wrap:wrap; }
.footer-bottom .fb-links a{ color:#8fb3b0; transition:color .15s ease; }
.footer-bottom .fb-links a:hover{ color:var(--gold-400); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.contact-info .row{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.contact-info .row > div:last-child{ min-width:0; }
.contact-info .row .icon{ width:44px; height:44px; border-radius:12px; background:var(--paper-200); display:flex; align-items:center; justify-content:center; color:var(--maroon-700); flex-shrink:0; }
.contact-info .row h4{ font-size:14.5px; color:var(--teal-900); }
.contact-info .row p{ font-size:14.5px; color:var(--ink-500); margin-top:3px; }
.form{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:30px; box-shadow:var(--shadow-sm); }
.form .field{ margin-bottom:18px; }
.form label{ display:block; font-size:13.5px; font-weight:700; color:var(--ink-700); margin-bottom:7px; }
.form input, .form textarea{
  width:100%; padding:13px 14px; border-radius:10px; border:1.5px solid var(--line); font-family:inherit; font-size:14.5px;
  background:var(--paper-50);
}
.form input:focus, .form textarea:focus{ outline:none; border-color:var(--coral-500); background:#fff; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }

.field-icon{ position:relative; }
.field-icon svg{ position:absolute; left:14px; top:50%; transform:translateY(-50%); width:17px; height:17px; color:var(--ink-300); pointer-events:none; }
.field-icon input{ padding-left:42px; }

.highlight-panel.panel-teal{ background:linear-gradient(120deg,var(--teal-900),var(--teal-600)); }

/* ---------- misc ---------- */
.divider-icon{ display:flex; align-items:center; justify-content:center; margin:0 0 18px; color:var(--maroon-700); }
.badge-gold{ display:inline-flex; align-items:center; gap:6px; background:rgba(217,155,40,.14); color:var(--gold-500); font-weight:800; font-size:12.5px; padding:6px 14px; border-radius:999px; }
.two-col{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.two-col > *{ min-width:0; }
.contact-grid > *{ min-width:0; }
.hero2-grid > *{ min-width:0; }
.footer-grid > *{ min-width:0; }
.split-panel > *{ min-width:0; }
.leader-row > *{ min-width:0; }
.approach-grid > *{ min-width:0; }
.grid > *{ min-width:0; }
@media (max-width:900px){
  .two-col{ grid-template-columns:1fr; }
  /* Stacked single-column layout reads better photo-first, text-second â€”
     matches the pattern already used for .hero2-grid. Only reorders the
     genuinely visual column (image-stack / photo-card); sections pairing
     text with a non-photo .card are left in source order. */
  .two-col .image-stack, .two-col .photo-card{ order:-1; }
}

/* ---------- founder feature: fixed-width portrait card + flexible text ---------- */
.of-founder-grid{ display:grid; grid-template-columns:clamp(300px,34vw,420px) 1fr; gap:48px; align-items:center; }
.of-founder-grid > *{ min-width:0; }
@media (max-width:900px){
  .of-founder-grid{ grid-template-columns:1fr; }
  .of-founder-grid .of-photo-card{ order:-1; max-width:380px; margin:0 auto; }
}
/* Visible by default (safe fallback if JS never runs). JS arms the hidden
   state itself right before it starts observing, so a hard opacity:0 here
   would risk a permanently blank section on script failure. */
.reveal{ transition:opacity .6s ease, transform .6s ease; }
.reveal.reveal-armed{ opacity:0; transform:translateY(18px); }
.reveal.in{ opacity:1 !important; transform:translateY(0) !important; }

/* Staggered entrance for card grids: each child gets its own fade/slide
   with an increasing delay, cascading in once the parent .reveal fires. */
.hero2-grid.reveal > *,
.hero-feature-panel.reveal > .hfp-item,
.approach-grid.reveal > .ap-card,
.stat-strip.reveal > .stat-card,
.footer-grid.reveal > *,
.hero-stats-row.reveal > .hsr-item,
.honouree-grid.reveal > .honouree-card,
.advisor-grid.reveal > .advisor-card,
.process-flow.reveal > .pf-step,
.timeline.reveal > .tl-item{
  transition:opacity .55s ease, transform .55s ease;
}
.hero2-grid.reveal.reveal-armed > *,
.hero-feature-panel.reveal.reveal-armed > .hfp-item,
.approach-grid.reveal.reveal-armed > .ap-card,
.stat-strip.reveal.reveal-armed > .stat-card,
.footer-grid.reveal.reveal-armed > *,
.hero-stats-row.reveal.reveal-armed > .hsr-item,
.honouree-grid.reveal.reveal-armed > .honouree-card,
.advisor-grid.reveal.reveal-armed > .advisor-card,
.process-flow.reveal.reveal-armed > .pf-step,
.timeline.reveal.reveal-armed > .tl-item{
  opacity:0; transform:translateY(16px);
}
.hero2-grid.reveal.in > *,
.hero-feature-panel.reveal.in > .hfp-item,
.approach-grid.reveal.in > .ap-card,
.stat-strip.reveal.in > .stat-card,
.footer-grid.reveal.in > *,
.hero-stats-row.reveal.in > .hsr-item,
.honouree-grid.reveal.in > .honouree-card,
.advisor-grid.reveal.in > .advisor-card,
.process-flow.reveal.in > .pf-step,
.timeline.reveal.in > .tl-item{
  opacity:1 !important; transform:translateY(0) !important;
}
.hero2-grid.reveal > *:nth-child(2),
.hero-feature-panel.reveal > .hfp-item:nth-child(2),
.approach-grid.reveal > .ap-card:nth-child(2),
.stat-strip.reveal > .stat-card:nth-child(2),
.footer-grid.reveal > *:nth-child(2),
.hero-stats-row.reveal > .hsr-item:nth-child(2),
.honouree-grid.reveal > .honouree-card:nth-child(2),
.advisor-grid.reveal > .advisor-card:nth-child(2),
.process-flow.reveal > .pf-step:nth-child(2),
.timeline.reveal > .tl-item:nth-child(2){ transition-delay:.08s; }
.hero-feature-panel.reveal > .hfp-item:nth-child(3),
.approach-grid.reveal > .ap-card:nth-child(3),
.stat-strip.reveal > .stat-card:nth-child(3),
.footer-grid.reveal > *:nth-child(3),
.hero-stats-row.reveal > .hsr-item:nth-child(3),
.honouree-grid.reveal > .honouree-card:nth-child(3),
.advisor-grid.reveal > .advisor-card:nth-child(3),
.process-flow.reveal > .pf-step:nth-child(3),
.timeline.reveal > .tl-item:nth-child(3){ transition-delay:.16s; }
.hero-feature-panel.reveal > .hfp-item:nth-child(4),
.approach-grid.reveal > .ap-card:nth-child(4),
.stat-strip.reveal > .stat-card:nth-child(4),
.footer-grid.reveal > *:nth-child(4),
.honouree-grid.reveal > .honouree-card:nth-child(4),
.advisor-grid.reveal > .advisor-card:nth-child(4),
.process-flow.reveal > .pf-step:nth-child(4),
.timeline.reveal > .tl-item:nth-child(4){ transition-delay:.24s; }
.approach-grid.reveal > .ap-card:nth-child(5),
.process-flow.reveal > .pf-step:nth-child(5),
.timeline.reveal > .tl-item:nth-child(5){ transition-delay:.32s; }
.approach-grid.reveal > .ap-card:nth-child(6){ transition-delay:.4s; }

/* ==========================================================================
   Editorial components â€” replaces uniform white icon-cards / boxed stats
   ========================================================================== */

/* ---------- tinted cards (rotating light-colour wash instead of all-white) ---------- */
.card.tint-rose{ background:var(--wash-rose); border-color:var(--wash-rose-line); }
.card.tint-gold{ background:var(--wash-gold); border-color:var(--wash-gold-line); }
.card.tint-sage{ background:var(--wash-sage); border-color:var(--wash-sage-line); }
.card.tint-rose .icon{ background:linear-gradient(135deg,var(--coral-400),var(--maroon-700)); }
.card.tint-gold .icon{ background:linear-gradient(135deg,var(--gold-400),var(--gold-500)); }
.card.tint-sage .icon{ background:linear-gradient(135deg,var(--teal-500),var(--teal-800)); }

/* ---------- approach grid: compact numbered cards, no dead space, hover motion ---------- */
.approach-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.ap-card{
  position:relative; overflow:hidden;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:28px 26px 26px; box-shadow:var(--shadow-sm);
  transition:transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease;
}
.ap-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.ap-card .ap-num{
  position:absolute; top:24px; right:26px; font-size:12.5px; font-weight:800; letter-spacing:.06em; color:var(--ink-300);
}
.ap-card .icon{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; color:#fff; transition:transform .35s cubic-bezier(.3,1.4,.5,1);
}
.ap-card .icon svg{ width:24px; height:24px; }
.ap-card:hover .icon{ transform:scale(1.12) rotate(-6deg); }
.ap-card h3{ font-size:18px; color:var(--teal-900); margin-bottom:8px; }
.ap-card p{ font-size:14.5px; color:var(--ink-500); }
.ap-card.tint-rose{ background:var(--wash-rose); border-color:var(--wash-rose-line); }
.ap-card.tint-gold{ background:var(--wash-gold); border-color:var(--wash-gold-line); }
.ap-card.tint-sage{ background:var(--wash-sage); border-color:var(--wash-sage-line); }
.ap-card.tint-rose .icon{ background:linear-gradient(135deg,var(--coral-400),var(--maroon-700)); }
.ap-card.tint-gold .icon{ background:linear-gradient(135deg,var(--gold-400),var(--gold-500)); }
.ap-card.tint-sage .icon{ background:linear-gradient(135deg,var(--teal-500),var(--teal-800)); }
.ap-card.featured{
  background:linear-gradient(150deg,var(--teal-800),var(--teal-600) 60%,var(--coral-500));
  border:none; color:#fff;
}
.ap-card.featured .ap-num{ color:rgba(255,255,255,.5); }
.ap-card.featured .icon{ background:rgba(255,255,255,.18); }
.ap-card.featured h3{ color:#fff; }
.ap-card.featured p{ color:rgba(255,255,255,.86); }
.ap-card.featured::after{
  content:""; position:absolute; right:-36px; bottom:-36px; width:150px; height:150px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); pointer-events:none;
}
.ap-tag{
  display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-size:11px; font-weight:800;
  letter-spacing:.08em; text-transform:uppercase; color:var(--gold-400);
}
@media (max-width:980px){ .approach-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .approach-grid{ grid-template-columns:1fr; } }

/* ---------- stat band: horizontal figures with dividers, not boxes ---------- */
.stat-band{ display:flex; flex-wrap:wrap; }
.stat-band .sb-item{
  flex:1 1 200px; padding:0 32px; border-left:1px solid var(--line);
}
.stat-band .sb-item:first-child{ border-left:none; padding-left:0; }
.stat-band .sb-item b{ display:block; font-size:clamp(30px,4vw,44px); font-weight:800; color:var(--maroon-700); letter-spacing:-.02em; }
.stat-band .sb-item span{ font-size:14px; color:var(--ink-500); }
@media (max-width:760px){
  .stat-band .sb-item{ flex:1 1 45%; border-left:none; border-top:1px solid var(--line); padding:20px 0 0; margin-top:20px; }
  .stat-band .sb-item:nth-child(odd){ padding-right:20px; }
}

/* ---------- image stack: overlapping photos + floating stat badge ---------- */
.image-stack{ position:relative; padding:0 26px 34px 0; }
.image-stack .is-main{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:5/4; }
.image-stack .is-main img{ width:100%; height:100%; object-fit:cover; }
.image-stack .is-accent{
  position:absolute; right:0; bottom:0; width:46%; aspect-ratio:1/1; border-radius:var(--radius-md);
  overflow:hidden; border:5px solid var(--paper-50); box-shadow:var(--shadow-lg);
}
.image-stack .is-accent img{ width:100%; height:100%; object-fit:cover; }
.image-stack .is-badge{
  /* Bottom-anchored, not top â€” photo subjects (faces) are almost always in
     the upper-to-middle frame, so a top-left badge reliably covers them.
     Bottom-left sits over floor/background instead, and doesn't collide
     with .is-accent (which is pinned bottom-right). */
  position:absolute; left:-18px; bottom:22px; background:#fff; border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:16px 20px; display:flex; align-items:center; gap:12px;
  border:1px solid var(--line);
}
.image-stack .is-badge .ico{ width:40px; height:40px; border-radius:10px; background:linear-gradient(135deg,var(--gold-400),var(--gold-500)); display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0; }
.image-stack .is-badge b{ display:block; font-size:20px; color:var(--teal-900); font-weight:800; line-height:1; }
.image-stack .is-badge span{ font-size:12px; color:var(--ink-500); }
@media (max-width:560px){
  .image-stack{ padding:0 16px 24px 0; }
  .image-stack .is-badge{ left:-8px; padding:10px 14px; gap:10px; }
  .image-stack .is-badge .ico{ width:32px; height:32px; border-radius:8px; }
  .image-stack .is-badge b{ font-size:16px; }
  .image-stack .is-badge span{ font-size:11px; }
}

/* ---------- split panel: two-tone divided card (mission / vision etc.) ---------- */
.split-panel{
  display:grid; grid-template-columns:1fr 1fr; border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-md); border:1px solid var(--line);
}
.split-panel .sp-half{ padding:40px; position:relative; overflow:hidden; }
.split-panel .sp-half.rose{ background:var(--wash-rose); }
.split-panel .sp-half.sage{ background:var(--wash-sage); }
.split-panel .sp-half .wm{ position:absolute; right:-10px; bottom:-18px; opacity:.10; width:120px; height:120px; }
.split-panel .sp-half .icon{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--coral-500),var(--maroon-700)); color:#fff; margin-bottom:16px; position:relative; z-index:1;
}
.split-panel .sp-half .icon svg{ width:26px; height:26px; }
.split-panel .sp-half.sage .icon{ background:linear-gradient(135deg,var(--teal-500),var(--teal-800)); }
.split-panel .sp-half h3{ font-size:19px; color:var(--teal-900); margin-bottom:10px; }
.split-panel .sp-half p{ font-size:15px; color:var(--ink-700); position:relative; z-index:1; }
@media (max-width:760px){ .split-panel{ grid-template-columns:1fr; } }

/* ---------- trustee banner: fading photo strip ---------- */
.trustee-banner{
  border-radius:var(--radius-lg); overflow:hidden; margin:0 0 40px;
  box-shadow:var(--shadow-md); border:1px solid var(--line); background:#fff;
}
.trustee-banner-frame{ position:relative; aspect-ratio:16/6; }
.trustee-banner-frame img{ width:100%; height:100%; object-fit:cover; object-position:center 30%; }
@media (max-width:760px){
  .trustee-banner-frame{ aspect-ratio:4/3.4; }
}

/* ---------- trustee cards: centered photo cards with accent top border ---------- */
.trustee-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.trustee-card{
  position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  border-top:5px solid var(--accent,var(--teal-600)); padding:40px 28px 30px; text-align:center;
  box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease;
}
.trustee-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.tc-avatar{ position:relative; width:176px; height:176px; margin:0 auto 22px; }
.tc-avatar img{
  width:100%; height:100%; border-radius:50%; object-fit:cover; object-position:center 22%;
  border:5px solid var(--paper-100); box-shadow:var(--shadow-md);
}
.tc-avatar.mono{
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--teal-700),var(--teal-900)); color:#fff; font-weight:800; font-size:40px;
  border:5px solid var(--paper-100); box-shadow:var(--shadow-md);
}
.tc-badge{
  position:absolute; right:2px; bottom:6px; width:42px; height:42px; border-radius:50%;
  background:var(--accent,var(--teal-600)); color:#fff; display:flex; align-items:center; justify-content:center;
  border:3px solid #fff; box-shadow:var(--shadow-sm);
}
.tc-badge svg{ width:20px; height:20px; }
@media (max-width:480px){
  .tc-avatar{ width:150px; height:150px; }
}
.trustee-card h3{ font-size:19px; color:var(--teal-900); }
.trustee-card .role{ font-size:13px; color:var(--maroon-700); font-weight:700; margin-top:4px; }
.trustee-card p{ margin-top:14px; font-size:14.5px; line-height:1.6; color:var(--ink-700); text-align:left; }
.trustee-card .lr-fact{ margin-top:16px; }
@media (max-width:900px){ .trustee-grid{ grid-template-columns:1fr; max-width:440px; margin:0 auto; } }
.lr-fact{
  display:inline-flex; align-items:center; gap:7px; padding:7px 14px;
  border-radius:999px; background:var(--paper-100); border:1px solid var(--line);
  font-size:12px; font-weight:800; letter-spacing:.01em; color:var(--teal-900);
}
.lr-fact::before{
  content:""; width:6px; height:6px; border-radius:50%; background:var(--accent,var(--gold-500)); flex-shrink:0;
}

/* ---------- advisor grid: photo/mono avatar cards with role icon ---------- */
.advisor-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.advisor-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  padding:28px 20px; text-align:center; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease;
}
.advisor-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.advisor-card .adv-avatar{ width:88px; height:88px; border-radius:50%; margin:0 auto 16px; overflow:hidden; border:3px solid var(--paper-100); box-shadow:var(--shadow-sm); }
.advisor-card .adv-avatar img{ width:100%; height:100%; object-fit:cover; }
.advisor-card .adv-avatar.mono{ display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--teal-700),var(--teal-900)); color:#fff; font-weight:800; font-size:24px; }
.advisor-card h4{ font-size:15.5px; color:var(--teal-900); }
.advisor-card span{ display:block; font-size:12.5px; color:var(--maroon-700); font-weight:700; margin-top:4px; }
.advisor-card .adv-ic{
  width:38px; height:38px; border-radius:50%; margin:16px auto 0; display:flex; align-items:center; justify-content:center;
  background:var(--teal-900); color:#fff;
}
.advisor-card .adv-ic svg{ width:17px; height:17px; }
@media (max-width:900px){ .advisor-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .advisor-grid{ grid-template-columns:1fr; } }

/* ---------- FAQ list: icon-led question rows ---------- */
.faq-list{ display:grid; gap:14px; max-width:820px; margin:0 auto; }
.faq-item{ padding:6px 26px; }
.faq-item summary{
  display:flex; align-items:center; gap:14px; font-weight:700; color:var(--teal-900);
  cursor:pointer; font-size:16px; padding:16px 0; list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .fq-ic{
  width:34px; height:34px; border-radius:9px; background:var(--wash-sage); color:var(--teal-700);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.faq-item summary .fq-ic svg{ width:17px; height:17px; }
.faq-item summary .fq-txt{ flex:1; }
.faq-item summary .fq-plus{
  width:26px; height:26px; border-radius:50%; background:var(--teal-900); color:#fff; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; transition:transform .2s ease;
}
.faq-item summary .fq-plus svg{ width:13px; height:13px; }
.faq-item[open] summary .fq-plus{ transform:rotate(45deg); }
.faq-item p{ padding:0 0 20px 48px; color:var(--ink-500); }

/* ---------- feature list (icon + text rows, used in mission section) ---------- */
.feature-list{ display:flex; flex-direction:column; gap:18px; margin-top:26px; }
.feature-list .fl-item{ display:flex; gap:16px; align-items:flex-start; }
.feature-list .fl-item .ic{
  width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.feature-list .fl-item .ic svg{ width:20px; height:20px; }
.feature-list .fl-item .ic.wash-a{ background:var(--wash-rose); color:var(--maroon-700); }
.feature-list .fl-item .ic.wash-b{ background:var(--wash-gold); color:var(--gold-500); }
.feature-list .fl-item .ic.wash-c{ background:var(--wash-sage); color:var(--teal-700); }
.feature-list .fl-item h4{ font-size:15.5px; color:var(--teal-900); margin-bottom:4px; }
.feature-list .fl-item p{ font-size:14px; color:var(--ink-500); }

/* ---------- image stack: floating pill variant (top edge, e.g. "A Mission") ---------- */
.image-stack .is-pill{
  position:absolute; left:12%; top:-22px; z-index:2;
  background:#fff; border-radius:999px; box-shadow:var(--shadow-lg); border:1px solid var(--line);
  padding:10px 20px 10px 10px; display:flex; align-items:center; gap:12px;
}
.image-stack .is-pill .ico{
  width:38px; height:38px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--coral-500),var(--maroon-700)); color:#fff;
}
.image-stack .is-pill .ico svg{ width:18px; height:18px; }
.image-stack .is-pill b{ display:block; font-size:13.5px; color:var(--teal-900); font-weight:800; }
.image-stack .is-pill span{ font-size:11.5px; color:var(--ink-500); }
@media (max-width:560px){ .image-stack .is-pill{ left:6%; padding:8px 16px 8px 8px; } }

/* ---------- about intro: single framed card combining page-hero + mission
   (scoped to about.html only — does not touch shared .page-hero/.bg-paper) ---------- */
.about-intro{ padding:48px 0 88px; }
.intro-frame{
  position:relative; background:var(--paper-100); border:1px solid var(--line);
  border-radius:32px; box-shadow:var(--shadow-lg); padding:52px 52px 44px; overflow:hidden;
}
.intro-frame::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(700px 360px at -6% -22%, rgba(217,155,40,.16), transparent 60%),
    radial-gradient(650px 340px at 106% 0%, rgba(58,160,196,.14), transparent 58%);
}
.intro-frame-part{ position:relative; z-index:1; }
.intro-frame-divider{ height:1px; background:var(--line); margin:48px 0; }
.intro-hero-text h1{ font-size:clamp(28px,4vw,42px); color:var(--teal-900); }
.intro-hero-text p{ margin-top:14px; max-width:560px; color:var(--ink-500); font-size:16.5px; }
@media (max-width:640px){
  .intro-frame{ padding:34px 22px 30px; border-radius:22px; }
  .intro-frame-divider{ margin:36px 0; }
}

.mission-grid{ display:grid; grid-template-columns:1fr .82fr 1fr; gap:40px; align-items:start; }
.mission-grid .feature-list{ margin-top:6px; gap:24px; }
@media (max-width:1000px){
  .mission-grid{ grid-template-columns:1fr; gap:32px; }
  .mission-grid .image-stack{ order:-1; max-width:520px; margin:0 auto; }
  .mission-grid .feature-list{ margin-top:0; }
}

/* ---------- process flow: 5-step "how we work" ---------- */
.process-flow{ display:flex; justify-content:space-between; gap:8px; position:relative; margin-top:8px; }
.process-flow::before{
  content:""; position:absolute; top:34px; left:70px; right:70px; height:0;
  border-top:2px dashed var(--line); z-index:0;
}
.pf-step{ flex:1; display:flex; flex-direction:column; align-items:center; text-align:center; position:relative; z-index:1; padding:0 8px; }
.pf-circle{
  width:68px; height:68px; border-radius:50%; background:#fff; border:3px solid var(--c,var(--coral-500));
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm); position:relative; flex-shrink:0;
}
.pf-circle svg{ width:26px; height:26px; color:var(--c,var(--coral-500)); }
.pf-num{
  position:absolute; top:-6px; right:-6px; width:24px; height:24px; border-radius:50%;
  background:var(--c,var(--coral-500)); color:#fff; font-size:11px; font-weight:800;
  display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 3px #fff;
}
.pf-step h4{ margin-top:18px; font-size:15px; color:var(--teal-900); }
.pf-step p{ margin-top:6px; font-size:13px; color:var(--ink-500); }
@media (max-width:900px){
  .process-flow{ flex-wrap:wrap; row-gap:36px; }
  .process-flow::before{ display:none; }
  .pf-step{ flex:1 1 40%; }
}
@media (max-width:560px){ .pf-step{ flex:1 1 100%; } }

/* ---------- radial grid: "nine commitments" hub-and-spoke layout ---------- */
.radial-grid{ display:grid; grid-template-columns:1fr 260px 1fr; align-items:center; gap:0 34px; }
.radial-col{ display:flex; flex-direction:column; gap:18px; }
.radial-card{
  position:relative; display:flex; align-items:center; gap:14px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  padding:16px 18px; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease;
}
.radial-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.radial-card .ric{
  width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; flex-shrink:0;
  background:var(--w,var(--wash-rose)); color:var(--c,var(--maroon-700));
}
.radial-card .ric svg{ width:19px; height:19px; }
.radial-card h4{ font-size:14.5px; color:var(--teal-900); }
.radial-card p{ font-size:12.5px; color:var(--ink-500); margin-top:3px; }
.radial-card .rnum{
  position:absolute; top:-8px; width:22px; height:22px; border-radius:50%; background:var(--c,var(--maroon-700));
  color:#fff; font-size:10.5px; font-weight:800; display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 3px var(--paper-0);
}
.radial-col:first-child .rnum{ left:-8px; }
.radial-col:last-child .rnum{ right:-8px; }
.radial-col:first-child .radial-card::after{
  content:""; position:absolute; top:50%; right:-34px; width:34px; height:0; border-top:2px dashed var(--line);
}

/* ---------- home page: continuously scrolling photo gallery ---------- */
.gallery-marquee-section{ padding-bottom:0; }
.gallery-marquee{
  width:100%; overflow:hidden; margin-top:8px;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery-marquee .gallery-track{
  display:flex; width:max-content; gap:20px; padding:4px 0 28px;
  animation:gallery-scroll 42s linear infinite;
}
.gallery-marquee:hover .gallery-track{ animation-play-state:paused; }
/* Each frame is now a lightbox link (was a bare <img>, unclickable) â€” size
   and shape live on the <a> so the base ".gallery-track img" rule
   (width/height:100%, object-fit:cover) fills it automatically. */
.gallery-marquee .gallery-track a{
  height:230px; width:340px; flex-shrink:0; flex-basis:auto; aspect-ratio:auto;
  border-radius:var(--radius-md); box-shadow:var(--shadow-sm); overflow:hidden;
}
@keyframes gallery-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (max-width:768px){
  .gallery-marquee .gallery-track a{ height:170px; width:240px; }
  /* Smaller images means less distance to cover, so the old 30s duration
     (shorter than desktop's 42s) actually read as faster on mobile, not
     slower â€” the opposite of what a smaller screen calls for. */
  .gallery-marquee .gallery-track{ gap:14px; animation-duration:60s; }
}
@media (prefers-reduced-motion: reduce){
  .gallery-marquee .gallery-track{ animation:none; }
  .gallery-marquee{ overflow-x:auto; }
}
.radial-col:last-child .radial-card::after{
  content:""; position:absolute; top:50%; left:-34px; width:34px; height:0; border-top:2px dashed var(--line);
}
.radial-center{
  position:relative; width:260px; height:260px; margin:0 auto; display:flex; align-items:center; justify-content:center;
}
.radial-center::before{
  content:""; position:absolute; inset:0; border-radius:50%; border:2px dashed var(--wash-rose-line);
}
.radial-center .rc-hub{
  width:140px; height:140px; border-radius:50%; background:#fff; box-shadow:var(--shadow-lg); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; position:relative; z-index:1;
}
.radial-center .rc-hub svg{ width:52px; height:52px; color:var(--maroon-700); }
.radial-center .rc-hub img{ width:112px; height:112px; border-radius:50%; object-fit:contain; }
@media (max-width:980px){
  .radial-grid{ grid-template-columns:1fr; gap:16px; }
  .radial-center{ order:-1; width:180px; height:180px; }
  .radial-center .rc-hub{ width:100px; height:100px; }
  .radial-center .rc-hub svg{ width:38px; height:38px; }
  .radial-center .rc-hub img{ width:82px; height:82px; }
  .radial-col:first-child .radial-card::after, .radial-col:last-child .radial-card::after{ display:none; }
  .radial-col:first-child .rnum{ left:auto; right:-8px; }
}

/* ---------- dark CTA banner (donate / volunteer) ---------- */
.cta-dark{
  background:linear-gradient(120deg,var(--teal-900),var(--teal-700));
  border-radius:var(--radius-lg); padding:44px 48px; color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
  box-shadow:var(--shadow-lg);
}
.cta-dark .cta-lead{ display:flex; align-items:center; gap:20px; }
.cta-dark .cta-ic{
  width:56px; height:56px; border-radius:50%; background:rgba(255,255,255,.14); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.cta-dark .cta-ic svg{ width:26px; height:26px; }
.cta-dark h3{ font-size:clamp(20px,2.4vw,26px); }
.cta-dark p{ margin-top:8px; color:rgba(255,255,255,.75); font-size:15px; }
.cta-dark .actions{ display:flex; gap:14px; flex-wrap:wrap; }
@media (max-width:560px){ .cta-dark .cta-lead{ flex-direction:column; text-align:center; } }
.cta-dark .btn-white{ background:#fff; color:var(--teal-900); }
.cta-dark .btn-white:hover{ background:var(--paper-100); }
.cta-dark .btn-line{ background:transparent; border:2px solid rgba(255,255,255,.45); color:#fff; }
.cta-dark .btn-line:hover{ background:rgba(255,255,255,.12); }

/* ---------- chip row: compact list for advisors ---------- */
.chip-row{ display:flex; flex-wrap:wrap; gap:14px; }
.chip{
  display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--line);
  border-radius:999px; padding:10px 22px 10px 10px; box-shadow:var(--shadow-sm);
}
.chip .mono{
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--teal-700),var(--teal-900)); color:#fff; font-weight:800; font-size:13px; flex-shrink:0;
}
.chip b{ display:block; font-size:14px; color:var(--teal-900); }
.chip span{ font-size:11.5px; color:var(--maroon-700); font-weight:700; }

/* ==========================================================================
   Mobile refinements â€” tighter structure, safer header, calmer spacing
   ========================================================================== */

/* Prevent the long brand name from ever overlapping the hamburger/CTA â€”
   real risk on narrow phones since the header is a space-between flex row
   and the name was nowrap with no truncation. */
.brand-text strong{ overflow:hidden; text-overflow:ellipsis; }

/* Dimmed backdrop behind the open mobile nav menu, toggled via body.nav-open
   (see main.js). Sits below the menu/header but above page content, and
   locks background scroll while the menu is open. */
@media (max-width:1180px){
  body.nav-open{ overflow:hidden; }
  body.nav-open::after{
    content:""; position:fixed; inset:0; background:rgba(12,24,26,.45);
    z-index:900; animation:navScrimIn .18s ease;
  }
  .nav-links{ z-index:950; }
}
@keyframes navScrimIn{ from{ opacity:0; } to{ opacity:1; } }

@media (max-width:700px){ html{ scroll-padding-top:78px; } }

/* Below ~630px "Care for Your Kidney Foundation" never fits next to the CTA
   + menu button without an ellipsis mid-word. Rather than drop the wordmark
   entirely, swap to the "CFYKF" short form used elsewhere on the site â€”
   short enough to always fit in full, so the header still reads as
   identified rather than logo-only. Full name comes back once there's
   genuinely room to render it on one line (checked against real layout). */
.brand-short{ display:none; }
@media (max-width:630px){
  .brand-full{ display:none; }
  .brand-short{ display:block; font-size:16px; }
}
@media (max-width:560px){
  .nav-wrap{ padding:12px 16px; gap:12px; }
  .brand{ gap:10px; }
  /* The badge is a fine circular design (curved wordmark + linework) that
     turns to mush much below this â€” keep it legible as an icon even though
     the CFYKF short label next to it now carries the reading burden. */
  .brand img{ height:46px; }
  .brand-short{ font-size:15px; }
  .nav-cta{ gap:8px; }
  .nav-cta .btn{ padding:0 16px; font-size:13.5px; height:38px; }
  .nav-toggle{ width:38px; height:38px; }
}
@media (max-width:430px){
  .nav-cta .btn .btn-ic{ display:none; }
}
@media (max-width:400px){
  .brand img{ height:44px; }
  .nav-wrap{ padding:10px 14px; }
}

@media (max-width:480px){
  .container{ padding:0 18px; }
  section{ padding:44px 0; }
  .section-head{ margin-bottom:30px; }
  .btn{ padding:13px 22px; font-size:14.5px; white-space:normal; text-align:center; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ width:100%; }
  .cta-dark .actions{ flex-direction:column; align-items:stretch; }
  .cta-dark .actions .btn{ width:100%; }
  .highlight-panel{ flex-direction:column; align-items:flex-start; padding:28px 24px; }
  .highlight-panel > a.btn{ width:100%; }
  .cta-band{ padding:32px 22px; }
  .cta-dark{ padding:32px 24px; }
  .split-panel .sp-half{ padding:28px; }
  .quote-block{ padding:26px; }
  .form{ padding:22px; }
  .page-hero{ padding:40px 0 32px; }
  .stat-strip{ grid-template-columns:1fr; }
  .honouree-grid{ grid-template-columns:1fr; }
  /* Stacking hero-actions full-width makes cards like .cta-band taller â€”
     tall enough that the bottom-anchored decorative dot watermark (an
     absolutely-positioned element, which paints above static content
     regardless of DOM order) can overlap the second button. It's purely
     decorative, so simplest is to drop it once buttons stack. */
  .cta-band .wm-dots{ display:none; }
  .data-table th,.data-table td{ padding:10px 8px; font-size:12.5px; }
  .faq-item{ padding:4px 18px; }
  .faq-item p{ padding-left:0; }
  .timeline::before{ left:16px; }
  .tl-dot{ left:4px; width:22px; height:22px; }
  .tl-item{ padding:0 0 40px 46px; }
  .tl-card{ padding:18px; }
  .lightbox{ padding:4vh 4vw; }
  .lightbox-close{ top:14px; right:14px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; gap:12px; }
}

/* Wide data tables (11-column screening breakdown, event run-of-show) get a
   horizontal-scroll edge fade below 860px â€” a visual cue that there's more
   to the right, since the scrollbar itself is easy to miss on touch. */
@media (max-width:860px){
  .table-scroll{ position:relative; }
  .table-scroll::after{
    content:""; position:absolute; top:0; right:0; bottom:0; width:26px; pointer-events:none;
    background:linear-gradient(90deg, transparent, rgba(28,26,25,.09));
  }
}
