/* ═══════════════════════════════════════════
   Splash Cover — editorial landing before hero intro
   ═══════════════════════════════════════════ */

/* ─── outer fixed layer ─── */
.splash-cover {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: #1C1A17;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
}

/* ─── Layer 1: full-screen space background ─── */
.splash-cover .scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.splash-cover .scene-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.62) contrast(0.88) brightness(0.72);
  transform: scale(1.04);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── cover shell (preserves original aspect-ratio layout) ─── */
.splash-cover .cover-shell {
  width: min(100vw, calc(100dvh * 1.3333333333));
  aspect-ratio: 1448 / 1086;
  position: relative;
  z-index: 1;
  background: transparent;
  overflow: hidden;
  container-type: inline-size;
  isolation: isolate;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* ─── splash nav ─── */
.splash-cover .splash-nav {
  position: absolute;
  z-index: 20;
  top: 4.55%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5.2cqw;
  font-family: var(--font-sans);
  font-size: 0.86cqw;
  letter-spacing: 0.22em;
  color: var(--text-muted, #8A847B);
  white-space: nowrap;
}

.splash-cover .splash-nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 0.84cqw;
  line-height: 1;
  text-decoration: none;
  color: var(--text-muted, #8A847B);
  cursor: pointer;
  transition: color .22s ease;
}

.splash-cover .splash-nav a:hover {
  color: var(--color-signal, #2D5F6E);
}

.splash-cover .splash-nav a.is-active {
  color: var(--text, #1A1816);
}

.splash-cover .splash-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--text, #1A1816);
}

/* ─── identity (name + tagline) ─── */
.splash-cover .identity {
  position: absolute;
  z-index: 1;
  left: 5.58%;
  top: 21.9%;
  width: 42%;
  pointer-events: none;
}

.splash-cover .name-cn {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", var(--font-serif);
  font-size: 13.7cqw;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.12em;
  white-space: nowrap;
  color: var(--text, #1A1816);
  font-synthesis-weight: none;
}

.splash-cover .name-en {
  margin: 2.95cqw 0 0 0.15cqw;
  font-family: var(--font-editorial, 'Cormorant Garamond', Georgia);
  font-size: 5.05cqw;
  font-style: italic;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: var(--text, #1A1816);
}

.splash-cover .descriptor {
  margin: 3.72cqw 0 0 0.25cqw;
  font-family: var(--font-editorial, 'Cormorant Garamond', Georgia);
  font-size: 1.72cqw;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.16em;
  color: var(--text, #1A1816);
  white-space: nowrap;
}

/* ─── location ─── */
.splash-cover .splash-location {
  position: absolute;
  z-index: 9;
  left: 5.65%;
  top: 68.62%;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.92cqw;
  letter-spacing: 0.28em;
  color: var(--text-muted, #8A847B);
  white-space: nowrap;
}

/* ─── round link ─── */
.splash-cover .round-link {
  position: absolute;
  z-index: 9;
  left: 5.55%;
  top: 72.95%;
  width: 9.9cqw;
  aspect-ratio: 1;
  border: 1px solid var(--text, #1A1816);
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.88cqw;
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.16em;
  background: transparent;
  color: var(--text, #1A1816);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 2px 3px 10px rgba(28,26,23,0.06);
  transition: color .28s ease, border-color .28s ease, transform .28s ease;
}

.splash-cover .round-link:hover {
  color: var(--color-signal, #2D5F6E);
  border-color: var(--color-signal, #2D5F6E);
  transform: translateY(-2px);
}

.splash-cover .round-link .arrow {
  display: block;
  margin-top: 0.55cqw;
  font-size: 1.6cqw;
  line-height: 1;
  letter-spacing: 0;
}

/* ─── hero photo ─── */
.splash-cover .hero-photo {
  position: absolute;
  z-index: 2;
  left: 31.82%;
  top: 11.52%;
  width: 36.9%;
  height: 63.7%;
  margin: 0;
  overflow: hidden;
  background: var(--bg-warm, #EDE9E1);
  box-shadow: 4px 6px 20px rgba(28,26,23,0.12), 0 2px 6px rgba(28,26,23,0.06);
}

.splash-cover .hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.72) contrast(1.05) brightness(0.91) grayscale(0.08);
  transform: translate3d(0, 0, 0) scale(1.045);
  transform-origin: center center;
}

/* ─── cards ─── */
.splash-cover .s-card {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.splash-cover .s-card-label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.78cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.25em;
  white-space: nowrap;
}

.splash-cover .s-card-rule {
  display: block;
  width: 86%;
  height: 1px;
  margin-top: 1.35cqw;
  background: currentColor;
  opacity: 0.46;
}

.splash-cover .s-card-title {
  margin: 2.25cqw 0 0;
  font-family: var(--font-editorial, 'Cormorant Garamond', Georgia);
  font-weight: 400;
  letter-spacing: -0.065em;
}

.splash-cover .s-card-action {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.84cqw;
  font-weight: 600;
  letter-spacing: 0.20em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

/* light card */
.splash-cover .light-card {
  left: 65.45%;
  top: 14.15%;
  width: 21.0%;
  height: 38.3%;
  padding: 3.5cqw 3.1cqw 3.2cqw;
  background: var(--bg-warm, #EDE9E1);
  color: var(--text, #1A1816);
  transform-origin: center center;
  box-shadow: 3px 4px 14px rgba(28,26,23,0.08), 0 1px 4px rgba(28,26,23,0.04);
}

.splash-cover .light-card .s-card-label {
  color: var(--text-muted, #8A847B);
}

.splash-cover .light-card .s-card-title {
  font-size: 3.42cqw;
  line-height: 1.035;
}

/* dark card */
.splash-cover .dark-card {
  left: 68.1%;
  top: 52.28%;
  width: 23.7%;
  height: 31.1%;
  padding: 0;
  background: transparent;
  color: var(--bg, #F5F2EC);
  overflow: visible;
  transform-origin: center center;
}

.splash-cover .dark-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg-dark, #131211);
  box-shadow: 4px 6px 18px rgba(28,26,23,0.18), 0 2px 6px rgba(28,26,23,0.10);
}

.splash-cover .dark-card .s-card-label {
  position: absolute; z-index: 6;
  left: 3.5cqw; top: 3.75cqw;
  color: var(--color-signal-soft, #8EB0BA);
}

.splash-cover .dark-card .s-card-rule {
  position: absolute; z-index: 6;
  left: 3.5cqw; top: 5.85cqw;
  width: calc(100% - 7cqw);
  margin: 0;
  color: #D0CAC0;
}

.splash-cover .dark-card .s-card-action {
  position: absolute; z-index: 6;
  left: 3.5cqw; bottom: 3.45cqw;
  color: var(--bg, #F5F2EC);
}

.splash-cover .dark-card .focus-title {
  margin: 0;
  font-size: 3.08cqw;
  line-height: 1.13;
  letter-spacing: -0.07em;
}

.splash-cover .dark-card .focus-title-base,
.splash-cover .dark-card .focus-title-clip .focus-title {
  position: absolute;
  left: 3.5cqw; top: 8.35cqw;
  width: 28cqw;
  white-space: normal;
}

.splash-cover .dark-card .focus-title-base {
  z-index: 4;
  color: var(--text, #1A1816);
  pointer-events: none;
}

.splash-cover .dark-card .focus-title-clip {
  position: absolute; z-index: 5;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.splash-cover .dark-card .focus-title-clip .focus-title {
  color: var(--bg, #F5F2EC);
}

/* ─── belief ─── */
.splash-cover .belief {
  position: absolute;
  z-index: 6;
  left: 29.75%;
  top: 80.95%;
  display: grid;
  grid-template-columns: 8.4cqw 28cqw;
  column-gap: 2.1cqw;
  align-items: start;
  color: var(--text, #1A1816);
}

.splash-cover .belief::before {
  content: "";
  width: 100%;
  height: 1px;
  margin-top: 0.55cqw;
  background: var(--text, #1A1816);
  opacity: 0.42;
}

.splash-cover .belief p { margin: 0; }

.splash-cover .belief-label {
  font-family: var(--font-sans);
  font-size: 0.85cqw;
  font-weight: 700;
  letter-spacing: 0.20em;
  line-height: 1.08;
  white-space: nowrap;
}

.splash-cover .belief-copy {
  margin-top: 1.55cqw !important;
  font-family: var(--font-editorial, 'Cormorant Garamond', Georgia);
  font-size: 2.32cqw;
  font-style: italic;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

/* ─── scroll note ─── */
.splash-cover .scroll-note {
  position: absolute;
  z-index: 8;
  right: 5.85%;
  top: 14.08%;
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  font-family: var(--font-sans);
  font-size: 0.89cqw;
  letter-spacing: 0.28em;
  color: var(--text-muted, #8A847B);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}

.splash-cover .scroll-note::after {
  content: "";
  display: block;
  width: 1px;
  height: 3.9cqw;
  background: var(--text-muted, #8A847B);
  opacity: 0.65;
}

/* ─── white overprint mask ─── */
.splash-cover .identity-mask {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  clip-path: inset(11.52% 31.28% 24.78% 31.82%);
  -webkit-clip-path: inset(11.52% 31.28% 24.78% 31.82%);
}

.splash-cover .identity-copy {
  position: absolute;
  left: 5.58%;
  top: 21.9%;
  width: 42%;
  pointer-events: none;
}

.splash-cover .identity-mask .name-cn,
.splash-cover .identity-mask .name-en,
.splash-cover .identity-mask .descriptor {
  color: #F6F1EA;
  text-shadow: 0 1px 8px rgba(0,0,0,0.10), 0 0 24px rgba(0,0,0,0.06);
}

/* ─── parallax transitions ─── */
.splash-cover .identity,
.splash-cover .identity-copy,
.splash-cover .hero-photo img,
.splash-cover .light-card,
.splash-cover .dark-card,
.splash-cover .belief,
.splash-cover .splash-location,
.splash-cover .round-link,
.splash-cover .scroll-note {
  will-change: transform;
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  backface-visibility: hidden;
}

.splash-cover .cover-shell.is-parallaxing .identity,
.splash-cover .cover-shell.is-parallaxing .identity-copy,
.splash-cover .cover-shell.is-parallaxing .hero-photo img,
.splash-cover .cover-shell.is-parallaxing .light-card,
.splash-cover .cover-shell.is-parallaxing .dark-card,
.splash-cover .cover-shell.is-parallaxing .belief,
.splash-cover .cover-shell.is-parallaxing .splash-location,
.splash-cover .cover-shell.is-parallaxing .round-link,
.splash-cover .cover-shell.is-parallaxing .scroll-note {
  transition-duration: 120ms;
}

/* ─── exit animation ─── */
.splash-cover.exiting {
  pointer-events: none;
}

/* ─── responsive ─── */
/* ─── Foreground text: light overrides for dark scene-bg ───
   只覆盖直接暴露在背景图上的元素；
   light-card / dark-card 的颜色完全不动。
   ─────────────────────────────────────────────────────── */
.splash-cover .splash-nav,
.splash-cover .splash-nav a {
  color: rgba(244, 239, 230, 0.58);
}
.splash-cover .splash-nav a:hover {
  color: rgba(244, 239, 230, 0.95);
}
.splash-cover .splash-nav a.is-active {
  color: rgba(244, 239, 230, 0.95);
}
.splash-cover .splash-nav a.is-active::after {
  background: rgba(244, 239, 230, 0.95);
}

/* identity 基础层（非 mask 层）亮色 */
.splash-cover .identity .name-cn,
.splash-cover .identity .name-en,
.splash-cover .identity .descriptor {
  color: rgba(244, 239, 230, 0.90);
}

.splash-cover .splash-location {
  color: rgba(244, 239, 230, 0.52);
}

.splash-cover .round-link {
  color: rgba(244, 239, 230, 0.88);
  border-color: rgba(244, 239, 230, 0.48);
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.30);
}
.splash-cover .round-link:hover {
  color: var(--color-signal-soft, #8EB0BA);
  border-color: var(--color-signal-soft, #8EB0BA);
}

.splash-cover .belief {
  color: rgba(244, 239, 230, 0.88);
}
.splash-cover .belief::before {
  background: rgba(244, 239, 230, 0.38);
}

.splash-cover .scroll-note {
  color: rgba(244, 239, 230, 0.52);
}
.splash-cover .scroll-note::after {
  background: rgba(244, 239, 230, 0.52);
}

/* dark-card 大字超出卡片边界的部分：改为亮色以匹配深色背景 */
.splash-cover .dark-card .focus-title-base {
  color: rgba(244, 239, 230, 0.85);
}

@media (max-width: 760px) {
  .splash-cover {
    place-items: start center;
    padding-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-cover .scene-bg img {
    transition: none !important;
    transform: scale(1.02) !important;
    filter: saturate(0.62) contrast(0.88) brightness(0.72) !important;
  }
  .splash-cover .identity,
  .splash-cover .identity-copy,
  .splash-cover .hero-photo img,
  .splash-cover .light-card,
  .splash-cover .dark-card,
  .splash-cover .belief,
  .splash-cover .splash-location,
  .splash-cover .round-link,
  .splash-cover .scroll-note {
    transition: none !important;
    transform: none !important;
  }
  .splash-cover .hero-photo img {
    transform: scale(1.02) !important;
    filter: saturate(0.72) contrast(1.05) brightness(0.91) grayscale(0.08) !important;
  }
}
