/* ==========================================================================
   Bootlegger Tiki — shared styles
   Palette: night lagoon + torch amber + bamboo, with hibiscus used sparingly
   Type: Shrikhand (display) + Josefin Sans (everything else)
   ========================================================================== */

:root {
  --deep: #071818;        /* the dark of the room */
  --lagoon: #0e2a2a;      /* base background */
  --palm: #15403a;        /* raised surfaces */
  --torch: #f29a2e;       /* the 1953 torches */
  --flame: #ffc857;       /* flame highlight, focus */
  --bamboo: #ead6a6;      /* text on dark, light sections */
  --rattan: #5d4332;      /* logo brown: text on light, wood */
  --hibiscus: #e0476b;    /* happy hour only */
  --mist: rgba(234, 214, 166, 0.72);

  --display: "Shrikhand", "Cooper Black", Georgia, serif;
  --sans: "Josefin Sans", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;

  --wrap: min(1180px, 100% - 2.5rem);
  --header-h: 76px;
  --logo-h: 96px;
  --logo-h-solid: 58px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --mat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Crect width='56' height='56' fill='%23241408'/%3E%3Cg fill='%235b3819'%3E%3Crect x='1' y='2' width='26' height='5' rx='2.5'/%3E%3Crect x='1' y='9' width='26' height='5' rx='2.5'/%3E%3Crect x='1' y='16' width='26' height='5' rx='2.5'/%3E%3Crect x='1' y='23' width='26' height='3' rx='1.5'/%3E%3Crect x='29' y='30' width='26' height='5' rx='2.5'/%3E%3Crect x='29' y='37' width='26' height='5' rx='2.5'/%3E%3Crect x='29' y='44' width='26' height='5' rx='2.5'/%3E%3Crect x='29' y='51' width='26' height='3' rx='1.5'/%3E%3C/g%3E%3Cg fill='%234a2c13'%3E%3Crect x='30' y='1' width='5' height='26' rx='2.5'/%3E%3Crect x='37' y='1' width='5' height='26' rx='2.5'/%3E%3Crect x='44' y='1' width='5' height='26' rx='2.5'/%3E%3Crect x='51' y='1' width='3' height='26' rx='1.5'/%3E%3Crect x='2' y='29' width='5' height='26' rx='2.5'/%3E%3Crect x='9' y='29' width='5' height='26' rx='2.5'/%3E%3Crect x='16' y='29' width='5' height='26' rx='2.5'/%3E%3Crect x='23' y='29' width='3' height='26' rx='1.5'/%3E%3C/g%3E%3Cg fill='%23805428' opacity='.45'%3E%3Crect x='3' y='3' width='22' height='1'/%3E%3Crect x='3' y='10' width='22' height='1'/%3E%3Crect x='3' y='17' width='22' height='1'/%3E%3Crect x='31' y='31' width='22' height='1'/%3E%3Crect x='31' y='38' width='22' height='1'/%3E%3Crect x='31' y='45' width='22' height='1'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
body {
  margin: 0;
  background: var(--lagoon);
  color: var(--bamboo);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--flame); text-underline-offset: .2em; }
a:hover { color: var(--bamboo); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--flame); color: var(--deep); padding: .6rem 1rem; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: var(--wrap); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 8.5vw, 7rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
p { margin: 0 0 1em; max-width: 62ch; }
.lede { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.55; color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--sans); letter-spacing: .03em;
  padding: 1.05em 1.6em .95em; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-torch { background: var(--torch); color: var(--deep); box-shadow: 0 0 0 0 rgba(242,154,46,.0); }
.btn-torch:hover { background: var(--flame); color: var(--deep); box-shadow: 0 0 32px rgba(255,200,87,.45); }
.btn-line { border-color: rgba(234,214,166,.55); color: var(--bamboo); background: transparent; }
.btn-line:hover { border-color: var(--bamboo); background: rgba(234,214,166,.08); color: var(--bamboo); }
.btn-rattan { background: var(--rattan); color: var(--bamboo); }
.btn-rattan:hover { background: #2e190b; color: var(--flame); }

/* ---------- Logo (masked so it can take any brand color) ---------- */
.logo {
  display: block; height: 100%; aspect-ratio: 1692 / 1644; background: currentColor;
  -webkit-mask: url("/assets/img/logo.svg") center / contain no-repeat;
          mask: url("/assets/img/logo.svg") center / contain no-repeat;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-solid {
  background: rgba(7, 24, 24, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(234,214,166,.12);
}
.header-inner { width: var(--wrap); margin-inline: auto; min-height: var(--header-h); padding-block: .6rem; display: flex; align-items: center; gap: 1.5rem; }
.brand {
  display: block; height: var(--logo-h); color: var(--flame); flex: none;
  filter: drop-shadow(0 0 16px rgba(242,154,46,.45));
  transition: height .35s var(--ease), color .2s, filter .2s;
}
.brand:hover { color: var(--bamboo); filter: drop-shadow(0 0 22px rgba(255,200,87,.6)); }
.site-header.is-solid .brand { height: var(--logo-h-solid); }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a {
  color: var(--bamboo); text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: .55rem .8rem; border-radius: 999px; letter-spacing: .02em;
}
.nav a:hover { color: var(--flame); }
.nav a[aria-current="page"] { text-decoration: underline wavy var(--torch); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-actions .btn { padding: .8em 1.25em .72em; font-size: .95rem; }
.oracle-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(234,214,166,.35);
  background: transparent; color: var(--bamboo); cursor: pointer; display: grid; place-items: center;
  transition: border-color .2s, color .2s;
}
.oracle-btn:hover { border-color: var(--flame); color: var(--flame); }
.oracle-btn:hover svg { animation: wiggle .5s ease-in-out; }
@keyframes wiggle { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }

.menu-toggle { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(234,214,166,.35);
    background: transparent; color: var(--bamboo); cursor: pointer;
  }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  :root { --logo-h: 72px; --logo-h-solid: 52px; }
  /* backdrop-filter would trap the fixed menu inside the header bar, so drop it while open */
  .mobile-nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--deep); }
  .mobile-nav-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: .25rem;
    position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; z-index: -1; margin: 0;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem) 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(rgba(7,24,24,.9), rgba(7,24,24,.94)), var(--mat) 0 0 / 56px 56px, var(--deep);
    overflow-y: auto; animation: navIn .3s var(--ease);
  }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } }
  .mobile-nav-open .nav a { font-family: var(--display); font-weight: 400; font-size: 2.4rem; padding: .25rem 0; }
  .mobile-nav-open .nav a[aria-current="page"] { color: var(--flame); text-decoration: none; }
  .mobile-nav-open .nav .nav-reserve { display: inline-flex; margin-top: 1.5rem; font-family: var(--sans); font-size: 1.1rem; padding: 1rem 1.6rem; }
}
.nav .nav-reserve { display: none; }

