@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  /* TABU brand book: black · deep red · white · gold (nothing else) */
  --black: #000;
  --red: #6F1113;
  --gold: #E7C772;
  --white: #fff;
  --red-hi: #8c1b1e;      /* the brand red one step lighter: hover */
  --red-deep: #2e0607;    /* the brand red sunk into black: gradients */
  --ink: #000;
  --ink-2: #0b0909;
  --ink-3: #161112;
  --bone: #fff;
  --bone-2: rgba(255, 255, 255, .76);
  --bone-3: rgba(255, 255, 255, .54);
  --line: rgba(255, 255, 255, .14);
  --line-2: rgba(255, 255, 255, .3);
  /* typefaces — the brand's own first (they take over once licensed web files are added), then the closest free cuts */
  --head: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;                     /* headlines, buttons, dishes */
  --display: "Hikou", "Barlow Semi Condensed", "Arial Narrow", sans-serif;                 /* numbers, clocks */
  --body: "Futura PT Cond", "Futura Condensed", "Barlow Condensed", "Arial Narrow", sans-serif; /* text and labels */
  --script: "Calton Elegance Script", "Allison", "Brush Script MT", cursive;                /* the supperclub hand */
  --ease: cubic-bezier(.2, .75, .2, 1);
  --bar: 36px;
  --gutter: clamp(16px, 4.2vw, 68px);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* no scroll-behavior: smooth — it fights ScrollTrigger's measuring; in-page links glide via JS */
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--bone);
  font: 500 18px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.is-locked { overflow: hidden; }
/* nothing may ever push a page sideways (clip, unlike hidden, keeps sticky bars working) */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: #000; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.show-sm { display: none; }
@media (hover: none) { .hide-touch { display: none; } }
@media (hover: hover) { .show-touch { display: none; } }

.eyebrow {
  font: 600 14px/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.script {
  font-family: var(--script); font-style: normal; font-weight: 400; letter-spacing: .05em; text-transform: none;
  font-size: 1.45em; line-height: .5; color: var(--gold); padding: 0 .1em;
}
h2 { font: 800 clamp(34px, 4.4vw, 70px)/.95 var(--head); letter-spacing: -.045em; text-transform: uppercase; }
h3 { font: 700 clamp(22px, 1.9vw, 30px)/1.1 var(--head); letter-spacing: -.025em; text-transform: uppercase; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; /* pill-shaped everywhere, like the booking bar */
  font: 700 12px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid transparent; transition: background .3s, border-color .3s, color .3s, transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--red); color: #fff; }
.btn--solid:hover { background: var(--gold); color: #000; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(231, 199, 114, .08); }
.link {
  color: var(--bone); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: color .3s, background-size .4s var(--ease);
}
.link:hover { color: var(--gold); background-size: 0 1px; background-position: 100% 100%; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.section-head h2 { margin-top: 18px; }
.section-head__sub { margin-top: 20px; color: var(--bone-2); font-size: 19px; }

/* ───────── loader ───────── */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 30px;
  background: var(--ink); clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__emblem {
  width: 116px; height: 116px; --sweep: 0deg;
  background: conic-gradient(var(--gold) 0 var(--sweep), rgba(255, 255, 255, .1) var(--sweep) 360deg);
  -webkit-mask: url(../img/emblem.png?v=brand) center / contain no-repeat; mask: url(../img/emblem.png?v=brand) center / contain no-repeat;
  transition: --sweep .5s var(--ease);
  filter: drop-shadow(0 0 18px rgba(231, 199, 114, .45));
}
.loader__bar { width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }

/* ───────── OURS strip + nav ───────── */
.ours-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60; height: var(--bar);
  display: flex; align-items: center; gap: 18px; padding: 0 var(--gutter);
  background: #000; border-bottom: 1px solid var(--line);
  font: 500 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3);
}
.ours-bar__brand img { height: 13px; width: auto; opacity: .9; }
.ours-bar__text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ours-bar__text b { color: var(--bone); font-weight: 600; }
.ours-bar__btn { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); letter-spacing: inherit; text-transform: inherit; font-size: 11px; height: 100%; }
.ours-bar__btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--ease); }
.ours-bar__btn:hover svg { transform: translateY(2px); }

.nav {
  position: fixed; top: var(--nav-top, var(--bar)); left: 0; right: 0; z-index: 50; height: 80px;
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  transition: background .45s, height .45s var(--ease), border-color .45s; border-bottom: 1px solid transparent;
}
.nav.is-solid { height: 64px; background: rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.nav__logo img { height: 34px; width: auto; opacity: 0; transform: translateY(-6px); transition: opacity .45s, transform .45s var(--ease); }
.nav.is-solid .nav__logo img { opacity: 1; transform: none; }
.nav__links { margin-left: auto; display: flex; gap: clamp(20px, 2.3vw, 34px); }
.nav__links a {
  position: relative; font: 600 15px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); transition: color .3s;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: right .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--bone); }
.nav__links a.is-active::after { right: 0; }
.nav__cta { min-height: 42px; padding: 0 20px; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--bone); transition: transform .35s var(--ease); }
.nav__burger i:first-child { top: 17px; }
.nav__burger i:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 34px;
  padding: 120px var(--gutter) 48px; background: rgba(0, 0, 0, .97);
}
.menu nav { display: grid; gap: 6px; }
.menu nav a { font: 800 clamp(32px, 8.6vw, 46px)/1.08 var(--head); letter-spacing: -.04em; text-transform: uppercase; }
.menu nav a:hover { color: var(--gold); }
.menu .btn { align-self: flex-start; }
.menu__wa { color: var(--bone-3); font-size: 16px; }

