/* RAGA — tuned differently. Brand palette and faces kept from ragazzi.co.za. */
:root {
  --bg: #060402;
  --surface: #0e0b08;
  --surface-2: #1a1510;
  --gold: #D4AE6A;
  --gold-light: #e8c97e;
  --cherry: #6e0e10;
  --cherry-deep: #4a090b;
  --cream: #f5ede0;
  --ink: #f5ede0;
  --text: #ddd0b4;
  --muted: #a8977a;
  --paper: #f5ede0;
  --paper-2: #ebe0cd;
  --paper-ink: #1a1510;
  --paper-muted: #5d4f3a;

  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: Montserrat, "Helvetica Neue", Arial, sans-serif;

  --t-display: clamp(52px, 7vw, 112px);
  --t-h2: clamp(36px, 4.6vw, 68px);
  --t-statement: clamp(21px, 1.9vw, 28px);
  --t-body: 17px;
  --t-small: 14px;

  --m: clamp(16px, 2.4vw, 36px);
  --hud: 56px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) { :root { --hud: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--bg); }

h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1; text-wrap: balance; }
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); }
h3 { font-family: var(--serif); font-weight: 500; font-size: var(--t-statement); line-height: 1.15; }
.lede { font-size: var(--t-body); color: var(--text); max-width: 44ch; }
.statement { font-family: var(--serif); font-size: var(--t-statement); line-height: 1.3; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--bg); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 0; }

/* Buttons and links: one shape, square, flat */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--bg);
  font: 600 var(--t-small)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 18px 24px;
  transition: background-color .2s, transform .15s var(--ease);
}
.btn svg { fill: currentColor; }
.btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 13px 18px; }
.btn-ghost { background: var(--surface-2); color: var(--cream); }
.btn-ghost:hover { background: var(--cherry); }
.btn-ghost:disabled { color: var(--muted); background: var(--surface); cursor: default; transform: none; }
.link {
  color: var(--gold-light); font-size: var(--t-body);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: color .2s;
}
.link:hover { color: var(--cream); }

/* Entrances (only when script runs) */
.js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rv].in { opacity: 1; transform: none; }

/* Notice strip */
.notice { background: var(--cherry); color: var(--cream); overflow: hidden; height: 40px; display: flex; align-items: center; }
.notice-run { display: flex; width: max-content; animation: run 38s linear infinite; }
.notice p { white-space: nowrap; font-size: var(--t-small); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding-right: 1.2em; }
.notice .sep { display: inline-block; width: 7px; height: 7px; background: var(--gold-light); transform: rotate(45deg); margin: 0 1.1em 1px; }
@keyframes run { to { transform: translateX(-50%); } }

/* Navigation */
.nav {
  position: absolute; top: 40px; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--m);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-light); font: 500 22px/1 var(--serif); letter-spacing: .28em; }
.brand img { width: 44px; height: 44px; border-radius: 50%; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(180deg); }
.nav nav { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav nav a { font-size: var(--t-small); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--cream); padding: 8px 0; transition: color .2s; }
.nav nav a:hover { color: var(--gold-light); }
@media (max-width: 760px) {
  .nav nav a:not([href="#menu"]) { display: none; }
  .nav nav a, .nav .btn { white-space: nowrap; }
  .nav { gap: 12px; }
  .nav .btn-small { padding: 13px 14px; letter-spacing: .1em; }
  .brand span { display: none; }
}

