:root {
  --hero-image: url("hero.jpg");
  --header-height: 76px;
  --bg: #091219;
  --bg-soft: #101a22;
  --ink: #10161c;
  --ink-soft: #626c76;
  --paper: #f3efe8;
  --paper-2: #ebe4da;
  --paper-3: #f7f4ef;
  --white: #f7f9fb;
  --line-light: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(16, 22, 28, 0.1);
  --shadow: 0 32px 90px rgba(6, 14, 22, 0.18);
  --shadow-soft: 0 18px 48px rgba(6, 14, 22, 0.1);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.58;
}

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

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

p,
figure,
ul {
  margin: 0;
}

ul {
  padding: 0;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 18, 25, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__logo {
  width: auto;
  height: 128px;
  display: block;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  place-items: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  position: relative;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.nav-toggle:active {
  transform: translateY(1px);
}

.nav-toggle__icon {
  position: absolute;
  width: 22px;
  height: 22px;
  overflow: visible;
  transition: opacity 200ms ease, transform 220ms ease;
}

.nav-toggle__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle__icon--menu {
  opacity: 1;
  transform: scale(1);
}

.nav-toggle__icon--close {
  opacity: 0;
  transform: scale(0.84) rotate(-12deg);
}

.nav-toggle.is-active .nav-toggle__icon--menu {
  opacity: 0;
  transform: scale(0.84) rotate(12deg);
}

.nav-toggle.is-active .nav-toggle__icon--close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.brand__copy {
  display: grid;
}

.brand__copy strong {
  font-size: 0.92rem;
  font-weight: 700;
}

.brand__copy span,
.site-nav {
  color: rgba(247, 249, 251, 0.64);
}

.brand__copy span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 1.12rem;
}

.site-nav a,
.header-logo {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.header-logo {
  width: auto;
  height: 80px;
  display: block;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  height: calc(100svh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  padding: clamp(28px, 5vh, 56px) 0 clamp(20px, 4vh, 36px);
  display: flex;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(9, 18, 25, 0.02) 0%, rgba(9, 18, 25, 0.02) 34%, rgba(9, 18, 25, 0.08) 58%, rgba(9, 18, 25, 0.42) 82%, rgba(9, 18, 25, 0.64) 100%),
    linear-gradient(180deg, rgba(9, 18, 25, 0.28) 0%, rgba(9, 18, 25, 0.06) 22%, rgba(9, 18, 25, 0.1) 58%, rgba(9, 18, 25, 0.78) 100%),
    var(--hero-image) 33% center / cover no-repeat;
  filter: saturate(1.03) contrast(1.04) brightness(0.98);
  z-index: -2;
}

.hero::after {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%);
  z-index: -1;
}

.hero__inner {
  min-height: 0;
  height: 100%;
  width: min(920px, calc(100% - 32px));
  margin-right: clamp(20px, 7vw, 112px);
  margin-left: auto;
  display: grid;
  align-items: center;
}

.hero__content {
  width: min(48rem, 100%);
  justify-self: end;
  text-align: right;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  justify-self: end;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.hero .eyebrow::before {
  order: 2;
}

.eyebrow--dark {
  color: #6f6558;
}

.hero h1 {
  max-width: 9.8ch;
  margin-left: auto;
  margin-top: 14px;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  text-shadow: 0 12px 34px rgba(6, 14, 22, 0.22);
}

.hero__lead {
  max-width: 44rem;
  margin-left: auto;
  margin-top: 18px;
  color: rgba(247, 249, 251, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  text-shadow: 0 10px 30px rgba(6, 14, 22, 0.18);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button--primary {
  background: var(--white);
  color: var(--ink);
  border-color: transparent;
}

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

.section {
  padding: clamp(4.3rem, 8vw, 7rem) 0;
}

.section--light {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-3) 100%);
  color: var(--ink);
}

.section--dark {
  background: linear-gradient(180deg, #0b151d 0%, #101b24 100%);
}

.section--timeline {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section--sponsoring {
  background: linear-gradient(180deg, #f0ebe4 0%, #ebe2d7 100%);
  color: var(--ink);
}

.section--media {
  background: linear-gradient(180deg, #ffffff 0%, #f5f0e9 100%);
  color: var(--ink);
}

.section--contact {
  background: linear-gradient(180deg, #e8e0d5 0%, #f4eee6 100%);
  color: var(--ink);
}

.intro,
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}

.intro--single {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.intro__lead h2,
.section-head h2,
.story__copy h2,
.contact-panel h2,
.sponsor-intro h2 {
  margin-top: 14px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.intro__body,
.story__copy p,
.sponsor-intro p,
.section-copy {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.intro__body {
  display: grid;
  gap: 18px;
}

.intro__body--wide {
  max-width: 44rem;
}

.project-map {
  margin: 42px 0 0;
  padding: 18px;
  border: 1px solid rgba(16, 22, 28, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow-soft);
}

.project-map img {
  border-radius: 20px;
  max-height: 620px;
  object-fit: cover;
}

.project-map figcaption {
  margin-top: 14px;
  color: #6f6558;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head {
  max-width: 56rem;
}

.section-head--compact h2 {
  max-width: 13ch;
}

.section-head--dark-text {
  color: var(--ink);
}

.timeline {
  margin-top: 34px;
}

.timeline__nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.timeline__nav::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.timeline-step {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.timeline-step__dot {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.timeline-step__dot::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(247, 249, 251, 0.38);
  transform: translate(-50%, -50%);
  transition: background-color 220ms ease, transform 220ms ease;
}

.timeline-step__year {
  margin-top: 10px;
  color: rgba(247, 249, 251, 0.54);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-step__title {
  max-width: 14ch;
  font-family: "Manrope", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.timeline-step__meta {
  color: rgba(247, 249, 251, 0.54);
  font-size: 0.92rem;
}

.timeline-step:hover .timeline-step__dot,
.timeline-step:focus-visible .timeline-step__dot,
.timeline-step.is-active .timeline-step__dot {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
}

.timeline-step.is-active .timeline-step__dot {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.timeline-step.is-active .timeline-step__dot::after {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.05);
}

.timeline-step.is-active .timeline-step__year,
.timeline-step.is-active .timeline-step__meta {
  color: rgba(247, 249, 251, 0.74);
}

.timeline-step.is-active .timeline-step__title {
  color: var(--white);
}

.timeline__panels {
  position: relative;
  margin-top: 28px;
  transition: height 320ms ease;
}

.timeline-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 320ms ease;
}

.timeline-panel[hidden] {
  display: none;
}

.timeline-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-panel__media img {
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border-radius: 20px;
}

.timeline-panel__copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 8px 4px;
}

.timeline-panel__label {
  color: rgba(247, 249, 251, 0.52);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-panel__copy h3 {
  max-width: 14ch;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.timeline-panel__copy p {
  max-width: 34rem;
  color: rgba(247, 249, 251, 0.72);
}

.story__copy {
  display: grid;
  gap: 18px;
}

.story__video-link,
.season__video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease;
}

.season__video-link {
  color: var(--white);
}

.video-link__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  color: #d7261e;
  flex: 0 0 auto;
}

.video-link__badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

.video-link__text {
  position: relative;
}

.video-link__text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22rem;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
  transform-origin: left center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.video-link__arrow {
  font-size: 1.05em;
  transition: transform 180ms ease;
}

.story__video-link:hover,
.story__video-link:focus-visible,
.season__video-link:hover,
.season__video-link:focus-visible {
  color: #5f513d;
  transform: translateX(2px);
}

.season__video-link:hover {
  color: #d6c9b7;
}

.story__video-link:hover .video-link__text::after,
.story__video-link:focus-visible .video-link__text::after,
.season__video-link:hover .video-link__text::after,
.season__video-link:focus-visible .video-link__text::after {
  opacity: 0.85;
  transform: scaleX(1.04);
}

.story__video-link:hover .video-link__arrow,
.story__video-link:focus-visible .video-link__arrow,
.season__video-link:hover .video-link__arrow,
.season__video-link:focus-visible .video-link__arrow {
  transform: translate(2px, -2px);
}

.story__facts {
  display: grid;
  gap: 14px;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2px;
}

.story-gallery__item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.story-gallery__item:hover,
.story-gallery__item:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(6, 14, 22, 0.14);
}

.story-gallery__item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.story-gallery__label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(9, 18, 25, 0.52);
  backdrop-filter: blur(12px);
  color: rgba(247, 249, 251, 0.96);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.fact-card,
.sponsor-copy,
.media-card,
.media-note,
.contact-panel,
.contact-portrait,
.sponsor-cta {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
}

.fact-card {
  padding: 22px;
}

.fact-card span,
.contact-details span {
  display: block;
  margin-bottom: 8px;
  color: #7b7368;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fact-card strong,
.contact-details strong,
.contact-details a {
  display: block;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  line-height: 1.3;
}

.sponsor-intro {
  max-width: 50rem;
}

.sponsor-intro p:last-child {
  margin-top: 18px;
}

.sponsor-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 34px;
}

.sponsor-split--reverse {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
}

.sponsor-copy {
  padding: 28px;
}

.sponsor-copy h3,
.media-card h3,
.sponsor-cta h3 {
  font-size: 1.6rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.sponsor-figure,
.contact-portrait {
  overflow: hidden;
}

.sponsor-figure img,
.contact-portrait img,
.atmosphere-panel img {
  height: 100%;
  object-fit: cover;
}

.sponsor-figure img {
  min-height: 100%;
}

.sponsor-figure--portrait img {
  object-position: 65% center;
}

.atmosphere-panel {
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.atmosphere-panel img {
  aspect-ratio: 2.2 / 1;
}

.atmosphere-panel figcaption {
  padding: 14px 6px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.sponsor-cta {
  margin-top: 24px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sponsor-cta p:last-child {
  margin-top: 10px;
  color: var(--ink-soft);
}

.contact-link {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.24rem, 2.1vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.media-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 34px;
}

.media-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.media-card--group,
.media-card--social {
  padding: 26px;
}

.media-card--social {
  display: grid;
  align-content: start;
  gap: 20px;
  background:
    radial-gradient(circle at top right, rgba(76, 91, 141, 0.14), transparent 46%),
    rgba(255, 255, 255, 0.68);
}

.media-card__head h3 {
  max-width: 18ch;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.media-kicker {
  margin: 0 0 10px;
  color: #7b7368;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.media-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.media-entry {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0 0;
  border-top: 1px solid rgba(16, 22, 28, 0.08);
}

.media-entry:first-child {
  padding-top: 0;
  border-top: 0;
}

.media-entry__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 34px;
}

.media-entry__brand--empty {
  min-height: 1px;
}

.media-entry__body {
  min-width: 0;
}

.media-brand {
  display: block;
  width: auto;
  max-width: 110px;
  height: 28px;
  margin-top: 0;
  object-fit: contain;
  object-position: left center;
}

.media-brand--ct {
  height: 28px;
}

.media-brand--radiozurnal {
  height: 28px;
}

.media-brand--procne {
  height: 28px;
}

.media-brand--bezfrazi {
  height: 28px;
}

.media-brand--nova,
.media-brand--idnes {
  height: 28px;
}

.media-entry p {
  max-width: none;
  margin: 0;
  color: #313a74;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.media-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 96px;
  min-height: 38px;
  padding: 0 16px;
  border: 2px solid #4c5b8d;
  border-radius: 999px;
  color: #313a74;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.media-action:hover,
.media-action:focus-visible {
  background: #313a74;
  color: #f7f9fb;
  transform: translateY(-1px);
}

.media-social-grid {
  display: grid;
  gap: 12px;
}

.media-social-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid rgba(16, 22, 28, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: #313a74;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.media-social-link:hover,
.media-social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(49, 58, 116, 0.18);
  box-shadow: 0 18px 36px rgba(6, 14, 22, 0.08);
}

.media-social-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
}

.media-social-icon svg {
  width: 100%;
  height: 100%;
}

.media-social-icon--youtube {
  color: #ff2222;
}

.media-social-icon--linkedin {
  color: #0a66c2;
}

.media-social-icon--facebook {
  color: #1877f2;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: stretch;
}

.contact-portrait img {
  aspect-ratio: 0.92 / 1;
  object-position: center top;
}

.contact-panel {
  padding: 28px;
  display: grid;
  gap: 24px;
}

.contact-panel__copy p:last-child {
  margin-top: 16px;
  color: var(--ink-soft);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 22, 28, 0.1);
  background: rgba(255, 255, 255, 0.56);
}

.social-links span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  flex: 0 0 auto;
}

.social-links span svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}

.social-links em {
  color: var(--ink);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer {
  padding: 20px 0 28px;
  background: #111920;
  color: rgba(247, 249, 251, 0.56);
  text-align: center;
  font-size: 0.88rem;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-visible {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.76);
  opacity: 0;
  transition: opacity 320ms ease;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100% - 48px));
  max-height: calc(100vh - 72px);
  padding: 18px;
  border-radius: 28px;
  background: rgba(16, 22, 28, 0.92);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.is-visible .lightbox__backdrop {
  opacity: 1;
}

.lightbox.is-visible .lightbox__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lightbox__image {
  width: 100%;
  max-height: calc(100vh - 108px);
  object-fit: contain;
  border-radius: 18px;
}

.lightbox__video {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.lightbox__iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: min(72vh, 640px);
  border: 0;
}

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.04);
}

@media (max-width: 1020px) {
  .hero__inner,
  .intro,
  .story,
  .sponsor-split,
  .sponsor-split--reverse,
  .contact-layout,
  .contact-details,
  .media-board {
    grid-template-columns: 1fr;
  }

  .sponsor-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline__nav,
  .timeline-panel {
    grid-template-columns: 1fr;
  }

  .timeline__nav::before {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 90px;
  }

  .site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
  }

  .brand__logo {
    height: 62px;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    gap: 0;
    width: min(340px, calc(100vw - 24px));
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
      rgba(9, 18, 25, 0.96);
    backdrop-filter: blur(22px);
    box-shadow:
      0 28px 80px rgba(5, 10, 16, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(-10px) scale(0.98);
    transition:
      max-height 280ms ease,
      opacity 240ms ease,
      transform 240ms ease,
      visibility 0s linear 220ms,
      padding 220ms ease;
  }

  .site-nav.is-open {
    max-height: 360px;
    padding: 14px 20px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .site-nav a {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: right;
    color: rgba(247, 249, 251, 0.88);
    font-size: 0.96rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 180ms ease, transform 180ms ease;
  }

  .site-nav a:first-child {
    border-top: 0;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--white);
    transform: translateX(-2px);
  }

  .header-logo {
    display: none;
  }

  .hero {
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 18, 25, 0.42) 0%, rgba(9, 18, 25, 0.12) 24%, rgba(9, 18, 25, 0.18) 58%, rgba(9, 18, 25, 0.84) 100%),
      linear-gradient(90deg, rgba(9, 18, 25, 0.08) 0%, rgba(9, 18, 25, 0.08) 40%, rgba(9, 18, 25, 0.24) 76%, rgba(9, 18, 25, 0.56) 100%),
      var(--hero-image) 32% center / cover no-repeat;
  }

  .hero__inner {
    width: min(100% - 24px, 760px);
    margin-right: 12px;
    margin-left: auto;
    justify-items: end;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .hero__content {
    width: min(100%, 34rem);
    max-width: 34rem;
  }

  .button {
    width: auto;
  }

  .timeline-step {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
  }

  .timeline-step__title {
    max-width: none;
  }

  .timeline-panel {
    padding: 14px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .hero h1,
  .intro__lead h2,
  .section-head h2,
  .story__copy h2,
  .contact-panel h2,
  .sponsor-intro h2 {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
  }

  .media-entry {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .media-entry__brand {
    min-height: 0;
  }

  .media-action {
    justify-self: start;
  }

  .timeline-panel,
  .fact-card,
  .sponsor-copy,
  .contact-panel,
  .sponsor-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .media-card--group,
  .media-card--social {
    padding-left: 20px;
    padding-right: 20px;
  }

  .social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .lightbox__dialog {
    width: min(100% - 24px, 1000px);
    padding: 12px;
    border-radius: 22px;
  }

  .lightbox__iframe {
    min-height: 0;
  }

  .lightbox__close {
    top: 10px;
    right: 10px;
  }
}
