@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/font-display.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/font-body.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f5f0e6;
  --ivory-deep: #e8dfd0;
  --paper: #fffaf0;
  --ink: #131725;
  --ink-soft: #24293a;
  --orange: #ff6337;
  --orange-dark: #c83a18;
  --lavender: #b9a7df;
  --muted: #646573;
  --line: rgba(19, 23, 37, 0.2);
  --display: "Barlow Condensed", "Arial Narrow", Arial, "Microsoft YaHei", sans-serif;
  --body: "DM Sans", Arial, "Microsoft YaHei", sans-serif;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(76px, 9vw, 132px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.home {
  background-image: radial-gradient(circle at 80% 35%, rgba(185, 167, 223, 0.13), transparent 28rem);
}

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

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
[role="button"],
summary,
a[href] {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

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

.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;
}

.container {
  width: min(100% - (2 * var(--gutter)), var(--container));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 40;
  min-height: 82px;
  background: var(--ink);
  color: var(--ivory);
  border-bottom: 1px solid rgba(245, 240, 230, 0.18);
}

.home .site-header {
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(to bottom, rgba(10, 12, 20, 0.88), rgba(10, 12, 20, 0));
  border-bottom-color: transparent;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand svg,
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand span {
  display: grid;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 0.95;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 5px;
  color: var(--lavender);
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
  margin-left: auto;
}

.desktop-nav a,
.language-link {
  position: relative;
  color: rgba(245, 240, 230, 0.8);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--orange);
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.language-link:hover {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(245, 240, 230, 0.42);
  background: transparent;
  color: var(--ivory);
}

.mobile-nav {
  position: absolute;
  inset: 82px 0 auto;
  padding: 8px var(--gutter) 26px;
  background: var(--ink);
  border-bottom: 1px solid rgba(245, 240, 230, 0.18);
  box-shadow: 0 22px 40px rgba(4, 5, 10, 0.3);
}

.mobile-nav a {
  display: block;
  max-width: var(--container);
  margin: 0 auto;
  padding: 13px 0;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(245, 240, 230, 0.13);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid var(--orange);
  border-radius: 0;
  background: var(--orange);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.075em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 rgba(19, 23, 37, 0.28);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  background: #ff7954;
  border-color: #ff7954;
  box-shadow: 7px 7px 0 rgba(19, 23, 37, 0.34);
}

.button-small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.73rem;
  box-shadow: none;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(19, 23, 37, 0.3);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: none;
}

.button-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ivory);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-weight: 700;
  text-decoration-thickness: 2px;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover {
  gap: 13px;
  color: var(--orange-dark);
}

.hero {
  position: relative;
  min-height: max(660px, 92vh);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

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

.hero-art {
  z-index: -3;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.78) contrast(1.08);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.9) 0%, rgba(7, 9, 16, 0.52) 34%, rgba(7, 9, 16, 0.08) 64%),
    linear-gradient(0deg, rgba(7, 9, 16, 0.9) 0%, transparent 42%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.32), transparent 30%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, transparent 0 48px, rgba(255, 255, 255, 0.06) 49px 50px);
}

.hero-inner {
  padding-top: 154px;
  padding-bottom: 94px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow,
.media-section .eyebrow,
.wishlist-panel .eyebrow,
.site-footer .eyebrow {
  color: var(--lavender);
}

.eyebrow::before {
  content: "";
  width: 25px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(4.5rem, 10vw, 9.8rem);
  line-height: 0.78;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.38);
}

.hero h1 span {
  display: inline;
}

.hero h1 .accent {
  color: var(--orange);
  font-size: 0.86em;
  -webkit-text-stroke: 1px rgba(19, 23, 37, 0.35);
}

.hero-description {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 26px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-meta span + span::before {
  content: "/";
  margin-right: 26px;
  color: var(--orange);
}

.hero-bottom {
  position: absolute;
  right: auto;
  bottom: 26px;
  left: 50%;
  width: min(100% - (2 * var(--gutter)), var(--container));
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.scroll-cue::before {
  content: "";
  width: 1px;
  height: 34px;
  background: var(--orange);
}

.art-label {
  max-width: 320px;
  text-align: right;
}

.ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--orange);
  color: var(--ink);
  border-block: 2px solid var(--ink);
  white-space: nowrap;
}

