/* Melody Lane Academy: MLA Core Branding */
:root {
  --teal-dark: #1d6672;
  --teal-deep: #134a53;
  --teal-light: #a9d6d9;
  --teal-mist: #e6f3f3;
  --coral: #dd7975;
  --coral-dark: #c45f5b;
  --yellow: #f4c95d;
  --grey: #5d6a6d;
  --ink: #1f2b2e;
  --cream: #fbf7f2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 74, 83, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Raleway", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 {
  font-family: "League Spartan", "Raleway", sans-serif;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--teal-deep);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-family: "League Spartan", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--coral-dark);
  margin-bottom: 0.6em;
  display: block;
}
.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 28px 13px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-dark); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--teal-deep); }
.btn-teal { background: var(--teal-dark); color: var(--white); }
.btn-teal:hover { background: var(--teal-deep); }

/* Draft banner */
.draft-banner {
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(29, 102, 114, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}
.logo img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav .dd > button {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--teal-deep);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 10px 12px;
  cursor: pointer;
}
.nav > a:hover, .nav .dd > button:hover { color: var(--coral-dark); }
.nav .btn { margin-left: 10px; padding: 12px 22px 10px; }
.nav > a.btn-coral { background: var(--coral); color: var(--white); }
.nav > a.btn-coral:hover { background: var(--coral-dark); color: var(--white); }
.dd { position: relative; }
.dd-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.dd-menu a:hover { background: var(--teal-mist); color: var(--teal-deep); }
.menu-toggle {
  display: none;
  background: var(--teal-dark);
  color: var(--white);
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: "League Spartan", sans-serif;
  font-size: 1rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 74, 83, 0.92) 0%, rgba(19, 74, 83, 0.72) 45%, rgba(19, 74, 83, 0.15) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 620px; padding: 90px 0; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p { font-size: 1.2rem; opacity: 0.95; margin-bottom: 1.8em; }
.hero .eyebrow { color: var(--teal-light); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats strip */
.stats { background: var(--teal-dark); color: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat { padding: 30px 12px; border-right: 1px solid rgba(255, 255, 255, 0.15); }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: "League Spartan", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 6px;
}
.stat span { font-size: 0.95rem; opacity: 0.92; }

/* Program cards */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.program-card:hover { transform: translateY(-5px); }
.program-card img { height: 230px; width: 100%; object-fit: cover; }
.program-card .body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.program-card h3 { margin-bottom: 0.35em; }
.program-card p { font-size: 0.96rem; color: var(--grey); flex: 1; }
.program-card .more {
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  color: var(--coral-dark);
}
.tag {
  align-self: flex-start;
  background: var(--teal-mist);
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-img { position: relative; }
.split-img img { border-radius: 22px; box-shadow: var(--shadow); width: 100%; height: 560px; object-fit: cover; }
.split-img::before {
  content: "";
  position: absolute;
  inset: 24px -18px -18px 24px;
  border: 3px solid var(--coral);
  border-radius: 22px;
  z-index: -1;
}
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.feature-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.feature-list .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-mist); color: var(--teal-dark);
}
.feature-list h4 { font-size: 1.12rem; margin-bottom: 0.2em; }
.feature-list p { margin: 0; color: var(--grey); font-size: 0.97rem; }

/* Little ones band */
.band { background: var(--teal-mist); }

/* Safety */
.safety { background: var(--teal-deep); color: var(--white); }
.safety h2 { color: var(--white); }
.safety .eyebrow { color: var(--yellow); }
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.safety-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-weight: 500;
}

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 34px 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--coral);
  position: absolute;
  top: 10px;
  left: 26px;
  opacity: 0.35;
}
.quote p { position: relative; font-size: 1.04rem; }
.quote cite { font-style: normal; font-family: "League Spartan", sans-serif; font-weight: 600; color: var(--teal-dark); }

/* Leader */
.leader {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
  background: var(--white);
  border-radius: 24px;
  padding: 50px;
  box-shadow: var(--shadow);
}
.leader-logo { background: var(--teal-mist); border-radius: 18px; padding: 40px; display: grid; place-items: center; }
.leader-logo img { width: 100%; max-width: 300px; height: auto; }
.signature { font-family: "League Spartan", sans-serif; font-weight: 600; color: var(--coral-dark); font-size: 1.15rem; }

