:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #0b0a09;
  --graphite: #141210;
  --graphite-2: #211d19;
  --line: rgba(201, 165, 112, 0.24);
  --line-strong: rgba(201, 165, 112, 0.48);
  --paper: #f3eee4;
  --muted: rgba(243, 238, 228, 0.66);
  --dim: rgba(243, 238, 228, 0.42);
  --gold: #b99863;
  --red: #c63724;
  --deep-red: #63150f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 8%, rgba(99, 21, 15, 0.26), transparent 26rem),
    radial-gradient(circle at 0% 32%, rgba(185, 152, 99, 0.12), transparent 24rem),
    linear-gradient(180deg, #050505 0%, #0c0b0a 42%, #080706 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  animation: gridDrift 34s linear infinite;
}

body::after {
  position: fixed;
  inset: -30%;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.34;
  background:
    radial-gradient(circle at 18% 28%, rgba(198, 55, 36, 0.18), transparent 20rem),
    radial-gradient(circle at 82% 64%, rgba(185, 152, 99, 0.13), transparent 24rem);
  filter: blur(8px);
  animation: ambientBreath 18s ease-in-out infinite alternate;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.section {
  position: relative;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(8px);
  transition:
    opacity 780ms ease,
    transform 860ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 780ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
}

.image-eyebrow,
.section-eyebrow {
  margin-bottom: 18px;
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

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

.section-heading.compact h2 {
  max-width: 980px;
  font-size: clamp(1.65rem, 3.1vw, 2.35rem);
}

.section-heading h2,
.contact h2,
.detail-body h2 {
  margin: 0;
  font-family: "SimSun", "STSong", "Songti SC", serif;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.18;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0 20px;
  color: var(--paper);
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(198, 55, 36, 0.7);
  background: linear-gradient(135deg, rgba(198, 55, 36, 0.92), rgba(74, 14, 9, 0.9));
  box-shadow: 0 18px 50px rgba(99, 21, 15, 0.36);
}

.button.ghost {
  background: rgba(243, 238, 228, 0.045);
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: #000;
  animation: introExit 5.9s cubic-bezier(0.84, 0, 0.16, 1) forwards;
}

.intro-overlay[data-state="hidden"] {
  display: none;
}

.intro-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
  filter: contrast(1.18) brightness(0.76) saturate(1.02);
  animation: introCamera 5.7s cubic-bezier(0.1, 0.76, 0.22, 1) forwards;
}

.intro-overlay::before {
  position: absolute;
  inset: -20%;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(255, 234, 202, 0.26) 47%, transparent 53%),
    radial-gradient(circle at 62% 46%, rgba(198, 55, 36, 0.62), transparent 17rem),
    radial-gradient(circle at 44% 52%, rgba(185, 152, 99, 0.22), transparent 22rem);
  mix-blend-mode: screen;
  opacity: 0;
  animation: introLight 5.4s steps(10) forwards;
}

.intro-overlay::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.78)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
}

.intro-depth,
.intro-scan,
.intro-orbit {
  position: absolute;
  pointer-events: none;
}