/* 1. The stage */
.stage { position: relative; background: var(--bg); }
.stage-pin { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.js .stage-pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.3) saturate(.8); transform-origin: 50% 40%; }
.scene { position: absolute; inset: 0; perspective: 1800px; pointer-events: none; z-index: 1; }
.scene-root, .deck, .slab, .lid-pivot { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.scene-root { left: 50%; top: 50%; }
.face { position: absolute; }
.face svg { width: 100%; height: 100%; max-width: none; }
.key { pointer-events: auto; cursor: pointer; transition: transform .12s; }
.c-brand { font: 600 15px var(--serif); letter-spacing: .3em; }
.c-side { font: 600 10.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.c-name { font: 600 21px var(--serif); }
.c-title { font: italic 400 15px var(--serif); }
.d-count { font: 500 32px var(--sans); letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.d-brand { font: 500 30px var(--serif); letter-spacing: .4em; }
.d-lid { font: italic 400 22px var(--serif); }

.stage-copy {
  position: relative; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  padding: 140px var(--m) 40px;
}
.stage-copy > * { pointer-events: auto; }
.js .stage-copy { position: absolute; inset: 0; justify-content: center; padding: 60px var(--m) var(--hud) calc(var(--m) + 3vw); }
.js .stage-copy > * { max-width: min(46vw, 640px); }
.js .copy-spin { opacity: 0; visibility: hidden; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 8px; }
.tracks { display: grid; gap: 6px; margin-top: 6px; }
.tracks li { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: var(--t-statement); line-height: 1.25; color: var(--muted); transition: color .3s, transform .4s var(--ease); }
.tracks li::before { content: ""; flex: none; width: 10px; height: 12px; background: var(--surface-2); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: background-color .3s; }
.tracks li em { font-size: .8em; }
.tracks li.on { color: var(--cream); transform: translateX(10px); }
.tracks li.on::before { background: var(--gold); }
@media (max-width: 899px) {
  .js .stage-copy { padding: 128px var(--m) calc(var(--hud) + 20px); }
  .js .stage-copy > * { max-width: none; }
  .js .copy-hero { justify-content: flex-start; gap: 16px; }
  .js .copy-spin { justify-content: flex-end; gap: 12px; }
  .copy-spin h2 { font-size: 34px; }
  .copy-spin .lede { display: none; }
  .tracks li { font-size: 19px; }
}
/* Reduced motion: no pin, the deck sits beside the words */
.js .stage.still .copy-spin { display: none; }

/* 2. The story */
.about { padding: 20px; }
.about-panel {
  position: relative; overflow: hidden; background: var(--surface);
  min-height: 108vh; padding: 56px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 6vw;
}
.about-head { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.about-head h2 { max-width: 13em; }
.about-disc { position: relative; width: 40vw; aspect-ratio: 1; margin-bottom: calc(-56px - 8vw); border-radius: 50%; overflow: hidden; }
.about-disc img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transition: transform 1.6s var(--ease); }
.about-disc:hover img { transform: scale(1.05); }
.about-disc::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--surface); }
.about-text { display: flex; flex-direction: column; align-items: flex-start; gap: 44px; max-width: 380px; padding-top: 8px; }
.about-text h3 { margin-bottom: 12px; color: var(--gold-light); }
.about-text p { color: var(--cream); }
.about-text .statement { color: var(--gold-light); }
@media (max-width: 899px) {
  .about { padding: 10px; }
  .about-panel { grid-template-columns: 1fr; padding: 40px 20px 0; gap: 40px; min-height: 0; }
  .about-head { display: contents; }
  .about-head h2 { font-size: 7.4vw; }
  .about-text { max-width: none; gap: 32px; }
  .about-disc { order: 3; width: 86vw; justify-self: center; margin-bottom: -22vw; }
}

/* 3. The menu */
.menu { position: relative; padding-top: 14vh; }
.menu-pin { display: grid; gap: 24px; padding: 0 var(--m); }
.menu-head { display: grid; gap: 14px; }
.menu-tabs { display: flex; gap: 6px; }
.menu-tabs button {
  font-size: var(--t-small); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--cream); background: var(--surface-2); padding: 12px 14px; text-align: left;
  transition: background-color .2s, color .2s, transform .15s var(--ease);
}
.menu-tabs button:hover { background: var(--cherry); }
.menu-tabs button:active { transform: translateY(1px); }
.menu-tabs button.on { background: var(--gold); color: var(--bg); }
.book-stage, .book-controls, .book-only { display: none; }
.noscript { padding: 40px var(--m); }

