:root {
  --ink: #21151d;
  --muted: #76636f;
  --paper: #fff9f6;
  --surface: #ffffff;
  --rose: #e95563;
  --rose-dark: #9d2739;
  --plum: #4a1f3e;
  --lilac: #d9b9df;
  --mint: #dfeee7;
  --gold: #d4a72c;
  --line: rgba(74, 31, 62, 0.14);
  --shadow: 0 24px 70px rgba(74, 31, 62, 0.14);
  --max: 1180px;
  --font-main: Verdana, Geneva, Tahoma, sans-serif;
  --display: Verdana, Geneva, Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
}

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

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

.site-header {
  background:
    radial-gradient(circle at 82% 18%, rgba(233, 85, 99, 0.12), transparent 34%),
    linear-gradient(135deg, #fff9f6 0%, #f4e8ef 54%, #efe5df 100%);
  color: var(--ink);
}

.simple-page-header {
  background: linear-gradient(135deg, #fff9f6 0%, #f4e8ef 100%);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 3px;
  border: 1px solid rgba(74, 31, 62, 0.18);
  border-radius: 50%;
  background: rgba(255, 249, 246, 0.9);
  box-shadow: 0 12px 28px rgba(33, 21, 29, 0.12);
}

.brand-mark img {
  width: 112%;
  max-width: none;
  height: 112%;
  object-fit: contain;
  object-position: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  margin-top: 5px;
  color: currentColor;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.76;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(74, 31, 62, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.menu-more {
  position: relative;
  margin: -8px 0;
  padding: 8px 0;
}

.menu-more::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -18px;
  z-index: 29;
  display: none;
  width: 230px;
  height: 28px;
}

.menu-more > button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.menu-more-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 30;
  min-width: 180px;
  display: none;
  padding: 10px;
  border: 1px solid rgba(74, 31, 62, 0.14);
  border-radius: 8px;
  background: rgba(255, 249, 246, 0.98);
  box-shadow: 0 18px 44px rgba(74, 31, 62, 0.13);
}

.menu-more:hover .menu-more-panel,
.menu-more:focus-within .menu-more-panel,
.menu-more.is-open .menu-more-panel {
  display: grid;
  gap: 4px;
}

.menu-more:hover::after,
.menu-more:focus-within::after,
.menu-more.is-open::after {
  display: block;
}

.menu-more-panel a {
  padding: 10px 12px;
  border-radius: 8px;
}

.menu-more-panel a:hover {
  background: rgba(74, 31, 62, 0.08);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(74, 31, 62, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--plum);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu a,
.nav-action {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.menu a:hover {
  color: var(--plum);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-action {
  border: 1px solid rgba(74, 31, 62, 0.22);
  color: var(--plum);
}

.nav-action:hover {
  background: var(--plum);
  color: #fff;
}

.home-banner {
  width: min(1480px, calc(100% - 40px));
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 63, 136, 0.18);
  background: #143d91;
}

.home-banner a {
  display: block;
}

.home-banner a[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
}

.home-banner img {
  width: 100%;
  aspect-ratio: 2487 / 911;
  object-fit: cover;
  object-position: center;
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 78px;
}

.hero-copy {
  max-width: 720px;
  padding-bottom: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero h1 {
  max-width: 680px;
  color: var(--plum);
  font-size: clamp(40px, 4.6vw, 62px);
}

.lead {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 18px 36px rgba(157, 39, 57, 0.24);
}

.button-primary:hover {
  background: var(--rose-dark);
}

.button-secondary {
  border: 1px solid rgba(74, 31, 62, 0.2);
  color: var(--plum);
}

.button-secondary:hover {
  background: var(--plum);
  color: #fff;
}

.hero-media {
  margin: 0;
  align-self: center;
}

.hero-media img {
  height: min(64vh, 630px);
  min-height: 440px;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  object-fit: cover;
  object-position: center 34%;
  box-shadow: var(--shadow);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: 72px;
  align-items: start;
}

.section h2 {
  color: var(--plum);
  font-size: clamp(30px, 3.7vw, 46px);
}

.intro-text {
  color: var(--muted);
  font-size: 19px;
}

.intro-text p {
  margin: 0 0 20px;
}

.classes {
  width: 100%;
  background: var(--surface);
}

.split {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 0.88fr);
  gap: 62px;
  align-items: center;
}

.split-media img {
  height: 680px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center bottom;
  box-shadow: var(--shadow);
}

.split-copy {
  padding: 28px 0;
}

.feature-list {
  margin-top: 36px;
  display: grid;
  gap: 18px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feature-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list span {
  color: var(--rose);
  font-weight: 900;
}

.feature-list h3 {
  margin: 0 0 5px;
  color: var(--plum);
  font-size: 20px;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.classes-actions {
  margin-top: 24px;
}

.event {
  width: 100%;
  background: linear-gradient(180deg, var(--surface) 0%, #f5edf6 100%);
}

.event-heading {
  width: min(var(--max), calc(100% - 40px));
  max-width: none;
  margin: 0 auto 28px;
}

.event.section > .event-heading {
  width: min(var(--max), calc(100% - 40px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.event-card {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.62fr);
  gap: 42px;
  align-items: stretch;
  padding: 36px;
  background: var(--plum);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-copy {
  padding: 36px 24px 36px 18px;
}

.event-copy h2 {
  color: #fff;
}

.event-copy p {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.event-actions .button {
  min-width: 170px;
}

.event-actions .event-map-link {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.event-actions .event-map-link:hover {
  background: #fff;
  color: var(--plum);
}

.event-card .event-poster {
  align-self: center;
  width: 100%;
  height: auto;
  max-height: 820px;
  min-height: 0;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  background: #fff8ef;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.event-details {
  margin: 34px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.event-details div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.event-details dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.event-details dd {
  margin: 6px 0 0;
  font-size: 19px;
  font-weight: 800;
}

.past-events {
  width: 100%;
  background: var(--paper);
}

.past-event {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.past-event-copy {
  max-width: 860px;
}

.past-event-copy h2 {
  margin: 0;
  color: var(--plum);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.12;
}

.past-event-copy p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.past-event-video {
  overflow: hidden;
  border-radius: 8px;
  background: var(--plum);
  box-shadow: var(--shadow);
}

.past-event-video video {
  width: 100%;
  max-height: 720px;
  display: block;
  background: #120713;
}

.past-event-photos {
  column-count: 4;
  column-gap: 16px;
}

.past-event-photos img {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  border-radius: 8px;
  break-inside: avoid;
  box-shadow: 0 18px 44px rgba(74, 31, 62, 0.09);
}

.past-event-more {
  justify-self: center;
  margin-top: 2px;
  background: var(--surface);
}

.past-events-archive {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 18px;
}

.past-events-archive h3 {
  margin: 0 0 18px;
  color: var(--plum);
  font-size: 24px;
}

.past-events-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.past-events-archive-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(74, 31, 62, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.past-events-archive-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(74, 31, 62, 0.13);
}

.past-events-archive-card img {
  height: 220px;
  object-fit: cover;
}

.past-events-archive-copy {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.past-events-archive-copy small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.past-events-archive-copy strong {
  color: var(--plum);
  font-size: 18px;
  line-height: 1.35;
}

.past-events-archive-copy em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.all-gallery-heading,
.event-report-heading {
  max-width: 920px;
}

.all-gallery-heading h1,
.event-report-heading h1 {
  margin: 0;
  color: var(--plum);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
}

.all-gallery-heading p:not(.section-kicker),
.event-report-heading p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.report-meta {
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.report-meta div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.report-meta dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.report-meta dd {
  margin: 5px 0 0;
  color: var(--plum);
  font-size: 17px;
  font-weight: 800;
}

.event-report-grid {
  margin-top: 34px;
}

.additional-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.7fr);
  gap: 42px;
  align-items: center;
}

.additional-hero-copy h1 {
  margin: 0;
  max-width: 780px;
  color: var(--plum);
  font-family: var(--display);
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.12;
}

.additional-hero-copy > p:not(.section-kicker) {
  margin: 24px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.65;
}

.additional-hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.additional-hero-media img {
  height: 560px;
  object-fit: cover;
}

.additional-programs {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(74, 31, 62, 0.08);
}

.program-card img {
  height: 250px;
  object-fit: cover;
}

.program-card div {
  padding: 22px;
}

.program-card h3 {
  margin: 0;
  color: var(--plum);
  font-size: 25px;
  line-height: 1.25;
}

.program-card p:not(.section-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.additional-teacher {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 0.9fr);
  gap: 42px;
  align-items: center;
}

.additional-teacher figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.additional-teacher img {
  height: 580px;
  object-fit: cover;
}

.additional-teacher h2 {
  margin: 0;
  color: var(--plum);
  font-family: var(--display);
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.16;
}

.additional-teacher p:not(.section-kicker) {
  margin: 22px 0 28px;
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.gallery-grid {
  column-count: 4;
  column-gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(74, 31, 62, 0.09);
  break-inside: avoid;
}

.gallery-grid img {
  height: auto;
  object-fit: cover;
}

.gallery-more {
  margin: 22px auto 0;
  display: flex;
  width: fit-content;
  background: var(--surface);
}

.gallery-loading {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.schedule-page {
  background: #fff;
}

.print-button {
  margin-top: 8px;
}

.print-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.print-schedule-header,
.print-schedule-footer {
  display: none;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.schedule-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(74, 31, 62, 0.08);
}

.schedule-card h2 {
  margin: 0 0 10px;
  color: var(--plum);
  font-size: 28px;
}

.schedule-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.schedule-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.schedule-card dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.schedule-card dt {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-card dd {
  margin: 0;
  color: var(--plum);
  font-weight: 800;
}

@page {
  size: A4;
  margin: 8mm;
}

@media print {
  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body {
    background: #fff;
    color: #2b1024;
  }

  .simple-page-header,
  .footer,
  .print-button {
    display: none !important;
  }

  .schedule-page {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 8mm;
    border: 2px solid #4a1f3e;
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(244, 232, 239, 0.7), rgba(255, 255, 255, 0) 38mm),
      #fff;
  }

  .section-heading {
    display: none;
  }

  .print-schedule-header {
    display: block;
    margin: 0 0 5mm;
    padding-bottom: 4mm;
    border-bottom: 1px solid #d8c4cf;
    text-align: center;
  }

  .print-schedule-header p {
    margin: 0 0 2mm;
    color: #b5892f;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .print-schedule-header h2 {
    margin: 0;
    color: #4a1f3e;
    font-family: var(--display);
    font-size: 28px;
    line-height: 1.08;
  }

  .print-schedule-header span {
    display: block;
    margin-top: 2mm;
    color: #785e71;
    font-size: 12px;
    font-weight: 700;
  }

  .schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5mm;
  }

  .schedule-card {
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 4mm;
    border: 1px solid #d8c4cf;
    border-left: 4px solid #e95563;
    border-radius: 0;
    background: rgba(255, 249, 246, 0.92);
    box-shadow: none;
  }

  .schedule-card h2 {
    margin-bottom: 2mm;
    color: #4a1f3e;
    font-size: 18px;
    line-height: 1.1;
  }

  .schedule-card p {
    margin-bottom: 2.5mm;
    color: #6f5a68;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .schedule-card dl {
    gap: 2mm;
  }

  .schedule-card dl div {
    grid-template-columns: 20mm 1fr;
    gap: 2mm;
    padding-top: 2mm;
    border-top-color: #eadbe3;
  }

  .schedule-card dt {
    color: #b5892f;
    font-size: 9.5px;
  }

  .schedule-card dd {
    color: #4a1f3e;
    font-size: 11px;
  }

  .print-schedule-footer {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 8mm;
    margin-top: 9mm;
    padding-top: 5mm;
    border-top: 1px solid #d8c4cf;
    color: #785e71;
    font-size: 12px;
  }

  .print-schedule-footer strong {
    color: #4a1f3e;
    font-size: 18px;
  }
}

.instagram-section {
  padding-top: 44px;
}

.instagram-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px;
  border: 1px solid rgba(74, 31, 62, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 82, 101, 0.12), rgba(214, 169, 52, 0.1)),
    var(--surface);
  box-shadow: 0 18px 44px rgba(74, 31, 62, 0.08);
}

.instagram-card h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.5vw, 42px);
}

.instagram-card p:last-child {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.instagram-posts {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.instagram-post {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(74, 31, 62, 0.08);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.instagram-post:hover img {
  transform: scale(1.035);
}

.instagram-post span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 11px 13px;
  border-radius: 8px;
  background: rgba(255, 249, 246, 0.94);
  color: var(--plum);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(43, 16, 36, 0.12);
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: stretch;
}

.contact-panel {
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(74, 31, 62, 0.08);
}

.contact-list {
  margin: 32px 0;
  display: grid;
  gap: 14px;
}

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

.contact-list a,
.contact-list p {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--plum);
  font-size: 18px;
  font-weight: 800;
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contacts iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(74, 31, 62, 0.08);
}

.footer {
  padding: 34px max(20px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--plum);
  color: #fff;
}

.footer .brand-mark {
  border-color: rgba(255, 255, 255, 0.28);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--plum-dark);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    0 0 0 1px rgba(74, 31, 62, 0.18),
    0 18px 36px rgba(43, 16, 36, 0.34);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--rose);
  box-shadow:
    0 0 0 1px rgba(233, 85, 99, 0.28),
    0 20px 40px rgba(233, 85, 99, 0.35);
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    order: 3;
    width: 100%;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(74, 31, 62, 0.14);
    border-radius: 8px;
    background: rgba(255, 249, 246, 0.96);
    box-shadow: 0 18px 44px rgba(74, 31, 62, 0.1);
  }

  .nav.is-menu-open .menu {
    display: flex;
  }

  .menu a {
    padding: 13px 14px;
    border: 1px solid rgba(74, 31, 62, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
  }

  .menu-more {
    display: grid;
    gap: 8px;
  }

  .menu-more > button {
    display: none;
  }

  .menu-more-panel {
    position: static;
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero,
  .intro-grid,
  .split,
  .event-card,
  .contacts,
  .additional-hero,
  .additional-teacher {
    grid-template-columns: 1fr;
  }

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

  .instagram-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .instagram-posts {
    grid-template-columns: 1fr;
  }

  .site-header {
    min-height: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    gap: 44px;
  }

  .hero-media img,
  .split-media img {
    height: 520px;
    min-height: 0;
  }

  .event-card .event-poster {
    height: auto;
    min-height: 0;
  }

  .event-card {
    padding: 22px;
  }

  .event-copy {
    padding: 16px 4px 4px;
  }

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

  .past-event-photos {
    column-count: 2;
  }

  .past-events-archive-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .nav,
  .home-banner,
  .hero,
  .section,
  .split,
  .event-card,
  .contacts {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    padding-top: 18px;
    gap: 12px;
  }

  .brand-mark {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }

  .brand small,
  .nav-action {
    display: none;
  }

  .brand strong {
    font-size: 26px;
  }

  .hero {
    padding: 42px 0 32px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-media img,
  .split-media img,
  .additional-hero-media img,
  .additional-teacher img {
    height: 360px;
  }

  .section {
    padding: 64px 0;
  }

  .intro-grid,
  .split {
    gap: 34px;
  }

  .event-card {
    padding: 16px;
  }

  .event-details {
    grid-template-columns: 1fr;
  }

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

  .past-event-photos {
    column-count: 1;
  }

  .report-meta {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 26px;
  }

  .contacts iframe {
    min-height: 380px;
  }

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

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    font-size: 24px;
  }
}
