:root {
  --black: #0c0c0d;
  --charcoal: #171719;
  --charcoal-2: #222226;
  --red: #d71920;
  --red-dark: #aa1116;
  --white: #ffffff;
  --off-white: #f6f6f4;
  --gray-100: #eeeeec;
  --gray-300: #c9c9c5;
  --gray-600: #67676d;
  --gray-800: #2f2f34;
  --shadow: 0 18px 45px rgba(0, 0, 0, .12);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 84px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gray-800);
  background: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red-dark); text-underline-offset: .2em; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 9999; background: var(--white); padding: 10px 14px; border-radius: 6px; color: var(--black); }
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 { color: var(--black); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 .65em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.65rem); }
p { margin: 0 0 1.2em; }
.eyebrow { color: var(--red); font-weight: 850; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: .8rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.32rem); max-width: 760px; color: #4e4e54; }
.muted { color: var(--gray-600); }
.text-center { text-align: center; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { color: var(--white); background: var(--red); }
.button--primary:hover { color: var(--white); background: var(--red-dark); }
.button--dark { color: var(--white); background: var(--black); }
.button--dark:hover { color: var(--white); background: var(--charcoal-2); }
.button--light { color: var(--black); background: var(--white); }
.button--light:hover { color: var(--black); background: var(--off-white); }
.button--outline { color: var(--black); border-color: #b8b8b8; background: transparent; }
.button--outline:hover { border-color: var(--black); color: var(--black); }
.button--outline-light { color: var(--white); border-color: rgba(255,255,255,.45); background: transparent; }
.button--outline-light:hover { color: var(--white); border-color: var(--white); }
.button--full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header__inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex-shrink: 0; }
.brand img { width: auto; height: var(--header-h); object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { color: #f4f4f4; text-decoration: none; border: 0; background: transparent; padding: 12px 12px; font-weight: 750; font-size: .94rem; border-radius: 8px; }
.nav-link:hover, .nav-link.is-current { color: var(--white); background: rgba(255,255,255,.08); }
.nav-group { position: relative; }
.nav-dropdown-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 8px; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.nav-group:hover .nav-dropdown, .nav-group.is-open .nav-dropdown { display: grid; }
@media (min-width: 981px) {
  /* Keep hover active while the pointer crosses the gap below the button. */
  .nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
  .nav-group:focus-within .nav-dropdown { display: grid; }
}
.nav-dropdown a { padding: 10px 12px; color: var(--black); text-decoration: none; border-radius: 8px; font-weight: 700; }
.nav-dropdown a:hover { background: var(--off-white); color: var(--red-dark); }
.nav-cta { margin-left: 10px; min-height: 44px; padding-inline: 18px; }
.nav-toggle { display: none; color: var(--white); border: 1px solid rgba(255,255,255,.18); background: transparent; border-radius: 9px; padding: 8px 10px; align-items: center; gap: 10px; }
.nav-toggle__icon { width: 20px; display: grid; gap: 4px; }
.nav-toggle__icon i { height: 2px; background: currentColor; display: block; }

.hero {
  min-height: min(760px, calc(100svh - var(--header-h)));
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,.12) 78%, transparent 100%); }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__content { position: relative; z-index: 2; max-width: 720px; padding-block: 95px; }
.hero h1 { text-shadow: 0 2px 8px rgba(0,0,0,.35); color: var(--white); max-width: 720px; margin-bottom: 18px; }
.hero .lead { text-shadow: 0 1px 5px rgba(0,0,0,.65); color: var(--white); max-width: 640px; }
.hero__location { margin-top: 28px; font-weight: 700; color: var(--white); text-shadow: 0 1px 5px rgba(0,0,0,.65); }
.hero--page { min-height: 450px; }
.hero--page h1 { font-size: clamp(2.65rem, 6vw, 4.8rem); }

.section { padding: 86px 0; }
.section--tight { padding: 60px 0; }
.section--light { background: var(--off-white); }
.section--dark { background: var(--charcoal); color: #dedee1; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading--center { text-align: center; margin-inline: auto; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card { position: relative; min-height: 440px; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); box-shadow: var(--shadow); }
.program-card__image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.program-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.88) 100%); }
.program-card__content { position: absolute; z-index: 2; inset: auto 0 0; padding: 28px; color: var(--white); }
.program-card h3 { color: var(--white); font-size: 1.65rem; margin-bottom: 8px; }
.program-card p { color: rgba(255,255,255,.78); margin-bottom: 16px; }
.program-card a { color: var(--white); font-weight: 800; text-decoration: none; }
.program-card a::after { content: " →"; color: var(--red); }

