:root {
  color-scheme: light;
  color: #22251f;
  background: #f6f5ef;
  font: 16px/1.6 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --dark: #191c18;
  --sand: #f1ede2;
  --olive: #555e41;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #8d6542; outline-offset: 4px; }
.wrap { width: min(100% - clamp(32px, 8vw, 144px), 1336px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 9; top: 10px; left: 10px; padding: 10px 16px; background: white; }

.masthead { color: var(--sand); background: var(--dark); }
.masthead-inner { display: flex; min-height: 76px; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.wordmark strong, .wordmark small { display: block; }
.wordmark strong { font-size: 18px; line-height: 1.3; letter-spacing: .08em; }
.wordmark small { margin-top: 2px; font: 600 8px/1.3 Arial, sans-serif; letter-spacing: .21em; }
.brand-mark { position: relative; display: block; width: 34px; height: 34px; border: 1px solid #cbbfa5; }
.brand-mark::before, .brand-mark::after { position: absolute; content: ""; background: #d7c6a8; }
.brand-mark::before { width: 23px; height: 1px; transform: rotate(-26deg); left: 5px; top: 15px; }
.brand-mark::after { width: 18px; height: 1px; transform: rotate(23deg); left: 8px; top: 19px; }
nav { display: flex; gap: clamp(16px, 3.3vw, 48px); font-size: 14px; white-space: nowrap; }
nav a { padding-block: 8px; color: #e6e1d5; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: 6px; }

.hero { position: relative; isolation: isolate; color: #fffdf6; background: #333e3b; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 55%; }
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #111b18d9 0%, #15201bb0 28%, #18251d12 70%), linear-gradient(0deg, #101712a0, transparent 32%);
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(492px, 61vw, 670px);
  padding-block: 82px;
}
.hero-copy { max-width: 540px; }
.hero-label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; letter-spacing: .12em; }
.hero-label span { width: 18px; height: 1px; background: currentColor; opacity: .7; }
.hero h1 { font-size: clamp(56px, 7.8vw, 108px); line-height: 1.08; font-weight: 770; letter-spacing: -.045em; }
.hero-summary { max-width: 365px; margin-top: 24px; font-size: 16px; line-height: 1.9; color: #f2eee4; }
.watch {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 31px;
  padding: 11px 20px;
  min-height: 48px;
  background: #f8f5ea;
  color: #21241e;
  font-size: 14px;
  font-weight: 650;
}
.watch:hover { background: white; }
.play { display: block; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.hero-caption { position: absolute; bottom: 27px; right: 0; text-align: right; font-size: 14px; line-height: 1.5; }
.hero-caption span { display: block; margin-top: 4px; color: #eee6d6; font-size: 11px; }

.catalog { padding-block: clamp(42px, 6vw, 91px) clamp(54px, 8vw, 111px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(32px, 4.1vw, 60px); line-height: 1.12; letter-spacing: -.045em; }
.section-head p { margin-top: 8px; color: #5e6155; font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  min-height: 42px;
  border: 1px solid #b9baab;
  background: transparent;
  padding: 5px 13px;
  font-size: 13px;
  white-space: nowrap;
}
.filters button:hover { border-color: var(--olive); background: #e9e9df; }
.filters button[aria-pressed="true"] { border-color: var(--olive); color: white; background: var(--olive); }
.film-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 33px 18px; }
.film { border-bottom: 1px solid #cecec1; }
.film > a { display: block; height: 100%; }
.frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #30392e; color: white; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.film a:hover img, .film a:focus-visible img { transform: scale(1.045); }
.frame .play { position: absolute; inset: auto auto 12px 14px; filter: drop-shadow(0 1px 3px #000a); }
.duration {
  position: absolute;
  inset: auto 9px 8px auto;
  padding: 3px 7px;
  background: #151813df;
  font: 13px/1.4 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
.film-text { padding: 13px 0 16px; }
.film-text p { margin-bottom: 4px; color: #5c6253; font-size: 12px; }
.film-text h3 { font-size: clamp(17px, 1.63vw, 24px); line-height: 1.4; letter-spacing: -.015em; }
.film a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }

footer { background: var(--dark); color: var(--sand); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: start; gap: 42px; padding-block: 43px 49px; }
.footer-inner p, .source-links a, .back-top { font-size: 13px; color: #d1cbbd; }
.footer-inner p { margin-top: 17px; max-width: 300px; }
.source-links { display: grid; gap: 7px; }
.source-links h2 { font-size: 15px; }
.source-links a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-top span { margin-left: 5px; }

.player {
  width: min(940px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  border: 1px solid #4d5144;
  padding: 0;
  background: var(--dark);
  color: var(--sand);
  overflow: auto;
  overscroll-behavior: contain;
}
body:has(.player[open]) { overflow: hidden; }
.player::backdrop { background: #11140ee0; }
.player-top { display: flex; min-height: 48px; align-items: center; justify-content: space-between; padding-inline: 18px 7px; }
.player-top p { font-size: 13px; }
.player-top button { border: 0; width: 42px; height: 42px; background: transparent; font-size: 26px; line-height: 1; }
.player-top button:hover { background: #ffffff19; }
.player video { display: block; width: 100%; max-height: 60vh; aspect-ratio: 16 / 9; background: #0c0d0b; }
.player-details { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 20px 24px 25px; }
.player-details h2 { font-size: clamp(23px, 3.8vw, 36px); line-height: 1.2; }
.player-details p { margin-top: 8px; max-width: 540px; font-size: 14px; color: #ddd8c9; }
.player-details .credit { font-size: 12px; }
.credit a, #player-error a { text-decoration: underline; text-underline-offset: 3px; }
.credit a + a { margin-left: 10px; }
#player-next { min-height: 42px; padding: 5px 13px; border: 1px solid #969886; background: transparent; white-space: nowrap; font-size: 13px; }
#player-next:hover { background: #ffffff19; }
#player-error { padding: 12px 24px 0; font-size: 14px; }

@media (max-width: 980px) {
  .film-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .masthead-inner { min-height: 65px; gap: 12px; }
  .wordmark strong { font-size: 16px; }
  .brand-mark { width: 32px; height: 32px; }
  nav { gap: 15px; font-size: 12px; }
  nav .source-nav { display: none; }
  .hero-inner { min-height: 470px; align-items: end; padding-block: 95px 58px; }
  .hero-image { object-position: 57% 50%; }
  .hero::after { background: linear-gradient(0deg, #111914f5 1%, #15201b85 48%, #15201b16 83%); }
  .hero h1 { font-size: clamp(48px, 13vw, 74px); }
  .hero-summary { margin-top: 17px; font-size: 14px; }
  .hero-label { margin-bottom: 13px; font-size: 12px; }
  .hero-caption { display: none; }
  .watch { margin-top: 24px; }
  .section-head { align-items: start; flex-direction: column; gap: 15px; margin-bottom: 19px; }
  .filters { gap: 5px; }
  .filters button { padding-inline: 9px; min-height: 38px; font-size: 12px; }
  .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 11px; }
  .film-text { padding-block: 9px 12px; }
  .film-text p { font-size: 11px; }
  .film-text h3 { font-size: 16px; }
  .footer-inner { grid-template-columns: repeat(2, auto); gap: 24px; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .back-top { justify-self: end; }
  .player-details { flex-direction: column; align-items: start; gap: 15px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .frame img { transition: none; }
}