/* ───────── hero: the seam between dinner and the dance floor ───────── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #000; }
.split { position: absolute; inset: 0; }
.half { position: absolute; inset: 0; overflow: hidden; }
.half__media { position: absolute; top: 0; height: 100%; width: var(--mw, 78%); object-fit: cover; will-change: transform; background: #000; }
.half--dine .half__media { left: 0; object-position: 50% 50%; }
.half--dance .half__media { right: 0; object-position: 50% 45%; }
.half__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, transparent 32%, transparent 52%, rgba(0, 0, 0, .78) 100%); }
.half--dance .half__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, transparent 30%, transparent 50%, rgba(0, 0, 0, .7) 100%); }
.half__text {
  position: absolute; bottom: 24%; max-width: 10ch;
  font: 800 clamp(32px, 4vw, 68px)/.95 var(--head); letter-spacing: -.045em; text-transform: uppercase; text-shadow: 0 8px 40px rgba(0, 0, 0, .6);
  transition: opacity .5s var(--ease);
}
.half--dine .half__text { left: var(--gutter); }
.half--dance .half__text { right: var(--gutter); text-align: right; }
.half__kicker { display: block; margin-bottom: 18px; font: 600 15px/1 var(--body); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.seam { position: absolute; top: 0; bottom: 0; left: 0; width: 0; will-change: transform; }
.seam::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px;
  background: linear-gradient(transparent, var(--red) 14%, var(--gold) 50%, var(--red) 86%, transparent);
  box-shadow: 0 0 28px rgba(231, 199, 114, .85);
}
.seam__knob {
  position: absolute; top: 50%; left: 0; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%;
  display: grid; place-items: center; cursor: grab; touch-action: none;
  background: rgba(0, 0, 0, .82); border: 1px solid var(--gold);
  box-shadow: 0 0 0 9px rgba(231, 199, 114, .12), 0 12px 40px rgba(0, 0, 0, .6);
  transition: box-shadow .4s var(--ease);
}
.seam__knob:hover, .seam__knob.is-dragging { box-shadow: 0 0 0 14px rgba(231, 199, 114, .18), 0 12px 40px rgba(0, 0, 0, .6); }
.seam__knob.is-dragging { cursor: grabbing; }
.seam__knob span {
  width: 40px; height: 40px; background: var(--gold);
  -webkit-mask: url(../img/emblem-bold.png) center / contain no-repeat; mask: url(../img/emblem-bold.png) center / contain no-repeat;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__brand {
  position: absolute; left: 50%; top: calc(var(--bar) + 12vh); transform: translateX(-50%); z-index: 2;
  display: grid; justify-items: center; gap: 16px; pointer-events: none;
}
.hero__logo { width: clamp(240px, 26vw, 440px); height: auto; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .75)); }
.hero__tag { font: 800 13px/1 var(--head); letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; color: var(--bone); text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.hero__ctas { position: absolute; left: 50%; bottom: max(30px, 6vh); transform: translateX(-50%); display: flex; gap: 12px; }
.hero__ctas .btn--ghost { min-width: 0; }
.hero__ctas .btn--solid { background: var(--gold); color: #000; box-shadow: 0 10px 30px rgba(231, 199, 114, .25); }
.hero__ctas .btn--solid:hover { background: #fff; color: #000; }
.hero__hint {
  position: absolute; top: calc(50% + 50px); left: 0; transform: translateX(calc(var(--sx, 50vw) - 50%));
  font: 500 13px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--bone-2);
  white-space: nowrap; pointer-events: none; text-shadow: 0 2px 12px #000; transition: opacity .6s;
}
.hero.is-touched .hero__hint { opacity: 0; }
@media (max-width: 1199px) { .hint-long { display: none; } }

/* portrait screens: dinner on top, the dance floor below */
.split.is-v .half__media { left: 0; right: 0; width: 100%; height: var(--mh, 74%); }
.split.is-v .half--dine .half__media { top: 0; }
.split.is-v .half--dance .half__media { top: auto; bottom: 0; }
.split.is-v .seam { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 0; }
.split.is-v .seam::before { top: -1px; bottom: auto; left: 0; right: 0; width: auto; height: 2px; background: linear-gradient(90deg, transparent, var(--red) 14%, var(--gold) 50%, var(--red) 86%, transparent); }
.split.is-v .seam__knob { top: 0; left: auto; right: var(--gutter); margin: -33px 0 0 0; }
.split.is-v .half__text { max-width: 14ch; font-size: clamp(26px, 7.6vw, 42px); }
.split.is-v .half--dine .half__text { left: var(--gutter); bottom: auto; top: calc(var(--sy, 50vh) - 26px); transform: translateY(-100%); }
.split.is-v .half--dance .half__text { left: var(--gutter); right: auto; text-align: left; bottom: auto; top: calc(var(--sy, 50vh) + 30px); }
.split.is-v + .hero__brand { top: calc(var(--bar) + 70px); gap: 12px; }
.split.is-v + .hero__brand .hero__logo { width: min(60vw, 280px); }
.split.is-v + .hero__brand .hero__tag { font-size: 11px; letter-spacing: .3em; }
.split.is-v ~ .hero__hint { top: auto; bottom: calc(max(30px, 6vh) + 64px); left: 50%; transform: translateX(-50%); }

