/* ЛАБА — плоские примитивы
   Мир: заливки во всю секцию, круги/треугольники/звёзды, Nunito 900, без теней и градиентов. */

:root {
  --ink: #000;
  --paper: #fff;
  --hot: #FF16B0;       /* маджента: главное действие, эхо */
  --sky: #9CECFB;
  --grass: #8EFF86;
  --leaf: #33C94A;      /* «купюры» */
  --leaf-deep: #2E9A41;
  --lemon: #F3FF7E;
  --sun: #FFF51F;
  --pink: #FF86D9;
  --blush: #FCDAD2;
  --cherry: #C43E5A;
  --pixel: #6F7DFF;
  --fog: #DADADA;
  --ink-soft: #2B2B2B;  /* вторичный текст: 14:1 на белом, 10.7:1 на небе; на мадженте не использовать (4.0:1) */

  --font-d: 'Nunito', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --font-b: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 140px);
  --r-lg: 28px;
  --r-md: 16px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--sky); }
/* Фон под «резиновым» перескроллом: небо сверху, чёрный у подвала (переключает js/main.js) */
html.is-bottom { background: var(--ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--font-b);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 900; margin: 0; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, textarea { font: inherit; color: inherit; }

::selection { background: var(--hot); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
html { scrollbar-color: var(--ink) var(--paper); }
input, textarea { caret-color: var(--hot); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Wordmark: PNG как маска, красится любым цветом ---------- */
.wordmark {
  display: block;
  aspect-ratio: 2378 / 620;
  background: var(--ink);
  -webkit-mask: url(../assets/wordmark-cream.png) center / contain no-repeat;
          mask: url(../assets/wordmark-cream.png) center / contain no-repeat;
}
.wordmark--hot { background: var(--hot); }
.wordmark--lemon { background: var(--lemon); }
.wordmark--fog { background: var(--fog); }
.wordmark--paper { background: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 3px solid var(--ink); border-radius: 999px;
  font: 900 18px/1 var(--font-d); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1.5deg); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:hover .ic { transform: translateX(3px); }
.btn .ic { transition: transform .35s var(--ease-out); }
.btn--hot { --bg: var(--hot); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--paper { --bg: var(--paper); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 16px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 20px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }

.section-title { font-size: clamp(40px, 6.4vw, 96px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: var(--sky);
  transition: background-color .3s, box-shadow .3s;
}
.nav.is-stuck { background: var(--paper); box-shadow: 0 1px 0 var(--ink); }
.nav__logo { width: 104px; flex: none; }
.nav__links { display: flex; gap: clamp(2px, 1vw, 14px); margin-left: auto; font-weight: 600; font-size: 16px; }
.nav__links a { text-decoration: none; padding: 7px 12px; border-radius: 999px; }
.nav .btn { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - 70px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center;
  padding: clamp(24px, 4vw, 48px) var(--gutter) 0;
  background: var(--sky);
  overflow: hidden;
}
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cloud { position: absolute; width: clamp(180px, 26vw, 420px); height: auto; aspect-ratio: 300 / 140; animation: drift 90s linear infinite; }
.c1 { top: 4%;  left: -6%; }
.c2 { top: 12%; right: -8%; width: clamp(220px, 32vw, 520px); animation-duration: 120s; animation-delay: -40s; }
.c3 { top: 58%; left: 30%; width: clamp(140px, 18vw, 280px); animation-duration: 100s; animation-delay: -20s; }
.c4 { bottom: -4%; left: -10%; width: clamp(200px, 30vw, 460px); animation-duration: 140s; }
@keyframes drift { from { translate: -4vw 0; } 50% { translate: 4vw 0; } to { translate: -4vw 0; } }

.hero__copy { position: relative; z-index: 2; padding-bottom: clamp(40px, 5vw, 72px); max-width: 720px; align-self: center; }
.mark { display: flex; align-items: flex-end; gap: clamp(12px, 1.6vw, 20px); margin-bottom: clamp(24px, 3vw, 40px); }
.mark .wordmark { width: min(70vw, 380px); }

/* Эквалайзер из пилюль — сквозной мотив */
.eq { display: inline-flex; align-items: flex-end; gap: .14em; height: .8em; font-size: clamp(56px, 7vw, 96px); flex: none; }
.mark .eq { margin-bottom: .1em; }
.mark .eq--x { font-size: clamp(64px, 8.4vw, 118px); margin-bottom: .06em; }
.eq i { width: .16em; height: 100%; border-radius: 999px; background: var(--ink); transform-origin: bottom; }
.eq i:nth-child(1) { background: var(--hot);   transform: scaleY(.45); }
.eq i:nth-child(2) { background: var(--ink);   transform: scaleY(.8); }
.eq i:nth-child(3) { background: var(--lemon); transform: scaleY(.6); box-shadow: inset 0 0 0 3px var(--ink); }
.eq i:nth-child(4) { background: var(--pink);  transform: scaleY(1); }
.eq i:nth-child(5) { background: var(--paper); transform: scaleY(.35); box-shadow: inset 0 0 0 3px var(--ink); }
.eq--live i { animation: eq 1.1s var(--ease-out) infinite alternate; }
.eq--live i:nth-child(2) { animation-duration: .8s; animation-delay: -.3s; }
.eq--live i:nth-child(3) { animation-duration: 1.3s; animation-delay: -.6s; }
.eq--live i:nth-child(4) { animation-duration: .95s; animation-delay: -.2s; }
.eq--live i:nth-child(5) { animation-duration: 1.2s; animation-delay: -.9s; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* One two-colour waveform, no LED cells or abrupt peak indicators. */
.eq.eq--wave { display:inline-block; width:1.65em; height:.96em; vertical-align:middle; }
.mark .eq.eq--wave { font-size:clamp(64px,8.4vw,118px); margin-bottom:0; }
.eq--wave svg { width:100%; height:100%; overflow:visible; }
.mark:has(.eq--wave) { align-items:center; }
.mark:has(.eq--wave) .wordmark { flex:1 1 auto; min-width:0; max-width:380px; }
@media (max-width:400px) { .mark .eq.eq--wave { font-size:60px; } }

.hero__title { font-size: clamp(28px, 3.9vw, 58px); max-width: 17ch; }
@media (max-width: 860px) { .hero__title { font-size: clamp(28px, 9vw, 44px); } }
.hero__lead { margin-top: 20px; font-size: clamp(17px, 1.4vw, 20px); max-width: 44ch; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__art { align-self: end; justify-self: end; width: min(100%, 640px); margin-bottom: -2px; }
.record { width: 100%; height: auto; overflow: visible; }
.record__disc { transform-box: view-box; transform-origin: 300px 380px; animation: spin 14s linear infinite; }
.record__arm { transform-box: view-box; transform-origin: 531px 78px; rotate: -14deg; transition: rotate .9s var(--ease-out); }
.hero.is-playing .record__arm { rotate: 8deg; }
.hero.is-playing .record__disc { animation-duration: 2.2s; }

/* ---------- Ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--lemon); border-block: 3px solid var(--ink); overflow: hidden; }
.ticker__label {
  flex: none; display: flex; align-items: center; padding: 0 var(--gutter);
  background: var(--ink); color: var(--lemon); font-size: 18px; letter-spacing: 0; white-space: nowrap;
}
.ticker__track { flex: 1; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__list { display: flex; width: max-content; margin: 0; padding: 18px 0; list-style: none; animation: marquee 38s linear infinite; }
.ticker__list li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 900 clamp(22px, 2.6vw, 36px)/1 var(--font-d); white-space: nowrap; }
.ticker__list .ic { width: 22px; height: 22px; color: var(--hot); }
.ticker:hover .ticker__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Who: three doors ---------- */
.who { padding: var(--section-y) var(--gutter); }
.who .section-title { margin-bottom: clamp(32px, 4vw, 56px); }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.door {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  min-height: 0; padding: clamp(24px, 2.6vw, 40px);
  border-radius: var(--r-lg);
}
.door h3 { font-size: clamp(34px, 3.4vw, 52px); }
.door p { max-width: 36ch; }
.door__proof { font-weight: 600; }
.door__proof::before { content: 'Например: '; font-weight: 400; }
.door .btn { margin-top: 8px; }
.door__scene { position: relative; width: 100%; height: clamp(180px, 15vw, 224px); margin-top: auto; pointer-events: none; }
.door .btn { margin-bottom: 24px; }
.scene-art { position: absolute; left: 0; bottom: 0; height: 100%; width: auto; max-width: 100%; overflow: visible; }

.door--kids { background: var(--grass); }

.scene-art .key { transition: translate .4s var(--ease-out); }
.door--kids:hover .key:nth-of-type(3) { translate: 0 -8px; }
.mallet { transform-box: view-box; transform-origin: 249px 30px; transition: rotate .5s var(--ease-out); }
.door--kids:hover .mallet { rotate: -12deg; }

.door--brand { background: var(--paper); border: 3px solid var(--ink); }
.door--brand:hover .wave { animation: wave 1s ease-out infinite; }
.door--brand:hover .w2 { animation-delay: .15s; }
.door--brand:hover .w3 { animation-delay: .3s; }
@keyframes wave { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }

.door--artist { background: var(--ink); color: var(--paper); }
.door--artist .door__proof { color: var(--pink); }
.door--artist .btn { border-color: var(--paper); }
.spark use { transform-box: fill-box; transform-origin: center; }
.door--artist:hover .spark use { animation: spin 3s linear infinite; }

/* ---------- Works ---------- */
.works { padding: 0 var(--gutter) var(--section-y); }
.works__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(28px, 3vw, 48px); }
.works__note { max-width: 42ch; color: var(--ink-soft); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.works__all { margin-top: clamp(32px, 4vw, 56px); }

.card { display: flex; flex-direction: column; gap: 14px; }
.card__cover { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--sky); }
.card__cover img { width: 100%; height: 100%; object-fit: cover; }
.card__cover svg { width: 100%; height: 100%; }
.card__kind {
  position: absolute; left: 12px; top: 12px;
  padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink);
  font: 800 13px/1 var(--font-d); letter-spacing: .01em;
}
.card__title { font-size: clamp(26px, 2.2vw, 32px); }
.card__track { margin-top: 4px; font-weight: 600; }
.card__task { color: var(--ink-soft); }
.card__roles { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.card__roles-label { width: 100%; font-size: 14px; font-weight: 600; }
.card__roles li:not(.card__roles-label) { padding: 4px 11px; border-radius: 999px; background: var(--lemon); font-size: 14px; font-weight: 500; }
.card__listen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.card__listen .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
.card__soon { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.card__soon::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); }

.player { display: flex; align-items: center; gap: 12px; width: 100%; }
.player__btn { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--ink); background: var(--hot); cursor: pointer; }
.player__btn .ic { width: 20px; height: 20px; }
.player__bar { flex: 1; height: 10px; border-radius: 999px; background: var(--fog); overflow: hidden; cursor: pointer; }
.player__fill { height: 100%; width: 0; background: var(--ink); border-radius: inherit; }
.player__time { font: 600 14px/1 var(--font-b); font-variant-numeric: tabular-nums; min-width: 4ch; }

/* ---------- Filters (works page) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 3vw, 44px); padding: 0; list-style: none; }
.filters button {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 3px solid var(--ink); background: var(--paper);
  font: 900 16px/1 var(--font-d); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filters button:hover:not([aria-pressed="true"]) { background: var(--lemon); }
.grid__empty { grid-column: 1 / -1; padding: 40px; border-radius: var(--r-md); background: var(--lemon); font-weight: 600; }

/* ---------- How ---------- */
.how { position: relative; overflow: hidden; isolation: isolate; padding: var(--section-y) var(--gutter) calc(var(--section-y) + 80px); background: var(--grass); }
.how .section-title { margin-bottom: clamp(36px, 5vw, 72px); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ''; position: absolute; top: 44px; left: 44px; right: 12%; height: 6px; border-radius: 3px; background: var(--ink); }
.step { position: relative; }
.step__dot {
  display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 22px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--ink); font: 900 40px/1 var(--font-d);
}
.step:nth-child(2) .step__dot { background: var(--lemon); }
.step:nth-child(3) .step__dot { background: var(--pink); }
.step:nth-child(4) .step__dot { background: var(--hot); }
.step h3 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 8px; }
.step p { max-width: 28ch; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(40px, 5vw, 64px) 0 0; }
.facts div { padding: 14px 22px; border-radius: 999px; background: var(--paper); border: 3px solid var(--ink); }
.facts dt { display: inline; font-weight: 600; }
.facts dt::after { content: ' — '; }
.facts dd { display: inline; margin: 0; }
.eq-field { position: absolute; inset: auto var(--gutter) 0; height: 110px; z-index: -1; pointer-events: none; display: flex; align-items: flex-end; gap: 10px; }
.eq-field i, .eq-strip i { flex: 1; height: var(--h); border-radius: 999px 999px 0 0; background: var(--c); }
.eq-field i { border: 3px solid var(--ink); border-bottom: 0; }

/* ---------- Team ---------- */
.team { padding: var(--section-y) var(--gutter); background: var(--pink); }
.team .section-title { margin-bottom: clamp(32px, 4vw, 56px); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.person { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: clamp(16px, 2vw, 32px); align-items: center; padding: clamp(18px, 2vw, 28px); border-radius: var(--r-lg); background: var(--paper); border: 3px solid var(--ink); }
.person__pic { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--sky); }
.person__pic img, .person__pic svg { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: clamp(28px, 2.6vw, 40px); }
.person__role { margin-top: 6px; font-weight: 600; }
.person__bio { margin-top: 10px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 6vw, 96px); padding: var(--section-y) var(--gutter); }
.faq__list { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 3px solid var(--ink); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 900 clamp(20px, 1.9vw, 26px)/1.2 var(--font-d);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 36px; height: 36px; padding: 6px; border-radius: 50%; background: var(--lemon); border: 3px solid var(--ink); transition: rotate .4s var(--ease-out), background-color .2s; }
.faq details[open] summary .ic { rotate: 45deg; background: var(--hot); }
.faq summary:hover .ic { background: var(--hot); }
.faq details p { padding: 0 0 24px; max-width: 60ch; }

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start;
  padding: var(--section-y) var(--gutter);
  background: var(--hot);
}
.contact__intro p { margin-top: 20px; font-size: 19px; max-width: 34ch; }
.contact__intro .contact__privacy { font-size: 15px; }
.form, .done { padding: clamp(22px, 3vw, 44px); border-radius: var(--r-lg); background: var(--paper); border: 3px solid var(--ink); }
.field { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-weight: 600; font-size: 16px; }
.field legend { margin-bottom: 10px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px;
  border: 3px solid var(--ink); border-radius: var(--r-md); background: var(--paper);
  font-size: 17px; transition: background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6B6B6B; }
