/* Sundown Archive：无外部字体依赖的响应式静态前端。 */
:root {
  --ink: #111112;
  --paper: #f3f0e8;
  --paper-soft: #e7e1d5;
  --white: #fffdf8;
  --line: rgba(17, 17, 18, 0.15);
  --line-dark: rgba(255, 255, 255, 0.18);
  --amber: #e7a33b;
  --amber-soft: #f2c87f;
  --blue: #253d4c;
  --font-display: "Times New Roman", "Iowan Old Style", "Baskerville", Georgia, serif;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript {
  position: relative;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--amber-soft);
  text-align: center;
}

.not-found-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--white);
  background: var(--ink);
}

.not-found {
  max-width: 760px;
  padding: 2rem;
  text-align: center;
}

.not-found p:first-child {
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.not-found h1 {
  margin: 0.4rem 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.not-found p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.not-found a {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.85rem 1.2rem;
  color: var(--ink);
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 86px;
  padding: 0 var(--gutter);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, min-height 240ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 68px;
  background: rgba(12, 12, 13, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.75rem;
  width: max-content;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.05;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark::before {
  position: absolute;
  top: 14px;
  left: -4px;
  width: 38px;
  height: 20px;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.brand-mark::after {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--amber);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.15rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-button,
.footer-links button {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.header-action {
  justify-self: end;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 1rem;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.52);
}

.icon-button svg,
.catalog-search svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.list-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  color: var(--ink);
  background: var(--amber);
  font-size: 0.62rem;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(920px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: #4e493e;
}

.hero-image,
.hero-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  animation: hero-in 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-vignette {
  background:
    linear-gradient(90deg, rgba(8, 8, 9, 0.72) 0%, rgba(8, 8, 9, 0.34) 38%, transparent 68%),
    linear-gradient(0deg, rgba(8, 8, 9, 0.75) 0%, transparent 48%),
    linear-gradient(180deg, rgba(8, 8, 9, 0.34) 0%, transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 84vw);
  margin: 0 0 clamp(5.5rem, 11vh, 8rem) var(--gutter);
  animation: content-in 1s 180ms ease both;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.75;
  text-wrap: balance;
}

.hero-summary {
  max-width: 620px;
  margin: 2rem 0 1.25rem;
  color: rgba(255, 253, 248, 0.88);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.hero-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-meta span {
  padding: 0.3rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 2px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button svg {
  width: 17px;
  margin-right: 0.6rem;
  fill: currentColor;
}

.button-primary {
  color: var(--ink);
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.button-light {
  color: var(--white);
  background: var(--ink);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue span:last-child {
  font-size: 1.4rem;
  animation: cue 1.8s ease infinite;
}

.section {
  padding: clamp(5rem, 9vw, 9rem) var(--gutter);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  gap: 3rem;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto clamp(3rem, 6vw, 5.5rem);
}

.section-heading h2,
.collection-lead h2,
.journal-copy h2,
.newsletter-copy h2 {
  max-width: 850px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.section-intro {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.7;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 2.5vw, 2.5rem);
  max-width: var(--max);
  margin: 0 auto;
}

.film-card {
  min-width: 0;
}

.film-card-wide {
  margin-top: clamp(0rem, 5vw, 5rem);
}

.poster-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #222;
  border: 0;
  cursor: pointer;
  aspect-ratio: 3 / 2;
}

.poster-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 400ms ease;
}

.poster-button:hover img,
.poster-button:focus-visible img {
  filter: saturate(1.05);
  transform: scale(1.035);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 45%);
}

.play-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  padding-left: 4px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -42%);
  transition: opacity 220ms ease, transform 220ms ease;
}

.poster-button:hover .play-chip,
.poster-button:focus-visible .play-chip {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.duration {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.25rem 0.4rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  font-size: 0.65rem;
  font-weight: 700;
}

.film-copy {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
}

.film-kicker {
  margin: 0 0 0.25rem;
  color: var(--amber);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.film-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.film-description > p {
  align-self: end;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  line-height: 1.65;
}

.film-description {
  align-self: end;
}

.film-inline-actions,
.program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.9rem;
}

.film-inline-actions button,
.program-actions button {
  padding: 0 0 0.25rem;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}

.film-inline-actions button:last-child {
  color: var(--amber-soft);
}

.collection-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.15fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  min-height: 780px;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
}

.collection-lead > p:not(.eyebrow) {
  max-width: 560px;
  margin: 2rem 0;
  color: rgba(17, 17, 18, 0.68);
  font-size: 1.05rem;
  line-height: 1.75;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0 0.4rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.collection-stack {
  position: relative;
  height: min(540px, 60vw);
}

.stack-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 68%;
  height: 72%;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  color: var(--white);
  box-shadow: 0 30px 70px rgba(28, 23, 17, 0.18);
  background-position: center;
  background-size: cover;
  transition: transform 350ms ease;
}

.stack-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(6, 7, 8, 0.76), transparent 65%);
}

.stack-card > * {
  position: relative;
}

.stack-card span {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.stack-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.stack-card small {
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.07em;
}

.stack-card-one {
  z-index: 3;
  right: 0;
  bottom: 0;
  background-image: url("/assets/images/hero-highway.png");
}

.stack-card-two {
  z-index: 2;
  top: 6%;
  left: 10%;
  background-image: url("/assets/images/film-northline.png");
  transform: rotate(-4deg);
}

.stack-card-three {
  z-index: 1;
  top: 0;
  left: 0;
  background-image: url("/assets/images/film-forged.png");
  transform: rotate(-8deg);
}

.collection-stack:hover .stack-card-two {
  transform: translateX(-6%) rotate(-6deg);
}

.collection-stack:hover .stack-card-three {
  transform: translateX(-10%) rotate(-11deg);
}

.journal-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 760px;
  color: var(--white);
  background: var(--blue);
}

.journal-image {
  min-height: 560px;
  overflow: hidden;
}

.journal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem);
}

