:root {
  color-scheme: dark;
  --ink: #101418;
  --ink-deep: #07090b;
  --paper: #f0e8da;
  --paper-muted: #c8c2b6;
  --cinnabar: #c8402f;
  --cinnabar-deep: #992e22;
  --gold: #d7b48b;
  --line: rgba(240, 232, 218, 0.16);
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --font-sans: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--paper);
  background:
    radial-gradient(900px 520px at 50% -180px, rgba(200, 64, 47, 0.20), transparent 68%),
    radial-gradient(720px 420px at 85% 20%, rgba(215, 180, 139, 0.08), transparent 70%),
    var(--ink);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: -1;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  pointer-events: none;
}

.page {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: clamp(48px, 9vw, 104px) clamp(18px, 4vw, 48px) 0;
}

.masthead {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.mark {
  margin: 0 0 24px;
  font-size: 0.78rem;
  letter-spacing: 0.48em;
  text-indent: 0.48em;
  color: var(--gold);
}

h1 {
  position: relative;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.10em;
  text-indent: 0.10em;
}

.seal {
  position: absolute;
  right: clamp(-42px, -3vw, -16px);
  top: 0.06em;
  display: grid;
  place-items: center;
  width: clamp(28px, 4vw, 44px);
  aspect-ratio: 1;
  color: #fff;
  font-size: clamp(15px, 2vw, 23px);
  letter-spacing: 0;
  text-indent: 0;
  background: var(--cinnabar);
  box-shadow: 0 8px 24px rgba(200, 64, 47, 0.30);
}

.entry {
  max-width: 31em;
  margin: 30px 0 0;
  color: var(--paper-muted);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.9;
}

.screen { margin: 0; }

.video-shell {
  position: relative;
  margin: 0;
  width: min(1120px, 100%);
  margin-inline: auto;
  background: #000;
  border: 1px solid rgba(240, 232, 218, 0.20);
  box-shadow:
    0 42px 100px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(0, 0, 0, 0.70);
}

.video-shell::before,
.video-shell::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(215, 180, 139, 0.60);
  pointer-events: none;
}

.video-shell::before {
  left: -12px;
  top: -12px;
  border-right: 0;
  border-bottom: 0;
}

.video-shell::after {
  right: -12px;
  bottom: -12px;
  border-left: 0;
  border-top: 0;
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.watch-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, 100%);
  margin: 16px auto 0;
  color: rgba(200, 194, 182, 0.78);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.after {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  width: min(1120px, 100%);
  margin: clamp(52px, 8vw, 104px) auto 0;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.notes h2 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.notes p {
  max-width: 40em;
  margin: 0;
  color: var(--paper-muted);
  line-height: 1.95;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

a {
  color: inherit;
}

.primary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.primary {
  color: #fff;
  background: var(--cinnabar);
}

.primary:hover {
  background: var(--cinnabar-deep);
  transform: translateY(-2px);
}

.ghost {
  color: var(--paper);
  border-color: rgba(240, 232, 218, 0.30);
}

.ghost:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.specs {
  display: grid;
  margin: 0;
  border-top: 1px solid rgba(215, 180, 139, 0.34);
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.specs dt {
  color: rgba(200, 194, 182, 0.70);
}

.specs dd {
  margin: 0;
  font-family: var(--font-serif);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, 100%);
  margin: clamp(52px, 8vw, 88px) auto 0;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  color: rgba(200, 194, 182, 0.62);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .after {
    grid-template-columns: 1fr;
  }

  .watch-meta {
    flex-direction: column;
    gap: 6px;
  }

  .seal {
    right: -34px;
  }

  .footer {
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary, .ghost { transition: none; }
  .grain { animation: none; }
}
