/* ==========================================================================
   COMMUNITIES FOR YOUTH — GLOBAL STYLES
   ==========================================================================
   Color palette:
   - Deep slate/navy blues  → headers, hero, footer
   - Clean whites           → content sections, cards
   - Warm gold accent       → primary buttons, badges, CTAs
   - Bright teal accent     → links, active states, highlights

   File structure:
   - index.html  → Home (hero + recent event)
   - about.html  → Mission + leadership team
   - events.html → June 12 recap + coming soon callout
   - style.css   → Shared styles (this file)
   - main.js     → Mobile navigation toggle
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (design tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Navy / slate palette */
  --navy-900: #0a1628;
  --navy-800: #0f2744;
  --navy-700: #1a365d;
  --navy-600: #1e3a5f;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;

  /* Accent colors */
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --gold-light: #fbbf24;
  --teal: #06b6d4;
  --teal-dark: #0891b2;

  /* Semantic aliases */
  --bg-dark: var(--navy-900);
  --bg-light: var(--off-white);
  --text-on-dark: var(--off-white);
  --text-on-light: var(--gray-900);
  --text-muted: var(--gray-500);
  --accent: var(--gold);
  --accent-hover: var(--gold-dark);
  --link-accent: var(--teal);

  /* Layout */
  --container-max: 1120px;
  --header-height: 76px;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.5rem;
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-elevated: 0 20px 60px rgba(15, 23, 42, 0.15);

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-light);
  color: var(--text-on-light);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container-max), calc(100% - 2rem));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: rgba(248, 250, 252, 0.82);
  max-width: 680px;
}

.section-intro,
.feature-intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   BUTTONS
   Swap accent color by changing --accent in :root
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--accent);
  color: var(--gray-900);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--accent-hover);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button--ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

/* --------------------------------------------------------------------------
   STICKY HEADER / NAVIGATION
   Links: Home | About/Team | Events | Get Involved
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* SWAP: Replace logo.jpg with your official logo file */
.site-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.brand-text {
  font-size: 0.95rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  color: rgba(248, 250, 252, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--teal);
}

/* Active page indicator — add class="is-active" to current nav link */
.main-nav a.is-active {
  color: var(--gold-light);
  background: rgba(245, 158, 11, 0.12);
}

.main-nav .button--secondary {
  margin-left: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   HOME — HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  color: var(--text-on-dark);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(6, 182, 212, 0.12), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.1), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}

/* Highlight phrase inside hero headline */
.hero-copy h1 .highlight {
  color: var(--gold-light);
  display: block;
}

.hero-copy .lead {
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

/* Hero side card — quick launch event preview */
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-elevated);
}

.hero-card__badge {
  display: inline-flex;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--gray-900);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.hero-highlights li {
  background: rgba(255, 255, 255, 0.07);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  border-left: 3px solid var(--teal);
}

/* --------------------------------------------------------------------------
   PAGE HERO (inner pages: About, Events)
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--text-on-dark);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.1), transparent 50%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 800px;
}

/* --------------------------------------------------------------------------
   FEATURE / EVENT SECTIONS (white content blocks)
   -------------------------------------------------------------------------- */
.feature-section,
.mission-section,
.team-section,
.students-section,
.callout-section {
  padding: 4rem 0;
}

.feature-section {
  background: var(--white);
}

.feature-section .eyebrow {
  color: var(--teal-dark);
}

.feature-section h2,
.feature-section h3 {
  color: var(--gray-900);
}

.feature-section p {
  color: var(--gray-700);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

.feature-card h3 {
  margin-top: 0;
  color: var(--navy-800);
}

.feature-card h3::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 0.85rem;
}

/* June 12 event recap — featured photo pair */
.event-recap-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.event-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}

.event-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.event-photo:hover .event-photo__img {
  transform: scale(1.03);
}

@media (max-width: 560px) {
  .event-recap-photos {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   STUDENT / EVENT PHOTO GALLERY
   SWAP: Replace student-1.jpg through student-6.jpg with real event photos
   -------------------------------------------------------------------------- */
.students-section {
  background: var(--gray-100);
}

.students-section .eyebrow {
  color: var(--teal-dark);
}

.students-section h2 {
  color: var(--gray-900);
}

.student-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem;
}

.student-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 4;
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, border-color 200ms ease;
}

.student-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}

.student-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   CALLOUT SECTION (home page mission teaser)
   -------------------------------------------------------------------------- */
.callout-section {
  background: var(--navy-800);
  color: var(--text-on-dark);
}

.callout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.75fr);
  gap: 2.5rem;
  align-items: center;
}

