/* El Royale Hotel — v5 "Call Sheet"
   The page is the call sheet of a perfect day at the El Royale.
   Paper #F2EEE6 (day scenes) · set black #121212 (night scenes, text, lines) · dusk amber #E9A23B (booking only).
   Big Shoulders Display (big titles) · Courier Prime (slug lines, timecode, labels) · Schibsted Grotesk (text + UI). */
:root {
  --paper: #F2EEE6;
  --black: #121212;
  --amber: #E9A23B;
  --fg: var(--black); --bg: var(--paper);
  --line: rgba(18, 18, 18, .12);
  --line-2: rgba(18, 18, 18, .34);
  --ink-2: rgba(18, 18, 18, .74);
  --err: #9E1B12;
  --f-disp: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-type: "Courier Prime", "Courier New", monospace;
  --f-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --g: 20px;
  --head: 60px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (min-width: 900px) { :root { --g: clamp(36px, 4.6vw, 80px); --head: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--black); color: var(--black); font: 400 17px/1.55 var(--f-sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, dt, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--amber); color: var(--black); padding: 14px 18px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.pre main .mask { opacity: 0; }
.pre .hero .mask { opacity: 1; }

/* ---------- type ---------- */
.display { font: 800 48px/.9 var(--f-disp); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
@media (min-width: 900px) { .display { font-size: 88px; } }
.label { font: 500 13px/1.5 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; }
.fine { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.slug { display: flex; align-items: baseline; gap: 18px; font: 400 15px/1.4 var(--f-type); text-transform: uppercase; letter-spacing: .02em; }
.slug-t { flex: 1; min-height: 1.4em; }
.slug-n { white-space: nowrap; opacity: .7; }
.slug .cur { display: inline-block; width: .6em; margin-left: 1px; background: currentColor; color: inherit; animation: none; }
@media (max-width: 899px) { .slug { gap: 10px; font-size: 14px; } .slug-n:last-child { display: none; } }

/* ---------- scenes: paper (day) and set black (night) ---------- */
.paper, [data-tone="light"] { --fg: var(--black); --bg: var(--paper); --line: rgba(18, 18, 18, .12); --line-2: rgba(18, 18, 18, .34); --ink-2: rgba(18, 18, 18, .74); --err: #9E1B12; }
.night, [data-tone="dark"] { --fg: var(--paper); --bg: var(--black); --line: rgba(242, 238, 230, .14); --line-2: rgba(242, 238, 230, .4); --ink-2: rgba(242, 238, 230, .78); --err: #FFB3A8; }
.scene { position: relative; padding: 96px var(--g); background: var(--bg); color: var(--fg); }
@media (min-width: 900px) { .scene { padding: 16vh var(--g); } }
/* the screenplay grid: thin column lines on the paper scenes */
.paper::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(var(--line), var(--line)) var(--g) 0 / 1px 100% no-repeat,
  linear-gradient(var(--line), var(--line)) calc(100% - var(--g)) 0 / 1px 100% no-repeat; }
@media (min-width: 900px) { .paper::before { background:
  linear-gradient(var(--line), var(--line)) var(--g) 0 / 1px 100% no-repeat,
  linear-gradient(var(--line), var(--line)) calc(var(--g) + (100% - 2 * var(--g)) * .3333) 0 / 1px 100% no-repeat,
  linear-gradient(var(--line), var(--line)) calc(var(--g) + (100% - 2 * var(--g)) * .6667) 0 / 1px 100% no-repeat,
  linear-gradient(var(--line), var(--line)) calc(100% - var(--g)) 0 / 1px 100% no-repeat; } }
.scene > * { position: relative; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 0; font: 500 16px/1 var(--f-sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, box-shadow .2s, color .2s; }
.btn-amber { background: var(--amber); color: var(--black); }
.btn-amber:hover { background: #F2B252; }
.btn-lg { min-height: 56px; padding: 0 32px; }
.btn-block { width: 100%; }
.btn-line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: inherit; }
.btn-line:hover { box-shadow: inset 0 0 0 1px currentColor; }
.btn-load { display: none; width: 6px; height: 6px; background: currentColor; }
.btn--loading .btn-load { display: inline-block; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.linkbtn { background: none; border: 0; padding: 12px 0; min-height: 48px; cursor: pointer; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.link { display: inline-block; padding: 12px 0; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.ib { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; flex: none; }
.ib:hover:not(:disabled) { background: color-mix(in srgb, currentColor 8%, transparent); }
.ib:disabled { opacity: .28; cursor: default; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; }

/* ---------- frame lines: the viewfinder corners that snap onto a photo ---------- */
.fl { position: absolute; z-index: 3; width: 26px; height: 26px; border: 0 solid var(--paper); pointer-events: none; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.fl-tl { left: 14px; top: 14px; border-left-width: 1.5px; border-top-width: 1.5px; }
.fl-tr { right: 14px; top: 14px; border-right-width: 1.5px; border-top-width: 1.5px; }
.fl-bl { left: 14px; bottom: 14px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.fl-br { right: 14px; bottom: 14px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.js .fl { opacity: 0; }
.js .fl-tl { transform: translate(-14px, -14px); } .js .fl-tr { transform: translate(14px, -14px); }
.js .fl-bl { transform: translate(-14px, 14px); } .js .fl-br { transform: translate(14px, 14px); }
.js .fl-on .fl, .fl-on > .fl { opacity: 1; transform: none; }

/* ---------- header + timecode ---------- */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: var(--head); display: flex; align-items: center; gap: 24px; padding: 0 var(--g); color: var(--paper); background: rgba(18, 18, 18, .94); box-shadow: 0 1px 0 rgba(242, 238, 230, .12); transition: background-color .3s, color .3s, box-shadow .3s; }
.top[data-tone="light"] { background: rgba(242, 238, 230, .96); color: var(--black); box-shadow: 0 1px 0 rgba(18, 18, 18, .14); }
.top.over-hero { background: linear-gradient(rgba(18, 18, 18, .55), rgba(18, 18, 18, 0)); box-shadow: none; color: var(--paper); }
.logo { font: 700 26px/1 var(--f-disp); text-transform: uppercase; letter-spacing: .01em; text-decoration: none; padding: 10px 0; white-space: nowrap; }
.top-nav { display: none; margin-left: auto; gap: 28px; }
.top-nav a, .lang a { text-decoration: none; font-size: 15px; padding: 12px 0; }
.top-nav a:hover, .lang a:hover, .lang a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lang { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 15px; }
.lang span { opacity: .45; }
.lang a { padding: 12px 6px; min-width: 40px; text-align: center; }
.top-book { display: none; min-height: 44px; padding: 0 20px; }
.tc { font: 400 13px/1 var(--f-type); letter-spacing: .04em; display: flex; gap: 12px; font-variant-numeric: tabular-nums; }
.tc-t.run { color: var(--amber); }
.tc-head { margin-left: auto; opacity: .9; }
.tc-head .tc-s { display: none; }
.tc-foot { display: none; }
@media (min-width: 900px) {
  .top-nav { display: flex; }
  .lang { margin-left: 8px; }
  .top-book { display: inline-flex; }
  .tc-head { display: none; }
  .tc-foot { display: flex; position: fixed; z-index: 39; left: var(--g); bottom: 22px; padding: 8px 10px; color: var(--paper); background: rgba(18, 18, 18, .78); }
}
@media (max-width: 380px) { .tc-head { display: none; } }

/* the montage cut */
.cut { position: fixed; inset: 0; z-index: 90; background: var(--black); opacity: 0; pointer-events: none; }

/* ---------------- SC. 01 · fade in ---------------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--black); color: var(--paper); }
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-pan { position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 2100 / 1500; min-width: 140vw; will-change: transform; }
.hero-pan img { width: 100%; height: 100%; object-fit: cover; object-position: var(--posm, 0% 50%); }
@media (min-width: 900px) { .hero-pan { min-width: 150vw; } .hero-pan img { object-position: var(--pos, 0% 60%); } }
.hero-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(18, 18, 18, .92) 0%, rgba(18, 18, 18, .7) 30%, rgba(18, 18, 18, 0) 58%); }
.hero-frame { position: absolute; inset: calc(var(--head) + 46px) var(--g) 18px; pointer-events: none; }
.hero-slug { position: absolute; z-index: 4; left: var(--g); right: var(--g); top: calc(var(--head) + 14px); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.fadein { position: absolute; inset: 0; z-index: 30; display: none; flex-direction: column; justify-content: center; gap: 14px; padding: 0 12vw; background: rgba(18, 18, 18, .62); color: var(--paper); font: 400 15px/1.4 var(--f-type); text-transform: uppercase; }
.intro .fadein { display: flex; }
.fi-l { min-height: 1.4em; }
.hero-copy { position: absolute; z-index: 5; left: var(--g); right: var(--g); bottom: calc(86px + env(safe-area-inset-bottom)); max-width: 1180px; }
.hero-t { margin-top: 12px; font-size: 15vw; }
.hero-d { margin-top: 16px; max-width: 34ch; font-size: 17px; }
@media (min-width: 900px) {
  .hero-copy { bottom: 136px; }
  .hero-t { font-size: 11vw; }
  .hero-d { font-size: 18px; max-width: 44ch; }
}
.intro .hero-frame, .intro .hero-slug { opacity: 0; }

/* the hero booking bar (desktop): paper, call-sheet lines */
.qbar { display: none; }
@media (min-width: 900px) {
  .qbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; position: absolute; z-index: 8; left: var(--g); right: var(--g); bottom: 28px; max-width: 1180px; height: 84px; background: var(--paper); color: var(--black); --fg: var(--black); --bg: var(--paper); --line: rgba(18, 18, 18, .14); --ink-2: rgba(18, 18, 18, .72); }
  .qf { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 22px; text-align: left; background: none; border: 0; border-right: 1px solid var(--line); cursor: pointer; min-width: 0; transition: background-color .2s; }
  .qf:hover, .qf--on { background: rgba(18, 18, 18, .05); }
  .qf--on::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 14px; height: 2px; background: var(--amber); }
  .qf-k { font: 400 13px/1 var(--f-type); text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
  .qf-v { font: 500 17px/1.2 var(--f-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .qb-go-wrap { display: flex; align-items: center; gap: 16px; padding: 0 14px; }
  .qb-go { min-height: 56px; }
  .qb-note { font-size: 13px; line-height: 1.35; max-width: 16ch; color: var(--ink-2); }
}
.qpop { --fg: var(--black); --bg: var(--paper); --line: rgba(18, 18, 18, .14); --ink-2: rgba(18, 18, 18, .72); position: absolute; left: 0; bottom: calc(100% + 10px); width: 390px; padding: 14px 18px 6px; background: var(--paper); color: var(--black); box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(18, 18, 18, .14); }
.qp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 8px; }
.qp-hint { font: 400 14px var(--f-type); color: var(--ink-2); }

/* mobile booking button: 52 px, from the first frame; hides while the form is on screen */
.mbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 0 0 env(safe-area-inset-bottom); background: var(--amber); transition: transform .3s var(--ease); }
.mbar .btn { height: 52px; min-height: 52px; font-size: 17px; }
.mbar--hide { transform: translateY(110%); }
@media (min-width: 900px) { .mbar { display: none; } }

/* guarantees strip */
.strip { position: relative; z-index: 2; background: var(--paper); color: var(--black); border-bottom: 1px solid var(--line); }
.strip-l { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; padding: 18px var(--g); font: 400 14px/1.5 var(--f-type); text-transform: uppercase; letter-spacing: .02em; text-align: center; }
.strip-l li { white-space: nowrap; }
.strip-l li + li::before { content: "·"; margin: 0 .9em; }
@media (max-width: 899px) { .strip-l { flex-direction: column; align-items: center; padding: 20px var(--g); } .strip-l li { white-space: normal; } .strip-l li + li::before { content: none; } }

/* ---------------- SC. 02 · your cottage (jump cuts) ---------------- */
.cottage { padding: 0; height: 300svh; }
.cot-stage { position: sticky; top: 0; height: 100svh; min-height: 600px; display: grid; grid-template-rows: auto 1fr; gap: 18px; padding: calc(var(--head) + 14px) var(--g) 72px; }
.cot-text { order: 2; }
.cot-frame { order: 1; position: relative; overflow: hidden; background: #ddd6c9; height: 50svh; margin: 0 calc(-1 * var(--g)); }
.cot-text .slug { margin-bottom: 10px; }
.cot-t { font-size: 48px; }
.action { margin-top: 14px; display: grid; gap: 8px; }
.act { font-size: 16px; line-height: 1.45; opacity: .3; transition: opacity .25s; }
.act.on { opacity: 1; }
.act-k { font: 700 15px var(--f-type); text-transform: uppercase; letter-spacing: .02em; }
.shots, .shot, .shot-in { position: absolute; inset: 0; }
.shot { visibility: hidden; }
.shot.on { visibility: visible; }
.shot-in { will-change: transform; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--posm, 50% 50%); }
.shot-k { position: absolute; z-index: 4; right: 20px; bottom: 20px; padding: 6px 8px; font: 400 13px/1 var(--f-type); color: var(--paper); background: rgba(18, 18, 18, .7); letter-spacing: .04em; }
@media (min-width: 900px) {
  .cot-stage { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr; column-gap: 24px; align-items: center; padding: calc(var(--head) + 4vh) var(--g) 6vh; }
  .cot-text { order: 0; grid-column: 1 / span 5; }
  .cot-frame { order: 0; grid-column: 7 / span 6; height: auto; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--head) - 12vh); justify-self: end; width: 100%; margin: 0; }
  .cot-t { font-size: 7vw; margin-top: 3vh; }
  .action { margin-top: 5vh; gap: 18px; }
  .act { font-size: 18px; }
  .shot img { object-position: var(--pos, 50% 50%); }
}

/* ---------------- SC. 03 · Ventura Blvd (5 min) ---------------- */
.five-grid { display: grid; gap: 40px; margin-top: 40px; }
.five-big { font-size: 36vw; line-height: .82; white-space: nowrap; }
.five-big .five-n { font-variant-numeric: tabular-nums; }
.five-to { margin-top: 14px; font-size: 18px; max-width: 30ch; }
.map { display: block; width: 100%; height: auto; overflow: visible; }
.m-roads path { fill: none; stroke: var(--black); stroke-width: 1.25; }
.m-lbl { font: 400 15px var(--f-type); letter-spacing: .04em; fill: var(--black); }
.m-lbl-hi { font-weight: 700; }
.m-route { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: square; stroke-linejoin: round; }
.m-walk { fill: none; stroke: var(--black); stroke-width: 2; stroke-dasharray: 3 7; }
.m-poi { fill: var(--black); }
.m-hotel { fill: var(--amber); stroke: var(--black); stroke-width: 1.5; }
.m-name { font: 800 28px var(--f-disp); letter-spacing: .02em; fill: var(--black); }
.map-walk { display: flex; align-items: center; gap: 12px; margin-top: 14px; color: var(--ink-2); opacity: 0; transition: opacity .6s; }
.map-walk.on { opacity: 1; }
.dash { width: 24px; border-top: 2px dashed var(--black); flex: none; }
.map-box .fine { margin-top: 10px; }
@media (min-width: 900px) {
  .five-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 3vh; align-items: end; margin-top: 4vh; }
  .five-num { display: contents; }
  .five-big { grid-column: 1 / -1; font-size: min(28vw, 46vh); }
  .five-to { grid-column: 1 / span 4; align-self: start; margin-top: 0; font-size: 20px; }
  .map-box { grid-column: 6 / span 7; max-width: min(100%, 70vh * 1.38); justify-self: end; width: 100%; }
  .m-lbl { font-size: 12px; } .m-name { font-size: 22px; } .m-route { stroke-width: 2.2; } .m-walk { stroke-width: 1.5; }
}

/* ---------------- SC. 04 · location scouting (the day, a travelling shot) ---------------- */
.scout { padding: 0; overflow: hidden; }
.scout-pin { position: relative; padding: 96px 0 64px; }
.scout-head { padding: 0 var(--g); }
.scout-titles { margin-top: 28px; }
.scout-t { font-size: 48px; color: var(--paper); }
.scout-d { margin-top: 12px; font-size: 18px; }
.scout-skip { margin-top: 8px; }
.day-wrap { margin-top: 36px; }
.day { display: flex; gap: 14px; padding: 0 var(--g); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--g); scrollbar-width: none; overscroll-behavior-x: contain; }
.day::-webkit-scrollbar { display: none; }
.day-card { flex: 0 0 82%; scroll-snap-align: start; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); background: #191919; }
.day-pic, .day-map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 20px; }
.day-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.day-map { background: #121212; border: 1px solid var(--line); }
.mini { width: 100%; height: 100%; display: block; }
.mini-roads path { fill: none; stroke: rgba(242, 238, 230, .45); stroke-width: 3; }
.mini-h { fill: var(--paper); }
.mini-p { fill: none; stroke: var(--paper); stroke-width: 4; }
.day-time { font: 400 40px/1 var(--f-type); color: var(--amber); letter-spacing: -.01em; }
.day-place { margin-top: 12px; font: 800 48px/.92 var(--f-disp); text-transform: uppercase; letter-spacing: -.01em; }
.day-tip { margin-top: 12px; font-size: 17px; color: var(--ink-2); max-width: 30ch; }
.day-from { margin-top: auto; padding-top: 16px; font: 400 14px var(--f-type); text-transform: uppercase; letter-spacing: .02em; }
.day-ap { margin-left: 6px; padding: 2px 6px; border: 1px solid var(--line-2); font-size: 13px; }
.day-link { margin-top: auto; padding-top: 14px; color: var(--paper); }
.day-progress { height: 2px; margin: 22px var(--g) 0; background: var(--line); }
.day-progress i { display: block; height: 100%; width: 20%; background: var(--paper); transform-origin: 0 50%; }
@media (min-width: 900px) {
  .scout-pin { height: 100svh; min-height: 680px; display: flex; flex-direction: column; padding: calc(var(--head) + 4vh) 0 6vh; }
  .scout-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .scout-head .slug { grid-column: 1 / -1; }
  .scout-titles { grid-column: 1 / span 9; margin-top: 3vh; }
  .scout-t { font-size: 8vw; }
  .scout-skip { grid-column: 10 / span 3; justify-self: end; margin: 0; }
  .day-wrap { flex: 1; min-height: 0; margin-top: 5vh; display: flex; }
  .day { overflow: visible; scroll-snap-type: none; gap: 24px; align-items: stretch; will-change: transform; }
  .day-card { flex: 0 0 min(400px, 30vw); padding: 24px; }
  .day-pic, .day-map { aspect-ratio: auto; flex: none; height: min(28vh, 260px); }
  .day-progress { display: none; }
}

/* ---------------- SC. 05 · previously on location ---------------- */
.film-t { font-size: 48px; margin-top: 28px; }
.film-d { margin-top: 14px; font-size: 18px; max-width: 40ch; }
.fm-table { margin-top: 48px; }
.fm-head { display: none; }
.fm-list { border-top: 1px solid var(--black); }
.fm-row { border-bottom: 1px solid var(--black); }
.fm-btn { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; width: 100%; min-height: 64px; padding: 22px 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.fm-y { font: 400 15px/1.5 var(--f-type); grid-row: span 2; padding-top: 6px; }
.fm-t { font: 800 30px/.95 var(--f-disp); text-transform: uppercase; letter-spacing: -.005em; }
.fm-d { font-size: 17px; line-height: 1.5; }
.fm-badge { display: inline-block; margin: 0 10px 6px 0; padding: 5px 8px 4px; font: 500 13px/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; background: var(--black); color: var(--paper); vertical-align: 2px; }
.fm-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: 0 0 22px; }
.fm-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.films-note { margin-top: 24px; font-size: 14px; }
.follow { position: fixed; z-index: 30; left: 0; top: 0; width: 320px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); }
.follow.show { opacity: 1; }
.follow-in { position: absolute; inset: 0; overflow: hidden; background: #ccc; }
.follow-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.follow-in img.on { visibility: visible; }
.follow .fl { opacity: 1; transform: none; }
.follow-l { position: absolute; left: 0; bottom: -34px; padding: 7px 10px; background: var(--black); color: var(--paper); font: 400 13px/1 var(--f-type); text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 900px) {
  .film-t { font-size: 8vw; }
  .fm-head { display: grid; grid-template-columns: 2fr 5fr 5fr; column-gap: 24px; padding-bottom: 14px; font: 400 14px var(--f-type); text-transform: uppercase; letter-spacing: .04em; }
  .fm-btn { grid-template-columns: 2fr 5fr 5fr; column-gap: 24px; align-items: baseline; padding: 30px 0; cursor: default; }
  .fm-y { grid-row: auto; padding: 0; }
  .fm-t { font-size: 40px; }
  .fm-shot { display: none !important; }
  .fm-list:hover .fm-row:not(:hover) { opacity: .4; }
  .fm-row { transition: opacity .25s; }
}
@media (max-width: 899px), (hover: none) { .follow { display: none; } }

/* ---------------- SC. 06 · the cast ---------------- */
.cast { padding-left: 0; padding-right: 0; }
.cast > .slug, .cast-t { padding: 0 var(--g); }
.cast-t { margin-top: 28px; font-size: 48px; color: var(--paper); }
.cast-wrap { margin-top: 36px; }
.cast-track { display: flex; gap: 14px; padding: 0 var(--g); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--g); scrollbar-width: none; overscroll-behavior-x: contain; }
.cast-track::-webkit-scrollbar { display: none; }
.cast-track.drag { scroll-snap-type: none; }
.cast-card { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: 76svh; min-height: 480px; overflow: hidden; background: #1b1b1b; user-select: none; }
.rm-cpic { position: absolute; inset: 0; display: block; }
.rm-cpic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--posm, 50% 50%); -webkit-user-drag: none; }
.cast-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(18, 18, 18, .9) 0%, rgba(18, 18, 18, .5) 30%, rgba(18, 18, 18, 0) 56%); pointer-events: none; }
.cast-copy { position: absolute; z-index: 4; left: 24px; right: 24px; bottom: 26px; color: var(--paper); }
.cast-n { font: 800 48px/.9 var(--f-disp); text-transform: uppercase; letter-spacing: -.01em; }
.cast-m { margin-top: 10px; font: 400 14px var(--f-type); letter-spacing: .03em; }
.cast-see { margin-top: 18px; color: var(--paper); --line-2: rgba(242, 238, 230, .6); }
.cast-ctl { display: flex; align-items: center; gap: 10px; margin: 18px var(--g) 0; }
.cast-ctl .ib { box-shadow: inset 0 0 0 1px var(--line-2); }
.cast-count { min-width: 60px; text-align: center; font: 400 14px var(--f-type); }
.drag-l { position: fixed; z-index: 30; left: 0; top: 0; pointer-events: none; }
.drag-l span { display: block; margin: -22px 0 0 18px; padding: 8px 12px; background: var(--paper); color: var(--black); font: 400 13px/1 var(--f-type); text-transform: uppercase; letter-spacing: .06em; opacity: 0; transition: opacity .25s; }
.drag-l.show span { opacity: 1; }
@media (min-width: 900px) {
  .cast-t { font-size: 8vw; }
  .cast-track { gap: 24px; cursor: none; }
  .cast-card { flex-basis: calc(100vw - 2 * var(--g)); height: 78svh; }
  .rm-cpic img { object-position: var(--pos, 50% 50%); }
  .cast-copy { left: 40px; bottom: 40px; }
  .cast-n { font-size: 9vw; }
  .cast-ctl { justify-content: flex-end; }
}
@media (max-width: 899px), (hover: none) { .drag-l { display: none; } .cast-track { cursor: auto; } }

/* ---------------- SC. 07 · the reviews ---------------- */
.rev-t { margin-top: 28px; font-size: 48px; }
.ratings { display: grid; margin-top: 40px; border-top: 1px solid var(--black); }
.rating { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.r-score { font: 800 26vw/.82 var(--f-disp); white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-scale { font: 400 15px var(--f-type); margin-left: 6px; }
.r-src { font: 400 14px/1.4 var(--f-type); text-transform: uppercase; letter-spacing: .02em; text-align: right; padding-bottom: 6px; }
.ratings-asof { margin-top: 12px; }
.quotes { margin-top: 72px; }
.quotes-stage { display: grid; }
.quote { grid-area: 1 / 1; visibility: hidden; }
.quote.on { visibility: visible; }
.quote blockquote { position: relative; font: 500 26px/1.3 var(--f-sans); max-width: 30ch; text-wrap: balance; padding-top: 44px; }
.quote blockquote::before { content: "“"; position: absolute; left: -4px; top: -26px; font: 800 110px/1 var(--f-disp); }
.quote figcaption { margin-top: 20px; font: 400 13px var(--f-type); text-transform: uppercase; letter-spacing: .04em; }
.q-ctl { display: flex; align-items: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.q-ctl .ib { box-shadow: inset 0 0 0 1px var(--line-2); }
.q-count { min-width: 56px; text-align: center; font: 400 14px var(--f-type); }
.quotes-toggle { margin-left: 10px; color: var(--ink-2); }
@media (min-width: 900px) {
  .rev-t { font-size: 8vw; }
  .ratings { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; margin-top: 8vh; border-top: 0; }
  .rating { display: block; padding: 22px 0 0; border-top: 1px solid var(--black); border-bottom: 0; }
  .r-score { font-size: 14vw; }
  .r-src { text-align: left; margin-top: 14px; }
  .quotes { margin-top: 14vh; padding-left: calc((100% - 2 * 24px) / 3 + 24px); }
  .quote blockquote { font-size: 36px; }
}

/* ---------------- SC. 08 · call time (the form as a call sheet) ---------------- */
.book-grid { display: grid; gap: 40px; margin-top: 28px; }
.book-t { font-size: 48px; color: var(--paper); }
.book-d { margin-top: 14px; font-size: 18px; }
.guar li { position: relative; padding: 6px 0 6px 28px; font-size: 17px; }
.guar li::before { content: ""; position: absolute; left: 0; top: calc(6px + .78em); width: 16px; height: 1px; background: currentColor; }
.guar-side { display: none; }
.guar-form { margin: 26px 0 22px; }
.call { margin-top: 32px; color: var(--ink-2); }
.call a { color: var(--fg); display: inline-block; padding: 12px 0; text-underline-offset: 5px; }
@media (min-width: 900px) {
  .book-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: 6vh; }
  .book-copy { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--head) + 6vh); }
  .book-t { font-size: 7vw; }
  .guar-side { display: block; margin-top: 40px; }
  .book .guar-form { display: none; }
  .form-home { grid-column: 6 / span 7; }
}
.booking { color: var(--fg); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.cs-row { display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.bform > .cs-row:last-of-type { border-bottom: 1px solid var(--line-2); }
.cs-k { padding: 0; font: 400 13px/1.4 var(--f-type); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
legend.cs-k { float: left; width: 100%; margin-bottom: 8px; }
legend.cs-k + * { clear: left; }
@media (min-width: 900px) {
  .cs-row { grid-template-columns: 150px minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .cs-row > .cs-k { padding-top: 18px; }
  legend.cs-k { float: left; width: 150px; margin: 18px 24px 0 0; }
  fieldset.cs-row { display: block; }
  fieldset.cs-row > .cs-v { margin-left: 174px; }
  legend.cs-k + * { clear: none; }
}
.range-sum { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 6px 0 12px; }
.rs-cell { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rs-k { font: 400 13px var(--f-type); text-transform: uppercase; color: var(--ink-2); }
.rs-v { font: 500 18px/1.2 var(--f-sans); }
.rs-arrow { opacity: .5; padding-bottom: 2px; }
.rs-nights { margin-left: auto; font: 400 14px var(--f-type); color: var(--ink-2); padding-bottom: 2px; }
.cal-hint { margin: 6px 0 4px; font-size: 15px; color: var(--ink-2); }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-month { font: 500 17px/1 var(--f-sans); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 4px; }
.cal-dow { text-align: center; font: 400 13px var(--f-type); color: var(--ink-2); padding: 6px 0; text-transform: uppercase; }
.cal-day { height: 46px; border: 0; background: transparent; font-size: 16px; cursor: pointer; padding: 0; position: relative; font-variant-numeric: tabular-nums; }
.cal-day span { display: grid; place-items: center; width: 42px; height: 42px; margin: 2px auto; }
.cal-day:hover:not(:disabled) span { box-shadow: inset 0 0 0 1px currentColor; }
.cal-day:disabled { opacity: .32; cursor: default; }
.cal-day--today span::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 3px; height: 3px; margin-left: -1.5px; background: currentColor; }
.cal-day--in-range { background: color-mix(in srgb, var(--fg) 10%, transparent); }
.cal-day--start { background: linear-gradient(90deg, transparent 50%, color-mix(in srgb, var(--fg) 10%, transparent) 50%); }
.cal-day--end { background: linear-gradient(90deg, color-mix(in srgb, var(--fg) 10%, transparent) 50%, transparent 50%); }
.cal-day--start.cal-day--only { background: transparent; }
.cal-day--start span, .cal-day--end span { background: var(--fg); color: var(--bg); }
.cal-day--blank { cursor: default; }
.step { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.step + .step { border-top: 1px solid var(--line); }
.step-l { display: flex; flex-direction: column; margin-right: auto; }
.step-l b { font-weight: 500; }
.step-l small { font-size: 14px; color: var(--ink-2); }
.step .ib { box-shadow: inset 0 0 0 1px var(--line-2); }
.step-v { min-width: 34px; text-align: center; font: 500 19px var(--f-sans); font-variant-numeric: tabular-nums; }
.field input, .field select { display: block; width: 100%; height: 56px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 0; background: transparent; font-size: 18px; color: var(--fg); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.3'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.field select option { color: #121212; background: #F2EEE6; }
.field input:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.phone { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 10px; }
.err { color: var(--err); font-size: 15px; line-height: 1.45; margin-top: 8px; }
.err:empty { margin: 0; }
.consent { margin-top: 16px; }
.done { padding: 8px 0; outline: none; }
.done-k0 { font: 700 15px var(--f-type); letter-spacing: .06em; }
.done-t { margin-top: 14px; font: 800 44px/.95 var(--f-disp); text-transform: uppercase; }
.done-dates { margin-top: 12px; font: 800 48px/.95 var(--f-disp); text-transform: uppercase; color: var(--amber); }
.done-k { margin: 30px 0 8px; font: 400 14px var(--f-type); text-transform: uppercase; color: var(--ink-2); }
.done-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 8px; }
.sheet-panel .done-dates { color: var(--black); }

/* good to know */
.info-t { margin-top: 12px; font: 800 48px/.9 var(--f-disp); text-transform: uppercase; }
.faq { margin-top: 36px; border-top: 1px solid var(--black); max-width: 900px; }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; }
.qa[open] .qa-v { opacity: 0; }
.qa-a p { padding: 0 0 22px; max-width: 60ch; color: var(--ink-2); }
.qa-a a { padding: 10px 0; display: inline-block; }
@media (min-width: 900px) { .info-t { font-size: 88px; } }

/* ---------------- SC. 09 · night · fade out ---------------- */
.scene-end { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--black); color: var(--paper); display: flex; align-items: flex-end; justify-content: center; text-align: center; }
.end-photo { position: absolute; inset: 0; }
.end-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--posm, 62% 30%); will-change: filter; }
@media (min-width: 900px) { .end-photo img { object-position: var(--pos, 62% 22%); } }
.js .end-photo img { filter: brightness(.35) saturate(.4); }
.end-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 18, 18, .95) 0%, rgba(18, 18, 18, .72) 30%, rgba(18, 18, 18, 0) 56%); }
.end-copy { position: relative; z-index: 2; padding: 0 var(--g) calc(96px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; }
.end-copy .slug { justify-content: center; }
.end-copy .slug .slug-n { display: none; }
.end-t { margin-top: 14px; font-size: 15vw; }
.end-d { margin: 14px 0 26px; font-size: 18px; }
@media (min-width: 900px) { .end-copy { padding-bottom: 12vh; } .end-t { font-size: 10vw; } }
.credits { background: var(--black); color: var(--paper); padding: 18vh var(--g) 16vh; overflow: hidden; }
.cr-list { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; font: 400 15px/1.4 var(--f-type); text-transform: uppercase; letter-spacing: .03em; }
.cr-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; }
.cr-dots { border-bottom: 2px dotted rgba(242, 238, 230, .5); transform: translateY(-4px); min-width: 24px; }
.cr-b { text-align: right; }
@media (max-width: 899px) { .cr-list li { grid-template-columns: 1fr; gap: 2px; text-align: center; } .cr-dots { display: none; } .cr-b { text-align: center; opacity: .75; } }
.fadeout { margin-top: 14vh; text-align: center; font: 700 15px var(--f-type); letter-spacing: .06em; }

