/* Apex Martial Arts, design system.
   A light, modern, athletic look: deep navy ink, electric blue, amber accent,
   Space Grotesk display + Inter body, rounded soft-shadow cards. Intentionally
   distinct from the dark cinematic template used elsewhere. */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b1220;
  --ink-soft: #5a6577;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-panel: #eef2fb;
  --primary: #1d4ed8;
  --primary-dark: #1636a8;
  --primary-tint: #dbe4fb;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --line: #e5e9f2;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 24px 60px -24px rgba(23, 54, 168, .35);
  --maxw: 1180px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #eaeefb; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--ink .eyebrow { color: var(--accent); }

.section__head { max-width: 720px; margin: 0 0 44px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section__head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }
.section--ink .section__head p { color: #b9c3de; }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Buttons (shared with LPs) ---------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(29, 78, 216, .6); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #291a00; --btn-bd: var(--accent); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--primary); --btn-fg: var(--primary); box-shadow: none; }
.section--ink .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.3); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Demo banner ---------- */
.demo-bar { background: var(--ink); color: #dbe4fb; text-align: center; font-size: .85rem; padding: 9px 16px; line-height: 1.4; }
.demo-bar strong { color: #fff; font-weight: 700; }
.demo-bar a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.demo-bar a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16,24,40,.5); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { width: 40px; height: 40px; border-radius: 11px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand__sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 26px; }
.nav__list a { font-weight: 500; font-size: .95rem; color: var(--ink-soft); transition: color .15s ease; }
.nav__list a:hover { color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex-direction: column; gap: 5px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; }
.mobile-nav ul { display: flex; flex-direction: column; padding: 12px 24px 22px; gap: 4px; }
.mobile-nav a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: 1.5px solid var(--primary); margin-top: 10px; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1200px 500px at 85% -10%, var(--primary-tint), transparent 60%),
  linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 78px 0 88px; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 22px; }
