/* =========================================================
   APSI ? Global Stylesheet
   Design system: enhance Payments (placeholder branding)
   Architecture order: variables, reset, typography, utilities,
   layout, components, sections, animations, responsive.
   Desktop-first (media queries scale down with max-width).
   ========================================================= */

/* ===== 1. VARIABLES ===== */
:root {
  /* Color system (from design system image) */
  --color-base: #edf7ff;
  --color-surface: #ffffff;
  --color-content: #0f0f0f;
  --color-accent: #0049db;
  --color-accent-hover: #003bb0;
  --color-secondary: #f5a623;        /* gold ? secondary accent */
  --color-secondary-deep: #a56a00;   /* readable gold for text on light bg */
  --color-secondary-soft: rgba(245, 166, 35, 0.14);
  --color-muted: #5a6270;
  --color-border: #dce7f5;
  --color-content-soft: #2a2f38;
  --color-surface-alt: #f5faff;

  /* Typography */
  --font-display: "Satoshi", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
  --fs-h3: clamp(1.3rem, 1.05rem + 1vw, 1.75rem);
  --fs-h4: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.65;

  /* Spacing scale */
  --space-2xs: 8px;
  --space-xs: 16px;
  --space-sm: 24px;
  --space-md: 32px;
  --space-lg: 48px;
  --space-xl: 64px;
  --space-2xl: 96px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.05), 0 2px 8px rgba(15, 15, 15, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 73, 219, 0.14);
  --transition-fast: 150ms ease;
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 820px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 88px;
  --z-header: 100;
  --z-drawer: 200;
  --z-top: 300;
}

/* ===== 2. RESET ===== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-content);
  background-color: var(--color-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

ul,
ol { list-style: none; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== 3. TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--color-content);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }

p { max-width: 68ch; }

.lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.375rem);
  color: var(--color-content-soft);
  line-height: 1.55;
}

a.inline-link {
  color: var(--color-accent);
  font-weight: 600;
  transition: color var(--transition-fast);
}
a.inline-link:hover { color: var(--color-accent-hover); text-decoration: underline; }

/* ===== 4. UTILITIES ===== */
.max-width { max-width: var(--max-width); }
.narrow { max-width: var(--max-width-narrow); }
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mx-auto { margin-inline: auto; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: var(--space-xs); top: -60px;
  z-index: var(--z-top);
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: top var(--transition-base);
}
.skip-link:focus { top: var(--space-xs); }

/* ===== 5. LAYOUT ===== */
.section {
  padding-block: var(--space-2xl);
}
.section.section-tight { padding-block: var(--space-xl); }

/* Background context utilities ? usable on a section or an inner block */
.dark-background {
  background: var(--color-content);
  color: var(--color-surface);
}
.dark-background h1,
.dark-background h2,
.dark-background h3 { color: var(--color-surface); }
.accent-background {
  background: var(--color-accent);
  color: #fff;
}
.accent-background h1,
.accent-background h2 { color: #fff; }
.surface-background { background: var(--color-surface); }

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

.wrapper { width: 100%; }

.grid { display: grid; gap: var(--space-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-xl);
  align-items: center;
}

.cluster { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; }
.stack-sm > * + * { margin-top: var(--space-sm); }

/* ===== 6. COMPONENTS ===== */

/* Eyebrow / section heading block */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}
.section-head { max-width: 720px; margin-bottom: var(--space-lg); }
.section-head .badge { margin-bottom: var(--space-sm); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head p { color: var(--color-muted); margin-top: var(--space-xs); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), background var(--transition-fast),
    color var(--transition-fast), border-color var(--transition-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-outline { border-color: var(--color-border); color: var(--color-content); background: var(--color-surface); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-ghost { color: var(--color-accent); }
.btn-ghost:hover { background: rgba(0, 73, 219, 0.08); }
.btn-light { background: #fff; color: var(--color-accent); }
.btn-light:hover { background: var(--color-surface-alt); }
.btn-block { width: 100%; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(0, 73, 219, 0.1);
  color: var(--color-accent);
}
.badge svg { width: 1em; height: 1em; flex-shrink: 0; }
.badge-soft { background: var(--color-surface-alt); color: var(--color-muted); }

/* Section eyebrows ? gradient chip: blue?gold background */
.about-badge, .statement-eyebrow, .updates-eyebrow,
.reach-stack .section-head .badge, .cta-badge {
  /* extra left padding offsets the trailing letter-space after the last char */
  padding: 7px 16px 7px calc(16px + 0.12em);
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(100deg, var(--color-accent), var(--color-secondary));
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #fff;
}

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
    border-color var(--transition-base);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-title { font-size: var(--fs-h4); margin-bottom: var(--space-2xs); }
.card-text { color: var(--color-muted); font-size: var(--fs-sm); }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: rgba(0, 73, 219, 0.1);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.card-icon svg { width: 26px; height: 26px; }

/* Stat */
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.25rem);
  line-height: 1;
  color: var(--color-accent);
}
.stat-label { color: var(--color-muted); font-size: var(--fs-sm); margin-top: 8px; }
.dark-background .stat-value { color: #fff; }
.dark-background .stat-label { color: rgba(255, 255, 255, 0.7); }

/* Person / office bearer card (legacy + directory) */
.person-card { text-align: center; }
.person-avatar {
  width: 96px; height: 96px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), #2f76ff);
  overflow: hidden;
}
.person-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.person-name { font-size: 1.0625rem; font-weight: 600; }
.person-role { color: var(--color-muted); font-size: var(--fs-sm); margin-top: 2px; }

/* ===== Elite team sections (office bearers) ===== */
.section.team-section { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.team-section--soft { background: var(--color-surface-alt); }
.team-intro {
  max-width: 40rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.team-intro .badge { margin-bottom: var(--space-sm); }
.team-intro h2 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  letter-spacing: -0.03em;
}
.team-intro p {
  margin: 0;
  color: var(--color-content-soft);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 200px));
  justify-content: center;
  gap: clamp(1.1rem, 2vw, 1.65rem) clamp(0.75rem, 1.5vw, 1.25rem);
  align-items: stretch;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  margin: 0;
  padding: 0.6rem 0.6rem 0.9rem;
  background: var(--color-surface);
  border: 1px solid rgba(0, 40, 100, 0.07);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(8, 30, 80, 0.04);
  text-align: left;
  cursor: default;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    border-color 280ms ease;
}
.team-section--soft .team-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(8, 30, 80, 0.05);
}
.team-card:hover,
.team-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(0, 73, 219, 0.22);
  box-shadow:
    0 16px 32px rgba(0, 45, 120, 0.12),
    0 0 0 1px rgba(0, 73, 219, 0.06);
}

/* Portrait frame matches source headshots (~4:5) to avoid face clipping */
.team-photo {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.7) 0%, transparent 48%),
    linear-gradient(165deg, #eaf2ff 0%, #d9e8ff 48%, #c9dcf5 100%);
  isolation: isolate;
  transition: box-shadow 320ms ease;
}
.team-rings {
  position: absolute;
  inset: -22%;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(
      circle at 50% 42%,
      transparent 0,
      transparent 12px,
      rgba(255, 255, 255, 0.5) 12px,
      rgba(255, 255, 255, 0.5) 13px
    );
  opacity: 0.45;
  transform: scale(0.94);
  transition: opacity 400ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 24, 70, 0.14) 100%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.team-photo img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
.team-card:hover .team-photo img,
.team-card:focus-within .team-photo img {
  transform: scale(1.03);
}
.team-card:hover .team-rings,
.team-card:focus-within .team-rings {
  opacity: 0.72;
  transform: scale(1.05);
}
.team-card:hover .team-photo::after,
.team-card:focus-within .team-photo::after {
  opacity: 1;
}
.team-card:hover .team-photo,
.team-card:focus-within .team-photo {
  box-shadow: inset 0 0 0 1px rgba(0, 73, 219, 0.12);
}

.team-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  padding: 0 0.1rem;
  min-height: calc(1.3em * 2 + 4px + 1.3em);
}
.team-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  color: var(--color-content);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  transition: color 220ms ease;
}
.team-role {
  margin: 0;
  margin-top: auto;
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-muted);
  transition: color 220ms ease;
}
.team-card:hover .team-name,
.team-card:focus-within .team-name {
  color: var(--color-accent);
}
.team-card:hover .team-role,
.team-card:focus-within .team-role {
  color: var(--color-secondary-deep);
}

@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 190px)); }
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 180px)); }
}
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 22rem);
    margin-inline: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-photo img,
  .team-rings,
  .team-photo::after,
  .team-name,
  .team-role {
    transition: none !important;
  }
  .team-card:hover,
  .team-card:focus-within { transform: none; }
  .team-card:hover .team-photo img,
  .team-card:focus-within .team-photo img { transform: none; }
  .team-card:hover .team-rings,
  .team-card:focus-within .team-rings {
    opacity: 0.45;
    transform: scale(0.94);
  }
  .team-card:hover .team-photo::after,
  .team-card:focus-within .team-photo::after { opacity: 0; }
}

/* Header / navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(0, 18, 52, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; }
.brand-logo {
  height: 48px; width: auto; display: block;
  object-fit: contain; object-position: center;
}
/* fits the bar by default; grows over the home hero, shrinks on scroll */
.site-header .brand-logo { height: 80px; transition: height var(--transition-base); }
body.has-hero-full .site-header:not(.is-scrolled) .brand-logo { height: 104px; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--color-accent);
  display: grid; place-items: center;
  color: #fff; font-size: 1.05rem; letter-spacing: -0.03em;
}
.brand-text { font-size: 1.15rem; letter-spacing: -0.02em; color: #fff; }
.brand-text span { color: #6ea8ff; }
/* stacked full-name wordmark (like the reference logo) */
.brand-text-full {
  font-size: 0.98rem;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-link {
  padding: 9px 14px;
  font-family: var(--font-display);
  font-size: calc(var(--fs-sm) + 1px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-link:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-link[aria-current="page"] { color: #fff; font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: var(--space-2xs); }
/* brand-gold pill on the dark header */
.site-header .nav-actions .btn-primary { background: var(--color-secondary); color: #001234; border-color: var(--color-secondary); }
.site-header .nav-actions .btn-primary:hover { background: #e2920e; border-color: #e2920e; }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.nav-dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: var(--fs-sm);
  color: var(--color-content-soft);
  border-radius: var(--radius-sm);
}
.nav-dropdown a:hover { background: var(--color-surface-alt); color: var(--color-accent); }
.nav-item.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  border-radius: var(--radius-sm);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: #fff;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translate(3.5px, -3.5px); }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span[aria-hidden] { opacity: 0.5; }

/* Forms */
.form { display: grid; gap: var(--space-sm); min-width: 0; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  min-width: 0;
}
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field .req { color: var(--color-accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 13px 16px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.field select {
  /* Native selects often force overflow via UA min-width */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6270' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 73, 219, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-hint { font-size: var(--fs-xs); color: var(--color-muted); }
.field-error { font-size: var(--fs-xs); color: #c0392b; display: none; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #c0392b; }
.field[data-invalid="true"] .field-error { display: block; }
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  display: none;
  line-height: 1.5;
}
.form-status.is-success {
  display: block;
  background: rgba(0, 73, 219, 0.08);
  color: var(--color-accent);
  border: 1px solid rgba(0, 73, 219, 0.18);
}
.form-status.is-error {
  display: block;
  background: rgba(192, 57, 43, 0.08);
  color: #a53125;
  border: 1px solid rgba(192, 57, 43, 0.2);
}
.form-status.is-pending {
  display: block;
  background: rgba(0, 40, 100, 0.05);
  color: var(--color-content-soft);
  border: 1px solid rgba(0, 40, 100, 0.08);
}
.form.is-submitting { opacity: 0.92; pointer-events: none; }
.form-recaptcha {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.form-recaptcha-label {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form-recaptcha [data-netlify-recaptcha] {
  min-height: 78px;
}
.form-recaptcha[data-invalid="true"] .field-error { display: block; }
.netlify-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Directory controls + elite member cards */
.directory-toolbar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem 0.95rem;
  background: var(--color-surface);
  border: 1px solid rgba(0, 40, 100, 0.08);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(8, 30, 80, 0.04);
}
.directory-search-wrap input[type="search"] {
  width: 100%;
  padding: 13px 16px;
  background: var(--color-surface-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  font-size: var(--fs-sm);
}
.directory-search-wrap input[type="search"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 73, 219, 0.12);
  background: #fff;
}
.directory-search-wrap input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.directory-alpha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: var(--color-surface-alt);
  border: 1px solid rgba(0, 40, 100, 0.05);
}
.directory-alpha-label {
  margin-right: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.dir-alpha {
  appearance: none;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.35rem;
  border: 1px solid rgba(0, 40, 100, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--color-content-soft);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.dir-alpha:hover:not(:disabled) {
  border-color: rgba(0, 73, 219, 0.3);
  color: var(--color-accent);
  background: #fff;
}
.dir-alpha.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.dir-alpha:disabled,
.dir-alpha.is-empty {
  opacity: 0.35;
  cursor: not-allowed;
}
.directory-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.85rem;
  padding: 0.15rem 0.15rem 0.35rem;
}
.directory-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.dir-chip {
  appearance: none;
  border: 1px solid rgba(0, 40, 100, 0.12);
  background: #fff;
  color: var(--color-content-soft);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.dir-chip:hover {
  border-color: rgba(0, 73, 219, 0.28);
  color: var(--color-accent);
}
.dir-chip.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.dir-chip-count {
  display: inline-block;
  margin-left: 0.3rem;
  opacity: 0.75;
  font-weight: 500;
}
.dir-chip.is-active .dir-chip-count { opacity: 0.9; }
.directory-select {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}
.directory-select-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.directory-select select {
  min-width: 11rem;
  max-width: 16rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 40, 100, 0.14);
  background: #fff;
  font-size: 0.85rem;
  color: var(--color-content);
}
.directory-toolbar-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-top: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 40, 100, 0.08);
}
.directory-reset {
  padding: 0.42rem 0.95rem;
  font-size: 0.8rem;
  white-space: nowrap;
}
.directory-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-muted);
}
.directory-empty {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--color-surface-alt);
  color: var(--color-content-soft);
  text-align: center;
}

.md-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.md-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  margin: 0;
  padding: 1.1rem 1rem 1rem;
  background: var(--color-surface);
  border: 1px solid rgba(0, 40, 100, 0.08);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(8, 30, 80, 0.04);
  text-align: left;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease,
    border-color 220ms ease;
}
.md-card:hover,
.md-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(0, 73, 219, 0.22);
  box-shadow: 0 14px 28px rgba(0, 45, 120, 0.1);
}
.md-avatar {
  width: 52px;
  height: 52px;
  margin-bottom: 0.35rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, var(--color-accent), #2f76ff);
  box-shadow: 0 8px 18px rgba(0, 73, 219, 0.22);
}
.md-type {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 73, 219, 0.08);
}
.md-type--flm {
  color: var(--color-secondary-deep);
  background: var(--color-secondary-soft);
}
.md-name {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  color: var(--color-content);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.md-card:hover .md-name { color: var(--color-accent); }
.md-id {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-muted);
  min-height: 1.2em;
}
.md-city {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-content-soft);
  min-height: 1.25em;
}
.md-contact {
  display: grid;
  gap: 0.2rem;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(0, 40, 100, 0.06);
  min-height: 2.6em;
}
.md-contact-item {
  font-size: 0.75rem;
  color: var(--color-muted);
  word-break: break-word;
  line-height: 1.35;
}
a.md-contact-item {
  color: var(--color-accent);
  text-decoration: none;
}
a.md-contact-item:hover { text-decoration: underline; }
.md-contact-item.md-muted { font-style: italic; opacity: 0.8; }

.is-hidden { display: none !important; }

@media (max-width: 1080px) {
  .md-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .md-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-select { margin-left: 0; width: 100%; min-width: 0; }
  .directory-select select { flex: 1; max-width: none; min-width: 0; width: 100%; }
}
@media (max-width: 480px) {
  .md-grid { grid-template-columns: 1fr; }
}

/* Accordion */
.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h4);
  text-align: left;
}
.accordion-trigger .icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: grid; place-items: center;
  position: relative;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.accordion-trigger .icon::before,
