/* ============================================================
   exhibition/landing.css
   River landing — v2 (Mindloop-rhythm × River brand)

   Imports colors_and_type.css for tokens; everything here is
   layout, surface treatment, and motion specific to the page.
   ============================================================ */

* { box-sizing: border-box; }
:root {
  /* Page gutter scales with viewport so backgrounds are full-bleed
     while content stays capped to 1440px centered. */
  --page-max: 1440px;
  --page-gutter: max(36px, calc((100vw - var(--page-max)) / 2));
}
html, body {
  margin: 0; padding: 0;
  background: var(--color-silt); /* #06080d */
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
img, svg { display: block; max-width: 100%; }

/* ---------- Serif accent (Chinese + Latin) ----------
   The "Instrument Serif" equivalent in the Mindloop spec.
   We don't import a webfont — we use the OS-level Chinese serif
   so the page stays compliant with River's no-custom-webfont
   rule. Italic on Chinese skews subtly via transform.            */
.serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
}
.serif-en {
  font-family: 'Iowan Old Style', 'Apple Garamond', Georgia,
               'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
}

/* ---------- Liquid Glass ----------
   River's take on the Mindloop pattern. Pure-white tints replaced
   with a 1% shimmer wash; the gradient border picks up amber on
   the bottom half so glass surfaces have a faint warm undertone
   that signals "human action" without ever shouting.             */
.liquid {
  position: relative;
  background: rgba(184, 255, 242, 0.012);
  background-blend-mode: luminosity;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: none;
  box-shadow:
    inset 0 1px 1px rgba(184, 255, 242, 0.08),
    0 0 28px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.liquid::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg,
    rgba(184, 255, 242, 0.45) 0%,
    rgba(184, 255, 242, 0.12) 22%,
    rgba(184, 255, 242, 0)    44%,
    rgba(212, 173, 122, 0)    56%,
    rgba(212, 173, 122, 0.12) 78%,
    rgba(212, 173, 122, 0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Reveal — fade-up on enter ----------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.4s var(--ease-tide), transform 1.4s var(--ease-tide);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ---------- Section spacing ----------
   Top-level sections are full-bleed (so background art reaches the
   viewport edges) but inner content stays capped at --page-max via
   the gutter padding. */
.section {
  position: relative;
  padding: 100px var(--page-gutter);
}
.section-divide {
  border-top: 1px solid rgba(184,255,242,0.06);
}
.section .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.section .label.amber { color: var(--color-amber-pale); }

/* ============ NAV ============ */
nav.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--fg-muted);
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(6,8,13,0.85), rgba(6,8,13,0));
  pointer-events: none;
}
nav.bar > * { pointer-events: auto; }
nav.bar .brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--fg);
  letter-spacing: 0.18em;
}
nav.bar .brand object { width: 26px; height: 26px; opacity: 0.9; }
nav.bar .brand .name {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.22em;
}
nav.bar .links {
  display: flex; gap: 18px; align-items: center;
  margin-left: 32px;
}
nav.bar .links a {
  color: var(--fg-muted); text-decoration: none;
  transition: color 0.5s var(--ease-tide);
}
nav.bar .links a:hover { color: var(--fg); }
nav.bar .links .sep { opacity: 0.45; }
nav.bar .pill {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--color-amber-pale);
  border-radius: 999px;
}
nav.bar .pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-amber-pale);
  box-shadow: 0 0 14px rgba(212,173,122,0.55);
  animation: dot-pulse 3.6s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.25); }
}
@media (max-width: 900px) {
  nav.bar { padding: 14px 18px; gap: 14px; }
  nav.bar .links { display: none; }
  nav.bar .pill { font-size: 9px; padding: 6px 10px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 100px var(--page-gutter) 0;
  overflow: hidden;
}
.hero .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #06080d;
}
/* Real cartographic base layer — also the static fallback when WebGL/reduced-motion. */
.hero .bg .map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  /* Map is dimmed more aggressively so hero text reads cleanly over
     the bright cyan river pixels. */
  filter: saturate(0.78) brightness(0.62);
  opacity: 1;
  z-index: 0;
  user-select: none;
  -webkit-user-drag: none;
}
/* WebGL canvas paints over the map; only water pixels are animated.
   Sits ABOVE the static <img>, identical box. */
