:root {
  --bg: #F4F4F6;
  --panel: #EBEBF0;
  --paper: #FFFFFF;
  --text: #2D3142;
  --muted: #474A59;
  --gold: #D4AF37;
  --purple: #6C5CE7;
  --red: #D63031;
  --line: rgba(45, 49, 66, .14);
  --shadow: 0 18px 48px rgba(45, 49, 66, .14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(45, 49, 66, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 49, 66, .035) 1px, transparent 1px);
  background-size: 32px 32px;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

body.is-lightbox-open {
  overflow: hidden;
}

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

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

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  text-shadow: 0 2px 0 rgba(212, 175, 55, .26), 0 12px 34px rgba(108, 92, 231, .28);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h2 {
  position: relative;
  display: inline-block;
  color: var(--text);
  font-size: 32px;
  font-weight: 800;
}

h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--purple), transparent);
}

h3 {
  font-size: 20px;
  font-weight: 800;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple), var(--red));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(212, 175, 55, .45);
  background: rgba(244, 244, 246, .92);
  backdrop-filter: blur(14px);
  transition: box-shadow .2s ease, background-color .2s ease, min-height .2s ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(244, 244, 246, .96);
  box-shadow: 0 10px 26px rgba(45, 49, 66, .1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  color: var(--text);
}

.brand picture,
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.brand span {
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.primary-nav svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-nav span {
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--purple);
  border-color: rgba(212, 175, 55, .82);
  box-shadow: inset 0 0 0 1px rgba(108, 92, 231, .2), 0 0 0 3px rgba(212, 175, 55, .12);
}

.primary-nav .nav-cta {
  margin-left: 8px;
  color: #fff;
  background: var(--purple);
  border: 1px solid rgba(255, 255, 255, .2);
}

.primary-nav .nav-cta:hover {
  color: #fff;
  background: var(--red);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 8px 18px rgba(108, 92, 231, .22);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--text);
  position: relative;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transform-origin: center;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 84svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  object-fit: cover;
  object-position: center top;
  transform: translateY(var(--hero-shift, 0px)) scale(1.04);
  transition: transform .15s linear;
}

.hero-shade {
  z-index: -1;
  background: rgba(17, 18, 28, .62);
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 72px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

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

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.btn-primary {
  color: #fff;
  background: var(--purple);
  border: 1px solid rgba(255, 255, 255, .22);
}

.btn-primary:hover {
  background: var(--red);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(212, 175, 55, .72);
  background: rgba(255, 255, 255, .1);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(840px, 100%);
  margin-top: 44px;
  border: 1px solid rgba(212, 175, 55, .58);
  background: rgba(212, 175, 55, .58);
}

.hero-facts div {
  min-height: 82px;
  padding: 14px;
  background: rgba(244, 244, 246, .9);
  color: var(--text);
}

.hero-facts dt {
  font-size: 13px;
  color: var(--muted);
}

.hero-facts dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.section + .section {
  border-top: 1px solid rgba(45, 49, 66, .1);
}

.section-heading {
  display: block;
  max-width: 880px;
  text-align: center;
  margin-bottom: 34px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading .section-kicker {
  margin-bottom: 8px;
}

.section-heading p:last-child {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--muted);
}

.section-heading.compact {
  display: block;
  max-width: 860px;
}

.section-heading.compact .section-kicker {
  margin-bottom: 8px;
}

.section-heading.compact p:last-child {
  margin: 12px auto 0;
}

.media-text {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.media-text-right {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
}

.media-text-right .image-frame {
  order: 2;
}

.image-frame {
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .7);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-frame figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  background: var(--paper);
}

.text-flow {
  display: grid;
  gap: 16px;
}

.text-flow p,
.route-list p,
.feature-card p,
.character-card p,
.highlight-block p,
.timeline p,
.faq-list p,
.final-cta p,
.site-footer p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 20px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
}

.wide-figure {
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, .62);
  background: var(--paper);
}

.wide-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.character-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.character-card,
.feature-card,
.timeline article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.character-card,
.feature-card {
  min-height: 184px;
  padding: 20px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.character-card:hover,
.feature-card:hover,
.timeline article:hover,
.highlight-block:hover,
.faq-list details:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, .76);
  box-shadow: 0 14px 34px rgba(45, 49, 66, .12);
  background-color: rgba(255, 255, 255, .92);
}

.character-card h3,
.feature-card h3 {
  margin-top: 12px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 175, 55, .8);
  border-radius: 6px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  background: var(--paper);
  transition: transform .22s ease, background-color .22s ease, color .22s ease;
}

.feature-card:hover .feature-icon {
  color: #fff;
  background: var(--purple);
  transform: rotate(-4deg) scale(1.05);
}

.route-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: routes;
}

.route-list li {
  position: relative;
  min-height: 96px;
  padding: 18px 18px 18px 68px;
  border-left: 2px solid var(--gold);
  background: rgba(235, 235, 240, .78);
}

.route-list li::before {
  counter-increment: routes;
  content: counter(routes, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--purple);
  font-weight: 900;
}

.highlight-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.highlight-block {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.highlight-block img {
  width: 190px;
  height: 142px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, .55);
}

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

.gallery figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: zoom-in;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.gallery figure::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(90deg, #fff, #fff) center / 2px 12px no-repeat,
    rgba(108, 92, 231, .78);
  opacity: 0;
  transform: translateY(-6px) scale(.9);
  transition: opacity .2s ease, transform .2s ease;
}

