:root {
  --bg-deep: #061612;
  --bg-panel: #0c241c;
  --bg-card: rgba(8, 28, 22, 0.88);
  --gold: #c9a962;
  --gold-light: #e8d4a8;
  --gold-dim: rgba(201, 169, 98, 0.35);
  --text: #f2ebe0;
  --text-muted: #a8b5ad;
  --line: rgba(201, 169, 98, 0.22);
  --accent: #1a5c4a;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 169, 98, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(26, 92, 74, 0.25), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(6, 22, 18, 0.95), transparent);
  backdrop-filter: blur(8px);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(13px, 3.2vw, 15px);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(28vw, 100px);
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.page-indicator {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.page-indicator span {
  color: var(--gold);
  font-weight: 600;
}

.nav-dots {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-dots a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: transparent;
  transition: background 0.25s, transform 0.25s;
}

.nav-dots a.active,
.nav-dots a:hover {
  background: var(--gold);
  transform: scale(1.15);
}

.nav-dots a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.deck {
  position: relative;
  z-index: 1;
}

.slide {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 88px 20px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

.deck.snap {
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  height: 100vh;
  height: 100dvh;
}

.slide-inner {
  width: min(920px, 100%);
}

.slide-inner.wide {
  width: min(1040px, 100%);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--gold-light);
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36em;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.panel p {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 15px;
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel strong {
  color: var(--gold-light);
  font-weight: 600;
}

.timeline {
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  padding-left: 48px;
  padding-bottom: 22px;
  border-left: 1px solid var(--line);
  margin-left: 12px;
}

.timeline li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -13px;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.timeline li a {
  color: var(--gold-light);
  word-break: break-all;
}

.bullet-list {
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 15px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-slide {
  text-align: center;
}

.hero-slide .slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-cover {
  position: relative;
  display: block;
  width: min(100%, 340px);
  margin: 0 auto 22px;
  overflow: hidden;
  background: transparent;
}

.hero-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 42%;
}

.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      var(--bg-deep) 0%,
      rgba(6, 22, 18, 0.55) 10%,
      transparent 26%,
      transparent 74%,
      rgba(6, 22, 18, 0.55) 90%,
      var(--bg-deep) 100%
    ),
    linear-gradient(
      90deg,
      var(--bg-deep) 0%,
      transparent 16%,
      transparent 84%,
      var(--bg-deep) 100%
    );
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.hero-divider {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 28px auto;
}

.scroll-hint {
  margin-top: 40px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.two-col {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1.1fr;
  }
}

.profile-card {
  text-align: center;
}

.profile-img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.profile-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.triangle-wrap {
  margin-top: 28px;
  padding: 20px;
  border: 1px dashed var(--gold-dim);
  border-radius: 4px;
}

.triangle-diagram {
  width: min(300px, 100%);
  max-width: 100%;
  margin: 0 auto 16px;
  display: block;
  overflow: visible;
}

.triangle-labels {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.triangle-labels div {
  padding: 10px 14px;
  background: rgba(201, 169, 98, 0.08);
  border-left: 3px solid var(--gold);
}

.highlight-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.highlight-card {
  padding: 18px 16px;
  background: rgba(201, 169, 98, 0.06);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.poster-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.poster-grid img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: block;
}

.warning-box {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  background: rgba(0, 0, 0, 0.25);
  font-size: 14px;
  color: var(--text-muted);
}

.footer-note {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(6, 22, 18, 0.85));
}
