:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-dark: #111111;
  --ink: #000000;
  --muted: rgba(0, 0, 0, 0.68);
  --gold: #e2c683;
  --gold-dark: #aa8d46;
  --line: rgba(0, 0, 0, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  --radius-lg: 40px;
  --radius-md: 28px;
  --radius-sm: 20px;
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body:not(.is-ready) {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

::selection {
  background: rgba(218, 197, 110, 0.28);
}

.page-shell {
  position: relative;
}

.page-intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  overflow: hidden;
}

.page-intro-square {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(9, 9, 9, 0.98), rgba(24, 24, 24, 0.96)),
    radial-gradient(circle at 18% 50%, rgba(226, 198, 131, 0.18), transparent 32%);
  transform: translateX(-102%);
  will-change: transform;
}

body.is-ready .page-intro-square {
  animation: intro-sweep 1.25s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

body.is-ready .page-intro {
  animation: intro-fade 0.01s linear 1.25s forwards;
}

@keyframes intro-sweep {
  0% {
    transform: translateX(-102%);
  }

  45% {
    transform: translateX(0%);
  }

  55% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(102%);
  }
}

@keyframes intro-fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(170, 141, 70, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(0, 0, 0, 0.05), transparent 30%);
  opacity: 1;
}

.section {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.top-stage {
  position: relative;
  isolation: isolate;
  background:
    url("./public/images/lukas-hero-bg.jpg") center 24% / cover no-repeat,
    #050505;
  overflow: clip;
}

.top-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.28) 26%, rgba(0, 0, 0, 0.48) 72%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0.34) 100%);
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 1rem 1rem 0;
}

.site-header {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.88), rgba(0, 0, 0, 0.8));
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #171717, #363634);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-copy strong {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-button {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(226, 198, 131, 0.16);
  color: #fff;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(100vh - 1rem);
  display: flex;
  align-items: flex-end;
  padding-top: 1.5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(0.1) contrast(1.02) brightness(0.64) saturate(0.92);
  opacity: 0.22;
  transform: scale(1.05);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.42) 76%, rgba(255, 255, 255, 0.96) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.26) 100%),
    radial-gradient(circle at 18% 22%, rgba(226, 198, 131, 0.08), transparent 28%);
}

.hero-grid {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.section h2 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 11ch;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: clamp(3.6rem, 8vw, 7rem);
  color: #fff;
}

.section h2 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  letter-spacing: 0.02em;
}

h3 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.lede,
.section-lead,
.panel p,
.timeline-card p,
.partner-card p,
.contact-line strong,
.contact-form,
.bio-quote span,
.gallery-caption small {
  color: var(--muted);
}