/* ---------- Open status ---------- */
.status { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; font-size: 1rem; letter-spacing: .02em; }
.status::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: rgba(234,214,166,.4); flex: none; }
.status[data-state="open"]::before { background: #7fd68a; box-shadow: 0 0 10px #7fd68a; }
.status[data-state="happy"]::before { background: var(--hibiscus); box-shadow: 0 0 12px var(--hibiscus); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.35); } }

/* ---------- Torchlight: the room is dark, your cursor is the lantern ---------- */
.torchlight { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); --x: 50%; --y: 45%; --r: 240px; }
.torchlight .mat { position: absolute; inset: -2px; z-index: -3; background-image: var(--mat); background-size: 56px 56px; }
.torchlight .shade {
  position: absolute; inset: 0; z-index: -2; background: var(--deep); opacity: .93;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0%, rgba(0,0,0,.55) 45%, #000 100%);
          mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0%, rgba(0,0,0,.55) 45%, #000 100%);
}
.torchlight .warmth {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle calc(var(--r) * 1.2) at var(--x) var(--y), rgba(242,154,46,.16), transparent 70%);
}

/* ---------- Hero (home) ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 3rem) 0 4rem; }
.torch { position: absolute; bottom: 0; right: max(1rem, calc((100vw - 1180px) / 2)); height: min(86vh, 860px); width: auto; z-index: -1; pointer-events: none; filter: drop-shadow(0 0 30px rgba(0,0,0,.6)); }


.torch .halo { animation: halo 2.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }

@keyframes halo { 0% { opacity: .7; transform: scale(.95); } 40% { opacity: 1; } 100% { opacity: .8; transform: scale(1.06); } }
.torch .f1, .torch .f2, .torch .f3 { transform-box: fill-box; transform-origin: 50% 100%; }
.torch .f1 { animation: flick 1.3s ease-in-out infinite alternate; }
.torch .f2 { animation: flick 0.9s ease-in-out infinite alternate-reverse; }
.torch .f3 { animation: flick 0.7s ease-in-out infinite alternate; }


@keyframes flick {
  0%   { transform: scale(1, 1) skewX(0deg); }
  30%  { transform: scale(.96, 1.08) skewX(-3deg); }
  60%  { transform: scale(1.03, .95) skewX(2deg); }
  100% { transform: scale(.98, 1.12) skewX(4deg); }
}
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero-copy { position: relative; width: var(--wrap); margin-inline: auto; }
.hero-copy > * { max-width: 40rem; }

.hero h1 { font-size: clamp(3rem, 7vw, 6.25rem); color: var(--bamboo); text-shadow: 0 0 40px rgba(242,154,46,.35), 0 4px 0 rgba(0,0,0,.35); margin-bottom: .3em; }
.hero h1.hero-title { max-width: 12ch; }
.hero h1 .line { display: block; }
.hero .lede { margin: 0 0 2rem; color: var(--bamboo); text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.hero .ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.adjust { position: absolute; left: max(1.25rem, calc((100vw - 1180px) / 2)); right: auto; bottom: 1.5rem; text-align: left; font-size: .95rem; color: var(--mist); letter-spacing: .03em; opacity: 0; animation: adjustHint 4.2s ease forwards; }
@keyframes adjustHint { 10% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }

/* Eyes adjusting: the one orchestrated moment on load */
.hero::after { content: ""; position: absolute; inset: 0; background: #000; z-index: 5; pointer-events: none; animation: eyes 2.4s cubic-bezier(.6,0,.2,1) .15s forwards; }
@keyframes eyes { to { opacity: 0; visibility: hidden; } }

@media (max-width: 1200px) and (min-width: 761px) {
  .torch { height: 80vh; right: 1vw; }
}
@media (max-width: 760px) {
  .torch { height: 78vh; right: -110px; opacity: .55; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(var(--header-h) + 5rem) 0 4.5rem; min-height: 58vh; display: flex; align-items: flex-end; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--bamboo); text-shadow: 0 0 40px rgba(242,154,46,.3); margin-bottom: .25em; }
.page-hero .lede { color: var(--bamboo); }
.page-hero.has-photo .photo { position: absolute; inset: 0; z-index: -4; background-size: cover; background-position: center; filter: saturate(.85) brightness(.55); }
.page-hero.has-photo .mat { opacity: .0; }
.page-hero.has-photo .shade { opacity: .8; }

/* ---------- Marquee ---------- */
.marquee { background: var(--torch); color: var(--deep); overflow: hidden; border-block: 3px solid var(--rattan); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: clamp(1.1rem, 2.35vw, 1.75rem); padding: .35em 1.2em .45em 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 1.2em; }
.marquee span::after { content: ""; width: .55em; height: .55em; background: var(--deep); clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section-bamboo { background: var(--bamboo); color: var(--rattan); }
.section-bamboo a:not(.btn) { color: var(--rattan); }
.section-bamboo h2, .section-bamboo h3 { color: var(--rattan); }
.section-palm { background: var(--palm); }
.section-deep { background: var(--deep); }
.split > *, .signup > *, .gift > *, .res-layout > *, .venue-pair > * { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Story timeline: a bamboo pole with three nodes */
.timeline { list-style: none; margin: 0; padding: 0 0 0 2.25rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: .55rem; top: .3rem; bottom: .3rem; width: 10px; border-radius: 6px; background: repeating-linear-gradient(to bottom, #b8894a 0 88px, #7a5226 88px 94px); box-shadow: inset -2px 0 0 rgba(0,0,0,.15); }
.timeline li { position: relative; padding-bottom: 2.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -2.15rem; top: .45rem; width: 22px; height: 22px; border-radius: 50%; background: var(--torch); border: 4px solid var(--bamboo); box-shadow: 0 0 0 2px var(--rattan); }
.timeline .year { font-family: var(--display); font-size: 2.25rem; line-height: 1; display: block; margin-bottom: .3rem; color: #9a4d12; }
.timeline p { margin: 0; }

/* ---------- Story: scroll through 1934 → 1953 → today ---------- */
.story { padding-bottom: clamp(3rem, 6vw, 5rem); }
.story-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.story-head h2 { margin-bottom: 0; }
.story-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.story-grid > * { min-width: 0; }
.story-stage { position: sticky; top: max(calc(var(--header-h) + 1rem), calc((100vh + var(--header-h) - var(--stage-h, 480px)) / 2)); }
.scene { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--deep);
  box-shadow: 0 0 0 6px var(--bamboo), 0 0 0 8px rgba(93,67,50,.5), 0 28px 50px -20px rgba(60,35,15,.55); }
.scene svg { display: block; width: 100%; height: auto; }
.scene-cap {
  position: absolute; left: 1rem; bottom: .9rem; font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: #fff6dc; background: rgba(7,24,24,.72); padding: .2em .7em .3em; border-radius: 8px; transition: opacity .4s;
}
.era-nav { display: flex; gap: .5rem; margin-top: 1.4rem; justify-content: center; }
.era-btn {
  font: 700 1rem/1 var(--sans); color: var(--rattan); background: transparent; cursor: pointer;
  border: 2px solid rgba(93,67,50,.35); border-radius: 999px; padding: .65em 1.2em .55em;
  transition: background-color .25s, color .25s, border-color .25s;
}
.era-btn:hover { border-color: var(--rattan); }
.era-btn[aria-pressed="true"] { background: var(--rattan); color: var(--bamboo); border-color: var(--rattan); }

/* scene: three eras crossfade; 1934 is shown like an old photograph */
.scene svg { transition: filter 1s ease; }
.story[data-era="1934"] .scene svg { filter: grayscale(1) sepia(.22) contrast(1.05); }
.scene .sky, .scene .era { transition: opacity 1s ease; }
.scene .s53, .scene .snow, .scene .e53, .scene .enow { opacity: 0; }
.story[data-era="1953"] .s53, .story[data-era="1953"] .e53 { opacity: 1; }
.story[data-era="1953"] .e34, .story[data-era="today"] .e34 { opacity: 0; }
.story[data-era="today"] .snow, .story[data-era="today"] .enow { opacity: 1; }
.story[data-era="today"] .s53 { opacity: 0; }
.scene .rise { transform: translateY(80px); transition: transform 1.1s var(--ease) .35s; }
.story[data-era="1953"] .rise, .story[data-era="today"] .rise { transform: none; }
.scene .t-flame { transform-box: fill-box; transform-origin: 50% 100%; }
.scene .t-flame .f1, .scene .t-flame .f3 { transform-box: fill-box; transform-origin: 50% 100%; }
.scene .t-flame .f1 { animation: flick 1.2s ease-in-out infinite alternate; }
.scene .t-flame .f3 { animation: flick .7s ease-in-out infinite alternate; }
.scene .t-halo { animation: glow 2.6s ease-in-out infinite alternate; }

/* steps */
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 2rem 0; opacity: .3; transition: opacity .5s; }
.story-step:first-child { min-height: 52vh; justify-content: flex-start; padding-top: 1rem; }
.story-step.is-active { opacity: 1; }
.story-step .year { font-family: var(--display); font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: .95; color: #a4501a; }
.story-step h3 { color: var(--rattan); margin: .4rem 0 .6rem; }
.story-step p { margin: 0 0 .8rem; }
.story-step .aside { display: inline-block; font-weight: 700; background: var(--rattan); color: var(--bamboo); padding: .45em .8em .35em; border-radius: 6px; transform: rotate(-1.5deg); margin-top: .4rem; }
/* (snapshot removed) */ .snapshot { margin: 1.5rem 0 0; width: min(340px, 100%); background: #fffaf0; padding: 10px 10px 0; transform: rotate(2.5deg); box-shadow: 0 18px 30px -12px rgba(60,35,15,.5); }
.snapshot-art { width: 100%; height: auto; display: block; }
.snapshot figcaption { font-family: var(--display); color: var(--rattan); text-align: center; padding: .55rem 0 .7rem; font-size: 1.05rem; }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage { top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 3; background: var(--bamboo); padding: .75rem 0 .5rem; margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .era-nav { margin-top: .75rem; }
  .story-step, .story-step:first-child { min-height: 78vh; justify-content: flex-end; padding: 2rem 0 3rem; }
}

/* ---------- Look around: the booth room, lit by your lantern ---------- */
.room-head { max-width: 44rem; margin-bottom: 2.5rem; }
.room { position: relative; }
.room-frame { border-radius: 18px; background: #000; box-shadow: 0 0 0 1px rgba(234,214,166,.12), 0 40px 80px -30px rgba(0,0,0,.8); }
.room-art { width: 100%; height: auto; display: block; position: relative; z-index: -4; }
.room-art .puff { transform-box: view-box; animation: sway 7s ease-in-out infinite alternate; }
.room-art .p1 { transform-origin: 1155px 0; }
.room-art .p2 { transform-origin: 403px 102px; animation-duration: 8.5s; animation-delay: -2s; }
.room-art .p3 { transform-origin: 52px 220px; animation-duration: 6s; animation-delay: -4s; }
@keyframes sway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }
.room-frame .shade { opacity: .72; background: #050c0c; }
.room-frame .warmth { background: radial-gradient(circle calc(var(--r) * 1.1) at var(--x) var(--y), rgba(255,170,70,.18), transparent 70%); }
.hotspot {
  position: absolute; left: var(--hx); top: var(--hy); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 0; padding: 0; background: none; cursor: pointer; z-index: 2; border-radius: 50%;
}
.hotspot::before, .hotspot::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; }
.hotspot::before { background: var(--flame); box-shadow: 0 0 0 3px rgba(7,24,24,.6), 0 0 18px var(--flame); transition: transform .25s var(--ease); }
.hotspot::after { border: 2px solid var(--flame); animation: ping 2.2s ease-out infinite; }
.hotspot:hover::before, .hotspot[aria-expanded="true"]::before { transform: scale(1.35); }
.hotspot[aria-expanded="true"]::before { background: #fff6dc; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.room-card {
  position: absolute; z-index: 3; left: 1.25rem; bottom: 1.25rem; max-width: 20rem;
  background: rgba(7,24,24,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(242,154,46,.45); border-radius: 12px; padding: .9rem 1.1rem 1rem;
  display: grid; gap: .25rem; font-size: 1rem; line-height: 1.45; transition: opacity .3s, transform .3s var(--ease);
}
.room-card-title { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--flame); }
.room.has-active .room-card { box-shadow: 0 0 40px rgba(242,154,46,.25); }
@media (max-width: 700px) {
  .room { overflow: visible; border-radius: 14px; }
  .room-photo { border-radius: 14px; }
  .room .shade, .room-frame .warmth { border-radius: 14px; }
  .room-card { position: relative; left: auto; bottom: auto; max-width: none; margin-top: .75rem; }
  .hotspot { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .hotspot::before, .hotspot::after { inset: 9px; }
}

.artifacts { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(3.5rem, 8vw, 6rem); }
.artifacts > * { min-width: 0; }
.artifact { margin: 0; background: #fffaf0; padding: 10px 10px 0; box-shadow: 0 24px 40px -18px rgba(0,0,0,.7); transition: transform .45s var(--ease); }
.artifact-l { transform: rotate(-3deg); }
.artifact-r { transform: rotate(2.5deg) translateY(2rem); }
.artifact:hover { transform: rotate(0) scale(1.03); }
.artifact-art { width: 100%; height: auto; display: block; }
.artifact figcaption { color: var(--rattan); font-size: .98rem; line-height: 1.4; padding: .7rem .3rem .9rem; display: grid; gap: .15rem; }
.artifact figcaption strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.artifact-cta h3 { color: var(--flame); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.artifact-cta .ctas { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
@media (max-width: 860px) {
  .artifacts { grid-template-columns: 1fr 1fr; }
  .artifact-cta { grid-column: 1 / -1; margin-top: 2rem; }
}

/* Drinks teaser with pourable glasses */
.pour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
@media (max-width: 860px) { .pour-grid { grid-template-columns: 1fr; max-width: 30rem; } }
.pour {
  background: none; border: 0; padding: 0; color: inherit; text-align: left; cursor: pointer; font: inherit;
  display: grid; grid-template-rows: auto auto 1fr; gap: .4rem;
}
.pour .vessel { height: 250px; display: grid; place-items: end center; border-bottom: 2px solid rgba(234,214,166,.18); margin-bottom: 1rem; position: relative; }
.pour .vessel svg { height: 230px; width: auto; overflow: visible; }
.pour .liquid { transform-box: fill-box; transform: translateY(100%); transition: transform 1.1s var(--ease); }
.pour.is-poured .liquid, .pour:hover .liquid, .pour:focus-visible .liquid { transform: translateY(0); }
.pour .garnish { opacity: 0; transform: translateY(-14px) rotate(-8deg); transition: opacity .4s .7s, transform .5s .7s var(--ease); transform-box: fill-box; transform-origin: center; }
.pour.is-poured .garnish, .pour:hover .garnish, .pour:focus-visible .garnish { opacity: 1; transform: none; }
.pour .hint { font-size: .9rem; color: var(--mist); position: absolute; top: .5rem; left: 0; right: 0; text-align: center; transition: opacity .3s; }
.pour.is-poured .hint, .pour:hover .hint { opacity: 0; }
.pour h3 { color: var(--flame); margin: 0; }
.pour p { margin: 0; color: var(--bamboo); font-size: 1.05rem; }

/* Visit */
.hours { border-collapse: collapse; width: 100%; max-width: 30rem; margin: 1rem 0 1.5rem; }
.hours th, .hours td { text-align: left; padding: .7rem 0; border-bottom: 1px dashed rgba(234,214,166,.3); font-weight: 400; }
.hours td { text-align: right; font-weight: 700; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--flame); }
.happy-note { display: inline-block; background: var(--hibiscus); color: #fff; font-weight: 700; padding: .45em .9em .35em; border-radius: 6px; transform: rotate(-2deg); margin-bottom: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.contact-list a { color: var(--bamboo); text-decoration-color: rgba(234,214,166,.4); }
.contact-list a:hover { color: var(--flame); }

.reserve-card {
  background: var(--deep); border-radius: 20px 20px 20px 20px; padding: 2rem;
  border: 2px solid rgba(242,154,46,.35); box-shadow: 0 0 60px rgba(242,154,46,.12), inset 0 0 0 6px rgba(7,24,24,1), inset 0 0 0 7px rgba(234,214,166,.12);
  display: grid; justify-items: center; text-align: center; gap: 1rem;
}
.reserve-card h3 { color: var(--flame); margin: 0; }
.reserve-card p { margin: 0; color: var(--mist); font-size: 1rem; }
.ot-widget { min-height: 310px; min-width: 224px; display: grid; place-items: center; }
.ot-widget iframe { border-radius: 8px; max-width: 100%; }
.ot-fallback { font-size: .95rem; color: var(--mist); }

/* Ernest neighbour band */
.neighbor { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.neighbor h2 { margin: 0 0 .2em; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.neighbor p { margin: 0; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: 1rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.05rem; color: inherit; background: rgba(7,24,24,.35);
  border: 2px solid rgba(234,214,166,.3); border-radius: 10px; padding: .8rem .9rem; width: 100%;
}
.section-bamboo .field input, .section-bamboo .field select, .section-bamboo .field textarea { background: rgba(255,255,255,.45); border-color: rgba(74,42,20,.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 3px rgba(255,200,87,.3); }
.section-bamboo .field input:focus, .section-bamboo .field textarea:focus, .section-bamboo .field select:focus { border-color: var(--rattan); box-shadow: 0 0 0 3px rgba(74,42,20,.2); }
.field textarea { min-height: 8rem; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: 1rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--torch); }
.form-status { font-weight: 600; min-height: 1.6em; margin: 0; }
.form-status[data-kind="ok"] { color: #7fd68a; }
.section-bamboo .form-status[data-kind="ok"] { color: #2c6b35; }
.form-status[data-kind="err"] { color: #ff9b8a; }
.section-bamboo .form-status[data-kind="err"] { color: #a3261a; }
.hp { position: absolute; left: -9999px; }

.signup { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } }

/* ---------- Menu page ---------- */
.menu-tools {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 20;
  background: rgba(14,42,42,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(234,214,166,.14);
}
.menu-tools .wrap { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; flex-wrap: wrap; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; flex: 1; }
.chip {
  font: 600 .95rem/1 var(--sans); color: var(--bamboo); background: transparent;
  border: 2px solid rgba(234,214,166,.3); border-radius: 999px; padding: .6em 1em .5em; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--bamboo); }
.chip[aria-pressed="true"] { background: var(--torch); color: var(--deep); border-color: var(--torch); }
.chip-clear { border-style: dashed; }
.pick { flex: none; }
.menu-count { font-size: .95rem; color: var(--mist); width: 100%; margin: 0; }
@media (max-width: 700px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .15rem; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .pick { width: 100%; }
}

.menu-section { padding: 4.5rem 0 1rem; }
.menu-section > .wrap > header { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.menu-section h2 { color: var(--flame); margin: 0; }
.menu-section header p { margin: 0; color: var(--mist); }
.drinks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 800px) { .drinks { grid-template-columns: 1fr; } }
.drink { padding: 1.5rem 0 1.6rem; border-top: 2px dotted rgba(234,214,166,.22); position: relative; transition: opacity .35s, filter .35s; }
.drink h3 { font-size: clamp(1.45rem, 2.2vw, 1.75rem); margin-bottom: .35rem; color: var(--bamboo); }
.drink p { margin: 0 0 .6rem; font-size: 1.05rem; color: var(--mist); }
.drink .tags { font-size: .9rem; color: var(--torch); font-weight: 600; letter-spacing: .02em; margin: 0; }
.drink.is-dim { opacity: .22; filter: grayscale(.8); }
.drink.is-picked { animation: picked 2.4s var(--ease); }
.drink.is-picked h3 { color: var(--flame); }
.drink.is-picked::before {
  content: ""; position: absolute; inset: .25rem -1rem; border-radius: 16px; z-index: -1;
  background: radial-gradient(ellipse at 30% 40%, rgba(242,154,46,.28), rgba(242,154,46,0) 70%);
}
@keyframes picked { 0% { transform: scale(.97); } 25% { transform: scale(1.02); } 100% { transform: none; } }
.menu-empty { display: none; padding: 2rem 0; }
.menu-empty.is-visible { display: block; }

.happy-band { background: var(--hibiscus); color: #fff; }
.happy-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2.25rem 0; }
.happy-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.happy-band p { margin: 0; font-weight: 600; font-size: 1.2rem; }

.photo-row { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 1rem; }
.photo-row img, .photo-row .ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; background: var(--palm); }
.photo-row img:nth-child(2) { margin-top: 3rem; }
@media (max-width: 700px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row img:nth-child(3) { display: none; } .photo-row img:nth-child(2) { margin-top: 1.5rem; } }

/* ---------- Events ---------- */
.venue-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .venue-pair { grid-template-columns: 1fr; } }
.venue-photo {
  position: relative; margin: 0 0 1.5rem; border-radius: 16px; overflow: hidden; background: var(--deep);
  aspect-ratio: 3 / 2; width: 100%;
  box-shadow: 0 0 0 1px rgba(234,214,166,.14), 0 26px 50px -24px rgba(0,0,0,.75);
}
.venue-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.08) contrast(1.06) brightness(.96);
  transform: scale(1.01); transition: transform 1.2s var(--ease), filter .6s;
}
.venue-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(7,24,24,.55) 100%),
    linear-gradient(to top, rgba(7,24,24,.7), transparent 38%);
  box-shadow: inset 0 0 0 1px rgba(255,235,200,.08);
}
.venue:hover .venue-photo img { transform: scale(1.06); filter: saturate(1.15) contrast(1.08) brightness(1.02); }
.venue-photo figcaption {
  position: absolute; z-index: 1; left: 1rem; bottom: .9rem; font-weight: 700; font-size: .9rem; letter-spacing: .03em;
  color: var(--deep); background: var(--flame); padding: .4em .8em .3em; border-radius: 999px;
}
.venue h3 { color: var(--flame); }
.venue ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.venue li { margin-bottom: .35rem; }
.venue li::marker { color: var(--torch); }
.bartelier-note { border-left: 6px solid var(--torch); padding-left: 1.5rem; }

/* ---------- Gift cards ---------- */
.gift { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 860px) { .gift { grid-template-columns: 1fr; } .gift > div:first-child { order: 2; } }
.card-stage { perspective: 1200px; display: grid; place-items: center; padding: 2rem 0; }
.gift-card {
  width: min(440px, 100%); aspect-ratio: 1.586; position: relative; border: 0; padding: 0; background: none;
  cursor: pointer; font: inherit; color: inherit; transform-style: preserve-3d; --rx: 0deg; --ry: 0deg; --flip: 0deg;
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip)));
  transition: transform .6s var(--ease);
}
.gift-card.is-tracking { transition: transform .12s linear; }
.gift-card.is-flipped { --flip: 180deg; }
.gift-card .face {
  position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden; display: grid; padding: 1.5rem 1.6rem; text-align: left;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.12);
}
.gift-card .front { background: var(--deep); color: var(--bamboo); grid-template-rows: auto 1fr auto; }
.gift-card .front::before { content: ""; position: absolute; inset: 0; background-image: var(--mat); background-size: 40px 40px; opacity: .55; }
.gift-card .front::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 70%) var(--gy, 20%), rgba(255,200,87,.35), transparent 45%); mix-blend-mode: screen; }
.gift-card .front > * { position: relative; z-index: 1; }
.gift-card .front .gc-brand { display: block; height: clamp(84px, 24vw, 118px); color: var(--flame); filter: drop-shadow(0 0 14px rgba(242,154,46,.5)); }
.gift-card .front .gc-torch { position: absolute; right: 6%; top: 10%; height: 80%; width: auto; }
.gift-card .front .gc-label { grid-row: 3; align-self: end; font-weight: 700; letter-spacing: .04em; font-size: 1rem; }
.gift-card .back { background: var(--torch); color: var(--deep); transform: rotateY(180deg); align-content: center; gap: .5rem; }
.gift-card .back strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.1; }
.gift-card .back span { font-weight: 600; font-size: 1rem; }
.flip-hint { text-align: center; font-size: .95rem; color: var(--mist); margin-top: 1.25rem; }
.gift-facts { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .8rem; }
.gift-facts li { display: flex; gap: .8rem; align-items: baseline; }
.gift-facts li::before { content: ""; flex: none; width: .7em; height: .7em; background: var(--torch); clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%); transform: translateY(.05em); }

