﻿:root {
  --bg: #f5fbff;
  --bg-soft: rgba(255, 255, 255, 0.86);
  --panel: rgba(255, 255, 255, 0.74);
  --text: #0d2235;
  --muted: #5f7688;
  --line: rgba(13, 34, 53, 0.12);
  --accent: #1386b8;
  --shadow: 0 24px 80px rgba(34, 72, 102, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(113, 206, 239, 0.3), transparent 30%),
    linear-gradient(180deg, #f8fdff 0%, #edf7fc 42%, #e2f0f7 100%);
}

.climbing-wall {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wall-visual {
  position: absolute;
  top: 0;
  height: 100%;
  width: clamp(110px, 10vw, 150px);
  overflow: visible;
  opacity: 0.72;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.06));
}

.wall-visual-left {
  left: 0;
}

.wall-visual-right {
  right: 0;
}

.hold-shadow {
  fill: rgba(26, 29, 32, 0.18);
}

.hold-body {
  fill: rgba(96, 102, 108, 0.44);
}

.hold-highlight {
  fill: rgba(255, 255, 255, 0.26);
}

.climber-figure {
  opacity: 0.32;
}

.climber-head,
.climber-neck,
.climber-torso,
.climber-glute,
.climber-leg-front,
.climber-leg-back,
.climber-arm-front,
.climber-arm-back,
.climber-foot-front,
.climber-foot-back,
.climber-hair {
  fill: rgba(0, 0, 0, 0.82);
}

.climber-hair {
  fill: rgba(0, 0, 0, 0.78);
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.watermark {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: min(28vw, 280px);
  transform: translate(-50%, 55%);
  pointer-events: none;
  opacity: 0.08;
  filter: saturate(0) contrast(1.05);
}

.watermark img {
  width: 100%;
  height: auto;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: var(--container);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.brand img {
  width: 76px;
  height: 36px;
  object-fit: contain;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topnav a,
.lang-btn,
.eyebrow,
.section-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topnav a {
  font-size: 0.82rem;
  color: var(--muted);
}

.lang-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-btn {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(19, 134, 184, 0.08);
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  min-width: 0;
  padding: 8px 8px 6px 10px;
  cursor: pointer;
  transition: 180ms ease;
  overflow: hidden;
}

.lang-btn:hover,
.lang-btn.is-active {
  color: var(--bg);
  background: var(--accent);
}

.lang-flag {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  border-radius: inherit;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.lang-flag::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.22) 100%);
}

.lang-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  line-height: 1;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow:
    -1px 0 0 rgba(10, 18, 28, 0.96),
    1px 0 0 rgba(10, 18, 28, 0.96),
    0 -1px 0 rgba(10, 18, 28, 0.96),
    0 1px 0 rgba(10, 18, 28, 0.96),
    -1px -1px 0 rgba(10, 18, 28, 0.96),
    1px -1px 0 rgba(10, 18, 28, 0.96),
    -1px 1px 0 rgba(10, 18, 28, 0.96),
    1px 1px 0 rgba(10, 18, 28, 0.96);
}

.lang-btn[data-lang="pl"] .lang-flag {
  background-image: url("media/flags/pl.svg");
}

.lang-btn[data-lang="en"] .lang-flag {
  background-image: url("media/flags/en.svg");
}

.lang-btn[data-lang="de"] .lang-flag {
  background-image: url("media/flags/de.svg");
}

.lang-btn[data-lang="es"] .lang-flag {
  background-image: url("media/flags/es.svg");
}

.lang-btn[data-lang="ko"] .lang-flag {
  background-image: url("media/flags/ko.svg");
}

.lang-btn[data-lang="ja"] .lang-flag {
  background-image: url("media/flags/ja.svg");
}

.lang-btn[data-lang="fr"] .lang-flag {
  background-image: url("media/flags/fr.svg");
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 140px max(20px, calc((100vw - 1180px) / 2)) 72px;
  background: #dcecf5 url("media/hero-poster.jpg") center 26% / cover no-repeat;
}

.hero-video,
.hero-overlay,
.mountains {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 420ms ease;
  will-change: opacity;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(248, 253, 255, 0.14), rgba(248, 253, 255, 0.62) 52%, #edf7fc 94%),
    linear-gradient(120deg, rgba(248, 253, 255, 0.22), rgba(255, 255, 255, 0.02));
}

.mountains-back,
.mountains-front {
  bottom: -1px;
  top: auto;
  background-repeat: no-repeat;
  background-size: cover;
}