.accordion-trigger .icon::after {
  content: ""; position: absolute;
  background: var(--color-accent);
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.accordion-trigger .icon::before { width: 12px; height: 2px; }
.accordion-trigger .icon::after { width: 2px; height: 12px; }
.accordion-trigger[aria-expanded="true"] .icon { background: var(--color-accent); border-color: var(--color-accent); }
.accordion-trigger[aria-expanded="true"] .icon::before,
.accordion-trigger[aria-expanded="true"] .icon::after { background: #fff; }
.accordion-trigger[aria-expanded="true"] .icon::after { transform: scaleY(0); }
.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-base);
}
.accordion-panel-inner { padding-bottom: var(--space-sm); color: var(--color-muted); }

/* Resource / link list */
.link-list { display: grid; gap: var(--space-xs); }
.link-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.link-tile:hover { border-color: var(--color-accent); transform: translateX(4px); }
.link-tile .arrow { color: var(--color-accent); transition: transform var(--transition-fast); }
.link-tile:hover .arrow { transform: translateX(4px); }

/* News / timeline item */
.news-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: var(--space-sm);
  align-items: start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}
.news-item:last-child { border-bottom: none; }
.news-date {
  font-size: var(--fs-xs); font-weight: 700; color: var(--color-accent);
  text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.news-item h2,
.news-item h3 { font-size: var(--fs-h4); margin: 0 0 4px; font-family: var(--font-display); }
.news-browse {
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
}
.page-news .news-list {
  max-width: 920px;
  margin-inline: auto;
}
.news-item .news-actions { align-self: center; }
.news-list {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-sm);
}

/* Media object / directory row */
.member-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: var(--space-sm);
  align-items: center;
  padding: var(--space-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.member-row .avatar-sm {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--color-accent), #2f76ff);
  color: #fff; font-weight: 700; font-family: var(--font-display);
}

/* Gallery */
.album-block + .album-block { margin-top: var(--space-xl); }
.album-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: var(--space-sm); margin-bottom: var(--space-sm);
}
.album-head h2 { margin: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.album-head p { margin: 0; color: var(--color-muted); font-size: var(--fs-sm); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xs); }
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #cfe4ff, #eaf4ff);
  margin: 0;
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-base); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 28px 12px 10px;
  font-size: var(--fs-xs);
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 18, 52, 0.75));
}

/* Modern gallery page */
.gal-browse { padding-block: clamp(2rem, 4vw, 3.25rem); }
.gal-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: var(--space-md);
}
.gal-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-content-soft);
  font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.gal-chip span {
  display: inline-grid; place-items: center;
  min-width: 1.5rem; height: 1.5rem; padding: 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  color: var(--color-accent);
  font-size: 0.75rem; font-weight: 700;
}
.gal-chip:hover {
  border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-border));
  color: var(--color-accent);
}
.gal-library { padding-block: clamp(2.5rem, 5vw, 4rem); }
.gal-album + .gal-album { margin-top: clamp(2rem, 4vw, 3.25rem); }
.gal-album {
  scroll-margin-top: calc(var(--header-h, 72px) + 1rem);
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.gal-album:target {
  border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  box-shadow: 0 18px 40px rgba(0, 40, 120, 0.08);
}
.gal-album-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-sm) var(--space-md);
  align-items: start;
  margin-bottom: var(--space-md);
}
.gal-album-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-accent);
  opacity: 0.5;
  line-height: 1;
  padding-top: 6px;
}
.gal-album-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  letter-spacing: -0.02em;
}
.gal-album-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--color-content-soft);
  font-size: var(--fs-sm);
}
.gal-album-year {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--color-accent) 28%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent) 8%, #fff);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.gal-album-dot { opacity: 0.45; }
.gal-album-count {
  align-self: center;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.gal-album .gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1080px) {
  .gal-album .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .gal-album-head { grid-template-columns: auto 1fr; }
  .gal-album-count { grid-column: 2; justify-self: start; white-space: normal; }
}
@media (max-width: 768px) {
  .gal-album .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Video card */
.video-card .thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #103a8e, var(--color-accent));
  display: grid; place-items: center;
  margin-bottom: var(--space-sm);
  position: relative;
  overflow: hidden;
}
.video-card .play {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid; place-items: center;
  transition: transform var(--transition-base);
}
.video-card:hover .play { transform: scale(1.1); }
.video-card .play svg { width: 22px; height: 22px; color: var(--color-accent); margin-left: 3px; }

/* Footer */
.site-footer {
  position: relative; overflow: hidden;
  background:
    radial-gradient(55% 90% at 88% 0%, rgba(0, 82, 239, 0.35), transparent 60%),
    linear-gradient(180deg, #021a45 0%, #000d26 100%);
  color: rgba(255, 255, 255, 0.72);
}
.footer-contact { margin-top: var(--space-md); display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); line-height: 1.5; max-width: 44ch; }
.footer-contact svg { width: 15px; height: 15px; margin-top: 3px; color: rgba(255, 255, 255, 0.55); flex-shrink: 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  column-gap: clamp(40px, 5vw, 96px);
  row-gap: var(--space-lg);
  padding-block: var(--space-2xl) var(--space-lg);
}
.footer-brand .brand-text,
.footer-brand .brand-text span { color: #fff; }
.footer-about { margin-top: var(--space-sm); font-size: var(--fs-sm); max-width: 44ch; line-height: 1.6; }
.footer-col h4 {
  color: #fff; font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
}
.footer-col ul { display: grid; gap: 6px; }
.footer-col li { font-size: var(--fs-sm); line-height: 1.5; color: rgba(255, 255, 255, 0.62); }
.footer-col a { font-size: var(--fs-sm); transition: color var(--transition-fast); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  align-items: center; justify-content: space-between;
  padding-block: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
}
.footer-logo { height: 40px; width: auto; display: block; }
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: opacity 200ms ease, transform 200ms ease;
}
.footer-logo-link:hover { opacity: 0.88; transform: translateY(-1px); }
.footer-logo-link:focus-visible {
  outline: 3px solid rgba(245, 166, 35, 0.55);
  outline-offset: 3px;
}

/* Back to top */
.back-to-top {
  --scroll-progress: 0;
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: var(--z-top);
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  isolation: isolate;
  color: var(--color-accent);
  background: conic-gradient(
    from -90deg,
    var(--color-accent) calc(var(--scroll-progress) * 1%),
    #c5d4f2 0
  );
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 0 0 3px rgba(0, 40, 100, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.34),
    0 4px 10px rgba(0, 40, 120, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.92);
  transition:
    opacity 280ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 280ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}
.back-to-top::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: linear-gradient(160deg, #fff 0%, #f4f8ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: 0;
}
.back-to-top svg {
  position: relative;
  z-index: 1;
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  color: #0036b5;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.98),
    0 0 0 3px rgba(245, 166, 35, 0.55),
    0 14px 32px rgba(0, 0, 0, 0.38),
    0 4px 12px rgba(0, 40, 120, 0.24);
}
.back-to-top:hover svg { transform: translateY(-2px); }
.back-to-top:focus-visible {
  outline: 3px solid rgba(245, 166, 35, 0.55);
  outline-offset: 3px;
}
.back-to-top:active { transform: translateY(1px) scale(0.97); }
@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .back-to-top svg { transition: none; }
  .back-to-top:hover svg { transform: none; }
}

/* ===== 7. SECTIONS ===== */

/* Hero */
.hero {
  position: relative;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0, 73, 219, 0.16), transparent 62%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-xl); align-items: center; }
.hero h1 { font-size: var(--fs-hero); }
.hero .lead { margin-top: var(--space-sm); }
.hero-actions { margin-top: var(--space-lg); }
.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, #cfe4ff, #eaf4ff);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-stats { display: flex; flex-wrap: wrap; gap: var(--space-xl); margin-top: var(--space-xl); }

/* Page hero (interior pages) ? rich multi-layer particle field */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(3.5rem, 5vw, 5.25rem);
  padding-bottom: clamp(3.5rem, 5vw, 5.25rem);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 70% at 8% 15%, rgba(120, 190, 255, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 45% 55% at 92% 18%, rgba(245, 166, 35, 0.32) 0%, transparent 52%),
    radial-gradient(ellipse 60% 50% at 78% 88%, rgba(70, 140, 255, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 20% 95%, rgba(0, 40, 120, 0.45) 0%, transparent 50%),
    linear-gradient(135deg, #002a8f 0%, #0043d4 38%, #1a62ef 68%, #062a7a 100%);
}
.page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
/* Soft drifting atmosphere blobs (CSS-only depth) */
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 40%, rgba(120, 190, 255, 0.22) 0%, transparent 28%),
    radial-gradient(circle at 70% 60%, rgba(245, 166, 35, 0.14) 0%, transparent 26%),
    radial-gradient(circle at 55% 25%, rgba(180, 220, 255, 0.12) 0%, transparent 22%);
  animation: page-hero-atmosphere 18s ease-in-out infinite alternate;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 70% at 50% -10%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 40%, rgba(0, 18, 55, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 20, 60, 0.08) 0%, transparent 35%, rgba(0, 14, 48, 0.28) 100%);
}
@keyframes page-hero-atmosphere {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.85; }
  50%  { transform: translate3d(2%, 1.5%, 0) scale(1.06); opacity: 1; }
  100% { transform: translate3d(1%, -2%, 0) scale(1.03); opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero::before { animation: none; }
}
.page-hero > .container {
  position: relative;
  z-index: 2;
}
/* Hero content: breadcrumb + title + description only */
.page-hero .eyebrow,
.page-hero .hero-cta,
.page-hero .hero-media,
.page-hero .hero-actions {
  display: none !important;
}
.page-hero .breadcrumb { justify-content: center; color: rgba(255, 255, 255, 0.78); }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.92); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 {
  margin-top: var(--space-sm);
  margin-inline: auto;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 20, 70, 0.35), 0 0 40px rgba(80, 150, 255, 0.2);
}
.page-hero .lead {
  margin-top: var(--space-sm);
  max-width: 60ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  text-wrap: pretty;
  text-shadow: 0 1px 16px rgba(0, 20, 70, 0.25);
}

/* Logo strip / partners */
.logo-strip { display: flex; flex-wrap: wrap; gap: var(--space-lg); align-items: center; justify-content: center; opacity: 0.8; }
.logo-strip span { font-family: var(--font-display); font-weight: 700; color: var(--color-muted); font-size: 1.1rem; }

/* CTA band */
.cta-band { border-radius: var(--radius-lg); padding: var(--space-2xl) var(--gutter); text-align: center; }
.cta-band .lead { color: rgba(255, 255, 255, 0.85); margin-inline: auto; }
.cta-band .btn { margin-top: var(--space-lg); }

/* Prose (long-form content) */
.prose { max-width: 68ch; }
/* full-width prose variant (paragraphs otherwise cap at 68ch) */
.prose-wide { max-width: none; }
.prose-wide p { max-width: none; }
.prose > * + * { margin-top: var(--space-sm); }
.prose h2 { margin-top: var(--space-lg); }
.prose h3 { margin-top: var(--space-md); }
.prose p { color: var(--color-content-soft); }
.prose ul { display: grid; gap: 10px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 30px; color: var(--color-content-soft); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(0, 73, 219, 0.15);
  box-shadow: inset 0 0 0 4px var(--color-accent);
}

/* ===== 7b. HOMEPAGE ENHANCEMENTS (reusable sitewide) ===== */

/* Full-bleed image hero (index) */
.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  color: #fff;
  overflow: hidden;
  background: #0d1512;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img,
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-full::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 21, 18, 0.55) 0%, rgba(13, 21, 18, 0.25) 30%, rgba(13, 21, 18, 0.6) 100%),
    linear-gradient(90deg, rgba(13, 21, 18, 0.75) 0%, rgba(13, 21, 18, 0.15) 55%, rgba(13, 21, 18, 0.35) 100%);
}
.hero-full-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* clear the fixed transparent header */
  padding-top: calc(var(--header-h) + var(--space-lg));
  padding-bottom: var(--space-md);
}
.hero-head { margin-top: clamp(var(--space-lg), 6vh, var(--space-2xl)); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-tag .plus {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 5px;
  background: var(--color-secondary); color: #001234;
  font-size: 1rem; line-height: 1;
}
.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 1.15rem + 4.2vw, 5.25rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin-top: var(--space-sm);
}
/* right-aligned description + CTA block, pushed toward the lower half */
.hero-aside {
  margin-top: auto;
  margin-left: auto;
  max-width: 34ch;
  text-align: left;
}
.hero-desc {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.65rem);
  line-height: 1.25;
  color: #fff;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.hero-cta .btn svg { width: 16px; height: 16px; }