/* ---------- Reservations ---------- */
.res-layout { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .res-layout { grid-template-columns: 1fr; } .res-layout .reserve-card { justify-self: stretch; } }
.res-info h2 { color: var(--flame); }

/* ---------- Footer ---------- */
.site-footer { background: #1d1008 var(--mat); background-size: 56px 56px; position: relative; color: var(--bamboo); padding: 5rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); }
.site-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18,10,4,.92), rgba(18,10,4,.82)); }
.site-footer > * { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: block; height: 128px; width: max-content; color: var(--flame); margin-bottom: 1.25rem; filter: drop-shadow(0 0 18px rgba(242,154,46,.3)); }
.footer-brand:hover { color: var(--bamboo); }
.site-footer h2 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; margin-bottom: .8rem; color: var(--torch); }
.site-footer p, .site-footer li { font-size: 1rem; margin: 0 0 .4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--bamboo); text-decoration-color: rgba(234,214,166,.35); }
.site-footer a:hover { color: var(--flame); }
.footer-base { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(234,214,166,.15); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .95rem; color: var(--mist); }

/* ---------- Page transition: bamboo blind ---------- */
.blind {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background:
    repeating-linear-gradient(to right, rgba(0,0,0,.28) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(to bottom, #a8773d 0 70px, #6d4620 70px 74px, #a8773d 74px 140px);
  transform: translateY(-101%);
  transition: transform .5s cubic-bezier(.7,0,.3,1);
  display: grid; place-items: center;
}
.blind .logo { height: min(34vw, 220px); color: #2c1a0d; opacity: .9; }
html.is-leaving .blind { transform: translateY(0); }
html.is-arriving .blind { transform: translateY(0); transition: none; }
html.is-arrived .blind { transform: translateY(101%); }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) 1.25rem 4rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .hero::after { display: none; }
  .adjust { display: none; }
  .blind { display: none; }
}

/* ---------- Easter egg: ask the tiki ---------- */
html.oracle-open { overflow: hidden; }
.oracle { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.oracle[hidden] { display: none; }
.oracle-backdrop { position: absolute; inset: 0; background: rgba(4,14,14,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.oracle.is-open .oracle-backdrop { opacity: 1; }
.oracle-stage { position: relative; display: grid; justify-items: center; align-content: end; height: 100%; width: min(92vw, 30rem); padding-top: calc(env(safe-area-inset-top, 0px) + 4.5rem); }
.oracle-tiki { width: min(62vw, 250px); height: auto; display: block; transform: translateY(110%); transition: transform .7s cubic-bezier(.2,1.4,.4,1); filter: drop-shadow(0 -10px 40px rgba(242,154,46,.35)); }
.oracle.is-open .oracle-tiki { transform: translateY(6%); }
.oracle-eyes .oracle-iris { transition: fill .3s; }
.oracle.is-speaking .oracle-iris { animation: eyeflash 1.2s ease; }
@keyframes eyeflash { 0%, 100% { fill: #4fc3d0; } 30%, 60% { fill: #ffc857; } }
.oracle-mouth { transform-box: fill-box; transform-origin: 50% 0; }
.oracle.is-speaking .oracle-mouth { animation: chatter .6s ease-in-out 2; }
@keyframes chatter { 50% { transform: scaleY(.72); } }
.oracle-bubble {
  position: relative; background: var(--bamboo); color: var(--rattan); border-radius: 22px; padding: 1.3rem 1.5rem 1.4rem;
  margin-bottom: 1.4rem; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .3s ease, transform .45s cubic-bezier(.2,1.4,.4,1);
}
.oracle-bubble::after { content: ""; position: absolute; left: 50%; bottom: -14px; margin-left: -14px; border: 14px solid transparent; border-bottom: 0; border-top-color: var(--bamboo); }
.oracle-bubble.is-in { opacity: 1; transform: none; }
.oracle-kicker { margin: 0 auto .2rem; font-weight: 700; font-size: .95rem; letter-spacing: .03em; }
.oracle-bubble h2 { color: var(--rattan); font-size: clamp(1.9rem, 6vw, 2.6rem); margin: 0 0 .35rem; }
.oracle-line { margin: 0 auto 1.1rem; font-size: 1.02rem; line-height: 1.45; }
.oracle-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.oracle-actions .btn { padding: .85em 1.3em .75em; font-size: .95rem; }
.oracle-bubble .btn-line { border-color: rgba(93,67,50,.45); color: var(--rattan); }
.oracle-bubble .btn-line:hover { background: rgba(93,67,50,.08); color: var(--rattan); border-color: var(--rattan); }
.oracle-close {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 1rem); right: 1rem; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(234,214,166,.4); background: rgba(7,24,24,.6); color: var(--bamboo); cursor: pointer; display: grid; place-items: center;
}
.oracle-close:hover { border-color: var(--flame); color: var(--flame); }
@keyframes glow { from { opacity: .6; } to { opacity: 1; } }

/* Reservations: compact hero with the booking widget up top */
.res-hero { min-height: 0; padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 3rem) 0 3.5rem; align-items: center; }
.res-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.res-hero-grid > * { min-width: 0; }
.res-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); }
.res-hero .reserve-card { padding: 1.5rem 1.75rem; }
.res-layout { grid-template-columns: 1fr; }
.res-layout .res-info { max-width: 46rem; }
@media (max-width: 760px) {
  .res-hero { padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.25rem) 0 2.5rem; }
  .res-hero-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .res-hero h1 { margin-bottom: .15em; }
  .res-hero .lede { margin-bottom: 0; font-size: 1.1rem; }
  .res-hero .reserve-card { padding: 1.25rem 1rem; }
  .res-hero .reserve-card h3 { display: none; }
}

html:has(body.mobile-nav-open) { overflow: hidden; }
.menu-toggle .icon-close { display: none; }
.mobile-nav-open .menu-toggle .icon-open { display: none; }
.mobile-nav-open .menu-toggle .icon-close { display: block; }
.mobile-nav-open .nav .nav-reserve, .mobile-nav-open .nav .nav-reserve:hover { color: var(--deep); font-weight: 700; }

/* reservations header photo: the lit entrance at night, kept bright enough to read */
.res-hero.has-photo .photo { background-position: 30% 55%; filter: saturate(1.05) brightness(.82); }
.res-hero.has-photo .shade { opacity: .45; }
.res-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,24,24,.78) 0%, rgba(7,24,24,.35) 45%, rgba(7,24,24,.15) 70%, rgba(7,24,24,.45) 100%); }
.res-hero h1, .res-hero .lede { text-shadow: 0 2px 18px rgba(0,0,0,.75); }