.hero .bg .water-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
  /* canvas starts transparent — script will fade it in once map texture is ready */
  opacity: 0;
  transition: opacity 1.2s var(--ease-tide);
}
.hero .bg .water-canvas.ready { opacity: 1; }

/* Beacons — anchored to map coordinates, scaled with container. */
.hero .bg .beacons {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero .bg .beacon {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}
.hero .bg .beacon .core {
  position: absolute;
  left: 0; top: 0;
  width: 8px; height: 8px;
  margin-left: -4px; margin-top: -4px;
  border-radius: 50%;
  background: #eefffd;
  box-shadow:
    0 0 12px rgba(184,255,242,0.85),
    0 0 36px rgba(79,209,197,0.45);
  animation: beacon-breathe 4.2s ease-in-out infinite;
}
.hero .bg .beacon .pulse {
  position: absolute;
  left: 0; top: 0;
  width: 16px; height: 16px;
  margin-left: -8px; margin-top: -8px;
  border-radius: 50%;
  border: 1px solid rgba(79,209,197,0.55);
  animation: beacon-pulse 5s ease-out infinite;
}
.hero .bg .beacon .pulse.delay { animation-delay: 2.5s; }
.hero .bg .beacon.small .core {
  width: 5px; height: 5px;
  margin-left: -2.5px; margin-top: -2.5px;
  box-shadow:
    0 0 8px rgba(184,255,242,0.6),
    0 0 22px rgba(79,209,197,0.32);
}
.hero .bg .beacon.small .pulse {
  width: 10px; height: 10px;
  margin-left: -5px; margin-top: -5px;
  border-color: rgba(118,201,200,0.4);
}
@keyframes beacon-breathe {
  0%, 100% { transform: scale(1);   opacity: 0.95; }
  50%      { transform: scale(1.25); opacity: 1; }
}
@keyframes beacon-pulse {
  0%   { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(4.6); opacity: 0; }
}

.hero .bg .vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse at 50% 40%,
      rgba(6,8,13,0) 0%,
      rgba(6,8,13,0.05) 50%,
      rgba(6,8,13,0.45) 100%),
    linear-gradient(180deg,
      rgba(6,8,13,0.25) 0%,
      rgba(6,8,13,0) 22%,
      rgba(6,8,13,0) 60%,
      rgba(6,8,13,0.85) 92%,
      rgba(6,8,13,1) 100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero .bg .beacon .core,
  .hero .bg .beacon .pulse { animation: none; }
}

