:root {
  --navy: #071a3f;
  --navy-2: #0c2d63;
  --blue: #176f9f;
  --court: #e9f6f8;
  --gold: #f5c542;
  --green: #16745d;
  --coral: #f46b45;
  --ink: #0f172a;
  --muted: #5d6779;
  --line: #d8e1ea;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --shadow: 0 24px 80px rgba(7, 26, 63, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  font-weight: 850;
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 26, 63, 0.94);
  color: #fff;
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--navy);
}

.brand span {
  font-size: 1.02rem;
}

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

.nav a {
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav .nav-cta {
  margin-left: 6px;
  background: var(--gold);
  color: #0b1736;
}

.nav .nav-cta:hover {
  background: #ffd85f;
  color: #0b1736;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: transparent;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
}

.hero::after,
.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 26, 63, 0.94), rgba(7, 26, 63, 0.56) 46%, rgba(7, 26, 63, 0.18)),
    linear-gradient(0deg, rgba(7, 26, 63, 0.82), rgba(7, 26, 63, 0.04) 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 82px 0 120px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 7.2vw, 7.7rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #fff;
  background: var(--navy);
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(7, 26, 63, 0.18);
}

.button.primary {
  background: var(--gold);
  color: #111827;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.button.outline {
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
}

.hero-stats {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  z-index: 3;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.stat {
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
}

.stat strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--soft);
}

.section.navy {
  color: #fff;
  background: var(--navy);
}

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.section-head h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-head p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
}

.navy .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

.program-grid,
.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-grid.two,
.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.program-card,
.feature-card,
.form-panel,
.info-panel,
.class-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 26, 63, 0.08);
}

.program-card img,
.feature-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.program-card-body,
.feature-card-body,
.info-panel,
.form-panel {
  padding: 26px;
}

.program-card h3,
.feature-card h3,
.info-panel h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.35rem;
}

.program-card p,
.feature-card p,
.info-panel p {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--court);
  color: var(--navy-2);
  font-size: 0.78rem;
  font-weight: 850;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(7, 26, 63, 0.06);
}

.faq-list summary {
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.story-media {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 14px;
  align-items: end;
}

.story-media img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-media img:first-child {
  height: 420px;
}

.story-media img:last-child {
  height: 540px;
}

.story h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.story p {
  color: var(--muted);
  font-size: 1.06rem;
}

.coach-line {
  margin-top: 24px;
  border-left: 4px solid var(--gold);
  padding-left: 18px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 850;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr;
  gap: 12px;
}

.gallery-strip img {
  width: 100%;
  height: 360px;
  border-radius: 8px;
  object-fit: cover;
}

.page-hero {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  width: min(1180px, calc(100% - 32px));
  min-height: 58vh;
  margin: 0 auto;
  padding: 100px 0 72px;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(3rem, 6.5vw, 6.6rem);
}

.page-intro {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
}

.schedule {
  display: grid;
  gap: 12px;
}

.schedule.compact {
  margin: 18px 0;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.schedule-row strong {
  display: block;
  color: var(--navy);
}

.schedule-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.pill {
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.schedule-row .pill,
.schedule-row .pill a {
  color: #fff;
}

.muted-pill {
  background: #667085;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.class-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.class-card-body {
  padding: 26px;
}

.class-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.class-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.55rem;
}

.class-card p {
  color: var(--muted);
}

.register-panel {
  border-top: 1px solid var(--line);
  padding: 26px;
  background: #f8fbfd;
}

.class-card.is-inactive {
  opacity: 0.82;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.form-panel h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.05;
}

.form-panel p {
  color: var(--muted);
}

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

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

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 850;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd8e3;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(23, 111, 159, 0.16);
}

.form-message {
  min-height: 26px;
  margin: 14px 0 0;
  font-weight: 800;
}

.form-message[data-type="success"] {
  color: var(--green);
}

.form-message[data-type="error"] {
  color: #b42318;
}

.gate {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.gate h2 {
  color: var(--navy);
}

.footer {
  padding: 54px 0 28px;
  color: #fff;
  background: #06142f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 26px;
}

.footer h3,
.footer h4 {
  margin: 0 0 10px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.74);
}

.footer a {
  display: block;
  margin: 7px 0;
}

.footer-logo {
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 10px;
    background: rgba(7, 26, 63, 0.98);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    border-radius: 8px;
  }

  .nav .nav-cta {
    margin-left: 0;
  }

  .hero::after,
  .page-hero::after {
    background:
      linear-gradient(0deg, rgba(7, 26, 63, 0.95), rgba(7, 26, 63, 0.34)),
      linear-gradient(90deg, rgba(7, 26, 63, 0.92), rgba(7, 26, 63, 0.28));
  }

  .hero-content {
    align-content: end;
    padding-bottom: 170px;
  }

  .section-head,
  .story,
  .form-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .program-grid,
  .feature-grid,
  .feature-grid.two,
  .class-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 660px) {
  .header-inner {
    width: min(100% - 22px, 1180px);
  }

  .brand span {
    font-size: 0.95rem;
  }

  .hero-content,
  .page-hero-content,
  .container {
    width: min(100% - 24px, 1180px);
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2.8rem, 17vw, 4.7rem);
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stat-grid,
  .program-grid,
  .feature-grid,
  .feature-grid.two,
  .gallery-strip,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .program-card img,
  .feature-card img,
  .class-card img,
  .gallery-strip img {
    height: 260px;
  }

  .story-media {
    grid-template-columns: 1fr;
  }

  .story-media img:first-child,
  .story-media img:last-child {
    height: 330px;
  }

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

  .class-grid {
    grid-template-columns: 1fr;
  }
}
