:root {
  --blue-950: #0b1220;
  --blue-900: #102a56;
  --blue-800: #164b93;
  --blue-700: #1f66c2;
  --blue-600: #3b82d0;
  --blue-100: #d8e9ff;
  --blue-50: #f0f6ff;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-500: #ef4444;
  --red-100: #fee2e2;
  --white: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--slate-900);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  background: rgba(11, 18, 32, 0.72);
  padding: 20px;
  backdrop-filter: blur(8px);
}

.announcement-modal.is-hidden {
  display: none;
}

.announcement-modal-card {
  position: relative;
  width: min(560px, 100%);
  border-radius: 10px;
  background: var(--white);
  padding: 42px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.announcement-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 900;
  cursor: pointer;
}

.announcement-modal-close:hover {
  background: var(--blue-100);
  color: var(--blue-800);
}

.announcement-modal-card h2 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.15;
}

.announcement-modal-card > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--slate-600);
  line-height: 1.7;
}

.announcement-options {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  border-radius: 8px;
  background: var(--blue-50);
  padding: 18px;
  color: var(--slate-700);
}

.announcement-button {
  width: 100%;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(11, 18, 32, 0.78);
  padding: 20px;
  backdrop-filter: blur(8px);
}

.video-modal.is-hidden {
  display: none;
}

.video-modal-card {
  position: relative;
  width: min(920px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--slate-900);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.78);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.video-modal-close:hover {
  background: var(--red-600);
}

.intro-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--slate-900);
}

.video-fallback-link {
  display: block;
  padding: 12px 16px;
  color: var(--white);
  font-weight: 800;
  text-align: center;
  background: var(--red-700);
}

.video-fallback-link:hover {
  background: var(--red-600);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--slate-600);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--blue-700);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

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

.button-accent {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.24);
}

.button-accent:hover {
  background: var(--red-500);
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(220, 38, 38, 0.28), transparent 30%),
    linear-gradient(135deg, var(--blue-950), var(--blue-900) 54%, #140d1f);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  max-width: 1180px;
  min-height: calc(100vh - 75px);
  margin: 0 auto;
  padding: 76px 20px;
}

