/* ───── tokens ───── */
:root {
  --paper:        #F4EFE6;
  --paper-2:      #ECE3D1;
  --paper-edge:   #DBCDB3;
  --ink:          #1A1815;
  --ink-soft:     #3A342D;
  --muted:        #6E665B;
  --bordo:        #8B2332;
  --bordo-dark:   #6B1B27;
  --gold:         #C19A4B;
  --gold-soft:    #D9BB7A;

  --serif:   "Cormorant Garamond", "Times New Roman", serif;
  --display: "Unbounded", "Inter", system-ui, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, sans-serif;
  --hand:    "Caveat", "Comic Sans MS", cursive;

  --maxw: 1280px;
  --pad:  clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  font-feature-settings: "kern", "liga", "calt";
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--bordo); color: var(--paper); }

/* ───── paper texture ───── */
.paper-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.09  0 0 0 0 0.08  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
.paper-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%,  rgba(193,154,75,.08), transparent 60%),
    radial-gradient(80% 60% at 80% 100%, rgba(139,35,50,.06),  transparent 60%);
}

/* ───── nav ───── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--pad);
  background: rgba(244, 239, 230, 0);
  backdrop-filter: blur(0);
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease, padding .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(244, 239, 230, .88);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom-color: rgba(26,24,21,.08);
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav__brand { flex: 0 0 auto; display: flex; align-items: center; }
.nav__logo { height: 38px; width: auto; }

.nav__menu {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .02em;
}
.nav__menu a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav__menu a:hover { color: var(--bordo); }
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--bordo);
  transition: right .25s ease;
}
.nav__menu a:hover::after { right: 0; }
.nav__menu a.is-active { color: var(--bordo); }
.nav__menu a.is-active::after { right: 0; opacity: .6; }

.nav__cta {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: background .2s, color .2s, transform .2s;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}
.nav__burger span {
  width: 22px;
  height: 1.4px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }

/* ───── hero ───── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(100px, 14vh, 140px) var(--pad) 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero__grid {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(40px, 8vh, 90px);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--bordo);
}
.hero__year { font-style: italic; font-family: var(--serif); text-transform: none; letter-spacing: .04em; font-size: 14px; }

.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(56px, 11vw, 168px);
  line-height: .92;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
}
.hero__title-serif {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -.01em;
  color: var(--bordo);
}

.hero__lead {
  max-width: 620px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 40px;
  margin-left: auto;
  text-align: left;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
  max-width: 620px;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 18px 28px;
  border-radius: 999px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--bordo); transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn__arrow { width: 32px; height: 10px; }

.hero__spanish {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--bordo);
  opacity: .75;
  margin-top: 60px;
  border-top: 1px solid rgba(26,24,21,.12);
  padding-top: 28px;
}
.hero__spanish span { letter-spacing: .04em; }

.hero__scroll {
  position: absolute;
  right: 0;
  bottom: -12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--hand);
  font-size: 20px;
  transform: rotate(2deg);
}
.hero__scroll-arrow { width: 22px; height: 56px; opacity: .7; }
.hero__scroll-label { letter-spacing: .04em; }

/* ───── page header (для подстраниц) ───── */
.page-header {
  position: relative;
  z-index: 1;
  min-height: 80vh;
  padding: clamp(130px, 18vh, 200px) var(--pad) clamp(40px, 6vh, 70px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.page-header .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.page-header__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 112px);
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}
.page-header__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--bordo);
}
.page-header__lead {
  max-width: 640px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
}
.page-header__crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  transition: color .2s;
}
.page-header__crumb:hover { color: var(--bordo); }
.page-header__crumb svg { width: 18px; height: 10px; }

/* ───── «Подробнее →» ссылка для главной ───── */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  color: var(--bordo);
  letter-spacing: .01em;
  transition: gap .2s, color .2s;
}
.more-link:hover { gap: 18px; color: var(--ink); }
.more-link svg { width: 32px; height: 10px; }