.ticker span {
  flex: 0 0 auto;
  padding: 10px 25px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker b {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(30px, 7vw, 110px);
  margin-bottom: clamp(42px, 6vw, 78px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-heading h2,
.intro-grid h2,
.media-heading h2,
.wishlist-copy h2,
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
}

.section-heading p {
  max-width: 470px;
  margin: 0 0 0.5em;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(48px, 10vw, 150px);
  align-items: start;
}

.intro-grid h2 {
  position: sticky;
  top: 112px;
  max-width: 790px;
}

.intro-grid h2 em {
  color: var(--orange-dark);
  font-style: normal;
}

.intro-grid .narrative,
.intro-grid > div:last-child {
  padding-top: 12px;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.intro-grid p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.25em;
}

.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(65px, 9vw, 124px);
  border-top: 1px solid var(--ink);
}

.modes > * {
  min-width: 0;
  padding: 30px clamp(20px, 3vw, 44px) 8px 0;
  border-right: 1px solid var(--line);
}

.modes > * + * {
  padding-left: clamp(20px, 3vw, 44px);
}

.modes > *:last-child {
  border-right: 0;
}

.modes .number,
.modes .chapter {
  display: block;
  margin-bottom: 34px;
  color: var(--orange-dark);
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.modes h3 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 2.7vw, 2.55rem);
}

.modes p {
  margin: 0;
  color: var(--muted);
}

.media-section {
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
}

.media-section::before {
  content: "MIDNIGHT";
  position: absolute;
  top: -0.22em;
  right: -0.04em;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--display);
  font-size: clamp(9rem, 23vw, 26rem);
  line-height: 1;
  pointer-events: none;
}

.media-heading {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.media-heading > * {
  margin-bottom: 0;
}

.trailer-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05060a;
  border: 1px solid rgba(245, 240, 230, 0.28);
  box-shadow: 18px 18px 0 rgba(255, 99, 55, 0.16);
}

.trailer-shell video,
.trailer-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  color: rgba(245, 240, 230, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trailer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.trailer-tabs button {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid rgba(245, 240, 230, 0.28);
  background: transparent;
  color: rgba(245, 240, 230, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.trailer-tabs button:hover,
.trailer-tabs button[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(42px, 8vw, 118px);
  padding-block: clamp(54px, 8vw, 108px);
  border-top: 1px solid var(--line);
}

.feature-story:nth-child(even) .story-image {
  order: 2;
}

.story-image {
  position: relative;
}

.story-image::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--lavender);
}

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

.story-copy .chapter {
  display: block;
  margin-bottom: 22px;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.story-copy h3 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5vw, 5.3rem);
}

.story-copy p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.06rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: clamp(10px, 1.8vw, 26px);
}

.gallery-item {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--ink);
  color: var(--ivory);
  text-align: left;
}

.gallery-item:nth-child(2) {
  margin-top: clamp(34px, 7vw, 96px);
}

.gallery-item figure {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.gallery-item figcaption {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 15px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-item figcaption b {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 700;
}

.faq-preview,
.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-preview details,
.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-preview summary,
.faq-list summary {
  position: relative;
  padding: 26px 56px 26px 0;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

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

.faq-preview summary::after,
.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 10px;
  color: var(--orange-dark);
  font-family: var(--body);
  font-size: 1.7rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

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

.faq-preview details > :not(summary),
.faq-list details > :not(summary) {
  max-width: 790px;
  margin-top: 0;
  padding: 0 56px 24px 0;
  color: var(--muted);
}

.prose details {
  border-top: 1px solid var(--line);
}

.prose details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.prose details summary {
  position: relative;
  padding: 22px 50px 22px 0;
  list-style: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.prose details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--orange-dark);
  font-family: var(--body);
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.prose details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.prose details > :not(summary) {
  max-width: 720px;
  padding-right: 50px;
  padding-bottom: 20px;
}

.video-description {
  max-width: 800px;
  margin-top: 22px;
  border-top: 1px solid rgba(245, 240, 230, 0.22);
  border-bottom: 1px solid rgba(245, 240, 230, 0.22);
}

.video-description summary {
  position: relative;
  padding: 15px 44px 15px 0;
  list-style: none;
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.video-description summary::-webkit-details-marker {
  display: none;
}

.video-description summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--orange);
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.video-description[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.video-description p {
  margin: 0;
  padding: 0 44px 18px 0;
  color: rgba(245, 240, 230, 0.72);
  line-height: 1.7;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

html[lang="zh-CN"] .hero h1 {
  font-size: clamp(2.25rem, 5.2vw, 4.6rem);
}

html[lang="zh-CN"] .hero h1 .accent {
  font-size: inherit;
}

html[lang="zh-CN"] .section-heading h2,
html[lang="zh-CN"] .intro-grid h2,
html[lang="zh-CN"] .media-heading h2,
html[lang="zh-CN"] .wishlist-copy h2,
html[lang="zh-CN"] .page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.75rem);
}

.wishlist-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 140px);
  background: var(--ink);
  color: var(--ivory);
}

.wishlist-panel > img,
.wishlist-panel .panel-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: grayscale(1) contrast(1.2);
}

