/* ==========================================================
   Fonts
   ========================================================== */
@font-face {
  font-family: "Heading Now";
  src: url("../fonts/HeadingNowTrial-56Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "TT Travels Next";
  src: url("../fonts/TT%20Travels%20Next%20Trial%20Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face { font-family: "SF Pro Display"; src: url("../fonts/sf%20pro%20display/SF-Pro-Display-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SF Pro Display"; src: url("../fonts/sf%20pro%20display/SF-Pro-Display-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "SF Pro Display"; src: url("../fonts/sf%20pro%20display/SF-Pro-Display-Semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "SF Pro Display"; src: url("../fonts/sf%20pro%20display/SF-Pro-Display-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

/* ==========================================================
   Tokens
   ========================================================== */
:root {
  --bg: #F5F6FB;
  --accent: #DC2121;
  --dark: #181818;
  --white: #FFFFFF;
  --text: #333333;
  --gray: #8C8C8C;
  --line: #E3E4EA;

  --f-head: "TT Travels Next", "Arial Black", sans-serif;
  --f-display: "Heading Now", "Impact", sans-serif;
  --f-text: "SF Pro Display", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --r-block: 48px;
  --r-card: 28px;

  --ease-out: cubic-bezier(.22, .68, .2, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 1920px;
  background: var(--bg);
  color: var(--dark);
  font-family: var(--f-text);
  font-size: 24px;
  line-height: 1.1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.container { width: 1792px; margin-left: auto; margin-right: auto; }

.h-section {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 120px;
  line-height: 107px;
  letter-spacing: -0.06em;
}

/* ---------- Placeholders (media stubs) ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.28) 0 2px, transparent 2px 16px),
    #D6D9E1;
}
.ph > span {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font: 500 18px/1 var(--f-text);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9A9EAB;
  white-space: nowrap;
  pointer-events: none;
}
.ph--dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 16px),
    #2B2B2D;
}
.ph--dark > span { color: #5E5E63; }
/* media layer: the stub pattern (and later a real <img>) lives on its own layer so it can zoom on hover */
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: inherit;
  transition: transform .9s var(--ease-out), filter .5s ease;
}
.ph img, .ph video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out), filter .5s ease;
}

/* ==========================================================
   Header
   ========================================================== */
.header {
  position: absolute;
  top: 26px; left: 0; right: 0;
  z-index: 20;
}
.header__bar {
  width: 1792px;
  height: 80px;
  margin: 0 auto;
  padding: 0 15px 0 49px;
  display: flex;
  align-items: center;
  background: var(--accent);
  border-radius: 40px;
  color: var(--white);
}
.logo { display: flex; align-items: center; gap: 15px; }
.logo__text {
  font: 700 32px/1 var(--f-head);
  letter-spacing: -0.01em;
}
.logo__rings { width: 64px; height: 30px; }
.nav { display: flex; gap: 70px; margin-left: 95px; }
.nav__link {
  position: relative;
  display: inline-grid;
  font-size: 24px; line-height: 1; font-weight: 400;
}
/* reserve the semibold width so the active state never shifts the menu */
.nav__link::before {
  content: attr(data-text);
  grid-area: 1 / 1;
  font-weight: 600;
  visibility: hidden;
  height: 0;
}
.nav__link.is-active { font-weight: 600; }
.strava {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  height: 48px;
  padding: 0 21px 0 23px;
  background: var(--white);
  border-radius: 12px;
  color: #FC5200;
  font-size: 24px;
}
.strava svg { width: 22px; height: 28px; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  height: 1086px;
  width: 1792px;
  margin: 0 auto;
}
.hero__bg-rings {
  position: absolute; left: -64px; top: 0;
  width: 1920px; height: 1090px;
  fill: none; stroke: #EDEEF4; stroke-width: 56;
  pointer-events: none;
}
.hero__rings {
  position: absolute; left: -64px; top: 0;
  width: 1920px; height: 1300px;
  fill: none; stroke-width: 44;
  overflow: visible;
  pointer-events: none;
}
.r-gap { stroke: var(--bg); stroke-width: 68; }
.r-blue { stroke: #4A97FF; }
.r-black { stroke: var(--dark); }
.r-red { stroke: var(--accent); }
.r-yellow { stroke: #F0B72F; }
.r-green { stroke: #27AE3C; }

.hero__title {
  position: absolute;
  left: -1px; top: 120px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 358px;
  line-height: 358px;
  letter-spacing: -0.031em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--dark);
}
.hero__photo {
  position: absolute;
  left: 586px; top: 255px;
  width: 580px; height: 831px;
  border-radius: 290px 290px 0 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.3) 0 2px, transparent 2px 16px),
    #CDD1DA;
}
.hero__brand {
  position: absolute;
  left: 2px; top: 487px;
  font: 700 24px/1 var(--f-head);
  color: var(--accent);
}
.hero__quote {
  position: absolute;
  right: 8px; top: 464px;
  text-align: right;
  color: var(--accent);
}
.hero__quote p { font-size: 33px; line-height: 35px; font-weight: 500; letter-spacing: -0.005em; }
.hero__quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 16px;
  line-height: 17px;
  color: #8C8C8C;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 20px 0 24px;
  border-radius: 26px;
  background: var(--accent);
  color: var(--white);
  font: 700 24px/1 var(--f-head);
  white-space: nowrap;
}
.hero__pill { position: absolute; z-index: 2; }
.hero__pill--1 { left: 991px; top: 655px; }
.hero__pill--2 { left: 201px; top: 735px; }
.hero__pill--3 { left: 746px; top: 910px; }

.hero__links {
  position: absolute;
  left: 1px; top: 885px;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 19px;
}
.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 55px;
  padding: 0 24px 0 23px;
  border: 2px solid #A9A9AE;
  border-radius: 28px;
  color: #858589;
  font-size: 24px;
}
.link-pill svg { width: 22px; height: 22px; }

/* ==========================================================
   Stats
   ========================================================== */
.stats {
  position: relative;
  z-index: 3;
  padding: 42px;
  background: var(--dark);
  border-radius: var(--r-block);
}
.stats-wrap {
  background: linear-gradient(#ECEDF2, #ECEDF2) 0 674px / 100% 2px no-repeat;
}
.stats::before {
  display: none;
  content: "";
  position: absolute;
  left: -64px; right: -64px; top: 674px;
  height: 2px;
  background: #ECEDF2;
  z-index: -1;
}
.stats__grid {
  display: grid;
  grid-template-columns: 646px 492px 492px;
  grid-template-rows: 447px 327px;
  gap: 41px 39px;
}
.stats__photo {
  grid-row: span 2;
  border-radius: var(--r-card);
}
.stats__photo-text {
  position: absolute;
  left: 31px; right: 30px; bottom: 32px;
  color: var(--white);
  font-size: 30px;
  line-height: 33px;
}
.stats__photo-text::first-line { font-weight: 400; }
.stat {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 34px 33px 32px;
  border-radius: var(--r-card);
}
.stat__num {
  font: 700 105px/1 var(--f-head);
  letter-spacing: -0.06em;
}
.stat__num small {
  font: 400 30px/1 var(--f-text);
  letter-spacing: 0;
  color: rgba(255,255,255,.72);
  margin: 0 12px 0 0;
}
.stat__num small:last-child { margin: 0 0 0 10px; }
.stat__num--lg { font-size: 125px; color: #E3E3E3; }
.stat__text { font-size: 30px; line-height: 33px; font-weight: 500; }
.stat--light { background: var(--bg); color: var(--accent); }
.stat--red { background: var(--accent); color: var(--white); }
.stat--red .stat__num { display: flex; align-items: flex-end; margin-left: 0; }
.stat--red .stat__num small { padding-bottom: 17px; color: rgba(255,255,255,.7); }
.stat--outline {
  padding: 21px 31px 30px;
  border: 2px solid #DADADA;
  color: var(--white);
}
.stat--list { padding: 0 0 30px; justify-content: flex-start; }
.stat--list .stat__text { margin-top: auto; padding: 0 31px; }
.stat__row {
  height: 81px;
  display: flex; align-items: center;
  padding: 0 31px;
  border-bottom: 2px solid #DADADA;
  font-size: 30px; font-weight: 500;
}

/* ==========================================================
   About
   ========================================================== */
.about {
  margin-top: 74px;
  display: flex;
  justify-content: space-between;
}
.about__content { padding-top: 29px; padding-left: 2px; }
.about__title {
  font-size: 74px;
  line-height: 80px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.about__text { margin-top: 33px; color: var(--text); font-size: 30.9px; line-height: 33px; }
.about__text p + p { margin-top: 35px; }
.about__btns { display: flex; gap: 27px; margin-top: 77px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 70px;
  padding: 0 25px;
  border-radius: 20px;
  font: 700 33px/1 var(--f-head);
  letter-spacing: -0.03em;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--red { background: var(--accent); color: var(--white); }
.btn--outline { border: 2px solid #8C8C8C; color: #7C7C7C; font-weight: 500; }
.about__photo {
  width: 716px; height: 826px;
  border-radius: var(--r-block);
  flex-shrink: 0;
}
.about__label {
  position: absolute;
  left: 47px; bottom: 45px;
  padding: 11px 23px 11px 24px;
  background: var(--white);
  border-radius: 20px;
  color: var(--accent);
  font: 700 32px/35px var(--f-head);
}

/* ==========================================================
   Geography
   ========================================================== */
.geo {
  margin-top: 73px;
  padding: 62px 42px 50px;
  background: var(--dark);
  border-radius: var(--r-block);
  color: var(--white);
}
.geo__head { display: flex; height: 216px; padding-left: 22px; }
.geo__title { width: 898px; }
.geo__list { padding-top: 13px; font-size: 30.7px; line-height: 33px; color: #CFCFD3; }
.geo__list li + li { margin-top: 20px; }
.geo__cards {
  margin-top: 94px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.geo-card {
  position: relative;
  height: 447px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px 40px 42px 47px;
  background: var(--accent);
  border-radius: var(--r-card);
  overflow: hidden;
}
.geo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, #EE5B5B 4.5px, transparent 5px) 0 0 / 18px 18px;
  pointer-events: none;
}
.geo-card--ru::before {
  -webkit-mask: radial-gradient(ellipse 230px 190px at 78% 20%, #000 60%, transparent 100%),
                radial-gradient(ellipse 110px 120px at 95% 55%, #000 50%, transparent 100%);
          mask: radial-gradient(ellipse 230px 190px at 78% 20%, #000 60%, transparent 100%),
                radial-gradient(ellipse 110px 120px at 95% 55%, #000 50%, transparent 100%);
}
.geo-card--msk::before {
  -webkit-mask: radial-gradient(ellipse 260px 130px at 82% 5%, #000 65%, transparent 100%),
                radial-gradient(ellipse 60px 140px at 67% 45%, #000 50%, transparent 100%);
          mask: radial-gradient(ellipse 260px 130px at 82% 5%, #000 65%, transparent 100%),
                radial-gradient(ellipse 60px 140px at 67% 45%, #000 50%, transparent 100%);
}
.geo-card > * { position: relative; }
.geo-card__num { font: 700 146px/1 var(--f-head); letter-spacing: -0.04em; }
.geo-card__title { font-size: 36px; line-height: 40px; font-weight: 600; }
.geo-card__text { margin-top: 16px; font-size: 24px; line-height: 26px; color: rgba(255,255,255,.88); }

/* ==========================================================
   Events (Olympics / prestige / championships)
   ========================================================== */
.events { margin-top: 93px; }
.events__head { display: flex; justify-content: space-between; }
.events__head--oly .h-section { line-height: 93px; margin-left: 1px; }
.events__rings { width: 340px; height: 156px; margin-top: 20px; margin-right: 2px; }
.ev-grid {
  margin-top: 59px;
  display: grid;
  grid-template-columns: repeat(3, 570px);
  justify-content: space-between;
  row-gap: 25px;
}
.ev-card {
  position: relative;
  height: 184px;
  padding: 30px 30px 0 39px;
  border: 2px solid #8E8E93;
  border-radius: 24px;
  overflow: hidden;
}
.ev-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle, #E6E7EC 3.2px, transparent 3.7px) 0 0 / 13px 13px;
  -webkit-mask: radial-gradient(ellipse 150px 170px at 88% 45%, #000 35%, transparent 100%),
                radial-gradient(ellipse 70px 50px at 55% 15%, #000 30%, transparent 100%);
          mask: radial-gradient(ellipse 150px 170px at 88% 45%, #000 35%, transparent 100%),
                radial-gradient(ellipse 70px 50px at 55% 15%, #000 30%, transparent 100%);
  pointer-events: none;
}
.ev-card > * { position: relative; }
.ev-card h3 { font-size: 36px; line-height: 40px; font-weight: 500; color: #5B5B5F; letter-spacing: -0.005em; }
.ev-card p { margin-top: 6px; font-size: 30px; line-height: 33px; color: #9B9BA0; }
.ev-card--inline { display: flex; align-items: flex-end; padding-bottom: 29px; }
.ev-card--inline p { margin: 0 0 1px 42px; }

.divider { margin: 57px 0 0; height: 2px; border: 0; background: var(--line); }

.events__head--prest { margin-top: 56px; }
.chips {
  width: 460px;
  padding-top: 28px;
  display: flex; flex-wrap: wrap; align-content: flex-start;
  gap: 24px 19px;
}
.chip {
  display: inline-flex; align-items: center;
  height: 60px;
  padding: 0 22px;
  border-radius: 30px;
  font-size: 30px;
  color: var(--white);
}
.chip--blue { background: #4A97FF; }
.chip--purple { background: #9747FF; }
.chip--orange { background: #FF9F43; }
.chip--coral { background: #F24B4B; }
.chip--dark { background: var(--dark); }
.events__title-right { text-align: right; line-height: 101px; }
.events__head--prest + .ev-grid { margin-top: 60px; }
.events__title-champ { margin-top: 43px; margin-left: 1px; }
.events__title-champ + .ev-grid { margin-top: 57px; }
.events__head--prest ~ .divider { margin-top: 65px; }

/* ==========================================================
   Sports
   ========================================================== */
.sports { margin-top: 72px; }
.sports__head {
  position: relative;
  height: 415px;
  padding: 40px 54px 0 61px;
  background: var(--accent);
  border-radius: var(--r-block);
  color: var(--white);
}
.sports__head .h-section { line-height: 120px; }
.sports__count {
  position: absolute;
  right: 54px; bottom: 42px;
  font-size: 32px; line-height: 38px; font-weight: 600;
}
.sport {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-top: var(--mt, 0);
  padding: 0 52px;
}
.sport__photo { flex-shrink: 0; border-radius: var(--r-card); }
.sport--lg .sport__photo { width: 687px; height: 542px; }
.sport--sm .sport__photo { width: 406px; height: 320px; border-radius: 26px; }
.sport__body { padding-bottom: var(--pb, 0); }
.sport--left .sport__body { margin-left: 60px; }
.sport--sm.sport--left .sport__body { margin-left: 41px; }
.sport--right { flex-direction: row-reverse; }
.sport--right .sport__body { margin-right: 55px; text-align: right; }
.sport--sm.sport--right .sport__body { margin-right: 48px; }
.sport__title {
  font: 700 81px/80px var(--f-head);
  letter-spacing: -0.066em;
}
.sport--sm .sport__title { font-size: 65px; line-height: 62px; letter-spacing: -0.07em; }
.sport__text {
  margin-top: 16px;
  font-size: 24.5px;
  line-height: 26px;
  color: #3A3A3C;
}

/* ==========================================================
   Partners
   ========================================================== */
.partners {
  margin-top: 62px;
  height: 158px;
  background: var(--white);
  border-top: 1px solid #DCDDE2;
  border-bottom: 1px solid #DCDDE2;
  overflow: hidden;
}
.partners__track {
  height: 100%;
  display: flex; align-items: center;
  gap: 66px;
  padding-left: 0;
}
.partner {
  flex-shrink: 0;
  width: 160px; height: 60px;
  border-radius: 10px;
  background: #EEF0F4;
}
.partner > span { font-size: 14px; letter-spacing: .04em; text-transform: none; color: #A3A7B3; }

/* ==========================================================
   Media (photo / video)
   ========================================================== */
.media {
  margin-top: 51px;
  padding: 61px 52px 29px;
  background: var(--dark);
  border-radius: var(--r-block);
  color: var(--white);
}
.media__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 0 0 0 12px;
}
.media__head .h-section { line-height: 120px; }
.media__total {
  margin-top: 40px;
  text-align: right;
  font-size: 32px; line-height: 36px; font-weight: 600;
}
.media__total span { display: block; font-size: 24px; line-height: 30px; font-weight: 400; color: #8E8E93; }
.media__grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px 15.7px;
}
.media__grid > .ph { height: 314px; border-radius: 22px; }
.more-btn {
  display: flex; align-items: center; justify-content: center;
  margin: 27px auto 0;
  height: 48px;
  padding: 0 22px;
  background: none;
  border: 2px solid #5C5C60;
  border-radius: 24px;
  color: #9C9CA1;
  font-size: 24px;
  cursor: pointer;
}
.media--video { margin-top: 43px; padding-top: 57px; padding-bottom: 26px; }
.media--video .media__total { margin-top: 44px; }
.media__sub { margin-top: 14px; font-size: 24px; line-height: 30px; font-weight: 500; color: #9C9CA1; }
.media--video .media__grid { margin-top: 16px; }
.play {
  position: absolute; left: 50%; top: 50%;
  width: 70px; height: 70px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(70,70,72,.8);
}
.play::after {
  content: "";
  position: absolute; left: 27px; top: 22px;
  border-left: 22px solid #fff;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}

/* ==========================================================
   Thanks
   ========================================================== */
.thanks { margin-top: 65px; }
.thanks__title { text-align: center; font-size: 47px; line-height: 56px; font-weight: 600; }
.thanks__grid {
  margin-top: 34px;
  display: flex; justify-content: space-between;
}
.doc {
  width: 410px; height: 584px;
  border-radius: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.025) 0 2px, transparent 2px 16px),
    #FFFFFF;
  box-shadow: inset 0 0 0 1px #E6E7EC;
}

/* ==========================================================
   Press
   ========================================================== */
.press {
  margin-top: 76px;
  padding: 53px 42px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  background: var(--dark);
  border-radius: var(--r-block);
}
.press-card {
  height: 764px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px 37px 36px;
  background: var(--accent);
  border-radius: var(--r-card);
  color: var(--white);
}
.press-card__title {
  padding-left: 11px;
  font: 700 80px/80px var(--f-head);
  letter-spacing: -0.07em;
}
.press-card__tags { display: flex; flex-wrap: wrap; gap: 23px 22px; }
.press-tag {
  display: inline-flex; align-items: center;
  height: 64px;
  padding: 0 24px;
  background: var(--bg);
  border-radius: 16px;
  color: #5E5E62;
  font-size: 38px; font-weight: 500;
  letter-spacing: -0.01em;
  transition: color .2s;
}
.press-tag.is-active { color: #F02B2B; }

/* ==========================================================
   Contact
   ========================================================== */
.contact {
  margin-top: 65px;
  display: flex; justify-content: space-between;
}
.contact__info { display: flex; flex-direction: column; justify-content: space-between; padding: 51px 0 76px; }
.contact__info .h-section { line-height: 95px; margin-left: -3px; }
.contact__text { font-size: 24.5px; line-height: 26px; color: var(--text); }
.form {
  width: 641px;
  padding: 39px 39px 41px 38px;
  display: flex; flex-direction: column;
  background: var(--accent);
  border-radius: var(--r-block);
}
.form__field {
  width: 100%;
  height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 20px;
  background: var(--bg);
  color: var(--dark);
  font-size: 24px;
  text-align: center;
  outline: none;
}
.form__field::placeholder { color: #8E8E93; }
.form__field + .form__field, .form__messengers, .form__messengers + .form__field { margin-top: 19px; }
.form__field--area { height: 216px; padding-top: 18px; resize: none; }
.form__messengers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.messenger {
  position: relative;
  height: 58px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 20px;
  color: var(--white);
  font-size: 24px; font-weight: 500;
  cursor: pointer;
}
.messenger input { position: absolute; opacity: 0; pointer-events: none; }
.messenger svg { width: 32px; height: 32px; }
.messenger--tg { background: linear-gradient(90deg, #2AA3E6, #2AB0EC); }
.messenger--max { background: linear-gradient(90deg, #4CCBFA 0%, #3D6CF0 45%, #9A3EE6 100%); }
.form__submit {
  margin-top: 60px;
  height: 86px;
  border: 3px solid var(--white);
  border-radius: 24px;
  background: none;
  color: var(--white);
  font-size: 32px; font-weight: 600;
  cursor: pointer;
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  margin-top: 108px;
  height: 473px;
  background: var(--dark);
  color: var(--white);
}
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 12px; }
.footer__logo {
  margin-top: 20px;
  font: 800 138px/1 var(--f-head);
}
.footer .strava { margin-left: 0; }
.stats__photo-text b { font-weight: 500; }

/* ==========================================================
   Motion: hover states
   ========================================================== */

/* header */
.header.is-fixed {
  position: fixed;
  top: 16px;
  animation: header-in .55s var(--ease-out) both;
}
.header.is-fixed .header__bar { box-shadow: 0 14px 40px -18px rgba(120, 10, 10, .55); }
@keyframes header-in { from { transform: translateY(-140%); } to { transform: none; } }

.logo__rings { transition: transform .6s var(--ease-out); }
.logo:hover .logo__rings { transform: rotate(-8deg) scale(1.06); }

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .35s var(--ease-soft);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left center; }

.strava { transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft); }
.strava svg { transition: transform .35s var(--ease-out); }
.strava:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); }
.strava:hover svg { transform: translateY(-2px) rotate(-6deg); }

/* pills & links */
.link-pill { transition: border-color .3s, color .3s, background-color .3s; }
.link-pill svg { transition: transform .35s var(--ease-out); }
.link-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--white); }
.link-pill:hover svg { transform: scale(1.15); }

.btn { position: relative; overflow: hidden; isolation: isolate; will-change: transform; }
.btn { transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft), background-color .3s, color .3s, border-color .3s; }
.btn--red:hover { background: #C41A1A; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(220, 33, 33, .75); }
.btn--outline:hover { border-color: var(--dark); color: var(--dark); background: var(--white); transform: translateY(-2px); }
.btn:active, .form__submit:active, .more-btn:active { transform: translateY(0) scale(.98); }

/* cards */
.stat, .geo-card, .ev-card, .doc, .press-tag, .chip {
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s, background-color .3s, color .3s;
}
.stat--light:hover, .stat--red:hover { transform: translateY(-4px); }
.stat--outline:hover { border-color: #FFFFFF; }
.geo-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .9); }
.geo-card::before { transition: transform 1.2s var(--ease-out); }
.geo-card:hover::before { transform: translate(-6px, 4px); }

.ev-card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--white); box-shadow: 0 18px 36px -24px rgba(24, 24, 24, .35); }
.ev-card h3 { transition: color .3s; }
.ev-card:hover h3 { color: var(--dark); }
.ev-card::before { transition: transform 1.2s var(--ease-out); }
.ev-card:hover::before { transform: translateX(-10px); }

.chip:hover { transform: translateY(-3px); box-shadow: 0 10px 18px -10px rgba(24, 24, 24, .45); }

.events__rings { transition: transform .8s var(--ease-out); }
.events__rings:hover { transform: rotate(-4deg) scale(1.03); }

/* photos: zoom the media layer */
.about__photo:hover::before,
.stats__photo:hover::before,
.sport__photo:hover::before,
.media__grid > .ph:hover::before,
.about__photo:hover img,
.stats__photo:hover img,
.sport__photo:hover img,
.media__grid > .ph:hover img { transform: scale(1.05); }
.media__grid > .ph { cursor: pointer; }
.media__grid > .ph::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--accent);
  transition: box-shadow .35s var(--ease-soft);
  pointer-events: none;
}
.media__grid > .ph:hover::after { box-shadow: inset 0 0 0 3px var(--accent); }
.play { transition: transform .4s var(--ease-out), background-color .3s; }
.video:hover .play { transform: translate(-50%, -50%) scale(1.12); background: var(--accent); }

.about__label { transition: transform .45s var(--ease-out); }
.about__photo:hover .about__label { transform: translateY(-6px); }

.more-btn { transition: border-color .3s, color .3s, background-color .3s, transform .3s var(--ease-soft); }
.more-btn:hover { border-color: var(--white); color: var(--dark); background: var(--white); }
.more-btn[hidden] { display: none; }

.doc { cursor: zoom-in; }
.doc:hover { transform: translateY(-8px); box-shadow: 0 26px 44px -28px rgba(24, 24, 24, .45); }

.press-tag:hover { color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 20px -14px rgba(0, 0, 0, .6); }

/* partners marquee */
.partners__track {
  width: max-content;
  animation: marquee var(--loop-time, 40s) linear infinite;
}
.partners:hover .partners__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(-88px); }
  to   { transform: translateX(calc(-88px - var(--loop, 0px))); }
}
.partner { transition: background-color .3s, transform .4s var(--ease-out); }
.partner:hover { background: #E3E6EC; transform: scale(1.05); }

/* form */
.form__field { transition: box-shadow .3s var(--ease-soft), background-color .3s; }
.form__field:hover { background: #FFFFFF; }
.form__field:focus { background: #FFFFFF; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.form__field.is-invalid { box-shadow: 0 0 0 3px var(--dark); animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.messenger { transition: transform .3s var(--ease-soft), box-shadow .3s, opacity .3s; }
.messenger::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 #fff;
  transition: box-shadow .3s var(--ease-soft);
}
.messenger:hover { transform: translateY(-2px); }
.messenger:has(input:checked)::after { box-shadow: inset 0 0 0 3px #fff; }
.messenger:has(input:focus-visible) { outline: 3px solid var(--dark); outline-offset: 2px; }
.messenger svg { transition: transform .35s var(--ease-out); }
.messenger:hover svg { transform: rotate(-8deg) scale(1.1); }
.form__submit { transition: background-color .3s, color .3s, transform .3s var(--ease-soft); }
.form__submit:hover { background: var(--white); color: var(--accent); }
.form__submit:disabled { cursor: default; }
.form.is-sent .form__submit { background: var(--white); color: var(--accent); }

/* ==========================================================
   Motion: scroll reveal
   ========================================================== */
.js [data-reveal] {
  transition:
    opacity .9s var(--ease-out) var(--rd, 0s),
    transform 1s var(--ease-out) var(--rd, 0s);
}
/* hidden state only until revealed, so hover transforms stay free afterwards */
.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translate3d(var(--rx, 0), var(--ry, 40px), 0) scale(var(--rs, 1));
}
.js [data-reveal="left"]  { --rx: -60px; --ry: 0px; }
.js [data-reveal="right"] { --rx: 60px;  --ry: 0px; }
.js [data-reveal="zoom"]  { --ry: 24px; --rs: .96; }
.js [data-reveal="pop"]   { --ry: 12px; --rs: .9; }
/* after the entrance hand transitions back to hover timing */
.js [data-reveal].is-done {
  transition:
    opacity .9s var(--ease-out),
    transform .4s var(--ease-out),
    box-shadow .4s var(--ease-out),
    border-color .3s, background-color .3s, color .3s;
}

/* heading lines rise one after another */
.h-line { display: block; }

.js .divider[data-reveal] { transform-origin: left center; transition: transform 1.2s var(--ease-out); }
.js .divider[data-reveal]:not(.is-in) { opacity: 1; transform: scaleX(0); }

/* footer logo letters */
.footer__logo .ch { display: inline-block; }
.js .footer__logo .ch { transform: translateY(60%); opacity: 0; transition: transform .9s var(--ease-out), opacity .9s var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
.js .footer__logo.is-in .ch { transform: none; opacity: 1; }
.footer__logo .ch { transition: transform .9s var(--ease-out), opacity .9s, color .3s; }
.footer__logo.is-in .ch:hover { color: var(--accent); transform: translateY(-8px); transition-delay: 0s; }

/* ==========================================================
   Motion: hero entrance
   ========================================================== */
.js .hero__title   { animation: hero-title 1.3s var(--ease-out) .1s backwards; }
.js .hero__photo   { animation: rise 1.2s var(--ease-out) .35s both; }
.js .hero__brand,
.js .hero__quote   { animation: fade-up 1s var(--ease-out) .7s both; }
.js .hero__links   { animation: fade-up 1s var(--ease-out) 1.1s both; }
.js .hero__pill--1 { animation: pill-in .8s var(--ease-out) .9s both; }
.js .hero__pill--2 { animation: pill-in .8s var(--ease-out) 1.05s both; }
.js .hero__pill--3 { animation: pill-in .8s var(--ease-out) 1.2s both; }
.js .header:not(.is-fixed) { animation: fade-down .9s var(--ease-out) both; }
.js .hero__bg-rings { animation: fade 2s ease .2s both; }

/* rings draw themselves in */
.hero__rings use { stroke-dasharray: 1163; }
.js .hero__rings use { animation: ring-draw 1.8s var(--ease-out) both; }
.js .hero__rings use[href="#ring-blue"]   { animation-delay: .5s; }
.js .hero__rings use[href="#ring-yellow"] { animation-delay: .65s; }
.js .hero__rings use[href="#ring-black"]  { animation-delay: .8s; }
.js .hero__rings use[href="#ring-green"]  { animation-delay: .95s; }
.js .hero__rings use[href="#ring-red"]    { animation-delay: 1.1s; }

@keyframes hero-title {
  from { clip-path: inset(0 -10% 100% -10%); transform: translateY(80px); }
  to   { clip-path: inset(-20% -10% -20% -10%); transform: none; }
}
@keyframes rise    { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes fade    { from { opacity: 0; } to { opacity: 1; } }
@keyframes pill-in { from { opacity: 0; transform: translateY(16px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes ring-draw { from { stroke-dashoffset: 1163; } to { stroke-dashoffset: 0; } }

/* soft parallax layers (driven by --py from JS) */
.hero__bg-rings, .hero__rings { translate: 0 var(--py, 0px); }

/* ==========================================================
   Reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js .footer__logo .ch { opacity: 1; transform: none; }
  .partners__track { animation: none; }
}
.js .footer__logo.is-done .ch { transition-delay: 0s; }

/* ==========================================================
   Uploaded content (js/content.js), links, misc
   ========================================================== */
.ph.has-img > span:not([class]) { display: none; }
.ph.has-img { background: #2B2B2D; }
.ph.has-img.partner { background: #FFFFFF; }
.ph.has-img.doc { background: #FFFFFF; }
.partner img { object-fit: contain; padding: 6px 10px; }
.doc img { object-fit: contain; }
.stats__photo-text { z-index: 2; }
.stats__photo.has-img::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, .72));
  pointer-events: none;
}
.about__label { z-index: 2; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(24, 24, 24, .92);
  cursor: zoom-out;
}
.lightbox img { max-width: 92%; max-height: 92%; border-radius: 16px; }

section[id], main[id] { scroll-margin-top: 120px; }
.burger { display: none; }

.press-card { height: auto; min-height: 764px; gap: 40px; }
.contact__info { justify-content: flex-start; }
.contact__text { margin-top: auto; }
.contact__links { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; font: 600 32px/1.1 var(--f-head); letter-spacing: -0.03em; }
.contact__links a { color: var(--accent); transition: opacity .2s; }
.contact__links a:hover { opacity: .7; }
.footer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 28px; }
.footer__social { display: flex; gap: 34px; margin-top: 30px; font-size: 28px; }
.footer__social a { color: #9C9CA1; transition: color .25s; }
.footer__social a:hover { color: var(--white); }
