/* ───────────────────────────────────────────────────────────
   PASSEGGIO — palette sampled off the film's own pixels
   band f0061 #a55334 · paper #eeddc5 · arena f0181 #a75133
   olive band f0277 #786b34 · navy band f0385 #1f3848
   roofs f0565 #9b4c2f. The film is a line drawing under a
   solid top band (0–20.3% of frame height). Every beat's
   headline sits IN that band; supporting copy uses the cream
   sky between band and skyline.
   ─────────────────────────────────────────────────────────── */

:root {
  --terra:   #a55334;
  --terra-2: #9b4c2f;
  --terra-3: #7d3b22;
  --cream:   #eeddc5;
  --paper:   #f3e6d2;
  --paper-2: #eadbc3;
  --olive:   #786b34;
  --navy:    #1f3848;
  --ink:     #2b1d16;
  --white:   #fffffa;

  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --serif:  "Cormorant Garamond", "Cormorant", Georgia, serif;
  --mono:   "DM Mono", ui-monospace, Menlo, monospace;

  --fg:   var(--cream);
  --fg-2: rgba(238,221,197,.7);
  --line: rgba(238,221,197,.35);

  --gut:  clamp(16px, 3.4vw, 56px);
  --hdr:  60px;
  --ease: cubic-bezier(.22,1,.36,1);
  --snap: cubic-bezier(.7,0,.3,1);
  --scroll-length: 1150vh;
  --p: 0;

  /* where the film's top band ends on screen (cover fit, band = 20.28% of frame) */
  --imgH: max(56.25vw, 100vh);
  --band: calc(50vh - .2972 * var(--imgH));
}
:root.is-light { --fg: var(--ink); --fg-2: rgba(43,29,22,.68); --line: rgba(43,29,22,.3); }

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--serif); font-size: 18px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 300; background: var(--paper); color: var(--ink); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
::selection { background: var(--terra); color: var(--cream); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── loader ─────────────────────────────────────────────── */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--terra); color: var(--cream); transition: opacity .8s var(--ease), visibility .8s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__arch { position: relative; width: 96px; height: 96px; }
.loader__arch svg:first-child { position: absolute; inset: 0; transform: rotate(-90deg); }
.loader__arch circle { fill: none; stroke-width: 1.2; stroke: rgba(238,221,197,.25); }
.loader__fill { stroke: var(--cream) !important; stroke-dasharray: 132; stroke-dashoffset: 132; transition: stroke-dashoffset .3s linear; }
.loader__door { position: absolute; inset: 24px; }
.loader__door path { fill: none; stroke: var(--cream); stroke-width: 1.4; stroke-dasharray: 80; animation: drawloop 2.4s var(--ease) infinite; }
@keyframes drawloop { 0% { stroke-dashoffset: 80; } 60%,100% { stroke-dashoffset: 0; } }
.loader__mark { font-family: var(--script); font-size: 64px; line-height: 1; }
.loader__meta { color: rgba(238,221,197,.7); }

