:root {
  --navy: #153a63;
  --navy-deep: #102f54;
  --cream: #fffde8;
  --cream-soft: #fff9d8;
  --red: #ed1f2f;
  --brown: #432d2b;
  --teal: #2098c2;
  --ink: #172133;
  --muted: #626b72;
  --gold: #a78747;
  --gold-light: #c3a363;
  --gold-deep: #806334;
  --warm: #f2eadb;
  --mist: #e9e6df;
  --white: #fffef5;
  --line: rgba(21, 58, 99, 0.16);
  --shadow: 0 24px 70px rgba(21, 58, 99, 0.18);
  --display: "Fredoka", "Inter", system-ui, sans-serif;
  --serif: var(--display);
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}

.has-js .content-loading .site-header,
.has-js .content-loading .mobile-nav,
.has-js .content-loading main,
.has-js .content-loading .site-footer {
  opacity: 0;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 104px;
  padding: 22px clamp(22px, 5vw, 72px);
  color: var(--cream);
  background: var(--navy);
  border-bottom: 2px solid var(--red);
}

.brand {
  display: inline-flex;
  width: clamp(170px, 16vw, 260px);
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.7vw, 40px);
  justify-content: space-between;
  flex: 1;
  color: rgba(255, 253, 232, 0.86);
  font-size: clamp(1rem, 0.95vw, 1.08rem);
  font-weight: 800;
  text-transform: uppercase;
}

.desktop-nav a:first-child {
  color: var(--cream);
}

.desktop-nav a,
.login-link,
.nav-cta,
.account-link {
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}

.button:hover,
.nav-cta:hover,
.button:focus-visible,
.nav-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(21, 58, 99, 0.16);
}

.nav-cta,
.light-button {
  color: var(--navy);
  background: var(--cream);
}

.account-link {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 253, 232, 0.84);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255, 253, 232, 0.08);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms ease;
}

.account-link span,
.account-link::after {
  display: block;
  border: 2px solid currentColor;
  content: "";
}

.account-link span {
  width: 11px;
  height: 11px;
  margin-top: -10px;
  border-radius: 999px;
}

.account-link::after {
  position: absolute;
  bottom: 11px;
  width: 21px;
  height: 10px;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.account-link:hover,
.account-link:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 253, 232, 0.14);
  box-shadow: 0 12px 28px rgba(21, 58, 99, 0.16);
}

.navy-button {
  color: var(--cream);
  background: var(--navy);
}

.button-gold {
  color: var(--navy);
  background: var(--cream);
}

.button-outline,
.button-ghost {
  border: 1px solid rgba(21, 58, 99, 0.28);
  color: var(--navy);
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 253, 232, 0.38);
  border-radius: 999px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--cream);
}

.mobile-nav {
  position: fixed;
  z-index: 35;
  inset: 104px 0 auto;
  display: none;
  padding: 18px 24px 26px;
  color: var(--cream);
  background: var(--navy);
  border-bottom: 2px solid var(--red);
}

.mobile-nav.is-open {
  display: grid;
  gap: 16px;
}

.image-fill {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21, 58, 99, 0.12), rgba(237, 31, 47, 0.08)),
    radial-gradient(circle at 72% 24%, rgba(255, 253, 232, 0.82), transparent 28%),
    #eee8d6;
  background-position: center;
  background-size: cover;
}

.image-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 47%, rgba(21, 58, 99, 0.12) 48%, rgba(21, 58, 99, 0.12) 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(237, 31, 47, 0.08) 48%, rgba(237, 31, 47, 0.08) 52%, transparent 53%);
  background-size: 52px 52px;
  opacity: 0.32;
}

.image-fill.has-image::after {
  display: none;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 104px));
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-video,
.hero-film,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-film {
  z-index: 0;
  overflow: hidden;
}

.hero-film-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 1200ms cubic-bezier(0.76, 0, 0.24, 1);
}

.hero-film-track.is-resetting {
  transition: none;
}

.hero-image {
  flex: 0 0 100%;
  height: 100%;
}

.hero-film::before,
.hero-film::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(9vw, 86px);
  pointer-events: none;
  background:
    linear-gradient(var(--navy) 0 0) 0 5% / 14px 24px repeat-y,
    linear-gradient(var(--navy) 0 0) 0 95% / 14px 24px repeat-y,
    linear-gradient(90deg, rgba(21, 58, 99, 0.42), transparent);
  opacity: 0.45;
}

.hero-film::before {
  left: 0;
}

.hero-film::after {
  right: 0;
  transform: scaleX(-1);
}

.hero-overlay {
  z-index: 1;
  background: rgba(21, 58, 99, 0.08);
}

.hero h1 {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 7.8rem);
  font-weight: 700;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(21, 58, 99, 0.25);
}

.has-js .content-loading .hero {
  background:
    linear-gradient(rgba(21, 58, 99, 0.88), rgba(21, 58, 99, 0.92)),
    var(--navy);
}

.section-pad {
  padding: clamp(70px, 10vw, 132px) clamp(22px, 5vw, 78px);
}

[data-text] {
  white-space: pre-line;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
}

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(34px, 8vw, 94px);
  align-items: center;
  min-height: 760px;
  overflow: hidden;
}

.about-copy {
  position: relative;
  z-index: 2;
  max-width: 430px;
}