.wishlist-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 23, 37, 0.98), rgba(19, 23, 37, 0.8));
}

.wishlist-panel .container,
.wishlist-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.4fr);
  align-items: center;
  gap: clamp(44px, 9vw, 130px);
}

.wishlist-copy h2 {
  max-width: 850px;
  margin-bottom: 26px;
}

.wishlist-copy p {
  max-width: 630px;
  color: rgba(245, 240, 230, 0.7);
}

.wishlist-mark {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(245, 240, 230, 0.32);
  transform: rotate(5deg);
}

.wishlist-mark img,
.wishlist-mark svg {
  width: 66%;
  height: 66%;
  object-fit: contain;
}

.site-footer {
  padding: 62px 0 24px;
  background: #0b0d16;
  color: var(--ivory);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 54px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 12px 52px;
}

.footer-links a {
  color: rgba(245, 240, 230, 0.72);
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  color: rgba(245, 240, 230, 0.46);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(245, 240, 230, 0.14);
}

/* Document pages */
.document {
  background: var(--paper);
}

.page-hero {
  padding: clamp(74px, 9vw, 128px) 0 clamp(54px, 7vw, 92px);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--orange-dark);
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p {
  max-width: 740px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.document-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 820px);
  justify-content: center;
  gap: clamp(48px, 8vw, 120px);
  padding-block: clamp(58px, 8vw, 110px);
}

.toc {
  position: sticky;
  top: 110px;
  align-self: start;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}

.toc-label {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.toc a:hover,
.toc a[aria-current="true"] {
  color: var(--orange-dark);
  transform: translateX(3px);
}

.prose {
  min-width: 0;
}

.prose section,
.prose h2,
.prose h3 {
  scroll-margin-top: 110px;
}

.prose h2 {
  margin: 2.2em 0 0.55em;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}

.prose > h2:first-child,
.prose > section:first-child h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 2em 0 0.6em;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
}

.prose p,
.prose li {
  color: #363946;
}

