/* Riviera. The page is the end of a 1960s Italian title sequence: the titles run first, their salmon end card
   opens out to become the hero, and everything after is set the way a film sets its credits (an Italian role in
   italic, the name in condensed capitals) and cuts in the way a credit does, in two frames, never a fade. */

@font-face { font-family: "Archivo"; src: url(fonts/archivo.woff2) format("woff2"); font-weight: 400 700; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-italic.woff2) format("woff2"); font-style: italic; font-weight: 300 600; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url(fonts/dm-mono.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --salmon: #e1a08c;
  --butter: #fff9cd;
  --ink: #2a1712;
  --rust: #8a4532;
  --night: #0b0908;
  --pad: max(20px, 4vw);
  --head: 64px;
  --frame: .041667s; /* one film frame at 24 fps */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { font: 400 17px/1.55 "Archivo", system-ui, sans-serif; color: var(--ink); background: var(--salmon); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
html.titles-on, html.titles-on body { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
svg { display: block; }

.it { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 340; font-variation-settings: "opsz" 72; }
.caps { font-family: "Archivo", sans-serif; font-weight: 600; font-stretch: 62%; text-transform: uppercase; letter-spacing: .22em; }
.mono { font: 400 12px/1.4 "DM Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--butter); border-radius: 999px; font: 500 13px/1 "Archivo"; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Credits cut in: .45, .82, then full density, one film frame each (as an optical print does). */
.js [data-cut] { opacity: 0; }
.js [data-cut].cut { animation: cut calc(var(--frame) * 3) step-end forwards; animation-delay: calc(var(--i, 0) * .3125s); }
@keyframes cut { 0% { opacity: .45; } 33.34% { opacity: .82; } 66.67%, 100% { opacity: 1; } }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: .8em; min-height: clamp(46px, 2.8vw, 54px); padding: 0 clamp(22px, 1.6vw, 30px); border: 1.5px solid currentColor; border-radius: 999px;
  font: 500 clamp(11px, .73vw, 14px)/1 "Archivo"; font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; transition: background-color .25s, color .25s; }
.pill:hover { background: var(--ink); color: var(--salmon); }
.pill-butter:hover { background: var(--butter); color: var(--night); }

/* ---------- motion (motion.js) ---------- */
/* Lenis's own rules: the page keeps its height and the browser's smooth scroll steps aside for the glide. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
/* The split letters of names and the address; their transforms come from the scroll. */
.moves .ch { will-change: transform; }
/* The tagline and the address cut out as the page leaves the end card, and back in on the way up. */
.hero-tag, .hero-addr { transition: opacity calc(var(--frame) * 3) steps(3, end); }
.hero-tag.cut-out, .hero-addr.cut-out { opacity: 0; }

/* ---------- header ---------- */
.head { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: calc(var(--head) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--pad) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--ink); background: transparent;
  transition: background-color .3s, color .3s, opacity .4s, box-shadow .3s; }
.head.solid { background: var(--head-bg, var(--salmon)); box-shadow: 0 1px 0 color-mix(in srgb, currentColor 14%, transparent); }
.head.dark { color: var(--butter); }
html.titles-on .head { opacity: 0; visibility: hidden; }
.head-nav { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.head-nav a, .head-replay { font: 500 11.5px/1 "Archivo"; font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 16px 0; }
.head-nav a:hover, .head-replay:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.head-mark { width: 104px; opacity: 0; visibility: hidden; transition: opacity calc(var(--frame) * 2) step-end, visibility 0s .2s; }
.head-mark svg { width: 100%; height: auto; aspect-ratio: 3084 / 697; fill: currentColor; }
.head.past .head-mark { opacity: 1; visibility: visible; transition: opacity calc(var(--frame) * 2) step-end, visibility 0s; }
/* while the end card's wordmark flies up, the bar's mark waits for it to dock */
.head.fly .head-mark { opacity: 0; visibility: hidden; transition: none; }
.head.fly.docked .head-mark { opacity: 1; visibility: visible; }
/* the bar is clear over the card until the mark is home, so the mark flies up through it */
.head.fly:not(.docked) { background: transparent; box-shadow: none; }
.head-end { justify-self: end; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.head-replay { white-space: nowrap; }
/* DA / EN: both shown, the one in use underlined. The padding widens the tap target without moving the letters. */
.head-lang { display: flex; margin: 0 -6px; }
.head-lang button { font: 500 11.5px/1 "Archivo"; font-stretch: 125%; letter-spacing: .2em; padding: 16px 6px; }
.head-lang button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; cursor: default; }
.head-lang button:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.no-js .head-lang { display: none; }
/* Danish waits hidden for a moment, so it never shows in English first */
.t-wait [data-t] { visibility: hidden; }

/* ---------- hero: the end card ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 420px; display: grid; place-items: center; background: var(--salmon); color: var(--ink); text-align: center; }
.hero-in { padding: 0 var(--pad); will-change: transform; }
.hero-mark { display: block; }
.hero-mark svg { width: clamp(250px, 36.5vw, 760px); height: auto; aspect-ratio: 3084 / 697; margin: 0 auto; fill: var(--butter); }
.hero-tag { font: italic 340 clamp(19px, 2.05vw, 38px)/1.2 "Fraunces", serif; font-variation-settings: "opsz" 72; margin-top: clamp(14px, 1.5vw, 28px); }
.hero-addr { font: 500 clamp(11px, .8vw, 15px)/1 "Archivo"; font-stretch: 125%; letter-spacing: .24em; text-transform: uppercase; margin-top: clamp(22px, 2.3vw, 44px); }
/* The arrow down: drifts on the score's bar (96 BPM, four beats = 2.5 s) and leaves as the page moves. */
.hero-down { position: absolute; left: 50%; bottom: max(clamp(22px, 3.2vh, 44px), calc(env(safe-area-inset-bottom) + 14px)); width: 48px; height: 64px; margin-left: -24px;
  display: grid; place-items: center; color: var(--ink); opacity: calc(1 - var(--away, 0)); border-radius: 999px; }
.hero-down svg { width: 16px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5px; stroke-linecap: round; stroke-linejoin: round; overflow: visible;
  animation: riv-down 2.5s cubic-bezier(.45, 0, .55, 1) infinite; }
.hero-down:hover svg, .hero-down:focus-visible svg { animation-play-state: paused; }
.hero-down:focus-visible { outline: 1.5px solid currentColor; outline-offset: 2px; }
html.titles-on .hero-down svg { animation: none; }
@keyframes riv-down { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }

/* ---------- the cast: in order of appearance ---------- */
.cast { background: var(--butter); color: var(--ink); padding: clamp(104px, 12vw, 200px) var(--pad) clamp(88px, 10vw, 176px); overflow-x: hidden; overflow-x: clip; }   /* the names' letters spread past the screen's edge */
.credit-head { text-align: center; }
.credit-head .it { font-size: clamp(30px, 3.4vw, 58px); line-height: 1.1; color: var(--rust); }
.credit-head .mono { margin-top: 14px; }
.cast-intro { max-width: 33em; margin: clamp(40px, 5vw, 72px) auto 0; text-align: center; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.55; text-wrap: pretty; }
.cast-list { list-style: none; max-width: 1240px; margin: clamp(72px, 9vw, 144px) auto 0; display: grid; gap: clamp(40px, 4.6vw, 72px); }
/* Each bake has its still on the centre line, as a cast list has its players' stills: role, still, name. */
.cast-list li { display: grid; grid-template-columns: 1fr clamp(104px, 11vw, 184px) 1fr; grid-template-rows: 1fr auto auto 1fr; column-gap: clamp(22px, 2.6vw, 44px); align-items: baseline; }
.cast-list .pic { grid-column: 2; grid-row: 1 / 5; align-self: center; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #e9dfc4; }
.cast-list .role { grid-column: 1; grid-row: 2; text-align: right; font-size: clamp(19px, 1.9vw, 31px); line-height: 1.1; color: var(--rust); }
.cast-list .name { grid-column: 3; grid-row: 2; font-size: clamp(36px, 5.2vw, 86px); line-height: .95; letter-spacing: .14em; transition: letter-spacing .7s cubic-bezier(.2, .7, .2, 1); overflow-wrap: anywhere; }
.cast-list .line { grid-column: 3; grid-row: 3; max-width: 27em; margin-top: 12px; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.5; }
.cast-list li:hover .name { letter-spacing: .2em; }
.cast-foot { text-align: center; margin-top: clamp(72px, 8vw, 120px); }

/* ---------- the reel: the crew at work on a strip of 35 mm film ---------- */
/* Without WebGL 2, with reduced motion or without script: the strip lies in the page as it would on a light
   table, a column of frames between two rows of perforations with the lamp showing through. In millimetres
   the film is 35 wide, a frame 24 x 36 every 38, the perforations 2.8 x 2.0 every 4.75. With the reel
   (reel.js) the stage holds still for a screen and a half a frame while the film runs through the gate. */
.reel { position: relative; background: var(--night); color: var(--butter); }
.reel-stage { position: relative; padding: clamp(104px, 11vw, 190px) var(--pad); }
.reel-canvas { display: none; }
.reel-strip { --w: min(76vw, 420px); --mm: calc(var(--w) / 35); width: var(--w); margin: 0 auto; display: grid; gap: calc(var(--mm) * 2); padding: var(--mm) calc(var(--mm) * 5.5);
  background-color: #0e0c0b; background-repeat: repeat-y; background-size: calc(var(--mm) * 5.5) calc(var(--mm) * 4.75); background-position: left top, right top;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5.5 4.75'%3E%3Crect x='2.01' y='1.385' width='2.79' height='1.98' rx='.5' fill='%23fff9cd'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5.5 4.75'%3E%3Crect x='.7' y='1.385' width='2.79' height='1.98' rx='.5' fill='%23fff9cd'/%3E%3C/svg%3E");
  box-shadow: 0 0 0 1px rgba(255, 249, 205, .06), 0 0 80px 10px rgba(255, 249, 205, .07); }
.fr img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: #1c1916; border-radius: calc(var(--mm) * .6); }
.reel-crew { text-align: center; margin-top: clamp(36px, 4vw, 60px); color: color-mix(in srgb, var(--butter) 78%, transparent); }
.reel-crew span[lang] { text-transform: lowercase; font-family: "Fraunces", serif; font-style: italic; letter-spacing: 0; font-size: 14px; }
/* the reel: the stage pinned for the run of the film, the canvas filling it, the plain strip only the photos' source */
.reel.gl { height: calc(100vh + var(--reel-steps, 11) * 45vh); height: calc(100svh + var(--reel-steps, 11) * 45svh); }
.reel.gl .reel-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.reel.gl .reel-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.reel.gl .reel-strip { display: none; }
.reel-count { display: none; }
.reel.gl .reel-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 14vh, 150px); pointer-events: none;
  background: linear-gradient(to top, rgba(11, 9, 8, .92), rgba(11, 9, 8, 0)); }
.reel.gl .reel-crew, .reel.gl .reel-count { z-index: 1; }
.reel.gl .reel-crew, .reel.gl .reel-count { position: absolute; bottom: max(clamp(20px, 3.2vh, 40px), calc(env(safe-area-inset-bottom) + 12px)); margin: 0; }
.reel.gl .reel-crew { left: var(--pad); text-align: left; }
.reel.gl .reel-count { display: block; right: var(--pad); color: color-mix(in srgb, var(--butter) 78%, transparent); font-variant-numeric: tabular-nums; }

/* ---------- the room: the projector runs on ---------- */
.room { position: relative; height: calc(100vh + 5 * 64vh); height: calc(100svh + 5 * 64svh); background: var(--night); color: var(--butter); }
.room-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; justify-items: center; align-items: center;
  padding: calc(var(--head) + env(safe-area-inset-top) + 8px) var(--pad) max(22px, env(safe-area-inset-bottom)); overflow: hidden; }
.room-top { width: min(100%, var(--room-w, 100%)); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 14px; }
.room-top h2 { font-size: clamp(28px, 2.6vw, 44px); line-height: 1; font-weight: 320; }
.room-count { color: color-mix(in srgb, var(--butter) 78%, transparent); }
.room-pic { position: relative; width: min(100%, calc((100svh - var(--head) - 250px) * 1.5)); aspect-ratio: 3 / 2; max-height: 100%; overflow: hidden; background: #000; }
.room-film { position: absolute; inset: 0; will-change: transform; }
.room-canvas, .t-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.room-imgs img, .t-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.room-imgs img.on, .t-imgs img.on { opacity: 1; }
.room-credit { margin-top: clamp(18px, 2.2vw, 34px); font-size: clamp(26px, 3.1vw, 54px); line-height: 1; text-align: center; padding-left: .22em; min-height: 1em; }
.room-sub { margin-top: 12px; font-size: clamp(15px, 1.1vw, 19px); text-align: center; text-wrap: balance; min-height: 1.5em; }
.room-crew { margin-top: clamp(16px, 2vw, 28px); color: color-mix(in srgb, var(--butter) 78%, transparent); text-align: center; }
.room-crew span[lang] { text-transform: lowercase; font-family: "Fraunces", serif; font-style: italic; letter-spacing: 0; font-size: 14px; }

/* ---------- visit ---------- */
.visit { background: var(--salmon); color: var(--ink); padding: clamp(104px, 11vw, 190px) var(--pad); }
.visit-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(72px, 8vw, 120px) clamp(24px, 4vw, 64px); text-align: center; }
.visit-block .it { font-size: clamp(28px, 2.8vw, 46px); line-height: 1.1; margin-bottom: clamp(18px, 2vw, 30px); }
.visit-big { font-size: clamp(40px, 5.2vw, 92px); line-height: .95; padding-left: .22em; }
.visit-small { margin-top: 18px; font: 500 13px/1.3 "Archivo"; font-stretch: 125%; letter-spacing: .24em; text-transform: uppercase; }
.hours { display: grid; gap: clamp(18px, 2vw, 28px); }
.hours div { display: grid; gap: 8px; }
.hours dt { font: 500 13px/1.3 "Archivo"; font-stretch: 125%; letter-spacing: .24em; text-transform: uppercase; }
.hours dd { font: 600 clamp(40px, 5.2vw, 92px)/.95 "Archivo"; font-stretch: 62%; letter-spacing: .1em; }
.visit-block .pill { margin-top: clamp(28px, 3vw, 44px); }

/* ---------- fine ---------- */
/* The word over the reel's last frame, held still and darkened so the credits read on it (butter on the
   darkest the photo gets under the shade, 4.5:1 or more). */
.fine { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--butter); text-align: center; padding: clamp(110px, 12vw, 200px) var(--pad) max(64px, env(safe-area-inset-bottom)); }
.fine-still { position: absolute; inset: 0; z-index: -1; }
.fine-still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.fine-still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 9, 8, .62), rgba(11, 9, 8, .78) 55%, rgba(11, 9, 8, .9)); }
.fine-word { will-change: transform; }
.fine-word { font-size: clamp(110px, 17vw, 280px); line-height: .85; font-weight: 300; }
.fine-credits { margin-top: clamp(48px, 5vw, 80px); font-size: 15px; line-height: 1.75; }
.fine-credits .caps { font-size: 20px; padding-left: .22em; }
.fine-credits a { text-underline-offset: 4px; }
.fine-crew { margin-top: 22px; color: color-mix(in srgb, var(--butter) 82%, transparent); }
.fine-crew .it { font-size: 16px; }
.nw { white-space: nowrap; }
.fine .pill { margin-top: clamp(48px, 5vw, 72px); }