.mountains-back {
  height: 34vh;
  clip-path: polygon(0 100%, 13% 58%, 24% 82%, 36% 35%, 51% 76%, 63% 44%, 78% 82%, 90% 50%, 100% 100%);
  background:
    linear-gradient(180deg, transparent, rgba(208, 230, 242, 0.9)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(169, 206, 228, 0.92));
  opacity: 0.92;
}

.mountains-front {
  height: 28vh;
  clip-path: polygon(0 100%, 10% 66%, 22% 88%, 34% 48%, 47% 78%, 61% 42%, 75% 87%, 89% 57%, 100% 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(219, 237, 247, 0.98)),
    linear-gradient(135deg, rgba(120, 194, 223, 0.22), transparent 40%);
}

.hero-content,
.section,
.quote-band {
  position: relative;
  z-index: 2;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  font-size: 0.76rem;
  color: var(--accent);
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.96;
  max-width: 10ch;
}

.hero-text {
  max-width: 52ch;
  color: #2a465d;
  font-size: 1.06rem;
  line-height: 1.7;
  margin: 24px 0 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #49afd7);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.46);
}

.hero-stats,
.info-cards,
.riding-grid,
.achievements-grid,
.press-grid,
.sponsors-grid,
.gallery-grid,
.video-grid {
  display: grid;
  gap: 18px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.hero-stats article,
.feature-card,
.profile-card,
.about-copy,
.contact-panel,
.gallery-item {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-stats span,
.info-cards span {
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-stats strong,
.info-cards strong {
  display: block;
  margin-top: 10px;
  font-size: 1.2rem;
}

.hero-stats small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 88px 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.section-heading {
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  gap: 28px;
  margin-top: 32px;
}

.profile-card,
.about-copy,
.contact-panel {
  border-radius: var(--radius-xl);
  padding: 20px;
}

.profile-image-wrap {
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  min-height: 520px;
}

.profile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.mini-logo {
  width: 58px;
  height: 58px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(19, 134, 184, 0.08);
}

.profile-meta p,
.about-copy p,
.contact-panel p,
.feature-card p {
  color: var(--muted);
  line-height: 1.75;
}

.info-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.achievements-intro {
  max-width: 68ch;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.achievements-grid {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  gap: 22px;
}

.achievements-grid::before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(19, 134, 184, 0), rgba(19, 134, 184, 0.24) 16%, rgba(19, 134, 184, 0.24) 84%, rgba(19, 134, 184, 0));
}

.achievement-year {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.achievement-year::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.56), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.achievement-year-accent {
  background: linear-gradient(145deg, rgba(255, 252, 239, 0.94), rgba(222, 241, 249, 0.92));
  border-color: rgba(199, 151, 33, 0.28);
  box-shadow: 0 26px 90px rgba(186, 145, 35, 0.18);
}

.achievement-year-gold {
  border-color: rgba(205, 160, 44, 0.22);
  background: linear-gradient(145deg, rgba(255, 253, 245, 0.9), rgba(255, 247, 214, 0.82));
}

.achievement-year-silver {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(232, 239, 245, 0.86));
}

.achievement-year-podium {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(224, 238, 247, 0.82));
}

.achievement-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(19, 134, 184, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.achievement-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.achievement-medal {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.achievement-medal-gold,
.achievement-medal-peak {
  color: #76520d;
  background: linear-gradient(135deg, rgba(255, 236, 172, 0.92), rgba(219, 173, 54, 0.88));
  border-color: rgba(179, 133, 18, 0.18);
}

.achievement-medal-silver {
  color: #4f6270;
  background: linear-gradient(135deg, rgba(247, 250, 252, 0.96), rgba(204, 217, 227, 0.9));
  border-color: rgba(124, 145, 160, 0.14);
}

.achievement-medal-mix {
  color: #156b92;
  background: linear-gradient(135deg, rgba(228, 245, 252, 0.94), rgba(183, 223, 241, 0.92));
  border-color: rgba(19, 134, 184, 0.12);
}

.achievement-marker {
  position: absolute;
  top: 28px;
  left: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.96);
  background: linear-gradient(135deg, #8fcce5, #1386b8);
  box-shadow: 0 0 0 6px rgba(19, 134, 184, 0.08);
}

.achievement-marker-peak,
.achievement-year-gold .achievement-marker {
  background: linear-gradient(135deg, #ffeab0, #d6a33a);
  box-shadow: 0 0 0 6px rgba(214, 163, 58, 0.12);
}

.achievement-year:nth-child(odd) .achievement-marker {
  left: auto;
  right: -11px;
}

.achievement-year h3 {
  margin-top: 16px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.achievement-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.achievement-list li + li {
  margin-top: 12px;
}

.achievement-year-peak h3 {
  font-size: 1.6rem;
}

.achievement-year-peak::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 224, 131, 0.34), transparent 24%),
    radial-gradient(circle at 10% 100%, rgba(19, 134, 184, 0.14), transparent 28%);
  pointer-events: none;
}

.press-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.press-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.press-card {
  display: block;
  padding: 22px;
  border-radius: var(--radius-xl);
  transition: transform 180ms ease, border-color 180ms ease;
}

.press-card:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 134, 184, 0.24);
}

