/* ==========================================================================
   ЗАНОС — тёмный асфальт + один кислотный акцент
   Шрифты: Dela Gothic One (заголовки), IBM Plex Sans (текст), IBM Plex Mono (цифры)
   ========================================================================== */
:root {
    --bg: #0B0B0C;
    --bg-2: #131315;
    --bg-3: #1B1B1E;
    --line: #26272B;
    --line-2: #34353A;
    --text: #EDEDE8;
    --muted: #8C8F96;
    --dim: #5D6067;
    --acid: #D4FF00;
    --acid-2: #BFE600;
    --hot: #FF5A36;

    --f-display: 'Dela Gothic One', 'Arial Black', sans-serif;
    --f: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --wrap: 1280px;
    --gut: clamp(16px, 4vw, 44px);
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--f); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
::selection { background: var(--acid); color: var(--bg); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── типографика ───────────────────────────────────────────────── */
.d1, .d2, .d3 { font-family: var(--f-display); text-transform: uppercase; line-height: .95; letter-spacing: .005em; }
.d1 { font-size: clamp(44px, 7vw, 104px); }
.d2 { font-size: clamp(30px, 4vw, 56px); }
.d3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.1; }
.acid { color: var(--acid); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--f-mono); font-weight: 500; }
.label { font-size: 13px; color: var(--muted); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 52ch; }

