:root {
  --color-bg: #f5f5f9;
  --color-surface: #ffffff;
  --color-text: #222222;
  --color-text-muted: #6b7280;
  --color-blue: #003b73;
  --color-blue-dark: #002d5c;
  --color-gold: #f4b41a;
  --color-burnt-orange: #c25a1c;
  --color-warm-beige: #f6ece1;
  --radius-card: 16px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.06);
  --anim-duration: 0.85s;
  --anim-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(1180px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: clamp(3rem, 6vw, 6rem) 0;
  scroll-margin-top: 90px;
}

.section.section-divider {
  border-top: 1px solid #eceff5;
  margin-top: -1px;
}

.section.theme-light {
  background: #fff;
}

.section.theme-warm {
  background: #fdf8f3;
}

.section.theme-warm-alt {
  background: #f6ece1;
}

.bridge-top {
  padding-top: clamp(2rem, 5vw, 4.5rem);
}

.bridge-top {
  padding-top: clamp(2rem, 5vw, 4.5rem);
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 12, 28, 0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.site-header.is-solid .logo {
  color: var(--color-blue);
}

.site-header.is-solid .main-nav a {
  color: var(--color-text);
}

.site-header.is-solid .main-nav a:hover {
  color: var(--color-blue);
}

.site-header.is-solid .nav-toggle-label {
  border-color: rgba(0, 0, 0, 0.15);
}

.site-header.is-solid .nav-toggle-label span,
.site-header.is-solid .nav-toggle-label span::before,
.site-header.is-solid .nav-toggle-label span::after {
  background: var(--color-text);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-mark {
  width: 42px;
  height: auto;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-size: 1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.main-nav a:hover {
  color: var(--color-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--color-gold);
  color: var(--color-blue);
  padding: 0.85rem 1.8rem;
  box-shadow: 0 10px 20px rgba(244, 180, 26, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 14px 25px rgba(244, 180, 26, 0.35);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 0.75rem 1.4rem;
}

.btn-link {
  color: var(--color-blue);
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.hero .btn-link {
  color: #fff;
}

.site-header .btn {
  font-size: 0.9rem;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #041a32, #0d4d8f);
  color: #fff;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(2, 9, 25, 0.45);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 24, 0.5);
  backdrop-filter: blur(2px);
}

.hero-grid {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-message {
  max-width: 900px;
  width: 100%;
  padding: 0 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.hero-headline {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  letter-spacing: 0.08em;
  text-shadow:
    0 30px 70px rgba(0, 0, 0, 0.65),
    0 14px 30px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 0, 0, 0.6);
}


.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.05) contrast(1.05) brightness(0.8);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.text-muted {
  color: var(--color-text-muted);
}

.hero-kicker {
  color: #fdf6ce;
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
  position: relative;
}

.section-heading h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-burnt-orange));
  margin-top: 0.75rem;
}

.section-heading p {
  color: var(--color-text-muted);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--anim-ease), box-shadow 0.35s var(--anim-ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
}

.two-col {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.badge {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(244, 180, 26, 0.16);
  color: var(--color-blue);
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.photo-card {
  background: var(--color-surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--anim-ease), box-shadow 0.4s var(--anim-ease);
}

.photo-card img {
  width: 100%;
  height: clamp(220px, 30vw, 280px);
  object-fit: cover;
}

.photo-card figcaption {
  padding: 1rem 1.25rem 1.4rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.photo-card.tall img {
  height: clamp(260px, 35vw, 360px);
}

.photo-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-burnt-orange);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.photo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.1);
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stats-grid.playful {
  gap: 1rem;
}

.stat-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--anim-ease), box-shadow 0.35s var(--anim-ease);
}

.stat-card[data-icon]::before {
  content: attr(data-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  background: rgba(32, 84, 161, 0.12);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.8rem;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.members-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.4fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.members-highlight {
  background: linear-gradient(145deg, #ffffff, #fdf5dd);
  border: 1px solid rgba(244, 180, 26, 0.3);
}

.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--color-text);
}

.check-list li::before {
  content: '+';
  color: var(--color-burnt-orange);
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-2px);
}

.members-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.stat-value {
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--color-blue);
  margin: 0.5rem 0;
  word-break: break-word;
}

.stat-subtext {
  color: var(--color-burnt-orange);
  font-size: 0.95rem;
}

.values {
  background: var(--color-warm-beige);
}

.values-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.8rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.35s var(--anim-ease), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(253, 225, 171, 0.5);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 180, 26, 0.6);
}

.criteria-grid {
  align-items: start;
}

.criteria-list h3 {
  margin-bottom: 0.5rem;
}

.criteria-list ul {
  padding-left: 1.2rem;
  margin-top: 0.2rem;
}

.criteria-list li {
  margin-bottom: 0.35rem;
}

.criteria-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.process {
  background: rgba(246, 236, 225, 0.4);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.process-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.5rem 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(244, 180, 26, 0.2);
  color: var(--color-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline-note {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

.faq {
  background: #f0f0f5;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.faq-list details {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.faq-list details[open] {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
}

.footer {
  background: var(--color-blue-dark);
  color: #fff;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer a {
  color: #fff;
  text-shadow:
    0 25px 60px rgba(0, 0, 0, 0.55),
    0 10px 25px rgba(0, 0, 0, 0.4),
    0 0 35px rgba(0, 0, 0, 0.4);
}

.hero-description {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 700px;
  text-shadow:
    0 22px 55px rgba(0, 0, 0, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #fdf6ce;
  text-decoration: none;
  border-bottom: 1px solid rgba(253, 246, 206, 0.6);
  padding-bottom: 0.2rem;
  text-shadow:
    0 15px 35px rgba(0, 0, 0, 0.55),
    0 6px 18px rgba(0, 0, 0, 0.4);
}

.hero-link::after {
  content: '↗';
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.hero-link:hover::after {
  transform: translateY(-1px);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 0.5rem;
}

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

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(244, 180, 26, 0.25);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #fff;
  height: 2px;
  width: 20px;
  position: relative;
  transition: 0.2s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -6px;
}

.nav-toggle-label span::after {
  top: 6px;
}

@media (max-width: 840px) {
  .main-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    background: rgba(3, 12, 28, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1rem;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-toggle-label {
    display: inline-flex;
    border-color: rgba(255, 255, 255, 0.4);
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .nav-toggle:checked ~ .main-nav {
    transform: translateY(0);
  }

  .btn-link {
    color: var(--color-blue);
    padding-left: 0;
  }

  .site-header.is-solid .main-nav a {
    color: rgba(255, 255, 255, 0.95);
  }

  .site-header.is-solid .main-nav a:hover {
    color: var(--color-gold);
  }

  .members-layout {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 7rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-value {
    font-size: 1.6rem;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp var(--anim-duration) var(--anim-ease) forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeIn var(--anim-duration) var(--anim-ease) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
