:root {
  color-scheme: dark;
  --background: #121614;
  --surface: #1d2420;
  --text: #f6f7ee;
  --muted: #b7c3b9;
  --accent: #d3fb97;
  --line: #3a453c;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--background); line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, video:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
img { display: block; max-width: 100%; }
.shell { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.skip { position: fixed; z-index: 3; left: 1rem; top: 1rem; translate: 0 -200%; padding: .7rem 1rem; background: var(--surface); }
.skip:focus { translate: 0; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.15rem; font-weight: 720; white-space: nowrap; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; background: var(--accent); border-radius: .4rem; }
.brand-mark::before, .play { content: ""; display: block; width: 0; height: 0; border-block: .33rem solid transparent; border-left: .49rem solid currentColor; }
.brand-mark::before { color: #141a12; margin-left: .1rem; }
nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
nav a, .footer-inner > a:last-child, .back { font-size: .95rem; color: var(--muted); text-decoration: none; }
nav a:hover, .footer a:hover, .back:hover { color: var(--text); text-decoration: underline; }
.home { padding-block: 2rem 4rem; }
.feature { position: relative; min-height: min(65vw, 34rem); display: flex; align-items: end; border-radius: 1rem; overflow: hidden; background: #28362c; }
.feature-art, .feature::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-art { object-fit: cover; object-position: 58% center; }
.feature::after { content: ""; background: linear-gradient(90deg, #0e1813 0%, #0e1813ef 20%, #101a1185 58%, transparent 85%), linear-gradient(0deg, #101a11b0, transparent 50%); }
.feature-copy { position: relative; z-index: 1; max-width: 38rem; padding: clamp(1.5rem, 5vw, 4rem); }
.eyebrow { font-size: .88rem; font-weight: 730; text-transform: uppercase; letter-spacing: .085em; color: var(--accent); }
.feature h1, .watch h1, .article h1 { font-weight: 750; letter-spacing: -.045em; }
.feature h1 { font-size: clamp(2.7rem, 6.8vw, 6.2rem); margin-block: .65rem .85rem; line-height: .98; }
.feature-meta { font-weight: 640; margin-bottom: .6rem; }
.feature-copy > p:not(.feature-meta, .eyebrow) { max-width: 26rem; color: #e1ede3; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 2.85rem; padding: .63rem 1.15rem; border-radius: .45rem; font-weight: 700; text-decoration: none; }
.primary { background: var(--accent); color: #151b12; }
.primary:hover { background: #e4ffb8; }
.secondary { border: 1px solid var(--line); color: var(--text); }
.secondary:hover { background: var(--surface); }
.feature .button { margin-top: 1.45rem; }
.catalogue { padding-top: clamp(2.1rem, 6vw, 3.7rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.028em; }
.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: 1.2rem; }
.card-link { display: block; text-decoration: none; }
.card-art { position: relative; overflow: hidden; border-radius: .65rem; background: var(--surface); }
.card-art img { aspect-ratio: 16/9; width: 100%; height: auto; object-fit: cover; transition: transform .2s ease; }
.card-link:hover img { transform: scale(1.025); }
.card-art span { position: absolute; right: .65rem; bottom: .65rem; background: #101614e8; padding: .15rem .52rem; border-radius: .25rem; font-size: .85rem; }
.film-card h3 { font-size: 1.2rem; margin-top: .75rem; }
.film-card p { margin-top: .2rem; color: var(--muted); }
.watch { padding-block: 1.75rem 4rem; max-width: 66rem; }
.watch-heading { margin-block: 1.25rem; }
.watch h1, .article h1 { font-size: clamp(2.25rem, 6vw, 4.2rem); margin-block: .4rem .6rem; }
.watch-heading > p:last-child { color: var(--muted); }
video { display: block; width: 100%; aspect-ratio: 16/9; border-radius: .8rem; background: #0a0e0b; }
.player-frame { position: relative; }
.video-start { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; display: grid; place-items: center; width: 4.65rem; height: 4.65rem; border: 0; border-radius: 50%; background: var(--accent); color: #151b12; box-shadow: 0 4px 25px #07100bc0; cursor: pointer; }
.video-start:hover { background: #e4ffb8; }
.video-start .play { margin-left: .22rem; border-block-width: .68rem; border-left-width: 1.05rem; }
.player-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; padding-block: .95rem; border-bottom: 1px solid var(--line); }
.quality { display: flex; gap: .65rem; align-items: center; }
.quality label, .estimate label { color: var(--muted); font-size: .95rem; font-weight: 620; }
.select-wrap { position: relative; }
.select-wrap::after { position: absolute; content: ""; right: .9rem; top: 43%; width: .4rem; height: .4rem; border: solid var(--accent); border-width: 0 2px 2px 0; rotate: 45deg; pointer-events: none; }
select, input { appearance: none; min-height: 2.75rem; border: 1px solid var(--line); color: var(--text); background: var(--background); border-radius: .4rem; font: inherit; }
select { padding: .4rem 2rem .4rem .7rem; }
input { width: 5rem; padding: .3rem .55rem; }
#player-message { width: 100%; color: #ffbfac; }
.watch-details { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(1.1rem, 4vw, 3rem); margin-top: 1.8rem; }
.watch-details h2 { margin-bottom: .65rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .24rem .9rem; margin-block: 1rem; }
.facts dt, .credits { color: var(--muted); }
.facts dd { margin: 0; }
.credits { font-size: .9rem; }
.data-panel { background: var(--surface); border: 1px solid var(--line); border-radius: .65rem; padding: 1.2rem; }
.data-panel h2 { font-size: 1.25rem; }
.data-value { color: var(--accent); font-size: 1.8rem; font-weight: 730; }
.estimate { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-block: .9rem; }
.data-panel .credits { margin-top: .65rem; }
.article { max-width: 48rem; padding-block: 3rem 4rem; }
.article h2 { margin-block: 1.8rem .6rem; }
.article > .button { margin-top: 1.3rem; }
.article li + li { margin-top: .45rem; }
.footer { border-top: 1px solid var(--line); background: #151a17; }
.footer-inner { min-height: 5rem; font-size: .9rem; color: var(--muted); }
.footer .brand { color: var(--text); }

@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .home { padding-top: 1rem; }
  .feature { min-height: 31rem; }
  .feature-art { object-position: center top; height: 68%; }
  .feature::after { background: linear-gradient(0deg, #101912 5%, #101912 28%, #101912c7 52%, transparent 80%); }
  .feature-copy { padding: 1.25rem; }
  .watch-details { grid-template-columns: 1fr; }
  .footer-inner > span { display: none; }
}

@media (max-width: 26rem) {
  .header-inner { gap: .55rem; }
  nav { gap: .75rem; }
  nav a { font-size: .85rem; }
  .film-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-art img { transition: none; }
}