.journal-deck {
  max-width: 620px;
  margin: 2rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.55;
}

.journal-copy .arrow-link {
  align-self: flex-start;
  color: var(--white);
  margin-top: 2rem;
}

.byline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--amber-soft);
  font-family: var(--font-display);
  font-size: 0.85rem;
  border-radius: 50%;
}

.byline > span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
}

.byline small {
  color: rgba(255, 255, 255, 0.52);
}

.statement-section {
  padding: clamp(6rem, 12vw, 12rem) var(--gutter);
  text-align: center;
  background: var(--paper-soft);
}

.statement {
  max-width: 1180px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 7rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.statement-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 950px;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-stats > div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 2rem 1rem;
}

.statement-stats > div + div {
  border-left: 1px solid var(--line);
}

.statement-stats strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
}

.statement-stats span {
  color: rgba(17, 17, 18, 0.58);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.newsletter-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  padding: clamp(5rem, 9vw, 9rem) var(--gutter);
  color: var(--ink);
  background: var(--amber-soft);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.newsletter-form input {
  min-width: 0;
  padding: 0.85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  outline: 0;
}

.newsletter-form input:focus {
  border-bottom-width: 2px;
}

.newsletter-form p {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  color: rgba(17, 17, 18, 0.56);
  font-size: 0.7rem;
}

.site-footer {
  padding: clamp(4rem, 7vw, 7rem) var(--gutter) 2rem;
  color: var(--white);
  background: var(--ink);
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.8rem;
  align-items: center;
}

.footer-brand .brand-mark {
  grid-row: 1 / 3;
}

.footer-brand strong {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-display);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 720px;
  margin: 5rem 0 5rem auto;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-links strong {
  margin-bottom: 0.7rem;
  color: var(--amber);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links button {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--line-dark);
}

.player-dialog {
  width: min(1100px, calc(100vw - 2rem));
  max-width: none;
  padding: 0;
  color: var(--white);
  background: #09090a;
  border: 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

.player-dialog::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
}

.player-shell {
  position: relative;
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
}

.video-frame {
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
}

.player-meta {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 3rem;
  padding: 1.5rem 2rem 2rem;
}

.player-meta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
}

