/* Spatial Film, light film page theme (Field Notes, call sheet). Shared by every light film page.
   Extracted from the approved light mockup, design option A "call sheet" (its inline styles, unchanged, override blocks in their order),
   followed by the production additions at the end of this file. */
/* FIELD NOTES, round 2, version A: CALL SHEET.
   One production's paperwork on a cream desk. Type roles:
   Oswald 700 caps .......... the production title, the two headings that glow in the dark, the rubber stamps, printed form labels (500)
   Kolker Brush ............. the script across the red block word and the red pen notes (Google Fonts; temp choice until High Tide is licensed)
   Impact Label ............. embossed label-maker strips, the section headings on paper (shared component: /assets/fieldnotes/dymo.css)
   Special Elite ............ typed form fields and the typed file line and footer on each sheet: real data only
   Courier Prime ............ typed photo captions (shared/typewriter.css) and the film titles on the wall
   Gentium Book Plus ........ the story and all reading text */

:root {
  --desk: #F5E2D0;       /* logo cream, the desk blotter */
  --copy: #FAF8F2;       /* photocopy white */
  --bond: #FEFBF4;       /* script page */
  --carbon: #F4E6B4;     /* yellowed carbon copy */
  --card: #F7EEDB;       /* index card */
  --print: #FEFEFC;      /* photo paper border */
  --ink: #1C1A17;        /* warm charcoal: type, form rules */
  --ink-2: #5A534B;      /* secondary type on paper */
  --hair: #CFC7BA;       /* light ruled lines */
  --red: #E40E08;        /* the block letters, the pen, the stamp, the light. One red. */
  --coal: #17140F;       /* the screening room */
  --coal-2: #211E1B;
  --cream: #FBE6D6;
  --silver: #BDB9B2;
  --f-block: "Oswald", "Arial Narrow", sans-serif;
  --f-script: "Kolker Brush", "Snell Roundhand", "Brush Script MT", cursive;
  --f-type: "Special Elite", "Courier New", monospace;
  --f-read: "Gentium Book Plus", Georgia, serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-over: cubic-bezier(.34, 1.56, .64, 1);
  --ease-pen: cubic-bezier(.45, .05, .3, 1);
  --hand: linear(0, .1 7%, .17 16%, .2 22%, .42 37%, .47 47%, .5 52%, .74 68%, .8 79%, .83 84%, 1);
  --pg: url("/assets/fieldnotes/paper-grain.webp");
  --fg: url("/assets/fieldnotes/film-grain.webp");
  --glow: 0 0 1px rgba(255, 70, 40, .9), 0 0 10px rgba(255, 40, 20, .55), 0 0 28px rgba(255, 30, 10, .38), 0 0 70px rgba(230, 20, 0, .22);
  --lie: 0 0 0 .5px rgba(60, 40, 20, .1), 0 1px 1.5px rgba(40, 25, 10, .26), 0 3px 6px -1px rgba(40, 25, 10, .16), 0 10px 16px -10px rgba(40, 25, 10, .2);
  --lift: 0 0 0 .5px rgba(60, 40, 20, .1), 0 1px 1px rgba(30, 20, 10, .28), 0 6px 10px -4px rgba(30, 20, 10, .3), 0 20px 26px -16px rgba(30, 20, 10, .34);
  --gap: clamp(3.5rem, 2rem + 5vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--desk); overflow-x: clip; }
main { overflow-x: clip; }   /* the light spilling off the app screen is wider than the page: no sideways scroll */
body {
  margin: 0; color: var(--ink);
  background: var(--pg) 0 0 / 560px auto, var(--desk); background-blend-mode: overlay;
  font-family: var(--f-read); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p, dl, dd, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(100% - 2rem, 81rem); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(100% - 5rem, 81rem); } }
.band { margin-top: var(--gap); }

/* ---------- Paper. Each sheet: ::before is the paper itself (grain, tint, punched holes), ::after its contact shadow. ---------- */
.sheet { position: relative; isolation: isolate; transform: rotate(var(--rot, 0deg)); }
.sheet::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 1.5px;
  background:
    var(--toner-a, linear-gradient(transparent, transparent)),
    var(--toner-b, linear-gradient(transparent, transparent)),
    radial-gradient(120% 95% at 46% 42%, transparent 58%, rgba(176, 128, 58, .13) 100%),
    linear-gradient(var(--veil), var(--veil)),
    var(--pg) 0 0 / 400px auto,
    var(--paper, var(--copy));
  background-blend-mode: multiply, multiply, multiply, normal, hard-light, normal;
  --veil: color-mix(in srgb, var(--paper, var(--copy)) var(--tooth, 52%), transparent);
}
.sheet::after { content: ""; position: absolute; inset: 1px 1px 0; z-index: -2; border-radius: 2px; box-shadow: var(--lie); }
.copy { --paper: var(--copy); --toner-a: linear-gradient(90deg, transparent calc(100% - 2.6rem), rgba(28, 26, 23, .075)); --toner-b: linear-gradient(0deg, rgba(28, 26, 23, .06), transparent 1.6rem); }
.bond { --paper: var(--bond); }
.carbon { --paper: var(--carbon); }