/* Two half-width glass panels along the bottom of the hero */
.hero-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background var(--transition-base), transform var(--transition-base);
}
.hero-panel:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}
.hp-icon {
  position: relative;
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
/* attention dot: red badge with a soft repeating pulse */
.hp-icon::after {
  content: "";
  position: absolute; top: -4px; right: -4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #ff4433;
  animation: hp-dot-pulse 2s ease-out infinite;
}
@keyframes hp-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 68, 51, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 68, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 68, 51, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hp-icon::after { animation: none; }
}
.hp-icon svg { width: 18px; height: 18px; }
.hp-label {
  flex-shrink: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-xs); letter-spacing: 0.09em; text-transform: uppercase;
  color: #fff;
}
/* rotating ticker: items cycle vertically one at a time */
.hp-ticker {
  position: relative;
  flex: 1; min-width: 0;
  height: 1.5em;
  overflow: hidden;
}
.hp-item {
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
}
.hp-ticker .hp-item {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(100%);
  transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1), opacity 450ms ease;
}
.hp-ticker .hp-item.is-current { opacity: 1; transform: none; }
.hp-ticker .hp-item.is-leaving { opacity: 0; transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
  .hp-ticker .hp-item { transition: none; }
}
.hp-date {
  flex-shrink: 0;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.66);
}
.hp-title {
  font-size: var(--fs-sm); font-weight: 500; color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ===== About: card fan-out (viewport-triggered, no reserved scroll runway) ===== */
.about-fan {
  position: relative;
  overflow: hidden;            /* clips the cards as they exit; no height reserved */
  background: var(--color-surface);
  padding-block: clamp(120px, 18vh, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-fan-sticky {            /* static stage; height follows its content */
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-content);
}
.about-fan-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(55% 45% at 18% 22%, rgba(0, 73, 219, 0.06), transparent 60%),
    radial-gradient(50% 50% at 86% 82%, rgba(47, 118, 255, 0.05), transparent 62%),
    var(--color-surface);
}
.about-fan-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  transition: none;
}
.about-fan-title {
  color: var(--color-content);
  font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: var(--space-sm);
}
.about-fan-text {
  max-width: 60ch;
  margin: var(--space-sm) auto 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.6;
}
.about-fan-cta { margin-top: var(--space-lg); }

/* ===== Bold statement (mild blue) ===== */
.statement {
  position: relative;
  overflow: visible;
  background: linear-gradient(165deg, #f8fbff 0%, #f1f6ff 100%);
  color: var(--color-content);
}
/* ambient drifting glow so the section always has subtle life */
.statement::before {
  content: "";
  position: absolute; z-index: 0;
  width: min(70vw, 880px); aspect-ratio: 1;
  left: 50%; top: 42%;
  background: radial-gradient(circle, rgba(0, 73, 219, 0.14), transparent 62%);
  pointer-events: none;
  animation: statement-glow 16s ease-in-out infinite alternate;
}
.statement > .container { position: relative; z-index: 1; }
@keyframes statement-glow {
  from { transform: translate(-58%, -54%) scale(1); opacity: 0.75; }
  to   { transform: translate(-42%, -46%) scale(1.18); opacity: 1; }
}
.statement-eyebrow-wrap { text-align: center; margin-bottom: var(--space-md); }
.statement-title {
  color: var(--color-content);
  text-transform: uppercase;
  font-size: clamp(1.75rem, 0.9rem + 3.4vw, 3.5rem);
  line-height: 1.5;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin-inline: auto;
  text-align: center;
}
.statement-title .hl {
  position: relative; isolation: isolate;
  padding: 0.02em 0.24em;
  border-radius: 8px;
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* the highlight box is a pseudo that wipes in and out on a continuous loop */
.statement-title .hl::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 8px;
  transform: scaleX(1); transform-origin: left;
}
.statement-title .hl-accent::before { background: var(--color-accent); }
.statement-title .hl-light { color: #1a1200; }
.statement-title .hl-light::before { background: var(--color-secondary); }
/* start collapsed only when JS can reveal it (no-JS shows boxes normally) */
@media (scripting: enabled) {
  .statement-title .hl::before { transform: scaleX(0); }
}
.statement-title.is-visible .hl::before {
  animation: hl-wipe 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.statement-title.is-visible .hl-accent::before { animation-delay: 200ms; }
.statement-title.is-visible .hl-light::before { animation-delay: 430ms; }
/* text on the blue box must fall back to dark while the box is away */
.statement-title.is-visible .hl-accent { animation: hl-text 6s ease infinite 200ms; }
@keyframes hl-wipe {
  0%    { transform: scaleX(0); transform-origin: left; }
  18%   { transform: scaleX(1); transform-origin: left; }
  55%   { transform: scaleX(1); transform-origin: left; }
  55.1% { transform: scaleX(1); transform-origin: right; }
  75%   { transform: scaleX(0); transform-origin: right; }
  100%  { transform: scaleX(0); transform-origin: right; }
}
@keyframes hl-text {
  0%   { color: var(--color-content); }
  14%  { color: #fff; }
  62%  { color: #fff; }
  78%  { color: var(--color-content); }
  100% { color: var(--color-content); }
}
@media (prefers-reduced-motion: reduce) {
  .statement-title .hl::before,
  .statement-title.is-visible .hl::before { animation: none; transform: scaleX(1); }
  .statement-title.is-visible .hl-accent { animation: none; }
}
.statement-copy {
  max-width: 62ch;
  margin: var(--space-sm) auto 0;
  text-align: center;
}
.statement-copy p { color: var(--color-content-soft); margin-inline: auto; }
.statement-copy p + p { margin-top: var(--space-md); }
.statement-author {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: var(--space-lg);
  text-align: left;
}
.statement-link { margin-inline: auto; }
.statement-avatar {
  width: 132px; height: 132px; flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover; object-position: center 12%;
  background: #c5d8e8;
  border: 2px solid var(--color-border);
}
/* avatar pops in when the copy block reveals */
@media (scripting: enabled) {
  .statement-copy .statement-avatar { opacity: 0; transform: scale(0.8); }
}
.statement-copy.is-visible .statement-avatar {
  opacity: 1; transform: scale(1);
  transition: opacity 500ms ease 400ms, transform 620ms cubic-bezier(0.34, 1.56, 0.64, 1) 400ms;
}
.statement-author-id { display: flex; flex-direction: column; }
.sa-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--color-content); }
.sa-role { font-size: var(--fs-sm); color: var(--color-content-soft); margin-top: 2px; }
.sa-creds { font-size: var(--fs-xs); color: var(--color-muted); margin-top: 2px; }
.statement-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--space-xl);
  font-family: var(--font-display); font-weight: 600;
  color: var(--color-accent);
  border-bottom: 2px solid rgba(0, 73, 219, 0.35);
  padding-bottom: 4px;
  transition: border-color var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}
.statement-link:hover { border-color: var(--color-accent); }
.statement-link svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.statement-link:hover svg { transform: translateX(4px); }
.statement-link.is-disabled {
  color: color-mix(in srgb, var(--color-accent) 55%, var(--color-muted));
  border-bottom-color: rgba(0, 73, 219, 0.2);
  cursor: not-allowed;
  text-decoration: none;
}
.statement-link.is-disabled:hover { border-color: rgba(0, 73, 219, 0.2); }
.statement-link.is-disabled:hover svg { transform: none; }
.statement-link.is-disabled[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  bottom: auto;
  transform: translateX(-50%) translateY(-4px);
  padding: 8px 12px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 5;
}
.statement-link.is-disabled[data-tooltip]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  bottom: auto;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: transparent;
  border-bottom-color: #0f172a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  z-index: 5;
}
.statement-link.is-disabled:hover[data-tooltip]::after,
.statement-link.is-disabled:focus-visible[data-tooltip]::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.statement-link.is-disabled:hover[data-tooltip]::before,
.statement-link.is-disabled:focus-visible[data-tooltip]::before {
  opacity: 1;
}

/* Cards layer */
.fan-cards {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
.fan-card {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(150px, 15vw, 210px);
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  border: 5px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 60px rgba(0, 20, 70, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  /* JS sets transform; this is the pre-JS / fallback resting pose */
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  background: linear-gradient(155deg, #2f76ff, #0043c9);
}
.fan-card:nth-child(1) { background: linear-gradient(155deg, var(--color-secondary) -10%, #0a54f0 65%); }
.fan-card:nth-child(2) { background: linear-gradient(155deg, var(--color-secondary) -8%, #0043cc 62%); }
.fan-card:nth-child(3) { background: linear-gradient(155deg, var(--color-secondary) -5%, #0038b0 60%); }
.fan-card:nth-child(4) { background: linear-gradient(155deg, var(--color-secondary) -10%, #1f63f0 66%); }
.fan-card:nth-child(5) { background: linear-gradient(155deg, var(--color-secondary) -6%, #002d94 58%); }
.fan-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 45%, rgba(0, 15, 60, 0.55));
}
.fan-check {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--color-accent);
}
.fan-check svg { width: 15px; height: 15px; }
.fan-ico {
  position: absolute; top: 0; left: 0; right: 0; bottom: 34px;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.92);
}
.fan-ico svg { width: 40px; height: 40px; }
.fan-cap {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; line-height: 1.2; color: #fff;
}

/* No-JS / reduced-motion fallback: intro plus a simple static row of cards */
@media (prefers-reduced-motion: reduce), (scripting: none) {
  .about-fan-sticky { flex-direction: column; gap: var(--space-xl); }
  .fan-cards { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }
  .fan-card { position: static; transform: none; opacity: 1; }
}

@media (max-width: 768px) {
  .fan-card { width: clamp(120px, 34vw, 160px); }
}

/* Fixed transparent header overlaying the hero (no flow gap at top) */
body.has-hero-full .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  padding-top: var(--space-xs);
  transition: padding var(--transition-base);
}
/* tighten back up once it becomes the solid header */
body.has-hero-full .site-header.is-scrolled { padding-top: 0; }
/* soft top-down scrim so nav text is legible over the video without boxes */
body.has-hero-full .site-header::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 16, 14, 0.55), rgba(10, 16, 14, 0));
  pointer-events: none;
  transition: opacity var(--transition-base);
}
body.has-hero-full .site-header .brand-text,
body.has-hero-full .site-header .brand-text span { color: #fff; }
body.has-hero-full .site-header .brand-mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
body.has-hero-full .site-header .nav-toggle span,
body.has-hero-full .site-header .nav-toggle span::before,
body.has-hero-full .site-header .nav-toggle span::after { background: #fff; }
/* CTA as a brand-gold pill over the dark hero */
body.has-hero-full .site-header .nav-actions .btn-primary {
  background: var(--color-secondary); color: #001234; border-color: var(--color-secondary);
}
body.has-hero-full .site-header .nav-actions .btn-primary:hover { background: #e2920e; border-color: #e2920e; }

/* Desktop: light nav links over the dark hero ? no filled highlight */
@media (min-width: 992px) {
  body.has-hero-full .site-header .nav-link { color: rgba(255, 255, 255, 0.88); background: transparent; }
  body.has-hero-full .site-header .nav-link:hover { color: #fff; background: transparent; }
  body.has-hero-full .site-header .nav-dropdown-toggle { color: rgba(255, 255, 255, 0.88); }
  /* active page: white text with a thin underline indicator */
  body.has-hero-full .site-header .nav-link[aria-current="page"] {
    color: #fff; font-weight: 600; background: transparent;
    position: relative;
  }
  body.has-hero-full .site-header .nav-link[aria-current="page"]::after {
    content: "";
    position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; border-radius: 2px;
    background: var(--color-secondary);
  }
}

/* Scrolled state ? solid dark header */
body.has-hero-full .site-header.is-scrolled {
  background: rgba(0, 18, 52, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
body.has-hero-full .site-header.is-scrolled::before { opacity: 0; }
body.has-hero-full .site-header.is-scrolled .brand-mark { box-shadow: none; }

@media (max-width: 768px) {
  .hero-full { min-height: 100svh; }
  .hero-aside { margin-left: 0; max-width: 100%; }
  .hero-panels { grid-template-columns: 1fr; gap: var(--space-sm); }
}


/* Hero polish ? layered background + floating credential card */
.hero::after {
  content: "";
  position: absolute;
  left: -12%; bottom: -35%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(47, 118, 255, 0.12), transparent 60%);
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; }
.hero-media-wrap { position: relative; }
.hero-media-wrap::before {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%; height: 62%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 73, 219, 0.14), rgba(47, 118, 255, 0.05));
  z-index: -1;
}
.hero-float-card {
  position: absolute;
  left: -22px; bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(8px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.hero-float-card .hf-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: rgba(0, 73, 219, 0.1); color: var(--color-accent);
}
.hero-float-card .hf-icon svg { width: 22px; height: 22px; }
.hero-float-card .hf-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.hero-float-card .hf-sub { font-size: var(--fs-xs); color: var(--color-muted); }

/* Hero stats as bordered mini-panels */
.hero-stats { gap: 0; border-top: 1px solid var(--color-border); padding-top: var(--space-lg); }
.hero-stats > div { flex: 1 1 0; padding-right: var(--space-lg); }
.hero-stats > div + div { border-left: 1px solid var(--color-border); padding-left: var(--space-lg); }
.hero-stats .stat-value { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); }

/* Feature cards with index number + top accent */
.feature-card { position: relative; overflow: hidden; }
.feature-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #2f76ff);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-base);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .feature-num {
  position: absolute; top: var(--space-md); right: var(--space-md);
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.5rem; line-height: 1;
  color: rgba(0, 73, 219, 0.08);
}
.feature-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--space-sm);
  font-size: var(--fs-sm); font-weight: 600; color: var(--color-accent);
}
.feature-card .card-link svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.feature-card:hover .card-link svg { transform: translateX(4px); }

/* Section head with side layout (title left, action right) */
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-lg);
}
.section-head-row .section-head { margin-bottom: 0; }

/* Event cards */
.event-card {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-sm);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.event-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-date {
  width: 74px; height: 78px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(0, 73, 219, 0.08);
  display: grid; place-items: center; align-content: center;
  text-align: center; color: var(--color-accent);
}
.event-date .d { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; }
.event-date .m { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.event-body h3 { font-size: 1.15rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font-size: var(--fs-sm); color: var(--color-muted); }
.event-meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-meta svg { width: 15px; height: 15px; }

/* Journal spotlight (accent split panel) */
.journal-spotlight {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-xl);
  align-items: center;
  background: var(--color-content);
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  overflow: hidden;
}
.journal-spotlight h2, .journal-spotlight h3 { color: #fff; }
.journal-spotlight .lead { color: rgba(255, 255, 255, 0.8); }
.journal-cover {
  aspect-ratio: 3 / 4; border-radius: var(--radius-md);
  background: linear-gradient(150deg, #0049db, #103a8e);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; position: relative; overflow: hidden;
}
.journal-cover::after {
  content: ""; position: absolute; inset: auto -30% -40% auto;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.journal-cover .jc-kicker { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.journal-cover .jc-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; }
.journal-cover .jc-foot { font-size: var(--fs-sm); opacity: 0.85; }
.journal-meta { display: flex; gap: var(--space-lg); margin-top: var(--space-md); flex-wrap: wrap; }
.journal-meta .stat-value { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.1rem); }
.journal-meta .stat-label { color: rgba(255, 255, 255, 0.65); }

/* Home publications ? medium full-bleed textbook & journal band */
.pubs-section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.25rem, 5.5vw, 4.5rem);
  scroll-margin-top: calc(var(--header-h, 72px) + 1rem);
  overflow: hidden;
  color: #fff;
}
.pubs-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(245, 166, 35, 0.14), transparent 42%),
    linear-gradient(155deg, #00124a 0%, #0036b5 50%, #0052e0 100%);
}
.pubs-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%);
  pointer-events: none;
  opacity: 0.45;
}
.pubs-inner {
  position: relative;
  z-index: 1;
}
.pubs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem 1.75rem;
  margin-bottom: clamp(1.5rem, 2.8vw, 2.15rem);
}
.pubs-head-copy {
  max-width: 38rem;
}
.pubs-head h2 {
  margin: 0.55rem 0 0.45rem;
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.9rem);
  letter-spacing: -0.03em;
  color: #fff;
}
.pubs-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 46ch;
}
.pubs-head-cta {
  flex-shrink: 0;
  padding-block: 0.6rem;
}
.pubs-head-cta svg { width: 0.95rem; height: 0.95rem; }
.pubs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.pubs-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 280ms ease;
}
.pubs-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow: 0 12px 26px rgba(0, 15, 55, 0.22);
}
.pubs-cover {
  display: block;
  width: 6.25rem;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(0, 18, 60, 0.35);
  box-shadow:
    0 8px 18px rgba(0, 10, 40, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.pubs-card:hover .pubs-cover { transform: translateY(-2px); }
.pubs-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 144 / 184;
  object-fit: cover;
  display: block;
}
.pubs-copy {
  min-width: 0;
  text-align: left;
  max-width: none;
  margin-inline: 0;
}
.pubs-kicker {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3a2400;
  background: linear-gradient(135deg, #ffd27a, #f5a623);
}
.pubs-copy h3 {
  margin: 0.5rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.3;
}
.pubs-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pubs-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffd27a;
}
.pubs-link svg { width: 0.85rem; height: 0.85rem; transition: transform 200ms ease; }
.pubs-link:hover { color: #fff; }
.pubs-link:hover svg { transform: translate(2px, -2px); }

@media (max-width: 991px) {
  .pubs-grid { grid-template-columns: 1fr; }
  .pubs-head { align-items: flex-start; }
}
@media (max-width: 480px) {
  .pubs-card { grid-template-columns: auto 1fr; }
  .pubs-cover { width: 4.75rem; }
  .pubs-head-cta { width: auto; }
  .pubs-copy p { -webkit-line-clamp: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .pubs-card,
  .pubs-cover,
  .pubs-link svg { transition: none; }
  .pubs-card:hover,
  .pubs-card:hover .pubs-cover { transform: none; }
}

/* Quote / testimonial band */
.quote-band { max-width: 60rem; margin-inline: auto; text-align: center; }
.quote-band .quote-mark {
  font-family: var(--font-display); font-weight: 700;
  font-size: 4rem; line-height: 0.6; color: var(--color-accent); opacity: 0.25;
}
.quote-band blockquote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
  line-height: 1.3; letter-spacing: -0.01em;
  color: var(--color-content); margin-top: var(--space-sm);
}
.quote-attr { margin-top: var(--space-md); }
.quote-attr .qa-name { font-weight: 600; }
.quote-attr .qa-role { font-size: var(--fs-sm); color: var(--color-muted); }

/* Explore tiles: icon inline row */
.explore-tile { display: flex; flex-direction: column; height: 100%; }
.explore-tile .card-link {
  margin-top: auto; padding-top: var(--space-sm);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--color-accent);
}
.explore-tile .card-link svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.explore-tile:hover .card-link svg { transform: translateX(4px); }

/* Homepage responsive */
@media (max-width: 991px) {
  .journal-spotlight { grid-template-columns: 1fr; gap: var(--space-lg); padding: var(--space-lg); }
  .journal-cover { max-width: 260px; }
}
@media (max-width: 768px) {
  .hero-float-card { left: 8px; bottom: 8px; padding: 10px 14px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats > div { flex: 1 1 40%; padding: var(--space-sm) 0 0; }
  .hero-stats > div + div { border-left: none; padding-left: 0; }
}
@media (max-width: 480px) {
  .event-card { grid-template-columns: 1fr; }
  .event-date { justify-self: start; }
}

/* ===== Events & Updates (accordion) ===== */
.updates { position: relative; background: #fff; }
.updates .section-head { margin-bottom: var(--space-xl); }

.updates-eyebrow { margin-bottom: var(--space-sm); }
.acc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.acc-col-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--space-md); margin-bottom: var(--space-md);
}
.acc-col-head h3 { font-size: var(--fs-h4); }
.acc-viewall {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--color-accent);
}
.acc-viewall svg { width: 15px; height: 15px; transition: transform var(--transition-fast); }
.acc-viewall:hover svg { transform: translateX(3px); }
.acc-viewall-btn { margin-top: var(--space-md); }
.acc-viewall-btn svg { width: 16px; height: 16px; }

