/* Pointe & Pulse Dance. Motion: a magenta poster, a dancer leaping out of it, type that stretches. */

:root {
  --magenta: #DE2F7A;
  --magenta-hot: #E8478C;
  --magenta-ink: #B0185B;
  --black: #000000;
  --blush: #FCE3EC;
  --blush-2: #F8D2DF;
  --white: #FFFFFF;
  --smoke: #B8B8B8;
  --gutter: clamp(20px, 4vw, 56px);
  --display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --text: 'Wix Madefor Text', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 19px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; text-wrap: balance; }
/* Base role sizes. Every heading also sets its own size; the H1's lines carry theirs on their spans. */
h2 { font-size: 56px; }
h3 { font-size: 26px; }
figure { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
section[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
.finder :focus-visible, .ages :focus-visible, .enroll :focus-visible { outline-color: var(--black); }
.recital :focus-visible { outline-color: var(--white); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--magenta); color: var(--black); padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }
.wrap { max-width: 1328px; margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 24px; border: 0; border-radius: 0;
  font: 700 19px/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn-magenta { background: var(--magenta); color: var(--black); }
.btn-magenta:hover { background: var(--magenta-hot); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #222; }
.btn-line { background: transparent; color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.btn-line:hover { background: var(--black); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }

/* Header ------------------------------------------------------------------- */

.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: rgba(0, 0, 0, .92);
}
.brand { display: flex; flex-direction: column; text-decoration: none; min-height: 52px; justify-content: center; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px;
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: color .16s ease;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--magenta); }
.top-phone { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; font-size: 17px; text-decoration: none; font-variant-numeric: tabular-nums; }
.top-phone:hover { color: var(--magenta); }
.top-cta { min-height: 50px; padding: 0 20px; }

.burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px; padding: 0; position: relative;
  background: var(--magenta); border: 0;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 3px; background: var(--black);
  transition: transform .22s var(--ease), opacity .18s ease, top .22s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 30px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Phone menu: the stage, with the names stretched wide. */
.phone-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; gap: 24px;
  padding: 92px var(--gutter) 24px;
  background: var(--black);
  overflow-y: auto;
}
.phone-menu[hidden] { display: none; }
.pm-links { display: flex; flex-direction: column; border-top: 2px solid var(--magenta); }
.pm-links a {
  display: flex; align-items: center; min-height: 60px; padding: 6px 0 8px;
  font: 800 30px/1 var(--display); font-stretch: 100%; letter-spacing: -.01em;
  text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .26);
}
.pm-links a:hover { color: var(--magenta); }
.pm-actions { margin-top: auto; display: grid; gap: 10px; }
.menu-cta { width: 100%; min-height: 58px; }
.pm-small {
  display: flex; align-items: center; justify-content: center; min-height: 52px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
  font-weight: 700; font-size: 17px; text-decoration: none;
}
.pm-where { margin-top: 6px; font-size: 17px; color: var(--smoke); }
.pm-addr { color: var(--white); font-weight: 700; }

body.menu-open { overflow: hidden; }

/* Hero: the poster and the finder ----------------------------------------- */

.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) 452px; gap: 36px;
  max-width: calc(1328px + 2 * var(--gutter)); margin: 0 auto;
  padding: 92px var(--gutter) 44px;
  background: var(--black);
}
.hero-left { min-width: 0; display: flex; flex-direction: column; }

