:root {
  --paper: #f3eee6;
  --paper-deep: #e7e0d4;
  --card: #fffcf7;
  --ink: #1c2a36;
  --muted: #5c6872;
  --line: #e3dacd;
  --blue: #234e78;
  --blue-deep: #183656;
  --foam: #f7f1e7;
  --caramel: #a56b3c;
  --danger: #9c3b32;
  --shadow: 0 24px 50px rgba(24, 54, 86, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", sans-serif;
  --script: "Caveat", cursive;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
p { margin: 0; }
::selection { background: var(--blue); color: white; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--blue);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 50;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-tint { background: linear-gradient(180deg, #ebe4d8 0%, var(--paper) 100%); }
section[id] { scroll-margin-top: 84px; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 12px; }
.section-head p, .lede, .reserve-copy > p { color: var(--muted); font-size: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 238, 230, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
main { position: relative; z-index: 0; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.brand span { display: flex; flex-direction: column; font-family: var(--serif); font-size: 18px; line-height: 1.1; }
.brand small { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.nav-cta, .btn-primary { background: var(--blue); color: white; }
.btn-ghost { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn:hover, .nav-cta:hover { transform: translateY(-1px); }
.btn-block { width: 100%; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  place-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle i { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 4px auto; }

.hero { padding: 28px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(52px, 6.4vw, 88px); margin-bottom: 16px; }
.hero h1 em { font-style: italic; font-weight: 560; color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.signoff { font-family: var(--script); font-size: 28px; color: var(--blue); }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hours-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 252, 247, 0.94);
  border-radius: 16px;
  padding: 10px 14px 10px 10px;
  box-shadow: 0 10px 30px rgba(24, 54, 86, 0.15);
}
.hours-card img { width: 42px; height: 42px; border-radius: 10px; }
.hours-card strong { display: block; font-size: 14px; }
.hours-card span { color: var(--muted); font-size: 13px; }

.band { background: var(--blue); color: var(--foam); overflow: hidden; padding: 14px 0; }
.band-track { display: flex; gap: 36px; width: max-content; animation: ticker 32s linear infinite; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.band-track span::before { content: "·"; margin-right: 36px; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.chip.is-on { background: var(--ink); color: white; border-color: var(--ink); }

.menu-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr); gap: 36px; align-items: start; }
.menu-list { display: flex; flex-direction: column; }
.drink {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 8px;
  cursor: pointer;
  border-radius: 12px;
}
.drink:hover, .drink.is-on { background: rgba(255, 252, 247, 0.7); }
.drink.is-on { box-shadow: inset 3px 0 0 var(--blue); }
.drink-name { display: flex; align-items: baseline; gap: 10px; font-weight: 560; font-size: 18px; }
.drink-name::after { content: ""; flex: 1; border-bottom: 1px dotted #d3c8b8; transform: translateY(-3px); }
.drink small { grid-column: 1; color: var(--muted); font-size: 14px; }
.drink b { font-weight: 560; font-variant-numeric: tabular-nums; }

.stage {
  position: sticky;
  top: 96px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.stage-frame { border-radius: 16px; overflow: hidden; background: var(--paper-deep); }
.stage-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .35s ease; }
.stage-frame img.is-swapping { opacity: .35; }
.stage .eyebrow { margin: 16px 8px 6px; }
.stage h3 { font-size: 36px; margin: 0 8px; }
.stage p { margin: 8px 8px 0; color: var(--muted); }
.stage-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 8px 8px; flex-wrap: wrap; }
.stage-row strong { font-family: var(--serif); font-size: 28px; font-weight: 560; }

.quote {
  margin: 0 0 22px;
  background: var(--card);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow);
}
.stars { color: var(--caramel); letter-spacing: 3px; margin-bottom: 12px; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 560;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.avatar, .pick-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  font-size: 13px;
  font-weight: 600;
  flex: none;
}
.quote figcaption strong { display: block; }
.quote figcaption em { font-style: normal; color: var(--muted); font-size: 14px; }
.from-johor { background: var(--caramel); }
.from-kl { background: var(--blue-deep); }
.from-ipoh { background: #6d4c36; }
.from-singapore { background: #2f5d56; }
.review-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 420px; }
.review-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  font-size: 22px;
}
.review-nav p { margin: 0; color: var(--muted); font-size: 14px; }
.cater-title { font-size: 36px; margin: 0 0 8px; }
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  background: #1f7a4d;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 18px;
  box-shadow: 0 12px 30px rgba(24, 54, 86, 0.2);
}
.wa-float:hover { transform: translateY(-1px); }
.site-footer { padding-bottom: 88px; }
.review-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  cursor: pointer;
  text-align: left;
}
.pick.is-on { border-color: var(--blue); background: white; }
.pick > span:last-child { display: block; font-size: 13px; line-height: 1.2; }
.pick small { display: block; color: var(--muted); }

.reserve-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.reserve-copy h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 14px; }
.points { margin: 18px 0; padding: 0; list-style: none; }
.points li { padding: 8px 0 8px 22px; position: relative; }
.points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--caramel); position: absolute; left: 0; top: 16px; }
.reserve-photo { margin-top: 12px; border-radius: 22px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }

.booking-card {
  background: var(--card);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cal-nav h3 { font-size: 28px; }
.cal-nav button, .stepper button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--foam);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-weekdays { margin-top: 14px; color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.cal-grid { margin-top: 6px; }
.day, .day-blank {
  aspect-ratio: 1;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  font-weight: 500;
}
.day-blank { cursor: default; }
.day.is-open { font-weight: 650; color: var(--blue-deep); }
.day.is-open::after, .dot {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--caramel);
  display: inline-block;
}
.day.is-open::after { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); }
.day.is-today { box-shadow: inset 0 0 0 1.5px var(--caramel); }
.day.is-selected { background: var(--blue); color: white; }
.day.is-selected::after { background: #f2d3b0; }
.day:disabled { color: #c8c0b4; cursor: not-allowed; font-weight: 400; }
.day:disabled::after { display: none; }
.day:not(:disabled):hover { background: var(--paper-deep); }
.day.is-selected:hover { background: var(--blue); }
.cal-legend { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.cal-legend button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.calendar.is-shaking { animation: shake .4s ease; }
@keyframes shake {
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.date-line { margin-top: 18px; font-family: var(--serif); font-size: 26px; }
.date-hint { color: var(--muted); min-height: 1.4em; margin-top: 4px; }
.times { border: 0; margin: 16px 0 0; padding: 0; }
.times legend, .field > span { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.field > span em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 450; }
.time-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.time-picks label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.time-picks input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.time-picks label:has(input:focus-visible) { outline: 2px solid var(--caramel); }
.time-picks label:has(input:checked) { background: var(--blue); color: white; border-color: var(--blue); }
.field { display: block; margin-top: 14px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--foam);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); background: white; }
.field.is-invalid input, .field.is-invalid textarea, .times.is-invalid .time-picks { outline: 1px solid transparent; }
.field.is-invalid input, .times.is-invalid .time-picks label { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; margin: 6px 0 0; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper output { font-family: var(--serif); font-size: 28px; min-width: 2ch; text-align: center; }
.fine { color: var(--muted); font-size: 13px; margin-top: 10px; }

.confirm { margin-top: 8px; }
.confirm h3 { font-size: 40px; margin-bottom: 8px; }
.confirm-note { margin-top: 8px; font-family: var(--script); font-size: 26px; color: var(--blue); }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.visit-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr); gap: 36px; align-items: center; }
.visit-grid h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 16px; }
address { font-style: normal; font-size: 18px; line-height: 1.6; }
.hours { margin: 18px 0; }
.hours div { display: grid; grid-template-columns: 180px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }
.text-link { color: var(--blue); font-weight: 600; }
.directions { text-align: center; }
.directions h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 12px; }
.directions > p { color: var(--muted); max-width: 460px; margin: 0 auto 28px; }
.direction-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.direction-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 160px;
  padding: 22px 16px 18px;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  font-weight: 600;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.direction-links a:hover { transform: translateY(-4px); }
