/* ==========================================================================
   Milwaukee Robotics Academy — Design System & Stylesheet
   Brand Palette: Official MRA Orange (#F26D20), Carbon Black (#14171C),
   Warm Alabaster Canvas (#FAF9F7), & Steel Technical Blue (#1E5E8C)
   ========================================================================== */

:root {
  /* Color Palette — Anchored to Official MRA Logo */
  --bg-canvas: #FAF9F7;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3EFEA;
  --bg-navy: #14171C;
  --bg-navy-elevated: #1E232B;
  --bg-navy-soft: #2A313D;

  --text-primary: #14171C;
  --text-secondary: #434B57;
  --text-muted: #66707F;
  --text-on-dark: #F9FAFB;
  --text-on-dark-muted: #BAC2CE;

  --accent-gold: #F26D20;
  --accent-gold-hover: #D45710;
  --accent-gold-text: #C44A07;
  --accent-gold-soft: #FFF1E7;
  --accent-gold-border: #F9C6A3;

  --accent-teal: #1E5E8C;
  --accent-teal-hover: #16486B;
  --accent-teal-soft: #E9F3FA;

  --accent-brick: #C44A07;
  --accent-brick-soft: #FFF1E7;

  --accent-green: #16794B;
  --accent-green-soft: #E7F6EE;

  --border-subtle: rgba(20, 23, 28, 0.1);
  --border-strong: rgba(20, 23, 28, 0.18);
  --border-dark: rgba(255, 255, 255, 0.13);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing & Layout */
  --container-max: 1220px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(20, 23, 28, 0.05);
  --shadow-md: 0 10px 28px rgba(20, 23, 28, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 23, 28, 0.16);
  --shadow-gold: 0 8px 24px rgba(242, 109, 32, 0.3);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Accessible Focus */
:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--bg-navy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section--tight {
  padding: 56px 0;
}

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

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

.section--navy {
  background-color: var(--bg-navy);
  color: var(--text-on-dark);
}

.bg-blueprint {
  background-image:
    linear-gradient(to right, rgba(15, 30, 50, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 30, 50, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-blueprint-dark {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.section--navy p {
  color: var(--text-on-dark-muted);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.section--navy .lead {
  color: var(--text-on-dark-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold-text);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-gold);
  display: inline-block;
}

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

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-header--split > div {
  max-width: 640px;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge--gold {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-text);
  border: 1px solid var(--accent-gold-border);
}

.badge--teal {
  background: var(--accent-teal-soft);
  color: var(--accent-teal-hover);
  border: 1px solid rgba(15, 118, 142, 0.2);
}

.badge--navy {
  background: rgba(14, 28, 48, 0.08);
  color: var(--text-primary);
}

.badge--dark {
  background: rgba(255, 255, 255, 0.1);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.badge--green {
  background: var(--accent-green-soft);
  color: var(--accent-green);
  border: 1px solid rgba(22, 121, 75, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--accent-gold);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  background: var(--accent-gold-hover);
  color: #FFFFFF;
}

.btn--navy {
  background: var(--bg-navy);
  color: #fff;
}
.btn--navy:hover {
  background: var(--bg-navy-elevated);
  box-shadow: var(--shadow-md);
}

.btn--teal {
  background: var(--accent-teal);
  color: #fff;
}
.btn--teal:hover {
  background: var(--accent-teal-hover);
}

.btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn--outline:hover {
  border-color: var(--bg-navy);
  background: rgba(14, 28, 48, 0.04);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 16px 30px;
  font-size: 1.02rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ==========================================================================
   Announcement Top Bar & Navigation
   ========================================================================== */
.top-banner {
  background: var(--bg-navy);
  color: var(--text-on-dark);
  font-size: 0.84rem;
  padding: 9px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-dark);
}

.top-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
}

.top-banner strong {
  color: var(--accent-gold);
}

.top-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.top-banner a:hover {
  color: var(--accent-gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--t-base) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo {
  height: 62px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.brand__logo--footer {
  height: 84px;
  width: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background-color var(--t-fast), color var(--t-fast);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(15, 30, 50, 0.06);
}

.nav-links a[aria-current="page"] {
  color: var(--accent-gold-text);
  background: var(--accent-gold-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 82px);
  height: calc(100dvh - 82px);
  background: var(--bg-canvas);
  z-index: 999;
  padding: 28px 24px 40px;
  overflow-y: auto;
  border-top: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__links {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu__links a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-menu__links a[aria-current="page"] {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-text);
}

.mobile-menu__actions {
  display: grid;
  gap: 12px;
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hero__title {
  margin-bottom: 18px;
}

.hero__title .highlight {
  color: var(--accent-gold);
  position: relative;
}

.hero__lead {
  font-size: 1.14rem;
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--text-secondary);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero__proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hero__proof-item strong {
  color: var(--text-primary);
}

.hero__proof-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  color: var(--accent-gold-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__media {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-navy);
  aspect-ratio: 16 / 9;
}

.hero__frame img,
.page-hero__media img,
.tab-panel__media img,
.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

/* Editorial Photo Gallery Strip */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.photo-tile {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-navy);
  box-shadow: var(--shadow-sm);
  position: relative;
  aspect-ratio: 4 / 3;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 420ms var(--ease);
}

.photo-tile:hover img {
  transform: scale(1.04);
}

.photo-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(14, 28, 48, 0.88), transparent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 1040px) {
  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .photo-strip {
    grid-template-columns: 1fr;
  }
}

.hero__float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-navy);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 290px;
}

.hero__float-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.hero__float-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero__float-sub {
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  margin: 0;
}

/* Inner Page Hero */
.page-hero {
  background: var(--bg-navy);
  color: var(--text-on-dark);
  padding: 72px 0 68px;
  position: relative;
  overflow: hidden;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.page-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Audience Quick-Router Strip (4 Core Audiences)
   ========================================================================== */
.audience-router {
  margin-top: -12px;
  padding-bottom: 64px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--accent-gold));
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.audience-card--students { --card-accent: var(--accent-gold); }
.audience-card--parents { --card-accent: var(--accent-teal); }
.audience-card--volunteers { --card-accent: var(--bg-navy); }
.audience-card--donors { --card-accent: var(--accent-brick); }

.audience-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  color: var(--text-primary);
  margin-bottom: 14px;
}

.audience-card__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.audience-card h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.audience-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-gold-text);
  margin-top: 8px;
}

.audience-card:hover .audience-card__link svg {
  transform: translateX(4px);
}

.audience-card__link svg {
  transition: transform var(--t-fast) var(--ease);
}

/* ==========================================================================
   Impact Metrics Band
   ========================================================================== */
.metrics-band {
  background: var(--bg-navy);
  color: #fff;
  padding: 56px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.metric-item {
  padding-left: 20px;
  border-left: 2px solid rgba(242, 109, 32, 0.55);
}

.metric-item__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent-gold);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.metric-item__label {
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 4px;
}

.metric-item__sub {
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
  margin: 0;
}

/* ==========================================================================
   Interactive Audience Pathways Tabs
   ========================================================================== */
.tabs-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--bg-subtle);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.is-active {
  background: var(--bg-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
  animation: fadeUp 280ms var(--ease);
}

.tab-panel.is-active {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.signup-body .tab-panel.is-active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-panel__card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.section--navy .check-list li {
  color: var(--text-on-dark-muted);
}

.check-list__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  color: var(--accent-gold-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.section--navy .check-list__icon {
  background: rgba(242, 109, 32, 0.22);
  color: var(--accent-gold);
}

.tab-panel__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  position: relative;
}

.tab-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Cards, Grids & Engineering Tracks
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card--dark {
  background: var(--bg-navy-elevated);
  border-color: var(--border-dark);
  color: var(--text-on-dark);
}

.card--dark p {
  color: var(--text-on-dark-muted);
}

.card__num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-gold-text);
  margin-bottom: 14px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-soft);
}

