/* ==========================================================================
   Elevate Media HI, Playhead homepage

   The homepage is one film, dark footage framed by a light page. Without JavaScript the shots stack as full
   height sections and every word is on the page. When playhead.js runs it
   puts a "ph" class on the root: the screen sticks, the shots sit on top of
   each other and crossfade as the visitor scrolls, and the fixed timeline at
   the bottom tracks the scroll like a playhead. The class comes from the
   script that drives it, so if that script fails nothing is left hidden.

   Sections
     01  Tokens and fonts
     02  Base
     03  Top bar
     04  The film
     05  Credits
     06  End card and form
     07  Footer
     08  Timeline
     09  Phones
     09b Phones on their side
     10  Phones held upright
     11  Reduced motion
   ========================================================================== */

/* -- 01  Tokens and fonts ------------------------------------------------ */

@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #F4F1EC;                  /* paper: the page around the film */
  --fg: #1C1A17;                  /* ink: type on the page */
  --mute: rgba(28, 26, 23, .7);
  --line: rgba(28, 26, 23, .18);
  --field-line: rgba(28, 26, 23, .48);   /* form field edges, dark enough to find */
  --ember: #A3501F;               /* the one warm accent, for underlines and the button hover */
  --film: #0B0A09;                /* the film itself stays dark, with light type on its scrims */
  --film-fg: #F4F1EC;
  --film-mute: rgba(244, 241, 236, .78);
  --film-line: rgba(244, 241, 236, .28);
  --title: "Cinzel", "Trajan Pro", Georgia, serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --tl-h: 76px;                   /* height of the fixed timeline, so nothing sits under it */
  color-scheme: light;
}

/* -- 02  Base ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; font-weight: 300; background: var(--bg); color: var(--fg); }
img, video { display: block; max-width: 100%; }
img { height: auto; }   /* the width and height attributes reserve space; this keeps their ratio when CSS sets the width */
h1, h2, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }

.skip { position: fixed; left: var(--gutter); top: 12px; z-index: 40; padding: 12px 18px; background: var(--fg); color: var(--bg); font-weight: 500; text-decoration: none; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }

.kicker, .sub h2, .label { font-family: var(--text); font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }

/* -- 03  Top bar --------------------------------------------------------- */

.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter-r) 14px var(--gutter);
  background: rgba(244, 241, 236, .96); border-bottom: 1px solid var(--line);
}
.wm { --w: clamp(156px, 14vw, 216px); display: block; width: var(--w); height: calc(var(--w) * 126.7 / 1337.3); color: var(--fg); }
.bar-logo { display: flex; align-items: center; min-height: 44px; }
.bar-nav { display: flex; align-items: center; gap: 28px; }
.bar-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.bar-cta { border-bottom: 1px solid var(--ember); }
.bar-nav a:hover { color: var(--ember); }

/* -- 04  The film -------------------------------------------------------- */

.film { position: relative; background: var(--film); color: var(--film-fg); }
.film .sub h2 { color: var(--film-mute); }
.shot { position: relative; min-height: 100svh; overflow: hidden; display: grid; }
.shot-m { position: absolute; inset: 0; }
.shot-m > img, .shot-m > video { width: 100%; height: 100%; object-fit: cover; }
.shot[data-chapter="0"] .shot-m video { filter: brightness(.72); }
.shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(11, 10, 9, .55), rgba(11, 10, 9, 0) 22%, rgba(11, 10, 9, 0) 50%, rgba(11, 10, 9, .86)); }
/* The web shot scrolls a busy page behind its subtitle, so the bottom goes nearly solid */
.shade-deep { background: linear-gradient(rgba(11, 10, 9, .55), rgba(11, 10, 9, 0) 20%, rgba(11, 10, 9, 0) 40%, rgba(11, 10, 9, .96) 76%); }

.card { position: relative; align-self: center; justify-self: center; display: grid; gap: 22px; justify-items: center; text-align: center; padding: 120px var(--gutter-r) 160px var(--gutter); }
.card h1 { font-family: var(--title); font-weight: 400; font-size: clamp(32px, 5.2vw, 78px); line-height: 1.12; letter-spacing: .06em; max-width: 15em; text-wrap: balance; }
.card p { font-size: clamp(17px, 1.35vw, 21px); max-width: 44ch; }