/* footer */
.foot { background: var(--black); color: var(--paper); --ink-2: rgba(242, 238, 230, .72); display: grid; gap: 14px; padding: 56px var(--g) calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(242, 238, 230, .14); }
.foot-logo { font: 800 40px/1 var(--f-disp); text-transform: uppercase; }
.foot address { font-style: normal; line-height: 1.7; }
.foot address a { display: inline-block; padding: 8px 0; }
.foot-lang a { display: inline-block; padding: 12px 6px; text-decoration: none; }
.foot-lang a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 900px) {
  .foot { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 64px var(--g) 80px; align-items: start; }
  .foot-logo { grid-column: 1 / span 4; } .foot address { grid-column: 5 / span 5; } .foot-lang { grid-column: 10 / span 3; justify-self: end; }
  .foot-note { grid-column: 1 / span 8; margin-top: 20px; } .foot-c { grid-column: 9 / span 4; justify-self: end; margin-top: 20px; }
}

/* ---------------- room viewer ---------------- */
.viewer { position: fixed; inset: 0; z-index: 70; color: var(--paper); --fg: var(--paper); --line: rgba(242, 238, 230, .16); --line-2: rgba(242, 238, 230, .4); --ink-2: rgba(242, 238, 230, .78); }
.vw-back { position: absolute; inset: 0; background: var(--black); }
.vw-media { position: fixed; left: 0; top: 0; width: 100%; height: 54svh; overflow: hidden; background: #1b1b1b; touch-action: pan-y; }
.vw-media .fl { opacity: 1; transform: none; }
.vw-stage, .vw-shot { position: absolute; inset: 0; }
.vw-shot { opacity: 0; }
.vw-shot--on { opacity: 1; }
.vw-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--posm, 50% 50%); }
.vw-panel { position: fixed; left: 0; right: 0; top: 54svh; bottom: 0; overflow-y: auto; padding: 22px var(--g) calc(28px + env(safe-area-inset-bottom)); }
.vw-count { font: 400 14px var(--f-type); text-transform: uppercase; color: var(--ink-2); }
.vw-t { margin-top: 10px; font: 800 48px/.9 var(--f-disp); text-transform: uppercase; }
.vw-meta { margin-top: 10px; font: 400 14px var(--f-type); text-transform: uppercase; color: var(--ink-2); }
.vw-am { margin-top: 18px; display: grid; gap: 2px; }
.vw-am li { position: relative; padding: 4px 0 4px 26px; font-size: 17px; }
.vw-am li::before { content: ""; position: absolute; left: 0; top: calc(4px + .78em); width: 14px; height: 1px; background: currentColor; }
.vw-nav { display: flex; gap: 8px; margin: 18px 0; }
.vw-nav .ib { box-shadow: inset 0 0 0 1px var(--line-2); }
.vw-book { width: 100%; }
.vw-close { position: fixed; z-index: 3; top: calc(12px + env(safe-area-inset-top)); right: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 0; background: var(--paper); color: var(--black); font: 500 15px var(--f-sans); cursor: pointer; }
@media (min-width: 900px) {
  .vw-media { width: 62vw; height: 100vh; }
  .vw-shot img { object-position: var(--pos, 50% 50%); }
  .vw-panel { left: 62vw; top: 0; padding: 120px 48px 48px; display: flex; flex-direction: column; }
  .vw-t { font-size: clamp(56px, 5vw, 88px); }
  .vw-book { width: auto; align-self: flex-start; margin-top: 8px; }
  .vw-close { top: 20px; right: 24px; }
}