/* paper typography, shared by the book and the fold-out */
.mc h3 { font-size: 38px; line-height: 1; color: var(--cherry); letter-spacing: -0.01em; }
.mc p { font: italic 400 16px/1.35 var(--serif); color: var(--paper-muted); margin-top: 8px; }
.mc { padding-bottom: 12px; }
.mi + .mc { margin-top: 22px; }
.mg { padding: 12px 0 4px; }
.mg h4 { font: 600 21px/1.1 var(--serif); margin: 0; color: var(--paper-ink); }
.mg p { font: italic 400 15px/1.3 var(--serif); color: var(--paper-muted); margin-top: 2px; }
.mi { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; padding: 6px 0; line-height: 1.35; }
.mi-n { font-weight: 600; font-size: 16px; }
.mi-p { font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mi-d { grid-column: 1 / -1; font-size: 14px; color: var(--paper-muted); line-height: 1.45; }
.mi-x { grid-column: 1 / -1; font: italic 400 16px/1.3 var(--serif); color: var(--cherry); }
.mi.row { padding: 2.5px 0; }
.mi.row .mi-n, .mi.row .mi-p { font-weight: 500; font-size: 14px; }
.fold .mi.row { padding: 4px 0; }
.fold .mi.row .mi-n, .fold .mi.row .mi-p { font-size: 16px; }

/* the book (desktop, fine pointer) */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .js .menu { padding-top: 0; }
  .js .menu-pin {
    position: sticky; top: 0; height: 100vh; overflow: hidden;
    grid-template-columns: minmax(270px, 21vw) 1fr; grid-template-rows: auto auto 1fr auto;
    column-gap: 3vw; row-gap: 22px;
    padding: 48px var(--m) calc(var(--hud) + 8px);
  }
  .js .menu-tabs { flex-direction: column; align-items: flex-start; gap: 4px; }
  .js .book-only { display: inline; }
  .js .fold-only, .js .fold { display: none; }
  .js .book-stage { display: block; grid-column: 2; grid-row: 1 / -1; position: relative; perspective: 2400px; touch-action: pan-y; user-select: none; }
  .js .book-controls { display: flex; align-items: center; gap: 14px; grid-column: 1; grid-row: 4; flex-wrap: wrap; }
  .js .book-controls span { font: italic 400 17px var(--serif); color: var(--text); min-width: 8ch; }
}
.book { position: absolute; left: 50%; top: 50%; width: calc(var(--pw) * 2); height: var(--ph); margin: calc(var(--ph) / -2) 0 0 calc(var(--pw) * -1); transform-style: preserve-3d; }
.leaf, .board { position: absolute; left: 50%; top: 0; width: var(--pw); height: var(--ph); }
.leaf { transform-origin: left center; transform-style: preserve-3d; }
.leaf .lface { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.leaf .lback { transform: rotateY(180deg); }
.leaf .lface::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: var(--sh, 0); pointer-events: none; }
.page { position: absolute; inset: 0; background: var(--paper); color: var(--paper-ink); padding: 26px 34px 20px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.page.measuring, .lfront .page { padding-left: 44px; padding-right: 34px; }
.lback .page { padding-left: 34px; padding-right: 44px; }
.page::before { content: ""; position: absolute; top: 0; bottom: 0; width: 12px; background: var(--paper-2); }
.lfront .page::before { left: 0; }
.lback .page::before { right: 0; }
.page-head span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-head span:first-child { flex: none; }
.page-head { display: flex; justify-content: space-between; gap: 12px; font: italic 400 16px/1.2 var(--serif); color: var(--paper-muted); padding-bottom: 12px; }
.page-body { overflow: hidden; }
.page-foot { text-align: center; font: italic 400 15px var(--serif); color: var(--paper-muted); padding-top: 6px; }
.cover { position: absolute; inset: 0; background: var(--cherry); color: var(--gold-light); display: grid; place-items: center; text-align: center; padding: 34px; }
.cover-in { display: grid; justify-items: center; gap: 18px; padding: 40px 20px; outline: 4px solid var(--gold); outline-offset: 0; width: 100%; height: 100%; align-content: center; }
.cover img { width: 46%; filter: invert(1) sepia(1) saturate(1.8) brightness(1.05) hue-rotate(5deg); }
.cover b { font: 500 clamp(30px, 3vw, 46px)/1 var(--serif); letter-spacing: -0.01em; color: var(--cream); }
.cover i { font: italic 400 18px/1.4 var(--serif); }
.board { background: var(--cherry-deep); color: var(--cream); display: grid; align-content: center; justify-items: start; gap: 18px; padding: 44px; }
.board b { font: 500 34px/1.05 var(--serif); }
.board p { font-size: 16px; }
.endpage { display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center; height: 100%; }
.endpage b { font: 500 34px/1.05 var(--serif); color: var(--cherry); }
.endpage i { font: italic 400 17px/1.4 var(--serif); color: var(--paper-muted); }
.book-stage.handy, .book-stage.handy .leaf, .book-stage.handy .board { cursor: none; }
.hand { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; opacity: 0; transform-origin: 22px 2px; transition: opacity .2s; }
.book-stage.handy .hand { opacity: 1; }
.hand svg { overflow: visible; transition: transform .15s var(--ease); transform-origin: 22px 40px; }
.hand-finger { transition: transform .15s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
.hand.grab svg { transform: scale(.9) rotate(-8deg); }
.hand.grab .hand-finger { transform: scaleY(.62); }

/* the fold-out (phones, touch) */
.fold { display: block; padding: 8px var(--m) 60px; overflow: clip; }
.js .menu-tabs { position: sticky; top: 0; z-index: 10; background: var(--bg); padding: 10px var(--m); margin: 0 calc(var(--m) * -1); overflow-x: auto; scrollbar-width: none; }
.js .menu-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .js .menu-tabs { position: static; padding: 0; margin: 0; overflow: visible; background: none; }
}
.fold-cell { perspective: 1100px; perspective-origin: 50% 0; scroll-margin-top: 70px; }
.fold-panel { position: relative; background: var(--paper); color: var(--paper-ink); padding: 22px 20px 18px; transform-origin: 50% 0; backface-visibility: hidden; }
.fold-cell:nth-child(even) .fold-panel { background: var(--paper-2); }
.fold-panel::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: var(--sh, 0); pointer-events: none; }
.fold-end { display: grid; gap: 14px; justify-items: start; padding-top: 28px; }
@media (min-width: 700px) { .fold { max-width: 640px; margin: 0 auto; } }