.intro-depth {
  inset: 0;
  background:
    radial-gradient(circle at 52% 48%, transparent 0 18%, rgba(0, 0, 0, 0.48) 49%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 38%, transparent 62%, rgba(0, 0, 0, 0.86));
  mix-blend-mode: multiply;
  animation: introDepth 5.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.intro-orbit {
  left: 50%;
  top: 50%;
  width: min(72vw, 820px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 219, 166, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(62deg) rotateZ(-18deg) scale(0.42);
  box-shadow:
    0 0 60px rgba(198, 55, 36, 0.26),
    inset 0 0 44px rgba(255, 58, 36, 0.18);
  mix-blend-mode: screen;
  opacity: 0;
}

.intro-orbit-a {
  animation: introOrbitA 5.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-orbit-b {
  width: min(92vw, 1040px);
  border-color: rgba(255, 58, 36, 0.28);
  animation: introOrbitB 5.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-scan {
  inset: -20% -40%;
  background:
    linear-gradient(100deg, transparent 0 35%, rgba(255, 244, 218, 0.5) 39%, rgba(255, 58, 36, 0.22) 42%, transparent 49%),
    linear-gradient(82deg, transparent 0 58%, rgba(198, 55, 36, 0.5) 60%, transparent 64%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-34%) rotate(-7deg);
  animation: introScan 5.45s cubic-bezier(0.74, 0, 0.18, 1) forwards;
}

.intro-shutter {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 20vh;
  background: rgba(0, 0, 0, 0.84);
  transform: skewY(-6deg);
  animation: shutterCut 5.35s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.intro-shutter-a {
  top: 12%;
}

.intro-shutter-b {
  bottom: 10%;
  animation-delay: 0.22s;
}

.intro-redline {
  position: absolute;
  top: -12%;
  left: 52%;
  width: 5px;
  height: 130%;
  background: linear-gradient(180deg, transparent, #ff3a24 14%, #ff3a24 78%, transparent);
  box-shadow:
    0 0 34px rgba(255, 52, 33, 0.92),
    0 0 86px rgba(255, 52, 33, 0.48);
  transform: rotate(18deg) translateX(-26vw);
  opacity: 0;
  animation: redKnife 5.25s cubic-bezier(0.74, 0, 0.18, 1) forwards;
}

.intro-flash {
  position: absolute;
  inset: 0;
  background: #f9eee1;
  opacity: 0;
  animation: flashBurst 5.5s steps(1) forwards;
}

.intro-noise {
  position: absolute;
  inset: -50%;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(198, 55, 36, 0.22) 0 1px, transparent 1px);
  background-size: 13px 17px, 19px 23px;
  animation: noiseMove 500ms steps(2) infinite;
}

.intro-skip,
.intro-sound {
  position: absolute;
  bottom: 24px;
  z-index: 3;
  min-height: 40px;
  border: 1px solid rgba(243, 238, 228, 0.36);
  border-radius: 4px;
  padding: 0 14px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.intro-skip {
  right: 24px;
}

.intro-sound {
  left: 24px;
  border-color: rgba(198, 55, 36, 0.48);
  background: rgba(52, 10, 7, 0.54);
  box-shadow: 0 0 24px rgba(198, 55, 36, 0.2);
}

.intro-sound[aria-pressed="true"] {
  color: #fff2d8;
  border-color: rgba(241, 176, 103, 0.72);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px max(18px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(201, 165, 112, 0.14);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
}

.nav-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(201, 165, 112, 0.46);
  border-radius: 4px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 0.92rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover,
.text-link:hover,
.back-link:hover {
  color: var(--paper);
}

.nav-replay {
  min-height: 38px;
  border: 1px solid rgba(243, 238, 228, 0.22);
  border-radius: 4px;
  padding: 0 14px;
  color: var(--paper);
  background: rgba(243, 238, 228, 0.05);
  cursor: pointer;
}

.hero {
  width: 100%;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px max(20px, calc((100vw - var(--max)) / 2)) 70px;
  --pointer-x: 62%;
  --pointer-y: 42%;
}

.three-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(99, 21, 15, 0.36), transparent 26rem),
    linear-gradient(180deg, #070605, #0d0b0a 62%, #060605);
}

.three-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(241, 176, 103, 0.16), transparent 22rem),
    linear-gradient(115deg, transparent 0 44%, rgba(198, 55, 36, 0.12) 48%, transparent 56%);
  mix-blend-mode: screen;
  opacity: 0.8;
  animation: stageBreath 7s ease-in-out infinite alternate;
}

.three-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(201, 165, 112, 0.055) 72px 73px),
    linear-gradient(180deg, transparent 0 48%, rgba(198, 55, 36, 0.12) 49%, transparent 52%);
  opacity: 0.38;
  animation: scanDrift 10s linear infinite;
}

.three-stage canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.home-page[hidden],
.detail-page[hidden],
.site-nav[hidden] {
  display: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.36) 46%, rgba(5, 5, 5, 0.78)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.94));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  justify-self: start;
}

