/* ============================================================
   AAPHD — Iteration 06 stylesheet
   Carries over Iter 05 dropdowns; adds mega-menu groups,
   Donate ghost CTA, and refined nav alignment for 7 top-level items.
   ============================================================ */

:root {
  --navy-900: #0a1d3a; --navy-700: #0f2a4e; --navy-500: #1d3d6b;
  --ink: #1a1f2e; --slate: #5a6b82; --mist: #e9ecf2;
  --paper: #faf7f2; --cream: #f1ece3; --white: #ffffff;
  --coral: #e85d3a; --coral-700: #c44a2c; --gold: #d4a437;

  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-display: 'Fraunces', 'Source Serif Pro', Georgia, serif;

  --fs-xs: clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
  --fs-sm: clamp(0.88rem, 0.84rem + 0.2vw, 0.96rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --fs-lg: clamp(1.12rem, 1.05rem + 0.3vw, 1.25rem);
  --fs-xl: clamp(1.4rem, 1.25rem + 0.7vw, 1.75rem);
  --fs-2xl: clamp(1.85rem, 1.55rem + 1.4vw, 2.5rem);
  --fs-3xl: clamp(2.3rem, 1.8rem + 2.2vw, 3.5rem);
  --fs-hero: clamp(2.6rem, 2rem + 3vw, 4.5rem);

  --max-w: 1200px; --gutter: clamp(1rem, 2vw, 1.75rem);
  --radius: 14px; --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,42,78,.06), 0 2px 6px rgba(15,42,78,.04);
  --shadow-md: 0 4px 12px rgba(15,42,78,.08), 0 12px 28px rgba(15,42,78,.06);
  --shadow-lg: 0 12px 32px rgba(15,42,78,.12), 0 30px 60px rgba(15,42,78,.08);
  --ease: cubic-bezier(.2,.7,.2,1); --dur: 220ms;

  /* Accent-bar height standard for card/spotlight media placeholders:
     30px for sections with no overlaid badge/button, 65px for sections
     where a pill-shaped badge (e.g. .spotlight__kicker) sits on top of it. */
  --accent-h-sm: 30px; --accent-h-lg: 65px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: var(--fs-base);
  line-height: 1.6; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--coral-700); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover, a:focus-visible { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy-900); margin: 0 0 .5em; }
h1 { font-family: var(--font-display); letter-spacing: -.01em; }
h2, h3, h4 { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: var(--fs-3xl); } h2 { font-size: var(--fs-2xl); } h3 { font-size: var(--fs-xl); }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy-700); color: var(--white); padding: .75rem 1rem; border-radius: 0 0 var(--radius) 0; z-index: 100; }
.skip:focus { left: 0; }

.container { width: min(var(--max-w), 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* Utility bar */
.utility-bar { background: var(--navy-900); color: rgba(255,255,255,.9); font-size: var(--fs-xs); padding: .5rem 0; }
.utility-bar .container { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center; }
.utility-bar a { color: var(--gold); }
.utility-bar a:hover { color: var(--white); }
.utility-bar__login {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.08);
  padding: .25rem .7rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white); font-weight: 600;
}
.utility-bar__login::before { content: "🔒"; font-size: .8em; opacity: .8; }
.utility-bar__login:hover { background: rgba(255,255,255,.16); color: var(--white); }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .85);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(15, 42, 78, .08); }
/* MOBILE FIX: backdrop-filter on the header creates a containing block for
   any position:fixed descendants — that's why the mobile menu was being
   constrained to the header's height (~85px) instead of filling the
   viewport. Disable it on mobile and use a solid background instead. */
@media (max-width: 1099px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 85px; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand img { height: 69px; width: auto; max-width: none; }

/* Email obfuscation — bot-resistant address text */
.bot-trap { display: none; }

.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: 1px solid rgba(15, 42, 78, .15);
  border-radius: 10px; cursor: pointer; color: var(--navy-700); }