.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  background: var(--color-surface-alt);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: none;
  overflow: hidden;
  transition: background 400ms ease-in-out;
}
.acc-item.is-active {
  background: #eaf2ff;
}
.acc-header {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  padding: 18px 20px;
  background: none; border: none; cursor: pointer; text-align: left;
  font: inherit; color: inherit;
  transition: padding-bottom 400ms ease-in-out;
}
.acc-titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.acc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--color-content); line-height: 1.25; }
.acc-meta {
  align-self: flex-start;
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 73, 219, 0.08);
  color: var(--color-accent);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em;
}
.acc-cat { color: var(--color-secondary-deep); text-transform: uppercase; letter-spacing: 0.06em; }
.acc-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--color-border);
  display: grid; place-items: center; color: var(--color-accent);
  transition: transform 400ms ease-in-out, background 400ms ease-in-out, border-color 400ms ease-in-out;
}
.acc-icon svg { width: 15px; height: 15px; }
.acc-item.is-active .acc-icon { transform: rotate(180deg); background: rgba(0, 73, 219, 0.1); border-color: transparent; }

/* animated height via grid-rows 0fr -> 1fr (no max-height guessing) */
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms ease-in-out;
}
.acc-item.is-active .acc-body { grid-template-rows: 1fr; }
.acc-body-inner { overflow: hidden; min-height: 0; }
.acc-desc {
  padding: 0 20px 20px;
  color: var(--color-content-soft); font-size: var(--fs-sm); line-height: 1.6;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 350ms ease-in-out 80ms, transform 350ms ease-in-out 80ms;
}
.acc-item.is-active .acc-desc { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .acc-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* ===== Our Reach (pinned, scroll-scrubbed stacking accordion) =====
   One continuous component: the section pins, and scrolling scrubs which card
   is expanded ? the active card collapses while the next expands. Card heights
   are driven by JS (main.js) from scroll progress. */
.reach-stack {
  position: relative;
  overflow: clip;
  /* fixed attachment: image stays put while the section scrolls over it */
  background: #001234 url("../images/bg.png") center / cover no-repeat fixed;
  padding-top: var(--space-2xl);
}
.reach-stack::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 55% at 30% 30%, rgba(47, 118, 255, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(0, 18, 52, 0.5), rgba(0, 18, 52, 0.62));
}
.reach-stack .stack-track,
.reach-stack > .container { position: relative; z-index: 1; }
.reach-stack .section-head { margin-bottom: var(--space-lg); }
.reach-stack .section-head h2 { color: #fff; }
.reach-stack .section-head p { color: rgba(255, 255, 255, 0.8); }
.reach-stack .section-head .badge { margin-bottom: var(--space-sm); }

/* the tall track provides the scroll distance for the pinned transitions */
.stack-track { position: relative; }
.stack-pin {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex; align-items: center;
  /* height set by JS (fits content: one expanded card + strips) */
}
.stack-pin > .container { width: 100%; }
.stack-cards {
  display: flex; flex-direction: column;
  gap: 0;
  /* height set by JS */
}

.stack-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: 0 -8px 24px rgba(0, 10, 30, 0.25);
  flex-shrink: 0;
  display: flex; flex-direction: column;
  /* JS sets height each frame; this is the collapsed fallback */
  height: 74px;
}
.stack-card:first-child { box-shadow: none; }
/* card palettes ? same four as the About page's Our Story cards */
.stack-card:nth-child(1) { background: #001234; }
.stack-card:nth-child(2) { background: var(--color-accent); }
.stack-card:nth-child(3) { background: var(--color-secondary); color: #201200; }
.stack-card:nth-child(4) { background: #eaf2ff; color: #002a6b; }
/* dark-text cards (gold & light) */
.stack-card:nth-child(3) .sc-meta { color: rgba(32, 18, 0, 0.72); }
.stack-card:nth-child(3) .sc-desc { color: rgba(32, 18, 0, 0.8); }
.stack-card:nth-child(3) .sc-num { color: #201200; opacity: 0.25; }
.stack-card:nth-child(3) .sc-states span { background: rgba(32, 18, 0, 0.1); color: #201200; }
.stack-card:nth-child(4) .sc-meta { color: rgba(0, 42, 107, 0.72); }
.stack-card:nth-child(4) .sc-desc { color: rgba(0, 42, 107, 0.85); }
.stack-card:nth-child(4) .sc-num { color: var(--color-accent); opacity: 0.3; }
.stack-card:nth-child(4) .sc-states span { background: rgba(0, 73, 219, 0.1); color: var(--color-accent); }
/* white watermark reads better on the blue card */
.stack-card:nth-child(2) .sc-num { color: #fff; opacity: 0.3; }

/* always-visible strip: title + meta (like title + date in the reference) */
.sc-head {
  height: 74px; flex-shrink: 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--space-md);
  padding: 24px 24px 0;   /* top gap matches the side gap */
}
.sc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; color: inherit; }
.sc-meta { font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 255, 255, 0.72); flex-shrink: 0; }

/* body revealed only for the expanded card (opacity driven by JS) */
.sc-body {
  position: relative;
  flex: 1; min-height: 0;
  padding: var(--space-lg) 24px var(--space-xl);
  display: flex; align-items: flex-end;
  overflow: hidden;   /* keep the bottom-anchored content from overlapping the title */
  opacity: 0;
}
.stack-card.is-open .sc-body { opacity: 1; }
.sc-num {
  position: absolute; right: -0.06em; bottom: 0.06em;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4rem, 2.4rem + 9vw, 11rem);
  line-height: 0.8; letter-spacing: -0.04em;
  color: var(--color-secondary); opacity: 0.5;
  pointer-events: none;
}
.sc-info { position: relative; z-index: 1; }
.sc-desc { color: rgba(255, 255, 255, 0.82); max-width: 64ch; }
.sc-states { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: var(--space-sm); }
.sc-states span {
  display: inline-flex; align-items: center;
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: var(--fs-sm); font-weight: 600; color: #fff;
}

.reach-cta { text-align: center; padding-block: var(--space-md) var(--space-2xl); }
/* text-style link under the hero CTA row */
.hero-textlink {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: var(--space-lg);
  margin-left: 20px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 3px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.hero-textlink:hover { color: #fff; border-color: #fff; }
.hero-textlink svg { width: 15px; height: 15px; transition: transform var(--transition-fast); }
.hero-textlink:hover svg { transform: translateX(3px); }
.reach-cta .btn { box-shadow: 0 14px 34px rgba(0, 73, 219, 0.32); }

/* No-JS / reduced-motion fallback: show every card fully, no pinning */
@media (prefers-reduced-motion: reduce), (scripting: none) {
  .stack-pin { position: static; height: auto; padding-block: var(--space-lg); }
  .stack-cards { height: auto; }
  .stack-card { height: auto !important; }
  .sc-body { opacity: 1 !important; }
}

@media (max-width: 768px) {
  .sc-head { padding: 20px 20px 0; }
  .sc-title { font-size: 1.1rem; }
  .sc-body { padding: 0 var(--space-lg) var(--space-lg); }
  .sc-info { max-width: 100%; }
  .sc-states { flex-wrap: wrap; }
  .sc-num { font-size: clamp(3.5rem, 2rem + 12vw, 7rem); opacity: 0.18; }
}

/* ===== CTA (content left, video right) ? premium ===== */
.cta { background: var(--color-surface); }
.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 16px),
    radial-gradient(55% 70% at 100% 100%, rgba(245, 166, 35, 0.4), transparent 65%),
    radial-gradient(40% 55% at 0% 0%, rgba(245, 166, 35, 0.18), transparent 60%),
    linear-gradient(135deg, #0a54f0 0%, #0034a8 52%, #001f66 100%);
  padding: clamp(28px, 3.6vw, 52px);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 32, 110, 0.26);
  max-width: 1320px;
  margin-inline: auto;
}
/* drifting light + fine sheen for depth */
.cta-card::before {
  content: ""; position: absolute; z-index: 0;
  width: 42rem; height: 42rem; left: -9rem; top: -14rem;
  background: radial-gradient(circle, rgba(130, 175, 255, 0.38), transparent 60%);
  pointer-events: none;
  animation: cta-glow 13s ease-in-out infinite alternate;
}
.cta-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.10), transparent 55%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
@keyframes cta-glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.7; }
  to   { transform: translate(34px, 22px) scale(1.16); opacity: 1; }
}
.cta-badge {
  margin-bottom: var(--space-sm);
  background: #fff;
  color: var(--color-accent);
}
.cta-title {
  color: #fff;
  font-size: clamp(1.9rem, 1.25rem + 2.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.cta-text {
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--space-sm);
  max-width: none;
  font-size: 1.0625rem;
}
.cta-actions {
  display: flex; flex-wrap: wrap;
  gap: var(--space-xs); margin-top: var(--space-md);
}
.cta-actions .btn-light { box-shadow: 0 12px 30px rgba(0, 15, 60, 0.25); }
.cta-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff; background: transparent;
}
.cta-outline:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.cta-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 60px rgba(0, 12, 55, 0.48);
}
.cta-media video,
.cta-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 768px) {
  .cta-card { grid-template-columns: 1fr; }
  .cta-media { order: -1; aspect-ratio: 16 / 10; }
}

/* ===== 8. ANIMATIONS ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Hidden only when scripting is available (progressive enhancement:
   without JS the content stays visible instead of never revealing). */
@media (scripting: enabled) {
  .reveal { opacity: 0; }
}
.reveal.is-visible { animation: fade-up 600ms cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.reveal-delay-1 { animation-delay: 90ms; }
.reveal-delay-2 { animation-delay: 180ms; }
.reveal-delay-3 { animation-delay: 270ms; }

/* ===== 9. RESPONSIVE (max-width, descending) ===== */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(0.35rem, 1.6vh, 0.85rem);
    background: #001234;
    padding: clamp(1.25rem, 4vh, 2.25rem) var(--gutter) clamp(1.75rem, 5vh, 2.75rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    min-height: calc(100svh - var(--header-h));
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    justify-content: flex-start;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu > li { width: 100%; }
  .nav-link {
    padding: clamp(0.85rem, 2.2vh, 1.15rem) 14px;
    font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.2rem);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-toggle { display: block; }
  .nav-dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    padding: 0.15rem 0 0.35rem 12px;
    display: none;
    background: transparent;
  }
  .nav-dropdown a {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.65rem 12px;
    display: block;
    font-size: 0.95rem;
  }
  .nav-dropdown a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
  .nav-item.open .nav-dropdown { display: block; }

  /* Keep header pinned while body scroll is locked */
  body.nav-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
  }
  body.nav-open .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  .split, .hero-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding-block: var(--space-xl); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: var(--space-md); }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: var(--space-xl) var(--space-sm); }
}

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .member-row { grid-template-columns: 40px 1fr; }
  .member-row .btn { grid-column: 2; justify-self: start; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; }
  .page-hero::before { animation: none; }
}

