/* ==========================================================================
   Moore Than Dance site styles
   Palette pulled from the original site + logo
   ========================================================================== */
:root {
  --periwinkle: #85add4;
  --periwinkle-deep: #4a7099;   /* darkened from #5f88b3 so small text passes WCAG AA */
  --periwinkle-soft: #eef4fa;
  --slate: #6f8aa8;          /* logo "than" script */
  --orchid: #c58dda;
  --orchid-deep: #a96fc0;
  --lilac: #e1c3ed;
  --lilac-soft: #f6eefa;
  --sand: #e6ded6;
  --sand-soft: #f7f3ef;
  --beam: #d9d9d4;           /* logo spotlight gray */
  --ink: #1d1d1f;
  --body: #4a4a4f;
  --muted: #5f5f66;
  --white: #ffffff;
  --night: linear-gradient(125deg, #3e5d84 0%, #5f6fa3 45%, #8a5ea6 100%);
  --max: 1200px;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--periwinkle-deep); outline-offset: 3px; border-radius: 4px; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 16px; color: var(--body); background: var(--white);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
.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; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

h1, h2, h3 { font-family: "Gilda Display", Georgia, serif; font-weight: 400; color: var(--ink); line-height: 1.1; }
/* No lonely last words: balance headings and intro lines, avoid orphans elsewhere */
h1, h2, h3, .lead, .sec-intro, .lede, .page-hero .lead { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
.script { font-family: "Pinyon Script", cursive; color: var(--slate); font-weight: 400; white-space: nowrap; }
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--periwinkle-deep);
}
.kicker::before, .kicker.center::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.center { text-align: center; }
.kicker > .kicker-extra { margin-left: -14px; } /* cancel the flex gap so the dot sits like normal text */
.muted { color: var(--muted); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; white-space: nowrap; border: 0; cursor: pointer;
  font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-peri { background: var(--periwinkle); color: var(--ink); }
.btn-peri:hover { background: var(--periwinkle-deep); color: var(--white); box-shadow: 0 12px 26px -12px rgba(95,136,179,.8); }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--ink); color: var(--white); }
.btn-sm { padding: 11px 20px; font-size: 11.5px; min-height: 44px; }
.text-link { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 1.5px solid var(--periwinkle); padding-bottom: 3px; transition: color .2s ease, border-color .2s ease; }
.text-link:hover { color: var(--periwinkle-deep); border-color: var(--orchid); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.actions.center, .center .actions { justify-content: center; }

/* Tagline bar ------------------------------------------------------------ */
.tagline {
  background: var(--lilac); color: var(--ink); text-align: center;
  font-family: "Gilda Display", serif; font-size: 18px; padding: 9px 16px;
}

/* Header ----------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(133,173,212,.35); transition: box-shadow .3s ease; }
.header.scrolled { box-shadow: 0 10px 30px -20px rgba(29,29,31,.35); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; transition: height .3s ease; }
.header.scrolled .wrap { height: 76px; }
.brand img { height: 64px; width: auto; transition: height .3s ease; }
.header.scrolled .brand img { height: 52px; }
.menu { display: flex; gap: 34px; list-style: none; align-items: center; }
.menu > li { position: relative; }
.menu > li > a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); position: relative; padding: 10px 0; }
.menu > li > a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px; background: var(--orchid); transition: width .25s ease, left .25s ease; }
.menu > li > a:hover::after, .menu > li > a[aria-current="page"]::after, .menu > li.current > a::after { width: 100%; left: 0; }
.menu .caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 220px;
  background: var(--white); border-radius: 14px; padding: 10px; list-style: none;
  box-shadow: 0 24px 50px -24px rgba(29,29,31,.35), 0 0 0 1px rgba(133,173,212,.25);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.menu > li:hover .dropdown, .menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--lilac-soft); color: var(--orchid-deep); }
.header-actions { display: flex; gap: 18px; align-items: center; }
.signin { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.signin:hover { color: var(--periwinkle-deep); }
.header-actions .btn { padding: 12px 22px; font-size: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .3s ease, opacity .3s ease; }
.mobile-nav { display: none; }

/* Home hero -------------------------------------------------------------- */
.hero { position: relative; padding: 88px 0 24px; text-align: center; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 46% 60% at 50% 38%, rgba(225,195,237,.55), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(133,173,212,.25), transparent 70%);
}
.hero h1 { font-size: clamp(54px, 8.4vw, 112px); letter-spacing: -.01em; line-height: 1; margin: 22px 0 0; }
.hero h1 .script { display: block; font-size: 1.25em; line-height: .8; margin-top: .02em; color: var(--orchid-deep); }
.hero p.lead { max-width: 600px; margin: 28px auto 38px; font-size: 18px; }
.hero .actions { justify-content: center; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hero-stage { position: relative; margin-top: 64px; }
.frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px -32px rgba(29,29,31,.45); background: var(--lilac-soft); }
.frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(133,173,212,.75); border-radius: 4px; pointer-events: none; transition: inset .4s ease; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-stage .frame { aspect-ratio: 16/7.2; }
.hero-stage .frame::after { inset: 16px; }
.hero-stage img { object-position: 50% 55%; }
.tab {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 2;
  background: var(--white); border-radius: 10px 10px 0 0; padding: 14px 28px 10px;
  display: flex; align-items: center; gap: 16px; font-size: 14px; white-space: nowrap; color: var(--ink);
}
.stars { color: #8e4fa8; letter-spacing: 3px; }
.tab .sep { width: 1px; height: 18px; background: var(--beam); }

/* Inner page hero -------------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0 72px; text-align: center; }
.page-hero h1 { font-size: clamp(46px, 6.4vw, 84px); line-height: 1.02; margin-top: 18px; }
.page-hero h1 .script { display: block; color: var(--orchid-deep); font-size: 1.2em; line-height: .85; }
.page-hero .lead { max-width: 620px; margin: 22px auto 0; font-size: 18px; }
.page-hero .actions { justify-content: center; margin-top: 32px; }

/* Sections --------------------------------------------------------------- */
section { padding: 112px 0; }
section.tight { padding: 72px 0; }
section.flush-top { padding-top: 0; }
.bg-sand { background: var(--sand-soft); }
.bg-lilac { background: var(--lilac-soft); }
.sec-title { font-size: clamp(38px, 5vw, 58px); margin-top: 16px; }
.sec-title .script { font-size: 1.2em; color: var(--orchid-deep); }
.sec-intro { max-width: 580px; margin: 18px auto 0; font-size: 17px; }
.sec-head { margin-bottom: 56px; }

/* Age finder (home + classes) -------------------------------------------- */
.age-finder { background: var(--white); border-radius: 22px; padding: 44px; box-shadow: 0 30px 60px -40px rgba(29,29,31,.4), 0 0 0 1px rgba(133,173,212,.25); text-align: center; }
.age-finder h2 { font-size: clamp(30px, 3.6vw, 42px); }
.age-finder h2 .script { color: var(--orchid-deep); font-size: 1.2em; }
.age-finder p { margin-top: 8px; }
.age-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; max-width: 1000px; margin-left: auto; margin-right: auto; }
.age-tile {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 20px 10px 18px; border-radius: 14px;
  background: var(--periwinkle-soft); color: var(--ink); border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.age-tile strong { font-family: "Gilda Display", serif; font-weight: 400; font-size: 26px; line-height: 1.15; }
.age-tile span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--periwinkle-deep); }
.age-tile:hover { transform: translateY(-3px); background: var(--white); border-color: var(--periwinkle); box-shadow: 0 16px 30px -20px rgba(95,136,179,.7); }
.age-tile.active, .age-tile[aria-pressed="true"] { background: var(--periwinkle); border-color: var(--periwinkle); box-shadow: 0 16px 30px -20px rgba(95,136,179,.9); }
.age-tile.active span, .age-tile[aria-pressed="true"] span { color: var(--ink); }