.nav-toggle:hover { background: var(--mist); }
.nav-toggle svg { width: 22px; height: 22px; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a { display: block; padding: .85rem 1rem; color: var(--navy-900); font-weight: 600; border-radius: 10px; }
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--mist); color: var(--navy-700); }
.primary-nav a.is-active { color: var(--coral-700); }
.primary-nav .cta { background: var(--coral); color: var(--white); margin-top: .5rem; text-align: center; }
.primary-nav .cta:hover { background: var(--coral-700); color: var(--white); }
.primary-nav .cta--ghost {
  background: rgba(232, 93, 58, .08); color: var(--coral-700);
  border: 1.5px solid var(--coral); margin-top: .5rem;
}
.primary-nav .cta--ghost:hover { background: var(--coral); color: var(--white); border-color: var(--coral); }
.primary-nav .login-btn {
  background: var(--white); border: 1px solid rgba(15,42,78,.2); margin-top: .25rem; text-align: center;
}
.primary-nav .login-btn:hover { background: var(--mist); border-color: var(--navy-700); }

[data-nav-open="true"] .primary-nav {
  display: block;
  position: fixed;
  inset: 0;                       /* fill the entire visible viewport — most reliable on iOS Chrome */
  padding: 85px 0 2rem 0;          /* reserve space at top for the sticky header */
  background: var(--paper);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: 49;                    /* under the sticky header (z-index 50) so the hamburger close button stays tappable */
  border: 0;
  box-shadow: none;
}
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; margin-left: auto; }
  .primary-nav > ul { flex-direction: row; align-items: center; gap: .15rem; }
  .primary-nav a { padding: .55rem .65rem; font-size: var(--fs-sm); white-space: nowrap; }
  .primary-nav .cta { margin-top: 0; margin-left: .5rem; padding: .6rem 1rem; border-radius: 999px; }
  .primary-nav .login-btn { display: none; } /* desktop uses utility bar instead */
  [data-nav-open="true"] .primary-nav { position: static; box-shadow: none; padding: 0; background: transparent; border: 0; overflow: visible; }
}

/* ============================================================
   DROPDOWN MENUS (iteration 05)
   Desktop: hover or focus opens; submenu absolute positioned.
   Mobile:  click chevron to expand; submenu accordion-style.
   Keyboard: focus-within keeps submenu open; ESC closes.
   ============================================================ */
.has-dropdown { position: relative; }

.dropdown-toggle {
  background: transparent; border: 0; cursor: pointer;
  padding: .35rem; color: var(--slate);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
}
.dropdown-toggle:hover { background: var(--mist); color: var(--navy-700); }
.dropdown-toggle svg {
  width: 12px; height: 12px;
  transition: transform var(--dur) var(--ease);
}
.has-dropdown[data-open="true"] > .dropdown-toggle svg { transform: rotate(180deg); }

.submenu {
  list-style: none; padding: 0; margin: 0;
  display: none;
}
.submenu li { margin: 0; }
.submenu a {
  display: block;
  font-weight: 500;
  color: var(--ink);
}
.submenu a[target="_blank"]::after { content: " ↗"; opacity: .55; font-size: .85em; }