.poster {
  position: relative; container-type: inline-size;
  width: 100%; aspect-ratio: 1 / .75;
}
.panel {
  position: absolute; left: 0; top: 20cqw; width: 94cqw; height: 55cqw; z-index: 2;
  background-color: var(--magenta);
  clip-path: inset(0);
}
/* A printed field: halftone dots that fade out toward the dancer, plus fine grain. */
.panel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='7' cy='7' r='2.6' fill='%23B81F63'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  -webkit-mask: linear-gradient(32deg, #000 0%, rgba(0, 0, 0, .55) 34%, transparent 62%);
  mask: linear-gradient(32deg, #000 0%, rgba(0, 0, 0, .55) 34%, transparent 62%);
}
.panel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .22; mix-blend-mode: soft-light;
}
.dancer { position: absolute; width: 56cqw; height: auto; max-width: none; }
.dancer-real {
  left: 46cqw; top: -10cqw; z-index: 1;
  mix-blend-mode: screen;
  filter: contrast(1.08) brightness(.98) saturate(1.05);
}
.dancer-cut, .echo { left: 46cqw; top: -30cqw; }
.echo { mix-blend-mode: screen; filter: grayscale(1) contrast(1.3) brightness(1.08) url(#smear); }
/* Inside the poster she is a keyed cutout in real color, so her body runs unbroken across the edge. */
.dancer-cut { z-index: 1; }
.echo.e1 { transform: translate(-8cqw, 1.8cqw); opacity: .5; }
.echo.e2 { transform: translate(-17cqw, 4cqw); opacity: .24; }

.kinetic {
  position: absolute; left: 4.2cqw; bottom: 4.4cqw; z-index: 3;
  color: var(--white); font-weight: 800; line-height: .86; letter-spacing: -.012em;
  font-optical-sizing: auto;
}
.k { display: block; }
.k1, .k3 { font-size: 11.2cqw; font-stretch: 100%; line-height: .9; }
.k2 { font-size: 13.4cqw; font-stretch: 75%; line-height: .84; }
.k4 { font-size: max(19px, 4.4cqw); font-weight: 700; font-stretch: 100%; line-height: 1.1; margin-top: 2cqw; letter-spacing: 0; }

.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 18px; flex-wrap: wrap; }
.hero-sub { font-size: 19px; max-width: 34ch; color: var(--white); }
.hero-actions { display: flex; align-items: center; gap: 18px; }

/* The finder ---------------------------------------------------------------- */

.finder {
  position: relative; align-self: start;
  background: var(--blush); color: var(--black);
  padding: 22px 26px 0;
  display: flex; flex-direction: column;
}
.finder-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.finder.is-booking .finder-head { display: none; }
.finder h2 { font-size: 40px; line-height: 1; font-stretch: 86%; letter-spacing: -.01em; }
.finder-note { font-size: 17px; color: #4A2A38; }
.filter { margin-top: 12px; }
.filter-label { font-weight: 700; font-size: 17px; margin-bottom: 7px; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchips button {
  flex: 1 1 auto; min-height: 46px; min-width: 46px; padding: 0 10px;
  background: var(--white); border: 0; border-radius: 0;
  box-shadow: inset 0 0 0 2px var(--black);
  font-weight: 700; font-size: 17px; color: var(--black);
  transition: background-color .15s ease, color .15s ease;
}
.fchips button:hover { background: var(--blush-2); }
.fchips button[aria-pressed="true"] { background: var(--magenta); color: var(--black); box-shadow: inset 0 0 0 2px var(--magenta); }
.fchips-days button { padding: 0 4px; }
.count { margin-top: 14px; font-weight: 700; font-size: 17px; padding-bottom: 8px; border-bottom: 3px solid var(--black); }
.results { list-style: none; margin: 0; padding: 0; }
.class-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center;
  padding: 10px 0; border-bottom: 2px solid rgba(0, 0, 0, .14);
  font-size: 17px;
}
.cr-name { font: 800 23px/1.1 var(--display); font-stretch: 88%; }
.cr-when { font-weight: 600; font-size: 17px; }
.cr-who { font-size: 17px; color: #4A2A38; }
.cr-side { display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 132px; }
.class-row { column-gap: 12px; }
.cr-side .cr-spots { align-self: flex-end; }
.cr-side .try { width: 100%; }
.cr-spots { padding: 1px 8px; font-weight: 700; font-size: 17px; color: var(--magenta-ink); white-space: nowrap; box-shadow: inset 0 0 0 1.5px currentColor; }
.cr-spots.full { color: var(--black); background: var(--blush-2); box-shadow: none; }
.try { min-height: 46px; padding: 0 10px; font-size: 17px; }
.empty { padding: 18px 0 8px; font-size: 18px; }
.empty button { margin-top: 12px; }

.trial { padding: 4px 0 6px; }
.trial-label { font: 800 30px/1 var(--display); font-stretch: 86%; }
.trial-class { margin-top: 14px; font: 800 26px/1.1 var(--display); font-stretch: 88%; color: var(--magenta-ink); }
.trial-when { margin-top: 4px; font-weight: 600; font-size: 18px; }
.trial-form { margin-top: 18px; display: grid; gap: 14px; }
.tf label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 16px; }
.tf input {
  width: 100%; height: 52px; padding: 0 14px; border: 0; border-radius: 0;
  background: var(--white); box-shadow: inset 0 0 0 2px var(--black); font-size: 18px; color: var(--black);
}
.tf input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--magenta-ink); }
.tf input:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.tf input[aria-invalid="true"] { box-shadow: inset 0 0 0 3px var(--magenta-ink); }
.err { font-weight: 700; font-size: 17px; color: var(--magenta-ink); }
.err:empty { display: none; }
.trial-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trial-actions .btn-magenta { flex: 1 1 auto; }
.trial-done { margin-top: 4px; }
.done-text { margin-top: 12px; font-weight: 700; font-size: 20px; line-height: 1.45; }
.done-small { margin-top: 10px; font-size: 17px; color: #4A2A38; }
.done-demo { color: var(--magenta-ink); font-weight: 700; }
.trial-done .btn { margin-top: 16px; }

.finder-recital {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 54px; margin: 14px -26px 0; padding: 0 26px;
  background: var(--blush-2); color: var(--black);
  font-weight: 700; font-size: 17px; text-decoration: none;
}
.finder-recital .fr-date { color: var(--magenta-ink); }
.finder-recital:hover span:first-child { text-decoration: underline; text-decoration-color: var(--black); text-underline-offset: 5px; }

/* Classes by Age ------------------------------------------------------------ */

.ages { background: var(--blush); color: var(--black); padding: clamp(80px, 10vw, 140px) 0; }
.ages-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 48px; align-items: end; }
.ages h2 { font-size: clamp(56px, 7.4vw, 112px); line-height: .9; font-stretch: 75%; letter-spacing: -.015em; }
.lede { font-size: 20px; max-width: 46ch; }
.age-list { list-style: none; margin: 48px 0 0; padding: 0; border-top: 4px solid var(--black); }
.age-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 16px 40px; align-items: center;
  padding: 26px 0; border-bottom: 2px solid var(--black);
}
.age-big {
  font: 800 clamp(64px, 8.4vw, 132px)/.86 var(--display); font-stretch: 75%;
  color: var(--magenta-ink); letter-spacing: -.02em; white-space: nowrap;
  transition: font-stretch .5s var(--ease), color .3s ease;
}
.age-row:hover .age-big, .age-row:focus-within .age-big { font-stretch: 100%; color: var(--black); }
.age-copy p { margin-top: 8px; font-size: 18px; }
.age-copy p:first-child { margin-top: 0; }
.age-copy .age-classes { margin-top: 10px; font-weight: 700; font-size: 17px; color: var(--magenta-ink); }