/* ── кнопки ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 50px; padding: 0 24px; border: 1px solid var(--line-2); border-radius: 0;
    background: transparent; color: var(--text); font: 600 15px/1 var(--f); letter-spacing: .02em; text-transform: uppercase;
    cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(.98); }
.btn-acid { background: var(--acid); border-color: var(--acid); color: var(--bg); }
.btn-acid:hover { background: var(--text); border-color: var(--text); }
.btn-light { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-light:hover { background: var(--acid); border-color: var(--acid); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-sending { opacity: .5; pointer-events: none; }
.link { color: var(--acid); }
.link:hover { text-decoration: underline; }
.link-danger { background: none; border: 0; padding: 0; color: var(--hot); cursor: pointer; font-size: 14px; }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }

/* ── шапка ─────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 36px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo svg { width: 40px; height: 26px; }
.logo b { font: 400 22px/1 var(--f-display); letter-spacing: .04em; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { font-size: 15px; color: var(--muted); transition: color .2s; position: relative; padding: 4px 0; }
.nav a:hover, .nav a.on { color: var(--text); }
.nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--acid); transform: skewX(-30deg); }
.top-act { display: flex; align-items: center; gap: 16px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid var(--hot); color: var(--hot); font: 600 12px var(--f-mono); letter-spacing: .1em; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.icon-link { position: relative; display: inline-flex; color: var(--muted); padding: 6px; transition: color .2s; }
.icon-link:hover { color: var(--text); }
.icon-link .count { position: absolute; top: -2px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--acid); color: var(--bg); font: 600 11px/18px var(--f-mono); text-align: center; }
.burger { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .35s var(--ease); }
.nav .show-m { display: none; }

/* ── уведомления ───────────────────────────────────────────────── */
.flash { background: var(--acid); color: var(--bg); font-weight: 500; animation: drop .45s var(--ease) both; transition: opacity .4s, max-height .5s var(--ease); max-height: 200px; overflow: hidden; }
.flash .wrap { padding-top: 12px; padding-bottom: 12px; }
.flash.err { background: var(--hot); color: #fff; }
.flash.hide { opacity: 0; max-height: 0; }
.flash ul { margin: 0; padding: 0; list-style: none; }
@keyframes drop { from { transform: translateY(-100%); } }

/* ── HERO с дрифтом ────────────────────────────────────────────── */
.hero { position: relative; height: calc(100svh - 66px); min-height: 560px; max-height: 920px; overflow: hidden; background: radial-gradient(ellipse at 60% 45%, #17171A 0%, var(--bg) 70%); }
.hero-word {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; user-select: none;
    font: 400 clamp(96px, 18.5vw, 300px)/1 var(--f-display); letter-spacing: -.01em; color: transparent; text-transform: uppercase;
    -webkit-text-stroke: 1.5px #2A2B30; margin: 0;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: clamp(28px, 5vh, 56px); pointer-events: none; }
.hero-in > * { pointer-events: auto; }
.hero-copy { max-width: 560px; }
.hero-copy .tag { display: inline-block; font: 500 13px var(--f-mono); color: var(--acid); letter-spacing: .08em; margin-bottom: 14px; }
.hero-copy .slogan { font: 400 clamp(30px, 4.2vw, 58px)/1 var(--f-display); text-transform: uppercase; margin: 0 0 16px; }
.hero-copy p { color: var(--muted); max-width: 44ch; margin-bottom: 26px; }
.hero-copy .slogan { color: var(--text); max-width: none; }
.hero-copy .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.next-card { width: 340px; flex-shrink: 0; background: rgba(19, 19, 21, .82); backdrop-filter: blur(12px); border: 1px solid var(--line-2); padding: 20px 22px; animation: rise .8s var(--ease) .35s both; }
.next-card .label { display: flex; justify-content: space-between; }
.next-card h3 { font: 400 22px/1.1 var(--f-display); text-transform: uppercase; margin: 10px 0 4px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0 18px; }
.countdown div { background: var(--bg); border: 1px solid var(--line); padding: 8px 4px; text-align: center; }
.countdown b { display: block; font: 600 24px/1 var(--f-mono); }
.countdown span { font-size: 11px; color: var(--muted); }

/* бегущая строка */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.ticker-in { display: flex; gap: 48px; width: max-content; padding: 14px 0; animation: tick 40s linear infinite; font: 400 16px var(--f-display); text-transform: uppercase; color: var(--dim); }
.ticker-in span::before { content: '◢ '; color: var(--acid); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── секции ────────────────────────────────────────────────────── */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .d2 span { color: var(--acid); }
.sec-head a { font-size: 15px; color: var(--muted); }
.sec-head a:hover { color: var(--acid); }

/* лента афиши */
.feed { border-top: 1px solid var(--line); }
.row {
    position: relative; display: grid; grid-template-columns: 110px 1fr auto auto; align-items: center; gap: 28px;
    padding: 22px 6px; border-bottom: 1px solid var(--line); transition: background .25s;
}
.row::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.row:hover { background: var(--bg-2); }
.row:hover::after { transform: scaleX(1); }
.date-block { display: flex; align-items: baseline; gap: 8px; }
.date-block b { font: 400 46px/1 var(--f-display); }
.date-block span { font: 500 13px/1.25 var(--f-mono); color: var(--muted); text-transform: uppercase; }
.row h3 { font: 400 clamp(20px, 2vw, 26px)/1.1 var(--f-display); text-transform: uppercase; margin: 6px 0 4px; transition: color .2s; }
.row:hover h3 { color: var(--acid); }
.row .meta { color: var(--muted); font-size: 14px; }
.row .price { font: 600 17px var(--f-mono); text-align: right; white-space: nowrap; }
.row .price small { display: block; font: 400 12px var(--f); color: var(--muted); }
.type { display: inline-block; padding: 3px 8px; border: 1px solid var(--line-2); font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.type.competition { border-color: var(--acid); color: var(--acid); }
.type.show { border-color: var(--hot); color: var(--hot); }
.type.free { background: var(--acid); border-color: var(--acid); color: var(--bg); }
.month { font: 400 15px var(--f-display); text-transform: uppercase; color: var(--dim); padding: 30px 6px 12px; }

/* программы школы */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.course { background: var(--bg); padding: 28px; display: flex; flex-direction: column; transition: background .3s; }
.course:hover { background: var(--bg-2); }
.course .lvl { font: 500 12px var(--f-mono); color: var(--acid); letter-spacing: .08em; text-transform: uppercase; }
.course h3 { font: 400 26px/1.05 var(--f-display); text-transform: uppercase; margin: 14px 0 8px; }
.course p { color: var(--muted); font-size: 15px; }
.course ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; font-size: 14px; }
.course li::before { content: '—'; color: var(--acid); margin-right: 8px; }
.course .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.course .foot b { font: 600 20px var(--f-mono); }
.course .foot small { color: var(--muted); font-size: 13px; }

/* ── ГАРАЖ: машины выезжают при наведении ──────────────────────── */
.garage { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.bay { position: relative; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; cursor: default; isolation: isolate; }
.bay-stage { position: relative; height: 150px; overflow: hidden; background:
    linear-gradient(180deg, transparent 0 74%, #0E0E10 74% 100%),
    repeating-linear-gradient(90deg, #17171A 0 2px, transparent 2px 44px); }
/* ворота гаража слева */
.bay-stage::before { content: ''; position: absolute; left: 0; top: 0; bottom: 26%; width: 32%; z-index: 3;
    background: repeating-linear-gradient(180deg, #202024 0 10px, #1A1A1D 10px 12px); border-right: 3px solid #2C2D31; box-shadow: 8px 0 18px rgba(0,0,0,.6); }
/* разметка пола */
.bay-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 12%; height: 2px; z-index: 1;
    background: repeating-linear-gradient(90deg, var(--line-2) 0 22px, transparent 22px 40px); }
.car { position: absolute; z-index: 2; bottom: 7%; left: 0; width: 94%; transform: translateX(-30%); transition: transform 1.1s var(--ease); }
.car svg { width: 100%; height: auto; overflow: visible; }
.car .body { transition: transform .5s var(--ease); transform-origin: 50% 80%; }
.car .wheel { transform-box: fill-box; transform-origin: center; transition: transform 1.1s var(--ease); }
.car .smoke circle { opacity: 0; transform-box: fill-box; transform-origin: center; }
.bay:hover .car, .bay.out .car { transform: translateX(6%); }
.bay:hover .car .wheel, .bay.out .car .wheel { transform: rotate(720deg); }
.bay:hover .car .body, .bay.out .car .body { animation: squat 1.1s var(--ease); }
.bay:hover .car .smoke circle, .bay.out .car .smoke circle { animation: puff 1.4s ease-out forwards; }
.car .smoke circle:nth-child(2) { animation-delay: .12s !important; }
.car .smoke circle:nth-child(3) { animation-delay: .24s !important; }
.car .smoke circle:nth-child(4) { animation-delay: .36s !important; }
@keyframes squat { 0% { transform: none; } 18% { transform: rotate(-2.2deg) translateY(1px); } 60% { transform: rotate(.6deg); } 100% { transform: none; } }
@keyframes puff { 0% { opacity: 0; transform: scale(.3) translate(0, 0); } 15% { opacity: .55; } 100% { opacity: 0; transform: scale(2.6) translate(-18px, -8px); } }
.bay-info { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.bay-info .name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.bay-info h3 { font: 400 22px var(--f-display); text-transform: uppercase; }
.bay-info .hp { font: 600 14px var(--f-mono); color: var(--acid); white-space: nowrap; }
.bay-info p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.bay-info .specs { display: flex; gap: 14px; margin-top: 10px; font: 500 12px var(--f-mono); color: var(--dim); text-transform: uppercase; }
/* выбор машины при записи */
label.bay { cursor: pointer; }
label.bay input { position: absolute; opacity: 0; }
label.bay:has(input:checked) { border-color: var(--acid); }
label.bay:has(input:checked) .car { transform: translateX(6%); }
label.bay:has(input:checked) .bay-info h3 { color: var(--acid); }
label.bay:has(input:focus-visible) { outline: 2px solid var(--acid); }

/* рейтинг */
.board { width: 100%; border-collapse: collapse; }
.board th { text-align: left; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding: 0 12px 12px; border-bottom: 1px solid var(--line-2); }
.board td { padding: 16px 12px; border-bottom: 1px solid var(--line); }
.board tr { transition: background .2s; }
.board tbody tr:hover { background: var(--bg-2); }
.board .pos { font: 400 26px var(--f-display); color: var(--dim); width: 64px; }
.board tr:first-child .pos { color: var(--acid); }
.board .pilot { font-weight: 600; }
.board .time { font: 600 18px var(--f-mono); }
.board tr:first-child .time { color: var(--acid); }
.board .gap { font: 500 14px var(--f-mono); color: var(--muted); }
.board .num { text-align: right; }

/* медиа */
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photos .ph { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); border: 0; padding: 0; cursor: zoom-in; display: block; }
.photos .ph:first-child { grid-column: span 2; grid-row: span 2; }
.photos img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transition: transform .9s var(--ease), filter .4s; }
.photos .ph:hover img { transform: scale(1.05); filter: none; }
.photos .ph span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); font-size: 13px; text-align: left; opacity: 0; transition: opacity .3s; color: var(--text); }
.photos .ph:hover span { opacity: 1; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.video { background: var(--bg-2); border: 1px solid var(--line); }
.video .frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video p { padding: 12px 14px; margin: 0; font-size: 14px; }

/* полоса аренды */
.band { background: var(--acid); color: var(--bg); position: relative; overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.band p { font-size: 18px; max-width: 46ch; }
.band .btn { border-color: var(--bg); color: var(--bg); }
.band .btn:hover { background: var(--bg); color: var(--acid); }
.band .btn-dark { background: var(--bg); color: var(--acid); }
.band .btn-dark:hover { background: transparent; color: var(--bg); }
.band::after { content: 'ЗАНОС ЗАНОС ЗАНОС'; position: absolute; right: -40px; bottom: -40px; font: 400 160px/1 var(--f-display); color: rgba(0,0,0,.06); white-space: nowrap; pointer-events: none; }

/* ── подвал ────────────────────────────────────────────────────── */
.foot-site { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-site h4 { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot-site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.foot-site a:hover { color: var(--acid); }
.foot-site .slogan { font: 400 26px/1.05 var(--f-display); text-transform: uppercase; margin: 18px 0 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ── формы ─────────────────────────────────────────────────────── */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 7px; font-size: 13px; color: var(--muted); }
.field > span i { color: var(--acid); font-style: normal; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
    width: 100%; height: 50px; padding: 0 14px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 0;
    font-size: 16px; color: var(--text); outline: none; transition: border-color .2s, background .2s; color-scheme: dark;
}
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field select, select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23EDEDE8' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--acid); background: var(--bg-3); }
.field input[type=file] { font-size: 14px; color: var(--muted); }
.field input[type=file]::file-selector-button { background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); padding: 8px 14px; margin-right: 12px; cursor: pointer; }
.field .err, .err-text { display: block; margin-top: 6px; font-size: 13px; color: var(--hot); }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--hot); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--acid); flex-shrink: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
legend { font: 400 20px var(--f-display); text-transform: uppercase; margin-bottom: 16px; padding: 0; }

/* радио-карточки */
.picks { display: grid; gap: 8px; }
.picks.cols { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pick { position: relative; display: block; padding: 16px 18px; background: var(--bg-2); border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.pick input { position: absolute; opacity: 0; }
.pick:hover { border-color: var(--muted); }
.pick:has(input:checked) { border-color: var(--acid); background: var(--bg-3); }
.pick:has(input:checked) b { color: var(--acid); }
.pick:has(input:focus-visible) { outline: 2px solid var(--acid); }
.pick b { display: block; font-weight: 600; transition: color .2s; }
.pick small { color: var(--muted); font-size: 13px; }
.pick .price { float: right; font: 600 15px var(--f-mono); }

/* дни и время записи */
.days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex-shrink: 0; width: 64px; padding: 10px 0; text-align: center; background: var(--bg-2); border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.day input { position: absolute; opacity: 0; }
.day b { display: block; font: 400 22px/1 var(--f-display); }
.day span { font: 500 11px var(--f-mono); color: var(--muted); text-transform: uppercase; }
.day:has(input:checked) { background: var(--acid); border-color: var(--acid); color: var(--bg); }
.day:has(input:checked) span { color: var(--bg); }
.slots { display: flex; flex-wrap: wrap; gap: 6px; min-height: 46px; }
.slot { padding: 10px 16px; background: var(--bg-2); border: 1px solid var(--line-2); font: 600 15px var(--f-mono); cursor: pointer; transition: all .2s; animation: rise .35s var(--ease) both; }
.slot input { position: absolute; opacity: 0; }
.slot:hover { border-color: var(--muted); }
.slot:has(input:checked) { background: var(--acid); border-color: var(--acid); color: var(--bg); }
.slots .hint { color: var(--muted); font-size: 14px; align-self: center; }

/* ── вход ──────────────────────────────────────────────────────── */
.auth { display: grid; grid-template-columns: 1.1fr 1fr; min-height: calc(100vh - 67px); }
.auth-photo { position: relative; overflow: hidden; background: var(--bg-2); }
.auth-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) contrast(1.1); }
.auth-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--bg)); }
.auth-photo .big { position: absolute; left: 32px; bottom: 28px; z-index: 2; font: 400 clamp(42px, 5vw, 76px)/.9 var(--f-display); text-transform: uppercase; }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 6vw, 96px); max-width: 620px; }
.auth-form form { margin-top: 28px; }
.demo { margin-top: 26px; padding: 14px 16px; border: 1px dashed var(--line-2); font-size: 14px; color: var(--muted); }
.demo code { font: 600 13px var(--f-mono); color: var(--acid); }

/* ── страницы ──────────────────────────────────────────────────── */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.crumbs { font: 500 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.crumbs a:hover { color: var(--acid); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 8px 14px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: all .2s; }
.chips a:hover { color: var(--text); border-color: var(--muted); }
.chips a.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: end; padding: 24px 0; border-bottom: 1px solid var(--line); }
.filters .field { margin: 0; }
.filters .input { height: 42px; font-size: 14px; width: 160px; }
.empty { padding: 72px 24px; text-align: center; border: 1px dashed var(--line-2); margin: 32px 0; }

/* событие */
.ev-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.ev-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.05); animation: zoomout 8s var(--ease) both; }
@keyframes zoomout { from { transform: scale(1.08); } }
.ev-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 2%, rgba(11,11,12,.55) 45%, rgba(11,11,12,.15)); }
.ev-hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 80px; padding-bottom: 36px; }
.ev-hero .d1 { font-size: clamp(38px, 6vw, 88px); margin: 14px 0 10px; max-width: 16ch; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font: 500 15px var(--f-mono); }
.ev-meta span { color: var(--muted); }
.ev-body { display: grid; grid-template-columns: 1fr 400px; gap: clamp(32px, 5vw, 72px); padding: 48px 0 96px; }
.prose { font-size: 17px; line-height: 1.7; color: #CFCFCA; max-width: 64ch; }
.block { margin-top: 56px; }
.block > h2 { font: 400 26px var(--f-display); text-transform: uppercase; margin-bottom: 18px; }
.prog { list-style: none; padding: 0; margin: 0; }
.prog li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.prog li b { font: 600 17px var(--f-mono); color: var(--acid); }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rules li { padding-left: 26px; position: relative; }
.rules li::before { content: '◢'; position: absolute; left: 0; color: var(--acid); font-size: 12px; top: 4px; }

.buy { position: sticky; top: 90px; align-self: start; background: var(--bg-2); border: 1px solid var(--line-2); }
.buy-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.buy-head h3 { font: 400 20px var(--f-display); text-transform: uppercase; }
.tcat { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.tcat b { font-weight: 600; }
.tcat .p { font: 600 16px var(--f-mono); }
.tcat small { color: var(--muted); font-size: 13px; grid-column: 1; }
.tcat .left { font: 500 12px var(--f-mono); color: var(--dim); }
.tcat.vip b { color: var(--acid); }
.buy-foot { padding: 18px 22px 22px; }
.buy-foot .total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.buy-foot .total b { font: 600 26px var(--f-mono); }
.pilot-box { margin-top: 16px; padding: 20px 22px; border: 1px solid var(--acid); }
.pilot-box h3 { font: 400 20px var(--f-display); text-transform: uppercase; color: var(--acid); margin-bottom: 6px; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 38px; }
.stepper button { width: 34px; height: 100%; border: 0; background: none; cursor: pointer; font: 600 18px var(--f-mono); color: var(--muted); transition: background .15s, color .15s; }
.stepper button:hover { background: var(--bg-3); color: var(--text); }
.stepper input { width: 38px; height: 100%; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: 600 15px var(--f-mono); background: transparent; color: var(--text); -moz-appearance: textfield; outline: none; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.stream { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-2); }
.stream iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.review { padding: 18px 0; border-top: 1px solid var(--line); }
.review .who { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.avatar { width: 38px; height: 38px; background: var(--bg-3); border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 13px var(--f-mono); color: var(--acid); flex-shrink: 0; }
.stars { color: var(--acid); letter-spacing: 2px; font-size: 13px; }
.stars .off { color: var(--line-2); }
.rate { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate input { position: absolute; opacity: 0; }
.rate label { font-size: 26px; color: var(--line-2); cursor: pointer; line-height: 1; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: var(--acid); }

/* лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,6,.96); display: flex; align-items: center; justify-content: center; padding: 48px 72px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; transform: scale(.96); transition: transform .4s var(--ease), opacity .2s; }
.lightbox.open img { transform: none; }
.lightbox img.swap { opacity: 0; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--text); font: 400 30px var(--f-mono); cursor: pointer; padding: 12px; opacity: .7; }
.lightbox button:hover { opacity: 1; color: var(--acid); }
.lightbox .x { top: 10px; right: 14px; }
.lightbox .prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .cnt { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font: 500 13px var(--f-mono); color: var(--muted); }

/* корзина, заказ, оплата */
.split { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); padding-top: 36px; padding-bottom: 96px; align-items: start; }
.lines { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 96px 1fr auto auto 28px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line img { width: 96px; height: 72px; object-fit: cover; filter: grayscale(.2); }
.line h3 { font: 400 19px var(--f-display); text-transform: uppercase; margin: 4px 0; }
.line .sum { font: 600 16px var(--f-mono); min-width: 96px; text-align: right; }
.x-btn { background: none; border: 0; color: var(--dim); font-size: 22px; cursor: pointer; padding: 4px; }
.x-btn:hover { color: var(--hot); }
.summary { position: sticky; top: 90px; background: var(--bg-2); border: 1px solid var(--line-2); padding: 22px; }
.summary .kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 18px; }
.summary .total b { font: 600 26px var(--f-mono); }
.badge { display: inline-block; padding: 3px 9px; font: 600 11px/1.5 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.badge.ok { border-color: var(--acid); color: var(--acid); }
.badge.fill { background: var(--acid); border-color: var(--acid); color: var(--bg); }
.badge.warn { border-color: var(--hot); color: var(--hot); }

.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ticket { position: relative; background: var(--bg-2); border: 1px solid var(--line-2); padding: 18px 20px 16px; overflow: hidden; }
.ticket::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--acid); }
.ticket.vip::before { background: var(--hot); }
.ticket.cancelled { opacity: .45; }
.ticket h4 { font: 400 18px var(--f-display); text-transform: uppercase; margin: 6px 0 2px; }
.ticket .code { font: 600 22px var(--f-mono); letter-spacing: .08em; margin-top: 14px; }
.ticket .bars { height: 32px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 5px, transparent 5px 8px, var(--text) 8px 11px, transparent 11px 13px); opacity: .8; }

.gate { min-height: calc(100vh - 67px); display: grid; place-items: center; padding: 40px var(--gut); }
.gate-card { width: 100%; max-width: 460px; background: var(--bg-2); border: 1px solid var(--line-2); }
.gate-head { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font: 500 13px var(--f-mono); color: var(--muted); }
.gate-body { padding: 24px; }
.gate .amount { font: 600 40px var(--f-mono); margin: 4px 0 22px; }
.hint { border: 1px dashed var(--line-2); padding: 12px 14px; font-size: 13px; color: var(--muted); margin: 6px 0 18px; line-height: 1.7; }
.hint code { font: 600 13px var(--f-mono); color: var(--acid); cursor: pointer; border-bottom: 1px dashed var(--acid); }

/* сертификат */
.gift-card { position: relative; aspect-ratio: 1.75; background: var(--acid); color: var(--bg); padding: clamp(18px, 3vw, 34px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.gift-card::after { content: ''; position: absolute; right: -30px; top: -20px; width: 60%; height: 140%; background: repeating-linear-gradient(-28deg, rgba(0,0,0,.07) 0 14px, transparent 14px 28px); }
.gift-card .top-line { display: flex; justify-content: space-between; font: 600 13px var(--f-mono); letter-spacing: .1em; position: relative; z-index: 1; }
.gift-card .hours { font: 400 clamp(56px, 9vw, 110px)/.85 var(--f-display); position: relative; z-index: 1; }
.gift-card .hours small { font-size: .3em; display: block; margin-top: 8px; }
.gift-card .to { position: relative; z-index: 1; font-size: 15px; }
.gift-card .to b { font: 400 22px var(--f-display); display: block; text-transform: uppercase; }
.gift-card .code { font: 600 16px var(--f-mono); letter-spacing: .1em; }

/* кабинет */
.acc-head { display: flex; align-items: center; gap: 18px; padding: 44px 0 0; }
.acc-head .avatar { width: 64px; height: 64px; font-size: 20px; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin: 32px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs a { padding: 12px 0; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .3s; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--text); border-color: var(--acid); }
.tabs a small { font: 500 12px var(--f-mono); color: var(--dim); margin-left: 4px; }
.card { background: var(--bg-2); border: 1px solid var(--line); padding: 20px 22px; margin-bottom: 12px; }
.card-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.card h3 { font: 400 20px var(--f-display); text-transform: uppercase; margin: 4px 0; }
.check-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; font-size: 14px; }
.check-list li { display: flex; gap: 8px; align-items: baseline; }
.check-list .y { color: var(--acid); }
.check-list .n { color: var(--hot); }
.check-list .o { color: var(--dim); }
details.more summary { cursor: pointer; list-style: none; color: var(--acid); font-size: 14px; margin-top: 12px; }
details.more summary::-webkit-details-marker { display: none; }
details.more[open] > :not(summary) { animation: rise .35s var(--ease); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.box { background: var(--bg-2); border: 1px solid var(--line); padding: 22px; margin-bottom: 16px; }
.box > h3 { font: 400 20px var(--f-display); text-transform: uppercase; margin-bottom: 16px; }

/* аренда, о нас, контакты */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 48px; }
.formats div { background: var(--bg); padding: 22px; }
.formats b { display: block; font: 400 20px var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.formats p { color: var(--muted); font-size: 14px; margin: 0; }
.contacts-list div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contacts-list b { font: 400 clamp(20px, 2.4vw, 30px) var(--f-display); text-transform: uppercase; }
.credits { columns: 2; column-gap: 40px; font-size: 13px; color: var(--muted); padding-left: 18px; }
.credits li { break-inside: avoid; margin-bottom: 6px; }
.err-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gut); }
.err-page .code { font: 400 clamp(90px, 16vw, 200px)/1 var(--f-display); color: var(--acid); }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
img.img-failed { visibility: hidden; }

/* ── панель управления ─────────────────────────────────────────── */
.panel { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--bg-2); border-right: 1px solid var(--line); padding: 22px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.side .logo { padding: 0 10px; }
.side .who { margin: 18px 10px 22px; font-size: 13px; color: var(--muted); }
.side .who b { display: block; color: var(--text); font-weight: 600; font-size: 14px; }
.side nav { display: grid; gap: 1px; }
.side nav a { display: flex; justify-content: space-between; padding: 8px 10px; color: var(--muted); font-size: 15px; transition: background .2s, color .2s; border-left: 2px solid transparent; }
.side nav a:hover { color: var(--text); background: var(--bg-3); }
.side nav a.on { color: var(--text); background: var(--bg-3); border-left-color: var(--acid); }
.side nav .n { font: 600 11px/20px var(--f-mono); background: var(--acid); color: var(--bg); padding: 0 7px; }
.side .sep { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 18px 10px 6px; }
.side .bottom { margin-top: auto; padding-top: 20px; display: grid; gap: 2px; }
.side .bottom a, .side .bottom button { padding: 7px 10px; color: var(--muted); background: none; border: 0; text-align: left; cursor: pointer; font-size: 14px; }
.side .bottom a:hover, .side .bottom button:hover { color: var(--acid); }
.main { padding: 32px clamp(20px, 3vw, 44px) 72px; min-width: 0; }
.main-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.main-head h1 { font: 400 clamp(24px, 2.6vw, 34px) var(--f-display); text-transform: uppercase; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 24px; }
.tile { background: var(--bg-2); border: 1px solid var(--line); padding: 16px 18px; }
.tile b { display: block; font: 600 26px var(--f-mono); margin-top: 6px; }
.tile.acid { background: var(--acid); color: var(--bg); border-color: var(--acid); }
.tile.acid .label { color: rgba(0,0,0,.6); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--bg-2); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr:hover td { background: var(--bg-3); }
.t .thumb { width: 64px; height: 44px; object-fit: cover; }
.t .acts { display: flex; gap: 12px; justify-content: flex-end; align-items: center; white-space: nowrap; }
.t select.input { height: 34px; font-size: 13px; width: auto; padding: 0 30px 0 10px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .input { height: 40px; width: auto; min-width: 220px; font-size: 14px; }
.bar { height: 6px; background: var(--bg-3); }
.bar i { display: block; height: 100%; background: var(--acid); }
.pager { display: flex; gap: 4px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); font: 500 14px var(--f-mono); }
.pager a:hover { border-color: var(--acid); color: var(--acid); }
.pager .on { background: var(--acid); color: var(--bg); border-color: var(--acid); }
.pager .off { color: var(--dim); }
.cat-row { display: grid; grid-template-columns: 1.2fr 1fr .8fr .8fr 32px; gap: 8px; margin-bottom: 8px; }

/* ── адаптив ───────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .courses { grid-template-columns: 1fr; }
    .formats { grid-template-columns: 1fr 1fr; }
    .ev-body, .split { grid-template-columns: 1fr 340px; }
    .photos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
    .burger { display: block; }
    .top-act .hide-m { display: none; }
    .nav { position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 4px var(--gut) 14px;
        opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s; }
    .top.open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease), visibility 0s; }
    .nav a { padding: 14px 0; font: 400 20px var(--f-display); text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--line); }
    .nav a.on::after { display: none; }
    .nav a.on { color: var(--acid); }
    .nav .show-m { display: block; }
    .top.open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .top.open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .hero-in { flex-direction: column; align-items: stretch; justify-content: flex-end; }
    .next-card { width: auto; }
    .row { grid-template-columns: 84px 1fr auto; }
    .row .go { display: none; }
    .date-block b { font-size: 36px; }
    .band .wrap { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-grid > :first-child { grid-column: 1 / -1; }
    .ev-body, .split, .cols2 { grid-template-columns: 1fr; }
    .buy, .summary { position: static; }
    .auth { grid-template-columns: 1fr; }
    .auth-photo { min-height: 200px; }
    .auth-photo::after { background: linear-gradient(0deg, var(--bg), transparent 60%); }
    .panel { grid-template-columns: 1fr; }
    .side { position: static; height: auto; }
    .side nav { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .side .bottom { display: flex; flex-wrap: wrap; }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .hero { min-height: 640px; }
    .hero-word { white-space: nowrap; font-size: 31vw; align-items: flex-start; padding-top: 14vh; }
    .countdown b { font-size: 20px; }
    .row { grid-template-columns: 64px 1fr; gap: 14px; padding: 18px 0; }
    .row .price { grid-column: 2; text-align: left; }
    .date-block { flex-direction: column; gap: 2px; }
    .date-block b { font-size: 30px; }
    .photos { grid-template-columns: 1fr 1fr; }
    .formats { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .foot-bottom { flex-direction: column; }
    .row2, .row3 { grid-template-columns: 1fr; }
    .line { grid-template-columns: 72px 1fr 28px; gap: 12px; }
    .line img { width: 72px; height: 72px; }
    .line .stepper-cell, .line .sum { grid-column: 2; text-align: left; }
    .line .x-btn { grid-row: 1; grid-column: 3; }
    .board .car-col, .board .score-col { display: none; }
    .contacts-list div { grid-template-columns: 1fr; gap: 4px; }
    .credits { columns: 1; }
    .videos { grid-template-columns: 1fr; }
    .lightbox { padding: 56px 8px; }
    .cat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .course { padding: 22px; min-width: 0; }
    .course h3 { font-size: 21px; overflow-wrap: anywhere; hyphens: auto; }
    /* первый экран на телефоне: сверху площадка для дрифта, ниже текст */
    .hero { height: auto; max-height: none; min-height: 0; }
    .hero-word { align-items: flex-start; padding-top: 56px; font-size: 27vw; }
    .hero-in { height: auto; padding-top: 290px; }
}
@media (hover: none) {
    .photos .ph span { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .ticker-in { animation: none; }
}