/* Gift card flip, Safari-proof: iPhone Safari can ignore backface-visibility (the front's glow
   and layers flatten the 3D), so the hidden side is also switched off halfway through the turn. */
.gift-card { -webkit-transform-style: preserve-3d; }
.gift-card .face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.gift-card .front { transform: translateZ(1px); visibility: visible; transition: visibility 0s linear .3s; }
.gift-card .back { transform: rotateY(180deg) translateZ(1px); visibility: hidden; transition: visibility 0s linear .3s; }
.gift-card.is-flipped .front { visibility: hidden; }
.gift-card.is-flipped .back { visibility: visible; }
.gift-card .back strong, .gift-card .back span { font-family: var(--sans); }
.gift-card .back strong { font-family: var(--display); }
@media (prefers-reduced-motion: reduce) { .gift-card .front, .gift-card .back { transition: none; } }

/* ---------- Menu launch countdown (Volume XIX) ---------- */
html.launch-open { overflow: hidden; }
.launch { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 5rem 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.launch[hidden] { display: none; }
.launch-backdrop { position: fixed; inset: 0; background: rgba(3,10,10,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .6s ease; cursor: pointer; }
.launch-glow { position: fixed; left: 50%; top: 42%; width: 120vmin; height: 120vmin; margin: -60vmin 0 0 -60vmin; pointer-events: none;
  background: radial-gradient(circle, rgba(242,154,46,.22), rgba(242,154,46,0) 60%); opacity: 0; transition: opacity 1.2s ease .2s; animation: glow 3s ease-in-out infinite alternate; }
.launch.is-open .launch-backdrop, .launch.is-open .launch-glow { opacity: 1; }
.launch-inner { position: relative; text-align: center; max-width: 46rem; opacity: 0; transform: translateY(18px); transition: opacity .7s ease .25s, transform .9s var(--ease) .25s; }
.launch.is-open .launch-inner { opacity: 1; transform: none; }
.launch-kicker { margin: 0 auto .6rem; font-weight: 700; letter-spacing: .04em; color: var(--mist); }
.launch-title { font-size: clamp(3.4rem, 13vw, 8.5rem); color: var(--flame); margin: 0 0 .1em; line-height: .95;
  text-shadow: 0 0 30px rgba(242,154,46,.55), 0 0 80px rgba(242,154,46,.3), 0 5px 0 rgba(0,0,0,.4); }
.launch-when { margin: 0 auto 2rem; font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: var(--bamboo); }
.launch-count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 2vw, 1.1rem); margin: 0 auto 2rem; max-width: 34rem; }
.launch-unit { background: linear-gradient(#1a2e2c, #0e1f1e); border: 1px solid rgba(234,214,166,.18); border-radius: 14px; padding: .9rem .4rem .7rem;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.4), 0 14px 30px -14px rgba(0,0,0,.8); display: grid; gap: .35rem; position: relative; overflow: hidden; }
.launch-unit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45); }
.launch-num { font-weight: 700; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1; color: var(--bamboo); font-variant-numeric: tabular-nums; }
.launch-num.tick { animation: tick .35s var(--ease); }
@keyframes tick { from { transform: translateY(-14%); opacity: .4; } }
.launch-label { font-size: .85rem; font-weight: 600; letter-spacing: .05em; color: var(--torch); }
.launch-note { margin: 0 auto 1.5rem; color: var(--mist); }
.launch-close {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 1rem); right: 1rem; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(234,214,166,.4); background: rgba(7,24,24,.6); color: var(--bamboo); cursor: pointer; display: grid; place-items: center;
}
.launch-close:hover { border-color: var(--flame); color: var(--flame); }
@media (max-width: 520px) { .launch-unit { padding: .7rem .2rem .55rem; } .launch-label { font-size: .72rem; } }

