/* =============================================================
   WATERMEN'S ALLIANCE — styles.css
   Modern coastal nonprofit · Premium · Responsive
   ============================================================= */

/* ─── Custom Properties ─────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy:        #0c1a2e;
  --navy-mid:    #162845;
  --slate:       #1e3a5f;
  --teal:        #2a7d6f;
  --teal-light:  #3a9888;
  --sea-mist:    #eaf0f4;
  --sand:        #f5f0e8;
  --white:       #ffffff;
  --charcoal:    #2c2c2c;
  --muted:       #5a6473;
  --border:      #dde3ea;

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Spacing */
  --section-py:  5rem;
  --container:   1200px;
  --gutter:      1.5rem;

  /* Transitions */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast:    180ms;
  --dur-mid:     320ms;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ─── Typography ────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.75;
}

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-padded {
  padding-block: var(--section-py);
}

.section-intro {
  margin-bottom: 3rem;
}

.section-intro-light .section-label {
  color: var(--teal-light);
}

.section-intro-light .section-heading {
  color: var(--white);
}

.section-intro-light .section-subtext {
  color: rgba(255,255,255,0.65);
}

.section-cta {
  margin-top: 3rem;
  text-align: center;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background-color: var(--teal-light);
  border-color: var(--teal-light);
  box-shadow: 0 6px 20px rgba(42,125,111,0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ─── Background Variants ───────────────────────────────────── */
.bg-sea-mist {
  background-color: var(--sea-mist);
}

.bg-navy {
  background-color: var(--navy);
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--navy); /* solid default; .transparent overrides for hero pages only */
  transition: background-color var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease),
              padding var(--dur-mid) var(--ease);
  padding-block: 1.25rem;
}

.site-header.transparent {
  background-color: transparent;
}

.site-header.scrolled {
  background-color: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
  padding-block: 0.85rem;
}

/* Interior pages: nav is always opaque — no dark hero image beneath */
body.interior .site-header {
  background-color: var(--navy);
}
body.interior .site-header.transparent {
  background-color: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo-link {
  flex-shrink: 0;
  display: block;
}

.site-logo {
  height: 52px;
  width: auto;
  transition: height var(--dur-mid) var(--ease);
}

.scrolled .site-logo {
  height: 44px;
}

/* Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease);
}

.nav-link:hover {
  color: var(--white);
  background-color: rgba(255,255,255,0.08);
}

.btn-nav {
  font-size: 0.8rem;
  padding: 0.55rem 1.25rem;
}

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease),
              opacity var(--dur-mid) var(--ease);
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Slight desaturation + minimal brightness pull for a cool, cinematic base */
  filter: saturate(0.78) brightness(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Primary left-to-right readability gradient — text sits cleanly on left */
    linear-gradient(
      to right,
      rgba(6, 15, 32, 0.88) 0%,
      rgba(10, 22, 42, 0.66) 38%,
      rgba(10, 22, 42, 0.20) 72%,
      rgba(10, 22, 42, 0.06) 100%
    ),
    /* Cinematic top/bottom vignette */
    linear-gradient(
      to bottom,
      rgba(8, 18, 40, 0.20) 0%,
      transparent 35%,
      transparent 65%,
      rgba(6, 14, 32, 0.30) 100%
    ),
    /* Very faint cool-blue wash over the whole frame */
    linear-gradient(rgba(18, 48, 96, 0.07), rgba(18, 48, 96, 0.07));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero-text {
  max-width: 640px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-subheadline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 52ch;
}

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

.hero-supporting {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════════════════
   MISSION
   ═══════════════════════════════════════════════════════════════ */
.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.mission-intro .section-heading {
  margin-bottom: 1.25rem;
}

.mission-body {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.mission-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.1rem;
  row-gap: 0.35rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease);
}

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

.pillar-icon {
  grid-row: span 2;
  align-self: center;
  color: var(--teal);
  flex-shrink: 0;
  width: 36px;
  display: flex;
  align-items: center;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  align-self: end;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  align-self: start;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PREVIEW
   ═══════════════════════════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
  /* decorative accent border via outline */
  outline: 2px solid rgba(42, 125, 111, 0.22);
  outline-offset: 8px;
}

.about-image-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.65s var(--ease);
}

.about-image-frame:hover .about-image {
  transform: scale(1.04);
}

.about-body {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-body:last-of-type {
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   MEMBER CLUBS
   ═══════════════════════════════════════════════════════════════ */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.club-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              transform var(--dur-mid) var(--ease);
  text-align: center;
}

.club-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
  transform: translateY(-3px);
}

.club-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  width: 100%;
}

