/* ==========================================================================
   ЗАНОС — светлый минимализм
   Тёплый «бумажный» фон, чёрный текст, один акцент — гоночный красный.
   Шрифт Geologica: заголовки с лёгким наклоном (ощущение скорости), цифры — IBM Plex Mono.
   ========================================================================== */
:root {
    --bg: #F5F4F0;
    --card: #FFFFFF;
    --soft: #ECEBE6;
    --ink: #141414;
    --ink-2: #5E5E59;
    --ink-3: #9A9993;
    --line: #E2E0DA;
    --line-2: #CFCDC6;
    --red: #E10600;
    --red-2: #B80500;
    --red-soft: #FCE9E8;

    --f: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
    --wrap: 1240px;
    --gut: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --tabbar: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f); -webkit-font-smoothing: antialiased; padding-bottom: var(--tabbar); }
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: 700; }
p { margin: 0 0 1em; }
em { font-style: normal; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.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); font-weight: 750; letter-spacing: -.035em; line-height: 1; font-variation-settings: 'slnt' -8; }
.d1 { font-size: clamp(40px, 6vw, 84px); }
.d2 { font-size: clamp(28px, 3.4vw, 46px); }
.d3 { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.15; letter-spacing: -.02em; }
.acid, .d1 em, .d2 em { color: var(--red); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.mono { font-family: var(--f-mono); font-weight: 500; }
.label { font-size: 13px; color: var(--ink-2); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 54ch; }

/* ── кнопки ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 0;
    background: transparent; color: var(--ink); font: 600 15px/1 var(--f);
    cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-acid { background: var(--red); border-color: var(--red); color: #fff; }
.btn-acid:hover { background: var(--red-2); border-color: var(--red-2); }
.btn-light { background: var(--ink); color: #fff; }
.btn-light:hover { background: var(--red); border-color: var(--red); }
.btn-dark { background: #fff; border-color: #fff; color: var(--ink); }
.btn-dark:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-sending { opacity: .45; pointer-events: none; }
.link { color: var(--red); }
.link:hover { text-decoration: underline; }
.link-danger { background: none; border: 0; padding: 0; color: var(--red); 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(245, 244, 240, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 40px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo svg { width: 34px; height: 22px; }
.logo b { font: 800 20px/1 var(--f); letter-spacing: -.03em; font-variation-settings: 'slnt' -10; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { font-size: 15px; color: var(--ink-2); transition: color .2s; position: relative; padding: 4px 0; }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); }
.top-act { display: flex; align-items: center; gap: 14px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1.5px solid var(--red); color: var(--red); font: 600 12px var(--f-mono); letter-spacing: .08em; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.icon-link { position: relative; display: inline-flex; color: var(--ink-2); padding: 6px; transition: color .2s; }
.icon-link:hover { color: var(--ink); }
.icon-link .count { position: absolute; top: -2px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--red); color: #fff; font: 600 11px/18px var(--f-mono); text-align: center; border-radius: 9px; }
.burger, .nav .show-m { display: none; }

/* нижняя панель навигации на телефоне (вместо выпадающего меню) */
.tabbar { display: none; }

/* ── уведомления ───────────────────────────────────────────────── */
.flash { background: var(--ink); color: #fff; 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(--red); }
.flash.hide { opacity: 0; max-height: 0; }
.flash ul { margin: 0; padding: 0; list-style: none; }
@keyframes drop { from { transform: translateY(-100%); } }

/* ── главная: первый экран ─────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy .tag { display: inline-block; font-size: 13px; color: var(--ink-2); margin-bottom: 20px; }
.hero-copy .tag b { color: var(--red); font-weight: 600; }
.hero-title { font-size: clamp(48px, 7.4vw, 104px); font-weight: 800; line-height: .92; letter-spacing: -.045em; font-variation-settings: 'slnt' -10; margin: 0 0 24px; }
.hero-title em { color: var(--red); }
.hero-copy p { color: var(--ink-2); max-width: 44ch; margin-bottom: 28px; font-size: 17px; }
.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(16px); } }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s; animation: rise .9s var(--ease) .1s both; }
.hero-photo:hover img { filter: grayscale(0); }
.next-card { position: absolute; left: -40px; bottom: 28px; width: min(320px, 90%); background: var(--card); border: 1px solid var(--line); padding: 18px 20px; box-shadow: 0 16px 40px rgba(20, 20, 20, .08); animation: rise .8s var(--ease) .35s both; transition: transform .3s var(--ease); }
.next-card:hover { transform: translateY(-3px); }
.next-card .label { display: flex; justify-content: space-between; }
.next-card h3 { font-size: 20px; letter-spacing: -.02em; margin: 8px 0 2px; line-height: 1.15; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 14px 0 16px; }
.countdown div { background: var(--bg); padding: 7px 2px; text-align: center; }
.countdown b { display: block; font: 600 20px/1 var(--f-mono); }
.countdown span { font-size: 11px; color: var(--ink-2); }

/* изюминка: след шин, который «прорисовывается» через весь первый экран */
.trace { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.trace path { fill: none; stroke: var(--line-2); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.4s var(--ease) .3s forwards; opacity: .55; }
.trace path + path { animation-delay: .42s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ── секции ────────────────────────────────────────────────────── */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head .d2 span { color: var(--red); }
.sec-head a { font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.sec-head a:hover { color: var(--red); border-color: var(--red); }

/* лента афиши */
.feed { border-top: 1.5px solid var(--ink); }
.row { position: relative; display: grid; grid-template-columns: 96px 1fr auto auto; align-items: center; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background .25s, padding .3s var(--ease); }
.row:hover { background: var(--card); padding-left: 14px; }
.date-block { display: flex; align-items: baseline; gap: 6px; }
.date-block b { font: 750 40px/1 var(--f); letter-spacing: -.04em; font-variation-settings: 'slnt' -8; }
.date-block span { font-size: 12px; line-height: 1.25; color: var(--ink-2); text-transform: uppercase; }
.row h3 { font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -.02em; margin: 6px 0 2px; transition: color .2s; }
.row:hover h3 { color: var(--red); }
.row .meta { color: var(--ink-2); font-size: 14px; }
.row .price { font: 600 16px var(--f-mono); text-align: right; white-space: nowrap; }
.row .price small { display: block; font: 400 12px var(--f); color: var(--ink-3); }
.type { display: inline-block; padding: 2px 8px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); }
.type.competition { border-color: var(--red); color: var(--red); }
.type.show { border-color: var(--ink); color: var(--ink); }
.type.free { background: var(--red); border-color: var(--red); color: #fff; }
.month { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 28px 4px 10px; }

/* программы школы */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.course { background: var(--card); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; transition: border-color .25s, transform .3s var(--ease); min-width: 0; }
a.course:hover { border-color: var(--ink); transform: translateY(-3px); }
.course .lvl { font-size: 13px; color: var(--red); font-weight: 500; }
.course h3 { font-size: 23px; letter-spacing: -.025em; margin: 10px 0 8px; font-variation-settings: 'slnt' -6; overflow-wrap: anywhere; }
.course p { color: var(--ink-2); font-size: 15px; }
.course ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: 14px; }
.course li::before { content: '—'; color: var(--red); margin-right: 8px; }
.course .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.course .foot b { font: 600 19px var(--f-mono); }
.course .foot small { color: var(--ink-2); font-size: 13px; }

/* ── гараж: машины выезжают при наведении ──────────────────────── */
.garage { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.bay { position: relative; background: var(--card); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color .25s; }
.bay:hover { border-color: var(--ink); }
.bay-stage { position: relative; height: 140px; overflow: hidden; background: linear-gradient(180deg, transparent 0 76%, var(--soft) 76% 100%); }
.bay-stage::before { content: ''; position: absolute; left: 0; top: 0; bottom: 24%; width: 30%; z-index: 3;
    background: repeating-linear-gradient(180deg, #DAD8D2 0 9px, #D1CFC8 9px 11px); border-right: 2px solid var(--line-2); }
.bay-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 11%; height: 2px; z-index: 1; background: repeating-linear-gradient(90deg, var(--line-2) 0 20px, transparent 20px 36px); }
.car { position: absolute; z-index: 2; bottom: 6%; left: 0; width: 94%; transform: translateX(-30%); transition: transform 1.1s var(--ease); }
.car svg { width: 100%; height: auto; overflow: visible; }
.car .body { 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; fill: #C9C7C0; }
.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 { 18% { transform: rotate(-2deg) translateY(1px); } 60% { transform: rotate(.5deg); } }
@keyframes puff { 0% { opacity: 0; transform: scale(.3); } 15% { opacity: .7; } 100% { opacity: 0; transform: scale(2.6) translate(-18px, -8px); } }
.bay-info { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.bay-info .name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.bay-info h3 { font-size: 19px; letter-spacing: -.02em; font-variation-settings: 'slnt' -6; }
.bay-info .hp { font: 600 13px var(--f-mono); color: var(--red); white-space: nowrap; }
.bay-info p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.bay-info .specs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
label.bay { cursor: pointer; }
label.bay input { position: absolute; opacity: 0; }
label.bay:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
label.bay:has(input:checked) .car { transform: translateX(6%); }
label.bay:has(input:checked) .bay-info h3 { color: var(--red); }
label.bay:has(input:focus-visible) { outline: 2px solid var(--red); }

/* рейтинг */
.board { width: 100%; border-collapse: collapse; }
.board th { text-align: left; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 0 12px 10px; border-bottom: 1.5px solid var(--ink); }
.board td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.board tbody tr:hover { background: var(--card); }
.board .pos { font: 750 22px var(--f); color: var(--ink-3); width: 56px; font-variation-settings: 'slnt' -8; }
.board tr:first-child .pos { color: var(--red); }
.board .pilot { font-weight: 600; }
.board .time { font: 600 17px var(--f-mono); }
.board tr:first-child .time { color: var(--red); }
.board .gap { font: 500 14px var(--f-mono); color: var(--ink-2); }
.board .num { text-align: right; }

/* медиа */
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.photos .ph { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); 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(1); transition: transform .9s var(--ease), filter .5s; }
.photos .ph:hover img { transform: scale(1.04); filter: none; }
.photos .ph span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.65)); font-size: 13px; text-align: left; opacity: 0; transition: opacity .3s; color: #fff; }
.photos .ph:hover span { opacity: 1; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.video { background: var(--card); 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(--ink); color: #fff; }
.band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(44px, 6vw, 80px); }
.band .d2 em, .band .acid { color: var(--red); }
.band p { color: #B5B4AE; font-size: 17px; max-width: 46ch; }
.band .btn { border-color: #fff; color: #fff; }
.band .btn:hover { background: #fff; color: var(--ink); }
.band .btn-dark { background: #fff; color: var(--ink); }
.band .btn-dark:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ── подвал ────────────────────────────────────────────────────── */
.foot-site { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-site h4 { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.foot-site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
.foot-site a:hover { color: var(--red); }
.foot-site .slogan { font-size: 22px; font-weight: 750; letter-spacing: -.03em; line-height: 1.05; margin: 16px 0 0; font-variation-settings: 'slnt' -8; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ── формы ─────────────────────────────────────────────────────── */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 6px; font-size: 13px; color: var(--ink-2); }
.field > span i { color: var(--red); font-style: normal; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), .field select, .field textarea {
    width: 100%; height: 48px; padding: 0 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: 0;
    font-size: 16px; color: var(--ink); outline: none; transition: border-color .2s;
}
.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='%23141414' 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(--ink); }
.field input[type=file] { font-size: 14px; color: var(--ink-2); }
.field input[type=file]::file-selector-button { background: var(--card); border: 1px solid var(--line-2); padding: 8px 14px; margin-right: 12px; cursor: pointer; }
.field .err, .err-text { display: block; margin-top: 6px; font-size: 13px; color: var(--red); }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); flex-shrink: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; padding: 0; }

.picks { display: grid; gap: 8px; }
.picks.cols { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pick { position: relative; display: block; padding: 15px 16px; background: var(--card); border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pick input { position: absolute; opacity: 0; }
.pick:hover { border-color: var(--ink-3); }
.pick:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.pick:has(input:checked) b { color: var(--red); }
.pick:has(input:focus-visible) { outline: 2px solid var(--red); }
.pick b { display: block; font-weight: 600; transition: color .2s; }
.pick small { color: var(--ink-2); font-size: 13px; }
.pick .price { float: right; font: 600 14px var(--f-mono); }

.days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { position: relative; flex-shrink: 0; width: 62px; padding: 9px 0; text-align: center; background: var(--card); border: 1px solid var(--line-2); cursor: pointer; transition: all .2s; }
.day input { position: absolute; opacity: 0; }
.day b { display: block; font: 700 21px/1.1 var(--f); }
.day span { font-size: 11px; color: var(--ink-2); text-transform: uppercase; }
.day:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.day:has(input:checked) span { color: #fff; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; min-height: 46px; }
.slot { position: relative; padding: 10px 15px; background: var(--card); 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(--ink); }
.slot:has(input:checked) { background: var(--red); border-color: var(--red); color: #fff; }
.slots .hint { color: var(--ink-2); font-size: 14px; align-self: center; border: 0; padding: 0; margin: 0; }

/* ── вход ──────────────────────────────────────────────────────── */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 65px); }
.auth-photo { position: relative; overflow: hidden; background: var(--soft); }
.auth-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.auth-photo .big { position: absolute; left: 28px; bottom: 24px; z-index: 2; color: #fff; font-size: clamp(38px, 4.4vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: .95; font-variation-settings: 'slnt' -10; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.auth-photo .big .acid { color: #fff; border-bottom: 5px solid var(--red); }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 6vw, 88px); max-width: 600px; }
.auth-form form { margin-top: 26px; }
.demo { margin-top: 24px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.demo code { font: 600 13px var(--f-mono); color: var(--ink); }

/* ── страницы ──────────────────────────────────────────────────── */
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.crumbs a:hover { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { padding: 7px 14px; border: 1px solid var(--line-2); background: var(--card); font-size: 14px; color: var(--ink-2); transition: all .2s; }
.chips a:hover { color: var(--ink); border-color: var(--ink-3); }
.chips a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: end; padding: 22px 0; border-bottom: 1px solid var(--line); }
.filters .field { margin: 0; }
.filters .input { height: 40px; font-size: 14px; width: 160px; }
.filters form { flex-wrap: wrap; max-width: 100%; }
.filters > div { min-width: 0; max-width: 100%; }
.empty { padding: 64px 24px; text-align: center; border: 1px dashed var(--line-2); margin: 28px 0; background: var(--card); }

/* событие: фото сверху, заголовок на светлом фоне */
.ev-hero { border-bottom: 1px solid var(--line); }
.ev-hero img { width: 100%; height: clamp(240px, 42vw, 460px); object-fit: cover; filter: grayscale(.15); }
.ev-hero .wrap { padding-top: 26px; padding-bottom: 30px; }
.ev-hero .d1 { font-size: clamp(34px, 5vw, 68px); margin: 12px 0 10px; max-width: 18ch; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; }
.ev-meta span { color: var(--ink-2); }
.ev-body { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); padding-top: 40px; padding-bottom: 88px; }
.prose { font-size: 17px; line-height: 1.7; max-width: 64ch; }
.block { margin-top: 48px; }
.block > h2 { font-size: 23px; letter-spacing: -.02em; margin-bottom: 16px; font-variation-settings: 'slnt' -6; }
.prog { list-style: none; padding: 0; margin: 0; }
.prog li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.prog li b { font: 600 16px var(--f-mono); color: var(--red); }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rules li { padding-left: 22px; position: relative; }
.rules li::before { content: ''; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; background: var(--red); }

.buy { position: sticky; top: 84px; align-self: start; background: var(--card); border: 1px solid var(--line); z-index: 2; }
.buy-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.buy-head h3 { font-size: 19px; }
.tcat { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.tcat b { font-weight: 600; }
.tcat .p { font: 600 15px var(--f-mono); }
.tcat small { color: var(--ink-2); font-size: 13px; grid-column: 1; }
.tcat .left { font-size: 12px; color: var(--red); }
.tcat.vip b { color: var(--red); }
.buy-foot { padding: 16px 20px 20px; }
.buy-foot .total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.buy-foot .total b { font: 600 24px var(--f-mono); }
.pilot-box { margin-top: 12px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); }
.pilot-box h3 { font-size: 19px; margin-bottom: 6px; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 36px; background: var(--card); }
.stepper button { width: 32px; height: 100%; border: 0; background: none; cursor: pointer; font: 600 17px var(--f-mono); color: var(--ink-2); }
.stepper button:hover { background: var(--soft); color: var(--ink); }
.stepper input { width: 36px; 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; -moz-appearance: textfield; outline: none; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.stream { position: relative; aspect-ratio: 16 / 9; background: #000; }
.stream iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.review { padding: 16px 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(--soft); display: grid; place-items: center; font: 600 13px var(--f-mono); color: var(--ink); flex-shrink: 0; border-radius: 50%; }
.stars { color: var(--red); 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(--red); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(245, 244, 240, .97); 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(.97); 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(--ink); font: 400 30px var(--f-mono); cursor: pointer; padding: 12px; }
.lightbox button:hover { color: var(--red); }
.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(--ink-2); }

/* корзина, заказ, оплата */
.split { display: grid; grid-template-columns: 1fr 370px; gap: clamp(32px, 5vw, 64px); padding-top: 32px; padding-bottom: 88px; align-items: start; }
.lines { border-top: 1.5px solid var(--ink); }
.line { display: grid; grid-template-columns: 92px 1fr auto auto 28px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 92px; height: 68px; object-fit: cover; }
.line h3 { font-size: 18px; letter-spacing: -.02em; margin: 3px 0; }
.line .sum { font: 600 15px var(--f-mono); min-width: 92px; text-align: right; }
.x-btn { background: none; border: 0; color: var(--ink-3); font-size: 22px; cursor: pointer; padding: 4px; }
.x-btn:hover { color: var(--red); }
.summary { position: sticky; top: 84px; background: var(--card); border: 1px solid var(--line); padding: 20px; z-index: 2; }
.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: 14px 0 16px; }
.summary .total b { font: 600 24px var(--f-mono); }
.badge { display: inline-block; padding: 2px 9px; font-size: 12px; font-weight: 500; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; background: var(--card); }
.badge.ok { border-color: var(--ink); color: var(--ink); }
.badge.fill { background: var(--ink); border-color: var(--ink); color: #fff; }
.badge.warn { border-color: var(--red); color: var(--red); background: var(--red-soft); }

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

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

/* сертификат */
.gift-card { position: relative; aspect-ratio: 1.75; background: var(--card); border: 1px solid var(--line); padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; box-shadow: 0 20px 50px rgba(20,20,20,.08); }
.gift-card::after { content: ''; position: absolute; right: -10%; bottom: -30%; width: 70%; height: 120%; border: 7px solid var(--line); border-color: var(--line) transparent transparent transparent; border-radius: 50%; transform: rotate(-18deg); }
.gift-card .top-line { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; letter-spacing: .04em; position: relative; z-index: 1; }
.gift-card .top-line span:last-child { color: var(--red); }
.gift-card .hours { font-size: clamp(56px, 9vw, 104px); font-weight: 800; line-height: .85; letter-spacing: -.05em; font-variation-settings: 'slnt' -10; position: relative; z-index: 1; }
.gift-card .hours small { font-size: .2em; display: block; margin-top: 10px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.gift-card .to { position: relative; z-index: 1; font-size: 15px; }
.gift-card .to b { font-size: 21px; display: block; letter-spacing: -.02em; }
.gift-card .code { font: 600 15px var(--f-mono); letter-spacing: .08em; color: var(--red); }

/* кабинет */
.acc-head { display: flex; align-items: center; gap: 16px; padding: 40px 0 0; }
.acc-head .avatar { width: 58px; height: 58px; font-size: 18px; }
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin: 28px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs a { padding: 11px 0; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .3s; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-color: var(--red); }
.tabs a small { font: 500 12px var(--f-mono); color: var(--ink-3); margin-left: 4px; }
.card { background: var(--card); border: 1px solid var(--line); padding: 18px 20px; margin-bottom: 10px; }
.card-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.card h3 { font-size: 19px; letter-spacing: -.02em; 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(--ink); font-weight: 700; }
.check-list .n { color: var(--red); font-weight: 700; }
.check-list .o { color: var(--ink-3); }
details.more summary { cursor: pointer; list-style: none; color: var(--red); 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: 14px; align-items: start; }
.box { background: var(--card); border: 1px solid var(--line); padding: 20px; margin-bottom: 14px; }
.box > h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 14px; }

.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 40px; }
.formats div { background: var(--card); border: 1px solid var(--line); padding: 20px; }
.formats b { display: block; font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; font-variation-settings: 'slnt' -6; }
.formats p { color: var(--ink-2); font-size: 14px; margin: 0; }
.contacts-list div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contacts-list b { font-size: clamp(20px, 2.2vw, 27px); letter-spacing: -.02em; }
.credits { columns: 2; column-gap: 40px; font-size: 13px; color: var(--ink-2); 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-size: clamp(90px, 15vw, 180px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--red); font-variation-settings: 'slnt' -10; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
img.img-failed { visibility: hidden; }

/* ── панель управления ─────────────────────────────────────────── */
.panel { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.side { background: var(--card); border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.side .logo { padding: 0 10px; }
.side .who { margin: 16px 10px 20px; font-size: 13px; color: var(--ink-2); }
.side .who b { display: block; color: var(--ink); 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(--ink-2); font-size: 15px; transition: background .2s, color .2s; border-left: 2px solid transparent; }
.side nav a:hover { color: var(--ink); background: var(--bg); }
.side nav a.on { color: var(--ink); background: var(--bg); border-left-color: var(--red); font-weight: 500; }
.side nav .n { font: 600 11px/20px var(--f-mono); background: var(--red); color: #fff; padding: 0 7px; border-radius: 10px; }
.side .sep { font-size: 12px; color: var(--ink-3); margin: 16px 10px 4px; }
.side .bottom { margin-top: auto; padding-top: 20px; display: grid; gap: 2px; }
.side .bottom a, .side .bottom button { padding: 7px 10px; color: var(--ink-2); background: none; border: 0; text-align: left; cursor: pointer; font-size: 14px; }
.side .bottom a:hover, .side .bottom button:hover { color: var(--red); }
.main { padding: 30px clamp(20px, 3vw, 44px) 72px; min-width: 0; }
.main-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.main-head h1 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; font-variation-settings: 'slnt' -8; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 22px; }
.tile { background: var(--card); border: 1px solid var(--line); padding: 16px 18px; }
.tile b { display: block; font: 600 24px var(--f-mono); margin-top: 6px; }
.tile.acid { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile.acid .label { color: #B5B4AE; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--card); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg); }
.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr:hover td { background: #FAFAF7; }
.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: 38px; width: auto; min-width: 220px; font-size: 14px; }
.bar { height: 6px; background: var(--soft); }
.bar i { display: block; height: 100%; background: var(--red); }
.pager { display: flex; gap: 4px; justify-content: center; margin-top: 30px; 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); background: var(--card); }
.pager a:hover { border-color: var(--ink); }
.pager .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager .off { color: var(--ink-3); }
.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 330px; }
    .photos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
    /* на телефоне и планшете: компактная шапка + нижняя панель навигации, как в приложении */
    :root { --tabbar: calc(62px + env(safe-area-inset-bottom)); }
    .nav, .top-act .hide-m, .top-act .icon-link { display: none; }
    .top-in { height: 56px; justify-content: space-between; }
    .top-act .mobile-cta { display: inline-flex; }
    .tabbar {
        display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--tabbar); padding-bottom: env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    }
    .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--ink-3); transition: color .2s; }
    .tabbar a svg { width: 22px; height: 22px; }
    .tabbar a.on { color: var(--ink); }
    .tabbar a.on::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--red); }
    .tabbar .count { position: absolute; top: 6px; left: 54%; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff; font: 600 10px/16px var(--f-mono); text-align: center; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-photo img { aspect-ratio: 16 / 11; }
    .next-card { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 14px 0; }
    .row { grid-template-columns: 80px 1fr auto; }
    .row .go { display: none; }
    .date-block b { font-size: 32px; }
    .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: 190px; }
    .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; }
    .panel ~ .tabbar, body:has(.panel) .tabbar { display: none; }
    body:has(.panel) { padding-bottom: 0; }
}
.mobile-cta { display: none; }
@media (max-width: 640px) {
    body { font-size: 15px; }
    .hero { padding-top: 24px; }
    .hero-title { font-size: 15vw; }
    .row { grid-template-columns: 58px 1fr; gap: 14px; padding: 16px 0; }
    .row:hover { padding-left: 0; }
    .row .price { grid-column: 2; text-align: left; }
    .date-block { flex-direction: column; gap: 2px; }
    .date-block b { font-size: 28px; }
    .course { padding: 20px; }
    .course h3 { font-size: 21px; }
    .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: 68px 1fr 28px; gap: 12px; }
    .line img { width: 68px; height: 68px; }
    .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; }
    .filters form .field { flex: 1 1 130px; }
    .filters .input { width: 100%; }
}
@media (hover: none) { .photos .ph span { opacity: 1; } .photos img { filter: none; } }
@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; }
    .trace path { stroke-dashoffset: 0; }
}