.press-source {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(19, 134, 184, 0.08);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.press-card h3 {
  margin-top: 16px;
  font-size: 1.34rem;
  line-height: 1.16;
}

.press-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.sponsors-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.sponsor-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.sponsor-card:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 134, 184, 0.24);
}

.sponsor-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(113, 206, 239, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(227, 240, 247, 0.96));
  border: 1px solid rgba(13, 34, 53, 0.08);
}

.sponsor-logo-text-wrap {
  background:
    radial-gradient(circle at top, rgba(19, 134, 184, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 248, 0.98));
}

.sponsor-logo {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.sponsor-logo-contain {
  object-fit: contain;
  border-radius: 0;
}

.anon-logo {
  width: 100%;
  max-width: 142px;
  height: auto;
}

.anon-logo .st0 {
  fill: #0d2235;
}

.sponsor-copy h3 {
  font-size: 1.35rem;
}

.sponsor-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.info-cards article {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.riding-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature-card h3 {
  font-size: 1.5rem;
}

.media-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 18px;
  margin-top: 24px;
}

.media-showcase img,
.gallery-item img,
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoomable-media {
  cursor: zoom-in;
}

.gallery-shift-down {
  object-position: center 18%;
}

.gallery-shift-down-soft {
  object-position: center 24%;
}

.media-showcase img {
  min-height: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.gallery-grid {
  margin-top: 32px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.videos .section-heading p:last-child {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.75;
}

.video-grid {
  margin-top: 32px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
}

.video-card {
  position: relative;
  appearance: none;
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.video-poster {
  aspect-ratio: 9 / 16;
  border-radius: calc(var(--radius-xl) - 10px);
  background: #dbeaf2;
  cursor: zoom-in;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(8, 25, 38, 0.62);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.video-play::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 21px solid rgba(255, 255, 255, 0.92);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(223, 239, 248, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lightbox-media img,
.lightbox-media video {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  object-fit: contain;
  cursor: zoom-out;
}

.lightbox-media video {
  background: #dbeaf2;
}

.lightbox-nav,
.lightbox-close {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-nav {
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  font-size: 2.2rem;
}

.lightbox-nav-prev {
  left: 18px;
}

.lightbox-nav-next {
  right: 18px;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox.is-open .lightbox-close {
  pointer-events: none;
}

.quote-band {
  width: min(980px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 28px 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 240px;
}

.quote-band p {
  margin: 0;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(19, 134, 184, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(205, 233, 246, 0.72));
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.contact-panel {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 44px;
  position: relative;
  z-index: 2;
}

.site-footer p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer a {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .topbar {
    width: calc(100vw - 24px);
    border-radius: 28px;
    padding: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .topnav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero,
  .section,
  .site-footer {
    width: calc(100vw - 24px);
  }

  .about-grid,
  .contact-panel,
  .riding-grid,
  .info-cards,
  .achievements-grid,
  .press-grid,
  .sponsors-grid,
  .media-showcase,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-card {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .achievements-grid::before {
    display: none;
  }

  .achievement-marker,
  .achievement-year:nth-child(odd) .achievement-marker {
    left: 22px;
    right: auto;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 720px) {
  .wall-visual {
    width: 82px;
    opacity: 0.46;
  }

  .video-play {
    width: 58px;
    height: 58px;
  }

  .video-play::before {
    left: 23px;
    top: 18px;
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 17px;
  }

  .watermark {
    width: min(42vw, 220px);
    transform: translate(-50%, 62%);
  }

  .hero {
    min-height: 92vh;
    padding-top: 170px;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-stats,
  .achievements-grid,
  .gallery-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .achievement-year {
    padding: 22px 18px 20px 24px;
  }

  .achievement-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .achievement-marker,
  .achievement-year:nth-child(odd) .achievement-marker {
    top: 22px;
    left: auto;
    right: 18px;
  }

  .gallery-item.tall,
  .gallery-item.wide,
  .gallery-item.large {
    grid-row: span 1;
    grid-column: span 1;
  }

  .profile-image-wrap {
    min-height: 380px;
  }

  .quote-band {
    width: calc(100vw - 24px);
    padding: 0;
  }

  .site-footer p {
    flex-direction: column;
    align-items: flex-start;
  }
}