.lede {
  max-width: 38rem;
  margin: 1.35rem 0 0;
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-gold {
  background: linear-gradient(145deg, rgba(226, 198, 131, 0.98), rgba(170, 141, 70, 0.98));
  color: #111;
  box-shadow: 0 18px 40px rgba(170, 141, 70, 0.26);
}

.button-ghost {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(0, 0, 0, 0.82);
}

.hero .button-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.contact-socials {
  gap: 0.7rem;
}

.social-link {
  width: 3.2rem;
  min-width: 3.2rem;
  min-height: 3.2rem;
  padding: 0;
  border-color: rgba(0, 0, 0, 0.14);
  color: rgb(170, 141, 70);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.social-link:hover {
  color: rgb(226, 198, 131);
  border-color: rgba(170, 141, 70, 0.35);
}

.social-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.hero-badges span {
  position: relative;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(226, 198, 131, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.hero-badge-expandable {
  cursor: pointer;
}

.hero-badge-detail {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 12rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(226, 198, 131, 0.24);
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.94);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.05em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  white-space: nowrap;
}

.hero-badge-expandable:hover .hero-badge-detail,
.hero-badge-expandable:focus-within .hero-badge-detail {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.hero-photo-frame {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.hero-slider-track {
  position: relative;
}

.hero-slide {
  display: none;
  margin: 0;
}

.hero-slide.is-active {
  display: block;
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) contrast(1.04);
  border-radius: calc(var(--radius-lg) - 10px);
}

.photo-tag {
  position: absolute;
  left: 1.6rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}

.photo-tag-bottom {
  bottom: 1.55rem;
  left: auto;
  right: 1.6rem;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: transform 160ms ease, background-color 160ms ease;
}

.hero-slider-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  background: rgba(17, 17, 17, 0.96);
}

.hero-slider-arrow-prev {
  left: 1.35rem;
}

.hero-slider-arrow-next {
  right: 1.35rem;
}

.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.55rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.hero-slider-dot {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.hero-slider-dot.is-active {
  background: var(--gold);
  transform: scale(1.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-stats article,
.panel,
.timeline-card,
.partner-card,
.contact-panel,
.contact-form {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 1.1rem 1rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.hero-stats span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section-head-centered {
  justify-content: center;
  text-align: center;
}

.section-head-centered > div {
  width: 100%;
}

.section-lead {
  max-width: 28rem;
  margin: 0;
  line-height: 1.7;
}

.bio-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.panel,
.timeline-card,
.partner-card,
.contact-panel,
.contact-form {
  padding: 1.4rem;
}

.bio-section .panel p + p {
  margin-top: 1rem;
}

.bio-journey-head {
  margin-top: 1.4rem;
  padding-top: 0;
}

.bio-quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.14), transparent 38%);
}

.quote-mark {
  font-family: "Oswald", sans-serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold-dark);
}

.bio-quote p {
  margin: 1rem 0 2rem;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink);
}

.bio-quote strong {
  display: block;
}

.bio-quote span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-card {
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: "";
  position: absolute;
  inset: auto 1.4rem 1.2rem auto;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(226, 198, 131, 0.18), transparent 68%);
  pointer-events: none;
}

.timeline-year {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(226, 198, 131, 0.16);
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline-card h3,
.partner-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.35;
}

.timeline-card p {
  margin: 0;
  line-height: 1.75;
}

.trophy-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.trophy-pill {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(226, 198, 131, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.trophy-pill strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.trophy-pill-expandable {
  cursor: pointer;
}

.trophy-pill-detail {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  z-index: 3;
  min-width: 14rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(226, 198, 131, 0.24);
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.96);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.05em;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  white-space: nowrap;
}

.trophy-pill-expandable:hover .trophy-pill-detail,
.trophy-pill-expandable:focus-within .trophy-pill-detail {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.medal-map-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.medal-map-stage,
.medal-map-sidebar {
  padding: 1.5rem;
}

.medal-map-stage {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 249, 247, 0.92)),
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.14), transparent 38%);
}