/* Styles ---------------------------------------------------------------- */

.styles { background: var(--black); padding: clamp(80px, 10vw, 140px) 0; }
.styles-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.styles h2 { font-size: 22px; font-weight: 700; font-family: var(--text); color: var(--magenta); letter-spacing: 0; }
.style-tabs { display: flex; flex-direction: column; align-items: flex-start; }
.style-tab {
  background: none; border: 0; padding: 4px 0; min-height: 44px;
  font: 800 clamp(64px, 8vw, 128px)/.92 var(--display); font-stretch: 75%; letter-spacing: -.02em;
  color: #9A9A9A; text-align: left;
  transition: font-stretch .55s var(--ease), color .25s ease;
}
.style-tab:hover { color: var(--white); }
.style-tab[aria-selected="true"] { font-stretch: 100%; color: var(--white); }
.style-tab[aria-selected="true"]::after { content: ''; display: block; height: 6px; width: 100%; margin-top: 6px; background: var(--magenta); }
.style-photo { aspect-ratio: 3 / 2; overflow: hidden; }
.style-photo img { width: 100%; height: 100%; object-fit: cover; }
#sp-ballet .style-photo img { object-position: 50% 30%; filter: contrast(1.12) saturate(1.15) brightness(.96); }
.style-text { margin-top: 24px; font-size: 21px; line-height: 1.55; max-width: 46ch; }
.style-meta { margin-top: 12px; font-size: 18px; color: var(--smoke); }

/* Spring Recital ------------------------------------------------------------ */

