:root {
  --paper: #f3ebe0;
  --paper-deep: #e8dccb;
  --cream: #fbf6ee;
  --ink: #1c1915;
  --ink-soft: #4a433a;
  --muted: #6d655b;
  --rust: #8f3d2c;
  --rust-dark: #6e2c20;
  --olive: #3a4636;
  --olive-soft: #5b6a55;
  --gold: #c4a574;
  --line: #d8cbb8;
  --serif: "Fraunces", "Noto Serif TC", "Songti SC", "Songti TC", Georgia, serif;
  --sans: "Outfit", "Noto Sans TC", "PingFang HK", "PingFang TC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
}
.lang-en .zh-only { display: none !important; }
.lang-zh .en-only { display: none !important; }
a { color: var(--rust-dark); }
img, svg { max-width: 100%; display: block; }

.demo-banner {
  background: var(--olive);
  color: #f4efe6;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 40;
}
.demo-banner strong { letter-spacing: 0.14em; }

.wrap { width: min(1100px, calc(100% - 36px)); margin-inline: auto; }

.site-header {
  background: color-mix(in srgb, var(--paper) 90%, white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 34px;
  z-index: 30;
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.logo {
  font-family: var(--serif);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.2;
}
.logo small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; }
nav a:hover { color: var(--rust); }
.lang-toggle, .btn, button.btn {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
}
.lang-toggle {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 4px 10px;
  font-size: 0.8rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0 24px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
.hero .lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 28rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 11px 18px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--rust); color: #fbf6ee; }
.btn-primary:hover { background: var(--rust-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }

.art {
  background: linear-gradient(180deg, #efe4d3 0%, #e4d3bc 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  min-height: 320px;
}

section { padding: 28px 0; }
h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 560;
  margin: 0 0 8px;
}
.kicker { color: var(--muted); margin: 0 0 22px; max-width: 38rem; }

.about-grid, .hours-grid, .visit-grid, .contact-grid {
  display: grid;
  gap: 20px;
}
.about-grid, .visit-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
.hours-grid { grid-template-columns: 1.1fr 0.9fr; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.item, .panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.item h3, .panel h3 { font-family: var(--serif); margin: 8px 0 6px; font-size: 1.25rem; font-weight: 560; }
.item .price {
  font-family: var(--serif);
  color: var(--rust);
  font-size: 1.2rem;
  margin: 10px 0 0;
}
.item .price small { font-family: var(--sans); font-size: 0.72rem; color: var(--muted); margin-left: 6px; }
.icon-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #efe4d3;
  display: grid;
  place-items: center;
}

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours-table tr.is-today td { color: var(--rust-dark); font-weight: 600; }
.closed { color: var(--muted); }

.map-card {
  background: var(--olive);
  color: #f4efe6;
  border-radius: 18px;
  min-height: 280px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.map-card h3 { font-family: var(--serif); margin: 0 0 8px; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.map-copy { position: relative; z-index: 1; margin-top: 120px; }
.map-copy p { margin: 4px 0; opacity: 0.92; }

label { display: block; font-size: 0.86rem; margin: 0 0 6px; color: var(--ink-soft); }
input, textarea, select {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 12px;
}
textarea { min-height: 110px; resize: vertical; }
.form-note, .toast {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: 12px;
  max-width: min(420px, calc(100% - 24px));
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 50;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 35;
  gap: 8px;
}
.sticky-cta .btn { flex: 1; box-shadow: 0 8px 24px rgba(28, 25, 21, 0.18); }

footer {
  border-top: 1px solid var(--line);
  margin: 40px 0 96px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .hero, .about-grid, .hours-grid, .visit-grid, .contact-grid, .menu-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .sticky-cta { display: flex; }
  .site-header { top: 52px; }
  .demo-banner { font-size: 0.75rem; line-height: 1.4; }
  nav a[data-hide-narrow] { display: none; }
}