/* ───── sections ───── */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 14vh, 160px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section--alt {
  max-width: none;
  background:
    linear-gradient(180deg, transparent, rgba(193,154,75,.07) 30%, rgba(193,154,75,.07) 70%, transparent),
    var(--paper);
  border-top: 1px solid rgba(26,24,21,.07);
  border-bottom: 1px solid rgba(26,24,21,.07);
}
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section__head {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 28px;
  margin-bottom: clamp(50px, 8vh, 90px);
  align-items: start;
}
.section__num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--bordo);
  padding-top: 12px;
  border-top: 1.5px solid var(--bordo);
  align-self: start;
  width: 80px;
}
.section__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -.02em;
}
.section__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--bordo);
}
.section__sub {
  grid-column: 2;
  max-width: 680px;
  margin-top: 24px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ───── cards (about block) ───── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 2vw, 36px);
}
.card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid rgba(26,24,21,.1);
  padding: 32px 28px 36px;
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(193,154,75,.12), transparent 60%),
    radial-gradient(60% 40% at 0% 100%, rgba(139,35,50,.06), transparent 60%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px) rotate(-.4deg);
  box-shadow: 0 24px 50px -28px rgba(26,24,21,.35);
  border-color: rgba(139,35,50,.3);
}
.card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  color: var(--bordo);
  border: 1.5px solid var(--bordo);
  border-radius: 50%;
  margin-bottom: 20px;
  letter-spacing: 0;
}
.card__title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 14px;
}
.card p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.card__doodle {
  position: absolute;
  right: 20px;
  bottom: 14px;
  width: 88px;
  height: 18px;
  color: var(--bordo);
  opacity: .35;
}

/* ───── schedule ───── */
.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 2vw, 32px);
}
.schedule--week {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 24px);
}
.schedule--week .schedule__day {
  padding: 20px 16px 22px;
}
.schedule--week .schedule__name {
  font-size: clamp(15px, 1.2vw, 18px);
  margin-bottom: 14px;
  padding-bottom: 10px;
}
.schedule--week .schedule__time { font-size: 13px; }
.schedule--week .schedule__group { font-size: 13px; line-height: 1.35; }
.schedule--week .schedule li { padding: 6px 8px; margin: 0 -8px; }
.schedule--week .schedule li.is-newbie { padding-left: 10px; margin-left: -10px; }

@media (max-width: 640px) {
  .schedule--week {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(18px, 2vw, 32px);
  }
  .schedule--week .schedule__day { padding: 26px 24px 28px; }
  .schedule--week .schedule__name { font-size: 18px; margin-bottom: 18px; padding-bottom: 14px; }
  .schedule--week .schedule__time { font-size: 14px; }
  .schedule--week .schedule__group { font-size: 15px; }
}
.schedule__day {
  background: var(--paper);
  border: 1px solid rgba(26,24,21,.12);
  padding: 26px 24px 28px;
  border-radius: 4px;
  transition: transform .3s, border-color .3s;
}
.schedule__day:hover { transform: translateY(-3px); border-color: rgba(139,35,50,.35); }
.schedule__day--wide { grid-column: 1 / -1; }
.schedule__day--wide ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 36px; }

.schedule__name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.005em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26,24,21,.12);
}

.schedule ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.schedule li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  margin: 0 -12px;
  border-radius: 4px;
  transition: background .2s;
}
.schedule li:hover { background: rgba(193,154,75,.15); }
.schedule li.is-newbie {
  background: rgba(139,35,50,.07);
  border-left: 2.5px solid var(--bordo);
  padding-left: 14px;
  margin-left: -14px;
}
.schedule__time {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
}
.schedule__group {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}
.schedule__group em {
  color: var(--bordo);
  font-style: italic;
  font-weight: 500;
}

