:root {
  --bg: #000;
  --fg: #fff;
  --muted: #8c8c8c;
  --gold: #f2c21b;
  --page: 1150px;                         /* width of the film grid and player */
  --gutter: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: Figtree, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
header .wrap {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: clamp(32px, 4vw, 70px);
}
.logo { display: block; line-height: 1; }
.logo img { display: block; width: clamp(120px, 9vw, 154px); height: auto; }
nav { display: flex; gap: clamp(18px, 2vw, 38px); padding-bottom: 8px; }
nav a, nav span {
  font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--muted);
  transition: color .2s;
}
nav a:hover, nav [aria-current="page"] { color: var(--fg); }

/* Home: hero. Spacing matches the old site: logo → ~150px → headline → ~75px → arrow → ~55px → films */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(72px, 8vw, 135px);
}
.hero h1 {
  margin: 0; font-weight: 700; letter-spacing: -.01em; line-height: 1.05;
  font-size: clamp(38px, 4.3vw, 80px);
}
.scroll-cue {
  margin-top: clamp(40px, 4vw, 72px);
  width: 48px; height: 28px; display: grid; place-items: center; opacity: .9;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue svg { width: 46px; height: 25px; stroke: #fff; stroke-width: 1.5; fill: none; }

/* Home: film grid */
#films { margin-top: clamp(32px, 3vw, 52px); padding-bottom: 120px; scroll-margin-top: 24px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.film {
  position: relative; display: block; width: 100%; aspect-ratio: 2.39 / 1;
  overflow: hidden; background: #111;
}
.grid .film:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 3.2 / 1; }
.film img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s;
}
.film:hover img, .film:focus-visible img { transform: scale(1.035); filter: brightness(.72); }
.film:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* Home: about / contact */
.section { padding-bottom: 120px; }
.section::before { content: ""; display: block; border-top: 1px solid #1c1c1c; margin-bottom: 40px; }
.section h2 {
  font-size: 15px; font-weight: 500; letter-spacing: .08em; color: var(--muted);
  text-transform: uppercase; margin: 0 0 28px;
}
.section p { font-size: clamp(20px, 1.8vw, 30px); line-height: 1.45; max-width: 34em; margin: 0 0 1em; }
.section a.big { border-bottom: 1px solid #444; transition: border-color .2s, color .2s; }
.section a.big:hover { color: var(--gold); border-color: var(--gold); }

/* Film page */
.film-page { padding-top: clamp(40px, 4.5vw, 68px); padding-bottom: 120px; }
.player { position: relative; aspect-ratio: var(--ar, 16 / 9); background: #000; }
.player video { display: block; width: 100%; height: 100%; background: #000; }
.start {                                     /* covers the thumbnail; click anywhere to play */
  position: absolute; inset: 0; border: 0; padding: 0; background: transparent; cursor: pointer;
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.start[hidden] { display: none; }
.start-pill {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 clamp(12px, 2vw, 22px) clamp(12px, 2vw, 22px);
  padding: 10px 18px 10px 14px; border-radius: 4px; background: rgba(0, 0, 0, .72); color: #fff;
  font: 600 15px/1 Figtree, -apple-system, sans-serif; letter-spacing: .04em; font-variant-numeric: tabular-nums;
  transition: background .2s, color .2s;
}
.start-pill svg { width: 20px; height: 20px; fill: currentColor; }
.start:hover .start-pill, .start:focus-visible .start-pill { background: var(--gold); color: #000; }
.start:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.film-info {
  text-align: center; margin-top: clamp(40px, 4vw, 64px);
  font-size: 15px; line-height: 1.7;
}
.film-info h1 { color: var(--gold); font-size: 22px; font-weight: 600; margin: 0 0 2px; letter-spacing: .005em; }
.film-info p { margin: 0; }
.film-info .credits { margin-top: 1.7em; }
.film-info .note { margin-top: 1.7em; color: var(--muted); }


@media (max-width: 760px) {
  header .wrap { flex-direction: column; align-items: flex-start; gap: 28px; }
  .grid { grid-template-columns: 1fr; }
  .grid .film:last-child:nth-child(odd) { aspect-ratio: 2.39 / 1; }
    .hero { padding-top: 64px; }
  /* phones: same headline box on every page, so the arrow never shifts */
  .hero h1 { min-height: calc(4 * 1.05em); display: flex; align-items: center; justify-content: center; }
  .film-page { padding-left: 0; padding-right: 0; }      /* player runs edge to edge on phones */
  .film-info { padding: 0 var(--gutter); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film img { transition: none; }
}
.film-info h1 sup { font-size: .5em; vertical-align: .9em; line-height: 0; margin-left: 1px; }

/* About page — photo left, bio right (matches the old site) */
.hero-about h1 { text-wrap: balance; }   /* same size as the home headline; splits into two even lines */
.about {
  display: grid; grid-template-columns: 543fr 508fr; gap: clamp(20px, 2vw, 24px);
  align-items: start; margin-top: clamp(32px, 3vw, 52px); padding-bottom: 120px; scroll-margin-top: 24px;
}
.about img { display: block; width: 100%; height: auto; }
.about-text { font-size: 17px; line-height: 1.6; }
.about-text p { margin: 0 0 1.6em; }
.about-text p:first-child { margin-top: -.2em; }
.about-text p:last-child { margin-bottom: 0; }
.about-text a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.about-text a:hover { color: var(--gold); }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-text { font-size: 16px; }
}

/* Footer — contact on every page */
.site-footer { border-top: 1px solid #1c1c1c; padding: 48px 0 36px; scroll-margin-top: 24px; }
.footer-main { display: flex; align-items: center; gap: 20px; }
.footer-portrait { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.footer-text { display: flex; flex-direction: column; gap: 4px; }
.footer-title { margin: 0; font-size: 20px; font-weight: 700; }
.footer-email { color: var(--gold); font-size: 17px; font-weight: 500; align-self: flex-start; border-bottom: 1px solid transparent; transition: border-color .2s; }
.footer-email:hover { border-color: var(--gold); }
.footer-actions { margin-left: auto; display: flex; gap: 10px; }
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 3px; cursor: pointer;
  background: var(--gold); color: #000; border: 1px solid var(--gold);
  font: 600 14px Figtree, -apple-system, sans-serif; letter-spacing: .03em; white-space: nowrap; transition: filter .2s;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--fg); border-color: #555; min-width: 118px; }
.btn-ghost:hover { border-color: var(--fg); filter: none; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 36px; color: #555; font-size: 13px; }
.copied { color: var(--muted); }
@media (max-width: 760px) {
  .footer-main { flex-direction: column; text-align: center; gap: 14px; }
  .footer-text { align-items: center; }
  .footer-email { align-self: center; }
  .footer-actions { margin: 8px 0 0; }
  .footer-bottom { justify-content: center; gap: 12px; }
}

/* About — "On location" photos under the bio (smaller than the main photo) */
.about { padding-bottom: clamp(64px, 7vw, 100px); }
.gallery { padding-bottom: 120px; }
.label {
  margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.shot {
  grid-column: span 2; aspect-ratio: 3 / 2; padding: 0; border: 0; background: #111;
  overflow: hidden; cursor: zoom-in;
}
.shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s;
}
.shot:nth-child(n+4) img { object-position: 50% 35%; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.035); filter: brightness(.8); }
.shot:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.lightbox {
  border: 0; padding: 0; background: transparent; overflow: visible;
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  display: none; align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(0, 0, 0, .94); }
.lightbox img {                                   /* room on each side for the arrows */
  display: block; max-width: calc(100vw - 180px); max-height: 86vh; width: auto; height: auto;
}
.lb-btn {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 64px; height: 96px; border: 0; background: none; cursor: pointer; opacity: .7;
  display: grid; place-items: center; transition: opacity .2s;
}
.lb-btn:hover, .lb-btn:focus-visible { opacity: 1; }
.lb-btn svg { width: 20px; height: 40px; stroke: #fff; stroke-width: 1.5; fill: none; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lightbox-close {
  position: fixed; top: 16px; right: 20px; border: 0; background: none; color: #fff;
  font-size: 40px; line-height: 1; cursor: pointer; opacity: .8;
}
.lightbox-close:hover { opacity: 1; }
.lb-count {
  position: fixed; bottom: 22px; left: 0; right: 0; text-align: center;
  color: var(--muted); font-size: 13px; letter-spacing: .1em; font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {                       /* phones: photo full width, arrows below it beside the count */
  .lightbox img { max-width: 100vw; max-height: 74vh; }
  .lb-btn { top: auto; bottom: 4px; transform: none; width: 56px; height: 56px; opacity: .9; }
  .lb-btn svg { width: 12px; height: 24px; stroke-width: 2; }
  .lb-prev { left: calc(50% - 100px); }
  .lb-next { right: calc(50% - 100px); }
  .lb-count { bottom: 24px; font-size: 14px; }
}
}
@media (max-width: 760px) {
  .shots { grid-template-columns: 1fr 1fr; }
  .shot { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } }

/* Film page — 3 more films under the credits (same tiles and hover as the home grid) */
.more { margin-top: clamp(64px, 7vw, 100px); }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.more-grid .film:nth-child(n+4) { display: none; }
@media (max-width: 760px) {
  .more { padding: 0 var(--gutter); }
  .more-grid { grid-template-columns: 1fr; }
}

/* 404 page */
.not-found { padding-bottom: 140px; }
.not-found p { color: var(--muted); font-size: 17px; margin: 24px 0 36px; }