.club-logo {
  max-height: 72px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--dur-mid) var(--ease);
}

.club-card:hover .club-logo {
  filter: grayscale(0%);
}

.club-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   CURRENT TOPICS
   ═══════════════════════════════════════════════════════════════ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.topic-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: background-color var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease);
}

.topic-card:hover {
  background-color: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.topic-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(42,125,111,0.15);
  border: 1px solid rgba(42,125,111,0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.topic-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.topic-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.topic-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.topic-link:hover {
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════
   RESOURCES
   ═══════════════════════════════════════════════════════════════ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              transform var(--dur-mid) var(--ease);
  cursor: pointer;
}

.resource-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
  transform: translateY(-3px);
}

.resource-icon {
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.resource-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.resource-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.resource-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  transition: color var(--dur-fast) var(--ease);
}

.resource-card:hover .resource-link {
  color: var(--navy);
}

/* ═══════════════════════════════════════════════════════════════
   EVENTS
   ═══════════════════════════════════════════════════════════════ */
.events-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.75rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease);
}

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

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.5rem;
  text-align: center;
  flex-shrink: 0;
}

.event-month {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.event-day {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.event-details {
  min-width: 0;
}

.event-type {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.event-meta {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 7rem;
}

.cta-band-media {
  position: absolute;
  inset: 0;
}

.cta-band-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.cta-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 26, 46, 0.92) 0%,
    rgba(12, 26, 46, 0.80) 100%
  );
}

.cta-band-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-subtext {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  max-width: 48ch;
  margin-inline: auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background-color: var(--navy);
  color: rgba(255,255,255,0.65);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.1rem;
}

.footer-mission {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 36ch;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast) var(--ease);
}

.footer-social:hover {
  color: var(--white);
}

.footer-nav {
  display: flex;
  gap: 4rem;
}

.footer-nav-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast) var(--ease);
}

.footer-nav-list a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-location {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--dur-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 960px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  :root {
    --section-py: 4rem;
  }

  .mission-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mission-intro .section-subtext {
    max-width: none;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-col {
    order: -1;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-nav {
    gap: 3rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-py: 3.5rem;
    --gutter: 1.25rem;
  }

  /* Mobile header */
  .mobile-menu-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    background-color: var(--navy);
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--dur-mid) var(--ease);
    z-index: 99;
    overflow-y: auto;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-bottom: 2rem;
  }

  .nav-link {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0.85rem 0;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    border-radius: 0;
  }

  .nav-link:hover {
    background: none;
    color: var(--white);
  }

  .btn-nav {
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
  }

  /* Hero */
  .hero-content {
    padding-top: 6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Resources */
  .resources-grid {
    grid-template-columns: 1fr;
  }

  /* Events */
  .event-card {
    grid-template-columns: 60px 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  /* Clubs */
  .clubs-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  /* Footer */
  .footer-nav {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* CTA Band */
  .cta-band {
    padding-block: 5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .clubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-headline {
    font-size: 2rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HEADER — Interior Pages
   Clean editorial title band. No background image — premium type
   hierarchy on a subtle light gradient. nav is pinned navy via
   body.interior so white links stay readable.
   ═══════════════════════════════════════════════════════════════ */
.page-header {
  /* padding-top clears the fixed nav (~92px) and adds intentional breathing room */
  padding-top: 10rem;
  padding-bottom: 5.5rem;
  background: linear-gradient(
    160deg,
    #f2f7fa 0%,
    var(--sea-mist) 55%,
    #e6eef4 100%
  );
  border-bottom: 1px solid var(--border);
}

.page-header-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.page-header-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.page-header-desc {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.85;
  max-width: 600px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════════════
   LEADERSHIP GRID
   ═══════════════════════════════════════════════════════════════ */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              transform var(--dur-mid) var(--ease);
}

.leader-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 125, 111, 0.35);
  transform: translateY(-2px);
}

.leader-photo-wrap {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.1rem;
}

.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.65s var(--ease);
}

.leader-card:hover .leader-photo {
  transform: scale(1.04);
}

.leader-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.leader-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.leader-bio {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   HISTORY SECTION
   ═══════════════════════════════════════════════════════════════ */
.history-inner {
  max-width: 780px;
  margin-inline: auto;
}

.history-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.history-body:last-of-type {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MISSION STATEMENT BLOCK
   ═══════════════════════════════════════════════════════════════ */
.mission-statement-block {
  text-align: center;
  padding-block: var(--section-py);
  background: var(--navy);
}

.mission-statement-rule {
  width: 2.5rem;
  height: 2px;
  background: var(--teal);
  border: none;
  margin: 0 auto 2rem;
}

.mission-statement-text {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  max-width: 72ch;
  margin-inline: auto;
  opacity: 0.93;
}

.mission-statement-rule-after {
  width: 2.5rem;
  height: 2px;
  background: var(--teal);
  border: none;
  margin: 2rem auto 0;
}

/* ═══════════════════════════════════════════════════════════════
   PILLARS — Full (Mission Page)
   ═══════════════════════════════════════════════════════════════ */
.pillars-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar-full-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              transform var(--dur-mid) var(--ease);
}

.pillar-full-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
  transform: translateY(-3px);
}

.pillar-full-icon {
  color: var(--teal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.pillar-full-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.pillar-full-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.78;
}

/* ═══════════════════════════════════════════════════════════════
   WHY IT MATTERS — Mission Page
   ═══════════════════════════════════════════════════════════════ */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.why-list-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.why-list-marker {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--teal);
  margin-top: 0.1rem;
}

.why-list-text {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}

.why-list-text strong {
  color: var(--navy);
  font-weight: 600;
}

.why-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  outline: 2px solid rgba(42, 125, 111, 0.2);
  outline-offset: 8px;
}

.why-image-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ═══════════════════════════════════════════════════════════════
   CLUB CARDS — Full (Member Clubs Page)
   ═══════════════════════════════════════════════════════════════ */
.clubs-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.club-card-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem 2.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              transform var(--dur-mid) var(--ease);
}

.club-card-full:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
  transform: translateY(-3px);
}

