:root {
  --night: #120608;
  --night-2: #1a0a0e;
  --surface: #220c12;
  --surface-2: #2c1018;
  --blush: #ff2d55;
  --blush-hot: #ff4f7b;
  --coral: #ff6a45;
  --rose: #ffd0d9;
  --ink: #fff2f5;
  --muted: #c9a0a8;
  --line: rgba(255, 80, 120, 0.22);
  --ok-focus: #ffd0d9;
  --radius-media: 20px;
  --radius-btn: 999px; /* atelier-ok: pill-buttons */
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Sora", system-ui, sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --wrap: min(1120px, calc(100% - clamp(1.5rem, 5vw, 2.5rem)));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --top-h: 4.5rem;
  --dock-h: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(255, 45, 85, 0.22), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(255, 106, 69, 0.12), transparent 50%),
    var(--night);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blush);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* —— Top bar —— */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: var(--top-h);
  padding:
    calc(0.65rem + env(safe-area-inset-top, 0px))
    max(0.75rem, env(safe-area-inset-right, 0px))
    0.65rem
    max(0.75rem, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--night) 78%, transparent);
  backdrop-filter: blur(14px); /* atelier-ok: sticky-nav-blur */
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.top.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--night) 92%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--blush);
  transform-origin: center;
  animation: heart-beat 2.4s var(--ease) infinite;
}

.brand.compact {
  font-size: 1.15rem;
}

.nav {
  display: none;
  gap: 1.35rem;
  margin-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-wrap {
  display: inline-flex;
  align-items: center;
}

.lang-wrap.mobile {
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  color: var(--rose);
  font-size: 0.9rem;
}

.lang-select {
  min-height: 40px;
  max-width: 9.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
}

.lang-wrap.mobile .lang-select {
  max-width: none;
}

html[dir="rtl"] .top-actions {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .nav {
  margin-left: 0;
  margin-right: 1.5rem;
}

html[dir="rtl"] .ticks li {
  padding-left: 0;
  padding-right: 1.4rem;
}

html[dir="rtl"] .ticks li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .finale-copy,
html[dir="rtl"] .section-head {
  text-align: right;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  position: sticky;
  top: calc(var(--top-h) + env(safe-area-inset-top, 0px) - 0.2rem);
  z-index: 39;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem max(1rem, env(safe-area-inset-right, 0px)) 1.15rem max(1rem, env(safe-area-inset-left, 0px));
  background: var(--night-2);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.35rem 0;
  color: var(--rose);
  font-size: 1.05rem;
}

.mobile-nav .btn {
  margin-top: 0.35rem;
  width: 100%;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.btn:focus-visible,
.chip:focus-visible,
.rail-btn:focus-visible,
.auth-close:focus-visible,
.nav a:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--ok-focus);
  outline-offset: 3px;
}

.btn.primary {
  background: linear-gradient(180deg, var(--blush-hot), var(--blush));
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 45, 85, 0.28);
}