/* MOBILE: tap a top-level row to expand its submenu */
@media (max-width: 1099px) {
  /* Lift the brand logo + hamburger close button ABOVE the fixed menu panel.
     The menu is a child of <header>, so its z-index lives inside the header's
     stacking context — these siblings need z-index too to stay visible. */
  .site-header .brand,
  .nav-toggle {
    position: relative;
    z-index: 60;
  }

  /* DEFENSIVE: force-hide every submenu on mobile by default. The base
     .submenu rule already does display:none, but the desktop @media block
     defines .has-dropdown:hover > .submenu { display: block } — and on iOS
     touch interactions can leave a sticky :hover state that bleeds through
     even at mobile viewport widths. !important here guarantees submenus
     start hidden no matter what desktop rules do. */
  .primary-nav .has-dropdown > .submenu,
  .primary-nav .has-dropdown > .submenu--mega,
  .primary-nav .has-dropdown:hover > .submenu,
  .primary-nav .has-dropdown:hover > .submenu--mega,
  .primary-nav .has-dropdown:focus-within > .submenu,
  .primary-nav .has-dropdown:focus-within > .submenu--mega { display: none !important; }

  /* Plain block layout for the mobile menu — no flex, no positioning tricks. */
  .primary-nav > ul { gap: 0; padding: 1.75rem 0 .5rem 0; }   /* 1.75rem top breathing room below the header */
  .primary-nav > ul > li { display: block; }
  .primary-nav > ul > li:not(.has-dropdown) { padding: .25rem var(--gutter); }
  .primary-nav > ul > li:not(.has-dropdown) .cta,
  .primary-nav > ul > li:not(.has-dropdown) .login-btn { margin: .35rem 0 0 0; }

  /* Top-level dropdown <li>: plain block, no flex */
  .has-dropdown {
    display: block;
    position: relative;
  }

  /* The chevron toggle button is HIDDEN on mobile — the whole row is the
     tap target instead, and we draw a chevron indicator on the link itself
     via ::after below. */
  .has-dropdown > .dropdown-toggle { display: none !important; }

  /* Top-level link: full-width row, bold, with a chevron indicator on the right */
  .has-dropdown > a {
    display: block;
    padding: 1.15rem 3rem 1.15rem var(--gutter);   /* right padding leaves room for the chevron */
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--navy-900);
    border-radius: 0;
    position: relative;
  }
  .has-dropdown > a::after {
    content: "";
    position: absolute;
    right: calc(var(--gutter) + .25rem);
    top: 50%;
    width: 10px; height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-75%) rotate(45deg);
    transition: transform var(--dur) var(--ease);
  }
  .has-dropdown[data-open="true"] > a::after {
    transform: translateY(-25%) rotate(225deg);
  }

  /* Override the .is-active coral on mobile — keeps all main menu items in
     uniform navy so no section "pops" just because you're inside it. The
     active-section indicator still applies on desktop where it reads as a
     helpful "you are here" cue rather than an inconsistency. */
  .primary-nav .has-dropdown > a.is-active { color: var(--navy-900); }

  /* Open state: bold coral on the top-level row (when you tap to expand it) */
  .has-dropdown[data-open="true"] > a,
  .primary-nav .has-dropdown[data-open="true"] > a.is-active { color: var(--coral-700); }

  /* Submenu open state — !important to win over the defensive hide above */
  .primary-nav .has-dropdown[data-open="true"] > .submenu,
  .primary-nav .has-dropdown[data-open="true"]:hover > .submenu,
  .primary-nav .has-dropdown[data-open="true"]:focus-within > .submenu {
    display: block !important;
    margin: 0 var(--gutter) .5rem;
    padding: .35rem 0;
    border: 0;
    border-radius: 8px;
    background: var(--mist);
  }
  .submenu a {
    display: block;
    padding: .75rem 1.25rem;
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--ink);
    border-radius: 0;
  }
  .submenu a:hover { background: rgba(15, 42, 78, .07); color: var(--navy-700); }
}

/* DESKTOP: hover / focus reveals dropdown panel */
@media (min-width: 1100px) {
  .has-dropdown {
    display: inline-flex; align-items: center; position: relative;
  }
  /* Hide the chevron toggle button on desktop — it was added to the HTML
     to support mobile tap-to-expand, but desktop opens dropdowns on hover,
     so the chevron is visual noise here. Restores the cleaner pre-mobile-fix
     look. */
  .has-dropdown > a { padding-right: .65rem; }
  .has-dropdown > .dropdown-toggle {
    display: none;
  }
  .submenu {
    position: absolute; top: calc(100% + .25rem); left: 0;
    min-width: 260px;
    background: var(--paper);
    border: 1px solid rgba(15, 42, 78, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: .4rem;
    z-index: 100;
    /* Animation: subtle fade + slide in */
    opacity: 0; transform: translateY(-4px);
    transition: opacity 160ms var(--ease), transform 160ms var(--ease);
    pointer-events: none;
  }
  /* Bridge between trigger and panel so hover doesn't drop while crossing */
  .submenu::before {
    content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
  }
  .submenu a {
    padding: .6rem .85rem;
    border-radius: 8px;
    font-size: var(--fs-sm);
    white-space: nowrap;
  }
  .submenu a:hover { background: var(--mist); color: var(--navy-700); }

  /* Reveal triggers */
  .has-dropdown:hover > .submenu,
  .has-dropdown:focus-within > .submenu,
  .has-dropdown[data-open="true"] > .submenu {
    display: block;
    opacity: 1; transform: translateY(0);
    pointer-events: auto;
  }

  /* Right-edge dropdowns flip to align right.
     With 7 top-level items + 3 CTAs (Login, Donate, Join), the last 5
     children include Get Involved + Foundation — both mega-menus. */
  .primary-nav li:nth-last-child(-n+5) .submenu {
    left: auto; right: 0;
  }
}

/* ============================================================
   MEGA MENU (iteration 06)
   Used for "Get Involved" (3 groups) and "Foundation" (4 groups).
   Group headings split many sub-items into scannable columns.
   ============================================================ */
.submenu--mega .submenu__group ul { list-style: none; padding: 0; margin: 0; }
.submenu--mega .submenu__group li { margin: 0; }
.submenu__heading {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-700);
  padding: .5rem .85rem .35rem;
}