/* ── film ───────────────────────────────────────────────── */
.film { position: fixed; inset: 0; z-index: 0; background: var(--cream); overflow: hidden; }
.film canvas, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-mode="scrub"] .film video { display: none; }
[data-mode="video"] .film canvas { display: none; }
.film__paper { position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .15 0 0 0 0 .08 0 0 0 1.6 -.4'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
.film__veil { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: linear-gradient(180deg, rgba(243,230,210,0) 12%, rgba(243,230,210,.78) 34%, rgba(243,230,210,.78) 78%, rgba(243,230,210,.35)); }
[data-mode="video"] .film__veil { opacity: 1; }

/* ── the arch wipe (mode switch) ─────────────────────────── */
.archwipe { position: fixed; inset: 0; z-index: 180; pointer-events: none; overflow: hidden; }
.archwipe__arch { position: absolute; left: 50%; bottom: 0; width: max(130vw, 110vh); height: max(170vh, 130vw); margin-left: calc(max(130vw, 110vh) / -2);
  background: var(--terra); border-radius: 50% 50% 0 0 / 34% 34% 0 0; transform: translate3d(0, 101%, 0); transition: transform .5s var(--snap); }
.archwipe__arch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.archwipe__arch path { fill: none; stroke: rgba(238,221,197,.5); stroke-width: 1; vector-effect: non-scaling-stroke; }
.archwipe__stamp { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; opacity: 0; transform: scale(.4) rotate(-40deg); transition: opacity .2s, transform .4s var(--ease); }
.archwipe__stamp circle, .archwipe__door { fill: none; stroke: var(--cream); stroke-width: 1.4; }
.archwipe__stamp text { font-family: var(--mono); font-size: 9.6px; letter-spacing: .16em; fill: var(--cream); }
:root.is-switching .archwipe__arch { transform: none; transition-duration: .26s; }
:root.is-switching .archwipe__stamp { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: .08s; }

/* ── HUD ────────────────────────────────────────────────── */
.hud { position: fixed; inset: 0; z-index: 15; pointer-events: none; color: var(--fg); transition: opacity .5s var(--ease), color .3s; }
:root.is-paper .hud, :root.is-paper .chapter { opacity: 0; }
.hud__br { position: absolute; width: 20px; height: 20px; border: 0 solid var(--line); }
.hud__br--tl { top: calc(var(--band) + 12px); left: 14px; border-top-width: 1px; border-left-width: 1px; }
.hud__br--tr { top: calc(var(--band) + 12px); right: 14px; border-top-width: 1px; border-right-width: 1px; }
.hud__br--bl { bottom: 16px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.hud__br--br { bottom: 16px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.hud__side { position: absolute; top: calc(var(--band) + 56px); display: flex; gap: 22px; align-items: center; white-space: nowrap; color: var(--fg-2); }
.hud__side--l { left: 16px; writing-mode: vertical-rl; transform: translateY(calc((var(--p) - .5) * -40px)) rotate(180deg); }
.hud__latin { font-family: var(--serif); font-size: 12px; letter-spacing: .42em; color: var(--fg); }
.hud__side--r { right: 16px; writing-mode: vertical-rl; gap: 18px; transform: translateY(calc((var(--p) - .5) * 40px)); }
.hud__side--r b { color: var(--fg); font-weight: 500; }
.hud__compass { position: absolute; right: calc(var(--gut) + 22px); top: calc(var(--band) + 20px); width: 46px; height: 46px; transform: rotate(calc(var(--p) * -300deg)); opacity: .75; }
.hud__compass svg { width: 100%; height: 100%; overflow: visible; }
.hud__compass circle { fill: none; stroke: var(--fg); stroke-width: .8; }
.hud__compass path { fill: var(--terra); }
:root:not(.is-light) .hud__compass path { fill: var(--cream); }
.hud__compass text { font-family: var(--mono); font-size: 7px; fill: var(--fg); }
[data-mode="video"] .hud__compass, [data-mode="video"] .hud__br--tl, [data-mode="video"] .hud__br--tr { display: none; }
[data-mode="video"] .hud { --fg: var(--ink); --fg-2: rgba(43,29,22,.6); --line: rgba(43,29,22,.3); }

/* ── header ─────────────────────────────────────────────── */
.chrome { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--hdr); display: flex; align-items: center; gap: 22px; padding: 0 var(--gut);
  --fg: var(--cream); --fg-2: rgba(238,221,197,.72); --line: rgba(238,221,197,.4); color: var(--fg); transition: color .3s, background-color .4s var(--ease), box-shadow .4s; }
:root.is-bandlight .chrome { --fg: var(--ink); --fg-2: rgba(43,29,22,.7); --line: rgba(43,29,22,.35); }
[data-mode="video"] .chrome { background: rgba(165,83,52,.94); }
:root.is-paper .chrome { --fg: var(--ink); --fg-2: rgba(43,29,22,.66); --line: rgba(43,29,22,.3); background: rgba(243,230,210,.95); box-shadow: 0 1px 0 rgba(43,29,22,.14); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.mark__arch { width: 28px; height: 28px; }
.mark__arch circle, .mark__arch path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.mark__arch circle { stroke-dasharray: 2 2.4; animation: spin 18s linear infinite; transform-origin: center; }
.mark__txt { font-family: var(--script); font-size: 30px; line-height: 1; padding-top: 4px; }
.chrome__nav { margin-left: auto; display: flex; gap: 24px; }
.chrome__nav a { font-size: 16px; font-style: italic; text-decoration: none; color: var(--fg-2); position: relative; padding: 4px 0; transition: color .3s; }
.chrome__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.chrome__nav a:hover { color: var(--fg); }
.chrome__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* header switch: an arched gate the knob walks through */
.switch { display: inline-flex; align-items: center; gap: 10px; padding: 5px 8px 5px 14px; border-radius: 100px; border: 1px solid var(--line); background: rgba(43,29,22,.16); color: var(--fg); transform: var(--mag, none); transition: border-color .3s, background-color .3s; }
.switch:hover { border-color: var(--fg); }
.switch__txt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.switch__track { position: relative; width: 50px; height: 26px; border-radius: 13px 13px 4px 4px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(238,221,197,.08); transition: background-color .45s var(--ease); }
.switch[aria-checked="true"] .switch__track { background: var(--cream); box-shadow: none; }
:root.is-paper .switch[aria-checked="true"] .switch__track, :root.is-bandlight .switch[aria-checked="true"] .switch__track { background: var(--terra); }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; transition: transform .55s cubic-bezier(.5,1.6,.4,1), background-color .3s; }
.switch[aria-checked="false"] .switch__knob { background: var(--cream); }
:root.is-paper .switch__knob, :root.is-bandlight .switch__knob { background: var(--cream); }
:root.is-paper .switch[aria-checked="false"] .switch__knob { background: var(--terra); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(24px) rotate(360deg); }
.switch__knob svg { width: 14px; height: 14px; }
.switch__knob path { fill: none; stroke: var(--cream); stroke-width: 1.5; }
.switch[aria-checked="false"] .switch__knob path, :root.is-paper .switch__knob path, :root.is-bandlight .switch__knob path { stroke: var(--terra); }
:root.is-paper .switch[aria-checked="false"] .switch__knob path { stroke: var(--cream); }
.switch__roll, .dock__roll { position: relative; height: 1.2em; overflow: hidden; display: inline-flex; flex-direction: column; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; line-height: 1.2em; min-width: 3.4ch; }
.switch__roll span, .dock__roll span { display: block; transition: transform .55s var(--ease); }
[aria-checked="false"] > .switch__roll span, [aria-checked="false"] > .dock__roll span { transform: translateY(-100%); }

.burger { display: none; background: none; border: 0; padding: 8px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--fg); transition: transform .35s var(--ease); }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.navPanel { position: fixed; inset: 0; z-index: 59; background: var(--terra); display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gut); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.navPanel.is-open { opacity: 1; visibility: visible; }
.navPanel a { font-family: var(--script); font-size: clamp(44px, 13vw, 80px); text-decoration: none; color: var(--cream); line-height: 1.25; }

/* ── floating ticket dock ─────────────────────────────── */
.dock { position: fixed; z-index: 70; left: 50%; bottom: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 7px 8px 7px 8px; border: 0; border-radius: 6px; background: var(--paper); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(43,29,22,.8), 0 14px 30px -12px rgba(43,29,22,.55); transform: translateX(-50%) var(--mag, translate(0,0)); transition: background-color .3s;
  -webkit-mask: radial-gradient(circle 5px at 0 50%, #0000 98%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, #0000 98%, #000) 100% 0 / 51% 100% no-repeat;
          mask: radial-gradient(circle 5px at 0 50%, #0000 98%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, #0000 98%, #000) 100% 0 / 51% 100% no-repeat; }
.dock:hover { background: #fbf1e1; }
.dock__stamp { width: 30px; height: 30px; margin-left: 6px; color: var(--terra); }
.dock__stamp svg { width: 100%; height: 100%; }
.dock__stamp circle, .dock__stamp path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.dock[aria-checked="true"] .dock__stamp svg { animation: spin 9s linear infinite; }
.dock[aria-checked="false"] .dock__stamp { color: rgba(43,29,22,.4); }
.dock__txt { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; white-space: nowrap; }
.dock__perf { align-self: stretch; width: 0; border-left: 1.5px dashed rgba(43,29,22,.35); margin: -2px 0; }
.dock__roll { background: var(--terra); color: var(--cream); border-radius: 3px; padding: 0 10px; height: 24px; line-height: 24px; margin-right: 6px; }
.dock__roll span { height: 24px; }
.dock[aria-checked="false"] .dock__roll { background: var(--ink); }

.chapter { --fg: var(--cream); color: rgba(238,221,197,.72); position: fixed; z-index: 16; left: calc(var(--gut) + 18px); bottom: 28px; display: flex; gap: 14px; align-items: baseline; color: var(--fg-2); pointer-events: none; transition: opacity .4s, color .3s; }
.chapter b { color: var(--fg); font-weight: 500; font-size: 13px; }
.chapter__name { display: inline-block; color: var(--fg); font-family: var(--serif); font-style: italic; font-size: 20px; }
.chapter.is-roll .chapter__name, .chapter.is-roll b { animation: roll .6s var(--ease); }
@keyframes roll { 0% { opacity: 0; transform: translateY(70%); } 100% { opacity: 1; transform: none; } }
[data-mode="video"] .chapter { --fg: var(--ink); color: rgba(43,29,22,.6); }

.rail { position: fixed; z-index: 65; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(43,29,22,.1); pointer-events: none; }
.rail__fill { position: absolute; inset: 0; background: var(--terra); transform-origin: 0 50%; transform: scaleX(0); }
:root:not(.is-light)[data-mode="scrub"] .rail__fill { background: var(--cream); }
.rail__ticks i { position: absolute; bottom: 0; width: 1px; height: 9px; background: var(--fg-2); }
[data-mode="video"] .rail__ticks { display: none; }

/* ── stage / modes ──────────────────────────────────────── */
.stage { position: relative; z-index: 20; }
[data-mode="scrub"] .stage__spacer { height: var(--scroll-length); }
[data-mode="video"] .stage__spacer { height: 0; }
[data-mode="scrub"] .beats { position: fixed; inset: 0; pointer-events: none; }
[data-mode="scrub"] .beat { position: absolute; inset: 0; opacity: 0; visibility: hidden; will-change: opacity; }
[data-mode="scrub"] .lay { position: absolute; inset: 0; }
[data-mode="video"] .beats { position: relative; }
[data-mode="video"] .beat { position: relative; min-height: 100vh; min-height: 100svh; }
[data-mode="video"] .lay { position: relative; min-height: 100vh; min-height: 100svh; padding-top: calc(var(--hdr) + 40px); }

.beat { --fg: var(--ink); --fg-2: rgba(43,29,22,.7); color: var(--fg); }
.beat--dark { --fg: var(--cream); --fg-2: rgba(238,221,197,.78); }
[data-mode="video"] .beat { --fg: var(--ink); --fg-2: rgba(43,29,22,.7); }

/* zones, positioned against the film's composition */
.z { position: absolute; max-width: min(40ch, calc(100vw - 2 * var(--gut))); pointer-events: auto; }
.z--hero-l { left: calc(var(--gut) + 26px); top: calc(var(--band) + 7vh); max-width: min(300px, 24vw); }
.z--hero-r { right: calc(var(--gut) + 26px); top: calc(var(--band) + 7vh); }
.z--foot { left: calc(var(--gut) + 26px); right: calc(var(--gut) + 26px); bottom: 64px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; }
.z--bl { left: calc(var(--gut) + 26px); bottom: 76px; max-width: min(360px, 30vw); }
.z--br { right: calc(var(--gut) + 26px); bottom: 76px; }
.z--centre { left: 50%; top: calc(var(--band) + 2vh); transform: translateX(-50%); width: min(760px, 100vw - 2 * var(--gut)); max-width: none; text-align: center; }
.z--stats { left: calc(var(--gut) + 26px); right: calc(var(--gut) + 26px); bottom: 78px; max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.z--sky-l { left: calc(var(--gut) + 30px); top: calc(var(--band) + 9vh); max-width: min(430px, 34vw); }
.z--sky-r { right: calc(var(--gut) + 90px); top: calc(var(--band) + 9vh); max-width: min(400px, 32vw); }
.z--sky-c { left: 50%; top: calc(var(--band) + 9vh); transform: translateX(-50%); width: min(820px, 100vw - 2 * var(--gut)); max-width: none; text-align: center; display: flex; flex-direction: column; align-items: center; }
.z--card { background: rgba(243,230,210,.93); padding: 22px 24px; box-shadow: 0 0 0 1px rgba(43,29,22,.18), 8px 8px 0 -1px rgba(165,83,52,.25); }

[data-mode="scrub"] :is(.z--hero-l, .z--bl, .z--sky-l) { translate: 0 calc(var(--t, 0) * -18px); }
[data-mode="scrub"] :is(.z--hero-r, .z--br, .z--sky-r) { translate: 0 calc(var(--t, 0) * 18px); }

/* video mode: zones become a centred editorial column */
[data-mode="video"] .lay { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding: calc(var(--hdr) + 12vh) calc(var(--gut) + 26px) 14vh; }
[data-mode="video"] .z, [data-mode="video"] .title, [data-mode="video"] .leader, [data-mode="video"] .polaroid, [data-mode="video"] .stampc { position: relative; inset: auto; transform: none; translate: none; max-width: min(640px, 100%); width: auto; }
[data-mode="video"] .z--centre, [data-mode="video"] .z--sky-c { text-align: left; align-items: flex-start; }
[data-mode="video"] .z--foot { flex-wrap: wrap; width: 100%; max-width: none; }
[data-mode="video"] .z--stats { width: 100%; max-width: 980px; }
[data-mode="video"] .beat .band-h { position: relative; inset: auto; height: auto; text-shadow: none; color: var(--terra-3); font-size: clamp(40px, 6vw, 88px); }
[data-mode="video"] .beat .band-h em { color: var(--terra); }
[data-mode="video"] .polaroid { align-self: flex-end; }

/* ── type ───────────────────────────────────────────────── */
.band-h { position: absolute; left: calc(var(--gut) + 26px); right: calc(var(--gut) + 26px); top: calc(var(--hdr) - 4px); height: calc(var(--band) - var(--hdr) + 4px); margin: 0;
  display: flex; flex-direction: column; justify-content: center; color: var(--cream); text-shadow: 0 1px 14px rgba(125,59,34,.45); font-family: var(--serif); font-weight: 500; font-size: clamp(26px, min(4.2vw, 5.4vh), 60px); line-height: .98; letter-spacing: -.01em; }
.band-h em { font-style: italic; font-weight: 400; }
.band-h--c { align-items: center; text-align: center; }
.band-h--script { font-family: var(--script); font-weight: 400; font-size: clamp(56px, min(9vw, 13vh), 150px); line-height: 1.1; align-items: center; text-align: center; padding-top: .12em; }
.script-h { font-family: var(--script); font-weight: 400; font-size: clamp(68px, 10vw, 170px); line-height: 1.1; margin: 0 0 6px; color: var(--cream); }
[data-mode="video"] .script-h { color: var(--terra); }

/* the giant two-tone title: cream in the band, terracotta ink below it */
.title { position: absolute; inset: 0; margin: 0; font-weight: 400; pointer-events: none; }
.title > span { position: absolute; inset: 0; display: block; text-align: center; font-family: var(--script); font-size: clamp(110px, min(17vw, 30vh), 330px); line-height: 1.2;
  padding-top: calc(var(--band) - .74em); white-space: nowrap; }
.title__a { color: var(--cream); clip-path: inset(0 0 calc(100% - var(--band)) 0); }
.title__b { color: var(--terra); clip-path: inset(var(--band) 0 0 0); }
[data-mode="scrub"] .title > span { translate: calc(var(--t, 0) * -2vw) 0; }
.title__b { opacity: 0; transition: opacity 1s var(--ease) .9s; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .title__b { opacity: 1; }
[data-mode="video"] .title { height: auto; }
[data-mode="video"] .title > span { position: relative; padding: 0; clip-path: none; text-align: left; font-size: clamp(90px, 16vw, 260px); line-height: 1.1; }
[data-mode="video"] .title__b { display: none; }
[data-mode="video"] .title__a { color: var(--terra); }

.kicker { font-size: clamp(20px, 1.7vw, 27px); line-height: 1.12; margin: 0; font-style: italic; color: var(--fg); }
.copy { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.4; margin: 0 0 16px; color: var(--fg); }
.copy--c { margin-left: auto; margin-right: auto; max-width: 46ch; }
.tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--fg-2); }
.tag::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.spec { display: grid; margin: 0; min-width: 200px; }
.spec div { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; border-bottom: 1px dotted var(--fg-2); }
.spec dt { color: var(--fg-2); }
.spec dd { margin: 0; color: var(--fg); }
.spec dd b { font-weight: 500; }

.cue { display: inline-flex; align-items: center; gap: 12px; color: var(--fg-2); }
.cue i { width: 1px; height: 36px; background: linear-gradient(var(--terra), transparent); animation: cue 1.6s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 6px 11px; border: 1px solid var(--fg-2); border-radius: 100px; }

.route { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.route li { position: relative; padding: 8px 18px; color: var(--fg); }
.route li + li::before { content: ""; position: absolute; left: -8px; top: 50%; width: 16px; border-top: 1px dotted var(--terra); }
.route b { display: block; color: var(--terra); font-weight: 500; font-size: 12px; }

.stat { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid rgba(238,221,197,.45); padding-top: 12px; }
.stat b { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5.4vw, 92px); line-height: .9; font-variant-numeric: lining-nums tabular-nums; color: var(--cream); }
.stat .mono { color: rgba(238,221,197,.78); }
[data-mode="video"] .stat { border-color: rgba(43,29,22,.3); }
[data-mode="video"] .stat b { color: var(--terra-3); }
[data-mode="video"] .stat .mono { color: rgba(43,29,22,.66); }

/* figure card with a drawn arcade */
.figcard { background: rgba(243,230,210,.92); padding: 16px 18px; min-width: 250px; box-shadow: 0 0 0 1px rgba(43,29,22,.2); }
.figcard dl { margin: 10px 0 0; display: grid; gap: 4px; }
.figcard dl div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dotted rgba(43,29,22,.3); padding: 4px 0; }
.figcard dt { color: rgba(43,29,22,.6); } .figcard dd { margin: 0; }
.draw path { fill: none; stroke: var(--terra); stroke-width: 1.2; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .draw path { stroke-dashoffset: 0; }

/* leader line from the hero copy toward the Colosseum */
.leader { position: absolute; left: calc(var(--gut) + 26px); top: calc(var(--band) + 7vh + 190px); display: flex; align-items: center; gap: 10px; width: 30vw; color: var(--fg-2); }
.leader i { order: 2; flex: 1; height: 0; border-top: 1px dotted var(--terra); clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease) .8s; position: relative; }
.leader i::after { content: ""; position: absolute; right: -4px; top: -4px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--terra); }
.leader span { order: 1; white-space: nowrap; }

.polaroid { position: absolute; left: calc(var(--gut) + 40px); bottom: 96px; width: min(250px, 20vw); background: var(--paper); padding: 9px 9px 30px; box-shadow: 0 16px 34px -14px rgba(31,56,72,.7);
  rotate: -5deg; transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.polaroid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.polaroid span { position: absolute; left: 12px; bottom: 9px; color: rgba(43,29,22,.7); }

.stampc { position: absolute; right: calc(var(--gut) + 90px); top: calc(var(--band) + 9vh); width: 150px; height: 150px; color: var(--terra-3); }
.stampc svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.stampc circle { fill: none; stroke: currentColor; stroke-width: 1.4; }
.stampc text { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; fill: currentColor; }
.stampc b { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--serif); font-size: 30px; font-weight: 500; }

/* ── split text + reveal states ─────────────────────────── */
/* scrub: .beat.is-live (film.js) · video: .beat.is-in · page: [data-reveal].is-in */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > i { display: block; font-style: inherit; transform: translate3d(0, 110%, 0); transition: transform 1.05s var(--ease) calc(var(--li, 0) * 110ms + 80ms); }
.ln:nth-child(2) > i { transform: translate3d(0, -110%, 0); }
.ch { display: inline-block; vertical-align: top; }
.ch > i { display: inline-block; font-style: inherit; opacity: 0; transform: translate3d(0, .35em, 0) rotate(-14deg) scale(.7); transform-origin: 30% 90%; transition: transform 1.1s var(--ease) calc(var(--ci, 0) * 55ms + 60ms), opacity .7s calc(var(--ci, 0) * 55ms + 60ms); }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wd > i { display: inline-block; font-style: inherit; opacity: 0; transition: transform .9s var(--ease) calc(var(--wi, 0) * 32ms + 180ms), opacity .6s calc(var(--wi, 0) * 32ms + 180ms); }
.wd:nth-child(3n+1) > i { transform: translate3d(0, 105%, 0); }
.wd:nth-child(3n+2) > i { transform: translate3d(-55%, 0, 0); }
.wd:nth-child(3n)   > i { transform: translate3d(0, -105%, 0); }
:is(.beat.is-live, [data-mode="video"] .beat.is-in, [data-reveal].is-in) :is(.ln, .ch, .wd) > i { transform: none; opacity: 1; }

.beat :is(.tag, .row, .spec, .cue, .chips li, .route li, .stat, .figcard, .btn, .stampc, .polaroid) { opacity: 0; transition: opacity .7s var(--ease), transform .9s var(--ease), clip-path 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms + 300ms); }
.beat :is(.row, .spec, .cue, .stat, .btn) { transform: translate3d(0, 18px, 0); }
.beat .tag { clip-path: inset(0 100% 0 0); transition-delay: .1s; }
.beat :is(.chips li, .route li) { transform: translate3d(0, 12px, 0) rotate(-3deg); }
.beat .figcard { clip-path: inset(100% 0 0 0); }
.beat .stampc { transform: scale(.4) rotate(-30deg); transition: transform .9s cubic-bezier(.3,1.7,.5,1) .5s, opacity .3s .5s; }
.beat .polaroid { translate: 0 60px; transition: opacity .7s .4s, translate 1.1s var(--ease) .4s, transform .5s var(--ease); }
.stat:nth-child(2), .chips li:nth-child(2), .route li:nth-child(2) { --d: 1; } .stat:nth-child(3), .chips li:nth-child(3), .route li:nth-child(3) { --d: 2; } .stat:nth-child(4), .chips li:nth-child(4), .route li:nth-child(4) { --d: 3; } .chips li:nth-child(5), .route li:nth-child(5) { --d: 4; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) :is(.tag, .row, .spec, .cue, .chips li, .route li, .stat, .figcard, .btn, .stampc, .polaroid) { opacity: 1; transform: none; clip-path: inset(0 0 0 0); translate: none; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .leader i { clip-path: inset(0); }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .polaroid { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* ── buttons ────────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 12px 24px; border-radius: 100px 100px 100px 100px; border: 1px solid currentColor; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; transform: var(--mag, none); transition: color .35s var(--ease), border-color .35s, border-radius .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: translateY(101%); transition: transform .5s var(--ease), border-radius .5s var(--ease); }
.btn:hover::before { transform: none; border-radius: 0; }
.btn:hover { border-radius: 30px 30px 6px 6px; }
.btn--fill { background: var(--terra); color: var(--cream); border-color: var(--terra); }
.btn--fill::before { background: var(--ink); }
.btn--line { background: transparent; color: var(--fg); }
.btn--line::before { background: var(--terra); }
.btn--line:hover { color: var(--cream); border-color: var(--terra); }
.beat--dark .btn--fill { background: var(--cream); color: var(--terra-3); border-color: var(--cream); }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ═════════════ page below the film ═════════════ */
.page { position: relative; z-index: 30; background: var(--paper); color: var(--ink); }
.page::before { content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 39px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 20' preserveAspectRatio='none'%3E%3Cpath d='M0 20V14C10 14 10 4 20 4S30 14 40 14 50 4 60 4 70 14 80 14 90 4 100 4 110 14 120 14 130 4 140 4 150 14 160 14 170 4 180 4 190 14 200 14 210 4 220 4 230 14 240 14V20Z' fill='%23a55334'/%3E%3C/svg%3E") 0 0/480px 100% repeat-x; }

.marquee { position: relative; overflow: hidden; padding: 14px 0 18px; background: var(--terra); color: var(--cream); }
.marquee__track { display: flex; width: max-content; font-family: var(--script); font-size: clamp(46px, 6vw, 90px); line-height: 1.25; white-space: nowrap; transform: translate3d(var(--mx, 0px), 0, 0); }
.marquee__track span { padding-right: .4em; }
.marquee__track i { font-style: normal; font-family: var(--serif); font-size: .35em; vertical-align: middle; padding: 0 .5em; }

.sec { position: relative; padding: clamp(80px, 10vw, 150px) var(--gut); max-width: 1440px; margin: 0 auto; }
.sec--terra { max-width: none; background: var(--terra); color: var(--cream); }
.sec--terra > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.sec--paper2 { max-width: none; background: var(--paper-2); }
.sec--paper2 > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.sec__head { position: relative; margin-bottom: clamp(34px, 4.5vw, 60px); }
.sec__head .tag { color: rgba(43,29,22,.62); }
.sec--terra .sec__head .tag { color: rgba(238,221,197,.72); }
.sec__title { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 7.4vw, 118px); line-height: .92; letter-spacing: -.02em; margin: 0; }
.sec__title em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.12em; color: var(--terra); letter-spacing: 0; padding-left: .08em; }
.sec--terra .sec__title em { color: var(--cream); }
.sec__lede { max-width: 52ch; font-size: 20px; margin: 20px 0 0; color: rgba(43,29,22,.78); }
.arch-draw { position: absolute; right: 0; top: 0; width: 70px; height: 80px; }
.arch-draw path { fill: none; stroke: var(--terra); stroke-width: 1.2; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.is-in .arch-draw path, .is-in > .arch-draw path { stroke-dashoffset: 0; }
[data-reveal] .tag { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease) .1s; }
[data-reveal].is-in .tag { clip-path: inset(0); }
[data-reveal] .sec__title, [data-reveal] .sec__lede { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .9s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
[data-reveal] .sec__lede { transition-delay: .3s; }
[data-reveal].is-in .sec__title, [data-reveal].is-in .sec__lede { opacity: 1; transform: none; }
.filters[data-reveal], .builder[data-reveal], .story__text[data-reveal], .timeline[data-reveal], .bookform[data-reveal], .faq[data-reveal], .gallery[data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
:is(.filters, .builder, .story__text, .timeline, .bookform, .faq, .gallery)[data-reveal].is-in { opacity: 1; transform: none; }

/* filters */
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.filters__grp { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters__grp > .mono { width: 70px; color: rgba(43,29,22,.55); }
.chip { position: relative; padding: 9px 16px; border-radius: 100px; border: 1px solid rgba(43,29,22,.3); background: none; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; transform: var(--mag, none); transition: background-color .3s, color .3s, border-color .3s, border-radius .4s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--terra); color: var(--cream); border-color: var(--terra); border-radius: 18px 18px 4px 4px; }
.chip sup { font-size: 8px; margin-left: 3px; opacity: .7; }

/* tours grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 30px 26px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--cream); box-shadow: 0 0 0 1px rgba(43,29,22,.16); opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .7s var(--ease), transform .8s var(--ease), box-shadow .35s; transition-delay: calc(var(--i, 0) * 60ms); }
.card.is-in { opacity: 1; transform: none; }
.card.is-out { opacity: 0; transform: scale(.94); transition-delay: 0s; }
.card:hover { box-shadow: 0 0 0 1px var(--terra), 0 24px 40px -24px rgba(125,59,34,.5); }
.card__art { position: relative; margin: 10px 10px 0; aspect-ratio: 4/3; overflow: hidden; border-radius: 999px 999px 0 0 / 60% 60% 0 0; transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), border-radius .7s var(--ease); }
.card:hover .card__art { border-radius: 0; }
.card__art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.card:hover .card__art img { transform: scale(1.14); }
.card__wrap { position: relative; }
.card__stamp { position: absolute; right: 18px; bottom: -30px; z-index: 2; width: 76px; height: 76px; border-radius: 50%; background: var(--paper); color: var(--terra-3); display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 1px var(--terra); transform: rotate(-10deg); transition: transform .6s cubic-bezier(.3,1.6,.5,1); }
.card:hover .card__stamp { transform: rotate(8deg) scale(1.08); }
.card__stamp::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px dashed rgba(165,83,52,.6); }
.card__stamp b { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1; }
.card__stamp small { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__meta { display: flex; gap: 10px; color: rgba(43,29,22,.6); flex-wrap: wrap; }
.card__meta span + span::before { content: "·"; margin-right: 10px; }
.card__t { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1; margin: 0; padding-right: 70px; }
.card__d { margin: 0; font-size: 17px; color: rgba(43,29,22,.8); flex: 1; }
.card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px dotted rgba(43,29,22,.3); gap: 10px; }
.card__foot .mono { color: rgba(43,29,22,.6); }
.linkbtn { background: none; border: 0; padding: 4px 0; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--terra-3); border-bottom: 1px solid currentColor; }
.linkbtn:hover { color: var(--ink); }
.empty { padding: 30px 0; color: rgba(43,29,22,.6); }

/* builder */
.builder { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.fld { display: flex; flex-direction: column; gap: 8px; margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.fld > .mono, .fld legend { color: inherit; opacity: .75; margin-bottom: 2px; padding: 0; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld input, .fld select, .fld textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid currentColor; padding: 10px 2px; font-size: 20px; border-radius: 0; outline: none; transition: border-color .3s; }
.fld select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a55334' stroke-width='1.4'/%3E%3C/svg%3E") right 4px center/12px no-repeat; padding-right: 26px; }
.sec--terra .fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23eeddc5' stroke-width='1.4'/%3E%3C/svg%3E"); }
.sec--terra .fld select option { color: var(--ink); }
.sec--terra .fld input { color-scheme: dark; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-bottom-width: 2px; }
.stepper { display: inline-flex; align-items: center; border-bottom: 1px solid currentColor; }
.stepper button { width: 44px; height: 44px; background: none; border: 1px solid transparent; font-size: 22px; border-radius: 50%; transition: background-color .3s, color .3s; }
.stepper button:hover { background: var(--cream); color: var(--terra); }
.stepper output { min-width: 50px; text-align: center; font-size: 28px; font-weight: 500; font-variant-numeric: tabular-nums; }
.stepper output.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid currentColor; border-radius: 100px; padding: 3px; }
.seg label { position: relative; text-align: center; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 9px 6px; border-radius: 100px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; transition: background-color .35s, color .35s; }
.seg input:checked + span { background: var(--cream); color: var(--terra-3); }
.seg input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: 2px; }
.chk { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dotted currentColor; cursor: pointer; }
.chk input { appearance: none; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; margin: 0; display: grid; place-items: center; cursor: pointer; }
.chk input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.8,.5,1); }
.chk input:checked::after { transform: scale(1); }
.chk em { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .08em; opacity: .8; }

.ticket { position: sticky; top: calc(var(--hdr) + 24px); background: var(--paper); color: var(--ink); padding: 26px 26px 22px; box-shadow: 0 30px 50px -30px rgba(43,29,22,.7);
  -webkit-mask: radial-gradient(circle 12px at 0 62%, #0000 98%, #000) 0 0/51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, #0000 98%, #000) 100% 0/51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 62%, #0000 98%, #000) 0 0/51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, #0000 98%, #000) 100% 0/51% 100% no-repeat; }
.ticket__top { position: relative; padding-bottom: 16px; border-bottom: 1.5px dashed rgba(43,29,22,.3); }
.ticket__top > .mono { color: rgba(43,29,22,.6); }
.ticket__stamp { position: absolute; right: -4px; top: -6px; width: 78px; height: 78px; color: var(--terra); transform: rotate(-12deg); }
.ticket__stamp circle, .ticket__stamp path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.ticket.is-bump .ticket__stamp { animation: stampit .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes stampit { 0% { transform: rotate(-12deg) scale(1); } 35% { transform: rotate(6deg) scale(1.3); } 100% { transform: rotate(-12deg) scale(1); } }
.ticket__name { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; margin: 12px 90px 6px 0; }
.ticket__meta { margin: 0; color: rgba(43,29,22,.66); }
.ticket__lines { list-style: none; margin: 0; padding: 14px 0; display: grid; gap: 8px; min-height: 90px; }
.ticket__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 17px; animation: lineIn .5s var(--ease) both; }
.ticket__lines li span:last-child { font-family: var(--mono); font-size: 12px; }
.ticket__lines li.is-disc { color: var(--olive); }
@keyframes lineIn { from { opacity: 0; transform: translateX(-12px); } }
.ticket__total { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 14px 0; border-top: 1px solid rgba(43,29,22,.2); }
.ticket__total b { font-family: var(--serif); font-size: 58px; font-weight: 500; line-height: .9; color: var(--terra-3); font-variant-numeric: lining-nums tabular-nums; }
.ticket__total small { grid-column: 1 / -1; text-align: right; color: rgba(43,29,22,.6); margin-top: 4px; }
.ticket__bar { height: 34px; margin: 6px 0 16px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .85; }

/* guides roster */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.guide { position: relative; padding: 26px 22px 22px; background: var(--cream); box-shadow: 0 0 0 1px rgba(43,29,22,.14); text-align: center; opacity: 0; transform: translate3d(0, 30px, 0) rotate(-1deg); transition: opacity .7s var(--ease), transform .8s var(--ease), box-shadow .3s; transition-delay: calc(var(--i, 0) * 70ms); }
.guide.is-in { opacity: 1; transform: none; }
.guide.is-out { opacity: .18; transform: scale(.97); }
.guide:hover { box-shadow: 0 0 0 1px var(--terra); }
.guide__seal { position: relative; width: 150px; height: 150px; margin: 0 auto 14px; color: var(--terra); }
.guide__seal svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.guide:hover .guide__seal svg { transform: rotate(120deg); }
.guide__seal circle { fill: none; stroke: currentColor; stroke-width: 1.2; }
.guide__seal text { font-family: var(--mono); font-size: 9.4px; letter-spacing: .18em; fill: currentColor; }
.guide__seal b, .guide__seal img { position: absolute; inset: 30px; border-radius: 50% 50% 8px 8px; display: grid; place-content: center; background: var(--terra); color: var(--cream); font-family: var(--script); font-weight: 400; font-size: 52px; line-height: 1; padding-top: 8px; }
.guide__seal img { width: calc(100% - 60px); height: calc(100% - 60px); object-fit: cover; padding: 0; background: var(--navy); }
.guide__n { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 0; line-height: 1.05; }
.guide__r { margin: 4px 0 12px; color: rgba(43,29,22,.6); }
.guide__q { font-style: italic; margin: 0 0 14px; font-size: 17px; }
.guide__l { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; list-style: none; margin: 0; padding: 0; }
.guide__l li { padding: 4px 9px; border: 1px solid rgba(43,29,22,.25); border-radius: 100px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; }
.guide__l li.is-hit { background: var(--terra); color: var(--cream); border-color: var(--terra); }

/* history */
.skyline { position: relative; max-width: none !important; margin: 0 calc(-1 * var(--gut)) 40px; padding: 0 var(--gut); }
.skyline svg { width: 100%; height: auto; overflow: visible; }
.skyline path { fill: none; stroke: var(--terra); stroke-width: 1.6; stroke-linejoin: round; }
#skyPath { stroke-dasharray: var(--len, 9000); stroke-dashoffset: calc(var(--len, 9000) * (1 - var(--draw, 0))); }
.skyline__ground { stroke: rgba(43,29,22,.4) !important; stroke-width: 1 !important; }
.skyline__lbl { position: absolute; right: var(--gut); bottom: -26px; color: rgba(43,29,22,.55); }
.story__cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); }
.story__text p { font-size: 21px; line-height: 1.5; margin: 0 0 1em; max-width: 60ch; }
.dropcap::first-letter { float: left; font-family: var(--script); font-size: 7.2em; line-height: .8; padding: .06em .12em 0 0; color: var(--terra); }
.pull { margin: 34px 0; padding: 26px 0 26px 30px; border-left: 1px solid var(--terra); position: relative; font-size: clamp(28px, 3vw, 42px); font-style: italic; line-height: 1.1; color: var(--terra-3); }
.pull__q { position: absolute; left: 14px; top: -10px; font-family: var(--script); font-size: 120px; line-height: 1; color: rgba(165,83,52,.25); }
.pull cite { display: block; margin-top: 14px; font-style: normal; color: rgba(43,29,22,.6); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px dotted var(--terra); }
.timeline li { position: relative; padding: 0 0 26px; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--terra); }
.timeline b { display: block; font-family: var(--serif); font-size: 38px; font-weight: 500; color: var(--terra); line-height: 1; }
.timeline span { font-size: 18px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 44px); margin-top: 60px; }
.pol { margin: 0; background: var(--paper); padding: 12px 12px 42px; box-shadow: 0 18px 36px -18px rgba(43,29,22,.5); rotate: var(--r, 0deg); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), rotate .6s var(--ease); position: relative; }
.pol:hover { rotate: 0deg; }
.pol img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.pol figcaption { position: absolute; left: 14px; bottom: 14px; color: rgba(43,29,22,.7); }