/* ───── prices ───── */
.prices {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.price {
  grid-column: span 6;
  background: var(--paper-2);
  border: 1px solid rgba(26,24,21,.1);
  padding: 32px 28px;
  border-radius: 4px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.price:hover { transform: translateY(-3px); border-color: rgba(139,35,50,.35); box-shadow: 0 18px 40px -24px rgba(26,24,21,.3); }

.price--feature {
  grid-column: span 12;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
}
.price--feature::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(193,154,75,.22), transparent 65%);
  pointer-events: none;
}
.price--feature .price__title { color: var(--paper); }
.price--feature .price__row { border-color: rgba(244,239,230,.18); }
.price--feature small { color: var(--gold-soft); }
.price--feature .price__note { color: var(--gold-soft); }

.price--wide { grid-column: span 12; }

.price-art {
  grid-column: span 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  pointer-events: none;
}
.price-art img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
  opacity: .6;
  mix-blend-mode: multiply;
  filter: saturate(.85);
}
@media (max-width: 960px) {
  .price-art { display: none; }
}

.price__tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding: 6px 12px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  margin-bottom: 18px;
}
.price__title {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 26px;
}
.price__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--bordo);
  display: block;
  font-size: .8em;
}
.price--feature .price__title em { color: var(--gold-soft); }

.price__rows { display: flex; flex-direction: column; gap: 0; }
.price__rows--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.price__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26,24,21,.1);
  font-size: 15px;
}
.price__row:last-child { border-bottom: 0; }
.price__row strong {
  font-family: var(--display);
  font-weight: 500;
  white-space: nowrap;
  font-size: 16px;
}
.price__row small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.price__note {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}

/* ───── teachers ───── */
.teachers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 3vw, 56px);
}
.teacher {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
}
.teacher__photo {
  position: relative;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid rgba(26,24,21,.15);
  box-shadow: 0 16px 40px -20px rgba(26,24,21,.4);
}
.teacher__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .6s ease;
}
.teacher:hover .teacher__photo img { transform: scale(1.06); }
.teacher__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--bordo);
  transform: scale(1.06);
  opacity: 0;
  transition: opacity .3s, transform .4s;
  pointer-events: none;
}
.teacher:hover .teacher__photo::after { opacity: .5; transform: scale(1.09); }
.teacher__name {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.teacher__role {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--bordo);
  font-size: 16px;
  margin-bottom: 16px;
}
.teacher__body p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

/* ───── story (блоки на about.html) ───── */
.story__head { margin-bottom: clamp(28px, 3vh, 40px); }
.story__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.018em;
}
.story__body { max-width: 760px; }
.story__body p {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.72;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.story__body p:last-child { margin-bottom: 0; }

.story--cta {
  text-align: center;
  padding-top: clamp(50px, 8vh, 100px);
  padding-bottom: clamp(80px, 14vh, 160px);
}
.story__body--center { max-width: 720px; margin: 0 auto; }
.story__cta-lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(40px, 5vw, 64px);
}
.photo-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(26,24,21,.05);
  border: 1.5px dashed rgba(26,24,21,.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background .25s, border-color .25s;
}
.photo-slot:hover { background: rgba(193,154,75,.1); border-color: rgba(139,35,50,.35); }
.photo-slot span {
  font-family: var(--hand);
  font-size: 20px;
  color: var(--muted);
  letter-spacing: .02em;
}

.photo-slot--filled {
  border: 1px solid rgba(26,24,21,.1);
  background: var(--paper-2);
  margin: 0;
}
.photo-slot--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.photo-slot--filled:hover {
  background: var(--paper-2);
  border-color: rgba(139,35,50,.3);
}
.photo-slot--filled:hover img { transform: scale(1.04); }

.photo-slot--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}
.photo-slot--wide img {
  object-position: center 35%;
}
@media (max-width: 720px) {
  .photo-slot--wide { aspect-ratio: 4 / 3; }
}

/* арт-позиции в about story-блоках —
   тут блок короткий, поэтому кольцо компактное. */
.art--story-ring-left {
  width: clamp(420px, 50vw, 720px);
  left: -10%;
  top: 6%;
  transform: rotate(195deg);
}
.art--story-clef {
  width: clamp(140px, 16vw, 220px);
  right: 4%;
  top: 8%;
  transform: rotate(8deg);
}
.art--story-bandoneon {
  width: clamp(200px, 22vw, 340px);
  right: 6%;
  bottom: 14%;
  transform: rotate(-8deg);
}

