:root {
  color-scheme: light;
  --paper: #f7f5f0;
  --paper-strong: #fffefa;
  --ink: #101113;
  --ink-soft: #4a4d52;
  --muted: #797d84;
  --line: #d8d6cf;
  --line-strong: #bdb8ad;
  --red: #c8102e;
  --red-dark: #7f0c1e;
  --blue: #155ec5;
  --blue-soft: #e8f0ff;
  --yellow: #f2b705;
  --yellow-soft: #fff4bf;
  --black: #090a0c;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(16, 17, 19, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, Helvetica,
    sans-serif;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(200, 16, 46, 0.06) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: 56px 56px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.7rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(16, 17, 19, 0.09);
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(14px);
}

.brand-mark,
.top-actions {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-crest {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 2px solid var(--black);
  background: var(--red);
  color: var(--paper-strong);
  font-size: 0.78rem;
  line-height: 1;
}

.top-actions {
  gap: clamp(0.75rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.top-actions a {
  text-decoration: none;
}

.top-actions a:hover {
  color: var(--red);
}

.season-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(19rem, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 6.75rem) clamp(1.25rem, 5vw, 5rem)
    clamp(2.5rem, 6vw, 4.5rem);
}

.season-label,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.season-hero h1,
.media-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 9vw, 8.8rem);
  font-weight: 700;
  line-height: 0.91;
  text-wrap: balance;
}

.hero-summary,
.media-hero p {
  max-width: 44rem;
  margin: 1.35rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.8;
  text-wrap: balance;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
  min-height: 2rem;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  padding: 0.38rem 0.65rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-stats strong {
  color: var(--black);
  font-size: 1.2rem;
}

.hero-stack {
  position: relative;
  overflow: hidden;
  min-height: clamp(17rem, 32vw, 28rem);
  margin: 0;
}

.hero-stack img {
  position: absolute;
  width: min(78%, 31rem);
  border: 2px solid var(--black);
  box-shadow: var(--shadow);
}

.hero-stack img:nth-child(1) {
  right: 0;
  top: 10%;
  transform: rotate(3deg);
}

.hero-stack img:nth-child(2) {
  left: 0;
  top: 0;
  transform: rotate(-5deg);
}

.hero-stack img:nth-child(3) {
  left: 18%;
  bottom: 0;
  transform: rotate(1deg);
}

.timeline-shell {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 5rem)
    clamp(4rem, 7vw, 6rem);
}

.timeline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 2px solid var(--black);
  padding-top: 1.3rem;
}

.timeline-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.25rem);
  line-height: 0.98;
}

.order-button {
  min-height: 2.35rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--paper-strong);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.order-button:hover {
  background: var(--red);
}

.order-button:active {
  transform: scale(0.97);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.35rem 0 2.25rem;
}

.filter-button {
  min-height: 2.2rem;
  border: 1px solid var(--line-strong);
  background: var(--paper-strong);
  color: var(--ink-soft);
  padding: 0.38rem 0.7rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
}

.filter-button[aria-pressed="true"] {
  border-color: var(--black);
  background: var(--red);
  color: var(--paper-strong);
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 2.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--black);
  transform: translateX(-50%);
}

.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 18rem;
  scroll-margin-top: 5.5rem;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 520ms ease,
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-entry.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0.95rem;
  z-index: 2;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--black);
  background: var(--paper);
  transform: translateX(-50%) rotate(45deg);
}

.entry-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 0;
}

.timeline-entry:nth-child(odd) .entry-copy {
  grid-column: 1;
  padding-right: clamp(2rem, 5vw, 4rem);
  text-align: right;
}