.hero .stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 110px 0 90px;
  gap: 26px;
}
/* Soft radial wash behind hero copy so text doesn't fight the map */
.hero .stage::before {
  content: '';
  position: absolute;
  inset: -40px -10% 0;
  z-index: -1;
  background: radial-gradient(
    ellipse 60% 55% at 50% 50%,
    rgba(6, 8, 13, 0.72) 0%,
    rgba(6, 8, 13, 0.45) 45%,
    rgba(6, 8, 13, 0) 80%
  );
  pointer-events: none;
}
.hero .presence {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.hero .presence .orbs {
  display: flex; align-items: center;
}
.hero .presence .orbs .orb {
  width: 18px; height: 18px;
  border-radius: 50%;
  margin-right: -6px;
  border: 1.5px solid var(--color-silt);
}
.hero .presence .orbs .orb:nth-child(1) { background: #d9fff7; box-shadow: 0 0 10px rgba(184,255,242,0.6); }
.hero .presence .orbs .orb:nth-child(2) { background: #76c9c8; }
.hero .presence .orbs .orb:nth-child(3) { background: #d4ad7a; }

.hero h1 {
  font-size: clamp(64px, 13vw, 184px);
  font-weight: 300;
  letter-spacing: 0.10em;
  line-height: 1;
  color: var(--fg);
  margin: 0;
  text-shadow: 0 4px 60px rgba(0,0,0,0.6);
  white-space: nowrap;
}
.hero h1 liquid-wordmark {
  display: block;
  width: min(88vw, 1000px);
  margin: 0 auto;
  filter: drop-shadow(0 6px 50px rgba(0,0,0,0.5));
}
/* Hero is always above the fold — show it instantly rather than depend
   on the intersection/transition timing (which the heavy hero canvas
   can wedge at opacity 0). */
.hero .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.hero h1 .glyph {
  display: inline-block;
  color: var(--fg);
  /* very subtle drift so neutral glyphs read as anchored, not static */
  animation: glyph-breathe 9s ease-in-out infinite;
}
.hero h1 .sep {
  display: inline-block;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-weight: 200;
  letter-spacing: 0;
  padding: 0 0.18em;
  transform: translateY(-0.18em);
  font-size: 0.55em;
  opacity: 0.7;
}
.hero h1 .serif {
  letter-spacing: 0.06em;
  color: rgba(184,255,242,0.95);
  display: inline-block;
  transform: skewX(-6deg);
  padding-right: 0.06em;
}
/* The two animated glyphs (流 / 溯) — they share .flow which gives them
   a stronger glow + subtle vertical drift; .shiny carries the metallic
   shimmer (cool palette); .downstream / .upstream sets the shimmer
   direction so the two characters read as a yin-yang pair of currents. */
.hero h1 .flow {
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 0 28px rgba(79, 209, 197, 0.32))
          drop-shadow(0 0 64px rgba(79, 209, 197, 0.16));
  animation: flow-drift 6s ease-in-out infinite;
  z-index: 2;
}
.hero h1 .flow.downstream { animation-name: flow-drift-down; }
.hero h1 .flow.upstream   { animation-name: flow-drift-up; }
.hero h1 .flow.shiny.downstream { animation: shiny 6s linear infinite, flow-drift-down 7s ease-in-out infinite; }
.hero h1 .flow.shiny.upstream   { animation: shiny 6s linear infinite reverse, flow-drift-up   7s ease-in-out infinite; }

/* Subtle vertical drift — 流 falls (downstream), 溯 rises (upstream).
   Coupled with the opposite-direction shimmer, the pair reads as a
   river breathing in both directions at once. */
@keyframes flow-drift-down {
  0%, 100% { transform: skewX(-6deg) translateY(-0.02em); }
  50%      { transform: skewX(-6deg) translateY( 0.05em); }
}
@keyframes flow-drift-up {
  0%, 100% { transform: skewX(-6deg) translateY( 0.02em); }
  50%      { transform: skewX(-6deg) translateY(-0.05em); }
}
@keyframes glyph-breathe {
  0%, 100% { opacity: 0.92; }
  50%      { opacity: 1.00; }
}
.hero .en {
  font-family: var(--font-body);
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.36em;
  color: var(--fg-muted);
  text-transform: lowercase;
  margin: 0;
}
.hero .lede {
  max-width: 560px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  margin: 16px 0 0;
}
.hero .lede-en {
  max-width: 560px;
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  margin: 4px 0 0;
}

/* Hero CTA — Liquid glass pill, the only CTA on the page */
.hero .cta {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 8px 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--color-shimmer-bright);
  cursor: pointer;
  transition: transform 0.5s var(--ease-tide);
  /* Pill needs to read as a solid surface against the busy map underneath,
     so we override .liquid's near-transparent wash with an actual dark fill
     plus a stronger backdrop blur. */
  background: rgba(6, 8, 13, 0.58);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.hero .cta:hover { transform: translateY(-2px); }
.hero .cta .arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-shimmer-bright);
  color: var(--color-silt);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0;
  transition: transform 0.5s var(--ease-tide);
}
.hero .cta:hover .arrow { transform: translateX(4px); }
.hero .cta .small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

/* Hero bottom meta strip */
.hero .meta-strip {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 0 4px 36px;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.hero .meta-strip .col { display: grid; gap: 6px; }
.hero .meta-strip .v {
  color: var(--fg-dim);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: none;
}
.hero .meta-strip .v-zh { font-family: var(--font-body); }
.hero .meta-strip .scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--fg-muted);
}
.hero .meta-strip .scroll-hint .track {
  position: relative;
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--color-shimmer-pale), transparent);
  overflow: hidden;
}
.hero .meta-strip .scroll-hint .dot {
  position: absolute;
  left: 50%; top: 0;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--color-shimmer-pale);
  animation: scroll-down 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes scroll-down {
  0%       { transform: translateY(-10px); opacity: 0; }
  25%      { opacity: 1; }
  75%      { opacity: 1; }
  100%     { transform: translateY(34px);  opacity: 0; }
}