/* 4. The Room */
.room { position: relative; margin-top: 16vh; }
.room-pin { display: grid; }
.room-photo { overflow: hidden; aspect-ratio: 4 / 5; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); }
.room-text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 48px var(--m) 0; }
.room-list { display: grid; gap: 18px; width: 100%; max-width: 560px; margin: 10px 0; }
.room-list h3 { color: var(--cream); transition: color .3s, transform .4s var(--ease); }
.room-list li > div { display: grid; grid-template-rows: 1fr; }
.room-list p { overflow: hidden; color: var(--text); padding-top: 6px; }
.room-note { color: var(--text); max-width: 46ch; }
@media (min-width: 900px) {
  .js .room-pin { position: sticky; top: 0; height: 100vh; grid-template-columns: 42vw 1fr; overflow: hidden; }
  .room-pin { grid-template-columns: 42vw 1fr; }
  .room-photo { aspect-ratio: auto; height: 100%; max-height: 100vh; }
  .room-text { justify-content: center; padding: 40px 6vw var(--hud); gap: 20px; }
  .js .room-list li > div { grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
  .js .room-list li.on > div { grid-template-rows: 1fr; }
  .js .room-list li:not(.on) h3 { color: var(--muted); }
  .js .room-list li.on h3 { transform: translateX(10px); color: var(--gold-light); }
  .js .room-list p { min-height: 0; }
}

/* 5. Visit */
.visit {
  background: var(--cherry); color: var(--cream);
  min-height: 100vh; min-height: 100svh; margin-top: 16vh;
  padding: 9vh var(--m) calc(var(--hud) + 5vh);
  display: grid; grid-template-rows: auto 1fr auto; gap: 40px;
}
.visit { position: relative; overflow: clip; }
.visit .statement { max-width: 24ch; position: relative; z-index: 1; }
.visit-mail, .visit-cols { position: relative; z-index: 1; }
.visit-disc { position: absolute; right: -6vw; top: -9vw; width: 37vw; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.visit-disc img { width: 100%; height: 100%; object-fit: cover; }
.visit-mail {
  align-self: end; justify-self: start;
  font: 400 9vw/1 var(--serif); letter-spacing: -0.03em; text-decoration: none; color: var(--cream);
  transition: color .25s;
}
.visit-mail:hover { color: var(--gold-light); }
.visit-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; font-size: 16px; }
.visit-cols h3 { font: 500 22px/1.2 var(--serif); color: var(--gold-light); margin-bottom: 8px; }
.visit-cols a { text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.visit-cols a:hover { color: var(--gold-light); }
.visit-cols p + p { margin-top: 6px; }
@media (max-width: 899px) {
  .visit { min-height: 0; padding-top: 64px; gap: 44px; }
  .visit-mail { font-size: 11.6vw; }
  .visit-disc { width: 62vw; right: -22vw; top: -16vw; }
  .visit .statement { max-width: 15ch; }
  .visit-cols { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
}

/* Footer */
.foot { background: var(--bg); min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; padding: 44px var(--m) calc(var(--hud) + 18px); }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; font-size: 16px; color: var(--text); }
.foot-first { color: var(--cream); font-weight: 500; margin-bottom: 6px; }
.foot-cols a { text-decoration: none; transition: color .2s; }
.foot-cols a:hover { color: var(--gold-light); }
.foot-cols .link { font-size: 16px; }
.foot-mark { grid-row: 3; width: 100%; height: auto; fill: var(--gold); overflow: visible; }
.foot-mark text { font: 500 300px var(--serif); font-variation-settings: "opsz" 30; }
.foot-legal { grid-row: 4; font-size: var(--t-small); color: var(--muted); padding-top: 14px; }
@media (max-width: 899px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px 18px; } .foot { min-height: 86svh; } }

/* Transport: the deck keys */
.transport {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: 56px; display: flex; align-items: center; gap: 2px; padding: 0 6px;
  background: var(--surface-2);
}
.transport button { width: 46px; height: 44px; display: grid; place-items: center; fill: var(--cream); transition: background-color .15s, transform .1s, fill .15s; }
.transport button:hover { background: var(--cherry); }
.transport button:active { transform: translateY(2px); }
.transport #tPlay { background: var(--gold); fill: var(--bg); }
.transport #tPlay:hover { background: var(--gold-light); }
.transport .i-pause, .transport [aria-pressed="true"] .i-play { display: none; }
.transport [aria-pressed="true"] .i-pause { display: block; }
.t-count { margin-left: 8px; background: var(--bg); color: var(--gold-light); font-weight: 500; font-size: 16px; letter-spacing: .16em; font-variant-numeric: tabular-nums; padding: 7px 8px 7px 11px; }
.t-track { margin-left: 10px; font: italic 400 16px/1.2 var(--serif); color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
@media (min-width: 900px) {
  .transport { left: 50%; right: auto; bottom: 16px; transform: translateX(-50%); padding: 0 14px 0 6px; }
  .t-track { flex: none; max-width: 260px; }
}

/* ---------- Round two: the rendered turntable, the real record, the real hand ---------- */
.plate { position: absolute; inset: 0; z-index: 0; }
.plate-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 50%; }
.plate-label { display: none; }
.js .plate-label { display: block; position: absolute; left: 88.5%; top: 49.9%; width: 30%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; transform: translate(-50%, -50%) rotate(1.6deg) scaleY(.74); }
.plate-label img { position: absolute; left: 50%; top: 50%; width: 284%; max-width: none; transform: translate(-50%, -50%); }
.plate-dim { position: absolute; inset: 0; background: var(--bg); opacity: 0; }
.disc { position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; border-radius: 50%; overflow: hidden; transform-origin: 50% 50%; pointer-events: none; z-index: 1; }
.disc-face { position: absolute; left: 50%; top: 50%; width: 103%; max-width: none; transform: translate(-50%, -50%); }
.disc-label { position: absolute; left: 50%; top: 50%; width: 40%; height: 40%; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; }
.disc-label img { position: absolute; left: 50%; top: 50%; width: 257.5%; max-width: none; transform: translate(-50%, -50%); }
.disc-shadow { background: #000; filter: blur(46px); opacity: 0; overflow: visible; z-index: 0; }
#heroDisc { opacity: 0; }
/* the walk-in: a poster of the real room, then rendered frames drawn on a canvas */
.walk { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.walk img, .walk canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.stage.still .walk { display: none; }
/* a neutral scrim under the words, only while words are showing */
.js .stage-pin::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--scrim, 1); background: linear-gradient(90deg, rgba(6, 4, 2, .88) 0%, rgba(6, 4, 2, .64) 26%, rgba(6, 4, 2, 0) 58%); }
@media (max-width: 899px) {
  .js .stage-pin::before { background: linear-gradient(0deg, rgba(6, 4, 2, .92) 0%, rgba(6, 4, 2, .7) 30%, rgba(6, 4, 2, 0) 52%); opacity: var(--low, 0); }
  .js .stage-pin::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--head, 1); background: linear-gradient(180deg, rgba(6, 4, 2, .9) 0%, rgba(6, 4, 2, .66) 40%, rgba(6, 4, 2, 0) 64%); }
}

