:root {
  --bg: #0b0b0b;
  --fg: #ece9e2;
  --muted: #9a968e;
  --line: #262626;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }

html {
  background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* No elastic bounce past the top or bottom of the page. */
  overscroll-behavior: none;
  /* Scrolling works as normal; the scrollbar itself is hidden. */
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--fg); }
a:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }

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

.skip {
  position: absolute; left: -999px; top: 8px; padding: 8px 12px;
  background: var(--fg); color: var(--bg); z-index: 20;
}
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 2px 14px rgba(0,0,0,.45);
}
.site-header > a { white-space: nowrap; }
.site-header nav { display: flex; gap: 28px; }
@media (max-width: 480px) {
  .site-header { font-size: 11px; letter-spacing: .16em; }
  .site-header nav { gap: 18px; }
}
.site-header a { opacity: .85; padding: 12px 0; margin: -12px 0; }
.site-header a:hover { opacity: 1; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: end start; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.55) 100%);
}
.hero-text { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(40px, 8vh, 96px); max-width: 720px; }
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 6vw, 64px); font-weight: 300; letter-spacing: .18em; text-transform: uppercase; line-height: 1.05;
}
.hero .role { margin: 0 0 14px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg); opacity: .85; }
.hero .tagline { margin: 0; font-size: clamp(16px, 1.6vw, 20px); color: var(--fg); opacity: .9; max-width: 480px; }

/* Sections */
section, .page { padding: clamp(72px, 12vh, 140px) var(--gutter); scroll-margin-top: 8px; }
section:focus { outline: none; }
.wrap { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 680px; }

.eyebrow {
  margin: 0 0 28px; font-size: 12px; font-weight: 300; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.lede { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.45; margin: 0; }
p { margin: 0 0 1.2em; }
.muted { color: var(--muted); }

hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0 var(--gutter); }

/* Works list */
.works { display: grid; gap: clamp(48px, 8vh, 96px); }
.work { display: grid; gap: 20px; }
.work a.still { display: block; overflow: hidden; background: #111; }
.work a.still img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s ease, opacity .4s ease; }
.work a.still:hover img { transform: scale(1.02); }
.work .placeholder { aspect-ratio: 16 / 9; background: #111; display: grid; place-items: center; color: var(--muted); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.work h3 { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 300; letter-spacing: .02em; }
.work .meta { margin: 4px 0 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.work p { max-width: 640px; }
.work .more { display: inline-block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid var(--muted); padding: 12px 0 3px; margin-top: -12px; }
.work .more:hover { border-color: var(--fg); }

@media (min-width: 800px) {
  .work { grid-template-columns: 3fr 2fr; gap: 40px; align-items: end; }
}

/* Contact */
.contact-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 36px; }
.contact-links a { font-size: clamp(17px, 1.6vw, 20px); letter-spacing: .02em; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.contact-links a:hover { border-color: var(--fg); }

/* Film page */
.film-hero { min-height: 70svh; }
@media (max-width: 600px) { .hero img { object-position: 32% center; } .film-hero img { object-position: 50% center; } }

/* Text-only pages: Desiderium, 404 */
.text-page { padding-top: clamp(140px, 24vh, 240px); }
.text-page h1 { margin: 0 0 16px; font-size: clamp(30px, 5vw, 56px); font-weight: 300; letter-spacing: .06em; line-height: 1.05; }
.film-hero .hero-text h1 { letter-spacing: .06em; text-transform: none; font-size: clamp(30px, 5vw, 56px); }
.film-meta { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 32px; }
.synopsis { margin: 20px 0 0; color: var(--muted); max-width: 600px; }
.laurels img[data-square] { height: 110px; }
.film-meta span + span::before { content: "·"; margin: 0 10px; }
.laurels { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.laurels img { height: 96px; width: auto; opacity: .9; }
.laurels img[height="681"] { height: 120px; }
.credits { margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); }
.credits a { border-bottom: 1px solid var(--line); }
.credits a:hover { border-color: var(--fg); }
.credits li { margin-bottom: 6px; }

.video { aspect-ratio: 16 / 9; background: #111; max-width: var(--max); margin: 0 auto; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

.stills { display: grid; gap: 16px; }
.stills img { width: 100%; }
@media (min-width: 800px) {
  .stills { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stills .wide { grid-column: 1 / -1; }
}

.back { display: inline-block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding: 14px 0; margin: -14px 0; }
.back:hover { color: var(--fg); }

/* Footer */
.site-footer {
  padding: 40px var(--gutter); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work a.still img { transition: none; }
  .work a.still:hover img { transform: none; }
}