/* Programs ---------------------------------------------------------------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.programs.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
.program { text-align: center; display: block; }
.program .frame { aspect-ratio: 4/5; }
.program:hover .frame::after { inset: 20px; }
.program img { transition: transform .8s ease; }
.program:hover img { transform: scale(1.04); }
.num {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 1;
  background: var(--white); padding: 10px 22px 6px; border-radius: 10px 10px 0 0;
  font-family: "Gilda Display", serif; font-size: 20px; line-height: 1; color: var(--periwinkle-deep);
}
.program h3 { color: var(--orchid-deep); font-size: 30px; margin: 22px 0 12px; }
.program p { font-size: 15px; max-width: 330px; margin: 0 auto; }
.program .text-link { display: inline-block; margin-top: 18px; }

/* Feature band ------------------------------------------------------------ */
.band { position: relative; isolation: isolate; min-height: 600px; display: grid; place-items: center; color: var(--white); text-align: center; padding: 120px 24px; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29,29,31,.25), rgba(29,29,31,.68)); }
.band .kicker { color: var(--lilac); }
.band h2 { color: var(--white); font-size: clamp(40px, 6vw, 76px); max-width: 900px; margin-top: 18px; }
.band h2 .script { color: var(--lilac); font-size: 1.15em; display: block; line-height: .9; }
.band p { max-width: 540px; margin: 22px auto 34px; color: rgba(255,255,255,.9); font-size: 17px; }