/* the photographed hand */
.hand { width: 320px; height: 320px; transform-origin: 30px 48px; }
.hand img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; filter: drop-shadow(0 22px 20px rgba(0, 0, 0, .5)); transition: opacity .12s; }
.hand .h-pinch { opacity: 0; transform: translate(-4px, -10px); }
.hand.grab .h-point { opacity: 0; }
.hand.grab .h-pinch { opacity: 1; }

/* the menu book on the bar */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .js .menu-pin { background: #120a05; }
  .js .menu-pin > * { position: relative; z-index: 1; }
  /* the photographed menu: a still, the page-turn frames on a canvas, and the live words on the two pages */
  .js .menu-pin > .pbook { display: block; position: absolute; z-index: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%); mask-image: linear-gradient(90deg, transparent 0, #000 7%); }
  .pbook > img, .pbook > canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
  .pbook > canvas { opacity: 0; }
  .pbook::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6, 4, 2, .8) 0%, rgba(6, 4, 2, .55) 12%, rgba(6, 4, 2, 0) 21%); }
  .ppage { position: absolute; z-index: 1; }
  .ppage .page { background: none; padding: 4.5% 7% 2.5%; }
  .ppage .page::before { display: none; }
  .ppage .endpage .btn { font-size: 12px; padding: 14px 16px; }
  .book-stage.turning .hand { opacity: 0; }
}
.page { background: #f5e8d5 url(../assets/paper.webp) center / cover; }
.page::before { background: #1a1510; opacity: .09; }
.cover { background: #5a0a0c; padding: 13%; }
.cover-in { outline: 0; padding: 0; }
.board { background: #4a090b; padding: 14%; }
.pbook { display: none; }
.book-shadow { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 100% 50%; background: rgba(0, 0, 0, .55); box-shadow: 0 34px 70px 26px rgba(0, 0, 0, .6); }
.fold-panel { background: #f5e8d5 url(../assets/paper.webp) center / cover; }
.fold-cell:nth-child(even) .fold-panel { background-color: #e9dcc6; background-blend-mode: multiply; }

/* the hand is part of the scene: one arm reaching over the bar, with a sleeve that runs off screen */
.js .hand { opacity: 1; height: auto; aspect-ratio: 2642 / 647; transition: opacity .25s; filter: drop-shadow(0 26px 20px rgba(0, 0, 0, .5)); will-change: transform; }
.hand .h-arm { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; filter: none; transform-origin: 0 54%; transition: transform .15s var(--ease); }
.hand .h-sleeve { position: absolute; left: calc(100% - 2px); top: 0; width: 2600px; height: 100%; background: url(../assets/hand-arm.webp) right center / 5000% 100% no-repeat; }
.hand.grab .h-arm { transform: scale(.965); }
.book-stage.turning .hand { opacity: 0; }

/* phones and tablets: the whole menu in one screen. Sections across the top, swipe sideways between them */
.menu-foot { display: none; }
@media not all and (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .js .menu { padding: 22px 0 calc(var(--hud) + 10px); height: 100vh; height: 100svh; display: flex; flex-direction: column; gap: 10px; }
  .js .menu-pin { flex: none; gap: 12px; }
  .js .menu-head { gap: 6px; }
  .js .menu-head h2 { font-size: 34px; }
  .js .menu-tabs { position: static; padding: 2px var(--m) 4px; }
  .js .fold { flex: 1; min-height: 0; display: flex; padding: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; position: relative; max-width: none; margin: 0; }
  .js .fold::-webkit-scrollbar { display: none; }
  .mpanel { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: flex; padding: 0 var(--m); }
  .mpanel-in { flex: 1; min-width: 0; max-width: 640px; margin: 0 auto; position: relative; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #f5e8d5 url(../assets/paper.webp) center / cover; color: var(--paper-ink); padding: 0 18px 26px; }
  .mpanel .mc { padding-top: 20px; }
  .mpanel .mi.row { padding: 4px 0; }
  .mpanel .mi.row .mi-n, .mpanel .mi.row .mi-p { font-size: 16px; }
  .mjump { position: sticky; top: 0; z-index: 2; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 10px 18px; background: #efe1cb; }
  .mjump::-webkit-scrollbar { display: none; }
  .mjump button { flex: none; font-size: var(--t-small); font-weight: 600; color: var(--cherry); background: #f8efe0; padding: 9px 12px; white-space: nowrap; }
  .mjump button:active { transform: translateY(1px); }
  .js .menu-foot { display: flex; flex: none; gap: 22px; padding: 0 var(--m); }
  .js .menu-foot .link { font-size: 15px; }
}

/* bookings: the player half off the top, the record popping out of it */
.visit { background: #540104; padding-top: 0; display: grid; grid-template-rows: none; align-content: end; gap: 28px; min-height: max(100svh, 62vw); }
.visit-player { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; z-index: 0; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }
.visit .disc { z-index: 0; }
.visit .statement { max-width: 30ch; }
@media (max-width: 899px) {
  .visit { min-height: 0; padding-top: 74vw; }
  .visit-player { width: 170vw; left: -35vw; }
  .visit .statement { max-width: 22ch; }
}

@media (prefers-reduced-motion: reduce) {
  .notice-run { animation: none; }
  .js [data-rv] { transform: none; transition: opacity .4s; }
  .btn:hover, .brand:hover img, .about-disc:hover img { transform: none; }
}
