/* ==========================================================================
   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; }
.sound-toggle {
  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;
}
.sound-toggle:hover { border-color: var(--bamboo); }
.sound-toggle[aria-pressed="true"] { color: var(--flame); border-color: var(--flame); }
.sound-toggle .wave { opacity: .25; transition: opacity .2s; }
.sound-toggle[aria-pressed="true"] .wave { opacity: 1; animation: wave 1.6s ease-in-out infinite; }
.sound-toggle[aria-pressed="true"] .wave-2 { animation-delay: .3s; }
@keyframes wave { 50% { opacity: .35; } }

.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; }
  .mobile-nav-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: .25rem;
    position: fixed; inset: 0; z-index: -1; margin: 0;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.5rem) 1.5rem 2rem;
    background: var(--deep) var(--mat); background-blend-mode: multiply;
  }
  .mobile-nav-open .nav::before { content: ""; position: absolute; inset: 0; background: rgba(7,24,24,.86); z-index: -1; }
  .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; place-items: center; text-align: center; padding: calc(var(--header-h) + 3rem) 0 4rem; }
.torch { position: absolute; bottom: 0; height: min(86vh, 820px); width: auto; z-index: -1; pointer-events: none; filter: drop-shadow(0 0 30px rgba(0,0,0,.6)); }
.torch-l { left: 1vw; }
.torch-r { right: 1vw; transform: scaleX(-1); }
.torch .halo { animation: halo 2.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.torch-r .halo { animation-duration: 2.9s; }
@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; }
.torch-r .f1 { animation-duration: 1.55s; }
.torch-r .f2 { animation-duration: 1.05s; }
@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; max-width: 58rem; padding-inline: 1.25rem; }
.hero-copy .status { margin-bottom: 1.25rem; }
.hero h1 { 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 .line { display: block; }
.hero .lede { margin: 0 auto 2rem; color: var(--bamboo); text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.hero .ctas { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.adjust { position: absolute; left: 0; right: 0; width: 100%; justify-self: stretch; bottom: 1.5rem; text-align: center; 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: 72vh; }
  .torch-l { left: -6vw; }
  .torch-r { right: -6vw; }
}
@media (max-width: 760px) {
  .torch { height: 62vh; opacity: .8; }
  .torch-l { left: -125px; }
  .torch-r { right: -125px; }
  .hero-copy { padding-inline: 2.25rem; }
}

/* ---------- 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.6rem, 3.5vw, 2.6rem); 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: .35em; }
.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: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.5rem); }
.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; text-shadow: 0 2px 10px rgba(0,0,0,.6); 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 layers and their states */
.scene .sky, .scene .stars, .scene .sun, .scene .hut, .scene .bldg, .scene .roof-torches,
.scene .t-halo, .scene .sign, .scene .door-spill, .scene .door-gap, .scene .lamps { transition: opacity 1s ease, transform 1.1s var(--ease); }
.scene .mtn, .scene .ground, .scene .palm, .scene .wall, .scene .base, .scene .roof { transition: fill 1s ease; }
.scene .s53, .scene .snow, .scene .stars { opacity: 0; }
.scene .mtn { fill: #bb8457; }
.scene .ground { fill: #e3bf86; }
.scene .palm { fill: #6d4a2a; }
.scene .sun { transform: translateY(0); }
.scene .hut { opacity: 1; }
.scene .bldg { opacity: 0; transform: translateY(12px); }
.scene .wall { fill: #d8c3a0; } .scene .base { fill: #97836a; } .scene .roof { fill: #f3ead8; }
.scene .roof-torches { transform: translateY(70px); }
.scene .t-flame { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); transition: transform .6s var(--ease) .9s; }
.scene .t-flame .f1, .scene .t-flame .f2, .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 .f2 { animation: flick .95s ease-in-out infinite alternate-reverse; }
.scene .t-flame .f3 { animation: flick .7s ease-in-out infinite alternate; }
.scene .t-halo { opacity: 0; }
.scene .sign, .scene .door-spill, .scene .door-gap { opacity: 0; }
.scene .lamps { opacity: .35; }

.story[data-era="1953"] .s53 { opacity: 1; }
.story[data-era="1953"] .sun { transform: translateY(150px); }
.story[data-era="1953"] .mtn { fill: #6e3446; }
.story[data-era="1953"] .ground { fill: #b8744c; }
.story[data-era="1953"] .palm, .story[data-era="today"] .palm { fill: #2a1420; }
.story[data-era="1953"] .hut, .story[data-era="today"] .hut { opacity: 0; }
.story[data-era="1953"] .bldg, .story[data-era="today"] .bldg { opacity: 1; transform: none; }
.story[data-era="1953"] .roof-torches, .story[data-era="today"] .roof-torches { transform: none; }
.story[data-era="1953"] .t-flame, .story[data-era="today"] .t-flame { transform: scale(1); }
.story[data-era="1953"] .t-halo { opacity: .7; }

.story[data-era="today"] .snow, .story[data-era="today"] .stars { opacity: 1; }
.story[data-era="today"] .sun { opacity: 0; transform: translateY(200px); }
.story[data-era="today"] .mtn { fill: #0f2e2c; }
.story[data-era="today"] .ground { fill: #0b2020; }
.story[data-era="today"] .palm { fill: #051212; }
.story[data-era="today"] .wall { fill: #34403a; }
.story[data-era="today"] .base { fill: #242c28; }
.story[data-era="today"] .roof { fill: #4e5a52; }
.story[data-era="today"] .t-halo { opacity: 1; }
.story[data-era="today"] .sign { opacity: 1; transition-delay: .5s; }
.story[data-era="today"] .door-spill, .story[data-era="today"] .door-gap { opacity: 1; transition-delay: .3s; }
.story[data-era="today"] .lamps { opacity: 1; filter: drop-shadow(0 0 6px #e0476b); }

/* 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 { 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: 1080px 0; }
.room-art .p2 { transform-origin: 520px 0; animation-duration: 8.5s; animation-delay: -2s; }
.room-art .p3 { transform-origin: 170px 0; 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 figure { margin: 0 0 1.5rem; }
.venue img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 14px; background: var(--palm); }
.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; 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; }
}