.direction-links img { width: 68px; height: 68px; object-fit: contain; }
.map-frame { border-radius: 24px; overflow: hidden; min-height: 340px; box-shadow: var(--shadow); background: var(--paper-deep); }
.map-frame iframe { width: 100%; height: 380px; border: 0; }

.ig-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; max-width: none; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ig-card {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--blue-deep);
  text-align: left;
  color: white;
}
.ig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.ig-card:hover img { transform: scale(1.06); }
@media (prefers-reduced-motion: no-preference) {
  .ig-card { opacity: 0; transform: translateY(28px) scale(.96); }
  .ig-card.is-shown { animation: ig-flow .72s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: var(--ig-delay, 0ms); }
}
@keyframes ig-flow {
  to { opacity: 1; transform: none; }
}

.site-footer { background: var(--blue-deep); color: #efe6da; padding: 36px 0 88px; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.site-footer .brand small, .site-footer p { color: #d9cbb8; }
.site-footer a { color: white; }

#lightbox {
  border: 0;
  padding: 0;
  margin: auto;
  width: fit-content;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  background: transparent;
  color: white;
  box-shadow: none;
  overflow: visible;
}
#lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 64px);
  border-radius: 18px;
  background: #1c140e;
}
#lightbox::backdrop {
  background: rgba(10, 16, 24, .82);
  opacity: 0;
  transition: opacity .4s ease;
}
#lightbox.is-open::backdrop { opacity: 1; }
#lightbox.is-leaving::backdrop { opacity: 0; }
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(16, 24, 32, .78);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero-grid, .menu-layout, .reserve-grid, .visit-grid { grid-template-columns: 1fr; }
  .stage { position: static; order: -1; }
  .ig-grid { grid-template-columns: 1fr 1fr; }
  .hours div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 760px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .section { padding: 64px 0; }
  .nav-toggle { display: grid; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: -14px;
    right: -14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    padding: 10px 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav-cta { text-align: center; }
  .hero { padding-top: 12px; }
  .hero h1 { font-size: 48px; }
  .ig-head { flex-direction: column; align-items: start; }
  .footer-inner { align-items: flex-start; }
  .date-line { font-size: 22px; }
  .day.is-open::after { bottom: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-track { animation: none; }
  .stage-frame img, .ig-card img, .btn, .nav-cta { transition: none; }
}
