:root {
  --dark: #18181A;
  --panel: #1F1F21;
  --line: #2E2E31;
  --cream: #EEE7DB;
  --cream-2: #CFC7BB;
  --taupe: #8F887F;
  --taupe-2: #A39C92;
  --sans: "Jost", system-ui, sans-serif;
  --serif: "Spectral", Georgia, serif;
  --script: "La Belle Aurore", cursive;
  --gutter: clamp(22px, 6vw, 88px);
  --pad: clamp(56px, 8vw, 112px);
  --edge: max(var(--gutter), calc(50% - 25.875rem)); /* left edge of the text column */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
i { font-style: normal; color: var(--taupe); padding: 0 .5em; }
em { font-style: italic; }
blockquote { margin: 0; }
::selection { background: var(--cream); color: var(--dark); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--cream); color: var(--dark);
  padding: 8px 14px; font-family: var(--sans); font-size: .8rem;
}
.skip:focus { left: 12px; top: 12px; z-index: 10; }

/* Small caps, wide tracking: the deck's label style */
.kicker, .meta, .role, .credit, .footer, cite, .themes h3, .nav a {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .72rem;
}
cite { display: block; margin-top: 1.6em; font-style: normal; color: var(--taupe-2); }

/* Hero: the poster. Title only. */
.hero {
  position: relative;
  min-height: 92vh; min-height: 92svh;
  display: grid; place-items: center;
  padding: 96px var(--gutter);
  text-align: center;
  overflow: hidden;
}
.hero-still {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 12%;
  opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 70% 85% at 50% 42%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 85% at 50% 42%, #000 35%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(24,24,26,.5), rgba(24,24,26,.1) 45%, var(--dark) 100%);
}
.lockup { position: relative; z-index: 1; max-width: 100%; animation: rise 1.4s ease-out both; }
h1 { margin: 0; font-weight: 200; }
.script {
  display: block;
  font-family: var(--script);
  font-size: clamp(1.9rem, 5.2vw, 3.5rem);
  line-height: 1;
  margin-bottom: .1em;
}
.whirling {
  display: block;
  font-family: var(--sans);
  font-weight: 200;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 10.5vw, 8.25rem);
  letter-spacing: .3em;
  padding-left: .3em; /* balances the trailing tracking so the word sits centered */
  line-height: 1.1;
}
.kicker { margin: clamp(22px, 3vw, 36px) 0 0; color: var(--cream-2); }

.devnote { margin: clamp(26px, 3.4vw, 38px) 0 0; font-family: var(--sans); text-transform: uppercase; line-height: 1.5; }
.devnote b { display: block; font-weight: 400; letter-spacing: .22em; font-size: .86rem; color: var(--cream); margin: .4em 0; }
.devnote span { display: block; font-size: .6rem; letter-spacing: .26em; color: var(--cream-2); }
.down {
  position: absolute; z-index: 1; bottom: 22px; left: 50%; margin-left: -22px;
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--cream-2); opacity: .8; transition: opacity .2s, transform .2s;
}
.down:hover, .down:focus-visible { opacity: 1; transform: translateY(3px); }

/* Menu: hidden on the poster, slides in once you scroll past it */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: center; gap: clamp(18px, 4vw, 48px);
  padding: 16px var(--gutter);
  background: rgba(24,24,26,.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%); visibility: hidden;
  transition: transform .35s ease, visibility .35s;
}
.nav.on { transform: none; visibility: visible; }
.nav a { color: var(--taupe-2); text-decoration: none; font-size: .66rem; transition: color .2s; }
.nav a:hover, .nav a:focus-visible { color: var(--cream); }
section[id] { scroll-margin-top: 48px; }