.hero h1 {
  margin: 0;
  font-family: "SimSun", "STSong", "Songti SC", serif;
  font-size: 6.2rem;
  font-weight: 500;
  line-height: 1;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.hero-metrics {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 42px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 1px;
  border: 1px solid rgba(201, 165, 112, 0.18);
  background: rgba(201, 165, 112, 0.16);
}

.hero-metrics span {
  display: grid;
  gap: 4px;
  min-height: 82px;
  align-content: center;
  padding: 14px 16px;
  background: rgba(6, 5, 5, 0.72);
  color: var(--dim);
  font-size: 0.82rem;
}

.hero-metrics strong {
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 46px;
  align-items: start;
}

.story-lead {
  border-left: 2px solid var(--red);
  padding-left: 24px;
  color: rgba(243, 238, 228, 0.84);
  font-size: 1.08rem;
  line-height: 1.78;
}

.story-lead p {
  margin: 0 0 22px;
}

.story-emphasis {
  display: inline-block;
  color: #f1b067;
  font-size: 1.28em;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 26px rgba(198, 55, 36, 0.42);
}

.timeline {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(201, 165, 112, 0.18);
  background: rgba(201, 165, 112, 0.16);
}

.timeline div {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(243, 238, 228, 0.055), rgba(243, 238, 228, 0.018));
  transition:
    background 260ms ease,
    transform 260ms ease;
}

.timeline div::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 48%, rgba(241, 176, 103, 0.13) 50%, transparent 56%);
  opacity: 0;
  transform: translateX(-22%);
  transition:
    opacity 260ms ease,
    transform 520ms ease;
}

.timeline div:hover {
  transform: translateX(4px);
  background: linear-gradient(135deg, rgba(243, 238, 228, 0.085), rgba(243, 238, 228, 0.026));
}

.timeline div:hover::after {
  opacity: 1;
  transform: translateX(28%);
}

.timeline span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.timeline p {
  margin: 0;
  color: var(--dim);
}

.marquee-shell {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  padding: 18px 0 26px;
}

.marquee-shell::before,
.marquee-shell::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: min(13vw, 160px);
  content: "";
  pointer-events: none;
}

.marquee-shell::before {
  left: 0;
  background: linear-gradient(90deg, var(--black), rgba(5, 5, 5, 0));
}

.marquee-shell::after {
  right: 0;
  background: linear-gradient(270deg, var(--black), rgba(5, 5, 5, 0));
}

.marquee-shell {
  cursor: grab;
  touch-action: pan-y;
}

.marquee-shell.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.marquee-row {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding: 9px max(18px, calc((100vw - var(--max)) / 2));
}

.marquee-row + .marquee-row {
  margin-top: 2px;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  min-width: 100%;
  padding: 8px 0;
  will-change: transform;
}

.marquee-row.reverse .marquee-track {
  margin-left: 34px;
}

.image-tile {
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  aspect-ratio: 0.78;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 165, 112, 0.22);
  border-radius: 8px;
  background: #100e0d;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
  appearance: none;
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.image-tile::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(120deg, transparent 20%, rgba(255, 231, 190, 0.16), transparent 45%),
    radial-gradient(circle at 70% 18%, rgba(198, 55, 36, 0.28), transparent 32%);
  transform: translateX(-18%);
  transition:
    opacity 360ms ease,
    transform 560ms ease;
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.02);
  transition:
    transform 520ms ease,
    filter 520ms ease;
}

.image-tile:focus-visible {
  outline: 2px solid rgba(241, 176, 103, 0.74);
  outline-offset: 4px;
}

.image-tile:hover {
  border-color: rgba(241, 176, 103, 0.54);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
  transform: translateY(-4px);
}

.image-tile:hover::before,
.image-tile:focus-visible::before {
  opacity: 1;
  transform: translateX(18%);
}

.image-tile:hover img {
  filter: saturate(1.04) contrast(1.08) brightness(1.05);
  transform: scale(1.06);
}

.image-tile-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 46px 14px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
  pointer-events: none;
}

.image-tile strong,
.image-tile-caption > span {
  display: block;
}

.image-tile strong {
  color: var(--paper);
  font-size: 0.92rem;
}

.image-tile-caption > span {
  color: var(--dim);
  font-size: 0.76rem;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 38px);
  visibility: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(198, 55, 36, 0.24), transparent 22rem),
    radial-gradient(circle at 78% 78%, rgba(201, 165, 112, 0.18), transparent 26rem),
    rgba(2, 2, 2, 0.84);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition:
    opacity 240ms ease,
    visibility 240ms ease;
}

.image-lightbox[data-state="open"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.lightbox-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  width: min(1180px, 94vw);
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid rgba(201, 165, 112, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 14, 12, 0.96), rgba(6, 5, 5, 0.98)),
    #070606;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.62);
  transform: translateY(16px) scale(0.98);
  transition: transform 260ms ease;
}

.image-lightbox[data-state="open"] .lightbox-panel {
  transform: translateY(0) scale(1);
}