/* ===== Interior redesign modules ===== */
.ev-list { display: grid; gap: var(--space-sm); }
.ev-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.ev-item:hover {
  border-color: rgba(0, 73, 219, 0.28);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ev-date {
  display: grid; place-items: center;
  min-height: 72px; border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--color-accent), #2f76ff);
  color: #fff; text-align: center; padding: 10px 8px;
}
.ev-date .ev-day { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.ev-date .ev-month { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; margin-top: 4px; }
.ev-body h3 { font-size: 1.15rem; margin: 0 0 6px; }
.ev-body p { color: var(--color-content-soft); font-size: var(--fs-sm); margin: 0; }
.ev-featured {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-lg); align-items: center;
  padding: var(--space-lg); border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 0% 0%, rgba(0, 73, 219, 0.1), transparent 50%), var(--color-surface);
  border: 1px solid var(--color-border);
}
.ev-featured-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-surface-alt); }
.ev-featured-media img { width: 100%; height: 100%; object-fit: cover; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
.resource-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: var(--space-md); border-radius: var(--radius-lg);
  background: var(--color-surface); border: 1px solid var(--color-border);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.resource-card:hover { border-color: var(--color-accent); transform: translateY(-3px); }
.resource-card .resource-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0, 73, 219, 0.1); color: var(--color-accent);
}
.resource-card .resource-icon svg { width: 22px; height: 22px; }
.resource-card h3 { font-size: 1.05rem; margin: 0; }
.resource-card p { margin: 0; color: var(--color-content-soft); font-size: var(--fs-sm); flex: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none; place-items: center;
  background: rgba(0, 12, 36, 0.9); padding: var(--space-md);
}
.lightbox.is-open { display: grid; }
.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
  max-width: min(1100px, 94vw);
}
.lightbox img {
  max-width: min(1100px, 94vw); max-height: 78vh;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lightbox-caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-sm);
  text-align: center;
}
.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--color-content);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 500; line-height: 1;
  padding: 0; z-index: 2;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-content);
  display: grid; place-items: center;
  z-index: 2;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.lightbox-prev { left: max(12px, 2vw); }
.lightbox-next { right: max(12px, 2vw); }
.lightbox-nav[hidden] { display: none; }
@media (max-width: 768px) {
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox img { max-height: 70vh; }
}

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
.video-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-surface); border: 1px solid var(--color-border);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.video-card .thumb {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, rgba(0, 73, 219, 0.85), rgba(0, 30, 90, 0.9)), var(--color-accent);
  display: grid; place-items: center;
}
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #001234;
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-card .play {
  width: 54px; height: 54px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}
.video-card:hover .play { transform: scale(1.08); }
.video-card .play svg { width: 22px; height: 22px; color: var(--color-accent); margin-left: 3px; }
.video-card .video-body { padding: var(--space-sm) var(--space-md) var(--space-md); }
.video-card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.video-card p { margin: 0; color: var(--color-muted); font-size: var(--fs-xs); }

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.poster-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.poster-card figcaption {
  padding: 12px 14px;
  font-size: var(--fs-sm);
  color: var(--color-content-soft);
}

/* ===== Membership page ===== */
.mem-overview {
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem);
}
.mem-overview-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(1.85rem, 3.5vw, 2.75rem) clamp(1.35rem, 3vw, 2.5rem);
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 73, 219, 0.07), transparent 55%),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border: 1px solid rgba(0, 40, 100, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px rgba(0, 30, 90, 0.06);
}
.mem-overview-panel .badge {
  margin-bottom: 0.9rem;
}
.mem-overview-panel h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2.35rem);
  letter-spacing: -0.035em;
  color: var(--color-content-soft);
  max-width: 18ch;
}
.mem-overview-lead,
.mem-overview-sub {
  margin: 0 auto 0.75rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 54ch;
}
.mem-overview-sub { margin-bottom: 1.5rem; }
.mem-overview-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.mem-overview-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 720px;
}
.mem-overview-stats li {
  padding: 1.05rem 0.9rem;
  border-radius: 16px;
  background: rgba(0, 73, 219, 0.06);
  border: 1px solid rgba(0, 73, 219, 0.1);
  text-align: center;
}
.mem-overview-stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}
.mem-overview-stat-label {
  display: block;
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.mem-join { padding-block: clamp(2.5rem, 5vw, 4rem); }
.mem-elig {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  max-width: 920px;
  margin: 1.35rem auto 0;
  padding: 1.35rem 1.5rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 73, 219, 0.05), rgba(245, 166, 35, 0.12));
  border: 1px solid rgba(0, 73, 219, 0.1);
}
.mem-elig .badge { margin: 0; }
.mem-elig-copy h2,
.mem-elig-copy h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  letter-spacing: -0.03em;
  color: var(--color-content-soft);
}
.mem-elig-copy p {
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 48ch;
}

.mem-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  max-width: 920px;
  margin-inline: auto;
}
.mem-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.45rem, 2.4vw, 2rem);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    border-color 240ms ease;
}
.mem-plan--life {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(ellipse at 100% 100%, rgba(245, 166, 35, 0.22), transparent 48%),
    linear-gradient(155deg, #001f6b 0%, #0049db 55%, #1a68ff 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 44px rgba(0, 45, 130, 0.3);
}
.mem-plan--assoc {
  background:
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border: 1px solid rgba(0, 40, 100, 0.1);
  box-shadow: 0 4px 18px rgba(8, 30, 80, 0.06);
}
.mem-plan:hover {
  transform: translateY(-6px);
}
.mem-plan--life:hover {
  box-shadow: 0 26px 52px rgba(0, 45, 130, 0.36);
}
.mem-plan--assoc:hover {
  border-color: rgba(0, 73, 219, 0.22);
  box-shadow: 0 16px 34px rgba(0, 40, 100, 0.1);
}
.mem-plan-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}
.mem-plan-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a2400;
  background: linear-gradient(135deg, #ffd27a, #f5a623);
}
.mem-plan-term {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.18);
}
.mem-plan-term--gold {
  color: var(--color-secondary-deep);
  background: var(--color-secondary-soft);
}
.mem-plan-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--color-content-soft);
}
.mem-plan--life .mem-plan-title,
.mem-plan--life .mem-plan-price,
.mem-plan--life .mem-plan-note {
  color: #fff;
}
.mem-plan-price {
  position: relative;
  z-index: 1;
  margin: 0.2rem 0 0;
  padding-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 1.9rem + 1.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  border-bottom: 1px solid rgba(0, 40, 100, 0.1);
}
.mem-plan--life .mem-plan-price {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
.mem-plan--assoc .mem-plan-price { color: var(--color-accent); }
.mem-plan-currency {
  font-size: 0.55em;
  margin-right: 0.08em;
  vertical-align: 0.28em;
  opacity: 0.85;
}
.mem-plan-price small {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: middle;
  opacity: 0.78;
}
.mem-plan-note {
  position: relative;
  z-index: 1;
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.mem-plan--assoc .mem-plan-note { color: var(--color-muted); }
.mem-plan-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0.65rem 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.mem-plan--life .mem-plan-list {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}
.mem-plan-list li {
  position: relative;
  padding-left: 1.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.mem-plan--life .mem-plan-list li { color: rgba(255, 255, 255, 0.92); }
.mem-plan--assoc .mem-plan-list li { color: var(--color-muted); }
.mem-plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(0, 73, 219, 0.2);
  box-shadow: inset 0 0 0 2px rgba(0, 73, 219, 0.45);
}
.mem-plan--life .mem-plan-list li::before {
  background: #f5a623;
  box-shadow: none;
}
.mem-plan-cta {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.mem-plan--life .btn-primary {
  background: linear-gradient(135deg, #ffd27a, #f5a623);
  color: #2a1a00;
  border-color: transparent;
  font-weight: 700;
}
.mem-plan--life .btn-primary:hover {
  background: linear-gradient(135deg, #ffe0a0, #f7b33a);
  color: #1a1000;
}
.mem-plan--assoc .btn-outline {
  border-color: rgba(0, 73, 219, 0.28);
  color: var(--color-accent);
}
.mem-plan--assoc .btn-outline:hover {
  background: rgba(0, 73, 219, 0.06);
  border-color: var(--color-accent);
}

.mem-benefits-section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.mem-benefits {
  max-width: 820px;
  margin-inline: auto;
}
.mem-benefits .eyebrow { margin-bottom: 0.55rem; }
.mem-benefits h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  letter-spacing: -0.03em;
  color: var(--color-content-soft);
}
.mem-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.mem-benefit-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 40, 100, 0.07);
  color: var(--color-content-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 8px 22px rgba(0, 30, 90, 0.04);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.mem-benefit-list li:hover {
  transform: translateX(3px);
  border-color: rgba(0, 73, 219, 0.18);
  box-shadow: 0 8px 20px rgba(0, 40, 100, 0.06);
}
.mem-benefit-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--color-accent);
  background: rgba(0, 73, 219, 0.08);
}
.mem-benefit-icon svg { width: 1.15rem; height: 1.15rem; }
.mem-benefit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.mem-join .section-head { margin-bottom: 1.75rem; }

.mem-pay {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem 1.75rem;
  align-items: end;
  max-width: 920px;
  margin: 1.5rem auto 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(245, 166, 35, 0.42), transparent 42%),
    radial-gradient(ellipse at 0% 100%, rgba(56, 189, 248, 0.18), transparent 48%),
    linear-gradient(118deg, #0b1220 0%, #152238 38%, #1a365d 72%, #243b55 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 18px 42px rgba(8, 18, 40, 0.35);
}
.mem-pay-label {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a2400;
  background: linear-gradient(135deg, #ffd27a, #f5a623);
}
.mem-pay-head h3 {
  margin: 0.55rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem);
  letter-spacing: -0.02em;
  color: #fff;
}
.mem-pay-head p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 48ch;
}
.mem-pay-details {
  margin: 0;
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(0, 18, 60, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.mem-pay-details > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
}
.mem-pay-details dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.mem-pay-details dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-word;
}
.mem-pay-cta {
  justify-self: end;
  white-space: nowrap;
  background: #fff !important;
  color: var(--color-accent) !important;
  border-color: #fff !important;
}
.mem-pay-cta:hover {
  background: var(--color-secondary) !important;
  color: #001234 !important;
  border-color: var(--color-secondary) !important;
}

@media (max-width: 991px) {
  .mem-overview-stats,
  .mem-plans,
  .mem-pay { grid-template-columns: 1fr; }
  .mem-pay-cta {
    justify-self: stretch;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .mem-overview-stats { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .mem-elig { padding: 1rem; }
  .mem-benefit-actions .btn,
  .mem-overview-actions .btn,
  .mem-plan-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mem-plan,
  .mem-benefit-list li { transition: none; }
  .mem-plan:hover,
  .mem-benefit-list li:hover { transform: none; }
}

/* ===== Fellowship ===== */
.fellow-intro {
  position: relative;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
}
.fellow-intro::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 50%;
  width: min(70vw, 720px);
  height: 220px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center, rgba(0, 73, 219, 0.1), transparent 70%);
  pointer-events: none;
}
.fellow-lede {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(1.35rem, 2.5vw, 1.85rem) clamp(1.35rem, 3vw, 2.25rem);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.88));
  border: 1px solid rgba(0, 73, 219, 0.1);
  box-shadow: 0 10px 28px rgba(8, 30, 80, 0.06);
}
.fellow-lede::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 1.15rem;
  bottom: 1.15rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0049db, #f5a623);
}
.fellow-lede blockquote {
  margin: 0;
  padding-left: 1rem;
}
.fellow-lede p {
  margin: 0;
  text-align: left;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.14rem);
  line-height: 1.7;
  color: var(--color-muted);
}

