:root {
  --ink: #101524;
  --ink-soft: #252a38;
  --teal: #71989a;
  --teal-dark: #567c7e;
  --gold: #f2b34e;
  --coral: #e9654d;
  --paper: #fffaf4;
  --cream: #f5eee5;
  --white: #ffffff;
  --line: rgba(16, 21, 36, 0.14);
  --shadow: 0 28px 80px rgba(16, 21, 36, 0.14);
  --radius: 4px;
  --page-pad: clamp(20px, 5.5vw, 88px);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

figure,
p,
h1,
h2,
h3 {
  margin-top: 0;
}

a {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 82px;
  padding: 12px var(--page-pad);
  color: var(--white);
  transition:
    height 350ms var(--ease-out),
    color 350ms ease,
    background 350ms ease,
    box-shadow 350ms ease;
}

.site-header::after {
  position: absolute;
  right: var(--page-pad);
  bottom: 0;
  left: var(--page-pad);
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  content: "";
  transition: opacity 300ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(255, 250, 244, 0.9);
  box-shadow: 0 12px 34px rgba(16, 21, 36, 0.09);
  color: var(--ink);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.is-scrolled::after {
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-image {
  position: relative;
  display: block;
  width: 116px;
  height: 42px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--white);
}

.brand-image img,
.contact-logo-crop img {
  position: absolute;
  top: 61%;
  left: 50%;
  width: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
}

.brand-name {
  max-width: 145px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease-out);
}

.nav-links a:not(.nav-contact):hover::after,
.nav-links a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.is-scrolled .nav-contact {
  border-color: var(--ink);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(124px, 17vh, 190px) var(--page-pad) clamp(74px, 10vh, 112px);
  isolation: isolate;
  background: var(--ink) url("assets/Ballet group.jpg") center 38% / cover no-repeat;
  color: var(--white);
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: var(--ink) url("assets/Ballet group.jpg") center 38% / cover no-repeat;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 900ms ease, transform 1600ms var(--ease-out);
}

.hero.video-ready .hero-video {
  opacity: 1;
  transform: scale(1);
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 13, 24, 0.84) 0%, rgba(9, 13, 24, 0.48) 48%, rgba(9, 13, 24, 0.18) 78%),
    linear-gradient(0deg, rgba(9, 13, 24, 0.66) 0%, transparent 45%, rgba(9, 13, 24, 0.28) 100%);
}

.hero-copy {
  width: min(850px, 83vw);
}

.hero-kicker,
.eyebrow {
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--gold);
}

h1,
h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 780px;
  font-size: clamp(4.2rem, 10.7vw, 10.4rem);
  line-height: 0.72;
}

h1 em,
h2 em {
  color: var(--gold);
  font-weight: 400;
}

.hero-text {
  max-width: 540px;
  margin: clamp(28px, 4vw, 48px) 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.23rem);
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.button,
.contact-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 200ms var(--ease-out), background 200ms ease, color 200ms ease;
}

.button:hover,
.button:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-3px);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--gold);
}

.text-link {
  padding: 10px 0;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 6px;
  text-transform: uppercase;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 200ms var(--ease-out);
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.scroll-cue {
  position: absolute;
  right: var(--page-pad);
  bottom: clamp(34px, 6vh, 68px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(-100%);
  transform-origin: right bottom;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.32);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--white);
  content: "";
  animation: scrollLine 1800ms ease-in-out infinite;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 900ms var(--ease-out) forwards;
}

.hero-reveal:nth-child(2) { animation-delay: 140ms; }
.hero-reveal:nth-child(3) { animation-delay: 280ms; }
.hero-reveal:nth-child(4) { animation-delay: 410ms; }

.intro-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  padding: clamp(90px, 12vw, 170px) var(--page-pad);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.intro-copy {
  position: relative;
  z-index: 2;
  max-width: 530px;
}

h2 {
  font-size: clamp(3.15rem, 7vw, 7.3rem);
  line-height: 0.87;
}

.intro-copy h2 {
  margin-bottom: 36px;
}

.intro-copy p:not(.eyebrow) {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.66);
}

.intro-copy .intro-lead {
  margin-bottom: 14px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.25;
}

.intro-image {
  position: relative;
  z-index: 1;
  margin: 0;
}

.intro-image::before {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 34%;
  height: 42%;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  content: "";
}

.intro-image img {
  width: 100%;
  min-height: 430px;
  max-height: 680px;
  object-fit: cover;
  object-position: center;
}

.intro-image figcaption,
.image-label {
  position: absolute;
  right: -1px;
  bottom: -1px;
  padding: 14px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-number {
  position: absolute;
  bottom: -0.22em;
  left: -0.04em;
  margin: 0;
  color: rgba(255, 255, 255, 0.035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12rem, 28vw, 32rem);
  line-height: 0.7;
}

.section {
  padding: clamp(88px, 11vw, 155px) var(--page-pad);
}

.schedule-section {
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 179, 78, 0.15), transparent 30%),
    var(--paper);
}