/* Split / philosophy ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.lede { font-size: 19px; color: var(--ink); margin: 26px 0 32px; font-family: "Gilda Display", serif; line-height: 1.5; }
.prose p + p { margin-top: 16px; }
.prose p { font-size: 16.5px; }
.values { list-style: none; display: grid; }
.values li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--sand); }
.values li:last-child { border-bottom: 1px solid var(--sand); }
.values .n { font-family: "Gilda Display", serif; font-size: 30px; color: var(--periwinkle); line-height: 1; }
.values h3 { font-family: "Montserrat", sans-serif; line-height: 1.4; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.values p { font-size: 15px; }
.art { position: relative; isolation: isolate; padding: 0 0 48px 48px; }
.art .frame { aspect-ratio: 4/5; }
.art .accent { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 10px solid var(--white); box-shadow: 0 20px 40px -24px rgba(29,29,31,.4); z-index: 2; }
.art .accent img { width: 100%; height: 100%; object-fit: cover; }
.art::before { content: ""; position: absolute; top: -28px; right: -28px; width: 60%; height: 60%; background: var(--lilac-soft); border-radius: 18px; z-index: -1; }

/* Awards / reviews -------------------------------------------------------- */
.awards-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.award-card { background: var(--white); border-radius: 22px; padding: 52px; position: relative; overflow: hidden; }
.seal {
  width: 136px; height: 136px; padding: 22px; border-radius: 50%; display: grid; place-items: center; text-align: center; flex: none;
  background: var(--lilac-soft); box-shadow: inset 0 0 0 2px var(--orchid), inset 0 0 0 8px var(--lilac-soft), inset 0 0 0 9px var(--orchid);
  font-family: "Gilda Display", serif; color: var(--orchid-deep); line-height: 1.05; font-size: 28px;
}
.seal small { display: block; font-family: "Montserrat", sans-serif; font-size: 8.5px; font-weight: 700; letter-spacing: .16em; color: var(--ink); text-transform: uppercase; margin-top: 4px; }
.award-card h3 { font-size: 34px; margin: 30px 0 6px; }
.award-card .org { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--periwinkle-deep); margin-bottom: 14px; }
.reviews-card { background: var(--periwinkle); border-radius: 22px; padding: 52px; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.reviews-card .big { font-family: "Gilda Display", serif; font-size: 120px; line-height: .85; color: var(--ink); }
.reviews-card .big span { font-size: .5em; vertical-align: top; }
.reviews-card .stars { font-size: 22px; letter-spacing: 4px; color: var(--ink); }
.reviews-card .btn { align-self: flex-start; }

/* Testimonials ------------------------------------------------------------ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--white); border-radius: 18px; padding: 36px 32px 30px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 0 0 1px rgba(133,173,212,.25); }
.quote::before { content: "\201C"; font-family: "Gilda Display", serif; font-size: 72px; line-height: .5; color: var(--orchid); height: 24px; }
.quote p { font-size: 15.5px; color: var(--body); flex: 1; }
.quote footer, .quote .who { display: flex; align-items: center; gap: 12px; padding: 0; background: none; font-size: 14px; font-weight: 600; color: var(--ink); }
.quote .who .stars { font-size: 13px; letter-spacing: 2px; margin-left: auto; }
.quotes.masonry { display: block; columns: 3; column-gap: 24px; }
.quotes.masonry .quote { break-inside: avoid; margin-bottom: 24px; }

/* Gallery ----------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery figure { overflow: hidden; border-radius: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* Night card (Visit / CTA) ----------------------------------------------- */
.night {
  background: var(--night); color: rgba(255,255,255,.88); border-radius: 28px; padding: 72px;
  position: relative; overflow: hidden; isolation: isolate;
}
.night::before {
  content: ""; position: absolute; z-index: -1; right: 6%; top: -30%; width: 46%; height: 170%;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 75%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); transform: rotate(18deg);
}
.night::after {
  content: ""; position: absolute; z-index: -1; right: -10%; bottom: -55%; width: 70%; height: 90%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(225,195,237,.35), transparent 65%);
}
.night .kicker { color: var(--lilac); }
.night h2 { font-size: clamp(36px, 4.4vw, 54px); color: var(--white); margin-top: 16px; }
.night h2 .script { color: var(--lilac); font-size: 1.2em; }
.night p { margin: 18px 0 30px; font-size: 17px; max-width: 480px; }
.night .btn-peri { background: var(--white); color: var(--ink); }
.night .btn-peri:hover { background: var(--lilac); color: var(--ink); }
.night .btn-line { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.night .btn-line:hover { background: var(--white); color: var(--ink); }
.visit-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.visit-card > * { min-width: 0; }
.contact-list { list-style: none; display: grid; position: relative; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 8px 28px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 18px 0; }
.contact-list li + li { border-top: 1px solid rgba(255,255,255,.16); }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; color: var(--white); }
.contact-list svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact-list small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lilac); }
.contact-list a, .contact-list span.v { color: var(--white); font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--lilac); }

