/* ==========================================================================
   Spirited Soles Irish Dance Academy — stylesheet
   Editorial system: near-black, cool off-white, academy pink as the only accent.
   Hard edges, one-pixel rules, oversized condensed type, restrained motion.
   ========================================================================== */

:root {
  color-scheme: light;
  --ink: #111111;
  --ink-soft: #1c1c1c;
  --paper: #f4f4f0;
  --paper-deep: #ebebe5;
  --white: #ffffff;
  --pink: #d40f5f;
  --pink-deep: #b20b4f;
  --muted: #5d5d58;
  --line: rgb(17 17 17 / 0.28);
  --line-strong: var(--ink);
  --line-light: rgb(255 255 255 / .28);
  --page: min(1380px, calc(100% - 64px));
  --gutter: max(32px, calc((100vw - 1380px) / 2));
  --section-pad: clamp(64px, 6.5vw, 104px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --motion-fast: 160ms;
  --motion-ui: 240ms;
  --motion-section: 520ms;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display-width: 82;   /* Archivo wdth axis for headlines */
  --label-width: 92;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgb(212 15 95 / .18); }
section[id], #register { scroll-margin-top: 96px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
::selection { background: var(--pink); color: var(--white); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 16px; background: var(--pink); color: var(--white); font-weight: 800; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; z-index: 90; inset: 0 0 auto; height: 3px; background: rgb(255 255 255 / .1); pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left center; animation: scroll-fill linear both; animation-timeline: scroll(root block); will-change: transform; }

/* --------------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------------- */
h1, h2, .display {
  margin: 0; font-weight: 800; line-height: .96; letter-spacing: -.025em; word-spacing: .1em; text-transform: uppercase; text-wrap: balance;
  font-variation-settings: "wdth" var(--display-width);
}
.hero h1, h2 { font-size: clamp(3.7rem, 5vw, 6rem); }
h2 { max-width: 1050px; font-size: clamp(3.5rem, 6.3vw, 7rem); line-height: .9; }
.hero h1 em, h2 em, .display em { color: var(--pink); font-style: italic; font-weight: 800; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--pink); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-variation-settings: "wdth" var(--label-width); }
.label, .site-nav, .button, .class-row time, .class-finder__choice span, .contact address, .field label, .levels span, .credentials dt, .site-footer h3, .site-footer__bottom, .gallery-grid figcaption, .instructor__image figcaption, .hero__meta, .story-grid__note span {
  font-variation-settings: "wdth" var(--label-width);
}
.lede, .intro__statement > p:last-child, .section-heading > p:last-child, .gallery__title > p:last-child, .contact__copy > p:not(.section-kicker) { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; min-height: 78px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 10px 32px; border-bottom: 1px solid rgb(255 255 255 / .3); background: rgb(17 17 17 / .94); color: var(--white); transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease; }
.site-header.is-scrolled { border-color: var(--line); background: rgb(244 244 240 / .94); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { width: max-content; display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; animation: header-enter 420ms var(--ease-out) backwards; transition: opacity var(--motion-fast) ease, transform var(--motion-fast) ease; }
.brand img, .site-footer__brand img { width: 50px; height: 50px; border: 1px solid currentColor; object-fit: cover; }
.brand > span, .brand small { display: block; }
.brand strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.brand small { margin-top: 2px; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta) { position: relative; padding: 12px 0; }
.site-nav a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 7px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right center; transition: transform var(--motion-ui) var(--ease-in-out); }
.site-nav a:not(.nav-cta):hover::after, .site-nav a:not(.nav-cta).is-current::after { transform: scaleX(1); transform-origin: left center; }
.site-nav > a { animation: header-enter 420ms var(--ease-out) backwards; }
.site-nav > a:nth-child(1) { animation-delay: 45ms; }
.site-nav > a:nth-child(2) { animation-delay: 90ms; }
.site-nav > a:nth-child(3) { animation-delay: 135ms; }
.site-nav > a:nth-child(4) { animation-delay: 180ms; }
.site-nav > a:nth-child(5) { animation-delay: 225ms; }
.site-nav > a:nth-child(6) { animation-delay: 270ms; }
.site-nav .nav-cta { display: inline-flex; min-height: 48px; align-items: center; padding: 0 22px; border: 1px solid currentColor; transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease; }
.site-header:not(.is-scrolled) .nav-cta { background: var(--white); color: var(--ink); }
.site-header:not(.is-scrolled) .nav-cta:hover { background: var(--pink); border-color: var(--pink); color: var(--white); }
.site-header.is-scrolled .nav-cta { border-color: var(--pink); background: var(--pink); color: var(--white); }
.site-header.is-scrolled .nav-cta:hover { border-color: var(--ink); background: var(--ink); }
.menu-button { display: none; width: 50px; height: 50px; padding: 13px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.menu-button__line { display: block; height: 2px; margin: 6px 0; background: currentColor; transition: transform var(--motion-ui) var(--ease-in-out); }
.menu-button[aria-expanded="true"] .menu-button__line:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100dvh; display: grid; grid-template-columns: 51% 49%; overflow: hidden; background: var(--ink); color: var(--white); isolation: isolate; }
.hero::before { position: absolute; z-index: 0; inset: 0 49% 0 0; background-image: radial-gradient(rgb(255 255 255 / .16) 1px, transparent 1px); background-size: 14px 14px; opacity: .16; content: ""; }
.hero__image { grid-column: 2; width: 100%; height: 100dvh; object-fit: cover; object-position: 50% 30%; filter: saturate(.9) contrast(1.03); animation: image-enter 1.2s var(--ease-out) both; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 48%, rgb(17 17 17 / .04) 64%, rgb(17 17 17 / .22)); }
.hero__content { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 51%; display: flex; flex-direction: column; justify-content: center; padding: 96px 4vw 48px 32px; }
.hero .eyebrow { width: max-content; max-width: 100%; clip-path: inset(0 100% 0 0); animation: type-reveal 900ms steps(30, end) 140ms both; }
.hero .eyebrow::after { display: inline-block; width: 1px; height: 1em; margin-left: 5px; background: currentColor; vertical-align: -.1em; content: ""; animation: caret 500ms steps(1, end) 4; }
.hero h1 { max-width: 860px; }
.hero__content > p:not(.eyebrow) { max-width: 480px; margin: 30px 0 0; color: rgb(255 255 255 / .78); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.hero__actions .button { min-height: 64px; }
.hero__tuition { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--white); font-size: .9rem; text-underline-offset: 5px; }
.hero h1, .hero__content > p:not(.eyebrow), .hero__actions { animation: hero-rise 620ms var(--ease-out) both; }
.hero h1 { animation-delay: 70ms; }
.hero__content > p:not(.eyebrow) { animation-delay: 130ms; }
.hero__actions { animation-delay: 190ms; }
.hero__meta { position: absolute; z-index: 2; right: 32px; bottom: 28px; display: flex; gap: 28px; color: rgb(255 255 255 / .82); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 6px rgb(0 0 0 / .5); animation: hero-rise 620ms var(--ease-out) 320ms both; }
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta span::before { width: 22px; height: 1px; background: currentColor; content: ""; }

