/* David Sutherland Productions — site styles
   Dark ground, a serif for titles (Newsreader), a clean sans for everything else (Instrument Sans).
   One accent: aged brass, used only where the eye needs a cue. */
:root {
  --ground: #1b1612;
  --raised: #262019;
  --paper: #ece4d6;
  --paper-dim: #c9bfae;
  --mute: #9a8f80;
  --rule: #3b322a;
  --brass: #c9a961;
  --brass-dim: #a3894f;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 66ch;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--paper); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; font-feature-settings: "kern"; }
img, picture, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--brass-dim); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 0.6em; }
p { margin: 0 0 1em; }
small { font-size: 0.85em; }
.muted { color: var(--mute); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: #1b1612; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.top { max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter) 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { text-decoration: none; display: inline-flex; align-items: baseline; gap: 10px; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.top nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 28px); flex-wrap: wrap; }
.top nav a { text-decoration: none; font-size: 0.95rem; color: var(--paper-dim); padding: 4px 0; border-bottom: 1px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { color: var(--paper); border-bottom-color: var(--brass); }
.menu { display: none; background: none; border: 1px solid var(--rule); color: var(--paper); font: inherit; padding: 6px 12px; border-radius: 3px; }
@media (max-width: 720px) {
  .top { align-items: center; }
  .menu { display: inline-block; }
  .top nav { display: none; flex-basis: 100%; }
  .top nav.open { display: block; }
  .top nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--rule); margin-top: 12px; }
  .top nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
}
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 48px; }

/* buttons */
.button { display: inline-block; background: var(--brass); color: #1b1612; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 3px; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.button:hover { background: #d9b96f; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 5vw, 64px) 0 clamp(32px, 5vw, 64px); border-top: 1px solid var(--rule); margin-top: 10px; }
.hero-kicker { color: var(--mute); font-size: 0.92rem; margin-bottom: 1.2em; }
.hero-title { font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.4rem); font-style: italic; font-weight: 300; line-height: 0.98; letter-spacing: -0.02em; margin: 0 0 0.35em; text-wrap: balance; }
.hero-title a { text-decoration: none; }
.hero-line { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); line-height: 1.35; color: var(--paper-dim); max-width: 30ch; margin-bottom: 1.6em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .hero-media { order: -1; } }

/* video facade */
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--rule); overflow: hidden; }
.player picture, .player img { width: 100%; height: 100%; object-fit: cover; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; inset: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; font: inherit; padding: 0; }
.play-ring { width: 72px; height: 72px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); display: grid; place-items: center; background: rgba(27,22,18,.55); transition: background .15s, transform .15s; }
.play-ring svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.play:hover .play-ring { background: var(--brass); border-color: var(--brass); transform: scale(1.04); }
.play:hover .play-ring svg { fill: #1b1612; }
.play-label { font-size: 0.95rem; letter-spacing: 0.02em; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.player noscript a { position: absolute; bottom: 12px; left: 12px; color: #fff; }
.embed { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--rule); margin: 0 0 1.5rem; }
.embed iframe { width: 100%; height: 100%; border: 0; }

/* claim */
.claim { border-top: 1px solid var(--rule); padding: clamp(32px, 5vw, 64px) 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.claim blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.22; font-weight: 300; text-wrap: balance; }
.claim blockquote p { margin: 0 0 0.5em; }
.claim cite { font-family: var(--sans); font-style: normal; font-size: 0.9rem; color: var(--mute); }
.claim-text { color: var(--paper-dim); max-width: 52ch; margin: 0.4em 0 0; }
@media (max-width: 820px) { .claim { grid-template-columns: 1fr; } }

/* section heads */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--rule); padding-top: 22px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--paper-dim); font-size: 0.95rem; white-space: nowrap; }

/* filmstrip */
.strip-section { padding-bottom: clamp(24px, 4vw, 48px); }
.strip { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.strip li { flex: 0 0 min(280px, 72vw); scroll-snap-align: start; }
.strip a { text-decoration: none; display: block; }
.strip picture { aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--rule); background: var(--raised); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip span { display: block; font-family: var(--serif); font-size: 1.15rem; margin-top: 10px; line-height: 1.2; }
.strip small { color: var(--mute); }
.strip a:hover span { color: var(--brass); }

/* news lists */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; }
.news-list li { border-top: 1px solid var(--rule); padding-top: 14px; }
.news-list time { display: block; color: var(--mute); font-size: 0.85rem; margin-bottom: 6px; }
.news-list a { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; text-decoration: none; display: block; margin-bottom: 8px; }
.news-list a:hover { color: var(--brass); }
.news-list p { color: var(--paper-dim); margin: 0; font-size: 0.95rem; }
.news-list.long { grid-template-columns: 1fr; max-width: 760px; gap: 8px; }
.news-list.long li { padding: 18px 0; }

