/* «Пернатый вокал»: учебный сайт для тестового задания кандидатов L7 (школа вымышленная).
   Направление «Студия звукозаписи»: съёмка во всю ширину, палитра из перьев ара,
   заголовки шрифтом концертной афиши, одна пометка педагога от руки на экран.
   Без сеток одинаковых карточек, иконок в кружках, градиентов-свечений и номеров блоков. */

@font-face { font-family: 'Dela Gothic One'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dela-gothic-one-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Dela Gothic One'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dela-gothic-one-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Dela Gothic One'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dela-gothic-one-latin-ext.woff2') format('woff2'); unicode-range: U+20BD; }
/* Golos Text вариативный: один файл на алфавит сразу для 400-600 */
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/golos-text-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/golos-text-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/golos-text-latin-ext.woff2') format('woff2'); unicode-range: U+20BD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/caveat-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/caveat-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --stage: #12241B;        /* сцена: тёмные блоки, подвал */
  --green: #1F5A3D;        /* перо ара */
  --paper: #F3F5F1;        /* нотный лист */
  --ink: #142019;
  --muted: #4E5D54;
  --line: #D3DBD4;
  --yellow: #F1BE2C;       /* грудка ара: кнопки и акценты */
  --yellow-deep: #D9A512;
  --red: #C7372C;          /* хохолок: только метка «Новый год» */
  --on-dark: #EEF2EC;
  --on-dark-muted: #B6C5BA;
  --display: 'Dela Gothic One', Impact, 'Arial Black', sans-serif;
  --text: 'Golos Text', 'Segoe UI', Arial, sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  /* Широкие мониторы: содержимое растёт вместе с экраном до 2400 px, поля тоже.
     Размеры текста плавно растут от ноутбука (1440) до 2560 */
  --gut: clamp(20px, 5vw, 128px);
  --max: 2400px;
  --fs: clamp(17px, 0.32vw + 13.4px, 22px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: clamp(84px, 4.8vw, 116px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs)/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 { font: 400 clamp(32px, 4.2vw, 104px)/1.02 var(--display); letter-spacing: -.01em; }
h3 { font: 400 clamp(22px, 1.8vw, 40px)/1.15 var(--display); }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100%, var(--max)); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Кнопки: плоские, жёлтые, без «пилюль» */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: clamp(56px, 3.3vw, 76px); padding: 0 clamp(28px, 1.7vw, 40px); border: 0; border-radius: 6px; background: var(--yellow); color: var(--ink); font: 600 clamp(17px, .95vw, 22px)/1.2 var(--text); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--yellow-deep); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: clamp(44px, 2.5vw, 58px); padding: 0 clamp(18px, 1.1vw, 26px); font-size: clamp(15px, .8vw, 19px); }
.btn-ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 2px var(--on-dark); }
.btn-ghost:hover { background: var(--on-dark); color: var(--stage); }
.link-light { color: var(--on-dark); font-weight: 500; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ───── Шапка поверх первого экрана ───── */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark); transition: background .3s, box-shadow .3s; padding-top: env(safe-area-inset-top, 0px); }
.top.is-solid { background: rgba(18, 36, 27, .96); box-shadow: 0 1px 0 rgba(238, 242, 236, .08); }
.top-in { display: flex; align-items: center; gap: clamp(28px, 1.8vw, 48px); min-height: clamp(76px, 4.4vw, 104px); }
.logo { font: 400 clamp(22px, 1.3vw, 32px)/1 var(--display); text-decoration: none; white-space: nowrap; }
.menu { display: flex; gap: clamp(26px, 1.6vw, 44px); margin-left: auto; font-size: clamp(16px, .9vw, 21px); }
.menu a { text-decoration: none; opacity: .88; }
.menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.top-phone { font-size: clamp(16px, .9vw, 21px); text-decoration: none; white-space: nowrap; }
.burger { display: none; margin-left: auto; min-height: 44px; padding: 0 14px; border: 1px solid rgba(238, 242, 236, .5); border-radius: 6px; background: transparent; color: var(--on-dark); font: 500 15px var(--text); }

