/* Сайт чемпионата «Пятый элемент». Основа — демка v2 (843072_index.html), без демо-панели. */

/* Шрифт: Raleway из брендбука ЖРБ (OFL), сабсет латиница + кириллица.
   Если заказчик даст лицензию на Noah/Copperplate из демки (Q14) — положить файлы в assets/fonts/
   и раскомментировать блок ниже: стеки --f-head/--f-body уже начинаются с них. */
@font-face { font-family: 'Raleway'; src: url('../fonts/raleway-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/raleway-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
/*
@font-face { font-family: 'Noah'; src: url('../fonts/Noah-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Copperplate'; src: url('../fonts/Copperplate.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Copperplate'; src: url('../fonts/Copperplate-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
*/

:root {
  --ivory: #FEF7E7; --brown: #664630; --green: #223D1E; --dark: #31251C;
  --sand: #F3E8CF; --soft: #9C7B5C; --muted: #6B5A4C; --line: rgba(49,37,28,.16); --white: #fff;
  --radius: 14px; --gutter: 16px; --maxw: 1160px;
  --f-head: 'Copperplate', 'Raleway', 'Trebuchet MS', Arial, sans-serif;
  --f-body: 'Noah', 'Raleway', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--f-body); font-weight: 400; font-synthesis: none; font-variant-numeric: lining-nums; font-size: 17px; line-height: 1.5; color: var(--dark); background: var(--ivory); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; line-height: 1.15; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap > *, .about-grid > *, .coll-grid > *, .guest-grid > * { min-width: 0; }
.section { position: relative; padding: 60px 0; }
.section.sand { background: var(--sand); }
.section h2 { font-size: clamp(23px, 5vw, 36px); }
.lead-sec { margin-top: 14px; max-width: 62ch; color: var(--muted); }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.img-missing { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 10px; font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:active { transform: scale(.985); }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--soft); outline-offset: 2px; }
.btn.light { background: var(--ivory); color: var(--dark); }
.btn.light:hover { background: #fff; }
.btn.green { background: var(--green); color: var(--ivory); }
.btn.green:hover { background: #2D4F28; }
.btn.line { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn.line:hover { background: var(--dark); color: var(--ivory); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: wait; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.btn[aria-disabled="true"]:hover { background: transparent; color: var(--dark); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--ivory); padding: 24px 0 84px; }
.hero .roots { position: absolute; top: 0; right: 2%; width: min(62vw, 330px); height: auto; opacity: .2; pointer-events: none; }
.hero .wrap { position: relative; }
.logo-left { width: 170px; height: auto; }
.logo-text { display: inline-block; font-family: var(--f-head); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); text-decoration: none; line-height: 1.3; }
.logo-text b { display: block; font-size: 22px; letter-spacing: .1em; }
.hero h1 { margin-top: 56px; font-weight: 700; font-size: clamp(30px, 8.2vw, 66px); line-height: 1.1; letter-spacing: .04em; max-width: 13em; color: var(--ivory); }
.second { margin-top: 14px; font-family: var(--f-head); font-size: clamp(18px, 4.4vw, 28px); letter-spacing: .24em; text-transform: uppercase; color: rgba(254,247,231,.78); }
.hero .tag { margin-top: 22px; max-width: 44ch; font-size: clamp(17px, 2.6vw, 20px); color: rgba(254,247,231,.9); }
.panel { margin-top: 30px; max-width: 560px; padding: 20px; border: 1px solid rgba(254,247,231,.25); border-radius: var(--radius); background: rgba(254,247,231,.07); }
.chip { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); animation: pulse 1.9s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(254,247,231,.55); } 70% { box-shadow: 0 0 0 11px rgba(254,247,231,0); } 100% { box-shadow: 0 0 0 0 rgba(254,247,231,0); } }
.timer-wrap { margin-top: 16px; }
.timer-cap { font-size: 14px; color: rgba(254,247,231,.75); }
.timer { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 360px; }
.timer div { padding: 10px 4px 8px; text-align: center; border-radius: 10px; background: rgba(254,247,231,.1); }
.timer b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.timer span { font-size: 11px; color: rgba(254,247,231,.75); text-transform: uppercase; letter-spacing: .1em; }
.panel .btn { margin-top: 18px; width: 100%; }
.edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 46px; pointer-events: none; }
.edge path { fill: var(--ivory); }
.dates { display: inline-block; margin-top: 22px; padding: 10px 18px; border: 1.5px solid var(--ivory); border-radius: 22px; font-family: var(--f-head); font-size: clamp(15px, 3.8vw, 20px); letter-spacing: .1em; text-transform: uppercase; color: var(--ivory); }
.dates b { font-weight: 700; white-space: nowrap; }
.hero-links { margin-top: 14px; }
.hero-links a { font-family: var(--f-head); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory); text-underline-offset: 5px; }