.prose p {
  margin: 0 0 1.15em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose a {
  color: var(--orange-dark);
  font-weight: 700;
}

.prose hr {
  margin: 54px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose kbd {
  display: inline-block;
  min-width: 1.8em;
  padding: 2px 7px;
  border: 1px solid #a7a5a0;
  border-bottom-width: 3px;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.table-wrap {
  max-width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.prose table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.prose th,
.prose td {
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.prose th {
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.note,
.warning {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--lavender);
  background: rgba(185, 167, 223, 0.13);
}

.warning {
  border-left-color: var(--orange);
  background: rgba(255, 99, 55, 0.1);
}

.note > :last-child,
.warning > :last-child {
  margin-bottom: 0;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.media-dialog {
  width: min(94vw, 1120px);
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(245, 240, 230, 0.3);
  background: var(--ink);
  color: var(--ivory);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
}

.media-dialog::backdrop {
  background: rgba(5, 6, 10, 0.88);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ivory);
  background: var(--orange);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
}

.dialog-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #05060a;
}

.dialog-caption {
  margin: 0;
  padding: 14px 18px;
  color: rgba(245, 240, 230, 0.7);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a,
  .language-link {
    font-size: 0.7rem;
  }

  .header-actions {
    gap: 10px;
  }

  .feature-story {
    gap: 52px;
  }

  .document-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 48px;
  }
}

@media (max-width: 800px) {
  :root {
    --gutter: clamp(18px, 5vw, 34px);
    --section-space: clamp(66px, 15vw, 98px);
  }

  .site-header,
  .header-inner {
    min-height: 72px;
  }

  .desktop-nav,
  .header-actions .button {
    display: none;
  }

  .header-actions .language-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-inline: 6px;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    inset-block-start: 72px;
  }

  .hero {
    min-height: max(650px, 100svh);
  }

  .hero-art {
    object-position: 50% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 9, 16, 0.98) 0%, rgba(7, 9, 16, 0.7) 54%, rgba(7, 9, 16, 0.26) 100%),
      linear-gradient(90deg, rgba(7, 9, 16, 0.66), rgba(7, 9, 16, 0.12));
  }

  .hero-inner {
    padding-top: 145px;
    padding-bottom: 108px;
  }

  .hero h1 {
    font-size: clamp(4rem, 21vw, 7rem);
  }

  .hero-description {
    max-width: 520px;
    margin-top: 24px;
  }

  .hero-bottom {
    bottom: 20px;
  }

  .art-label {
    display: none;
  }

  .section-heading,
  .intro-grid,
  .feature-story,
  .wishlist-panel .container,
  .wishlist-panel-inner,
  .document-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 20px;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .intro-grid {
    gap: 30px;
  }

  .intro-grid h2 {
    position: static;
  }

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

  .modes > *,
  .modes > * + * {
    padding: 25px 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .modes > *:last-child {
    border-bottom: 0;
  }

  .modes .number,
  .modes .chapter {
    margin-bottom: 14px;
  }

  html[lang="zh-CN"] .hero h1 {
    font-size: clamp(2.15rem, 9vw, 3.2rem);
  }

  html[lang="zh-CN"] .page-hero h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .media-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .trailer-shell {
    box-shadow: 10px 10px 0 rgba(255, 99, 55, 0.16);
  }

  .feature-story:nth-child(even) .story-image {
    order: 0;
  }

  .feature-story {
    gap: 38px;
  }

  .story-image::after {
    inset: 12px -12px -12px 12px;
  }

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

  .gallery-item:nth-child(2) {
    margin-top: 32px;
  }

  .gallery-item:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 6px);
    margin-left: auto;
  }

  .wishlist-mark {
    width: min(220px, 60vw);
  }

  .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 0 0 24px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .toc-label {
    flex-basis: 100%;
  }

  .toc a {
    margin: 0;
  }
}

@media (max-width: 540px) {
  .brand span {
    font-size: 1.05rem;
  }

  .brand small {
    display: none;
  }

  .hero-inner {
    padding-top: 122px;
  }

  .hero h1 {
    font-size: clamp(3.75rem, 20.5vw, 5.5rem);
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    gap: 5px;
  }

  .hero-meta span + span::before {
    content: none;
  }

  .section-heading h2,
  .intro-grid h2,
  .media-heading h2,
  .wishlist-copy h2,
  .page-hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

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

  .gallery-item:nth-child(2) {
    margin-top: 0;
  }

  .gallery-item:last-child {
    grid-column: auto;
    width: 100%;
  }

  .media-caption,
  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
  }

  .dialog-close {
    top: 8px;
    right: 8px;
  }
}

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

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

@media print {
  @page {
    margin: 18mm;
  }

  body,
  .document {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .site-header,
  .site-footer,
  .mobile-nav,
  .toc,
  .document-actions,
  .button,
  .skip-link {
    display: none !important;
  }

  .page-hero {
    padding: 0 0 24px;
    background: #fff;
  }

  .document-layout {
    display: block;
    padding: 30px 0 0;
  }

  .prose {
    max-width: none;
  }

  .prose a {
    color: #000;
  }

  .prose h2,
  .prose h3,
  .table-wrap,
  .note,
  .warning {
    break-inside: avoid;
  }
}