/* ───── groups-note (страница расписания) ───── */
.groups-note {
  margin-top: clamp(60px, 8vh, 100px);
  padding-top: 40px;
  border-top: 1px solid rgba(26,24,21,.12);
}
.groups-note h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: -.01em;
}
.groups-note dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px 48px;
  max-width: 880px;
}
.groups-note dt {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  color: var(--bordo);
  padding-top: 4px;
}
.groups-note dd {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .groups-note dl { grid-template-columns: 1fr; gap: 4px 0; }
  .groups-note dt { margin-top: 16px; padding-top: 0; }
  .groups-note dd { margin-bottom: 8px; }
}

/* ───── faq ───── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(26,24,21,.15);
}
.faq__item {
  border-bottom: 1px solid rgba(26,24,21,.15);
  padding: 0;
}
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 26px 56px 26px 0;
  font-family: var(--display);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.3;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--bordo);
  transition: transform .25s;
  line-height: 1;
}
.faq__item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq__item:hover summary { color: var(--bordo); }
.faq__item p {
  padding: 0 56px 28px 0;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 720px;
}

/* ───── contact ───── */
.section--contact { padding-bottom: clamp(100px, 14vh, 180px); }
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 60px);
  padding: 40px 0 60px;
  border-top: 1px solid rgba(26,24,21,.15);
  border-bottom: 1px solid rgba(26,24,21,.15);
}
.contact__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.contact__h3 {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.contact__big {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.01em;
}
.contact__link {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -.005em;
  position: relative;
  align-self: flex-start;
  transition: color .2s;
}
.contact__link:hover { color: var(--bordo); }
.contact__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  opacity: .4;
}
.contact__note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.contact__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 50px;
  padding: 22px 36px;
  background: var(--bordo);
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 500;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.contact__cta:hover { background: var(--ink); transform: translateY(-2px); }

/* ───── footer ───── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 8vh, 90px) var(--pad) 40px;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer__logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: invert(1) hue-rotate(180deg) brightness(1.2);
}
.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: .04em;
  color: var(--gold-soft);
  font-size: 16px;
}
.footer__col h4 {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.footer__col p, .footer__col a {
  display: block;
  font-size: 15px;
  color: rgba(244,239,230,.85);
  line-height: 1.6;
  margin-bottom: 4px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--gold-soft); }
.footer__note { color: rgba(244,239,230,.5); font-size: 13px; font-style: italic; margin-top: 6px; }
.footer__bottom {
  max-width: var(--maxw);
  margin: 50px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(244,239,230,.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(244,239,230,.5);
}

/* ───── sticky cta (mobile) ───── */
.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  padding: 14px 22px;
  background: var(--bordo);
  color: var(--paper);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: 0 14px 36px -10px rgba(26,24,21,.5);
  transition: transform .2s, background .2s;
}
.sticky-cta:hover { background: var(--ink); transform: translateY(-2px); }

/* ───── decorative art (ink rings, sketches) ───── */
.section { overflow: hidden; }
.hero { overflow: hidden; }

.art {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  height: auto;
}

.art--ring {
  opacity: .26;
  mix-blend-mode: multiply;
  filter: saturate(.75) hue-rotate(-8deg);
}

.art--sketch {
  opacity: .2;
  mix-blend-mode: multiply;
  filter: saturate(.7);
}

/* ── HERO ── */
.art--hero-ring {
  width: clamp(620px, 90vw, 1200px);
  right: -28%;
  top: -22%;
  transform: rotate(-12deg);
}
.art--hero-bandoneon {
  width: clamp(220px, 26vw, 380px);
  left: -6%;
  bottom: -8%;
  transform: rotate(8deg);
}