/* Class finder ----------------------------------------------------------- */
.finder { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.finder > *, .split > *, .awards-grid > *, .filters > *, .filter-group { min-width: 0; }
.filters { position: sticky; top: 104px; display: grid; gap: 30px; background: var(--sand-soft); border-radius: 20px; padding: 30px 26px; }
.filter-group h3 { font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--periwinkle-deep); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 15px; border-radius: 999px; border: 1.5px solid rgba(29,29,31,.14); background: var(--white);
  font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .2s ease; min-height: 44px;
}
.chip:hover { border-color: var(--periwinkle); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters .reset { min-height: 44px; justify-self: start; background: none; border: 0; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--beam); padding-bottom: 2px; }
.filters .reset:hover { color: var(--ink); }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.results-head h2 { font-size: clamp(28px, 3vw, 38px); }
.results-head p { font-size: 14px; color: var(--muted); }
.view-toggle { display: inline-flex; background: var(--sand-soft); border-radius: 999px; padding: 4px; }
.view-toggle button { min-height: 44px; border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 4px 12px -6px rgba(29,29,31,.3); }
.class-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.class-card {
  background: var(--white); border-radius: 18px; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 0 0 1px rgba(133,173,212,.3); transition: box-shadow .25s ease, transform .25s ease;
}
.class-card:hover { box-shadow: 0 0 0 1.5px var(--periwinkle), 0 24px 40px -30px rgba(95,136,179,.8); transform: translateY(-2px); }
.class-card[hidden] { display: none; }
.class-card .top { display: flex; justify-content: space-between; gap: 8px 12px; align-items: start; flex-wrap: wrap; }
.class-grid > * { min-width: 0; }
.class-card h3 { font-size: 25px; line-height: 1.15; }
.age-badge { flex: none; background: var(--lilac-soft); color: #8e4fa8; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--periwinkle-deep); background: var(--periwinkle-soft); padding: 4px 9px; border-radius: 6px; }
.times { list-style: none; display: grid; gap: 6px; border-top: 1px solid var(--sand); padding-top: 14px; }
.times li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; font-size: 14.5px; color: var(--ink); }
.times .teacher { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.times li b { font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.class-card .meta { font-size: 14px; color: var(--body); }
.class-card .meta strong { color: var(--ink); font-size: 16px; }
.class-card .card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.empty { text-align: center; padding: 56px 24px; background: var(--sand-soft); border-radius: 18px; }
.empty h3 { font-size: 28px; margin-bottom: 10px; }
.day-view { display: grid; gap: 28px; }
.day-block h3 { font-size: 26px; padding-bottom: 10px; border-bottom: 1px solid var(--sand); margin-bottom: 8px; }
.day-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--sand); font-size: 15px; }
.day-row .t { font-weight: 600; color: var(--ink); }
.day-row .n { color: var(--ink); }
.day-row .n small { display: block; color: var(--muted); font-size: 13px; }
.note-card { background: var(--periwinkle-soft); border-radius: 18px; padding: 26px 28px; display: grid; gap: 6px; }
.note-card h3 { font-size: 24px; }