@media (min-width: 1100px) {
  .submenu--mega {
    /* Override default <ul>/<li> -based submenu: this is a <div> with grouped sections */
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .25rem 1rem;
    width: max-content;
    max-width: min(820px, 90vw);
    padding: 1rem 1.25rem;
  }
  .has-dropdown:hover > .submenu--mega,
  .has-dropdown:focus-within > .submenu--mega,
  .has-dropdown[data-open="true"] > .submenu--mega {
    display: grid;
    opacity: 1; transform: translateY(0);
    pointer-events: auto;
  }
  .submenu--mega .submenu__group {
    min-width: 0;
  }
  .submenu--mega a {
    padding: .45rem .85rem;
    border-radius: 8px;
    font-size: var(--fs-sm);
    white-space: nowrap;
    display: block;
  }
  .submenu--mega a:hover { background: var(--mist); color: var(--navy-700); }
}

@media (max-width: 1099px) {
  /* Mega-menu accordion: same plain-block treatment as regular submenu.
     The defensive force-hide of .submenu / .submenu--mega lives in the
     primary mobile block above. */
  .primary-nav .has-dropdown[data-open="true"] > .submenu--mega,
  .primary-nav .has-dropdown[data-open="true"]:hover > .submenu--mega,
  .primary-nav .has-dropdown[data-open="true"]:focus-within > .submenu--mega {
    display: block !important;
    margin: 0 var(--gutter) .5rem;
    padding: .35rem 0;
    border: 0;
    border-radius: 8px;
    background: var(--mist);
  }
  .submenu--mega .submenu__group ul { margin: 0; padding: 0; list-style: none; }
  .submenu--mega .submenu__group li { margin: 0; }
  .submenu--mega .submenu__group + .submenu__group {
    margin-top: .35rem;
    padding-top: .35rem;
    border-top: 1px solid rgba(15, 42, 78, .08);
  }
  .submenu--mega .submenu__heading {
    display: block;
    padding: .65rem 1.25rem .15rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--coral-700);
    margin: 0;
  }
  .submenu--mega a {
    display: block;
    padding: .65rem 1.25rem;
    font-size: var(--fs-base);
    font-weight: 500;
    border-radius: 0;
    color: var(--ink);
  }
  .submenu--mega a:hover { background: rgba(15, 42, 78, .07); color: var(--navy-700); }
  .submenu--mega a[target="_blank"]::after { content: " ↗"; opacity: .55; font-size: .85em; }
}

/* External-link glyph also applies inside mega menus on desktop */
.submenu--mega a[target="_blank"]::after { content: " ↗"; opacity: .55; font-size: .85em; }

/* ============================================================
   BIO CARDS — board, committee, staff
   No hover lift (signals not-clickable). Photo + name + role + org.
   ============================================================ */
.cards--bio { gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cards--bio .card {
  padding: 0;
  overflow: hidden;
  transition: none;
}
.cards--bio .card:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}
.bio-card__photo {
  aspect-ratio: 1 / 1;
  background: var(--mist);
  overflow: hidden;
}
.bio-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bio-card__body { padding: 1.1rem 1.25rem 1.35rem; }
.bio-card__body h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  margin: 0 0 .15em;
  line-height: 1.3;
  letter-spacing: 0;
}
.bio-card__role {
  font-weight: 600;
  color: var(--coral-700);
  margin: 0 0 .35em;
  font-size: var(--fs-sm);
}
.bio-card__org {
  color: var(--slate);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.4;
}