/* Кольца в секциях 01–06: компактные, целиком внутри секции,
   только горизонтальный край слегка уходит за бок viewport.
   Никаких выходов вверх/вниз — иначе их рубит граница секции. */

/* ── 01 about ── */
.art--s01-ring {
  width: clamp(420px, 52vw, 720px);
  left: -10%;
  top: 6%;
  transform: rotate(20deg);
}

/* ── 02 schedule (alt) ── */
.art--s02-ring {
  width: clamp(440px, 55vw, 780px);
  right: -12%;
  bottom: 4%;
  transform: rotate(-8deg);
}
.art--s02-clef {
  width: clamp(140px, 16vw, 230px);
  left: -3%;
  top: 8%;
  transform: rotate(-14deg);
}

/* ── 03 prices ── */
.art--s03-ring {
  width: clamp(420px, 52vw, 720px);
  right: -12%;
  top: 4%;
  transform: rotate(28deg);
}
.art--s03-bandoneon {
  width: clamp(200px, 24vw, 340px);
  right: 4%;
  bottom: 6%;
  transform: rotate(-8deg);
}

/* ── 04 teachers (alt) ── */
.art--s04-ring {
  width: clamp(360px, 42vw, 620px);
  left: -8%;
  bottom: 8%;
  transform: rotate(-18deg);
}
.art--s04-bandoneon {
  width: clamp(240px, 28vw, 400px);
  right: 10%;
  top: 8%;
  transform: rotate(-10deg);
}

/* ── 05 faq ──
   clef слева сверху, ring справа снизу — чтобы не перекрывались. */
.art--s05-clef {
  width: clamp(160px, 18vw, 260px);
  left: -3%;
  top: 10%;
  transform: rotate(-12deg);
}
.art--s05-ring {
  width: clamp(400px, 50vw, 700px);
  right: -10%;
  bottom: 4%;
  transform: rotate(10deg);
}

/* ── 06 contact — переносим влево, чтобы не стоял колонкой
   с декоративным кругом в footer/контактах. */
.art--s06-ring {
  width: clamp(440px, 55vw, 780px);
  left: -12%;
  top: 4%;
  transform: rotate(-22deg);
}

/* ── подстраницы: дефолтный арт в page-header — по подобию hero ── */
.page-header .art--ring {
  width: clamp(620px, 90vw, 1200px);
  right: -28%;
  top: -22%;
  transform: rotate(-14deg);
}

/* Уникальные повороты/позиции для каждой страницы,
   размеры — как hero. */
.art--page-about-ring {
  width: clamp(620px, 90vw, 1200px);
  right: -28%;
  top: -22%;
  transform: rotate(10deg);
}
.art--page-prices-ring {
  width: clamp(620px, 90vw, 1200px);
  right: -30%;
  top: -25%;
  transform: rotate(150deg) scaleX(-1);
}
.art--page-teachers-ring {
  width: clamp(620px, 90vw, 1200px);
  left: -28%;
  top: -22%;
  transform: rotate(-30deg);
}
.art--page-faq-ring {
  width: clamp(620px, 90vw, 1200px);
  right: -28%;
  top: -22%;
  transform: rotate(90deg);
}
.art--page-clef {
  width: clamp(140px, 16vw, 230px);
  left: -3%;
  top: 8%;
  transform: rotate(-14deg);
}
.art--page-bandoneon {
  width: clamp(160px, 18vw, 260px);
  right: 4%;
  bottom: 8%;
  transform: rotate(8deg);
}
.art--s06-bandoneon {
  width: clamp(160px, 18vw, 260px);
  left: -2%;
  top: 6%;
  transform: rotate(14deg);
}

/* контент должен быть выше арта */
.section > *:not(.art),
.hero > *:not(.art) { position: relative; z-index: 1; }