/* partners strip */
.pstrip { padding: 22px 0; background: var(--sand); }
.pstrip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; }
.pstrip p { font-family: var(--f-head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); width: 100%; text-align: center; }
.pstrip img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.pstrip a, .pstrip span { display: block; text-decoration: none; }
.pname { font-family: var(--f-head); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); text-align: center; line-height: 1.25; }

/* about */
.about-grid { margin-top: 28px; display: grid; gap: 30px; }
.about-grid p + p { margin-top: 14px; }
.quote { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--brown); color: var(--ivory); }
.q-photo { width: 84px; height: 84px; margin-bottom: 18px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 2px solid rgba(254,247,231,.55); }
.quote p { font-family: var(--f-head); font-size: 21px; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; }
.quote footer { margin-top: 14px; font-size: 14px; color: rgba(254,247,231,.8); }

/* steps / facts */
.steps { margin-top: 28px; display: grid; gap: 14px; list-style: none; counter-reset: s; }
.steps li { padding: 22px 20px; background: var(--ivory); border-radius: var(--radius); border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--f-head); font-weight: 700; font-size: 38px; line-height: 1; color: var(--soft); }
.steps h3 { margin-top: 12px; font-size: 19px; }
.steps p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.facts { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; list-style: none; background: rgba(254,247,231,.18); border-radius: var(--radius); overflow: hidden; }
.facts li { padding: 18px 16px; background: var(--dark); color: var(--ivory); }
.facts b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 25px; line-height: 1.15; letter-spacing: .03em; }
.facts span { display: block; margin-top: 6px; font-size: 14px; color: rgba(254,247,231,.8); }