.recital {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--magenta); color: var(--black);
}
.recital-photo { position: relative; min-height: 760px; overflow: hidden; background: var(--black); }
.recital-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(1.05) contrast(1.05); }
.recital-copy { padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(48px, 6vw, 80px) clamp(28px, 4vw, 64px); max-width: 760px; }
.recital h2 { font-size: clamp(56px, 7vw, 108px); line-height: .9; font-stretch: 78%; letter-spacing: -.015em; }
.recital-when { margin-top: 16px; font: 800 26px/1.2 var(--display); font-stretch: 90%; }
.recital-text { margin-top: 14px; font-size: 19px; max-width: 48ch; }
.tickets { margin-top: 28px; max-width: 560px; }
.tk-label { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.tk-show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tk-show {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-height: 70px; padding: 10px 16px; border: 0; border-radius: 0;
  background: transparent; box-shadow: inset 0 0 0 2px var(--black); color: var(--black); text-align: left;
}
.tk-show:hover { background: rgba(0, 0, 0, .08); }
.tk-show[aria-pressed="true"] { background: var(--black); color: var(--white); }
.tk-time { font: 800 24px/1.1 var(--display); font-stretch: 90%; }
.tk-left { font-weight: 600; font-size: 16px; }
.tk-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 2px solid rgba(0, 0, 0, .25); }
.tk-line:first-of-type { margin-top: 12px; border-top: 2px solid rgba(0, 0, 0, .25); }
.tk-who { display: flex; flex-direction: column; font-size: 17px; }
.tk-kind { font-weight: 700; font-size: 19px; }
.tk-step { display: flex; align-items: center; gap: 8px; }
.tk-step button {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: transparent; border: 0; box-shadow: inset 0 0 0 2px var(--black);
}
.tk-step button:hover { background: rgba(0, 0, 0, .1); }
.tk-step button:disabled { box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3); cursor: not-allowed; }
.tk-step svg { width: 18px; height: 18px; fill: none; stroke: var(--black); stroke-width: 2.4; stroke-linecap: square; }
.tk-step output { min-width: 34px; text-align: center; font: 800 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.tk-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-weight: 700; font-size: 19px; }
.tk-total span:last-child { font: 800 40px/1 var(--display); font-stretch: 90%; }
.tk-note { margin-top: 8px; font-size: 17px; }
.tk-hold { width: 100%; margin-top: 16px; min-height: 58px; }
.tk-done { margin-top: 16px; padding: 18px 20px; background: var(--black); color: var(--white); }
.tk-done-title { font: 800 30px/1 var(--display); font-stretch: 86%; color: var(--magenta); }
.tk-done-text { margin-top: 8px; font-size: 19px; }
.tk-done .tk-note { color: var(--smoke); }
.recital-strip { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.recital-strip img { width: 100%; height: clamp(220px, 26vw, 380px); object-fit: cover; }
.recital-strip img:first-child { filter: grayscale(1) contrast(1.1); }
.recital-strip img:last-child { filter: grayscale(1) contrast(1.35) brightness(1.15); mix-blend-mode: screen; background: var(--magenta); }

/* Enroll ------------------------------------------------------------------- */

.enroll { background: var(--blush); color: var(--black); padding: clamp(80px, 10vw, 140px) 0; }
.enroll-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(32px, 5vw, 88px); align-items: start; }
.enroll h2 { font-size: clamp(56px, 7.4vw, 112px); line-height: .9; font-stretch: 75%; letter-spacing: -.015em; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 22px 0; border-top: 2px solid var(--black); }
.steps li:last-child { border-bottom: 2px solid var(--black); }
.step-n { font: 800 64px/.85 var(--display); font-stretch: 75%; color: var(--magenta-ink); }
.steps h3 { font-size: 26px; font-stretch: 90%; line-height: 1.1; }
.steps p { margin-top: 6px; font-size: 18px; max-width: 48ch; }
.tuition { background: var(--black); color: var(--white); padding: 30px 30px 28px; }
.tuition-title { font-size: 30px; font-stretch: 86%; }
.tuition table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 18px; }
.tuition th { text-align: left; font-weight: 700; font-size: 16px; color: var(--smoke); padding: 0 0 10px; border-bottom: 2px solid var(--magenta); }
.tuition th:last-child, .tuition td:last-child { text-align: right; }
.tuition td { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.tuition td:last-child { font: 800 24px/1 var(--display); font-variant-numeric: tabular-nums; }
.tuition-note { margin-top: 16px; font-size: 17px; color: var(--smoke); }
.tuition-note a { color: var(--white); font-weight: 700; }
.tuition-cta { width: 100%; margin-top: 18px; }

/* Footer ------------------------------------------------------------------- */

.foot { background: var(--black); padding: 72px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 24px 40px; align-items: end; }
.foot-word { font: 800 clamp(56px, 8vw, 120px)/.85 var(--display); font-stretch: 75%; letter-spacing: -.02em; }
.foot-grid > p:not(.foot-word) { font-size: 18px; line-height: 1.6; color: var(--smoke); }
.foot-grid a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-weight: 700; text-decoration: none; }
.foot-grid a:hover { color: var(--magenta); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 16px; color: var(--smoke); }

/* Load moment: the strobe, then the stretch ---------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .motion .echo { animation: flash .5s steps(2, end) both; }
  .motion .echo.e2 { animation-delay: .2s; }
  .motion .echo.e1 { animation-delay: .4s; }
  .motion .dancer-cut, .motion .dancer-real { animation: land .8s var(--ease) .5s both; }
  .motion .k1 { animation: stretch 1s var(--ease) .7s both; }
  .motion .k2 { animation: squeeze 1s var(--ease) .85s both; }
  .motion .k3 { animation: stretch 1s var(--ease) 1s both; }
  .motion:not(.ready) .echo,
  .motion:not(.ready) .dancer-cut,
  .motion:not(.ready) .dancer-real,
  .motion:not(.ready) .k { animation-play-state: paused; }
}
@keyframes flash { from { opacity: 0; } }
@keyframes land { from { translate: -4cqw 1.2cqw; } }
@keyframes stretch { from { font-stretch: 75%; } }
@keyframes squeeze { from { font-stretch: 100%; } }

/* Widths ------------------------------------------------------------------- */