.lightbox-image-wrap {
  position: relative;
  display: grid;
  min-height: min(74vh, 760px);
  background:
    linear-gradient(90deg, rgba(201, 165, 112, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(201, 165, 112, 0.08) 1px, transparent 1px),
    #040303;
  background-size: 36px 36px;
  place-items: center;
}

.lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(22px, 3vw, 42px);
  border-left: 1px solid rgba(201, 165, 112, 0.18);
}

.lightbox-count {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.12rem;
}

.lightbox-copy h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
}

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

.lightbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.lightbox-tags span {
  border: 1px solid rgba(201, 165, 112, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(243, 238, 228, 0.72);
  font-size: 0.74rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 4;
  display: grid;
  border: 1px solid rgba(201, 165, 112, 0.32);
  background: rgba(7, 6, 5, 0.78);
  color: var(--paper);
  cursor: pointer;
  place-items: center;
  backdrop-filter: blur(12px);
  transition:
    border-color 200ms ease,
    background 200ms ease,
    transform 200ms ease;
}

.lightbox-close:hover {
  border-color: rgba(241, 176, 103, 0.72);
  background: rgba(49, 18, 13, 0.86);
  transform: translateY(-1px);
}

.lightbox-nav:hover {
  border-color: rgba(241, 176, 103, 0.72);
  background: rgba(49, 18, 13, 0.86);
  transform: translateY(-50%) translateY(-1px);
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 2px solid rgba(241, 176, 103, 0.72);
  outline-offset: 3px;
}

.lightbox-close {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 44px;
  height: 72px;
  border-radius: 999px;
  font-size: 2.6rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.featured-work {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 1px;
  margin-bottom: 18px;
  border: 1px solid rgba(201, 165, 112, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(201, 165, 112, 0.14);
}

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

.work-card {
  position: relative;
  border: 1px solid rgba(201, 165, 112, 0.19);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(243, 238, 228, 0.055), rgba(243, 238, 228, 0.018));
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.work-card::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 42%, rgba(241, 176, 103, 0.12) 49%, transparent 58%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-28%);
  transition:
    opacity 260ms ease,
    transform 620ms ease;
}

.work-card:hover {
  border-color: rgba(241, 176, 103, 0.42);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.work-card:hover::before {
  opacity: 1;
  transform: translateX(28%);
}

.work-image-link {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  background: #090807;
}

.work-card img {
  width: 100%;
  aspect-ratio: 1.93;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.work-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.work-copy {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.featured-work .work-copy {
  display: grid;
  align-content: center;
  padding: 36px;
  background: rgba(6, 5, 5, 0.56);
}

.work-meta {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
}

.work-card h3 {
  margin: 0;
  font-family: "SimSun", "STSong", "Songti SC", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
}

.work-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list span {
  border: 1px solid rgba(201, 165, 112, 0.26);
  border-radius: 4px;
  padding: 5px 9px;
  color: rgba(243, 238, 228, 0.76);
  font-size: 0.78rem;
  background: rgba(243, 238, 228, 0.035);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 42px;
  align-items: stretch;
  padding-bottom: 120px;
}

.contact-copy p:last-child {
  max-width: 660px;
  color: var(--muted);
}

.summary-copy {
  max-width: 720px;
  margin-top: 26px;
}

.contact-summary .summary-copy p {
  margin: 0 0 22px;
  color: rgba(243, 238, 228, 0.78);
  font-size: 1.08rem;
  line-height: 1.82;
}

.contact-summary .summary-copy strong {
  color: rgba(243, 238, 228, 0.95);
  font-weight: 800;
}

.summary-copy .summary-push {
  max-width: 760px;
  margin: 30px 0;
  color: var(--paper);
  font-family: "SimSun", "STSong", "Songti SC", serif;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  text-shadow: 0 0 34px rgba(198, 55, 36, 0.38);
}

.summary-final {
  display: inline-block;
  margin-top: 8px;
  color: #f1b067 !important;
  font-size: 1.14em;
  text-shadow: 0 0 24px rgba(185, 152, 99, 0.28);
}

.contact-panel {
  display: grid;
  align-content: center;
  min-height: 360px;
  border: 1px solid rgba(201, 165, 112, 0.26);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(198, 55, 36, 0.13), transparent 48%),
    rgba(243, 238, 228, 0.04);
  animation: contactGlow 6s ease-in-out infinite alternate;
}

.contact-panel span {
  color: var(--dim);
  font-size: 0.86rem;
}

.wechat-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 8px 0 10px;
}

.contact-panel strong {
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  word-break: break-all;
}

.copy-wechat {
  min-height: 40px;
  border: 1px solid rgba(201, 165, 112, 0.42);
  border-radius: 4px;
  padding: 0 14px;
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(243, 238, 228, 0.055);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.copy-wechat:hover {
  border-color: rgba(241, 176, 103, 0.76);
  background: rgba(198, 55, 36, 0.18);
  transform: translateY(-1px);
}

.copy-wechat.is-copied {
  color: #fff2d8;
  border-color: rgba(241, 176, 103, 0.78);
  background: rgba(198, 55, 36, 0.28);
  box-shadow: 0 0 28px rgba(198, 55, 36, 0.22);
}

.copy-status {
  min-height: 22px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.82rem;
  line-height: 1.55;
}

#wechatId::selection {
  color: #120b08;
  background: #f1b067;
}

.wechat-qr {
  display: grid;
  width: min(100%, 300px);
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(201, 165, 112, 0.42);
  border-radius: 6px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.wechat-qr img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.detail-page {
  min-height: 100svh;
  padding: 28px max(20px, calc((100vw - var(--max)) / 2)) 90px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 700;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
  min-height: 72svh;
}

.detail-copy h1 {
  margin: 0;
  font-family: "SimSun", "STSong", "Songti SC", serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.08;
}

.detail-copy p {
  color: var(--muted);
}

.load-note {
  border-left: 2px solid var(--red);
  padding-left: 12px;
  color: var(--gold) !important;
}

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

.detail-shot {
  overflow: hidden;
  border: 1px solid rgba(201, 165, 112, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

.detail-shot img {
  width: 100%;
  object-fit: cover;
}

.detail-body {
  max-width: 880px;
  margin-top: 56px;
}

.detail-body p {
  color: var(--muted);
}

.highlight-list {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  border: 1px solid rgba(201, 165, 112, 0.18);
  background: rgba(201, 165, 112, 0.14);
}

.highlight-list > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: rgba(6, 5, 5, 0.66);
}

.highlight-list > div > span {
  width: 20px;
  height: 2px;
  margin-top: 13px;
  background: var(--red);
}

.highlight-list strong {
  display: block;
  margin-bottom: 7px;
  color: var(--paper);
  font-size: 1.05rem;
}

.highlight-list p {
  margin: 0;
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 46px 46px, 46px 46px;
  }
}

@keyframes ambientBreath {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.22;
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.08);
    opacity: 0.4;
  }
}

@keyframes stageBreath {
  from {
    opacity: 0.42;
    transform: scale(1);
  }
  to {
    opacity: 0.88;
    transform: scale(1.04);
  }
}

@keyframes scanDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 140px 0, 0 60px;
  }
}

