:root {
  --night: #071a20;
  --night-soft: #0d2930;
  --paper: #f5f0e5;
  --paper-strong: #fffaf0;
  --ink: #182925;
  --muted: #68756f;
  --jade: #2f6f60;
  --jade-dark: #173f36;
  --gold: #d2a64c;
  --firefly: #f6cf68;
  --line: rgba(24, 41, 37, 0.12);
  --line-light: rgba(255, 250, 240, 0.15);
  --shadow: 0 28px 80px rgba(5, 20, 24, 0.18);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 26, 32, 0.88);
  color: #fffaf0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 8px;
  background: var(--jade-dark);
  color: var(--paper-strong);
  font-family: Georgia, serif;
}

.brand__text { font-size: 15px; letter-spacing: 0.02em; }

.nav { display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255, 250, 240, 0.72); font-size: 14px; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--firefly); }

.section { padding: clamp(60px, 8vw, 104px) clamp(20px, 5vw, 64px); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: center;
  min-height: calc(100vh - 67px);
  overflow: hidden;
  color: var(--paper-strong);
  background:
    radial-gradient(circle at 12% 18%, rgba(246, 207, 104, 0.13), transparent 19%),
    radial-gradient(circle at 84% 34%, rgba(55, 126, 106, 0.28), transparent 30%),
    linear-gradient(145deg, #071a20 0%, #0b252c 52%, #061419 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--firefly);
  box-shadow: 90px 40px 12px 1px rgba(246,207,104,.65), 210px 118px 9px rgba(246,207,104,.5), 360px 6px 14px rgba(246,207,104,.7), 470px 168px 10px rgba(246,207,104,.45), 620px 78px 14px rgba(246,207,104,.55);
  content: "";
  opacity: .55;
  pointer-events: none;
}

.hero::before { top: 14%; left: 6%; }
.hero::after { right: 4%; bottom: 16%; transform: rotate(160deg); }
.hero__copy { position: relative; z-index: 1; max-width: 720px; }

.eyebrow {
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 126px);
  font-weight: 900;
  letter-spacing: -.04em;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255,250,240,.74);
  font-size: clamp(17px, 1.8vw, 22px);
}

.hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; }
.hero__meta span { padding: 9px 12px; border: 1px solid rgba(255,250,240,.15); border-radius: 999px; background: rgba(255,255,255,.04); color: rgba(255,250,240,.75); font-size: 13px; }
.hero__meta strong { margin-right: 4px; color: var(--firefly); font-family: Georgia, serif; font-size: 17px; }
.hero__note { margin: 0; color: rgba(255,250,240,.46); font-size: 13px; }

.player-card { position: relative; z-index: 1; width: min(100%, 430px); margin-inline: auto; }
.player-card__glow { position: absolute; inset: 8% -18% 12%; border-radius: 50%; background: rgba(242,187,72,.16); filter: blur(55px); }
.player-card video { position: relative; width: 100%; aspect-ratio: 9 / 16; border: 1px solid rgba(255,250,240,.18); border-radius: 18px 18px 0 0; background: #020a0c; box-shadow: 0 38px 100px rgba(0,0,0,.55); object-fit: cover; }
.player-card__footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid rgba(255,250,240,.16); border-top: 0; border-radius: 0 0 18px 18px; background: rgba(255,255,255,.07); color: rgba(255,250,240,.62); font-size: 12px; }
.player-card__footer a { color: var(--firefly); font-weight: 800; text-decoration: none; }

.section__head { max-width: 840px; margin: 0 auto 40px; text-align: center; }
.section__head h2 { margin-bottom: 12px; font-family: var(--serif); font-size: clamp(38px, 5.4vw, 66px); font-weight: 900; }
.section__head p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 17px; }

.story { background: linear-gradient(180deg, var(--paper-strong), var(--paper)); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1180px; margin: 0 auto; }
.story-card { min-height: 290px; padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.54); box-shadow: 0 18px 52px rgba(24,41,37,.07); }
.story-card > span { color: var(--gold); font-family: Georgia, serif; font-size: 40px; }
.story-card h3 { margin: 32px 0 14px; font-family: var(--serif); font-size: 28px; }
.story-card p { margin-bottom: 0; color: var(--muted); }

.notes { color: var(--paper-strong); background: linear-gradient(160deg, var(--night), var(--night-soft)); }
.section__head--light p:not(.eyebrow) { color: rgba(255,250,240,.58); }
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; }
.note-card { min-height: 220px; padding: 28px; border: 1px solid var(--line-light); border-radius: 14px; background: rgba(255,255,255,.045); }
.note-card__index { display: inline-block; margin-bottom: 28px; color: var(--firefly); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.note-card h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 26px; }
.note-card p { margin-bottom: 0; color: rgba(255,250,240,.58); font-size: 15px; }

.closing { background: var(--paper-strong); text-align: center; }
.closing__inner { max-width: 900px; margin: 0 auto; }
.closing blockquote { margin-bottom: 36px; font-family: var(--serif); font-size: clamp(34px, 5vw, 62px); font-weight: 900; line-height: 1.35; }
.closing__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.closing__links a { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 9px; background: var(--jade-dark); color: var(--paper-strong); font-weight: 800; text-decoration: none; }
.closing__links .link-secondary { border: 1px solid rgba(47,111,96,.25); background: transparent; color: var(--jade-dark); }

.footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px clamp(20px, 5vw, 64px); border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 12px; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav a:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero__copy { text-align: center; }
  .hero__meta { justify-content: center; }
  .player-card { width: min(100%, 390px); }
  .story-grid, .notes-grid { grid-template-columns: 1fr; max-width: 640px; }
  .story-card { min-height: auto; }
}

@media (max-width: 560px) {
  .topbar { padding: 13px 18px; }
  .brand__text { font-size: 14px; }
  .nav { font-size: 12px; }
  .section { padding: 56px 18px; }
  .hero { padding-top: 44px; gap: 38px; }
  .hero h1 { font-size: clamp(58px, 21vw, 84px); }
  .hero__lead { font-size: 16px; }
  .player-card__footer { align-items: flex-start; flex-direction: column; }
  .story-card, .note-card { padding: 25px; }
  .footer { flex-direction: column; text-align: center; }
}

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