.about-copy p {
  max-width: 34ch;
  margin: 28px 0 0;
  font-size: 1.03rem;
  font-weight: 700;
}

.about-photo {
  min-height: clamp(360px, 52vw, 650px);
  border: 3px solid var(--red);
  border-radius: 80px;
}

.decor {
  position: absolute;
  pointer-events: none;
  animation: decorFloat 8s ease-in-out infinite alternate;
}

.decor-burst {
  z-index: 3;
  top: 24%;
  left: 36%;
  width: 170px;
  aspect-ratio: 1;
  background: var(--brown);
  clip-path: polygon(50% 0, 61% 31%, 98% 18%, 72% 48%, 100% 72%, 63% 66%, 52% 100%, 39% 66%, 2% 78%, 29% 49%, 0 24%, 38% 31%);
}

.decor-sun {
  bottom: 32px;
  left: -38px;
  width: 116px;
  aspect-ratio: 1;
  border: 12px solid #ff9d1f;
  border-radius: 50%;
  box-shadow: inset 0 0 0 14px var(--cream), inset 0 0 0 26px #ff9d1f;
  animation-duration: 10s;
}

.decor-star {
  right: -20px;
  bottom: 28px;
  width: 190px;
  aspect-ratio: 1;
  background: var(--red);
  clip-path: polygon(50% 0, 59% 34%, 87% 12%, 70% 45%, 100% 50%, 70% 57%, 87% 88%, 58% 69%, 50% 100%, 41% 69%, 13% 88%, 30% 57%, 0 50%, 30% 44%, 13% 12%, 41% 34%);
  animation-duration: 9s;
  animation-direction: alternate-reverse;
}

.classes-section {
  text-align: center;
}

.class-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 5vw, 64px);
  max-width: 1190px;
  margin: 56px auto 0;
}

.class-pick {
  display: grid;
  justify-items: center;
  gap: 32px;
}

.class-image {
  width: 100%;
  aspect-ratio: 1.06;
  border: 3px solid var(--red);
  border-radius: 56px;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.class-pick:hover .class-image {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: 0 18px 42px rgba(21, 58, 99, 0.16);
}

.class-pick .button {
  min-width: 170px;
  color: var(--cream);
  background: var(--navy);
}

.class-image-link,
.teacher-preview-photo,
.teacher-feature-media {
  color: inherit;
  text-decoration: none;
}

.class-image-link:focus-visible,
.teacher-preview-photo:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 6px;
  box-shadow: 0 0 0 4px rgba(21, 58, 99, 0.16);
}

.schedule-section {
  text-align: center;
}

.month-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 7vw, 96px);
}

.month-heading button {
  border: 0;
  color: var(--navy);
  background: transparent;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  cursor: pointer;
}

.calendar-placeholder {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(18px, 3.6vw, 42px);
  max-width: 940px;
  margin: 42px auto 0;
  color: var(--cream);
}

.calendar-day-name {
  color: var(--brown);
  font-size: clamp(1rem, 2vw, 1.8rem);
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-day {
  display: grid;
  place-items: center;
  width: clamp(38px, 5vw, 58px);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  background: var(--brown);
  font-weight: 900;
}

.calendar-day.is-highlighted {
  background: var(--teal);
}

.calendar-day.is-empty {
  visibility: hidden;
}

.widget-note {
  max-width: 540px;
  margin: 36px auto 0;
  color: rgba(67, 45, 43, 0.7);
  font-weight: 700;
}

.rezerv-schedule-widget {
  width: min(1120px, 100%);
  min-height: 640px;
  margin: 42px auto 0;
  border: 2px solid rgba(21, 58, 99, 0.12);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: 0 18px 50px rgba(21, 58, 99, 0.08);
}

.package-band {
  position: relative;
  min-height: clamp(380px, 45vw, 690px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.package-band-image {
  position: absolute;
  inset: 0;
}

.package-band-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding: clamp(32px, 6vw, 76px);
  background: rgba(67, 45, 43, 0.78);
  border-top: 2px solid var(--red);
}

.package-band-panel h2 {
  color: var(--cream);
}

.faculty-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  place-items: center;
  text-align: center;
}

.teachers-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  width: 100%;
}

.teacher-preview-photo {
  aspect-ratio: 0.72;
  border: 3px solid var(--red);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(21, 58, 99, 0.1);
  transform: translateZ(0);
  transition: transform 180ms var(--ease-out);
  will-change: transform;
}

.teacher-preview-photo:hover {
  transform: translateY(-5px) rotate(0.8deg);
}

.faculty-copy {
  display: grid;
  justify-items: center;
  max-width: 760px;
}

.faculty-copy p,
.section-heading p {
  max-width: 38ch;
  margin: 30px auto;
  font-weight: 700;
}

.packages-list {
  padding-top: 40px;
}

.section-heading {
  text-align: center;
}

.package-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 38px auto 0;
}

.package-card {
  display: grid;
  gap: 12px;
  border: 2px solid var(--red);
  border-radius: 36px;
  padding: 26px;
  background: var(--white);
  text-align: center;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(21, 58, 99, 0.14);
}

.package-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
}

.package-card p {
  margin: 0;
}

.package-card .price {
  color: var(--brown);
  font-size: 1.35rem;
  font-weight: 900;
}

.contact-section {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
}

