/* ============================================================
   SUGAR RIOT — party cafe concept demo
   Dark-first, neon-warm. Plum base, hot pink + amber accents.
   Type: Unbounded (display) / Manrope (body).
   Perf laws: transform+opacity only, no backdrop-filter,
   no animated SVG filters, reduced-motion honoured throughout.
   ============================================================ */

/* ---------- 0. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0B0611;
  --fg: #FFF3E7;
  --pink: #FF3D8A;
  --amber: #FFB03A;
  --surface: #1A0F26;
  --teal: #2CE6C8;
  --ink: #1A0F26;
  --muted: rgba(255, 243, 231, 0.72);
  --faint: rgba(255, 243, 231, 0.5);
  --line: rgba(255, 243, 231, 0.14);
  --grad: linear-gradient(30deg, #FF3D8A, #FFB03A);
  --fd: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --fb: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --r: 18px;
  --shadow-pink: 0 18px 48px -18px rgba(255, 61, 138, 0.45);
  --shadow-amber: 0 14px 40px -16px rgba(255, 176, 58, 0.4);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.7, 0, 0.2, 1);
}

html { color-scheme: dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--fb);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
html.nav-open, html.nav-open body { overflow: hidden; }

::selection { background: var(--pink); color: var(--fg); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.inverted :focus-visible { outline-color: var(--pink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 44px); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--pink); color: var(--fg);
  padding: 10px 18px; border-radius: 8px; font-weight: 700;
  text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* type scale */
.eyebrow {
  font-family: var(--fb); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber);
}
.h-display {
  font-family: var(--fd); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 0.98;
}
.h-sec {
  font-family: var(--fd); font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.05;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
}
.lede { color: var(--muted); max-width: 56ch; }
.num { font-variant-numeric: tabular-nums; }

a { color: var(--fg); }
p a { color: var(--amber); text-decoration-color: rgba(255, 176, 58, 0.5); }
p a:hover { text-decoration-color: var(--amber); }
a[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px; border-radius: 999px;
  font-family: var(--fb); font-weight: 700; font-size: 1rem;
  text-decoration: none; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn-solid { background: var(--pink); color: var(--fg); border: 1px solid var(--pink); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-pink); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--amber); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-amber); background: rgba(255, 176, 58, 0.08); }
.btn:active { transform: translateY(0) scale(0.98); }
.inverted .btn-solid { color: #fff; }

/* underline-draw link */
.link-draw {
  display: inline-block; font-weight: 700; text-decoration: none;
  color: var(--amber); position: relative; padding-bottom: 3px;
}
.link-draw::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.link-draw:hover::after, .link-draw:focus-visible::after { transform: scaleX(1); }

/* ---------- 2. Loader (stage curtains) ---------- */
#loader { display: none; }
html.js #loader {
  display: block; position: fixed; inset: 0; z-index: 200;
}
#loader .ld-flash {
  position: absolute; inset: 0; z-index: 1; background: var(--pink); opacity: 0;
}
#loader .ld-half {
  position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 2;
  background: var(--bg);
  will-change: transform;
}
#loader .ld-l { left: 0; }
#loader .ld-r { right: 0; }
#loader .ld-inner {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; justify-items: center; gap: 26px;
  text-align: center; padding: 24px;
}
.ld-confetti {
  position: absolute; left: 50%; top: 50%; width: min(480px, 90vw); height: 320px;
  transform: translate(-50%, -55%); pointer-events: none; opacity: 0.9;
}
.ld-word {
  position: relative; font-family: var(--fd); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 7.5vw, 4.4rem); letter-spacing: -0.01em; line-height: 1;
  display: flex; align-items: center; gap: 0.04em; color: var(--fg);
}
.ld-word .ld-sp { width: 0.4em; }
.ld-ch {
  display: inline-block; opacity: 0;
  transform: translateY(-0.6em) rotate(var(--tilt, 6deg));
}
html.motion-ok #loader.is-run .ld-ch {
  animation: ld-drop 0.5s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 60ms);
}
html:not(.motion-ok) .ld-ch, #loader.is-fade .ld-ch { opacity: 1; transform: none; animation: none; }
@keyframes ld-drop {
  0% { opacity: 0; transform: translateY(-0.6em) rotate(var(--tilt, 6deg)); }
  70% { opacity: 1; transform: translateY(0.06em) rotate(calc(var(--tilt, 6deg) * -0.3)); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg); }
}
.ld-o {
  width: 1em; height: 1em; border-radius: 50%; opacity: 0;
  transform: translateY(-0.6em) rotate(-180deg);
}
html.motion-ok #loader.is-run .ld-o {
  animation: ld-ball 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 60ms);
}
html:not(.motion-ok) .ld-o, #loader.is-fade .ld-o { opacity: 1; transform: none; animation: none; }
@keyframes ld-ball {
  0% { opacity: 0; transform: translateY(-0.6em) rotate(-360deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg); }
}
.ld-bar {
  width: min(300px, 60vw); height: 2px; border-radius: 2px;
  background: rgba(255, 243, 231, 0.15); overflow: hidden;
}
.ld-fill {
  display: block; height: 100%; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
}
html.motion-ok #loader.is-run .ld-fill { animation: ld-pour 1.6s linear forwards; }
@keyframes ld-pour { to { transform: scaleX(1); } }
.ld-tip { font-size: 0.85rem; color: var(--faint); letter-spacing: 0.08em; min-height: 1.4em; }

