@font-face {
  font-family: "Leporid";
  src: url("assets/fonts/Leporid-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #030303;
  --near: #0b0b0d;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7f3ec;
  --muted: rgba(247, 243, 236, 0.66);
  --soft: rgba(247, 243, 236, 0.1);
  --red: #f11222;
  --red-deep: #8d0710;
  --white: #ffffff;
  --portrait-size: clamp(500px, 36vw, 620px);
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 4%, rgba(241, 18, 34, 0.18), transparent 34rem),
    linear-gradient(180deg, #030303 0%, #0a0a0c 48%, #050505 100%);
  text-rendering: geometricPrecision;
}

[hidden] {
  display: none !important;
}

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

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

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

button {
  font: inherit;
}

@keyframes header-arrive {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-22px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes hero-copy-arrive {
  from {
    opacity: 0;
    filter: blur(6px) saturate(0.94);
    transform: translate3d(0, 46px, 0) scale(0.986);
  }

  68% {
    opacity: 1;
    filter: blur(0.8px) saturate(1.02);
    transform: translate3d(0, 5px, 0) scale(1.002);
  }

  to {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-art-arrive {
  from {
    opacity: 0;
    filter: saturate(0.84) contrast(1.12) blur(6px);
  }

  to {
    opacity: 0.9;
    filter: saturate(1.04) contrast(1.05) blur(0);
  }
}

@keyframes slow-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -10px, 0) scale(1.01);
  }
}

@keyframes red-pulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1) rotate(-1deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.035) rotate(1.5deg);
  }
}

