:root {
  --bg-page: #f8fafc;
  --bg-dark: #0f172a;
  --bg-dark-soft: #162033;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --border: #dbe3ee;
  --border-dark: rgba(148, 163, 184, 0.16);
  --text: #0f172a;
  --muted: #475569;
  --muted-soft: #94a3b8;
  --text-inverse: #f8fafc;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #dbeafe;
  --shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.06);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background: var(--bg-page);
  color: var(--text);
}

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

a:focus-visible,
.button:focus-visible,
.topbar-cta:focus-visible,
.activity-card:focus-visible,
.panel-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page-shell {
  position: relative;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
}

.topbar-inner,
.hero,
.stats-band,
.activities,
.vision,
.footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  color: var(--text-inverse);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand span {
  color: #60a5fa;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar-links a:hover {
  color: #93c5fd;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: 0.6rem;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease;
}

.topbar-cta:hover {
  background: var(--accent-dark);
}

.hero-shell {
  padding: 8.75rem 0 4.75rem;
  background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.8fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-copy {
  color: var(--text-inverse);
}

.eyebrow {
  margin: 0 0 1rem;
  color: #60a5fa;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: none;
  color: #ffffff;
  font-size: clamp(2.45rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  white-space: normal;
}

.hero-copy {
  min-width: 0;
}

.lead {
  max-width: 39rem;
  margin: 1.35rem 0 0;
  color: rgba(248, 250, 252, 0.8);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-note {
  margin: 1.2rem 0 0;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-audience {
  max-width: 42rem;
  margin: 0.95rem 0 0;
  color: rgba(248, 250, 252, 0.76);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.3rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: rgba(147, 197, 253, 0.45);
  background: transparent;
  color: #93c5fd;
}

.button-secondary:hover {
  background: rgba(37, 99, 235, 0.12);
}

.hero-panel {
  padding: 1.5rem;
  border: 1px solid var(--border-dark);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.panel-kicker {
  margin: 0 0 1rem;
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-links {
  display: grid;
  gap: 0.85rem;
}

.panel-link {
  display: block;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.panel-link:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(96, 165, 250, 0.32);
  transform: translateY(-2px);
}

.panel-link strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
}

.panel-link span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(248, 250, 252, 0.74);
  font-size: 0.9rem;
  line-height: 1.5;
}

.stats-shell {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 2.25rem 0;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 0.4rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.activities-shell {
  padding: 5rem 0;
  background: var(--bg-page);
}

.vision-shell {
  padding: 5rem 0;
  background: var(--bg-dark);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading-centered {
  text-align: center;
}

.section-heading h2 {
  max-width: none;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.08;
  white-space: normal;
}

.section-heading-centered h2 {
  margin-inline: auto;
}

.section-heading-dark h2 {
  color: #ffffff;
}

.section-rule {
  width: 3.25rem;
  height: 0.25rem;
  margin: 1rem auto 0;
  background: var(--accent);
  border-radius: 999px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.activity-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 18rem;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.08);
}

.activity-card.featured {
  grid-column: span 7;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-color: rgba(96, 165, 250, 0.22);
  color: var(--text-inverse);
}

.activity-card:not(.featured) {
  grid-column: span 5;
}

.card-index {
  color: var(--muted-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.activity-card.featured .card-index {
  color: rgba(248, 250, 252, 0.48);
}

.card-type {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.activity-card.featured .card-type {
  color: #93c5fd;
}

.card-body h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.18;
}

.card-body p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.activity-card.featured .card-body p {
  color: rgba(248, 250, 252, 0.78);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.45rem 0.7rem;
  border: 1px solid #d7e0eb;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
}

.activity-card.featured .tag-list li {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.activity-card.featured .card-link {
  color: #bfdbfe;
}

.card-link::after {
  content: "->";
  font-size: 0.92rem;
}

.vision-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 1.25rem;
}

.vision-statement,
.principles {
  padding: 1.5rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow);
}

.vision-statement {
  color: rgba(248, 250, 252, 0.82);
  font-size: 1.03rem;
  line-height: 1.85;
}

.vision-statement p {
  margin: 0;
}

.vision-statement p + p {
  margin-top: 1rem;
}

.principles {
  display: grid;
  gap: 0.9rem;
}

.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.principle span {
  color: #60a5fa;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.principle p {
  margin: 0;
  color: rgba(248, 250, 252, 0.76);
  line-height: 1.72;
}

.footer-shell {
  padding: 2rem 0;
  background: #020617;
  border-top: 1px solid rgba(30, 41, 59, 0.9);
}

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

.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  color: rgba(148, 163, 184, 0.85);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.footer p {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@media (max-width: 960px) {
  .hero,
  .vision-layout {
    grid-template-columns: 1fr;
  }

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

  .activity-card.featured,
  .activity-card:not(.featured) {
    grid-column: span 12;
  }

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

@media (max-width: 720px) {
  .topbar-inner,
  .hero,
  .stats-band,
  .activities,
  .vision,
  .footer {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .topbar-inner {
    min-height: auto;
    padding: 0.9rem 0;
    flex-wrap: wrap;
  }

  .topbar-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    font-size: 0.7rem;
  }

  .hero-shell {
    padding: 7.5rem 0 3.5rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .hero h1 span {
    white-space: normal;
  }

  .lead,
  .vision-statement {
    font-size: 0.98rem;
  }

  .hero-note {
    font-size: 0.78rem;
  }

  .hero-panel,
  .vision-statement,
  .principles {
    padding: 1.25rem;
  }

  .stats-band {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 1.75rem 0;
  }

  .activities-shell,
  .vision-shell {
    padding: 4rem 0;
  }

  .section-heading h2 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
    white-space: normal;
  }

  .activity-grid {
    gap: 1rem;
  }

  .activity-card {
    min-height: auto;
    padding: 1.3rem;
  }

  .card-body h3 {
    font-size: 1.28rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