/* exit: curtains part sideways over a pink flash */
#loader.is-exit .ld-inner { opacity: 0; transition: opacity 0.15s linear; }
#loader.is-exit .ld-flash { animation: ld-flash 0.42s linear forwards; }
@keyframes ld-flash {
  0% { opacity: 1; }
  28% { opacity: 1; }
  100% { opacity: 0; }
}
#loader.is-exit .ld-l { transform: translateX(-101%); transition: transform 0.6s var(--ease-snap); }
#loader.is-exit .ld-r { transform: translateX(101%); transition: transform 0.6s var(--ease-snap); }
#loader.is-fade { opacity: 0; transition: opacity 0.25s linear; }
#loader.is-fade .ld-fill { transform: scaleX(1); }

/* ---------- 3. Header + mobile nav ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 6, 17, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-head.is-stuck { border-bottom-color: var(--line); }
.head-in {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 36px);
  min-height: 72px;
}
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.brand-w {
  font-family: var(--fd); font-weight: 900; font-size: 1.05rem;
  letter-spacing: 0.01em; display: inline-flex; align-items: center; gap: 0.06em;
  white-space: nowrap;
}
.ball-glyph { width: 1em; height: 1em; flex: none; }
.nav-desk { display: flex; gap: clamp(14px, 2.4vw, 30px); margin-left: auto; }
.nav-desk a {
  text-decoration: none; font-weight: 500; font-size: 0.98rem; color: var(--muted);
  padding: 10px 2px; position: relative;
}
.nav-desk a:hover { color: var(--fg); }
.nav-desk a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out);
}
.nav-desk a:hover::after, .nav-desk a[aria-current="page"]::after { transform: scaleX(1); }
.nav-desk a[aria-current="page"] { color: var(--fg); }
.head-cta { min-height: 44px; padding: 8px 22px; font-size: 0.92rem; }

.nav-burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--line);
}
.nav-burger span {
  display: block; width: 20px; height: 2px; background: var(--fg); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
html.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
html.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--surface);
  display: grid; place-content: center; text-align: center; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4%);
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out), visibility 0s linear 0.32s;
}
html.nav-open .nav-overlay {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out);
}
.nav-overlay a.ov-link {
  font-family: var(--fd); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 7vw, 2.6rem); text-decoration: none;
  padding: 10px 24px; display: block;
  opacity: 0; transform: translateY(18px);
}
html.nav-open.motion-ok .nav-overlay a.ov-link {
  animation: ov-in 0.45s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 70ms + 0.1s);
}
html.nav-open:not(.motion-ok) .nav-overlay a.ov-link { opacity: 1; transform: none; }
@keyframes ov-in { to { opacity: 1; transform: translateY(0); } }
.nav-overlay a.ov-link:hover { color: var(--pink); }
.nav-overlay a[aria-current="page"] { color: var(--pink); }
.nav-overlay .btn { margin: 22px auto 0; }
.nav-overlay .ov-note { color: var(--faint); font-size: 0.85rem; margin-top: 18px; }

/* ---------- 4. Video slot contract ---------- */
.vid-slot {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--surface);
}
.vid-slot::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: var(--poster); background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.3s;
}
.vid-slot video { width: 100%; height: 100%; object-fit: cover; }
.vid-chip {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg); background: rgba(11, 6, 17, 0.78);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  opacity: 0; visibility: hidden;
}
.vid-slot.video-pending::before { opacity: 1; }
.vid-slot.video-pending::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(200deg, rgba(255, 61, 138, 0.16), rgba(11, 6, 17, 0.55) 62%);
}
.vid-slot.video-pending .vid-chip { opacity: 1; visibility: visible; }
.vid-slot.video-pending video { opacity: 0; }
.vid-cap {
  font-size: 0.88rem; color: var(--faint); margin-top: 12px; padding-inline: 4px;
}

/* ---------- 5. HERO (home) ---------- */
.hero-wrap { position: relative; height: 150vh; }
.hero {
  position: sticky; top: 0; height: 100vh; min-height: 620px;
  overflow: hidden; display: flex; align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: 0; border-radius: 0; }