@keyframes reveal-smooth-up {
  0% {
    opacity: 0;
    filter: blur(2px) saturate(0.98);
    transform: translate3d(0, 48px, 0) scale(0.99);
  }

  100% {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.motion-ready .site-header {
  animation: header-arrive 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-ready .hero-copy .overline,
.motion-ready .hero h1,
.motion-ready .hero-copy p:not(.overline),
.motion-ready .hero-links {
  animation: hero-copy-arrive 740ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-ready .hero h1 {
  animation-delay: 70ms;
}

.motion-ready .hero-copy p:not(.overline) {
  animation-delay: 135ms;
}

.motion-ready .hero-links {
  animation-delay: 210ms;
}

.motion-ready .motion-reveal {
  opacity: 0;
  filter: blur(2px) saturate(0.98);
  transform: translate3d(0, 48px, 0) scale(0.99);
  transform-origin: center bottom;
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, filter, transform;
}

.motion-ready .motion-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

@media (min-width: 641px) {
  .motion-ready .motion-reveal.is-visible {
    animation: reveal-smooth-up 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--motion-delay, 0ms);
  }

  .motion-ready .motion-reveal.tilt-card.is-visible {
    animation: none;
  }
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  width: min(1400px, calc(100% - 36px));
  min-height: 64px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(6, 6, 8, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  transform: translateX(-50%);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.brand {
  display: grid;
  place-items: center;
  width: 152px;
  height: 56px;
  overflow: visible;
  background: transparent;
  border-radius: 0;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a,
.nav-cta,
.button,
.filter-button,
.people-tabs button,
.quiz-options button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.main-nav a {
  color: var(--muted);
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: var(--soft);
  transform: translateY(-1px);
  outline: none;
}

.nav-cta {
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  background: var(--text);
  border: 0;
  cursor: pointer;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 138px 32px 32px;
  overflow: hidden;
  isolation: isolate;
  perspective: 1300px;
  transform-style: preserve-3d;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.96) 0%, rgba(3, 3, 3, 0.78) 38%, rgba(3, 3, 3, 0.2) 100%),
    linear-gradient(180deg, transparent 62%, var(--black) 100%);
}

.hero-art {
  position: absolute;
  right: -7vw;
  bottom: -3vw;
  z-index: -2;
  width: min(1220px, 76vw);
  opacity: 0.9;
  filter: saturate(1.04) contrast(1.05);
  transform:
    translate3d(var(--hero-shift-x), var(--hero-shift-y), 0)
    rotateX(var(--hero-tilt-x))
    rotateY(var(--hero-tilt-y));
  transform-origin: center right;
  transform-style: preserve-3d;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.motion-ready .hero-art {
  animation: hero-art-arrive 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-art img {
  animation: slow-float 8s ease-in-out infinite;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--black) 0%, transparent 48%);
  pointer-events: none;
}

.hero-copy {
  align-self: center;
  width: min(760px, 100%);
  margin-left: max(0px, calc((100vw - 1120px) / 2));
  padding-bottom: 34px;
}

.overline {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.statement h2,
.section-head h2,
.learn-aside h2,
.sources h2 {
  margin: 0;
  font-weight: 760;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-family: "Leporid", Inter, sans-serif;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.9;
  text-transform: lowercase;
  text-wrap: balance;
}

.hero-copy p:not(.overline) {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  font-weight: 760;
}

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 46px rgba(241, 18, 34, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff2b38;
  box-shadow: 0 22px 58px rgba(241, 18, 34, 0.36);
  transform: translateY(-2px);
  outline: none;
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.hero-status {
  position: absolute;
  right: max(32px, calc((100vw - 1120px) / 2));
  bottom: 32px;
  left: max(32px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  color: var(--muted);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}

.hero-status span {
  min-height: 58px;
  padding: 20px;
  background: rgba(10, 10, 12, 0.76);
}

.statement {
  padding: 104px 32px;
  background: var(--black);
}

.statement-inner,
.section-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.statement-copy h2 {
  max-width: 620px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.06;
  text-wrap: balance;
}

.statement-copy p:not(.overline) {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
  text-wrap: pretty;
}

.statement-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 18px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.statement-visual::before {
  position: absolute;
  inset: 14% 10%;
  content: "";
  background: radial-gradient(circle, rgba(241, 18, 34, 0.28), transparent 68%);
  filter: blur(16px);
}

.statement-visual::after {
  display: none;
}

.statement-visual img {
  position: relative;
  z-index: 1;
  width: min(420px, 82%);
  filter: drop-shadow(0 30px 80px rgba(241, 18, 34, 0.28));
  animation: red-pulse 7s ease-in-out infinite;
}

.atlas,
.learn,
.events,
.auth-explain,
.feedback,
.sources {
  padding: 104px 32px;
}

.atlas {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 74% 22%, rgba(241, 18, 34, 0.14), transparent 34rem),
    linear-gradient(180deg, #050506 0%, #070708 100%);
}

.atlas::before {
  display: none;
}

.atlas::after {
  position: absolute;
  inset: 32px max(18px, calc((100vw - 1320px) / 2)) 58px;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.08), transparent 26rem);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 42px;
  opacity: 0.72;
  backdrop-filter: blur(18px);
}

.atlas .section-shell {
  position: relative;
  z-index: 1;
  margin-top: clamp(-56px, -3.5vw, -42px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: end;
  margin-bottom: 34px;
}

.section-head.compact {
  display: block;
  max-width: 680px;
}

.atlas .section-head {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  align-items: end;
  margin-bottom: 28px;
}

.atlas .section-head .overline {
  grid-column: 1;
  grid-row: 1;
  transform: translateY(20px);
}

.atlas .section-head h2 {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin-top: 18px;
  margin-bottom: 0;
}

.atlas .section-head p:not(.overline) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 520px;
  margin: 0 0 6px;
  padding-left: clamp(22px, 3vw, 42px);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.section-head h2,
.learn-aside h2,
.sources h2 {
  font-size: clamp(34px, 4.3vw, 64px);
  line-height: 1.08;
  text-wrap: balance;
}

.section-head p:not(.overline),
.learn-aside p,
.sources-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
  text-wrap: pretty;
}

.atlas-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-button,
.people-tabs button,
.quiz-options button {
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-button:hover,
.filter-button:focus-visible,
.people-tabs button:hover,
.people-tabs button:focus-visible,
.quiz-options button:hover,
.quiz-options button:focus-visible {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.filter-button.is-active,
.people-tabs button.is-active {
  color: var(--black);
  background: var(--text);
  border-color: var(--text);
  box-shadow: 0 10px 34px rgba(247, 243, 236, 0.12);
}

.people-grid {
  --people-card-height: 328px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: var(--people-card-height);
  gap: 10px;
}

.people-grid::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: clamp(720px, 88vw, 1080px);
  height: min(1060px, 138%);
  min-height: 700px;
  content: "";
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.055) 48%, rgba(255, 255, 255, 0.13)),
    rgba(255, 255, 255, 0.055);
  transform: translate(-50%, -50%) rotate(-4deg);
  opacity: 0.48;
  -webkit-mask: url("assets/khabarovsk-outline.svg") center / contain no-repeat;
  mask: url("assets/khabarovsk-outline.svg") center / contain no-repeat;
  pointer-events: none;
}

.people-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 50px minmax(0, 1fr) 24px;
  gap: 12px;
  min-height: 0;
  height: 100%;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 320ms ease;
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform;
}

.people-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  opacity: 0;
  transition: opacity 190ms ease;
  pointer-events: none;
}

.people-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--red);
  border-radius: 999px;
  opacity: 0.75;
}