/* ============ SOUNDS SECTION ============ */
.sounds h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.18;
  color: var(--fg);
  margin: 0 0 18px;
  max-width: 880px;
}
.sounds h2 .serif {
  color: rgba(212, 173, 122, 0.95);
  letter-spacing: 0.04em;
  display: inline-block;
  transform: skewX(-6deg);
  padding-right: 0.1em;
}
.sounds .sub {
  max-width: 580px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  margin: 0 0 80px;
}
.sounds .sub-en {
  max-width: 580px;
  font-size: 12.5px;
  line-height: 1.85;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  margin-top: 8px;
}
.sounds .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sounds .card {
  padding: 36px 30px 32px;
  display: grid;
  gap: 18px;
  align-content: start;
  border-radius: 4px;
  min-height: 320px;
}
.sounds .card .icon {
  width: 84px; height: 84px;
  margin-bottom: 8px;
}
.sounds .card .icon svg { width: 100%; height: 100%; }
.sounds .card h3 {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--fg);
  margin: 0;
}
.sounds .card h3 .serif {
  color: var(--color-shimmer-pale);
  font-size: 0.95em;
  display: inline-block;
  transform: skewX(-6deg);
  padding-right: 0.1em;
}
.sounds .card p {
  font-size: 14.5px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  margin: 0;
}
.sounds .card .p-en {
  font-size: 11.5px;
  line-height: 1.75;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-top: 8px;
}
.sounds .closer {
  margin-top: 60px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--fg-dim);
  font-style: normal;
}
.sounds .closer .serif {
  color: var(--color-amber-pale);
  font-size: 1.08em;
  margin: 0 0.2em;
}

/* ============ MISSION (scroll word reveal) ============ */
.mission {
  padding: 160px var(--page-gutter) 200px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 720px);
  gap: 80px;
  align-items: start;
}
.mission .visual {
  position: sticky;
  top: 16vh;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 480px;
  border-radius: 100%;
  overflow: hidden;
  border: 1px solid rgba(184,255,242,0.08);
  background: var(--color-deep);
}
.mission .visual svg { width: 100%; height: 100%; }

.mission .copy { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 36px); font-weight: 300; line-height: 1.6; letter-spacing: 0.03em; }
.mission .copy p {
  /* Override the global p { font-size: var(--size-xl) } rule so the
     scroll-driven mission copy keeps its large display size. */
  font-size: inherit;
  margin: 0 0 1.6em;
  color: var(--fg-faint);
}
.mission .copy p:last-child { margin-bottom: 0; font-size: 0.55em; }
.mission .copy .word {
  opacity: 0.15;
  transition: opacity 0.35s linear;
  display: inline-block;
}
.mission .copy .word.bright { color: var(--fg); }
.mission .copy .word.amber { color: var(--color-amber-pale); }
.mission .copy .serif { letter-spacing: 0.02em; padding: 0 0.04em; }
.mission .copy .en {
  display: block;
  margin-top: 0.4em;
  font-size: 0.42em;
  letter-spacing: 0.12em;
  color: var(--fg-faint);
  font-family: var(--font-body);
  font-style: normal;
}

/* ============ ZONES ============ */
.zones-section h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--fg);
  margin: 0 0 18px;
}
.zones-section h2 .serif {
  color: var(--color-shimmer-pale);
  letter-spacing: 0.04em;
  display: inline-block;
  transform: skewX(-6deg);
  padding-right: 0.1em;
}
.zones-section .sub {
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  margin: 0 0 60px;
  max-width: 620px;
}
.zones-list {
  display: grid;
  gap: 1px;
  background: rgba(184,255,242,0.05);
  border-top: 1px solid rgba(184,255,242,0.05);
  border-bottom: 1px solid rgba(184,255,242,0.05);
}
.zones-list .zone {
  display: grid;
  grid-template-columns: 80px 220px 1fr 120px 120px;
  align-items: center;
  gap: 24px;
  padding: 32px 8px;
  background: var(--color-silt);
  transition: background 0.6s var(--ease-tide);
}
.zones-list .zone:hover { background: rgba(15, 24, 30, 0.6); }
.zones-list .zone .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--fg-muted);
}
.zones-list .zone .name {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--fg);
}
.zones-list .zone .name .en {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-top: 7px;
}
.zones-list .zone .desc {
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.05em;
  color: var(--fg-dim);
}
.zones-list .zone .range {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  text-align: right;
}
.zones-list .zone .bar-wrap {
  position: relative;
  height: 1px;
  background: rgba(184,255,242,0.10);
}
.zones-list .zone .bar {
  position: absolute;
  top: -1px; bottom: -1px;
  height: 3px;
  border-radius: 1px;
  background: var(--bar);
  box-shadow: 0 0 16px var(--bar);
}