.hero-media video, .hero-media::before { opacity: 0.35; }
.hero-media.video-pending::before { opacity: 0.35; }
.hero-media .vid-chip { left: auto; right: 16px; bottom: 74px; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 78% 30%, rgba(255, 61, 138, 0.14), transparent 55%),
    radial-gradient(100% 80% at 20% 85%, rgba(255, 176, 58, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(11, 6, 17, 0.72), rgba(11, 6, 17, 0.55) 45%, var(--bg) 96%);
}
.hero-in-grid {
  position: relative; z-index: 3; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center; gap: clamp(20px, 4vw, 56px);
  padding-top: 40px; padding-bottom: 110px;
}
.hero-copy .eyebrow { margin-bottom: 18px; display: block; }
.hero-h {
  font-size: clamp(3rem, 11vw, 9rem);
  margin: 0 0 26px; will-change: transform;
}
.hero-h .wd, .split-h .wd { display: inline-block; white-space: nowrap; }
.hero-h .ch {
  display: inline-block; opacity: 0;
  transform: translateY(0.55em) rotate(3deg);
}
html.motion-ok .hero-in .hero-h .ch {
  animation: ch-rise 0.7s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 34ms + 0.12s);
}
html:not(.motion-ok) .hero-h .ch, html:not(.js) .hero-h .ch { opacity: 1; transform: none; }
@keyframes ch-rise { to { opacity: 1; transform: translateY(0) rotate(0deg); } }
.hero-sub { max-width: 46ch; color: var(--muted); margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* fx mirror-ball mount */
.hero-fx {
  position: relative; justify-self: center; align-self: center;
  width: min(44vh, 420px, 88%); aspect-ratio: 1 / 1.16;
  will-change: transform;
}
.fx-chain {
  position: absolute; left: 50%; top: -40vh; height: 40vh; width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(255, 243, 231, 0.4));
}
.fx-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-fallback canvas { width: 100%; height: 100%; }
.fx-mount { position: absolute; inset: 0; }
.hero-fx.fx-live .fx-fallback { opacity: 0; visibility: hidden; }
/* CSS glint sweep over the 2D fallback ball */
.fx-glint {
  position: absolute; inset: 6%; border-radius: 50%; overflow: hidden;
  pointer-events: none; z-index: 2;
}
.fx-glint::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -30%; width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 243, 231, 0.22), transparent);
  transform: translateX(-120%) rotate(8deg);
}
html.motion-ok .fx-glint::after { animation: glint-sweep 4.8s var(--ease-out) infinite; }
@keyframes glint-sweep {
  0% { transform: translateX(-140%) rotate(8deg); }
  38% { transform: translateX(480%) rotate(8deg); }
  100% { transform: translateX(480%) rotate(8deg); }
}
html.perf-still .fx-glint::after { animation: none; }

/* hero ticker */
.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  border-top: 1px solid var(--line);
  background: rgba(11, 6, 17, 0.82);
  overflow: hidden; white-space: nowrap;
}
.tick-track { display: inline-flex; padding: 13px 0; will-change: transform; }
html.motion-ok .tick-track { animation: tick-roll 38s linear infinite; }
.hero-ticker:hover .tick-track, .hero-ticker:focus-within .tick-track,
html.tab-hidden .tick-track, html.perf-still .tick-track { animation-play-state: paused; }
@keyframes tick-roll { to { transform: translateX(-50%); } }
.tick-set { display: inline-flex; }
.tick-set span {
  font-weight: 500; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); padding: 0 1.6em; position: relative;
}
.tick-set span::after { content: "✦"; position: absolute; right: -0.55em; color: var(--pink); }

/* sound pill */
.sound-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s;
}
.sound-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); transition: background 0.2s; }
.sound-pill[aria-pressed="true"] { color: var(--fg); border-color: var(--amber); }
.sound-pill[aria-pressed="true"]::before { background: var(--teal); }
.sound-pill:hover { color: var(--fg); }

/* ---------- 6. Shared section scaffolding ---------- */
.sec { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.sec-head { margin-bottom: clamp(34px, 5vw, 64px); }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }
.sec-head .lede { margin-top: 18px; }