.btn.pulse-cta {
  animation: cta-glow 2.8s var(--ease) infinite;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn.lg {
  min-height: 52px;
  padding-inline: 1.55rem;
  font-size: 1rem;
}

.btn.block {
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(255, 45, 85, 0.38);
  }

  .btn.ghost:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .person:hover {
    transform: translateY(-4px);
  }

  .chip:hover {
    border-color: color-mix(in srgb, var(--blush) 55%, transparent);
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  /* 扣掉 sticky 顶栏 + 底部 dock，保证品牌+标题+文案+CTA 落在第一屏 */
  min-height: calc(100svh - var(--top-h) - var(--dock-h) - env(safe-area-inset-top, 0px));
  min-height: calc(100dvh - var(--top-h) - var(--dock-h) - env(safe-area-inset-top, 0px));
  display: grid;
  align-items: end;
  padding: clamp(2rem, 6vh, 4rem) clamp(1rem, 4vw, 3rem) clamp(1.75rem, 4vh, 3rem);
  overflow: hidden;
}

.brand-lockup {
  font-size: clamp(2.4rem, 6.5vw, 3.75rem);
}

.hero-media {
  position: absolute;
  inset: -4% 0;
  z-index: 0;
  transform: translate3d(0, var(--hero-y, 0px), 0);
  will-change: transform;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  filter: saturate(1.14) contrast(1.06);
  transition: opacity 1.2s var(--ease);
  transform: scale(1.12);
  will-change: transform, opacity;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide.is-active[data-ken="a"] {
  animation: ken-a 9s linear both;
}

.hero-slide.is-active[data-ken="b"] {
  animation: ken-b 9s linear both;
  object-position: center 18%;
}

.hero-slide.is-active[data-ken="c"] {
  animation: ken-c 9s linear both;
  object-position: center 30%;
}

.hero-slide.is-active[data-ken="d"] {
  animation: ken-d 9s linear both;
  object-position: center 15%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 6, 8, 0.82) 0%, rgba(18, 6, 8, 0.42) 38%, rgba(18, 6, 8, 0.12) 68%, rgba(18, 6, 8, 0.35) 100%),
    linear-gradient(0deg, rgba(18, 6, 8, 0.88) 0%, rgba(18, 6, 8, 0.15) 42%, rgba(255, 45, 85, 0.16) 100%);
}

.hero-veil.dense {
  background:
    linear-gradient(180deg, rgba(14, 7, 10, 0.55), rgba(14, 7, 10, 0.88)),
    radial-gradient(600px 400px at 50% 40%, rgba(255, 45, 85, 0.25), transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.hero-stage {
  animation: rise 780ms var(--ease) both;
  animation-delay: calc(var(--d, 0) * 110ms);
}

.brand-lockup {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ink);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.6vw, 3rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--rose);
}

.lede {
  margin: 0 0 1.5rem;
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Sections —— */
.band {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--blush-hot);
  font-size: 0.92rem;
  font-weight: 600;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.band p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 36rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.media-frame {
  margin: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.media-frame.tall img {
  aspect-ratio: 3 / 4;
  max-height: 560px;
}

.ticks {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.ticks li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--rose);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blush);
  box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.15);
}

/* —— People rail —— */
.people {
  background:
    linear-gradient(180deg, transparent, rgba(255, 45, 85, 0.06), transparent),
    var(--night);
}

.people-rail-wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.people-rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding: 0.5rem 0.15rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--blush) transparent;
}

.person {
  flex: 0 0 min(148px, 42vw);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: transform 200ms var(--ease);
  opacity: 0;
  transform: translateY(16px);
}

.people.is-in .person {
  animation: rise 560ms var(--ease) both;
}

.people.is-in .person:nth-child(1) { animation-delay: 40ms; }
.people.is-in .person:nth-child(2) { animation-delay: 90ms; }
.people.is-in .person:nth-child(3) { animation-delay: 140ms; }
.people.is-in .person:nth-child(4) { animation-delay: 190ms; }
.people.is-in .person:nth-child(5) { animation-delay: 240ms; }
.people.is-in .person:nth-child(6) { animation-delay: 290ms; }
.people.is-in .person:nth-child(n + 7) { animation-delay: 320ms; }

.person img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 148px;
  object-fit: cover;
  object-position: center 15%;
}

.person-meta {
  padding: 0.55rem 0.7rem 0.75rem;
}

.person-meta strong {
  display: block;
  font-size: 1rem;
}

.person-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.person-meta .online {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  color: #7dffb2;
  font-size: 0.8rem;
}

.person-meta .online::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dffb2;
  box-shadow: 0 0 0 0 rgba(125, 255, 178, 0.55);
  animation: online-pulse 1.8s var(--ease) infinite;
}