.people-card:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.145), rgba(255, 255, 255, 0.068));
  border-color: rgba(255, 255, 255, 0.22);
  transform:
    perspective(960px)
    rotateX(var(--tilt-y))
    rotateY(var(--tilt-x))
    translateY(-6px)
    scale(1.026);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.people-card:hover::before {
  opacity: 1;
}

.card-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 50px;
  overflow: visible;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.card-meta span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta span:first-child {
  overflow: visible;
  white-space: nowrap;
}

.card-meta span:last-child {
  text-align: right;
}

.card-body {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  grid-template-rows: 60px 96px;
  gap: 12px;
  min-height: 168px;
}

.people-card h3 {
  position: relative;
  z-index: 1;
  align-self: start;
  display: flex;
  align-items: flex-end;
  margin: 0;
  overflow: hidden;
  font-size: clamp(23px, 1.65vw, 27px);
  line-height: 1.08;
  text-wrap: balance;
}

.people-card p {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.45;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.card-link {
  position: relative;
  z-index: 1;
  align-self: end;
  display: inline-flex;
  width: fit-content;
  margin-top: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 760;
}

.tag-list {
  display: none;
}

.tilt-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
}

.motion-ready .tilt-card.is-visible {
  transform:
    perspective(760px)
    rotateX(var(--tilt-y))
    rotateY(var(--tilt-x))
    translateY(0)
    scale(1);
}

.motion-ready .tilt-card.is-visible:hover {
  transform:
    perspective(760px)
    rotateX(var(--tilt-y))
    rotateY(var(--tilt-x))
    translateY(-6px)
    scale(1.024);
}

.motion-ready .people-card.tilt-card.is-visible {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 320ms ease;
  transform:
    perspective(760px)
    rotateX(var(--tilt-y))
    rotateY(var(--tilt-x))
    translateY(0)
    scale(1);
}

.motion-ready .people-card.tilt-card.is-visible:hover {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 320ms ease;
  transform:
    perspective(760px)
    rotateX(var(--tilt-y))
    rotateY(var(--tilt-x))
    translateY(-6px)
    scale(1.026);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.learn {
  background:
    linear-gradient(180deg, rgba(241, 18, 34, 0.1), transparent 24rem),
    #070708;
}

.learn-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  align-items: start;
}

.learn-aside {
  position: sticky;
  top: 118px;
  min-height: 560px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
}

.learn-aside p {
  margin-top: 22px;
}

.people-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.knowledge-panel {
  min-height: 560px;
  padding: 28px;
  color: var(--black);
  background:
    radial-gradient(circle at 100% 0%, rgba(241, 18, 34, 0.14), transparent 26rem),
    #f4efe7;
  border-radius: 30px;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 260ms ease;
}

.knowledge-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.panel-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  color: rgba(3, 3, 3, 0.56);
  border-bottom: 1px solid rgba(3, 3, 3, 0.12);
}

.knowledge-panel h3 {
  margin: 56px 0 20px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.knowledge-panel p {
  max-width: 720px;
  margin: 0;
  color: rgba(3, 3, 3, 0.72);
  font-size: 20px;
  line-height: 1.54;
  text-wrap: pretty;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 32px 0;
}

.fact-list div {
  min-height: 128px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(3, 3, 3, 0.1);
  border-radius: 18px;
  transition:
    transform 200ms ease,
    background 200ms ease;
}

.fact-list div:hover {
  background: rgba(255, 255, 255, 0.74);
  transform: translateY(-2px);
}

.fact-list strong {
  display: block;
  margin-bottom: 14px;
  color: var(--red-deep);
  font-size: 12px;
  text-transform: uppercase;
}

.fact-list span {
  color: rgba(3, 3, 3, 0.72);
  line-height: 1.45;
}

.quiz-block {
  padding-top: 24px;
  border-top: 1px solid rgba(3, 3, 3, 0.12);
}

.quiz-question {
  color: var(--black) !important;
  font-weight: 800;
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.quiz-options button {
  color: var(--black);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(3, 3, 3, 0.12);
}

.quiz-options button.is-correct {
  color: var(--white);
  background: #111;
}

.quiz-options button.is-wrong {
  color: var(--white);
  background: var(--red-deep);
}

.quiz-result {
  min-height: 28px;
  margin-top: 16px !important;
  color: var(--red-deep) !important;
  font-weight: 800;
}

.quiz-cta-shell {
  margin-top: 18px;
}

.online-quiz-cta {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 148px;
  padding: 28px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 24%, rgba(241, 18, 34, 0.42), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 180ms ease,
    background 180ms ease;
}

.online-quiz-cta::after {
  position: absolute;
  right: 28px;
  bottom: 24px;
  content: "→";
  color: var(--red);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.online-quiz-cta:hover,
.online-quiz-cta:focus-visible {
  background:
    radial-gradient(circle at 86% 24%, rgba(241, 18, 34, 0.54), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055));
  border-color: rgba(255, 255, 255, 0.28);
  outline: none;
  transform: translateY(-2px);
}

.online-quiz-cta span {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 900;
  line-height: 0.98;
  text-wrap: balance;
}

.online-quiz-cta strong {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

.event-feature {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 34px;
}

.event-story {
  display: grid;
  align-content: space-between;
  min-height: 680px;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(241, 18, 34, 0.16), transparent 24rem),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
}

.event-date {
  width: fit-content;
  margin: 0 0 28px;
  padding: 9px 13px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  font-weight: 850;
}

.event-story h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.event-story > p:not(.event-date) {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
  text-wrap: pretty;
}

.event-program {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 34px;
}

.event-program article {
  min-height: 178px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.event-program article:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.event-program span {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.event-program strong {
  display: block;
  margin-top: 28px;
  color: var(--text);
  font-size: 21px;
}

.event-program p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
  text-wrap: pretty;
}

.event-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  min-height: 680px;
}

.event-photo {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
}

.event-photo-main {
  grid-row: 1 / 4;
}

.event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.04);
  transition:
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 360ms ease;
}