.player-meta > p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.player-status {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading-compact {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading-compact h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.continue-section {
  color: var(--white);
  background: #18242b;
}

.continue-card {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
  background: #10191e;
}

.continue-image {
  position: relative;
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  background: #111;
  border: 0;
  cursor: pointer;
}

.continue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.continue-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.continue-copy h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.continue-copy > p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.continue-copy .arrow-link {
  align-self: flex-start;
  margin-top: 1.5rem;
  color: var(--white);
}

.progress-track {
  width: 100%;
  height: 4px;
  margin-top: 2rem;
  overflow: hidden;
  appearance: none;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
}

.progress-track::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.16);
}

.progress-track::-webkit-progress-value {
  background: var(--amber);
}

.progress-track::-moz-progress-bar {
  background: var(--amber);
}

.catalog-section {
  background: var(--paper);
}

.catalog-section .section-intro,
.watchlist-section .section-intro {
  color: rgba(17, 17, 18, 0.62);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr) auto;
  gap: 1rem 2rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.catalog-search input,
.search-field input {
  width: 100%;
  min-width: 0;
  color: inherit;
  background: transparent;
  border: 0;
  outline: 0;
}

.catalog-search input::placeholder,
.search-field input::placeholder {
  color: rgba(17, 17, 18, 0.44);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chips button {
  padding: 0.5rem 0.75rem;
  color: rgba(17, 17, 18, 0.62);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-chips button.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.catalog-count {
  margin: 0;
  color: rgba(17, 17, 18, 0.52);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem) clamp(1rem, 2vw, 2rem);
  max-width: var(--max);
  margin: 0 auto;
}

.program-card {
  min-width: 0;
}

.program-poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #222;
  border: 0;
  aspect-ratio: 16 / 10;
  cursor: pointer;
}

.program-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.program-poster:hover img,
.program-poster:focus-visible img {
  transform: scale(1.035);
}

.play-chip.is-visible {
  width: 48px;
  height: 48px;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.program-copy {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.program-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.program-heading p {
  margin: 0;
  color: #9b661f;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.program-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-align: right;
}

.program-place {
  margin: 0.6rem 0 0;
  color: rgba(17, 17, 18, 0.52);
  font-size: 0.72rem;
}

.program-actions {
  justify-content: space-between;
}

.program-actions button:last-child[aria-pressed="true"] {
  color: #8a5514;
}

.watchlist-section {
  background: var(--paper-soft);
}

.empty-state {
  max-width: var(--max);
  margin: 2rem auto 0;
  color: rgba(17, 17, 18, 0.58);
  text-align: center;
}

.empty-state-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(3rem, 7vw, 6rem);
  border: 1px solid var(--line);
}

.empty-state-panel strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 400;
}

.empty-state-panel a {
  margin-top: 1rem;
  padding-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  border-bottom: 1px solid;
  text-transform: uppercase;
}