.card--dark .card__num {
  background: rgba(242, 109, 32, 0.18);
  color: var(--accent-gold);
}

.card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.skill-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

/* ==========================================================================
   Season Timeline
   ========================================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline__item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  position: relative;
}

.timeline__season {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold-text);
  background: var(--accent-gold-soft);
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.timeline__item h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.timeline__item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Split Feature (Riverwest Lab & Teams)
   ========================================================================== */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-photo__caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(20, 23, 28, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.team-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 28px;
}

.team-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 16px;
}

.team-badge__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.team-badge__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin: 2px 0 4px;
}

.team-badge__meta {
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  margin: 0;
}

/* ==========================================================================
   Sponsors Strip
   ========================================================================== */
.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.sponsor-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-trigger:hover {
  background: rgba(15, 30, 50, 0.02);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-gold);
  color: #FFFFFF;
}

.faq-content {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.faq-item.is-open .faq-content {
  display: block;
}

/* ==========================================================================
   Donation Impact Widget
   ========================================================================== */
.donate-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.freq-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-subtle);
  padding: 5px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  border: 1px solid var(--border-subtle);
}

.freq-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}

.freq-btn.is-active {
  background: var(--bg-navy);
  color: #fff;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.amount-btn {
  padding: 15px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-surface);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--t-fast);
}

