@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #060606;
  --white: #f1ece2;
  --body: #d8d2c6;
  --silver: #a39d91;
  --rule: rgba(241, 236, 226, 0.16);
  --link-line: rgba(241, 236, 226, 0.34);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --label: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.25rem, 2.4vw, 2.4rem);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--black);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #3a3631 var(--black);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Film grain: a fixed, static layer over everything, never under the pointer. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--white); color: var(--black); }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  transition: text-decoration-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
a:hover { text-decoration-color: var(--white); }

:focus { outline: none; }
:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 6px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translate(-50%, -160%);
  padding: 10px 18px;
  background: var(--white);
  color: var(--black);
  font: 500 13px/1 var(--label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 20;
}
.skip:focus-visible { transform: translate(-50%, 0); }

main { position: relative; }

/* ---------- Title card ---------- */

.title-card {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4.5rem, 12vh, 8rem) var(--gutter) clamp(2.5rem, 7vh, 4.5rem);
}

.name {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.6rem, 10.5vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-wrap: balance;
  /* letter-spacing adds trailing space after the last letter; pull it back so the name centers optically */
  margin-right: -0.08em;
}

.tagline {
  margin: 1.4rem 0 0;
  font: 500 0.8125rem/1 var(--label);
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  text-transform: uppercase;
  color: var(--silver);
}

/* Display capitals use a low optical size so Bodoni's hairlines hold at 1x. */
.name, .production-name, .fin, .credit dd { font-variation-settings: "opsz" 26; }

