:root {
  --blue: #3b82c2;
  --blue-dark: #102b68;
  --blue-soft: #e7f1fb;
  --gold: #f1cc4f;
  --red: #e1262c;
  --ink: #092342;
  --text: #23384f;
  --muted: #6d8399;
  --paper: #ffffff;
  --line: rgba(9, 35, 66, 0.16);
  --line-strong: rgba(9, 35, 66, 0.32);
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  --pointer-x: 50%;
  --pointer-y: 18%;
  --scroll-parallax: 0px;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 16%, rgba(92, 177, 238, 0.68) 0 17%, transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(241, 204, 79, 0.26) 0 11%, transparent 30%),
    radial-gradient(circle at 72% 86%, rgba(225, 38, 44, 0.2) 0 13%, transparent 32%),
    linear-gradient(135deg, #0e2c70 0%, #247fc1 43%, #16397f 100%);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  isolation: isolate;
}

body.is-intro-lock {
  overflow: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    repeating-linear-gradient(115deg, transparent 0 86px, rgba(255, 255, 255, 0.045) 87px 88px),
    repeating-linear-gradient(18deg, transparent 0 118px, rgba(241, 204, 79, 0.042) 119px 120px);
  background-size: 72px 72px, 72px 72px, 220px 220px, 360px 360px;
  mask-image: radial-gradient(circle at 52% 18%, #000 0 30%, transparent 76%);
  transform: translate3d(0, calc(var(--scroll-parallax) * -0.015), 0);
  animation: backgroundGrid 28s linear infinite;
}

body::after {
  opacity: 0.82;
  background-image:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.2) 0 5%, transparent 24%),
    radial-gradient(ellipse at 18% 72%, rgba(241, 204, 79, 0.18) 0 12%, transparent 36%),
    radial-gradient(ellipse at 72% 36%, rgba(255, 255, 255, 0.16) 0 10%, transparent 34%),
    linear-gradient(118deg, transparent 0 18%, rgba(255, 255, 255, 0.10) 18.2% 18.8%, transparent 19% 46%, rgba(255, 255, 255, 0.08) 46.2% 46.7%, transparent 47%);
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  filter: blur(0.2px);
  animation: backgroundDrift 18s ease-in-out infinite alternate;
}

@keyframes backgroundGrid {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }

  to {
    background-position: 72px 72px, 72px 72px, 220px 0, 360px 180px;
  }
}

@keyframes backgroundDrift {
  from {
    transform: translate3d(-1.2%, -0.8%, 0) scale(1);
  }

  to {
    transform: translate3d(1.4%, 1%, 0) scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

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

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(24px, 5vw, 64px);
  color: #fff;
  background:
    radial-gradient(circle at 52% 22%, rgba(255, 255, 255, 0.16), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(241, 204, 79, 0.22), transparent 24%),
    radial-gradient(circle at 16% 78%, rgba(68, 158, 225, 0.44), transparent 32%),
    linear-gradient(135deg, #0b2461 0%, #1f73b9 50%, #102b68 100%);
  transition:
    opacity 720ms ease,
    visibility 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.splash-screen.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-18px) scale(1.02);
  pointer-events: none;
}

.splash-screen::before,
.splash-screen::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.splash-screen::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    repeating-linear-gradient(116deg, transparent 0 112px, rgba(255, 255, 255, 0.06) 113px 114px);
  background-size: 68px 68px, 68px 68px, 320px 320px;
  mask-image: radial-gradient(circle at 50% 42%, #000 0 28%, transparent 76%);
  animation: splashGrid 2.2s linear both;
}

.splash-screen::after {
  background:
    linear-gradient(112deg, transparent 0 28%, rgba(255, 255, 255, 0.18) 36%, transparent 46%),
    radial-gradient(ellipse at 50% 58%, rgba(241, 204, 79, 0.16), transparent 38%);
  mix-blend-mode: screen;
  transform: translateX(-18%);
  animation: splashLight 1.55s ease-out both;
}

.splash-screen__portrait {
  position: absolute;
  right: clamp(12px, 6vw, 104px);
  bottom: clamp(-92px, -7vw, -34px);
  z-index: 0;
  width: clamp(240px, 28vw, 430px);
  height: auto;
  opacity: 0.18;
  filter:
    grayscale(1)
    contrast(1.08)
    drop-shadow(0 28px 58px rgba(2, 12, 36, 0.32));
  mix-blend-mode: screen;
  transform: translate3d(0, calc(var(--scroll-parallax) * -0.02), 0);
  animation: splashPortrait 1.6s 180ms ease-out both;
  pointer-events: none;
}

.splash-screen__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(920px, 100%);
  text-align: center;
  animation: splashContent 1.18s 90ms cubic-bezier(0.2, 0.84, 0.2, 1) both;
}