@keyframes contactGlow {
  from {
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
  }
  to {
    box-shadow: 0 26px 90px rgba(99, 21, 15, 0.22);
  }
}

@keyframes introCamera {
  0% {
    transform: scale(1.32) translate3d(4%, 1%, 0) rotate(0.4deg);
    filter: contrast(1.25) brightness(0.5);
  }
  18% {
    transform: scale(1.14) translate3d(-2%, -1%, 0) rotate(-0.3deg);
    filter: contrast(1.45) brightness(1.05);
  }
  43% {
    transform: scale(1.28) translate3d(2%, 0, 0) rotate(0.3deg);
    filter: contrast(1.55) brightness(0.7);
  }
  74% {
    transform: scale(1.06) translate3d(0, 0, 0) rotate(0deg);
    filter: contrast(1.2) brightness(0.9);
  }
  100% {
    transform: scale(1.04);
    filter: contrast(1.1) brightness(0.2);
  }
}

@keyframes introLight {
  0%,
  8%,
  22%,
  38%,
  64% {
    opacity: 0;
    transform: translateX(-12%);
  }
  12%,
  30%,
  48%,
  70% {
    opacity: 0.92;
    transform: translateX(12%);
  }
  100% {
    opacity: 0;
  }
}

@keyframes introDepth {
  0% {
    opacity: 0.86;
    transform: scale(1.18);
  }
  42% {
    opacity: 0.42;
    transform: scale(0.98);
  }
  78% {
    opacity: 0.68;
    transform: scale(1.04);
  }
  100% {
    opacity: 0.94;
    transform: scale(1.18);
  }
}