/* ───────── manifesto ───────── */
.manifesto {
  position: relative; overflow: hidden; padding: 20vh max(var(--gutter), calc((100% - 1240px) / 2)) 16vh;
  background: radial-gradient(80% 90% at 15% 0%, rgba(255, 255, 255, .06), transparent 60%), var(--red);
}
.manifesto::before {
  content: ""; position: absolute; right: -8vw; top: 50%; width: min(70vw, 820px); aspect-ratio: 1; transform: translateY(-50%);
  background: #000; opacity: .14; pointer-events: none;
  -webkit-mask: url(../img/emblem.png?v=brand) center / contain no-repeat; mask: url(../img/emblem.png?v=brand) center / contain no-repeat;
}
.manifesto > * { position: relative; }
.manifesto__text { margin-top: 26px; font: 800 clamp(28px, 3.7vw, 58px)/1.06 var(--head); letter-spacing: -.035em; text-transform: uppercase; }
.manifesto__text .w { opacity: .22; transition: opacity .2s; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10vh; border-top: 1px solid rgba(255, 255, 255, .25); }
.facts li { padding: 26px 24px 0 0; display: grid; gap: 6px; }
.facts li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .25); }
.facts b { font: 700 clamp(40px, 4.2vw, 64px)/1 var(--display); color: var(--bone); }
.facts span { font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

/* ───────── a night at TABU ───────── */
.night { position: relative; --t: 0; background: var(--ink); }
.night::before, .night::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.night::before { background: radial-gradient(120% 80% at 80% 0%, rgba(231, 199, 114, .22), transparent 60%), linear-gradient(180deg, #130606, var(--ink)); opacity: calc(1 - var(--t)); }
.night::after { background: radial-gradient(110% 90% at 30% 100%, rgba(111, 17, 19, 0.54), transparent 60%), linear-gradient(180deg, #030101, #2a0506); opacity: var(--t); }
.night__pin { position: relative; z-index: 1; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); overflow: hidden; padding: calc(64px + 4vh) 0 5vh; }
.night__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: 0 var(--gutter); }
.night__head h2 { margin-top: 14px; font-size: clamp(28px, 3.2vw, 52px); }
.night__clock { font: 700 clamp(80px, 11vw, 170px)/.8 var(--display); color: transparent; -webkit-text-stroke: 1.2px rgba(231, 199, 114, .7); font-variant-numeric: tabular-nums; }
.night__track { display: flex; gap: 5vw; width: max-content; height: 100%; padding: 4vh var(--gutter) 0; will-change: transform; }
.scene { width: min(76vw, 1120px); height: 100%; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 3.5vw, 56px); align-items: center; }
.scene__img { height: 100%; max-height: 62vh; overflow: hidden; }
.scene__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.scene__copy { display: grid; gap: 16px; align-content: center; max-width: 420px; }
.scene__copy p { color: var(--bone-2); }
.scene__copy .link, .scene__copy .btn { justify-self: start; margin-top: 6px; }
.scene__time { font: 700 16px/1 var(--display); letter-spacing: .18em; color: var(--gold); }
.scene--end { width: min(58vw, 760px); grid-template-columns: 1fr; }
.scene--end .scene__copy { max-width: 560px; }
.scene--end h3 { font-size: clamp(28px, 2.8vw, 46px); }
.night__rail { display: none; }

/* ───────── events: the fan ───────── */
.events { padding: 18vh var(--gutter) 12vh; position: relative; overflow: hidden; }
.events::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--ink), rgba(0, 0, 0, .55) 30%, rgba(0, 0, 0, .7) 75%, var(--ink)), url(../img/brand-crowd-2.webp) center / cover; opacity: .55; pointer-events: none; }
.events > * { position: relative; }
.events__stage { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5vw; align-items: center; max-width: 1280px; margin: 7vh auto 0; }
.fan { --cw: clamp(240px, 25vw, 390px); position: relative; height: calc(var(--cw) * 1.62); margin-bottom: 40px; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.fan__card {
  position: absolute; left: calc(50% - var(--cw) / 2); bottom: 4%; width: var(--cw); aspect-ratio: 1;
  transform-origin: 50% 175%; transform: rotate(var(--a, 0deg)) translateY(var(--y, 0)) scale(var(--s, 1));
  transition: transform .85s var(--ease), filter .6s, box-shadow .6s; filter: brightness(var(--b, 1)) saturate(var(--b, 1));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6); cursor: pointer; border: 1px solid rgba(255, 255, 255, .12);
}
.fan__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.fan__card.is-active { box-shadow: 0 40px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(231, 199, 114, .55); }
.fan__past { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .78); border: 1px solid var(--line-2); font: 700 10.5px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--bone-2); }
.fan__blank { display: grid; place-items: center; width: 100%; height: 100%; padding: 20px; text-align: center; background: var(--red); font: 800 22px/1.05 var(--head); text-transform: uppercase; }
.event-detail__past { display: inline-block; margin-right: 10px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 700 11px/1.3 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); vertical-align: 2px; }
.fan__nav { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 20; }
.fan__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: rgba(0, 0, 0, .6); transition: border-color .3s, background .3s; }
.fan__nav button:hover { border-color: var(--gold); }
.fan__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.event-detail { display: grid; gap: 18px; }
.event-detail__date { display: flex; align-items: flex-end; gap: 18px; }
.event-detail__day { font: 700 clamp(100px, 11vw, 160px)/.78 var(--display); color: var(--bone); }
.event-detail__when { display: grid; gap: 6px; padding-bottom: 8px; font: 600 15px/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.event-detail__when span:last-child { color: var(--bone-3); }
.event-detail h3 { font-size: clamp(28px, 2.8vw, 44px); }
.event-detail__tag { color: var(--bone-2); font: 500 20px/1.3 var(--body); }
.event-detail__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 16px; color: var(--bone-2); }
.event-detail__meta b { display: block; font-weight: 600; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--bone-3); }
.event-detail__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.event-detail.is-swapping > * { animation: rise .6s var(--ease) both; }
.event-detail.is-swapping > :nth-child(2) { animation-delay: .04s; }
.event-detail.is-swapping > :nth-child(3) { animation-delay: .08s; }
.event-detail.is-swapping > :nth-child(4) { animation-delay: .12s; }
.event-detail.is-swapping > :nth-child(5) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.events__more { text-align: center; margin-top: 9vh; color: var(--bone-3); font-size: 16px; }
.events__empty { grid-column: 1 / -1; text-align: center; color: var(--bone-2); }