.splash-screen__years {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.9;
  text-shadow: 0 18px 48px rgba(2, 12, 36, 0.28);
}

.splash-screen__title {
  max-width: 640px;
  margin: clamp(14px, 2vw, 20px) 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 2.3vw, 28px);
  font-weight: 850;
  line-height: 1.2;
}

.splash-screen__conference {
  max-width: 860px;
  margin: clamp(18px, 3vw, 30px) 0 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(25px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1;
  text-wrap: balance;
  text-shadow: 0 18px 44px rgba(2, 12, 36, 0.36);
}

.splash-screen__date {
  margin: clamp(10px, 1.8vw, 16px) 0 0;
  color: rgba(241, 204, 79, 0.94);
  font-size: clamp(14px, 1.7vw, 20px);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.splash-screen__motto {
  margin: clamp(14px, 2vw, 20px) 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.splash-screen__line {
  overflow: hidden;
  display: block;
  width: min(360px, 68vw);
  height: 2px;
  margin-top: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.18);
}

.splash-screen__line::before {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), #fff0a7, transparent);
  content: "";
  transform: translateX(-100%);
  animation: splashLine 3.7s 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes splashGrid {
  from {
    background-position: 0 0, 0 0, 0 0;
    opacity: 0;
  }

  to {
    background-position: 68px 68px, 68px 68px, 190px 0;
    opacity: 1;
  }
}

@keyframes splashLight {
  from {
    opacity: 0;
    transform: translateX(-28%);
  }

  to {
    opacity: 1;
    transform: translateX(12%);
  }
}

@keyframes splashPortrait {
  from {
    opacity: 0;
    transform: translate3d(34px, 18px, 0) scale(1.04);
  }

  to {
    opacity: 0.18;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes splashContent {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes splashLine {
  from {
    transform: translateX(-100%);
  }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  padding: 10px clamp(18px, 4vw, 58px);
  color: #fff;
  background: rgba(16, 43, 104, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-weight: 850;
}

.nav a:hover {
  color: var(--gold);
}

.header-emblems {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-logo {
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 98px;
  height: 68px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(219, 188, 74, 0.62);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(5, 18, 47, 0.26);
}

.header-medal {
  display: grid;
  place-items: center;
  width: 48px;
  height: 68px;
  padding: 4px 5px;
  background:
    radial-gradient(circle at 50% 44%, rgba(241, 204, 79, 0.2), transparent 58%),
    rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(219, 188, 74, 0.58);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(5, 18, 47, 0.24);
}

.header-logo img,
.header-medal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.header-logo img {
  width: 100%;
  height: 100%;
}

.header-medal img {
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.32));
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.letter-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) 0;
}

.identity-card {
  position: sticky;
  top: 104px;
  align-self: start;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  color: #fff;
  background: rgba(16, 43, 104, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: translate3d(0, calc(var(--scroll-parallax) * -0.012), 0);
  will-change: transform;
}

.identity-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
}

.identity-card div {
  padding: 20px;
}

.identity-card span {
  display: block;
  color: var(--gold);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-card strong {
  display: block;
  margin-top: 6px;
  font-size: 34px;
}

.letter {
  min-width: 0;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 28px 80px rgba(7, 26, 50, 0.22);
  animation: letterLift 780ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.letter__header,
.letter-block,
.facts,
.days-module,
.document-list {
  padding: clamp(26px, 4.4vw, 54px);
}

.letter__header {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, rgba(241, 204, 79, 0.22), transparent 30%),
    radial-gradient(circle at 22% 82%, rgba(88, 166, 232, 0.28), transparent 36%),
    linear-gradient(128deg, rgba(16, 43, 104, 0.98), rgba(21, 63, 138, 0.96) 56%, rgba(10, 35, 89, 0.98));
}

.letter__header::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(116deg, transparent 0 46%, rgba(255, 255, 255, 0.12) 46.2% 46.6%, transparent 47%);
  background-size: 54px 54px, 54px 54px, 100% 100%;
  opacity: 0.5;
  animation: headerLines 16s linear infinite;
}

.letter__header::after {
  position: absolute;
  right: -60px;
  bottom: -90px;
  content: "35";
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(180px, 28vw, 360px);
  font-weight: 950;
  line-height: 0.8;
}

@keyframes headerLines {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 54px 54px, 54px 54px, 0 0;
  }
}

.document-label {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: var(--gold);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

[data-typewriter] {
  white-space: pre-wrap;
}

.is-typing::after {
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: currentColor;
  content: "";
  animation: caretBlink 780ms steps(1) infinite;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.98;
  text-transform: uppercase;
}

.subtitle {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 24px);
}

.letter-block {
  border-bottom: 1px solid var(--line);
}

.letter-block h2 {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.letter-block p,
.letter-block li {
  max-width: 900px;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

.greeting p {
  font-size: clamp(18px, 2vw, 22px);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.facts div {
  min-height: 118px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.facts div:last-child {
  border-right: 0;
}

.facts span,
.contacts__grid span,
.document-list span,
.document-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.facts strong {
  display: block;
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 22px;
}

.days-module {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  background:
    radial-gradient(circle at 88% 18%, rgba(241, 204, 79, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(249, 252, 255, 0.99), rgba(230, 241, 251, 0.94));
  border-bottom: 1px solid var(--line);
}

.days-module::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(16, 43, 104, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 43, 104, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}

.days-module::after {
  position: absolute;
  right: clamp(26px, 5vw, 64px);
  top: clamp(28px, 5vw, 58px);
  width: clamp(82px, 13vw, 150px);
  aspect-ratio: 1;
  border: 1px solid rgba(241, 204, 79, 0.42);
  border-radius: 50%;
  content: "";
  opacity: 0.72;
}

.days-module__portrait {
  position: absolute;
  right: clamp(-42px, -2vw, -18px);
  bottom: -34px;
  z-index: 0;
  width: clamp(180px, 24vw, 320px);
  opacity: 0.07;
  filter: grayscale(1) contrast(1.08);
  transform: translate3d(0, calc(var(--scroll-parallax) * -0.025), 0);
  will-change: transform;
  pointer-events: none;
}

.days-module__heading,
.days-grid {
  position: relative;
  z-index: 1;
}

.days-module__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  align-items: center;
}

.days-module__heading h2 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 950;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.days-module__heading > span {
  align-self: center;
  width: fit-content;
  padding: 10px 13px;
  color: var(--red);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(241, 204, 79, 0.38);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.day-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.4vw, 28px);
  align-content: start;
  min-height: clamp(238px, 24vw, 312px);
  padding: clamp(24px, 3.6vw, 42px);
  color: var(--blue-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(229, 241, 251, 0.56)),
    radial-gradient(circle at 82% 22%, rgba(241, 204, 79, 0.18), transparent 30%);
  border: 1px solid rgba(16, 43, 104, 0.16);
  box-shadow: 0 18px 42px rgba(16, 43, 104, 0.07);
}

.day-card::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--gold), rgba(225, 38, 44, 0.78), rgba(36, 99, 175, 0.7));
  content: "";
}

.day-card::after {
  position: absolute;
  right: -10px;
  bottom: -30px;
  color: rgba(16, 43, 104, 0.045);
  font-family: var(--serif);
  font-size: clamp(130px, 13vw, 210px);
  font-weight: 900;
  line-height: 1;
  content: attr(data-day);
}

.day-card:first-child::after {
  content: "24";
}

.day-card:last-child::after {
  content: "25";
}

.day-card__date,
.day-card em {
  position: relative;
  z-index: 1;
}

.day-card__date {
  display: grid;
  gap: 10px;
  align-content: start;
  width: min-content;
}

.day-card__date > span {
  width: fit-content;
  padding: 7px 9px;
  color: var(--blue-dark);
  background: rgba(241, 204, 79, 0.16);
  border: 1px solid rgba(241, 204, 79, 0.5);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.day-card__date strong {
  display: block;
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(78px, 8vw, 116px);
  font-weight: 900;
  line-height: 0.82;
}

.day-card__date small {
  color: var(--blue-dark);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.day-card em {
  display: block;
  max-width: 420px;
  color: var(--text);
  font-style: normal;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.45;
}

.slot-number {
  --slot-duration: 2600ms;
  --slot-delay: 0ms;
  display: inline-flex;
  gap: 0.01em;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.slot-digit {
  position: relative;
  overflow: hidden;
  display: inline-grid;
  width: 0.62em;
  height: 1em;
  line-height: 1;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.slot-track {
  display: grid;
  transform: translateY(0);
  transition:
    transform var(--slot-duration) cubic-bezier(0.14, 0.82, 0.18, 1.02);
  transition-delay: var(--slot-delay);
  will-change: transform;
}

.slot-number--card .slot-track {
  text-shadow: 0 0.08em 0 rgba(16, 43, 104, 0.1);
}

.slot-track span {
  display: block;
  height: 1em;
  line-height: 1em;
  text-align: center;
}

.slot-number.is-rolling .slot-track {
  transform: translateY(calc(var(--slot-target, 0) * -1em));
}

.organizers ol {
  display: grid;
  gap: 12px;
  padding-left: 24px;
  margin: 0;
}

.organizer-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1040px;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.organizer-logos img {
  display: block;
  width: 100%;
  height: 132px;
  padding: 18px;
  background: #fff;
  object-fit: contain;
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.organizer-logos img:hover {
  filter: drop-shadow(0 12px 18px rgba(16, 43, 104, 0.16));
  transform: scale(1.08);
}

.organizer-logos img[alt*="Содружество"] {
  padding: 14px 10px;
}

.info-section {
  display: grid;
  gap: 18px;
}

.text-list,
.requirements-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
  padding-left: 24px;
  margin: 0;
}

.deadline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 980px;
  border: 1px solid var(--line);
}

.deadline-grid div {
  min-height: 126px;
  padding: 22px;
  background: rgba(231, 241, 251, 0.54);
  border-right: 1px solid var(--line);
}

.deadline-grid div:last-child {
  border-right: 0;
}

.deadline-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.deadline-grid strong {
  display: block;
  margin-top: 9px;
  color: var(--blue-dark);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.2;
}

.media-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(16, 43, 104, 0.98), rgba(20, 69, 150, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(241, 204, 79, 0.22), transparent 34%);
}

.media-block__intro {
  max-width: 820px;
}

.media-block__intro h2 {
  max-width: 780px;
}

.media-block h2,
.media-block p {
  color: #fff;
}

.media-block__intro p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.media-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.media-video,
.photo-card {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(rgba(11, 31, 78, 0.62), rgba(11, 31, 78, 0.82)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 58%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.media-video::before,
.photo-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.45;
}

.media-video {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #071d4c;
  box-shadow: 0 24px 70px rgba(2, 12, 36, 0.34);
}

.media-video video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #071d4c;
}

.media-sound-button {
  position: absolute;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 3;
  min-height: 44px;
  padding: 11px 16px;
  color: #102b68;
  background: rgba(241, 204, 79, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(2, 12, 36, 0.32);
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.media-sound-button:hover {
  background: #ffe27a;
  box-shadow: 0 22px 52px rgba(2, 12, 36, 0.38);
  transform: translateY(-2px);
}

.media-sound-button[hidden] {
  display: none;
}

.photo-river {
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 2px 0;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.photo-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.photo-track--one {
  animation: photoFloatLeft 72s linear infinite;
}

.photo-track--two {
  animation: photoFloatRight 78s linear infinite;
}

.photo-river:hover .photo-track {
  animation-play-state: paused;
}

.photo-strip {
  display: flex;
  gap: 14px;
}

.photo-card {
  width: clamp(180px, 17vw, 260px);
  height: clamp(112px, 11vw, 168px);
  margin: 0;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 44px rgba(2, 12, 36, 0.22);
}

.photo-track--two .photo-card {
  width: clamp(210px, 20vw, 310px);
}

.photo-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transition:
    filter 300ms ease,
    transform 420ms ease;
}

.photo-card:hover img {
  filter: saturate(1.04) contrast(1.05);
  transform: scale(1.035);
}

@keyframes photoFloatLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

@keyframes photoFloatRight {
  from {
    transform: translateX(calc(-50% - 7px));
  }

  to {
    transform: translateX(0);
  }
}

.document-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.primary-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  color: #fff;
  background: var(--red);
  font-weight: 950;
  text-align: center;
}

.primary-link--disabled {
  color: rgba(255, 255, 255, 0.74);
  background: #71849a;
  cursor: default;
}

.primary-link::after,
.map-link::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.34) 46%, transparent 56%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.primary-link:hover::after,
.map-link:hover::after {
  transform: translateX(120%);
}

.primary-link--disabled:hover::after {
  transform: translateX(-120%);
}

.document-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.document-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
  min-height: 150px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.document-list article:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.document-list article:nth-child(even) {
  padding-left: 24px;
}

.document-list strong {
  display: block;
  color: var(--blue-dark);
  font-size: 18px;
}

.document-list em {
  display: block;
  max-width: 360px;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.4;
}

.document-list small {
  grid-column: 2;
  width: fit-content;
  padding: 6px 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid rgba(16, 43, 104, 0.12);
  white-space: nowrap;
}

.document-list small a {
  color: inherit;
  text-decoration: none;
}

.document-list__item--ready small {
  background: rgba(241, 204, 79, 0.16);
  border-color: rgba(241, 204, 79, 0.45);
}

.document-list__item--ready small a {
  font-weight: 950;
}

.document-list__item--ready small a:hover {
  color: var(--red);
}

.venue {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background:
    linear-gradient(90deg, rgba(231, 241, 251, 0.84), rgba(255, 255, 255, 0.96)),
    linear-gradient(135deg, rgba(241, 204, 79, 0.16), transparent 44%);
}

.venue__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 34px;
  align-items: end;
}

.venue__content .section-kicker {
  grid-column: 1 / -1;
}

.venue__content h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 3.3vw, 52px);
  overflow-wrap: normal;
  word-break: normal;
}

.venue__content p {
  grid-column: 1 / -1;
  max-width: 860px;
  margin: 0;
}

.map-link {
  position: relative;
  overflow: hidden;
  width: fit-content;
  padding: 14px 18px;
  color: #fff;
  background: var(--blue-dark);
  font-weight: 900;
}

.map-link:hover {
  background: #17418f;
}

.map-frame {
  overflow: hidden;
  height: clamp(360px, 42vw, 520px);
  background: var(--blue-soft);
  border: 1px solid rgba(16, 43, 104, 0.22);
  box-shadow: 0 18px 42px rgba(9, 35, 66, 0.12);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts {
  border-bottom: 0;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contacts__grid a {
  min-height: 120px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contacts__grid strong {
  display: block;
  margin-top: 8px;
  color: var(--blue-dark);
  overflow-wrap: anywhere;
  font-size: 20px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  padding: 28px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(16, 43, 104, 0.92);
}

.footer__identity {
  display: grid;
  gap: 4px;
}

.footer__identity strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
}

.footer__identity span,
.footer__identity small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.footer__identity small {
  color: rgba(241, 204, 79, 0.88);
  letter-spacing: 0.02em;
}

.footer a {
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.facts .reveal,
.document-list .reveal,
.contacts__grid .reveal {
  transition-delay: var(--reveal-delay, 0ms);
}

@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

@keyframes letterLift {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
  }

  .menu-button {
    display: block;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    order: 4;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .nav.is-open a {
    padding: 12px 0;
  }

  .letter-shell {
    grid-template-columns: 1fr;
  }

  .identity-card {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 160px 1fr;
  }

  .identity-card img {
    height: 100%;
  }

  .document-flow,
  .venue,
  .media-block,
  .media-showcase,
  .days-grid {
    grid-template-columns: 1fr;
  }

  .media-showcase {
    min-height: auto;
  }

  .photo-card {
    width: clamp(170px, 28vw, 230px);
  }

}

@media (max-width: 680px) {
  .splash-screen {
    padding: 22px;
  }

  .splash-screen__content {
    width: 100%;
  }

  .splash-screen__portrait {
    right: -76px;
    bottom: -18px;
    width: 230px;
    opacity: 0.09;
  }

  .splash-screen__years {
    font-size: clamp(42px, 15vw, 64px);
  }

  .splash-screen__title {
    max-width: 310px;
    font-size: 17px;
  }

  .splash-screen__conference {
    max-width: 340px;
    font-size: clamp(24px, 8.2vw, 34px);
    line-height: 1.04;
  }

  .splash-screen__date {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 16px;
  }

  .header-logo {
    width: 76px;
    height: 52px;
    padding: 3px 4px;
  }

  .header-emblems {
    gap: 8px;
  }

  .header-medal {
    width: 38px;
    height: 52px;
    padding: 3px 4px;
  }

  .letter-shell {
    width: min(100% - 20px, 1240px);
    padding: 18px 0;
  }

  .identity-card,
  .letter,
  .facts,
  .deadline-grid,
  .document-list,
  .venue,
  .media-block,
  .media-showcase,
  .days-grid,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .identity-card,
  .letter {
    width: 100%;
  }

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

  .organizer-logos img {
    height: 118px;
    padding: 14px;
  }

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

  .photo-river {
    gap: 10px;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }

  .photo-track,
  .photo-strip {
    gap: 10px;
  }

  .photo-card,
  .photo-track--two .photo-card {
    width: 210px;
    height: 132px;
  }

  .identity-card img {
    height: auto;
    aspect-ratio: 2245 / 1536;
    object-fit: contain;
    background: #367fba;
  }

  .identity-card > div {
    align-self: center;
  }

  .facts div,
  .deadline-grid div,
  .document-list article,
  .document-list article:nth-child(odd),
  .document-list article:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .deadline-grid {
    border-right: 0;
    border-left: 0;
  }

  .deadline-grid div {
    min-height: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .deadline-grid div:last-child {
    border-bottom: 0;
  }

  .document-list article {
    grid-template-columns: 34px 1fr;
  }

  .document-list small {
    grid-column: 2;
    width: fit-content;
  }

  .letter__header,
  .letter-block,
  .facts,
  .days-module,
  .document-list {
    padding-right: 22px;
    padding-left: 22px;
  }

  .days-module__heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .days-module__heading h2 {
    font-size: 13px;
  }

  .days-module__heading > span {
    align-self: start;
  }

  .days-module__portrait {
    right: -36px;
    bottom: -30px;
    width: 160px;
    opacity: 0.06;
  }

  .days-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .day-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 26px 24px 28px;
  }

  .day-card::before {
    width: 3px;
  }

  .day-card::after {
    right: 2px;
    bottom: -18px;
    font-size: 120px;
  }

  .day-card__date {
    min-height: 0;
    padding-left: 0;
  }

  .day-card em {
    padding-left: 0;
  }

  .venue__content {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .venue__content h2 {
    font-size: 34px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .venue__content p {
    overflow-wrap: anywhere;
  }

  .map-link {
    width: 100%;
    text-align: center;
  }

  .map-frame {
    width: 100%;
  }

  .map-link {
    width: 100%;
  }

  .map-frame {
    height: 320px;
  }

  h1 {
    font-size: 36px;
  }

  .subtitle {
    font-size: 18px;
  }

  .primary-link {
    width: 100%;
  }

  .footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .letter,
  .reveal,
  .is-typing::after,
  .primary-link::after,
  .map-link::after,
  .photo-track,
  .splash-screen,
  .splash-screen::before,
  .splash-screen::after,
  .splash-screen__portrait,
  .splash-screen__content,
  .splash-screen__line::before,
  .slot-track {
    animation: none;
    transition: none;
  }

  .organizer-logos img:hover {
    filter: none;
    transform: none;
  }

  body::before,
  .splash-screen__portrait,
  .identity-card,
  .days-module__portrait {
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