.medal-map-topbar {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.medal-map-filter {
  min-width: 15rem;
  display: grid;
  gap: 0.55rem;
}

.medal-map-filter span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.medal-map-filter input {
  width: 100%;
  accent-color: var(--gold-dark);
}

.medal-map-board {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background:
    radial-gradient(circle at 16% 18%, rgba(226, 198, 131, 0.16), transparent 18%),
    radial-gradient(circle at 78% 22%, rgba(87, 120, 214, 0.18), transparent 22%),
    linear-gradient(180deg, #0a1020 0%, #10182a 48%, #0f1626 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 26px 80px rgba(8, 12, 22, 0.26);
}

.medal-map-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.medal-map-board .leaflet-container {
  width: 100%;
  height: 100%;
  background: transparent;
  font-family: "Montserrat", sans-serif;
}

.medal-map-board .leaflet-control-zoom {
  margin: 1rem 1rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.medal-map-board .leaflet-control-zoom a {
  width: 2.8rem;
  height: 2.8rem;
  line-height: 2.7rem;
  border: 0;
  background: rgba(7, 10, 18, 0.82);
  color: #fff;
}

.medal-map-board .leaflet-control-zoom a:hover {
  background: rgba(7, 10, 18, 0.96);
  color: #fff;
}

.medal-map-board .leaflet-top,
.medal-map-board .leaflet-bottom {
  z-index: 5;
}

.medal-map-board .leaflet-control-attribution {
  padding: 0.25rem 0.55rem;
  border-radius: 999px 0 0 0;
  background: rgba(7, 10, 18, 0.74);
  color: rgba(255, 255, 255, 0.74);
}

.medal-map-board .leaflet-control-attribution a {
  color: rgba(244, 231, 186, 0.92);
}

.medal-city-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.medal-city-pin {
  position: relative;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(255, 255, 255, 0.08);
}

.medal-city-marker.is-gold .medal-city-pin {
  background: linear-gradient(145deg, #ffe68d, #c89213 72%);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(255, 214, 92, 0.2),
    0 0 16px rgba(255, 214, 92, 0.28);
}

.medal-city-marker.is-silver .medal-city-pin {
  background: linear-gradient(145deg, #f4f7fb, #8d9db3 72%);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(170, 189, 214, 0.2),
    0 0 16px rgba(170, 189, 214, 0.24);
}

.medal-city-marker.is-bronze .medal-city-pin {
  background: linear-gradient(145deg, #dc8d57, #8f431a 72%);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(208, 111, 52, 0.2),
    0 0 16px rgba(208, 111, 52, 0.24);
}

.medal-city-marker.is-top5 .medal-city-pin {
  background: linear-gradient(145deg, #8bb7ff, #3d6fba 72%);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(114, 165, 255, 0.2),
    0 0 16px rgba(114, 165, 255, 0.24);
}

.medal-city-marker.is-top7 .medal-city-pin {
  background: linear-gradient(145deg, #c3d0e0, #70849d 72%);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(170, 188, 212, 0.18),
    0 0 16px rgba(170, 188, 212, 0.2);
}

.medal-city-pin::after {
  content: "";
  position: absolute;
  inset: 29%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  transform: rotate(45deg);
}

.medal-city-label {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.84);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.medal-map-board .leaflet-container.show-city-labels .medal-city-label {
  display: inline-flex;
}

.medal-city-name {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.medal-city-medals {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.32rem;
}

.medal-city-chip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.medal-city-chip.is-gold {
  background: rgba(255, 220, 122, 0.18);
  border-color: rgba(255, 220, 122, 0.28);
  color: #ffe38b;
}

.medal-city-chip.is-silver {
  background: rgba(214, 224, 239, 0.18);
  border-color: rgba(214, 224, 239, 0.28);
  color: #f4f7fb;
}

.medal-city-chip.is-bronze {
  background: rgba(217, 144, 93, 0.2);
  border-color: rgba(217, 144, 93, 0.32);
  color: #f0bc93;
}

.medal-city-chip.is-top5 {
  background: rgba(114, 165, 255, 0.18);
  border-color: rgba(114, 165, 255, 0.28);
  color: #cfe0ff;
}

.medal-city-chip.is-top7 {
  background: rgba(170, 188, 212, 0.18);
  border-color: rgba(170, 188, 212, 0.28);
  color: #e2ebf7;
}

.medal-city-chip.is-level {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.leaflet-popup-content-wrapper {
  border: 1px solid rgba(226, 198, 131, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.98), rgba(12, 16, 26, 0.96)),
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.08), transparent 38%);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.leaflet-popup-content {
  margin: 1rem 1.05rem;
  font-family: "Montserrat", sans-serif;
}

.leaflet-popup-tip {
  background: rgba(10, 14, 22, 0.96);
}

.medal-popup strong,
.medal-popup span,
.medal-popup small {
  display: block;
}

.medal-popup strong {
  font-size: 1rem;
}

.medal-popup span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.medal-popup small {
  margin-top: 0.65rem;
  line-height: 1.6;
}

.medal-popup-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.8rem;
}

.medal-popup-events {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.medal-popup-events li {
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.medal-popup-event-trigger {
  display: grid;
  gap: 0.12rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.medal-popup-event-trigger:hover,
.medal-popup-event-trigger:focus-visible {
  border-color: rgba(226, 198, 131, 0.32);
  background: rgba(226, 198, 131, 0.1);
  transform: translateX(2px);
}

.medal-popup-event-trigger:focus-visible {
  outline: 2px solid rgba(226, 198, 131, 0.2);
  outline-offset: 2px;
}

.medal-popup-events strong,
.medal-popup-events small {
  display: block;
}

.medal-popup-events strong {
  font-size: 0.8rem;
  line-height: 1.4;
}

.medal-popup-events small {
  margin-top: 0.14rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.standings-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.standings-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.standings-card {
  position: relative;
  z-index: 1;
  width: min(46rem, 100%);
  max-height: min(82vh, 48rem);
  overflow: auto;
  padding: 1.5rem;
  border: 1px solid rgba(226, 198, 131, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(26, 26, 26, 0.96)),
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.14), transparent 38%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  color: #fff;
}

.standings-head h3 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.7rem;
}

.standings-head p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.standings-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.standings-facts article {
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.standings-facts span {
  display: block;
  color: #f4e7ba;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.standings-facts strong {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.96rem;
  line-height: 1.35;
}

.standings-table-wrap {
  margin-top: 1.2rem;
  overflow: auto;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
}

.standings-table th,
.standings-table td {
  padding: 0.8rem 0.85rem;
  text-align: left;
}

.standings-table thead th {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4e7ba;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.standings-table tbody tr + tr td {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.standings-table tbody tr.is-current {
  background: rgba(226, 198, 131, 0.1);
}

.standings-table tbody tr.is-current td {
  color: #fff5d1;
  font-weight: 700;
}

.medal-map-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.medal-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.legend-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  display: inline-block;
}

.legend-gold {
  background: #d9b86a;
}

.legend-silver {
  background: #c7ccd6;
}

.legend-bronze {
  background: #a56a43;
}

.medal-map-legend small {
  color: var(--muted);
}

.medal-map-sidebar {
  display: grid;
  gap: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 250, 248, 0.92)),
    radial-gradient(circle at top left, rgba(226, 198, 131, 0.1), transparent 42%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.medal-map-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.medal-map-stats article {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(245, 245, 242, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.medal-map-stats strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.medal-map-stats span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

.medal-map-side-label {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.medal-map-country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.medal-map-country-chip {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.medal-map-country-chip.is-active {
  border-color: rgba(170, 141, 70, 0.35);
  background: rgba(226, 198, 131, 0.18);
  color: var(--gold-dark);
}

.medal-map-country-chip:hover {
  border-color: rgba(170, 141, 70, 0.28);
}

.medal-map-country-more {
  width: 100%;
}

.medal-map-country-more summary {
  cursor: pointer;
  list-style: none;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.medal-map-country-more summary::-webkit-details-marker {
  display: none;
}

.medal-map-country-more-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.medal-map-timeline {
  min-height: 0;
}

.medal-map-timeline-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.medal-map-timeline-head span {
  font-size: 0.82rem;
  color: var(--muted);
}

.medal-map-year-list {
  max-height: 29rem;
  overflow: auto;
  display: grid;
  gap: 0.8rem;
  padding-right: 0.25rem;
}

.medal-map-year-card {
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.035);
}

.medal-map-year-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.medal-map-year-card strong {
  font-size: 1.2rem;
}

.medal-map-year-card span {
  font-size: 0.84rem;
  color: var(--muted);
}

.medal-map-year-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.medal-map-year-card li {
  display: grid;
  gap: 0.12rem;
  padding-left: 0.95rem;
  position: relative;
}

.medal-map-year-trigger {
  display: grid;
  gap: 0.12rem;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.medal-map-year-trigger:hover strong,
.medal-map-year-trigger:focus-visible strong {
  color: var(--gold-dark);
}

.medal-map-year-trigger:focus-visible {
  outline: none;
}

.medal-map-year-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--gold-dark);
}

.medal-map-year-card small {
  color: var(--muted);
}

.trophy-pill span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 19rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 28px;
  background: #111;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  text-align: left;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92));
  color: #fff;
}

.gallery-caption strong {
  font-size: 1rem;
}

.gallery-caption small {
  color: rgba(255, 255, 255, 0.76);
}

.gallery-card.tall {
  grid-column: span 6;
  min-height: 34rem;
}

.gallery-card.wide {
  grid-column: span 6;
}

.gallery-card.small {
  grid-column: span 3;
  min-height: 19rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 248, 244, 0.92)),
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.12), transparent 36%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

.media-card-trigger {
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.media-card-trigger:hover,
.media-card-trigger:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(170, 141, 70, 0.24);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.08);
}

.media-card-trigger:focus-visible {
  outline: 2px solid rgba(170, 141, 70, 0.24);
  outline-offset: 3px;
}

.media-cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 1rem;
  border-radius: 22px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.media-type {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(226, 198, 131, 0.16);
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.3rem;
  line-height: 1.25;
}

.media-card p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.media-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-card-link::after {
  content: "↗";
  font-size: 0.95rem;
}

.gallery-grid {
  grid-auto-flow: dense;
}

.gallery-preview-action {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 1.5rem;
}

.gallery-stage {
  padding-bottom: 1rem;
}

.gallery-landing {
  padding-top: 2.2rem;
}

.gallery-landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.72fr);
  gap: 1.4rem;
  align-items: stretch;
}

.gallery-landing-copy h1 {
  max-width: 14ch;
}

.gallery-landing-panel {
  align-self: end;
  gap: 1rem;
}

.gallery-overview-stat {
  display: grid;
  gap: 0.22rem;
}

.gallery-overview-stat strong {
  font-size: 1.45rem;
  line-height: 1.05;
}

.gallery-overview-stat span {
  color: var(--muted);
  line-height: 1.65;
}

.standalone-gallery-section {
  padding-top: 3.8rem;
}

.gallery-filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
}

.gallery-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease,
    color 180ms ease;
}

.gallery-filter-button:hover {
  transform: translateY(-2px);
  border-color: rgba(170, 141, 70, 0.38);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.gallery-filter-button.is-active {
  border-color: rgba(170, 141, 70, 0.42);
  background: rgba(226, 198, 131, 0.18);
  color: var(--gold-dark);
}

.gallery-timeline {
  display: grid;
  gap: 1.3rem;
}

.gallery-era {
  display: grid;
  grid-template-columns: minmax(15rem, 0.56fr) minmax(0, 1.44fr);
  gap: 1.25rem;
  align-items: start;
}

.gallery-era-text-only {
  grid-template-columns: 1fr;
}

.gallery-era.is-hidden {
  display: none;
}

.gallery-era-head {
  position: sticky;
  top: 6.3rem;
  display: grid;
  gap: 0.8rem;
}

.gallery-era-text-only .gallery-era-head {
  position: static;
  max-width: 48rem;
}

.gallery-era-year {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(226, 198, 131, 0.12);
  color: var(--gold-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-era-head h3 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.98;
}

.gallery-era-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.gallery-era-grid {
  gap: 1rem;
}

.partners-cloud {
  width: min(78rem, 100%);
  margin-inline: auto;
}

.partners-marquee-shell {
  width: min(100%, 84rem);
  margin-inline: auto;
  --marquee-normal-duration: 36s;
  --marquee-slow-duration: 28s;
}

.partners-marquee-viewport {
  position: relative;
  overflow: hidden;
  padding: 0.4rem 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 7%, black 93%, transparent 100%);
}

.partners-marquee-viewport.is-dragging {
  cursor: grabbing;
}

.partners-marquee-viewport.is-dragging .partner-marquee-item {
  pointer-events: none;
}

.partners-marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  will-change: transform;
  animation: partners-marquee var(--marquee-normal-duration) linear infinite;
}

.partners-marquee-track-slow {
  animation-duration: var(--marquee-slow-duration);
}

.partners-marquee-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
}

.partner-marquee-item {
  position: relative;
  flex: 0 0 12.5rem;
  height: 7rem;
  overflow: hidden;
  isolation: isolate;
  -webkit-user-drag: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(226, 198, 131, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 248, 244, 0.94)),
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.12), transparent 38%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.partner-marquee-item:hover {
  transform: translateY(-3px);
  border-color: rgba(170, 141, 70, 0.34);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
}

.partner-marquee-item:focus-visible {
  outline: 2px solid rgba(170, 141, 70, 0.4);
  outline-offset: 4px;
}

.partner-marquee-item-dark {
  background:
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.16), transparent 42%),
    linear-gradient(180deg, #0b0b0b, #1c1c1c),
    #101010;
  border-color: rgba(226, 198, 131, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.partner-marquee-item img {
  width: 100%;
  max-width: 9.8rem;
  max-height: 3.8rem;
  object-fit: contain;
  object-position: center center;
  -webkit-user-drag: none;
  user-select: none;
}

.partner-marquee-item-dark img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.partner-marquee-item img[src*="victoria-vsc"] {
  max-width: 10.7rem;
  max-height: 4.3rem;
}

@keyframes partners-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(var(--marquee-distance, -50%));
  }
}

.partners-organization-block {
  margin-top: 2.4rem;
}

.organization-grid {
  width: min(100%, 58rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.organization-logo-card {
  position: relative;
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.4rem;
  min-height: 7.4rem;
  overflow: hidden;
  border: 1px solid rgba(226, 198, 131, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.16), transparent 42%),
    linear-gradient(180deg, #0b0b0b, #1c1c1c),
    #101010;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.organization-logo-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.organization-logo-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.organization-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 198, 131, 0.42);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.24);
}

.organization-logo-card:focus-visible {
  outline: 2px solid rgba(170, 141, 70, 0.48);
  outline-offset: 4px;
}

.organization-logo-card img {
  width: 100%;
  max-width: 14.6rem;
  max-height: 4.8rem;
  object-fit: contain;
  object-position: center center;
  -webkit-user-drag: none;
  user-select: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.organization-logo-card img[src*="sparta-agency"] {
  max-width: 14rem;
}

.organization-logo-card img[src*="cesky-svaz-juda"],
.organization-logo-card img[src*="usk-praha"] {
  max-width: 5.8rem;
  max-height: 5.8rem;
}

.organization-logo-card img[src*="krpalek-academy"] {
  max-width: 8.8rem;
  max-height: 5.7rem;
}

.partners-subheading {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
}

.partners-section .eyebrow {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.partners-unified-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10.75rem;
  padding: 1rem;
  border: 1px solid rgba(226, 198, 131, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 248, 244, 0.92)),
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.12), transparent 36%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.partner-tile-dark {
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(33, 33, 33, 0.96)),
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.18), transparent 34%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.partner-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(170, 141, 70, 0.34);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.partner-tile:focus-visible {
  outline: 2px solid rgba(170, 141, 70, 0.45);
  outline-offset: 4px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 5.6rem;
  padding: 0.8rem 1rem;
}

.partner-logo-dark {
  min-height: 100%;
  padding: 1.1rem 1.2rem;
}

.partner-logo img {
  width: 100%;
  max-width: 10rem;
  height: 3.8rem;
  object-fit: contain;
  object-position: center center;
}


.contact-panel,
.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-line {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.contact-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-line span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 800;
}

.contact-line strong {
  font-size: 1.02rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(218, 197, 110, 0.25);
  border-color: rgba(184, 160, 74, 0.6);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0;
  padding: 0.85rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.modal-card img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 22px;
  background: #111;
}

.modal-card figcaption {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 0.45rem 0.35rem;
}

.modal-card figcaption strong {
  font-size: 1.1rem;
}

.modal-card figcaption span {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.9);
  color: #fff;
  font-size: 1.5rem;
}

.media-detail-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 42;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.media-detail-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.media-detail-card {
  position: relative;
  z-index: 1;
  width: min(1020px, 100%);
  max-height: min(88vh, 54rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(226, 198, 131, 0.2);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 236, 0.96)),
    radial-gradient(circle at top right, rgba(226, 198, 131, 0.16), transparent 34%);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.24);
}

.media-detail-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.68fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.media-detail-poster-wrap {
  position: sticky;
  top: 0;
}

.media-detail-poster {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5.25;
  border-radius: 26px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.media-detail-copy {
  display: grid;
  gap: 1rem;
  padding: 0.45rem 0.25rem 0.25rem;
}

.media-detail-copy h3 {
  margin: -0.35rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.media-detail-lead {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.8;
}

.media-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.media-detail-meta article {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.03);
}

.media-detail-meta span {
  display: block;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-detail-meta strong {
  display: block;
  margin-top: 0.42rem;
  font-size: 1rem;
  line-height: 1.5;
}

.media-detail-note {
  margin: 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(170, 141, 70, 0.16);
  border-radius: 22px;
  background: rgba(226, 198, 131, 0.1);
  color: var(--ink);
  line-height: 1.72;
}

.media-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-intro,
  .page-intro-square,
  body.is-ready .page-intro,
  body.is-ready .page-intro-square {
    animation: none;
  }

  .page-intro {
    display: none;
  }

  .partners-marquee-track {
    animation: none;
  }

  .organization-logo-card {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .bio-grid,
  .contact-grid,
  .medal-map-shell,
  .gallery-landing-grid,
  .gallery-era,
  .media-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

  .media-grid {
    grid-template-columns: 1fr;
  }

  .partner-marquee-item {
    flex-basis: 11rem;
    height: 6.35rem;
  }

  .gallery-era-head {
    position: static;
  }

  .media-detail-poster-wrap {
    position: static;
    max-width: 24rem;
  }

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

  .gallery-card.tall,
  .gallery-card.wide,
  .gallery-card.small {
    grid-column: span 6;
    min-height: 22rem;
  }

  .medal-map-board {
    min-height: 29rem;
  }
}

@media (max-width: 760px) {
  .site-header-wrap {
    padding: 0.75rem 0.75rem 0;
  }

  .site-header {
    border-radius: 28px;
    padding-inline: 0.9rem;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .section {
    width: min(var(--wrap), calc(100% - 1.25rem));
    padding: 4rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 3.25rem;
  }

  .hero-grid {
    width: min(var(--wrap), calc(100% - 1.25rem));
    gap: 1.15rem;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 15vw, 4.15rem);
    line-height: 0.95;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .hero-badges {
    gap: 0.55rem;
  }

  .hero-badges span {
    width: 100%;
    white-space: normal;
  }

  .hero-badge-detail {
    position: static;
    min-width: 0;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    white-space: normal;
    pointer-events: none;
    transition: max-height 220ms ease, margin-top 220ms ease, padding-top 220ms ease, border-top-color 220ms ease;
  }

  .hero-badge-expandable.is-open .hero-badge-detail {
    max-height: 12rem;
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(226, 198, 131, 0.24);
    pointer-events: auto;
  }

  .hero-photo-frame {
    padding: 0.75rem;
  }

  .hero-photo-frame img {
    aspect-ratio: 4 / 4.85;
  }

  .photo-tag {
    left: 1rem;
    padding: 0.42rem 0.65rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .photo-tag-bottom {
    right: 1rem;
    bottom: 1rem;
    left: auto;
    max-width: calc(100% - 2rem);
  }

  .hero-slider-arrow {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1.65rem;
  }

  .hero-slider-arrow-prev {
    left: 0.85rem;
  }

  .hero-slider-arrow-next {
    right: 0.85rem;
  }

  .hero-slider-dots {
    bottom: 1rem;
  }

  .hero-stats article {
    padding: 1rem 0.95rem;
  }

  .section-head {
    gap: 0.85rem;
    margin-bottom: 1.6rem;
    padding-bottom: 1rem;
  }

  .section h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
    line-height: 0.98;
  }

  .section-lead {
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .panel,
  .timeline-card,
  .contact-panel,
  .contact-form,
  .medal-map-stage,
  .medal-map-sidebar,
  .media-card {
    padding: 1.05rem;
    border-radius: 24px;
  }

  .bio-quote p {
    margin: 0.55rem 0 1.4rem;
    font-size: 1.02rem;
    line-height: 1.68;
  }

  .timeline-card::before {
    inset: auto 1rem 1rem auto;
    width: 4.5rem;
    height: 4.5rem;
  }

  .timeline-card h3,
  .partner-card h3 {
    font-size: 1.06rem;
  }

  .timeline-card p,
  .panel p,
  .media-card p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .trophy-pill-expandable {
    text-align: left;
  }

  .trophy-pill-detail {
    position: static;
    min-width: 0;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: var(--muted);
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    white-space: normal;
    pointer-events: none;
    transition: max-height 220ms ease, margin-top 220ms ease, padding-top 220ms ease, border-top-color 220ms ease;
  }

  .trophy-pill-expandable.is-open .trophy-pill-detail {
    max-height: 12rem;
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    pointer-events: auto;
  }

  .hero-stats,
  .timeline-grid,
  .partners-unified-grid,
  .trophy-strip,
  .medal-map-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-preview-action,
  .gallery-filter-toolbar {
    justify-content: center;
  }

  .gallery-filter-toolbar {
    gap: 0.65rem;
  }

  .gallery-filter-button {
    width: 100%;
  }

  .medal-map-topbar,
  .medal-map-timeline-head {
    align-items: start;
    flex-direction: column;
  }

  .medal-map-filter {
    min-width: 0;
    width: 100%;
  }

  .medal-map-board {
    min-height: 20rem;
    border-radius: 24px;
  }

  .medal-map-board .leaflet-control-zoom {
    margin: 0.85rem 0.85rem 0 0;
  }

  .medal-map-board .leaflet-container.show-city-labels .medal-city-label {
    display: none;
  }

  .leaflet-popup-content {
    margin: 0.8rem 0.85rem;
  }

  .medal-popup strong {
    font-size: 0.92rem;
  }

  .medal-map-legend {
    gap: 0.65rem;
    font-size: 0.78rem;
  }

  .medal-map-legend small {
    width: 100%;
    line-height: 1.5;
  }

  .medal-map-stats article {
    padding: 0.85rem;
    border-radius: 18px;
  }

  .medal-map-stats strong {
    font-size: 1.4rem;
  }

  .medal-map-country-chip,
  .medal-map-country-more summary {
    padding: 0.45rem 0.65rem;
    font-size: 0.74rem;
  }

  .medal-map-year-list {
    max-height: none;
  }

  .medal-map-year-card {
    padding: 0.9rem;
    border-radius: 20px;
  }

  .medal-map-year-card header {
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.6rem;
  }

  .medal-map-year-card strong {
    font-size: 1.05rem;
  }

  .medal-map-year-trigger strong,
  .medal-map-year-trigger small {
    line-height: 1.42;
  }

  .standings-card {
    padding: 1.1rem;
    border-radius: 24px;
  }

  .standings-head h3 {
    font-size: 1.25rem;
  }

  .standings-facts {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .standings-facts article {
    padding: 0.72rem 0.8rem;
    border-radius: 16px;
  }

  .standings-table th,
  .standings-table td {
    padding: 0.65rem 0.55rem;
    font-size: 0.88rem;
  }

  .gallery-card.tall,
  .gallery-card.wide,
  .gallery-card.small {
    grid-column: auto;
    min-height: 16rem;
    border-radius: 24px;
  }

  .gallery-caption {
    padding: 0.85rem 0.95rem;
  }

  .gallery-caption strong {
    font-size: 0.95rem;
  }

  .media-cover {
    border-radius: 20px;
  }

  .media-card h3 {
    font-size: 1.12rem;
  }

  .media-card-link {
    font-size: 0.76rem;
  }

  .media-detail-card {
    padding: 0.8rem;
    border-radius: 26px;
  }

  .media-detail-copy {
    gap: 0.85rem;
    padding: 0.2rem;
  }

  .media-detail-copy h3 {
    font-size: clamp(1.55rem, 10vw, 2.4rem);
  }

  .media-detail-lead,
  .media-detail-note {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .media-detail-meta {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .media-detail-meta article {
    padding: 0.8rem 0.9rem;
    border-radius: 18px;
  }

  .media-detail-actions {
    flex-direction: column;
  }

  .media-detail-actions .button {
    width: 100%;
  }

  .partner-tile {
    min-height: 8.75rem;
    padding: 0.85rem;
    border-radius: 24px;
  }

  .partners-marquee-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .partners-marquee-track {
    animation-duration: 28s;
  }

  .partners-marquee-track-slow {
    animation-duration: 24s;
  }

  .partners-marquee-group {
    gap: 0.75rem;
    padding-right: 0.75rem;
  }

  .partner-marquee-item {
    flex-basis: 9.75rem;
    height: 5.65rem;
    padding: 0.8rem 0.9rem;
    border-radius: 20px;
  }

  .partner-marquee-item img {
    max-width: 8rem;
    max-height: 3rem;
  }

  .organization-grid {
    width: min(100%, 28rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .organization-logo-card,
  .organization-logo-card:nth-child(4),
  .organization-logo-card:nth-child(5) {
    grid-column: auto;
  }

  .organization-logo-card:nth-child(odd):last-child {
    grid-column: 1 / -1;
    width: min(13.5rem, 100%);
    justify-self: center;
  }

  .organization-logo-card {
    border-radius: 22px;
    padding: 0.9rem 1rem;
    min-height: 6.6rem;
  }

  .organization-logo-card img {
    max-width: 12.5rem;
    max-height: 4.1rem;
  }

  .organization-logo-card img[src*="cesky-svaz-juda"],
  .organization-logo-card img[src*="usk-praha"] {
    max-width: 5rem;
    max-height: 5rem;
  }

  .partner-logo {
    min-height: 4.4rem;
    padding: 0.6rem 0.75rem;
  }

  .partner-logo-dark {
    padding: 0.9rem 1rem;
  }

  .partner-logo img {
    max-width: 8.8rem;
    height: 3.2rem;
  }

  .contact-line {
    padding-bottom: 0.85rem;
  }

  .contact-line strong {
    font-size: 0.96rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.82rem 0.9rem;
  }

  .modal-card {
    padding: 0.65rem;
    border-radius: 24px;
  }

  .modal-card img {
    max-height: 64vh;
  }

  .modal-card figcaption {
    padding: 0.85rem 0.3rem 0.2rem;
  }

  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.3rem;
  }
}

@media (max-width: 430px) {
  .site-header {
    width: min(var(--wrap), calc(100% - 1rem));
    padding-inline: 0.75rem;
  }

  .section,
  .hero-grid {
    width: min(var(--wrap), calc(100% - 1rem));
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand-copy strong {
    font-size: 0.84rem;
    letter-spacing: 0.06em;
  }

  .brand-copy small {
    display: none;
  }

  .partners-marquee-track {
    animation-duration: 24s;
  }

  .partners-marquee-track-slow {
    animation-duration: 22s;
  }

  .organization-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .organization-logo-card,
  .organization-logo-card:nth-child(4) {
    grid-column: auto;
    min-height: 5.9rem;
    border-radius: 20px;
  }

  .organization-logo-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 0.375rem);
    justify-self: center;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 14vw, 3.15rem);
  }

  .hero-badges span {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }

  .photo-tag-bottom {
    font-size: 0.56rem;
  }

  .gallery-card.tall,
  .gallery-card.wide,
  .gallery-card.small {
    min-height: 14.5rem;
  }

  .medal-map-board {
    min-height: 18rem;
  }
}