/* Form section */
.form-section { background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep)); color: var(--white); }
.form-section h2 { color: var(--white); }
.form-section .eyebrow { color: var(--yellow); }
.form-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.form-card { background: var(--white); border-radius: 20px; padding: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); }
.form-card iframe { width: 100%; min-height: 620px; border: none; border-radius: 12px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--yellow);
}

/* Visit */
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.visit-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.visit-card h3 { font-size: 1.15rem; }
.visit-card p { margin: 0 0 0.4em; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d3d4; padding: 64px 0 30px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: var(--white); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: #c9d3d4; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--yellow); }
.footer-logo { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.tagline { font-family: "League Spartan", sans-serif; color: var(--teal-light); font-size: 1.05rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; }
.footer-bottom a { display: inline; }

/* Responsive */
@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 22px 22px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 82px);
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav > a, .nav .dd > button { text-align: left; padding: 12px 4px; width: 100%; }
  .dd-menu { position: static; display: block; box-shadow: none; padding: 0 0 6px 12px; min-width: 0; }
  .nav .btn { margin: 12px 0 0; text-align: center; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
  .split, .form-grid, .leader, .quotes { grid-template-columns: 1fr; }
  .split-img img { height: 400px; }
  .split-img::before { display: none; }
  .leader { padding: 28px; gap: 28px; }
  .leader-logo { padding: 28px; }
  .safety-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero::after { background: linear-gradient(180deg, rgba(19, 74, 83, 0.6) 0%, rgba(19, 74, 83, 0.9) 70%); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .programs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo img { height: 52px; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ===== Inner pages ===== */
.page-hero {
  position: relative;
  color: var(--white);
  padding: 110px 0 90px;
  overflow: hidden;
  background: var(--teal-deep);
}
.page-hero .hero-bg { background-position: center 30%; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal-deep) 0%, var(--teal-deep) 46%, rgba(19, 74, 83, 0.6) 51%, rgba(19, 74, 83, 0) 62%);
}
.page-hero .hero-bg { left: 46%; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.2vw, 3.4rem); max-width: 600px; }
.page-hero p { font-size: 1.15rem; max-width: 560px; opacity: 0.95; }
.page-hero .eyebrow { color: var(--yellow); }
@media (max-width: 1199px) {
  .page-hero .hero-bg { left: 52%; }
  .page-hero::after { background: linear-gradient(90deg, var(--teal-deep) 0%, var(--teal-deep) 52%, rgba(19, 74, 83, 0.6) 56%, rgba(19, 74, 83, 0) 66%); }
  .page-hero h1, .page-hero p { max-width: 480px; }
}
@media (max-width: 820px) {
  .page-hero:not(.plain) { padding-top: 0; }
  .page-hero .hero-bg { position: relative; inset: auto; left: auto; height: 280px; margin-bottom: 36px; }
  .page-hero:not(.plain)::after { display: none; }
  .page-hero h1, .page-hero p { max-width: none; }
}
.page-hero.plain::after { background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep)); }
.page-hero .hero-actions { margin-top: 26px; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.lead { font-size: 1.18rem; color: var(--grey); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 240px; object-fit: cover; }
.card .body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card p { color: var(--grey); font-size: 0.98rem; }
.card ul { color: var(--grey); font-size: 0.97rem; padding-left: 1.1em; margin: 0 0 1em; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card.accent { border-top: 5px solid var(--coral); }
.card.teal { background: var(--teal-mist); box-shadow: none; }

.age-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(29, 102, 114, 0.15);
}
.age-row:last-child { border-bottom: 0; }
.age-badge {
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--coral-dark);
  line-height: 1.1;
}
.age-badge span { display: block; font-size: 0.9rem; font-weight: 500; color: var(--grey); margin-top: 6px; letter-spacing: 0.02em; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.pill-list li {
  background: var(--teal-mist);
  color: var(--teal-deep);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 0.92rem;
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 12px; }

.cta-band {
  background: var(--coral);
  color: var(--white);
  border-radius: 24px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin: 0 0 0.3em; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .btn { background: var(--white); color: var(--coral-dark); }
.cta-band .btn:hover { background: var(--teal-deep); color: var(--white); }

.faq-list details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  padding: 0 26px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--teal-deep);
  padding: 22px 30px 22px 0;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.6rem;
  color: var(--coral-dark);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p, .faq-list details ul { color: var(--grey); }
.faq-list details > div { padding-bottom: 20px; }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 18px; }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--coral); }
.timeline li { position: relative; padding: 0 0 30px 30px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--coral);
}
.timeline .year { font-family: "League Spartan", sans-serif; font-weight: 700; color: var(--coral-dark); font-size: 1.3rem; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.team-card .avatar {
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--teal-mist); color: var(--teal-dark);
  display: grid; place-items: center;
  font-family: "League Spartan", sans-serif; font-weight: 700; font-size: 1.8rem;
  margin-bottom: 16px; object-fit: cover;
}
.team-card h3 { margin-bottom: 0.15em; }
.team-card .role { font-family: "League Spartan", sans-serif; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-dark); font-weight: 600; margin-bottom: 12px; display: block; }
.team-card p { color: var(--grey); font-size: 0.96rem; }
.owner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.owner img { border-radius: 22px; width: 100%; height: 520px; object-fit: cover; box-shadow: var(--shadow); }
blockquote.pull {
  margin: 24px 0 0;
  padding: 20px 26px;
  border-left: 4px solid var(--coral);
  background: var(--teal-mist);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem;
  color: var(--teal-deep);
}

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; text-align: center; }
.contact-card h3 { font-size: 1.2rem; }
.contact-card a.big { font-family: "League Spartan", sans-serif; font-size: 1.25rem; font-weight: 600; text-decoration: none; word-break: break-word; }
.map-frame { width: 100%; height: 420px; border: 0; border-radius: 20px; box-shadow: var(--shadow); }

