/* ============================================================
   Medical Alumni Association — Design System
   Heritage palette drawn from the crest (cobalt shield, gold
   caduceus), restrained to institutional standards: white,
   airy surfaces; one deep blue; brass-gold as fine detail only.
   ============================================================ */

:root {
  --navy: #182e66;          /* primary brand blue, desaturated from crest #122b8e */
  --navy-deep: #0e1c44;     /* footer, deep bands */
  --navy-soft: #27418a;
  --blue: #2b54ad;          /* interactive accent / links */
  --gold: #b08d33;          /* muted heritage brass */
  --gold-soft: #d8c285;
  --gold-deep: #856b1d;     /* gold legible on light backgrounds — 5.1:1 on white, 4.8:1 on --surface */
  --bg: #ffffff;
  --surface: #f5f7fb;
  --tint: #eef2fa;          /* pale navy wash behind icons, badges and avatars */
  --white: #ffffff;
  --ink: #1f2733;
  --ink-soft: #5b6573;
  --line: #e4e8f0;
  --line-strong: #c9d3e6;   /* border on hover */
  --shadow-sm: 0 1px 3px rgba(14, 28, 68, 0.06);
  --shadow-md: 0 6px 24px rgba(14, 28, 68, 0.09);
  --shadow-lg: 0 16px 48px rgba(14, 28, 68, 0.14);
  --radius: 10px;
  --header-h: 74px;         /* measured height of .site-header — the mobile nav hangs off this */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* One visible focus ring for the whole site — keyboard users must always see
   where they are, including on the navy and gold bands. */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}
.section-navy :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible,
.contact-info-card :focus-visible,
.hero--photo :focus-visible,
.trust-strip :focus-visible { outline-color: var(--gold-soft); }

/* Skip link — first tab stop on every page */
.skip-link {
  position: fixed;
  left: 50%;
  top: 0;
  transform: translate(-50%, -200%);
  z-index: 300;
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: translate(-50%, 0); text-decoration: none; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------- Header (white, institutional) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

.brand-text { line-height: 1.25; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
  color: var(--navy);
}

.brand-tag {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
}

.main-nav a {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.main-nav a.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  font-weight: 600 !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--navy-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.65rem 0.5rem;   /* 44px tall — the minimum comfortable tap target */
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (light, editorial) ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

/* Photo hero variant */
.hero--photo { background: var(--navy-deep); border-bottom: none; overflow: hidden; }
.hero--photo .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero--photo .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* directional scrim — darkens (neutrally, not blue) only where the text sits,
     clearing to the right so the photo keeps its true colour */
  background:
    linear-gradient(90deg, rgba(8, 12, 22, 0.86) 0%, rgba(8, 12, 22, 0.6) 32%, rgba(8, 12, 22, 0.18) 64%, rgba(8, 12, 22, 0) 100%),
    linear-gradient(180deg, rgba(8, 12, 22, 0) 55%, rgba(8, 12, 22, 0.42) 100%);
}
.hero--photo .hero-inner { padding: 7rem 0 6.5rem; max-width: 640px; }
.hero.hero--photo .hero-eyebrow { color: var(--gold-soft); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.hero.hero--photo .hero-eyebrow::before { background: var(--gold-soft); }
.hero.hero--photo h1 { color: #fff; text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6); }
.hero.hero--photo h1 em { color: var(--gold-soft); }
.hero.hero--photo p { color: rgba(255, 255, 255, 0.94); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65); }
@media (max-width: 640px) {
  /* text spans full width on phones — darken bottom-up instead of left-right */
  .hero--photo .hero-bg::after {
    background: linear-gradient(180deg, rgba(8, 12, 22, 0.42) 0%, rgba(8, 12, 22, 0.74) 100%);
  }
}

/* Trust strip */
.trust-strip { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.trust-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.4rem;
  padding: 1rem 0;
  margin: 0;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.trust-strip li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 6rem;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 1.4rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
}

.hero p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 2.4rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { text-decoration: none; }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-soft); box-shadow: var(--shadow-md); }

.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Gold button — reserved for dark navy bands.
   Ink is navy, never white: white on this brass is 3.1:1 and fails AA at button size. */
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-deep); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy {
  background: var(--navy-deep);
  color: var(--white);
}

.section-head { max-width: 640px; margin-bottom: 3.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-navy .eyebrow { color: var(--gold-soft); }

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 550;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-navy h2.section-title { color: var(--white); }

.section-head p { color: var(--ink-soft); font-size: 1.02rem; }
.section-navy .section-head p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}

.card-icon svg { width: 25px; height: 25px; stroke: var(--navy); }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.card p { font-size: 0.93rem; color: var(--ink-soft); }

.card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue);
}

