/* =====================================================================
   POSTMARKED
   An independent film studio and a photography exhibition, held together by the post:
   dark title cards open each chapter, archival paper carries the reading, and the
   postmark stamps where every story comes from.
   ===================================================================== */

:root {
  /* Palette: archival paper, darkroom ink, and the journey tones */
  --paper: #F5F1E8;
  --paper-2: #ECE6D9;
  --ink: #1C1C1A;
  --ink-soft: #5C584F;
  --stone: #AAA69C;
  --moss: #777B63;
  --oxblood: #713F3B;
  --umber: #352D28;

  /* Fixed surfaces that never change with the theme (title cards, postcards) */
  --night: #1C1C1A;
  --night-fg: #F1ECE1;
  --night-muted: #B3AEA3;
  --card-paper: #F3EEE3;
  --stamp-paper: #FAF7F0;
  --card-ink: #1C1C1A;
  --card-muted: #5C584F;
  --rose: #D7A39C;
  --tone-moss: #4F543F;
  --tone-oxblood: #713F3B;
  --tone-terracotta: #7A5139;
  --tone-umber: #352D28;
  --tone-ink: #1C1C1A;
  --tone-stone: #6E6A61;
  --on-tone: #F1ECE1;
  --on-tone-muted: rgba(241, 236, 225, 0.82);
  --paper-fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Theme tokens */
  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --fg: var(--ink);
  --muted: var(--ink-soft);
  --rule: rgba(28, 28, 26, 0.16);
  --rule-strong: rgba(28, 28, 26, 0.55);
  --accent: var(--oxblood);
  --stamp: var(--oxblood);
  --focus: var(--oxblood);
  --field: rgba(28, 28, 26, 0.035);

  /* Type: display serif, interface sans, reading serif, archival mono */
  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --text: "Crimson Pro", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --script: "Noto Serif Thai", "Noto Sans Lao", "Thonburi", "Lao Sangam MN", "Leelawadee UI", "Noto Sans Thai", sans-serif;

  --fs-mega: min(calc((100vw - 2 * var(--gutter)) / 3.75), 27rem);
  --fs-1: clamp(3.25rem, 9vw, 8.5rem);
  --fs-2: clamp(2.5rem, 5.6vw, 5rem);
  --fs-3: clamp(1.625rem, 3vw, 2.625rem);
  --fs-4: clamp(1.3125rem, 1.8vw, 1.75rem);
  --fs-read: clamp(1.1875rem, 0.4vw + 1.05rem, 1.375rem);

  /* Space */
  --gutter: clamp(20px, 4.8vw, 72px);
  --pad-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --pad-r: max(var(--gutter), env(safe-area-inset-right, 0px));
  --col-gap: clamp(14px, 2vw, 32px);
  --section: clamp(4rem, 9vw, 8.5rem);
  --header-h: 3.75rem;
  --ease: cubic-bezier(0.2, 0.7, 0.15, 1);

  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1C1A;
    --bg-2: #242320;
    --fg: #EFEAE0;
    --muted: #ABA69B;
    --rule: rgba(239, 234, 224, 0.14);
    --rule-strong: rgba(239, 234, 224, 0.5);
    --accent: #D7A39C;
    --stamp: #D7A39C;
    --focus: #E2B3AC;
    --field: rgba(239, 234, 224, 0.04);
    --tone-ink: #2A2926;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C1C1A;
  --bg-2: #242320;
  --fg: #EFEAE0;
  --muted: #ABA69B;
  --rule: rgba(239, 234, 224, 0.14);
  --rule-strong: rgba(239, 234, 224, 0.5);
  --accent: #D7A39C;
  --stamp: #D7A39C;
  --focus: #E2B3AC;
  --field: rgba(239, 234, 224, 0.04);
  --tone-ink: #2A2926;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, blockquote, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: italic; }
[hidden] { display: none !important; }
::selection { background: var(--oxblood); color: var(--paper); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hero :focus-visible, .film-hero :focus-visible, .season-band :focus-visible,
.site-footer__bar :focus-visible, .postcards :focus-visible { outline-color: var(--rose); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--pad-l); top: calc(env(safe-area-inset-top, 0px) + 0.5rem); z-index: 100;
  padding: 0.75rem 1rem; background: var(--fg); color: var(--bg); text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* ---------- Layout primitives ---------- */
.wrap { min-width: 0; width: 100%; max-width: 110rem; margin-inline: auto; padding-left: var(--pad-l); padding-right: var(--pad-r); }
.wrap-wide { width: 100%; max-width: 110rem; margin-inline: auto; padding-left: var(--pad-l); padding-right: var(--pad-r); }

/* ---------- Type ---------- */
.meta {
  font: 400 0.75rem/1.5 var(--mono);
  letter-spacing: 0.03em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.kicker { font: 400 0.75rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.section-title { font: 400 var(--fs-2)/0.92 var(--display); letter-spacing: -0.02em; }
.page-title { font: 400 var(--fs-1)/0.86 var(--display); letter-spacing: -0.03em; }
.small-title { font: 400 var(--fs-4)/1.1 var(--display); letter-spacing: -0.005em; }
.caption { font: 400 0.875rem/1.5 var(--sans); color: var(--muted); }
[lang="th"], [lang="lo"] { font-family: var(--script); font-style: normal; }

/* Arrow links: the one call to action across the site */
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  min-height: 2.75rem;
  font: 400 0.75rem/1 var(--sans);
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
}
.arrow-link span { padding-block: 0.35rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease); }
.arrow-link svg { width: 1.6rem; height: 0.8rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform 0.45s var(--ease); }
.arrow-link:hover span, .arrow-link:focus-visible span { background-size: 100% 1px; }
.arrow-link:hover svg, .arrow-link:focus-visible svg { transform: translateX(0.35rem); }

.text-button {
  background: none; border: 0; padding: 0.6rem 0; min-height: 2.75rem; cursor: pointer;
  font: 400 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 0.45em; text-decoration-thickness: 1px;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0 1.9rem;
  background: var(--fg); color: var(--bg); border: 1px solid var(--fg); border-radius: 2px;
  font: 400 0.8125rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.button:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }
.button:disabled { opacity: 0.6; cursor: progress; }
.link-row { display: flex; flex-wrap: wrap; gap: 0.25rem clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--rule); padding-top: 1rem; }

/* ---------- Journey tones ---------- */
.tone-moss { --card-bg: var(--tone-moss); }
.tone-oxblood { --card-bg: var(--tone-oxblood); }
.tone-terracotta { --card-bg: var(--tone-terracotta); }
.tone-umber { --card-bg: var(--tone-umber); }
.tone-ink { --card-bg: var(--tone-ink); }
.tone-stone { --card-bg: var(--tone-stone); --on-tone-muted: var(--on-tone); }

/* ---------- The postmark ---------- */
.postmark { width: 9rem; height: auto; color: var(--stamp); overflow: visible; flex: none; }
.postmark .pm-stroke { fill: none; stroke: currentColor; stroke-width: 1.7; }
.postmark .pm-thin { stroke-width: 1; }
.postmark .pm-waves path { stroke-width: 1.3; }
.postmark text { fill: currentColor; font-family: var(--mono); }
.postmark .pm-ring { font-size: 10px; }
.postmark .pm-l1 { font-size: 10.5px; letter-spacing: 0.04em; }
.postmark .pm-l2 { font-size: 8.5px; letter-spacing: 0.08em; }

/* ---------- The stamp ----------
   Perforated paper: a ring of half-circles cut from the edge, a printed panel inside.
   The shadow sits on the wrapper so it follows the perforations. */
.stamp {
  --r: 2.4px;
  display: inline-block; flex: none; line-height: 0;
  filter: drop-shadow(0 0.5px 0.5px rgba(28, 28, 26, 0.22)) drop-shadow(0 2px 3px rgba(28, 28, 26, 0.12));
}
.stamp__paper {
  display: block; width: 3.25rem; aspect-ratio: 5 / 6;
  padding: calc(2.2 * var(--r));
  background: var(--paper-fibre), var(--stamp-paper);
  -webkit-mask: radial-gradient(var(--r), #0000 97%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  mask: radial-gradient(var(--r), #0000 97%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
}
.stamp__print {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%;
  padding: 0.28rem 0.3rem; overflow: hidden;
  background: var(--card-bg); color: var(--on-tone);
  font: 400 0.5625rem/1 var(--mono); letter-spacing: 0.06em;
}
.stamp__print::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 75% 15%, rgba(255, 248, 235, 0.16), transparent 70%), var(--paper-fibre); mix-blend-mode: soft-light; }
.stamp__bottom { align-self: flex-end; font: italic 400 0.875rem/1 var(--display); letter-spacing: 0; }

/* ---------- Header and navigation ---------- */
.site-header {
  --hdr-bg: var(--bg); --hdr-fg: var(--fg); --hdr-rule: var(--rule);
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--hdr-bg); color: var(--hdr-fg);
  border-bottom: 1px solid var(--hdr-rule);
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease;
  view-transition-name: site-header;
}
.site-header::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: env(safe-area-inset-top, 0px); background: inherit; }
.site-header[data-tone="dark"], .menu-open .site-header {
  --hdr-bg: var(--night); --hdr-fg: var(--night-fg); --hdr-rule: rgba(241, 236, 225, 0.1);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h); max-width: 110rem; margin-inline: auto;
  padding-left: var(--pad-l); padding-right: var(--pad-r);
}
.wordmark {
  position: relative; z-index: 2;
  font: 400 1.3125rem/1 var(--display); letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; padding-block: 0.6rem; white-space: nowrap;
}
.site-nav__list { display: flex; gap: clamp(1.25rem, 2.8vw, 2.75rem); }
.site-nav__list a {
  display: block; padding-block: 0.7rem; text-decoration: none;
  font: 400 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  background: linear-gradient(var(--accent), var(--accent)) 0 calc(100% - 0.2rem) / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.site-header[data-tone="dark"] .site-nav__list a { --accent: var(--rose); }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { background-size: 100% 1px; }
.site-nav__note, .site-nav__foot { display: none; }
.menu-toggle { display: none; }

@media (max-width: 56.25rem) {
  :root { --header-h: 3.5rem; }
  .menu-toggle {
    position: relative; z-index: 2;
    display: inline-flex; align-items: center; gap: 0.7rem;
    min-height: 2.75rem; margin-right: -0.5rem; padding: 0 0.5rem;
    background: none; border: 0; cursor: pointer;
    font: 400 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  }
  .menu-toggle__icon { position: relative; width: 1.25rem; height: 0.6rem; }
  .menu-toggle__icon span { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
  .menu-toggle__icon span:first-child { top: 0; }
  .menu-toggle__icon span:last-child { top: 100%; }
  .menu-open .menu-toggle__icon span { top: 50%; }
  .menu-open .menu-toggle__icon span:first-child { transform: rotate(35deg); }
  .menu-open .menu-toggle__icon span:last-child { transform: rotate(-35deg); }

  .js .site-nav {
    position: fixed; left: 0; right: 0; bottom: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    display: flex; flex-direction: column; justify-content: space-between;
    padding: clamp(1.5rem, 6vh, 3rem) var(--pad-r) calc(1.5rem + env(safe-area-inset-bottom, 0px)) var(--pad-l);
    background: var(--night); color: var(--night-fg);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  }
  .js .site-nav::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grain); opacity: 0.06; }
  .menu-open .site-nav { visibility: visible; opacity: 1; transition: opacity 0.35s ease; }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav__list li { border-top: 1px solid rgba(241, 236, 225, 0.12); }
  .js .site-nav__list li:last-child { border-bottom: 1px solid rgba(241, 236, 225, 0.12); }
  .js .site-nav__list { counter-reset: nav; }
  .js .site-nav__list a {
    counter-increment: nav;
    display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); grid-template-areas: "n label" "n note";
    column-gap: 0.5rem; row-gap: 0.45rem; align-items: baseline;
    min-height: 2.75rem; padding: 1.05rem 0 1rem; background: none;
    font: 400 clamp(2.375rem, 10.5vw, 3.25rem)/0.95 var(--display); letter-spacing: -0.015em; text-transform: none;
    transform: translateY(0.6rem); opacity: 0;
    transition: transform 0.6s var(--ease), opacity 0.5s ease, color 0.25s ease;
  }
  .js .site-nav__list a::before {
    content: counter(nav, upper-roman); grid-area: n; align-self: start; padding-top: 0.55rem;
    font: 400 0.6875rem/1 var(--mono); letter-spacing: 0.08em; color: var(--night-muted);
  }
  .js .site-nav__label { grid-area: label; }
  .menu-open .site-nav__list a { transform: none; opacity: 1; }
  .menu-open .site-nav__list li:nth-child(2) a { transition-delay: 0.05s; }
  .menu-open .site-nav__list li:nth-child(3) a { transition-delay: 0.1s; }
  .menu-open .site-nav__list li:nth-child(4) a { transition-delay: 0.15s; }
  .js .site-nav__list a[aria-current="page"] .site-nav__label { font-style: italic; color: var(--rose); }
  .js .site-nav__list a[aria-current="page"]::before { color: var(--rose); }
  .js .site-nav__list a:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
  .js .site-nav__note { grid-area: note; display: block; font: 400 0.75rem/1.35 var(--mono); letter-spacing: 0.02em; color: var(--night-muted); }
  .js .site-nav__foot { display: block; padding-top: 2rem; font: 400 0.8125rem/1.4 var(--mono); color: var(--night-muted); }
  .js .site-nav__foot a { display: inline-block; padding-block: 0.6rem; }
  html.menu-open { overflow: hidden; }
  html:not(.js) .site-header__inner { height: auto; flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
}

/* =====================================================================
   HOME
   ===================================================================== */

