:root { color-scheme: light; --ink: #101010; --gutter: 10px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Baskerville, "Baskerville Old Face", "Times New Roman", serif; font-size: 15px; line-height: 1.4; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip-link { position: absolute; left: 16px; top: -80px; padding: 10px; background: white; z-index: 5; }
.skip-link:focus { top: 12px; }
.masthead { text-align: center; padding: 72px 20px 23px; }
h1, h2, .section-label, .footer-name, .film-title { font-family: Futura, "Century Gothic", "Avenir Next", Arial, sans-serif; font-weight: 500; text-transform: uppercase; }
h1 { font-size: 16px; line-height: 1.4; letter-spacing: 3.5px; margin: 0 0 10px; }
nav { display: flex; align-items: center; justify-content: center; gap: 16px; color: #707070; line-height: 1.4; }
nav a { padding: 5px 0; transition: color .15s; }
nav a:hover, nav a[aria-current] { color: #111; }
nav span { color: #aaa; }
.film-grid { margin: 0 1.125%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.film { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eee; }
.film img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
/* Match the archival stills' lifted shadows to the richer monochrome work above.
   Grade only the presentation; the original film-frame pixels remain intact. */
.film[data-film="auld-archie"] img { filter: contrast(1.66) brightness(.97); }
.film[data-film="outline"] img { filter: contrast(1.7) brightness(1.01); }
.film[data-film="whispering-palms"] img { filter: contrast(1.4) brightness(1.01); }
.film[data-film="the-great-outdoors"] img { filter: contrast(1.4) brightness(.95); }
.film-title { position: absolute; inset: 0; display: grid; place-items: center; padding: 22px; color: white; background: #0005; font-size: 17px; line-height: 1.5; letter-spacing: 3px; text-align: center; opacity: 0; transition: opacity .25s; }
.film:hover .film-title, .film:focus-visible .film-title { opacity: 1; }
.biography { margin: 76px 1.125% 0; padding-bottom: 110px; }
.section-label { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 13px; letter-spacing: 3px; text-align: center; }
.section-label::before, .section-label::after { content: ""; height: 1px; background: #777; flex: 1; }
.bio-copy { max-width: 610px; margin: 28px auto 0; text-align: center; padding-inline: 8px; }
.bio-copy p { margin: 0 0 17px; color: #555; }
footer { border-top: 1px solid #777; margin: 0 1.125%; padding: 28px 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13.5px; }
.footer-name { margin: 0; font-size: 12px; letter-spacing: 3px; }
footer a { text-decoration: underline; text-underline-offset: 3px; }
.profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.film-dialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; padding: 76px 7vw 30px; border: 0; background: rgba(255,255,255,.98); color: #111; overflow-y: auto; }
.film-dialog::backdrop { background: #fff; }
body:has(.film-dialog[open]) { overflow: hidden; }
.close-film { position: fixed; top: 18px; right: 24px; width: 44px; height: 44px; background: transparent; border: 0; font: 38px/1 Arial, sans-serif; cursor: pointer; z-index: 2; }
.player-wrap { width: min(100%, 1280px); margin: 0 auto; aspect-ratio: 16 / 9; background: #000; }
.player-wrap iframe { display: block; border: 0; width: 100%; height: 100%; }
.player-caption { width: min(100%, 1280px); margin: 20px auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.player-caption h2 { font-size: 14px; letter-spacing: 3px; margin: 0; }
.original-link { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (hover: none) {
  .film-title { inset: auto 0 0; min-height: 48px; padding: 18px 12px 12px; opacity: 1; font-size: 11px; letter-spacing: 2px; background: linear-gradient(transparent, #0009); place-items: start; }
}
@media (max-width: 600px) {
  :root { --gutter: 8px; }
  .masthead { padding: 46px 20px 23px; }
  h1 { font-size: 15px; letter-spacing: 3px; }
  nav { font-size: 15px; gap: 15px; }
  .film-grid { margin-inline: 12px; grid-template-columns: minmax(0, 1fr); }
  .film-title { inset: auto 0 0; min-height: 48px; padding: 18px 12px 12px; opacity: 1; font-size: 11px; letter-spacing: 2px; background: linear-gradient(transparent, #0009); place-items: start; }
  .biography { margin: 52px 12px 0; padding-bottom: 65px; }
  .bio-copy { margin-top: 30px; padding-inline: 12px; font-size: 16px; line-height: 1.5; }
  footer { margin-inline: 12px; padding: 26px 12px 32px; flex-direction: column; gap: 16px; }
  .film-dialog { padding: 90px 12px 30px; }
  .close-film { right: 10px; }
  .player-caption { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