.event-photo:hover img {
  filter: saturate(1.04) contrast(1.08);
  transform: scale(1.045);
}

.event-photo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 46%;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
}

.event-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.auth-explain {
  background: #050506;
}

.auth-explain-grid,
.feedback-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: start;
}

.auth-explain h2,
.feedback h2 {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 64px);
  line-height: 1.08;
  text-wrap: balance;
}

.auth-steps {
  display: grid;
  gap: 10px;
}

.auth-steps article {
  display: grid;
  grid-template-columns: 56px 0.42fr 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-steps span {
  color: var(--red);
  font-weight: 900;
}

.auth-steps h3 {
  margin: 0;
  font-size: 22px;
}

.auth-steps p,
.feedback-grid > div > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  text-wrap: pretty;
}

.feedback {
  background:
    radial-gradient(circle at 0% 0%, rgba(241, 18, 34, 0.18), transparent 28rem),
    #080809;
}

.feedback-grid > div > p {
  margin-top: 22px;
  font-size: 18px;
}

.feedback-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms ease,
    box-shadow 260ms ease;
}

.feedback-form:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.feedback-form label {
  display: grid;
  gap: 8px;
  color: rgba(247, 243, 236, 0.78);
  font-size: 14px;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 15px;
  color: var(--text);
  resize: vertical;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.feedback-form input {
  min-height: 52px;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: rgba(241, 18, 34, 0.7);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(241, 18, 34, 0.14);
}

.feedback-form button {
  min-height: 52px;
  color: var(--white);
  cursor: pointer;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  font-weight: 760;
}

.feedback-form button:hover,
.feedback-form button:focus-visible {
  background: #ff2b38;
  transform: translateY(-2px);
  outline: none;
}

.feedback-message {
  min-height: 28px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.feedback-message[data-type="success"] {
  color: #9ff0b1;
}

.person-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 8%, rgba(241, 18, 34, 0.18), transparent 30rem),
    #040405;
}