/* forms */
.form { margin-top: 28px; display: grid; gap: 18px; max-width: 720px; }
.field label, .field .lab { display: block; margin-bottom: 6px; font-family: var(--f-head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.field input[type=text], .field input[type=tel], .field textarea { width: 100%; padding: 14px; font: inherit; color: var(--dark); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input[type=file] { width: 100%; font: inherit; font-size: 15px; }
.field.invalid input, .field.invalid textarea, .field.invalid .radios label { border-color: #8A2A1A; }
.hint { margin-top: 6px; font-size: 14px; color: var(--muted); }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-family: var(--f-body); font-size: 16px; letter-spacing: 0; text-transform: none; }
.radios input { accent-color: var(--green); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); }
.err { color: #8A2A1A; font-size: 15px; }
.preview { margin-top: 10px; width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.okbox { margin-top: 28px; max-width: 720px; padding: 26px 22px; border-radius: var(--radius); background: var(--green); color: var(--ivory); }
.okbox h3 { font-size: 22px; }
.okbox p { margin-top: 10px; color: rgba(254,247,231,.9); }
.okbox .btn { margin-top: 18px; width: 100%; max-width: 420px; }
.okbox .small { font-size: 14px; color: rgba(254,247,231,.75); }
.okbox .small a { color: var(--ivory); word-break: break-all; }

/* voting */
.banner { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); background: var(--brown); color: var(--ivory); }
.grid-p { margin-top: 28px; display: grid; gap: 14px; list-style: none; }
.pc { display: flex; flex-direction: column; padding: 18px; background: #fff; border-radius: var(--radius); border: 1.5px solid var(--line); }
.pc.win { border-color: var(--brown); box-shadow: 0 0 0 2px rgba(102,70,48,.22); }
.pc .row { display: flex; gap: 14px; align-items: center; }
.pc .photo { flex: none; width: 104px; height: 128px; object-fit: cover; object-position: 50% 22%; border-radius: 10px; background: var(--sand); }
.pc .ptxt { min-width: 0; }
.pc h3 { font-size: 18px; overflow-wrap: anywhere; }
.pc .city { font-size: 14px; color: var(--muted); }
.pc .about-p { margin-top: 12px; flex: 1; font-size: 15px; color: var(--muted); }
.th { flex: none; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: var(--sand); }
.avatar { flex: none; width: 68px; height: 68px; border-radius: 50%; background: var(--sand); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.tagbadge { align-self: flex-start; margin-bottom: 10px; padding: 4px 10px; border-radius: 99px; font-family: var(--f-head); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--green); color: var(--ivory); }
.tagbadge.brown { background: var(--brown); }
.results { margin-top: 28px; padding: 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.results h3 { font-size: 21px; }
.total { margin-top: 6px; font-size: 15px; color: var(--muted); }
.total b { font-weight: 400; color: var(--dark); font-family: var(--f-head); font-size: 17px; letter-spacing: .04em; }
.bars { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; list-style: none; }
.bar-row .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; }
.bar-row .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bar-row .pct { font-family: var(--f-head); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.track { margin-top: 6px; height: 14px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.fill { height: 100%; width: 0; border-radius: 99px; background: var(--soft); transition: width .7s ease; }
.bar-row.lead .fill { background: var(--green); }
.bar-row .cnt { margin-top: 3px; font-size: 13px; color: var(--muted); }
.tgbox { padding: 30px 0; background: var(--green); color: var(--ivory); }
.tgbox .box { display: grid; gap: 18px; align-items: center; padding: 26px 22px; border: 2px solid var(--ivory); border-radius: var(--radius); background: #1B3118; }
.tgbox h2 { font-size: clamp(22px, 5vw, 32px); color: var(--ivory); }
.tgbox p { margin-top: 10px; color: rgba(254,247,231,.9); max-width: 60ch; }
.tgbox .btn { white-space: normal; }
.tg-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.tg-cta p { color: var(--muted); }

/* fight / result */
.versus { margin-top: 26px; display: grid; gap: 14px; }
.vs-card { padding: 22px 20px; border-radius: var(--radius); background: var(--dark); color: var(--ivory); }
.vs-card .avatar { width: 84px; height: 84px; background: rgba(254,247,231,.1); }
.vs-card h3 { margin-top: 14px; font-size: 21px; }
.vs-card p { margin-top: 4px; font-size: 15px; color: rgba(254,247,231,.8); }
.vs-mid { align-self: center; justify-self: center; font-family: var(--f-head); font-weight: 700; font-size: 30px; letter-spacing: .1em; color: var(--soft); }
.info-box { margin-top: 18px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.series { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }

/* belts */
.belts { background: var(--green); color: var(--ivory); overflow: hidden; padding-top: 96px; }
.belts .roots { position: absolute; top: 0; left: 4%; width: min(46vw, 230px); height: auto; opacity: .22; pointer-events: none; }
.belts h2 { color: var(--ivory); }
.belts .lead-sec { color: rgba(254,247,231,.85); }
.belt-grid { margin-top: 28px; display: grid; gap: 14px; list-style: none; }
.belt { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid rgba(254,247,231,.3); background: rgba(254,247,231,.06); }
.belt .ava { position: relative; flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(254,247,231,.5); background: #241E1C; display: flex; align-items: center; justify-content: center; }
.belt .ava .num { font-family: var(--f-head); font-weight: 700; font-size: 36px; color: rgba(254,247,231,.7); }
.belt .ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.belt.has .ava { border-color: var(--ivory); }
.belt .no { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(254,247,231,.75); }
.belt h3 { margin-top: 2px; font-size: 17px; }
.belt .who { margin-top: 6px; font-size: 15px; color: rgba(254,247,231,.9); }
.belt .who.holder { display: flex; align-items: center; gap: 10px; }
.belt .who.empty { color: rgba(254,247,231,.75); }
.belt .hp { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: rgba(254,247,231,.12); }
.belt .trav { margin-top: 6px; font-size: 14px; color: rgba(254,247,231,.75); }

/* archive / venues / partners */
.empty-box { margin-top: 24px; padding: 28px 22px; text-align: center; border: 1.5px dashed var(--soft); border-radius: var(--radius); color: var(--muted); }
.fight { margin-top: 30px; }
.fight h3 { font-size: 20px; }
.fight-sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.vids { margin-top: 14px; display: grid; gap: 12px; list-style: none; }
.vid { position: relative; display: flex; align-items: flex-end; width: 100%; aspect-ratio: 2 / 1; padding: 12px 16px; border-radius: 12px; overflow: hidden; background: var(--dark); color: var(--ivory); text-decoration: none; transition: transform .2s ease; }
a.vid:hover { transform: translateY(-2px); }
.vid .play { position: absolute; top: 46%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--ivory); }
.vid .play::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -11px 0 0 -7px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--dark); }
.vid.soon { opacity: .6; }
.vid.soon .play { display: none; }
.vid b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.vid i { display: block; margin-top: 2px; font-style: normal; font-size: 14px; color: rgba(254,247,231,.82); }
.venues { margin-top: 28px; display: grid; gap: 14px; list-style: none; counter-reset: v; }
.venue { position: relative; display: flex; flex-direction: column; padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.venue::before { counter-increment: v; content: "0" counter(v); font-family: var(--f-head); font-weight: 700; font-size: 38px; line-height: 1; color: var(--soft); }
.venue-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.vphoto { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--sand); }
.vphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vphoto em { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 99px; background: rgba(49,37,28,.78); color: var(--ivory); font-style: normal; font-family: var(--f-head); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.venue h3 { margin-top: 12px; font-size: 19px; }
.venue p { margin-top: 8px; flex: 1; font-size: 16px; color: var(--muted); }
.venue .stove { align-self: flex-start; margin-top: 16px; padding: 7px 14px; border-radius: 99px; background: var(--brown); color: var(--ivory); font-family: var(--f-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.venue .by { margin-top: 14px; font-size: 14px; color: var(--muted); }
.stove-by { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stove-by p { font-size: 16px; }
.stove-by .logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.stove-by img { width: auto; max-width: 140px; max-height: 40px; }
.venues-note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.sponsors-sec { background: var(--green); color: var(--ivory); }
.sponsors-sec h2 { color: var(--ivory); }
.sponsors-sec .lead-sec { color: rgba(254,247,231,.85); }
.partners { margin-top: 30px; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; }
.partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 150px; padding: 22px 18px; border-radius: var(--radius); background: var(--ivory); box-shadow: 0 8px 24px rgba(0,0,0,.22); text-decoration: none; transition: transform .15s; }
.partner img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
a.partner:hover { transform: translateY(-3px); }
.partner .role { font-size: 13px; color: var(--muted); text-align: center; }
.drevo-note { margin-top: 16px; display: grid; gap: 18px; align-items: center; padding: 26px 22px; border-radius: var(--radius); background: var(--dark); color: var(--ivory); }
.drevo-note > img { width: 200px; height: auto; }
.drevo-note p { font-size: 18px; line-height: 1.45; max-width: 46ch; }
.drevo-gallery { grid-column: 1 / -1; margin-top: 4px; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.drevo-gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #241E1C; }
.drevo-gallery img:first-child { grid-column: span 2; }
.next-apply { max-width: 62ch; }

/* why */
.why { background: var(--dark); color: var(--ivory); }
.why h2 { color: var(--ivory); }
.why .lead-sec { color: rgba(254,247,231,.82); }
.why-grid { margin-top: 28px; display: grid; gap: 14px; list-style: none; }
.why-grid li { padding: 22px 20px; border-radius: var(--radius); background: rgba(254,247,231,.08); border: 1px solid rgba(254,247,231,.22); }
.why-grid b { display: block; font-family: var(--f-head); font-size: 21px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; }
.why-grid span { display: block; margin-top: 8px; font-size: 16px; color: rgba(254,247,231,.82); }

/* collective + guests */
.coll { background: var(--green); color: var(--ivory); border-top: 8px solid var(--soft); border-bottom: 8px solid var(--soft); }
.coll h2 { color: var(--ivory); }
.kicker { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--ivory); color: var(--green); font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.coll .lead-sec { color: rgba(254,247,231,.88); max-width: 66ch; }
.coll .when { margin-top: 18px; font-family: var(--f-head); font-weight: 700; font-size: clamp(26px, 6.5vw, 44px); letter-spacing: .05em; text-transform: uppercase; color: var(--ivory); }
.coll .when span { font-size: .5em; letter-spacing: .12em; font-weight: 400; color: rgba(254,247,231,.8); display: block; margin-top: 4px; }
.coll .facts { background: rgba(254,247,231,.25); }
.coll .facts li { background: #1B3118; }
.coll-grid, .guest-grid { margin-top: 30px; display: grid; gap: 28px; }
.coll .rules { list-style: none; display: grid; gap: 10px; }
.coll .rules li { padding: 14px 16px; border-radius: 12px; background: rgba(254,247,231,.1); font-size: 16px; }
.coll .rules b { font-family: var(--f-head); letter-spacing: .04em; }
.coll-form { padding: 24px 20px; border-radius: var(--radius); background: var(--ivory); color: var(--dark); }
.coll-form h3 { font-size: 22px; color: var(--green); }
.coll-form .warn { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--sand); font-size: 15px; color: var(--brown); }
.coll-form .form { margin-top: 18px; max-width: none; }
.coll-form .okbox { margin-top: 18px; }
.coll-form .okbox h3 { color: var(--ivory); }
.guest { background: var(--sand); }
.guest h2 { max-width: 26ch; }
.guest .price { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.guest .price li { padding: 16px 20px; border-radius: var(--radius); background: var(--dark); color: var(--ivory); }
.guest .price b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 25px; letter-spacing: .03em; line-height: 1.15; }
.guest .price span { display: block; margin-top: 4px; font-size: 14px; color: rgba(254,247,231,.8); }
.guest .coll-form { border: 1px solid var(--line); }

/* socials / footer */
.watch { margin-top: 22px; }
.watch p { color: var(--muted); max-width: 62ch; }
.watch p a { color: var(--brown); font-weight: 700; text-underline-offset: 3px; }
.social-links { margin-top: 16px; display: grid; gap: 12px; grid-template-columns: 1fr; list-style: none; }
.social-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 14px 20px; border-radius: var(--radius); background: var(--dark); color: var(--ivory); text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.social-links a::after { content: "→"; font-size: 22px; color: var(--soft); }
.social-links a:hover { background: var(--green); }
footer.site { background: var(--dark); color: var(--ivory); padding: 44px 0 52px; }
footer.site .logo-main { width: 118px; height: auto; }
footer.site p { margin-top: 18px; max-width: 60ch; font-size: 15px; color: rgba(254,247,231,.85); }
footer.site .links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
footer.site .links a { color: rgba(254,247,231,.92); text-underline-offset: 3px; }
footer.site .foot-social { margin-top: 22px; }
footer.site .foot-social h3 { font-size: 14px; letter-spacing: .14em; color: rgba(254,247,231,.75); }
footer.site .social-links { margin-top: 12px; grid-template-columns: repeat(2, 1fr); max-width: 760px; }
footer.site .social-links a { min-height: 54px; padding: 10px 16px; font-size: 15px; background: transparent; border: 1.5px solid rgba(254,247,231,.5); }
footer.site .social-links a:hover { background: var(--ivory); color: var(--dark); border-color: var(--ivory); }

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  body { font-size: 18px; }
  .section { padding: 76px 0; }
  .belts { padding-top: 110px; }
  .about-grid { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 46px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .grid-p { grid-template-columns: 1fr 1fr; }
  .pc .row { flex-direction: column; align-items: stretch; gap: 12px; }
  .pc .photo { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .belt-grid { grid-template-columns: 1fr 1fr; }
  .venues { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vids { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vid { aspect-ratio: 16 / 9; }
  .partner { height: 190px; }
  .drevo-note { grid-template-columns: auto 1fr; gap: 36px; }
  .drevo-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .drevo-gallery img:first-child { grid-column: auto; }
  .versus { grid-template-columns: 1fr auto 1fr; }
  .logo-left { width: 220px; }
  .hero { padding: 32px 0 100px; }
  .hero h1 { margin-top: 84px; }
  .hero .roots { right: 6%; width: 400px; opacity: .24; }
  .edge { height: 62px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .pstrip img { height: 46px; }
  .social-links { grid-template-columns: repeat(2, 1fr); }
  footer.site .social-links { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 800px) { .tgbox .box { grid-template-columns: 1fr auto; gap: 34px; padding: 32px 36px; } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .belt-grid { grid-template-columns: repeat(3, 1fr); }
  .hero .roots { width: 520px; }
  .coll-grid, .guest-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .social-links { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) { .grid-p { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .fill { transition: none; }
}