/* ---------- the titles ---------- */
.titles { display: none; position: fixed; z-index: 60; left: 0; top: 0; width: 100%; height: 100vh; height: 100svh; color: #f4ecdc;
  --ph: min(calc(100vw / 2.39), 74.5svh); --pt: calc((100svh - var(--ph)) / 2); }
html.titles-on .titles { display: block; }
.t-bar { position: absolute; left: 0; right: 0; background: #000; }
.t-top, .t-bot { overflow: hidden; opacity: calc(1 - var(--open, 0) * 1.6); }
.t-top { top: 0; height: var(--pt); display: flex; justify-content: space-between; align-items: center; padding: env(safe-area-inset-top) max(16px, 3.3vw) 0; }
.t-bot { top: calc(var(--pt) + var(--ph)); bottom: 0; }
.t-tc { font: 400 clamp(10px, .73vw, 14px)/1 "DM Mono", monospace; letter-spacing: .1em; opacity: .62; }
.t-ctl { display: flex; gap: clamp(8px, 1.6vw, 30px); margin-right: -10px; }
.t-ctl button { display: inline-flex; align-items: center; gap: .8em; font: 500 clamp(10px, .73vw, 14px)/1 "Archivo"; font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; padding: 0 10px; min-height: 44px; opacity: .72; transition: opacity .2s; }
.t-ctl button:hover, .t-ctl button:focus-visible { opacity: 1; }
.gated #t-sound { visibility: hidden; }

/* The choice of sound, on black before the first frame: it cuts in as a credit does, the second line half a beat later. */
.t-gate { position: absolute; z-index: 3; left: 0; right: 0; top: var(--pt); height: var(--ph); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 1.2vw, 20px); color: var(--butter); }
.t-gate[hidden] { display: none; }
.t-gate > * { animation: gate-in calc(var(--frame) * 4) step-end both; }
.t-gate > * + * { animation-delay: .3125s; }
@keyframes gate-in { 0% { opacity: 0; } 25% { opacity: .45; } 50% { opacity: .82; } 75%, 100% { opacity: 1; } }
.t-gate-on { min-height: clamp(58px, 4.6vw, 84px); padding: 0 clamp(28px, 2.6vw, 48px); gap: 1em; font-size: clamp(13px, 1.25vw, 22px); }
.t-gate-on .t-eq { height: 1.15em; }
.t-gate-off { font: 400 clamp(11px, .83vw, 15px)/1 "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; min-height: 44px; padding: 0 14px; opacity: .62; transition: opacity .2s; }
.t-gate-off:hover, .t-gate-off:focus-visible { opacity: 1; }

/* Four bars that move on the score's tempo (96 BPM) while it plays, and lie low while it's off. */
.t-eq { display: inline-flex; align-items: flex-end; gap: .16em; height: 1em; flex: none; }
.t-eq i { width: .14em; min-width: 1.5px; height: 100%; background: currentColor; transform-origin: 50% 100%; transform: scaleY(.28); }
#t-sound.on .t-eq i, .t-gate .t-eq i { animation: eq .625s ease-in-out infinite alternate; }
.t-eq i:nth-child(2) { animation-duration: .469s; animation-delay: -.2s; }
.t-eq i:nth-child(3) { animation-duration: .781s; animation-delay: -.45s; }
.t-eq i:nth-child(4) { animation-duration: .547s; animation-delay: -.1s; }
@keyframes eq { from { transform: scaleY(.22); } to { transform: scaleY(1); } }
.t-pic { position: absolute; left: 0; right: 0; top: var(--pt); height: var(--ph); overflow: hidden; background: #000; container-type: size; }
.t-pic.card { background: transparent; }
.t-film { position: absolute; inset: 0; will-change: transform; }

.t-c { position: absolute; left: 0; right: 0; top: calc(var(--y) * 1cqh); text-align: center; color: var(--butter); white-space: nowrap; visibility: hidden;
  text-shadow: 0 0 1.15cqw rgba(255, 176, 110, .2), 0 0 .16cqw rgba(255, 220, 160, .22), 0 .08cqw .5cqw rgba(28, 14, 6, .5), 0 0 2.6cqw rgba(28, 14, 6, .42); }
.t-c.on { visibility: visible; }
.t-c.caps { font-size: 3.96cqw; line-height: 1; padding-left: .22em; }
.t-c.it { font-size: 2.08cqw; line-height: 1; letter-spacing: .005em; }
.t-col.l { right: 50%; }
.t-col.r { left: 50%; }
.t-under { font-size: 2.19cqw !important; }
.t-bake { font-size: 4.58cqw !important; letter-spacing: calc((.22 + .03 * var(--k, 0)) * 1em) !important; padding-left: calc((.22 + .03 * var(--k, 0)) * 1em) !important; }
.t-crew { display: flex; flex-direction: column; align-items: center; }
.t-crew .it { font-size: 2.08cqw; line-height: 1; }
.t-crew .caps { font-size: 3.96cqw; line-height: 1; margin-top: 3.2cqh; padding-left: .22em; }
.t-crew .caps + .caps { margin-top: 1.1cqw; }
.t-crew .t-and { margin-top: 1.5cqw; }
/* Over the bakes' white plates the credits print in ink, with the light of the plate around them. */
.t-credits.ink .t-c { color: var(--ink); text-shadow: 0 0 .9cqw rgba(255, 250, 232, .5), 0 0 .14cqw rgba(255, 250, 232, .45), 0 0 2.4cqw rgba(255, 246, 225, .38); }
.t-title { left: 50%; right: auto; width: 47.9cqw; height: auto; aspect-ratio: 3084 / 697; margin-left: -23.95cqw; top: calc(46.8cqh - 5.41cqw); fill: var(--butter);
  filter: drop-shadow(0 0 1.1cqw rgba(255, 176, 110, .22)); }
.p-br { display: none; }
.t-hair { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; }
.t-hair path { fill: none; stroke: rgba(10, 8, 6, .55); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.t-hair.on { visibility: visible; }

/* Tall screens get a tall frame and stacked credits. */
@media (orientation: portrait) {
  .titles { --ph: min(150vw, 68svh); }
  .t-tc { font-size: 10px; }
  .t-ctl button { font-size: 10px; letter-spacing: .16em; }
}
@container (orientation: portrait) {
  .t-c { top: calc(var(--py, var(--y)) * 1cqh); }
  .t-col.l, .t-col.r { left: 0; right: 0; }
  .t-c.caps, .t-crew .caps { font-size: 7.4cqw; letter-spacing: .16em; padding-left: .16em; }
  .t-c.it, .t-crew .it { font-size: 5.2cqw; }
  .t-under { font-size: 5.4cqw !important; }
  .t-bake { font-size: 7.6cqw !important; line-height: 1.12 !important; letter-spacing: calc((.13 + .02 * var(--k, 0)) * 1em) !important; padding-left: calc((.13 + .02 * var(--k, 0)) * 1em) !important; }
  .p-br { display: block; }
  .t-crew .caps { margin-top: 2.4cqh; }
  .t-crew .caps + .caps { margin-top: 1.6cqw; }
  .t-title { width: 76cqw; margin-left: -38cqw; top: calc(44cqh - 8.59cqw); }
}

/* ---------- phones ---------- */
@media (max-width: 700px) {
  :root { --head: 56px; }
  /* The bar holds the sections and the language; the titles replay from the foot of the page (Danish needs the room). */
  .head { grid-template-columns: 1fr auto; column-gap: 20px; }
  .head-mark, .head-replay { display: none; }
  .head-nav { gap: 18px; }
  .head-nav a, .head-lang button { font-size: 10.5px; letter-spacing: .16em; }
  .hero-mark svg { width: 74vw; }
  .cast-list li { grid-template-columns: 1fr; grid-template-rows: none; text-align: center; justify-items: center; }
  .cast-list .role, .cast-list .pic, .cast-list .name, .cast-list .line { grid-column: 1; text-align: center; }
  .cast-list .role { grid-row: 1; margin-bottom: 14px; }
  .cast-list .pic { grid-row: 2; width: min(46vw, 190px); margin-bottom: 18px; }
  .cast-list .name { grid-row: 3; letter-spacing: .1em; padding-left: .1em; }
  .cast-list li:hover .name { letter-spacing: .1em; }
  .cast-list .line { grid-row: 4; }
  .room-pic { aspect-ratio: 4 / 5; width: min(100%, calc((100svh - var(--head) - 230px) * .8)); }
  .room-crew span[lang], .reel-crew span[lang] { font-size: 13px; }
  .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .t-ctl { gap: 0; margin-right: -7px; }
  .t-ctl button { letter-spacing: .1em; padding: 0 7px; }
}
@media (max-width: 365px) {
  .head { column-gap: 14px; }
  .head-nav { gap: 12px; }
  .head-nav a, .head-lang button { font-size: 10px; letter-spacing: .1em; }
  .head-lang button { padding: 16px 5px; }
  .head-lang { margin: 0 -5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cast-list .name { transition: none; }
  .js [data-cut].cut { animation-delay: 0s; }
  .hero-down svg { animation: none; }
  .t-eq i, #t-sound.on .t-eq i, .t-gate .t-eq i { animation: none; transform: scaleY(.6); }
}

/* Without JavaScript the room is a plain column of its photographs and their lines. */
.no-js .room { height: auto; }
.no-js .room-stage { position: static; height: auto; display: block; }
.no-js .room-pic { width: min(100%, 720px); aspect-ratio: auto; margin: 0 auto; background: none; }
.no-js .room-film { position: static; }
.no-js .room-imgs img { position: static; opacity: 1; height: auto; margin-bottom: 16px; }
.no-js .room-list { position: static !important; width: auto; height: auto; clip-path: none; white-space: normal; max-width: 720px; margin: 24px auto 0; padding-left: 1.2em; }