.age-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.age-card { background: var(--white); border: 1px solid #e8e8e5; border-top: 5px solid var(--red); border-radius: var(--radius); padding: 28px; }
.age-card .age { color: var(--red-dark); font-weight: 850; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; }
.age-card h3 { margin-top: 8px; }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 7vw, 90px); }
.feature-split__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 24px; padding: 0; list-style: none; margin: 24px 0; }
.check-grid li { position: relative; padding-left: 24px; font-weight: 700; }
.check-grid li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value-card { padding: 24px; border-radius: 14px; background: var(--white); border: 1px solid #e7e7e4; }
.value-card strong { display: block; font-size: 1.25rem; color: var(--black); margin-bottom: 5px; }
.value-card span { color: var(--gray-600); font-size: .95rem; }

.quote-block { border-left: 5px solid var(--red); padding-left: 26px; font-size: 1.28rem; color: var(--black); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .75fr); gap: 60px; align-items: start; }
.sidebar-card { border-radius: var(--radius); padding: 28px; background: var(--off-white); border: 1px solid #e7e7e4; position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-card { color: var(--black); }
.sidebar-card h2, .sidebar-card h3 { color: var(--black); }
.sidebar-card h2 { font-size: 1.5rem; }

.contact-intro { padding: 32px 0; background: var(--off-white); border-bottom: 1px solid var(--gray-100); }
.contact-intro h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.contact-intro .lead { margin-bottom: 0; }
.contact-details { padding: 36px 0 48px; scroll-margin-top: calc(var(--header-h) + 16px); }
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.contact-grid h2 { font-size: 1.6rem; }
.contact-grid .lead { font-size: 1.1rem; }
.contact-grid .button-row { margin-top: 18px; }
.contact-grid .photo-banner { margin: 24px 0 0; }
.contact-grid .sidebar-card { position: static; padding: 24px; }

.photo-banner { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: var(--radius); margin: 30px 0; }
.photo-banner--storefront { aspect-ratio: auto; height: auto; }
.feature-split__image .storefront-photo { aspect-ratio: auto; height: auto; }
.photo-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid #e4e4e2; }
.photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-card__body { padding: 24px; }

.lead-form { display: grid; gap: 16px; color: var(--black); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label > span { display: block; margin-bottom: 6px; color: var(--black); font-weight: 750; font-size: .91rem; }
.lead-form small { font-weight: 500; color: var(--gray-600); }
input, select, textarea { width: 100%; border: 1px solid #c9c9c9; border-radius: 9px; background: var(--white); padding: 12px 13px; color: var(--black); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,25,32,.12); }
textarea { resize: vertical; }
.form-note { font-size: .84rem; color: var(--gray-600); margin: 0; text-align: center; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-alert { border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; }
.form-alert--error { background: #fff0f0; border: 1px solid #e8a1a1; color: #7d1014; }

.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.day-card { background: var(--white); border: 1px solid #e5e5e2; border-radius: var(--radius); overflow: hidden; }
.day-card h2 { background: var(--black); color: var(--white); font-size: 1.25rem; padding: 16px 20px; margin: 0; }
.day-card ul { list-style: none; margin: 0; padding: 10px 20px 18px; }
.day-card li { padding: 12px 0; border-bottom: 1px solid #ececea; }
.day-card li:last-child { border-bottom: 0; }
.day-card time { display: block; font-weight: 850; color: var(--red-dark); font-size: .9rem; }
.day-card span { display: block; color: var(--gray-800); }

.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.staff-card { background: var(--white); border: 1px solid #e5e5e2; border-radius: var(--radius); overflow: hidden; }
.staff-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; }
.staff-card img.staff-card__portrait { object-position: center top; }
.staff-card__body { padding: 24px; }
.staff-card__role { color: var(--red-dark); text-transform: uppercase; letter-spacing: .07em; font-weight: 850; font-size: .78rem; }

.cta-band { background: var(--red); color: var(--white); padding: 54px 0; }
.cta-band h2 { color: var(--white); margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band .eyebrow { color: rgba(255,255,255,.78); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer { background: var(--black); color: #bcbcc1; padding: 62px 0 24px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: #ff5d62; }
.site-footer address { font-style: normal; }
.site-footer__brand img { width: 220px; margin-bottom: 18px; }
.footer-contact { font-size: 1.18rem; font-weight: 850; }
.footer-nav { display: grid; gap: 7px; }
.site-footer__bottom { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: .8rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__note { color: #7f7f84; }

.breadcrumb { padding: 16px 0; font-size: .84rem; color: var(--gray-600); }
.breadcrumb a { color: inherit; }
.notice { padding: 15px 18px; border-radius: 10px; background: #fff7dc; border: 1px solid #e7d99e; font-size: .92rem; }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 20px 24px; background: var(--black); flex-direction: column; align-items: stretch; gap: 4px; border-top: 1px solid rgba(255,255,255,.08); }
  .primary-nav.is-open { display: flex; }
  .nav-link { width: 100%; text-align: left; padding: 12px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-dropdown { position: static; box-shadow: none; margin: 4px 0 8px 12px; background: #202024; }
  .nav-dropdown a { color: var(--white); }
  .nav-dropdown a:hover { color: var(--white); background: rgba(255,255,255,.08); }
  .program-grid, .age-grid, .schedule-grid, .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer__grid > :last-child { grid-column: span 3; }
}

@media (max-width: 700px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-toggle__label { display: none; }
  .hero { min-height: 610px; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55) 60%, rgba(0,0,0,.70)); }
  .hero__content { align-self: end; padding: 70px 0 54px; }
  .hero--page { min-height: 500px; }
  .section { padding: 66px 0; }
  .program-grid, .age-grid, .schedule-grid, .staff-grid, .value-grid, .form-row, .feature-split { grid-template-columns: 1fr; }
  .program-card { min-height: 380px; }
  .feature-split__image { order: -1; }
  .check-grid { grid-template-columns: 1fr; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .button { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > :last-child { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; }
}

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