/* Logline: the first thing under the poster */
.intro {
  padding: clamp(8px, 2vw, 24px) var(--gutter) var(--pad);
  text-align: center;
}
.logline {
  margin: 0 auto;
  max-width: 26em;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.5;
  text-wrap: balance;
}
.laurel { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: clamp(30px, 4.5vw, 52px); }
.laurel img { display: block; width: 62px; height: auto; opacity: .9; }
.laurel img:last-child { transform: scaleX(-1); }
.laurel p {
  margin: 0; text-align: center;
  font-family: var(--sans); text-transform: uppercase; line-height: 1.5;
}
.laurel b { display: block; font-weight: 400; letter-spacing: .22em; font-size: .86rem; color: var(--cream); margin: .4em 0; }
.laurel span { display: block; font-size: .6rem; letter-spacing: .26em; color: var(--cream-2); }

/* Section headings are kept for screen readers only */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* (unused) large heading style */
.head {
  margin: 0;
  font-family: var(--sans); font-weight: 200; text-transform: uppercase;
  letter-spacing: .28em; line-height: 1.15;
  font-size: clamp(1.7rem, 4.6vw, 3.6rem);
}

/* Bands: one large image, edge to edge, heading set on it */
.band { position: relative; overflow: hidden; background: #0c0c0d; }
.band > img {
  display: block; width: 100%;
  height: clamp(320px, 78vh, 820px);
  object-fit: cover;
}
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(24,24,26,.25), rgba(24,24,26,0) 30%, rgba(24,24,26,.15) 55%, var(--dark) 100%);
}
.band > .head {
  position: absolute; z-index: 1;
  left: var(--edge); right: var(--gutter); bottom: clamp(28px, 5vw, 64px);
}
#themes .band > img { object-position: 50% 35%; }

/* Text columns */
.col, .wide { margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--gutter) var(--pad); }
.col { max-width: calc(46em + 2 * var(--gutter)); }
.wide { max-width: 1360px; }
.plain { border-top: 1px solid var(--line); }
.plain .col, .plain .wide { padding-top: var(--pad); }
.plain .head { margin-bottom: clamp(32px, 5vw, 56px); }

.meta { margin: 0 0 2.2em; color: var(--cream-2); line-height: 2; }
.prose p { margin: 0 0 1.2em; font-size: clamp(1.1rem, 1.55vw, 1.3rem); }
.credit { margin: 2.4em 0 0; color: var(--taupe); }

/* Director's note */
.note { max-width: 38em; }
.note p { margin: 0; font-style: italic; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.6; }
.note p em { font-style: normal; }
.note > img {
  display: block; width: clamp(140px, 17vw, 210px); height: auto; aspect-ratio: 1;
  border-radius: 50%; object-fit: cover; filter: saturate(.85);
}

/* Director's note set on the kneeling shot. The figure is right of centre, the words sit left. */
.notepic > img { height: clamp(460px, 92vh, 940px); object-position: 62% 50%; }
.notepic::after {
  background:
    linear-gradient(to right, rgba(24,24,26,.9), rgba(24,24,26,.72) 38%, rgba(24,24,26,0) 62%),
    linear-gradient(to bottom, var(--dark), rgba(24,24,26,0) 14%, rgba(24,24,26,0) 84%, var(--dark) 100%);
}
.notepic .over { left: var(--gutter); width: min(40%, 27em); }

/* The Title: the quote sits on the whirling shot */
.whirl { background: #050507; }
.whirl > img { object-position: 78% 50%; height: clamp(420px, 88vh, 900px); }
.whirl::after {
  background: linear-gradient(to bottom, var(--dark), rgba(5,5,7,0) 16%, rgba(5,5,7,0) 80%, var(--dark) 100%);
}
.over {
  position: absolute; z-index: 1; top: 50%; transform: translateY(-50%);
  left: var(--edge); width: min(44%, 30em);
}
.over .head { margin-bottom: clamp(24px, 4vw, 48px); }
.epigraph {
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.5;
  text-wrap: balance;
}

/* Themes: stacked */
.themes article { padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line); }
.themes article:first-child { border-top: 0; padding-top: 0; }
.themes h3 { margin: 0 0 1em; color: var(--cream); font-size: .8rem; }
.themes p { margin: 0; font-size: clamp(1.1rem, 1.55vw, 1.3rem); color: var(--cream-2); }

