:root {
  --ink: #101010;
  --ink-2: #202122;
  --paper: #f4f1ea;
  --paper-2: #deded9;
  --white: #ffffff;
  --muted: #666968;
  --pink: #ac5ba3;
  --teal: #20ae98;
  --yellow: #fca902;
  --lime: #efff1a;
  --line: rgba(16, 16, 16, 0.17);
  --line-light: rgba(255, 255, 255, 0.17);
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  --max: 1240px;
  --font-display: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.section--dark,
.section--contact {
  color: var(--white);
  background: var(--ink);
}

.section--soft {
  background: var(--paper-2);
}

.section--soft .eyebrow {
  color: #775000;
}

.section--soft .lead {
  color: #424544;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

p {
  text-wrap: pretty;
}

.lead,
.section-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.section-copy {
  margin: -1rem 0 clamp(2.5rem, 5vw, 4.5rem);
}

.section-copy--light,
.section--dark .lead,
.section--dark .muted {
  color: #c9cbca;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: #ffc13a;
  box-shadow: 0 12px 34px rgba(252, 169, 2, 0.24);
  transform: translateY(-2px);
}

.button--glass {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(16, 16, 16, 0.28);
  backdrop-filter: blur(12px);
}

.button--glass:hover {
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

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

.button--dark:hover {
  background: var(--ink-2);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease;
}

.text-link:hover span {
  color: var(--ink);
  background: var(--lime);
  transform: translate(2px, -2px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
  transition: padding 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  padding: 0.65rem 0;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.88);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: grid;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms ease;
}

.brand:hover {
  transform: rotate(-4deg) scale(1.03);
}

.brand img {
  width: 61px;
  height: auto;
  object-fit: contain;
  transform: translateX(3px);
}

.brand--small {
  width: 50px;
  height: 50px;
  box-shadow: none;
}

.brand--small img {
  width: 49px;
  height: auto;
  transform: translateX(2px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-nav a {
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 0.72rem 1.1rem;
  border: 2px solid transparent;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-nav a:nth-child(1) {
  border-radius: 2px;
  background: var(--pink);
}

.site-nav a:nth-child(2) {
  border-radius: 999px;
  background: rgba(32, 174, 152, 0.96);
}

.site-nav a:nth-child(3) {
  border-radius: 12px;
  background: rgba(252, 169, 2, 0.97);
}

.site-nav a:nth-child(4) {
  border-radius: 999px 4px 999px 4px;
  background: rgba(255, 255, 255, 0.93);
}

.site-nav a[aria-current="page"] {
  border-color: var(--ink);
  background: var(--lime);
}

.site-nav a:hover {
  transform: translateY(-2px) rotate(-1deg);
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.menu-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: 12px 12px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-line--top {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-line--middle {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-line--bottom {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(820px, 100svh);
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #174b83;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.72) 100%),
    url("assets/images/hero-v2.webp") center / cover no-repeat;
  content: "";
  transform: scale(1.015);
}

.hero::after {
  position: absolute;
  right: clamp(-95px, -4vw, -45px);
  bottom: clamp(-115px, -8vw, -70px);
  z-index: -1;
  width: clamp(230px, 25vw, 360px);
  aspect-ratio: 1;
  border: clamp(32px, 3.5vw, 50px) solid rgba(239, 255, 26, 0.76);
  border-radius: 50%;
  content: "";
  mix-blend-mode: screen;
}

.hero--inner {
  min-height: clamp(570px, 74svh, 720px);
}

.page-classes .hero::before {
  background-position: 50% 56%;
}

.page-about .hero::before {
  background-position: 42% 50%;
}

.page-gallery .hero::before {
  background-position: 62% 50%;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 9rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero h1 {
  max-width: 1160px;
  margin: 0;
  font-size: clamp(4.1rem, 10.2vw, 9rem);
  line-height: 0.93;
  text-wrap: balance;
  text-shadow: 0 10px 50px rgba(0, 0, 0, 0.26);
}

.hero--inner h1 {
  max-width: 980px;
  font-size: clamp(4rem, 8vw, 7.7rem);
}

.hero__lead {
  max-width: 680px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero__scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 54px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.hero__scroll i::after {
  position: absolute;
  inset: 0;
  background: var(--white);
  content: "";
  transform: translateY(-100%);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  45%, 100% { transform: translateY(100%); }
}

.intro-grid,
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.intro-year {
  display: inline-block;
  margin: 0 0 1.25rem;
  color: #8b8d8d;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.feature-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(1.6deg);
}

.feature-image::before {
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: calc(var(--radius) - 8px);
  content: "";
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: clamp(2.8rem, 5vw, 5rem);
}

.section-head > * {
  margin-bottom: 0;
}

.section-head .lead {
  max-width: 500px;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(5, clamp(115px, 12vw, 175px));
  gap: clamp(0.8rem, 1.8vw, 1.4rem);
}

.art-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #c7c8c4;
}

.art-card:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.art-card:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.art-card:nth-child(3) { grid-column: span 5; grid-row: span 3; }
.art-card:nth-child(4) { grid-column: span 7; grid-row: 3 / span 3; }

.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.art-card:hover img {
  transform: scale(1.04);
}

.art-card--organic {
  border-radius: 48% 52% 44% 56% / 57% 43% 57% 43%;
}

.adult-grid .art-card:nth-child(1),
.adult-grid .art-card:nth-child(2) {
  grid-column: span 6;
  grid-row: span 3;
}

.adult-grid .art-card:nth-child(3),
.adult-grid .art-card:nth-child(4) {
  grid-column: span 6;
  grid-row: span 2;
}

.adult-grid .art-card:nth-child(3) { grid-row: 4 / span 2; }
.adult-grid .art-card:nth-child(4) { grid-row: 4 / span 2; }

.page-intro {
  padding-top: clamp(5rem, 9vw, 9rem);
}

.page-intro .lead {
  max-width: 780px;
}

.pricing-stack {
  display: grid;
  gap: 1.25rem;
}

.price-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.8rem, 4vw, 3.4rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.price-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-2px);
}

.price-card--light {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.52);
}

.price-card--light:hover {
  border-color: rgba(16, 16, 16, 0.3);
  background: rgba(255, 255, 255, 0.7);
}

.price-card h3 {
  margin-bottom: 0.8rem;
}

.price-card p {
  margin-top: 0;
}

.card-index {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.price-card--light .card-index {
  color: #775000;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.price-table th,
.price-table td {
  padding: 0.85rem 0.55rem;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
}

.price-table th {
  color: #bfc1c1;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card--light .price-table th,
.price-card--light .price-table td {
  border-color: var(--line);
}

.price-card--light .price-table th {
  color: #5f6261;
}

.price-table th:last-child,
.price-table td:last-child {
  text-align: right;
}

.price-note {
  margin: 1rem 0 0 !important;
  color: #b3b5b4;
  font-size: 0.9rem;
}

.price-card--light .price-note {
  color: var(--muted);
}

.workshop-price > p:not(.price-note) {
  margin-bottom: 0;
}

@media (min-width: 881px) {
  .workshop-price .intro-year {
    font-size: clamp(2.5rem, 3.2vw, 3rem);
    letter-spacing: -0.035em;
  }
}

.teachers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.teacher-card {
  position: relative;
  padding: clamp(1.6rem, 3.4vw, 2.8rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
}

.teacher-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--lime);
  content: "";
}

.teacher-card:nth-child(2)::before { background: var(--teal); }
.teacher-card:nth-child(3)::before { background: var(--yellow); }
.teacher-card:nth-child(4)::before { background: var(--pink); }

.teacher-card__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.teacher-card__head h3,
.teacher-card__head p {
  margin-top: 0;
}

.teacher-card__head h3 {
  margin-bottom: 0.35rem;
}

.teacher-photo {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border: 4px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.teacher-title {
  margin-bottom: 0;
  color: #78204d;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
}

.teacher-bio {
  color: #333635;
}

.teacher-bio p:last-child {
  margin-bottom: 0;
}

.gallery-section {
  content-visibility: auto;
  contain-intrinsic-size: 1800px;
}

.gallery-grid {
  column-count: 4;
  column-gap: clamp(0.8rem, 1.5vw, 1.25rem);
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0 0 clamp(0.8rem, 1.5vw, 1.25rem);
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 0;
  border-radius: 18px;
  background: #c6c7c3;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.gallery-item__hint {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: grid;
  min-width: 52px;
  min-height: 36px;
  place-items: center;
  padding-inline: 0.7rem;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(10px);
}

.gallery-item:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.gallery-item:hover .gallery-item__hint,
.gallery-item:focus-visible .gallery-item__hint {
  opacity: 1;
  transform: translateY(0);
}

.gallery-grid--dark .gallery-item {
  background: #2d2e2e;
}

.lightbox {
  width: min(94vw, 1100px);
  max-width: none;
  height: min(92svh, 900px);
  max-height: none;
  padding: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  color: var(--white);
  background: rgba(16, 16, 16, 0.96);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.55);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.lightbox img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: calc(92svh - 5.5rem);
  object-fit: contain;
}

.lightbox p {
  margin: 0.7rem 0 0;
  color: #c8caca;
  font-size: 0.85rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.lightbox__close svg {
  width: 22px;
  height: 22px;
}

.lightbox__close path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-list a,
.contact-list span {
  overflow-wrap: anywhere;
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-list a:hover {
  color: var(--yellow);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1rem;
  border: 1px solid #6f7171;
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input:hover,
.field textarea:hover {
  background: var(--white);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--lime);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(239, 255, 26, 0.2);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #b8baba;
  font-size: 0.82rem;
}

.site-footer {
  padding: 1.5rem 0;
  color: #d7d8d8;
  background: #3f4141;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  justify-self: start;
  color: var(--white);
  text-decoration: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-nav a {
  text-underline-offset: 4px;
}

.footer-shell > p {
  margin: 0;
  justify-self: end;
  font-size: 0.82rem;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
}

.not-found__content {
  text-align: center;
}

.not-found__content .lead {
  margin-inline: auto;
}

.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px) {
  .menu-toggle {
    position: relative;
    z-index: 102;
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: grid;
    align-content: center;
    gap: 0.85rem;
    padding: 6rem 1.5rem 3rem;
    visibility: hidden;
    background: rgba(16, 16, 16, 0.98);
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    width: min(100%, 380px);
    min-height: 60px;
    margin-inline: auto;
    font-size: 1.12rem;
  }

  .intro-grid,
  .story-grid,
  .contact,
  .price-card {
    grid-template-columns: 1fr;
  }

  .feature-image {
    width: min(100%, 540px);
    transform: none;
  }

  .price-card {
    gap: 2rem;
  }

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

  .gallery-grid {
    column-count: 3;
  }

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

  .footer-nav {
    justify-self: end;
  }

  .footer-shell > p {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .section {
    padding: 4.8rem 0;
  }

  .brand {
    width: 58px;
    height: 58px;
  }

  .hero {
    min-height: 720px;
  }

  .hero--inner {
    min-height: 650px;
  }

  .hero::before,
  .page-classes .hero::before,
  .page-about .hero::before,
  .page-gallery .hero::before {
    background-position: 58% center;
  }

  .hero h1,
  .hero--inner h1 {
    font-size: clamp(3.7rem, 17vw, 6.3rem);
  }

  .hero__content {
    padding-bottom: 4.5rem;
  }

  .hero__scroll {
    display: none;
  }

  .section-head {
    display: block;
  }

  .section-head .button,
  .section-head .lead {
    margin-top: 1.25rem;
  }

  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, clamp(160px, 50vw, 240px));
    gap: 0.75rem;
  }

  .art-card,
  .art-card:nth-child(n),
  .adult-grid .art-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .art-card:nth-child(3),
  .adult-grid .art-card:nth-child(2) {
    grid-row: span 2;
  }

  .gallery-grid {
    column-count: 2;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .field--full,
  .form-note {
    grid-column: auto;
  }

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

  .footer-nav,
  .footer-shell > p {
    justify-self: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 680px;
  }

  .hero--inner {
    min-height: 610px;
  }

  .hero::after {
    right: -105px;
    bottom: -100px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 300px);
  }

  .teacher-card__head {
    align-items: flex-start;
  }

  .teacher-photo {
    width: 72px;
    height: 72px;
  }

  .price-card {
    padding: 1.35rem;
  }

  .price-table {
    font-size: 0.86rem;
  }

  .price-table th,
  .price-table td {
    padding-inline: 0.3rem;
  }

  .gallery-grid {
    column-gap: 0.65rem;
  }

  .gallery-item {
    margin-bottom: 0.65rem;
    border-radius: 12px;
  }

  .gallery-item__hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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