/* ---------------- booking sheet (paper) ---------------- */
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s ease; }
.sheet-panel { --fg: var(--black); --bg: var(--paper); --line: rgba(18, 18, 18, .12); --line-2: rgba(18, 18, 18, .34); --ink-2: rgba(18, 18, 18, .74); --err: #9E1B12; position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--paper); color: var(--black); transform: translateY(100%); transition: transform .4s var(--ease); }
.sheet-panel:focus { outline: none; }
.sheet--open .sheet-back { opacity: 1; }
.sheet--open .sheet-panel { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px var(--g); border-bottom: 1px solid var(--line-2); }
.sheet-title { font: 800 30px/1 var(--f-disp); text-transform: uppercase; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px var(--g) calc(28px + env(safe-area-inset-bottom)); }
.sheet-body .cs-row { grid-template-columns: 1fr; }
.sheet-body .cs-row > .cs-k { padding-top: 0; }
.sheet-body legend.cs-k { float: left; width: 100%; margin: 0 0 8px; }
.sheet-body fieldset.cs-row > .cs-v { margin-left: 0; clear: left; }
@media (min-width: 900px) {
  .sheet-panel { left: auto; width: 580px; transform: translateX(100%); }
  .sheet-head { padding-left: 36px; }
  .sheet-body { padding: 18px 36px 36px; }
}

/* line mask (words keep their markup) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .04em .1em 0; margin: -.06em -.04em -.1em 0; }
.wi { display: inline-block; will-change: transform; }


/* ================= AJUSTE v5 · RODADA 1 ================= */
/* 1 · hero: the title lives in the lower band, never over the sign; veils; the photo paints first */
.hero-veil { background: linear-gradient(to top, rgba(18, 18, 18, .85) 0%, rgba(18, 18, 18, .6) 30%, rgba(18, 18, 18, 0) 62%); }
.hero-topveil { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--head) + 140px); pointer-events: none; background: linear-gradient(rgba(18, 18, 18, .55), rgba(18, 18, 18, 0)); }
.hero-slug { z-index: 6; text-shadow: none; }
.intro .fadein { background: rgba(18, 18, 18, .62); }
.fadein { padding-bottom: 20vh; }
@media (min-width: 900px) { .hero-t { font-size: clamp(72px, min(11vw, 17vh), 170px); } }