/* two punched holes at the top: the desk shows through, the paper edge shades the hole */
.holes-top::before {
  -webkit-mask: radial-gradient(circle at calc(50% - 4.4rem) 1.5rem, transparent 6.4px, #000 7.1px), radial-gradient(circle at calc(50% + 4.4rem) 1.5rem, transparent 6.4px, #000 7.1px);
  mask: radial-gradient(circle at calc(50% - 4.4rem) 1.5rem, transparent 6.4px, #000 7.1px), radial-gradient(circle at calc(50% + 4.4rem) 1.5rem, transparent 6.4px, #000 7.1px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.holes-top::after {
  background:
    radial-gradient(circle at calc(50% - 4.4rem + .5px) calc(1.5rem + 1.5px), rgba(40, 25, 10, .16) 0, rgba(40, 25, 10, .2) 4.4px, rgba(40, 25, 10, .55) 6.9px, transparent 9px),
    radial-gradient(circle at calc(50% + 4.4rem + .5px) calc(1.5rem + 1.5px), rgba(40, 25, 10, .16) 0, rgba(40, 25, 10, .2) 4.4px, rgba(40, 25, 10, .55) 6.9px, transparent 9px);
}
/* carbon copy torn off its pad: perforated top edge */
.carbon::before {
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 2.3px, #000 2.9px) 0 0 / 9px 100% repeat-x;
  mask: radial-gradient(circle at 50% 0, transparent 2.3px, #000 2.9px) 0 0 / 9px 100% repeat-x;
}
.carbon::after { top: 3px; }
/* the pile: more sheets underneath, slightly askew, showing at the edges */
.under { position: absolute; inset: 0; z-index: -3; border-radius: 1.5px; transform: rotate(var(--ur, .9deg)) translate(var(--ux, .35rem), var(--uy, .3rem)); background: var(--pg) 40px 20px / 400px auto, var(--up, var(--carbon)); background-blend-mode: overlay; box-shadow: var(--lie); }
.under + .under { z-index: -4; }
.clip { position: absolute; top: -1.05rem; left: 2.1rem; z-index: 2; width: 1.5rem; height: auto; overflow: visible; fill: none; stroke-linecap: round; transform: rotate(-5deg); filter: drop-shadow(0 1px .8px rgba(28, 26, 23, .5)); pointer-events: none; }
/* typed sheet furniture: a file line in the top corner, a footer line at the bottom. Real facts only. */
.file, .sheet-foot { font: 400 .78rem/1.3 var(--f-type); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.file { position: absolute; top: 1.05rem; left: 1.25rem; }
.sheet-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1.5rem; margin-top: 2.1rem; }

/* ---------- Label-maker strips come from the shared component; here only their position on the sheets ---------- */
.sheet .dymo-set { justify-content: center; }

/* ---------- Red pen ---------- */
.mark { position: absolute; overflow: visible; pointer-events: none; fill: none; stroke: var(--red); stroke: url(#ink-a); stroke-linecap: round; stroke-linejoin: round; mix-blend-mode: multiply; }
.mark.b { stroke: url(#ink-b); }
.mark path { stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.marked { position: relative; white-space: nowrap; }
.pen-note { font: 400 3.4rem/.8 var(--f-script); color: var(--red); mix-blend-mode: multiply; }
.pen-note .ln { display: block; width: fit-content; padding: .1em .3em .1em .1em; margin: -.1em -.3em -.1em -.1em; }
.ink-link { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.ink-link:hover { color: var(--red); }
.ink-link:active { opacity: .7; }
/* a link that stands alone (the footer credit, the production line) gets a finger-size hit area without changing how it looks */
.foot .ink-link, .form .ink-link { position: relative; }
.foot .ink-link::after, .form .ink-link::after { content: ""; position: absolute; left: -.3rem; right: -.3rem; top: 50%; height: 2.75rem; translate: 0 -50%; }

/* ---------- visionOS ornament (the only glass on the page) ---------- */
.ornament {
  background: rgba(28, 26, 23, .78);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 26px -16px rgba(28, 20, 12, .7);
}
.gaze { position: relative; overflow: hidden; isolation: isolate; }
.gaze::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(6.5rem circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .42), rgba(255, 255, 255, .08) 60%, transparent 75%);
  opacity: 0; transition: opacity .28s ease-out;
}
.gaze:hover::before, .gaze:focus-visible::before { opacity: 1; }
.gaze:focus-visible { outline-color: #fff; outline-offset: -3px; }

/* ---------- Header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem .25rem; }
/* The logo behaves as in design D: bigger on wide screens, growing around its own centre (the link keeps its old place
   in the layout, --lb, so nothing else moves). Highlighted, it lifts a little and a red glow breathes around it.
   On the cream desk the round logo is a paper sticker: a faint contact shadow gives it an edge, and the glow is set a
   little stronger than on D's charcoal so it stays red instead of washing out to pink. */
.logo { --lb: 4rem; --ls: 4rem; position: relative; display: block; flex: none; width: var(--lb); height: var(--lb); border-radius: 50%; transition: scale .45s cubic-bezier(.22,1,.36,1); }
.logo img { position: relative; display: block; width: var(--ls); height: var(--ls); max-width: none; margin: calc((var(--lb) - var(--ls)) / 2); border-radius: 50%;
  box-shadow: 0 0 0 .5px rgba(60, 40, 20, .12), 0 1px 1.5px rgba(40, 25, 10, .24), 0 4px 7px -2px rgba(40, 25, 10, .16); transition: box-shadow .5s cubic-bezier(.22,1,.36,1); }
.logo::before { content: ""; position: absolute; inset: calc((var(--lb) - var(--ls)) / 2 - .8rem); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 56, 28, .9), rgba(236, 18, 8, .62) 62%, transparent 100%);
  filter: blur(9px); opacity: 0; transform: scale(.7);
  transition: opacity .5s ease-out, transform .75s cubic-bezier(.22,1,.36,1); }
.logo:hover, .logo:focus-visible { scale: 1.045; }
.logo:hover img, .logo:focus-visible img { box-shadow: 0 0 0 1.5px rgba(255, 96, 72, .7), 0 0 22px rgba(255, 40, 20, .55); }
.logo:hover::before, .logo:focus-visible::before { opacity: 1; transform: scale(1); }
.logo:active { scale: .97; transition-duration: .09s; }
.logo:focus-visible { outline: none; }
.logo:focus-visible img { outline: 3px solid var(--red); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .logo:hover::before, .logo:focus-visible::before { animation: fb-breathe 2.8s ease-in-out .6s infinite alternate; }
}
@media (prefers-reduced-motion: reduce) { .logo, .logo img, .logo::before { transition: none; } .logo:hover, .logo:active { scale: none; } }
.nav { display: flex; gap: .1rem; padding: .3rem; border-radius: 999px; }
.nav a {
  padding: .6rem .75rem; border-radius: 999px; color: #fff; text-decoration: none; white-space: nowrap;
  font: 500 .9rem/1 var(--f-block); letter-spacing: .03em; transition: transform .2s var(--ease-out);
}
.nav a:active { transform: scale(.95); }
@media (min-width: 700px) { .logo { --lb: 4.75rem; --ls: clamp(4.75rem, 2.2rem + 3.6vw, 5.75rem); } .nav a { padding: .65rem 1.15rem; font-size: 1rem; } }

/* ---------- Hero: the call sheet and two prints ---------- */
.hero { position: relative; display: flex; flex-direction: column; margin-top: 1.5rem; }
.cover { --rot: -.35deg; padding: 3.4rem 1rem 1.5rem; }
.slate { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); }
.c-title { grid-column: 1 / -1; padding: 1.5rem .9rem 1.2rem; container-type: inline-size; }
.cell { padding: .5rem .8rem .5rem; border-top: 1px solid var(--ink); }
.c-host { border-left: 1px solid var(--ink); }
.lab, .report dt, .form dt, .log-head { display: block; font: 500 .78rem/1.2 var(--f-block); letter-spacing: .07em; color: var(--ink-2); }
.val { display: block; margin-top: .3rem; font: 400 1.05rem/1.25 var(--f-type); }
.dater {
  width: fit-content; margin-top: .2rem; padding: .16rem .1rem 0; transform: rotate(-2.2deg); transform-origin: left center;
  font: 700 1.05rem/1.25 var(--f-block); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; color: var(--red); mix-blend-mode: multiply;
}
.lockup {
  position: relative; display: inline-block;
  font-size: clamp(3.3rem, 2rem + 5.6vw, 5.75rem); font-size: min(clamp(3.3rem, 2rem + 5.6vw, 5.75rem), 20.5cqw); line-height: 1;
  filter: drop-shadow(0 .04em .09em rgba(28, 26, 23, .2));
}
.lockup-block { display: block; font: 700 1em/1 var(--f-block); text-transform: uppercase; letter-spacing: -.01em; color: var(--red); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lockup-block {
    background: var(--pg) 0 0 / 280px auto, var(--red); background-blend-mode: overlay, normal;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
}
.lockup-script {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -47%) rotate(-5deg);
  font: 400 1.3em/1 var(--f-script); letter-spacing: .012em; text-transform: lowercase; white-space: nowrap; color: var(--ink);
  -webkit-text-stroke: .01em currentColor;
  text-shadow: 0 0 .025em var(--copy), 0 0 .045em var(--copy), 0 0 .07em rgba(250, 248, 242, .7);
}
.pitch { grid-column: 1 / -1; padding: .95rem .9rem 1.05rem; border-top: 1px solid var(--ink); font-size: clamp(1.15rem, 1.02rem + .6vw, 1.4rem); line-height: 1.4; text-wrap: pretty; }
.pitch .mark { left: -3%; top: 86%; width: 106%; height: .5em; stroke-width: 4.5; }
.report { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--ink); }
.report > div { padding: .5rem .8rem .45rem; border-left: 1px solid var(--ink); }
.report > div:first-child { border-left: 0; }
.report > div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ink); }
.report dd { margin-top: .3rem; font: 400 1.08rem/1.25 var(--f-type); }
.report .mark { left: -18%; top: -44%; width: 136%; height: 176%; stroke-width: 5; }
.cover-foot { display: flex; justify-content: flex-end; margin-top: .85rem; padding-right: .5rem; }
/* the "Now showing" stamp from design D's format card: uneven ink, soaked into the paper, in the signing corner of the sheet */
.stamp { flex: none; width: clamp(10rem, 8.6rem + 4.4vw, 12.5rem); margin: 0 0 -.35rem; transform: rotate(-7deg); opacity: .9; mix-blend-mode: multiply; }
.stamp svg { width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(85% 95% at 30% 34%, #000 28%, rgba(0, 0, 0, .6) 72%, rgba(0, 0, 0, .84) 100%);
          mask-image: radial-gradient(85% 95% at 30% 34%, #000 28%, rgba(0, 0, 0, .6) 72%, rgba(0, 0, 0, .84) 100%); }

.prints { position: relative; z-index: 2; order: -1; margin-bottom: -2.25rem; padding-top: 1rem; }
.print { position: relative; display: block; background: var(--print); padding: .6rem; box-shadow: var(--lift); transform: rotate(var(--r, 0deg)); border-radius: 1px; }
.photo { position: relative; display: block; overflow: hidden; background: var(--coal); }
.photo img { width: 100%; }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--fg) 0 0 / 512px 384px; mix-blend-mode: overlay; opacity: var(--grain-o, .4); }
.print-bts { --r: 2.2deg; --grain-o: .5; width: min(74%, 23rem); margin-left: auto; margin-right: 3%; }
.print-bts { padding-bottom: 0; }
.cap { display: block; padding: .5rem 0 .55rem; text-align: center; font: 400 2.1rem/1 var(--f-script); color: var(--ink); transform: rotate(-1.5deg); }
.print-poster { --r: -5deg; --grain-o: .25; position: absolute; left: 1%; bottom: 1.25rem; width: min(37%, 11.5rem); }

/* Matte tape: see-through, a gloss band, serrated cut ends */
.tape { position: absolute; top: -.85rem; left: 50%; z-index: 3; width: 6.6rem; height: 1.8rem; transform: translateX(-50%) rotate(var(--tr, -3deg)); filter: drop-shadow(0 1px .6px rgba(40, 25, 10, .2)); pointer-events: none; }
.tape::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(98deg, transparent 12%, rgba(255, 255, 255, .5) 21%, rgba(255, 255, 255, .12) 33%, transparent 46%, transparent 70%, rgba(255, 255, 255, .16) 80%, transparent 90%),
    linear-gradient(180deg, rgba(128, 104, 62, .2), rgba(128, 104, 62, 0) 20%, rgba(128, 104, 62, 0) 78%, rgba(128, 104, 62, .22)),
    var(--pg) 0 0 / 280px auto,
    rgba(240, 233, 214, .44);
  background-blend-mode: normal, normal, overlay, normal;
  clip-path: polygon(1.8% 0, 98.4% 0, 100% 7%, 98.3% 15%, 99.8% 24%, 98.2% 33%, 100% 41%, 98.5% 50%, 99.7% 58%, 98.2% 67%, 100% 76%, 98.4% 85%, 99.8% 93%, 98.3% 100%, 1.6% 100%, 0 92%, 1.7% 84%, .2% 75%, 1.8% 66%, 0 57%, 1.5% 49%, .3% 40%, 1.8% 31%, 0 23%, 1.6% 14%, .2% 6%);
}
.tape.corner { top: -.5rem; left: auto; right: -2rem; width: 5.6rem; --tr: 41deg; transform: rotate(var(--tr)); }
/* clear tape: almost invisible, wrinkled, sharp highlights */
.tape.clear { filter: drop-shadow(0 1px .5px rgba(40, 25, 10, .16)); }
.tape.clear::before {
  background:
    linear-gradient(116deg, transparent 7%, rgba(255, 255, 255, .7) 8.5%, transparent 11%, transparent 27%, rgba(255, 255, 255, .34) 30%, rgba(255, 255, 255, .08) 35%, transparent 38%, transparent 58%, rgba(255, 255, 255, .6) 59.5%, transparent 62%, transparent 80%, rgba(255, 255, 255, .3) 84%, transparent 89%),
    linear-gradient(64deg, transparent 40%, rgba(255, 255, 255, .34) 42%, transparent 45%, transparent 70%, rgba(255, 255, 255, .22) 72%, transparent 75%),
    linear-gradient(180deg, rgba(90, 78, 55, .28) 0, rgba(255, 255, 255, .55) 5%, rgba(255, 255, 255, .06) 16%, rgba(255, 255, 255, .03) 84%, rgba(90, 78, 55, .1) 94%, rgba(70, 60, 45, .34)),
    rgba(236, 232, 220, .26);
  background-blend-mode: normal;
  clip-path: polygon(0 0, 100% 0, 99.2% 100%, .6% 100%);
}
.card .tape { top: -1rem; left: 42%; width: 6rem; --tr: -4deg; }

@media (min-width: 700px) and (max-width: 999px) {
  .print-bts { margin-right: 12%; }
  .print-poster { left: 9%; bottom: 2.5rem; }
}
@media (min-width: 1000px) and (max-width: 1239px) {
  .hero .slate { grid-template-columns: minmax(0, 1fr) 11.5rem; }
  .print-poster { left: -2.75rem; width: 36%; }
}
@media (min-width: 1240px) { .dater { font-size: 1.2rem; letter-spacing: .1em; } }
@media (min-width: 1000px) {
  .hero { display: block; margin-top: 2rem; }
  .cover { width: 64%; padding: 3.7rem 3.5rem 2.4rem 3.5rem; }
  .slate { grid-template-columns: minmax(0, 1fr) 13.5rem; }
  .c-title { grid-column: 1; grid-row: 1 / span 2; padding: 1.9rem 1.5rem 1.5rem; }
  .c-date { grid-column: 2; grid-row: 1; border-top: 0; border-left: 1px solid var(--ink); }
  .c-host { grid-column: 2; grid-row: 2; }
  .cell { padding: .6rem .9rem .55rem; }
  .pitch { padding: 1.05rem 1.5rem 1.2rem; }
  .report { grid-template-columns: auto auto 1fr; }
  .report > div { padding: .55rem 1.5rem .5rem; }
  .report > div:last-child { grid-column: auto; border-top: 0; border-left: 1px solid var(--ink); }
  .cover-foot { margin-top: 1.1rem; padding-right: 2.5rem; }
  .prints { position: absolute; inset: 0 0 0 auto; width: 44%; margin: 0; padding: 0; }
  .print { padding: .85rem; }
  .print-bts { position: absolute; right: 3.5rem; top: 1.25rem; width: min(28.5rem, 100% - 6rem); margin: 0; }
  .print-bts { padding-bottom: 0; }
  .cap { padding: .7rem 0 .8rem 3rem; font-size: 2.5rem; }
  .print-poster { left: 0; bottom: -2.25rem; width: min(13.5rem, 40%); }
  .tape { width: 7.4rem; height: 2rem; }
}

/* ---------- Trailer still: a taped print, the title burning red, and an index card ---------- */
.still { position: relative; display: block; width: min(100%, 64rem); text-decoration: none; transition: transform .4s var(--ease-out); }
.still-print { --r: -1deg; --grain-o: .2; }
.photo.lit { container-type: inline-size; }
.halation {
  position: absolute; left: 23.15%; top: 44.3%; transform: scaleX(.913); transform-origin: 0 50%; pointer-events: none; user-select: none; mix-blend-mode: screen;
  font: 700 12.35cqw/1 var(--f-block); text-transform: uppercase; letter-spacing: -.012em; white-space: nowrap; color: transparent;
  text-shadow: 0 0 10px rgba(255, 40, 20, .55), 0 0 28px rgba(255, 30, 10, .38), 0 0 70px rgba(230, 20, 0, .22);
}
.still:hover { transform: translateY(-4px); }
.still:active { transform: scale(.992); }
.card {
  position: relative; z-index: 2; display: block; width: min(92%, 21rem); margin: -1.4rem .4rem 0 auto; padding: 1.05rem 1.15rem 1.2rem; transform: rotate(1.8deg);
  border-radius: 4px; box-shadow: var(--lie);
  background:
    linear-gradient(rgba(228, 14, 8, .5), rgba(228, 14, 8, .5)) 0 3.05rem / 100% 1px no-repeat,
    repeating-linear-gradient(180deg, transparent 0 1.55rem, rgba(28, 26, 23, .13) 1.55rem calc(1.55rem + 1px)) 0 3.05rem,
    var(--pg) 60px 30px / 400px auto, var(--card);
  background-blend-mode: normal, normal, overlay, normal;
}
.watch { position: relative; display: inline-flex; align-items: center; gap: .6rem; font: 700 1.3rem/1 var(--f-block); text-transform: uppercase; letter-spacing: .02em; }
.watch .yt { width: 1.6rem; height: 1.6rem; }
.watch .mark { left: -1rem; top: -.75rem; width: calc(100% + 2.1rem); height: calc(100% + 1.5rem); stroke-width: 4; }
.hint { display: block; margin-top: 1.05rem; font-style: italic; color: var(--ink-2); line-height: 1.46; }
@media (min-width: 1000px) {
  .trailer { padding-bottom: 2.5rem; }
  .still { width: min(100% - 13.5rem, 64rem); margin-left: 2.5rem; }
  .card { position: absolute; right: -11rem; bottom: -2.4rem; width: 20rem; margin: 0; transform: rotate(2.6deg); }
}

/* ---------- Script page and camera report ---------- */
.binder { display: grid; gap: 2.25rem; }
.script { --ur: -.7deg; --ux: -.3rem; --uy: .35rem; --up: var(--copy); padding: 3.5rem 1.25rem 1.5rem; }
.script .dymo-set { max-width: 36.5rem; margin: 0 0 1.5rem; }
.script-body { max-width: 36.5rem; }
.beat { position: relative; }
.beat p:first-child { font-size: 1.1875rem; line-height: 1.65; text-wrap: pretty; }
.beat + .beat { margin-top: 1.1rem; }
.beat .mark { left: -1%; top: 84%; width: 102%; height: .5em; stroke-width: 4.5; }
.beat .pen-note { margin: .6rem 0 .3rem; transform: rotate(-2deg); }
.beat .pen-note .ln { margin-left: auto; }
.camrep { --rot: .5deg; padding: 3.5rem 1.25rem 1.4rem; }
.camrep .dymo-set { margin: 0 0 1.3rem; }
.camrep .file { top: 1.25rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); border-bottom-width: .5px; }
.form > div { grid-column: 1 / -1; padding: .55rem .8rem .5rem; border-bottom: 1px solid var(--ink); }
.form > .half { grid-column: auto; }
.form > .half + .half { border-left: 1px solid var(--ink); }
.form dd { margin-top: .3rem; font: 400 1rem/1.4 var(--f-type); }
.form .ring { left: -22%; top: -42%; width: 144%; height: 170%; stroke-width: 5; }
.form .u1 { left: -2%; top: 78%; width: 104%; height: .5em; stroke-width: 4; }
@media (min-width: 700px) {
  .script { padding: 3.6rem 2rem 1.7rem 4.6rem; }
  .script .file { left: 4.6rem; }
  .script::before { /* three punched holes */
    -webkit-mask: radial-gradient(circle at 1.7rem 11%, transparent 6.4px, #000 7.1px), radial-gradient(circle at 1.7rem 50%, transparent 6.4px, #000 7.1px), radial-gradient(circle at 1.7rem 89%, transparent 6.4px, #000 7.1px);
    mask: radial-gradient(circle at 1.7rem 11%, transparent 6.4px, #000 7.1px), radial-gradient(circle at 1.7rem 50%, transparent 6.4px, #000 7.1px), radial-gradient(circle at 1.7rem 89%, transparent 6.4px, #000 7.1px);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .script::after {
    background:
      radial-gradient(circle at calc(1.7rem + .5px) calc(11% + 1.5px), rgba(40, 25, 10, .16) 0, rgba(40, 25, 10, .2) 4.4px, rgba(40, 25, 10, .55) 6.9px, transparent 9px),
      radial-gradient(circle at calc(1.7rem + .5px) calc(50% + 1.5px), rgba(40, 25, 10, .16) 0, rgba(40, 25, 10, .2) 4.4px, rgba(40, 25, 10, .55) 6.9px, transparent 9px),
      radial-gradient(circle at calc(1.7rem + .5px) calc(89% + 1.5px), rgba(40, 25, 10, .16) 0, rgba(40, 25, 10, .2) 4.4px, rgba(40, 25, 10, .55) 6.9px, transparent 9px);
  }
}
@media (min-width: 1000px) {
  .binder { grid-template-columns: minmax(0, 1fr) 24rem; gap: 2.5rem; align-items: start; }
  .script { padding: 3.9rem 1.5rem 1.9rem 5.5rem; }
  .script .file { left: 5.5rem; top: 1.3rem; }
  .script .sheet-foot { margin-top: 2.6rem; padding-right: 1.5rem; }
  .camrep { margin-top: 4rem; }
}
/* the notes move into the right margin of the script page only where that margin is wide enough to hold them */
@media (min-width: 1270px) {
  .script-body { max-width: 33rem; }
  .beat .pen-note { position: absolute; left: calc(100% + 1rem); top: .15rem; width: 9rem; margin: 0; font-size: 2.9rem; line-height: .84; transform: rotate(-4deg); transform-origin: left top; }
  .beat .pen-note .ln { margin-left: -.1em; }
}
@media (min-width: 1376px) {
  .script-body { max-width: 36.5rem; }
  .beat .pen-note { left: calc(100% + 1.75rem); width: 10rem; font-size: 3.1rem; }
}

/* ---------- Shot log ---------- */
.shotlog { --rot: -.2deg; --ur: .6deg; --ux: .4rem; --uy: .4rem; --up: var(--bond); margin-top: 2.5rem; padding: 4rem 1.1rem 1.4rem; }
.shotlog .dymo-set { margin: 0 0 1.4rem; }
.shotlog .sheet-foot { margin-top: 3rem; }
.shotlog .file { top: 2.9rem; }
@media (max-width: 699px) {
  .shotlog { padding-top: 5.2rem; }
}
.log-head { display: grid; grid-template-columns: 3.6rem 1fr; gap: 1rem; padding: 0 .25rem .45rem; border-bottom: 1.5px solid var(--ink); }
.log-head span:first-child { text-align: right; }
.log-head + .log-head { display: none; }
.log li { position: relative; }
.log a {
  display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) 1.25rem; gap: 1rem; align-items: baseline;
  padding: .7rem .25rem .6rem; border-bottom: 1px solid var(--hair); text-decoration: none; transition: transform .25s var(--ease-out);
}
.tc { position: relative; justify-self: end; font: 400 1.05rem/1.35 var(--f-type); }
.what { font-size: 1.0625rem; line-height: 1.35; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.go { width: 1.25rem; height: 1.25rem; align-self: center; opacity: .35; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: translateX(-.35rem); transition: transform .3s var(--ease-out), opacity .2s ease-out; }
.log a:hover .what, .log a:focus-visible .what { text-decoration-line: underline; }
.log a:hover .go, .log a:focus-visible .go { opacity: 1; color: var(--red); transform: none; }
.log a:active { transform: translateX(3px); }
.tc .mark { left: -34%; top: -40%; width: 160%; height: 170%; stroke-width: 6; }
.log .pen-note { position: absolute; right: 1.6rem; font-size: 3rem; pointer-events: none; }
.log .n-dusk { top: -3rem; right: .4rem; transform: rotate(-5deg); }
.log .n-dawn { bottom: -2.3rem; transform: rotate(-3deg); }
@media (min-width: 1000px) {
  .shotlog { margin-top: 2.75rem; padding: 3.6rem 3.5rem 1.8rem; }
  .shotlog .file { left: 3.5rem; top: 1.3rem; }
  .log-heads, .log { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .log { grid-template-rows: repeat(7, auto); grid-auto-flow: column; }
  .log-head + .log-head { display: grid; }
  .log .n-dusk { top: -2.7rem; right: 7.25rem; }   /* clear of the Chapters label, which sits over the end of this column */
}

/* ---------- The dark. The two sections below are design D's (the locked dark theme): "Watch It in Full Immersion" and
   the film wall. Their classes are prefixed fb- and ww- and they keep their own values, so nothing clashes with this
   page's .tape, .mark, .pen-note, .band or .wall. Their marks use this page's pen (data-ink gets .inked under .pen-ready)
   with D's timings; without .pen-ready every mark is simply present.
   The desk does not stop on a line: the lamp light falls off into charcoal above the heading, and comes back up after the wall. ---------- */
.over { position: relative; z-index: 2; }
.fb-visor, .ww { color: var(--cream); }
.fb-visor ::selection, .ww ::selection { background: #fff; color: var(--coal); }
.fb-visor :focus-visible, .ww :focus-visible, .ww a.ww-all:focus-visible { outline-color: var(--cream); }
.fb-visor .fb-capsule:focus-visible { outline-color: #fff; }

/* Full immersion: the page leaves the paper and looks through the headset. The screen is the brightest thing in the room. */
.fb-visor {
  --gap: clamp(4rem, 2.4rem + 5.4vw, 7.5rem);
  --fade: clamp(7rem, 5.4rem + 5vw, 10rem);
  position: relative; isolation: isolate; display: flow-root; margin-top: 2rem;
  padding: calc(var(--fade) + .5rem) 0 var(--gap);
  background: linear-gradient(180deg,
    rgba(120, 52, 24, 0) 0, rgba(120, 52, 24, .14) calc(var(--fade) * .18), rgba(96, 40, 20, .42) calc(var(--fade) * .38),
    rgba(64, 28, 16, .72) calc(var(--fade) * .58), rgba(38, 22, 15, .92) calc(var(--fade) * .78), var(--coal) var(--fade));
}
.fb-visor::before { /* the real film grain, coming in with the dark */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--fg) 380px -180px / 1024px 768px; mix-blend-mode: overlay; opacity: .62;
  -webkit-mask-image: linear-gradient(180deg, transparent calc(var(--fade) * .6), #000 calc(var(--fade) * 1.2)); mask-image: linear-gradient(180deg, transparent calc(var(--fade) * .6), #000 calc(var(--fade) * 1.2));
}
.fb-visor .dymo-set { flex-direction: column; align-items: flex-start; }
.fb-mark { position: absolute; overflow: visible; pointer-events: none; fill: none; stroke: var(--red); stroke-width: var(--w, 4.5); stroke-linecap: round; stroke-linejoin: round; }
.fb-mark path { stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.fb-pen { font: 400 3.4rem/.82 var(--f-script); color: var(--red); }
.fb-ln { display: block; width: fit-content; }
.fb-lampglow { filter: drop-shadow(0 0 3px rgba(255, 60, 30, .75)) drop-shadow(0 0 12px rgba(255, 30, 10, .45)); }
.fb-pen.fb-lampglow { filter: none; text-shadow: var(--glow); }
.fb-visor-head { position: relative; display: grid; gap: 1.4rem; margin-bottom: 2rem; }
.fb-say { max-width: 27rem; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.4rem); line-height: 1.5; text-wrap: pretty; }
.fb-say .fb-mark { left: -2%; top: 84%; width: 104%; height: .5em; }
/* "headset on", written large. The arrow grows with it and still lands on the screen. */
.fb-note { display: flex; align-items: flex-end; gap: .7rem; justify-self: end; margin: .2rem .5rem -.6rem 0; }
.fb-note .fb-pen { font-size: clamp(4.6rem, 3.8rem + 3.2vw, 5.4rem); transform: rotate(-5deg); white-space: nowrap; }
.fb-note .fb-mark { position: static; flex: none; width: 4.7rem; height: 5rem; --w: 3.2; margin-bottom: -1.4rem; }
.fb-screen {
  position: relative; width: min(100% - 1.25rem, 94rem); margin-inline: auto; border-radius: 12px; background: #0d0b09;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .13), 0 2px 5px rgba(0, 0, 0, .6), 0 60px 90px -50px #000;
}
.fb-screen img { width: 100%; border-radius: inherit; }
.fb-screen::before { /* light spilling off the screen into the room */
  content: ""; position: absolute; inset: -16% -7% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(56% 52% at 50% 38%, rgba(255, 244, 228, .27), rgba(255, 236, 214, .08) 55%, transparent 74%);
}
.fb-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: #0d0b09; opacity: 0; }
.fb-store { position: relative; z-index: 1; width: fit-content; margin: -1.85rem auto 0; padding: .45rem; border-radius: 999px; }
.fb-store.ornament {
  background: rgba(86, 76, 66, .46); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 30px -16px rgba(0, 0, 0, .85);
  transition: background-color .5s cubic-bezier(.22,1,.36,1), box-shadow .5s cubic-bezier(.22,1,.36,1), scale .45s cubic-bezier(.22,1,.36,1);
}
.fb-capsule {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.6rem; border-radius: 999px;
  color: #fff; text-decoration: none; font: 500 1.1rem/1 var(--f-block); letter-spacing: .03em; white-space: nowrap;
  background: var(--red); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 0 10px rgba(255, 40, 20, .5), 0 0 34px rgba(255, 30, 10, .34);
}
.fb-capsule svg { width: 1.25rem; height: 1.25rem; flex: none; fill: currentColor; }
.fb-vbar { display: block; width: 4.5rem; height: .32rem; margin: .85rem auto 0; border-radius: 999px; background: rgba(251, 230, 214, .34); }
/* when the Vision Pro button is highlighted, its glass base lights up red with it, and the two move as one piece */
.fb-store.ornament::before { content: ""; position: absolute; inset: -1rem -1.6rem; z-index: -1; border-radius: 999px; pointer-events: none;
  background: radial-gradient(62% 72% at 50% 50%, rgba(255, 56, 28, .8), rgba(228, 14, 8, .38) 55%, transparent 78%);
  filter: blur(14px); opacity: 0; transform: scale(.8);
  transition: opacity .5s ease-out, transform .75s cubic-bezier(.22,1,.36,1); }
.fb-store.ornament:has(.fb-capsule:hover), .fb-store.ornament:has(.fb-capsule:focus-visible) {
  scale: 1.035; background-color: rgba(150, 38, 28, .55);
  box-shadow: inset 0 1px 0 rgba(255, 205, 195, .5), inset 0 0 0 1px rgba(255, 96, 72, .4), inset 0 0 18px rgba(255, 56, 28, .4), 0 18px 30px -16px rgba(0, 0, 0, .85), 0 0 30px rgba(255, 40, 20, .38); }
.fb-store.ornament:has(.fb-capsule:hover)::before, .fb-store.ornament:has(.fb-capsule:focus-visible)::before { opacity: 1; transform: scale(1); }
.fb-store.ornament:has(.fb-capsule:active) { scale: .97; transition-duration: .5s, .5s, .09s; }
@media (prefers-reduced-motion: no-preference) {
  /* once lit, the glow breathes slowly, like light moving in liquid glass */
  .fb-store.ornament:has(.fb-capsule:hover)::before, .fb-store.ornament:has(.fb-capsule:focus-visible)::before { animation: fb-breathe 2.8s ease-in-out .6s infinite alternate; }
}
@keyframes fb-breathe { from { opacity: 1; transform: scale(1); } to { opacity: .72; transform: scale(1.07, .94); } }
@media (prefers-reduced-motion: reduce) {
  .fb-store.ornament, .fb-store.ornament::before { transition: none; }
  .fb-store.ornament:has(.fb-capsule:hover), .fb-store.ornament:has(.fb-capsule:active) { scale: none; }
}
@media (min-width: 700px) { .fb-screen { border-radius: 16px; } }
@media (min-width: 1000px) {
  .fb-visor-head { grid-template-columns: auto minmax(0, 27rem) 1fr; align-items: end; gap: 3.5rem; margin-bottom: 2.4rem; }
  .fb-note { margin: 0 2rem -1rem 0; }
}

/* Film wall (design D): giant title, drifting poster columns, one red tone, a glowing red field.
   Without the script, or with reduced motion: a plain grid of the seven posters. */
.ww { --ww-type: "Courier Prime", "Courier New", monospace; position: relative; isolation: isolate; overflow: hidden; background: var(--coal); padding: 4.5rem 0 5rem; }
.ww-field {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(46% 52% at 0% 100%, var(--coal) 0%, rgba(23, 20, 15, .62) 62%, transparent 100%),
    radial-gradient(70% 62% at 36% 32%, #FF4A2E 0%, var(--red) 24%, rgba(128, 12, 6, .92) 50%, transparent 80%),
    radial-gradient(60% 90% at 80% 28%, rgba(168, 14, 8, .8) 0%, transparent 70%),
    linear-gradient(98deg, var(--coal) 0%, #3A0906 16%, transparent 42%),
    linear-gradient(0deg, var(--coal) 0%, rgba(58, 9, 6, .86) 30%, transparent 62%),
    #3A0906;
}
/* the red film wall comes up out of the charcoal instead of starting on a line */
.fb-visor + .ww .ww-field { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 11rem); mask-image: linear-gradient(180deg, transparent 0, #000 11rem); }
.ww-grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--fg) 0 0 / 640px 480px; mix-blend-mode: overlay; opacity: .6; }
.ww-in { position: relative; display: grid; gap: 2.5rem; }
.ww-copy { position: relative; z-index: 2; }
.ww-title { font: 700 min(calc((100vw - 2rem) / 3.85), 7.5rem)/.84 var(--f-block); letter-spacing: -.01em; text-transform: uppercase; color: var(--cream); text-shadow: 0 .02em .14em rgba(23, 20, 15, .4); }
.ww-script { display: block; width: fit-content; margin: 0 0 -.16em .04em; font: 400 .8em/1 var(--f-script); letter-spacing: 0; text-transform: lowercase; color: #fff; transform: rotate(-4deg); transform-origin: left bottom; text-shadow: 0 .03em .1em rgba(23, 20, 15, .55); }
.ww-block { display: block; }
/* "All films" is a label strip like the top navigation; only the Vision Pro section keeps the capsule button */
.ww-all { margin-top: 1.6rem; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.7rem); --dymo-tilt: -1.4deg; }
.ww-wall { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ww-col { min-width: 0; }
.ww-card {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #3A0906; color: var(--cream); text-decoration: none;
  box-shadow: 0 2px 6px rgba(10, 6, 4, .4), 0 18px 40px -14px rgba(10, 6, 4, .85); transition: transform .3s var(--ease-out), opacity .3s ease-out;
}
.ww-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.8); transition: filter .35s ease-out, transform .45s var(--ease-out); }
.ww-card::after { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: color; pointer-events: none; transition: opacity .35s ease-out; }
.ww-name { position: absolute; left: 10px; bottom: 10px; z-index: 1; max-width: calc(100% - 20px); padding: .42rem .55rem .32rem; background: rgba(23, 20, 15, .94); border-radius: 2px; font: 700 .78rem/1.25 var(--ww-type); }
.ww-card:hover, .ww-card:focus-visible { transform: translateY(-5px) scale(1.02); z-index: 2; }
.ww-card:hover img, .ww-card:focus-visible img { filter: none; transform: scale(1.04); }
.ww-card:hover::after, .ww-card:focus-visible::after { opacity: 0; }
.ww-card:active { transform: translateY(-2px) scale(1); }
.ww-card:focus-visible { outline-offset: -3px; }
.ww-wall:hover .ww-card:not(:hover) { opacity: .62; }
@media (hover: none) { .ww-wall:hover .ww-card:not(:hover) { opacity: 1; } }   /* no stuck dimming after a tap */
.ww-pause {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 6; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; border-radius: 50%; background: rgba(23, 20, 15, .88); color: var(--cream); cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(251, 230, 214, .28); transition: transform .2s var(--ease-out);
}
.ww-pause[hidden] { display: none; }
.ww-pause svg { width: 1rem; height: 1rem; fill: currentColor; }
.ww-pause .i-play, .ww[data-paused] .ww-pause .i-pause { display: none; }
.ww[data-paused] .ww-pause .i-play { display: block; }
.ww-pause:hover { transform: scale(1.08); color: #fff; }
.ww-pause:active { transform: scale(.94); }
/* Drift (built by the script): two columns travelling in opposite directions */
.ww[data-drift] { padding-bottom: 0; }
.ww[data-drift] .ww-wall { height: 31rem; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.ww-track { display: flex; flex-direction: column; will-change: transform; animation: ww-up var(--dur, 60s) linear infinite; animation-delay: var(--phase, 0s); }
.ww-col:nth-child(2) .ww-track { animation-name: ww-down; }
.ww-track .ww-card { flex: none; margin-bottom: 14px; }
.ww[data-paused] .ww-track, .ww[data-off] .ww-track, .ww-wall:hover .ww-track, .ww-wall:focus-within .ww-track { animation-play-state: paused; }
@keyframes ww-up { to { transform: translate3d(0, -50%, 0); } }
@keyframes ww-down { from { transform: translate3d(0, -50%, 0); } to { transform: none; } }
@media (min-width: 900px) {
  .ww { padding: 6rem 0; }
  .ww-in { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 2rem; }
  .ww-copy { align-self: end; padding-bottom: 1rem; }
  .ww-title { font-size: calc(min(100vw - 5rem, 81rem) * .45 / 3.9); }
  .ww-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ww-pause { right: 2.5rem; bottom: 1.5rem; }
  .ww[data-drift] { height: max(40rem, min(100svh, 54rem)); padding: 0; }
  .ww[data-drift] .ww-in { height: 100%; }
  .ww[data-drift] .ww-copy { padding-bottom: 4.5rem; }
  .ww[data-drift] .ww-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); height: 100%; }
}
/* on the stacked layout the "All films" strip sits on the bright red field: black tape reads better there than red on red */
@media (max-width: 999px) {
  .ww-all { --dymo-tape: #17130f; filter: drop-shadow(0 0 .7px rgba(255,255,255,.55)) drop-shadow(0 6px 7px rgba(0,0,0,.55)); }
}

/* ---------- Footer: back on the desk. The dark lifts off the page the way it came down. ---------- */
main::after {
  content: ""; display: block; height: clamp(5.5rem, 4.4rem + 4vw, 8rem);
  background: linear-gradient(180deg, var(--coal) 0, rgba(38, 22, 15, .92) 22%, rgba(64, 28, 16, .72) 42%, rgba(96, 40, 20, .42) 62%, rgba(120, 52, 24, .14) 82%, rgba(120, 52, 24, 0) 100%);
}
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 2.2rem 0 2.6rem; }
.foot a.plain { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding-inline: .15rem; text-decoration: none; font: 500 1rem/1.2 var(--f-block); letter-spacing: .03em; }
.foot a.plain::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.foot a.plain:hover::after, .foot a.plain:focus-visible::after { transform: scaleX(1); }
.foot a.plain:active { opacity: .65; }
.foot a.plain svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.foot p { font-size: .95rem; color: var(--ink-2); }

/* ---------- Motion.
   Signature: the red pen works its way down the paperwork. Each sheet is inked when it scrolls into view:
   underlines and circles are drawn, notes are written, at hand speed, one after another (delays and durations
   are set per mark by the script). Support: prints settle with a little overshoot, the screen warms up.
   All of it is progressive: without the script or with reduced motion every mark is simply there. ---------- */
@keyframes draw { from { stroke-dashoffset: 1.01; } }
@keyframes write { from { clip-path: polygon(-4% -45%, -4% -45%, -12% 145%, -12% 145%); } to { clip-path: polygon(-4% -45%, 116% -45%, 108% 145%, -12% 145%); } }
@keyframes thump { 0% { opacity: 0; transform: rotate(-11deg) scale(1.28); } 55% { opacity: 1; transform: rotate(-6.4deg) scale(.97); } 100% { opacity: .9; transform: rotate(-7deg) scale(1); } }
@keyframes fb-draw-a { 0% { stroke-dashoffset: 1.01; } 42% { stroke-dashoffset: .5; } 55% { stroke-dashoffset: .44; } 100% { stroke-dashoffset: 0; } }
@keyframes fb-draw-b { 0% { stroke-dashoffset: 1.01; } 24% { stroke-dashoffset: .8; } 70% { stroke-dashoffset: .16; } 100% { stroke-dashoffset: 0; } }
@keyframes fb-press { 0% { stroke-width: calc(var(--w, 4.5) * .5); } 35% { stroke-width: calc(var(--w, 4.5) * 1.18); } 100% { stroke-width: var(--w, 4.5); } }
@keyframes fb-write-a { 0% { clip-path: inset(-45% 104% -45% -6%); } 34% { clip-path: inset(-45% 62% -45% -6%); } 41% { clip-path: inset(-45% 60% -45% -6%); } 100% { clip-path: inset(-45% -8% -45% -6%); } }
@keyframes fb-write-b { 0% { clip-path: inset(-45% 104% -45% -6%); } 58% { clip-path: inset(-45% 36% -45% -6%); } 66% { clip-path: inset(-45% 33% -45% -6%); } 100% { clip-path: inset(-45% -8% -45% -6%); } }
@keyframes fb-stick {
  0% { transform: rotate(calc(var(--dymo-tilt, -1.2deg) + 3deg)) translate3d(0, -6px, 0) scale(1.06); }
  58% { transform: rotate(calc(var(--dymo-tilt, -1.2deg) - .6deg)) scale(.985); }
  100% { transform: rotate(var(--dymo-tilt, -1.2deg)); }
}
@keyframes settle { from { opacity: 0; transform: translate3d(0, -1.5rem, 0) rotate(calc(var(--r, 0deg) + 4deg)) scale(1.04); } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.static) .prints .print-bts { animation: settle .85s var(--ease-over) .1s backwards; }
  html:not(.static) .prints .print-poster { animation: settle .85s var(--ease-over) .32s backwards; }
  html:not(.static) .lockup-script { animation: write .95s var(--hand) .7s backwards; }

  .pen-ready [data-ink]:not(.inked) .mark path { stroke-dashoffset: 1.01; }
  .pen-ready [data-ink]:not(.inked) .ln { clip-path: polygon(-4% -45%, -4% -45%, -12% 145%, -12% 145%); }
  .pen-ready [data-ink]:not(.inked) .thump { opacity: 0; }
  .pen-ready .inked .mark path { animation: draw var(--t, .5s) var(--e, var(--ease-pen)) var(--d, 0s) backwards; }
  .pen-ready .inked .ln { animation: write var(--t, .6s) var(--hand) var(--d, 0s) backwards; }
  .pen-ready .inked .thump { animation: thump .34s cubic-bezier(.2, .9, .3, 1.2) var(--d, 0s) backwards; }
  .pen-ready .still:hover .watch .mark path, .pen-ready .still:focus-visible .watch .mark path { animation: draw .62s var(--ease-pen); }

  .pen-ready [data-settle] { transition: transform .8s var(--ease-over); }
  .pen-ready .print[data-settle]:not(.settled) { transform: translate3d(0, -.9rem, 0) rotate(calc(var(--r, 0deg) + 2.4deg)) scale(1.025); }
  .pen-ready .card[data-settle]:not(.settled) { transform: translate3d(.6rem, -.7rem, 0) rotate(6deg); }

  /* design D's hand in the immersion section: the labels stick, the marks draw and the note writes on at their own speed
     and pressure (--pen is how long this page's one pen is still busy elsewhere), and the screen comes up */
  .pen-ready [data-ink]:not(.inked) .fb-mark path { stroke-dashoffset: 1.01; }
  .pen-ready [data-ink]:not(.inked) .fb-ln { clip-path: inset(-45% 104% -45% -6%); }
  .pen-ready .fb-visor-head:not(.inked) .dymo { transform: rotate(calc(var(--dymo-tilt, -1.2deg) + 3deg)) translate3d(0, -6px, 0) scale(1.06); }
  .pen-ready .inked .fb-mark path { animation: var(--k, fb-draw-a) var(--t, .55s) var(--ease-pen) calc(var(--pen, 0s) + var(--d, .2s)) backwards, fb-press var(--t, .55s) ease-out calc(var(--pen, 0s) + var(--d, .2s)) backwards; }
  .pen-ready .inked .fb-ln { animation: var(--k, fb-write-a) var(--t, .9s) linear calc(var(--pen, 0s) + var(--d, .5s)) backwards; }
  .pen-ready .fb-visor-head.inked .dymo { animation: fb-stick .6s var(--ease-out) backwards; }
  .pen-ready .fb-visor-head.inked .dymo + .dymo { animation-delay: .16s; }
  .pen-ready .fb-screen[data-settle] { transition: transform 1.4s var(--ease-out); }
  .pen-ready .fb-screen[data-settle]:not(.settled) { transform: scale(.975); }
  .pen-ready .fb-screen::after { transition: opacity 1.6s ease-out; }
  .pen-ready .fb-screen:not(.settled)::after { opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
/* 2026-11-16 three-photo stack */
.prints .pstack { margin: 0 auto; }
/* the third width keeps the big print off the release date: it may lie over the edge of the sheet, never over the typed cells */
@media (min-width: 1000px) { .prints .pstack { position: absolute; right: 2.5rem; top: 1rem; width: min(30rem, 100% - 3rem, 81.8% + 1rem); } }
/* where the stack is at its narrowest beside the call sheet, the poster print steps aside (as it does on phones) so it never covers the "Scott Monument" caption */
@media (min-width: 1000px) and (max-width: 1239px) { .prints .pp.s2 { width: 26%; right: 22%; } }
/* 2026-11-17 Hugh: on phones the logo sits in the middle with the navigation centred under it in one row, as in design D */
@media (max-width: 640px) {
  .top { flex-direction: column; justify-content: flex-start; gap: 1.85rem; padding-top: max(2.1rem, env(safe-area-inset-top, 0px) + 1.1rem); }
  .logo { --lb: 3.75rem; --ls: 4.6rem; }
  .top .dymo-nav { justify-content: center; flex-wrap: nowrap; gap: .5rem; }
  .top .dymo-nav .dymo { font-size: clamp(.9rem, 4.1vw, 1.3rem); --dymo-pad: .45em; }
  .hero { margin-top: 2rem; }
}

/* ==========================================================================
   2026-11-17 PRODUCTION ADDITIONS (not in the mockup). Everything above is the approved light mockup, unchanged.
   The mockup shows one film (Edinburgh in the Dark); the rules below let the same paperwork carry any film.

   Per-film values, set in a small inline <style> on each page:
     --lock-w        width of the red block word in em (its widest line), so the title fills its cell
     --lock-max      optional cap on the title size
     --script-size   size of the ink script (the script face has small thin letters: keep it large)
     --script-l, --script-t, --script-x, --script-y, --script-rot   where the script lies on the block word
     --log-rows      rows per column of the chapters log on wide screens (half the chapters, rounded up)
   ========================================================================== */

/* Title lockup for any title: the block word fills the cell, the script is placed per film */
.lockup { font-size: min(var(--lock-max, clamp(3.3rem, 2rem + 5.6vw, 5.75rem)), calc(100cqw / var(--lock-w, 4.88))); }
.lockup-block.stack { line-height: .97; }                      /* a block word set on two lines */
.lockup-script {
  left: var(--script-l, 50%); top: var(--script-t, 50%); font-size: var(--script-size, 1.3em);
  transform: translate(var(--script-x, -50%), var(--script-y, -47%)) rotate(var(--script-rot, -5deg));
}
.lockup-script.proper { text-transform: none; }               /* names keep their capitals */
.lockup .vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* A long title takes the full width of the call sheet on wide screens too; the two typed cells sit side by side under it */
@media (min-width: 1000px) {
  .hero .slate.long { grid-template-columns: 1fr 1fr; }
  .slate.long .c-title { grid-column: 1 / -1; grid-row: auto; }
  .slate.long .c-date { grid-column: 1; grid-row: auto; border-top: 1px solid var(--ink); border-left: 0; }
  .slate.long .c-host { grid-column: 2; grid-row: auto; }
}

/* Format facts: two, three (the mockup) or four cells */
.report.n2 > div:last-child { grid-column: auto; border-top: 0; border-left: 1px solid var(--ink); }
.report.n4 { grid-template-columns: auto 1fr; }
.report.n4 > div:nth-child(n+3) { border-top: 1px solid var(--ink); }
.report.n4 > div:nth-child(3) { border-left: 0; }
.report.n4 > div:last-child { grid-column: auto; border-left: 1px solid var(--ink); }
/* phones: a long value nearly fills its cell, so the pen circle is drawn tighter and stays on the sheet */
@media (max-width: 699px) { .report.n4 .mark { left: -10%; width: 118%; } }

/* The signing corner of the call sheet: a typed remark (and, for a series, a label strip to the other episode) left of the stamp */
.cover-foot.has-note { justify-content: space-between; align-items: center; gap: 1rem 1.25rem; padding-left: .15rem; }
.cover-note { display: grid; justify-items: start; gap: 1.1rem; min-width: 0; }
.cover-note p { max-width: 17rem; font: 400 1rem/1.4 var(--f-type); color: var(--ink-2); text-wrap: balance; }
.cover-note .dymo { font-size: clamp(1.05rem, .95rem + .45vw, 1.35rem); }
@media (min-width: 1000px) { .cover-foot.has-note { padding-left: .25rem; } }
/* phones: the typed remark sits beside the stamp, the label strip takes its own line under them */
@media (max-width: 540px) {
  .cover-foot.has-note { flex-wrap: wrap; }
  .cover-note { display: contents; }
  .cover-note p { flex: 1 1 7rem; }
  .cover-note .dymo { order: 3; margin: .1rem auto .5rem 0; }
}

/* One print instead of three: the film's poster, taped down on its own beside the call sheet */
.pstack.solo { width: fit-content; max-width: none; }
.pstack.solo::after { display: none; }
.pp.poster { width: min(54vw, 15.5rem); --r: 3deg; --pp-base: 2.1rem; }
.pp.poster img { aspect-ratio: 4 / 5; }
.pp.poster .pp-tape { rotate: 2.5deg; }
.prints .pstack.solo { margin: 0 5% 0 auto; }
@media (min-width: 700px) and (max-width: 999px) { .prints .pstack.solo { margin-right: 11%; } .pp.poster { width: 17rem; } }
@media (min-width: 1000px) {
  /* it lies over the edge of the sheet, never over the typed cells */
  .prints .pstack.solo { left: 12%; right: auto; top: 1.6rem; width: auto; margin: 0; }
  .pp.poster { width: min(23rem, 38.72vw - 6.5rem); --pp-base: 2.5rem; }
}

/* The film itself, playing inside the taped print (for a page that embeds its video instead of linking to it) */
.still.embed { width: min(100%, 64rem); margin-inline: auto; }
.still.embed:hover, .still.embed:active { transform: none; }
.still.embed .photo { aspect-ratio: 16 / 9; }
.still.embed .photo::after { display: none; }                  /* no printed grain over a playing film */
.still.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 1000px) { .trailer:has(.still.embed) { padding-bottom: 0; } }

/* A second ruled form on the same carbon sheet (credits under the film details) */
.camrep .dymo-set.next { margin-top: 2rem; }
.form > .half.l { border-left: 0; }                           /* a half cell that starts a row */

/* More paperwork under the first pile: a second script page, and a quotation on a ruled index card */
.binder + .binder { margin-top: 2.5rem; }
.card.quote {
  position: relative; right: auto; bottom: auto; width: min(100%, 24rem); margin: 1.4rem auto 0; padding: 0 1.3rem 1.75rem; transform: rotate(1.6deg);
}
.card.quote figcaption { display: flex; align-items: flex-end; height: 3.05rem; padding-bottom: .42rem; font: 400 1rem/1.2 var(--f-type); }
.card.quote blockquote { margin: 0; padding-top: .34rem; }
.card.quote blockquote p { font-style: italic; font-size: 1.1875rem; line-height: 1.55rem; text-wrap: pretty; }
.card.quote .src { margin-top: 1.55rem; font: 400 .95rem/1.55rem var(--f-type); }
.card .ink-link, .solo-link { position: relative; }
.card .ink-link::after, .solo-link::after { content: ""; position: absolute; left: -.3rem; right: -.3rem; top: 50%; height: 2.75rem; translate: 0 -50%; }
@media (min-width: 1000px) { .card.quote { margin-top: 5.5rem; transform: rotate(2.2deg); } }

/* Chapters log: any number of chapters */
@media (min-width: 1000px) { .log { grid-template-rows: repeat(var(--log-rows, 7), auto); } }

/* Other headsets: a label strip under the Vision Pro capsule (the capsule stays the only glass button) */
.fb-also { display: flex; justify-content: center; margin: 1.5rem 0 0; }
.fb-also .dymo { font-size: clamp(.95rem, .85rem + .35vw, 1.15rem); }

/* House footer: the family links and the legal line. Plain wording, finger-size links. */
.foot { align-items: center; gap: .6rem 2.5rem; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.7rem; margin: 0 -.15rem; }
.foot .foot-links a.plain { margin: 0; padding: 0 .15rem; }
.foot-legal { font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 640px) { .foot { padding: 1.5rem 0 2.4rem; } .foot-links { gap: 0 1.35rem; } }

/* 2026-11-17 Hugh: no fade between the cream desk and the dark sections. The desk ends as a stack of paper:
   three straight sheet edges, each shaded from light to dark, and a drop shadow falling onto the dark. */
.fb-visor {
  --edge: 13px;
  margin-top: 3.2rem; padding-top: calc(var(--edge) + clamp(4.2rem, 3rem + 4vw, 6.5rem));
  background:
    linear-gradient(180deg, #F3E0CC 0, #E9D5BF 2.4px, #A8917A 3.4px, #EEDCC8 4.2px, #E2CDB6 7.4px, #9A836C 8.6px, #E6D2BC 9.4px, #D3BDA5 11.6px, #4A3A2C 12.6px, rgba(23,20,15,0) 13px) 0 0 / 100% var(--edge) no-repeat,
    linear-gradient(180deg, rgba(0,0,0,.75) 0, rgba(0,0,0,.36) 10px, rgba(0,0,0,.12) 28px, rgba(0,0,0,0) 58px) 0 calc(var(--edge) - 1px) / 100% 58px no-repeat,
    var(--coal);
}
.fb-visor::before { top: var(--edge); -webkit-mask-image: none; mask-image: none; }
/* back to the desk: the footer sheets lie on top of the dark, with the same edge and shadow */
main::after {
  height: 36px;
  background:
    linear-gradient(0deg, #FFF4E6 0, #F5E2D0 1.5px, rgba(23,20,15,0) 1.5px) 0 100% / 100% 2px no-repeat,
    linear-gradient(0deg, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 100%) 0 100% / 100% 14px no-repeat,
    var(--coal);
}

/* 2026-11-17 Hugh: the logo file has a rough rim; cut a clean circle just inside it */
.logo img { clip-path: circle(48.4%); }