/* Team: four across */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.2vw, 52px); }
.team h3 {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.25;
}
.role { margin: .7em 0 1.3em; color: var(--taupe); }
.team article p:not(.role) { margin: 0 0 1em; font-size: 1rem; line-height: 1.65; color: var(--cream-2); }
.team article p:last-child { margin-bottom: 0; }

/* Closing quote under the kitchen photo */
.fade > img { height: clamp(320px, 86vh, 880px); object-position: 50% 45%; }
.fade::after {
  background: linear-gradient(to bottom, var(--dark), rgba(24,24,26,0) 14%, rgba(24,24,26,0) 50%, var(--dark) 100%);
}
.pull {
  position: relative; z-index: 1;
  margin: clamp(-120px, -9vw, -48px) auto 0;
  padding: 0 var(--gutter) var(--pad);
  text-align: center;
}
.pull p {
  margin: 0 auto; max-width: 28em; font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.5;
  text-wrap: balance;
}

.footer {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  padding: 32px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  color: var(--taupe); font-size: .66rem;
}
.footer p { margin: 0; }
.footer .copy { color: var(--taupe); }
.footer .mail { color: var(--cream-2); text-decoration: none; text-transform: none; letter-spacing: .18em; font-size: .78rem; transition: color .2s; }
.footer .mail:hover, .footer .mail:focus-visible { color: var(--cream); }

.reach { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; }
.reach .mail { flex-basis: 100%; text-align: center; }
.soc { display: grid; place-items: center; width: 28px; height: 28px; color: var(--cream-2); transition: color .2s; }
a.soc:hover, a.soc:focus-visible { color: var(--cream); }
.zpmk { display: block; line-height: 0; opacity: .75; transition: opacity .2s; }
.zpmk:hover, .zpmk:focus-visible { opacity: 1; }
.zpmk img { display: block; width: 24px; height: 24px; transition: transform .9s cubic-bezier(.3,.7,.2,1); }
.zpmk:hover img, .zpmk:focus-visible img { transform: rotate(360deg); }

a:focus-visible { outline: 1px solid var(--cream); outline-offset: 4px; }

/* Text comes up as you scroll. Only when the script is running. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease-out, transform 1s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lockup { animation: none; }
  .nav { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .zpmk img { transition: none; }
  .zpmk:hover img, .zpmk:focus-visible img { transform: none; }
}

@media (max-width: 980px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 1.05rem; }
  .whirling { letter-spacing: .2em; padding-left: .2em; }
  .kicker { letter-spacing: .24em; }
  .head { letter-spacing: .2em; }
  .band > img { height: clamp(260px, 56vh, 520px); }
  .nav a { font-size: .6rem; letter-spacing: .2em; }
  .note { grid-template-columns: 1fr; }
  .note > img { order: -1; width: 132px; }
  .team { grid-template-columns: 1fr; }
  /* The whirling figure is right of centre, so on a phone the words go under the picture */
  .whirl > img { height: auto; aspect-ratio: 4 / 3; object-position: 84% 50%; }
  .whirl::after { background: linear-gradient(to bottom, var(--dark), rgba(5,5,7,0) 18%); }
  .over { position: relative; top: auto; transform: none; left: auto; width: auto; padding: 8px var(--gutter) 40px; }
  .notepic { background: var(--dark); }
  .notepic > img {
    height: auto; aspect-ratio: 4 / 3; object-position: 60% 50%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 74%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 74%, transparent);
  }
  .notepic::after { background: none; }
  .notepic .over { left: auto; width: auto; padding-top: 0; }
  .whirl { background: linear-gradient(to bottom, #050507 70%, var(--dark)); }
}
