/* Move Me Dance & Fitness Studio */
:root {
  --ink: #2a0e2e;
  --ink-2: #4b2a4f;
  --muted: #6e5670;
  --cream: #fff7f0;
  --blush: #fde8ef;
  --lilac: #f1e4f6;
  --magenta: #d81b72;
  --magenta-dk: #b0125b;
  --coral: #ff6b4a;
  --sun: #ffc23d;
  --teal: #12a39a;
  --white: #fff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -18px rgba(42, 14, 46, .35);
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-dk); text-underline-offset: 3px; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.i { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 700 1rem/1 var(--body);
  padding: 1em 1.5em; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 10px 24px -10px rgba(216, 27, 114, .8); }
.btn-primary:hover { background: var(--magenta-dk); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffd36e; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 247, 240, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(42, 14, 46, .08);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: 800 1.55rem/1 var(--display); letter-spacing: -.03em; }
.brand-text small { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta-dk); margin-top: 4px; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-text small { color: var(--sun); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap;
}
.site-nav ul a:hover { background: var(--blush); color: var(--ink); }
.site-nav ul a[aria-current="page"] { background: var(--ink); color: #fff; }
.btn-call { background: var(--magenta); color: #fff; padding: .8em 1.2em; white-space: nowrap; }
.btn-call:hover { background: var(--magenta-dk); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 48px; height: 48px; border-radius: 14px;
    border: 0; background: var(--ink); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 22px; height: 2.5px; border-radius: 2px; background: #fff; position: relative;
    transition: transform .2s ease, background-color .2s ease;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 18px 16px 24px; background: var(--cream);
    border-bottom: 1px solid rgba(42, 14, 46, .1);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { font-size: 1.15rem; padding: 12px 16px; }
  .btn-call { justify-content: center; }
}

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(42, 14, 46, .92) 0%, rgba(42, 14, 46, .72) 38%, rgba(42, 14, 46, .12) 70%, rgba(42, 14, 46, 0) 100%),
    linear-gradient(0deg, rgba(42, 14, 46, .45), rgba(42, 14, 46, 0) 40%);
}
.hero-inner { min-height: min(88vh, 760px); display: flex; flex-direction: column; justify-content: center; padding: 72px 0 96px; }
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--magenta-dk); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.hero .eyebrow, .band .eyebrow { color: var(--sun); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 540px; color: rgba(255, 255, 255, .9); margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding: 0; list-style: none; font-weight: 600; font-size: .98rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
@media (max-width: 720px) {
  .hero::before { background: linear-gradient(0deg, rgba(42, 14, 46, .95) 0%, rgba(42, 14, 46, .75) 55%, rgba(42, 14, 46, .25) 100%); }
  .hero-inner { min-height: 640px; justify-content: flex-end; padding: 220px 0 56px; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(42, 14, 46, .95), rgba(42, 14, 46, .45)); }
.page-hero .wrap { padding: 96px 0 84px; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { max-width: 640px; font-size: 1.2rem; color: rgba(255, 255, 255, .9); }
.page-hero .eyebrow { color: var(--sun); }

/* Marquee */
.marquee { background: var(--magenta); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: -14px -10px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.marquee li { font: 800 clamp(1.2rem, 2.4vw, 1.75rem)/1 var(--display); letter-spacing: -.01em; white-space: nowrap; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.marquee li::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); margin-left: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: 1.15rem; color: var(--ink-2); }
.section-head.center { text-align: center; margin-inline: auto; }
.bg-blush { background: var(--blush); }
.bg-lilac { background: var(--lilac); }

/* Age cards */
.ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.age-card {
  position: relative; border-radius: var(--radius); padding: 28px 24px 26px;
  color: var(--ink); text-decoration: none; background: #fff;
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s ease;
  display: flex; flex-direction: column;
}
.age-card:hover { transform: translateY(-6px); color: var(--ink); }
.age-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--c, var(--magenta)); }
.age-card .age { font: 800 2.4rem/1 var(--display); color: var(--c, var(--magenta)); letter-spacing: -.03em; margin: 6px 0 10px; }
.age-card h3 { margin-bottom: .35em; }
.age-card p { color: var(--ink-2); font-size: 1rem; margin-bottom: 18px; }
.age-card .more { margin-top: auto; font-weight: 700; color: var(--magenta-dk); }
.age-card .more::after { content: " \2192"; }
@media (max-width: 980px) { .ages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ages { grid-template-columns: 1fr; } }