.callout-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.callout-box p {
  margin: 0 0 1.5rem;
  color: rgba(248, 250, 252, 0.85);
}

/* --------------------------------------------------------------------------
   EVENTS — COMING SOON CALLOUT
   -------------------------------------------------------------------------- */
.coming-soon-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}

.coming-soon-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-on-dark);
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.15);
}

.coming-soon-card .eyebrow {
  color: var(--gold-light);
}

.coming-soon-card h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.coming-soon-card p {
  color: rgba(248, 250, 252, 0.8);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.coming-soon-card a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   ABOUT — MISSION SECTION
   -------------------------------------------------------------------------- */
.mission-section {
  background: var(--white);
}

.mission-section .eyebrow {
  color: var(--teal-dark);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2.5rem;
  align-items: start;
}

.mission-stats {
  display: grid;
  gap: 1rem;
}

.mission-stats > div {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.mission-stats strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--navy-800);
  font-size: 1.05rem;
}

.mission-stats p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   ABOUT — LEADERSHIP TEAM GRID
   SWAP: Replace placeholder initials/photos with real headshots
   Display order: Owen → Member 1 → Member 2 → Tony Green
   -------------------------------------------------------------------------- */
.team-section {
  background: var(--gray-100);
}

.team-section .eyebrow {
  color: var(--teal-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.75rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

/* Photo placeholder — swap <div> for <img> when you have real photos */
.team-card__photo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-700), var(--teal-dark));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--white);
  font-size: 1.35rem;
  overflow: hidden;
}

.team-card__photo--image {
  background: var(--gray-200);
  padding: 0;
}

.team-card__photo--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: 1.15rem;
}

.team-role {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.team-volunteer {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-volunteer-note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.team-volunteer-note p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.98rem;
}

.team-volunteer-note strong {
  color: var(--navy-800);
}

.team-card > p:last-child {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   SPONSORS PAGE
   SWAP: Add sponsor logos and update card content in sponsors.html
   -------------------------------------------------------------------------- */
.sponsors-section {
  padding: 4rem 0;
  background: var(--white);
}

.sponsors-section .eyebrow {
  color: var(--teal-dark);
}

.sponsors-tba-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
}

.sponsors-tba-card h3 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy-800);
}

