@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: dark;
  --paper: #080808;
  --ink: #f5f2eb;
  --muted: #bdb9b0;
  --rule: #393939;
  --rust: #f18f78;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p, figure { margin: 0; }
.shell { width: min(88%, 82rem); margin-inline: auto; }
section[id] { scroll-margin-top: 2rem; }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.site-header { padding-block: 1.15rem; border-bottom: 1px solid var(--rule); }
.wordmark { font: 2rem/1 var(--serif); text-decoration: none; white-space: nowrap; }
.wordmark span, h2 span { color: var(--rust); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); }
nav a, .site-footer a { font-size: .875rem; font-weight: 600; text-decoration: none; }
nav a:hover, .site-footer a:hover { text-decoration: underline; }
.nav-contact { border: 1px solid var(--rule); padding: .6rem .9rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.5rem, 5vw, 4.5rem);
  margin-block: 1rem 3rem;
  background: #101010;
  color: var(--ink);
}
h1 { font: 700 clamp(2rem, 6.1vw, 7rem)/.9 var(--sans); letter-spacing: -.06em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.button { display: inline-block; padding: .78rem 1.15rem; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.button:hover { background: var(--rust); }
.hero .button { border: 1px solid #f8f6f0; background: #f8f6f0; color: #202020; }
.hero .button-outline { background: transparent; color: #f8f6f0; }
.hero .button:hover { background: #ccc8c0; color: #202020; }
.hero a:focus-visible { outline-color: #f8f6f0; }
.hero-image img { display: block; width: 100%; height: auto; }
.hero-image figcaption { margin-top: .85rem; color: #eeeae2; font-size: .9rem; line-height: 1.6; }

.work, .about, .contact { border-top: 1px solid var(--rule); padding-block: clamp(2rem, 5vw, 4.75rem); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.55rem; }
h2 { font: clamp(3.1rem, 6vw, 5.5rem)/.95 var(--serif); letter-spacing: -.025em; }
.director-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem;
  padding: .25rem;
  background: #000;
}
.director-gallery a { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; }
.director-gallery img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: grayscale(1); }
h3 { margin-top: .7rem; font: 2.2rem/1.1 var(--serif); }
.about { display: grid; grid-template-columns: .7fr 1fr; gap: 1.25rem; }
.about-copy { max-width: 65ch; }
.about-copy p + p { margin-top: 1rem; }
.fan-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.fan-books img { display: block; width: 100%; max-width: 20rem; height: auto; aspect-ratio: 3 / 4; object-fit: contain; object-position: left center; }
.fan-books p, .fan-series p { margin-top: .5rem; max-width: 58ch; color: var(--muted); }
.fan-series { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
@media (max-width: 480px) {
  .fan-books { grid-template-columns: 1fr; }
}
.contact {
  background: #101010;
  color: var(--ink);
  padding-inline: clamp(1.25rem, 5vw, 4.5rem);
}
.contact h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -.05em; }
.contact-links { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.contact-links a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  padding-block: .35rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: .23em;
}
.contact-links a:focus-visible { outline-color: var(--ink); }
.site-footer { padding-block: 1.2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .875rem; }

@media (max-width: 720px) {
  .shell { width: 90%; }
  .hero { grid-template-columns: 1fr; gap: 1rem; }
  .hero-image { max-width: 25rem; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 378px) {
  .site-header { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.film { max-width: 60rem; }
.film h3 { margin: 0 0 1rem; }
.film-player { aspect-ratio: 16 / 9; margin-bottom: .6rem; background: #202020; }
.film-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.film-synopsis { max-width: 65ch; margin-top: 1rem; }
.film-controls { display: flex; gap: .65rem; margin-top: 1.25rem; }
.film-controls .button { font: inherit; border: 0; cursor: pointer; }
.film-controls .button:disabled { background: #252525; color: #aaa69d; cursor: default; }
.film-controls .button:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
@media (max-width: 520px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-header nav { flex-wrap: wrap; }
}

.msx-company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.25rem, 4vw, 4rem); }
.msx-company img { display: block; width: 100%; height: auto; }
.msx-company h3 { margin: 0; }
.msx-company p { max-width: 55ch; margin-top: 1rem; }
.msx-company .msx-full-name { margin-top: .35rem; color: var(--muted); font-size: .875rem; font-weight: 700; letter-spacing: .07em; }
@media (max-width: 720px) {
  .msx-company { grid-template-columns: 1fr; }
  .site-header nav { flex-wrap: wrap; }
}