.fellow-centres {
  position: relative;
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
  overflow: hidden;
}
.fellow-centres::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(0, 73, 219, 0.06), transparent 42%),
    radial-gradient(ellipse at 88% 80%, rgba(245, 166, 35, 0.08), transparent 40%);
  pointer-events: none;
}
.fellow-centres .container { position: relative; }
.fellow-centres .section-head h2 { color: var(--color-content-soft); }
.fellow-centres .section-head p {
  max-width: 36ch;
  margin-inline: auto;
}
.fellow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 980px;
  margin-inline: auto;
}
.fellow-centre {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(245, 166, 35, 0.08), transparent 42%),
    linear-gradient(165deg, #fff 0%, #f5faff 100%);
  border: 1px solid rgba(0, 40, 100, 0.09);
  box-shadow: 0 6px 20px rgba(8, 30, 80, 0.06);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 300ms ease,
    border-color 220ms ease;
}
.fellow-centre:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 73, 219, 0.28);
  box-shadow:
    0 18px 36px rgba(0, 40, 100, 0.12),
    0 0 0 1px rgba(245, 166, 35, 0.18);
}
.fellow-centre:hover .fellow-city {
  color: #fff;
  background: var(--color-accent);
}
.fellow-centre:hover .fellow-name { color: var(--color-accent); }
.fellow-centre:hover .fellow-index { color: rgba(245, 166, 35, 0.85); }
.fellow-centre-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.fellow-index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(0, 73, 219, 0.35);
  transition: color 220ms ease;
}
.fellow-city {
  display: inline-flex;
  width: fit-content;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 73, 219, 0.08);
  transition: color 220ms ease, background 220ms ease;
}
.fellow-centre-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: center;
}
.fellow-photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0, 40, 100, 0.08);
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px rgba(0, 73, 219, 0.18);
}
.fellow-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.fellow-centre:hover .fellow-photo img { transform: scale(1.05); }
.fellow-centre-copy { min-width: 0; }
.fellow-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
  letter-spacing: -0.02em;
  color: var(--color-content-soft);
  line-height: 1.3;
  transition: color 220ms ease;
}
.fellow-inst {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.fellow-mail {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  border-top: 1px solid rgba(0, 40, 100, 0.08);
  word-break: normal;
  overflow-wrap: normal;
  max-width: 100%;
  min-width: 0;
  transition: color 180ms ease;
}
.fellow-mail:hover { color: var(--color-accent-hover); text-decoration: underline; }

.fellow-open {
  position: relative;
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
  overflow: hidden;
}
.fellow-open::before {
  content: "";
  position: absolute;
  inset: 8% 50% auto;
  width: min(90vw, 980px);
  height: 280px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center, rgba(0, 73, 219, 0.12), transparent 68%);
  pointer-events: none;
}
.fellow-open .container { position: relative; }
.fellow-open-panel {
  max-width: 1100px;
  margin-inline: auto;
  border-radius: 26px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(0, 40, 100, 0.08);
  box-shadow:
    0 18px 48px rgba(8, 30, 80, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
}
.fellow-open-banner {
  position: relative;
  background: #4eb4e6;
  line-height: 0;
}
.fellow-open-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(0, 30, 90, 0.12));
  pointer-events: none;
}
.fellow-open-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 14 / 5;
  object-fit: contain;
  object-position: center;
}
.fellow-open-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}
.fellow-open-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.45rem, 2.6vw, 2.15rem);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(245, 166, 35, 0.08), transparent 45%),
    linear-gradient(165deg, #f7fbff 0%, #fff 60%);
}
.fellow-open-label {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a2400;
  background: linear-gradient(135deg, #ffd27a, #f5a623);
  box-shadow: 0 6px 14px rgba(245, 166, 35, 0.28);
}
.fellow-open-copy h2 {
  margin: 0.95rem 0 0.7rem;
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--color-content-soft);
  max-width: 18ch;
}
.fellow-open-copy .lead {
  margin: 0;
  max-width: 40ch;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.fellow-open-contacts {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 73, 219, 0.12);
  box-shadow: 0 4px 14px rgba(0, 40, 100, 0.04);
  width: fit-content;
  max-width: 100%;
}
.fellow-open-contacts-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.fellow-open-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-accent);
  word-break: normal;
  overflow-wrap: normal;
  max-width: 100%;
  min-width: 0;
}
.fellow-open-mail-icon {
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(0, 73, 219, 0.08);
  color: var(--color-accent);
}
.fellow-open-mail-icon svg { width: 0.85rem; height: 0.85rem; }
.fellow-open-mail:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}
.fellow-open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.45rem;
}
.fellow-glance {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.45rem, 2.6vw, 2.15rem);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(245, 166, 35, 0.22), transparent 45%),
    linear-gradient(165deg, #001f6b 0%, #0040c4 48%, #0a5ae8 100%);
  color: #fff;
  overflow: hidden;
}
.fellow-glance::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.fellow-glance-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.fellow-glance-icon {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}
.fellow-glance-icon svg { width: 1.15rem; height: 1.15rem; }
.fellow-glance h3 {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.fellow-glance-list {
  position: relative;
  margin: 0.2rem 0 0;
  display: grid;
  gap: 0.55rem;
}
.fellow-glance-list > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: rgba(0, 18, 60, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 200ms ease, transform 200ms ease;
}
.fellow-glance-list > div:hover {
  background: rgba(0, 18, 60, 0.4);
  transform: translateX(2px);
}
.fellow-glance-list dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.fellow-glance-list dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 991px) {
  .fellow-grid,
  .fellow-open-inner { grid-template-columns: 1fr; }
  .fellow-glance-list > div { grid-template-columns: 1fr; gap: 0.15rem; }
}
@media (max-width: 480px) {
  .fellow-lede::before { left: 0.9rem; }
  .fellow-lede blockquote { padding-left: 0.85rem; }
  .fellow-centre-body { grid-template-columns: auto 1fr; }
  .fellow-photo { width: 3.85rem; height: 3.85rem; border-radius: 14px; }
  .fellow-open-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .fellow-centre,
  .fellow-photo img,
  .fellow-glance-list > div { transition: none; }
  .fellow-centre:hover,
  .fellow-glance-list > div:hover { transform: none; }
  .fellow-centre:hover .fellow-photo img { transform: none; }
}

.mem-highlight { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--space-lg); align-items: stretch; }
.mem-price-card {
  padding: var(--space-lg); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0036b5, #0049db 55%, #1a5fe0);
  color: #fff; box-shadow: var(--shadow-md);
}
.mem-price-card .price {
  font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 2vw, 3.4rem);
  font-weight: 700; line-height: 1; margin: 8px 0 4px;
}
.mem-price-card p { color: rgba(255, 255, 255, 0.88); }
.mem-price-card .btn-light { margin-top: var(--space-md); }

.form-shell {
  max-width: 760px; margin-inline: auto; padding: var(--space-lg);
  border-radius: var(--radius-lg); background: var(--color-surface);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.form-shell .form-note {
  margin-top: var(--space-sm); padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md); background: var(--color-surface-alt);
  color: var(--color-content-soft); font-size: var(--fs-sm);
}
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm); margin-bottom: var(--space-lg);
}
.faq-download { display: inline-flex; margin-top: 12px; font-size: var(--fs-sm); font-weight: 600; }

/* ===== FAQ page ===== */
.faq-browse { padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.faq-browse-bar {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-sm) var(--space-md);
  justify-content: space-between;
  margin-bottom: var(--space-md);
}
.faq-search {
  position: relative; flex: 1 1 280px; max-width: 520px;
  display: block;
}
.faq-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--color-muted); pointer-events: none;
}
.faq-search input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  font: inherit; color: var(--color-content);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-search input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 73, 219, 0.15);
}
.faq-browse-hint {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-muted);
  font-weight: 600;
}
.faq-browse-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.faq-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent) 8%, #fff);
  color: var(--color-accent);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.faq-clear svg { width: 14px; height: 14px; }
.faq-clear:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.faq-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.faq-chip {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-content-soft);
  font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.faq-chip:hover {
  border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-border));
  color: var(--color-accent);
}
.faq-chip.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.faq-library { padding-block: clamp(2.5rem, 5vw, 4rem); }
.faq-topics {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: var(--space-lg);
}
.faq-topic {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-topic:target,
.faq-topic.is-focused {
  border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  box-shadow: 0 18px 40px rgba(0, 40, 120, 0.08);
}
.faq-topic-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-sm) var(--space-md);
  align-items: start;
  margin-bottom: var(--space-sm);
}
.faq-topic-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-accent);
  opacity: 0.55;
  line-height: 1;
  padding-top: 4px;
}
.faq-topic-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary-deep, #a56a00);
  margin-bottom: 6px;
}
.faq-topic-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem);
  letter-spacing: -0.02em;
}
.faq-topic-copy p {
  margin: 0;
  color: var(--color-content-soft);
  font-size: var(--fs-sm);
  line-height: 1.65;
  max-width: 62ch;
}
.faq-topic-pdf { white-space: nowrap; align-self: center; }
.faq-qa-list { display: grid; gap: 8px; margin-top: var(--space-sm); }
.faq-qa {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-surface-alt) 70%, #fff);
  overflow: hidden;
}
.faq-qa[open] { background: #fff; border-color: color-mix(in srgb, var(--color-accent) 28%, var(--color-border)); }
.faq-qa summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-content);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-qa summary::-webkit-details-marker { display: none; }
.faq-qa summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
  margin-top: -4px;
}
.faq-qa[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq-qa-body {
  padding: 0 16px 16px;
  color: var(--color-content-soft);
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.faq-qa-body p { margin: 0 0 0.75em; }
.faq-qa-body p:last-child { margin-bottom: 0; }
.faq-qa-body ul { margin: 0.35em 0 0.75em; padding-left: 1.15em; }
.faq-qa-body li + li { margin-top: 0.35em; }
.faq-dos-donts { list-style: none; padding-left: 0; }
.faq-dos-donts li {
  position: relative;
  padding-left: 1.35em;
  margin-top: 0.45em;
}
.faq-dos-donts li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 0.55em; height: 0.55em;
  border-radius: 50%;
}
.faq-dos-donts--dont li::before { background: #c0392b; }
.faq-dos-donts--do li::before { background: #1f8a4c; }
.faq-empty {
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--color-muted);
  font-size: var(--fs-sm);
}
.faq-cta { padding-block: clamp(2.5rem, 5vw, 4rem); }
.faq-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(245, 166, 35, 0.28), transparent 55%),
    linear-gradient(125deg, #0036b8 0%, #0049db 48%, #0a3a9e 100%);
  color: #fff;
}
.faq-cta-copy { max-width: 42rem; }
.faq-cta-copy .badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.faq-cta-copy h2 {
  margin: var(--space-xs) 0 var(--space-xs);
  color: #fff;
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem);
}
.faq-cta-copy p { margin: 0; color: rgba(255, 255, 255, 0.88); max-width: 48ch; }
.faq-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-cta-panel .btn-primary {
  background: var(--color-secondary);
  color: #001234;
  border-color: transparent;
}
.faq-cta-panel .btn-primary:hover { background: #e2920e; }
.faq-cta-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.faq-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* ===== Ask page ===== */
.ask-section { padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.ask-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
.ask-aside {
  position: sticky;
  top: calc(var(--header-h, 72px) + 1rem);
}
.ask-aside h2 {
  margin: var(--space-xs) 0 var(--space-sm);
  font-size: clamp(1.55rem, 1.25rem + 1vw, 2.1rem);
  letter-spacing: -0.02em;
}
.ask-aside-lead {
  margin: 0 0 var(--space-md);
  color: var(--color-content-soft);
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 40ch;
}
.ask-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ask-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.ask-point-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  color: var(--color-accent);
}
.ask-point-icon svg { width: 20px; height: 20px; }
.ask-step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.ask-step span:last-child {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-content-soft);
  line-height: 1.55;
}
.ask-contact-card {
  display: grid;
  gap: 8px;
  margin-top: var(--space-lg);
  padding: 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #f4f8ff 0%, #eef4ff 100%);
  border: 1px solid color-mix(in srgb, var(--color-accent) 18%, var(--color-border));
}
.ask-contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.ask-contact-card > a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-accent);
  word-break: break-word;
}
.ask-aside-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-accent);
}
.ask-aside-link svg { width: 16px; height: 16px; }
.ask-form-shell {
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border-radius: calc(var(--radius-lg) + 6px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md, var(--shadow-sm));
}
.ask-form .field input,
.ask-form .field select,
.ask-form .field textarea {
  font-size: 0.9375rem;
  line-height: 1.45;
  padding: 11px 14px;
}
.ask-form .field textarea { min-height: 120px; }
.ask-form-head { margin-bottom: var(--space-sm); }
.ask-form-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.ask-form-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem);
}
.ask-form-head p {
  margin: 0;
  color: var(--color-content-soft);
  font-size: var(--fs-sm);
}
.ask-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 var(--space-md);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-secondary) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--color-secondary) 35%, transparent);
  color: var(--color-content);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.ask-note svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  color: var(--color-secondary-deep, #a56a00);
}
.ask-optional {
  font-weight: 500;
  color: var(--color-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85em;
}
.ask-form-foot {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-muted);
}

@media (max-width: 991px) {
  .faq-topic-head { grid-template-columns: auto 1fr; }
  .faq-topic-pdf { grid-column: 2; justify-self: start; white-space: normal; }
  .ask-layout { grid-template-columns: 1fr; }
  .ask-aside { position: static; }
}
@media (max-width: 480px) {
  .faq-cta-panel { align-items: stretch; }
  .faq-cta-actions { width: 100%; }
  .faq-cta-actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 991px) {
  .ev-featured, .mem-highlight { grid-template-columns: 1fr; }
  .resource-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .ev-item { grid-template-columns: 72px 1fr; }
  .ev-item .ev-actions { grid-column: 2; }
  .news-item { grid-template-columns: 90px 1fr; }
  .news-item .news-actions { grid-column: 2; }
}
@media (max-width: 480px) {
  .resource-grid, .video-grid, .contact-grid, .poster-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   9. PAGE THEME OVERRIDE ? Home & About only
   Client-requested refresh, scoped to body.page-home /
   body.page-about so no other page is affected.
   Primary:   #004BE4 (blue)
   Secondary: #F5A623 (gold)
   This blue+gold pairing is very close to the site's original
   palette (#0049DB + #F5A623), so most of the hardcoded
   companion colors already baked into the base stylesheet
   (gradient stops, rgba tints, shadows) already suit this
   theme without an override ? those overrides have been
   removed below and intentionally left to fall back to the
   base rules. Only the hero (image removed, custom gradient)
   and a couple of deliberate ink/contrast fixes are still
   overridden here.
   ========================================================= */

body.page-home,
body.page-about {
  --color-accent: #004be4;
  --color-accent-hover: #0041c5;
  --color-secondary: #f5a623;
  --color-secondary-deep: #a56a00;
  --color-secondary-soft: rgba(245, 166, 35, 0.14);
}

/* Home: hero ? image removed per request, replaced with the same gradient used on the CTA panel */
body.page-home .hero-full {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 16px),
    radial-gradient(55% 70% at 100% 100%, rgba(245, 166, 35, 0.4), transparent 65%),
    radial-gradient(40% 55% at 0% 0%, rgba(245, 166, 35, 0.18), transparent 60%),
    linear-gradient(135deg, #0a54f0 0%, #0034a8 52%, #001f66 100%);
}
body.page-home .hero-full::before { background: none; } /* was a dark scrim for the removed photo ? no longer needed */

/* Home: hero "Register Now" ? kept gold (not blue) so it doesn't blend into the blue hero background */
body.page-home .hero-cta .btn-primary { background: var(--color-secondary); color: #001234; }
body.page-home .hero-cta .btn-primary:hover { background: #e2920e; }

/* Home: hero ? 3-image slideshow with a directional slide + depth transition (was a flat crossfade, then a Ken Burns zoom) */
body.page-home .hero-media { position: relative; overflow: hidden; }
body.page-home .hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transform: translateX(6%) scale(1.04);
  transition: opacity 950ms cubic-bezier(0.4, 0, 0.2, 1), transform 950ms cubic-bezier(0.4, 0, 0.2, 1);
}
body.page-home .hero-slide.is-current {
  opacity: 1; z-index: 2;
  transform: translateX(0) scale(1);
}
body.page-home .hero-slide.is-leaving {
  opacity: 0; z-index: 1;
  transform: translateX(-6%) scale(1.04);
}

/* Home: hero ? content left, image right (was a single centered column) */
body.page-home .hero-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
@media (max-width: 991px) {
  body.page-home .hero-top { grid-template-columns: 1fr; }
  body.page-home .hero-media { max-width: 480px; margin-inline: auto; order: -1; }
}

/* Home: hero right-side ? single photo (was the multi-card collage) */
body.page-home .hero-media {
  box-shadow: 0 24px 60px rgba(0, 75, 228, 0.22);
  background: linear-gradient(135deg, #dce8ff, #eef4ff); /* placeholder tint while the photo loads */
}

/* Home: hero slideshow ? dot indicators below the image */
body.page-home .hero-slide-col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
body.page-home .hero-slide-col .hero-media { width: 100%; }
body.page-home .hero-slide-dots { display: flex; align-items: center; gap: 9px; }
body.page-home .hero-dot {
  width: 8px; height: 8px;
  padding: 0; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 250ms ease, transform 250ms ease;
}
body.page-home .hero-dot:hover { background: rgba(255, 255, 255, 0.6); }
body.page-home .hero-dot.is-current { background: var(--color-secondary); transform: scale(1.3); }

/* Home: reach-stack card 3 (gold) dark text ? unify with brand ink #001234 (was #201200); kept regardless of theme color */
body.page-home .stack-card:nth-child(3) { color: #001234; }
body.page-home .stack-card:nth-child(3) .sc-meta { color: rgba(0, 18, 52, 0.72); }
body.page-home .stack-card:nth-child(3) .sc-desc { color: rgba(0, 18, 52, 0.8); }
body.page-home .stack-card:nth-child(3) .sc-num { color: #001234; opacity: 0.25; }
body.page-home .stack-card:nth-child(3) .sc-states span { background: rgba(0, 18, 52, 0.1); color: #001234; }

/* Home: ink unification, independent of accent color */
body.page-home .statement-title .hl-light { color: #001234; } /* was #1a1200 ? unify with brand ink */

/* Home: accordion accent tints ? kept the earlier visibility boost, recolored to blue */
body.page-home .acc-meta { background: rgba(0, 75, 228, 0.18); }
body.page-home .acc-icon { border-color: rgba(0, 75, 228, 0.35); }
body.page-home .acc-item.is-active .acc-icon { background: rgba(0, 75, 228, 0.16); }

/* About: "Our Story" ethos gold card ? dark text unified to #001234 (was #201200); kept regardless of theme color */
body.page-about .ec-gold,
body.page-about .ec-gold .ec-art { color: #001234; }

/* ===== World Voice Day ===== */
.wvd-hero-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 166, 35, 0.95);
}

/* Hub: intro ? overlapping panel + emblem (no box-in-box) */
.page-wvd .wvd-hub-intro {
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: clamp(2.75rem, 5vw, 4.25rem);
  margin-top: -2.75rem;
}
.wvd-intro-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
  align-items: center;
  padding: clamp(1.35rem, 2.8vw, 2.15rem);
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, #fff 48%, #f7f9fd 100%);
  border: 1px solid rgba(0, 40, 100, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 64px rgba(0, 30, 90, 0.12);
}
.wvd-emblem {
  margin: 0;
  display: grid;
  place-items: center;
}
.wvd-emblem-ring {
  width: min(100%, 340px);
  aspect-ratio: 956 / 873;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 40, 100, 0.06),
    0 0 0 8px rgba(0, 73, 219, 0.05),
    0 18px 40px rgba(0, 30, 90, 0.12);
}
.wvd-emblem-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.wvd-hub-copy h2 {
  margin: 0.7rem 0 0.95rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.3rem + 1.1vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-content-soft);
}
.wvd-hub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
}
.wvd-hub-meta span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--color-muted);
  background: rgba(0, 40, 100, 0.04);
  border: 1px solid rgba(0, 40, 100, 0.07);
}
.wvd-hub-meta strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-accent);
}
.wvd-hub-copy p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 58ch;
}
.wvd-hub-copy p:last-child { margin-bottom: 0; }