/* 2 · the timecode: desktop bottom-right; hidden over the hero bar, the form and the viewer */
@media (min-width: 900px) {
  .tc-foot { left: auto; right: var(--g); bottom: 22px; transition: opacity .25s; }
  .tc-foot.tc-hide { opacity: 0; visibility: hidden; }
}

/* 3 · slug lines never break: one line, the type shrinks (15 → 13 px) to fit */
.slug { white-space: nowrap; }
.slug-t { overflow: hidden; text-overflow: clip; }

/* 4 · "5 MIN": the scene in one 100vh frame, under the header */
.five.scene { padding: 0; }
.five-frame { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--head) + 24px) var(--g) 64px; background: var(--paper); }
.five-frame .five-grid { margin-top: 20px; gap: 18px; }
.five-big { font-size: min(42vw, 30svh); }
.five-n { opacity: .35; transition: opacity .2s; }
.five-n.is5 { opacity: 1; }
.five-to { margin-top: 10px; }
.five-frame .map-box .link { padding: 8px 0; }
@media (min-width: 900px) {
  .five-frame { padding: calc(var(--head) + 24px) var(--g) 4vh; }
  .five-frame .five-grid { margin-top: 2vh; row-gap: 2vh; }
  .five-frame .five-big { font-size: min(26vw, 40svh); }
  .five-frame .map-box { max-width: min(100%, calc((100svh - var(--head) - 24px - min(26vw, 40svh) * .84 - 150px) * 1.38)); }
}