@keyframes introOrbitA {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotateX(62deg) rotateZ(-34deg) scale(0.32);
  }
  18%,
  64% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotateX(62deg) rotateZ(82deg) scale(1.12);
  }
}

@keyframes introOrbitB {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(24deg) scale(0.28);
  }
  24%,
  70% {
    opacity: 0.52;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(-92deg) scale(1.26);
  }
}

@keyframes introScan {
  0%,
  9% {
    opacity: 0;
    transform: translateX(-44%) rotate(-7deg);
  }
  18%,
  44%,
  78% {
    opacity: 0.88;
  }
  26%,
  54%,
  88% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translateX(42%) rotate(-7deg);
  }
}

@keyframes shutterCut {
  0% {
    transform: translateX(-110%) skewY(-6deg);
  }
  18%,
  32% {
    transform: translateX(8%) skewY(-6deg);
  }
  56% {
    transform: translateX(110%) skewY(-6deg);
  }
  100% {
    transform: translateX(110%) skewY(-6deg);
  }
}

@keyframes redKnife {
  0%,
  8% {
    opacity: 0;
    transform: rotate(18deg) translateX(-36vw);
  }
  18%,
  72% {
    opacity: 1;
  }
  80% {
    opacity: 0.7;
    transform: rotate(18deg) translateX(26vw);
  }
  100% {
    opacity: 0;
    transform: rotate(18deg) translateX(42vw);
  }
}

@keyframes flashBurst {
  0%,
  16%,
  17%,
  44%,
  45%,
  82% {
    opacity: 0;
  }
  15%,
  43%,
  81% {
    opacity: 0.72;
  }
}

@keyframes introExit {
  0%,
  90% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes noiseMove {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(4%, -3%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 900px) {
  .section {
    width: min(100% - 28px, var(--max));
    padding: 72px 0;
  }

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

  .nav-links {
    justify-content: end;
    gap: 12px;
    font-size: 0.86rem;
  }

  .nav-replay {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 92svh;
    align-items: end;
    padding-top: 110px;
  }

  .hero h1 {
    font-size: 4.4rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-metrics {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 42px;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-metrics span {
    min-height: 76px;
    padding: 12px;
  }

  .section-heading h2,
  .contact h2,
  .detail-body h2 {
    font-size: 2rem;
  }

  .story-grid,
  .featured-work,
  .contact,
  .detail-hero {
    grid-template-columns: 1fr;
  }

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

  .featured-work .work-copy {
    padding: 24px;
  }

  .detail-copy h1 {
    font-size: 3rem;
  }

  .lightbox-panel {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .lightbox-image-wrap {
    min-height: min(62vh, 620px);
  }

  .lightbox-copy {
    border-top: 1px solid rgba(201, 165, 112, 0.18);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 24px, var(--max));
    padding: 60px 0;
  }

  .site-nav {
    padding: 12px;
    gap: 10px;
  }

  .nav-mark {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    gap: 8px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 96px 14px 44px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-actions,
  .detail-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .story-lead {
    padding-left: 16px;
  }

  .marquee-shell {
    padding-top: 10px;
  }

  .marquee-shell::before,
  .marquee-shell::after {
    width: 42px;
  }

  .marquee-row {
    padding: 6px 16px;
  }

  .marquee-track {
    gap: 12px;
  }

  .marquee-row.reverse .marquee-track {
    margin-left: 22px;
  }

  .image-tile {
    width: min(70vw, 214px);
  }

  .work-card h3 {
    font-size: 1.66rem;
  }

  .contact-panel {
    min-height: 320px;
  }

  .wechat-copy-row {
    grid-template-columns: 1fr;
  }

  .copy-wechat {
    width: 100%;
  }

  .detail-page {
    padding: 22px 14px 70px;
  }

  .lightbox-panel {
    width: 96vw;
    max-height: 92vh;
  }

  .lightbox-image-wrap {
    min-height: min(58vh, 520px);
  }

  .lightbox-copy {
    padding: 18px;
  }

  .lightbox-copy h3 {
    font-size: 1.86rem;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .lightbox-nav {
    width: 38px;
    height: 58px;
    font-size: 2rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

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

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