/* reveal system */
html.js.motion-ok [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
html.js.motion-ok [data-reveal].is-in { opacity: 1; transform: none; }
html.js.motion-ok [data-reveal][data-reveal="tilt"] { transform: translateY(30px) rotate(1.5deg); }
html.js.motion-ok [data-reveal][data-reveal="tilt-l"] { transform: translateY(30px) rotate(-1.5deg); }
html.js.motion-ok [data-reveal].is-in[data-reveal^="tilt"] { transform: none; }

/* ---------- 7. Home: day/night panels ---------- */
.dn-panels { display: grid; gap: 26px; }
.dn-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px); align-items: center;
  border-radius: calc(var(--r) + 8px); overflow: hidden;
  padding: clamp(26px, 4vw, 56px);
}
.dn-panel.inverted { background: var(--fg); color: var(--ink); }
.dn-panel.inverted .lede, .dn-panel.inverted p { color: rgba(26, 15, 38, 0.8); }
.dn-panel.inverted .eyebrow { color: #B0470E; }
.dn-panel.night { background: var(--surface); border: 1px solid var(--line); }
.dn-panel h3 {
  font-family: var(--fd); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin-bottom: 16px;
}
.dn-time {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em;
  margin-bottom: 12px; padding: 6px 12px; border-radius: 999px;
}
.dn-panel.inverted .dn-time { background: rgba(26, 15, 38, 0.08); color: #7A2708; }
.dn-panel.night .dn-time { background: rgba(255, 61, 138, 0.14); color: var(--pink); }
.dn-panel figure { border-radius: var(--r); overflow: hidden; margin: 0; }
.dn-panel img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.dn-foot { text-align: center; color: var(--faint); font-size: 0.92rem; margin-top: 26px; font-style: italic; }

/* ---------- 8. Menu rows + dotted leaders ---------- */
.mi-list { display: grid; gap: 4px; }
.mi-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px; align-items: baseline;
  padding: 14px 2px; position: relative;
}
.mi-name { font-weight: 700; font-size: 1.05rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mi-desc { grid-column: 1 / -1; color: var(--muted); font-size: 0.94rem; max-width: 60ch; margin-top: -4px; }
.inverted .mi-desc { color: rgba(26, 15, 38, 0.72); }
.mi-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mi-lead { flex: 1 1 40px; min-width: 40px; height: 4px; align-self: center; color: var(--line); }
.inverted .mi-lead { color: rgba(26, 15, 38, 0.3); }
.mi-lead svg { width: 100%; height: 4px; }
.lead-draw { transition: stroke-dashoffset 0.9s var(--ease-out); transition-delay: var(--rd, 0ms); }
.mi-badge {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--grad); color: var(--ink); border-radius: 999px; padding: 4px 10px;
  display: inline-block;
}
html.js.motion-ok .mi-badge { transform: scale(0.6); opacity: 0; transition: transform 0.45s var(--ease-out) 0.4s, opacity 0.3s 0.4s; }
html.js.motion-ok .is-in .mi-badge, html.js.motion-ok [data-reveal].is-in ~ * .mi-badge { transform: scale(1); opacity: 1; }
html.js.motion-ok .mi-row.is-in .mi-badge { transform: scale(1); opacity: 1; }

.zero-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); display: inline-block; flex: none; align-self: center; }
html.js.motion-ok .zero-dot { opacity: 0; transition: opacity 0.5s linear 0.55s; }
html.js.motion-ok .mi-row.is-in .zero-dot, html.js.motion-ok .is-in .zero-dot { opacity: 1; }

.melt-count {
  font-variant-numeric: tabular-nums; font-weight: 700; color: var(--amber);
  font-size: 0.85rem; margin-left: 10px; min-width: 4ch; display: inline-block;
}

/* teaser variant on home */
.teaser-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(26px, 4vw, 60px); align-items: center; }
.photo-card { border-radius: var(--r); overflow: hidden; position: relative; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.photo-card img { width: 100%; object-fit: cover; }
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-amber); }

/* ---------- 9. Home: party teaser cards ---------- */
.pkg-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.pkg-mini {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 22px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}
.pkg-mini:hover { transform: translateY(-5px); border-color: rgba(255, 61, 138, 0.5); box-shadow: var(--shadow-pink); }
.pkg-mini h3 { font-family: var(--fd); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; margin-bottom: 10px; }
.pkg-mini p { color: var(--muted); font-size: 0.94rem; }
.price-chip { display: inline-block; overflow: hidden; margin-top: 16px; }
.price-chip b {
  display: block; font-variant-numeric: tabular-nums; color: var(--amber); font-size: 1.04rem;
  transition: transform 0.3s var(--ease-out);
}
.pkg-mini:hover .price-chip b, .pkg-card:hover .price-chip b { transform: translateY(-2px); }
.party-teaser { background: radial-gradient(90% 120% at 85% 10%, rgba(255, 61, 138, 0.08), transparent 60%), radial-gradient(80% 100% at 10% 100%, rgba(255, 176, 58, 0.06), transparent 55%); }