.field input:focus, .field textarea:focus { outline: none; background: #FFFCE0; box-shadow: 0 0 0 4px var(--sky); }
.field__hint { font-size: 14px; color: var(--ink-soft); }
.field__err { font-size: 14px; font-weight: 600; color: #B0006F; min-height: 0; }
.field__err:empty { display: none; }
.field.is-invalid input { border-color: #B0006F; background: #FFF0F8; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 3px solid var(--ink); border-radius: 999px; font: 800 16px/1 var(--font-d);
  transition: background-color .2s;
}
.chip span { transition: background-color .2s, color .2s, transform .35s var(--ease-out); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form__status { font-weight: 600; }
.form__status.is-error { color: #B0006F; }
.form__legal { margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .ic { animation: spin 1s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

.done { display: grid; justify-items: start; gap: 14px; }
.done[hidden] { display: none; }
.done__star { width: 96px; height: 96px; color: var(--sun); animation: pop .8s var(--ease-out); }
.done h3 { font-size: clamp(36px, 4vw, 56px); }
@keyframes pop { from { scale: .2; rotate: -90deg; } }

.confetti { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bit { position: absolute; top: -12%; width: var(--w); background: var(--c); border: 3px solid var(--ink); rotate: var(--r); animation: fall var(--d) cubic-bezier(.3, 0, .7, 1) forwards; }
.bit--dot { aspect-ratio: 1; border-radius: 50%; }
.bit--pill { aspect-ratio: .4; border-radius: 999px; }
@keyframes fall { to { top: 110%; rotate: calc(var(--r) + 160deg); } }

/* ---------- Page head (works) ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(56px, 7vw, 104px); background: var(--sky); }
.page-title { display: flex; align-items: flex-end; gap: .12em; font-size: clamp(64px, 13vw, 200px); line-height: .9; letter-spacing: -0.03em; color: var(--hot); }
.page-title .eq { font-size: .62em; margin-bottom: .1em; }
.page-head p { margin-top: 12px; max-width: 46ch; font-size: 19px; position: relative; }
.works--page { padding-top: clamp(40px, 5vw, 72px); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(48px, 6vw, 88px) var(--gutter); background: var(--lemon); border-top: 3px solid var(--ink); }
.cta-band h2 { font-size: clamp(34px, 4.6vw, 64px); max-width: 16ch; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--paper); }
.eq-strip { display: flex; align-items: flex-end; gap: 6px; height: 56px; padding: 0 var(--gutter); background: var(--sky); overflow: hidden; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: 40px var(--gutter) 48px; }
.foot__logo { width: 140px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-left: -10px; font-weight: 600; }
.foot__links a { padding: 6px 10px; border-radius: 999px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--hot); transition: color .2s; }
.foot__copy { margin-left: auto; color: #BDBDBD; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; }
  .door__scene { height: clamp(170px, 40vw, 224px); }
  .door p { max-width: 48ch; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 20px; }
  .hero__copy { padding-bottom: 12px; }
  .hero__art { justify-self: center; width: min(92%, 460px); margin: 8px 0 0; }
  .faq, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { min-height: 50px; padding: 0 20px; font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .ticker { flex-direction: column; }
  .ticker__label { padding: 10px var(--gutter); font-size: 15px; }
  .ticker__list { padding: 14px 0; }
  .door .btn { white-space: normal; text-align: left; min-height: 50px; padding-block: 10px; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; }
  .step__dot { width: 64px; height: 64px; font-size: 30px; grid-row: span 2; margin: 0; }
  .facts div { border-radius: var(--r-md); }
  .person { grid-template-columns: 96px 1fr; }
  .foot__copy { margin-left: 0; width: 100%; }
  .cta-band .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__list { flex-wrap: wrap; width: auto; row-gap: 10px; padding-inline: var(--gutter); }
  .ticker__list li[aria-hidden] { display: none; }
  .ticker__track { mask: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.done:focus { outline: none; }

@media (max-width: 400px) {
  .nav { gap: 12px; }
  .nav__logo { width: 84px; }
  .nav .btn { padding: 0 14px; font-size: 14px; min-height: 40px; }
  .page-title { font-size: 18vw; }
}

.contact__intro, .contact .form, .contact .done { position: relative; z-index: 1; }
.eq-field i, .eq-strip i { min-width: 0; }

/* ---------- Ховер «полосы»: наклонные блоки палитры въезжают по очереди ----------
   Полосы (.fx) добавляет js/main.js → initStripes(). Нечётные заезжают снизу, чётные сверху. */
.fx-host { position: relative; overflow: hidden; isolation: isolate; }
.fx { position: absolute; inset: -4px -14px; z-index: -1; display: flex; transform: skewX(-24deg); pointer-events: none; }
.fx i { flex: 1; transform: translateY(105%); transition: transform .42s var(--ease-out); }
.fx i:nth-child(even) { transform: translateY(-105%); }
/* Только светлые цвета палитры: чёрный текст читается на любой полосе */
.fx i:nth-child(1) { background: var(--grass); }
.fx i:nth-child(2) { background: var(--lemon); transition-delay: .04s; }
.fx i:nth-child(3) { background: var(--sky);   transition-delay: .08s; }
.fx i:nth-child(4) { background: var(--pink);  transition-delay: .12s; }
.fx i:nth-child(5) { background: var(--sun);   transition-delay: .16s; }
@media (hover: hover) {
  .fx-host:not(.chip span):hover .fx i,
  .chip:hover input:not(:checked) + span .fx i { transform: none; }
  .chip:hover input:not(:checked) + span { transform: translateY(-2px) rotate(-1.5deg); }
  .btn.fx-host:hover { --fg: var(--ink); }
  .foot__links a:hover, .nav__links a:hover { color: var(--ink); text-decoration-color: transparent; }
}
.fx-host:focus-visible .fx i,
.chip input:focus-visible:not(:checked) + span .fx i { transform: none; }
.btn.fx-host:focus-visible { --fg: var(--ink); }
.chip input:checked + span .fx,
.filters button[aria-pressed="true"] .fx,
.btn[disabled] .fx { display: none; }

/* ---------- Бумбокс в заявке ---------- */
/* Стоит в левой колонке у нижнего края секции и уходит под подвал примерно на треть */
.boombox {
  position: relative; z-index: 0; /* под карточкой формы: правый край уходит за неё */
  grid-column: 1; grid-row: 2; align-self: end; justify-self: start;
  width: clamp(320px, 56vw, 820px);
  translate: 0 calc(var(--section-y) + 30%);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.contact .form, .contact .done { grid-column: 2; grid-row: 1 / span 2; }
.boombox svg { width: 100%; height: auto; overflow: visible; }
.boombox__spk { transform-box: fill-box; transform-origin: center; animation: beat .48s cubic-bezier(.3, 0, .3, 1) infinite alternate; }
.boombox__spk--r { animation-delay: -.24s; }
@keyframes beat { from { scale: 1; } to { scale: 1.07; } }
.boombox__door { transform-box: fill-box; transform-origin: 50% 100%; transition: scale .4s var(--ease-out) .32s; }
.boombox__tape { transform-box: fill-box; transform-origin: 50% 100%; transition: translate .45s var(--ease-out), rotate .45s var(--ease-out); }
.boombox__reel { transform-box: fill-box; transform-origin: center; animation: spin 1.6s linear infinite paused; }
.boombox__key { transition: translate .2s var(--ease-out); }
.boombox__fx { position: absolute; inset: 0; pointer-events: none; }
.boombox__fx > span { position: absolute; left: 0; top: 0; }
.boombox__fx svg { display: block; width: 100%; height: auto; }
.boombox:is(:hover, .is-open) .boombox__door { scale: 1 .08; transition-delay: 0s; }
.boombox:is(:hover, .is-open) .boombox__tape {
  translate: 0 -64px; rotate: -6deg;
  transition: translate .7s cubic-bezier(.34, 1.5, .64, 1) .16s, rotate .7s cubic-bezier(.34, 1.5, .64, 1) .16s;
}
.boombox:is(:hover, .is-open) .boombox__reel { animation-play-state: running; }
.boombox:is(:hover, .is-open) .boombox__key { translate: 0 5px; }
.boombox:is(:hover, .is-open) .boombox__spk { animation-duration: .24s; }
@media (max-width: 860px) { .contact .form, .contact .done { grid-column: auto; grid-row: auto; } .boombox { grid-column: auto; grid-row: auto; justify-self: center; width: min(100%, 560px); margin-top: calc(-1 * var(--section-y) + 24px); } }