/* ───────── story ───────── */
.story { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 6vw; align-items: center; max-width: 1240px; margin: 0 auto; padding: 12vh var(--gutter) 18vh; }
.story__photo { position: relative; aspect-ratio: 4 / 5; max-height: 86vh; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.story__emblem {
  position: absolute; right: -34px; bottom: -34px; width: 132px; height: 132px; padding: 22px; border-radius: 50%;
  background: var(--red); box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
}
.story__emblem img { width: 100%; height: 100%; }
.story__copy { display: grid; gap: 56px; }
.story__block { display: grid; gap: 16px; }
.story__copy h2 { font-size: clamp(26px, 2.6vw, 40px); }
.story__copy p:not(.eyebrow) { color: var(--bone-2); font-size: 19px; max-width: 540px; }

/* ───────── OURS family: the venues orbit the OURS mark above the map of the coast they share ───────── */
.ours { position: relative; padding: 16vh var(--gutter) 12vh; overflow: hidden; background: radial-gradient(55% 50% at 50% 60%, rgba(111, 17, 19, .5), transparent 72%), var(--ink-2); border-top: 1px solid var(--line); }
.ours__here {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 11px 18px; border-radius: 999px;
  border: 1px solid rgba(231, 199, 114, .45); background: rgba(111, 17, 19, .5); font: 600 15px/1.3 var(--body); letter-spacing: .06em;
}
.ours__here i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: beacon 1.8s ease-out infinite; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(231, 199, 114, .7); } 100% { box-shadow: 0 0 0 14px rgba(231, 199, 114, 0); } }

.system { position: relative; z-index: 0; isolation: isolate; height: clamp(560px, 58vw, 780px); max-width: 1320px; margin: 4vh auto 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.system:active { cursor: grabbing; }
.system__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.system__ring--back { z-index: 4; }
.system__ring--front { z-index: 30; }
.system__ring path { fill: none; stroke: rgba(231, 199, 114, .38); stroke-width: 1; }
.system__ring--back path { stroke: rgba(231, 199, 114, .16); }
.system__ring .system__ring-outer { display: none; } /* one ring is enough */

/* the ground: the tilted map in the middle of the ring */
.system__ground { position: absolute; z-index: 20; left: 50%; top: 56%; width: min(58%, 720px); transform: translate(-50%, -50%); perspective: 1300px; pointer-events: none; }
.atlas__plane {
  position: relative; aspect-ratio: 1000 / 699; transform-style: preserve-3d; transform-origin: 50% 50%; --tilt-end: 50deg; --tilt: var(--tilt-end);
  transform: rotateX(var(--tilt));
}
.atlas__map { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: rgba(0, 0, 0, .28); box-shadow: 0 0 0 1px rgba(231, 199, 114, .35), 0 0 0 14px rgba(231, 199, 114, .04), 0 40px 90px rgba(0, 0, 0, .8); -webkit-mask: radial-gradient(closest-side, #000 72%, transparent 100%); mask: radial-gradient(closest-side, #000 72%, transparent 100%); }
.atlas__map svg { display: block; width: 100%; height: 100%; }
.atlas__map .m-land { fill: rgba(8, 2, 2, .82); }
.atlas__map .m-minor { fill: none; stroke: rgba(255, 255, 255, .055); stroke-width: 1; }
.atlas__map .m-main { fill: none; stroke: rgba(255, 255, 255, .17); stroke-width: 2; }
.atlas__map .m-labuansait, .atlas__map .m-coast { fill: none; stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); transition: stroke-dashoffset 2.4s cubic-bezier(.6, 0, .2, 1); }
.atlas__map .m-labuansait { stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(231, 199, 114, .6)); transition-delay: .4s; }
.atlas__map .m-coast { stroke: rgba(231, 199, 114, .8); stroke-width: 2; }
.system.is-in .m-labuansait, .system.is-in .m-coast, .system.is-static .m-labuansait, .system.is-static .m-coast { stroke-dashoffset: 0; }
.atlas__labels, .atlas__pins { position: absolute; inset: 0; transform-style: preserve-3d; }
.atlas__label { position: absolute; transform: translate(-50%, -50%); font: 600 12px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .4); white-space: nowrap; }
.atlas__label--sea { font: 400 clamp(22px, 2.2vw, 34px)/1 var(--script); letter-spacing: .06em; text-transform: none; color: rgba(231, 199, 114, .55); }

/* map pins: a shadow on the ground, the pin stands up out of the tilted map */
.pin { position: absolute; width: 0; height: 0; transform-style: preserve-3d; z-index: 1; }
.pin--here, .pin.is-on { z-index: 3; }
.pin__shadow { position: absolute; left: -8px; top: -4px; width: 16px; height: 8px; border-radius: 50%; background: rgba(0, 0, 0, .7); filter: blur(2px); }
.pin__body { position: absolute; left: 0; bottom: 0; display: grid; justify-items: center; transform-origin: 50% 100%; transform: translateX(-50%) rotateX(calc(var(--tilt) * -1)); }
.pin__drop { display: grid; justify-items: center; }
.pin__head {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: #000; border: 1.5px solid var(--gold); box-shadow: 0 6px 16px rgba(0, 0, 0, .7); transition: background .3s, transform .35s var(--ease);
}
.pin__head b { transform: rotate(45deg); font: 700 12.5px/1 var(--display); color: var(--gold); transition: color .3s; }
.pin__stem { width: 1.5px; height: 12px; background: linear-gradient(var(--gold), transparent); transition: height .35s var(--ease); }
.pin__head { transition: background .3s, transform .35s var(--ease), width .35s var(--ease), height .35s var(--ease); }
.pin__head b { transition: color .3s, opacity .25s; }
.pin:not(.is-on):not(.pin--here) .pin__head { width: 11px; height: 11px; background: var(--gold); border-width: 1px; box-shadow: 0 0 0 3px rgba(231, 199, 114, .14); }
.pin:not(.is-on):not(.pin--here) .pin__head b { opacity: 0; }
.pin:not(.is-on):not(.pin--here) .pin__stem { height: 5px; }
.pin:not(.is-on):not(.pin--here) .pin__shadow { transform: scale(.5); }
.pin.is-on .pin__head { background: var(--gold); transform: rotate(-45deg) scale(1.2); }
.pin.is-on .pin__head b { color: #000; }
.pin__seal { display: block; width: 24px; height: 24px; background: #fff; -webkit-mask: url(../img/emblem-bold.png) center / contain no-repeat; mask: url(../img/emblem-bold.png) center / contain no-repeat; }
.pin--here .pin__head { width: 44px; height: 44px; background: var(--red); border: 2px solid var(--gold); box-shadow: 0 0 0 5px rgba(231, 199, 114, .16), 0 12px 28px rgba(0, 0, 0, .7); }
.pin--here .pin__seal { transform: rotate(45deg); }
.pin--here.is-on .pin__head { background: var(--red); transform: rotate(-45deg) scale(1.1); }
.pin--here .pin__stem { height: 18px; width: 2px; }
.pin--here .pin__shadow { left: -14px; top: -6px; width: 28px; height: 12px; }
.pin--here::before, .pin--here::after { content: ""; position: absolute; left: -36px; top: -18px; width: 72px; height: 36px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; transform: scale(.3); }
.system.is-in .pin--here::before, .system.is-static .pin--here::before { animation: ripple 2.4s 2.4s ease-out infinite; }
.pin--here::after { display: none; }
@keyframes ripple { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.4); } }