/* ---------- 10. Home: weekly nights band ---------- */
.nights { background: var(--surface); border-block: 1px solid var(--line); }
.bulb-frame { color: rgba(255, 176, 58, 0.55); }
.bulb-frame svg { width: 100%; height: 14px; }
.night-rows { display: grid; gap: 0; margin-top: 30px; }
.night-row {
  display: grid; grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px; align-items: baseline;
  padding: 22px 16px; border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
}
.night-row:first-child { border-top: 1px solid var(--line); }
.night-row .nd {
  font-family: var(--fd); font-weight: 900; font-size: 1.3rem; color: var(--pink);
}
.night-row p { color: var(--muted); }
.night-row p b { color: var(--fg); }
.night-row.is-today { border-left-color: var(--amber); background: rgba(255, 176, 58, 0.05); }
.today-chip {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--amber); color: var(--ink); border-radius: 999px; padding: 4px 10px;
  margin-left: 12px; display: inline-block; vertical-align: middle;
}
html.motion-ok .today-chip.pulse-once { animation: chip-pulse 0.9s var(--ease-out) 1; }
@keyframes chip-pulse {
  0% { transform: scale(0.6); }
  55% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ---------- 11. Home: stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.stat b {
  display: block; font-family: var(--fd); font-weight: 900;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: transform;
}
.stat span { color: var(--muted); font-size: 0.94rem; display: block; margin-top: 8px; }
html.motion-ok .stat b.bounce { animation: zero-bounce 0.6s var(--ease-out) 1; }
@keyframes zero-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

/* ---------- 12. Gallery marquee ---------- */
.mq { overflow: hidden; padding-block: clamp(40px, 6vw, 80px); }
.mq-roll { display: flex; width: max-content; will-change: transform; }
html.js.motion-ok .mq-roll { animation: mq-move 46s linear infinite; }
.mq:hover .mq-roll, .mq:focus-within .mq-roll,
html.tab-hidden .mq-roll, html.perf-still .mq-roll { animation-play-state: paused; }
@keyframes mq-move { to { transform: translateX(-50%); } }
.mq-set { display: flex; gap: 18px; padding-right: 18px; }
.mq-set figure { margin: 0; flex: none; border-radius: var(--r); overflow: hidden; }
.mq-set img { height: clamp(200px, 30vw, 320px); width: auto; object-fit: cover; }
html:not(.js) .mq, html:not(.motion-ok) .mq { overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .mq-set figure, html:not(.motion-ok) .mq-set figure { scroll-snap-align: center; }
html:not(.js) .mq-set[aria-hidden="true"], html:not(.motion-ok) .mq-set[aria-hidden="true"] { display: none; }

/* ---------- 13. Footer ---------- */
.site-foot {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 8vw, 96px) 40px;
}
.foot-tex {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../assets/img/texture-dark.jpg");
  background-size: cover; background-position: center; opacity: 0.12;
}
.foot-tex::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(11, 6, 17, 0.72)); }
.site-foot .wrap { position: relative; z-index: 1; }
.foot-mark {
  font-family: var(--fd); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 8vw, 5.6rem); letter-spacing: -0.01em; line-height: 1;
  display: flex; align-items: center; gap: 0.05em; margin-bottom: clamp(30px, 5vw, 56px);
}
.foot-mark .ball-glyph { width: 0.92em; height: 0.92em; }
html.motion-ok .foot-mark.is-in .ball-glyph { animation: foot-spin 1.4s var(--ease-out) 1; }
@keyframes foot-spin { from { transform: rotate(-360deg); } to { transform: rotate(0); } }
.foot-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.foot-grid h4 {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.foot-grid p, .foot-grid li { color: var(--muted); font-size: 0.94rem; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--fg); }
.foot-badge { color: var(--faint); font-size: 0.85rem; max-width: 72ch; margin-top: 30px; }
.foot-credit { color: var(--faint); font-size: 0.85rem; margin-top: 14px; }
.foot-credit a { color: var(--amber); font-weight: 700; text-decoration: none; }
.foot-credit a:hover { text-decoration: underline; }

/* ---------- 14. Page head (inner pages) ---------- */
.page-head { padding-block: clamp(80px, 11vw, 150px) clamp(40px, 6vw, 70px); position: relative; overflow: hidden; }
.page-head .hero-h { font-size: clamp(2.6rem, 8vw, 6.4rem); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(26px, 5vw, 70px); align-items: center; }
.ph-media { position: relative; }
.ph-media .vid-slot, .ph-media .photo-card { aspect-ratio: 4 / 5; }
.ph-media .vid-slot video, .ph-media .photo-card img { height: 100%; }
html.js.motion-ok .ph-media [data-reveal] { transform: translateY(26px) scale(0.96); }
html.js.motion-ok .ph-media [data-reveal].is-in { transform: none; box-shadow: var(--shadow-amber); }

/* full-bleed video head (parties) */
.ph-cine { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.ph-cine .hero-media { position: absolute; inset: 0; }
.ph-cine .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.45; }
.ph-cine .hero-media.video-pending::before { opacity: 0.45; }
.ph-cine .hero-scrim { z-index: 1; }
.ph-cine .wrap { position: relative; z-index: 2; padding-block: clamp(50px, 8vw, 90px); }

/* ---------- 15. Menu page ---------- */
.course { padding-block: clamp(56px, 8vw, 100px); }
.course-label {
  font-family: var(--fd); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: 0;
  margin-bottom: 8px;
}
.course-note { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 30px; }
.course-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.course-grid > .photos { display: grid; gap: 18px; position: sticky; top: 100px; }
.course.inverted {
  background: var(--fg); color: var(--ink);
}
.course.inverted .course-note { color: rgba(26, 15, 38, 0.55); }
.course.inverted .mi-price { color: #7A2708; }
.course.inverted a { color: #B0470E; }
.lights-drop { position: relative; }
html.js.motion-ok .lights-drop::before {
  content: ""; position: absolute; inset: 0; background: #000; opacity: 0;
  pointer-events: none; z-index: 5;
}
html.js.motion-ok .lights-drop.dip::before { animation: dip 0.7s linear 1; }
@keyframes dip { 0% { opacity: 0; } 35% { opacity: 0.55; } 100% { opacity: 0; } }
.bar-note { color: var(--faint); font-size: 0.9rem; font-style: italic; margin-top: 20px; }

/* combo builder */
.combo-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--r) + 6px); padding: clamp(26px, 4vw, 50px);
}
.combo-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 30px; }
.combo-groups fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.combo-groups legend {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px; padding: 0;
}
.pill-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-opt { position: relative; }
.pill-opt input { position: absolute; opacity: 0; inset: 0; }
.pill-opt label {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  font-size: 0.92rem; font-weight: 500; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s var(--ease-out);
}
.pill-opt label .num { color: var(--faint); font-size: 0.85rem; }
.pill-opt input:checked + label {
  background: var(--pink); border-color: var(--pink); color: #fff;
  transform: scale(1.04);
}
.pill-opt input:checked + label .num { color: rgba(255, 255, 255, 0.85); }
.pill-opt input:focus-visible + label { outline: 2px solid var(--amber); outline-offset: 3px; }
.pill-opt input:disabled + label { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.pill-opt label em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); }
.pill-opt input:disabled + label em { color: var(--faint); }
.combo-out {
  margin-top: 30px; font-size: 1.15rem; font-weight: 700;
  padding: 18px 22px; border-radius: 14px; background: rgba(255, 61, 138, 0.1);
  border: 1px dashed rgba(255, 61, 138, 0.4);
  font-variant-numeric: tabular-nums; will-change: transform;
}
html.motion-ok .combo-out.pop { animation: out-pop 0.32s var(--ease-out) 1; }
@keyframes out-pop { 0% { transform: scale(0.96); } 100% { transform: scale(1); } }
.combo-foot { color: var(--faint); font-size: 0.85rem; margin-top: 14px; }