/* ============ CTA SECTION ============ */
.cta-section {
  position: relative;
  padding: 180px var(--page-gutter) 200px;
  text-align: center;
  overflow: hidden;
}
.cta-section .bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.45;
}
.cta-section .bg svg { width: 100%; height: 100%; object-fit: cover; }
.cta-section .bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(6,8,13,0) 0%, rgba(6,8,13,0.8) 65%, rgba(6,8,13,1) 100%);
}
.cta-section > * { position: relative; z-index: 2; }
.cta-section .mark {
  margin: 0 auto 28px;
  width: 70px; height: 70px;
  opacity: 0.85;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--fg);
  margin: 0;
  line-height: 1.08;
}
.cta-section h2 .serif {
  color: var(--color-shimmer-bright);
  letter-spacing: 0.04em;
  display: inline-block;
  transform: skewX(-6deg);
  padding-right: 0.1em;
}
.cta-section .en {
  font-size: 12px;
  letter-spacing: 0.30em;
  color: var(--fg-muted);
  text-transform: lowercase;
  margin-top: 18px;
}
.cta-section .row {
  margin-top: 50px;
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.cta-section .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--fg);
  color: var(--color-silt);
  font-size: 12px;
  letter-spacing: 0.26em;
  font-weight: 400;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.5s var(--ease-tide), background 0.5s var(--ease-tide);
}
.cta-section .btn-primary:hover { transform: translateY(-2px); background: var(--color-shimmer-bright); }
.cta-section .btn-primary .arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0;
}
.cta-section .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 26px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--fg-dim);
  cursor: pointer;
  transition: color 0.5s var(--ease-tide);
}
.cta-section .btn-ghost:hover { color: var(--fg); }

