/* ───────────────────────────────────────────────────────────
   Tavola — palette taken straight off the film's own frames.
   The film is shot top-down with the subject dead centre, so
   this interface is radial: it lives in the corners and along
   the edges and never crosses the middle.
   ─────────────────────────────────────────────────────────── */

:root {
  --terra:  #b4502e;
  --terra-d:#8a3d22;
  --terra-x:#6e2f1b;
  --crust:  #c9822f;
  --cream:  #f0e6d2;
  --moz:    #f7f3e8;
  --basil:  #3e6b34;
  --tomato: #c0301f;
  --ink:    #2a1710;

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --gut:  clamp(18px, 4vw, 76px);
  --ease: cubic-bezier(.22,1,.36,1);
  --max:  1280px;
  --scroll-length: 1150vh;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--terra); color: var(--cream);
  font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; }

.skip { position: fixed; top: -100px; left: 12px; z-index: 200; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 3px; text-decoration: none; font-size: 13px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--crust); outline-offset: 3px; }

/* ── loader ─────────────────────────────────────────────── */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--terra); transition: opacity .7s var(--ease), visibility .7s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { font-family: var(--serif); font-size: 32px; font-weight: 400; font-variation-settings: "SOFT" 40, "WONK" 1; }
.loader__ring { width: 48px; height: 48px; }
.loader__ring svg { transform: rotate(-90deg); }
.loader__ring circle { fill: none; stroke-width: 2; stroke: rgba(240,230,210,.2); }
.loader__fill { stroke: var(--cream); stroke-dasharray: 132; stroke-dashoffset: 132; transition: stroke-dashoffset .3s linear; }

/* ── film ───────────────────────────────────────────────── */
.film { position: fixed; inset: 0; z-index: 0; background: var(--terra); }
.film canvas, .film__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__fallback { display: none; }
/* the frames are already dark enough at the edges — only a whisper of
   vignette, so the render keeps its own contrast */
.film__grade { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(78% 70% at 50% 50%, rgba(110,47,27,0) 42%, rgba(110,47,27,.46) 100%); }

/* ── chrome ─────────────────────────────────────────────── */
.chrome { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 18px var(--gut); }
.chrome::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(110,47,27,.62), rgba(110,47,27,0)); }
.mark { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -.01em; color: var(--cream); text-decoration: none; }
.mark--lg { font-size: 28px; }
.chrome__nav { margin-left: auto; display: flex; gap: 24px; }
.chrome__nav a { font-size: 13px; color: rgba(240,230,210,.76); text-decoration: none; position: relative; padding-bottom: 3px; }
.chrome__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--crust); transition: width .35s var(--ease); }
.chrome__nav a:hover { color: var(--cream); }
.chrome__nav a:hover::after { width: 100%; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--cream); 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: 39; background: var(--terra-x); display: flex; flex-direction: column; justify-content: center; gap: 2px; 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(--serif); font-size: clamp(34px,9vw,58px); color: var(--cream); text-decoration: none; padding: 6px 0; }

/* ── buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; padding: 12px 20px; border-radius: 100px; border: 1px solid var(--cream); transform: var(--mag, translate(0,0)); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn--fill { background: var(--cream); color: var(--ink); }
.btn--fill:hover { background: var(--crust); border-color: var(--crust); color: var(--ink); }
.btn--line { background: transparent; color: var(--cream); }
.btn--line:hover { background: rgba(240,230,210,.14); }
.btn--lg { padding: 14px 26px; font-size: 13.5px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ── stage ──────────────────────────────────────────────── */
.stage { position: relative; z-index: 10; }
.stage__spacer { height: var(--scroll-length); }
.overlays { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
.beat { position: absolute; inset: 0; opacity: 0; will-change: opacity; }

/* the radial layout: four corner zones, nothing in the middle */
.lay { position: absolute; inset: 0; padding: 92px var(--gut) 86px; }
.lay--corners { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: 1fr 1fr; gap: 16px; }
.z { display: flex; flex-direction: column; min-width: 0; max-width: min(30ch, 100%); }
/* a corner heading must never run past the gutter — the film is centred and
   the copy has to stay out of it */
.z > * { max-width: 100%; }
.z .h2, .z .display { overflow-wrap: break-word; hyphens: auto; }
.z .h2 { font-size: clamp(26px, 3.1vw, 46px); }
.z--tl { grid-area: 1/1; align-items: flex-start; justify-content: flex-start; text-align: left; }
.z--tr { grid-area: 1/2; align-items: flex-end;   justify-content: flex-start; text-align: right; justify-self: end; }
.z--bl { grid-area: 2/1; align-items: flex-start; justify-content: flex-end;   text-align: left; }
.z--br { grid-area: 2/2; align-items: flex-end;   justify-content: flex-end;   text-align: right; justify-self: end; }
.lay--center { display: grid; place-content: center; justify-items: center; text-align: center; }
.lay--center > * { max-width: 46ch; }
.beat > * { pointer-events: none; }
.z > *, .lay--center > *, .tags > * { pointer-events: auto; }

/* ── type ───────────────────────────────────────────────── */
.display { font-family: var(--serif); font-size: clamp(38px, 5.6vw, 82px); font-weight: 400; line-height: .98; letter-spacing: -.025em; margin: 0 0 14px; font-variation-settings: "SOFT" 30, "WONK" 1; }
.display em { font-style: italic; color: var(--crust); }
.h1 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 62px); font-weight: 400; line-height: 1.0; letter-spacing: -.022em; margin: 0 0 14px; }
.h2 { font-family: var(--serif); font-size: clamp(28px, 3.8vw, 56px); font-weight: 400; line-height: 1.0; letter-spacing: -.022em; margin: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(240,230,210,.6); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--crust); }
.z--tr .eyebrow, .z--br .eyebrow { flex-direction: row-reverse; }

.lede { font-size: clamp(14px, 1.1vw, 16.5px); line-height: 1.6; color: rgba(240,230,210,.82); margin: 0; }
.lede--sm { font-size: 12.5px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.row--split { justify-content: space-between; align-items: center; }

/* ── hero corner furniture ──────────────────────────────── */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: right; }
.facts li { display: flex; align-items: baseline; justify-content: flex-end; gap: 9px; }
.facts b { font-family: var(--serif); font-size: clamp(24px,2.6vw,38px); line-height: 1; color: var(--crust); }
.facts span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(240,230,210,.55); }

.open { display: flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid rgba(240,230,210,.28); border-radius: 100px; }
.open i { width: 7px; height: 7px; border-radius: 50%; background: var(--basil); box-shadow: 0 0 0 0 rgba(62,107,52,.6); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62,107,52,.55); } 70% { box-shadow: 0 0 0 9px rgba(62,107,52,0); } 100% { box-shadow: 0 0 0 0 rgba(62,107,52,0); } }
.open span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(240,230,210,.62); }
.open b { font-size: 12.5px; font-variant-numeric: tabular-nums; }

.spec { margin: 0; display: grid; gap: 7px; text-align: left; }
.spec div { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 6px; border-bottom: 1px dashed rgba(240,230,210,.2); min-width: 210px; }
.spec dt { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(240,230,210,.52); }
.spec dd { margin: 0; font-family: var(--serif); font-size: 15px; }

.ing { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; text-align: left; }
.ing li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(240,230,210,.86); }
.ing i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }

/* ── the slice menu: price tags on a ring around the film ── */
.beat--menu .tags {
  position: absolute; inset: 0; list-style: none; margin: 0; padding: 0;
  pointer-events: none;
}
.beat--menu .tags li {
  position: absolute; top: 50%; left: 50%;
  display: flex; align-items: baseline; gap: 8px; white-space: nowrap;
  padding: 7px 13px; border-radius: 100px;
  background: rgba(42,23,16,.62); border: 1px solid rgba(240,230,210,.24);
  backdrop-filter: blur(8px);
  /* placed on a ring: rotate out to the slice angle, translate, rotate back */
  transform:
    rotate(calc(var(--a) * 1deg)) translateX(var(--r, 30vmin)) rotate(calc(var(--a) * -1deg))
    translate(-50%, -50%) scale(.82);
  opacity: 0;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.beat--menu.is-live .tags li { opacity: 1; transform:
  rotate(calc(var(--a) * 1deg)) translateX(var(--r, 34vmin)) rotate(calc(var(--a) * -1deg))
  translate(-50%, -50%) scale(1); }
.beat--menu .tags b { font-size: 12.5px; font-weight: 500; }
.beat--menu .tags span { font-family: var(--serif); font-size: 13px; color: var(--crust); }

/* ── radial HUD ─────────────────────────────────────────── */
.dial { position: fixed; right: var(--gut); bottom: 40px; z-index: 25; width: 78px; height: 78px; pointer-events: none; }
.dial svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.dial circle { fill: none; stroke-width: 1.5; }
.dial__t { stroke: rgba(240,230,210,.2); }
.dial__p { stroke: var(--crust); stroke-dasharray: 339.3; stroke-dashoffset: 339.3; }
.dial__n { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1px; }
.dial__n b { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.dial__n span { font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(240,230,210,.6); }

.cue { position: fixed; left: 50%; bottom: 34px; z-index: 25; transform: translateX(-50%); display: grid; justify-items: center; gap: 7px; pointer-events: none; transition: opacity .5s var(--ease); }
.cue span { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(240,230,210,.45); }
.cue i { width: 1px; height: 22px; background: linear-gradient(to bottom, var(--crust), transparent); animation: drop 1.9s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: 50% 0; } 45% { transform: scaleY(1); transform-origin: 50% 0; } 46% { transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }
.cue.is-gone { opacity: 0; }

/* ── page below the film ────────────────────────────────── */
.page { position: relative; z-index: 30; background: var(--terra-x); }
.sec { padding: clamp(66px, 9vw, 140px) var(--gut); max-width: var(--max); margin: 0 auto; }
.sec--tint { max-width: none; background: var(--terra-d); }
.sec--tint > * { max-width: var(--max); margin-inline: auto; }
.sec__head { margin-bottom: clamp(32px,4.5vw,58px); }
.sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.sec__head .lede { margin-top: 10px; max-width: 52ch; }

.r { opacity: 0; transform: translateY(22px); }
.r--in { opacity: 1; transform: none; transition: opacity .8s var(--ease) var(--d,0ms), transform .8s var(--ease) var(--d,0ms); }

/* ── menu list ──────────────────────────────────────────── */
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { display: grid; grid-template-columns: 44px minmax(0,1fr) 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(240,230,210,.16); transition: background .3s var(--ease); }
.menu li:first-child { border-top: 1px solid rgba(240,230,210,.16); }
.menu li:hover { background: rgba(240,230,210,.05); }
.menu__n { font-size: 11px; letter-spacing: .1em; color: rgba(240,230,210,.4); }
.menu b { font-family: var(--serif); font-size: clamp(19px,2vw,26px); font-weight: 400; display: block; }
.menu p { margin: 5px 0 0; font-size: 13.5px; line-height: 1.5; color: rgba(240,230,210,.66); max-width: 44ch; }
.dots { border-bottom: 1px dotted rgba(240,230,210,.3); transform: translateY(-4px); }
.menu__p { font-family: var(--serif); font-size: clamp(18px,1.9vw,24px); color: var(--crust); font-variant-numeric: tabular-nums; }

/* ── timeline ───────────────────────────────────────────── */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(240,230,210,.16); border-block: 1px solid rgba(240,230,210,.16); }
.timeline li { background: var(--terra-d); padding: clamp(22px,2.6vw,34px) 0; display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: baseline; }
.timeline span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--crust); }
.timeline b { font-family: var(--serif); font-size: clamp(20px,2.2vw,30px); font-weight: 400; }
.timeline p { grid-column: 2; margin: 8px 0 0; font-size: 14px; line-height: 1.65; color: rgba(240,230,210,.74); max-width: 62ch; }

