@font-face { font-family: "Archivo Black"; src: url('/artwork/archivo-black.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('/artwork/inter.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #131415;
  --panel: #1b1d20;
  --line: #323434;
  --warm: #cffb54;
  --ink: #f7f6ed;
  --muted: #b9babb;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 4px; }
.shell { width: min(90%, 1520px); margin-inline: auto; }
.bar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: clamp(125px, 27vw, 166px); height: auto; }
nav { display: flex; gap: clamp(12px, 3.2vw, 34px); align-items: center; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: var(--ink); white-space: nowrap; }
nav a:hover, nav a[aria-current] { color: var(--warm); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 19px; border-radius: 7px; border: 1px solid transparent; font-weight: 700; line-height: 1.2; text-align: center; }
.primary { background: var(--warm); color: #111; }
.primary:hover { background: #e0ff93; }
.outline { background: transparent; border-color: #ffffff36; }
.outline:hover { background: #ffffff10; }
.account { max-width: 10rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.hero { min-height: clamp(390px, 49vw, 730px); display: flex; align-items: center; isolation: isolate; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #080c15 url('/artwork/hero.webp') center / cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #070b13f3 0%, #0a101cd1 25%, #0b122042 66%, #080c151a); }
.hero-content { padding: clamp(28px, 5vw, 82px); }
.hero h1 { font-family: "Archivo Black", "Arial Black", Arial, sans-serif; font-style: italic; font-weight: 400; font-size: clamp(3.15rem, 9.4vw, 9rem); line-height: .88; letter-spacing: -.06em; margin: 0 0 14px; }
.hero h1 span, #catalog-title span { color: var(--warm); }
.hero h1 span { display: block; }
.eyebrow { color: var(--muted); font: 800 .78rem/1.5 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 4px; }
.hero .eyebrow { color: var(--warm); display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.hero .eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.07; }
h1 { font-size: clamp(3.4rem, 7.2vw, 7.1rem); letter-spacing: -.067em; margin-bottom: 20px; }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); letter-spacing: -.045em; margin-bottom: 14px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
p { line-height: 1.55; color: var(--muted); }
.hero-copy { max-width: 29rem; color: var(--ink); margin-bottom: 22px; }
.premiere-button { gap: 14px; padding: 0 22px; border-radius: 6px; }
.section { padding-block: 52px 60px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 0; }
#catalog-title { font-size: clamp(2rem, 5.4vw, 3.35rem); }
#collection h3 { font-size: clamp(1.3rem, 3.8vw, 1.7rem); margin-bottom: 16px; }
.film-count { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: .86rem ui-monospace, monospace; }
.store-pricing { margin: 24px 0 0; }
#library-list { margin-block: 20px; }
.premium-link { display: inline-block; padding-block: 14px; border-bottom: 1px solid var(--line); }
input, select, textarea { display: block; width: 100%; color: var(--ink); background: #131515; border: 1px solid #525454; border-radius: 7px; padding: 10px 12px; min-height: 44px; }
textarea { min-height: 90px; resize: vertical; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 22px; }
.empty { grid-column: 1 / -1; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 25px; }
.empty p:last-child, .empty > p:only-child { margin: 0; }
.tile { background: var(--panel); border: 1px solid var(--line); padding: 0; border-radius: 9px; overflow: hidden; text-align: left; }
.tile:hover { border-color: var(--warm); }
.art { display: grid; place-items: center; aspect-ratio: 16 / 9; color: #eed9c8; background: radial-gradient(ellipse at 80% 0, #77523e, transparent 65%), #2a3033; font-size: 2.8rem; font-weight: 800; object-fit: cover; width: 100%; }
.tile-body { display: grid; gap: 8px; padding: 15px; }
.tile-meta, .status { color: var(--muted); font-size: .9rem; }
.tile-price { color: var(--warm); font-weight: 700; }
.inner { padding-top: clamp(45px, 8vw, 100px); }
.inner h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
.premium-card, .panel { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: clamp(22px, 4vw, 48px); }
.premium-card { background: radial-gradient(ellipse at top right, #4b3327, transparent 65%), var(--panel); }
.membership-price { font-size: 2.5rem; font-weight: 800; color: var(--warm); margin-bottom: 8px; }
.membership-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.studio { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .checkbox { display: flex; align-items: center; gap: 8px; }
.checkbox input { width: 19px; height: 19px; min-height: 0; }
#owner-movies { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.footer { border-top: 1px solid var(--line); padding-block: 25px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.footer > :last-child { margin-left: auto; color: var(--muted); }
dialog { width: min(100% - 30px, 540px); max-height: 92dvh; border: 1px solid var(--line); border-radius: 15px; padding: 24px; background: #1b1d1d; color: var(--ink); }
dialog::backdrop { background: #050606ce; }
.dialog-heading { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.close, .text-button { background: transparent; border: 0; }
.close { min-width: 40px; min-height: 40px; font-size: 1.65rem; line-height: 1; }
.text-button { color: var(--warm); margin-top: 14px; padding: 6px 0; text-decoration: underline; }
#film-content .art { border-radius: 10px; margin-bottom: 14px; }
.watch-dialog { width: min(100% - 28px, 1050px); }
video { width: 100%; max-height: 70dvh; display: block; background: #000; }
.notice { position: fixed; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); padding: 12px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); box-shadow: 0 8px 30px #0007; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 720px) {
  .hero { background-position: 58% center; }
  .bar nav { font-size: .93rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .studio .section-heading { flex-wrap: wrap; }
  .studio { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }


.film-picker { display: grid; gap: 5px; margin-bottom: 12px; }
