@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Manrope:wght@400;500;600&display=swap');

:root {
  --ink: #111111;
  --muted: #5d5d5a;
  --paper: #f3f3f1;
  --line: #c9c9c4;
  --white: #ffffff;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 22px var(--gutter) 14px;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 28px;
}
.main-nav {
  display: flex;
  gap: 28px;
  padding-top: 11px;
  align-items: center;
}
.main-nav a,
.menu-toggle,
.micro-link,
.project-link,
.text-link {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}
.main-nav a {
  font-size: 16px;
  border-bottom: 1px solid transparent;
  line-height: 1;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.brand {
  text-align: center;
  display: inline-block;
}
.brand strong {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 500;
  letter-spacing: .055em;
  line-height: .88;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand span {
  display: block;
  margin-top: 9px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .42em;
  padding-left: .42em;
}
.header-spacer { min-height: 1px; }
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  padding: 9px 0;
  font-size: 16px;
  cursor: pointer;
}

.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--gutter) 74px;
}
.hero-image {
  width: 100%;
  aspect-ratio: 2.3 / 1;
  overflow: hidden;
  background: #232323;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
}
.intro {
  max-width: 700px;
  margin: 18px auto 28px;
  text-align: center;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
  letter-spacing: -.018em;
}
.intro p { margin: 0; }
.intro p + p { margin-top: 7px; font-size: .78em; letter-spacing: .01em; }
.intro strong { font-weight: 600; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 20px 0 20px;
}
.section-heading::before,
.section-heading::after { content: ""; height: 1px; background: var(--line); }
.section-heading h2,
.page-title {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .025em;
}
.section-heading h2 { font-size: 31px; line-height: 1; }
.page-title { text-align: center; font-size: clamp(40px, 5vw, 62px); line-height: 1; margin: 4px 0 18px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px);
}
.project-card { min-width: 0; }
.poster-wrap {
  display: block;
  background: #111;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.project-card:hover .poster-wrap img { transform: scale(1.018); opacity: .95; }
.project-card h3 {
  margin: 10px 0 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 20px;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.project-card p { margin: 4px 0 7px; font-size: 14px; font-style: italic; color: #232323; }
.project-link,
.text-link { display: inline-block; font-size: 15px; line-height: 1.25; border-bottom: 1px solid currentColor; }
.project-link::after,
.text-link.arrow::after { content: "  →"; }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 28px;
}
.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .035em;
}
.footer-inner .centre { justify-self: center; }
.footer-inner .right { justify-self: end; display: flex; gap: 18px; }
.footer-inner a { border-bottom: 1px solid transparent; }
.footer-inner a:hover { border-bottom-color: currentColor; }

/* About */
.portrait-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
  align-items: start;
}
.portrait-card figure { margin: 0; }
.portrait-card .portrait-frame {
  overflow: hidden;
  background: #111;
  aspect-ratio: 1 / 1;
}
.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1) contrast(1.08);
}
.portrait-card.dean img { object-position: center 85%; }
.portrait-card.ray img { object-position: center center; }
.portrait-card figcaption {
  text-align: center;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .025em;
  padding-top: 5px;
}
.bio-copy {
  max-width: 790px;
  margin: 10px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.62;
}
.bio-copy p { margin: 0 0 14px; }
.bio-copy strong { font-weight: 600; }

.profile-links {
  margin-top: 32px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.profile-links div { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.profile-links span {
  flex-basis: 100%;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.profile-links a { font-size: 14px; border-bottom: 1px solid currentColor; }

/* Film pages */
.film-shell { max-width: 1040px; }
.film-top {
  display: grid;
  grid-template-columns: minmax(260px, 44%) 1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
  margin: 10px auto 20px;
}
.film-poster { width: 100%; background: #111; }
.film-poster img { width: 100%; }
.film-info { padding-top: 24px; }
.film-title {
  margin: 0 0 4px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(52px, 7vw, 82px);
  text-transform: uppercase;
  font-weight: 500;
  line-height: .95;
  letter-spacing: .02em;
}
.film-genre { margin: 16px 0 20px; font-size: 18px; font-style: italic; }
.film-lede { margin: 0 0 24px; font-size: 17px; line-height: 1.7; }
.rule { height: 1px; background: var(--line); margin: 24px 0; }
.credit-list { display: grid; grid-template-columns: 115px 1fr; gap: 7px 20px; font-size: 15px; }
.credit-list dt { font-weight: 600; }
.credit-list dd { margin: 0; }
.actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.film-lower {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.trailer-block { max-width: 880px; margin: 0 auto; }
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-block .micro-link { margin-top: 8px; display: inline-block; font-size: 13px; border-bottom: 1px solid currentColor; }
.detail-block h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 23px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 9px;
}
.detail-block p { margin: 0; font-size: 14px; line-height: 1.62; }
.detail-block + .detail-block { border-top: 1px solid var(--line); margin-top: 19px; padding-top: 17px; }
.mini-credits { font-size: 13px; display: grid; grid-template-columns: 95px 1fr; gap: 4px 14px; }
.mini-credits dt { font-weight: 600; }
.mini-credits dd { margin: 0; }

/* Contact */
.contact-page { max-width: 760px; text-align: center; padding-top: 20px; }
.contact-copy { margin: 18px auto 34px; font-size: 18px; max-width: 600px; }
.contact-card {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 16px;
  margin: 0 auto;
}
.contact-card h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 30px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.contact-card p { margin: 6px 0; }
.contact-card .name { font-size: 19px; font-weight: 600; }
.contact-links { margin-top: 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 28px; }

@media (max-width: 880px) {
  .site-header { padding-top: 18px; }
  .header-inner { grid-template-columns: auto 1fr auto; align-items: center; min-height: 62px; }
  .brand { grid-column: 2; }
  .brand strong { font-size: clamp(28px, 7vw, 42px); }
  .brand span { font-size: 11px; margin-top: 7px; }
  .main-nav {
    display: none;
    position: absolute;
    left: var(--gutter); right: var(--gutter); top: 86px;
    background: var(--paper);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 18px 0;
    justify-content: center;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; grid-column: 1; grid-row: 1; }
  .header-spacer { grid-column: 3; grid-row: 1; width: 42px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-image { aspect-ratio: 16/7.5; }
  .film-top { grid-template-columns: 1fr; max-width: 650px; }
  .film-poster { max-width: 430px; margin: 0 auto; }
  .film-info { padding-top: 0; }
}

@media (max-width: 600px) {
  .page-shell { padding-bottom: 50px; }
  .hero-image { aspect-ratio: 16/10; }
  .hero-image img { object-position: 50% 48%; transform: scale(1.14); }
  .intro { font-size: 18px; margin-top: 16px; }
  .section-heading { gap: 12px; }
  .section-heading h2 { font-size: 27px; }
  .work-grid { gap: 26px 16px; }
  .project-card h3 { font-size: 18px; }
  .project-card p { font-size: 14px; }
  .portrait-grid { grid-template-columns: 1fr; gap: 12px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .portrait-card figure { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 18px; }
  .portrait-card .portrait-frame { height: auto; aspect-ratio: 3 / 4; }
  .portrait-card figcaption { text-align: left; font-size: 21px; padding-top: 0; }
  .bio-copy { text-align: left; }
  .credit-list { grid-template-columns: 96px 1fr; gap: 7px 14px; }
  .film-title { font-size: 58px; }
  .profile-links { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-inner .centre,
  .footer-inner .right { justify-self: center; }
}

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