@media (max-width: 720px) {
  /* На мобиле уменьшаем вертикальные отступы секций вдвое,
     чтобы блоки story не разлетались по высоте. */
  .section { padding: clamp(40px, 7vh, 80px) var(--pad); }

  /* На мобиле снимаем min-height с шапки —
     иначе под заголовком зияет пустота на 80vh. */
  .page-header { min-height: auto; }

  /* На мобиле скрываем мелкие эскизы — оставляем дуги. */
  .art--s02-clef,
  .art--s05-clef,
  .art--s03-bandoneon,
  .art--s04-bandoneon,
  .art--hero-bandoneon,
  .art--page-clef,
  .art--page-bandoneon,
  .art--story-clef,
  .art--story-bandoneon { display: none; }

  /* Подстраницы: кольца в page-header по hero-стилю —
     большие, выходят вверх «в зону nav», повороты разные. */
  .page-header .art--ring { width: 150vw; right: -30%; top: -22%; transform: rotate(-14deg); }
  .art--page-about-ring { width: 150vw; right: -30%; top: -22%; transform: rotate(10deg); }
  .art--page-prices-ring { width: 150vw; right: -30%; top: -22%; transform: rotate(140deg) scaleX(-1); }
  .art--page-teachers-ring { width: 150vw; left: -30%; top: -22%; transform: rotate(-30deg); }
  .art--page-faq-ring { width: 150vw; right: -30%; top: -22%; transform: rotate(75deg); }
  /* story-block остаётся компактным — он низкий. */
  .art--story-ring-left { width: 105vw; left: -20%; top: 5%; transform: rotate(195deg); }

  /* Кольца целиком внутри своих секций, только горизонтальный
     край слегка выходит за бок viewport — никаких top/bottom
     отрицательных, иначе границы секций его обрезают. */
  .art--hero-ring { width: 90vw; right: -30%; top: -10%; transform: rotate(-10deg); }
  /* Кольца ещё крупнее (×1.5 от прошлой итерации). Позиции выхода
     за края не меняем — смыкания пар сохраняются. */
  .art--s01-ring { width: 158vw; left: -20%; top: 5%; transform: rotate(18deg); }
  .art--s02-ring { width: 158vw; right: -20%; bottom: 5%; transform: rotate(-8deg); }
  .art--s03-ring { width: 150vw; right: -20%; top: 5%; transform: rotate(20deg); }
  .art--s04-ring { width: 130vw; left: -12%; bottom: 8%; transform: rotate(-15deg); }
  .art--s05-ring { width: 150vw; right: -20%; bottom: 5%; transform: rotate(10deg); }
  .art--s06-ring { width: 158vw; left: -20%; top: 5%; transform: rotate(-20deg); }
}

/* ───── scroll reveal ───── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ───── responsive ───── */
@media (max-width: 960px) {
  .nav__menu { display: none; }
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(244,239,230,.97);
    backdrop-filter: blur(14px);
    padding: 20px var(--pad);
    gap: 18px;
    font-size: 16px;
    border-bottom: 1px solid rgba(26,24,21,.1);
  }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .sticky-cta { display: inline-flex; }

  .section__head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .section__num { width: auto; padding-right: 0; }
  .section__sub { grid-column: 1; }

  .hero__lead, .hero__cta-row { margin-left: 0; }

  .teacher { grid-template-columns: 1fr; gap: 20px; }
  .teacher__photo { width: 140px; }

  .price { grid-column: span 12; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 110px; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__spanish { gap: 18px; font-size: 18px; }
  .hero__scroll { display: none; }

  .schedule__day--wide ul { grid-template-columns: 1fr; }

  .faq__item summary { padding: 22px 44px 22px 0; }
  .faq__item summary::after { font-size: 28px; }
}

/* ───── защита от обрезания на узких мобильных ───── */
.hero__title,
.page-header__title,
.section__title,
.story__title,
.card__title,
.price__title,
.teacher__name,
.contact__big,
.contact__link {
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

@media (max-width: 420px) {
  .hero__title       { font-size: clamp(40px, 11vw, 56px); }
  .page-header__title{ font-size: clamp(32px, 9vw, 48px); }
  .section__title    { font-size: clamp(28px, 7.5vw, 40px); }
  .story__title      { font-size: clamp(24px, 7vw, 36px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