/* ---------- A. The opening ----------
   A title sequence over footage. Without footage: projected light, moving grain and the
   corners of the camera gate, so the screen reads as a film waiting to start. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(36rem, calc(100svh - var(--header-h)), 62rem);
  display: flex; flex-direction: column;
  background:
    radial-gradient(70% 60% at 82% 12%, rgba(113, 63, 59, 0.34), transparent 70%),
    radial-gradient(60% 55% at 4% 100%, rgba(119, 123, 99, 0.2), transparent 70%),
    var(--night);
  color: var(--night-fg);
}
.hero__media { position: absolute; inset: 0; z-index: -3; background: var(--night); }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { animation: poster-drift 30s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.hero__video { opacity: 0; transition: opacity 1.4s ease; }
.hero__video.is-playing { opacity: 1; }
.hero--media::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgba(28, 28, 26, 0.86), rgba(28, 28, 26, 0.12) 52%, rgba(28, 28, 26, 0.42)); }
@keyframes poster-drift { from { transform: scale(1.02); } to { transform: scale(1.09) translate3d(-1%, 0.5%, 0); } }
.hero__light {
  position: absolute; inset: -25%; z-index: -2; pointer-events: none;
  background: radial-gradient(38% 32% at 68% 30%, rgba(215, 163, 156, 0.14), transparent 70%), radial-gradient(30% 28% at 22% 70%, rgba(170, 166, 156, 0.08), transparent 70%);
  animation: projector-drift 28s ease-in-out infinite alternate, fade-in 2.4s ease both;
}
@keyframes projector-drift { from { transform: translate3d(-5%, -3%, 0) scale(1); } to { transform: translate3d(6%, 4%, 0) scale(1.08); } }
.hero__grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: 0.085;
  background-image: var(--grain);
  animation: grain 1.1s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-4%, 3%, 0); }
  40% { transform: translate3d(3%, -5%, 0); }
  60% { transform: translate3d(-2%, -2%, 0); }
  80% { transform: translate3d(5%, 4%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.hero__gate { position: absolute; inset: clamp(0.7rem, 1.6vw, 1.4rem); z-index: -1; pointer-events: none; animation: fade-in 1.6s ease 1.9s both; }
.hero__gate i { position: absolute; width: clamp(1rem, 2vw, 1.75rem); aspect-ratio: 1; border: 0 solid rgba(241, 236, 225, 0.38); }
.hero__gate i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hero__gate i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hero__gate i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hero__gate i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
/* The waiting frame: a camera gate with its guides, a registration mark on the upper third
   and the edge print of the film. Shown only until opening footage or a still is added. */
.hero__thirds {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, transparent calc(33.333% - 0.5px), rgba(241, 236, 225, 0.075) calc(33.333% - 0.5px), rgba(241, 236, 225, 0.075) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px)),
    linear-gradient(to right, transparent calc(66.667% - 0.5px), rgba(241, 236, 225, 0.075) calc(66.667% - 0.5px), rgba(241, 236, 225, 0.075) calc(66.667% + 0.5px), transparent calc(66.667% + 0.5px)),
    linear-gradient(to bottom, transparent calc(33.333% - 0.5px), rgba(241, 236, 225, 0.075) calc(33.333% - 0.5px), rgba(241, 236, 225, 0.075) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px));
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 62%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 62%);
}
.hero__reg { position: absolute; left: 66.667%; top: 33.333%; }
.hero__reg-mark {
  position: absolute; left: 0; top: 0; width: clamp(1.75rem, 2.6vw, 2.5rem); aspect-ratio: 1; translate: -50% -50%;
  border: 1px solid rgba(241, 236, 225, 0.42); border-radius: 50%;
  background:
    linear-gradient(rgba(241, 236, 225, 0.42), rgba(241, 236, 225, 0.42)) center / 1px 160% no-repeat,
    linear-gradient(rgba(241, 236, 225, 0.42), rgba(241, 236, 225, 0.42)) center / 160% 1px no-repeat;
}
.hero__reg-text {
  position: absolute; left: clamp(1.5rem, 2.2vw, 2.1rem); top: 0.55rem; display: grid; gap: 0.3rem;
  font: 400 0.625rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; color: rgba(241, 236, 225, 0.6);
}
.hero__reg-text [data-timecode] { font-variant-numeric: tabular-nums; letter-spacing: 0.08em; color: rgba(215, 163, 156, 0.85); }
.hero__edge {
  position: absolute; top: 50%; writing-mode: vertical-rl; white-space: pre;
  font: 400 0.5625rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(241, 236, 225, 0.4);
}
.hero__edge--l { left: 0; translate: calc(-50% - clamp(0.35rem, 0.8vw, 0.7rem)) -50%; transform: rotate(180deg); }
.hero__edge--r { right: 0; translate: calc(50% + clamp(0.35rem, 0.8vw, 0.7rem)) -50%; }
.hero__inner {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  width: 100%; max-width: 110rem; margin-inline: auto;
  padding: clamp(1.75rem, 4.5vw, 3.25rem) var(--pad-r) clamp(1.5rem, 3.5vw, 2.75rem) var(--pad-l);
}
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.hero__byline { display: flex; align-items: center; gap: 1rem; padding-top: 0.5rem; font: 400 0.75rem/1.4 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; animation: fade-in 1s ease 0.9s both; }
.hero__byline::before { content: ""; flex: none; width: clamp(1.75rem, 4vw, 3.5rem); height: 1px; background: currentColor; opacity: 0.6; transform-origin: left; animation: rule-draw 0.9s var(--ease) 0.8s both; }
.hero__stamp { --stamp: var(--rose); width: clamp(7rem, 13vw, 11.5rem); color: var(--rose); opacity: 0.88; transform: rotate(-9deg); animation: stamp-in 0.75s cubic-bezier(0.3, 1.4, 0.5, 1) 1.5s both; }
.hero__bottom { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.hero__wordmark { font: 400 var(--fs-mega)/0.8 var(--display); letter-spacing: -0.035em; margin-left: -0.045em; white-space: nowrap; }
.hero__letters span { display: inline-block; animation: letter-rise 1.25s var(--ease) both; animation-delay: calc(var(--i) * 60ms + 120ms); }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; padding-top: clamp(0.9rem, 1.8vw, 1.4rem); border-top: 1px solid rgba(241, 236, 225, 0.22); animation: fade-in 1.2s ease 1.1s both; }
.hero__tagline { max-width: 26ch; font: italic 400 clamp(1.375rem, 2.6vw, 2.375rem)/1.1 var(--display); letter-spacing: -0.005em; }
.hero__cta { color: var(--night-fg); }
@keyframes letter-rise { from { opacity: 0; transform: translateY(0.2em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes stamp-in { from { opacity: 0; transform: rotate(-22deg) scale(1.35); } to { opacity: 0.88; transform: rotate(-9deg) scale(1); } }

/* ---------- B. Introduction ---------- */
.intro { --intro-pb: clamp(3.5rem, 8vw, 6.5rem); padding-block: clamp(4rem, 9vw, 7.5rem) var(--intro-pb); }
.intro__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.intro__lead { grid-column: 1 / span 7; font: 400 clamp(1.875rem, 3.5vw, 3.375rem)/1.08 var(--display); letter-spacing: -0.012em; max-width: 21ch; }
/* The stories might follow: four equal lines, none singled out. The lead-in sits in the
   margin like a caption; the lines step down and to the right in even measures of their own
   type size, so the stagger reads as one movement. Type is sized to the column (cqw), so the
   longest line always fits on one line beside the margin note, at every desktop width. */
.stories { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 1.1rem; align-items: baseline; }
.stories__label { grid-column: 1 / span 3; font: italic 400 clamp(1.0625rem, 1.3vw, 1.25rem)/1.25 var(--display); color: var(--muted); }
.stories__lines { grid-column: 4 / -1; container-type: inline-size; display: grid; row-gap: 0.1em; }
.stories__lines li {
  --step: 1.45em;
  padding-left: calc(var(--n) * var(--step));
  font: 400 min(5.1cqw, 3.5rem)/1.08 var(--display); letter-spacing: -0.015em; color: var(--fg);
  text-wrap: balance;
}
.intro__coda { position: relative; grid-column: 1 / -1; display: grid; padding-top: clamp(1.75rem, 3vw, 2.5rem); font: 400 clamp(2.25rem, 6vw, 5.75rem)/0.98 var(--display); letter-spacing: -0.025em; }
.intro__coda::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--rule-strong); transform-origin: left; }
.js .intro__coda.reveal-pending::before { transform: scaleX(0); }
.js .intro__coda.is-revealed::before { transform: none; transition: transform 1.3s var(--ease); }
.intro__coda span { text-wrap: balance; }
/* Into Season One: a hairline leaves the closing line and crosses into the dark band, where it
   ends at an open route stop above the season's title, the same mark the season's route uses. */
.intro__route { position: absolute; left: var(--pad-l); top: calc(100% + 1.75rem); width: 1px; height: calc(var(--intro-pb) - 1.75rem); background: var(--rule-strong); pointer-events: none; }
.season-band { --band-pt: clamp(3.5rem, 7vw, 6rem); }
.intro + .season-band .season-band__grid { position: relative; }
.intro + .season-band .season-band__grid::before { content: ""; position: absolute; left: var(--pad-l); top: calc(-1 * var(--band-pt)); width: 1px; height: calc(var(--band-pt) - 1.6rem); background: rgba(241, 236, 225, 0.4); pointer-events: none; }
.intro + .season-band .season-band__grid::after { content: ""; position: absolute; left: calc(var(--pad-l) - 0.4375rem + 0.5px); top: calc(-1.6rem - 0.4375rem); width: 0.875rem; height: 0.875rem; box-sizing: border-box; border: 1px solid rgba(241, 236, 225, 0.7); border-radius: 50%; background: var(--night); pointer-events: none; }
.intro__coda span + span { font-style: italic; color: var(--accent); padding-left: clamp(1.5rem, 12vw, 13rem); }

/* ---------- C. Season One ---------- */
.season-band { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--night-fg); padding-block: var(--band-pt, clamp(3.5rem, 7vw, 6rem)) clamp(2.75rem, 5vw, 4.25rem); }
.season-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 80% at 90% 0%, rgba(113, 63, 59, 0.28), transparent 70%); }
.season-band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 1.75rem; align-items: end; }
.season-band__title, .season-list__title { display: grid; font: 400 clamp(3rem, 7.6vw, 7.5rem)/0.86 var(--display); letter-spacing: -0.03em; }
.season-band__title { grid-column: 1 / span 6; }
.season-band__title em, .season-list__title em { margin-top: 0.3em; font-size: 0.38em; line-height: 1.1; letter-spacing: -0.005em; color: var(--rose); }
.season-list__title em { color: var(--accent); }
.season-band__text { grid-column: 7 / span 4; display: grid; gap: 0.6rem; color: var(--night-muted); padding-bottom: 0.4rem; }
.season-band__summary, .season-list__summary { font: 400 var(--fs-read)/1.45 var(--text); color: var(--night-fg); max-width: 34ch; }
.season-list__summary { color: var(--fg); }
.season-band__stamp { grid-column: 11 / -1; justify-self: end; align-self: start; width: clamp(6.5rem, 10vw, 9rem); color: var(--rose); transform: rotate(-7deg); }
.season-band__route { margin-top: clamp(2.75rem, 5vw, 4rem); }
.season-band .route { --route-bg: var(--night); --route-rule: rgba(241, 236, 225, 0.4); --route-muted: var(--night-muted); --route-current: var(--rose); margin: 0; }

/* The route: every chapter of the season, in order, the unknown ones included */
.route { --route-bg: var(--bg); --route-rule: var(--rule-strong); --route-muted: var(--muted); --route-current: var(--accent); position: relative; display: flex; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 0.4375rem; border-top: 1px solid var(--route-rule); }
.route__stop { position: relative; flex: 1 1 0; min-width: 0; padding-right: 0.75rem; }
.route__link { display: grid; gap: 0.55rem; text-decoration: none; }
.route__link::before { content: ""; width: 0.875rem; height: 0.875rem; border-radius: 50%; background: var(--route-bg); border: 1px solid currentColor; transition: background-color 0.3s, transform 0.4s var(--ease); }
.route__stop--tba .route__link::before { border-style: dashed; border-color: var(--route-muted); }
.route__n { font: 400 0.6875rem/1 var(--mono); letter-spacing: 0.06em; color: var(--route-muted); }
.route__name { font: 400 clamp(1.0625rem, 1.7vw, 1.625rem)/1.1 var(--display); }
.route__stop--tba .route__name { font-style: italic; color: var(--route-muted); }
a.route__link:hover::before, a.route__link:focus-visible::before { background: currentColor; transform: scale(1.15); }
a.route__link:hover .route__name { font-style: italic; }
.route__stop.is-current .route__link::before { background: var(--route-current); border-color: var(--route-current); }
.route__stop.is-current .route__name { font-style: italic; }

/* ---------- D. Destinations ----------
   One feature, then chapters of different sizes on a loose grid: an editorial spread,
   not a row of identical tiles. */
.dests-section { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4rem, 9vw, 7.5rem); }
.dests { display: grid; gap: clamp(2.5rem, 5.5vw, 4.75rem); }
.dests__more { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(2.5rem, 5.5vw, 4.75rem); align-items: end; }
.dests__slot { grid-column: span 6; min-width: 0; }
.dests__slot[data-slot="1"] { grid-column: 1 / span 5; }
.dests__slot[data-slot="2"] { grid-column: 7 / -1; }
.dests__slot[data-slot="3"] { grid-column: 2 / span 7; }
.dests__slot[data-slot="4"] { grid-column: 10 / -1; }
.dests__foot { display: flex; justify-content: flex-end; }