/* Class cards */
.class-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.class-grid.three { grid-template-columns: repeat(3, 1fr); }
.class-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.class-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lilac); }
.class-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.class-card:hover img { transform: scale(1.04); }
.class-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.class-card p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: auto 0 0; }
.tags li { font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--blush); color: var(--magenta-dk); }
@media (max-width: 980px) { .class-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .class-grid, .class-grid.three { grid-template-columns: 1fr; } }

/* Feature band (dark) */
.band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .86); }
.band-split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.band-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.band-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.band .blob { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .35; z-index: 0; pointer-events: none; }
.band .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) { .band-split { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split-media .sticker {
  position: absolute; right: -14px; bottom: -18px;
  background: var(--sun); color: var(--ink); border-radius: 999px;
  font: 800 1rem/1.1 var(--display); padding: 18px 22px; transform: rotate(-5deg);
  box-shadow: var(--shadow);
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } .split-media .sticker { right: 10px; } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.band .checks li::before { background-color: var(--coral); }

/* Why grid */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.why-item .dot { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: var(--c, var(--magenta)); color: #fff; font: 800 1.4rem/1 var(--display); }
.why-item p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } }

/* Lists of classes (detail pages) */
.class-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.class-list li { background: #fff; border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: 0 10px 26px -18px rgba(42, 14, 46, .45); border-left: 6px solid var(--c, var(--magenta)); }
.class-list h3 { font-size: 1.25rem; margin-bottom: .3em; }
.class-list .age-pill { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--sun); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.class-list p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 760px) { .class-list { grid-template-columns: 1fr; } }

/* Schedule callout */
.callout {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  background: linear-gradient(120deg, var(--magenta), var(--coral));
  color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 24px 50px -24px rgba(216, 27, 114, .7);
}
.callout h2, .callout h3 { color: #fff; margin-bottom: .25em; }
.callout p { margin: 0; color: rgba(255, 255, 255, .92); }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

/* CTA band */
.cta { text-align: center; }
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta p { max-width: 600px; margin: 0 auto 28px; font-size: 1.15rem; }
.cta .btn-row { justify-content: center; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.card { background: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.big-phone { font: 800 clamp(2rem, 5vw, 3.2rem)/1 var(--display); color: var(--magenta); text-decoration: none; letter-spacing: -.02em; display: inline-block; margin: 6px 0 8px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 1.2rem/1 var(--display); }
.steps strong { display: block; font-size: 1.1rem; }
.steps span { color: var(--ink-2); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: 0 10px 26px -20px rgba(42, 14, 46, .5); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 1.5rem/1 var(--display); color: var(--magenta); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 72px 0 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-h { font: 700 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 16px; }
.footer-tag { margin-top: 18px; max-width: 320px; }
.site-footer address { font-style: normal; margin-bottom: 10px; }
.footer-phone { font: 800 1.4rem/1.2 var(--display); text-decoration: none; }
.site-footer .muted { color: rgba(255, 255, 255, .6); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 56px; padding: 22px 0 28px; font-size: .9rem; color: rgba(255, 255, 255, .55); }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 720px) {
  .call-bar {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: var(--magenta); color: #fff; text-decoration: none;
    font-weight: 700; padding: 16px; border-radius: 999px;
    box-shadow: 0 14px 30px -10px rgba(42, 14, 46, .6);
    transition: transform .3s ease, opacity .3s ease;
  }
  .js .call-bar { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .js .call-bar.show { transform: none; opacity: 1; pointer-events: auto; }
  .call-bar:hover { color: #fff; }
  body { padding-bottom: 84px; }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .age-card, .class-card img { transition: none; }
}
