:root {
  --bg: #f7fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #64748b;
  --line: #dbe7f3;
  --brand: #0b63ce;
  --brand-strong: #074a9f;
  --brand-soft: #e8f1fc;
  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.4rem;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --max: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size-adjust: 0.52;
  font-synthesis: none;
  color: var(--ink);
  background: radial-gradient(circle at top right, #e8f1fc 0%, #f7fafc 40%, #f7fafc 100%);
  line-height: 1.5;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 0.9rem;
  z-index: 999;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 27, 52, 0.96);
  border-bottom: 1px solid rgba(202, 221, 244, 0.2);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
}

.brand img {
  width: 168px;
}

.nav-toggle {
  border: 1px solid rgba(202, 221, 244, 0.35);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  color: #f3f8ff;
}

.main-nav {
  position: absolute;
  inset: 4.4rem 0 auto 0;
  display: none;
  background: #10294d;
  border-bottom: 1px solid rgba(202, 221, 244, 0.2);
}

.main-nav.open {
  display: block;
}

.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem 1rem;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav a {
  display: block;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  font-weight: 600;
  color: #d9e8fb;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  background: rgba(232, 241, 252, 0.18);
  color: #ffffff;
  outline: none;
}

.nav-dropdown-head {
  display: flex;
  align-items: center;
}

.nav-dropdown-head > a {
  flex: 1;
}

.nav-sub-toggle {
  border: 0;
  background: transparent;
  color: #d9e8fb;
  min-height: 44px;
  min-width: 44px;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-sub-toggle::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9e8fb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.2s ease;
}

.nav-sub-toggle:hover,
.nav-sub-toggle:focus-visible {
  background: rgba(232, 241, 252, 0.18);
  color: #ffffff;
  outline: none;
}

.nav-dropdown.open .nav-sub-toggle::before {
  transform: rotate(180deg);
}

.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem 0.65rem;
  display: none;
}

.nav-submenu a {
  font-weight: 600;
  color: #cddff7;
}

.nav-dropdown.open .nav-submenu {
  display: block;
}

.hero {
  padding: 3.5rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

.kicker {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin: 0 0 0.7rem;
}

h1,
h2,
h3 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size-adjust: 0.5;
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: 0.8rem;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  margin-bottom: 0.8rem;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0;
  max-width: 48ch;
}

.cta-row {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.68rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--brand-strong);
  outline: none;
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-soft);
}

.hero-media {
  background: linear-gradient(145deg, #0b63ce 0%, #074a9f 60%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 0.8rem;
  box-shadow: var(--shadow);
}

.hero-media img {
  border-radius: calc(var(--radius-lg) - 0.4rem);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.section {
  padding: 2.6rem 0;
}

.section .intro {
  color: var(--ink-soft);
  margin: 0;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.value-grid,
.card-grid,
.step-grid,
.testimonial-grid,
.contact-grid,
.meta-grid {
  display: grid;
  gap: 1rem;
}

.value-item,
.card,
.step,
.testimonial,
.meta-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.value-item strong,
.card h3,
.step h3,
.testimonial h3,
.meta-item h3 {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.card p,
.step p,
.testimonial p,
.meta-item p {
  margin: 0;
  color: var(--ink-soft);
}

.card:not(.instructor-card) img {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius-md) - 2px);
  aspect-ratio: 400 / 260;
  object-fit: cover;
  margin-bottom: 1rem;
}

.card--step {
  text-align: center;
}

.step-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

.card .link,
.text-link {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0;
  font-weight: 700;
  color: var(--brand-strong);
}

.instructor-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.instructor-card {
  padding: 0;
  overflow: hidden;
}

.instructor-photo {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.instructor-copy {
  padding: 1rem;
}

.instructor-copy p {
  margin-top: 0.5rem;
}

.duo {
  display: grid;
  gap: 1rem;
}

.duo .copy {
  align-self: center;
}

.duo .media img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.list-check {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--ink-soft);
}

.list-check li::before {
  content: "●";
  color: var(--brand);
  line-height: 1;
  margin-top: 0.3rem;
}

.growth-layout {
  align-items: start;
}

.growth-copy > p {
  margin-top: 0.8rem;
  max-width: 58ch;
}

.growth-media {
  background: #f3f8ff;
  border: 1px solid #d8e7f8;
  border-radius: var(--radius-md);
  padding: 0.75rem;
}

.growth-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: calc(var(--radius-md) - 4px);
}

.benefit-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.benefit-item {
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fc 100%);
  border: 1px solid #d8e7f8;
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
}

.benefit-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.benefit-item span {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

.rating {
  color: #d9910d;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.faq {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
  overflow: hidden;
}

.faq-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  min-height: 48px;
  padding: 0.8rem 1rem;
  cursor: pointer;
}

.faq-button::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-button::after {
  transform: rotate(180deg);
}

.faq-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  padding: 0 1rem;
  color: var(--ink-soft);
}

.faq-item.open .faq-panel {
  padding-bottom: 1rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 48rem;
}

.schedule-table th,
.schedule-table td {
  border: 8px solid #ffffff;
  padding: 0.9rem 0.7rem;
  text-align: center;
  vertical-align: middle;
}

.schedule-table th {
  background: #b8bac0;
  color: #ffffff;
  font-weight: 700;
}