/* kitchen notes */
.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mnote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px;
}
.mnote h3 { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.mnote p { color: var(--muted); font-size: 0.95rem; }

/* photo parallax pair */
.plx { will-change: transform; }

/* ---------- 16. Parties page ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pkg-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--r) + 6px); padding: 34px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
  overflow: hidden;
}
.pkg-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: var(--shadow-pink); opacity: 0; transition: opacity 0.35s;
}
.pkg-card:hover { transform: translateY(-6px); border-color: rgba(255, 61, 138, 0.5); }
.pkg-card:hover::after { opacity: 1; }
.pkg-card h3 { font-family: var(--fd); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; }
.pkg-meta { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.pkg-price { font-family: var(--fd); font-weight: 900; font-size: 1.7rem; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pkg-card p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.pkg-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--grad); color: var(--ink); border-radius: 999px; padding: 5px 12px;
}
html.js.motion-ok .pkg-badge { transform: scale(0); transition: transform 0.4s var(--ease-out) 0.55s; }
html.js.motion-ok .pkg-card.is-in .pkg-badge { transform: scale(1); }
.pkg-note { text-align: center; color: var(--faint); font-style: italic; margin-top: 30px; }
.pkg-backdrop {
  position: absolute; inset: 0; z-index: -1; opacity: 0.14;
  background-image: url("../assets/img/venue-night.jpg"); background-size: cover; background-position: center;
}
.pkg-sec { position: relative; z-index: 0; overflow: hidden; }
.pkg-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 6, 17, 0.6) 50%, var(--bg) 100%); }

/* add-ons */
.addon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.addon {
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
  transition: border-color 0.25s, transform 0.3s var(--ease-out);
  background: rgba(26, 15, 38, 0.5);
}
.addon:hover { border-color: rgba(255, 176, 58, 0.55); transform: translateY(-3px); }
.addon svg { width: 34px; height: 34px; color: var(--amber); margin-bottom: 14px; }
.addon svg path, .addon svg circle, .addon svg rect, .addon svg line { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js.motion-ok .addon[data-reveal] svg :is(path, circle, rect, line) { stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease-out) 0.25s; }
html.js.motion-ok .addon[data-reveal].is-in svg :is(path, circle, rect, line) { stroke-dashoffset: 0; }
.addon:hover .price-chip b { transform: translateY(-2px); }
.addon h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.addon p { color: var(--muted); font-size: 0.92rem; }

/* quiz */
.quiz-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--r) + 6px); padding: clamp(28px, 4vw, 54px);
  overflow: hidden; min-height: 380px; position: relative;
}
.q-step { will-change: transform, opacity; }
html.motion-ok .q-step.slide-in { animation: q-in 0.4s var(--ease-out) 1; }
@keyframes q-in { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.q-num { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.q-dots { display: flex; gap: 8px; }
.q-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background 0.3s, transform 0.3s var(--ease-out); }
.q-dots span.on { background: var(--pink); transform: scale(1.2); }
.q-question { font-family: var(--fd); font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.7rem); text-transform: uppercase; margin-bottom: 26px; }
.q-opts { display: grid; gap: 12px; }
.q-opt {
  text-align: left; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; min-height: 56px; color: var(--fg); font-size: 1rem; font-weight: 500;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease-out);
}
.q-opt:hover { border-color: var(--pink); background: rgba(255, 61, 138, 0.08); transform: translateX(4px); }
.q-result-kicker { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.q-result-name { font-family: var(--fd); font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.6rem); text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.q-result-price { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--amber); margin-bottom: 8px; }
.q-result-line { color: var(--muted); margin-bottom: 26px; }
.q-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.q-restart { color: var(--faint); font-weight: 700; text-decoration: underline; min-height: 44px; }
.q-restart:hover { color: var(--fg); }
.q-start-line { color: var(--muted); margin-bottom: 26px; max-width: 50ch; }

