:root { color-scheme: dark; }
html:has(.director-page) { background: var(--charcoal); }
html:has(.watch-page), body.watch-page { background: var(--black); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--charcoal); color: var(--white); font: 25px var(--font-sans); }
a { color: inherit; text-decoration: none; transition: color var(--hover-duration) ease; }
button { padding: 0; border: 0; border-radius: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cream); outline-offset: 5px; }
.site-header { position: fixed; inset: 0 0 auto; height: var(--header-height); z-index: 100; pointer-events: none; }
.site-header a, .site-header button { pointer-events: auto; }
.brand { position: absolute; top: 17.33px; left: var(--page-gutter); width: 175px; }
.brand svg { display: block; width: 100%; height: auto; fill: var(--white); transition: fill var(--hover-duration) ease; }
.brand:hover svg { fill: var(--red); }
.menu-toggle { position: absolute; top: 9px; right: 9px; width: 48px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; z-index: 1; }
.menu-bar { display: block; width: 22px; height: 2px; background: var(--white); transition: transform .3s ease, opacity .3s ease; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#site-menu { position: absolute; right: 66px; top: 21px; display: flex; gap: 0; font-size: 14px; font-weight: bold; text-transform: uppercase; line-height: 24px; opacity: 0; visibility: hidden; transform: translateX(33px); clip-path: inset(0 0 0 100%); transition: transform .3s ease, clip-path .3s ease, opacity .3s ease, visibility 0s .3s; }
.menu-toggle[aria-expanded="true"] + #site-menu { opacity: 1; visibility: visible; transform: translateX(0); clip-path: inset(0); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { #site-menu, .menu-bar { transition: none; } a, .brand svg { transition: none !important; } }
#site-menu a { padding: 0 20px; border-right: 4px solid var(--white); }
#site-menu a:first-child { border-left: 4px solid var(--white); }
@media (min-width: 768px) {
  #site-menu a:first-child { padding-left: 22px; }
  #site-menu a:last-child { padding-right: 22px; }
}
#site-menu a:hover { color: var(--red); }
.hero { position: fixed; inset: 0; display: block; }
.hero video, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero img { transition: opacity .25s ease; }
@media (hover: hover) { .hero.is-playing:hover img { opacity: 0; } }
@media (hover: none) { .hero.is-playing img { opacity: 0; } }
.director-bottom { position: fixed; inset: auto 0 0; pointer-events: none; }
.director-heading { width: 75%; padding: 0 0 50px 50px; }
h1 { margin: 0 0 0 -5px; padding-bottom: 10px; color: var(--red); font: 700 clamp(70px, 8vw, 80px)/1 var(--font-heading); text-transform: uppercase; }
h2 { margin: 0; color: var(--cream); font: 700 clamp(30px, 3vw, 60px)/1 var(--font-heading); }
.director-heading .hero-film { margin: 4px 0 0; color: var(--cream); font: 700 clamp(30px, 3vw, 60px)/1.1 var(--font-heading); overflow-wrap: anywhere; }
.director-heading .hero-film span { font-weight: 400; }
.director-heading .hero-director { margin: 0 0 0 -5px; padding: 0; color: var(--red); font: 700 clamp(70px, 8vw, 80px)/1 var(--font-heading); text-transform: uppercase; overflow-wrap: anywhere; }
.bio-link { padding-top: 18px; font-size: 14px; line-height: normal; font-weight: 400; }
.bio-open { display: inline-flex; align-items: center; min-height: 44px; pointer-events: auto; color: var(--cream); white-space: nowrap; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.bio-open:hover, .bio-open:focus-visible { color: var(--red); }
.spot-reel { position: relative; }
.strip-arrow { position: absolute; top: 50%; transform: translateY(-50%); transition: transform .18s ease; z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--white); pointer-events: auto; }
@media (hover: hover) { .strip-arrow:hover { transform: translateY(-50%) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .strip-arrow { transition: none; } .strip-arrow:hover { transform: translateY(-50%); } }
.strip-arrow svg { width: 20px; height: 28px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.strip-prev { left: 14px; }
.strip-next { right: 14px; }
.spot-strip { display: flex; overflow-x: auto; width: 100%; padding-bottom: 10px; margin-bottom: -13px; scrollbar-width: none; scroll-behavior: smooth; pointer-events: auto; }
.spot-strip::-webkit-scrollbar { display: none; }
.director-card { position: relative; flex: 0 0 400px; overflow: hidden; }
.director-card img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity .3s ease; }
.director-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.director-card .spot-label { position: absolute; z-index: 2; left: 20px; right: 20px; top: 20px; color: var(--cream); font: 900 20px var(--font-sans); pointer-events: none; }
.director-card .spot-name { font-weight: 400; }
@media (hover: hover) { .director-card.is-previewing img { opacity: 0; } }
.bio-backdrop { position: fixed; inset: 0; z-index: 9998; }
.bio-tray { position: fixed; inset: auto 0 0; height: 50vh; background: var(--red); z-index: 9999; transform: translateY(100%); transition: transform .4s ease; display: flex; }
.bio-tray.open { transform: translateY(0); }
.bio-inner { width: 100%; padding: 64px 50px 50px; display: flex; flex-direction: column; height: 100%; position: relative; }
.bio-tray-close { position: absolute; top: 8px; min-width: 44px; min-height: 44px; right: 50px; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; z-index: 10; }
.bio-layout { overscroll-behavior: contain; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 60px; flex: 1; min-height: 0; overflow-y: auto; }
.bio-content { flex: 1; column-count: 2; column-gap: 40px; font-size: 15px; line-height: 1.6; }
.bio-content p { margin: 0 0 1em; }
.bio-content p:last-child { margin-bottom: 0; }
.bio-image { width: 300px; flex-shrink: 0; }
.bio-image img { width: 100%; height: auto; display: block; }
.film-director { display: flex; align-items: center; min-height: 44px; margin-bottom: 12px; font-size: clamp(18px, 1.8vw, 24px); }
.film-director:hover, .watch-navigation a:hover { color: var(--red); }
.watch-page .site-header { position: relative; }
.watch-main { min-height: calc(100vh - var(--header-height)); min-height: calc(100svh - var(--header-height)); display: flex; align-items: center; justify-content: center; padding: 30px 0 40px; }
.watch-film { width: min(calc(100% - 96px), 1600px); }
.watch-player { aspect-ratio: 16 / 9; background: var(--black); }
.watch-player iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--black); color-scheme: normal; }
.watch-caption { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 12px; }
.watch-title { margin: 0; padding: 0; min-width: 0; color: var(--cream); font: 700 clamp(18px, 1.8vw, 28px)/1.2 var(--font-sans); text-transform: none; overflow-wrap: anywhere; }
.watch-navigation { display: flex; flex: none; gap: 8px; margin-left: auto; }
.watch-navigation a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 40px; line-height: 1; }
@media (max-width: 767px) {
  .watch-film { width: 100%; }
  .watch-caption, .watch-page .film-director { padding-left: 16px; padding-right: 16px; }
  .watch-caption { gap: 12px; }
}
@media (max-width: 1100px) {
  .bio-tray { height: 70vh; height: 70dvh; }
  .bio-tray-close { right: 25px; }
  .bio-inner { padding: 65px 25px 25px; min-height: 0; }
  .bio-content { column-count: 1; }
  .bio-layout { flex-direction: column; gap: 10px; }
  .bio-image { width: 100%; max-width: 250px; }
  .director-heading { padding: 0 0 25px 25px; }
  .director-card { flex-basis: 320px; height: 180.40625px; }
}
@media (max-width: 767px) {
  .brand { top: 12.33px; }
  .menu-toggle { top: 3.5px; right: 11.5px; }
  .site-header { pointer-events: auto; }
  .site-header:has(.menu-toggle[aria-expanded="true"]) { background: rgb(49 48 47 / .95); }
  #site-menu { top: var(--header-height); left: 0; right: 0; transform: none; flex-direction: column; gap: 0; padding: 16px 20px 4px; border-top: 1px solid rgb(255 254 238 / .2); border-top: 1px solid color-mix(in srgb, var(--white) 20%, transparent); background: rgb(49 48 47 / .95); }
  #site-menu a, #site-menu a:first-child { padding: 12px 0; border: 0; border-bottom: 1px solid rgb(255 254 238 / .2); border-bottom: 1px solid color-mix(in srgb, var(--white) 20%, transparent); }
  #site-menu a:last-child { border-bottom: 0; }
  .hero.is-playing img { opacity: 0; }
  .director-heading { width: 100%; padding: 0 0 20px 20px; }
  .bio-tray { height: 60vh; }
  .bio-image { max-width: 200px; }
  .director-page .site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--header-height); background: rgb(49 48 47 / .8); opacity: var(--header-opacity, 0); transition: opacity .2s ease; }
  .director-page main { display: grid; grid-template-columns: minmax(0, 1fr); }
  .director-page .hero { position: relative; grid-area: 1 / 1; height: auto; min-height: 100vh; min-height: 100svh; background: var(--charcoal); }
  .director-page .director-bottom { display: contents; }
  .director-page .director-heading { grid-area: 1 / 1; align-self: end; z-index: 1; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(transparent, rgb(0 0 0 / .65)); }
  .director-page .spot-reel { grid-area: 2 / 1; }
  .strip-arrow { display: none; }
  .director-page .hero-director { font-size: clamp(48px, 12vw, 70px); }
  .director-page .spot-strip { flex-direction: column; gap: 0; overflow: visible; margin: 0; padding: 0; background: var(--charcoal); }
  .director-page .director-card { flex: none; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .director-page .director-card .spot-label { inset: 0 0 auto; padding: 16px; background: linear-gradient(rgb(0 0 0 / .65), transparent); }
  .director-page .bio-inner { padding-top: 60px; }
  .director-page .bio-tray { visibility: hidden; }
  .director-page .bio-tray.open { visibility: visible; }
}