.people-rail.is-nudging {
  animation: rail-nudge 1.1s var(--ease) both;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-media {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 800ms var(--ease) 80ms, transform 800ms var(--ease) 80ms;
}

.reveal.is-in .reveal-media {
  opacity: 1;
  transform: none;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal.is-in .reveal-item {
  opacity: 1;
  transform: none;
}

.mobile-nav:not([hidden]) {
  animation: menu-drop 280ms var(--ease) both;
}

.auth[open] {
  animation: dialog-pop 280ms var(--ease) both;
}

.auth[open]::backdrop {
  animation: backdrop-in 240ms var(--ease) both;
}

.rail-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
}

.people-cta {
  margin-top: 0.5rem;
}

/* —— Intent —— */
.intent {
  background: var(--night-2);
}

.intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 1.5rem;
}

.chip {
  min-height: 42px;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--rose);
  font-weight: 500;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.chip.is-on {
  background: rgba(255, 45, 85, 0.18);
  border-color: color-mix(in srgb, var(--blush) 70%, transparent);
  color: var(--ink);
  transform: translateY(-1px);
}

/* —— Stories —— */
.story-grid {
  display: grid;
  gap: 1.25rem;
}

.story {
  border-radius: var(--radius-media);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.story img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.story blockquote {
  margin: 0;
  padding: 1.15rem 1.2rem 1.35rem;
}

.story p {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.4;
  max-width: none;
}

.story footer {
  color: var(--muted);
  font-size: 0.88rem;
}

.fine {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.text-link {
  color: var(--blush-hot);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* —— Finale —— */
.finale {
  position: relative;
  padding: clamp(5rem, 12vw, 8rem) 0;
  text-align: left;
  overflow: hidden;
}

.finale-bg {
  position: absolute;
  inset: 0;
}

.finale-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.finale-copy {
  position: relative;
  z-index: 1;
  max-width: 28rem;
}

.finale h2 {
  color: var(--ink);
}

.finale p {
  color: var(--rose);
  margin-bottom: 1.5rem;
}

/* —— Footer —— */
.footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: #0a0507;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-tag {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 28rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  color: var(--rose);
}

.footer-links button {
  color: inherit;
}

/* —— Auth dialog —— */
.auth {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 2rem);
}

.auth::backdrop {
  background: rgba(8, 3, 5, 0.72);
  backdrop-filter: blur(6px);
}

.auth-card {
  position: relative;
  width: min(400px, 100%);
  margin: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #2a1218, #180a10);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  color: var(--ink);
}

.auth-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  color: var(--muted);
}

.auth-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.auth-lede {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.auth-card label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: var(--rose);
}

.auth-card input[type="email"],
.auth-card input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-size: 16px; /* 避免 iOS 聚焦时整页缩放 */
}

.auth-card input::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

.auth-card .check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  grid-template-columns: none;
}

.auth-card .check input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--blush);
}

.auth-note {
  margin: 0.85rem 0 0;
  color: #7dffb2;
  font-size: 0.88rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ken-a {
  from {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
  to {
    transform: scale(1.2) translate3d(2%, -1.5%, 0);
  }
}

@keyframes ken-b {
  from {
    transform: scale(1.18) translate3d(2%, -1%, 0);
  }
  to {
    transform: scale(1.08) translate3d(-2%, 2%, 0);
  }
}

@keyframes ken-c {
  from {
    transform: scale(1.1) translate3d(0, 2%, 0);
  }
  to {
    transform: scale(1.22) translate3d(-2.5%, -1%, 0);
  }
}

@keyframes ken-d {
  from {
    transform: scale(1.2) translate3d(1.5%, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1%, 2%, 0);
  }
}

@keyframes heart-beat {
  0%,
  100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.12);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.08);
  }
  56% {
    transform: scale(1);
  }
}

@keyframes cta-glow {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(255, 45, 85, 0.28);
  }
  50% {
    box-shadow: 0 14px 36px rgba(255, 45, 85, 0.48);
  }
}

@keyframes online-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 255, 178, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(125, 255, 178, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(125, 255, 178, 0);
  }
}