.bio-section { margin-block-end: 3rem; }
.bio-section:last-child { margin-block-end: 0; }
.bio-section__heading {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--navy-900);
  margin: 0 0 1.5rem;
}
.bio-section__count {
  display: inline-flex;
  align-items: center;
  background: var(--mist);
  color: var(--slate);
  border-radius: 999px;
  padding: .15rem .7rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .04em;
}

/* Anchor-as-card — used on the Institutional Members page.
   Preserves the existing .card hover lift; adds a corner ↗ for external links
   and overrides the default link color so the heading stays navy. */
a.card {
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
a.card:hover, a.card:focus-visible { color: var(--ink); }
a.card[target="_blank"]::after {
  content: "↗";
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: var(--coral-700);
  font-weight: 700;
  font-size: 1.1rem;
  opacity: .55;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  line-height: 1;
}
a.card[target="_blank"]:hover::after,
a.card[target="_blank"]:focus-visible::after {
  opacity: 1;
  transform: translate(2px, -2px);
}
a.card[target="_blank"] h3 { padding-right: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  .submenu, .dropdown-toggle svg { transition: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; font-family: inherit;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.btn--primary { background: var(--coral); color: var(--white); }
/* Buttons inside a membership tier card span the full card width with centered
   text, so each tier's CTA reads as a proper action at the bottom of the card
   instead of a small pill hugged to the left. */
.tier .btn { display: flex; width: 100%; justify-content: center; text-align: center; }
.btn--primary:hover { background: var(--coral-700); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: var(--white); color: var(--navy-700); border-color: rgba(15, 42, 78, .2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: var(--mist); color: var(--navy-900); border-color: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Hero — still + spotlight */
.hero { position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3rem, 5vw, 6rem) 0 clamp(3rem, 6vw, 6rem);
  background: radial-gradient(900px 500px at 90% -10%, rgba(232,93,58,.14), transparent 60%),
              radial-gradient(700px 400px at -5% 110%, rgba(212,164,55,.12), transparent 60%),
              linear-gradient(180deg, var(--paper) 0%, #f1ece3 100%); }
.hero__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.25fr 1fr; } }
.hero__copy .eyebrow { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--coral-700); background: rgba(232, 93, 58, .1);
  padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 { font-size: var(--fs-hero); margin-bottom: .35em; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--coral-700); font-weight: 500; }
.hero__lede { font-size: var(--fs-lg); color: var(--slate); max-width: 56ch; margin-bottom: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Spotlight card */
.spotlight { background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 42, 78, .06);
  display: flex; flex-direction: column; }
.spotlight__media { height: var(--accent-h-lg); position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(15,42,78,.55), rgba(15,42,78,.15)),
              linear-gradient(135deg, var(--navy-700), var(--navy-500)); background-size: cover, cover; background-position: center; }
.spotlight__media::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 80% 20%, rgba(232,93,58,.35), transparent 60%),
              radial-gradient(300px 180px at 20% 80%, rgba(212,164,55,.25), transparent 60%); pointer-events: none; }
.spotlight__kicker { position: absolute; top: 1rem; left: 1rem; z-index: 1;
  background: rgba(255,255,255,.92); color: var(--navy-700);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: 999px; backdrop-filter: blur(6px); }
.spotlight__body { padding: 1.5rem 1.5rem 1.75rem; }
.spotlight__date { font-size: var(--fs-xs); color: var(--slate); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; display: block; }
.spotlight h2 { font-size: var(--fs-xl); margin-bottom: .5em; }
.spotlight p { color: var(--slate); margin-bottom: 1.25rem; }
.spotlight__link { font-weight: 600; color: var(--navy-700); display: inline-flex; align-items: center; gap: .35rem; }
.spotlight__link::after { content: "→"; transition: transform var(--dur) var(--ease); }
.spotlight__link:hover::after { transform: translateX(4px); }
/* Flyer variant: badge strip, square flyer image, then text — capped at 400px wide. */
.spotlight--image { width: min(400px, 100%); justify-self: center; }
@media (min-width: 960px) { .spotlight--image { justify-self: end; } }

