:root {
  --ivory: #F6F1E7;
  --ink: #2B2A3A;
  --muted: #5E5B6A;
  --rule: #D3CBBB;
  --flake: #DACFBD;
  --blue: #35618C;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--blue); }

img { max-width: 100%; height: auto; }

h1, h2, h3, p { margin: 0; }

/* Snowfall */
.snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

header.top, main, footer { position: relative; z-index: 1; }

/* Header */
header.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) 20px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 0;
}

header.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

header.top nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 12px 0;
}
header.top nav a:hover { color: var(--ink); }

/* Sections */
main { width: 100%; }

section {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--gutter) 72px;
  border-top: 1px solid var(--rule);
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}

/* Opening image */
.hero-image {
  border-top: 0;
  padding: 8px var(--gutter) 0;
}
.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 0 var(--rule);
}

/* Title block */
.hero {
  border-top: 0;
  padding: 56px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: flex-end;
}
.hero-title { flex: 999 1 520px; min-width: 0; }
.kicker {
  margin-bottom: 18px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.byline { font-size: 19px; }

.hero-side { flex: 1 1 320px; max-width: 440px; padding-bottom: 6px; }
.logline {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 27px);
  line-height: 1.4;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 26px;
  background: var(--blue);
  color: var(--ivory);
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.button:hover { background: #2B4F75; color: var(--ivory); }

/* Two-column rows: label left, body right */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
}
.row h2 { flex: 1 1 200px; }
.row .body { flex: 999 1 520px; min-width: 0; max-width: 700px; }
.row .body p { font-size: 19px; line-height: 1.65; }
.row .body p + p { margin-top: 22px; }

.statement { max-width: 680px; }
.statement .sig {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
}
.statement .sig-role {
  margin-top: 4px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* Stills */
.stills h2 { margin-bottom: 32px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 899px) {
  .grid { grid-template-columns: 1fr; }
}
.still {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 1px 0 var(--rule);
}
.still img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 400ms ease;
}
.still:hover img { transform: scale(1.015); }
.still:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* Filmmakers */
.filmmakers h2 { margin-bottom: 8px; }
.credits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.credits li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.credits li:last-child { border-bottom: 0; }
.credits .who { flex: 0 1 300px; min-width: 220px; }
.credits .name {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
}
.credits .role {
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.credits .bio {
  flex: 1 1 360px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  padding-top: 6px;
}
.credits .story .role { margin-top: 0; padding-top: 8px; }
.credits .story-names {
  flex: 1 1 360px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
}

/* Contact */
.contact { padding-bottom: 80px; }
.email {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.15;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  overflow-wrap: anywhere;
  padding: 4px 0;
}
.contact .note {
  margin-top: 28px;
  font-size: 17px;
  color: var(--muted);
}

/* Footer */
footer {
  width: 100%;
  border-top: 1px solid var(--rule);
  margin-top: auto;
}
footer > * { position: relative; }
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 40px var(--gutter) 48px;
}
footer img { display: block; height: 112px; width: auto; }
footer p { font-size: 14px; color: var(--muted); padding-bottom: 6px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(43, 42, 58, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 24px;
  z-index: 50;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  display: block;
  width: min(1400px, 100%);
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox .close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  padding: 0;
}
.lightbox .close:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }

@media (max-width: 640px) {
  section { padding: 48px var(--gutter) 56px; }
  .hero { padding: 40px var(--gutter) 32px; }
  header.top { padding: 20px var(--gutter) 12px; }
  header.top nav { gap: 0 20px; font-size: 13px; }
  footer img { height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .still img { transition: none; }
}