.contact-bg {
  position: absolute;
  inset: 0;
}

.contact-copy {
  position: relative;
  z-index: 2;
  min-height: 760px;
  display: grid;
  align-content: center;
  padding: clamp(54px, 8vw, 92px);
  background: rgba(32, 152, 194, 0.82);
  border-radius: 0 120px 120px 0;
}

.contact-copy h2,
.contact-form h2 {
  color: var(--cream);
}

.contact-copy p {
  max-width: 34ch;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.contact-page-details {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 30px;
  min-height: 760px;
  align-content: center;
  padding: clamp(44px, 7vw, 82px);
  color: var(--cream);
  background: rgba(21, 58, 99, 0.92);
  border-radius: 0 96px 96px 0;
}

.contact-page-details h2 {
  color: var(--cream);
}

.contact-page-details > div:first-child p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgba(255, 253, 232, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  font-weight: 700;
}

.contact-info-block {
  display: grid;
  gap: 14px;
  max-width: 520px;
  padding-block-start: 24px;
  border-top: 1px solid rgba(255, 253, 232, 0.22);
}

.contact-info-block h3 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.contact-info-block a,
.contact-info-block p {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  margin: 0;
  color: rgba(255, 253, 232, 0.9);
  line-height: 1.45;
}

.contact-info-block span {
  color: rgba(255, 253, 232, 0.62);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-info-block strong {
  font-weight: 800;
  white-space: pre-line;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-social-links a {
  display: inline-flex;
  grid-template-columns: none;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 232, 0.32);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--cream);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  width: min(540px, calc(100% - 40px));
  justify-self: center;
  border: 2px solid var(--cream);
  border-radius: 42px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--navy);
}

.contact-form h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 253, 232, 0.62);
  border-radius: 6px;
  padding: 12px;
  color: var(--cream);
  background: transparent;
}

.contact-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--cream) 50%) calc(100% - 19px) 50% / 8px 8px no-repeat,
    linear-gradient(135deg, var(--cream) 50%, transparent 50%) calc(100% - 14px) 50% / 8px 8px no-repeat;
}

.contact-form option {
  color: var(--navy);
  background: var(--cream);
}

.contact-page .contact-form {
  color: var(--navy);
  background: var(--cream);
  border-color: var(--red);
}

.contact-page .contact-form h2 {
  color: var(--navy);
}

.contact-page .contact-form input,
.contact-page .contact-form select,
.contact-page .contact-form textarea {
  color: var(--navy);
  border-color: rgba(21, 58, 99, 0.28);
  background-color: rgba(255, 255, 255, 0.58);
}

.contact-page .contact-form select {
  background:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%) calc(100% - 19px) 50% / 8px 8px no-repeat,
    linear-gradient(135deg, var(--navy) 50%, transparent 50%) calc(100% - 14px) 50% / 8px 8px no-repeat,
    rgba(255, 255, 255, 0.58);
}

.contact-page .contact-form .light-button {
  color: var(--cream);
  background: var(--navy);
}

.contact-page .form-note.is-success {
  color: #18743f;
}

.contact-page .form-note.is-error {
  color: #b12a1f;
}

.contact-page-hero {
  background:
    radial-gradient(circle at 12% 84%, rgba(32, 152, 194, 0.16), transparent 24%),
    linear-gradient(135deg, var(--cream), var(--white));
}

.contact-page .contact-section {
  border-top: 2px solid var(--red);
}