.feature-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(440px, 1.3fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  max-width: 1400px;
  margin: 0 auto clamp(50px, 8vw, 105px);
}

.section-heading {
  max-width: 540px;
}

.section-heading h2 {
  margin-bottom: 30px;
}

.section-heading > p:last-child {
  max-width: 410px;
  margin-bottom: 0;
  color: rgba(16, 21, 36, 0.64);
}

.schedule-image {
  position: relative;
  margin: 0;
}

.schedule-image::after {
  position: absolute;
  top: -16px;
  bottom: 16px;
  left: -16px;
  width: 40%;
  border: 2px solid var(--teal);
  content: "";
  z-index: -1;
}

.schedule-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.schedule-shell {
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  scrollbar-color: var(--teal) rgba(16, 21, 36, 0.08);
  scrollbar-width: thin;
}

.schedule-table {
  min-width: 1030px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 132px repeat(7, minmax(124px, 1fr));
}

.schedule-row {
  border-bottom: 1px solid var(--line);
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-body {
  position: relative;
}

.schedule-header {
  background: var(--ink);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.schedule-header span,
.schedule-time,
.schedule-cell {
  min-height: 92px;
  padding: 16px 13px;
  border-right: 1px solid var(--line);
}

.schedule-header span {
  display: grid;
  place-items: center;
  min-height: 57px;
  border-color: rgba(255, 255, 255, 0.12);
  text-align: center;
}

.schedule-header span:last-child,
.schedule-grid > :last-child {
  border-right: 0;
}

.schedule-time {
  display: grid;
  align-items: center;
  background: var(--cream);
  font-size: 0.82rem;
  font-weight: 900;
}

.schedule-cell {
  display: grid;
  align-content: center;
  gap: 5px;
  transition: background 180ms ease;
}

.schedule-cell:not(.empty):hover {
  background: rgba(113, 152, 154, 0.09);
}

.schedule-cell.empty {
  background:
    linear-gradient(135deg, transparent 49%, rgba(16, 21, 36, 0.045) 50%, transparent 51%),
    rgba(16, 21, 36, 0.012);
}

.class-name {
  display: block;
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
}

.class-time {
  display: block;
  color: rgba(16, 21, 36, 0.58);
  font-size: 0.74rem;
  font-weight: 750;
}

.birthday-reservation {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  width: calc((100% - 132px) / 7);
  padding: 16px 13px;
  place-items: center;
  border-left: 1px solid var(--line);
  background: #fdf0d4;
  text-align: center;
}

.calendar-section {
  background: var(--cream);
}

.calendar-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto clamp(44px, 7vw, 84px);
}

.calendar-heading h2 {
  min-width: 480px;
}

.calendar-heading h2 em {
  color: var(--coral);
}

.calendar-meta {
  padding-bottom: 9px;
}

.school-year-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 850;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.78rem;
  font-weight: 800;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.class-dot { background: var(--teal); }
.holiday-dot { background: var(--coral); }

.calendar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  max-width: 1400px;
  margin: 0 auto;
}

.calendar-month {
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 54px rgba(16, 21, 36, 0.07);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out), box-shadow 220ms ease;
}

.calendar.is-visible .calendar-month {
  opacity: 1;
  transform: none;
}

.calendar.is-visible .calendar-month:nth-child(2) { transition-delay: 80ms; }
.calendar.is-visible .calendar-month:nth-child(3) { transition-delay: 160ms; }
.calendar.is-visible .calendar-month:nth-child(4) { transition-delay: 240ms; }

.calendar-month:hover {
  box-shadow: 0 24px 70px rgba(16, 21, 36, 0.11);
}