/* Staff ------------------------------------------------------------------ */
.staff-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.staff-card { text-align: center; flex: 0 1 calc((100% - 64px) / 3); }
/* Two across; an odd last card leaves the spot beside it empty */
.staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 48px; max-width: 860px; margin-inline: auto; }
.staff-grid .staff-card { max-width: none; }
@media (max-width: 760px) { .staff-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; gap: 56px; } }
.staff-card h3 { text-wrap: balance; }
.staff-card .frame { aspect-ratio: 4/5; }
.staff-card .frame img { object-position: 50% 20%; }
.staff-feature { align-items: start; }
.staff-feature .art { position: sticky; top: 110px; }
.staff-feature .prose p { font-size: 16.5px; }
.staff-card h3 { font-size: 28px; margin-top: 22px; }
.staff-card .role { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--periwinkle-deep); }
.staff-card p { font-size: 15px; margin-top: 12px; }
.staff-card.soon .frame { display: grid; place-items: center; background: var(--lilac-soft); }
.staff-card.soon .frame span { font-family: "Pinyon Script", cursive; font-size: 44px; color: var(--orchid-deep); }

/* How it works / steps --------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--white); border-radius: 18px; padding: 32px 30px; position: relative; box-shadow: 0 0 0 1px rgba(133,173,212,.25); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: "Gilda Display", serif; font-size: 34px; color: var(--periwinkle); display: block; margin-bottom: 14px; line-height: 1; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { font-size: 15px; }

/* Forms ------------------------------------------------------------------ */
.form-card { background: var(--white); border-radius: 22px; padding: 44px; box-shadow: 0 30px 60px -40px rgba(29,29,31,.45), 0 0 0 1px rgba(133,173,212,.3); }
.form-card h2 { font-size: 34px; }
.form-card > p { margin-top: 8px; }
form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field label .opt { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--sand-soft);
  border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; transition: border-color .2s ease, background .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--periwinkle); background: var(--white); }
.field input:user-invalid { border-color: #d27a7a; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.form-foot small { font-size: 13px; color: var(--muted); max-width: 340px; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: #fbeaea; color: #8a2b2b; font-size: 14.5px; }
.form-success { display: none; text-align: center; padding: 28px 8px 8px; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--lilac-soft); color: var(--orchid-deep); display: grid; place-items: center; margin: 0 auto 18px; font-size: 28px; }
.form-success h3 { font-size: 32px; margin-bottom: 8px; }
form.sent { display: none; }
form.sent + .form-success { display: block; }
.reassure { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.reassure li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink); }
.reassure li::before { content: "✓"; width: 28px; height: 28px; border-radius: 50%; background: var(--lilac-soft); color: var(--orchid-deep); display: grid; place-items: center; font-weight: 700; font-size: 13px; }