.club-full-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  width: 100%;
  margin-bottom: 1.4rem;
}

.club-full-logo {
  max-height: 96px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter var(--dur-mid) var(--ease);
}

.club-card-full:hover .club-full-logo {
  filter: grayscale(0%);
}

.club-full-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.club-full-divider {
  width: 2rem;
  height: 1px;
  background: var(--teal);
  border: none;
  margin: 0 auto 0.9rem;
  opacity: 0.5;
}

.club-full-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — New Components (≤ 960px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .pillars-full-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .clubs-full-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .page-header {
    padding-top: 7.5rem;
    padding-bottom: 4rem;
  }

  .clubs-full-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   LEADER CARD — Expandable Full Bio
   ═══════════════════════════════════════════════════════════════ */
.leader-bio-full {
  margin-top: 0.9rem;
}

.leader-bio-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-fast) var(--ease);
}

/* Remove default browser disclosure triangle */
.leader-bio-toggle::-webkit-details-marker { display: none; }
.leader-bio-toggle::marker { content: ''; }

/* Chevron indicator */
.leader-bio-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--dur-fast) var(--ease);
  margin-top: 1px;
}

details[open] .leader-bio-toggle::after {
  transform: rotate(180deg);
}

.leader-bio-toggle:hover {
  color: var(--navy);
}

.leader-bio-expanded {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: left;
}

.leader-bio-expanded p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 0.75rem;
}

.leader-bio-expanded p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESOURCE LIST — Featured Documents (Resources Page)
   ═══════════════════════════════════════════════════════════════ */
.resources-doc-list {
  border-top: 1px solid var(--border);
}

.resource-doc-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.resource-doc-body {
  min-width: 0;
}

.resource-doc-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.resource-doc-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.resource-doc-link {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  transition: color var(--dur-fast) var(--ease);
}

.resource-doc-link:hover {
  color: var(--navy);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,125,111,0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.65;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-block {
  padding: 1.75rem;
  background: var(--sea-mist);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-info-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
  display: block;
}

.contact-info-text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}

.contact-info-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  display: inline-block;
  margin-top: 0.5rem;
  transition: color var(--dur-fast) var(--ease);
}

.contact-info-link:hover {
  color: var(--teal);
}

/* Social block */
.social-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--dur-fast) var(--ease);
}

.social-icon-link:hover {
  color: var(--teal);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — New Page Components (≤ 960px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .resource-doc-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

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