.launch-inner:focus { outline: none; }

.br-mobile { display: none; }
@media (max-width: 760px) { .br-mobile { display: inline; } }

/* Hero wordmark (vector, recolored via mask) */
.hero h1.hero-wordmark { max-width: none; margin-bottom: .5em; filter: drop-shadow(0 0 28px rgba(242,154,46,.4)) drop-shadow(0 4px 0 rgba(0,0,0,.35)); }
.wordmark {
  display: block; width: min(100%, 40rem); aspect-ratio: 4548 / 657; background: var(--bamboo);
  -webkit-mask: url("/assets/img/wordmark.svg") center / contain no-repeat;
          mask: url("/assets/img/wordmark.svg") center / contain no-repeat;
}
@media (max-width: 760px) { .wordmark { width: 100%; } }

/* 1930s: the tunnels */
.scene .e30 { opacity: 0; transition: opacity 1s ease; }
.story[data-era="1930s"] .e30 { opacity: 1; }
.story[data-era="1930s"] .scene svg { filter: sepia(.25) contrast(1.04); }
.story-step .story-lead { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--rattan); margin-bottom: .6rem; }
@media (max-width: 420px) { .era-nav { gap: .35rem; } .era-btn { padding: .6em .85em .5em; font-size: .92rem; } }