/* Signup band ------------------------------------------------------------ */
.signup, .visit { padding: 0 0 112px; }
/* After a tinted section there's no white space above, so add it back */
:is(.bg-sand, .bg-lilac) + :is(.signup, .visit) { padding-top: 112px; }
.signup-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; background: var(--lilac-soft); border-radius: 28px; padding: 56px 64px; }
.signup-card h2 { font-size: clamp(32px, 3.6vw, 44px); }
.signup-card h2 .script { color: var(--orchid-deep); font-size: 1.2em; }
.signup-card p { margin-top: 10px; }
.signup-form { display: grid; grid-template-columns: 1fr 180px auto; gap: 10px; }
.signup-form input, .signup-form select { font: inherit; font-size: 15px; border: 1.5px solid transparent; background: var(--white); border-radius: 999px; padding: 14px 20px; color: var(--ink); min-width: 0; }
.signup-form select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d1d1f' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 20px center; }
.signup-form input:focus, .signup-form select:focus { outline: none; border-color: var(--periwinkle); }
.signup-card small { display: block; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.signup-card .form-success { padding: 0; text-align: left; }
.signup-card .form-success h3 { font-size: 26px; }

/* Events ----------------------------------------------------------------- */
.events { display: grid; gap: 18px; }
.event { display: grid; grid-template-columns: 116px 1fr auto; gap: 28px; align-items: center; background: var(--white); border-radius: 18px; padding: 24px 28px; box-shadow: 0 0 0 1px rgba(133,173,212,.3); }
.event[hidden] { display: none; }
.date-block { text-align: center; background: var(--lilac-soft); border-radius: 14px; padding: 14px 8px; color: var(--orchid-deep); }
.date-block .m { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.date-block .d { display: block; font-family: "Gilda Display", serif; font-size: 38px; line-height: 1.05; }
.date-block .w { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.date-block.ongoing .d { font-size: 22px; padding: 6px 0; }
.event h3 { font-size: 26px; margin: 4px 0 6px; }
.event p { font-size: 15px; }
.event .when { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.event-tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--periwinkle-deep); }
.event.spotlight { background: var(--night); color: rgba(255,255,255,.88); box-shadow: none; }
.event.spotlight h3 { color: var(--white); }
.event.spotlight .event-tag, .event.spotlight .when { color: var(--lilac); }
.event.spotlight .date-block { background: rgba(255,255,255,.14); color: var(--white); }
.event.spotlight .date-block .m, .event.spotlight .date-block .w { color: var(--lilac); }
.event.spotlight .btn-line { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.sessions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.session { background: var(--white); border-radius: 14px; padding: 20px; text-align: center; box-shadow: 0 0 0 1px rgba(133,173,212,.3); }
.session.past { opacity: .45; }
.session.next { box-shadow: 0 0 0 2px var(--periwinkle); }
.session small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--periwinkle-deep); margin-bottom: 4px; }
.session strong { font-family: "Gilda Display", serif; font-weight: 400; font-size: 21px; color: var(--ink); }

/* Event pages ------------------------------------------------------------ */
.event-hero { text-align: left; }
.event-hero h1 { font-size: clamp(40px, 5.2vw, 68px); }
.event-flyer { aspect-ratio: 4/5; }
.event h3 a:hover { color: var(--orchid-deep); }
.past-note { display: none; margin-top: 22px; padding: 14px 18px; border-radius: 12px; background: var(--sand-soft); font-size: 15px; color: var(--ink); }
.is-past .past-note { display: block; }
.is-past ~ * .register-actions, .is-past .register-actions { display: none; }
.event-classes { list-style: none; margin-top: 36px; border-top: 1px solid var(--sand); }
.event-classes li { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--sand); }
.event-classes strong { display: block; font-family: "Gilda Display", serif; font-weight: 400; font-size: 22px; color: var(--ink); }
.event-classes small { display: block; font-size: 13.5px; color: var(--muted); }
.event-classes span { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 14px; }

/* Ads landing page --------------------------------------------------------- */
.landing-header .wrap { height: 84px; }
.landing-phone { display: inline-block !important; }
.landing .site-footer { padding: 0; }
.landing .site-footer::before { display: none; }
.trust { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: var(--ink); }
.trust span { display: inline-flex; gap: 8px; align-items: center; }
.picker-results { display: grid; gap: 10px; margin-top: 26px; text-align: left; }
.picker-results[hidden] { display: none; }
.pick { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: var(--white); border-radius: 14px; padding: 16px 20px; box-shadow: 0 0 0 1px rgba(133,173,212,.3); }
.pick strong { display: block; font-family: "Gilda Display", serif; font-weight: 400; font-size: 21px; color: var(--ink); }
.pick small { display: block; font-size: 13.5px; color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 14px; padding: 20px 24px; box-shadow: 0 0 0 1px rgba(133,173,212,.3); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--periwinkle-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 15.5px; }