/* Hub: editions */
.page-wvd .wvd-editions {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 73, 219, 0.06), transparent 60%),
    linear-gradient(180deg, #f4f7fc 0%, #eef3fa 45%, #f8fafc 100%);
}
.page-wvd .wvd-editions::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.1), transparent 68%);
  pointer-events: none;
}
.page-wvd .wvd-editions .container { position: relative; }
.page-wvd .wvd-editions .section-head {
  margin-bottom: 1.5rem;
}
.page-wvd .wvd-editions .section-head h2 {
  font-size: clamp(1.55rem, 1.25rem + 0.9vw, 2rem);
  letter-spacing: -0.03em;
}
.wvd-year-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
  align-items: stretch;
}
.wvd-year-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(0, 40, 100, 0.08);
  box-shadow: 0 12px 28px rgba(0, 30, 90, 0.07);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease,
    border-color 200ms ease;
}
.wvd-year-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 73, 219, 0.2);
  box-shadow: 0 20px 40px rgba(0, 30, 90, 0.12);
}
.wvd-year-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.wvd-year-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  overflow: hidden;
  background: #edf2fa;
}
.wvd-year-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.wvd-year-card--banner .wvd-year-card-media {
  background: #fff;
}
.wvd-year-card--banner .wvd-year-card-media img {
  object-fit: cover;
  object-position: center;
}
.wvd-year-card--poster .wvd-year-card-media img {
  object-fit: cover;
  object-position: center top;
}
.wvd-year-card:hover .wvd-year-card-media img { transform: scale(1.03); }
.wvd-year-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
  padding: 1rem 1.1rem 1.15rem;
  border-top: 1px solid rgba(0, 40, 100, 0.06);
  min-height: 11.5rem;
}
.wvd-year-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.wvd-year-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 73, 219, 0.08);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}
.wvd-year-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}
.wvd-year-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--color-content-soft);
}
.wvd-year-card-body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wvd-year-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}
.wvd-year-cta svg { width: 0.95rem; height: 0.95rem; transition: transform 200ms ease; }
.wvd-year-card:hover .wvd-year-cta svg { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .wvd-year-card,
  .wvd-year-card-media img,
  .wvd-year-cta svg { transition: none; }
  .wvd-year-card:hover { transform: none; }
  .wvd-year-card:hover .wvd-year-card-media img { transform: none; }
  .wvd-year-card:hover .wvd-year-cta svg { transform: none; }
}

.wvd-year-top { padding-block: clamp(1.75rem, 3.5vw, 2.75rem); }
.wvd-year-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem 2rem;
  max-width: 900px;
  margin-inline: auto;
}
.wvd-theme {
  margin: 0;
  flex: 0 0 240px;
  width: 240px;
  max-width: 100%;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 40, 100, 0.06),
    0 14px 32px rgba(0, 40, 100, 0.1);
}
.wvd-theme--wide {
  flex-basis: 320px;
  width: 320px;
}
.wvd-theme img {
  width: 100%;
  height: auto;
  display: block;
}
.wvd-year-aside {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 36rem;
}
.wvd-year-aside-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.15rem;
}
.wvd-theme-meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}
.wvd-year-aside h2 {
  margin: 0.55rem 0 0.55rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--color-content-soft);
}
.wvd-year-aside > p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  line-height: 1.6;
}
.wvd-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0;
}
.wvd-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-content-soft);
  background: rgba(0, 40, 100, 0.05);
  border: 1px solid rgba(0, 40, 100, 0.08);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.wvd-chip:hover {
  color: var(--color-accent);
  background: rgba(0, 73, 219, 0.08);
  border-color: rgba(0, 73, 219, 0.2);
}

.wvd-cities { padding-block: clamp(2.5rem, 5vw, 4rem); }
.wvd-city-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.wvd-city {
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(0, 40, 100, 0.07);
  box-shadow: 0 14px 36px rgba(0, 40, 100, 0.06);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  scroll-margin-top: 6rem;
}
.wvd-city-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}
.wvd-city-index {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(0, 73, 219, 0.28);
  line-height: 1;
  padding-top: 0.15rem;
}
.wvd-city-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  letter-spacing: -0.02em;
  color: var(--color-content-soft);
}
.wvd-city-sub {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
}
.wvd-city-meta {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.wvd-city-body {
  margin-bottom: 1.15rem;
}
.wvd-city-body p {
  margin: 0 0 0.75rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 72ch;
}
.wvd-city-body p:last-child { margin-bottom: 0; }
.wvd-city-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.wvd-city-grid .gallery-item {
  border-radius: 12px;
  aspect-ratio: 4 / 3;
}

.wvd-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.35rem, 3vw, 2rem);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(0, 73, 219, 0.06), rgba(245, 166, 35, 0.08));
  border: 1px solid rgba(0, 40, 100, 0.08);
}
.wvd-cta-band h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--color-content-soft);
}
.wvd-cta-band p {
  margin: 0;
  color: var(--color-muted);
  max-width: 46ch;
}
.wvd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 991px) {
  .wvd-intro-panel,
  .wvd-year-cards {
    grid-template-columns: 1fr;
  }
  .wvd-year-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 420px;
  }
  .wvd-theme,
  .wvd-theme--wide {
    flex-basis: auto;
    width: min(100%, 280px);
  }
  .wvd-year-aside {
    max-width: none;
  }
  .wvd-year-aside-meta,
  .wvd-chip-row { justify-content: center; }
  .wvd-year-cards { max-width: 420px; }
  .page-wvd .wvd-hub-intro { margin-top: -1.5rem; }
  .wvd-emblem-ring { width: min(100%, 280px); margin-inline: auto; }
  .wvd-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .wvd-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wvd-intro-panel,
  .wvd-year-card,
  .wvd-city { border-radius: 16px; }
  .wvd-emblem-ring { border-radius: 16px; }
  .wvd-cta-band { align-items: flex-start; }
}

/* ===== Contact page ===== */
.page-contact .contact-section {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.25rem);
  overflow: hidden;
}
.page-contact .contact-section::before {
  content: "";
  position: absolute;
  inset: auto 5% -25% 45%;
  height: 360px;
  background: radial-gradient(ellipse at center, rgba(0, 73, 219, 0.08), transparent 68%);
  pointer-events: none;
}
.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}
.contact-aside,
.contact-main {
  align-self: start;
}
.contact-aside {
  position: static;
}
.contact-aside h2 {
  margin: 0.65rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.25rem + 0.9vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--color-content-soft);
}
.contact-aside-lead {
  margin: 0 0 1.35rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 40ch;
}
.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-channel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0, 40, 100, 0.08);
  box-shadow: 0 10px 28px rgba(0, 30, 90, 0.05);
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 200ms ease,
    box-shadow 240ms ease;
}
.contact-channel:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 73, 219, 0.22);
  box-shadow: 0 16px 36px rgba(0, 30, 90, 0.1);
}
.contact-channel:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  color: var(--color-accent);
  background: rgba(0, 73, 219, 0.08);
  flex-shrink: 0;
}
.contact-channel-icon svg { width: 1.15rem; height: 1.15rem; }
.contact-channel-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.contact-channel-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.contact-channel-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-content-soft);
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.35;
  min-width: 0;
}
.contact-channel:hover .contact-channel-value { color: var(--color-accent); }

.contact-quick {
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(0, 73, 219, 0.05), rgba(245, 166, 35, 0.08));
  border: 1px solid rgba(0, 40, 100, 0.07);
}
.contact-quick-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.contact-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.contact-quick-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-content-soft);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 40, 100, 0.08);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.contact-quick-links a:hover {
  color: var(--color-accent);
  border-color: rgba(0, 73, 219, 0.22);
  background: #fff;
}

.contact-form-shell {
  padding: clamp(1.35rem, 2.8vw, 1.85rem);
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 40, 100, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 48px rgba(0, 30, 90, 0.08);
}
.contact-form-head { margin-bottom: 1.15rem; }
.contact-form-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.contact-form-head h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem);
  letter-spacing: -0.025em;
  color: var(--color-content-soft);
}
.contact-form-head p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}
.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  font-size: 0.9375rem;
}
.contact-form .field textarea { min-height: 140px; }
.contact-form-foot {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 991px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-channel { transition: none; }
  .contact-channel:hover { transform: none; }
}

/* ===== Events browse (list + sticky calendar) ===== */
.events-browse {
  padding-block: clamp(2rem, 4vw, 3.25rem);
  background: var(--color-surface-alt);
}
.ev-browse-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
.events-toolbar {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.ev-tabs {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}
.ev-tab {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-content-soft);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}
.ev-tab:hover {
  border-color: rgba(0, 73, 219, 0.45);
  color: var(--color-accent);
}
.ev-tab.is-active {
  background: linear-gradient(135deg, var(--color-accent), #2563eb);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 73, 219, 0.28);
}
.ev-search-wrap {
  position: relative;
  width: 220px;
  min-height: 42px;
  display: flex;
  align-items: stretch;
  flex: 1 1 180px;
  max-width: 280px;
}
.ev-search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
}
.ev-search {
  width: 100%;
  padding: 0 14px 0 36px;
  height: 42px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  font-size: 0.9rem;
  color: var(--color-content);
  outline: none;
  transition: border-color 180ms ease;
  box-sizing: border-box;
  font-family: var(--font-body);
}
.ev-search:focus {
  border-color: var(--color-accent);
}
.ev-search::placeholder {
  color: #98a2b3;
}

.ev-panel { display: none; }
.ev-panel.is-active { display: block; }
/* Without JS: show both panels stacked */
.ev-browse-layout:not(.is-ready) .ev-panel {
  display: block;
  margin-bottom: 1.5rem;
}
.ev-browse-layout:not(.is-ready) .ev-tabs,
.ev-browse-layout:not(.is-ready) .ev-search-wrap {
  display: none;
}
.ev-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.event-row.ev-hidden,
.ev-empty.is-hidden {
  display: none !important;
}
.ev-empty {
  margin: 0.5rem 0 0;
  padding: 1.25rem 1rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.95rem;
  background: #fff;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
}

.page-events .event-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  align-items: start;
  background: var(--color-surface);
  border: 1px solid rgba(0, 40, 100, 0.06);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(16, 42, 77, 0.05);
  padding: 1.35rem 1.5rem;
  transition: transform 280ms ease, box-shadow 280ms ease;
  text-decoration: none;
  color: inherit;
}
.page-events .event-row:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 28px rgba(0, 40, 100, 0.1);
}
.page-events .event-row.is-past {
  opacity: 0.88;
}
.page-events .event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
}
.page-events .event-date::before {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
}
.page-events .event-date .d {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.85rem);
  line-height: 1.1;
  color: var(--color-content);
  padding: 0.5rem 0.25rem 0.2rem;
  text-align: center;
}
.page-events .event-date .m {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  padding-bottom: 0.6rem;
}
.page-events .event-info h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--color-content-soft);
  font-weight: 700;
}
.page-events .event-info > p {
  margin: 0.45rem 0 0.55rem;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.page-events .event-title-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-bottom: 0.15rem;
}
.page-events .ev-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  color: #fff;
}
.page-events .ev-tag-upcoming {
  background: linear-gradient(135deg, var(--color-accent), #2563eb);
}
.page-events .ev-tag-completed {
  background: #374151;
}
.page-events .event-info .meta {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  color: var(--color-muted);
  font-size: 0.82rem;
  margin-top: 0.35rem;
}
.page-events .event-info .meta span {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}
.page-events .ev-action-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}
.page-events .ev-action-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-content-soft);
  background: #f1f4f9;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.page-events .ev-action-tag:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.page-events .ev-action-tag:hover svg {
  stroke: #fff;
}
.page-events .ev-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #e2ebf5;
  color: var(--color-content-soft);
  flex-shrink: 0;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.page-events .event-row:hover .ev-arrow-btn,
.page-events .ev-arrow-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.page-events .ev-arrow-btn:hover {
  transform: translateY(-2px);
}

