/* ==========================================================
   Phones & tablets (<= 1024px). Loaded via media attribute.
   --w = width of the content column (max 720px on tablets)
   ========================================================== */
:root { --w: min(100vw, 720px); }
html { zoom: 1 !important; }
body { min-width: 0; max-width: 720px; margin: 0 auto; font-size: 16px; line-height: 1.2; }
.container { width: auto; margin-left: 16px; margin-right: 16px; }
br { display: none; }
.about__title br, .h-section br, .sport__title br, .hero__quote br, .stats__photo-text br { display: inline; }
.h-section { font-size: clamp(40px, calc(var(--w) * .135), 84px) !important; line-height: 1.02 !important; margin: 0 !important; }
.h-section br { display: block; }
section[id] { scroll-margin-top: 84px; }
.js [data-reveal="left"], .js [data-reveal="right"] { --rx: 0px; --ry: 30px; }

/* ---------- Header ---------- */
.header { top: 12px; }
.header__bar { position: relative; width: auto; height: 56px; margin: 0 12px; padding: 0 8px 0 18px; border-radius: 28px; gap: 10px; }
.logo { order: 0; gap: 8px; }
.logo__text { font-size: 22px; }
.logo__rings { width: 44px; height: 21px; }
.strava { order: 2; margin-left: auto; height: 38px; padding: 0 12px; gap: 8px; font-size: 16px; border-radius: 10px; }
.strava svg { width: 14px; height: 18px; }
.burger { order: 3; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease-out); }
.header.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.header.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav { position: absolute; left: 0; right: 0; top: 64px; margin: 0; padding: 12px 22px; flex-direction: column; gap: 0; background: var(--accent); border-radius: 28px; box-shadow: 0 20px 40px -18px rgba(120,10,10,.6); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
.header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav__link { font-size: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.nav__link:last-child { border-bottom: 0; }
.nav__link::after { display: none; }
.header.is-fixed { top: 8px; }

/* ---------- Hero ---------- */
.hero { width: auto; height: auto; margin: 0 16px; padding: 92px 0 8px; display: flex; flex-direction: column; align-items: flex-start; }
.hero__bg-rings, .hero__rings { display: none; }
.hero__title { position: relative; left: 0; top: 0; font-size: calc(var(--w) * .3); line-height: .9; letter-spacing: -0.02em; white-space: normal; }
.hero__photo { position: relative; left: 0; top: 0; align-self: center; width: calc(var(--w) * .8); height: calc(var(--w) * 1.14); margin-top: calc(var(--w) * -.13); border-radius: calc(var(--w) * .4) calc(var(--w) * .4) 0 0; z-index: 1; }
.hero__brand { position: static; margin-top: 28px; font-size: 16px; }
.hero__quote { position: static; margin-top: 14px; text-align: left; }
.hero__quote p { font-size: 22px; line-height: 27px; }
.hero__quote cite { font-size: 14px; line-height: 18px; margin-top: 10px; }
.hero__pill { position: static; margin-top: 10px; }
.hero__quote + .hero__pill { margin-top: 24px; }
.tag-pill { height: auto; padding: 12px 20px; border-radius: 26px; font-size: 17px; line-height: 1.2; white-space: normal; }
.hero__links { position: static; margin-top: 24px; gap: 10px; }
.link-pill { height: 48px; padding: 0 18px; font-size: 17px; border-radius: 24px; }
.js .hero__title { animation: none; }

/* ---------- Stats ---------- */
.stats-wrap { background: none; margin-top: 28px; }
.stats { padding: 14px; border-radius: 28px; }
.stats__grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
.stats__photo { grid-row: auto; height: calc(var(--w) * .95); border-radius: 22px; }
.stats__photo-text { left: 20px; right: 20px; bottom: 20px; font-size: 18px; line-height: 23px; }
.stat { padding: 22px 22px 20px; min-height: 180px; border-radius: 22px; }
.stat--list { padding: 0 0 20px; }
.stat__num { font-size: 68px; }
.stat__num small { font-size: 20px; margin-right: 8px; }
.stat__num--lg { font-size: 84px; }
.stat--red .stat__num small { padding-bottom: 10px; }
.stat__text { font-size: 20px; line-height: 24px; margin-top: 14px; }
.stat--list .stat__text { padding: 0 22px; }
.stat__row { height: 58px; padding: 0 22px; font-size: 22px; }
.stat--outline { padding: 20px 22px; }

/* ---------- About ---------- */
.about { margin-top: 44px; flex-direction: column; }
.about__content { padding: 0; }
.about__title { font-size: 30px; line-height: 35px; }
.about__title br { display: none; }
.about__text { margin-top: 18px; font-size: 17px; line-height: 24px; }
.about__text p + p { margin-top: 16px; }
.about__btns { margin-top: 24px; gap: 10px; flex-wrap: wrap; }
.btn { height: 52px; padding: 0 20px; font-size: 20px; border-radius: 16px; }
.about__photo { width: 100%; height: calc(var(--w) * 1.05); margin-top: 26px; border-radius: 28px; }
.about__label { left: 14px; bottom: 14px; right: 14px; padding: 12px 16px; font-size: 19px; line-height: 23px; border-radius: 16px; }

/* ---------- Geography ---------- */
.geo { margin-top: 44px; padding: 30px 18px 18px; border-radius: 28px; }
.geo__head { flex-direction: column; height: auto; padding-left: 0; }
.geo__title { width: auto; }
.geo__list { padding-top: 18px; font-size: 17px; line-height: 23px; }
.geo__list li + li { margin-top: 12px; }
.geo__cards { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
.geo-card { height: auto; min-height: 250px; padding: 22px; border-radius: 22px; gap: 24px; }
.geo-card__num { font-size: 88px; }
.geo-card__title { font-size: 22px; line-height: 26px; }
.geo-card__text { font-size: 16px; line-height: 21px; }

/* ---------- Events ---------- */
.events { margin-top: 48px; }
.events__head { flex-direction: column; gap: 18px; }
.events__rings { width: 150px; height: auto; margin: 0; }
.ev-grid, .events__head--prest + .ev-grid, .events__title-champ + .ev-grid { grid-template-columns: 1fr; margin-top: 22px; row-gap: 12px; }
.ev-card { height: auto; padding: 20px 22px; border-radius: 20px; }
.ev-card h3 { font-size: 22px; line-height: 26px; }
.ev-card p { font-size: 18px; line-height: 22px; margin-top: 6px; }
.ev-card--inline { display: block; padding-bottom: 20px; }
.ev-card--inline p { margin: 6px 0 0; }
.divider, .events__head--prest ~ .divider { margin-top: 32px; }
.events__head--prest { margin-top: 32px; flex-direction: column-reverse; }
.chips { width: auto; padding-top: 0; gap: 10px; }
.chip { height: 40px; padding: 0 16px; font-size: 17px; border-radius: 20px; }
.events__title-right { text-align: left; }
.events__title-champ { margin-top: 32px; }

/* ---------- Sports ---------- */
.sports { margin-top: 44px; }
.sports__head { height: auto; padding: 28px 22px 24px; border-radius: 28px; }
.sports__count { position: static; margin-top: 16px; font-size: 18px; }
.sport, .sport--right { flex-direction: column; align-items: stretch; padding: 0; margin-top: 22px !important; }
.sport--lg .sport__photo, .sport--sm .sport__photo { width: 100%; height: calc(var(--w) * .72); border-radius: 22px; }
.sport__body, .sport--left .sport__body, .sport--right .sport__body, .sport--sm.sport--left .sport__body, .sport--sm.sport--right .sport__body { margin: 0; padding: 14px 4px 0; text-align: left; }
.sport__title, .sport--sm .sport__title { font-size: 38px; line-height: 40px; letter-spacing: -0.05em; }
.sport__text { margin-top: 10px; font-size: 17px; line-height: 23px; max-width: none !important; }

/* ---------- Partners ---------- */
.partners { margin-top: 36px; height: 96px; }
.partners__track { gap: 36px; }
.partner { width: 120px; height: 46px; }

/* ---------- Media ---------- */
.media, .media--video { margin-top: 32px; padding: 28px 14px 20px; border-radius: 28px; }
.media__head { padding: 0; flex-direction: column; gap: 10px; }
.media__total, .media--video .media__total { margin-top: 0; text-align: left; font-size: 20px; line-height: 24px; }
.media__total span { display: inline; font-size: 18px; margin-right: 6px; }
.media__sub { margin-top: 8px; font-size: 16px; line-height: 20px; }
.media__grid, .media--video .media__grid { margin-top: 22px; grid-template-columns: 1fr 1fr; gap: 10px; }
.media__grid > .ph { height: calc(var(--w) * .44); border-radius: 16px; }
.play { width: 48px; height: 48px; }
.play::after { left: 18px; top: 14px; border-left-width: 15px; border-top-width: 10px; border-bottom-width: 10px; }
.more-btn { height: 44px; margin-top: 18px; font-size: 18px; }

/* ---------- Thanks ---------- */
.thanks { margin-top: 44px; }
.thanks__title { font-size: 30px; line-height: 36px; }
.thanks__grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc { width: auto; height: calc(var(--w) * .58); border-radius: 14px; }

/* ---------- Press ---------- */
.press { margin-top: 44px; padding: 14px; grid-template-columns: 1fr; gap: 12px; border-radius: 28px; }
.press-card { min-height: 0; padding: 24px 18px; border-radius: 22px; gap: 22px; }
.press-card__title { padding-left: 0; font-size: 44px; line-height: 46px; }
.press-card__tags { gap: 10px; }
.press-tag { height: 42px; padding: 0 14px; font-size: 18px; border-radius: 12px; }

/* ---------- Contact ---------- */
.contact { margin-top: 44px; flex-direction: column; }
.contact__info { padding: 0 0 22px; }
.contact__text { margin-top: 16px; font-size: 17px; line-height: 23px; }
.contact__links { margin-top: 16px; font-size: 26px; gap: 6px; }
.form { width: 100%; padding: 22px 18px; border-radius: 28px; }
.form__field { height: 52px; font-size: 18px; border-radius: 16px; }
.form__field--area { height: 150px; }
.form__field + .form__field, .form__messengers, .form__messengers + .form__field { margin-top: 12px; }
.form__messengers { gap: 10px; }
.messenger { height: 52px; font-size: 18px; border-radius: 16px; }
.form__submit { margin-top: 24px; height: 60px; font-size: 22px; border-radius: 18px; }

/* ---------- Footer ---------- */
.footer { margin-top: 56px; height: auto; padding: 30px 0 36px; }
.footer__inner { flex-direction: column; gap: 22px; padding-top: 0; }
.footer__logo { margin-top: 0; font-size: calc(var(--w) * .27); }
.footer__side { align-items: flex-start; gap: 18px; flex-direction: column-reverse; }
.footer__social { margin-top: 0; gap: 20px; font-size: 18px; flex-wrap: wrap; }
.lightbox img { max-width: 96%; }