/* Packages ---------------------------------------------------------------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.package { background: var(--white); border-radius: 22px; padding: 40px 34px; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(133,173,212,.3); position: relative; }
.package.featured { background: var(--night); color: rgba(255,255,255,.88); box-shadow: 0 30px 60px -30px rgba(62,93,132,.7); }
.package.featured h3, .package.featured .price { color: var(--white); }
.package.featured li::before { background: rgba(255,255,255,.18); color: var(--white); }
.package .ribbon { position: absolute; top: 18px; right: 18px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--lilac); color: var(--ink); padding: 5px 10px; border-radius: 6px; }
.package h3 { font-size: 30px; }
.package .price { font-family: "Gilda Display", serif; font-size: 56px; line-height: 1; color: var(--ink); margin: 16px 0 4px; }
.package .price small { font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 600; color: inherit; opacity: .7; }
.package ul { list-style: none; display: grid; gap: 10px; margin: 24px 0 30px; flex: 1; }
.package li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15px; }
.package li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--lilac-soft); color: var(--orchid-deep); display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.package .btn { align-self: stretch; }
.fine-print { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fine-print span { background: var(--white); border-radius: 999px; padding: 10px 18px; font-size: 14px; color: var(--ink); box-shadow: 0 0 0 1px rgba(133,173,212,.3); }

/* Award feature ----------------------------------------------------------- */
.award-feature .frame { aspect-ratio: 3/4; }
.award-meta { display: flex; gap: 28px; align-items: center; margin-bottom: 28px; }
.fact-list { list-style: none; display: grid; gap: 0; margin-top: 28px; }
.fact-list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--sand); font-size: 15px; }
.fact-list li:last-child { border-bottom: 1px solid var(--sand); }
.fact-list b { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--periwinkle-deep); padding-top: 3px; }
.fact-list span { color: var(--ink); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--sand-soft); color: var(--ink); padding: 96px 0 0; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; top: -40%; left: -10%; width: 70%; height: 140%; pointer-events: none;
  background: radial-gradient(ellipse at 30% 40%, rgba(225,195,237,.45), transparent 60%);
}
.foot-top { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 80px; }
.foot-brand img { height: 120px; width: auto; mix-blend-mode: multiply; }
.foot-brand .line { font-family: "Gilda Display", serif; font-size: 24px; line-height: 1.3; color: var(--ink); margin: 26px 0 18px; max-width: 320px; }
.foot-brand .line .script { color: var(--orchid-deep); font-size: 1.25em; }
.foot-brand address { font-style: normal; font-size: 14px; line-height: 1.8; }
.foot-brand address a:hover { color: var(--orchid-deep); }
.site-footer .foot-heading { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--periwinkle-deep); margin-bottom: 20px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.site-footer ul a { transition: color .2s ease; }
.site-footer ul a:hover { color: var(--orchid-deep); }
.social-list { gap: 0 !important; border-top: 1px solid rgba(29,29,31,.14); }
.social-list a { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(29,29,31,.14); transition: color .2s ease, padding .3s ease; }
.social-list svg { width: 20px; height: 20px; fill: currentColor; }
.social-list strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.social-list small { display: block; font-size: 12px; color: var(--body); letter-spacing: .02em; }
.social-list .go { font-size: 18px; transition: transform .3s ease; }
.social-list a:hover { color: var(--orchid-deep); padding-left: 6px; }
.social-list a:hover .go { transform: translate(3px, -3px); }
.foot-bar { background: var(--periwinkle); position: relative; }
.foot-bottom a:not(.credit):hover { text-decoration: underline; }
.legal h2 { font-size: 30px; margin: 44px 0 12px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 8px; }
.legal li { font-size: 16px; }
.legal a { color: var(--periwinkle-deep); text-decoration: underline; }
.staff-card .monogram { display: grid; place-items: center; background: var(--lilac-soft); font-family: "Gilda Display", serif; font-size: 72px; color: var(--orchid-deep); }
.foot-bottom .credit { font-weight: 700; border-bottom: 1px solid rgba(29,29,31,.35); }
.foot-bottom .credit:hover { border-color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; font-weight: 500; }

/* Mobile sticky CTA ------------------------------------------------------ */
.mobile-cta { display: none; }