/* Gift card: the real card art, portrait */
.gift-card { width: min(340px, 78vw); aspect-ratio: 2971 / 4533; }
.gift-card .face { border-radius: 22px; padding: 0; }
.gift-card .front { background: #ea9a59; display: block; }
.gift-card .front::before, .gift-card .front::after { content: none; }
.gift-card .front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gift-card .front .gc-shine { display: none; }
.gift-card .back { background: #ea9a59; color: #22442f; padding: 2rem 1.6rem; align-content: center; justify-items: center; text-align: center; gap: .9rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 10px #ea9a59, inset 0 0 0 13px #22442f; }
.gift-card .back strong { font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.1; }
.gift-card .back span { font-weight: 700; font-size: 1.05rem; }

.venue-title { color: var(--flame); font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 .25em; }
.venue-kicker { font-weight: 700; letter-spacing: .03em; color: var(--torch); margin: 0 0 .8rem; }

/* ---------- Bootlegger Market (coming soon) ---------- */
.market { padding: calc(var(--header-h) + 2.5rem) 0 0; }
.market-wrap { display: grid; justify-items: center; text-align: center; }
.market-kicker { font-size: clamp(2.4rem, 6vw, 4.5rem); color: var(--bamboo); margin: 0 0 .4em; text-shadow: 0 0 40px rgba(242,154,46,.3); }
.market-sign-btn { background: none; border: 0; padding: 0; cursor: pointer; display: block; width: min(420px, 88vw); }
.market-art { width: 100%; height: auto; display: block; margin-bottom: -4px; }
.market-sign { transform-box: view-box; transform-origin: 200px 150px; animation: signSwing 3.2s cubic-bezier(.3,.6,.3,1) .4s both; }
.market-sign-btn:hover .market-sign { animation: signNudge 1.6s ease-in-out; }
.market-sign-btn.is-swinging .market-sign { animation: signSwing 2.6s cubic-bezier(.3,.6,.3,1); }
@keyframes signSwing { 0% { transform: rotate(14deg); } 20% { transform: rotate(-9deg); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-3.5deg); } 80% { transform: rotate(1.5deg); } 100% { transform: rotate(0); } }
@keyframes signNudge { 25% { transform: rotate(3deg); } 60% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }
.market-copy { text-align: center; padding-top: clamp(3.5rem, 8vw, 5.5rem); }
.market-copy p { margin-left: auto; margin-right: auto; max-width: 38rem; font-size: 1.15rem; }
.market-lead { font-family: var(--display); font-size: clamp(1.7rem, 3.5vw, 2.4rem) !important; line-height: 1.15; color: var(--rattan); margin-bottom: .8em; }
.market-note { font-weight: 700; margin-top: 1.6em; }
.market-sendoff { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3.8rem) !important; color: #a4501a; margin-top: .6em; line-height: 1; }
/* six nav links: tighten a little before the mobile menu takes over */
@media (max-width: 1240px) and (min-width: 961px) { .nav a { padding: .55rem .5rem; font-size: .95rem; } .header-inner { gap: 1rem; } }

/* Market on phones: smaller door, cropped just below the sign, so the copy peeks above the fold */
@media (max-width: 760px) {
  .market { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + .75rem); }
  .market-kicker { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: .25em; }
  .market-sign-btn { width: min(280px, 74vw); aspect-ratio: 400 / 430; overflow: hidden; }
  .market-copy { padding-top: 2rem; }
}