/* The destination card */
.dest { display: grid; gap: 0.85rem; align-content: start; min-width: 0; text-decoration: none; color: inherit; }
.dest__frame {
  --ar: 3 / 2; --title: 16cqw; --title-max: 6.5rem;
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  display: grid; grid-template-rows: auto 1fr;
  aspect-ratio: var(--ar); padding: clamp(0.85rem, 1.8vw, 1.6rem);
  background: var(--card-bg, var(--tone-ink)); color: var(--on-tone);
}
.dest__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 80% at 85% 0%, rgba(255, 248, 235, 0.11), transparent 65%), var(--grain);
  background-size: auto, 220px; opacity: 0.6; mix-blend-mode: soft-light;
}
.has-still .dest__frame::before { display: none; }
.dest__frame > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.has-still .dest__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28, 28, 26, 0.72), transparent 55%), linear-gradient(to bottom, rgba(28, 28, 26, 0.35), transparent 30%); }
.dest:hover .dest__frame > img { transform: scale(1.03); }
.dest__script {
  position: absolute; z-index: -1; right: 0.04em; top: 50%; transform: translateY(-50%);
  font: 400 min(36cqw, calc(205cqw / var(--chars, 6)))/0.9 var(--display); letter-spacing: -0.03em; white-space: nowrap;
  color: var(--on-tone); opacity: 0.075; pointer-events: none;
  transition: opacity 0.8s ease, transform 1.4s var(--ease);
}
.dest__script[lang="vi"] { font-style: italic; }
.dest__script[lang="th"], .dest__script[lang="lo"] { font-family: var(--script); font-size: min(30cqw, calc(150cqw / var(--chars, 6))); line-height: 1.15; }
.dest:hover .dest__script, .dest:focus-visible .dest__script { opacity: 0.12; transform: translate(-1.5%, -50%); }
.viewfinder { position: absolute; inset: 0.55rem; z-index: -1; pointer-events: none; transition: inset 0.7s var(--ease); }
.viewfinder i { position: absolute; width: 0.8rem; height: 0.8rem; border: 0 solid rgba(241, 236, 225, 0.42); }
.viewfinder i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.viewfinder i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.viewfinder i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.viewfinder i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.dest:hover .viewfinder, .dest:focus-visible .viewfinder { inset: 0.95rem; }
.dest__top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.dest__chapter { font: italic 400 clamp(0.9375rem, 1.3vw, 1.25rem)/1.1 var(--display); }
.dest__code { color: var(--on-tone); white-space: nowrap; }
.dest__titles { align-self: end; display: grid; gap: 0.3rem; justify-items: start; }
.dest__title { font: 400 min(var(--title), var(--title-max))/0.86 var(--display); letter-spacing: -0.025em; padding-bottom: 0.06em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ease); }
.dest:hover .dest__title, .dest:focus-visible .dest__title { background-size: 100% 1px; }
.dest__local { font: italic 400 clamp(0.9375rem, 1.3vw, 1.25rem)/1.25 var(--text); color: var(--on-tone-muted); }
.dest__local[lang="th"], .dest__local[lang="lo"] { font-size: clamp(0.875rem, 1.15vw, 1.125rem); }
.dest__play { position: absolute; right: clamp(0.85rem, 1.8vw, 1.6rem); bottom: clamp(0.85rem, 1.8vw, 1.6rem); display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border: 1px solid rgba(241, 236, 225, 0.7); border-radius: 50%; }
.dest__play svg { width: 38%; fill: currentColor; margin-left: 8%; }
.dest:focus-visible { outline: none; }
.dest:focus-visible .dest__frame { outline: 2px solid var(--focus); outline-offset: 4px; }
.dest__caption { display: grid; gap: 0.4rem; max-width: 46ch; }
.dest__line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1rem; font: 400 0.8125rem/1.35 var(--sans); color: var(--muted); }
.dest__status { display: inline-flex; align-items: center; gap: 0.5rem; }
.dest__status::before { content: ""; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; border: 1px solid currentColor; }
.dest__logline { font: 400 1.125rem/1.45 var(--text); }

.dest--feature .dest__frame { --ar: 2.39 / 1; --title: 13cqw; --title-max: 12rem; }
.dest--cinema .dest__frame { --ar: 2.39 / 1; --title: 12cqw; --title-max: 10.5rem; }
.dest--land .dest__frame { --ar: 3 / 2; --title: 15cqw; }
.dest--tall .dest__frame { --ar: 4 / 5; --title: 21cqw; }
.dest--wide .dest__frame { --ar: 2 / 1; --title: 13cqw; }
.dest--small .dest__frame { --ar: 3 / 2; --title: 17cqw; --title-max: 4rem; }
.dest--feature .dest__chapter { font-size: clamp(1rem, 1.6vw, 1.5rem); }

/* A chapter still to be chosen: an empty frame with dashed edges */
/* With no local name (or no confirmed place), the chapter numeral stands behind the title. */
.dest__script.dest__script--numeral { right: 0.12em; font-style: normal; letter-spacing: -0.02em; font-size: min(62cqw, calc(128cqw / var(--chars, 3))); }
.dest--tba .dest__frame {
  --ar: 4 / 5; --title: 13cqw; --title-max: 2.75rem; color: var(--fg); border: 1px dashed var(--rule-strong);
  background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(28, 28, 26, 0.035) 11px 12px), var(--bg-2);
}
.dest--tba .dest__script { color: var(--fg); opacity: 0.07; }
.dest--tba .viewfinder i { border-color: var(--rule-strong); }
.dest--tba .dest__code { color: var(--muted); }
.dest--tba .dest__title { font-style: italic; }
.dest--tba.dest--row .dest__frame { --ar: auto; min-height: 7.5rem; max-width: 30rem; --title: 9cqw; --title-max: 2.5rem; }

/* ---------- E. Photography and the postcards ---------- */
.pc-home { background: var(--bg-2); padding-block: clamp(3.5rem, 8vw, 6.5rem); overflow: hidden; }
.pc-home__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2.25rem; align-items: center; }
.pc-home__text { grid-column: 1 / span 4; display: grid; gap: 1.1rem; justify-items: start; }
.pc-home__title { font: 400 clamp(2.75rem, 5.4vw, 5.25rem)/0.9 var(--display); letter-spacing: -0.025em; }
.pc-home__lead { font: 400 var(--fs-read)/1.5 var(--text); max-width: 30ch; }
.pc-home__deck { grid-column: 6 / -1; min-width: 0; }

/* ---------- F. Abi ---------- */
.abi { padding-block: clamp(4rem, 9vw, 7.5rem); }
.abi__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2rem; align-items: end; }
.abi__portrait { grid-column: 2 / span 4; min-width: 0; }
.abi__text { grid-column: 7 / -1; display: grid; gap: 1.1rem; align-content: end; justify-items: start; padding-bottom: 0.5rem; }
.abi__roles { font: italic 400 var(--fs-4)/1.2 var(--display); color: var(--muted); }
.abi__name { font: 400 clamp(3.5rem, 8.4vw, 8.5rem)/0.84 var(--display); letter-spacing: -0.035em; margin-left: -0.04em; }
.abi__lede { font: 400 clamp(1.3125rem, 1.9vw, 1.75rem)/1.35 var(--text); max-width: 32ch; }
.abi__links { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; padding-top: 0.25rem; }

/* The portrait, or a large stamp in its place until the photograph is added */
.portrait { margin: 0; display: grid; gap: 0.5rem; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait--stamp { --r: 6px; align-self: start; margin-bottom: 0.75rem; transform: rotate(-1.5deg); filter: drop-shadow(0 1px 1px rgba(28, 28, 26, 0.18)) drop-shadow(0 22px 30px rgba(28, 28, 26, 0.16)); }
.portrait__paper {
  /* The stamp's shape is fixed at 4:5 with padding rather than aspect-ratio: every browser,
     iOS Safari included, then counts its full height in the layout, so the text beneath it
     can never slide up underneath the stamp. */
  position: relative; display: block; width: 100%; height: 0; padding-top: 125%; overflow: hidden;
  background: var(--paper-fibre), var(--stamp-paper);
  -webkit-mask: radial-gradient(var(--r), #0000 97%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  mask: radial-gradient(var(--r), #0000 97%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
}
.portrait__print {
  position: absolute; inset: calc(2.6 * var(--r)); isolation: isolate; overflow: hidden; container-type: inline-size;
  display: grid; grid-template-rows: auto 1fr auto; padding: clamp(0.9rem, 7cqw, 1.5rem);
  background: radial-gradient(90% 70% at 70% 15%, rgba(255, 248, 235, 0.1), transparent 70%), var(--tone-umber); color: var(--on-tone);
}
.portrait__print::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: 0.12; }
.portrait__top, .portrait__foot { display: flex; justify-content: space-between; font: 400 0.6875rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-tone-muted); }
.portrait__mono { align-self: center; justify-self: center; font: italic 400 min(34cqw, 9rem)/1 var(--display); letter-spacing: -0.02em; }

/* =====================================================================
   POSTCARDS
   ===================================================================== */
.postcard { position: relative; perspective: 2200px; container-type: inline-size; }
.postcard__inner { display: grid; transform-style: preserve-3d; transition: transform 0.95s var(--ease), scale 0.25s ease; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.postcard__face {
  grid-area: 1 / 1; position: relative; overflow: hidden;
  aspect-ratio: 3 / 2; border-radius: 3px;
  background: var(--paper-fibre), var(--card-paper);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 0.5px rgba(28, 28, 26, 0.08), 0 1px 1.5px rgba(28, 28, 26, 0.16), 0 8px 14px -8px rgba(28, 28, 26, 0.28), 0 26px 40px -28px rgba(28, 28, 26, 0.55);
  transition: box-shadow 0.6s ease;
}
/* A whisper of light across the card stock */
.postcard__face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 34%, transparent 66%, rgba(28, 28, 26, 0.05)) 0 0 / 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(28, 28, 26, 0.06);
}
/* Card stock has a slight bevel and an edge that catches the light */
.postcard__face::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 66%) no-repeat; background-size: 260% 100%; background-position: 140% 0; opacity: 0; }
.postcard.is-turning .postcard__face::before { animation: card-sheen 0.95s var(--ease); }
@keyframes card-sheen { 0% { opacity: 0; background-position: 140% 0; } 35% { opacity: 1; } 100% { opacity: 0; background-position: -40% 0; } }
.postcard--photo .postcard__face { aspect-ratio: auto; }
.postcard__back { transform: rotateY(180deg); }
.postcard.is-flipped .postcard__inner { transform: rotateY(180deg); }
.postcard.is-turning .postcard__inner { animation: card-lift 0.95s var(--ease); }
.postcard.is-turning .postcard__face { box-shadow: 0 0 0 0.5px rgba(28, 28, 26, 0.08), 0 2px 4px rgba(28, 28, 26, 0.12), 0 44px 60px -30px rgba(28, 28, 26, 0.5); }
@keyframes card-lift { 0% { scale: 1; translate: 0 0; } 45% { scale: 1.035; translate: 0 -0.6rem; } 100% { scale: 1; translate: 0 0; } }
.postcard__inner:active { scale: 0.99; }
@media (hover: hover) {
  .postcard:not(.is-flipped):not(.is-turning) .postcard__inner:hover { transform: rotateY(-5deg) rotateX(2deg); }
  .postcard.is-flipped:not(.is-turning) .postcard__inner:hover { transform: rotateY(185deg) rotateX(2deg); }
}
.postcard__turn {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 0.85rem;
  min-height: 2.75rem; padding: 0 0.1rem; background: none; border: 0; cursor: pointer;
  font: 400 0.75rem/1 var(--mono); letter-spacing: 0.04em; color: var(--muted);
}
.postcard__turn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform 0.6s var(--ease); }
.postcard__turn:hover { color: var(--fg); }
.is-flipped .postcard__turn svg { transform: rotate(180deg); }

/* Front of a set: a printed panel in the journey's colour, the printer's imprint beneath */
.pc-cover { height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 4.5% 4.5% 0; color: var(--card-ink); }
.pc-cover__panel {
  position: relative; isolation: isolate; overflow: hidden; min-height: 0;
  display: grid; grid-template-rows: auto 1fr; gap: 0.5rem;
  padding: clamp(0.8rem, 5cqw, 1.5rem);
  background: var(--card-bg); color: var(--on-tone);
}
.pc-cover__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 80% at 85% 0%, rgba(255, 248, 235, 0.12), transparent 65%), var(--paper-fibre); mix-blend-mode: soft-light; }
.pc-cover__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pc-cover__kicker { font: italic 400 clamp(0.9375rem, 4.4cqw, 1.375rem)/1 var(--display); color: var(--on-tone-muted); }
.pc-cover__code { font: italic 400 clamp(0.9375rem, 4.4cqw, 1.375rem)/1 var(--display); color: var(--on-tone-muted); }
.pc-cover__body { align-self: end; display: grid; gap: 0.3rem; }
.pc-cover__place { font: 400 min(15cqw, 5rem)/0.88 var(--display); letter-spacing: -0.02em; }
.pc-cover__local { font: italic 400 clamp(0.875rem, 3.6cqw, 1.125rem)/1.3 var(--text); color: var(--on-tone-muted); }
.pc-cover__imprint, .pc-photo__imprint {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55em 0.15em 0.65em;
  font: 400 0.625rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--card-muted);
}