/* 5 · the day strip: everything fits in 100vh under the header; cards ≤ 62vh; mobile cards 86vw */
.day-card { flex-basis: 86vw; }
.mini-r { fill: none; stroke: var(--amber); stroke-width: 6; stroke-linecap: square; }
.mini-p { fill: var(--amber); stroke: none; }
.mini-h { fill: var(--paper); }
.mini-n { font: 400 26px var(--f-type); fill: var(--paper); letter-spacing: .04em; }
.mini-n-h { fill: rgba(242, 238, 230, .7); }
.day-progress { display: block; }
@media (min-width: 900px) {
  .scout-pin { height: 100svh; min-height: 0; padding: calc(var(--head) + 24px) 0 4vh; overflow: hidden; }
  .scout-titles { margin-top: 1.5vh; }
  .scout-t { font-size: min(8vw, 13svh); }
  .scout-d { margin-top: 6px; }
  .day-wrap { flex: 1; min-height: 0; margin-top: 3vh; }
  .day { height: 100%; align-items: flex-start; }
  .day-card { flex: 0 0 min(400px, 30vw); height: 100%; max-height: 62vh; overflow: hidden; }
  .day-pic, .day-map { flex: 1 1 auto; height: auto; min-height: 0; max-height: none; margin-bottom: 2vh; }
  .day-time { font-size: min(40px, 5svh); }
  .day-place { font-size: min(48px, 6svh); margin-top: 1vh; }
  .day-tip { margin-top: 1vh; font-size: 17px; }
  .day-from { padding-top: 1.4vh; }
  .day-progress { display: none; }
}