/* the lines from each venue down to where it is */
.beam { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; opacity: 0; transition: opacity .3s; }
.beam.is-on { opacity: 1; filter: drop-shadow(0 0 4px rgba(231, 199, 114, .6)); }
.beam.is-drawn { stroke-dasharray: 4 5; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }

/* the OURS mark floats over the middle of the map */
.system__core {
  position: absolute; z-index: 32; left: 50%; top: 30%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 10px;
  padding: 18px 26px; border-radius: 999px; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); pointer-events: auto;
}
.system__core img { width: clamp(130px, 13vw, 190px); height: auto; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .9)); }
.system__core span { font: 600 12.5px/1 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

/* the planets */
.system__planets { position: absolute; inset: 0; }
.planet { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 10px; will-change: transform; outline-offset: 8px; }
.planet__disc {
  position: relative; display: block; width: clamp(82px, 8.4vw, 124px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink-3);
  border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); transition: border-color .4s, box-shadow .4s;
}
.planet__disc img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.planet__name { font: 600 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--bone-2); text-shadow: 0 2px 10px #000; opacity: .5; transition: color .3s, opacity .4s; }
.planet.is-front .planet__name, .planet:hover .planet__name, .planet:focus-visible .planet__name { opacity: 1; }
.planet__name b { color: var(--gold); font-family: var(--display); letter-spacing: .04em; margin-right: 4px; }
.planet.is-front .planet__disc, .planet:hover .planet__disc, .planet:focus-visible .planet__disc { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(231, 199, 114, .16), 0 22px 50px rgba(0, 0, 0, .7); }
.planet.is-front .planet__disc img, .planet:hover .planet__disc img { transform: scale(1.08); }
.planet.is-front .planet__name { color: var(--bone); }
/* TABU: a deep red ring, the gold seal pin and the "you are here" tag */
.planet.is-here .planet__disc { border: 2px solid var(--gold); box-shadow: 0 0 0 5px var(--red), 0 0 0 6px rgba(231, 199, 114, .6), 0 24px 54px rgba(0, 0, 0, .7); }
.planet.is-here .planet__disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(231, 199, 114, .3); }
.planet.is-here .planet__name { color: var(--gold); }
.planet__pin { position: absolute; bottom: calc(100% - 4px); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; pointer-events: none; }
.planet__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); border: 2px solid var(--gold); box-shadow: 0 10px 24px rgba(0, 0, 0, .6); animation: bob 2.4s ease-in-out infinite; }
.planet__mark .pin__seal { width: 20px; height: 20px; transform: rotate(45deg); }
@keyframes bob { 50% { translate: 0 -5px; } }
.pin__tag { padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #000; font: 800 11px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
.planet.is-here::before { content: ""; position: absolute; left: 50%; top: 0; width: clamp(82px, 8.4vw, 124px); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: halo 2.6s ease-out infinite; pointer-events: none; }
@keyframes halo { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.atlas__credit { position: absolute; z-index: 35; right: 0; bottom: 0; font: 500 11px/1 var(--body); letter-spacing: .06em; color: var(--bone-3); }
.atlas__credit a { text-decoration: underline; text-underline-offset: 2px; }
.venue-card__here { color: var(--bone); background: var(--red); padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(231, 199, 114, .5); }
.venue-card {
  display: grid; grid-template-columns: 116px 1fr; gap: 22px; align-items: center; max-width: 640px; margin: 6vh auto 0; padding: 14px; text-align: left;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .5); touch-action: pan-y; user-select: none; -webkit-user-select: none;
  transition: translate .45s var(--ease);
}
.venue-card > * { opacity: var(--fade, 1); transition: opacity .3s; }
.venue-card:focus-visible { outline-offset: 6px; }
.venue-card img { width: 116px; height: 140px; object-fit: cover; }
.venue-card__kind { font: 600 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.venue-card h3 { margin: 8px 0 6px; font-size: 24px; }
.venue-card p { color: var(--bone-2); font-size: 17px; margin-bottom: 10px; }
.venue-card.is-next > * { animation: slide-next .5s var(--ease) both; }
.venue-card.is-prev > * { animation: slide-prev .5s var(--ease) both; }
.venue-card.is-next > :last-child, .venue-card.is-prev > :last-child { animation-delay: .05s; }
@keyframes slide-next { from { opacity: 0; transform: translateX(28px); } }
@keyframes slide-prev { from { opacity: 0; transform: translateX(-28px); } }
.venue-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.venue-nav > button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: rgba(0, 0, 0, .5); transition: border-color .3s; }
.venue-nav > button:hover { border-color: var(--gold); }
.venue-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.venue-nav__dots { display: flex; align-items: center; }
.venue-nav__dots button { display: grid; place-items: center; width: 20px; height: 36px; transition: width .4s var(--ease); }
.venue-nav__dots button::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .28); transition: width .4s var(--ease), background .4s; }
.venue-nav__dots button.is-on { width: 34px; }
.venue-nav__dots button.is-on::before { width: 24px; background: var(--gold); }
.venue-nav__hint { margin-top: 6px; text-align: center; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); }