/* Page hero (lighter than home hero, used on inner pages) */
.page-hero { padding: clamp(1.75rem, 3vw, 3rem) 0 clamp(1.25rem, 2vw, 2rem);
  background: linear-gradient(180deg, var(--paper) 0%, #f3eee5 100%); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { max-width: 60ch; }

/* Breadcrumbs */
.crumbs { font-size: var(--fs-xs); color: var(--slate); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--navy-700); }
.crumbs span { margin: 0 .5rem; opacity: .5; }

/* Sections */
section { padding-block: clamp(2rem, 4vw, 4rem); }
section h2 { margin-bottom: 1rem; }
/* Background variant — alternate with the default paper background so
   consecutive sections never share the same bg. --cream is pulled from
   the homepage hero gradient's end stop, so it reads as an extension of
   the same visual language rather than an unrelated gray. Never stack
   two .section--tint sections back to back, or place one directly
   against .stripe (dark) — both already read as distinct from paper. */
.section--tint { background: var(--cream); }
.section-lede { color: var(--slate); font-size: var(--fs-lg); max-width: 60ch; margin-bottom: 2.5rem; }
.section-tag { display: inline-flex; align-items: center; gap: .65rem; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--coral-700); margin-bottom: .85rem; }
.section-tag::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--coral); }

/* Card grid */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(15, 42, 78, .06);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card--static { cursor: default; }
.card--static:hover { transform: none; box-shadow: var(--shadow-sm); }
.card__icon { width: 44px; height: 44px; border-radius: 12px;
  background: rgba(232, 93, 58, .12); color: var(--coral-700);
  display: grid; place-items: center; margin-bottom: 1rem; }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: var(--fs-lg); margin-bottom: .35em; }
.card p { color: var(--slate); margin-bottom: 1rem; }
.card__link { margin-top: auto; font-weight: 600; color: var(--navy-700); display: inline-flex; align-items: center; gap: .35rem; }
.card__link::after { content: "→"; transition: transform var(--dur) var(--ease); }
.card__link:hover::after { transform: translateX(4px); }
/* When a card has more than one link, make each full-width so the trailing
   arrows line up on the right edge instead of ragged after variable-length text. */
.card:has(.card__link + .card__link) .card__link { display: flex; }
.card:has(.card__link + .card__link) .card__link::after { margin-left: auto; }

