@font-face {
  font-family: "Source Sans 3";
  src: url("assets/sourcesans3.ttf");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorantgaramond.ttf");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --ink: #352b30;
  --muted: #65575b;
  --peach: #ffbe9f;
  --pink: #f44c7f;
  --gray: #9ea1a2;
  --rose: #8a3452;
  --paper: #fffcf9;
  --rule: #dfd4d0;
  --radius: 14px;
  --shadow: 0 8px 24px -10px rgba(53, 43, 48, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.55 "Source Sans 3", Arial, sans-serif; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; margin: 0; font-weight: 600; line-height: 1.07; }
h2 { font-size: clamp(32px, 3.4vw, 50px); letter-spacing: -.03em; }
h3 { font-size: clamp(29px, 2.5vw, 39px); letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
.wrap { width: min(1220px, 89%); margin-inline: auto; }
.skip { position: absolute; top: -70px; left: 12px; background: white; padding: 10px; z-index: 2; }
.skip:focus { top: 4px; }
header { background: white; border-bottom: 1px solid var(--rule); }
.header-row, nav, .section-heading, .private { display: flex; align-items: center; justify-content: space-between; }
.header-row { min-height: 96px; gap: 25px; }
.logo { width: 136px; display: block; }
nav { gap: clamp(20px, 3vw, 48px); }
#more-links { display: flex; flex-wrap: wrap; align-items: center; gap: inherit; }
[hidden] { display: none !important; }
nav a, #menu-toggle { min-height: 44px; display: inline-flex; align-items: center; }
#menu-toggle { width: 44px; justify-content: center; color: var(--ink); background: transparent; border: 0; padding: 0; }
.menu-icon { display: grid; place-items: center; width: 22px; height: 22px; }
.menu-icon i { grid-area: 1 / 1; width: 100%; border-top: 2px solid currentColor; transition: transform 180ms ease, opacity 140ms ease; }
.menu-icon i:first-child { transform: translateY(-6px); }
.menu-icon i:last-child { transform: translateY(6px); }
#menu-toggle[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
#menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
#menu-toggle[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }
nav a, .button { text-decoration: none; }
nav a { font-size: 16px; }
.nav-faq { display: none; }
nav a:hover { text-decoration: underline; }
nav .instagram-link { justify-content: center; min-width: 44px; }
nav .instagram-link span { display: none; }
.hero { display: grid; grid-template-columns: 43% 57%; min-height: clamp(440px, 39vw, 580px); background: #fff0e7; }
.hero-copy { padding: 58px clamp(27px,4vw,72px) 61px max(5.5vw, calc((100vw - 1220px) / 2)); align-self: center; }
.location, .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--rose); }
.location { letter-spacing: .16em; font-size: 13px; }
h1 { font-size: clamp(57px, 6.1vw, 98px); line-height: 1; letter-spacing: -.03em; margin: 25px 0 18px; }
h1 span { color: var(--pink); }
.lead { color: #53494c; max-width: 34ch; font-size: clamp(17px,1.35vw,20px); }
.button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; gap: 10px; min-height: 44px; background: var(--ink); border: 1px solid var(--ink); color: white; border-radius: 40px; padding: 10px 22px; font-size: 15px; font-weight: 600; }
.hero .button { margin-top: 26px; }
.button:hover { background: var(--rose); border-color: var(--rose); }
.button::after { content: "\2192"; font-weight: 400; }
.header-enroll, .group-enroll { padding: 9px 18px; }
.hero-image { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 52% 42%; }
.classes { padding-block: 58px 68px; }
.section-heading { margin-bottom: 26px; align-items: baseline; gap: 15px; }
.section-heading p { color: var(--muted); font-size: 16px; }
.offerings { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 23px; align-items: start; }
.weekly, .event { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.weekly { padding: 31px 34px 26px; background: #ffede2; border-color: #f5d8c8; }
.kicker span { text-transform: none; letter-spacing: .02em; color: var(--muted); font-weight: 400; }
.kicker { margin-bottom: 15px; }
.weekly > p:not(.kicker):not(.badge), .event p:not(.kicker):not(.badge), .private p:not(.badge), .welcome p { color: var(--muted); }
.weekly > p:not(.kicker):not(.badge), .event p:not(.kicker):not(.badge) { margin-top: 13px; }
.groups { list-style: none; padding: 0; margin-block: 14px; border-top: 1px solid #ddc7bd; }
.groups li { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; border-bottom: 1px solid #ddc7bd; padding: 10px 0; }
.groups li div { display: grid; font-size: 16px; }
.weekly details { margin-top: 12px; }
.availability { color: var(--rose); font-weight: 600; font-size: 15px; }
.instagram-link { display: inline-flex; align-items: center; gap: 6px; color: var(--rose); font-weight: 600; }
.price { color: var(--muted); font-size: 15px; margin: 12px 0; }
.price strong { color: var(--ink); font-size: 22px; }
summary, .text-button { cursor: pointer; font-weight: 700; }
summary { padding: 5px 0; }
details p { padding-block: 8px 12px; }
.weekly details, .text-button { font-size: 15px; color: var(--rose); }
.event { display: grid; grid-template-columns: 36% 1fr; background: white; }
.event img { width: 100%; height: 100%; object-fit: cover; object-position: 31% center; }
.event > div { padding: 29px 25px; align-self: center; }
.text-button { text-align: left; background: transparent; border: 0; padding: 5px 0; }
.private { gap: 25px; margin-top: 23px; padding: 24px 28px; background: white; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); }
.private h3 { font-size: 26px; margin-bottom: 6px; }
.private p:not(.badge) { font-size: 15px; }
.private > div:last-child { text-align: right; flex-shrink: 0; }
.private a { display: block; color: var(--rose); font-size: 15px; font-weight: 700; }
.text-button::after, .private a::after, .urgency a::after { content: "\00a0\2192"; }
.text-button:hover, .private a:hover, .urgency a:hover { text-decoration: underline; }
.welcome { background: #f8f1ed; }
.welcome-grid { padding-block: 57px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 6%; align-items: start; }
#teacher { display: grid; grid-template-columns: minmax(130px,.72fr) 1fr; align-items: center; gap: clamp(18px,2.5vw,40px); }
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.portrait figcaption { color: var(--muted); margin-top: 6px; font-size: .875rem; }
#first-class { align-self: start; }
summary, .text-button, .close { min-height: 44px; }
.close { min-width: 44px; }
.welcome h2 { font-size: 34px; margin-bottom: 18px; }
.welcome details { border-bottom: 1px solid var(--rule); padding-block: 5px; }
.welcome .signature { font: 600 28px/1.4 "Cormorant Garamond", Georgia, serif; color: var(--rose); margin-top: 22px; }
.welcome .teacher-name { font: 600 24px/1.2 "Cormorant Garamond", Georgia, serif; color: var(--rose); margin: -8px 0 16px; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; padding-block: 28px; min-height: 96px; font-size: 16px; }
footer .logo { width: 150px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.footer-links a, .footer-contact a { color: var(--muted); }
.footer-links a:hover, .footer-contact a:hover { color: var(--rose); text-decoration: underline; }
footer a { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 3; display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--rose); color: white; text-decoration: none; font-size: 22px; line-height: 1; box-shadow: 0 3px 12px rgba(53,43,48,.3); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 200ms ease, transform 200ms ease, visibility 200ms; }
.to-top:hover { background: var(--ink); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
dialog { max-width: min(460px, 90vw); border: 1px solid var(--rule); border-radius: var(--radius); padding: 35px; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #30272c8f; }
dialog h2 { font-size: 34px; }
dialog p:not(.kicker) { margin: 17px 0 23px; }
.close { float: right; border: 0; background: transparent; font-size: 24px; }
@media(max-width: 900px) {
  .groups li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .event { display: block; }
  .event img { height: 150px; object-position: center 52%; display: block; }
  .hero-copy { padding-left: 6vw; }
}
@media(max-width: 680px) {
  .wrap { width: 89%; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { width: 89%; padding: 33px 0 32px; }
  h1 { font-size: clamp(52px,10vw,64px); margin: 15px 0 12px; }
  h1 br { display: none; }
  h1 br::after { content: ' '; }
  .hero .button { margin-top: 18px; }
  .hero-image { height: clamp(235px,68vw,340px); }
  .classes { padding-block: 35px; }
  .section-heading, .private { align-items: start; flex-direction: column; gap: 7px; }
  .section-heading { margin-bottom: 18px; }
  .offerings, .welcome-grid { grid-template-columns: 1fr; gap: 17px; }
  .weekly, .event > div { padding: 23px; }
  .private > div:last-child { text-align: left; }
  .welcome-grid { padding-block: 32px; gap: 30px; }
  footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 2px; }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 2px; }
}
@media(max-width: 60em) {
  .header-row { position: relative; min-height: 76px; gap: 8px; padding-block: 8px; flex-wrap: wrap; }
  .header-row .logo { width: clamp(74px,17vw,105px); }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  #menu-toggle:not([hidden]) + #more-links { position: absolute; top: 100%; inset-inline: 0; z-index: 2; animation: slide-down 200ms ease; }
  #more-links { flex-direction: column; align-items: stretch; gap: 0; background: white; padding: 8px 16px; border: 1px solid var(--rule); }
  #more-links a { padding: 8px; }
  #more-links .instagram-link { justify-content: flex-start; border-top: 1px solid var(--rule); margin-top: 6px; padding-top: 16px; }
  #more-links .instagram-link span { display: inline; }
  .nav-faq { display: inline-flex; }
  .welcome-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media(max-width: 32em) {
  #teacher { grid-template-columns: 1fr; gap: 18px; }
  .portrait { width: min(100%, 275px); }
}
@media(max-width: 26em) {
  .header-row { width: 94%; gap: 4px; }
  nav { gap: 4px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu-icon i { transition: none; }
  #menu-toggle:not([hidden]) + #more-links { animation: none; }
  .to-top { transition: none; }
}
@keyframes slide-down { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* Status-driven offerings: any type can take any status */
.badge { display: inline-flex; align-items: center; gap: 7px; width: fit-content; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 15px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-open { color: var(--rose); background: #fbe1ea; }
.badge-now { color: #9a5a2d; background: #ffe6d4; }
.badge-soon { color: #6f7375; background: #ededee; }
.badge-appt { color: #6f7375; background: #ededee; }
.badge-full { color: var(--pink); background: #fcd7e2; }
.badge-later { color: var(--muted); background: transparent; padding: 0; margin-bottom: 12px; }
.badge-later::before { display: none; }
.availability.is-full { color: var(--pink); }
.urgency { flex-basis: 100%; margin-top: 4px; font-size: 14px; color: var(--rose); background: #fbe1ea; border-radius: 8px; padding: 9px 13px; }
.urgency a { color: var(--rose); font-weight: 700; }
.later { margin-top: 24px; }
.later ul { list-style: none; margin: 0; padding: 0; }
.later li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15px; color: var(--muted); }

/* Optional spotlight callouts for special programs (summer camp, workshops, school-day, etc.) */
.spotlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 23px; margin-bottom: 24px; align-items: start; }
.spotlight { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); border: 1px solid #f3d3c2; background: linear-gradient(105deg, #fff0e7, #fde6ef); box-shadow: var(--shadow); }
.spotlight-img { width: 100%; height: 168px; object-fit: cover; object-position: 52% 42%; display: block; }
.spotlight-body { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 26px; }
.spotlight-body h3 { margin: 0; }
.spotlight-body p:not(.badge) { color: var(--muted); font-size: 17px; margin: 13px 0 0; max-width: 54ch; }
.spotlight-body .schedule strong { color: var(--ink); }
.spotlight-body .price { margin: 12px 0 0; }
.spotlight-body .button { margin-top: 16px; }
@media(max-width: 680px) { .spotlight-body .button { width: 100%; justify-content: center; } }

/* Parent testimonials */
.testimonials { padding-block: 54px; }
.quote-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 23px; }
.quote-card { display: flex; flex-direction: column; gap: 18px; background: white; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; }
.quote-card blockquote { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; line-height: 1.32; color: var(--ink); }
.quote-by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-by cite { font-style: normal; font-weight: 700; font-size: 15px; color: var(--rose); }
.avatar { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #fde6ef; color: var(--rose); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Sub-pages: FAQ and policy pages */
.page { padding-block: 46px 66px; }
.page h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -.03em; margin: 6px 0 16px; }
.lead-text { color: var(--muted); font-size: 18px; max-width: 62ch; }
.page .page-cta { margin-top: 56px; }
.faq-category { margin-top: 42px; }
.faq-category h2 { margin-bottom: 4px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-weight: 700; font-size: 18px; color: var(--ink); padding: 16px 0; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--rose); font-weight: 400; font-size: 24px; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item > p { color: var(--muted); max-width: 72ch; padding: 0 0 18px; }
.faq-draft summary { color: var(--muted); }
.faq-draft > p { font-style: italic; }
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin-top: 30px; }
.legal p { color: var(--muted); margin-top: 12px; max-width: 72ch; }
.draft-banner { background: #fff0e7; border: 1px solid #f3d3c2; border-radius: var(--radius); padding: 15px 18px; color: var(--ink); font-size: 15px; margin: 16px 0 10px; }

/* A single, full-width spotlight on desktop: image left, content right.
   Two-up callouts and tablet/mobile keep the image on top (stacked). */
.spotlight:only-child { display: grid; grid-template-columns: 42% 1fr; }
.spotlight:only-child .spotlight-img { height: 100%; }
.spotlight:only-child .spotlight-body { align-self: center; }
@media(max-width: 900px) {
  .spotlight:only-child { display: flex; }
  .spotlight:only-child .spotlight-img { height: 168px; }
}

/* Scroll offset so in-page jumps leave breathing room above the target */
#teacher, #first-class { scroll-margin-top: 56px; }
#weekly-ballet, #tutus-and-teacups, #private-lessons { scroll-margin-top: 24px; }
@media(max-width: 680px) { #teacher, #first-class { scroll-margin-top: 32px; } }