/* how it works */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.step h3 { font-family: var(--fd); font-weight: 700; font-size: 1rem; text-transform: uppercase; margin: 14px 0 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step .step-n {
  font-family: var(--fd); font-weight: 900; font-size: 2.4rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-connector { position: absolute; top: 26px; left: 8%; right: 8%; height: 30px; z-index: -1; color: rgba(255, 176, 58, 0.4); }
.step-connector svg { width: 100%; height: 100%; }
.draw-on-reveal { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) 0.2s; }
html.js.motion-ok .is-in .draw-on-reveal, html.js.motion-ok .draw-on-reveal.is-in { stroke-dashoffset: 0; }
html:not(.js) .draw-on-reveal, html:not(.motion-ok) .draw-on-reveal { stroke-dashoffset: 0; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); }
.pull-q { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; font-weight: 500; }
.pull-q .q-line { display: block; overflow: hidden; }
.pull-q .q-line > span { display: block; transform: translateY(110%); }
html.js.motion-ok .pull-q.is-in .q-line > span { transition: transform 0.7s var(--ease-out); transition-delay: calc(var(--i) * 70ms); transform: none; }
html:not(.js) .pull-q .q-line > span, html:not(.motion-ok) .pull-q .q-line > span { transform: none; }
.pull-q footer { margin-top: 18px; color: var(--amber); font-size: 0.9rem; font-weight: 700; opacity: 0; }
html.js.motion-ok .pull-q.is-in footer { transition: opacity 0.6s linear 0.5s; opacity: 1; }
html:not(.js) .pull-q footer, html:not(.motion-ok) .pull-q footer { opacity: 1; }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 4px; text-align: left; font-weight: 700; font-size: 1.05rem; color: var(--fg);
  min-height: 56px;
}
.acc-btn:hover { color: var(--pink); }
.acc-btn .chev { flex: none; width: 22px; height: 22px; color: var(--amber); transition: transform 0.3s var(--ease-out); }
.acc-item.open .acc-btn .chev { transform: rotate(135deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--muted); padding: 0 4px 22px; max-width: 66ch; opacity: 0; transition: opacity 0.35s linear; }
.acc-item.open .acc-panel p { opacity: 1; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; padding-block: clamp(70px, 10vw, 120px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0.14; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 100% at 50% 0%, rgba(255, 61, 138, 0.18), transparent 70%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .h-sec { margin-bottom: 14px; }
.cta-band .lede { margin: 0 auto 34px; }

/* ---------- 17. Visit page ---------- */
.open-chip {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 9px 20px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--fg); background: var(--surface);
  margin-top: 22px; will-change: transform;
}
.open-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.open-chip.is-open { border-color: rgba(44, 230, 200, 0.6); color: var(--teal); }
.open-chip.is-open::before { background: var(--teal); }
.open-chip.is-quiet { border-color: rgba(255, 176, 58, 0.6); color: var(--amber); }
.open-chip.is-quiet::before { background: var(--amber); }
.open-chip.is-closed { color: var(--muted); }
html.motion-ok .open-chip.pop { animation: chip-pulse 0.7s var(--ease-out) 1; }

/* booking layout */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.book-form-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--r) + 6px); padding: clamp(26px, 4vw, 48px);
}
.f-row { margin-bottom: 24px; }
.f-label { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.f-input, select.f-input {
  width: 100%; min-height: 52px; padding: 12px 16px;
  background: rgba(11, 6, 17, 0.6); color: var(--fg);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color 0.2s;
}
.f-input:hover { border-color: rgba(255, 243, 231, 0.3); }
.f-input:focus { border-color: var(--pink); outline: none; }
.f-input.is-invalid { border-color: #FF5A5A; }
.f-err { display: block; color: #FF8C8C; font-size: 0.85rem; margin-top: 8px; min-height: 1.2em; }
.f-hint { color: var(--faint); font-size: 0.85rem; margin-top: 8px; }
select.f-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%), linear-gradient(135deg, var(--amber) 50%, transparent 50%); background-position: calc(100% - 21px) 24px, calc(100% - 16px) 24px; background-size: 5px 5px; background-repeat: no-repeat; }

.day-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.day-pill {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px; min-height: 64px;
  color: var(--muted); transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.day-pill .dp-wd { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.day-pill .dp-num { font-family: var(--fd); font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.day-pill:hover:not(:disabled) { border-color: var(--pink); color: var(--fg); }
.day-pill[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.day-pill:disabled { opacity: 0.38; cursor: not-allowed; }
.day-pill em { font-style: normal; font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; }

.bk-summary {
  margin-top: 4px; padding: 16px 20px; border-radius: 12px;
  background: rgba(255, 176, 58, 0.08); border: 1px dashed rgba(255, 176, 58, 0.4);
  font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums;
}
html.motion-ok .bk-summary.pop { animation: out-pop 0.3s var(--ease-out) 1; }

.bk-confirm { text-align: center; padding: clamp(20px, 3vw, 40px) 0; }
.bk-confirm h3 { font-family: var(--fd); font-weight: 900; font-size: clamp(1.5rem, 3.4vw, 2.3rem); text-transform: uppercase; color: var(--teal); margin-bottom: 14px; outline: none; }
.bk-confirm p { color: var(--muted); max-width: 44ch; margin: 0 auto 26px; }

.aside-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px; margin-bottom: 20px;
}
.aside-card h3 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.hours-t { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.hours-t th, .hours-t td { text-align: left; padding: 9px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours-t th { color: var(--muted); font-weight: 700; }
.hours-t td { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.hours-t tr.is-closed-day th, .hours-t tr.is-closed-day td { text-decoration: line-through; color: var(--faint); }
.hours-t tr.is-today th, .hours-t tr.is-today td { color: var(--fg); }
.today-tag {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--amber); color: var(--ink); border-radius: 999px; padding: 3px 8px;
  margin-left: 8px; display: inline-block; text-decoration: none;
}
html.motion-ok tr.is-today.pulse-once th { animation: none; }
html.motion-ok .today-tag.pulse-once { animation: chip-pulse 0.8s var(--ease-out) 1; }
.aside-card p { color: var(--muted); font-size: 0.94rem; }

/* house rules */
.rules { background: var(--surface); border-block: 1px solid var(--line); }
.rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rule .rule-n { font-family: var(--fd); font-weight: 900; font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 10px; }
.rule h3 { font-family: var(--fd); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; margin-bottom: 8px; }
.rule p { color: var(--muted); font-size: 0.92rem; }

/* map */
.map-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.map-frame {
  position: relative; border: 1px solid var(--line); border-radius: calc(var(--r) + 6px);
  overflow: hidden; background: var(--surface);
}
.map-frame svg.map-svg { width: 100%; height: auto; display: block; }
.map-chrome { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 8px; }
.map-zoom {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(11, 6, 17, 0.85);
  border: 1px solid var(--line); color: var(--fg); font-weight: 800; font-size: 1.2rem;
  will-change: transform;
}
html.motion-ok .map-zoom.nope { animation: nope 0.3s linear 2; }
@keyframes nope { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
.map-cap { color: var(--faint); font-size: 0.85rem; font-style: italic; margin-top: 12px; }
.map-road { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out); }
.map-road:nth-of-type(2) { transition-delay: 0.2s; }
.map-road:nth-of-type(3) { transition-delay: 0.4s; }
html.js.motion-ok .map-frame.is-in .map-road { stroke-dashoffset: 0; }
html:not(.js) .map-road, html:not(.motion-ok) .map-road { stroke-dashoffset: 0; }
.pin-pulse { transform-origin: center; transform-box: fill-box; }
html.motion-ok .map-frame.is-in .pin-pulse { animation: pin-pulse 2.2s var(--ease-out) infinite; }
html.perf-still .pin-pulse, html.tab-hidden .pin-pulse { animation: none; }
@keyframes pin-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}
.gh-list li { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.gh-list b { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.gh-list p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 18. 404 ---------- */
.err-page { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 40px 20px; position: relative; overflow: hidden; }
.err-page .h-display { font-size: clamp(4rem, 20vw, 12rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-page p { color: var(--muted); margin: 18px auto 34px; max-width: 40ch; }

/* ---------- 19. Hidden-tab / perf helpers + utilities ---------- */
html.tab-hidden [data-reveal] { opacity: 1 !important; transform: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[id] { scroll-margin-top: 96px; }

/* dotted leader draw trigger */
html.js.motion-ok .mi-row.is-in .lead-draw { stroke-dashoffset: 0; }
html:not(.motion-ok) .lead-draw, html:not(.js) .lead-draw { stroke-dashoffset: 0 !important; }

/* 404 glow */
.err-page::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 30% 20%, rgba(255, 61, 138, 0.14), transparent 65%),
    radial-gradient(50% 45% at 75% 80%, rgba(255, 176, 58, 0.1), transparent 60%);
}

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-wrap { height: auto; }
  .hero { position: relative; height: auto; min-height: 0; padding-block: 120px 80px; }
  .hero-fx { transform: none !important; }
  .dn-panel, [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1020px) {
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .pkg-grid, .pkg-mini-grid, .addon-grid, .note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-desk, .head-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-in-grid { grid-template-columns: 1fr; padding-top: 90px; }
  .hero-fx { position: absolute; right: -6%; top: 6%; width: min(34vh, 260px); opacity: 0.85; z-index: -1; }
  .hero-h { font-size: clamp(2.7rem, 13.5vw, 5.2rem); }
  .teaser-grid, .ph-grid, .course-grid, .book-grid, .map-grid, .dn-panel { grid-template-columns: 1fr; }
  .course-grid > .photos { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .step-connector { display: none; }
  .combo-groups { grid-template-columns: 1fr; }
  .night-row { grid-template-columns: 1fr; gap: 6px; }
  .ph-media { order: -1; }
  .ph-media .vid-slot, .ph-media .photo-card { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .pkg-grid, .pkg-mini-grid, .addon-grid, .note-grid, .rule-grid { grid-template-columns: 1fr; }
  .day-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .course-grid > .photos { grid-template-columns: 1fr; }
}