@media (prefers-reduced-motion: no-preference) {
  .name { animation: rise 600ms var(--ease-out) both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}

.short { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Credits (role / name on one gutter) ---------- */

.credits {
  width: 100%;
  max-width: 62rem;
  margin: clamp(3rem, 9vh, 5.5rem) auto 0;
  display: grid;
  row-gap: clamp(1.1rem, 2.6vh, 1.6rem);
}

.credit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: baseline;
}

.credit dt {
  text-align: right;
  font: 500 0.8125rem/1.5 var(--label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver);
}

.credit dd {
  margin: 0;
  text-align: left;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.credit--top { margin-bottom: 0.5rem; }
.credit--top dd { font-size: clamp(1.8rem, 3.4vw, 2.65rem); }

.credit dd .name-line { display: block; }
.credit dd .name-line + .name-line { margin-top: 0.3em; }

.nw { white-space: nowrap; }

.out {
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.22em;
  vertical-align: 0.42em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

/* ---------- Foot of the title card ---------- */

.title-foot {
  margin-top: clamp(3rem, 9vh, 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.profiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2rem;
  font: 500 0.8125rem/1 var(--label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.profiles a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: -0.3em;
}

/* Roll credits: a tracked text control on a hairline, in the profiles line's grammar. */
.roll {
  appearance: none;
  min-height: 44px;
  padding: 0 0.1rem;
  margin-right: -0.3em;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--silver);
  font: 500 0.75rem/1 var(--label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 160ms var(--ease-out);
}
.roll:hover { color: var(--white); border-color: var(--white); }
.roll:active { transform: scale(0.97); }

/* ---------- Section titles ---------- */

.block-title {
  margin: 0 0 clamp(2.2rem, 6vh, 3.4rem);
  text-align: center;
  font: 500 0.8125rem/1 var(--label);
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ---------- Synopsis ---------- */

.synopsis {
  padding: clamp(3.5rem, 9vh, 5.5rem) var(--gutter) 0;
}

.synopsis-body {
  max-width: 60ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}


.synopsis-body p {
  margin: 0;
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

/* The portrait is a framed still: hairlines above and below, like the product stills. */
/* It scales with the screen: as wide as its column allows, up to 30rem (or 30%
   of a big monitor's width), and never taller than about 72% of the viewport
   (width = height x 4/5), so the whole frame fits on any screen, phones held
   sideways included. */
.portrait {
  margin: 0;
  width: min(100%, max(30rem, 30vw), calc(72vh * 0.8));
  width: min(100%, max(30rem, 30vw), calc(72svh * 0.8));
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Productions ---------- */

.productions {
  padding: clamp(4.5rem, 11vh, 7rem) var(--gutter) 0;
}

.production {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.production + .production { margin-top: clamp(3.5rem, 8vh, 5rem); }
.production { scroll-margin-top: 8vh; }

/* A still is a 2.39:1 frame; the artwork sits inside it whole, never cropped. */
.still {
  margin: 0 auto 2.6rem;
  max-width: 47.5rem;
  aspect-ratio: 2.39 / 1;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  background: #000;
}
/* The artwork is centred and scaled to fit whole: contain, never crop. */
.still img {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.still--mark img { height: 52%; }

/* Bird Dog Recon has no artwork, so its frame is a location card in set type. */
.still--card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 1.5rem;
  text-align: center;
}
.card-label, .card-sub {
  font: 500 0.6875rem/1.5 var(--label);
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
  color: var(--silver);
}
.card-title {
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
  margin-right: -0.06em;
  text-transform: uppercase;
  font-variation-settings: "opsz" 26;
}

/* Wide screens: still on the left of the gutter, credits on the right, the
   title card's role/name grammar. Each production is one ruled row. */
@media (min-width: 1100px) {
  .synopsis-body {
    max-width: 74rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2.5rem, 4vw, 4rem);
    align-items: center;
    text-align: left;
  }
  .synopsis-body .portrait { justify-self: end; }
  .synopsis-body .synopsis-text { max-width: 34rem; }

  .production {
    max-width: 74rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2.5rem, 4vw, 4rem);
    align-items: center;
    text-align: left;
  }
  .production + .production {
    padding-top: clamp(3.5rem, 8vh, 5rem);
    border-top: 1px solid var(--rule);
  }
  .production .still { width: 100%; max-width: 37rem; justify-self: end; margin: 0; }
  .production-credits .logline { margin-left: 0; }
  .production-name, .production-role, .production-with { margin-right: 0; }
}

.production-name {
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
  margin-right: -0.06em;
  text-transform: uppercase;
  text-wrap: balance;
}

.production-role {
  margin: 1rem 0 0;
  font: 500 0.75rem/1.5 var(--label);
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
  color: var(--silver);
}

.production-with {
  margin: 0.45rem 0 0;
  font: 400 0.875rem/1.5 var(--label);
  letter-spacing: 0.04em;
  color: var(--silver);
}

.logline {
  max-width: 54ch;
  margin: 1.4rem auto 0;
  font-size: clamp(1.06rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

.production-link {
  margin: 1.6rem 0 0;
  font: 500 0.8125rem/1 var(--label);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.production-link a, .production-link span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.production-link span { color: var(--silver); }

/* ---------- For the press ---------- */

.press {
  padding: clamp(4.5rem, 11vh, 7rem) var(--gutter) 0;
  text-align: center;
}
.press-note {
  margin: calc(-1 * clamp(1.2rem, 3vh, 2rem)) 0 clamp(2.6rem, 7vh, 4rem);
  font: 400 0.875rem/1.5 var(--label);
  letter-spacing: 0.04em;
  color: var(--silver);
}
.bios {
  max-width: 60ch;
  margin: 0 auto;
  display: grid;
  row-gap: clamp(2.5rem, 6vh, 3.5rem);
}
@media (min-width: 1100px) {
  /* One line and short on the left of the gutter, the full bio on the right. */
  .bios {
    max-width: 74rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    column-gap: clamp(2.5rem, 4vw, 4rem);
    text-align: left;
  }
  .bio:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
  .bio-label, .copy { margin-right: 0; }
}
.press-downloads {
  margin: clamp(2.5rem, 6vh, 3.5rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.6rem;
  font: 500 0.8125rem/1 var(--label);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.press-downloads a {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  justify-content: center;
}
/* Only the label carries the link underline; the size line under it stays plain. */
.dl-label {
  text-decoration: underline;
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  transition: text-decoration-color 180ms var(--ease-out);
}
.press-downloads a:hover .dl-label { text-decoration-color: var(--white); }
.dl-size {
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--silver);
}
.bio-label {
  margin: 0 0 1rem;
  font: 500 0.75rem/1.5 var(--label);
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
  color: var(--silver);
}
.bio p {
  margin: 0;
  font-size: clamp(1.06rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}
/* Copy: the same tracked text control on a hairline as Roll credits. */
.copy {
  appearance: none;
  min-height: 44px;
  margin-top: 0.6rem;
  padding: 0 0.1rem;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--silver);
  font: 500 0.6875rem/1 var(--label);
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 160ms var(--ease-out);
}
.copy:hover { color: var(--white); border-color: var(--white); }
.copy:active { transform: scale(0.97); }

/* ---------- Closing credits ---------- */

.closing {
  padding: clamp(4.5rem, 11vh, 7rem) var(--gutter) clamp(3.5rem, 8vh, 5rem);
  text-align: center;
}

.credits--closing { margin-top: 0; }
.credits--closing dd { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.credits--closing a { display: inline-block; padding: 0.35rem 0; }
.email { overflow-wrap: anywhere; }

.fin {
  margin: clamp(3.5rem, 9vh, 5.5rem) 0 0;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: 0.08em;
  margin-right: -0.08em;
  text-transform: uppercase;
}

.copyright {
  margin: 1rem 0 0;
  font: 400 0.8125rem/1.5 var(--label);
  letter-spacing: 0.02em;
  color: var(--silver);
}

/* ---------- Phones: the credit gutter stacks, role over name ---------- */

@media (max-width: 640px) {
  .long { display: none; }
  .short { display: inline; }
  .credit {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: 1rem;
  }
  .credit dt { letter-spacing: 0.2em; }
  .credit dd { font-size: 1.3rem; }
  .credit--top dd { font-size: 1.55rem; }
  /* The title-card credits stack too, role over names, so a long name never
     wraps into what reads as a second company. */
  .title-card .credit { grid-template-columns: 1fr; row-gap: 0.55rem; }
  .title-card .credit dt, .title-card .credit dd { text-align: center; }
  .title-card .credits { row-gap: 2rem; }
  /* Contact credits stack, so an address never breaks mid-domain. */
  .credits--closing .credit { grid-template-columns: 1fr; row-gap: 0.3rem; }
  .credits--closing dt, .credits--closing dd { text-align: center; }
  .credits { row-gap: 1.2rem; }
  .profiles { gap: 0.2rem 1.4rem; }
  .still { margin-bottom: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .roll, .roll-hint { display: none !important; }
}