/* 6 · the neon: light in the dark, a sharp vertical frame, the text below it */
.scene-end { height: auto; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: calc(var(--head) + 24px) var(--g) calc(96px + env(safe-area-inset-bottom)); background: var(--black); }
.end-amb { position: absolute; inset: -10%; z-index: 0; opacity: 0; pointer-events: none; }
.end-amb img { width: 100%; height: 100%; object-fit: cover; filter: blur(80px) saturate(1.4); transform: scale(1.15); }
.end-stage { position: relative; z-index: 1; width: min(100%, calc(56svh * .75)); }
.end-glow { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; opacity: 0; }
.end-glow-r { left: 20%; top: 18%; width: 120%; height: 46%; background: radial-gradient(closest-side, rgba(227, 38, 46, .3), rgba(227, 38, 46, 0)); }
.end-glow-g { left: 15%; top: -6%; width: 110%; height: 40%; background: radial-gradient(closest-side, rgba(46, 230, 160, .18), rgba(46, 230, 160, 0)); }
.end-photo { position: relative; inset: auto; z-index: 1; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: #0b0b0b; }
.end-photo img { object-position: 50% 50% !important; }
.end-photo .fl { z-index: 3; }
.end-veil { display: none; }
.end-copy { position: relative; z-index: 2; padding: 0; margin-top: 28px; }
.end-t { font-size: 48px; }
@media (min-width: 900px) {
  .end-stage { width: calc(72svh * .75); }
  .end-t { font-size: clamp(72px, 7vw, 120px); }
}
@media (prefers-reduced-motion: reduce) { .end-amb { opacity: .5; } .end-glow { opacity: 1; } }

/* ---------------- reduced motion: no typing, no pan, no pins, no black cuts ---------------- */
@media (prefers-reduced-motion: reduce) {
  .top, .mbar, .sheet-panel, .sheet-back, .fl, .act, .map-walk, .follow, .drag-l span { transition: none !important; }
  .map-walk { opacity: 1; }
  .btn--loading .btn-load { animation: none; }
  .fl { opacity: 1 !important; transform: none !important; }
  .cottage { height: auto; }
  .cot-stage { position: relative; height: auto; display: block; padding-top: 96px; }
  .cot-frame { height: auto; aspect-ratio: auto; max-height: none; margin: 32px 0 0; background: none; overflow: visible; }
  .shots { position: relative; display: grid; gap: 16px; }
  .shot { position: relative; inset: auto; visibility: visible; aspect-ratio: 4 / 5; overflow: hidden; }
  .cot-frame > .fl { display: none; }
  .act { opacity: 1; }
  .end-photo img { filter: none; }
  /* the day strip becomes a list */
  .day { display: grid; overflow: visible; scroll-snap-type: none; gap: 14px; transform: none !important; }
  .day-card { flex: none; }
  .day-progress { display: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 900px) {
  .cot-stage { display: grid; align-items: start; }
  .shots { grid-template-columns: 1fr 1fr; }
  .day { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scout-pin { height: auto; }
}

/* rodada 1 · "5 MIN" desktop: number + caption left, map right, all inside 100vh */
@media (min-width: 900px) {
  .five-frame .five-grid { flex: 1; min-height: 0; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; row-gap: 0; margin-top: 3vh; }
  .five-frame .five-num { display: block; grid-column: 1 / span 6; }
  .five-frame .five-big { font-size: min(20.5vw, 36svh); }
  .five-frame .five-to { margin-top: 2vh; max-width: 30ch; }
  .five-frame .map-box { grid-column: 7 / span 6; justify-self: stretch; max-width: min(100%, calc((100svh - var(--head) - 24px - 4vh - 3vh - 150px) * 1.38)); }
}


/* rodada 3 · hero: geometry from width + height (motion.js sets the pan box); the photo covers 100svh on mobile too */
.hero-pan { min-width: 0; }
.hero-pan img { object-fit: cover; object-position: 50% 50%; }
@media (min-width: 900px) { .hero-t { font-size: min(11vw, 15vh); } }
@media (min-width: 900px) and (max-height: 699px) {
  .qbar { height: 64px; bottom: 16px; }
  .qb-go { min-height: 48px; }
  .qf { gap: 3px; }
  .hero-copy { bottom: 96px; }
  .hero-d { white-space: nowrap; max-width: none; }
}
/* mobile: no hard edge — a gradual veil, 0% around street level → 92% black behind the text */
@media (max-width: 899px) {
  .hero-veil { background: linear-gradient(to bottom, rgba(18, 18, 18, 0) 0, rgba(18, 18, 18, 0) var(--v0, 50%), rgba(18, 18, 18, .5) calc((var(--v0, 50%) + var(--v1, 62%)) / 2), rgba(18, 18, 18, .92) var(--v1, 62%), rgba(18, 18, 18, .92) 100%); }
}

/* rodada 4 · the calendar grid: 7 columns, fixed 46 px rows (state classes are prefixed: .cal-day--*) */
.cal-grid { grid-auto-rows: 46px; align-items: stretch; }
.cal-day { height: 46px; min-height: 0; max-height: 46px; display: block; position: relative; }
.cal-dow { height: 46px; padding: 0; line-height: 46px; }
