:root {
  --bg: #0e0e0d;
  --surface: #171615;
  --ink: #f0ebe3;
  --muted: #8e887f;
  --line: #2a2826;
  --accent: #e07a55;
  --placeholder: #1c1c1c;
  --body: #c8c1b7;
  --header-bg: rgba(14,14,13,.85);
  --band: #181716;
  --band-ink: #f0ebe3;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Header ---------- */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
header.scrolled { background: var(--header-bg); backdrop-filter: blur(12px); border-color: var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; }
nav { display: flex; gap: 32px; font-size: 14px; }
nav a { color: var(--muted); transition: color .2s; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-top: 144px; padding-bottom: 64px; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 9vw, 128px); line-height: .95; letter-spacing: -.02em;
  margin: 20px 0 28px;
}
.hero h1 em { color: var(--accent); }
.hero-meta { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-meta p { max-width: 460px; margin: 0; color: var(--muted); font-size: 17px; }

.reel {
  position: relative; width: 100%; aspect-ratio: 2.39 / 1; overflow: hidden;
  background: var(--placeholder); color: #fff;
}
.reel img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1.2s ease, opacity .4s; }
.reel:hover img { transform: scale(1.03); opacity: .65; }
.reel::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.reel-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase; z-index: 1;
}
.play {
  width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7);
  display: grid; place-items: center; transition: transform .3s, background .3s;
}
.reel:hover .play { transform: scale(1.08); background: rgba(255,255,255,.12); }
.play svg { margin-left: 4px; }

/* ---------- Work ---------- */
section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1; margin: 8px 0 0; }


.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
.grid.grid-small { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.grid-small .project h3 { font-size: 21px; }
.subhead { margin-top: 112px; padding-top: 48px; border-top: 1px solid var(--line); }

/* Featured project: full-width card with text beside the image */
.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center;
  padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.featured h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; margin: 12px 0 8px; }
.featured .tag { margin: 0; }
.featured .role { color: var(--muted); font-size: 14px; }
.featured p { color: var(--body); margin: 20px 0 0; }
.featured p.note { color: var(--muted); font-size: 14px; margin-top: 12px; }
.featured-link { display: inline-block; margin-top: 20px; font-size: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.featured-link:hover { color: var(--accent); border-color: var(--accent); }
.project { text-align: left; width: 100%; }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--placeholder); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .4s; filter: grayscale(.25); }
.project:hover .thumb img { transform: scale(1.04); filter: grayscale(0); }
.thumb::after {
  content: "Watch"; position: absolute; left: 16px; bottom: 16px; color: #fff;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 3px; border-bottom: 1px solid var(--accent);
  opacity: 0; transform: translateY(6px); transition: all .3s;
}
.project:hover .thumb::after { opacity: 1; transform: none; }
.project-info { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
.project h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 0; transition: color .3s; }
.project:hover h3 { color: var(--accent); }

/* ---------- Behind the scenes ---------- */
#bts { padding-top: 0; }
.bts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bts-grid figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--placeholder); }
.bts-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.bts-grid figure:hover img { transform: scale(1.04); }
.bts-grid figure.feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ---------- Interviews ---------- */
#interviews { padding-top: 0; }
.interview-group + .interview-group { margin-top: 48px; }
.interview-group > .eyebrow { margin-bottom: 16px; }
.interview-group .group-note { margin: -8px 0 16px; max-width: 620px; font-size: 15px; color: var(--muted); }
.interview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.interview-grid figure { margin: 0; }
.interview-grid .frame { aspect-ratio: 16 / 9; overflow: hidden; background: var(--placeholder); }
.interview-grid img { width: 100%; height: 100%; object-fit: cover; }
.interview-grid figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.project .role { color: var(--muted); font-size: 14px; margin-top: 4px; }
.project .year { color: var(--muted); font-size: 14px; white-space: nowrap; }
.project .tag { display: inline-block; margin-top: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ---------- About ---------- */
#about { border-top: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.portrait { aspect-ratio: 4 / 5; background: var(--placeholder); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.about h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 8px 0 24px; }
.about p { color: var(--body); margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.facts span { font-size: 13px; color: var(--muted); }

/* ---------- Recognition ---------- */
#recognition { background: var(--band); color: var(--band-ink); }
#recognition .eyebrow { color: #9a9a9a; }
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.awards li { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; border-top: 1px solid #2c2c2c; }
.awards .film { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #d9826f; }
.awards .award { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.awards .detail { font-size: 15px; color: #9a9a9a; max-width: 440px; }
.awards li.has-photo { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.awards .award-text { display: flex; flex-direction: column; gap: 10px; }
.award-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #1c1c1c; }
.award-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.clients { margin-top: 64px; }
.client-list { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 20px; font-family: var(--serif); font-size: 28px; color: #cfcfcf; }

/* ---------- Contact ---------- */
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 8vw, 112px); line-height: .95; letter-spacing: -.02em; margin: 16px 0 40px; }
.contact h2 a { border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.contact h2 a:hover { color: var(--accent); border-color: var(--accent); }
.contact-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-cols p { margin: 6px 0 0; font-size: 15px; }
.contact-cols a:hover { color: var(--accent); }

footer { padding: 32px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Video modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.94);
  display: none; align-items: center; justify-content: center; padding: var(--gutter);
}
.modal.open { display: flex; }
.modal-inner { width: min(1200px, 100%); }
.modal-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-empty {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: #8a8a8a; font-size: 14px; padding: 24px;
}
.modal-caption { display: flex; justify-content: space-between; gap: 16px; color: #fff; margin-top: 16px; }
.modal-caption h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0; }
.modal-caption p { margin: 0; color: #9a9a9a; font-size: 14px; }
.close {
  position: absolute; top: 20px; right: var(--gutter); color: #fff; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1024px) {
  .grid.grid-small { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  .bts-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .bts-grid figure.feature { grid-row: span 1; aspect-ratio: 16 / 9; }
  .bts-grid figure:last-child { grid-column: span 2; }
  .interview-grid { grid-template-columns: 1fr; }
  nav { gap: 20px; }
  nav a.hide-sm { display: none; }
  .hero { padding-top: 112px; }
  .reel { aspect-ratio: 16 / 9; }
  section { padding: 72px 0; }
  .grid, .grid.grid-small { grid-template-columns: 1fr; gap: 40px; }
  .subhead { margin-top: 72px; padding-top: 40px; }
  .featured { grid-template-columns: 1fr; gap: 20px; padding-bottom: 40px; }
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .awards { grid-template-columns: 1fr; }
  .awards li.has-photo { grid-template-columns: 112px 1fr; gap: 16px; }
  .contact-cols { grid-template-columns: 1fr; gap: 24px; }
  .client-list { font-size: 22px; gap: 12px 32px; }
}

/* ---------- Multi-page layout ---------- */
main { flex: 1; }
/* first section on About / Contact clears the fixed header */
main > section:first-child { padding-top: 160px; border-top: 0; }
@media (max-width: 800px) {
  main > section:first-child { padding-top: 120px; }
}

/* One-line story summary under a film's title */
.project .logline { margin: 8px 0 0; max-width: 46ch; font-size: 14px; line-height: 1.5; color: var(--body); }