.sub { position: absolute; left: 0; right: 0; bottom: calc(var(--tl-h) + 7svh); display: grid; gap: 12px; justify-items: center; text-align: center; padding: 0 var(--gutter-r) 0 var(--gutter); }
.sub p { font-size: clamp(19px, 1.75vw, 28px); line-height: 1.4; max-width: 34ch; text-wrap: balance; }

/* The Kipapa capture is a full page. It fills the screen and scrolls through
   as the shot plays; the script sets --y0 (start), --shift (end) and --p. */
.site-frame { position: absolute; inset: 0; overflow: hidden; background: #120F0E; }
.site-frame img { width: 100%; height: auto; }

/* With the script running: one pinned screen, shots crossfading on .on */
/* The pinned screen follows the visible height (dvh), so when a phone browser hides its bars the film
   grows to fill the space instead of leaving a band under it. The script measures scroll in the largest
   height (lvh), which doesn't change as the bars come and go, so nothing jumps. */
.ph .screen { position: sticky; top: 0; height: 100svh; height: 100dvh; overflow: hidden; }
.ph .shot { position: absolute; inset: 0; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.ph .shot.on { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.ph .card, .ph .sub { opacity: 0; transform: translateY(14px); transition: opacity .7s ease .3s, transform .9s ease .3s; }
.ph .shot.on .card, .ph .shot.on .sub { opacity: 1; transform: none; }
.ph .zoom .shot-m > img { transform: scale(calc(1.02 + .1 * var(--p, 0))); will-change: transform; }
.ph .settle .shot-m > img { transform: scale(calc(1.08 - .08 * var(--p, 0))); will-change: transform; }
.settle .shot-m > img { object-position: 34% 40%; }   /* keeps Kawika's face in frame on a tall phone screen */
.ph .site-frame img { transform: translateY(calc(var(--y0, 0px) + (var(--shift, 0px) - var(--y0, 0px)) * var(--p, 0))); will-change: transform; }
.mark { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* The photo gallery. As a row (no script, or a phone held upright) each photo keeps its shape with its
   credit under it and the row scrolls sideways. In the film the photos stack and take turns as the page
   scrolls through the shot; playhead.js picks the one showing. */
.gallery { align-content: center; gap: 18px; padding-block: 96px 64px; }
.gal-h { margin: 0; padding: 0 var(--gutter-r) 0 var(--gutter); font-family: var(--title); font-weight: 400; font-size: 22px; line-height: 1.3; letter-spacing: .04em; }
.gal-track { position: relative; inset: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 var(--gutter-r) 8px var(--gutter); scroll-padding-inline: var(--gutter); }
.gal-track:focus-visible { outline-offset: -2px; }
.gal-item { flex: 0 0 min(86%, 880px); margin: 0; display: grid; gap: 10px; align-content: start; scroll-snap-align: start; }
.gal-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gal-item figcaption { display: grid; gap: 4px; }
.gal-credit { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--film-mute); }
.gal-line { font-size: 17px; line-height: 1.45; }
.gal-hint { margin: 0; padding: 0 var(--gutter-r) 0 var(--gutter); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--film-mute); }
.gallery .shade, .gal-count { display: none; }

.ph .gallery { padding: 0; }
.ph .gal-h, .ph .gal-hint { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph .gal-track { position: absolute; inset: 0; display: block; overflow: hidden; padding: 0; scroll-snap-type: none; }
.ph .gal-item { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.ph .gal-item.is-on { opacity: 1; }
.ph .gal-item img { height: 100%; aspect-ratio: auto; transform: scale(1.05); transition: transform 4s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.ph .gal-item.is-on img { transform: scale(1); }
.ph .gal-item figcaption { position: absolute; left: 0; right: 0; bottom: calc(var(--tl-h) + 7svh); z-index: 2; justify-items: center; gap: 12px; text-align: center; padding: 0 var(--gutter-r) 0 var(--gutter); color: var(--film-fg); }
.ph .gal-line { font-size: clamp(19px, 1.75vw, 28px); line-height: 1.4; max-width: 34ch; text-wrap: balance; }
.ph .gallery .shade { display: block; }
.ph .gal-count { display: block; position: absolute; top: 96px; right: var(--gutter-r); z-index: 3; margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--film-fg); font-variant-numeric: tabular-nums; }

/* -- 05  Credits --------------------------------------------------------- */

.credits { padding: 18svh var(--gutter-r) 16svh var(--gutter); display: grid; justify-items: center; gap: 20px; text-align: center; }
.credits .label { font-family: var(--title); font-size: clamp(22px, 2.3vw, 34px); font-weight: 400; letter-spacing: .14em; color: var(--fg); }
.credits-note { color: var(--mute); max-width: 44ch; }
.credits-roll { margin-top: 40px; width: min(1040px, 100%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 40px; align-items: center; }
.credits-roll li { display: grid; place-items: center; height: 64px; }
.credits-roll img { max-height: 52px; max-width: 76%; width: auto; height: auto; object-fit: contain; filter: brightness(0); opacity: .78; }   /* the logo files are white; this sets them in ink */

/* -- 06  End card and form ----------------------------------------------- */

.end { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 16svh var(--gutter-r) calc(var(--tl-h) + 10svh) var(--gutter); overflow: hidden; }
.end-grid { position: relative; width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.end-lede { display: grid; gap: 22px; align-content: start; }
.end-lede h2 { font-family: var(--title); font-weight: 400; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.1; letter-spacing: .04em; text-wrap: balance; }
.end-lede > p { font-size: 19px; max-width: 34ch; }
.end-reach { display: grid; gap: 4px; justify-items: start; margin-top: 8px; font-size: 19px; }
.end-reach a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid var(--line); }
.end-reach a:hover { border-color: var(--ember); }

.form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; font-weight: 400; color: var(--fg); background: #FFFFFF; border: 1px solid var(--field-line); border-radius: 2px; padding: 13px 14px; }
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-color: var(--fg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 17px; color: var(--fg); }
.btn { justify-self: start; min-height: 52px; padding: 0 30px; font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--bg); background: var(--fg); border: 0; border-radius: 2px; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--ember); }
.btn:disabled { opacity: .6; cursor: progress; }
.form-note { font-size: 16px; color: var(--mute); }

/* -- 07  Footer ---------------------------------------------------------- */

.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px;
  padding: 40px var(--gutter-r) calc(var(--tl-h) + 36px + env(safe-area-inset-bottom, 0px)) var(--gutter); border-top: 1px solid var(--line); color: var(--mute); font-size: 16px; }
.footer-logo { display: flex; align-items: center; min-height: 44px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; color: var(--fg); }
.footer-links a:hover { color: var(--ember); }

/* -- 08  Timeline -------------------------------------------------------- */
/* Fixed to the bottom on every screen. Each chapter is a segment whose width
   follows how long that chapter runs; the script sets the widths, the fill and
   the playhead dot. */

.tl { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: end;
  padding: 18px var(--gutter-r) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  background: rgba(244, 241, 236, .97); border-top: 1px solid var(--line); }
.tl-read { display: flex; gap: 14px; align-items: baseline; padding-bottom: 6px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--fg); }
.tl-now { display: none; font-family: var(--text); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.tl-rail { display: grid; min-width: 0; }
.tl-chaps { display: flex; }
.tl-chaps li { flex: 1 1 0; min-width: 116px; }
.tl-chaps a { display: flex; align-items: flex-start; gap: 6px; min-height: 44px; padding: 4px 8px 12px; border-left: 1px solid var(--line);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--mute); white-space: nowrap; overflow: hidden; }
.tl-chaps a:hover, .tl-chaps a[aria-current] { color: var(--fg); }
.tl-chaps a[aria-current] { border-left-color: var(--fg); }
.tl-line { position: relative; height: 1px; background: var(--line); }
.tl-line b { position: absolute; left: 0; top: 0; height: 1px; width: var(--prog, 0%); background: var(--fg); }
.tl-line i { position: absolute; top: 50%; left: var(--prog, 0%); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--fg); }