.gallery figure:hover,
.gallery figure:focus {
  border-color: rgba(212, 175, 55, .82);
  box-shadow: 0 12px 30px rgba(45, 49, 66, .13);
  transform: translateY(-2px);
  outline: none;
}

.gallery figure:hover::after,
.gallery figure:focus::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .24s ease;
}

.gallery figure:hover img,
.gallery figure:focus img {
  transform: scale(1.035);
}

.gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: lightboxFade .18s ease both;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 18, 28, .78);
  cursor: zoom-out;
}

.lightbox-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100svh - 48px);
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(212, 175, 55, .72);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
  animation: lightboxZoom .22s ease both;
}

.lightbox-panel img {
  width: 100%;
  max-height: calc(100svh - 150px);
  object-fit: contain;
  border-radius: 6px;
  background: #11121c;
}

.lightbox-panel p {
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .24);
}

.lightbox-close:hover {
  background: var(--red);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, .55);
  border-radius: 999px;
  color: #fff;
  background: rgba(45, 49, 66, .78);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.lightbox-nav:hover {
  background: var(--purple);
  transform: translateY(-50%) scale(1.06);
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

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

.timeline article {
  min-height: 138px;
  padding: 18px;
  background: var(--paper);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.timeline time {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--purple);
  font-weight: 900;
}

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

.faq-list details {
  background: var(--paper);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.faq-list summary {
  cursor: pointer;
  min-height: 58px;
  padding: 16px 52px 16px 18px;
  color: var(--text);
  font-weight: 800;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 14px;
  color: var(--purple);
  font-size: 24px;
  line-height: 1;
  transition: transform .2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  padding: 0 18px 18px;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .58s ease, transform .58s ease;
}

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

@keyframes lightboxFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lightboxZoom {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.final-cta {
  width: min(var(--max), calc(100% - 40px));
  margin: 28px auto 0;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  background: rgba(45, 49, 66, .94);
  color: #fff;
}

.final-cta p {
  max-width: 760px;
  margin-top: 10px;
  color: rgba(255, 255, 255, .82);
}

.final-cta h2 {
  color: #fff;
  text-shadow: 0 2px 0 rgba(212, 175, 55, .18), 0 10px 28px rgba(255, 255, 255, .14);
}

.final-cta h2::after {
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, .85), transparent);
}

.partner-links {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 42px 58px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 18%, rgba(214, 48, 49, .42), transparent 34%),
    linear-gradient(105deg, #1f2435 0%, #332342 48%, #8a104f 100%);
}

.partner-links .section-kicker {
  color: rgba(255, 255, 255, .7);
  letter-spacing: .08em;
}

.partner-links h2 {
  margin-top: 8px;
  color: #fff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, .26);
}

.partner-links h2::after {
  background: linear-gradient(90deg, transparent, var(--gold), var(--purple), transparent);
}

.partner-copy {
  max-width: 780px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .8);
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.partner-list a {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 178px;
  max-width: 100%;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  line-height: 1.25;
  overflow-wrap: anywhere;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.partner-list a::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5ee7ff, var(--purple) 48%, var(--red));
  box-shadow: 0 0 12px rgba(108, 92, 231, .72);
}

.partner-tag {
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 5px 10px;
  border: 1px solid rgba(212, 175, 55, .42);
  border-radius: 999px;
  color: rgba(255, 255, 255, .76);
  background: rgba(45, 49, 66, .24);
  font-size: 13px;
  font-weight: 800;
}

.partner-list strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.partner-list a > span:not(.partner-tag) {
  color: rgba(255, 255, 255, .78);
}

.partner-list em {
  align-self: end;
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.partner-list em::after {
  content: " →";
  display: inline-block;
  transition: transform .2s ease;
}

.partner-list a:hover,
.partner-list a:focus {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, .82);
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
  outline: none;
}

.partner-list a:hover em::after,
.partner-list a:focus em::after {
  transform: translateX(4px);
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(220px, .9fr) minmax(240px, .8fr);
  align-items: start;
  gap: 28px;
  font-size: 14px;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand strong {
  color: var(--text);
  font-size: 18px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(212, 175, 55, .5);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .72);
  font-weight: 800;
}

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

.footer-nav a {
  color: var(--purple);
  font-weight: 800;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease;
}

.footer-nav a:hover {
  color: var(--red);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    justify-content: flex-start;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .section-heading,
  .media-text,
  .media-text-right,
  .character-grid,
  .feature-grid,
  .highlight-layout,
  .timeline {
    grid-template-columns: 1fr;
  }

  .media-text-right .image-frame {
    order: 0;
  }

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

  .character-card,
  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .site-header {
    min-height: 64px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding: 86px 0 46px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
  }

  .hero-facts div {
    min-height: 76px;
    padding: 12px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 58px 0;
  }

  .highlight-block {
    grid-template-columns: 1fr;
  }

  .highlight-block img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .gallery figure {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-panel {
    padding: 10px;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .final-cta,
  .site-footer {
    width: calc(100% - 32px);
  }

  .final-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .partner-links {
    width: calc(100% - 32px);
    padding: 36px 16px 40px;
  }

  .partner-list {
    grid-template-columns: 1fr;
  }

  .partner-list a {
    width: 100%;
    min-height: auto;
    padding: 18px;
  }

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

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

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-media img {
    transform: scale(1.04);
  }

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