/* iPhone Safari gives date inputs a fixed minimum width, which pushed the field off the screen */
.field { min-width: 0; }
.field input[type="date"] {
  -webkit-appearance: none; appearance: none; display: block;
  min-width: 0; max-width: 100%; width: 100%; box-sizing: border-box;
  min-height: 3.3rem; line-height: 1.2;
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; }

/* Gift card flip, smoothed: the tilt (outer) and the flip (inner) are separate so they don't fight,
   and the flip uses an even ease so the side swap lands exactly at the halfway point. */
.gift-card, .gift-card.is-flipped { --flip: 0deg; }
.gift-card { transition: transform .35s ease-out; }
.gift-card.is-tracking { transition: transform .12s linear; }
.gc-flip {
  position: absolute; inset: 0; display: block;
  transform-style: preserve-3d; -webkit-transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.45, 0, .55, 1);
  will-change: transform;
}
.gift-card.is-flipped .gc-flip { transform: rotateY(180deg); }
.gift-card .front, .gift-card .back { transition: visibility 0s linear .35s; }
@media (prefers-reduced-motion: reduce) { .gc-flip, .gift-card .front, .gift-card .back { transition: none; } }

/* let the torch glow spill past the top of its drawing instead of stopping in a hard line */
.torch, .gc-torch { overflow: visible; }