/* Between phone and wide desktop the eight names don't fit, so the stops show numbers and the
   current chapter's name moves up beside the timecode, the way it does on a phone */
@media (min-width: 761px) and (max-width: 1199px) {
  .tl-chaps li { min-width: 56px; }
  .tl-chaps .t { display: none; }
  .tl-now { display: inline; }
}

/* -- 09  Phones ---------------------------------------------------------- */

@media (max-width: 760px) {
  :root { --tl-h: 96px; }
  body { font-size: 16px; }
  .bar-nav { gap: 18px; }
  .bar-nav a:not(.bar-cta) { display: none; }
  .card { padding-top: 96px; padding-bottom: 180px; }
  .sub { bottom: calc(var(--tl-h) + 5svh); }
  .site-frame { inset: 13svh var(--gutter-r) auto var(--gutter); height: 52svh; border: 1px solid var(--film-line); border-radius: 8px; }
  .credits-roll { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .end-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer { flex-direction: column; align-items: flex-start; }
  .tl { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-top: 22px; }
  .tl-read { justify-content: space-between; padding-bottom: 0; }
  .tl-now { display: inline; }
  .tl { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  /* Eight equal stops on a phone, whatever each chapter's length, so every stop stays a fingertip wide */
  .tl-chaps li { flex: 1 1 0 !important; min-width: 0; }
  .tl-chaps a { justify-content: center; padding: 10px 0 12px; }
  .tl-chaps .t { display: none; }
}

/* Under 384px, eight 44px stops don't fit inside the side gutters, so the rail runs edge to edge */
@media (max-width: 383px) {
  .tl-rail { margin-inline: -16px; }
}

/* -- 09b  Phones on their side -------------------------------------------- */
/* A phone on its side is wide and very short, so the bar and the timeline leave the top and bottom and
   share one column on the left, the way the photography app does it sideways. The film runs the full
   height beside it: a 16:9 clip 390px tall is 693px wide, which leaves about 150px for the column on most
   phones. The column holds the wordmark, the chapters top to bottom, the timecode and the links, and stays
   put for the whole page. */

@media (max-height: 500px) and (orientation: landscape) {
  :root { --tl-h: 0px; --col: clamp(150px, calc(100vw - 100dvh * 16 / 9), 240px); --col-pad: max(14px, env(safe-area-inset-left, 0px)); }
  .film, .credits, .end, .footer { margin-left: var(--col); }

  .bar { right: auto; bottom: 0; width: var(--col); flex-direction: column; align-items: stretch; justify-content: space-between; gap: 0;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 12px calc(10px + env(safe-area-inset-bottom, 0px)) var(--col-pad);
    background: var(--bg); border-bottom: 0; border-right: 1px solid var(--line); }
  .wm { --w: min(120px, calc(var(--col) - var(--col-pad) - 12px)); }
  .bar-logo { min-height: 28px; }
  .bar-nav { flex-direction: column; align-items: flex-start; gap: 0; }
  .bar-nav a, .bar-nav a:not(.bar-cta) { display: inline-flex; min-height: 30px; font-size: 11px; letter-spacing: .14em; }

  .tl { left: 0; right: auto; top: calc(46px + env(safe-area-inset-top, 0px)); bottom: calc(78px + env(safe-area-inset-bottom, 0px)); width: var(--col);
    display: flex; flex-direction: column; gap: 8px; padding: 0 12px 0 var(--col-pad); background: none; border: 0; }
  .tl-read { order: 2; padding: 0; font-size: 11px; }
  .tl-now { display: none; }
  .tl-rail { position: relative; display: flex; flex: 1; min-height: 0; padding-left: 14px; }
  .tl-chaps { flex-direction: column; flex: 1; }
  .tl-chaps li { flex: 1 1 0 !important; min-width: 0; min-height: 0; display: flex; }
  .tl-chaps a { flex: 1; min-height: 24px; padding: 0; align-items: center; justify-content: flex-start; border-left: 0; font-size: 11px; letter-spacing: .14em; }
  .tl-chaps .t { display: inline; }
  .tl-chaps .n { font-family: var(--mono); letter-spacing: .04em; }
  .tl-line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl-line b { width: 1px; height: var(--prog, 0%); }
  .tl-line i { left: 0; top: var(--prog, 0%); }

  .card { gap: 10px; padding: 24px var(--gutter-r) 24px var(--gutter); }
  .card h1 { font-size: clamp(22px, 9svh, 40px); }
  .card p { font-size: 14px; max-width: 60ch; }
  .sub, .ph .gal-item figcaption { bottom: 7svh; gap: 6px; }
  .sub p, .ph .gal-line { font-size: clamp(15px, 5svh, 20px); max-width: 48ch; }
  .ph .gal-count { top: 14px; }
  .site-frame { inset: 0; height: auto; border: 0; border-radius: 0; }
  /* The copy sits low on a short screen, so the dark under it starts higher */
  .shade { background: linear-gradient(rgba(11, 10, 9, .25), rgba(11, 10, 9, 0) 25%, rgba(11, 10, 9, 0) 35%, rgba(11, 10, 9, .9)); }
  .shade-deep { background: linear-gradient(rgba(11, 10, 9, .25), rgba(11, 10, 9, 0) 20%, rgba(11, 10, 9, .96) 62%); }
  .end { padding-top: 40px; padding-bottom: 40px; }
  .footer { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* -- 10  Phones held upright ------------------------------------------------ */
/* 16:9 footage cropped into a tall screen reads badly, so on a phone held upright the film becomes a
   column of caption cards on paper: the credit above, the clip whole at full width, the line of copy
   below. Turning the phone on its side brings the film back. playhead.js uses this same query. */

.turn { display: none; }

@media (max-width: 760px) and (orientation: portrait) {
  .film { background: var(--bg); color: var(--fg); padding: 96px 0 8px; }
  .shot { display: grid; gap: 16px; min-height: 0; overflow: visible; padding-bottom: 64px; }
  .shot-m { position: relative; inset: auto; order: 2; aspect-ratio: 16 / 9; overflow: hidden; background: var(--film); }
  .zoom .shot-m, .settle .shot-m { aspect-ratio: 3 / 2; }   /* the photos keep their own shape */
  .site .shot-m { aspect-ratio: 3 / 4; }                    /* a tall window suits a web page */
  .shot[data-chapter="0"] .shot-m video { filter: none; }
  .shade { display: none; }
  .card, .sub { display: contents; }
  .card h1, .sub h2, .card p, .sub p, .turn { padding-left: var(--gutter); padding-right: var(--gutter-r); text-align: left; max-width: none; }
  .card h1 { order: 1; font-size: 32px; line-height: 1.15; }
  .film .sub h2 { order: 1; font-family: var(--title); font-size: 22px; font-weight: 400; line-height: 1.3; letter-spacing: .04em; text-transform: none; color: var(--fg); }
  .card p, .sub p { order: 3; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
  .site-frame { inset: 0; height: auto; border: 0; border-radius: 0; }
  .turn { order: 4; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
  .turn svg { width: 20px; height: 20px; flex: none; }
  .cards .site .site-frame img { transform: translateY(calc(var(--shift, 0px) * var(--p, 0))); will-change: transform; }
  .gallery { padding-block: 0 64px; }
  .gallery .shot-m { order: 2; aspect-ratio: auto; overflow-x: auto; background: none; }
  .gal-h { order: 1; }
  .gal-hint { order: 3; }
  .film .gal-credit, .gal-hint { color: var(--mute); }
}

/* -- 11  Reduced motion -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ph .shot, .ph .shot.on, .ph .card, .ph .sub { transition: opacity .2s linear; }
  .ph .card, .ph .sub { transform: none; }
  .ph .zoom .shot-m > img, .ph .settle .shot-m > img { transform: none; }
  .ph .gal-item img, .ph .gal-item.is-on img { transform: none; transition: none; }
  .ph .gal-item { transition: opacity .2s linear; }
  .ph .site-frame img { transform: translateY(var(--y0, 0px)); }
  .cards .site .site-frame img { transform: none; }
  .skip { transition: none; }
}