.link-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.link-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--teal-deep);
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.15s ease;
}
.link-tile:hover { transform: translateY(-3px); color: var(--coral-dark); }
.link-tile .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); flex: none; }

.dates { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dates li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; background: var(--white); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); }
.dates strong { font-family: "League Spartan", sans-serif; color: var(--teal-dark); }

.rules { counter-reset: r; list-style: none; padding: 0; }
.rules li { counter-increment: r; position: relative; padding: 0 0 14px 44px; }
.rules li::before {
  content: counter(r);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal-dark); color: var(--white);
  display: grid; place-items: center;
  font-family: "League Spartan", sans-serif; font-weight: 700; font-size: 0.9rem;
}

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid rgba(29, 102, 114, 0.12); vertical-align: top; }
.compare thead th { background: var(--teal-dark); color: var(--white); font-family: "League Spartan", sans-serif; font-size: 1.05rem; }
.compare tbody th { font-weight: 600; color: var(--teal-deep); width: 30%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

.notice { background: #fff6dd; border: 1px solid var(--yellow); border-radius: var(--radius); padding: 18px 22px; }

/* Families gate */
.gate { position: fixed; inset: 0; z-index: 100; background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep)); display: grid; place-items: center; padding: 22px; }
.gate-box { background: var(--white); border-radius: 22px; padding: 40px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); }
.gate-box img { width: 140px; margin: 0 auto 18px; }
.gate-box input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--teal-light); font-size: 1rem; font-family: inherit; margin: 14px 0; }
.gate-box .btn { width: 100%; }
.gate-error { color: var(--coral-dark); font-weight: 600; min-height: 1.4em; margin: 6px 0 0; }
body.locked main, body.locked .site-footer { visibility: hidden; }

@media (max-width: 1020px) {
  .cards, .cards.four, .team-grid, .link-tiles { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .cards, .cards.two, .cards.four, .team-grid, .link-tiles, .contact-grid { grid-template-columns: 1fr; }
  .age-row { grid-template-columns: 1fr; gap: 10px; }
  .owner { grid-template-columns: 1fr; }
  .owner img { height: 420px; }
  .cta-band { padding: 34px 26px; }
  .page-hero { padding: 80px 0 64px; }
  .dates li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 240px; }
}