/* ───────── the closing invitation ───────── */
.finale { position: relative; overflow: hidden; isolation: isolate; display: grid; align-items: center; min-height: 92vh; min-height: 92svh; padding: 16vh max(var(--gutter), calc((100% - 1240px) / 2)); border-top: 1px solid var(--line); }
.finale__bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finale::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .55) 55%, rgba(46, 6, 7, .35)), linear-gradient(0deg, #000, transparent 30%, transparent 75%, rgba(0, 0, 0, .8)); }
.finale__copy { display: grid; gap: 22px; justify-items: start; max-width: 760px; }
.finale h2 { font-size: clamp(48px, 7.4vw, 128px); line-height: .88; letter-spacing: -.055em; }
.finale__text { color: var(--bone-2); font-size: 21px; max-width: 520px; }
.finale__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.finale__ctas .btn { min-height: 58px; padding: 0 34px; }
.finale__facts { list-style: none; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 12px 56px; margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 17px; color: var(--bone-2); }
.finale__facts li { display: grid; gap: 6px; align-content: start; justify-items: start; }
.finale__facts b { font: 600 13px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.finale__seal { position: absolute; right: max(var(--gutter), 6vw); bottom: 12vh; width: clamp(120px, 15vw, 230px); aspect-ratio: 1; background: var(--gold); opacity: .85; -webkit-mask: url(../img/emblem.png?v=brand) center / contain no-repeat; mask: url(../img/emblem.png?v=brand) center / contain no-repeat; animation: spin 60s linear infinite; }

/* ───────── inside TABU: three moving pictures overlapping like prints on a table, the dress code as an invitation ───────── */
.room {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6vw; align-items: center;
  padding: 16vh max(var(--gutter), calc((100% - 1300px) / 2)); border-top: 1px solid var(--line);
  background: radial-gradient(60% 50% at 75% 45%, rgba(231, 199, 114, .1), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(111, 17, 19, .4), transparent 70%), var(--ink-2);
}
.room__copy { display: grid; gap: 22px; justify-items: start; }
.room__copy h2 { font-size: clamp(42px, 5vw, 84px); }
.room__text { color: var(--bone-2); font-size: 19px; max-width: 470px; }
.room__stage { position: relative; aspect-ratio: 1 / .86; }
.room__clip { position: absolute; margin: 0; overflow: hidden; border-radius: 16px; background: var(--ink-3); box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(231, 199, 114, .22); }
.room__clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room__clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .75)); pointer-events: none; }
.room__clip figcaption { position: absolute; z-index: 1; left: 14px; bottom: 12px; display: flex; gap: 8px; align-items: baseline; font: 600 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; }
.room__clip figcaption span { font: 700 12px/1 var(--display); color: var(--gold); letter-spacing: .06em; }
.room__clip--1 { z-index: 2; left: 26%; top: 0; width: 46%; aspect-ratio: 9 / 16; }
.room__clip--2 { z-index: 1; left: 0; top: 16%; width: 30%; aspect-ratio: 9 / 14; }
.room__clip--3 { z-index: 3; right: 0; top: 34%; width: 31%; aspect-ratio: 9 / 14; }

/* the invitation card */
.dress {
  position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; gap: 6px; width: min(100%, 420px); margin-top: 10px;
  padding: 34px 30px 30px; text-align: center; border: 1px solid rgba(231, 199, 114, .55); border-radius: 4px;
  background: linear-gradient(rgba(10, 4, 4, .82), rgba(46, 6, 7, .9));
}
.dress::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(231, 199, 114, .22); border-radius: 2px; pointer-events: none; }
.dress__bg { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: saturate(.7); }
.dress__seal { width: 38px; height: 38px; margin-bottom: 6px; background: var(--gold); -webkit-mask: url(../img/emblem-bold.png) center / contain no-repeat; mask: url(../img/emblem-bold.png) center / contain no-repeat; }
.dress__eyebrow { font: 600 13px/1 var(--body); letter-spacing: .34em; text-transform: uppercase; color: var(--bone-2); }
.dress__title { font: 400 clamp(54px, 5vw, 76px)/1 var(--script); color: var(--gold); letter-spacing: .02em; margin: 4px 0 2px; }
.dress__text { color: var(--bone-2); font-size: 17px; max-width: 300px; }
.dress__rules { list-style: none; display: grid; gap: 6px; margin: 12px 0 4px; padding: 14px 0 0; border-top: 1px solid rgba(231, 199, 114, .25); font: 600 13.5px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--bone); }
.dress__rules li::before { content: "✦"; margin-right: 9px; font-size: 9px; vertical-align: 2px; color: var(--gold); }
.dress__note { font: 400 24px/1 var(--script); color: rgba(231, 199, 114, .8); margin-top: 6px; }

/* ───────── footer ───────── */
.footer { padding: 12vh var(--gutter) 40px; border-top: 1px solid var(--line); }
.footer__logo { width: min(460px, 76vw); height: auto; margin: 0 auto 10vh; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1240px; margin: 0 auto; }
.footer h3 { font: 600 14px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer p, .footer li { color: var(--bone-2); font-size: 17px; line-height: 1.8; }
.footer__venues { list-style: none; }
.footer__legal { max-width: 1240px; margin: 9vh auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--bone-3); }


/* ───────── a taste of the menu: a ticker of dishes, four plates, the way to the full menu ───────── */
.taste { position: relative; overflow: hidden; padding: 0 0 16vh; border-top: 1px solid var(--line); background: radial-gradient(60% 45% at 85% 70%, rgba(111, 17, 19, .38), transparent 72%), radial-gradient(50% 40% at 0% 20%, rgba(231, 199, 114, .07), transparent 70%), var(--ink-2); }
.taste__ticker { display: flex; width: max-content; padding: 17px 0; border-bottom: 1px solid var(--line); font: 600 14px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); white-space: nowrap; animation: ticker 46s linear infinite; }
.taste__ticker span::after { content: "✦"; margin: 0 1.4em; font-size: 10px; vertical-align: 2px; color: rgba(231, 199, 114, .6); }
@keyframes ticker { to { transform: translateX(-33.333%); } }
.taste__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy ctas" "plates plates";
  gap: 34px 6vw; align-items: end; max-width: 1280px; margin: 13vh auto 0; padding: 0 var(--gutter);
}
.taste__copy { grid-area: copy; display: grid; gap: 20px; max-width: 600px; }
.taste__copy h2 { font-size: clamp(38px, 4.6vw, 72px); }
.taste__text { color: var(--bone-2); font-size: 19px; }
.taste__ctas { grid-area: ctas; display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 6px; }
.taste__plates { grid-area: plates; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: 3vh; }
.plate:nth-child(even) { margin-top: 64px; }
.plate a { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: baseline; }
.plate__img {
  grid-column: 1 / -1; position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; margin-bottom: 14px;
  border-radius: 999px 999px 18px 18px; background: var(--ink-3); box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.plate__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(231, 199, 114, .25); transition: box-shadow .5s; }