.hero__tag b { background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .72rem; letter-spacing: .04em; }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -.03em; }
.hero__title em { font-style: normal; color: var(--primary); }
.hero__title .u { background: linear-gradient(180deg, transparent 66%, rgba(245,158,11,.4) 0); }
.hero__lede { margin-top: 22px; font-size: 1.18rem; color: var(--ink-soft); max-width: 32ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 34px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: .93rem; color: var(--ink-soft); }
.hero__media { position: relative; }
.hero__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--bg-panel); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip { position: absolute; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.hero__chip--tl { top: 22px; left: -18px; }
.hero__chip--br { bottom: 24px; right: -18px; }
.hero__chip b { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); line-height: 1; }
.hero__chip span { font-size: .78rem; color: var(--ink-soft); }
.hero__chip .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-tint); display: grid; place-items: center; color: var(--primary); font-weight: 700; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: flex; gap: 48px; padding: 18px 0; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: .01em; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--accent); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Arts (two disciplines) ---------- */
.arts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.art-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.art-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.art-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.15) 20%, rgba(11,18,32,.9) 100%); z-index: 1; }
.art-card__body { position: relative; z-index: 2; padding: 32px; }
.art-card__kicker { display: inline-block; font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); border-radius: 999px; padding: 6px 12px; margin-bottom: 14px; }
.art-card h3 { font-size: 1.9rem; }
.art-card p { margin-top: 10px; color: #dfe6f7; max-width: 42ch; }
.art-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: #fff; }
.art-card__link::after { content: "→"; color: var(--accent); transition: transform .2s ease; }
.art-card:hover .art-card__link::after { transform: translateX(4px); }

/* ---------- Audience columns ---------- */
.audience__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.aud-card__age { font-family: var(--font-display); font-weight: 700; color: var(--accent-dark); font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; }
.aud-card h3 { font-size: 1.5rem; margin-top: 8px; }
.aud-card p { margin-top: 12px; color: var(--ink-soft); }
.aud-card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.aud-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.aud-card li::before { content: "✓"; color: var(--primary); font-weight: 800; }

/* ---------- Timetable ---------- */
.timetable__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.timetable__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.slot { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow); }
.slot[data-cat="bjj"] { border-left-color: var(--accent); }
.slot[data-cat="kids"] { border-left-color: #10b981; }
.slot__day { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.slot__name { font-weight: 600; margin-top: 6px; font-size: 1.05rem; }
.slot__time { color: var(--primary); font-weight: 600; margin-top: 4px; font-size: .92rem; }
.slot__age { color: var(--ink-soft); font-size: .85rem; margin-top: 2px; }

/* Upcoming events + closures. Fed by the CRM (/api/events), so the row
   count is whatever the school actually has booked; the grid auto-fills
   rather than assuming a fixed number of cards. */
.events__grid { display: grid; gap: 14px; }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); }
.event__when { display: flex; flex-direction: column; gap: 2px; text-align: center; padding-right: 18px; border-right: 1px solid var(--line); }
.event__date { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.event__time { color: var(--primary); font-weight: 600; font-size: .85rem; }
.event__name { font-size: 1.12rem; font-weight: 700; }
.event__meta { color: var(--ink-soft); font-size: .88rem; margin-top: 3px; }
.event__desc { color: var(--ink-soft); font-size: .92rem; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.event__tags:empty { display: none; }
.event__fee, .event__spots, .event__closed { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 5px 11px; }
.event__fee { background: var(--primary-tint); color: var(--primary-dark); }
.event__spots { background: #fef3c7; color: #92400e; }
.event__closed { background: var(--bg-panel); color: var(--ink-soft); }
.event__cta { flex: none; }

.closures { background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 20px; }
.closures__title { font-family: var(--font-display); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #92400e; }
.closures__list { margin-top: 8px; padding-left: 18px; color: #713f12; font-size: .93rem; }
.closures__list li { margin-top: 4px; }

/* Frame for an embedded CRM widget. The loader injects a same-width iframe
   and resizes it by postMessage, so the card only supplies the chrome and a
   min-height for the pre-resize flash. */
.embed-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; overflow: hidden; min-height: 420px; }
.embed-card iframe { border-radius: var(--radius-sm); }
.embed-card__fallback { padding: 40px 20px; text-align: center; }

@media (max-width: 720px) {
  .event { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .event__when { flex-direction: row; gap: 10px; text-align: left; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .event__cta .btn { width: 100%; }
}
.timetable__note { margin-top: 22px; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Coaches ---------- */
.coaches__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.coach { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.coach__avatar { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); margin-bottom: 16px; }
.coach:nth-child(2) .coach__avatar { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #291a00; }
.coach:nth-child(3) .coach__avatar { background: linear-gradient(135deg, #10b981, #047857); }
.coach:nth-child(4) .coach__avatar { background: linear-gradient(135deg, #6366f1, #4338ca); }
.coach__role { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); }
.coach h3 { font-size: 1.2rem; margin-top: 6px; }
.coach p { margin-top: 10px; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan--featured { background: var(--ink); color: #eef2fb; border-color: var(--ink); box-shadow: var(--shadow-lg); position: relative; }
.plan__tag { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #291a00; font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; }
.plan__sub { color: var(--ink-soft); margin-top: 6px; font-size: .95rem; }
.plan--featured .plan__sub { color: #aeb9d6; }
.plan__price { font-family: var(--font-display); font-weight: 700; font-size: 3rem; margin-top: 22px; line-height: 1; }
.plan__price sup { font-size: 1.1rem; vertical-align: super; color: var(--ink-soft); }
.plan__price small { font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.plan--featured .plan__price small { color: #aeb9d6; }
.plan__features { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 11px; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.plan__features li::before { content: "✓"; color: var(--primary); font-weight: 800; }
.plan--featured .plan__features li::before { color: var(--accent); }
.plan .btn { margin-top: auto; }
.plans__note { margin-top: 26px; text-align: center; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--primary); font-size: 1.5rem; font-weight: 400; transition: transform .2s ease; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 22px; color: var(--ink-soft); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.quote__stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 12px; }
.quote p { font-size: 1.02rem; }
.quote__by { margin-top: 16px; font-weight: 600; font-size: .92rem; }
.quote__by span { display: block; color: var(--ink-soft); font-weight: 400; font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta-band__inner { background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: var(--radius-lg); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; box-shadow: var(--shadow-lg); flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band__inner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(245,158,11,.25); }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); position: relative; }
.cta-band p { color: #d8e1fb; margin-top: 10px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Contact + form (shared with LPs) ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact__info h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.contact__info .lede { color: var(--ink-soft); margin-top: 14px; font-size: 1.08rem; }
.contact__list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact__list li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: baseline; }
.contact__list li > span:first-child { font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea { font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); background: #fff; }
.field__hint { color: var(--ink-soft); font-size: .82rem; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 400; }
.form__note { margin-top: 14px; font-size: .92rem; min-height: 1.2em; }
.form__note.is-error { color: #b42318; }
.form__note.is-success { color: #067647; }

/* ---------- Map ---------- */
.map { height: 420px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c7d0e6; padding: 64px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: #8b97b8; }
.footer__tag { margin-top: 16px; max-width: 30ch; color: #9aa6c6; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #c7d0e6; transition: all .15s ease; }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer__col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a, .footer__col p { color: #9aa6c6; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a:hover { color: #fff; }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: #8b97b8; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--ink); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; z-index: 90; box-shadow: var(--shadow-lg); }
.to-top.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Reveal ----------
   Content is visible by default. JS adds `.is-armed` right before observing,
   so if the script never runs (or errors earlier) nothing is ever hidden. */
.reveal { transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-armed { opacity: 0; transform: translateY(18px); }
.reveal.is-armed.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; }
  .hero__media { max-width: 460px; }
  .hero__lede { max-width: none; }
  .arts__grid, .audience__grid, .coaches__grid, .plans, .quotes, .footer__top { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .arts__grid, .audience__grid, .coaches__grid, .plans, .quotes, .footer__top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band__inner { padding: 36px 26px; }
  .hero__chip--tl { left: 0; } .hero__chip--br { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal.is-armed { opacity: 1 !important; transform: none !important; }
}