.form-note {
  min-height: 1.2em;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.form-note.is-success {
  color: #d8ffdc;
}

.form-note.is-error {
  color: #ffd4c9;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  min-height: min(720px, calc(100svh - 104px));
  padding: clamp(54px, 8vw, 96px) clamp(22px, 5vw, 78px);
  background:
    radial-gradient(circle at 8% 82%, rgba(237, 31, 47, 0.12), transparent 22%),
    var(--cream);
}

.page-hero-text-only {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.page-hero-text-only .page-hero-copy {
  max-width: 1080px;
  justify-items: center;
}

.page-hero-text-only .page-hero-copy h1 {
  max-width: 22ch;
  font-size: clamp(3.4rem, 6.6vw, 6.8rem);
}

.page-hero-text-only .page-hero-copy p {
  max-width: 62ch;
  margin-inline: auto;
}

.services-page-hero {
  min-height: 0;
  padding-block: clamp(70px, 8vw, 128px);
  background: var(--cream);
}

.services-page-hero .page-hero-copy {
  max-width: 980px;
}

.services-page-hero .page-hero-copy h1 {
  max-width: 18ch;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
}

.page-hero-copy {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.page-hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.page-hero-copy p {
  max-width: 48ch;
  margin: 0;
  color: var(--brown);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 700;
}

.page-hero-image {
  min-height: clamp(420px, 48vw, 660px);
  border: 3px solid var(--red);
  border-radius: 72px;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.about-story-image {
  min-height: clamp(360px, 42vw, 560px);
  border: 3px solid var(--red);
  border-radius: 48px 110px 48px 110px;
}

.about-story-copy,
.about-location > div,
.about-cta {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.about-story-copy p,
.about-beliefs p,
.about-location p,
.about-cta p {
  max-width: 56ch;
  margin: 0;
  color: var(--brown);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-weight: 700;
}

.about-beliefs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  background: var(--cream-soft);
}

.about-beliefs.is-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.about-beliefs article {
  display: grid;
  gap: 18px;
  border: 2px solid var(--red);
  border-radius: 36px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--white);
}

.about-beliefs h2 {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

.about-location {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.about-location::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: clamp(180px, 20vw, 310px);
  aspect-ratio: 1;
  background: var(--teal);
  border-radius: 999px 999px 0 999px;
  opacity: 0.86;
}

.about-location h2,
.about-location p {
  color: var(--cream);
}

.about-location p {
  color: rgba(255, 253, 232, 0.9);
}

.about-location > div {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.about-cta {
  justify-items: center;
  text-align: center;
}

.about-cta p {
  max-width: 42ch;
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.service-feature-reverse {
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.service-feature-reverse .service-feature-copy {
  order: 2;
}

.service-feature-copy {
  display: grid;
  gap: 24px;
  min-width: 0;
  max-width: 760px;
}

.service-feature-copy h2,
.about-story-copy h2,
.about-beliefs h2,
.about-location h2,
.about-cta h2 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

.service-feature-copy h2 {
  font-size: clamp(3.1rem, 5.2vw, 5.8rem);
}

.service-feature-copy p {
  max-width: 54ch;
  margin: 0;
  color: var(--brown);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-weight: 700;
}

.service-feature-image {
  width: min(100%, 760px);
  min-height: clamp(360px, 43vw, 580px);
  border: 3px solid var(--red);
  border-radius: 72px;
}

.service-feature:not(.service-feature-reverse) .service-feature-image {
  justify-self: end;
}

.service-feature-reverse .service-feature-image {
  justify-self: start;
}

.service-feature-dark {
  background: var(--navy);
}

.service-feature-dark h2 {
  color: var(--cream);
}

.service-feature-dark .service-feature-copy p {
  color: rgba(255, 253, 232, 0.9);
}

.service-feature-dark .service-feature-image {
  border-color: var(--cream);
}

.services-cta {
  background: var(--cream-soft);
}

.teachers-directory {
  background: var(--cream-soft);
  padding-top: clamp(48px, 7vw, 88px);
}

.teachers-directory-heading {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto clamp(42px, 6vw, 72px);
  text-align: center;
}

.teachers-directory-heading p {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--brown);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 700;
}

.faq-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: clamp(24px, 4vw, 46px);
  padding-bottom: clamp(10px, 2vw, 22px);
  text-align: center;
}

.faq-hero h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(2.65rem, 5.2vw, 4.8rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.faq-hero p {
  max-width: 58ch;
  margin: 0;
  color: var(--brown);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  font-weight: 700;
}

.faq-browser {
  display: grid;
  gap: clamp(18px, 2.6vw, 32px);
  padding-top: clamp(14px, 2vw, 24px);
  background: var(--cream-soft);
}

.faq-tools {
  display: grid;
  gap: 18px;
}

.faq-search {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
}

.faq-search input {
  min-height: 58px;
  border: 2px solid rgba(20, 49, 85, 0.18);
  border-radius: 999px;
  padding: 0 24px;
  color: var(--brown);
  background: var(--white);
  font: inherit;
  font-weight: 800;
}

.faq-category-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  overflow-x: auto;
  padding: 2px 4px 10px;
}

.faq-category-pills button {
  flex: 0 0 auto;
  border: 1px solid rgba(20, 49, 85, 0.18);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--navy);
  background: var(--cream);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.faq-category-pills button.is-active {
  color: var(--cream);
  background: var(--navy);
}

.faq-list {
  display: grid;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
}

.faq-category {
  display: grid;
  gap: 14px;
}

.faq-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.faq-category-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.faq-category-heading span {
  color: rgba(67, 45, 43, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 2px solid rgba(237, 31, 47, 0.75);
  border-radius: 24px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 2.6vw, 28px);
  color: var(--navy);
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span:last-child {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--navy);
}

.faq-item summary span:last-child::before,
.faq-item summary span:last-child::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 13px;
  height: 3px;
  border-radius: 999px;
  background: var(--cream);
  transform: translate(-50%, -50%);
}

.faq-item summary span:last-child::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary span:last-child::after {
  opacity: 0;
}

.faq-answer {
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(20, 49, 85, 0.12);
  padding: clamp(18px, 2.2vw, 28px) clamp(18px, 2.6vw, 28px) clamp(28px, 3vw, 42px);
}

.faq-answer p,
.faq-answer li {
  margin: 0;
  color: var(--brown);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.7;
}

.faq-answer ul,
.faq-answer ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.4rem;
}

.faq-empty {
  margin: 0 auto;
  color: var(--brown);
  font-weight: 900;
  text-align: center;
}

.faq-cta {
  background: var(--cream);
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.legal-page {
  background: var(--cream-soft);
}

.legal-hero {
  display: grid;
  gap: 16px;
  padding-block: clamp(54px, 7vw, 96px);
  text-align: center;
  background: var(--cream);
}

.legal-hero h1 {
  max-width: 14ch;
  margin: 0 auto;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(3rem, 6.4vw, 6.2rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.legal-hero p {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--brown);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
}

.legal-document {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  background: var(--cream-soft);
}

.legal-document article {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 36px);
  border: 2px solid rgba(20, 49, 85, 0.12);
  border-radius: 24px;
  background: var(--white);
}

.legal-document h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--body);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
  text-transform: none;
}

.legal-document p,
.legal-document li,
.legal-document address {
  margin: 0;
  color: var(--brown);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-style: normal;
  font-weight: 650;
  line-height: 1.72;
}

.legal-document ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.35rem;
}

.legal-document a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: clamp(8px, 2vw, 18px);
}