.search-dialog,
.detail-dialog {
  width: min(1120px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.search-dialog::backdrop,
.detail-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.search-shell {
  padding: clamp(1.5rem, 5vw, 4rem);
}

.search-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.search-heading h2,
.detail-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.dialog-close-dark {
  position: static;
  flex: 0 0 auto;
  color: var(--ink);
  background: transparent;
  border-color: rgba(17, 17, 18, 0.28);
}

.search-field {
  display: block;
  margin: 2.5rem 0 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.search-field input {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
}

.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
}

.search-result {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.search-result img {
  width: 100px;
  height: 64px;
  object-fit: cover;
}

.search-result > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.search-result strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.search-result small {
  color: rgba(17, 17, 18, 0.52);
  font-size: 0.63rem;
}

.detail-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: min(760px, calc(100vh - 2rem));
  color: var(--white);
  background: #111;
}

.detail-image {
  position: relative;
  min-height: 520px;
}

.detail-image img,
.detail-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-image img {
  object-fit: cover;
}

.detail-shade {
  background: linear-gradient(90deg, transparent 60%, #111 100%);
}

.detail-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.detail-meta span {
  padding: 0.3rem 0.5rem;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.detail-summary {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.detail-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: min(380px, calc(100vw - 3rem));
  padding: 1rem 1.2rem;
  color: var(--white);
  background: rgba(17, 17, 18, 0.96);
  border-left: 3px solid var(--amber);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  font-size: 0.82rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes content-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem;
  }

  .menu-toggle {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 6px;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 0;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .site-header.is-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: rgba(12, 12, 13, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav a {
    width: 100%;
    padding: 0.9rem 0;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .header-action {
    display: none;
  }

  .header-tools {
    grid-column: 2;
    grid-row: 1;
  }

  .section-heading,
  .collection-section,
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .section-intro {
    max-width: 600px;
  }

  .collection-section {
    min-height: 0;
  }

  .collection-stack {
    height: min(590px, 80vw);
    margin-top: 2rem;
  }

  .journal-section {
    grid-template-columns: 1fr;
  }

  .journal-image {
    min-height: 55vw;
    max-height: 650px;
  }

  .player-meta {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .continue-card,
  .detail-shell {
    grid-template-columns: 1fr;
  }

  .continue-image {
    min-height: min(58vw, 520px);
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-count {
    text-align: left;
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-image {
    min-height: min(58vw, 480px);
  }

  .detail-shade {
    background: linear-gradient(0deg, #111 0%, transparent 38%);
  }

  .detail-copy {
    margin-top: -5rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .hero {
    min-height: 880px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(8, 8, 9, 0.6), transparent 88%),
      linear-gradient(0deg, rgba(8, 8, 9, 0.9) 0%, rgba(8, 8, 9, 0.2) 70%);
  }

  .hero-content {
    width: calc(100% - 2 * var(--gutter));
    margin-bottom: 3.5rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.5rem);
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .scroll-cue {
    display: none;
  }

  .film-grid {
    grid-template-columns: 1fr;
  }

  .film-card-wide {
    margin-top: 0;
  }

  .film-copy {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .film-inline-actions {
    margin-top: 0.75rem;
  }

  .collection-stack {
    height: 460px;
  }

  .stack-card {
    width: 78%;
    height: 74%;
  }

  .journal-copy {
    padding: 4rem var(--gutter);
  }

  .statement-stats {
    grid-template-columns: 1fr;
  }

  .statement-stats > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form p {
    grid-column: auto;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    margin-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .player-meta {
    padding: 1.25rem;
  }

  .program-grid,
  .search-results {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    margin-bottom: 1.5rem;
  }

  .filter-chips {
    flex-wrap: nowrap;
    margin-right: calc(-1 * var(--gutter));
    padding-right: var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chips button {
    flex: 0 0 auto;
  }

  .continue-image {
    min-height: 62vw;
  }

  .continue-copy {
    padding: 2rem var(--gutter) 3rem;
  }

  .search-dialog,
  .detail-dialog {
    width: 100vw;
    max-height: 100dvh;
    margin: 0;
  }

  .search-shell {
    min-height: 100dvh;
  }

  .search-result {
    grid-template-columns: 78px 1fr auto;
  }

  .search-result img {
    width: 78px;
    height: 52px;
  }

  .detail-shell {
    min-height: 100dvh;
  }

  .detail-image {
    min-height: 58vh;
  }

  .detail-copy {
    margin-top: -7rem;
    padding: 2rem var(--gutter) 3rem;
  }

  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

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

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

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