.schedule-table .time-slot {
  width: 6rem;
  background: #090909;
  color: #ffffff;
  font-weight: 700;
}

.schedule-table .day-spacer {
  background: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
}

.schedule-table .class-slot {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.schedule-table .class-slot span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.schedule-table .slot-tigers {
  background: #76afe8;
}

.schedule-table .slot-purple-red {
  background: #1e66ad;
}

.schedule-table .slot-white-green {
  background: #1878e0;
}

.schedule-table .slot-red-black {
  background: #090909;
}

.schedule-table .slot-all-belts {
  background: #585556;
}

.schedule-table .slot-private {
  background: #d34a1e;
}

.schedule-table .slot-leadership {
  background: #5d6068;
}

.schedule-table .slot-advanced {
  background: #154fa6;
}

.schedule-table .slot-xtreme {
  background: #187eb7;
}

.schedule-table .slot-legacy {
  background: #2568b1;
}

.schedule-table .slot-adults {
  background: #113f74;
}

.schedule-table .slot-empty {
  background: #d9d9dc;
  color: transparent;
}

.schedule-mobile {
  display: grid;
  gap: 1rem;
}

.schedule-day {
  padding: 1rem;
}

.schedule-day h2 {
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
}

.schedule-day-list {
  display: grid;
  gap: 0.7rem;
}

.schedule-day-list .class-slot {
  border-radius: 0.9rem;
  padding: 0.85rem 0.9rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.schedule-day-list .class-slot strong {
  display: block;
  font-size: 0.92rem;
}

.schedule-day-list .class-slot span {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.schedule-day-list .slot-tigers {
  background: rgba(118, 175, 232, 0.34);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #76afe8, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-day-list .slot-purple-red {
  background: rgba(30, 102, 173, 0.3);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #1e66ad, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-day-list .slot-white-green {
  background: rgba(24, 120, 224, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #1878e0, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-day-list .slot-red-black {
  background: rgba(15, 23, 42, 0.2);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #0f172a, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-day-list .slot-all-belts {
  background: rgba(88, 85, 86, 0.22);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #585556, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-day-list .slot-private {
  background: rgba(211, 74, 30, 0.26);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #d34a1e, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-day-list .slot-leadership {
  background: rgba(174, 176, 180, 0.42);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #aeb0b4, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-day-list .slot-advanced {
  background: rgba(21, 79, 166, 0.3);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #154fa6, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-day-list .slot-xtreme {
  background: rgba(24, 126, 183, 0.3);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #187eb7, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-day-list .slot-legacy {
  background: rgba(37, 104, 177, 0.3);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #2568b1, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-day-list .slot-adults {
  background: rgba(17, 63, 116, 0.3);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 4px 0 0 #113f74, inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.schedule-desktop {
  display: none;
}

.form {
  display: grid;
  gap: 0.7rem;
}

label {
  font-weight: 600;
  color: var(--ink-soft);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.62rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid #bfd3ea;
  font: inherit;
}

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

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.faq-button:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.cta-band {
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0b63ce 0%, #0f172a 100%);
  color: #fff;
}

.cta-band p {
  margin: 0.45rem 0 0;
  color: #d8e7fb;
}

.cta-band .button.primary {
  background: #ffffff;
  border-color: #ffffff;
  color: #0f172a;
}

.cta-band .button.primary:hover,
.cta-band .button.primary:focus-visible {
  background: #e8f1fc;
  border-color: #e8f1fc;
  color: #0f172a;
}

.cta-band .button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.cta-band .button.secondary:hover,
.cta-band .button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.site-footer {
  border-top: 1px solid rgba(202, 221, 244, 0.2);
  padding: 2.2rem 0;
  margin-top: 2rem;
  background: #0a1b34;
  color: #f3f8ff;
}

.site-footer h3 {
  color: #ffffff;
}

.site-footer .text-link {
  color: #d9e8fb;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.small {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.site-footer .small {
  color: #c6d8f0;
}

.site-footer .small a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (min-width: 48rem) {
  .schedule-mobile {
    display: none;
  }

  .schedule-desktop {
    display: block;
  }

  .header-inner {
    min-height: 4.4rem;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: block;
    border: 0;
    background: transparent;
  }

  .main-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
  }

  .nav-dropdown-head {
    display: block;
  }

  .nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.45rem;
  }

  .nav-sub-toggle {
    display: none;
  }

  .nav-submenu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 14rem;
    padding: 0.4rem;
    background: #10294d;
    border: 1px solid rgba(202, 221, 244, 0.28);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    z-index: 60;
  }

  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu,
  .nav-dropdown.open .nav-submenu {
    display: block;
  }

  .hero {
    padding: 4.6rem 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2rem;
  }

  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .card-grid:not(.card-grid--3) > :last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.5rem);
    justify-self: center;
  }

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

  .duo {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
  }

  .growth-layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

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

@media (min-width: 64rem) {
  .card-grid.programs {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Under Construction Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 52, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1.25rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 32rem;
  width: 100%;
  padding: 2rem 1.75rem;
  text-align: center;
}

.modal-badge {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.modal-title {
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.modal-body {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.5rem 0;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 30rem) {
  .modal-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.modal-actions .button {
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
}

.modal-stay-btn {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink-soft);
}

.modal-stay-btn:hover,
.modal-stay-btn:focus-visible {
  background: var(--line);
  color: var(--ink);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}