.sponsors-tba-card p {
  margin: 0;
  color: var(--gray-700);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.sponsor-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.75rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

.sponsor-logo {
  width: 100%;
  max-width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  overflow: hidden;
}

.sponsor-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-card h3 {
  margin: 0;
  color: var(--gray-900);
}

.sponsor-category {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.sponsor-card > p:last-child {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.partnership-callout {
  padding: 4rem 0;
  background: var(--navy-800);
}

.partnership-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: var(--text-on-dark);
}

.partnership-box .eyebrow {
  color: var(--gold-light);
}

.partnership-box h2 {
  margin: 0.5rem 0 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.partnership-box > p {
  color: rgba(248, 250, 252, 0.8);
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

.partnership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   SPONSOR MARQUEE — scrolling "Sponsored by" logo strip (above footer)
   SWAP: Replace TBA items with <img src="sponsor-logo.jpg" alt="Name"> tags
   -------------------------------------------------------------------------- */
.sponsor-marquee {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0 2rem;
  overflow: hidden;
}

.sponsor-marquee__header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.sponsor-marquee__label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.65);
}

.sponsor-marquee__track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.sponsor-marquee__track {
  display: flex;
  width: max-content;
  animation: sponsor-marquee-scroll 28s linear infinite;
}

.sponsor-marquee__track:hover {
  animation-play-state: paused;
}

.sponsor-marquee__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

.sponsor-marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 72px;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.sponsor-marquee__item img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.sponsor-marquee__item--tba {
  color: rgba(248, 250, 252, 0.55);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

@keyframes sponsor-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 1rem;
    padding: 0 1rem;
  }

  .sponsor-marquee__group {
    padding-right: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .sponsor-marquee__track-wrap {
    mask-image: none;
  }

  .sponsor-marquee__group[aria-hidden="true"] {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   CONTACT PAGE
   SWAP: Update contact details and form action in contact.html
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 4rem 0;
  background: var(--white);
}

.contact-section .eyebrow {
  color: var(--teal-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-info h2 {
  color: var(--gray-900);
  margin-top: 0;
}

.contact-info > p {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contact-detail-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: grid;
  gap: 0.35rem;
}

.contact-detail-card strong {
  color: var(--navy-800);
  font-size: 0.9rem;
}

.contact-detail-card a {
  color: var(--teal-dark);
  font-weight: 600;
}

.contact-detail-card a:hover,
.contact-detail-card a:focus-visible {
  color: var(--gold-dark);
}

.contact-detail-card span {
  color: var(--gray-700);
}

.contact-form {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.85rem;
}

.contact-form h3 {
  margin: 0 0 0.5rem;
  color: var(--gray-900);
}

.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-900);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-900);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  width: fit-content;
  margin-top: 0.5rem;
}

.callout-section--light {
  background: var(--gray-100);
  color: var(--gray-900);
}

.callout-section--light .lead {
  color: var(--gray-700);
}

.callout-section--light .callout-box {
  background: var(--white);
  border-color: var(--gray-200);
}

.callout-section--light .callout-box p {
  color: var(--gray-700);
}

/* --------------------------------------------------------------------------
   FOOTER — email sign-up / volunteer form + social links
   SWAP: Update Instagram href="#" with real profile URLs
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: var(--white);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr) minmax(220px, 0.75fr);
  gap: 2rem;
  align-items: start;
}

.footer-grid--simple {
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.75fr);
}

.footer-about a {
  color: var(--teal);
  font-weight: 600;
}

.footer-about a:hover,
.footer-about a:focus-visible {
  color: var(--gold-light);
}

.footer-about h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.footer-about p {
  margin: 0;
  color: rgba(248, 250, 252, 0.72);
}

.signup-form {
  display: grid;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.signup-form label {
  font-weight: 700;
  font-size: 0.9rem;
}

.signup-form input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.signup-form input::placeholder {
  color: rgba(248, 250, 252, 0.5);
}

.signup-form input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.signup-form button {
  width: fit-content;
}

.footer-social {
  display: grid;
  gap: 0.65rem;
}

.footer-social > p {
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.footer-social a {
  color: var(--teal);
  font-size: 0.95rem;
  transition: color 160ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--gold-light);
}

.footer-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(248, 250, 252, 0.55);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   RESPONSIVE — tablet & mobile
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .main-nav a {
    font-size: 0.88rem;
    padding: 0.5rem 0.65rem;
  }

  .main-nav .button--secondary {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }

  .brand-text {
    font-size: 0.88rem;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .callout-grid,
  .mission-grid,
  .contact-grid,
  .footer-grid,
  .footer-grid--simple {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2rem;
  }
}

/* Mobile navigation — hamburger menu */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    min-height: auto;
    padding: 0.75rem 0;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .brand-text {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .site-logo {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    order: 3;
    flex-basis: 100%;
    width: 100%;
    gap: 0.25rem;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.25rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.85rem 0.75rem;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .main-nav .button--secondary {
    margin-left: 0;
    margin-top: 0.5rem;
    justify-content: center;
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 760px) {
  .hero-section,
  .page-hero {
    padding: 3rem 0 2.25rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .feature-section,
  .mission-section,
  .team-section,
  .students-section,
  .callout-section,
  .coming-soon-section,
  .sponsors-section,
  .partnership-callout,
  .contact-section,
  .sponsor-marquee {
    padding: 2.5rem 0;
  }

  .feature-intro,
  .section-intro {
    margin-bottom: 1.5rem;
  }

  .hero-card,
  .feature-card,
  .team-card,
  .callout-box,
  .coming-soon-card,
  .contact-form,
  .partnership-box,
  .sponsors-tba-card {
    padding: 1.5rem;
  }

  .coming-soon-card {
    padding: 2rem 1.25rem;
  }

  .partnership-box {
    padding: 2rem 1.25rem;
  }

  .event-recap-photos {
    margin-bottom: 2rem;
  }

  .team-volunteer-note {
    margin-top: 1.75rem;
    padding: 1.25rem;
  }

  .sponsor-marquee__item {
    min-width: 130px;
    height: 60px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 1.25rem));
  }

  .brand-text {
    font-size: 0.78rem;
  }

  .hero-actions,
  .partnership-actions,
  .callout-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .button,
  .partnership-actions .button,
  .callout-box .button,
  .coming-soon-card .button,
  .contact-form button {
    width: 100%;
    min-height: 48px;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .feature-grid,
  .team-grid,
  .sponsors-grid {
    grid-template-columns: 1fr;
  }

  .student-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .team-card__photo {
    width: 64px;
    height: 64px;
    font-size: 1.1rem;
  }

  .footer-about h2 {
    font-size: 1.25rem;
  }

  .footer-note {
    font-size: 0.82rem;
    text-align: center;
  }

  .footer-note p {
    margin: 0;
  }
}

@media (max-width: 380px) {
  .brand-text {
    display: none;
  }

  .brand {
    gap: 0;
  }
}