/* Shared navigation works before JavaScript enhances it. */
.site-header:not(.nav-ready) { background: var(--charcoal); }
.site-header:not(.nav-ready) .menu-toggle { display: none; }
.site-header:not(.nav-ready) #site-menu { visibility: visible; opacity: 1; transform: none; clip-path: none; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 10001; padding: 12px; background: var(--charcoal); }
.skip-link:focus { top: 12px; }

@media (min-width: 768px) and (max-width: 1100px) {
  .director-heading { width: 95%; }
  .director-heading .hero-director { font-size: clamp(48px, 6.5vw, 64px); }
  .watch-film { width: calc(100% - 64px); }
  .bio-layout { flex-direction: row-reverse; gap: 25px; }
  .bio-image { width: 30%; }
}
@media (max-width: 1100px), (pointer: coarse) {
  #site-menu { top: 11px; }
  #site-menu a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 767px) {
  #site-menu { top: var(--header-height); }
  .site-header:not(.nav-ready) #site-menu { display: flex; }
}
@media (max-height: 600px) {
  .director-page main { display: grid; grid-template-columns: minmax(0, 1fr); }
  .director-page .hero { position: relative; grid-area: 1 / 1; min-height: 440px; }
  .director-page .director-bottom { display: contents; }
  .director-page .director-heading { grid-area: 1 / 1; align-self: end; z-index: 1; width: 100%; padding: 100px 25px 25px; background: linear-gradient(transparent, rgb(0 0 0 / .65)); }
  .director-page .hero-director { font-size: clamp(40px, 6vw, 64px); }
  .director-page .spot-reel { grid-area: 2 / 1; }
  .watch-main { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .bio-tray, .hero img, .director-card img { transition: none; }
  .spot-strip { scroll-behavior: auto; }
  .hero img, .director-card img { opacity: 1 !important; }
}

@media (max-width: 1100px) {
  .watch-main { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
}

.watch-page .site-header,
.watch-page .site-header:has(.menu-toggle[aria-expanded="true"]),
.watch-page #site-menu,
.watch-page .skip-link { background: var(--black); }