.ev-calendar {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  padding: 1.25rem;
  position: sticky;
  top: var(--header-h, 88px);
  user-select: none;
  margin-top: 3.85rem;
}
.evc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.evc-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-content-soft);
  font-family: var(--font-display);
}
.evc-nav {
  display: flex;
  gap: 0.25rem;
}
.evc-nav button {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--color-border);
  border-radius: 7px;
  background: #fff;
  color: var(--color-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 150ms ease, color 150ms ease;
  padding: 0;
}
.evc-nav button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.evc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.evc-dow {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-muted);
  padding: 4px 0 8px;
  letter-spacing: 0.04em;
}
.evc-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border-radius: 7px;
  color: var(--color-content-soft);
  cursor: default;
  position: relative;
}
.evc-day.other-month { color: #c8cdd6; }
.evc-day.has-event {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-accent);
}
.evc-day.has-event::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}
.evc-day.has-event:hover {
  background: rgba(0, 73, 219, 0.1);
}
.evc-day.is-selected {
  background: var(--color-accent) !important;
  color: #fff !important;
}
.evc-day.is-selected::after { background: #fff; }
.evc-clear {
  display: none;
  margin-top: 0.875rem;
  width: 100%;
  padding: 0.5rem;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  font-size: 0.82rem;
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 150ms ease, color 150ms ease;
}
.evc-clear:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.evc-clear.is-visible { display: block; }
.evc-filter-label {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--color-muted);
  text-align: center;
  min-height: 18px;
}

@media (max-width: 991px) {
  .ev-browse-layout {
    grid-template-columns: 1fr;
  }
  .ev-calendar {
    position: static;
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  .page-events .event-row {
    grid-template-columns: 72px 1fr;
    padding: 1rem;
  }
  .page-events .ev-arrow-btn {
    grid-column: 2;
    justify-self: start;
  }
  .ev-search-wrap {
    max-width: none;
    flex: 1 1 100%;
  }
}
@media (max-width: 480px) {
  .evc-day { font-size: 0.75rem; }
  .evc-dow { font-size: 0.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  .page-events .event-row,
  .page-events .ev-arrow-btn,
  .ev-tab {
    transition: none;
  }
  .page-events .event-row:hover { transform: none; }
}

/* ===== Media Room hub ===== */
.media-hub {
  padding-block: clamp(2rem, 4vw, 3.25rem);
  background: var(--color-surface-alt);
}
.media-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.75rem;
}
.media-hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.45rem 1.4rem 1.3rem;
  border-radius: calc(var(--radius-lg) + 2px);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.92)),
    #fff;
  border: 1px solid rgba(0, 40, 100, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 32px rgba(0, 30, 90, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.media-hub-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-secondary));
  opacity: 0.85;
}
.media-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 73, 219, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 22px 40px rgba(0, 40, 100, 0.12);
}
.media-hub-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.media-hub-card--wide {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.25rem;
}
.media-hub-card--wide .media-hub-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.media-hub-card--wide .media-hub-cta {
  margin-top: 0;
}
.media-hub-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(0, 73, 219, 0.08);
  color: var(--color-accent);
  flex-shrink: 0;
}
.media-hub-icon svg {
  width: 22px;
  height: 22px;
}
.media-hub-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary-deep);
}
.media-hub-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--color-content-soft);
}
.media-hub-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}
.media-hub-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
}
.media-hub-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}
.media-hub-card:hover .media-hub-cta svg {
  transform: translateX(3px);
}

@media (max-width: 1080px) {
  .media-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .media-hub-grid {
    grid-template-columns: 1fr;
  }
  .media-hub-card--wide {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .media-hub-card,
  .media-hub-cta svg {
    transition: none;
  }
  .media-hub-card:hover { transform: none; }
  .media-hub-card:hover .media-hub-cta svg { transform: none; }
}

/* ===== Publications page (newsletters & journals) ===== */
.pub-jump {
  padding-block: 0.85rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.pub-jump .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.pub-jump-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-content-soft);
  background: rgba(0, 73, 219, 0.06);
  border: 1px solid rgba(0, 73, 219, 0.1);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.pub-jump-link:hover {
  color: var(--color-accent);
  border-color: rgba(0, 73, 219, 0.25);
  background: rgba(0, 73, 219, 0.1);
}
.pub-block {
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem);
  scroll-margin-top: calc(var(--header-h, 88px) + 1rem);
}
.pub-block .section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.pub-block .section-head h2 {
  margin: 0.55rem 0 0.5rem;
  color: var(--color-content-soft);
}
.pub-block .section-head p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}
.page-publications .pub-page-card {
  background: #fff;
  border: 1px solid rgba(0, 40, 100, 0.08);
  box-shadow: 0 12px 28px rgba(0, 30, 90, 0.06);
  color: var(--color-content-soft);
}
.page-publications .pub-page-card:hover {
  border-color: rgba(0, 73, 219, 0.2);
  box-shadow: 0 18px 36px rgba(0, 40, 100, 0.1);
  transform: translateY(-3px);
}
.page-publications .pub-page-card .pubs-kicker {
  color: var(--color-accent);
  background: rgba(0, 73, 219, 0.08);
}
.page-publications .pub-page-card .pubs-copy h3 {
  color: var(--color-content-soft);
}
.page-publications .pub-page-card .pubs-copy p {
  color: var(--color-muted);
  -webkit-line-clamp: unset;
  display: block;
}
.page-publications .pub-page-card .pubs-link {
  color: var(--color-accent);
}
.page-publications .pub-page-card .pubs-link:hover {
  color: var(--color-accent-hover);
}

.pub-newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
  padding: clamp(1.45rem, 2.8vw, 2rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background: #fff;
  border: 1px solid rgba(0, 40, 100, 0.08);
  box-shadow: 0 14px 32px rgba(0, 30, 90, 0.06);
}
.pub-newsletter-copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  color: var(--color-content-soft);
}
.pub-newsletter-copy p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 48ch;
}
.pub-newsletter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.pub-newsletter-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.pub-newsletter-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(0, 73, 219, 0.05);
  border: 1px solid rgba(0, 73, 219, 0.08);
  color: var(--color-content-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.pub-newsletter-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  color: var(--color-accent);
  background: rgba(0, 73, 219, 0.1);
}
.pub-newsletter-icon svg { width: 1.05rem; height: 1.05rem; }

@media (max-width: 991px) {
  .page-publications .pub-page-grid,
  .pub-newsletter-panel { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-publications .pub-page-card {
    grid-template-columns: auto 1fr;
  }
  .pub-newsletter-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .page-publications .pub-page-card {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Responsive audit ? standard breakpoints:
   1080px / 991px / 768px / 480px
   ========================================================= */

/* Global overflow & media safety */
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
}
img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}
.video-embed,
.video-embed iframe {
  width: 100%;
  max-width: 100%;
}
.container,
.section,
main,
.form,
.form-row,
.field,
.ask-main,
.contact-main,
.ask-form-shell,
.contact-form-shell {
  min-width: 0;
}

/* ----- ?1080px: tighten multi-column layouts ----- */
@media (max-width: 1080px) {
  .media-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mem-plans {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  .mem-pay {
    max-width: 100%;
  }
  .wvd-year-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.page-home .hero-top {
    gap: clamp(20px, 3vw, 40px);
  }
  .ev-search-wrap {
    max-width: none;
    flex: 1 1 200px;
  }
  .gal-album .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ----- ?991px: tablet / mobile nav ----- */
@media (max-width: 991px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .ask-layout,
  .contact-layout,
  .ev-browse-layout,
  .fellow-open-inner,
  .journal-spotlight,
  .mem-plans,
  .mem-pay,
  .mem-overview-stats,
  .pubs-grid,
  .acc-grid,
  .cta-card,
  .wvd-intro-panel,
  .pub-newsletter-panel,
  .page-publications .pub-page-grid,
  body.page-home .hero-top {
    grid-template-columns: 1fr;
  }
  .ask-aside,
  .contact-aside,
  .ev-calendar {
    position: static;
    margin-top: 0;
  }
  .ev-calendar { order: 0; }
  .media-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .media-hub-card--wide {
    grid-column: 1 / -1;
  }
  .resource-grid,
  .video-grid,
  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wvd-year-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
  .wvd-city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gal-album .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-item {
    grid-template-columns: 90px 1fr;
  }
  .news-item .news-actions {
    grid-column: 2;
  }
  .page-events .event-row {
    grid-template-columns: 88px 1fr auto;
  }
  .brand-text-full {
    font-size: 0.85rem;
  }
  .site-header .brand-logo { height: 64px; }
  body.has-hero-full .site-header:not(.is-scrolled) .brand-logo { height: 72px; }
  .mem-pay-cta {
    white-space: normal;
    justify-self: stretch;
    width: 100%;
    text-align: center;
  }
  .directory-toolbar {
    padding: 0.85rem;
  }
  /* Long emails: prefer shrink over mid-word wrap; 420px refines further */
  .contact-channel-value,
  .ask-contact-card > a,
  .fellow-open-mail,
  .fellow-mail {
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* ----- ?768px: phone landscape / small tablet ----- */
@media (max-width: 768px) {
  .section {
    padding-block: clamp(1.75rem, 5vw, 2.75rem);
  }
  .page-hero {
    padding-block: clamp(1.5rem, 4vw, 2.25rem);
  }
  .media-hub-grid {
    grid-template-columns: 1fr;
  }
  .media-hub-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .resource-grid,
  .video-grid,
  .poster-grid,
  .contact-grid,
  .grid-3,
  .grid-4,
  .md-grid,
  .wvd-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid,
  .gal-album .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
  .news-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .news-item .news-actions {
    grid-column: 1;
  }
  .page-events .event-row {
    grid-template-columns: 72px 1fr;
  }
  .page-events .ev-arrow-btn {
    grid-column: 2;
    justify-self: start;
  }
  .events-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .ev-search-wrap {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
  }
  .ev-tabs {
    width: 100%;
  }
  .ev-tab {
    flex: 1 1 auto;
    justify-content: center;
  }
  .faq-topic-head {
    grid-template-columns: auto 1fr;
  }
  .faq-topic-pdf {
    grid-column: 2;
    justify-self: start;
    white-space: normal;
  }
  .pub-newsletter-actions,
  .mem-overview-actions,
  .mem-benefit-actions,
  .contact-quick-links {
    width: 100%;
  }
  .hero-panels {
    grid-template-columns: 1fr;
  }
  body.page-home .hero-media {
    max-width: 100%;
  }
  .nav-actions .btn-primary {
    padding-inline: 0.85rem;
    font-size: 0.82rem;
  }
  .ask-form-shell,
  .contact-form-shell {
    padding: 1.15rem;
  }
  .field input,
  .field select,
  .field textarea,
  .directory-search-wrap input[type="search"],
  .directory-select select,
  .ev-search {
    font-size: 16px; /* avoid iOS zoom on focus */
  }
}

/* ----- ?480px: small phones ----- */
@media (max-width: 480px) {
  .gutter,
  .container {
    padding-inline: max(16px, var(--gutter));
  }
  .media-hub-grid,
  .resource-grid,
  .video-grid,
  .poster-grid,
  .contact-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .md-grid,
  .wvd-city-grid,
  .footer-top,
  .mem-overview-stats,
  .mem-plans {
    grid-template-columns: 1fr;
  }
  .gallery-grid,
  .gal-album .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .media-hub-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .page-publications .pub-page-card,
  .pubs-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .pubs-cover {
    width: min(9rem, 42vw);
    margin-inline: 0;
  }
  .brand-text-full {
    display: none;
  }
  .site-header .brand-logo {
    height: 52px;
  }
  body.has-hero-full .site-header:not(.is-scrolled) .brand-logo {
    height: 56px;
  }
  .nav-actions .btn-primary {
    padding-inline: 0.7rem;
    font-size: 0.78rem;
  }
  .page-events .event-row {
    grid-template-columns: 1fr;
  }
  .page-events .event-date {
    max-width: 5.5rem;
  }
  .page-events .ev-arrow-btn {
    grid-column: 1;
  }
  .mem-plan-cta,
  .mem-overview-actions .btn,
  .mem-benefit-actions .btn,
  .pub-newsletter-actions .btn,
  .contact-form .btn-block,
  .ask-form .btn-block {
    width: 100%;
  }
  .breadcrumb {
    font-size: 0.8rem;
  }
  h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }
  .evc-day {
    font-size: 0.72rem;
  }
  .directory-alpha {
    gap: 0.2rem;
  }
  .directory-alpha a,
  .directory-alpha button {
    min-width: 1.6rem;
    padding: 0.25rem;
    font-size: 0.75rem;
  }
}

/* =========================================================
   Mobile polish ? hero panels, CTAs, emails (420), padding
   ========================================================= */

/* Hero news/events panels: stack so ticker titles stay readable */
@media (max-width: 580px) {
  .hero-panels {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    width: 100%;
  }
  .hero-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon label"
      "ticker ticker";
    column-gap: 0.75rem;
    row-gap: 0.45rem;
    align-items: center;
    padding: 0.85rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .hp-icon { grid-area: icon; }
  .hp-label {
    grid-area: label;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
  .hp-ticker {
    grid-area: ticker;
    width: 100%;
    height: 1.55em;
    flex: none;
  }
  .hp-ticker .hp-item {
    display: flex;
    align-items: center;
  }
  .hp-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
    font-weight: 600;
  }
  .hp-date { display: none; }
}

/* Full-width hero + footer CTA buttons */
@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.65rem;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.65rem;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .fellow-open-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .fellow-open-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-card {
    padding: 1.35rem 1.1rem;
  }
  .sc-head {
    padding: 1rem 1rem 0;
  }
  .sc-body {
    padding: 0.5rem 1rem 1.1rem;
  }
  .sc-states {
    gap: 0.45rem;
  }
  .sc-states span {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    max-width: 100%;
  }
  .fellow-open-copy {
    padding: 1.15rem 1rem;
  }
  .fellow-open-contacts {
    padding: 0.85rem 0.9rem;
    width: 100%;
  }
  .contact-channel {
    padding: 0.8rem 0.85rem;
    gap: 0.65rem;
  }
  .contact-aside-lead,
  .contact-aside .lead {
    max-width: none;
  }
}

/* 420px: keep emails on one line; tighten padding */
@media (max-width: 420px) {
  .container,
  .gutter {
    padding-inline: max(14px, calc(var(--gutter) - 4px));
  }
  .contact-channel-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 10px;
  }
  .contact-channel-value,
  .fellow-open-mail,
  .fellow-mail,
  .ask-contact-card > a {
    font-size: clamp(0.7rem, 2.85vw, 0.84rem);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: normal;
    line-height: 1.3;
    max-width: 100%;
  }
  .fellow-open-mail {
    gap: 0.4rem;
    max-width: 100%;
  }
  .fellow-open-mail > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: inherit;
    min-width: 0;
  }
  .fellow-open-mail-icon {
    width: 1.35rem;
    height: 1.35rem;
  }
  .fellow-open-mail-icon svg {
    width: 0.75rem;
    height: 0.75rem;
  }
  .sc-states span {
    font-size: 0.74rem;
    padding: 0.45rem 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .hero-cta .btn,
  .cta-actions .btn,
  .fellow-open-actions .btn {
    padding-inline: 1rem;
    font-size: 0.92rem;
  }
}