.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 22px; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease; }
.button:active { transform: scale(.97); }
.button__arrow { position: relative; width: 15px; height: 10px; transition: transform var(--motion-fast) ease; }
.button__arrow::before { position: absolute; top: 4px; right: 0; width: 14px; height: 1px; background: currentColor; content: ""; }
.button__arrow::after { position: absolute; top: 1px; right: 0; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); content: ""; }
.button--primary { border-color: var(--pink); background: var(--pink); color: var(--white); }
.button--primary:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.button--call { display: inline-grid; grid-template-columns: 36px max-content; gap: 12px; padding: 9px 16px; border-color: rgb(255 255 255 / .42); background: rgb(255 255 255 / .035); color: var(--white); }
.button--call__icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; background: var(--pink); }
.button--call__icon svg { transition: transform var(--motion-ui) var(--ease-out); }
.button--call__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.button--call__label { color: rgb(255 255 255 / .76); font-size: .6875rem; line-height: 1.3; letter-spacing: .1em; }
.button--call__number { font-size: 1rem; line-height: 1.2; letter-spacing: .025em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.button--call:focus-visible { border-color: var(--white); background: rgb(255 255 255 / .1); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; padding: 17px 0; border-bottom: 1px solid var(--ink); background: var(--pink); color: var(--white); white-space: nowrap; }
.marquee__track { width: max-content; display: flex; animation: marquee 34s linear infinite; }
.marquee__group { display: flex; flex-shrink: 0; min-width: 100vw; align-items: center; justify-content: space-around; font-size: clamp(1.25rem, 2vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; font-variation-settings: "wdth" var(--display-width); }
.marquee span { display: inline-flex; align-items: center; }
.marquee span::after { width: 32px; height: 1px; margin: 0 26px; background: currentColor; content: ""; }

/* --------------------------------------------------------------------------
   Sections & about
   -------------------------------------------------------------------------- */
.section { width: var(--page); margin: 0 auto; padding: var(--section-pad) 0; }
.intro__statement { max-width: 1080px; }

.story-grid { display: grid; grid-template-columns: 1.35fr .78fr; grid-template-rows: minmax(380px, 40vw) 190px; margin-top: 56px; border: 1px solid var(--ink); }
.story-grid figure, .gallery-grid figure { position: relative; margin: 0; overflow: hidden; background: #d8d8d2; }
.story-grid img, .gallery-grid img { height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.story-grid__main { grid-row: 1 / 3; border-right: 1px solid var(--ink); }
.story-grid__portrait img { object-position: center 40%; }
.story-grid__note { display: flex; flex-direction: column; justify-content: space-between; padding: 26px; border-top: 1px solid var(--ink); background: var(--pink); color: var(--white); }
.story-grid__note strong { align-self: flex-end; font-size: clamp(4rem, 7vw, 6.6rem); font-weight: 800; line-height: .8; letter-spacing: -.06em; font-variation-settings: "wdth" var(--display-width); }
.story-grid__note span { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.goal { display: grid; grid-template-columns: 1.1fr .9fr; margin-top: 48px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.goal__copy { padding: 44px 48px 44px 0; }
.goal__copy h3 { margin: 0 0 18px; font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; text-transform: uppercase; font-variation-settings: "wdth" var(--display-width); }
.goal__copy p { max-width: 58ch; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.6; }
.goal__skills { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; padding: 32px 0 32px 48px; list-style: none; border-left: 1px solid var(--line); }
.goal__skills li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .98rem; font-weight: 700; letter-spacing: -.01em; }
.goal__skills li::before { flex: 0 0 auto; width: 18px; height: 1px; background: var(--pink); content: ""; }
.goal__skills li:nth-last-child(-n + 2) { border-bottom: 0; }

/* --------------------------------------------------------------------------
   Classes
   -------------------------------------------------------------------------- */
.classes { width: 100%; padding-right: var(--gutter); padding-left: var(--gutter); border-top: 1px solid var(--ink); }
.section-heading { display: block; }
.section-heading > p:last-child { margin-top: 24px; }

.levels { display: grid; grid-template-columns: repeat(6, 1fr); margin: 48px 0 0; padding: 0; list-style: none; counter-reset: level; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.levels li { position: relative; display: grid; gap: 16px; align-content: start; min-height: 128px; padding: 20px 20px 20px 0; }
.levels li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.levels span { color: var(--pink); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.levels strong { font-size: clamp(.95rem, 1.15vw, 1.15rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; text-transform: uppercase; font-variation-settings: "wdth" var(--display-width); text-wrap: balance; }
.levels li:last-child strong { color: var(--pink); }
.levels li::after { position: absolute; right: -1px; bottom: 20px; width: 14px; height: 1px; background: var(--ink); content: ""; }
.levels li:last-child::after { display: none; }

.class-finder { display: grid; grid-template-columns: .72fr 1.28fr; margin-top: 48px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.class-finder__intro { align-self: center; padding: clamp(28px, 4vw, 56px); }
.class-finder__intro h3 { max-width: 430px; margin: 0; font-size: clamp(2rem, 3.4vw, 4rem); font-weight: 800; line-height: .92; letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; font-variation-settings: "wdth" var(--display-width); }
.class-finder__intro p { max-width: 450px; margin: 22px 0 0; color: rgb(255 255 255 / .7); font-size: 1rem; }
.class-finder__choices { border-left: 1px solid var(--line-light); }
.class-finder__choice { width: 100%; min-height: 92px; display: grid; grid-template-columns: minmax(120px, .8fr) 1.2fr 26px; gap: 24px; align-items: center; padding: 20px 28px; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background-color var(--motion-fast) ease, transform var(--motion-fast) ease; }
.class-finder__choice:last-child { border-bottom: 0; }
.class-finder__choice strong { font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 800; letter-spacing: -.02em; }
.class-finder__choice span { color: rgb(255 255 255 / .65); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color var(--motion-fast) ease; }
.class-finder__choice i { position: relative; width: 18px; height: 12px; justify-self: end; transition: transform var(--motion-fast) var(--ease-out); }
.class-finder__choice i::before { position: absolute; top: 5px; right: 0; width: 18px; height: 1px; background: currentColor; content: ""; }
.class-finder__choice i::after { position: absolute; top: 2px; right: 0; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); content: ""; }
.class-finder__choice:active { transform: scale(.99); }

.schedule { display: grid; grid-template-columns: .54fr 1.46fr; margin-top: 28px; border: 1px solid var(--ink); background: var(--white); }
.schedule__tabs { --active-index: 0; position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--ink); background: var(--paper); }
.schedule__indicator { position: absolute; z-index: 2; top: 0; left: 0; width: 4px; height: calc(100% / 6); background: var(--pink); pointer-events: none; transform: translateY(calc(var(--active-index) * 100%)); transition: transform var(--motion-ui) var(--ease-in-out); }
.schedule__tabs button { flex: 1; min-height: 62px; padding: 16px 22px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.35rem); font-weight: 700; text-align: left; cursor: pointer; transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, transform var(--motion-fast) ease; }
.schedule__tabs button:last-child { border-bottom: 0; }
.schedule__tabs button:hover { color: var(--ink); }
.schedule__tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); font-weight: 800; }
.schedule__panels { min-height: 460px; padding: clamp(30px, 4.5vw, 64px); }
.schedule__panels h3 { margin: 0 0 30px; font-size: clamp(3rem, 5.5vw, 6rem); font-weight: 800; line-height: .9; letter-spacing: -.045em; text-transform: uppercase; font-variation-settings: "wdth" var(--display-width); }
.class-row { display: grid; grid-template-columns: minmax(165px, .78fr) 1.2fr auto; gap: 24px; align-items: baseline; padding: 19px 10px; border-top: 1px solid var(--line); transition: background-color var(--motion-fast) ease; }
.class-row:last-child { border-bottom: 1px solid var(--line); }
.class-row time { color: var(--pink); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.class-row span { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.class-row small { color: var(--muted); font-size: .88rem; }
.class-row time, .class-row span, .class-row small { transition: transform var(--motion-fast) ease, color var(--motion-fast) ease; }

/* --------------------------------------------------------------------------
   Tuition
   -------------------------------------------------------------------------- */
.tuition { width: 100%; padding-right: var(--gutter); padding-left: var(--gutter); border-top: 1px solid var(--ink); background: var(--paper-deep); }
.tuition__heading > p:last-child { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; }
.tuition__grid { display: grid; grid-template-columns: 1.3fr .7fr; margin-top: 48px; border: 1px solid var(--ink); background: var(--paper); }
.rates { margin: 0; display: flex; flex-direction: column; }
.rates div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 24px; padding: 26px clamp(24px, 3vw, 44px); border-bottom: 1px solid var(--line); transition: background-color var(--motion-fast) ease; }
.rates div:last-child { border-bottom: 0; }
.rates dt { font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; }
.rates dd { margin: 0; font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; font-variation-settings: "wdth" var(--display-width); font-variant-numeric: tabular-nums; }
.rates dd small { margin-left: 4px; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-variation-settings: "wdth" var(--label-width); }
.rates div:last-child dd { color: var(--pink); }
.fees { display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 48px); border-left: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.fees h3 { margin: 0 0 18px; color: rgb(255 255 255 / .6); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-variation-settings: "wdth" var(--label-width); }
.fees ul { margin: 0; padding: 0; list-style: none; }
.fees li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.fees li span { font-weight: 700; }
.fees li strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" var(--display-width); }
.fees li small { grid-column: 1 / -1; color: rgb(255 255 255 / .62); font-size: .86rem; }
.fees .button { margin-top: 32px; }
.fees .button--primary:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.fees > p { margin: 22px 0 0; color: rgb(255 255 255 / .7); font-size: .92rem; line-height: 1.55; }
.fees > p a { color: var(--white); text-underline-offset: 3px; }

.enroll-steps { display: grid; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.enroll-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.enroll-steps span { color: var(--pink); font-size: .72rem; font-weight: 700; letter-spacing: .12em; line-height: 1.9; font-variation-settings: "wdth" var(--label-width); }
.enroll-steps strong { display: block; margin-bottom: 4px; font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }
.enroll-steps div { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.enroll-steps div a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Instructor
   -------------------------------------------------------------------------- */
.instructor { border-top: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.instructor__inner { width: min(1120px, var(--page)); margin-inline: auto; padding-block: var(--section-pad); }
.instructor__intro { margin-block-end: 48px; }
.instructor__intro h2 { color: var(--white); font-size: clamp(2.75rem, 5.8vw, 5.5rem); }
.teacher { display: grid; grid-template-columns: minmax(0, 288px) minmax(0, 1fr); align-items: start; gap: clamp(32px, 4vw, 64px); padding-block-start: 40px; border-block-start: 1px solid var(--line-light); }
.teacher + .teacher { margin-block-start: 56px; }
.teacher__portrait { display: block; width: 100%; height: auto; object-fit: contain; }
.teacher__content { min-width: 0; }
/* Stack when a 288px portrait would leave too little room for the biography. */
@media (max-width: 860px) {
  .instructor__inner { max-width: 640px; }
  .instructor__intro { text-align: center; margin-block-end: 32px; }
  .teacher { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block-start: 32px; }
  .teacher__portrait { max-width: 264px; justify-self: center; }
  .teacher__content .teacher__head { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
  .teacher + .teacher { margin-block-start: 40px; }
}
.teacher__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; }
.teacher__head h3 { margin: 0; font-size: clamp(1.9rem, 2.6vw, 2.6rem); font-weight: 800; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; font-variation-settings: "wdth" var(--display-width); }
.teacher__head p { margin: 0; color: var(--pink); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-variation-settings: "wdth" var(--label-width); }
.teacher__bio { max-width: 640px; margin-top: 24px; }
.teacher__bio p { margin: 0; color: rgb(255 255 255 / .82); font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.6; }
.teacher__bio p + p { margin-top: 16px; }
.teacher .credentials { margin-top: 32px; }
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0 0; border-top: 1px solid var(--line-light); }
.credentials--lisa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.credentials div { display: grid; gap: 16px; align-content: start; padding: 24px 24px 0 0; }
.credentials div + div { padding-left: 24px; border-left: 1px solid var(--line-light); }
.credentials dt { color: rgb(255 255 255 / .62); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.credentials dd { margin: 0; color: var(--white); font-size: clamp(1.4rem, 1.9vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: 0; word-spacing: .12em; font-variation-settings: "wdth" 100; overflow-wrap: anywhere; }
.teacher__head h3 { word-spacing: .12em; letter-spacing: -.015em; }
.instructor .section-kicker, .teacher__head p { color: #ff6a9f; }
.tuition .section-kicker { color: var(--pink-deep); }
.credentials div { min-width: 0; }
.credentials div:first-child dd { color: var(--pink); }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery { width: 100%; padding: 0; border-top: 1px solid var(--ink); }
.gallery__title { width: var(--page); margin: 0 auto; padding: var(--section-pad) 0 48px; }
.gallery__title h2 { max-width: 1100px; }
.gallery__hint { display: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 24vw; grid-auto-flow: dense; gap: 1px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--ink); }
.gallery-grid__item { grid-column: span 2; }
.gallery-grid__item--wide { grid-column: span 4; }
.gallery-grid__item--tall { grid-row: span 2; }
.gallery-grid figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 1; padding: 6px 10px; background: var(--ink); color: var(--white); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity var(--motion-ui) ease, transform var(--motion-ui) var(--ease-out); }
.gallery-grid figure:hover figcaption, .gallery-grid figure:focus-within figcaption { opacity: 1; transform: translateY(0); }
.gallery__footer { width: var(--page); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 0 auto; padding: 36px 0 var(--section-pad); }
.gallery__footer p { margin: 0; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gallery__footer a { display: inline-flex; align-items: center; gap: 18px; font-size: clamp(1.6rem, 2.4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; text-decoration: none; text-transform: uppercase; font-variation-settings: "wdth" var(--display-width); transition: color var(--motion-fast) ease; }
.gallery__footer a:hover { color: var(--pink); }
.gallery__footer .button__arrow { width: 22px; height: 14px; }
.gallery__footer .button__arrow::before { top: 6px; width: 22px; }
.gallery__footer .button__arrow::after { top: 2px; width: 9px; height: 9px; }

/* --------------------------------------------------------------------------
   Contact & form
   -------------------------------------------------------------------------- */
.contact { width: 100%; display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; padding: 0; border-top: 1px solid var(--ink); background: var(--paper); }
.contact__copy, .site-form { padding: var(--section-pad) var(--gutter); }
.contact__copy { position: sticky; top: 0; padding-right: clamp(40px, 6vw, 88px); }
.contact__copy h2 { font-size: clamp(3.8rem, 6.2vw, 7rem); }
.contact address { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact address a { width: max-content; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; box-shadow: inset 0 -1px 0 currentColor; transition: color var(--motion-fast) ease; }
.contact address a:hover { color: var(--pink); }
.forms { border-left: 1px solid var(--ink); background: var(--paper); }
.forms__switch { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ink); }
.forms__switch button { min-height: 64px; padding: 0 20px; border: 0; border-right: 1px solid var(--ink); background: var(--paper-deep); color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease; font-variation-settings: "wdth" var(--label-width); }
.forms__switch button:last-child { border-right: 0; }
.forms__switch button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: inset 0 -3px 0 var(--pink); }
.forms__switch button:hover { color: var(--ink); }
.site-form { display: grid; align-content: start; gap: 22px; color: var(--ink); }
.site-form[hidden] { display: none; }
.register-form__intro { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.register-form__intro a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.form-group { display: grid; gap: 18px; margin: 0; padding: 26px 0 0; border: 0; border-top: 1px solid var(--line); }
.form-group legend { float: left; width: 100%; margin: 0 0 6px; padding: 0; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); font-variation-settings: "wdth" var(--label-width); }
.form-group legend small { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.form-group legend + * { clear: both; }
.form-row--city { grid-template-columns: 1.6fr .8fr; }
.class-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.class-picks__day h4 { margin: 0 0 6px; font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }
.class-picks label { display: flex; align-items: flex-start; gap: 10px; min-height: 40px; padding: 8px 0; font-size: .92rem; line-height: 1.35; cursor: pointer; }
.class-picks input, .check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--pink); }
.release { max-height: 180px; overflow-y: auto; padding: 14px 16px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: .82rem; line-height: 1.55; }
.release p { margin: 0; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; font-weight: 700; cursor: pointer; }
.check input { width: 20px; height: 20px; }
.signature { font-style: italic; font-weight: 600; font-size: 1.15rem; }
.interest-form { display: grid; align-content: center; gap: 22px; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out); }
.field label small { font-size: inherit; font-weight: 500; color: var(--muted); letter-spacing: .04em; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 0; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); transition: border-color var(--motion-fast) ease, background-color var(--motion-fast) ease; }
.field textarea { min-height: 0; padding: 14px 0 12px; line-height: 1.5; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(-45deg, transparent 50%, currentColor 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; cursor: pointer; }
.field:focus-within label { color: var(--pink); transform: translateY(-2px); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); background: rgb(212 15 95 / .025); outline: 2px solid var(--pink); outline-offset: 4px; }
.form-group, .field, .form-row, .forms { min-width: 0; }
.form-privacy { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.55; }
.class-picks label, .check { min-height: 44px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b6002c; }
.field__error { min-height: 1.3em; color: #a90029; font-size: .86rem; }
.form-submit { position: relative; overflow: hidden; justify-self: start; min-width: 240px; border-color: var(--pink); background: var(--pink); color: var(--white); }
.form-submit:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.form-submit[disabled] { cursor: wait; opacity: .82; }
.form-submit::after { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / .34) 50%, transparent 80%); content: ""; opacity: 0; pointer-events: none; transform: translateX(-110%); }
.form-submit.is-loading::after { opacity: 1; animation: action-scan 650ms var(--ease-out) both infinite; }
.form-submit [data-button-label] { position: relative; z-index: 1; }
.form-status { margin: -4px 0 0; color: var(--muted); font-size: .9rem; }
.form-status a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; display: inline-block; padding: 8px 0; margin: -8px 0; }
.form-status.is-success { color: #236000; font-weight: 700; }
.form-status.is-error { color: #a90029; font-weight: 700; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { padding: 0 var(--gutter); background: var(--ink); color: var(--white); }
.site-footer__top { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 40px 64px; padding: 56px 0 36px; border-bottom: 1px solid var(--line-light); }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand div { display: flex; flex-direction: column; }
.site-footer__brand strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.site-footer__brand span { color: rgb(255 255 255 / .64); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__statement { justify-self: end; max-width: 520px; margin: 0; text-align: right; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; font-variation-settings: "wdth" var(--display-width); }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 36px 0 44px; border-bottom: 1px solid var(--line-light); }
.site-footer__grid div { display: flex; flex-direction: column; gap: 10px; }
.site-footer h3 { margin: 0 0 8px; color: rgb(255 255 255 / .55); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__grid a, .site-footer__grid span { width: max-content; font-size: 1rem; font-weight: 500; line-height: 1.4; text-decoration: none; }
.site-footer__grid a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer__grid div { gap: 2px; }
.site-footer__grid a { transition: color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out); }
.site-footer .site-footer__resource-title { margin-block-start: 24px; }
.site-footer__resource-link::after { content: "\2197"; flex: none; margin-inline-start: .5em; font-size: .85em; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 24px 0 32px; color: rgb(255 255 255 / .6); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; margin: -14px 0; text-decoration: none; transition: color var(--motion-fast) ease; }
.site-footer__bottom a:hover { color: var(--pink); }
.motion-preference { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--white); cursor: pointer; }
.motion-preference[hidden] { display: none; }
.motion-preference input { width: 18px; height: 18px; margin: 0; accent-color: var(--pink); cursor: pointer; }
.motion-preference:has(input:disabled) { cursor: default; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
.reveal { opacity: 1; transform: none; }
@keyframes image-enter { from { opacity: .25; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes header-enter { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes type-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes caret { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes action-scan { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
@keyframes scroll-fill { to { transform: scaleX(1); } }
@keyframes gentle-fade { from { opacity: .72; } to { opacity: 1; } }

@media (hover: hover) and (pointer: fine) {
  .brand:hover { opacity: .82; transform: translateY(-2px); }
  .story-grid figure:hover img, .gallery-grid figure:hover img { transform: scale(1.03); }
  .schedule__tabs button:hover { transform: translateX(4px); }
  .button:hover .button__arrow, .gallery__footer a:hover .button__arrow { transform: translateX(4px); }
  .button--call:hover { border-color: var(--white); background: rgb(255 255 255 / .1); }
  .button--call:hover .button--call__icon svg { transform: rotate(-12deg); }
  .class-row:hover { background: rgb(212 15 95 / .055); }
  .class-row:hover time, .class-row:hover span { transform: translateX(4px); }
  .site-footer__grid a:hover { color: var(--pink); transform: translateX(3px); }
  .class-finder__choice:hover { background: var(--pink); }
  .class-finder__choice:hover span { color: var(--white); }
  .class-finder__choice:hover i { transform: translateX(4px); }
}

/* --------------------------------------------------------------------------
   Tablet / small desktop
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .levels { grid-template-columns: repeat(3, 1fr); }
  .levels li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .levels li:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .levels li:nth-child(3n)::after { display: none; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 36vw; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --page: min(100% - 48px, 760px); --gutter: 24px; --section-pad: 64px; }
  .site-header { min-height: 70px; padding: 9px 24px; }
  .brand img { width: 46px; height: 46px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; max-height: calc(100svh - 70px); overflow-y: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--ink); background: var(--paper); color: var(--ink); opacity: 0; pointer-events: none; transform: translateY(-12px); visibility: hidden; transition: opacity var(--motion-ui) ease, transform var(--motion-ui) var(--ease-out), visibility 0s linear var(--motion-ui); }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; transition-delay: 0s; }
  .site-nav a { min-height: 56px; display: flex; flex: 0 0 auto; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--ink) !important; animation: none; }
  .site-nav a:not(.nav-cta) { padding-inline: 24px; }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-nav .nav-cta { border: 0; background: var(--pink) !important; color: var(--white) !important; }
  .hero { height: auto; min-height: max(740px, 100svh); grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .hero__image { position: absolute; inset: 0; grid-column: 1; width: 100%; height: 100%; object-position: 53% 22%; opacity: .6; }
  .hero__scrim { background: linear-gradient(0deg, rgb(17 17 17 / .99) 0%, rgb(17 17 17 / .86) 56%, rgb(17 17 17 / .3) 100%); }
  .hero__content { position: relative; inset: auto; width: 100%; justify-content: flex-end; padding: 260px 24px 44px; }
  .hero .eyebrow { width: auto; padding-inline-start: 11px; border-inline-start: 4px solid var(--pink); color: var(--white); line-height: 1.4; text-shadow: 0 1px 4px rgb(0 0 0 / .7); }
  .hero h1 { max-width: 680px; font-size: clamp(3.4rem, 9vw, 4.8rem); }
  .hero__meta { display: none; }
  .story-grid { grid-template-columns: 1fr; grid-template-rows: 460px 380px 170px; }
  .story-grid__main { grid-row: 1; border-right: 0; border-bottom: 1px solid var(--ink); }
  .goal { grid-template-columns: 1fr; margin-top: 48px; }
  .goal__copy { padding: 32px 0; }
  .goal__skills { padding: 24px 0 8px; border-left: 0; border-top: 1px solid var(--line); }
  .classes { max-width: 808px; margin-inline: auto; padding-inline: 24px; }
  .class-finder { grid-template-columns: 1fr; }
  .class-finder__choices { border-top: 1px solid var(--line-light); border-left: 0; }
  .schedule { grid-template-columns: 1fr; }
  .schedule__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--ink); }
  .schedule__indicator { display: none; }
  .schedule__tabs button { min-width: 0; min-height: 56px; padding: 12px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .82rem; text-align: center; }
  .schedule__tabs button:nth-of-type(3n) { border-right: 0; }
  .schedule__tabs button:nth-last-of-type(-n + 3) { border-bottom: 0; }
  .schedule__tabs button[aria-selected="true"] { box-shadow: inset 0 -4px 0 var(--pink); }
  .tuition { max-width: 808px; margin-inline: auto; padding-inline: 24px; }
  .tuition__grid { grid-template-columns: 1fr; margin-top: 48px; }
  .fees { border-left: 0; border-top: 1px solid var(--ink); }
  .credentials { grid-template-columns: 1fr; margin-top: 44px; }
  .credentials div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
  .credentials div + div { padding-left: 0; border-left: 0; }
  .credentials dd { font-size: 1.55rem; text-align: right; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 60vw; }
  .gallery-grid__item { grid-column: span 1; }
  .gallery-grid__item--wide, .gallery-grid__item--tall { grid-column: span 2; grid-row: span 1; }
  .gallery-grid figcaption { opacity: 1; transform: none; }
  .contact { grid-template-columns: 1fr; }
  .contact__copy { position: static; }
  .contact__copy, .site-form { padding: var(--section-pad) 24px; }
  .forms { border-top: 1px solid var(--ink); border-left: 0; }
  .class-picks { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; align-items: start; padding: 56px 0 32px; }
  .site-footer__statement { justify-self: start; text-align: left; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 40px); --gutter: 20px; }
  .site-header { padding-inline: 20px; }
  .brand { max-width: 100%; gap: 8px; }
  .brand > span { min-width: 0; }
  .brand strong { font-size: .96rem; }
  .site-nav a, .site-nav a:not(.nav-cta) { padding-inline: 20px; }
  .brand small { display: block; font-size: .56rem; letter-spacing: .1em; }
  .hero__content { padding-inline: 20px; padding-bottom: max(36px, env(safe-area-inset-bottom)); }
  .hero h1 { font-size: clamp(3rem, 12.5vw, 3.8rem); line-height: .9; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 10px; }
  :root { --section-pad: 56px; }
  .section { padding: var(--section-pad) 0; }
  .classes { padding-inline: 20px; }
  h2 { font-size: clamp(2.75rem, 11.5vw, 4rem); line-height: .94; letter-spacing: -.04em; }
  .intro__statement > p:last-child, .section-heading > p:last-child, .gallery__title > p:last-child, .contact__copy > p:not(.section-kicker) { margin-top: 24px; }
  .story-grid { margin-top: 40px; grid-template-rows: 360px 300px 150px; }
  .levels { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .levels li { min-height: 0; padding: 18px 16px 18px 0; }
  .levels li + li { padding-left: 16px; }
  .levels li:nth-child(3n + 1) { padding-left: 16px; border-left: 1px solid var(--line); }
  .levels li:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .levels li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .levels li::after { display: none; }
  .schedule { margin-top: 40px; }
  .class-finder { margin-top: 48px; }
  .class-finder__intro { padding: 34px 24px; }
  .class-finder__choice { grid-template-columns: 1fr auto; gap: 8px 18px; padding: 18px 20px; }
  .class-finder__choice span { grid-column: 1; }
  .class-finder__choice i { grid-column: 2; grid-row: 1 / 3; }
  .schedule__panels { min-height: 0; padding: 28px 20px 34px; }
  .schedule__panels h3 { margin-bottom: 24px; font-size: 2.65rem; }
  .class-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .tuition { padding-inline: 20px; }
  .rates div { padding: 20px 20px; }
  .fees { padding: 28px 20px 32px; }
  .fees .button { width: 100%; }
  .gallery__title { width: 100%; padding: var(--section-pad) 20px 40px; }
  .gallery__title h2 { max-width: 11ch; }
  .gallery__title > p:last-child { max-width: 32ch; }
  .gallery__hint { display: block; margin: 0; padding: 0 20px 16px; font-size: .85rem; color: var(--muted); }
  .gallery-grid { display: flex; gap: 1px; overflow-x: auto; padding: 0 18px 18px; border-bottom: 0; background: var(--ink); scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-padding-inline: 18px; }
  .gallery-grid figure, .gallery-grid__item, .gallery-grid__item--wide, .gallery-grid__item--tall { flex: 0 0 82vw; height: 108vw; border: 0 !important; scroll-snap-align: start; }
  .gallery__footer { width: 100%; padding: 28px 20px var(--section-pad); }
  .gallery__footer a { font-size: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
  .contact__copy, .site-form { padding: var(--section-pad) 20px; }
  .form-row--city { grid-template-columns: 1fr; }
  .goal__skills { grid-template-columns: 1fr; }
  .goal__skills li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .goal__skills li:last-child { border-bottom: 0; }
  .forms__switch button { min-height: 56px; padding: 0 12px; font-size: .7rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 32px 0 44px; }
  .site-footer__grid > div { min-width: 0; }
  .site-footer__grid a, .site-footer__grid span { max-width: 100%; overflow-wrap: anywhere; }
  .site-footer__bottom { flex-direction: column; }
}

/* No script means no continuous animation without a working motion control. */
html:not([data-motion="full"]) .marquee { padding-inline: 20px; white-space: normal; }
html:not([data-motion="full"]) .marquee__track { width: 100%; animation: none; }
html:not([data-motion="full"]) .marquee__group { min-width: 0; width: 100%; flex-wrap: wrap; justify-content: center; gap: 12px 24px; font-size: 1rem; }
html:not([data-motion="full"]) .marquee__group[aria-hidden="true"], html:not([data-motion="full"]) .marquee span::after { display: none; }
html[data-motion="reduce"], html[data-motion="reduce"] * { scroll-behavior: auto !important; }
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
html[data-motion="reduce"] .hero .eyebrow { clip-path: none; }
html[data-motion="reduce"] .hero .eyebrow::after, html[data-motion="reduce"] .scroll-progress { display: none; }
html[data-motion="reduce"] .reveal, html[data-motion="reduce"] .gallery-grid figcaption { opacity: 1 !important; transform: none !important; }
html[data-motion="reduce"] .brand, html[data-motion="reduce"] .button, html[data-motion="reduce"] .button__arrow, html[data-motion="reduce"] .button--call__icon svg, html[data-motion="reduce"] .story-grid img, html[data-motion="reduce"] .gallery-grid img, html[data-motion="reduce"] .schedule__tabs button, html[data-motion="reduce"] .class-row time, html[data-motion="reduce"] .class-row span, html[data-motion="reduce"] .site-footer__grid a { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button--call__icon svg { transition: none; transform: none !important; }
  .hero .eyebrow, .hero h1, .hero__content > p:not(.eyebrow), .hero__actions, .hero__meta { animation-name: gentle-fade; animation-duration: 180ms; animation-delay: 0ms; }
  .brand, .site-nav > a { animation-name: gentle-fade; animation-duration: 180ms; animation-delay: 0ms; }
  .hero .eyebrow { clip-path: none; }
  .hero .eyebrow::after { display: none; }
  .hero__image { animation-name: gentle-fade; animation-duration: 180ms; }
  .marquee__track { animation: none; }
  .marquee { padding-inline: 20px; white-space: normal; }
  .marquee__track { width: 100%; }
  .marquee__group { min-width: 0; width: 100%; flex-wrap: wrap; justify-content: center; gap: 12px 24px; font-size: 1rem; }
  .marquee__group[aria-hidden="true"], .marquee span::after { display: none; }
  .form-submit.is-loading::after { animation: none; }
  .scroll-progress { display: none; }
  .gallery-grid figcaption { opacity: 1; transform: none; }
  .story-grid img, .gallery-grid img, .schedule__tabs button, .site-nav, .button, .brand, .field label, .field input, .field select, .field textarea, .class-row, .class-row time, .class-row span, .class-row small, .menu-button__line { transition-duration: .01ms; }
}