/* Countdown tiles as a split-flap (station board) display */
.launch-unit::after { content: none; }
.launch-unit { padding: .6rem .45rem .65rem; }
.launch-num { display: block; font-size: clamp(2rem, 7vw, 3.4rem); }
.flap { position: relative; display: block; height: 1.18em; perspective: 260px; border-radius: 8px; }
.flap .h { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; display: block;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flap .h i { display: block; height: 200%; line-height: 1.18em; font-style: normal; text-align: center; color: var(--bamboo); font-variant-numeric: tabular-nums; }
.flap .t, .flap .ft { top: 0; transform-origin: 50% 100%; border-radius: 8px 8px 0 0; background: linear-gradient(#24403c, #1b322f); }
.flap .b, .flap .fb { bottom: 0; transform-origin: 50% 0; border-radius: 0 0 8px 8px; background: linear-gradient(#162a28, #11221f); }
.flap .b i, .flap .fb i { transform: translateY(-50%); }
.flap .fb { transform: rotateX(90deg); }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: rgba(0,0,0,.55); z-index: 3; }
.flap::before { content: ""; position: absolute; left: -3px; right: -3px; top: calc(50% - 3px); height: 6px; z-index: 4;
  background: radial-gradient(circle at 3px 3px, #0a1413 2px, transparent 2.5px) left / 6px 6px no-repeat, radial-gradient(circle at 3px 3px, #0a1413 2px, transparent 2.5px) right / 6px 6px no-repeat; }
.flap.go .ft { animation: flapTop var(--fd, 150ms) ease-in forwards; z-index: 2; }
.flap.go .fb { animation: flapBottom var(--fd, 150ms) ease-out var(--fd, 150ms) forwards; z-index: 2; }
@keyframes flapTop { from { transform: rotateX(0); filter: brightness(1); } to { transform: rotateX(-90deg); filter: brightness(.55); } }
@keyframes flapBottom { from { transform: rotateX(90deg); filter: brightness(1.35); } to { transform: rotateX(0); filter: brightness(1); } }
@media (prefers-reduced-motion: reduce) { .flap.go .ft, .flap.go .fb { animation: none; } .flap .fb { transform: none; } }

/* Ernest band: logo + copy + button */
.neighbor { flex-wrap: nowrap; }
.neighbor-logo { flex: none; width: clamp(110px, 12vw, 150px); display: block; transform: rotate(-4deg); transition: transform .5s var(--ease); }
.neighbor-logo img { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 10px rgba(93,67,50,.18)); }
.neighbor-logo:hover { transform: rotate(3deg) scale(1.04); }
.neighbor-copy { flex: 1; min-width: 0; }
.neighbor .btn { flex: none; }
@media (max-width: 760px) {
  .neighbor { flex-direction: column; text-align: center; gap: 1.1rem; }
  .neighbor-logo { width: 140px; }
}

.venue-title a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0% 2px; background-position: 0 92%; background-repeat: no-repeat; transition: background-size .35s var(--ease), color .2s; }
.venue-title a:hover, .venue-title a:focus-visible { background-size: 100% 2px; color: var(--bamboo); }

/* bigger Ernest logo */
.neighbor-logo { width: clamp(140px, 15vw, 190px); }
@media (max-width: 760px) { .neighbor-logo { width: 170px; } }

/* mobile menu: sized so "Bootlegger Market" stays on one line */
@media (max-width: 960px) {
  .mobile-nav-open .nav a:not(.nav-reserve) { font-size: min(2.4rem, 8vw); white-space: nowrap; line-height: 1.2; padding: .3rem 0; }
}

/* Market door: let the warm glow fade out naturally instead of stopping at the drawing's edges */
.market-art { overflow: visible; }
@media (max-width: 760px) {
  /* still crop the door just below the sign, but only at the bottom */
  .market-sign-btn { overflow: visible; clip-path: inset(-60vw -60vw 0 -60vw); }
}

.drink .drink-specs { color: var(--mist); font-size: 1.05rem; margin: 0; }
.drink .drink-note { font-style: italic; color: var(--torch); font-weight: 600; font-size: .95rem; margin: 0 0 .3rem; }