@media (max-width: 1279px) {
  .hero { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; }
  .nav a { padding: 0 10px; }
  .fchips button { font-size: 16px; }
}

@media (min-width: 1100px) {
  .hero-left { position: relative; }
  .poster { aspect-ratio: 1 / .95; }
  .panel { height: 75cqw; }
  .hero-foot {
    position: absolute; left: 0; top: 0; margin: 0; width: 44%; aspect-ratio: 44 / 17;
    display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  }
  .hero-sub { font-size: 21px; line-height: 1.45; max-width: 26ch; }
  .hero-actions { display: none; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .poster { aspect-ratio: 1 / 1.3; }
  .panel { height: 110cqw; }
  .hero-foot { aspect-ratio: 44 / 18; }
  .hero-sub { font-size: 19px; }
}

@media (max-width: 1099px) {
  .nav, .top-phone { display: none; }
  .burger { display: block; }
  .top-cta { margin-left: auto; }
  .top-cta + .burger { margin-left: 0; }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .finder { max-width: 640px; }
  .ages-head { grid-template-columns: 1fr; }
  .age-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .age-go { grid-column: 2; justify-self: start; }
  .styles-grid { grid-template-columns: 1fr; }
  .style-tabs { flex-direction: row; flex-wrap: wrap; gap: 6px 26px; align-items: flex-end; }
  .style-tab { font-size: clamp(52px, 9vw, 96px); }
  .recital { grid-template-columns: 1fr; }
  .recital-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .recital-photo img { object-position: 50% 22%; }
  .enroll-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 18px; }
  .top { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .top-cta { display: none; }
  .top-cta + .burger { margin-left: auto; }
  .hero { padding-top: 76px; padding-bottom: 36px; gap: 44px; }
  .poster { aspect-ratio: 1 / 1.28; }
  .panel { top: 18cqw; width: 84cqw; height: 110cqw; }
  .dancer { width: 76cqw; }
  .dancer-real, .dancer-cut, .echo { left: 26cqw; }
  .dancer-real { top: -22cqw; }
  .dancer-cut, .echo { top: -40cqw; }
  .echo.e1 { transform: translate(-9cqw, 2cqw); }
  .echo.e2 { transform: translate(-18cqw, 4.4cqw); }
  .kinetic { left: 7cqw; bottom: 8cqw; }
  .k1, .k3 { font-size: 15.4cqw; }
  .k2 { font-size: 18.6cqw; }
  .k4 { font-size: max(19px, 6.4cqw); margin-top: 3cqw; }
  .hero-foot { margin-top: 18px; display: grid; gap: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .finder { padding: 22px 18px 0; }
  .finder h2 { font-size: 40px; }
  .finder-recital { margin: 18px -18px 0; padding: 0 18px; }
  .age-row { grid-template-columns: 1fr; gap: 10px; }
  .age-go { grid-column: auto; }
  .tk-show-row { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 56px 1fr; gap: 14px; }
  .step-n { font-size: 52px; }
  .tuition { padding: 24px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .recital-strip { grid-template-columns: 1fr; }
  .recital-strip img:last-child { display: none; }
}

@media (max-width: 400px) {
  .fchips-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cr-name { font-size: 21px; }
  .class-row { grid-template-columns: 1fr; }
  .cr-side { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Logo: lockups and favicon. Inline SVG sized in em, 100 viewBox units to 1em of the wordmark. */
/* Header: Pointe, the drawn ampersand, Pulse, and Dance in Frisco under them. The brand's font-size is the size of
   "Pointe"; Dance in Frisco is 0.5em of it, so it stays at 15px or more. */
.brand { font-size: 31px; }
.brand svg { display: block; flex: none; width: auto; }
.brand .lk-primary { height: 1.4418em; }
/* Footer: the stacked lockup, Pointe over Pulse at one width with the ampersand hanging in front of Pulse.
   Its size comes from .foot-word's font-size. */
.foot-word .lk-stack { display: block; height: 1.6126em; width: auto; max-width: 100%; }
@media (max-width: 767px) {
  .brand { font-size: 30px; }
}
/* End Logo */