.calendar-month-title {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-day-name,
.calendar-day {
  display: inline-grid;
  min-height: 38px;
  place-items: center;
}

.calendar-day-name {
  color: rgba(16, 21, 36, 0.48);
  font-size: 0.61rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-day {
  border-radius: 50%;
  color: rgba(16, 21, 36, 0.62);
  font-size: 0.75rem;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.calendar-day.class {
  background: var(--teal);
  color: var(--white);
  box-shadow: inset 0 -3px 0 rgba(16, 21, 36, 0.12);
}

.calendar-day.holiday {
  background: var(--coral);
  color: var(--white);
  box-shadow: inset 0 -3px 0 rgba(16, 21, 36, 0.12);
}

.calendar-day.today {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.calendar-day:not(.blank):hover {
  transform: translateY(-2px);
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(46px, 8vw, 128px);
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

.visit-image {
  position: relative;
  margin: 0;
}

.visit-image img {
  width: 100%;
  max-height: 860px;
  object-fit: cover;
}

.photo-accent {
  position: absolute;
  right: -24px;
  bottom: -24px;
  z-index: -1;
  width: 48%;
  height: 50%;
  background: var(--coral);
}

.visit-content {
  display: grid;
  gap: clamp(34px, 5vw, 66px);
}

.visit-copy h2 {
  margin-bottom: 30px;
}

.visit-copy h2 em {
  color: var(--teal-dark);
}

address {
  max-width: 430px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  color: rgba(16, 21, 36, 0.68);
  font-style: normal;
  font-size: 1rem;
  line-height: 1.75;
}

.map-wrap {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
  filter: saturate(0.72) contrast(0.95);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  min-height: 690px;
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
  padding: clamp(90px, 11vw, 155px) var(--page-pad);
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1), transparent 34%),
    var(--teal-dark);
  color: var(--white);
}

.contact-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.contact-copy .eyebrow {
  color: var(--gold);
}

.contact-copy h2 {
  margin-bottom: 30px;
}

.contact-copy h2 em {
  color: var(--gold);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-link {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.contact-brand {
  position: relative;
}

.contact-brand::before,
.contact-brand::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  content: "";
}

.contact-brand::before {
  inset: -33% -5%;
}

.contact-brand::after {
  inset: -12% 12%;
}

.contact-logo-crop {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 2.7 / 1;
  overflow: hidden;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 34px 100px rgba(16, 21, 36, 0.24);
  transform: rotate(-2deg);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 25px var(--page-pad);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer > :nth-child(2) {
  text-align: center;
}

.site-footer a {
  justify-self: end;
  color: var(--white);
  text-decoration: none;
}

[data-reveal] {
  opacity: 0;
  transition: opacity 750ms var(--ease-out), transform 750ms var(--ease-out);
}

[data-reveal="up"] {
  transform: translateY(38px);
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="clip"] {
  opacity: 1;
  overflow: hidden;
  transform: none;
}

[data-reveal="clip"] img {
  clip-path: inset(0 100% 0 0);
  transform: scale(1.08);
  transition: clip-path 1000ms var(--ease-out), transform 1200ms var(--ease-out);
}

[data-reveal="clip"].is-visible img {
  clip-path: inset(0);
  transform: scale(1);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@media (max-width: 980px) {
  .brand-name {
    display: none;
  }

  .intro-section,
  .feature-heading,
  .visit-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-copy,
  .section-heading,
  .contact-copy {
    max-width: 680px;
  }

  .intro-image {
    width: min(100%, 760px);
    justify-self: end;
  }

  .schedule-image {
    width: min(84%, 720px);
    justify-self: end;
  }

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

  .calendar-heading h2 {
    min-width: 0;
  }

  .visit-image {
    width: min(74%, 620px);
  }

  .visit-content {
    grid-template-columns: 0.72fr 1.28fr;
    align-items: end;
  }

  .contact-brand {
    width: min(80%, 680px);
    justify-self: end;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: clamp(18px, 5vw, 32px);
  }

  .site-header,
  .site-header.is-scrolled {
    height: 67px;
  }

  .site-header::after {
    right: var(--page-pad);
    left: var(--page-pad);
  }

  .brand-image {
    width: 82px;
    height: 35px;
  }

  .nav-links {
    gap: 15px;
    font-size: 0.65rem;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .nav-contact {
    padding: 7px 10px;
  }

  .hero {
    align-items: flex-end;
    padding-bottom: 72px;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(9, 13, 24, 0.9) 0%, rgba(9, 13, 24, 0.35) 70%, rgba(9, 13, 24, 0.3) 100%);
  }

  .hero-copy {
    width: 94%;
  }

  h1 {
    font-size: clamp(4rem, 21vw, 7rem);
  }

  .hero-text {
    max-width: 420px;
    margin-top: 30px;
  }

  .scroll-cue {
    display: none;
  }

  .intro-section {
    gap: 52px;
  }

  .intro-image img {
    min-height: 310px;
  }

  .feature-heading {
    margin-bottom: 56px;
  }

  .schedule-image {
    width: 94%;
  }

  .calendar {
    grid-template-columns: 1fr;
  }

  .calendar-day-name,
  .calendar-day {
    min-height: 36px;
  }

  .visit-image {
    width: calc(100% - 20px);
  }

  .visit-content {
    grid-template-columns: 1fr;
  }

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

  .contact-brand {
    width: 94%;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > :nth-child(2) {
    display: none;
  }
}

@media (max-width: 430px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links a:nth-child(3) {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .button {
    width: 100%;
  }

  h2 {
    font-size: clamp(3.1rem, 16vw, 4.6rem);
  }

  .intro-image figcaption,
  .image-label {
    padding: 11px 12px;
    font-size: 0.58rem;
  }

  .calendar-month {
    padding: 14px 10px;
  }

  .calendar-month-grid {
    gap: 3px;
  }

  .calendar-day-name,
  .calendar-day {
    min-height: 34px;
  }

  .contact-links {
    align-items: stretch;
    flex-direction: column;
  }
}

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

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

  .hero-video {
    display: none;
  }

  .hero-media {
    background: url("assets/Ballet group.jpg") center 38% / cover no-repeat;
  }

  .hero-reveal,
  [data-reveal],
  .calendar-month {
    opacity: 1;
    transform: none;
  }

  [data-reveal="clip"] img {
    clip-path: none;
    transform: none;
  }
}