.amount-btn:hover {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
}

.amount-btn.is-active {
  border-color: var(--bg-navy);
  background: var(--bg-navy);
  color: var(--accent-gold);
}

.impact-callout {
  background: var(--accent-gold-soft);
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 18px 0 24px;
}

.impact-callout__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold-text);
  margin-bottom: 4px;
}

.impact-callout__text {
  margin: 0;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.98rem;
}

/* ==========================================================================
   Forms & Unified Signup Hub
   ========================================================================== */
.signup-shell {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.signup-aside {
  background: var(--bg-navy);
  color: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.signup-aside h3 {
  font-size: 1.65rem;
  color: #fff;
}

.signup-aside p {
  color: var(--text-on-dark-muted);
}

.signup-body {
  padding: 40px 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(242, 109, 32, 0.18);
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-check {
  position: relative;
}

.chip-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-check span {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-canvas);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}

.chip-check input:checked + span {
  background: var(--bg-navy);
  border-color: var(--bg-navy);
  color: #fff;
}

.chip-check input:focus-visible + span {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--accent-green-soft);
  border: 1px solid rgba(22, 121, 75, 0.25);
  color: #0E4F31;
}

.form-status.is-visible {
  display: block;
  animation: fadeUp 240ms var(--ease);
}

.form-status h4 {
  color: #0E4F31;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.form-status p {
  color: #165B3B;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.form-status--error {
  background: var(--accent-brick-soft);
  border-color: var(--accent-gold-border);
  color: #7D2D05;
}

.form-status--error h4,
.form-status--error p {
  color: #7D2D05;
}

/* Invisible honeypot trap for spam bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   CTA Banner & Footer
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #14171C 0%, #242A34 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 109, 32, 0.28), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-banner p {
  color: var(--text-on-dark-muted);
  max-width: 580px;
  margin: 0;
}

.site-footer {
  background: var(--bg-navy);
  color: var(--text-on-dark);
  padding: 72px 0 36px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.93rem;
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 28px;
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Funder Proof Strip, Tier Cards & Onboarding Steps
   ========================================================================== */
.tier-card {
  display: flex;
  flex-direction: column;
}

.tier-card__cta {
  margin-top: auto;
  padding-top: 22px;
}

.funder-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}

.funder-proof-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.funder-proof-card__stat {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.funder-proof-card p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--text-secondary);
}

.donate-spotlight .donate-widget {
  color: var(--text-primary);
}

.donate-spotlight .donate-widget p {
  color: var(--text-secondary);
}

.donate-spotlight .donate-widget .impact-callout__text {
  color: var(--text-primary);
}

.footer-meta a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta a:hover {
  color: #fff;
}

.copy-ein-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  color: var(--text-primary);
  cursor: pointer;
  vertical-align: middle;
  margin-left: 6px;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.copy-ein-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.copy-ein-btn.is-copied {
  background: #e6f6ef;
  border-color: #16a34a;
  color: #15803d;
}

/* ==========================================================================
   Scroll Reveal (Progressive Enhancement)
   ========================================================================== */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

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

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1040px) {
  .hero__grid,
  .page-hero__grid,
  .split-feature,
  .signup-shell,
  .tab-panel.is-active {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .metrics-grid,
  .timeline,
  .funder-proof-grid,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero__float-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
    max-width: none;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .cta-banner {
    padding: 36px 28px;
  }
}

@media (max-width: 560px) {
  .audience-grid,
  .metrics-grid,
  .timeline,
  .funder-proof-grid,
  .grid-4,
  .footer-grid,
  .team-badges,
  .amount-grid {
    grid-template-columns: 1fr;
  }

  .tab-panel__card,
  .donate-widget,
  .signup-aside,
  .signup-body {
    padding: 26px 20px;
  }
}