/* page heads */
.page-head { border-top: 1px solid var(--rule); padding: clamp(24px, 4vw, 48px) 0 clamp(16px, 3vw, 32px); margin-top: 10px; max-width: 760px; }
.page-head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); font-weight: 300; margin-bottom: 0.3em; }
.page-head p { color: var(--paper-dim); font-size: 1.08rem; max-width: var(--measure); }
.page-head time { color: var(--mute); font-size: 0.9rem; display: block; margin-bottom: 10px; }

/* film grid */
.grid { list-style: none; margin: 0; padding: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; }
.card a { text-decoration: none; display: block; }
.card picture { aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--rule); background: var(--raised); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card a:hover img { transform: scale(1.025); }
.card-title { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; margin-top: 12px; }
.card a:hover .card-title { color: var(--brass); }
.card-meta { display: block; color: var(--mute); font-size: 0.9rem; margin-top: 4px; }

/* film page */
.film { padding-top: 10px; }
.film-media { border-top: 1px solid var(--rule); padding-top: clamp(16px, 3vw, 32px); max-width: 1000px; margin: 0 auto; }
.film-head { max-width: 760px; margin: clamp(20px, 3vw, 36px) auto 0; }
.film-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 300; font-style: italic; letter-spacing: -0.015em; text-wrap: balance; }
.film-meta { color: var(--mute); margin: 0.6em 0 0.8em; }
.film-line { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); line-height: 1.35; color: var(--paper-dim); }
.film-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 80px); margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--rule); padding-top: clamp(24px, 3vw, 40px); }
.film-main { max-width: 720px; }
.film-main > section { margin-bottom: clamp(32px, 4vw, 56px); }
.film-main p, .prose p { max-width: var(--measure); }
.film-side { font-size: 0.95rem; }
.side-block { margin-bottom: 32px; }
.side-block h2 { font-size: 1.2rem; color: var(--paper-dim); margin-bottom: 0.5em; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.links, .awards { list-style: none; margin: 0; padding: 0; }
.links li { padding: 6px 0; }
.awards li { padding: 8px 0; border-bottom: 1px solid var(--rule); line-height: 1.4; }
.awards li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .film-body { grid-template-columns: 1fr; } }

/* quotes */
.quotes { display: grid; gap: 26px; }
.quote { margin: 0; padding-left: 18px; border-left: 2px solid var(--brass-dim); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.quote blockquote p { margin: 0 0 0.4em; max-width: 56ch; }
.quote figcaption { font-size: 0.88rem; color: var(--mute); }
.quote.small blockquote { font-size: 1.08rem; }
.quote.small { padding-left: 14px; margin-bottom: 16px; }
.features p { margin: 0 0 0.5em; }
.features a { text-decoration-color: var(--rule); }
details.more { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 4px 0; margin-bottom: 28px; }
details.more + details.more { border-top: 0; }
details.more summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; color: var(--brass); font-size: 1.4rem; line-height: 1; }
details.more[open] summary::after { content: "–"; }
details.more > div, details.more > p, details.more > ul { padding-bottom: 16px; }
.reviews, .letters { color: var(--paper-dim); }
.reviews p, .letters p { max-width: var(--measure); }
.reviews strong { color: var(--paper); font-family: var(--serif); font-weight: 500; font-size: 1.15rem; display: block; margin-top: 1.6em; }
.cite { color: var(--mute); font-size: 0.9rem; margin-top: -0.4em; }
.making p { color: var(--paper-dim); }

/* galleries */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery li { margin: 0; }
.gallery a { display: block; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--rule); background: var(--raised); }
.gallery picture, .gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { font-size: 0.8rem; color: var(--mute); margin-top: 4px; }
.lightbox { position: fixed; inset: 0; background: rgba(10,8,6,.94); display: none; place-items: center; z-index: 50; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1000px, 100%); max-height: 86vh; width: auto; height: auto; border: 1px solid var(--rule); }
.lightbox figcaption { color: var(--paper-dim); text-align: center; margin-top: 10px; font-size: 0.9rem; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: none; border: 1px solid var(--rule); color: var(--paper); font: inherit; padding: 8px 14px; border-radius: 3px; cursor: pointer; }