.charity-pill {
  display: inline-flex;
  margin: 0 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 9px 14px;
  color: var(--blue-100);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  color: #e2e8f0;
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.hero-facts span {
  display: grid;
  gap: 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 14px;
  color: #e2e8f0;
}

.hero-facts strong {
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-deadline {
  width: fit-content;
  margin: 18px 0 0;
  border: 1px solid rgba(254, 202, 202, 0.42);
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.22);
  padding: 12px 16px;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.visual-grid {
  position: absolute;
  inset: 56px 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero-video-card {
  position: absolute;
  inset: 42px 0 42px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--slate-900);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.hero-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--slate-900);
}

.section {
  max-width: none;
  margin: 0;
  padding: 86px 20px;
}

.section > .card-grid,
.section > .learn-grid {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.section > .section-heading {
  max-width: 760px;
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: #fff7f7;
}

.section-warm {
  background: linear-gradient(180deg, #f8fbff 0%, var(--white) 100%);
}

.section-blue {
  max-width: none;
  background: var(--blue-50);
}

.section-blue > * {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--red-100);
}

.section-heading h2,
.mission h2,
.why-join h2,
.contact-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  margin: 16px 0 0;
  color: var(--slate-600);
  font-size: 1.08rem;
  line-height: 1.75;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.instructor-card {
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card:hover,
.instructor-card:hover,
.learn-grid article:hover {
  transform: translateY(-4px);
  border-color: #fca5a5;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.86rem;
  font-weight: 900;
}

.card h3,
.instructor-card h3 {
  margin: 22px 0 0;
  font-size: 1.32rem;
}

.card p,
.instructor-card p,
.instructor-card li {
  color: var(--slate-600);
  line-height: 1.7;
}

.schedule-card {
  overflow: hidden;
  border: 1px solid #bfd8ff;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 55px rgba(31, 102, 194, 0.12);
}

.schedule-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--slate-200);
  padding: 20px 24px;
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-row strong {
  color: var(--slate-900);
}

.schedule-row span {
  color: var(--slate-700);
}

.schedule-note {
  grid-template-columns: 1fr;
  background: var(--red-100);
  color: var(--red-700);
  font-size: 1.2rem;
  font-weight: 900;
}

.schedule-row.schedule-note span {
  color: var(--red-700);
}

.signup-section {
  scroll-margin-top: 78px;
}

.signup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.signup-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.signup-session {
  margin: 18px 0 0;
  color: var(--slate-900);
  font-size: 1.35rem;
  font-weight: 900;
}

.signup-price {
  margin: 14px 0 0;
  color: var(--blue-700);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.signup-donation {
  margin: 8px 0 0;
  color: var(--red-700);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup-detail {
  flex: 1;
  margin: 14px 0 24px;
  color: var(--slate-600);
  line-height: 1.6;
}

.signup-button {
  width: 100%;
  border: 1px solid var(--blue-700);
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(31, 102, 194, 0.18);
}

.signup-button:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.signup-support {
  margin: 28px 0 0;
  color: var(--slate-600);
  font-weight: 700;
  text-align: center;
}

.photo-placeholder {
  display: grid;
  width: 100%;
  height: 240px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 102, 194, 0.2), rgba(220, 38, 38, 0.16)),
    var(--blue-50);
  color: var(--slate-600);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.instructor-card ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.instructor-card li + li {
  margin-top: 10px;
}

.mission,
.why-join {
  color: var(--white);
}

.mission {
  background: var(--slate-900);
}

.mission-inner,
.why-inner,
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 20px;
}

.mission-panel {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 34px;
}

.mission-panel p {
  margin: 0;
  color: #e2e8f0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.mission-badge {
  display: inline-flex;
  margin-bottom: 20px !important;
  border-radius: 8px;
  background: var(--red-600);
  padding: 12px 14px;
  color: var(--white) !important;
  font-weight: 900;
}

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

.learn-grid article {
  min-height: 116px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--slate-100);
  padding: 22px;
  color: var(--slate-900);
  font-weight: 800;
  line-height: 1.45;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.learn-grid article:hover {
  background: var(--white);
}

.why-join {
  background: var(--blue-700);
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-list p {
  margin: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 20px;
  font-weight: 800;
  line-height: 1.55;
}

.contact-section {
  align-items: start;
  max-width: none;
  position: relative;
  overflow: hidden;
  padding-right: max(20px, calc((100vw - 1180px) / 2 + 20px));
  padding-left: max(20px, calc((100vw - 1180px) / 2 + 20px));
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 102, 194, 0.1), transparent 42%),
    linear-gradient(315deg, rgba(220, 38, 38, 0.1), transparent 46%);
  pointer-events: none;
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact-copy {
  max-width: 480px;
  padding-top: 24px;
}

.payment-button {
  margin-top: 28px;
  width: fit-content;
}

.email-link {
  display: flex;
  width: fit-content;
  margin-top: 14px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
  padding: 13px 16px;
  color: var(--blue-700);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--slate-700);
  font-size: 0.93rem;
  font-weight: 800;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: var(--white);
  padding: 13px 14px;
  color: var(--slate-900);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.contact-form button {
  grid-column: 1 / -1;
  border: 0;
  border-radius: 8px;
  background: var(--blue-700);
  padding: 15px 18px;
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease;
}

.contact-form button:hover {
  background: var(--blue-800);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--slate-600);
  font-weight: 800;
  line-height: 1.5;
}

.form-status.success {
  color: #047857;
}

.form-status.error {
  color: var(--red-700);
}

.hidden-form-frame {
  display: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--slate-200);
  padding: 28px 20px;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

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

  .hero-inner,
  .mission-inner,
  .why-inner,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-facts,
  .card-grid.three,
  .signup-grid,
  .learn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .announcement-modal-card {
    padding: 40px 22px 26px;
  }

  .nav {
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-inner,
  .section,
  .mission-inner,
  .why-inner,
  .contact-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-facts,
  .card-grid.three,
  .signup-grid,
  .learn-grid,
  .why-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 370px;
  }

  .hero-video-card {
    inset: 0;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding-top: 0;
  }

  .footer {
    flex-direction: column;
  }
}