.person-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--portrait-size);
  gap: clamp(44px, 5vw, 86px);
  width: min(1400px, calc(100% - 132px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 138px 0 48px;
  align-items: start;
}

.person-copy {
  min-width: 0;
}

.person-no-image .person-hero {
  grid-template-columns: minmax(0, 1fr);
  width: min(1120px, calc(100% - 132px));
  min-height: auto;
  padding-bottom: 68px;
}

.person-no-image .person-copy p:not(.overline) {
  max-width: 820px;
}

.person-copy h1 {
  margin: 0;
  font-family: "Leporid", Inter, sans-serif;
  max-width: 100%;
  font-size: clamp(52px, 7.4vw, var(--person-title-max, 118px));
  line-height: 0.98;
  text-transform: lowercase;
  text-wrap: balance;
  white-space: nowrap;
}

.person-copy p:not(.overline) {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.48;
  text-wrap: pretty;
}

.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.person-tags span {
  padding: 9px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.photo-placeholder {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: var(--portrait-size);
  max-width: 100%;
  justify-self: end;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 70% 22%, rgba(241, 18, 34, 0.36), transparent 18rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
}

.photo-placeholder.has-image {
  background:
    radial-gradient(circle at 50% 22%, rgba(241, 18, 34, 0.22), transparent 25rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.photo-placeholder::before {
  position: absolute;
  inset: 28px;
  content: "";
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 24px;
}

.photo-placeholder.has-image::before {
  display: none;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: clamp(18px, 2.2vw, 30px) clamp(18px, 2vw, 28px) 0;
  filter: drop-shadow(0 32px 56px rgba(0, 0, 0, 0.36));
}

.photo-placeholder span,
.photo-placeholder small {
  position: relative;
  z-index: 1;
}

.photo-placeholder span {
  color: var(--muted);
  font-size: 16px;
}

.photo-placeholder small {
  margin-top: 8px;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.95;
  font-weight: 850;
}

.person-info {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 24px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.person-info aside,
.person-section-grid article,
.person-route {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
}

.person-info aside {
  display: grid;
  gap: 12px;
  align-self: start;
  padding: 24px;
}

.person-info aside span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.person-info aside strong {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.4;
}

.person-info h2,
.person-route h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}

.person-info div > p {
  max-width: 760px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.56;
}

.person-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.person-section-grid article {
  min-height: 240px;
  padding: 20px;
}

.person-section-grid span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.person-section-grid p {
  margin: 42px 0 0;
  color: var(--muted);
  line-height: 1.54;
  text-wrap: pretty;
}

.person-route {
  margin-bottom: 96px;
  padding: 28px;
}

.person-route ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.person-route li {
  min-height: 118px;
  padding: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}

.person-route li span {
  display: block;
  margin-bottom: 20px;
  color: var(--red);
  font-weight: 900;
}

.person-immersion {
  padding-bottom: 112px;
}

.immersion-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.immersion-head h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 78px);
  line-height: 1.02;
  text-wrap: balance;
}

.immersion-head p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
  text-wrap: pretty;
}

.immersion-flow {
  display: grid;
  gap: 92px;
}

.immersion-step {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  min-height: 72svh;
  padding: 18px 0;
}

.immersion-step.is-reversed .immersion-media,
.immersion-step.is-reversed .immersion-collage {
  order: 2;
}

.immersion-step.is-reversed .immersion-copy {
  order: 1;
}

.immersion-step.is-text-only {
  grid-template-columns: minmax(0, 0.72fr);
  justify-content: center;
  min-height: auto;
}

.immersion-step.is-text-only .immersion-copy {
  order: initial;
}

.immersion-media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 620px);
  margin: 0;
  overflow: hidden;
  justify-self: center;
  background: #020202;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.immersion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.immersion-collage {
  position: relative;
  min-height: clamp(460px, 54vw, 620px);
  isolation: isolate;
}

.immersion-collage::before {
  position: absolute;
  inset: 13% 5% 7%;
  z-index: -3;
  content: "";
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 52% 18%, rgba(241, 18, 34, 0.24), transparent 22rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 42px;
  backdrop-filter: blur(18px);
}

.collage-symbol,
.collage-portrait {
  position: absolute;
  user-select: none;
  pointer-events: none;
}

.collage-symbol {
  top: 2%;
  left: 2%;
  z-index: -1;
  width: 48%;
  opacity: 0.55;
  filter: drop-shadow(0 28px 60px rgba(241, 18, 34, 0.22));
  transform: rotate(-8deg);
}

.collage-portrait {
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 34px 54px rgba(0, 0, 0, 0.42));
}

.collage-main {
  right: 8%;
  bottom: 0;
  z-index: 2;
  width: 74%;
  height: 94%;
}

.collage-detail {
  right: -1%;
  bottom: 12%;
  z-index: 3;
  width: 34%;
  height: 34%;
  padding-top: 6%;
  overflow: hidden;
  object-fit: cover;
  object-position: center 22%;
  background:
    radial-gradient(circle at 50% 10%, rgba(241, 18, 34, 0.3), transparent 65%),
    rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  backdrop-filter: blur(18px);
}

.collage-side {
  bottom: 4%;
  left: 0;
  z-index: 1;
  width: 35%;
  height: 50%;
  opacity: 0.62;
  transform: scaleX(-1);
  filter:
    grayscale(1)
    contrast(1.08)
    drop-shadow(0 24px 42px rgba(0, 0, 0, 0.34));
}

.immersion-copy {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 32px;
  backdrop-filter: blur(18px);
}

.immersion-copy::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 36px rgba(241, 18, 34, 0.85);
}

.immersion-copy h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 1.04;
  text-wrap: balance;
}

.immersion-copy p:not(.overline) {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.58;
  text-wrap: pretty;
}