/* prev / next */
.film-nav { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--rule); padding: 24px 0 0; margin-top: 24px; }
.film-nav a { text-decoration: none; font-family: var(--serif); font-size: 1.2rem; max-width: 45%; }
.film-nav a small { display: block; font-family: var(--sans); color: var(--mute); font-size: 0.8rem; margin-bottom: 2px; }
.film-nav a[rel=next], .film-nav a:last-child { text-align: right; margin-left: auto; }
.film-nav a:hover { color: var(--brass); }

/* filmmaker */
.bio-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: clamp(32px, 4vw, 56px); }
.bio-portrait picture { border: 1px solid var(--rule); }
.bio-text p, .prose p, .prose li { max-width: var(--measure); }
.bio-text blockquote, .prose blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 2px solid var(--brass-dim); font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.bio-text blockquote p { margin-bottom: 0.4em; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose img, .prose picture { margin: 1.5em 0; border: 1px solid var(--rule); }
.prose picture.inline { max-width: 720px; }
.filmmaker .gallery-section { margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 760px) { .bio-grid { grid-template-columns: 1fr; } .bio-portrait { max-width: 320px; } }

/* awards page */
.honors { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.award-film { border-top: 1px solid var(--rule); padding: 28px 0 8px; }
.award-film h2 a { text-decoration: none; }
.award-film h2 a:hover { color: var(--brass); }
.year { color: var(--mute); font-size: 0.6em; font-family: var(--sans); margin-left: 8px; }
.award-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; }
@media (max-width: 760px) { .award-cols { grid-template-columns: 1fr; } }

/* watch page */
.watch-list { list-style: none; margin: 0; padding: 0; }
.watch-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; border-top: 1px solid var(--rule); padding: 24px 0; }
.watch-row h2 { font-size: 1.5rem; margin-bottom: 0.3em; }
.watch-row h2 a { text-decoration: none; }
.watch-thumb picture { border: 1px solid var(--rule); aspect-ratio: 3 / 2; overflow: hidden; }
.watch-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .watch-row { grid-template-columns: 1fr; } .watch-thumb { max-width: 320px; } }

/* post */
.post .page-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 5vw, 80px); }
.contact-form { max-width: 560px; }
.contact-form label { display: block; font-size: 0.9rem; color: var(--paper-dim); margin-bottom: 6px; }
.contact-form input, .contact-form textarea { width: 100%; background: var(--raised); border: 1px solid var(--rule); color: var(--paper); font: inherit; padding: 10px 12px; border-radius: 3px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brass); outline: none; }
.hp { position: absolute; left: -9999px; }
.form-note { color: var(--brass); min-height: 1.5em; }
.contact-side p { color: var(--paper-dim); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* footer */
.foot { border-top: 1px solid var(--rule); margin-top: 24px; }
.foot-grid { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 8px; display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 24px; font-size: 0.92rem; color: var(--paper-dim); }
.foot-name { font-family: var(--serif); font-size: 1.25rem; color: var(--paper); margin-bottom: 0.3em; }
.foot-legal { max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 32px; color: var(--mute); font-size: 0.82rem; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; gap: 12px; } }
.quotes-more { margin-top: 8px; }
.quotes-more .quotes { padding-top: 12px; }

/* homepage, filmmaker-first layout */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); border-top: 1px solid var(--rule); margin-top: 10px; }
.intro-portrait { max-width: 440px; }
.intro-portrait picture { border: 1px solid var(--rule); }
.intro-name { font-size: clamp(2.8rem, 1.4rem + 5vw, 5.6rem); font-style: italic; font-weight: 300; line-height: 0.95; letter-spacing: -0.02em; margin: 0 0 0.45em; }
.intro-quote { margin: 0 0 1.4em; padding-left: 20px; border-left: 2px solid var(--brass); }
.intro-quote p { font-family: var(--serif); font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.15rem); line-height: 1.22; font-weight: 300; margin: 0 0 0.5em; text-wrap: balance; }
.intro-quote cite { font-style: normal; font-size: 0.9rem; color: var(--mute); }
.intro-claim { color: var(--paper-dim); max-width: 54ch; margin-bottom: 1.6em; }
.hero-second .hero-title { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.4rem); }
@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; }
  .intro { padding-top: 20px; gap: 22px; }
  .intro-portrait { max-width: none; }
  .intro-portrait picture { aspect-ratio: 4 / 3; overflow: hidden; }
  .intro-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
}