/* ============ FOOTER ============ */
footer.sig {
  padding: 28px var(--page-gutter) 36px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--fg-muted);
  text-transform: uppercase;
  border-top: 1px solid rgba(184,255,242,0.05);
}
footer.sig a { color: var(--fg-muted); text-decoration: none; }
footer.sig a:hover { color: var(--fg); }
footer.sig .center { text-align: center; }
footer.sig .right { text-align: right; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .section { padding: 80px 22px; }
  .hero { padding: 110px 22px 0; min-height: auto; }
  .hero .stage { padding: 50px 0 60px; gap: 22px; }
  .sounds .grid { grid-template-columns: 1fr; gap: 18px; }
  .mission { grid-template-columns: 1fr; gap: 40px; padding: 80px 22px 100px; }
  .mission .visual { position: relative; top: 0; max-width: 320px; margin: 0 auto; }
  .mission .copy { font-size: 22px; }
  .zones-list .zone {
    grid-template-columns: 50px 1fr 90px;
    gap: 14px;
    padding: 20px 6px;
  }
  .zones-list .zone .desc, .zones-list .zone .bar-wrap { display: none; }
  .zones-list .zone .name { font-size: 17px; }
  .cta-section { padding: 100px 22px 110px; }
  footer.sig { grid-template-columns: 1fr; text-align: left !important; gap: 14px; }
  footer.sig .center, footer.sig .right { text-align: left; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .mission .copy .word { opacity: 1 !important; }
  .shiny { animation: none !important; }
}

/* ============================================================
   AURA-TEXTURE LAYER (v3)
   Adds cinematic touches without violating River's brand rules:
   no Inter, no icons, no blue gradients — shimmer + amber only.
   ============================================================ */

/* ---------- Shiny animated gradient text (the "演替" treatment) ----
   The same idea as Aura's "Revitalized" but recolored to River's
   palette: deep void → teal-shimmer → bright peak → back. Layered
   on a serif italic Chinese character, it reads as engraved metal
   slowly catching the light.                                       */
@keyframes shiny {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.shiny {
  background-image: linear-gradient(
    to right,
    #091020   0%,
    #0b1822   12%,
    #4fd1c5   30%,
    #d9fff7   46%,
    #b8fff2   54%,
    #4fd1c5   70%,
    #0b1822   88%,
    #091020  100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shiny 7s linear infinite;
  /* Subtle inner shadow gives the metallic edge */
  filter: drop-shadow(0 0 24px rgba(79, 209, 197, 0.15));
}
.shiny.warm {
  background-image: linear-gradient(
    to right,
    #1c1208   0%,
    #2a1c10   12%,
    #b8915c   32%,
    #e6c79a   48%,
    #d4ad7a   62%,
    #b8915c   80%,
    #1c1208  100%);
  background-size: 200% auto;
  filter: drop-shadow(0 0 18px rgba(212, 173, 122, 0.18));
}

/* ---------- Vertical print-guide rails ----
   Two fixed hairlines that anchor the content at exactly 72rem
   width, in the spirit of the Aura page guides and any decent
   architectural plan. Hidden under 1024px.                         */
.guide {
  display: none;
}
@media (min-width: 1024px) {
  .guide {
    display: block;
    position: fixed;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(184,255,242,0.10) 12%,
      rgba(184,255,242,0.10) 88%,
      transparent 100%);
    z-index: 5;
    pointer-events: none;
  }
  .guide.l { left: calc(50% - 36rem); }
  .guide.r { left: calc(50% + 36rem); }
}

/* ---------- Watermark backdrop ----
   Giant ghost-text "声影演替" sitting behind a section, picking up
   light from the shimmer gradient. Used in the final CTA.          */
.watermark-wrap { position: relative; overflow: hidden; }
.watermark-text {
  position: absolute;
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  font-size: clamp(140px, 22vw, 340px);
  font-weight: 200;
  letter-spacing: 0.06em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  font-family: 'Songti SC', 'STSong', 'Source Han Serif SC',
               'Noto Serif SC', serif;
  background: linear-gradient(180deg,
    rgba(184,255,242,0.08)  0%,
    rgba(184,255,242,0.18) 28%,
    rgba(212,173,122,0.10) 64%,
    rgba(184,255,242,0)   100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Section eyebrow polish (Aura's pattern) ----
   Small dot + label + optional outlined tag pill. Replaces the
   previous .label class — backwards compatible. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}
.eyebrow .tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(184,255,242,0.14);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  background: rgba(184,255,242,0.02);
  margin-left: 4px;
}
.eyebrow.amber .dot {
  background: var(--color-amber-pale);
  box-shadow: 0 0 10px rgba(212,173,122,0.5);
}

/* ============================================================
   "看见场域" — macOS window mockup section
   ============================================================ */
.preview-section {
  padding: 140px var(--page-gutter) 160px;
  position: relative;
}
.preview-section h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--fg);
  margin: 0 0 18px;
  line-height: 1.15;
}
.preview-section h2 .serif {
  letter-spacing: 0.04em;
  display: inline-block;
  transform: skewX(-6deg);
  padding-right: 0.1em;
}
.preview-section .sub {
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  max-width: 580px;
  margin: 0 0 70px;
}

/* Window stage — perspective container holding 3 mac windows */
.window-stage {
  position: relative;
  height: clamp(440px, 56vw, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  transform-style: preserve-3d;
}

.mac-window {
  position: absolute;
  width: clamp(280px, 38vw, 560px);
  aspect-ratio: 9 / 16;
  background: var(--color-silt);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 80px rgba(0,0,0,0.55),
    0 4px 24px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  transform-origin: center;
  transition: transform 0.8s var(--ease-tide);
}
.mac-window .titlebar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(8,10,14,0.85);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.mac-window .lights {
  display: flex; gap: 7px;
  flex-shrink: 0;
}
.mac-window .lights span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.06);
}
.mac-window .lights span:nth-child(1) { background: rgba(255, 95, 87, 0.85);  }
.mac-window .lights span:nth-child(2) { background: rgba(255, 188, 46, 0.85); }
.mac-window .lights span:nth-child(3) { background: rgba( 40, 200, 64, 0.85); }
.mac-window .title { flex: 1; text-align: center; opacity: 0.85; }
.mac-window .body {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--color-silt);
}