.immersion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.immersion-tags span {
  padding: 9px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.person-sources {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 24px;
  margin-top: 82px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.person-sources span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.person-sources div {
  display: grid;
  gap: 12px;
}

.person-sources a {
  color: var(--muted);
  line-height: 1.45;
}

.person-sources a:hover,
.person-sources a:focus-visible {
  color: var(--text);
  outline: none;
}

.reveal-on-scroll {
  opacity: 0;
  filter: blur(2px) saturate(0.98);
  transform: translate3d(0, 48px, 0) scale(0.99);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .motion-reveal,
  .motion-ready .motion-reveal.is-visible,
  .reveal-on-scroll {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 22px;
}

.auth-modal.is-open {
  display: grid;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  padding: 28px;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(241, 18, 34, 0.22), transparent 18rem),
    rgba(13, 13, 15, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
}

.auth-card h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.04;
  text-wrap: balance;
}

.auth-note,
.auth-hint,
.auth-message {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.auth-close:hover,
.auth-close:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 22px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.auth-switch button {
  min-height: 40px;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.auth-switch button.is-active {
  color: var(--black);
  background: var(--text);
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: rgba(247, 243, 236, 0.78);
  font-size: 14px;
}

.auth-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  outline: none;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 54px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(247, 243, 236, 0.62);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
  transform: translateY(-50%);
  transition:
    color 160ms ease,
    background 160ms ease;
}

.password-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle[aria-pressed="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.auth-form input:focus {
  border-color: rgba(241, 18, 34, 0.7);
  box-shadow: 0 0 0 4px rgba(241, 18, 34, 0.14);
}

.auth-submit {
  min-height: 52px;
  width: 100%;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 760;
}

.auth-submit {
  color: var(--white);
  background: var(--red);
  border: 0;
  box-shadow: 0 18px 46px rgba(241, 18, 34, 0.22);
}

.auth-submit:hover,
.auth-submit:focus-visible {
  background: #ff2b38;
  outline: none;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 22px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.12);
}

.auth-message[data-type="success"] {
  color: #9ff0b1;
}

.auth-message[data-type="error"] {
  color: #ff8c94;
}

.auth-message[data-type="info"] {
  color: rgba(247, 243, 236, 0.72);
}

.is-signed.nav-cta,
.is-signed.button {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sources {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(241, 18, 34, 0.12), transparent 28rem),
    linear-gradient(180deg, #f4efe7 0%, #ece3d6 100%);
  color: var(--black);
}

.sources .overline {
  color: var(--red-deep);
}

.sources-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.sources-heading {
  position: sticky;
  top: 120px;
}

.sources-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.08;
  text-wrap: balance;
}

.sources-heading p:not(.overline) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(3, 3, 3, 0.68);
  font-size: 18px;
  line-height: 1.58;
}

.sources-list {
  display: grid;
  gap: 10px;
}

.sources-list a {
  display: grid;
  gap: 16px;
  min-height: 146px;
  padding: 24px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(3, 3, 3, 0.12);
  border-radius: 20px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.sources-list a:hover,
.sources-list a:focus-visible {
  color: var(--red-deep);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(241, 18, 34, 0.26);
  transform: translateY(-2px);
  outline: none;
}

.sources-list span {
  color: rgba(3, 3, 3, 0.54);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sources-list strong {
  max-width: 760px;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.16;
  text-wrap: balance;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(24px, 4vw, 68px);
  align-items: end;
  padding: 38px 32px;
  background: #ece3d6;
  color: var(--black);
  border-top: 1px solid rgba(3, 3, 3, 0.12);
}

.footer-brand {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

.site-footer img {
  width: 128px;
  background: #050506;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(3, 3, 3, 0.18);
}

.footer-brand p,
.footer-copy {
  margin: 0;
  max-width: 720px;
  color: rgba(3, 3, 3, 0.62);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-nav a {
  padding: 10px 12px;
  color: rgba(3, 3, 3, 0.72);
  border: 1px solid rgba(3, 3, 3, 0.12);
  border-radius: 999px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--black);
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(3, 3, 3, 0.24);
  outline: none;
}

.footer-copy {
  white-space: nowrap;
}

.quiz-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 8%, rgba(241, 18, 34, 0.18), transparent 30rem),
    radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.08), transparent 24rem),
    #040405;
}

.online-quiz {
  width: min(1340px, calc(100% - 64px));
  margin: 0 auto;
  padding: 148px 0 72px;
}

.online-quiz-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 28px;
}

.online-quiz-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(38px, 5.8vw, 82px);
  line-height: 0.96;
  text-wrap: balance;
}

.online-quiz-hero > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.52;
}

.quiz-surface,
.quiz-results {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.5vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, rgba(241, 18, 34, 0.16), transparent 28rem),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
}