.plate__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.plate a:hover .plate__img img { transform: scale(1.07); }
.plate a:hover .plate__img::after { box-shadow: inset 0 0 0 1px rgba(231, 199, 114, .8); }
.plate__n { font: 700 14px/1 var(--display); letter-spacing: .06em; color: var(--gold); }
.plate__name { font: 700 18px/1.15 var(--head); letter-spacing: -.01em; text-transform: uppercase; transition: color .3s; }
.plate a:hover .plate__name { color: var(--gold); }
.plate__note { grid-column: 2; font-size: 16px; line-height: 1.35; color: var(--bone-3); }

.steam { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }

/* words that rise into place (fx.splitWords) */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.sw__i { display: inline-block; will-change: transform; }
.script .sw { overflow: visible; }

/* the pointer badge over media (fx.cursorBadge) */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 85; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none; background: var(--gold); color: var(--ink);
  font: 700 10.5px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; scale: 0; transition: scale .4s var(--ease);
}
.cursor.is-on { scale: 1; }
[data-cursor] { cursor: none; }

/* the booking bar on the sub-pages (phones/tablets) */
.dock {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; gap: 8px; padding: 7px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transform: translateY(150%); transition: transform .55s var(--ease);
}
.dock.is-on { transform: none; }
.dock .btn { flex: 1; min-height: 48px; padding: 0 12px; border-radius: 999px; letter-spacing: .16em; }
.dock__wa { flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.dock__wa svg { width: 20px; height: 20px; fill: var(--bone); }
.dock--home .btn { flex: 1 1 0; }
.dock__chat svg { flex: none; width: 18px; height: 18px; fill: var(--gold); }
@media (min-width: 981px) { .dock { display: none; } }

@media (max-width: 640px) {
  .hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; bottom: max(22px, 4vh); }
  .hero__ctas .btn:first-child { grid-column: 1 / -1; }
  .hero__ctas .btn { min-height: 48px; }
  .split.is-v ~ .hero__hint { bottom: calc(max(22px, 4vh) + 122px); }
}

/* ───────── reveal on scroll ───────── */
.reveal { opacity: 0; transform: translateY(28px); }

