:root {
  --espresso: #2a1a12;
  --roast: #4a2f22;
  --cream: #f6efe4;
  --latte: #e9dcc7;
  --terracotta: #c4622d;
  --terracotta-dark: #a24e20;
  --pandan: #4f7a4a;
  --ink: #2a1a12;
  --muted: #6e5a4c;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(42, 26, 18, 0.35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--terracotta); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 10vw, 7.5rem) 0; }

.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-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--espresso); color: var(--cream); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid var(--espresso);
  background: var(--espresso); color: var(--cream);
  font: 700 .95rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { background: var(--terracotta); border-color: var(--terracotta); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--espresso); }
.btn-ghost:hover { color: var(--cream); }
.btn-small { padding: .55rem 1.1rem; font-size: .85rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 228, .85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: rgba(42,26,18,.1); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--espresso); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; margin: 0; padding: 0; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--espresso); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid rgba(42,26,18,.1);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open { max-height: 320px; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 1.5rem 1.25rem 2rem; }
}

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.5rem; }
.hero-stats { display: flex; gap: 2.5rem; margin: 0; padding-top: 1.8rem; border-top: 1px solid rgba(42,26,18,.15); }
.hero-stats dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: -1rem; bottom: 2rem; max-width: 260px;
  background: var(--cream); padding: 1rem 1.2rem; border-radius: 14px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .15rem; font-size: .85rem; color: var(--muted);
}
.hero-badge strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--espresso); }
.badge-title { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
@media (max-width: 500px) { .hero-badge { left: .75rem; bottom: .75rem; } }

/* Status dot */
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; flex-shrink: 0; }
.status-dot.open { background: #3fa34d; box-shadow: 0 0 0 0 rgba(63,163,77,.6); animation: pulse 2s infinite; }
.status-dot.closed { background: #c0392b; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(63,163,77,0); } 100% { box-shadow: 0 0 0 0 rgba(63,163,77,0); } }

/* Marquee */
.marquee { background: var(--espresso); color: var(--latte); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: scroll 35s linear infinite; font-family: var(--font-display); font-size: 1.4rem; font-style: italic; }
.marquee-track span:nth-child(even) { color: var(--terracotta); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Story */
.story-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.story h2, .section-head h2, .visit h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.story-copy > p { color: var(--muted); font-size: 1.05rem; }
.story-images { position: relative; padding-bottom: 18%; }
.img-a { width: 78%; aspect-ratio: 7/8; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.img-b {
  position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: 8px solid var(--cream); box-shadow: var(--shadow);
}
.pillars { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; }
.pillars li { display: flex; gap: 1rem; align-items: flex-start; }
.pillar-icon { font-size: 1.4rem; width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--latte); }
.pillars h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.pillars p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Menu */
.menu { background: var(--espresso); color: var(--cream); position: relative; }
.menu .eyebrow { color: #e58a55; }
.menu h2 em { color: #e58a55; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p:last-child { color: var(--latte); opacity: .8; }

.tabs {
  display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap;
  margin: 0 auto 2.5rem; padding: .4rem; width: fit-content; max-width: 100%;
  background: rgba(255,255,255,.06); border-radius: 999px;
}
.tabs button {
  border: 0; background: transparent; color: var(--latte);
  padding: .7rem 1.3rem; border-radius: 999px; font: 500 .95rem var(--font-body); cursor: pointer;
  transition: background .2s, color .2s;
}
.tabs button:hover { color: var(--cream); background: rgba(255,255,255,.08); }
.tabs button[aria-selected="true"] { background: var(--terracotta); color: #fff; }
@media (max-width: 500px) { .tabs { border-radius: 18px; } .tabs button { padding: .6rem .9rem; font-size: .88rem; } }

.panel { animation: fadeUp .4s ease; }
.menu-list { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; display: grid; gap: 0 3.5rem; }
@media (min-width: 760px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.menu-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.3rem 0; border-bottom: 1px dashed rgba(233,220,199,.25);
}
.menu-list h3 { font-size: 1.2rem; margin-bottom: .25rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.menu-list p { margin: 0; color: var(--latte); opacity: .75; font-size: .92rem; }
.price { font-family: var(--font-display); font-size: 1.25rem; color: #e58a55; white-space: nowrap; }
.tag { font-family: var(--font-body); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; background: var(--pandan); color: #fff; padding: .2rem .5rem; border-radius: 999px; font-weight: 700; }

/* Visit */
.visit-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; } }
.info-block { margin-top: 2rem; }
.info-block h3 { font-size: 1.2rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
address { font-style: normal; color: var(--muted); font-size: 1.05rem; margin-bottom: .6rem; }
.link { color: var(--terracotta-dark); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

.live-status {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  padding: .3rem .7rem; border-radius: 999px; background: var(--latte);
}
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: .65rem .8rem; text-align: left; border-bottom: 1px solid rgba(42,26,18,.1); }
.hours th { font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.hours tr.today { background: var(--latte); }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--espresso); }
.hours tr.today th::after { content: " · Today"; color: var(--terracotta); font-size: .8rem; }
.note { font-size: .85rem; color: var(--muted); margin-top: .8rem; }

.contact-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  text-decoration: none; padding: .6rem 1rem; border-radius: 999px;
  border: 1.5px solid rgba(42,26,18,.2); font-weight: 500; font-size: .92rem;
  transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--terracotta); background: #fff; }

.visit-map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--latte); }
.visit-map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; filter: sepia(.25) saturate(.9); }
.map-card {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: var(--cream); padding: 1rem 1.2rem; border-radius: 14px; box-shadow: var(--shadow);
}
.map-card p { margin: .3rem 0 0; font-size: .9rem; color: var(--muted); }

/* Newsletter */
.newsletter { padding-top: 0; }
.newsletter-inner {
  background: var(--terracotta); color: #fff; border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 860px) { .newsletter-inner { grid-template-columns: 1fr 1fr; } }
.newsletter h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.newsletter p { margin: 0; opacity: .92; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.newsletter-form input {
  flex: 1 1 220px; padding: .9rem 1.2rem; border-radius: 999px; border: 2px solid transparent;
  font: 1rem var(--font-body); background: #fff; color: var(--ink);
}
.newsletter-form input:focus { outline: none; border-color: var(--espresso); }
.newsletter-form input[aria-invalid="true"] { border-color: #fff3a6; }
.newsletter-form .btn:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.form-msg { flex-basis: 100%; min-height: 1.4em; font-weight: 500; font-size: .92rem; }

/* Footer */
.site-footer { background: var(--espresso); color: var(--latte); padding: 3rem 0; text-align: center; }
.footer-inner p { margin: .3rem 0; }
.logo-text { font-family: var(--font-display); font-size: 1.6rem; color: var(--cream); font-weight: 700; }
.muted { opacity: .6; font-size: .88rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