/* ---------- History split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-media .emblem { width: 46%; max-width: 220px; opacity: 0.95; }

.split-media::after {
  content: "EST. 1923";
  position: absolute;
  bottom: 1.4rem;
  right: 1.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
}

.split-body .lead {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.split-body p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 0.97rem; }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  position: relative;
  margin-top: 2.5rem;
  padding-left: 1.7rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  background: linear-gradient(var(--gold), rgba(176, 141, 51, 0.15));
}

.timeline li { position: relative; padding-bottom: 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--gold);
}

.timeline .t-year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
  display: block;
}

.timeline p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- People ---------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.person:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }

.person-avatar {
  width: 104px;
  height: 104px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--tint);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold-soft);
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.person h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}

.person .role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.35rem;
  font-weight: 600;
}

.person.lead-person { border-top: 3px solid var(--gold); }

/* ---------- Honorary list ---------- */
/* Multi-column flow rather than a grid: a grid stretches every item in a row to
   the tallest, which left ragged gaps beside the annotated names, and it read
   left-to-right (2025, 2019 / 2017, 2016) which is nonsense for a dated roll.
   Columns flow top-to-bottom, so the years stay in order down each column. */
.honorary-grid {
  column-count: 2;
  column-gap: 2.5rem;
}

.honorary-item {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.honorary-item .year {
  font-family: var(--font-display);
  color: var(--gold-soft);
  font-weight: 600;
  flex-shrink: 0;
  width: 3.2rem;
  font-variant-numeric: tabular-nums;
}

.honorary-item .name { color: rgba(255, 255, 255, 0.9); }

/* Annotation beneath a name. Sits in the same flex column as .name so the
   year stays aligned on its own baseline. */
.honorary-item .who { display: block; }

.honorary-item .note {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.79rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- Membership ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.tier:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }

.tier.featured { border-top: 4px solid var(--gold); }

.tier-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.tier h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.7rem;
}

.tier > p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.4rem; }

.tier ul { list-style: none; margin-bottom: 1.8rem; flex-grow: 1; }

.tier li {
  position: relative;
  padding: 0.45rem 0 0.45rem 2rem;
  font-size: 0.93rem;
  color: var(--ink);
  border-bottom: 1px solid var(--surface);
}
.tier li:last-child { border-bottom: none; }

.tier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Facilities ---------- */
.facility-level {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2.6rem 0 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.facility-level::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: var(--line);
}

.facility-level:first-of-type { margin-top: 0; }

/* ---------- Partners ---------- */
.partner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.6rem;
  align-items: center;
}

.partner-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--gold);
}

.partner h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.partner .partner-type {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.partner p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.partner p:last-child { margin-bottom: 0; }

/* Logo plates holding real tenant logos */
.partner-logo.plate-dark,
.partner-logo.plate-light {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  min-height: 150px;
}
.partner-logo.plate-dark { background: var(--navy-deep); }
.partner-logo.plate-light {
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--gold);
}
.partner-logo.plate-dark img,
.partner-logo.plate-light img {
  max-height: 116px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* KinDee typographic wordmark (no public logo available) */
.partner-logo.tenant-kindee {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 1.7rem 1rem;
  min-height: 150px;
  background: linear-gradient(150deg, #c0392b 0%, #9c2418 100%);
  border-bottom: 1px solid var(--gold-soft);
}
.tenant-kindee .tenant-kicker {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}
.tenant-kindee .tenant-name {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
}
.tenant-kindee .tenant-sub {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  padding-left: 0.32em;
}

.partner-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
}
.partner-link:hover { color: var(--navy); text-decoration: none; }

/* ---------- News ---------- */
.news-card { display: flex; flex-direction: column; overflow: hidden; }

.news-thumb {
  margin: -2rem -1.8rem 1.4rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
  background: var(--surface);
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-thumb img { transform: scale(1.05); }

.news-date {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.news-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- Photography ---------- */
.split-media .split-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-media.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(14, 28, 68, 0) 50%, rgba(14, 28, 68, 0.62) 100%);
}
.split-media.has-photo::after { z-index: 2; }

.media-band {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-band img { width: 100%; height: clamp(260px, 42vw, 460px); object-fit: cover; display: block; }
.media-band figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 2rem 1.8rem 1.3rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.06rem;
  background: linear-gradient(180deg, rgba(14, 28, 68, 0) 0%, rgba(14, 28, 68, 0.74) 100%);
}

.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.photo-duo figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.photo-duo img { width: 100%; height: clamp(220px, 30vw, 320px); object-fit: cover; display: block; }
.photo-duo figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--white);
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .photo-duo { grid-template-columns: 1fr; }
}

/* ---------- Floating call button + mobile bar ---------- */
/* Always labelled. A circle that expands on hover animates layout and hides its
   own purpose until you find it; a named button costs nothing and reads instantly. */
.fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 56px;
  padding: 0 1.4rem 0 1.15rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(14, 28, 68, 0.34);
  border: 2px solid var(--gold);
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s ease, box-shadow 0.2s;
}
.fab svg { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--gold-soft); }
.fab:hover, .fab:focus-visible {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(14, 28, 68, 0.4);
  text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
  .fab { transition: background 0.2s; }
  .fab:hover, .fab:focus-visible { transform: none; }
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  box-shadow: 0 -4px 18px rgba(14, 28, 68, 0.16);
}
.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.mobile-cta-bar a svg { width: 18px; height: 18px; }
.mobile-cta-bar .mcta-call { background: var(--navy); color: #fff; }
.mobile-cta-bar .mcta-call svg { stroke: var(--gold-soft); }
.mobile-cta-bar .mcta-join { background: var(--gold); color: var(--navy-deep); }
@media (max-width: 640px) {
  .fab { display: none; }
  .mobile-cta-bar { display: grid; }
  body { padding-bottom: 56px; }
}

/* Honeypot — hidden from humans, bots fill it */
.hp-field { position: absolute; left: -5000px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold-deep);
  transition: transform 0.25s;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 1.1rem 1.4rem 1.3rem; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  border-top: 1px solid var(--gold);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 550;
  margin-bottom: 0.9rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 54ch;
  margin: 0 auto 2rem;
}

.cta-band .btn-gold { color: var(--navy-deep); background: var(--gold-soft); }
.cta-band .btn-gold:hover { background: var(--white); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.contact-row {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: flex-start;
}
.contact-row:last-of-type { border-bottom: none; }

.contact-row svg { width: 20px; height: 20px; stroke: var(--gold-soft); flex-shrink: 0; margin-top: 4px; }

.contact-row .label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: block;
}

.contact-row .value { color: rgba(255, 255, 255, 0.88); font-size: 0.96rem; }
.contact-row a { color: rgba(255, 255, 255, 0.88); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
  box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 84, 173, 0.14);
  background: var(--white);
}

/* Form outcome messages — announced to screen readers via role=status / role=alert */
.form-success,
.form-error {
  margin-top: 1.1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-success {
  color: var(--navy);
  background: var(--tint);
  border: 1px solid var(--line);
}
.form-error {
  color: #8a1f1f;
  background: #fdf2f2;
  border: 1px solid #f0d4d4;
  font-weight: 500;
}
.form-error a { color: #8a1f1f; text-decoration: underline; }

.map-embed {
  margin-top: 3.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Page hero (inner pages, light) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 4.2rem 0 3.6rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 550;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.page-hero p { color: var(--ink-soft); max-width: 62ch; font-size: 1.04rem; }

.breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.breadcrumb a { color: var(--ink-soft); }

/* ---------- Quote / message ---------- */
.message-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.8rem 2.6rem;
  box-shadow: var(--shadow-sm);
  max-width: 820px;
}

/* The letter reads as a letter: a gold rule under the salutation, not a tab down the side. */
.message-card .salutation {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--gold-soft);
}

.message-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 1.1rem; }

.message-card .signature {
  margin-top: 1.8rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
}

.message-card .signature span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name { color: var(--white); font-size: 1.1rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 0.9rem; max-width: 34ch; }

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-col a:hover { color: var(--gold-soft); }

.footer-col p { font-size: 0.9rem; margin-bottom: 0.55rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.6rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .honorary-grid { column-count: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-media { min-height: 280px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    /* visibility keeps the closed panel's links out of the tab order —
       transform alone leaves them focusable off-screen */
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.35s ease, visibility 0s;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    align-items: stretch;
  }

  .main-nav li { border-bottom: 1px solid var(--surface); }
  .main-nav li:last-child { border-bottom: none; padding: 1rem 1.5rem 0; }

  .main-nav a {
    display: block;
    padding: 0.95rem 1.5rem;
    border-bottom: none;
    font-size: 0.95rem;
    color: var(--ink);
  }

  .main-nav a.active { background: var(--surface); color: var(--navy); }

  .nav-cta { text-align: center; }

  .hero-inner { padding: 4rem 0 3.6rem; }
  .section { padding: 3.8rem 0; }
  .tier-grid, .contact-grid { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; gap: 1.2rem; }
  .partner-logo { padding: 1.4rem 1rem; }
  .cta-band { padding: 3rem 1.6rem; }
}

@media (max-width: 600px) {
  /* Thumb-sized tap targets: inline links are 14-23px tall by default, which is
     a miss-and-retry on a phone. Pad them out without changing how they read. */
  .card-link, .partner-link {
    padding: 0.6rem 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer-col li { margin-bottom: 0; }
  .footer-col li a { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-row a, .footer-col p a, .breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .card-grid, .card-grid.two, .card-grid.four { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .honorary-grid { column-count: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .brand-name { font-size: 0.92rem; }
  .brand-tag { font-size: 0.56rem; }
  .hero h1 { font-size: 2.1rem; }
  .footer-bottom { flex-direction: column; }
}