.legal-actions .button {
  min-width: min(100%, 280px);
  text-decoration: none;
}

.legal-actions .navy-button {
  color: var(--cream);
}

.legal-actions .light-button {
  color: var(--navy);
}

.has-js .legal-page .section-pad,
.has-js .legal-page .site-footer {
  opacity: 1;
  transform: none;
  transition: none;
}

.teacher-selector {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  min-width: 0;
  max-width: 100%;
}

.teacher-avatar-scroll {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.teacher-avatar-grid {
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  justify-content: center;
  max-width: 100%;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  touch-action: pan-x;
}

.teacher-avatar-grid::-webkit-scrollbar {
  display: none;
}

.teacher-avatar-hint {
  display: none;
  margin: -18px 0 0;
  color: rgba(67, 45, 43, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.teacher-avatar {
  display: grid;
  flex: 0 0 auto;
  gap: 7px;
  width: clamp(64px, 7vw, 94px);
  border: 0;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-size: clamp(0.62rem, 0.68vw, 0.72rem);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  scroll-snap-align: center;
}

.teacher-avatar-image {
  width: clamp(64px, 7vw, 94px);
  aspect-ratio: 1;
  border: 3px solid rgba(237, 31, 47, 0.45);
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: 0 12px 28px rgba(21, 58, 99, 0.08);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms var(--ease-out);
}

.teacher-avatar:hover .teacher-avatar-image,
.teacher-avatar:focus-visible .teacher-avatar-image,
.teacher-avatar.is-selected .teacher-avatar-image {
  border-color: var(--red);
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 18px 42px rgba(21, 58, 99, 0.16);
}

.teacher-avatar.is-selected {
  color: var(--red);
}

.teacher-avatar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.teacher-stage {
  display: grid;
  grid-template-columns: minmax(440px, 0.68fr) minmax(280px, 0.32fr);
  gap: 0;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  min-height: clamp(640px, 56vw, 840px);
  border: 3px solid var(--red);
  border-radius: 82px;
  padding: clamp(28px, 4vw, 58px);
  background: linear-gradient(90deg, var(--teacher-panel, var(--teal)) 0 66%, var(--cream) 66% 100%);
  box-shadow: 0 26px 70px rgba(21, 58, 99, 0.12);
}

.teacher-stage::before {
  content: none;
}

.teacher-feature-media {
  position: relative;
  z-index: 3;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: stretch;
  min-height: clamp(560px, 52vw, 800px);
  margin-left: clamp(-130px, -8vw, -56px);
}

.teacher-feature-media:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 8px;
}

.teacher-feature-media img,
.teacher-feature-media video {
  display: block;
  width: 100%;
  height: clamp(560px, 52vw, 800px);
  object-fit: cover;
  object-position: center bottom;
  filter: drop-shadow(0 24px 28px rgba(21, 58, 99, 0.22));
}

.teacher-feature-media.is-video video {
  object-fit: contain;
}

.teacher-feature-media.is-cutout img {
  object-fit: contain;
}

.teacher-feature-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 18px;
  align-content: center;
  align-self: stretch;
  max-width: 720px;
  padding: clamp(36px, 5vw, 76px);
  color: var(--cream);
}

.teacher-feature-copy h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.teacher-feature-copy p {
  margin: 0;
  color: rgba(255, 253, 232, 0.92);
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.teacher-feature-copy > p:first-child,
.teacher-styles {
  color: var(--cream);
  opacity: 0.9;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.teacher-feature-copy [data-teacher-bio] {
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  white-space: normal;
}

.teacher-feature-copy .button {
  justify-self: start;
  margin-top: 8px;
  background: var(--cream);
  color: var(--navy);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.9fr) minmax(260px, 0.8fr);
  column-gap: clamp(28px, 4vw, 72px);
  row-gap: 36px;
  align-items: center;
  min-height: 360px;
  padding: clamp(54px, 7vw, 92px) clamp(48px, 8vw, 132px);
  color: var(--cream);
  background: var(--navy);
  border-top: 2px solid var(--red);
}

.footer-mark {
  width: min(100%, clamp(320px, 30vw, 560px));
}

.footer-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-booking,
.footer-socials {
  display: grid;
  gap: 24px;
}

.footer-booking {
  justify-items: start;
}

.footer-booking p,
.footer-socials p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.45;
  white-space: pre-line;
}

.footer-socials {
  justify-items: end;
  text-align: right;
}

.footer-socials div {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
}

.footer-socials a {
  font-weight: 800;
  text-decoration: underline;
}

.footer-socials div a {
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  border: 3px solid var(--cream);
  border-radius: 16px;
  font-size: 2.05rem;
  line-height: 1;
  text-decoration: none;
}

.has-js .section-pad,
.has-js .package-band,
.has-js .contact-section,
.has-js .package-card,
.has-js .class-pick,
.has-js .teacher-selector,
.has-js .about-copy,
.has-js .about-photo,
.has-js .package-band-panel,
.has-js .contact-copy,
.has-js .contact-form,
.has-js .site-footer,
.has-js .page-hero-copy,
.has-js .page-hero-image,
.has-js .about-story-image,
.has-js .about-story-copy,
.has-js .about-beliefs article,
.has-js .service-feature-copy,
.has-js .service-feature-image {
  opacity: 0;
  transform: translateY(18px) scale(0.992);
  transition:
    opacity 740ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 740ms var(--ease-out) var(--reveal-delay, 0ms);
}

.has-js .faq-browser {
  opacity: 1;
  transform: none;
}

.has-js .section-pad.is-visible,
.has-js .package-band.is-visible,
.has-js .contact-section.is-visible,
.has-js .package-card.is-visible,
.has-js .class-pick.is-visible,
.has-js .teacher-selector.is-visible,
.has-js .about-copy.is-visible,
.has-js .about-photo.is-visible,
.has-js .package-band-panel.is-visible,
.has-js .contact-copy.is-visible,
.has-js .contact-form.is-visible,
.has-js .site-footer.is-visible,
.has-js .page-hero-copy.is-visible,
.has-js .page-hero-image.is-visible,
.has-js .about-story-image.is-visible,
.has-js .about-story-copy.is-visible,
.has-js .about-beliefs article.is-visible,
.has-js .service-feature-copy.is-visible,
.has-js .service-feature-image.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.has-js .package-card.is-visible:hover {
  transform: translateY(-5px);
}

@keyframes decorFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  to {
    transform: translate3d(10px, -14px, 0) rotate(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .has-js .section-pad,
  .has-js .package-band,
  .has-js .contact-section,
  .has-js .package-card,
  .has-js .class-pick,
  .has-js .teacher-selector,
  .has-js .about-copy,
  .has-js .about-photo,
  .has-js .package-band-panel,
  .has-js .contact-copy,
  .has-js .contact-form,
  .has-js .site-footer,
  .has-js .page-hero-copy,
  .has-js .page-hero-image,
  .has-js .about-story-image,
  .has-js .about-story-copy,
  .has-js .about-beliefs article,
  .has-js .service-feature-copy,
  .has-js .service-feature-image {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1320px) {
  .site-header {
    gap: 18px;
    min-height: 96px;
    padding: 20px clamp(18px, 3vw, 44px);
  }

  .brand {
    width: clamp(154px, 14vw, 218px);
  }

  .desktop-nav {
    gap: clamp(12px, 1.35vw, 22px);
    font-size: clamp(0.76rem, 0.76vw, 0.86rem);
  }

  .header-actions {
    gap: 14px;
    font-size: clamp(0.76rem, 0.76vw, 0.86rem);
  }

  .nav-cta {
    min-height: 44px;
    padding-inline: 24px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 8vw, 6.6rem);
  }

  h2 {
    font-size: clamp(2.8rem, 5.8vw, 5.6rem);
  }

  .month-heading h2,
  .month-heading button {
    font-size: clamp(2.7rem, 5vw, 4.4rem);
  }

  .page-hero-copy h1 {
    font-size: clamp(3.4rem, 7vw, 6.1rem);
  }

  .page-hero-text-only .page-hero-copy h1 {
    font-size: clamp(3rem, 6vw, 5.6rem);
  }

  .page-hero,
  .service-feature,
  .service-feature-reverse,
  .about-story {
    gap: clamp(28px, 4vw, 58px);
  }

  .page-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  }

  .service-feature {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.95fr);
  }

  .service-feature-reverse {
    grid-template-columns: minmax(330px, 0.95fr) minmax(0, 1fr);
  }

  .about-story {
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  }

  .about-beliefs h2 {
    font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  }

  .page-hero-copy p,
  .service-feature-copy p,
  .about-story-copy p,
  .about-beliefs p,
  .about-location p,
  .about-cta p,
  .contact-copy p {
    font-size: clamp(1rem, 1.35vw, 1.16rem);
  }

  .section-pad {
    padding-inline: clamp(22px, 4.4vw, 58px);
  }

  .teacher-stage {
    grid-template-columns: minmax(390px, 0.62fr) minmax(300px, 0.38fr);
    min-height: clamp(590px, 54vw, 760px);
    border-radius: 68px;
    padding: clamp(24px, 3.2vw, 48px);
    background: linear-gradient(90deg, var(--teacher-panel, var(--teal)) 0 62%, var(--cream) 62% 100%);
  }

  .teacher-feature-copy {
    padding: clamp(30px, 4vw, 58px);
  }

  .teacher-feature-copy h3 {
    font-size: clamp(3rem, 5.6vw, 5.35rem);
  }

  .teacher-feature-media {
    min-height: clamp(500px, 50vw, 700px);
    margin-left: clamp(-100px, -7vw, -44px);
  }

  .teacher-feature-media img,
  .teacher-feature-media video {
    height: clamp(500px, 50vw, 700px);
  }
}