.timeline-entry:nth-child(even) .entry-copy {
  grid-column: 2;
  padding-left: clamp(2rem, 5vw, 4rem);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.timeline-entry:nth-child(odd) .entry-meta,
.timeline-entry:nth-child(odd) .fact-list,
.timeline-entry:nth-child(odd) .entry-links {
  justify-content: flex-end;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  border: 1px solid currentColor;
  padding: 0.12rem 0.48rem;
  font-size: 0.78rem;
  line-height: 1;
}

.category-red {
  color: var(--red-dark);
  background: rgba(200, 16, 46, 0.08);
}

.category-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.category-yellow {
  color: #765800;
  background: var(--yellow-soft);
}

.category-black {
  color: var(--black);
  background: rgba(16, 17, 19, 0.06);
}

.entry-copy h3 {
  max-width: 16ch;
  margin: 0.75rem 0 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.05;
  text-wrap: balance;
}

.timeline-entry:nth-child(odd) .entry-copy h3 {
  margin-left: auto;
}

.entry-summary {
  max-width: 36rem;
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
  text-wrap: balance;
}

.timeline-entry:nth-child(odd) .entry-summary {
  margin-left: auto;
}

.fact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.fact-list:empty {
  display: none;
}

.fact-list div {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  border-top: 2px solid var(--red);
  background: rgba(255, 254, 250, 0.72);
  padding: 0.35rem 0.5rem 0.42rem;
}

.fact-list dt,
.fact-list dd {
  margin: 0;
  font-size: 0.82rem;
}

.fact-list dt {
  color: var(--muted);
  font-weight: 800;
}

.fact-list dd {
  color: var(--ink);
  font-weight: 900;
}

.entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.entry-links:empty {
  display: none;
}

.entry-links a {
  border: 1px solid var(--line-strong);
  background: var(--paper-strong);
  padding: 0.38rem 0.55rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.entry-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.media-stack {
  position: relative;
  display: block;
  width: min(100%, 22rem);
  aspect-ratio: 3 / 2;
  text-decoration: none;
}

.timeline-entry:nth-child(odd) .media-stack {
  grid-column: 2;
  margin-left: clamp(2rem, 5vw, 4rem);
}

.timeline-entry:nth-child(even) .media-stack {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  margin-right: clamp(2rem, 5vw, 4rem);
}

.media-stack img {
  position: absolute;
  inset: 0;
  width: 84%;
  height: 84%;
  border: 2px solid var(--black);
  background: var(--paper-strong);
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(16, 17, 19, 0.13);
  transform:
    translate(calc(var(--stack-index) * 1.05rem), calc(var(--stack-index) * 0.7rem))
    rotate(calc((var(--stack-index) - 1) * 3deg));
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.media-stack:hover img {
  box-shadow: 0 16px 34px rgba(16, 17, 19, 0.17);
}

.media-stack:hover img:nth-child(1) {
  transform: translate(-0.2rem, -0.15rem) rotate(-4deg);
}

.media-stack:hover img:nth-child(2) {
  transform: translate(1rem, 0.75rem) rotate(2deg);
}

.media-stack:hover img:nth-child(3) {
  transform: translate(2rem, 1.55rem) rotate(6deg);
}

.media-count {
  position: absolute;
  right: 0.1rem;
  bottom: 0;
  z-index: 4;
  border: 2px solid var(--black);
  background: var(--yellow);
  padding: 0.32rem 0.5rem;
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 900;
}

.media-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 5rem) clamp(1.25rem, 5vw, 5rem)
    clamp(4rem, 7vw, 6rem);
}

.media-hero {
  border-top: 2px solid var(--black);
  padding-top: 1.25rem;
}

.media-hero h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 7vw, 7rem);
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.back-link:hover {
  color: var(--blue);
}

.media-notice {
  margin: clamp(2rem, 5vw, 3.5rem) 0 -1rem;
  border-top: 2px solid var(--yellow);
  background: var(--yellow-soft);
  padding: 0.6rem 0.75rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.media-figure,
.media-index-card,
.media-embed-card,
.media-link-card {
  grid-column: span 4;
  margin: 0;
}

.media-figure img,
.media-index-card img,
.media-embed-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 2px solid var(--black);
  background: var(--paper-strong);
  object-fit: cover;
}

.media-figure figcaption {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.media-index-card {
  display: grid;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
}

.media-index-card span {
  font-size: 1.05rem;
  font-weight: 900;
}

.media-index-card small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.media-embed-card {
  display: grid;
  gap: 0.65rem;
}

.media-embed-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.media-embed-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.media-embed-card > a {
  justify-self: start;
  border: 1px solid var(--line-strong);
  background: var(--paper-strong);
  padding: 0.42rem 0.58rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.media-embed-card > a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.media-embed-frame {
  aspect-ratio: 16 / 9;
  border: 2px solid var(--black);
  background: var(--black);
}

.media-embed-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-link-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 11rem;
  border: 2px solid var(--black);
  background: var(--paper-strong);
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.media-link-card:hover {
  background: var(--yellow-soft);
  transform: translateY(-2px);
}

.media-type-pill {
  justify-self: start;
  border: 1px solid currentColor;
  padding: 0.15rem 0.45rem;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.media-link-card strong {
  font-size: 1.2rem;
  line-height: 1.25;
}

.media-link-card small {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1.25rem, 4vw, 4.5rem);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 920px) {
  .season-hero {
    grid-template-columns: 1fr;
  }

  .hero-stack {
    min-height: clamp(15rem, 68vw, 26rem);
  }

  .timeline-list::before {
    left: 0.5rem;
  }

  .timeline-entry {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-left: 2rem;
  }

  .timeline-marker {
    left: 0.5rem;
  }

  .timeline-entry:nth-child(odd) .entry-panel,
  .timeline-entry:nth-child(even) .entry-panel {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-right: 0;
    padding-left: 0;
    text-align: left;
  }

  .timeline-entry:nth-child(odd) .entry-copy,
  .timeline-entry:nth-child(even) .entry-copy {
    grid-column: 1;
    padding-right: 0;
    padding-left: 0;
    text-align: left;
  }

  .timeline-entry:nth-child(odd) .entry-meta,
  .timeline-entry:nth-child(odd) .fact-list,
  .timeline-entry:nth-child(odd) .entry-links {
    justify-content: flex-start;
  }

  .timeline-entry:nth-child(odd) .entry-copy h3,
  .timeline-entry:nth-child(odd) .entry-summary,
  .timeline-entry:nth-child(odd) .media-stack,
  .timeline-entry:nth-child(even) .media-stack {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-left: 0;
    margin-right: 0;
  }

  .media-figure,
  .media-index-card,
  .media-embed-card,
  .media-link-card {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .timeline-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    position: static;
  }

  .season-hero h1,
  .media-hero h1 {
    font-size: clamp(3rem, 18vw, 5.2rem);
  }

  .hero-summary,
  .media-hero p {
    font-size: 1rem;
  }

  .hero-stack img {
    width: 76%;
  }

  .media-stack {
    width: min(100%, 18.5rem);
  }

  .media-figure,
  .media-index-card,
  .media-embed-card,
  .media-link-card {
    grid-column: 1 / -1;
  }
}