.quiz-progress {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.quiz-progress strong {
  color: var(--text);
}

.quiz-progress-bar {
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.quiz-progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--red);
  border-radius: inherit;
  transition: width 180ms ease;
}

.quiz-question-card {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.quiz-kicker {
  width: fit-content;
  margin: 0;
  padding: 8px 12px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quiz-question-card h2 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.08;
  text-wrap: balance;
}

.quiz-answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quiz-answer-grid button {
  min-height: 116px;
  padding: 20px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.quiz-answer-grid button:hover,
.quiz-answer-grid button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  outline: none;
  transform: translateY(-2px);
}

.quiz-answer-grid button.is-selected {
  color: var(--black);
  background: var(--text);
  border-color: var(--text);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.quiz-primary,
.quiz-secondary {
  min-height: 54px;
  padding: 0 22px;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    background 160ms ease,
    opacity 160ms ease;
}

.quiz-primary {
  color: var(--white);
  background: var(--red);
  border: 0;
}

.quiz-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.quiz-primary:hover,
.quiz-primary:focus-visible,
.quiz-secondary:hover,
.quiz-secondary:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.quiz-primary:disabled,
.quiz-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.quiz-link {
  display: inline-flex;
  align-items: center;
}

.quiz-results[hidden] {
  display: none;
}

.quiz-results {
  margin-top: 28px;
}

.quiz-result-head h2 {
  margin: 0;
  font-size: clamp(54px, 8vw, 128px);
  line-height: 0.92;
}

.quiz-result-head p:not(.overline) {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.quiz-review {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.quiz-review article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left-width: 5px;
  border-radius: 20px;
}

.quiz-review article.is-correct {
  border-left-color: #8ff0a4;
}

.quiz-review article.is-wrong {
  border-left-color: var(--red);
}

.quiz-review span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quiz-review h3 {
  margin: 12px 0 14px;
  font-size: 22px;
  line-height: 1.22;
}

.quiz-review p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.quiz-review strong {
  color: var(--text);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 10px;
  }

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-art {
    right: -34vw;
    bottom: -5vw;
    width: 132vw;
    max-width: none;
    opacity: 0.58;
  }

  .hero-copy {
    margin-left: 0;
  }

  .hero-status {
    right: 32px;
    left: 32px;
  }

  .section-head,
  .learn-grid,
  .sources-layout,
  .statement-grid,
  .event-feature,
  .auth-explain-grid,
  .feedback-grid,
  .person-hero,
  .person-info,
  .immersion-step,
  .person-sources {
    grid-template-columns: 1fr;
  }

  .atlas .section-head .overline,
  .atlas .section-head h2,
  .atlas .section-head p:not(.overline) {
    grid-column: auto;
    grid-row: auto;
  }

  .atlas .section-head p:not(.overline) {
    margin: 0;
    padding-left: 0;
    border-left: 0;
  }

  .atlas::after {
    inset: 44px 18px;
  }

  .atlas .section-shell {
    margin-top: -28px;
  }

  .event-story,
  .event-gallery {
    min-height: auto;
  }

  .event-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .event-photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .event-photo:not(.event-photo-main) {
    aspect-ratio: 1 / 1;
  }

  .learn-aside {
    position: static;
    min-height: auto;
  }

  .people-grid {
    --people-card-height: 300px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .person-hero {
    padding-top: 160px;
  }

  .photo-placeholder {
    min-height: 0;
  }

  .person-section-grid,
  .person-route ol {
    grid-template-columns: 1fr;
  }

  .immersion-step,
  .immersion-step.is-reversed .immersion-media,
  .immersion-step.is-reversed .immersion-collage,
  .immersion-step.is-reversed .immersion-copy {
    order: initial;
  }

  .sources-heading {
    position: static;
  }

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

  .footer-nav {
    justify-content: flex-start;
  }

  .online-quiz-hero,
  .quiz-answer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 16px;
  }

  .brand {
    width: 118px;
    height: 44px;
  }

  .nav-cta {
    justify-self: end;
    min-height: 38px;
    max-width: 144px;
    padding: 0 13px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero,
  .statement,
  .atlas,
  .learn,
  .sources {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 138px;
    padding-bottom: 42px;
    align-items: end;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 3, 3, 0.68) 0%, rgba(3, 3, 3, 0.24) 36%, rgba(3, 3, 3, 0.8) 78%, var(--black) 100%),
      linear-gradient(90deg, rgba(3, 3, 3, 0.98) 0%, rgba(3, 3, 3, 0.74) 46%, rgba(3, 3, 3, 0.18) 100%);
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    align-self: end;
    padding-bottom: 38px;
  }

  .hero-copy p:not(.overline) {
    font-size: 17px;
  }

  .hero-links {
    display: grid;
  }

  .hero-art {
    right: -88vw;
    bottom: -5svh;
    width: 230vw;
    max-width: none;
    opacity: 0.46;
    filter: saturate(1.04) contrast(1.08);
    transform: none !important;
    transform-origin: center bottom;
  }

  .motion-ready .hero-art {
    animation-duration: 620ms;
  }

  .hero-art img {
    width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 68% bottom;
    transform: scale(1.04);
  }

  .hero-art::after {
    inset: -2px;
    background:
      linear-gradient(180deg, rgba(3, 3, 3, 0.82) 0%, transparent 23%, transparent 58%, var(--black) 100%),
      linear-gradient(90deg, var(--black) 0%, rgba(3, 3, 3, 0.78) 26%, transparent 64%),
      linear-gradient(270deg, rgba(3, 3, 3, 0.5) 0%, transparent 22%);
  }

  .hero-art img,
  .statement-visual img {
    animation: none;
  }

  .hero-status {
    right: 18px;
    bottom: 18px;
    left: 18px;
    grid-template-columns: 1fr;
  }

  .hero-status span {
    min-height: 44px;
    padding: 13px 16px;
  }

  .statement,
  .atlas,
  .learn,
  .events,
  .auth-explain,
  .feedback,
  .sources {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .people-grid,
  .fact-list,
  .event-row,
  .event-program,
  .event-gallery,
  .auth-steps {
    grid-template-columns: 1fr;
  }

  .people-grid {
    --people-card-height: 286px;
  }

  .event-photo-main,
  .event-photo:not(.event-photo-main) {
    aspect-ratio: 4 / 5;
  }

  .event-photo-main {
    aspect-ratio: 16 / 10;
  }

  .event-photo {
    border-radius: 20px;
  }

  .event-photo img {
    min-height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .event-photo:nth-child(2) img {
    object-position: center top;
  }

  .auth-steps article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .knowledge-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .panel-meta {
    display: grid;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 26px 18px;
  }

  .online-quiz {
    width: calc(100% - 36px);
    padding-top: 150px;
  }

  .online-quiz-hero h1 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .online-quiz-hero > p,
  .quiz-result-head p:not(.overline) {
    font-size: 17px;
  }

  .quiz-surface,
  .quiz-results {
    padding: 20px;
    border-radius: 24px;
  }

  .quiz-answer-grid button {
    min-height: 92px;
  }

  .quiz-actions {
    display: grid;
  }

  .quiz-primary,
  .quiz-secondary {
    width: 100%;
  }

  .online-quiz-cta {
    min-height: 132px;
    padding: 22px;
  }

  .online-quiz-cta::after {
    right: 20px;
    bottom: 18px;
  }

  .sources-list a {
    min-height: 0;
    padding: 20px;
  }

  .footer-copy {
    white-space: normal;
  }

  .person-hero {
    min-height: auto;
    width: calc(100% - 36px);
    padding: 150px 0 42px;
  }

  .person-info,
  .person-route,
  .person-immersion {
    width: calc(100% - 36px);
  }

  .photo-placeholder {
    width: 100%;
    border-radius: 26px;
  }

  .person-copy h1 {
    font-size: clamp(38px, 12.5vw, 58px);
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .people-grid::before {
    top: 250px;
    width: 168vw;
    height: 760px;
    min-height: 760px;
    opacity: 0.52;
    transform: translate(-50%, -50%) rotate(-5deg);
  }

  .atlas::after {
    inset: 24px 10px;
    border-radius: 30px;
  }

  .immersion-flow {
    gap: 58px;
  }

  .immersion-step {
    min-height: auto;
    gap: 18px;
    padding: 0;
  }

  .immersion-head {
    margin-bottom: 42px;
  }

  .immersion-head p {
    font-size: 17px;
  }

  .immersion-collage {
    min-height: 420px;
    margin: 0 -10px;
  }

  .immersion-collage::before {
    inset: 16% 3% 7%;
    border-radius: 30px;
  }

  .collage-symbol {
    width: 50%;
    opacity: 0.46;
  }

  .collage-main {
    right: 4%;
    width: 78%;
    height: 94%;
  }

  .collage-detail {
    right: 0;
    bottom: 14%;
    width: 35%;
    height: 35%;
  }

  .collage-side {
    width: 34%;
    height: 46%;
    opacity: 0.5;
  }

  .immersion-copy {
    padding: 22px;
    border-radius: 24px;
  }

  .immersion-tags span {
    font-size: 14px;
  }

  .person-sources {
    margin-top: 58px;
  }
}