@media (min-width: 1281px) and (max-width: 1760px) {
  .site-header {
    gap: clamp(14px, 1.4vw, 24px);
    padding-inline: clamp(18px, 2.4vw, 42px);
  }

  .brand {
    width: clamp(154px, 13vw, 220px);
  }

  .desktop-nav {
    gap: clamp(10px, 1.05vw, 18px);
    justify-content: flex-start;
    font-size: clamp(0.72rem, 0.78vw, 0.84rem);
  }

  .header-actions {
    gap: clamp(10px, 1vw, 16px);
    font-size: clamp(0.72rem, 0.78vw, 0.84rem);
  }

  .account-link {
    width: 42px;
    height: 42px;
  }

  .account-link span {
    width: 10px;
    height: 10px;
  }

  .account-link::after {
    bottom: 10px;
    width: 19px;
    height: 9px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 10px clamp(18px, 1.55vw, 26px);
  }

  .hero h1 {
    max-width: min(88vw, 1120px);
    font-size: clamp(3.5rem, 7.6vw, 6.2rem);
  }
}

@media (min-width: 1281px) and (max-width: 1480px) {
  .site-header {
    gap: clamp(10px, 1.1vw, 16px);
    padding-inline: clamp(16px, 1.8vw, 26px);
  }

  .brand {
    width: clamp(140px, 11.5vw, 170px);
  }

  .desktop-nav {
    gap: clamp(7px, 0.82vw, 12px);
    font-size: clamp(0.66rem, 0.72vw, 0.76rem);
  }

  .header-actions {
    gap: 8px;
    font-size: clamp(0.66rem, 0.72vw, 0.76rem);
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: clamp(14px, 1.25vw, 18px);
  }

  .account-link {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1281px) and (max-width: 1340px) {
  .site-header {
    gap: 10px;
    padding-inline: 16px;
  }

  .brand {
    width: clamp(132px, 11.5vw, 156px);
  }

  .desktop-nav {
    gap: clamp(7px, 0.82vw, 11px);
    font-size: clamp(0.66rem, 0.72vw, 0.74rem);
  }

  .header-actions {
    gap: 8px;
    font-size: clamp(0.66rem, 0.72vw, 0.74rem);
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 16px;
  }
}

@media (max-width: 1280px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .site-header > .account-link {
    width: 46px;
    height: 46px;
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
    margin-left: 0;
  }

  .site-header {
    min-height: 90px;
  }

  .mobile-nav {
    inset-block-start: 90px;
  }

  .teacher-avatar-scroll {
    margin-inline: calc(clamp(22px, 4.4vw, 58px) * -1);
  }

  .teacher-avatar-grid {
    justify-content: flex-start;
    padding-inline: clamp(22px, 4.4vw, 58px);
  }

  .teacher-avatar-scroll::before,
  .teacher-avatar-scroll::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 18px;
    width: 42px;
    pointer-events: none;
  }

  .teacher-avatar-scroll::before {
    left: 0;
    background: linear-gradient(90deg, var(--cream-soft), rgba(254, 255, 233, 0));
  }

  .teacher-avatar-scroll::after {
    right: 0;
    background: linear-gradient(270deg, var(--cream-soft), rgba(254, 255, 233, 0));
  }

  .teacher-avatar-hint {
    display: block;
  }

  .teachers-directory-heading,
  .teacher-stage {
    justify-self: center;
    width: min(100%, calc(100vw - (2 * clamp(22px, 4.4vw, 58px))));
  }

  .page-hero,
  .service-feature,
  .service-feature-reverse {
    gap: clamp(30px, 4vw, 52px);
  }

  .page-hero,
  .about-story,
  .service-feature,
  .service-feature-reverse {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 0;
  }

  .page-hero-copy {
    max-width: 760px;
  }

  .page-hero-image,
  .about-story-image,
  .service-feature-image {
    min-height: clamp(360px, 54vw, 560px);
  }

  .service-feature-reverse .service-feature-copy {
    order: 0;
  }

  .teacher-stage {
    grid-template-columns: minmax(0, 0.52fr) minmax(250px, 0.48fr);
    align-items: center;
    min-height: clamp(520px, 62vw, 680px);
    border-radius: 54px;
    padding: clamp(24px, 4vw, 42px);
    background: var(--teacher-panel, var(--teal));
  }

  .teacher-feature-media {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    align-self: end;
    width: 100%;
    min-height: clamp(410px, 56vw, 590px);
    margin-left: 0;
  }

  .teacher-feature-media img,
  .teacher-feature-media video {
    height: clamp(410px, 56vw, 590px);
  }

  .teacher-feature-copy {
    grid-column: 1;
    grid-row: 1;
    align-content: center;
    max-width: none;
    padding: clamp(26px, 3.5vw, 46px);
    padding-right: clamp(18px, 3vw, 34px);
  }
}