/* ── room ───────────────────────────────────────────────── */
.room { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.room figure { margin: 0; }
.room figure::before { content: ""; display: block; aspect-ratio: 3/4; background: linear-gradient(160deg, var(--a), var(--b)); border-radius: 4px; }
.room figcaption { padding-top: 11px; }
.room b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.room span { font-size: 12px; color: rgba(240,230,210,.6); }

/* ── accordion ──────────────────────────────────────────── */
.acc { border-top: 1px solid rgba(240,230,210,.18); }
.acc__i { border-bottom: 1px solid rgba(240,230,210,.18); }
.acc__b { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: none; border: 0; color: var(--cream); cursor: pointer; text-align: left; padding: 20px 0; font-family: var(--serif); font-size: clamp(18px,2vw,24px); }
.acc__b i { position: relative; width: 13px; height: 13px; flex: none; }
.acc__b i::before, .acc__b i::after { content: ""; position: absolute; background: var(--crust); transition: transform .35s var(--ease); }
.acc__b i::before { left: 0; top: 6px; width: 13px; height: 1.5px; }
.acc__b i::after { top: 0; left: 6px; width: 1.5px; height: 13px; }
.acc__i.is-open .acc__b i::after { transform: scaleY(0); }
.acc__p { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.acc__p p { margin: 0; padding-bottom: 20px; font-size: 14px; line-height: 1.65; color: rgba(240,230,210,.74); max-width: 68ch; }

/* ── booking ────────────────────────────────────────────── */
.sec--book { max-width: none; background: var(--terra); }
.book { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px,5vw,72px); align-items: start; }
.book__meta { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 11px; }
.book__meta li { display: grid; grid-template-columns: 96px 1fr; font-size: 14px; }
.book__meta span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(240,230,210,.5); padding-top: 3px; }
.book__meta a { color: var(--crust); text-decoration: none; }
.book__meta a:hover { text-decoration: underline; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(240,230,210,.55); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; color: var(--cream); background: rgba(42,23,16,.28); border: 1px solid rgba(240,230,210,.24); border-radius: 4px; padding: 12px 14px; width: 100%; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--crust); outline: none; background: rgba(42,23,16,.42); }
.field.is-bad input, .field.is-bad select { border-color: var(--tomato); }
.formstatus { font-size: 12.5px; margin: 0; color: rgba(240,230,210,.6); }
.formstatus[data-tone="bad"] { color: #ff9c7a; }
.formstatus[data-tone="good"] { color: #9ad07f; }
.form.is-sent .field { opacity: .5; pointer-events: none; }

/* ── footer ─────────────────────────────────────────────── */
.foot { background: var(--ink); padding: clamp(42px,6vw,66px) var(--gut) 30px; }
.foot__top, .foot__bot { max-width: var(--max); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.foot__top { padding-bottom: 28px; border-bottom: 1px solid rgba(240,230,210,.14); }
.foot nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { font-size: 12.5px; color: rgba(240,230,210,.68); text-decoration: none; }
.foot a:hover { color: var(--crust); }
.foot__bot { padding-top: 20px; justify-content: space-between; }
.foot__bot span { font-size: 11.5px; color: rgba(240,230,210,.4); }

/* ═══ MOTION ══════════════════════════════════════════════ */

.beat::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(70% 62% at 50% 50%, rgba(110,47,27,0) 34%, rgba(110,47,27,.72) 100%); }
.beat.is-live::before { opacity: 1; }

.is-split { display: block; }
.ln { display: block; overflow: hidden; padding-bottom: .08em; }
.ln i { display: block; font-style: inherit; transform: translateY(110%); opacity: 0;
  transition: transform 1s var(--ease), opacity .75s var(--ease); transition-delay: calc(var(--li) * 95ms); }
.beat.is-live .ln i, .wipe.is-live .ln i, .sec__head.is-live .ln i { transform: none; opacity: 1; }
.ln i em { font-style: italic; }

.z > *, .lay--center > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.z > .display, .z > .h2, .lay--center > .display, .lay--center > .h2 { opacity: 1; transform: none; }
.beat.is-live .z > *, .beat.is-live .lay--center > * { opacity: 1; transform: none; }
.beat.is-live .z > *:nth-child(2) { transition-delay: .12s; }
.beat.is-live .z > *:nth-child(3) { transition-delay: .2s; }
.beat.is-live .lay--center > *:nth-child(2) { transition-delay: .14s; }
.beat.is-live .lay--center > *:nth-child(3) { transition-delay: .24s; }

/* corner zones drift outward across the beat's window */
.beat.is-live .z--tl { transform: translate(calc(var(--t,0) * -9px), calc(var(--t,0) * -11px)); }
.beat.is-live .z--tr { transform: translate(calc(var(--t,0) *  9px), calc(var(--t,0) * -11px)); }
.beat.is-live .z--bl { transform: translate(calc(var(--t,0) * -9px), calc(var(--t,0) *  11px)); }
.beat.is-live .z--br { transform: translate(calc(var(--t,0) *  9px), calc(var(--t,0) *  11px)); }

.eyebrow::before { width: 0; transition: width .8s var(--ease) .25s; }
.beat.is-live .eyebrow::before, .is-live .eyebrow::before { width: 22px; }

.wipe > *:not(.ln) { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.wipe.is-live > *:not(.ln) { opacity: 1; transform: none; }
.wipe.is-live > *:nth-child(2) { transition-delay: .1s; }
.wipe.is-live > *:nth-child(3) { transition-delay: .18s; }

.has-cursor, .has-cursor * { cursor: none !important; }
.cur { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; border-radius: 50%; }
.cur--dot { width: 6px; height: 6px; background: var(--crust); }
.cur--ring { width: 32px; height: 32px; border: 1px solid rgba(240,230,210,.5); display: grid; place-items: center;
  transition: width .32s var(--ease), height .32s var(--ease), background .32s var(--ease), border-color .32s var(--ease), opacity .3s; }
.cur--ring.is-on { width: 52px; height: 52px; background: rgba(240,230,210,.12); }
.cur--ring.is-lg { width: 86px; height: 86px; background: var(--cream); border-color: transparent; }
.cur--ring.is-down { width: 24px; height: 24px; }
.cur--ring.is-out { opacity: 0; }
.cur__l { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cur--ring.is-lg .cur__l { opacity: 1; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .room { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .book, .form { grid-template-columns: 1fr; }
  .z { max-width: 26ch; }
}
@media (max-width: 860px) {
  .beat--menu .tags li { --r: 26vmin; font-size: 11px; padding: 5px 10px; }
  .beat--menu .tags b { font-size: 11px; }
}
@media (max-width: 760px) {
  :root { --scroll-length: 1000vh; }
  .chrome__nav, .chrome .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  /* on a phone the film fills the frame — stack the copy at the bottom */
  .lay--corners { grid-template-columns: 1fr; grid-template-rows: auto; align-content: end; gap: 12px; padding-bottom: 96px; }
  .z { max-width: none; align-items: flex-start !important; text-align: left !important; justify-content: flex-end; }
  .z--tr .eyebrow, .z--br .eyebrow { flex-direction: row; }
  .z--tr, .z--br { justify-self: start; }
  .facts { text-align: left; }
  .facts li { justify-content: flex-start; }
  .beat::before { background: linear-gradient(to bottom, rgba(110,47,27,0) 16%, rgba(110,47,27,.72) 46%, rgba(110,47,27,.95) 100%); }
  /* the ring cannot work at phone width — the tags become a grid, pinned to
     the bottom like every other beat's copy */
  .beat--menu { display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 var(--gut) 96px; }
  .beat--menu .tags { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .beat--menu .tags li { position: static; transform: none !important; opacity: 1;
    justify-content: space-between; }
  .dial { right: 14px; bottom: 90px; width: 58px; height: 58px; }
  .dial__n b { font-size: 14px; }
  .dial__n span { display: none; }
  .cue { display: none; }
  .menu li { grid-template-columns: 34px 1fr auto; }
  .menu .dots { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .timeline p { grid-column: 1; }
  .room { grid-template-columns: 1fr; }
  .book__meta li { grid-template-columns: 1fr; gap: 2px; }
  .foot nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film canvas { display: none; }
  .film__fallback { display: block; }
  .stage__spacer { height: 640vh; }
  .ln i, .z > *, .lay--center > *, .wipe > *:not(.ln), .r, .beat--menu .tags li {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .open i, .cue i { animation: none; }
  .cur { display: none; }
}