/* Back: the conventions of a postcard, printed lightly, with Abi's sign-off */
.pc-back {
  height: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr); grid-template-rows: auto 1fr;
  column-gap: clamp(0.55rem, 3.4cqw, 1.3rem);
  padding: clamp(0.7rem, 3.6cqw, 1.3rem);
  color: var(--card-ink);
}
.pc-back__head { grid-column: 1 / -1; padding-bottom: clamp(0.35rem, 2cqw, 0.75rem); text-align: center; font: 400 clamp(0.5rem, 1.7cqw, 0.625rem)/1 var(--sans); letter-spacing: 0.45em; text-transform: uppercase; color: var(--card-muted); }
.pc-back__message { grid-column: 1; grid-row: 2; display: grid; align-content: center; gap: clamp(0.4rem, 2cqw, 0.75rem); min-width: 0; overflow: hidden; }
.pc-back__hand { font: italic 400 clamp(0.9375rem, 4.4cqw, 1.375rem)/1.22 var(--display); }
.pc-back__hand--long { font-size: clamp(0.875rem, 3.4cqw, 1.0625rem); line-height: 1.3; }
.pc-back__title { font: 400 clamp(0.8125rem, 2.8cqw, 0.9375rem)/1.2 var(--sans); }
.pc-back__signoff { font: italic 400 clamp(0.9375rem, 4.6cqw, 1.5rem)/1.2 var(--display); color: var(--card-ink); }
.pc-back__hand + .pc-back__signoff, .pc-back__title + .pc-back__signoff { font-size: clamp(0.8125rem, 3.2cqw, 1.0625rem); color: var(--card-muted); }
.pc-back__small { font: 400 clamp(0.6875rem, 2.4cqw, 0.8125rem)/1.4 var(--sans); color: var(--card-muted); }
.pc-back__divider { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; align-items: center; gap: 0.45rem; }
.pc-back__divider::before, .pc-back__divider::after { content: ""; flex: 1; width: 1px; background: rgba(28, 28, 26, 0.24); }
.pc-back__divider span { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 0.5rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--card-muted); white-space: nowrap; }
.pc-back__address { grid-column: 3; grid-row: 2; position: relative; display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.pc-back__stamp { justify-self: end; }
.pc-back__stamp .stamp__paper { width: clamp(2.4rem, 13cqw, 3.5rem); }
.pc-back__postmark { position: absolute; top: clamp(0.15rem, 2cqw, 0.9rem); right: clamp(1.2rem, 8cqw, 2.6rem); width: clamp(4.5rem, 24cqw, 8.25rem); color: var(--oxblood); opacity: 0.76; transform: rotate(-11deg); mix-blend-mode: multiply; }
.pc-back__meta { grid-row: 2; align-self: end; display: grid; gap: 0.12rem; margin-bottom: 0.5rem; font: 400 clamp(0.5625rem, 2cqw, 0.6875rem)/1.35 var(--mono); color: var(--card-muted); }
.pc-back__meta div { display: flex; gap: 0.5rem; min-width: 0; }
.pc-back__meta dt { min-width: 3.1rem; flex: none; }
.pc-back__meta dd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-back__lines { grid-row: 3; display: grid; gap: clamp(0.55rem, 3.4cqw, 1.2rem); padding-bottom: 0.3rem; }
.pc-back__lines span { height: 1px; background: rgba(28, 28, 26, 0.28); }
/* Small cards keep the essentials: the message, the sign-off, the stamp and postmark */
@container (max-width: 22rem) {
  .pc-back__small { display: none; }
  .pc-back__meta div:nth-child(n + 3) { display: none; }
}
.postcard--portrait .pc-back { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; row-gap: 0.7rem; }
.postcard--portrait .pc-back__message { grid-row: 2; }
.postcard--portrait .pc-back__divider { grid-column: 1; grid-row: 3; flex-direction: row; }
.postcard--portrait .pc-back__divider::before, .postcard--portrait .pc-back__divider::after { width: auto; height: 1px; }
.postcard--portrait .pc-back__divider span { writing-mode: horizontal-tb; transform: none; }
.postcard--portrait .pc-back__address { grid-column: 1; grid-row: 4; }
.postcard--portrait .pc-back__postmark { width: clamp(4.5rem, 34cqw, 7rem); right: clamp(2.5rem, 20cqw, 4rem); }

/* Front of a photograph postcard: the print at its own proportions, with its paper border */
.pc-photo { margin: 0; display: grid; padding: 4.5% 4.5% 0; }
.pc-photo img { width: 100%; height: auto; }

/* ---------- The deck ----------
   A small pile of postcards. The card in hand sits on top; the next two show their edges. */
.deck { position: relative; display: grid; gap: 0.5rem; justify-items: center; }
.deck__stage { display: grid; place-items: center; width: 100%; touch-action: pan-y; }
.deck__item { grid-area: 1 / 1; width: min(100%, 36rem); min-width: 0; }
.deck__item:has(.postcard--portrait) { width: min(58%, 21rem); }
.deck__item:has(.postcard--square) { width: min(76%, 27rem); }
.deck__item:focus { outline: none; }
.deck.is-ready .deck__item { transition: transform 0.7s var(--ease), opacity 0.5s ease, filter 0.6s ease; transform-origin: 50% 100%; will-change: transform; }
.deck.is-ready .deck__item[data-pos="0"] { z-index: 5; }
.deck.is-ready .deck__item[data-pos="1"] { z-index: 4; transform: translate3d(2.5%, -3.2%, 0) rotate(2.4deg) scale(0.965); filter: brightness(0.97); }
.deck.is-ready .deck__item[data-pos="2"] { z-index: 3; transform: translate3d(-2.2%, -5.6%, 0) rotate(-2.1deg) scale(0.93); filter: brightness(0.94); }
.deck.is-ready .deck__item[data-pos="far"] { z-index: 1; transform: translate3d(0, -6%, 0) scale(0.9); opacity: 0; pointer-events: none; }
.deck.is-ready .deck__item:not([data-pos="0"]) .postcard__turn { visibility: hidden; }
.deck.is-ready .deck__item:not([data-pos="0"]) .postcard__inner { cursor: default; }
.deck__item.is-leaving { z-index: 6 !important; animation: deck-out 0.55s var(--ease) forwards; }
.deck__item.is-entering { z-index: 6 !important; animation: deck-in 0.6s var(--ease) both; }
.deck__item.is-settling { animation: deck-settle 0.5s ease both; }
.deck__item.is-dragging { transition: none !important; }
@keyframes deck-out { to { transform: translate3d(-118%, 3%, 0) rotate(-9deg); opacity: 0; } }
@keyframes deck-in { from { transform: translate3d(-118%, 3%, 0) rotate(-9deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes deck-settle { from { opacity: 0; } }
.deck .postcard__turn { display: flex; margin-inline: auto; }
.deck__controls { display: grid; grid-auto-flow: column; align-items: center; justify-content: center; gap: 0.25rem 1rem; padding-top: 0.25rem; }
.deck__controls:has(.deck__btn) { grid-template-columns: auto auto auto; grid-auto-flow: row; }
.deck__btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--rule-strong); border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.deck__btn svg { width: 1.1rem; height: 0.6rem; fill: none; stroke: currentColor; stroke-width: 1.3; }
.deck__btn:hover { background: var(--fg); color: var(--bg); }
.deck__count { min-width: 3.5rem; text-align: center; }
.deck__controls:has(.deck__btn) .deck__share { grid-column: 1 / -1; justify-self: center; }
html:not(.js) .deck__controls, .deck:not(.is-ready) .deck__controls { display: none; }
/* Without the script, the cards sit in a row that scrolls sideways */
.deck:not(.is-ready) .deck__stage { display: flex; align-items: flex-start; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.deck:not(.is-ready) .deck__item { flex: 0 0 min(86%, 30rem); scroll-snap-align: start; }

/* =====================================================================
   THE END OF THE PAGE (every page ends here)
   ===================================================================== */
.site-footer { color: var(--night-fg); }
.postcards::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 65% at 18% 30%, rgba(241, 236, 225, 0.08), transparent 70%); }
.postcards::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grain); opacity: 0.06; }

/* The end of the page: type, a rule, and a way to write. No card, no stamp. */
.end-note { background: var(--night); color: var(--night-fg); border-top: 1px solid rgba(241, 236, 225, 0.1); }
.end-note--home { display: none; }
.page-root[data-section="home"] .end-note--home { display: block; }
.page-root[data-section="home"] .end-note--page,
.page-root[data-section="contact"] .end-note--page,
.page-root[data-section="about"] .end-note--page { display: none; }
.end-note__home { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(2rem, 4vw, 3rem); align-items: end; padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(3rem, 6vw, 4.5rem); }
.end-note__signoff { grid-column: 1 / span 8; font: italic 400 clamp(2.25rem, 4.8vw, 4.75rem)/1.06 var(--display); letter-spacing: -0.02em; text-wrap: balance; max-width: 17ch; }
.end-note__links { grid-column: 9 / -1; display: grid; gap: 0.15rem; justify-items: start; padding-left: clamp(1rem, 2vw, 1.75rem); border-left: 1px solid rgba(241, 236, 225, 0.22); }
.end-note__links a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; color: var(--night-fg); }
.end-note__links li:not(:first-child) a { font: 400 0.9375rem/1.3 var(--sans); color: var(--night-muted); text-decoration: none; }
.end-note__links li:not(:first-child) a:hover { color: var(--night-fg); }
.end-note__page { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 2.5rem; padding-block: clamp(2.5rem, 5vw, 3.75rem); border-bottom: 1px solid rgba(241, 236, 225, 0.12); }
.end-note__ask { font: 400 clamp(1.5rem, 2.6vw, 2.375rem)/1.15 var(--display); letter-spacing: -0.01em; max-width: 26ch; text-wrap: balance; }
.end-note__cta { color: var(--night-fg); }
.end-note :focus-visible { outline-color: var(--rose); }

.site-footer__bar { background: var(--night); }
.site-footer__grid {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2.5rem;
  padding-block: clamp(1.75rem, 3vw, 2.25rem) calc(1.5rem + env(safe-area-inset-bottom, 0px));
}
.wordmark--footer { font-size: 1.125rem; padding: 0.6rem 0; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 0 clamp(1rem, 2.4vw, 2.25rem); }
.site-footer__nav a, .site-footer__social a { display: inline-block; padding-block: 0.6rem; text-decoration: none; font-size: 0.9375rem; }
.site-footer__nav a:hover, .site-footer__social a:hover { text-decoration: underline; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-footer__social .meta { color: var(--night-muted); }
.site-footer__legal { grid-column: 1 / -1; color: var(--night-muted); border-top: 1px solid rgba(241, 236, 225, 0.12); padding-top: 1.25rem; }

/* =====================================================================
   INNER PAGES
   ===================================================================== */
.page-head { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4.5rem); }
.page-head__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 1.5rem; align-items: end; }
.page-head .page-title { grid-column: 1 / span 7; }
.page-lede { grid-column: 8 / -1; font: 400 var(--fs-read)/1.5 var(--text); max-width: 36ch; padding-bottom: 0.4rem; }

/* ---------- Films: the filmography ---------- */
.season-list { padding-bottom: var(--section); }
.season-list__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 1.5rem;
  align-items: end; padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule-strong);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.season-list__title { grid-column: 1 / span 6; font-size: clamp(2.75rem, 6vw, 5.5rem); }
.season-list__text { grid-column: 7 / span 4; display: grid; gap: 0.6rem; color: var(--muted); padding-bottom: 0.4rem; }
.season-list__stamp { grid-column: 11 / -1; justify-self: end; align-self: start; width: clamp(6.5rem, 10vw, 9rem); transform: rotate(-7deg); }
.filmography { display: grid; gap: clamp(3.5rem, 8vw, 7rem); }
.reel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 1.5rem; align-items: end; }
.reel__frame, .reel__slate { min-width: 0; }
.reel--full .reel__frame { grid-column: 1 / -1; }
.reel--full .reel__slate { grid-column: 1 / -1; }
.reel--full .slate { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
.reel--full .slate__head { grid-column: 1 / span 3; }
.reel--full .slate__logline { grid-column: 4 / span 5; }
.reel--full .slate__grid { grid-column: 4 / span 6; }
.reel--full .slate .arrow-link { grid-column: 10 / -1; justify-self: end; grid-row: 1; }
.reel--left, .reel--right { align-items: center; }
.reel__frame .dest__top { visibility: hidden; }
.reel--left .reel__frame { grid-column: 1 / span 7; }
.reel--left .reel__slate { grid-column: 9 / -1; }
.reel--right .reel__frame { grid-column: 8 / span 4; grid-row: 1; }
.reel--right .reel__slate { grid-column: 2 / span 5; grid-row: 1; }
.reel--center .reel__frame { grid-column: 3 / span 8; }
.reel--center .reel__slate { grid-column: 3 / span 8; }
.reel--tba { display: block; }

.slate { display: grid; gap: 1.1rem; align-content: end; justify-items: start; }
.slate > * { min-width: 0; }
.slate__head { display: flex; align-items: baseline; gap: 1rem; width: 100%; padding-bottom: 0.6rem; border-bottom: 1px solid var(--rule-strong); }
.slate__chapter { font: italic 400 1.375rem/1 var(--display); }
.slate__logline { font: 400 var(--fs-read)/1.45 var(--text); max-width: 36ch; }
.slate__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.85rem 1.5rem; width: 100%; }
.slate__grid div { display: grid; gap: 0.2rem; min-width: 0; }
.slate__grid dt { font: 400 0.6875rem/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.slate__grid dd { font-size: 0.9375rem; line-height: 1.4; }
.slate__local { display: block; font: italic 400 0.9375rem/1.3 var(--text); color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.9rem 1.5rem; }
.facts div { display: grid; gap: 0.25rem; padding-top: 0.6rem; border-top: 1px solid var(--rule); min-width: 0; }
.facts dt { font: 400 0.6875rem/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: 0.9375rem; line-height: 1.4; overflow-wrap: anywhere; }
.facts--stacked { grid-template-columns: 1fr; gap: 0; }
.facts--stacked div { grid-template-columns: 7rem 1fr; gap: 1rem; padding: 0.75rem 0; }
.facts__local { display: block; font-family: var(--text); font-style: italic; color: var(--muted); }

.film-index { padding-bottom: var(--section); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: end; }
.filters__field { display: grid; gap: 0.35rem; }
.filters select { min-height: 2.75rem; padding: 0 2rem 0 0.75rem; background: var(--field); color: inherit; border: 1px solid var(--rule-strong); border-radius: 2px; font: inherit; font-size: 0.9375rem; }
.table-scroll { overflow-x: auto; }
.index-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.index-table th { text-align: left; font: 400 0.6875rem/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); padding: 0.6rem 1rem 0.6rem 0; border-bottom: 1px solid var(--rule-strong); }
.index-table td { padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }

/* ---------- Film ---------- */
.film-hero {
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  min-height: clamp(30rem, calc(84svh - var(--header-h)), 52rem);
  display: flex; background: var(--card-bg); color: var(--on-tone);
}
.film-hero .hero__grain { opacity: 0.06; }
.film-hero__script {
  position: absolute; z-index: -1; right: 0.03em; top: 46%; transform: translateY(-50%);
  font: 400 min(32cqw, calc(190cqw / var(--chars, 6)))/0.9 var(--display); letter-spacing: -0.03em; white-space: nowrap;
  color: var(--on-tone); opacity: 0.07; pointer-events: none;
}
.film-hero__script[lang="vi"] { font-style: italic; }
.film-hero__script.film-hero__script--numeral { right: 0.12em; letter-spacing: 0; font-size: min(30cqw, 26rem); }
.film-hero__script[lang="th"], .film-hero__script[lang="lo"] { font-family: var(--script); font-size: min(26cqw, calc(140cqw / var(--chars, 6))); line-height: 1.15; }
.film-hero__media { position: absolute; inset: 0; z-index: -3; }
.film-hero__media img, .film-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-hero__media video { opacity: 0; transition: opacity 1.4s ease; }
.film-hero__media video.is-playing { opacity: 1; }
.film-hero--media::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgba(28, 28, 26, 0.85), rgba(28, 28, 26, 0.15) 50%, rgba(28, 28, 26, 0.45)); }
.film-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(80% 70% at 75% 20%, rgba(255, 255, 255, 0.07), transparent 70%); }
.film-hero__inner {
  flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 2rem;
  width: 100%; max-width: 110rem; margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--pad-r) clamp(1.5rem, 4vw, 3rem) var(--pad-l);
}
.film-hero__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1.75rem; font-size: 0.9375rem; }
.film-hero__top a { color: var(--on-tone); display: inline-block; padding-block: 0.6rem; margin-block: -0.6rem; }
.film-hero__num { font: italic 400 1.25rem/1 var(--display); }
.film-hero__top .meta { color: var(--on-tone); }
.film-hero__titles { align-self: center; display: grid; gap: 0.75rem; }
.film-hero__title { font: 400 clamp(4rem, 16.5vw, 16.5rem)/0.82 var(--display); letter-spacing: -0.04em; margin-left: -0.04em; animation: rise-in 1.1s var(--ease) both; }
.film-hero__local { font: italic 400 clamp(1.25rem, 2.6vw, 2.25rem)/1.2 var(--text); color: var(--on-tone-muted); animation: fade-in 1.2s ease 0.35s both; }
.film-hero__local[lang="th"], .film-hero__local[lang="lo"] { font-style: normal; }
.film-hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; border-top: 1px solid rgba(241, 236, 225, 0.22); padding-top: 1.25rem; }
.film-hero__credit { font: italic 400 clamp(1.125rem, 1.8vw, 1.5rem)/1.2 var(--display); }
.film-hero .postmark { color: var(--on-tone); opacity: 0.9; width: clamp(7rem, 12vw, 10.5rem); transform: rotate(-8deg); margin-bottom: -0.5rem; }
.tone-ink .film-hero .postmark { color: var(--rose); }

.film-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 3rem; padding-block: clamp(3.5rem, 7vw, 6rem); }
.film-body__main { grid-column: 1 / span 7; display: grid; gap: 1.75rem; align-content: start; }
.film-logline { font: 400 var(--fs-3)/1.12 var(--display); letter-spacing: -0.01em; max-width: 26ch; }
.film-synopsis { display: grid; gap: 1.1rem; font: 400 var(--fs-read)/1.6 var(--text); max-width: 36em; }
.film-body__facts { grid-column: 9 / -1; }

/* Pre-production: the slate before the first take */
.preprod { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2.5rem; align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.preprod__board {
  grid-column: 1 / span 7; position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: clamp(1rem, 2vw, 1.5rem); padding: 0 clamp(1.1rem, 2.6vw, 2rem) clamp(1.1rem, 2.6vw, 2rem);
  background: var(--card-bg); color: var(--on-tone); border-radius: 3px;
  box-shadow: 0 30px 50px -36px rgba(28, 28, 26, 0.7);
}
.preprod__board::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 85% 0%, rgba(255, 248, 235, 0.1), transparent 65%), var(--grain); background-size: auto, 220px; opacity: 0.55; mix-blend-mode: soft-light; }
.preprod__sticks { height: clamp(1.1rem, 2vw, 1.5rem); margin-inline: calc(-1 * clamp(1.1rem, 2.6vw, 2rem)); background: repeating-linear-gradient(-55deg, var(--on-tone) 0 clamp(0.8rem, 1.6vw, 1.2rem), transparent 0 clamp(1.6rem, 3.2vw, 2.4rem)); opacity: 0.85; }
.preprod__title { padding-top: 0.25rem; font: 400 clamp(2.5rem, 6vw, 5.25rem)/0.9 var(--display); letter-spacing: -0.025em; }
.preprod__cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(241, 236, 225, 0.3); }
.preprod__cells div { display: grid; gap: 0.3rem; padding: 0.8rem 0.9rem 0.85rem 0; border-bottom: 1px solid rgba(241, 236, 225, 0.3); min-width: 0; }
.preprod__cells div:not(:nth-child(3n + 1)) { padding-left: 0.9rem; border-left: 1px solid rgba(241, 236, 225, 0.3); }
.preprod__cells dt { font: 400 0.625rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-tone-muted); }
.preprod__cells dd { font: 400 clamp(1.125rem, 1.8vw, 1.5rem)/1.15 var(--display); }
.preprod__note { font: 400 1.125rem/1.5 var(--text); color: var(--on-tone-muted); max-width: 40ch; }
.preprod__postcard { grid-column: 9 / -1; min-width: 0; transform: rotate(1.5deg); }

/* Production stills: one row, each still at its own proportions */
.stills { padding-bottom: clamp(3.5rem, 7vw, 6rem); display: grid; gap: 1.5rem; }
.stills__row { display: flex; gap: var(--col-gap); padding-inline: var(--pad-l) var(--pad-r); max-width: 110rem; margin-inline: auto; width: 100%; }
.stills__item { flex: var(--ar) 1 0; min-width: 0; display: grid; gap: 0.6rem; align-content: start; }
.stills__item img { width: 100%; }

.film-postcards { background: var(--bg-2); padding-block: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.film-postcards__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2rem; align-items: center; }
.film-postcards__text { grid-column: 1 / span 4; display: grid; gap: 1rem; justify-items: start; }
.film-postcards .deck { grid-column: 6 / -1; }

.film-player { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--card-bg); color: var(--night-fg); overflow: hidden; }
.player__poster, .player__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__play {
  position: absolute; left: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem);
  display: flex; align-items: center; gap: 1rem; padding: 0; background: none; border: 0; cursor: pointer; color: var(--night-fg); text-align: left;
}
.player__icon { display: grid; place-items: center; width: clamp(3.5rem, 7vw, 5.5rem); aspect-ratio: 1; border: 1px solid rgba(241, 236, 225, 0.7); border-radius: 50%; transition: background-color 0.35s, color 0.35s; }
.player__icon svg { width: 38%; fill: currentColor; margin-left: 8%; }
.player__play:hover .player__icon, .player__play:focus-visible .player__icon { background: var(--night-fg); color: var(--night); }
.player__label { display: grid; gap: 0.3rem; font: 400 0.8125rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.player__label .meta { color: var(--night-muted); text-transform: none; letter-spacing: 0.03em; }
.player__note { position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem); color: var(--night-muted); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.is-playing .player__play, .player.is-playing .player__note, .player.is-playing .player__poster { display: none; }

.credits { padding-block: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 1.5rem; }
.credits .small-title { grid-column: 1 / span 3; }
.credits__list { grid-column: 4 / span 7; display: grid; gap: 0.6rem; }
.credits__list div { display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: 1rem; font-size: 0.9375rem; }
.credits__list dt { font: 400 0.75rem/1.6 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Previous and next chapter */
.chapter-nav { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3rem); }
.chapter-nav__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); }
.chapter-nav__link { display: block; text-decoration: none; color: inherit; min-width: 0; }
.chapter-nav__frame, .chapter-nav__link--season, .chapter-nav__link--tba {
  display: grid; align-content: end; gap: 0.4rem; height: 100%;
  min-height: clamp(9rem, 16vw, 12.5rem); padding: clamp(1rem, 2.4vw, 1.75rem);
}
.chapter-nav__frame { position: relative; isolation: isolate; overflow: hidden; background: var(--card-bg); color: var(--on-tone); }
.chapter-nav__frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 80% at 85% 0%, rgba(255, 248, 235, 0.1), transparent 65%); }
.chapter-nav__link--season { border: 1px solid var(--rule-strong); }
.chapter-nav__link--tba { border: 1px dashed var(--rule-strong); color: var(--muted); }
.chapter-nav__grid > :last-child { text-align: right; }
.chapter-nav__dir { font: 400 0.75rem/1.4 var(--mono); letter-spacing: 0.04em; }
.chapter-nav__title { font: 400 clamp(2rem, 4.2vw, 3.5rem)/0.9 var(--display); letter-spacing: -0.02em; }
.chapter-nav__link--tba .chapter-nav__title { font-style: italic; color: var(--fg); }
.chapter-nav__note { font: italic 400 1.0625rem/1.2 var(--display); }
.chapter-nav__link:hover .chapter-nav__title { font-style: italic; }
.chapter-nav__link:focus-visible { outline: none; }
.chapter-nav__link:focus-visible > * { outline: 2px solid var(--focus); outline-offset: 4px; }
.chapter-nav__route .route { margin-bottom: 0; }
.more-films { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); display: grid; gap: 1.75rem; }
.more-films__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--col-gap); }

/* ---------- Photography ---------- */
.postcards { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--night-fg); padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.postcards::before { background: radial-gradient(45% 60% at 66% 45%, rgba(241, 236, 225, 0.1), transparent 70%); }
.postcards__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2.25rem; align-items: center; }
.postcards__text { grid-column: 1 / span 4; display: grid; gap: 1rem; align-content: center; }
.postcards__title { font: 400 clamp(2.75rem, 5.4vw, 5.25rem)/0.9 var(--display); letter-spacing: -0.025em; }
.postcards__text p:not(.meta) { font: 400 var(--fs-read)/1.45 var(--text); max-width: 28ch; }
.postcards .meta { color: var(--night-muted); }
.postcards__deck { grid-column: 6 / -1; min-width: 0; }
.postcards .deck__btn { border-color: rgba(241, 236, 225, 0.45); }
.postcards .deck__btn:hover { background: var(--night-fg); color: var(--night); }
.postcards .postcard__turn { color: var(--night-muted); }
.postcards .postcard__turn:hover { color: var(--night-fg); }

.collections { padding-block: var(--section) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.collections__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) var(--col-gap); align-items: end; }
.collections__grid > * { grid-column: span 4; }
.collections__grid > .col-link--lead { grid-column: 1 / span 8; }
.col-link { display: grid; gap: 0.6rem; text-decoration: none; min-width: 0; }
.col-link__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.col-link--lead .col-link__img { aspect-ratio: 3 / 2; }
.col-link__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.col-link:hover .col-link__img img { transform: scale(1.03); }
.col-link__meta { display: flex; justify-content: space-between; }
.col-link__title { font: 400 var(--fs-4)/1.05 var(--display); }
.col-link--lead .col-link__title { font-size: var(--fs-3); }
.col-link__place { color: var(--muted); font-size: 0.9375rem; }

.archive { padding-block: var(--section) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.archive__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; }
.archive__text { color: var(--muted); }
.archive__list { border-top: 1px solid var(--rule-strong); }
.archive__row { display: grid; grid-template-columns: 6.5rem minmax(0, 1.5fr) minmax(0, 1fr) 7rem; gap: 1rem; align-items: baseline; padding-block: 0.95rem; border-bottom: 1px solid var(--rule); }
.archive__title { font: 400 1.5rem/1.15 var(--display); }
.archive__title a { text-decoration-color: var(--accent); }
.archive__place { font: italic 400 1rem/1.3 var(--text); color: var(--muted); }
.archive__state { text-align: right; font-size: 0.9375rem; }
.archive__row.is-pending .archive__state { color: var(--muted); }