/* ===== Class options (days, times, combos, trial buttons) ===== */
.term-note { font-size: 0.95rem; color: var(--teal-dark); font-weight: 600; margin-top: 8px; }
.fine { margin-top: 14px; font-size: 0.95rem; color: var(--grey); }
.class-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 18px; }
.class-option { background: var(--white); border: 1px solid #dfe9ea; border-top: 4px solid var(--coral); border-radius: 14px; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.class-option .opt-when { font-family: "League Spartan", sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; color: var(--teal-dark); }
.class-option .opt-when b { display: block; font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--ink); margin-top: 2px; }
.class-option h4 { margin: 4px 0 0; font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.class-option .opt-ages { font-size: 0.92rem; color: var(--grey); }
.class-option .opt-note { font-size: 0.85rem; color: var(--coral-dark); font-weight: 600; }
.class-option .btn { margin-top: auto; align-self: flex-start; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-ghost-dark { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal-dark); }
.btn-ghost-dark:hover { background: var(--teal-dark); color: var(--white); }
.class-option .btn-sm { margin-top: 10px; }
.class-table { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px 26px; }
.class-table h4 { margin: 0 0 6px; color: var(--teal-dark); font-size: 1.05rem; }
.class-table ul { list-style: none; margin: 0; padding: 0; }
.class-table li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid #e6eeee; font-size: 0.95rem; }
.class-table .ct-name { font-weight: 700; color: var(--ink); }
.class-table .ct-when { grid-column: 1; color: var(--ink); }
.class-table .ct-ages { grid-column: 1; color: var(--grey); font-size: 0.88rem; }
.class-table li a { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-weight: 700; font-size: 0.88rem; color: var(--coral-dark); white-space: nowrap; }
@media (max-width: 520px) { .class-table { grid-template-columns: 1fr; } .class-options { grid-template-columns: 1fr; } }

/* ===== Weekly schedule ===== */
.week-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 6px 0 18px; }
.week-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.age-filter { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--teal-deep); }
.age-filter select { font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--teal-dark); color: var(--teal-dark); background: var(--white); cursor: pointer; }
.wk-empty { display: none; color: var(--grey); font-size: 0.9rem; margin: 10px 0 0; }
.week-day.empty .wk-empty { display: block; }
.chip { font: inherit; font-size: 0.92rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--teal-dark); background: var(--white); color: var(--teal-dark); cursor: pointer; }
.chip.on, .chip:hover { background: var(--teal-dark); color: var(--white); }
.week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.week-day { background: var(--white); border: 1px solid #dfe9ea; border-radius: 14px; padding: 16px; }
.week-day h3 { margin: 0 0 8px; font-size: 1.2rem; color: var(--teal-deep); border-bottom: 3px solid var(--coral); padding-bottom: 8px; }
.week-day ul { list-style: none; margin: 0; padding: 0; }
.week-day li { padding: 10px 0; border-bottom: 1px solid #edf2f2; display: flex; flex-direction: column; gap: 2px; font-size: 0.93rem; }
.week-day li:last-child { border-bottom: 0; }
.week-day li.hide { display: none; }
.wk-time { font-family: "League Spartan", sans-serif; font-weight: 700; color: var(--teal-dark); font-size: 0.9rem; }
.wk-name { font-weight: 700; color: var(--ink); }
.wk-ages { color: var(--grey); font-size: 0.86rem; }
.week-day li a { font-weight: 700; font-size: 0.86rem; color: var(--coral-dark); margin-top: 2px; }
@media (max-width: 1100px) { .week { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .week { grid-template-columns: 1fr; } }

/* ===== Team headshots ===== */
.team-card .headshot { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center top; border-radius: 14px; margin-bottom: 18px; display: block; }
.team-card p + p { margin-top: 0.8em; }


/* ===== Pricing starting-at note ===== */
.price-note { background: var(--teal-mist); border-left: 5px solid var(--coral); border-radius: 12px; padding: 18px 22px; margin: 22px 0; }
.price-note .pn-label { display: block; font-family: "League Spartan", sans-serif; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--coral-dark); font-weight: 600; }
.price-note strong { display: block; font-family: "League Spartan", sans-serif; font-size: 1.6rem; color: var(--teal-deep); margin: 4px 0 6px; }
.price-note p { margin: 0; color: var(--ink); }


/* ===== Trial picker grouped by day ===== */
.trial-days { display: grid; gap: 28px; margin-top: 10px; }
.trial-day h3 { font-size: 1.35rem; color: var(--teal-deep); border-bottom: 3px solid var(--coral); padding-bottom: 8px; margin: 0; }
.trial-day .class-options { margin-top: 14px; }