/* ───── Первый экран: фото во всю ширину, текст в тёмной левой части кадра ───── */
.hero { position: relative; min-height: min(100svh, 1400px); display: grid; align-items: end; background: var(--stage); color: var(--on-dark); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform-origin: 70% 45%; animation: push 22s ease-in-out infinite alternate; }
/* Адресное затемнение под текстом, а не заливка всего кадра */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 36, 27, .86) 0%, rgba(18, 36, 27, .55) 38%, rgba(18, 36, 27, 0) 62%), linear-gradient(0deg, rgba(18, 36, 27, .7) 0%, rgba(18, 36, 27, 0) 40%); }
.hero-in { position: relative; z-index: 2; padding-top: clamp(140px, 9vw, 220px); padding-bottom: clamp(48px, 8vw, 112px); }
.hero h1 { font: 400 clamp(42px, 5.2vw, 132px)/1 var(--display); letter-spacing: -.015em; max-width: 8.6em; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero h1 span { display: block; color: var(--yellow); }
.hero-lead { margin-top: clamp(28px, 1.7vw, 44px); max-width: 30em; font-size: clamp(18px, 1.15vw, 29px); color: var(--on-dark); text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: clamp(36px, 2.2vw, 56px); }
/* Пометка педагога от руки: стрелка дорисовывается при загрузке */
.hero-note { position: absolute; z-index: 2; right: clamp(16px, 2.5vw, 48px); top: clamp(96px, 13vh, 140px); display: flex; align-items: flex-start; gap: 6px; color: var(--yellow); transform: rotate(-3deg); }
.hero-note span { font: 500 clamp(24px, 2vw, 50px)/1.05 var(--hand); white-space: nowrap; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); animation: note-in .6s ease-out 1.1s both; }
.hero-note svg { width: clamp(60px, 5vw, 140px); margin-top: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .5)); }
.hero-note path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s ease-out 1.5s forwards; }
@keyframes push { from { transform: scale(1); } to { transform: scale(1.07) translate3d(-1%, 1%, 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes note-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ───── Полосы блоков ───── */
.band { padding-block: clamp(80px, 8vw, 208px); }
.band.dark { background: var(--stage); color: var(--on-dark); }
.band.green { background: var(--green); color: var(--on-dark); }
.band.yellow { background: var(--yellow); color: var(--ink); }
.band.light + .band.light { padding-top: 0; }
.lead { margin-top: clamp(24px, 1.5vw, 40px); font-size: clamp(18px, 1.15vw, 29px); color: var(--muted); max-width: 46em; }
.dark .lead, .green .lead { color: var(--on-dark-muted); }
.yellow .lead { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split > img { border-radius: 4px; width: 100%; }
.split-wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); }

/* ───── До и после: дорожки как в звукорежиссёрской программе ───── */
.tracks { display: grid; gap: clamp(14px, .9vw, 22px); margin-top: clamp(48px, 3vw, 80px); }
.track { display: grid; grid-template-columns: clamp(200px, 11vw, 290px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 1.5vw, 40px); padding: clamp(16px, 1vw, 26px) clamp(20px, 1.2vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.play { display: flex; align-items: center; gap: 14px; min-height: clamp(52px, 3vw, 72px); padding: 0 16px 0 10px; border: 0; border-radius: 6px; background: var(--stage); color: var(--on-dark); font: 600 clamp(16px, .9vw, 21px) var(--text); cursor: pointer; }
.play:hover { background: var(--green); }
.play-ico { width: 0; height: 0; border-left: 13px solid var(--yellow); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 8px; }
.play.is-playing .play-ico { width: 13px; height: 16px; border: 0; border-left: 4px solid var(--yellow); border-right: 4px solid var(--yellow); }
.wave { width: 100%; height: clamp(70px, 4.2vw, 110px); }

/* ───── Голоса: портреты-переключатели и клавиатура ───── */
.birds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, .9vw, 24px); margin-top: clamp(48px, 3vw, 80px); }
.bird { display: grid; gap: 10px; padding: 0; border: 0; background: none; color: var(--on-dark-muted); font: 500 clamp(16px, .9vw, 21px) var(--text); text-align: left; cursor: pointer; }
.bird img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 4px; background: #1b3427; filter: saturate(.75) brightness(.8); transition: filter .25s, transform .25s; }
.bird:hover img { filter: none; }
.bird[aria-selected="true"] { color: var(--yellow); }
.bird[aria-selected="true"] img { filter: none; transform: translateY(-6px); box-shadow: 0 0 0 3px var(--yellow); }
.voice { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; margin-top: clamp(44px, 2.8vw, 72px); }
.voice-text { min-width: 0; flex: 1 1 520px; }
.voice-type { font: 400 clamp(26px, 2.4vw, 62px)/1.1 var(--display); color: var(--on-dark); }
.voice-range { margin-top: 8px; font: 500 clamp(22px, 1.7vw, 44px)/1.2 var(--hand); color: var(--yellow); }
.voice-desc { margin-top: 12px; color: var(--on-dark-muted); max-width: 40em; }
.keys { position: relative; display: flex; height: clamp(120px, 12vw, 290px); margin-top: clamp(32px, 2vw, 52px); border-radius: 4px; overflow: hidden; background: #0b1611; padding: 6px 6px 0; }
.key { position: relative; flex: 1 1 0; margin-right: 2px; padding: 0; border: 0; background: #f4f2ea; border-radius: 0 0 4px 4px; transition: background .15s, transform .08s; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; }
.key:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; z-index: 3; }
.key.down { transform: translateY(2px); background: #e2dfd2; }
.key.black.down { background: #33413a; }
.keys-in { position: relative; display: flex; width: 100%; height: 100%; }
.key.black { position: absolute; top: 0; width: calc(100% / 21 * .58); height: 60%; margin: 0; background: #16201b; border-radius: 0 0 3px 3px; z-index: 2; }
.key.in { background: #f6dc8c; }
.key.black.in { background: #a87f12; }
.key.hit { background: var(--yellow) !important; }
.key.miss { background: #d9b2ad !important; }
.keys-hint { margin-top: 16px; min-height: 1.6em; color: var(--on-dark-muted); font-size: .9em; }
.keys-hint b { color: var(--yellow); font-weight: 600; }
.keys-hint .no { color: #f0b7ae; }
@media (hover: none) { .keys-kbd { display: none; } }
.key .lbl { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: clamp(11px, .6vw, 15px); color: #6b7a70; }

/* ───── Как проходят 10 недель: лента с фото, номера = порядок ───── */
.steps { list-style: none; margin: clamp(48px, 3vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(24px, 1.6vw, 44px); }
.steps { grid-template-rows: repeat(4, auto); }
.steps li { position: relative; min-width: 0; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.steps img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 4px; background: var(--line); }
.steps b { display: block; margin-top: clamp(18px, 1.1vw, 28px); font: 400 clamp(52px, 3.4vw, 88px)/1 var(--display); color: var(--green); }
.steps h3 { margin-top: 8px; }
.steps p { margin-top: 8px; font-size: .9em; color: var(--muted); }

/* ───── Программы: как программка концерта, без карточек ───── */
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 140px); margin-top: clamp(56px, 3.4vw, 88px); }
/* Общие строки для трёх программ (subgrid): цена и кнопка в одну линию при любой длине списка */
.programs { grid-template-rows: repeat(5, auto); row-gap: 14px; }
.program { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; min-width: 0; }
.program h3 { font-size: clamp(28px, 2.3vw, 58px); color: var(--green); }
.program .who { font-size: .95em; color: var(--muted); }
.program ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; align-content: start; gap: 10px; }
.program li { padding-left: 1.3em; position: relative; font-size: .95em; }
.program li::before { content: "♪"; position: absolute; left: 0; color: var(--green); }
.price { align-self: end; margin-top: 10px; font: 400 clamp(34px, 2.8vw, 72px)/1 var(--display); }
.price .rub { font: 600 .8em/1 var(--text); margin-left: -.1em; }
.price small { font: 500 clamp(16px, .9vw, 21px) var(--text); color: var(--muted); }
.program .btn { justify-self: start; }

/* ───── Педагоги и отзывы ───── */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 72px); margin-top: clamp(48px, 3vw, 80px); }
.people figure, .reviews figure { margin: 0; min-width: 0; }
.people img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 4px; background: var(--line); }
.people figcaption { display: grid; gap: 6px; margin-top: 18px; }
.people b { font: 400 clamp(24px, 1.5vw, 38px)/1.15 var(--display); }
.people span { color: var(--muted); font-size: .95em; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 120px); margin-top: clamp(48px, 3vw, 80px); }
.reviews { grid-template-rows: repeat(3, auto); }
.reviews figure { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.reviews img { width: clamp(96px, 5.4vw, 140px); height: clamp(96px, 5.4vw, 140px); object-fit: cover; border-radius: 50%; background: var(--line); }
.reviews blockquote { margin: clamp(22px, 1.4vw, 36px) 0 0; font-size: clamp(19px, 1.3vw, 33px); line-height: 1.5; }
.reviews figcaption { margin-top: 14px; font-size: .9em; color: var(--muted); }

/* ───── Концерт: сцена со сменой кадров ───── */
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #0b1611; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.stage img.is-on { opacity: 1; animation: drift 8s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hand-note { margin-top: clamp(36px, 2.2vw, 56px); font: 500 clamp(30px, 2.4vw, 62px)/1 var(--hand); color: var(--yellow); transform: rotate(-3deg); transform-origin: left; }

/* ───── Сертификат ───── */
.tag-rec { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 600; font-size: .85em; color: var(--red); }
.tag-rec::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
#sertifikat .btn { margin-top: 32px; }

/* ───── Вопросы ───── */
.faq { margin-top: 40px; display: grid; gap: 8px; }
.faq details { background: #fff; border-radius: 6px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: clamp(22px, 1.4vw, 34px) 72px clamp(22px, 1.4vw, 34px) clamp(24px, 1.5vw, 36px); position: relative; font: 500 clamp(18px, 1.2vw, 29px)/1.35 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font: 400 30px var(--display); color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 clamp(24px, 1.5vw, 36px) clamp(24px, 1.5vw, 36px); color: var(--muted); max-width: 52em; }

/* ───── Запись ───── */
.form { display: grid; gap: 8px; }
.form label { margin-top: 10px; font-size: .85em; color: var(--on-dark-muted); }
.form input, .form select { min-height: clamp(56px, 3.3vw, 76px); padding: 0 clamp(16px, 1vw, 24px); border: 0; border-radius: 6px; background: var(--paper); color: var(--ink); font: 400 max(16px, .95em) var(--text); width: 100%; }
.form .btn { margin-top: 20px; justify-self: start; }
.form-err { color: #ffd7d2; }
.thanks { padding: 32px; background: rgba(238, 242, 236, .08); border-radius: 6px; font-size: 20px; display: grid; gap: 8px; }

/* ───── Подвал ───── */
.foot { background: var(--stage); color: var(--on-dark-muted); padding-block: clamp(56px, 3.4vw, 96px) 120px; font-size: .9em; }
.foot-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.foot .logo { color: var(--on-dark); margin-bottom: 10px; }
.foot p + p { margin-top: 6px; }
.foot a { text-underline-offset: 4px; }
.muted { opacity: .7; }
.foot-note { margin-top: clamp(32px, 2vw, 48px); padding-top: 20px; border-top: 1px solid rgba(238, 242, 236, .14); font-size: .85em; line-height: 1.55; color: var(--on-dark-muted); }
.foot-note a { color: var(--yellow); }

/* Кнопка записи на телефоне после первого экрана */
.sticky-cta { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }

/* Баннер cookie: внизу слева, показывается при каждом заходе */
.cookie { position: fixed; z-index: 60; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(clamp(440px, 22vw, 580px), calc(100% - 32px)); display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 20px; background: #fff; color: var(--ink); border-radius: 8px; box-shadow: 0 12px 40px rgba(18, 36, 27, .28); font-size: clamp(14px, .75vw, 18px); line-height: 1.5; }
.cookie[hidden] { display: none; }
.cookie button { flex: none; min-height: clamp(44px, 2.5vw, 56px); padding: 0 18px; border: 0; border-radius: 6px; background: var(--stage); color: var(--on-dark); font: 600 1em var(--text); cursor: pointer; }

/* ───── Адаптив ───── */
@media (max-width: 1180px) {
  .menu, .top-phone { display: none; }
  .burger { display: inline-flex; align-items: center; }
  .menu.is-open { display: grid; position: absolute; top: 100%; left: 0; right: 0; gap: 0; padding: 8px max(var(--gut), env(safe-area-inset-left, 0px)) 20px; background: var(--stage); }
  .menu.is-open a { padding: 12px 0; font-size: 18px; }
  .top-in { gap: 14px; }
  .birds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(260px, 34%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
  .steps li { scroll-snap-align: start; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .split, .split-wide, .programs, .people, .reviews, .foot-in { grid-template-columns: minmax(0, 1fr); }
  .split > img { order: -1; }
  #zapis .split > div:first-child, #koncert .split > div:first-child { order: 0; }
  .track { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-note { display: none; }
  .hero::after { background: linear-gradient(0deg, rgba(18, 36, 27, .92) 0%, rgba(18, 36, 27, .6) 55%, rgba(18, 36, 27, .15) 100%); }
  .hero-img { object-position: 70% 30%; }
  .people { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .people figure { scroll-snap-align: start; }
  .sticky-cta.is-on { display: inline-flex; }
  .program + .program, .reviews figure + figure { margin-top: 48px; }
  .top .btn-sm { display: none; }
  .steps { grid-auto-columns: 78%; }
  .keys .lbl { display: none; }
}
@media (max-width: 480px) {
  .birds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-note path { stroke-dashoffset: 0; }
}