/* Hub-list — for hub pages that just enumerate sub-pages */
.hub-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.hub-list li a {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; border: 1px solid rgba(15,42,78,.06); box-shadow: var(--shadow-sm);
  color: var(--ink); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hub-list li a:hover { transform: translateX(4px); border-color: var(--coral); box-shadow: var(--shadow-md); color: var(--ink); }
.hub-list h3 { margin: 0 0 .15em; font-size: var(--fs-lg); color: var(--navy-900); }
.hub-list p { margin: 0; color: var(--slate); font-size: var(--fs-sm); }
.hub-list__arrow { margin-left: auto; align-self: center; color: var(--coral-700); font-weight: 700; font-size: 1.2rem; }
.hub-list a[href^="http"] .hub-list__arrow::after { content: " ↗"; }
/* Member benefit tag — marks any link or card that leads to a members-only (login-required) page.
   Markup: <span class="tag--member">Member benefit</span>. Place it directly above a card's title
   (below the kicker, if any), or inline after a short description. The lock icon is drawn here. */
.tag--member { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start;
  font-size: .75rem; font-weight: 700; line-height: 1.2; letter-spacing: .02em; white-space: nowrap; vertical-align: middle;
  color: var(--navy-700); background: rgba(15,42,78,.09); border: 1px solid rgba(15,42,78,.12);
  padding: .2rem .6rem; border-radius: 999px; }
.tag--member::before { content: ""; width: .85em; height: .85em; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M6 10V8a6 6 0 1 1 12 0v2h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1zm2 0h8V8a4 4 0 1 0-8 0v2z'/%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 fill-rule='evenodd' d='M6 10V8a6 6 0 1 1 12 0v2h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1zm2 0h8V8a4 4 0 1 0-8 0v2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.card > .tag--member { margin-bottom: .75rem; }

/* News strip */
.news { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.news article { background: var(--white); border-radius: var(--radius); border: 1px solid rgba(15,42,78,.06);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.news article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news__media { height: var(--accent-h-sm); background: linear-gradient(135deg, var(--navy-700), var(--navy-500)); }
.news__media--1 { background: linear-gradient(135deg, #c44a2c, #e85d3a); }
.news__media--2 { background: linear-gradient(135deg, #0f2a4e, #1d3d6b); }
.news__media--3 { background: linear-gradient(135deg, #d4a437, #b8861f); }
.news__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news__kicker { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.news h3 { font-size: var(--fs-lg); margin: 0; }
.news p { color: var(--slate); margin: 0; }
.news a { margin-top: auto; font-weight: 600; color: var(--navy-700); }
.news a::after { content: " →"; }

/* Stripe */
.stripe { background: linear-gradient(120deg, var(--navy-900), var(--navy-500)); color: var(--white); }
.stripe h2 { color: var(--white); }
.stripe .section-lede { color: rgba(255,255,255,.78); }
.stripe .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #fff; }
.stripe .card h3 { color: #fff; }
.stripe .card p { color: rgba(255,255,255,.78); }
.stat-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 2rem; }
.stat { background: rgba(255,255,255,.06); padding: 1.25rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); }
.stat__num { font-family: var(--font-display); font-size: var(--fs-3xl); color: var(--coral); line-height: 1; }
.stat__label { font-size: var(--fs-sm); color: rgba(255,255,255,.78); margin-top: .35rem; }

/* CTA band */
.cta-band { background: var(--coral); color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem); display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1.5fr 1fr; } }
.cta-band h2 { color: var(--white); margin-bottom: .25em; }
.cta-band p { color: rgba(255,255,255,.92); margin-bottom: 0; }
.cta-band .btn--primary { background: var(--white); color: var(--coral-700); }
.cta-band .btn--primary:hover { background: var(--paper); color: var(--coral-700); }

/* Split */
.split { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; } }

/* Tier */
.tier { background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid rgba(15, 42, 78, .08); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tier h3 { margin: 0 0 .35em; }
.tier__price { font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--navy-700); margin: .25em 0 1em; line-height: 1; }
.tier__price span { font-size: var(--fs-sm); color: var(--slate); margin-left: .35rem; font-weight: 500; font-family: var(--font-sans); }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tier li { padding: .5rem 0; border-bottom: 1px solid rgba(15, 42, 78, .06); display: flex; gap: .65rem; align-items: flex-start; }
.tier li::before { content: "✓"; color: var(--coral-700); font-weight: 800; flex-shrink: 0; }
.tier--feature { background: linear-gradient(155deg, var(--navy-900), var(--navy-500)); color: var(--white); border-color: transparent; }
.tier--feature h3, .tier--feature .tier__price { color: var(--white); }
.tier--feature .tier__price span { color: rgba(255,255,255,.7); }
.tier--feature li { border-bottom-color: rgba(255,255,255,.12); }
.tier--feature li::before { color: var(--gold); }
.tier__eligibility { font-size: var(--fs-sm); color: var(--slate); margin: 0 0 1.25rem;
  padding: .85rem 1rem; background: var(--mist); border-radius: 8px; }
.tier--feature .tier__eligibility { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }

/* Contact form */
.contact-form { display: grid; gap: 1.15rem; max-width: 640px; }
.form-row { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row--split { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-900); }
.form-field input, .form-field textarea {
  font: inherit; font-size: var(--fs-base); color: var(--ink); background: var(--white);
  border: 1px solid rgba(15, 42, 78, .18); border-radius: var(--radius); padding: .75rem .9rem;
  transition: border-color var(--dur) var(--ease);
}
.form-field input:hover, .form-field textarea:hover { border-color: rgba(15, 42, 78, .3); }
.form-field input:focus-visible, .form-field textarea:focus-visible { border-color: var(--navy-500); }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: var(--fs-sm); color: var(--slate); margin: 0; }
.contact-form .btn { justify-self: start; }
.contact-form .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78);
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; margin-top: 5rem; }
.site-footer h4 { color: var(--white); font-family: var(--font-sans); font-size: var(--fs-sm);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.colophon { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: var(--fs-sm); }

/* Util */
.lead { font-size: var(--fs-lg); color: var(--slate); }
.text-center { text-align: center; }
.muted { color: var(--slate); }
.no-js .nav-toggle { display: none; }