.ph-formats { padding-block: var(--section); }
.ph-formats__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 1.25rem; align-items: end; border-top: 1px solid var(--rule-strong); padding-top: 2rem; }
.ph-formats .small-title { grid-column: 1 / span 4; }
.ph-formats p { grid-column: 5 / span 5; font: 400 var(--fs-read)/1.5 var(--text); max-width: 38ch; }
.ph-formats .arrow-link { grid-column: 10 / -1; justify-self: end; }
/* The exhibition preview: three numbered specimens hung like a wall, clearly labelled. */
.ex-preview { padding-top: var(--section); }
.ex-preview__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2.5rem; align-items: center; }
.ex-preview__text { grid-column: 1 / span 4; display: grid; gap: 1rem; justify-items: start; }
.ex-preview__text > p:not(.meta) { max-width: 40ch; color: var(--muted); }
.ex-preview__label, .ex-banner { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted); }
.ex-banner { padding: 0.45rem 0.75rem; border: 1px dashed var(--rule-strong); }
.ex-preview__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; border: 1px solid currentColor; flex: none; }
.ex-preview__wall { grid-column: 6 / -1; display: grid; grid-template-columns: 1.5fr 0.82fr 0.9fr; gap: clamp(1rem, 2.4vw, 2rem); align-items: start; }
.ex-preview__frame { display: grid; gap: 0.6rem; min-width: 0; }
.ex-preview__frame--2 { margin-top: clamp(2rem, 6vw, 5rem); }
.ex-preview__frame--3 { margin-top: clamp(0.75rem, 2vw, 1.5rem); }
.ex-preview__img { display: block; padding: clamp(0.4rem, 0.8vw, 0.65rem); background: var(--bg); box-shadow: 0 1px 2px rgba(28, 28, 26, 0.12), 0 18px 30px -22px rgba(28, 28, 26, 0.45); }
.ex-preview__img img { display: block; width: 100%; height: auto; }
.ex-preview__cap { color: var(--muted); }

/* ---------- Collection ---------- */
.col-head { padding-block: clamp(3rem, 7vw, 6rem) 0; }
.col-head__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2rem; align-items: end; }
.col-head__titles { grid-column: 1 / span 7; display: grid; gap: 1.1rem; }
.col-head__side { grid-column: 8 / -1; display: grid; gap: 1.75rem; }
.col-head__intro { font: 400 var(--fs-read)/1.5 var(--text); max-width: 38ch; }
.geo { display: grid; gap: 0.2rem; }
.geo__name { font: italic 400 var(--fs-4)/1.1 var(--display); }
.geo__local { font: italic 400 1.0625rem/1.3 var(--text); color: var(--muted); }
.geo__meta { white-space: pre; }
.view-switch { display: flex; align-items: center; gap: 1.75rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 0.75rem; border-block: 1px solid var(--rule); position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 10; background: var(--bg); }
.view-switch__btn { background: none; border: 0; padding: 0.5rem 0; min-height: 2.75rem; cursor: pointer; font: 400 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.view-switch__btn[aria-pressed="true"] { color: var(--fg); text-decoration: underline; text-underline-offset: 0.6em; text-decoration-color: var(--accent); }
.view-switch__hint { margin-left: auto; }

.sequence { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(4.5rem, 11vw, 10rem); padding: clamp(3.5rem, 8vw, 7rem) var(--pad-r) var(--section) var(--pad-l); max-width: 110rem; margin-inline: auto; }
.frame { display: grid; gap: 0.9rem; align-content: start; min-width: 0; }
.frame__open { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; justify-self: start; max-width: 100%; }
.frame__open img { max-height: 86svh; width: auto; max-width: 100%; }
.frame--wide-left { grid-column: 1 / span 10; }
.frame--wide-right { grid-column: 3 / -1; }
.frame--wide-right .frame__open { justify-self: end; }
.frame--center { grid-column: 4 / span 6; justify-items: center; }
.frame--center .frame__open { justify-self: center; }
.frame--narrow-left { grid-column: 2 / span 5; }
.frame--narrow-right { grid-column: 7 / span 5; }
.frame--full { grid-column: 1 / -1; margin-inline: calc(-1 * var(--pad-l)) calc(-1 * var(--pad-r)); }
.frame--full .frame__open { justify-self: stretch; }
.frame--full .frame__open img { width: 100%; max-height: none; }
.frame--full .frame__cap { padding-inline: var(--pad-l) var(--pad-r); }
.seq-pair { grid-column: 2 / span 10; display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); align-items: start; }
.seq-pair .frame__open img { width: 100%; }
.seq-text { grid-column: 4 / span 6; }
.seq-text p { font: 400 clamp(1.5rem, 2.6vw, 2.25rem)/1.25 var(--display); text-wrap: pretty; }
.frame__cap { display: grid; grid-template-columns: 2.25rem minmax(0, 34ch); gap: 0.75rem; padding-top: 0.25rem; }
.frame__text { display: grid; gap: 0.2rem; }
.frame__tech { margin-top: 0.2rem; }
.frame__title { font: italic 400 1.1875rem/1.25 var(--display); }
.frame__where { font-size: 0.875rem; color: var(--muted); }
.frame__caption { font: 400 1.0625rem/1.5 var(--text); margin-top: 0.3rem; }

.sheet { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); background: var(--bg-2); }
.sheet__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 10.5rem), 1fr)); gap: 1.25rem 0; background: var(--night); padding: 1rem 0.5rem 0.5rem; }
.sheet__frame { position: relative; display: grid; gap: 0.4rem; width: 100%; padding: 0 0.4rem; background: none; border: 0; cursor: zoom-in; }
.sheet__img { display: grid; place-items: center; aspect-ratio: 3 / 2; background: #0F0F0E; overflow: hidden; }
.sheet__img img { width: 100%; height: 100%; object-fit: contain; }
.sheet__num { display: flex; justify-content: space-between; color: #C9A86A; font-size: 0.6875rem; padding-inline: 0.15rem; }
.sheet__mark { color: var(--rose); }
.sheet__frame::after {
  content: ""; position: absolute; inset: -0.4rem -0.05rem 1.1rem; pointer-events: none;
  border: 2px solid var(--rose); border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%;
  opacity: 0; transform: rotate(-2deg) scale(0.96); transition: opacity 0.25s, transform 0.35s var(--ease);
}
.sheet__frame:hover::after, .sheet__frame:focus-visible::after { opacity: 1; transform: rotate(-2deg) scale(1); }
.sheet__frame:focus-visible { outline: none; }
.sheet__legend { margin-top: 1rem; }
.related { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-block: var(--section); }
.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 2.5rem var(--col-gap); align-items: start; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #121211; color: var(--night-fg);
  display: none; grid-template-rows: 1fr auto;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(10, 10, 9, 0.92); }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: calc(1rem + env(safe-area-inset-top, 0px)) var(--pad-r) 1rem var(--pad-l); overflow: hidden; cursor: pointer; }
.lightbox__stage img { max-width: 100%; max-height: calc(100dvh - var(--bar-h, 8.5rem) - 2rem - env(safe-area-inset-top, 0px)); width: auto; height: auto; object-fit: contain; opacity: 0; transition: opacity 0.5s ease, max-height 0.35s var(--ease); }
.lightbox__stage img.is-in { opacity: 1; }
.lightbox__top { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 0.9rem); left: var(--pad-l); margin: 0; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.lightbox.is-bare .lightbox__bar { display: none; }
.lightbox.is-bare .lightbox__top { opacity: 0.85; }
.lightbox__bar {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: start;
  padding: 1rem var(--pad-r) calc(1rem + env(safe-area-inset-bottom, 0px)) var(--pad-l);
  border-top: 1px solid rgba(241, 236, 225, 0.12);
}
.lightbox__count { color: var(--night-muted); padding-top: 0.2rem; }
.lightbox__caption { display: grid; gap: 0.2rem; max-width: 56ch; max-height: 8.5rem; overflow-y: auto; }
.lightbox__title { font: italic 400 1.25rem/1.2 var(--display); }
.lightbox__where { font-size: 0.875rem; color: var(--night-muted); }
.lightbox__text { font: 400 1.0625rem/1.45 var(--text); }
.lightbox .meta { color: var(--night-muted); }
.lightbox__nav { display: flex; gap: 0.5rem; }
.lightbox__btn { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 0.9rem; border: 1px solid rgba(241, 236, 225, 0.35); border-radius: 999px; background: none; color: var(--night-fg); cursor: pointer; font: 400 0.75rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.lightbox__btn svg { width: 1.1rem; height: 0.6rem; fill: none; stroke: currentColor; stroke-width: 1.3; }
.lightbox__btn:hover { background: var(--night-fg); color: var(--night); }
.lightbox :focus-visible { outline-color: var(--rose); }
html.lightbox-open { overflow: hidden; }

/* ---------- About ---------- */
.bio { background: var(--bg-2); padding-block: clamp(3rem, 6vw, 5rem); }
.bio__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 1.5rem; }
.bio__head { grid-column: 1 / span 4; display: grid; gap: 0.5rem; align-content: start; }
.bio__body { grid-column: 6 / -1; display: grid; gap: 1rem; justify-items: start; }
.bio__body p { font: 400 1.1875rem/1.55 var(--text); max-width: 46ch; }
.recognition { padding-block: var(--section); display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2.5rem var(--col-gap); }
.recognition__group { display: grid; gap: 1rem; align-content: start; }
.recognition__group li { padding-block: 0.6rem; border-top: 1px solid var(--rule); }

/* =====================================================================
   ABOUT · an archive of encounters, told as one continuous story
   ---------------------------------------------------------------------
   Grid     12 columns. Text reads in one column (--ab-text). Chapter headings
            start one step to its left (--ab-head); featured statements may run a
            little wider (--ab-wide-statement); photographs sit in the right margin
            or across the page (--ab-wide).
   Type     L1 the name · L2 chapter headings · L3 featured statements ·
            L4 body (one size everywhere) · L5 metadata (sans, small caps).
   Rhythm   chapters are separated by space and tone, not by rules.
   ===================================================================== */