@media (max-width: 1120px) {
  .teacher-stage {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
    min-height: auto;
    border-radius: 48px;
    padding: clamp(20px, 3.8vw, 34px);
    background: var(--teacher-panel, var(--teal));
  }

  .teacher-feature-copy {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    padding: clamp(24px, 4vw, 42px) clamp(20px, 4vw, 36px) 8px;
  }

  .teacher-feature-copy h3 {
    font-size: clamp(3rem, 10vw, 5.4rem);
  }

  .teacher-feature-copy [data-teacher-bio] {
    max-width: 100%;
    font-size: clamp(1rem, 2.8vw, 1.14rem);
  }

  .teacher-feature-media {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(88%, 520px);
    min-height: clamp(360px, 58vw, 540px);
    margin: 0;
  }

  .teacher-feature-media img,
  .teacher-feature-media video {
    height: clamp(360px, 58vw, 540px);
  }
}

@media (max-width: 1050px) {
  .about-section,
  .page-hero,
  .about-story,
  .about-beliefs,
  .service-feature,
  .service-feature-reverse,
  .faculty-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .decor-burst {
    left: 48%;
  }

  .faculty-copy {
    order: -1;
  }

  .contact-copy {
    min-height: auto;
    border-radius: 0 0 88px 88px;
  }

  .contact-page-details {
    min-height: auto;
    border-radius: 0 0 88px 88px;
  }

  .site-footer,
  .footer-socials {
    justify-items: start;
    text-align: left;
  }

  .footer-socials div {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .teacher-stage {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    min-height: auto;
    border-radius: 46px;
    padding: 24px;
    background: var(--teacher-panel, var(--teal));
  }

  .teacher-feature-copy {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    padding: 28px 26px 4px;
  }

  .teacher-feature-copy [data-teacher-bio] {
    max-width: 100%;
    font-size: clamp(1rem, 3.6vw, 1.16rem);
  }

  .teacher-feature-media {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(88%, 520px);
    min-height: clamp(360px, 62vw, 540px);
  }

  .teacher-feature-media img,
  .teacher-feature-media video {
    height: clamp(360px, 62vw, 540px);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 82px;
    padding: 16px 20px;
  }

  .mobile-nav {
    inset-block-start: 82px;
  }

  .brand {
    width: 150px;
  }

  .hero {
    min-height: 520px;
  }

  .about-section {
    min-height: 0;
  }

  .about-photo {
    min-height: 330px;
    border-radius: 44px;
  }

  .page-hero {
    min-height: 0;
  }

  .page-hero-image,
  .about-story-image,
  .service-feature-image {
    min-height: 330px;
    border-radius: 44px;
  }

  .faq-hero h1 {
    max-width: 14ch;
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .faq-category-heading {
    align-items: start;
    flex-direction: column;
  }

  .faq-category-pills {
    justify-content: flex-start;
  }

  .faq-item {
    border-radius: 18px;
  }

  .service-feature-reverse .service-feature-copy {
    order: 0;
  }

  .decor {
    display: none;
  }

  .class-picks,
  .package-cards {
    grid-template-columns: 1fr;
  }

  .teachers-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-placeholder {
    gap: 12px;
  }

  .calendar-day-name {
    font-size: 0.78rem;
  }

  .calendar-day {
    width: 34px;
    font-size: 0.82rem;
  }

  .package-band-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section {
    min-height: 0;
  }

  .teacher-stage {
    border-radius: 42px;
    padding: 22px;
    min-height: auto;
  }

  .teacher-feature-media {
    width: min(100%, 390px);
    min-height: 410px;
  }

  .teacher-feature-media img,
  .teacher-feature-media video {
    height: 410px;
  }

  .teacher-feature-copy {
    max-width: none;
    align-content: start;
    padding: 30px;
  }

  .contact-form {
    margin: 48px auto;
  }

  .contact-page-details {
    padding-inline: 28px;
  }

  .contact-info-block a,
  .contact-info-block p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    justify-items: center;
    min-height: auto;
    padding: 46px 28px;
    text-align: center;
  }

  .footer-booking,
  .footer-socials {
    justify-items: center;
    gap: 18px;
  }

  .footer-socials {
    text-align: center;
  }

  .footer-booking p,
  .footer-socials p {
    max-width: 28ch;
    font-size: 1rem;
  }

  .footer-mark {
    width: min(360px, 82vw);
  }

  .footer-mark img {
    width: 100%;
    height: auto;
  }

  .footer-socials div {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .teachers-directory-heading {
    text-align: left;
  }

  .teachers-directory-heading p {
    margin-inline: 0;
  }

  .teacher-avatar-grid {
    padding-inline: 22px;
  }

  .teacher-avatar-scroll::before,
  .teacher-avatar-scroll::after {
    width: 36px;
  }

  .teacher-avatar-scroll::before {
    left: 0;
    background: linear-gradient(90deg, var(--cream-soft), rgba(254, 255, 233, 0));
  }

  .teacher-avatar-scroll::after {
    right: 0;
    background: linear-gradient(270deg, var(--cream-soft), rgba(254, 255, 233, 0));
  }

  .teacher-stage {
    grid-template-columns: 1fr;
    gap: 8px;
    width: calc(100vw - 44px);
    min-height: auto;
    border-width: 2px;
    border-radius: 34px;
    padding: 20px;
    background: var(--teacher-panel, var(--teal));
  }

  .teacher-feature-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    overflow: hidden;
    padding: 22px 18px 10px;
  }

  .teacher-feature-copy h3 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

  .teacher-feature-copy [data-teacher-bio] {
    max-width: none;
    font-size: clamp(0.96rem, 4.5vw, 1.08rem);
    line-height: 1.42;
  }

  .teacher-feature-copy .button {
    width: 100%;
    justify-self: stretch;
  }

  .teacher-feature-media {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    align-self: end;
    width: min(100%, 390px);
    min-height: clamp(320px, 92vw, 480px);
    margin: 0;
  }

  .teacher-feature-media img,
  .teacher-feature-media video {
    height: clamp(320px, 92vw, 480px);
  }
}