/* Motion ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
/* Above the fold: animate with CSS alone so the headline and photo paint right away (faster LCP). */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .8s ease both; }
@keyframes rise { from { opacity: .01; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal, .hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: none; } }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1140px) {
  .menu, .header-actions .signin { display: none; }
  .burger { display: block; }
  .mobile-nav { display: block; max-height: 0; overflow: hidden; transition: max-height .4s ease; background: var(--white); }
  .mobile-nav.open { max-height: 80vh; overflow-y: auto; border-top: 1px solid var(--sand); }
  .mobile-nav ul { list-style: none; padding: 12px 24px 24px; }
  .mobile-nav a { display: block; padding: 12px 0; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--sand-soft); }
  .mobile-nav .sub a { padding-left: 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: none; color: var(--body); }
  .mobile-nav .btn { margin-top: 18px; width: 100%; color: var(--ink); border-bottom: 0; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split, .visit-card, .signup-card { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > :first-child { order: 0; }
  .art { max-width: 520px; }
  .staff-feature .art { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .finder { grid-template-columns: 1fr; gap: 28px; }
  .filters { position: static; }
  .quotes, .quotes.masonry { columns: 2; grid-template-columns: 1fr 1fr; }
  .staff-card { flex-basis: calc((100% - 32px) / 2); }
}
@media (max-width: 760px) {
  section { padding: 80px 0; }
  .signup, .visit { padding-bottom: 80px; }
  :is(.bg-sand, .bg-lilac) + :is(.signup, .visit) { padding-top: 80px; }
  section.tight { padding: 56px 0; }
  .tagline { font-size: 15px; }
  .kicker { letter-spacing: .18em; }
  .kicker.center::before, .kicker.center::after { display: none; }
  .kicker-extra { display: none; }
  .header .wrap { height: 76px; }
  .brand img { height: 50px; }
  .header-actions .btn { display: none; }
  .hero { padding-top: 52px; }
  .hero-stage { margin-top: 52px; }
  .hero-stage .frame { aspect-ratio: 4/3.4; }
  .frame::after, .hero-stage .frame::after { inset: 12px; }
  .tab { font-size: 12px; padding: 10px 18px 8px; gap: 10px; }
  .tab .sep, .tab .award { display: none; }
  .page-hero { padding: 56px 0 48px; }
  .programs, .programs.two, .steps, .packages, .class-grid, .quotes { grid-template-columns: 1fr; }
  .staff-card { flex-basis: 100%; max-width: 420px; }
  .quotes.masonry { columns: 1; }
  .programs { gap: 56px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .awards-grid { grid-template-columns: 1fr; }
  .award-card, .reviews-card { padding: 34px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .night { padding: 44px 22px; border-radius: 22px; }
  .contact-list { padding: 4px 18px; }
  .contact-list li { grid-template-columns: 1fr; }
  .contact-list .ico { display: none; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
  .foot-brand { grid-column: auto; }
  .foot-brand img { height: 96px; }
  .band { min-height: 500px; }
  .age-finder { padding: 30px 18px; }
  .age-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .age-tile { padding: 14px 10px 12px; }
  .form-card { padding: 30px 20px; }
  form .grid { grid-template-columns: 1fr; }
  .signup-card { padding: 40px 22px; }
  .signup-form { grid-template-columns: 1fr; }
  .event { grid-template-columns: 76px 1fr; gap: 18px; padding: 20px; }
  .event > .actions { grid-column: 1 / -1; }
  .event-classes li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pick { grid-template-columns: 1fr; }
  .landing-phone { display: none !important; }
  .landing .header-actions .btn { display: inline-flex; padding: 10px 16px; font-size: 11px; min-height: 44px; }
  .date-block .d { font-size: 30px; }
  .sessions { grid-template-columns: 1fr 1fr; }
  .day-row { grid-template-columns: 1fr; gap: 4px; }
  .filters { padding: 22px 0 22px 20px; gap: 20px; border-radius: 16px; }
  .filters .chips { flex-wrap: nowrap; overflow-x: auto; padding-right: 20px; scrollbar-width: none; }
  .filters .chips::-webkit-scrollbar { display: none; }
  .filters .chip { flex: none; }
  .filters .note-card { display: none; }
  .fact-list li { grid-template-columns: 1fr; gap: 2px; }
  .award-meta { flex-direction: column; align-items: flex-start; }
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 39; gap: 8px;
    transform: translateY(140%); transition: transform .35s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; box-shadow: 0 14px 30px -12px rgba(29,29,31,.5); }
  body { padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-width: 900px) {
  .packages { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* Small phones (≈320–420px) ------------------------------------------------ */
@media (max-width: 420px) {
  .script { white-space: normal; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .reviews-card .big { font-size: 84px; }
  .award-card h3 { font-size: 28px; }
  .award-card, .reviews-card { padding: 28px 22px; }
  .seal { width: 112px; height: 112px; padding: 16px; font-size: 24px; }
  .form-card { padding: 26px 16px; }
  .sec-title, .page-hero h1 { overflow-wrap: break-word; }
  .wrap { padding: 0 16px; }
  .award-card[style], .reviews-card[style] { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
}