.page-root {
  --ab-dark: var(--night);
  --ab-measure: 40rem;                       /* ≈ 60–72 characters of body text */
  --ab-chapter-gap: clamp(5rem, 11vw, 9rem);
  --ab-head-gap: clamp(1.75rem, 3vw, 2.5rem);
  --ab-l1: clamp(4rem, 13.5vw, 13rem);
  --ab-l2: clamp(2.25rem, 4.4vw, 4rem);
  --ab-l3: clamp(1.625rem, 2.7vw, 2.375rem);
  --ab-l3-climax: clamp(2rem, 4.2vw, 3.75rem);
  --ab-l4: var(--fs-read);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-root { --ab-dark: #131312; } }
:root[data-theme="dark"] .page-root { --ab-dark: #131312; }
.ab-chapter, .ab-opening, .ab-reference { scroll-margin-top: calc(var(--header-h) + 1rem); }

.ab-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
.ab-grid > * { grid-column: 3 / span 7; min-width: 0; }            /* the reading column */
.ab-grid > .ab-chapter__head, .ab-grid > .ab-opening__id { grid-column: 2 / span 9; }
.ab-grid > .ab-wide, .ab-grid > .ab-plate--film { grid-column: 2 / span 10; }

/* L5 · metadata: chapter numbers, identifiers, captions, places, dates */
.ab-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.6rem; font: 400 0.75rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ab-meta__sep { opacity: 0.6; }
.ab-meta--heading { margin-bottom: 1rem; }
/* L1 · the name */
.ab-h1 { font: 400 var(--ab-l1)/0.84 var(--display); letter-spacing: -0.04em; margin-left: -0.05em; text-wrap: balance; }
/* L2 · chapter headings, all the same */
.ab-h2 { margin-top: 0.85rem; font: 400 var(--ab-l2)/1.02 var(--display); letter-spacing: -0.02em; text-wrap: balance; max-width: 15ch; }
.ab-h2 em { font-style: italic; }
/* L3 · featured statements */
.ab-statement { font: 400 var(--ab-l3)/1.16 var(--display); letter-spacing: -0.01em; text-wrap: balance; max-width: 24ch; }
/* L4 · body, one size and leading throughout */
.ab-text { display: grid; gap: 1.05em; font: 400 var(--ab-l4)/1.62 var(--text); }
.ab-text > p { max-width: var(--ab-measure); text-wrap: pretty; }
.ab-text > .ab-statement { margin-block: 0.6em; }
.ab-aside { font-style: italic; }
/* A passage set slightly above the body, indented: for a run of questions or images in words */
.ab-text > .ab-passage { margin-block: 0.4em; padding-left: clamp(1.25rem, 3vw, 2.5rem); font: italic 400 1.14em/1.5 var(--text); max-width: calc(var(--ab-measure) - 2rem); text-wrap: pretty; }
.ab-h3 { display: grid; gap: 0.35rem; margin-bottom: 0.15em; font: 400 0.75rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ab-h3__line { font: italic 400 var(--ab-l3)/1.16 var(--display); letter-spacing: -0.01em; text-transform: none; color: var(--fg); max-width: 22ch; }

/* Chapters: space and tone carry the transitions */
.ab-chapter { padding-block: var(--ab-chapter-gap) 0; }
.ab-chapter > .ab-grid { row-gap: var(--ab-head-gap); }
.ab-chapter__head { margin-bottom: 0.25rem; }
.ab-chapter--dark { background: var(--ab-dark); color: var(--night-fg); --muted: var(--night-muted); --fg: var(--night-fg); padding-bottom: var(--ab-chapter-gap); margin-top: var(--ab-chapter-gap); }
.ab-chapter--dark + .ab-chapter { padding-top: var(--ab-chapter-gap); }
.ab-chapter--dark :focus-visible { outline-color: var(--rose); }
.ab-statement--anchor { margin-top: 0.25rem; }
.ab-coda { margin-top: 0.5em; }

/* Opening: the first page of a profile */
.ab-opening { padding-block: clamp(3rem, 7vw, 6rem) 0; }
.ab-opening > .ab-grid { row-gap: 0; }
.ab-grid > .ab-h1 { grid-column: 2 / -1; margin-top: clamp(1rem, 2vw, 1.5rem); }
.ab-opening__descriptor { margin-top: clamp(1.25rem, 2.4vw, 1.75rem); font: 400 0.8125rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ab-opening__statement { margin-top: clamp(3rem, 6vw, 5rem); }
.ab-opening__text { margin-top: clamp(1.5rem, 2.6vw, 2rem); }

/* Photographs. A plate is a real image once added; until then a quiet tonal field the
   size the photograph will be, captioned "to come". No frames, no borders, no grain. */
.ab-plate { margin: 0; display: grid; gap: 0.7rem; align-content: start; }
.ab-plate img { display: block; width: 100%; height: auto; }
.ab-plate__frame { display: block; aspect-ratio: var(--ratio, 4 / 5); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.ab-text .ab-plate--margin { margin-block: 0.5em; width: min(100%, 15rem); }
.ab-text .ab-plate--inline { margin-block: 0.75em; }
@media (min-width: 64.01rem) {
  /* In wide layouts a margin photograph hangs beside the text, outside the reading column */
  .ab-text { position: relative; }
  .ab-text .ab-plate--margin { position: absolute; left: calc(100% + 2 * var(--col-gap)); width: min(15rem, 18vw); margin: 0; transform: translateY(-40%); }
  .ab-text .ab-plate--inline:not(.is-empty) { width: calc(100% + 30%); }
}
.ab-plate--film .ab-plate__frame { background: #1b1a18; }
/* Empty plates stay modest so a reserved photograph never dominates the page */
.ab-plate--inline.is-empty .ab-plate__frame { aspect-ratio: 3 / 1; }
.ab-sequence { display: grid; gap: var(--col-gap); align-items: start; }
.ab-sequence--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ab-sequence--3 { grid-template-columns: 1.2fr 0.9fr 1fr; }
.ab-sequence-empty .ab-plate__frame:nth-child(1) { aspect-ratio: 3 / 2; }
.ab-sequence-empty .ab-plate__frame:nth-child(2) { aspect-ratio: 4 / 5; }
.ab-sequence-empty .ab-plate__frame:nth-child(3) { aspect-ratio: 1; }

/* 05 · The medium: the most visual chapter */
.ab-chapter--medium > .ab-grid { row-gap: clamp(2rem, 4vw, 3.25rem); }
.ab-medium-close { margin-top: clamp(1rem, 3vw, 2.5rem); gap: 0.2em; }
.ab-medium-close > p:not(.ab-statement) { font: 400 var(--ab-l4)/1.5 var(--text); }
.ab-medium-close > .ab-statement { margin-top: 0.6em; font-style: italic; }

/* 06 · The hope, and its last line */
.ab-chapter--close { padding-bottom: 0; }
.ab-grid > .ab-climax { grid-column: 2 / span 10; margin-block: clamp(4rem, 9vw, 8rem) clamp(5rem, 10vw, 8.5rem); font: 400 var(--ab-l3-climax)/1.1 var(--display); letter-spacing: -0.02em; }
.ab-climax span { display: block; text-wrap: balance; }
.ab-climax span + span { font-style: italic; padding-left: clamp(1.25rem, 6vw, 6rem); }

/* Chapter one: the contents page of what comes next */
.ab-chapter--index { margin-top: 0; }
.ab-index { display: grid; gap: 1rem; margin-top: clamp(1rem, 3vw, 2rem); }
.ab-index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(241, 236, 225, 0.2); }
.ab-index__row { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; align-items: baseline; column-gap: 1rem; padding-block: 0.95rem; border-bottom: 1px solid rgba(241, 236, 225, 0.12); }
.ab-index__n { font: 400 0.75rem/1 var(--sans); letter-spacing: 0.16em; color: var(--night-muted); }
.ab-index__name { font: 400 clamp(1.375rem, 2.2vw, 1.875rem)/1.15 var(--display); color: var(--night-fg); text-decoration: none; }
a.ab-index__name:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.ab-index__row.is-open .ab-index__name { font-style: italic; color: var(--night-muted); }
.ab-index__state { font: 400 0.75rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--night-muted); }
.ab-index__cta { color: var(--night-fg); margin-top: 0.75rem; justify-self: start; }

/* Short biography: a compact reference */
.ab-reference { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.ab-reference__text { display: grid; gap: 0.9em; font: 400 1.0625rem/1.6 var(--text); color: var(--muted); }
.ab-reference__text p { max-width: var(--ab-measure); }
.ab-reference__copy { justify-self: start; margin-top: 0.75rem; color: var(--fg); }
.ab-reference__copy.is-done { text-decoration-color: var(--accent); }
.ab-reference .ab-text { gap: 0; }

/* The last page */
.ab-letter { background: var(--umber); color: var(--night-fg); --muted: var(--night-muted); padding-block: clamp(4.5rem, 9vw, 7rem); }
.ab-letter .ab-text { gap: 0; }
.ab-letter__signoff { margin-top: 1.25rem; font: italic 400 var(--ab-l3)/1.16 var(--display); letter-spacing: -0.01em; max-width: 22ch; text-wrap: balance; }
.ab-letter__sign { margin-top: 0.75rem; font: italic 400 var(--ab-l4)/1.4 var(--text); color: var(--night-muted); }
.ab-letter__ask { margin-top: clamp(2.5rem, 5vw, 3.5rem); font: 400 var(--ab-l4)/1.55 var(--text); max-width: 34ch; }
.ab-letter__cta { margin-top: 1rem; color: var(--night-fg); justify-self: start; }
.ab-letter :focus-visible { outline-color: var(--rose); }

@media (max-width: 64rem) {
  .ab-grid > * { grid-column: 2 / span 9; }
  .ab-grid > .ab-chapter__head, .ab-grid > .ab-opening__id, .ab-grid > .ab-h1 { grid-column: 1 / -1; }
  .ab-grid > .ab-wide, .ab-grid > .ab-plate--film, .ab-grid > .ab-climax { grid-column: 1 / -1; }
}
@media (max-width: 47.99rem) {
  .page-root { --ab-chapter-gap: 4rem; --ab-head-gap: 1.25rem; --ab-l2: clamp(2rem, 8.6vw, 2.5rem); --ab-l3: clamp(1.4375rem, 6vw, 1.75rem); --ab-l3-climax: clamp(1.875rem, 8.4vw, 2.375rem); }
  .ab-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-grid > *, .ab-grid > .ab-chapter__head, .ab-grid > .ab-opening__id, .ab-grid > .ab-h1, .ab-grid > .ab-wide, .ab-grid > .ab-plate--film, .ab-grid > .ab-climax { grid-column: 1; }
  .ab-h1 { font-size: min(18.5vw, 6rem); }
  .ab-h2 { max-width: none; }
  .ab-opening__statement { margin-top: 2.5rem; }
  .ab-text .ab-plate--margin { width: 58%; }
  .ab-sequence--3 { grid-template-columns: 1.2fr 0.9fr; }
  .ab-sequence-empty .ab-sequence--3 > :nth-child(3) { display: none; }
  .ab-climax span + span { padding-left: 1rem; }
  .ab-index__row { grid-template-columns: 2.25rem minmax(0, 1fr); row-gap: 0.25rem; }
  .ab-index__state { grid-column: 2; }
}

/* ---------- Contact ---------- */
.contact { padding-bottom: var(--section); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 3.5rem; border-top: 1px solid var(--rule-strong); padding-top: clamp(2.5rem, 5vw, 4rem); }
.contact__aside { grid-column: 1 / span 4; display: grid; gap: 1.75rem; align-content: start; }
.services { display: grid; gap: 0; }
.services { counter-reset: service; border-bottom: 1px solid var(--rule); }
.services li { border-top: 1px solid var(--rule); }
.service {
  counter-increment: service; position: relative;
  display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); column-gap: 0.5rem; row-gap: 0.3rem;
  padding: 1rem 0 1.05rem; text-decoration: none; color: inherit;
}
.service::before { content: counter(service, decimal-leading-zero); grid-row: 1; padding-top: 0.35rem; font: 400 0.6875rem/1 var(--mono); color: var(--muted); }
.service__title { grid-column: 2; font: 400 1.3125rem/1.2 var(--display); transition: color 0.25s ease; }
.service__text { grid-column: 2; font-size: 0.9375rem; color: var(--muted); line-height: 1.5; max-width: 40ch; }
.service__go { grid-column: 2; display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.2rem; color: var(--muted); opacity: 0; transform: translateX(-0.35rem); transition: opacity 0.3s ease, transform 0.4s var(--ease), color 0.25s ease; }
.service__go svg { width: 1rem; height: 0.5rem; fill: none; stroke: currentColor; stroke-width: 1.3; }
.service:hover .service__title, .service:focus-visible .service__title, .service.is-chosen .service__title { color: var(--accent); }
.service:hover .service__go, .service:focus-visible .service__go { opacity: 1; transform: none; }
.service.is-chosen::before, .service.is-chosen .service__go { color: var(--accent); }
.service.is-chosen .service__go { opacity: 1; transform: none; }
@media (hover: none) { .service__go { opacity: 1; transform: none; } }
.contact__elsewhere { display: grid; gap: 1rem; padding-top: 0.5rem; }
.contact__elsewhere a { font: 400 1.25rem/1.4 var(--display); }
.contact__main { grid-column: 6 / -1; display: grid; gap: 1.75rem; align-content: start; }
.contact__title { font: 400 var(--fs-3)/1.1 var(--display); }
.enquiry { display: grid; gap: 1.75rem; }
.enquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem var(--col-gap); }
.field { display: grid; gap: 0.5rem; align-content: start; }
.field label { font-size: 0.9375rem; }
.field__opt { color: var(--muted); font-size: 0.8125rem; }
.field__hint { font-size: 0.875rem; color: var(--muted); margin-top: -0.25rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.85rem 0.9rem;
  font: 400 1.0625rem/1.4 var(--sans); color: var(--fg);
  background: var(--field); border: 1px solid var(--rule-strong); border-radius: 2px;
  transition: border-color 0.25s, background-color 0.25s;
}
.field textarea { resize: vertical; min-height: 11rem; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--fg); background: transparent; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 0.55rem; height: 0.55rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.field__error { font-size: 0.875rem; color: var(--accent); min-height: 0; }
.field__error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--accent); border-width: 2px; }
.has-error label::before { content: "! "; color: var(--accent); }
.enquiry__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__summary { padding: 1.1rem 1.25rem; border: 2px solid var(--accent); display: grid; gap: 0.5rem; }
.enquiry__summary-title { font: 400 1.375rem/1.2 var(--display); }
.enquiry__summary li { list-style: disc; margin-left: 1.25rem; }
.enquiry__summary a { color: var(--accent); }
.enquiry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.enquiry__status { font-size: 0.9375rem; max-width: 40ch; }
.enquiry__status.is-error { color: var(--accent); }
.sent { position: relative; display: grid; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--paper-fibre), var(--card-paper); color: var(--card-ink); border-radius: 3px; box-shadow: 0 30px 60px -40px rgba(28, 28, 26, 0.6); }
.sent:focus { outline: none; }
.sent__stamp { position: absolute; right: 1rem; top: 1rem; width: 7.5rem; color: var(--oxblood); transform: rotate(-10deg); opacity: 0.85; }
.sent__title { font: 400 var(--fs-3)/1.08 var(--display); max-width: 20ch; padding-right: 7rem; }
.sent__text { color: var(--card-muted); }
.sent__copy { font: italic 400 1.125rem/1.5 var(--text); white-space: pre-wrap; padding-left: 1rem; border-left: 1px solid rgba(28, 28, 26, 0.3); max-height: 14rem; overflow: auto; }

/* ---------- 404 ---------- */
.not-found { padding-block: clamp(4rem, 10vw, 8rem); }
.not-found__inner { display: grid; gap: 2rem; justify-items: start; }
.not-found__stamp { width: clamp(9rem, 18vw, 14rem); transform: rotate(-12deg); }
.not-found .page-lede { max-width: 32ch; }

/* ---------- Rendering: sections below the first screen are laid out when they come near ---------- */
.dests-section { content-visibility: auto; contain-intrinsic-block-size: auto 1600px; }
.pc-home, .abi, .archive, .ph-formats, .related, .credits, .stills { content-visibility: auto; contain-intrinsic-block-size: auto 700px; }
.site-footer__bar { content-visibility: auto; contain-intrinsic-block-size: auto 160px; }
.filmography > .reel:nth-child(n + 2) { content-visibility: auto; contain-intrinsic-block-size: auto 640px; }

/* ---------- Photographs develop as they load ---------- */
.js img[data-develop] { opacity: 0; filter: brightness(0.75) contrast(0.85) saturate(0.6); transition: opacity 1.1s ease, filter 1.8s ease; }
.js img[data-develop].is-developed { opacity: 1; filter: none; }

/* ---------- Motion: reveals and page transitions ----------
   Only what starts below the first screen waits to be revealed, so every page is complete
   at rest. Title cards warm up like a projector; a card then opens into its chapter. */
.js .reveal-pending { opacity: 0; transform: translate3d(0, 1.5rem, 0); }
.js .reveal-pending.is-revealed { opacity: 1; transform: none; transition: opacity 0.9s ease var(--delay, 0s), transform 1.2s var(--ease) var(--delay, 0s); }
.js .dest.reveal-pending .dest__frame { filter: brightness(0.35) saturate(0.6); }
.js .dest.reveal-pending.is-revealed .dest__frame { filter: none; transition: filter 1.6s ease 0.1s; }
.js .dests__slot:nth-child(2) .dest.reveal-pending { --delay: 0.08s; }
.js .dests__slot:nth-child(4) .dest.reveal-pending { --delay: 0.08s; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.28s ease both vt-fade-out; }
::view-transition-new(root) { animation: 0.42s ease 0.08s both vt-fade-in; }
::view-transition-group(*.chapter) { animation-duration: 0.7s; animation-timing-function: var(--ease); }
::view-transition-old(*.chapter), ::view-transition-new(*.chapter) { height: 100%; object-fit: cover; overflow: clip; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* =====================================================================
   Tablet
   ===================================================================== */
@media (max-width: 64rem) {
  .hero { min-height: clamp(32rem, calc(80svh - var(--header-h)), 48rem); }
  .intro__lead { grid-column: 1 / span 8; }
  .stories__label, .stories__lines { grid-column: 1 / -1; }
  .stories__lines li { font-size: min(5.6cqw, 3rem); }
  .season-band__title, .season-list__title { grid-column: 1 / span 8; }
  .season-band__text, .season-list__text { grid-column: 1 / span 8; grid-row: 2; }
  .season-band__stamp, .season-list__stamp { grid-column: 10 / -1; grid-row: 1 / span 2; align-self: center; }
  .dest--feature .dest__frame { --ar: 2 / 1; }
  .dests__slot[data-slot="1"] { grid-column: 1 / span 6; }
  .dests__slot[data-slot="2"] { grid-column: 7 / -1; }
  .dests__slot[data-slot="3"] { grid-column: 1 / span 8; }
  .dests__slot[data-slot="4"] { grid-column: 9 / -1; }
  .pc-home__text, .postcards__text, .film-postcards__text { grid-column: 1 / span 5; }
  .pc-home__deck, .postcards__deck, .film-postcards .deck { grid-column: 6 / -1; }
  .abi__portrait { grid-column: 1 / span 5; }
  .abi__text { grid-column: 6 / -1; }
  .page-head .page-title { grid-column: 1 / -1; }
  .page-lede { grid-column: 5 / -1; }
  .reel--left .reel__frame { grid-column: 1 / span 7; }
  .reel--left .reel__slate { grid-column: 8 / -1; }
  .reel--right .reel__frame { grid-column: 7 / -1; }
  .reel--right .reel__slate { grid-column: 1 / span 6; }
  .reel--center .reel__frame, .reel--center .reel__slate { grid-column: 1 / -1; }
  .reel--full .slate > * { grid-column: 1 / -1 !important; grid-row: auto !important; justify-self: start !important; }
  .reel--full .slate__grid { grid-column: 1 / span 9 !important; }
  .film-body__main { grid-column: 1 / span 7; }
  .film-body__facts { grid-column: 8 / -1; }
  .preprod__board { grid-column: 1 / span 7; }
  .preprod__postcard { grid-column: 8 / -1; }
  .col-head__titles, .col-head__side { grid-column: 1 / -1; }
  .contact__aside { grid-column: 1 / span 5; }
  .contact__main { grid-column: 6 / -1; }
  .collections__grid > * { grid-column: span 6; }
  .collections__grid > .col-link--lead { grid-column: 1 / -1; }
  .archive__row { grid-template-columns: 5.5rem minmax(0, 1.5fr) minmax(0, 1fr) 6rem; }
}

/* =====================================================================
   Phone: compositions of their own, not shrunken desktop
   ===================================================================== */
@media (max-width: 47.99rem) {
  :root { --section: clamp(3.25rem, 14vw, 4.25rem); }
  body { font-size: 1rem; }

  /* The opening: one composed screen, the next scene already in view */
  .hero { min-height: max(30rem, calc(78svh - var(--header-h))); }
  .hero__inner { gap: 1.5rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
  .hero__byline { align-items: flex-start; padding-top: 0.2rem; letter-spacing: 0.2em; font-size: 0.6875rem; }
  .hero__byline span span { display: block; }
  .hero__byline::before { width: 1.25rem; margin-top: 0.45em; }
  .hero__stamp { width: 6.25rem; margin-right: -0.4rem; }
  .hero__reg { top: 40%; }
  .hero__edge { display: none; }
  .ex-preview__text, .ex-preview__wall { grid-column: 1 / -1; }
  .ex-preview__wall { grid-template-columns: 1.5fr 1fr; }
  .ex-preview__frame--1 { grid-column: 1 / -1; }
  .ex-preview__frame--2 { margin-top: 0; }
  .ex-preview__frame--3 { margin-top: 2.5rem; }
  .hero__reg-text { left: auto; right: 1.35rem; justify-items: end; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .hero__tagline { font-size: clamp(1.375rem, 6.4vw, 1.75rem); max-width: 19ch; }
  .hero__wordmark { letter-spacing: -0.03em; }

  .intro { padding-top: 3rem; }
  .intro__grid { row-gap: 2rem; }
  .intro__lead { grid-column: 1 / -1; font-size: clamp(1.625rem, 7.4vw, 2.125rem); line-height: 1.12; }
  .stories { row-gap: 0.85rem; }
  .stories__label { font-size: 1.0625rem; }
  .stories__lines { row-gap: 0.3em; }
  /* On a phone the lines alternate between two measures, which keeps the movement while
     every line stays whole: the two pairs (unknown / known, everyday / lasting) answer each other. */
  .stories__lines li { --step: 0.7em; padding-left: 0; font-size: clamp(1.25rem, 6.45vw, 1.875rem); line-height: 1.12; }
  .stories__lines li:nth-child(even) { padding-left: var(--step); }
  .intro__coda { font-size: clamp(2.125rem, 10vw, 2.75rem); padding-top: 1.5rem; }
  .intro__coda span + span { padding-left: 1.25rem; }

  .season-band { --band-pt: 3.25rem; padding-block: var(--band-pt) 2.5rem; }
  .intro { --intro-pb: 3rem; }
  .season-band__grid, .season-list__head { grid-template-columns: 1fr auto; align-items: start; row-gap: 1.25rem; }
  .season-band__title, .season-list__title { grid-column: 1; grid-row: 1; font-size: clamp(2.75rem, 13vw, 3.5rem); }
  .season-band__stamp, .season-list__stamp { grid-column: 2; grid-row: 1; width: 5.5rem; margin-right: -0.25rem; }
  .season-band__text, .season-list__text { grid-column: 1 / -1; grid-row: 2; padding-bottom: 0; }
  .season-band__route { margin-top: 2rem; }
  .route { margin-bottom: 2rem; }
  .route__stop { padding-right: 0.4rem; }
  .route__name { font-size: 1rem; }

  .dests-section { padding-block: 1.75rem 3.5rem; }
  .dests { gap: 1.75rem; }
  .dests__more { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.75rem; row-gap: 1.5rem; align-items: start; }
  .dests__slot, .dests__slot[data-slot] { grid-column: auto; }
  .dests__more .dest__frame { --ar: 4 / 5; --title: 21cqw; --title-max: 3rem; padding: 0.7rem; }
  .dests__more .dest--tba .dest__frame { --title: 14cqw; }
  .dest--feature .dest__frame { --ar: 1 / 1; --title: 25cqw; --title-max: 6rem; padding: 0.95rem; }
  .dests__more .dest__chapter { font-size: 0.875rem; }
  .dests__more .dest__code { font-size: 0.625rem; }
  .dests__more .dest__local { font-size: 0.875rem; }
  .dests__more .dest__line { font-size: 0.75rem; }
  .dests__more .viewfinder { inset: 0.4rem; }
  .dests__more .viewfinder i { width: 0.6rem; height: 0.6rem; }
  .dests__foot { justify-content: flex-start; }

  .pc-home { padding-block: 3rem 2.75rem; }
  .pc-home__grid, .postcards__grid, .film-postcards__grid { row-gap: 1.75rem; }
  .pc-home__text, .pc-home__deck, .postcards__text, .postcards__deck, .film-postcards__text, .film-postcards .deck { grid-column: 1 / -1; }
  .pc-home__title, .postcards__title { font-size: clamp(2.5rem, 12vw, 3.25rem); }

  .abi { padding-block: 3.25rem; }
  .abi__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 1.5rem; }
  .abi__portrait { grid-column: 1 / span 4; }
  .abi__text { grid-column: 1 / -1; }
  .abi__name { font-size: clamp(3.25rem, 15vw, 4.5rem); }

  /* The end of the page */
  .end-note__home { padding-block: 4rem 3rem; row-gap: 1.75rem; }
  .end-note__signoff, .end-note__links { grid-column: 1 / -1; }
  .end-note__signoff { font-size: clamp(2rem, 9.4vw, 2.75rem); }
  .end-note__links { padding-left: 0; padding-top: 1.25rem; border-left: 0; border-top: 1px solid rgba(241, 236, 225, 0.22); }
  .end-note__page { flex-direction: column; align-items: flex-start; padding-block: 2.75rem; }
  .site-footer__grid { grid-template-columns: 1fr; row-gap: 0.5rem; }
  .site-footer__legal { margin-top: 0.75rem; }

  .page-head { padding-block: 2.75rem 2rem; }
  .page-lede { grid-column: 1 / -1; }

  .filmography { gap: 3rem; }
  .reel { row-gap: 1rem; }
  .reel__frame, .reel__slate { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .reel__frame .dest__frame { --ar: 3 / 2 !important; --title: 17cqw; }
  .reel--right .dest__frame { --ar: 4 / 5 !important; --title: 24cqw; }
  .dest--tba.dest--row .dest__frame { min-height: 6.5rem; }
  .reel--right .reel__frame { width: 78%; }
  .reel--full .dest__frame { --ar: 16 / 10 !important; }
  .slate__grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts.facts--stacked { grid-template-columns: 1fr; }
  .facts--stacked div { grid-template-columns: 6.5rem 1fr; }

  .film-hero { min-height: max(26rem, calc(66svh - var(--header-h))); }
  .film-hero__title { font-size: clamp(3.5rem, 19vw, 6.5rem); }
  .film-hero__script { top: 24%; opacity: 0.06; }
  .film-hero .postmark { width: 6rem; }
  .film-body { row-gap: 2.25rem; padding-block: 2.75rem 2.5rem; }
  .film-body__main, .film-body__facts { grid-column: 1 / -1; }
  .preprod { padding-block: 2.5rem 3rem; row-gap: 2rem; }
  .preprod__board, .preprod__postcard { grid-column: 1 / -1; }
  .preprod__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preprod__cells div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .preprod__cells div:nth-child(2n) { padding-left: 0.9rem; border-left: 1px solid rgba(241, 236, 225, 0.3); }
  .preprod__postcard { transform: rotate(1deg); }
  .stills__row { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .stills__item { flex: none; height: auto; width: calc(14rem * var(--ar)); max-width: 86vw; scroll-snap-align: start; }
  .credits .small-title, .credits__list { grid-column: 1 / -1; }
  .player__note { display: none; }
  .chapter-nav { padding-block: 2.5rem; gap: 1.75rem; }
  .chapter-nav__grid { gap: 0.6rem; }
  .chapter-nav__frame, .chapter-nav__link--season, .chapter-nav__link--tba { min-height: 8rem; padding: 0.9rem; }
  .chapter-nav__title { font-size: clamp(1.625rem, 7.6vw, 2.25rem); }
  .chapter-nav__dir { font-size: 0.6875rem; }

  .postcards { padding-block: 3rem; }
  .collections__grid > *, .collections__grid > .col-link--lead { grid-column: 1 / -1; }
  .archive__row { grid-template-columns: 3.5rem minmax(0, 1fr) auto; gap: 0.75rem; }
  .archive__place { display: none; }
  .archive__title { font-size: 1.25rem; }
  .ph-formats .small-title, .ph-formats p, .ph-formats .arrow-link { grid-column: 1 / -1; justify-self: start; }

  .view-switch { gap: 1.25rem; }
  .sequence { row-gap: 3.25rem; }
  .frame--wide-left, .frame--wide-right, .frame--center, .seq-text { grid-column: 1 / -1; }
  .frame--narrow-left { grid-column: 1 / span 10; }
  .frame--narrow-right { grid-column: 3 / -1; }
  .frame--narrow-right .frame__open { justify-self: end; }
  .seq-pair { grid-column: 1 / -1; gap: 0.6rem; }
  .frame--wide-left, .frame--wide-right { margin-inline: calc(-1 * var(--pad-l)) calc(-1 * var(--pad-r)); }
  .frame--wide-left .frame__cap, .frame--wide-right .frame__cap { padding-inline: var(--pad-l) var(--pad-r); }
  .frame--wide-left .frame__open img, .frame--wide-right .frame__open img { width: 100%; }
  .sheet__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lightbox__bar { grid-template-columns: 1fr auto; gap: 0.6rem 1rem; padding-top: 0.75rem; }
  .lightbox__count { grid-column: 1; grid-row: 1; }
  .lightbox__nav { grid-column: 2; grid-row: 1; }
  .lightbox__caption { grid-column: 1 / -1; grid-row: 2; max-height: 5.5rem; }

  .bio__head, .bio__body { grid-column: 1 / -1; }

  .contact__aside, .contact__main { grid-column: 1 / -1; }
  .contact__grid { row-gap: 2.75rem; }
  .service { padding-block: 0.9rem 0.95rem; }
  .enquiry__row { grid-template-columns: 1fr; }
  .enquiry__actions .button { width: 100%; }
  .sent__title { padding-right: 4.5rem; }
  .sent__stamp { width: 5.5rem; }
}

@media (max-width: 22.5rem) {
  .hero__byline { letter-spacing: 0.14em; }
  .hero__byline::before { display: none; }
  .hero__top { gap: 0.75rem; }
  .hero__stamp { width: 4.75rem; margin-right: -0.25rem; }
  .dests__more { column-gap: 0.6rem; }
  .dests__more .dest__frame { padding: 0.6rem; }
  .dests__more .dest__code { display: none; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .hero__grain, .hero__poster, .hero__light { animation: none !important; }
  .js img[data-develop] { opacity: 1; filter: none; }
  .js .reveal-pending { opacity: 1; transform: none; }
  .js .dest.reveal-pending .dest__frame { filter: none; }
}

@media print {
  .site-header, .end-note, .deck__controls, .postcard__turn, .view-switch { display: none !important; }
}