/* ───────── smaller screens ───────── */
@media (max-width: 980px) {
  .system { height: 540px; margin-top: 2vh; }
  .system__ground { width: 94%; top: 57%; }
  .atlas__plane { --tilt-end: 36deg; }
  .system__core { top: 27%; padding: 12px 18px; }
  .system__core img { width: 112px; }
  .system__core span { font-size: 10.5px; letter-spacing: .2em; }
  .planet__disc, .planet.is-here::before { width: 62px; }
  .planet__name { font-size: 11.5px; letter-spacing: .08em; }
  .planet:not(.is-front) .planet__name { opacity: 0; }
  .planet.is-here::before { display: none; }
  .atlas__map .m-minor { display: none; }
  .planet__disc { box-shadow: 0 10px 24px rgba(0, 0, 0, .55); }
  .planet__mark { width: 30px; height: 30px; }
  .planet__mark .pin__seal { width: 16px; height: 16px; }
  .pin__tag { font-size: 9px; padding: 5px 9px; }
  .atlas__label { font-size: 10px; letter-spacing: .14em; }
  .atlas__label--sea { font-size: 19px; }
  .pin__head { width: 21px; height: 21px; }
  .pin__head b { font-size: 10px; }
  .pin__stem { height: 8px; }
  .pin--here .pin__head { width: 32px; height: 32px; }
  .pin--here .pin__seal { width: 17px; height: 17px; }
  .pin--here .pin__stem { height: 12px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { height: 66px; }
  .nav__logo img { height: 28px; }
  .events__stage { grid-template-columns: 1fr; gap: 40px; }
  .room { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 12vh var(--gutter) 13vh; }
  .room__copy { display: contents; }
  .room__copy > .eyebrow, .room__copy > h2, .room__text { justify-self: start; }
  .room__stage { order: 1; margin: 22px 0 10px; aspect-ratio: 1 / 1.12; }
  .dress { order: 2; justify-self: center; }
  .room__clip--1 { left: 0; width: 58%; }
  .room__clip--2 { left: auto; right: 0; top: 5%; width: 44%; }
  .room__clip--3 { right: 5%; top: 46%; width: 40%; }
  .taste__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "plates" "ctas"; gap: 30px; margin-top: 10vh; }
  .taste__plates {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(64vw, 300px); gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .taste__plates::-webkit-scrollbar { display: none; }
  .plate { scroll-snap-align: start; }
  .plate:nth-child(even) { margin-top: 0; }
  .taste__ctas .btn { flex: 1 1 auto; }
  .fan { --cw: min(62vw, 300px); }
  .story { grid-template-columns: 1fr; text-align: left; gap: 60px; }
  .story__photo { aspect-ratio: 4 / 4.4; margin-right: 26px; }
  .story__emblem { right: -26px; bottom: -26px; width: 100px; height: 100px; padding: 17px; }
  .story__copy { gap: 40px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px), (hover: none) and (max-width: 1180px) {
  /* the night: an evening itinerary down a gold line — it scrolls like the rest of the page */
  .night { --rail: 32px; }
  .night::before {
    opacity: 1;
    background: radial-gradient(90% 34% at 88% 0%, rgba(231, 199, 114, .2), transparent 70%),
      radial-gradient(90% 26% at 0% 100%, rgba(111, 17, 19, .42), transparent 72%),
      linear-gradient(180deg, #140909, var(--ink) 34%, var(--ink) 70%, #100607);
  }
  .night::after { display: none; }
  .night__pin { height: auto; overflow: visible; padding: 13vh 0 13vh; display: block; }
  .night__head { grid-template-columns: 1fr; }
  .night__head h2 { font-size: clamp(30px, 8.4vw, 46px); }
  .night__clock { display: none; }
  .night__track { position: relative; display: grid; gap: 64px; width: auto; height: auto; padding: 7vh var(--gutter) 0 calc(var(--gutter) + var(--rail)); }
  .night__rail { display: block; position: absolute; left: calc(var(--gutter) + 6px); top: calc(7vh + 15px); bottom: 60px; width: 1px; background: rgba(255, 255, 255, .16); }
  .night__rail b { position: absolute; inset: 0; transform-origin: 50% 0; background: linear-gradient(var(--gold) 80%, rgba(231, 199, 114, .2)); box-shadow: 0 0 10px rgba(231, 199, 114, .55); }
  .scene, .scene--end { position: relative; width: 100%; height: auto; display: grid; grid-template-columns: 1fr; gap: 18px; padding-top: 48px; align-items: start; }
  .scene::before {
    content: ""; position: absolute; z-index: 2; left: calc(-1 * var(--rail)); top: 8px; width: 13px; height: 13px; border-radius: 50%;
    background: var(--ink); border: 1.5px solid rgba(231, 199, 114, .6); transition: background .45s, box-shadow .45s;
  }
  .scene.is-lit::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(231, 199, 114, .16), 0 0 18px rgba(231, 199, 114, .75); }
  .scene__time { position: absolute; left: 0; top: 0; font-size: 28px; line-height: 1; letter-spacing: .05em; }
  .scene__img { max-height: none; height: auto; aspect-ratio: 8 / 7; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
  .scene__img img { transform: none; }
  .scene__copy { gap: 12px; max-width: 560px; }
  .scene__copy h3 { font-size: clamp(22px, 6.2vw, 32px); }
  .scene__copy .link { margin-top: 2px; }
  /* the last stop: the booking card */
  .scene--end::after {
    content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: 48px; bottom: 0; border-radius: 18px;
    border: 1px solid rgba(231, 199, 114, .38);
    background: radial-gradient(110% 80% at 100% 0%, rgba(231, 199, 114, .26), transparent 62%),
      linear-gradient(rgba(111, 17, 19, .9), rgba(74, 10, 12, .95)), url(../img/brand-crowd.webp) center / cover;
  }
  .scene--end .scene__copy { padding: 30px 24px 28px; }
  .scene--end .scene__copy > :not(.scene__time) { position: relative; z-index: 1; }
  .scene--end .scene__copy p { color: rgba(255, 255, 255, .84); }
  .scene--end h3 { font-size: clamp(24px, 6.6vw, 34px); }
  .scene--end .btn--solid { background: var(--gold); color: #000; }
}
@media (max-width: 640px) {
  :root { --bar: 34px; }
  body { font-size: 17px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .ours-bar { gap: 12px; letter-spacing: .12em; }
  .hero__ctas { left: var(--gutter); right: var(--gutter); transform: none; }
  .hero__ctas .btn { flex: 1; padding: 0 12px; letter-spacing: .16em; }
  .manifesto { padding: 14vh var(--gutter) 10vh; }
  .facts { grid-template-columns: 1fr; margin-top: 7vh; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: 110px 1fr; align-items: baseline; }
  .event-detail__day { font-size: 88px; }
  .venue-card { grid-template-columns: 92px 1fr; gap: 16px; margin-top: 4vh; }
  .venue-card img { width: 92px; height: 116px; }
  .venue-card h3 { font-size: 21px; }
  .footer__cols { grid-template-columns: 1fr; gap: 30px; }
  .finale { min-height: 0; padding: 14vh var(--gutter) 15vh; }
  .finale::before { background: linear-gradient(0deg, #000 4%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .8)); }
  .finale__ctas { width: 100%; display: grid; }
  .finale__facts { grid-template-columns: 1fr; }
  .finale__seal { right: -30px; top: 8vh; bottom: auto; opacity: .3; }
}

@media (prefers-reduced-motion: reduce) {
  [data-cursor] { cursor: pointer; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .manifesto__text .w { opacity: 1; }
}

/* animation library unreachable: the night reads top to bottom instead of sliding */
.no-gsap .night__pin { height: auto; overflow: visible; display: block; padding: 14vh 0 8vh; }
.no-gsap .night__clock { display: none; }
.no-gsap .night__track { flex-direction: column; width: auto; gap: 9vh; }
.no-gsap .scene, .no-gsap .scene--end { width: 100%; }

/* the OURS family on wide screens: words and the venue card on the left, the orbit on the right — one screen */
@media (min-width: 981px) {
  .ours {
    display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); column-gap: 4vw; align-items: center;
    grid-template-areas: ". system" "head system" "card system" "nav system" ". system"; grid-template-rows: 1fr auto auto auto 1fr;
    min-height: 100vh; min-height: 100svh; padding: calc(64px + 4vh) max(var(--gutter), calc((100% - 1380px) / 2)) 5vh;
  }
  .ours > .section-head { grid-area: head; text-align: left; margin: 0; max-width: 520px; }
  .ours > .section-head h2 { font-size: clamp(38px, 3.8vw, 62px); }
  .ours .section-head__sub { font-size: 17px; }
  .ours .system { grid-area: system; width: 100%; height: min(80vh, 720px); max-width: none; margin: 0; }
  .ours .system__ground { width: min(62%, 640px); }
  .ours .venue-card { grid-area: card; margin: 26px 0 0; max-width: 520px; }
  .ours .venue-nav { grid-area: nav; justify-content: flex-start; max-width: 520px; }
}