/* booking */
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.book__sum { margin-top: 26px; padding: 14px 16px; border: 1px dashed var(--terra); color: var(--terra-3); }
.bookform .fld input, .bookform .fld select, .bookform .fld textarea { border-color: rgba(43,29,22,.4); }
.bookform .fld input:focus, .bookform .fld select:focus, .bookform .fld textarea:focus { border-color: var(--terra); }
.fld.is-bad input, .fld.is-bad select { border-color: #b3261e; }
.err { font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: .06em; color: #a8321c; min-height: 1em; }
.chk--consent { grid-template-columns: 22px 1fr; border: 0; margin: 4px 0 20px; font-size: 17px; }
.chk--consent .err { grid-column: 2; }
.booked { text-align: center; padding: 30px 20px; background: var(--cream); box-shadow: 0 0 0 1px rgba(43,29,22,.15); outline: none; }
.booked__stamp { width: 180px; height: 180px; margin: 0 auto 10px; color: var(--terra); animation: stampDown .8s cubic-bezier(.3,1.6,.5,1) both; }
.booked__stamp circle, .booked__stamp path { fill: none; stroke: currentColor; stroke-width: 1.6; }
.booked__stamp text { font-family: var(--mono); font-size: 10.4px; letter-spacing: .18em; fill: currentColor; }
@keyframes stampDown { 0% { opacity: 0; transform: scale(2.2) rotate(-30deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }
.booked__h { font-family: var(--serif); font-size: 44px; font-weight: 500; margin: 0 0 10px; }
.booked p { color: rgba(43,29,22,.7); line-height: 1.8; }

/* faq */
.faq { max-width: 900px; }
.faq details { border-top: 1px solid rgba(43,29,22,.2); }
.faq details:last-child { border-bottom: 1px solid rgba(43,29,22,.2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--terra);
  background: linear-gradient(var(--terra), var(--terra)) center/12px 1px no-repeat, linear-gradient(var(--terra), var(--terra)) center/1px 12px no-repeat; transition: transform .5s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--cream); }
.faq summary:hover { color: var(--terra-3); }
.faq p { margin: 0; padding: 0 0 24px; max-width: 62ch; font-size: 19px; color: rgba(43,29,22,.8); }
.faq details[open] p { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* footer */
.foot { position: relative; background: var(--terra); color: var(--cream); padding: 30px 0 90px; overflow: hidden; }
.foot__marquee { overflow: hidden; }
.foot__track { display: flex; width: max-content; font-family: var(--script); font-size: clamp(120px, 22vw, 360px); line-height: 1.25; white-space: nowrap; transform: translate3d(var(--mx, 0px), 0, 0); }
.foot__track span { padding-right: .3em; }
.foot__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 40px var(--gut) 34px; border-top: 1px solid rgba(238,221,197,.3); max-width: 1440px; margin: 0 auto; }
.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__col > .mono { color: rgba(238,221,197,.7); margin-bottom: 6px; }
.foot__col p { margin: 0 0 6px; font-size: 19px; }
.foot__col a { text-decoration: none; font-size: 21px; font-style: italic; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100%/0 1px no-repeat; transition: background-size .4s var(--ease); }
.foot__col a:hover { background-size: 100% 1px; }
.news { display: flex; flex-wrap: wrap; gap: 10px; }
.news input { flex: 1 1 180px; min-width: 0; background: none; border: 0; border-bottom: 1px solid var(--cream); padding: 10px 2px; font-size: 18px; outline: none; }
.news input::placeholder { color: rgba(238,221,197,.55); }
.news .btn--fill { background: var(--cream); color: var(--terra-3); border-color: var(--cream); }
.news .err { flex-basis: 100%; color: var(--cream); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 18px var(--gut) 0; max-width: 1440px; margin: 0 auto; color: rgba(238,221,197,.7); }
.totop { background: none; border: 0; color: var(--cream); font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 0; }
.totop:hover { text-decoration: underline; }

/* ── cursor ─────────────────────────────────────────────── */
.has-cursor, .has-cursor * { cursor: none !important; }
.cur { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; }
.cur--dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.cur--ring { width: 36px; height: 36px; display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), opacity .3s; }
.cur--ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--terra); animation: spin 8s linear infinite; transition: background-color .3s, border-style .3s; }
.cur--ring.is-on { width: 56px; height: 56px; }
.cur--ring.is-lg { width: 84px; height: 84px; }
.cur--ring.is-lg::before { background: var(--terra); border-style: solid; }
.cur--ring.is-down { width: 26px; height: 26px; }
.cur--ring.is-out { opacity: 0; }
.cur__l { position: relative; font-family: var(--script); font-size: 26px; color: var(--cream); line-height: 1; padding-top: 4px; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .chrome__nav { display: none; }
  .burger { display: block; }
  .switch { margin-left: auto; }
}
@media (max-width: 900px) {
  .builder, .book, .story__cols { grid-template-columns: 1fr; }
  .ticket { position: relative; top: 0; }
  .z--stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .pol:last-child { display: none; }
}
@media (max-width: 700px) {
  :root { --hdr: 52px; }
  .hide-sm { display: none !important; }
  .switch__txt { display: none; }
  .mark__txt { font-size: 26px; }
  .hud__side, .hud__compass { display: none; }
  .chapter { left: var(--gut); bottom: 72px; }
  .chapter__name { font-size: 17px; }
  .dock { bottom: 14px; }
  .band-h { left: var(--gut); right: var(--gut); font-size: clamp(22px, 6.6vw, 30px); }
  .z--hero-l, .z--bl, .z--sky-l, .z--sky-r { left: var(--gut); right: var(--gut); max-width: none; }
  [data-mode="scrub"] .z:not(.z--foot):not(.z--stats):not(.z--centre) { background: rgba(243,230,210,.92); padding: 14px 16px; box-shadow: 0 0 0 1px rgba(43,29,22,.15); }
  [data-mode="scrub"] .beat--dark .z { background: none !important; box-shadow: none !important; padding: 0 !important; }
  .z--hero-l { top: auto; bottom: 170px; }
  .z--bl { bottom: 116px; }
  .z--foot { left: var(--gut); right: var(--gut); bottom: 116px; }
  .z--foot .row { flex-wrap: nowrap; }
  .z--foot .btn { padding: 11px 14px; font-size: 10.5px; }
  .z--sky-l, .z--sky-r { top: calc(var(--band) + 14px); }
  .z--sky-c { top: calc(var(--band) + 14px); }
  .z--stats { bottom: 116px; gap: 14px; }
  .stat b { font-size: 44px; }
  .z--centre { top: calc(var(--band) + 10px); }
  .script-h { font-size: 64px; }
  .copy { font-size: 16.5px; }
  .kicker { font-size: 19px; }
  .route { display: none; }
  .title > span { font-size: clamp(80px, 24vw, 140px); }
  [data-mode="scrub"] .beat:not(.beat--dark) .btn--line { background: rgba(243,230,210,.94); }
  .band-h--script { font-size: 64px; }
  .fld-row { grid-template-columns: 1fr; gap: 0; }
  .foot__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .pol:last-child { display: block; }
  .seg span { font-size: 9.5px; padding: 9px 2px; }
  [data-mode="video"] .lay { padding-left: var(--gut); padding-right: var(--gut); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* bottom chrome follows the film's lower third (cream only on the Colosseum scenes) */
:root.is-lowlight .chapter { --fg: var(--ink); color: rgba(43,29,22,.6); }
:root:not(.is-lowlight) .hud__br--bl, :root:not(.is-lowlight) .hud__br--br { border-color: rgba(238,221,197,.5); }
/* readability halo behind copy on the busy arena lines */
.beat--dark .z--centre::before { content: ""; position: absolute; inset: -40px -80px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(150,72,44,.92), rgba(150,72,44,.7) 55%, rgba(150,72,44,0)); }
[data-mode="video"] .beat--dark .z--centre::before { display: none; }
.book .arch-draw { display: none; }
:root.is-paper .rail__ticks { display: none; }
[data-mode="video"] .polaroid { width: min(280px, 64vw); max-width: none; rotate: 3deg; }
[data-mode="video"] .stampc { width: 140px; height: 140px; }
