/* Форум UGC-креаторов. Одна тёмная тема, один акцент.
   Радиусы: кнопки и чипы - пилюля, карточки 20px, поля 12px. */
@font-face { font-family: 'Unbounded'; src: url('/fonts/Unbounded.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('/fonts/Onest.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0e0f0c;
  --bg-2: #171913;
  --bg-3: #20231a;
  --line: #2c2f24;
  --text: #f2f1ea;
  --muted: #a9a99f;
  --accent: #c8f542;
  --accent-ink: #11140a;
  --danger: #ff8f7a;
  --r-card: 20px;
  --r-field: 12px;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 'Onest', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Unbounded', sans-serif; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.4vw, 52px); max-width: 18ch; }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
p { margin: 0; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 60ch; margin-top: 20px; }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 30px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 17px/1 'Onest', sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.btn:hover { background: #d9ff6a; }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--text); border-color: #4a4e3e; }
.btn--ghost:hover { background: var(--bg-3); border-color: var(--text); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* шапка */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 32px; height: 68px; padding: 0 var(--pad); background: rgb(14 15 12 / .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__logo { font: 600 17px/1 'Unbounded', sans-serif; text-decoration: none; margin-right: auto; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--text); }

/* первый экран */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 72px); max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 6vh, 72px) var(--pad) clamp(32px, 6vh, 64px); min-height: calc(100dvh - 68px - 190px); position: relative; }
.hero h1 { font-size: clamp(34px, 4.9vw, 68px); margin-top: 18px; }
.hero h1 span.nw { white-space: nowrap; }
.hero__sub { font-size: clamp(18px, 1.7vw, 22px); color: var(--muted); max-width: 34ch; margin-top: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__photos { position: relative; width: 100%; aspect-ratio: 1 / 1.02; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.hero__text { position: relative; }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--x, 72%) var(--y, 38%), rgb(200 245 66 / .13), transparent 62%); }
.ticket { position: absolute; left: -4%; bottom: 4%; display: grid; gap: 2px; padding: 16px 22px; border-radius: var(--r-card); background: var(--accent); color: var(--accent-ink); transform: rotate(-6deg); }
.ticket b { font: 600 clamp(22px, 2.6vw, 34px)/1 'Unbounded', sans-serif; letter-spacing: -.02em; }
.ticket span { font-size: 14px; font-weight: 500; }
.photo { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--bg-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--a { inset: 0 34% 14% 0; }
.photo--a img { object-position: 50% 12%; }
.speaker:not(.speaker--flip) img { object-position: 50% 10%; }
.credit { font-size: 12px; color: #6f7066; }
.credit a { color: inherit; }
.photo--b { inset: 30% 0 0 46%; border: 6px solid var(--bg); }
.photo--b img { object-position: 50% 18%; }

.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(72px, 11vw, 136px) var(--pad) 0; }

/* спикеры */
.speakers { display: grid; gap: clamp(40px, 6vw, 80px); }
.speaker { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.speaker--flip { grid-template-columns: 1fr minmax(0, 400px); }
.speaker--flip img { order: 2; }
.speaker img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.speaker--flip img { object-position: 50% 15%; }
.speaker h3 { font-size: clamp(26px, 3.2vw, 40px); }
.speaker__role { color: var(--accent); font-weight: 500; margin-top: 12px; }
.speaker__talk { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.35; max-width: 34ch; margin: 28px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }

/* программа */
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 10px; position: relative; }
/* линия времени проходит за значками */
.timeline::before { content: ''; position: absolute; left: calc(20px + 96px + 24px + 28px); top: 40px; bottom: 40px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 96px 56px 1fr auto; gap: 24px; align-items: center; padding: 18px 28px 18px 20px; border-radius: var(--r-card); transition: background-color .3s; }
.timeline li:hover { background: var(--bg-2); }
.timeline time { font: 600 clamp(20px, 2.2vw, 28px)/1 'Unbounded', sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: right; }
.timeline__dot { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--bg-3); border: 1px solid var(--line); }
.timeline__dot img { width: 34px; height: 34px; transition: transform .45s var(--ease); }
.timeline li:hover .timeline__dot img { transform: scale(1.18) rotate(-8deg); }
.timeline b { display: block; font-weight: 600; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; }
.timeline__body span { display: block; color: var(--muted); font-size: 16px; margin-top: 4px; max-width: 52ch; }
.timeline i { font-style: normal; font-size: 14px; color: var(--muted); white-space: nowrap; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
/* выступления спикеров */
.timeline .is-main { background: var(--accent); color: var(--accent-ink); padding-block: 24px; }
.timeline .is-main:hover { background: #d9ff6a; }
.timeline .is-main .timeline__body span { color: #3b4a12; }
.timeline .is-main .timeline__dot { background: var(--accent-ink); border-color: var(--accent-ink); }
.timeline .is-main i { color: var(--accent-ink); border-color: rgb(17 20 10 / .35); font-weight: 600; }
.timeline .is-main b { font-family: 'Unbounded', sans-serif; font-size: clamp(18px, 1.8vw, 23px); letter-spacing: -.01em; }

/* недели */
.weeks { display: flex; gap: 12px; margin: 40px calc(var(--pad) * -1) 0; padding: 4px var(--pad) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.week { flex: 0 0 min(72vw, 250px); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 22px; min-height: 190px; border: 1px solid var(--line); border-radius: var(--r-card); }
.week time { color: var(--accent); font-size: 14px; font-weight: 500; }
.week b { font: 500 19px/1.25 'Unbounded', sans-serif; letter-spacing: -.01em; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); margin-top: 36px; }
.rule b { display: block; font-size: 18px; margin-bottom: 8px; }
.rule p { color: var(--muted); font-size: 16px; }

/* призы */
.prizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.prize { display: flex; flex-direction: column; justify-content: flex-end; min-height: 168px; padding: 20px; border-radius: var(--r-card); background: var(--bg-2); }
.prize b { font: 500 17px/1.25 'Unbounded', sans-serif; letter-spacing: -.01em; }
.prize i { font-style: normal; color: var(--muted); font-size: 15px; margin-top: 6px; }
.prize--xl { grid-column: span 2; grid-row: span 2; background: var(--accent); color: var(--accent-ink); justify-content: space-between; padding: 28px; }
.prize--xl span { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.prize--xl b { font-size: clamp(30px, 4vw, 52px); font-weight: 600; line-height: 1.02; margin-top: auto; }
.prize--xl i { color: #3b4a12; font-size: 17px; }
.prize--l { min-height: 190px; }
.prize--l b { font-size: clamp(19px, 2vw, 24px); }
.prize--tint { background: var(--bg-3); border: 1px solid var(--accent); }
.prize--wide { grid-column: span 2; }
h2 + .muted { margin-top: 16px; }

/* заявка */
.apply { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.apply__steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 20px; }
.apply__steps li { padding-left: 20px; border-left: 2px solid var(--line); }
.apply__steps b { display: block; font-size: 18px; }
.apply__steps span { color: var(--muted); font-size: 15px; }
.form, .done { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-card); background: var(--bg-2); }
.form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
label, legend { font-size: 15px; font-weight: 500; padding: 0; }
input:not([type=radio]):not([type=checkbox]), select { width: 100%; height: 54px; padding: 0 16px; border: 1px solid #4a4e3e; border-radius: var(--r-field); background: var(--bg); color: var(--text); font: 400 17px/1 'Onest', sans-serif; transition: border-color .2s; }
input::placeholder { color: #8a8b80; }
input:hover, select:hover { border-color: #6b7058; }
input:focus-visible, select:focus-visible { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(200 245 66 / .22); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 16px) 24px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.is-bad input:not([type=radio]):not([type=checkbox]), .is-bad select { border-color: var(--danger); }
.error { min-height: 0; color: var(--danger); font-size: 14px; }
.error:empty { display: none; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 400; color: var(--muted); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done h3 { font-size: clamp(24px, 3vw, 34px); color: var(--accent); }
.done p { margin-top: 16px; }
.done__links, .footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.done__links a, .footer__links a { color: var(--accent); text-underline-offset: 4px; }

/* вопросы */
.faq { margin-top: 32px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 18px; font-size: 26px; font-weight: 300; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 40px 24px 0; max-width: 62ch; }

.footer { max-width: var(--wrap); margin: clamp(72px, 10vw, 128px) auto 0; padding: 36px var(--pad) 48px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.footer__logo { font: 600 20px/1 'Unbounded', sans-serif; }

/* таймер */
.clock { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.clock__label { font: 500 clamp(18px, 2vw, 24px)/1 'Unbounded', sans-serif; color: var(--muted); }
.clock__grid { display: flex; gap: clamp(14px, 3vw, 40px); }
.clock__grid b { display: block; font: 600 clamp(38px, 6.4vw, 84px)/1 'Unbounded', sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.clock__grid div:last-child b { color: var(--accent); }
.clock__grid span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.clock__count { margin-left: auto; color: var(--muted); }

/* бегущая строка с призами (одна на страницу) */
.marquee { margin-top: clamp(40px, 6vw, 72px); overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; font: 500 clamp(17px, 2vw, 24px)/1 'Unbounded', sans-serif; white-space: nowrap; }
.marquee__track span { display: flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* зачем идти */
.why { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; margin-top: 40px; }
.why__card { padding: 28px; border-radius: var(--r-card); background: var(--bg-2); display: flex; flex-direction: column; }
.why__card h3 { font-size: 19px; font-weight: 500; line-height: 1.25; }
.why__card p { color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 46ch; }
.why__num { font: 600 clamp(56px, 8vw, 112px)/.95 'Unbounded', sans-serif; letter-spacing: -.04em; margin-bottom: auto; padding-bottom: 28px; font-variant-numeric: tabular-nums; }
.why__card--accent { background: var(--accent); color: var(--accent-ink); }
.why__card--accent p { color: #3b4a12; }
.why__card--wide { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: clamp(20px, 5vw, 72px); border: 1px solid var(--line); background: transparent; }
.why__card--wide h3 { flex: 0 0 auto; max-width: 16ch; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; }
.why__card--wide p { margin-top: 0; font-size: 18px; max-width: 58ch; }

/* шакира */
.shakira { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--accent); }
.shakira__big { font: 700 clamp(140px, 24vw, 320px)/.8 'Unbounded', sans-serif; letter-spacing: -.06em; color: var(--accent); }
.shakira h2 { font-size: clamp(26px, 3.6vw, 44px); max-width: 16ch; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { padding-left: 24px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 0; top: .68em; width: 12px; height: 2px; background: var(--accent); }

.weeks__nav { display: flex; gap: 8px; justify-content: flex-end; }
.arrow { width: 48px; height: 48px; border-radius: 999px; border: 1px solid #4a4e3e; background: transparent; color: var(--text); font-size: 20px; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.arrow:hover { background: var(--bg-3); border-color: var(--text); }
.arrow:active { transform: scale(.94); }
.week--final { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.week--final time { color: #3b4a12; }

/* иконки призов */
.prize { position: relative; overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .25s; }
.prize:hover { transform: translateY(-4px); border-color: #4a4e3e; }
.prize__icon { width: 64px; height: 64px; margin-bottom: auto; transition: transform .45s var(--ease); }
.prize:hover .prize__icon { transform: scale(1.12) rotate(-6deg); }
.prize--l .prize__icon { width: 84px; height: 84px; }
.prize--xl { border-color: var(--accent); }
.note { margin-top: 18px; color: var(--muted); font-size: 16px; }
.prize--xl b { max-width: 48%; font-size: clamp(24px, 2.9vw, 40px) !important; z-index: 1; }
.prize--xl .prize__icon { position: absolute; right: 3%; top: 50%; width: min(36%, 210px); height: auto; margin: 0; transform: translateY(-50%) rotate(12deg); }
.prize--xl:hover .prize__icon { transform: translateY(-50%) rotate(4deg) scale(1.06); }
.prize--wide { display: grid; grid-template-columns: auto 1fr; align-items: center; align-content: center; column-gap: 20px; }
.prize--wide .prize__icon { grid-row: span 2; margin: 0; }
.prize--wide b { align-self: end; }
.prize--wide i { align-self: start; margin-top: 4px; }
.shakira { position: relative; overflow: hidden; }
.shakira__icon { position: absolute; right: clamp(16px, 4vw, 56px); top: clamp(16px, 4vw, 48px); width: clamp(72px, 12vw, 150px); height: auto; transform: rotate(14deg); }

/* фото призов */
.prize__photo { display: block; width: 100%; height: 150px; object-fit: contain; margin-bottom: 18px; transition: transform .5s var(--ease); filter: drop-shadow(0 18px 22px rgb(0 0 0 / .45)); }
.prize:hover .prize__photo { transform: scale(1.06) rotate(-2deg); }
.prize:has(.prize__photo) { min-height: 260px; }
.prize--l .prize__photo { height: 170px; }
.prize--xl .prize__photo { position: absolute; right: 1%; top: 6%; width: 46%; height: 88%; margin: 0; object-position: right center; transform: rotate(6deg); filter: drop-shadow(0 24px 30px rgb(20 30 0 / .4)); }
.prize--xl:hover .prize__photo { transform: rotate(2deg) scale(1.04); }
.prize--camp { border-color: var(--accent); justify-content: flex-end; }
.prize__bg { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prize--camp::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(14 15 12 / .05) 20%, rgb(14 15 12 / .92) 78%); }
.prize--camp b, .prize--camp i { position: relative; z-index: 1; }
.prize--camp i { color: var(--text); }
.prize--camp:hover .prize__bg { transform: scale(1.06); }

/* регалии спикеров */
.speakers > h2 { margin-bottom: clamp(-20px, -2vw, -8px); }
.regalia { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.regalia li { padding-left: 20px; position: relative; color: var(--muted); font-size: 16px; line-height: 1.4; }
.regalia li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.regalia b { color: var(--text); font-weight: 600; }

/* форма: мелочи */
.at { display: grid; grid-template-columns: auto 1fr; align-items: center; border: 1px solid #4a4e3e; border-radius: var(--r-field); background: var(--bg); transition: border-color .2s; }
.at span { padding-left: 16px; color: var(--muted); font-size: 17px; }
.at input:not([type=radio]):not([type=checkbox]) { border: 0; background: transparent; padding-left: 4px; box-shadow: none; }
.at:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(200 245 66 / .22); }
.is-bad .at { border-color: var(--danger); }
.hint { font-size: 14px; color: var(--muted); }
.hint:empty { display: none; }
.hint--warn { padding: 12px 14px; border-radius: var(--r-field); background: var(--bg-3); color: var(--text); }
.done { display: grid; gap: 18px; }
.done p { margin-top: 0; }
.done__block { padding: 20px; border-radius: var(--r-field); background: var(--bg); display: grid; gap: 10px; }
.done__block b { font-size: 18px; }
.copy { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 4px; }
.copy input:not([type=radio]):not([type=checkbox]) { height: 44px; font-size: 15px; }
.done__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* шаги после заявки и именная картинка */
.step { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.done__block--main { border: 1px solid var(--accent); background: rgb(200 245 66 / .08); }
.card { width: min(100%, 300px); height: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-3); aspect-ratio: 9 / 16; margin: 6px 0; }
.hint--tg { padding: 12px 14px; border-radius: var(--r-field); background: var(--bg-3); color: var(--text); border-left: 3px solid var(--accent); }

/* нижняя кнопка на телефоне */
.dock { display: none; }

/* появление блоков при прокрутке */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero__text > * { animation: rise .8s var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: .06s; }
  .hero__text > :nth-child(3) { animation-delay: .12s; }
  .hero__text > :nth-child(4) { animation-delay: .18s; }
  .photo { animation: rise 1s var(--ease) .1s both; }
  .photo--b { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
  .ticket { animation: pop .9s var(--ease) .5s both; }
  @keyframes pop { from { opacity: 0; transform: rotate(8deg) scale(.7); } }
  .marquee__track { animation: run 38s linear infinite; }
  @keyframes run { to { transform: translateX(calc(-50% - 24px)); } }
  .clock__grid div:last-child b { animation: beat 1s var(--ease) infinite; }
  @keyframes beat { 0% { opacity: .55; } 30% { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__photos { max-width: 520px; width: 100%; }
  .speaker, .speaker--flip { grid-template-columns: 1fr; align-items: start; }
  .speaker--flip img { order: 0; }
  .speaker img { max-width: 420px; }
  .rules, .apply, .why, .shakira { grid-template-columns: 1fr; }
  .prizes { grid-template-columns: repeat(2, 1fr); }
  .prize--xl { grid-row: auto; min-height: 220px; }
  .prize--tint { grid-column: span 2; }
  .prize--wide { grid-column: auto; }
}
@media (max-width: 960px) {
  .why__card--wide { flex-direction: column; gap: 12px; }
  .why__num { padding-bottom: 20px; }
  .shakira__big { font-size: 150px; }
  .regalia { grid-template-columns: 1fr; }
  .prize--xl .prize__photo { width: 44%; }
  .prize__photo { height: 120px; }
  .prize:has(.prize__photo) { min-height: 220px; }
  .prize--camp { min-height: 200px; }
  .prize--l { grid-column: span 2; }
  .prize--l:has(.prize__photo) { min-height: 0; }
  .prize--xl b { max-width: 54%; }
  .clock__count { margin-left: 0; width: 100%; }
  .dock { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgb(32 35 26 / .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid #4a4e3e; text-decoration: none; font-size: 15px; color: var(--muted); transition: transform .4s var(--ease), opacity .3s; }
  .dock b { padding: 13px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
  .dock.is-off { transform: translateY(140%); opacity: 0; }
  .footer { padding-bottom: 110px; }
}
@media (max-width: 520px) {
  .copy { grid-template-columns: 1fr; }
  .ticket { left: 0; }
  body { font-size: 16px; }
  .btn { width: 100%; }
  .btn--small { width: auto; }
  .row { grid-template-columns: 1fr; }
}

/* программа на телефоне: время над названием, длительность под ним */
@media (max-width: 720px) {
  .timeline::before { left: 27px; }
  .timeline li { grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 2px; padding: 12px 14px 12px 0; align-items: start; }
  .timeline__dot { grid-row: 1 / span 3; }
  .timeline time { grid-column: 2; text-align: left; font-size: 15px; color: var(--accent); }
  .timeline__body { grid-column: 2; }
  .timeline i { grid-column: 2; justify-self: start; border: 0; padding: 0; margin-top: 4px; font-size: 13px; }
  .timeline .is-main { padding: 16px 14px 16px 0; margin-left: -12px; padding-left: 12px; }
  .timeline .is-main time { color: var(--accent-ink); }
}