/* Pseudo screens inside the windows */
.screen-entry, .screen-record, .screen-immerse {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  font-family: var(--font-body);
}
.screen-entry::before, .screen-record::before, .screen-immerse::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(26,35,50,0.32) 0%, transparent 70%);
}
.screen-entry .prompt {
  position: relative;
  color: rgba(229, 255, 247, 0.85);
  font-size: 14px;
  letter-spacing: 0.24em;
  font-weight: 300;
  animation: text-breathe 5s ease-in-out infinite;
}
.screen-entry .watermark-mini {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.18);
}

.screen-record .ring {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 2px solid rgba(79,209,197,0.6);
  background: radial-gradient(circle, rgba(79,209,197,0.08) 0%, transparent 70%);
}
.screen-record .ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(79,209,197,0.4);
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(45deg);
}
.screen-record .label {
  position: relative;
  color: rgba(184,255,242,0.92);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.screen-immerse {
  background: var(--color-silt);
}
.screen-immerse svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen-immerse .listener {
  position: absolute;
  left: 38%; top: 56%;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  z-index: 2;
}
.screen-immerse .listener::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 4px; height: 4px;
  background: #d9fff7;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.screen-immerse .hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(229, 255, 247, 0.85);
  font-size: 11px;
  letter-spacing: 0.22em;
  z-index: 2;
  white-space: nowrap;
  animation: text-breathe 5s ease-in-out infinite;
}

/* A gentler version of river-breathe for label text — keeps text
   legible at the bottom of the cycle instead of fading to 0.3. */
@keyframes text-breathe {
  0%, 100% { opacity: 0.70; }
  50%      { opacity: 1.00; }
}

/* Window arrangement — three stacked, the center one largest in front */
.mac-window.w-left {
  left: 6%;
  top: 14%;
  transform: rotateY(18deg) rotateX(2deg) translateZ(-120px) scale(0.92);
  opacity: 0.84;
}
.mac-window.w-right {
  right: 6%;
  top: 14%;
  transform: rotateY(-18deg) rotateX(2deg) translateZ(-120px) scale(0.92);
  opacity: 0.84;
}
.mac-window.w-center {
  z-index: 2;
  transform: translateZ(0) scale(1.04);
}
.window-stage:hover .mac-window.w-left  { transform: rotateY(14deg)  rotateX(1deg) translateZ(-80px) scale(0.96); }
.window-stage:hover .mac-window.w-right { transform: rotateY(-14deg) rotateX(1deg) translateZ(-80px) scale(0.96); }
.window-stage:hover .mac-window.w-center { transform: translateZ(40px) scale(1.06); }

@media (max-width: 960px) {
  .window-stage { height: auto; perspective: none; flex-direction: column; gap: 16px; padding: 20px 0; }
  .mac-window { position: relative; left: 0 !important; right: 0 !important; top: 0 !important; width: 92%; aspect-ratio: 4 / 5; opacity: 1 !important; transform: none !important; }
  .mac-window.w-left, .mac-window.w-right { display: none; }
}

/* ============================================================
   CINEMATIC LAYER (v3.1)
   Noise grain overlay, macOS menu strip, CTA spotlight glow.
   ============================================================ */

/* ---------- Noise grain overlay ----
   A fixed full-viewport SVG noise sits above everything except
   the cursor. Pointer-events: none. Multiply blend so it darkens
   without colour-shifting.                                     */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.36;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.40 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 280px 280px;
}
.noise-overlay.coarse {
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='480' height='480'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 480px 480px;
}

/* (macOS menustrip removed — primary nav lives in nav.bar) */

/* ---------- CTA spotlight wrapper ----
   Wraps the final CTA content in a liquid-glass rounded card with
   a single soft radial spotlight glowing from top-center.        */
.cta-section .cta-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 120px) clamp(28px, 5vw, 88px);
  border-radius: 28px;
  overflow: hidden;
  z-index: 3;
}
.cta-section .cta-card .spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px circle at 50% 0%,
      rgba(184, 255, 242, 0.18) 0%,
      rgba(184, 255, 242, 0.06) 24%,
      transparent 60%),
    radial-gradient(600px circle at 50% 100%,
      rgba(212, 173, 122, 0.10) 0%,
      transparent 70%);
}