@keyframes rail-nudge {
  0% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-28px);
  }
  70% {
    transform: translateX(8px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes menu-drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dialog-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* —— Mobile dock —— */
.mobile-dock {
  display: none;
}

@media (max-width: 759px) {
  :root {
    --dock-h: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  .top {
    gap: 0.4rem;
  }

  .top .brand span {
    font-size: 1.2rem;
  }

  /* 语言选择挪到菜单，避免顶栏撑破屏宽 */
  .top-actions .lang-wrap {
    display: none;
  }

  .top-actions .btn.ghost {
    display: none;
  }

  .top-actions .btn.primary {
    padding-inline: 0.95rem;
    font-size: 0.88rem;
    min-height: 40px;
  }

  .hero {
    padding:
      1.5rem
      max(1rem, env(safe-area-inset-right, 0px))
      1.35rem
      max(1rem, env(safe-area-inset-left, 0px));
  }

  .brand-lockup {
    font-size: clamp(2.15rem, 11vw, 2.85rem);
  }

  .hero h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
  }

  .lede {
    font-size: 0.98rem;
    margin-bottom: 1.15rem;
  }

  .cta-row {
    gap: 0.55rem;
  }

  .cta-row .btn.lg {
    min-height: 48px;
    padding-inline: 1.15rem;
    font-size: 0.95rem;
    flex: 1 1 auto;
  }

  .band {
    padding: clamp(2.75rem, 9vw, 4rem) 0;
  }

  .band h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  /* 人物条：全宽滑动，隐藏侧钮 */
  .people-rail-wrap {
    grid-template-columns: 1fr;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .people-rail-wrap .rail-btn {
    display: none;
  }

  .people-rail {
    gap: 0.75rem;
    padding: 0.35rem max(1rem, env(safe-area-inset-right, 0px)) 1rem max(1rem, env(safe-area-inset-left, 0px));
    scroll-padding-inline: max(1rem, env(safe-area-inset-left, 0px));
  }

  .person {
    position: relative;
    flex: 0 0 112px;
  }

  .person img {
    display: block;
    aspect-ratio: 1 / 1;
    max-height: 112px;
    height: 112px;
  }

  .person-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 0.45rem 0.35rem;
    background: linear-gradient(transparent, rgba(40, 8, 20, 0.9));
  }

  .person-meta strong {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .person-meta span {
    font-size: 0.68rem;
  }

  .people-cta {
    margin-top: 0.75rem;
  }

  .people-cta .btn,
  .intent .btn.primary,
  .finale .btn {
    width: 100%;
  }

  .intent-chips {
    gap: 0.45rem;
  }

  .chip {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .media-frame.tall img {
    max-height: 200px;
    height: 200px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .footer {
    padding-bottom: calc(1.5rem + var(--dock-h));
  }

  .mobile-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    padding:
      0.65rem
      max(1rem, env(safe-area-inset-right, 0px))
      calc(0.65rem + env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-left, 0px));
    background: linear-gradient(180deg, transparent, rgba(18, 6, 8, 0.92) 28%, rgba(18, 6, 8, 0.98));
    pointer-events: none;
  }

  .mobile-dock .btn {
    pointer-events: auto;
    box-shadow: 0 12px 30px rgba(255, 45, 85, 0.35);
  }

  .auth {
    width: calc(100% - 1.25rem);
    max-width: none;
    margin: auto;
  }

  .auth-card {
    width: 100%;
    padding: 1.5rem 1.15rem 1.25rem;
    border-radius: 18px;
  }

  main {
    padding-bottom: 0.5rem;
  }
}

@media (min-width: 760px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .top-actions .btn.ghost {
    display: inline-flex;
  }

  .mobile-nav {
    display: none !important;
  }

  .mobile-dock {
    display: none !important;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .split.reverse .copy {
    order: 2;
  }

  .split.reverse .media-frame {
    order: 1;
  }

  .story-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

}

@media (min-width: 1100px) {
  .hero-copy {
    margin-left: max(0px, calc((100vw - 1120px) / 2));
  }

  html[dir="rtl"] .hero-copy {
    margin-left: 0;
    margin-right: max(0px, calc((100vw - 1120px) / 2));
  }
}
