/* ==============================================================
   Java Saga — Alpharetta, GA
   Taiwanese fried chicken & coffee. Bilingual EN / 中文.
   ============================================================== */

:root {
  --paper: #f1e7d3;
  --paper-2: #eadcc1;
  --paper-3: #f5efe1;
  --ink: #1a1512;
  --ink-72: rgba(26, 21, 18, 0.72);
  --ink-65: rgba(26, 21, 18, 0.65);
  --ink-50: rgba(26, 21, 18, 0.5);
  --cream-70: rgba(241, 231, 211, 0.7);
  --cream-45: rgba(241, 231, 211, 0.45);

  --chili: oklch(0.63 0.2 36);
  --chili-dark: oklch(0.5 0.2 36);
  --chili-light: oklch(0.75 0.17 36);
  --jade: oklch(0.6 0.15 150);
  --jade-deep: oklch(0.5 0.09 150);

  --display: "Bricolage Grotesque", Georgia, serif;
  --body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cjk: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad: 40px;
  --banner-h: 0px;
  --radius: 20px;
  --radius-sm: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[data-lang="zh"] body { font-family: var(--cjk); }
html[data-lang="zh"] .display { font-family: var(--cjk); }

h1, h2, h3 { margin: 0; }
p { margin: 0; }
img { max-width: 100%; display: block; }

a { color: var(--chili); text-decoration: none; }
a:hover { color: var(--chili-dark); }

::selection { background: var(--chili); color: var(--paper); }

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

.display { font-family: var(--display); letter-spacing: -0.02em; }
.mono { font-family: var(--mono); }
.cjk { font-family: var(--cjk); }

.pad {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section[id], div[id] { scroll-margin-top: 96px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-weight: 600;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  color: var(--paper);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--chili);
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================== */
/* BUTTONS                                                          */
/* ============================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--chili);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--chili-dark);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 21, 18, 0.25);
}
.btn-outline:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.on-dark .btn-outline {
  color: var(--paper);
  border-color: rgba(241, 231, 211, 0.3);
}
.on-dark .btn-outline:hover {
  color: var(--paper);
  border-color: var(--paper);
}

/* ============================================================== */
/* NAV                                                              */
/* ============================================================== */

.nav {
  position: sticky;
  top: var(--banner-h, 0px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px var(--pad);
  background: rgba(241, 231, 211, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26, 21, 18, 0.1);
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
}
.nav-brand:hover { color: var(--ink); }

.nav-brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.nav-brand-cn {
  font-family: var(--cjk);
  font-weight: 700;
  font-size: 15px;
  color: var(--chili);
  white-space: nowrap;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.nav-link {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  /* inline-block so the script can reserve a min-width wide enough for both
     languages — an inline box ignores min-width and the nav would still jump. */
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}
.nav-link:hover { color: var(--chili); }

.nav-cta {
  padding: 11px 22px;
  font-size: 15px;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(26, 21, 18, 0.08);
  padding: 2px;
}

.lang-btn {
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--ink-65);
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn[data-lang-code="zh"] { font-family: var(--cjk); }
.lang-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

/* ============================================================== */
/* HERO                                                             */
/* ============================================================== */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 72px var(--pad) 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--jade-deep);
  border: 1px solid oklch(0.72 0.06 150);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  animation: pulse-ring 2.2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 oklch(0.6 0.15 150 / 0.5); }
  70%  { box-shadow: 0 0 0 7px oklch(0.6 0.15 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.6 0.15 150 / 0); }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 .chili { color: var(--chili); }

.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  max-width: 30em;
  margin-top: 24px;
  color: var(--ink-72);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-addr {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(26, 21, 18, 0.6);
  margin-top: 30px;
  letter-spacing: 0.02em;
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-flag {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 9px 15px;
  border-radius: 999px;
  transform: rotate(-4deg);
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(26, 21, 18, 0.25);
  animation: floaty 4.5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-4deg) translateY(-7px); }
}

/* ============================================================== */
/* PHOTO FRAMES                                                     */
/* ============================================================== */

.frame {
  display: block; /* <picture> is inline by default — without this it ignores height */
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--paper-2) 0 14px,
      var(--paper-3) 14px 28px
    );
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================== */
/* MARQUEE                                                          */
/* ============================================================== */

.marquee {
  overflow: hidden;
  padding: 16px 0;
  background: var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.marquee-track span { display: flex; white-space: pre; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================== */
/* STORY                                                            */
/* ============================================================== */

.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 88px var(--pad);
}

.story-media {
  aspect-ratio: 5 / 6;
  border-radius: var(--radius);
  overflow: hidden;
}

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.story-body {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 24px;
  color: rgba(26, 21, 18, 0.75);
  max-width: 34em;
}
.story-body + .story-body { margin-top: 18px; }

.story-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--chili);
}
.stat-value.cjk { font-size: 38px; }

.stat-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(26, 21, 18, 0.6);
  margin-top: 8px;
}

/* ============================================================== */
/* MENU                                                             */
/* ============================================================== */

.menu {
  padding: 88px var(--pad);
  background: var(--paper-2);
}

.menu-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 44px;
}

.menu-head .section-title {
  font-size: clamp(36px, 4.5vw, 64px);
  margin-top: 16px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(26, 21, 18, 0.06);
  padding: 6px;
  border-radius: 999px;
}

.tab {
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--ink-65);
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
html[data-lang="zh"] .tab { font-family: var(--cjk); }
.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.tab-panel[hidden] { display: none; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dish {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.dish:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(26, 21, 18, 0.13);
}

.dish-media {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 11px;
  overflow: hidden;
}

.dish-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(26, 21, 18, 0.2);
}
.dish-badge.is-red { background: var(--chili); color: var(--paper); }

.dish-body {
  padding: 0 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.dish-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.dish-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
html[data-lang="zh"] .dish-name { font-family: var(--cjk); }

.dish-name-cn {
  font-family: var(--cjk);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-50);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.dish-price {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--chili);
  white-space: nowrap;
}

.dish-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-65);
}

.dish-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 3px;
}

.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(26, 21, 18, 0.6);
  border: 1px solid rgba(26, 21, 18, 0.18);
  padding: 3px 9px;
  border-radius: 999px;
}

/* Coffee & tea bar list */
.bar-list-wrap {
  margin-top: 40px;
  padding-top: 32px;
  background: linear-gradient(var(--paper-2), var(--paper-2));
}

.bar-list-wrap .eyebrow { display: block; margin-bottom: 20px; }

.bar-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 40px;
}

.bar-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
}
.bar-item:nth-child(odd) { background: rgba(26, 21, 18, 0.04); }

.bar-item-name {
  font-weight: 500;
  /* The name, its English gloss and the Chinese are one unit; let them wrap
     together instead of the price being pushed onto its own orphan line. */
  min-width: 0;
}
.bar-item-note { color: var(--ink-50); font-weight: 400; }
.bar-item-cn {
  font-family: var(--cjk);
  font-weight: 400;
  font-size: 12px;
  color: rgba(26, 21, 18, 0.45);
}
.bar-item-price {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(26, 21, 18, 0.6);
  white-space: nowrap;
}

.menu-footnote {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-50);
  margin-top: 28px;
  text-align: center;
}

/* ============================================================== */
/* SAUCES                                                           */
/* ============================================================== */

.sauces { padding: 88px var(--pad); }

.sauces-head { max-width: 44em; margin-bottom: 44px; }
.sauces-head .section-title { margin-top: 16px; }
.sauces-head p {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
  color: var(--ink-72);
}

/* Four sauces: two-up on tablet, four across once there's room. */
.sauce-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.sauce {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.sauce-swatch {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-top: 3px;
  box-shadow: inset 0 0 0 1px rgba(26, 21, 18, 0.15);
}

.sauce h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
}
html[data-lang="zh"] .sauce h3 { font-family: var(--cjk); }

.sauce p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-65);
  margin-top: 5px;
}

.heat-note {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 34px 34px 30px;
}

.heat-note-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.heat-note h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
}
html[data-lang="zh"] .heat-note h3 { font-family: var(--cjk); }

.heat-note-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(241, 231, 211, 0.5);
}

.heat-note p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream-70);
  max-width: 46em;
}
.heat-note strong { color: var(--paper); }
.heat-note .hot { color: var(--chili-light); }

/* ============================================================== */
/* SIGNATURE / HEAT PICKER                                          */
/* ============================================================== */

.signature {
  background: var(--ink);
  color: var(--paper);
  padding: 96px var(--pad);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.signature .eyebrow { color: var(--chili-light); }

.signature h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin-top: 18px;
}

.signature-cn {
  font-family: var(--cjk);
  font-weight: 700;
  font-size: 22px;
  color: var(--chili-light);
  margin-top: 12px;
}

.signature-sub {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 22px;
  color: var(--cream-70);
  max-width: 30em;
}

.heat-picker { margin-top: 34px; }

/* Their own label for the option group, so it reads the way it does at the
   counter and in the ordering flow. */
.heat-group-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(241, 231, 211, 0.5);
  margin: 0 0 12px;
}

.heat-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.heat-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  border: 1.5px solid rgba(241, 231, 211, 0.25);
  cursor: pointer;
  background: transparent;
  color: rgba(241, 231, 211, 0.75);
  text-align: left;
  padding: 9px 18px 10px;
  border-radius: 18px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.heat-btn:hover { border-color: rgba(241, 231, 211, 0.6); color: var(--paper); }
.heat-btn[aria-pressed="true"] {
  background: var(--chili);
  border-color: var(--chili);
  color: var(--paper);
}

.heat-btn-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.heat-btn-tag {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.62;
  line-height: 1.1;
}
.heat-btn[aria-pressed="true"] .heat-btn-tag { opacity: 0.85; }
html[data-lang="zh"] .heat-btn-tag { font-family: var(--cjk); letter-spacing: 0.06em; }

.heat-readout {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(241, 231, 211, 0.06);
  border-left: 3px solid var(--chili);
  min-height: 96px;
}

.heat-readout-desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(241, 231, 211, 0.72);
  margin-top: 6px;
}

.signature-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
}
.signature-media .frame {
  background: repeating-linear-gradient(-45deg, #241d18 0 14px, #2c241e 14px 28px);
}

/* ============================================================== */
/* THE SPACE                                                        */
/* ============================================================== */

.space { padding: 88px var(--pad); }

.space-head {
  text-align: center;
  max-width: 44em;
  margin: 0 auto 48px;
}
.space-head .section-title { margin-top: 16px; }
.space-head p {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
  color: var(--ink-72);
}

.space-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.feature {
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  padding: 34px 28px;
}

.feature-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--chili);
  letter-spacing: -0.02em;
}
html[data-lang="zh"] .feature-value { font-family: var(--cjk); font-size: 34px; }

.feature-label {
  font-size: 15px;
  color: rgba(26, 21, 18, 0.7);
  margin-top: 10px;
}

.space-media {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}

/* ============================================================== */
/* REVIEWS                                                          */
/* ============================================================== */

.reviews {
  padding: 88px var(--pad);
  background: var(--paper-2);
}

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 44px;
}
.reviews-head .section-title { margin-top: 16px; }

.reviews-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(26, 21, 18, 0.55);
  background: var(--paper);
  border-radius: 999px;
  padding: 12px 22px;
  max-width: 26em;
  line-height: 1.5;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review.is-dark { background: var(--ink); color: var(--paper); }

.review-stars {
  color: var(--chili);
  font-size: 17px;
  letter-spacing: 2px;
}
.review.is-dark .review-stars { color: var(--chili-light); }

.review q {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  quotes: "\201C" "\201D";
}
html[data-lang="zh"] .review q { font-family: var(--cjk); }

.review-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(26, 21, 18, 0.6);
}
.review.is-dark .review-meta { color: rgba(241, 231, 211, 0.65); }

.review-src {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(26, 21, 18, 0.4);
}
.review.is-dark .review-src { color: var(--cream-45); }

/* ============================================================== */
/* VISIT                                                            */
/* ============================================================== */

.visit {
  padding: 88px var(--pad);
  background: var(--ink);
  color: var(--paper);
}

.visit .eyebrow { color: var(--chili-light); }

.visit h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 18px;
}

.visit-blocks {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.visit-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(241, 231, 211, 0.5);
  margin-bottom: 8px;
}

.visit-addr {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
}

.visit-tel {
  color: var(--chili-light);
  font-size: 19px;
  font-weight: 500;
}
.visit-tel:hover { color: var(--paper); }

.tel-link { color: var(--chili-light); }
.tel-link:hover { color: var(--paper); }

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  max-width: 24em;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  border-radius: 8px;
}
.hours-row:nth-child(odd) { background: rgba(241, 231, 211, 0.06); }
.hours-row span:last-child { font-family: var(--mono); }

.visit-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.visit-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(241, 231, 211, 0.06);
}
.visit-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9);
}

.other-location {
  margin-top: 40px;
  background: rgba(241, 231, 211, 0.06);
  border-radius: var(--radius-sm);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}

.other-location h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
}
html[data-lang="zh"] .other-location h3 { font-family: var(--cjk); }

.other-location p {
  color: var(--cream-70);
  font-size: 15px;
  margin-top: 6px;
  line-height: 1.5;
}

.other-location .mono { font-size: 13px; color: var(--cream-45); }

/* ============================================================== */
/* FAQ                                                              */
/* ============================================================== */

.faq { padding: 88px var(--pad); }

.faq-head { margin-bottom: 40px; }
.faq-head .section-title { margin-top: 16px; }

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  max-width: 1100px;
}

.faq-item {
  background: var(--paper-2);
  border-radius: 14px;
  padding: 4px 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
html[data-lang="zh"] .faq-item summary { font-family: var(--cjk); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 20px;
  color: var(--chili);
  flex: none;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-72);
  padding-bottom: 20px;
  max-width: 44em;
}

/* ============================================================== */
/* FOOTER                                                           */
/* ============================================================== */

.footer {
  padding: 56px var(--pad) 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(26, 21, 18, 0.55);
  margin-top: 12px;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid rgba(26, 21, 18, 0.18);
  padding: 9px 16px;
  border-radius: 999px;
  transition: border-color 0.15s ease;
}
.footer-link:hover { color: var(--ink); border-color: var(--ink); }
.footer-link svg { width: 15px; height: 15px; flex: none; }

.footer-legal {
  padding: 0 var(--pad) 48px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(26, 21, 18, 0.45);
}

/* ============================================================== */
/* REVEAL ON SCROLL                                                 */
/* ============================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================== */
/* RESPONSIVE                                                       */
/* ============================================================== */

@media (max-width: 1000px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .bar-list { grid-template-columns: repeat(2, 1fr); gap: 4px 24px; }
  .review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --pad: 24px; }
  .hero, .story, .split { grid-template-columns: 1fr; gap: 36px; }
  .story-media { order: 2; max-height: 60vh; }
  .sauce-grid, .space-features { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-head { flex-direction: column; align-items: flex-start; }
  .faq-list { grid-template-columns: 1fr; }
  .visit-media { aspect-ratio: 4 / 3; }
  .space-media { aspect-ratio: 16 / 9; }
}

@media (max-width: 620px) {
  .nav-brand-cn { display: none; }
  .nav-items { gap: 10px; }
  .nav-cta { padding: 9px 15px; font-size: 14px; }
  .lang-btn { padding: 6px 11px; }
  .hero { padding-top: 40px; }
  .menu, .story, .sauces, .space, .reviews, .visit, .faq { padding-top: 56px; padding-bottom: 56px; }
  .signature { padding-top: 64px; padding-bottom: 64px; }
  .menu-grid, .bar-list { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tab { flex: 1 1 auto; padding: 10px 14px; font-size: 14px; }
  .marquee-track { font-size: 18px; }
  .footer-wordmark { font-size: 32px; }
  .story-stats { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .pulse-dot, .hero-flag { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* The Yelp badge is a citation, so it has to read as a link without turning
   into a blue underline in the middle of the hero. */
.hero-flag a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}
.hero-flag a > span { display: block; }
.hero-flag a:hover > span,
.hero-flag a:focus-visible > span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.yelp-mark {
  display: block;
  width: 52px;
  height: auto;
  /* Sits on the badge's own baseline rather than the text's, so the burst
     lines up with the cap height instead of floating. */
  margin-top: -1px;
  flex: none;
}
@media (max-width: 560px) {
  .yelp-mark { width: 42px; }
}

/* Heat meter — three stops that fill to the chosen level. The three Legends
   are Lifeline, Crypto and Octane, lifted from the restaurant's own ordering
   flow; the buttons carry the names, so the meter only shows how far up the
   scale you are. */
.heat-meter {
  display: flex;
  gap: 6px;
  margin: 18px 0 14px;
  max-width: 260px;
}
.heat-stop {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 260ms ease, transform 260ms ease;
  transform-origin: left center;
}
.heat-stop.is-lit { background: var(--chili); }
.heat-stop.is-lit:nth-child(2) { background: color-mix(in srgb, var(--chili) 88%, #ff8a3d); }
.heat-stop.is-lit:nth-child(3) { background: color-mix(in srgb, var(--chili) 70%, #ffb038); }

.heat-foot {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0.62;
}

/* Nav reflects the section you're actually in — a rule that grows out from
   the centre rather than a colour change, so it reads at a glance without
   competing with the chili hover state. */
.nav-link {
  position: relative;
  padding-bottom: 3px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--chili);
  transform: scaleX(0);
  transition: transform 260ms cubic-bezier(.2, .8, .3, 1);
}
.nav-link.is-current::after { transform: scaleX(1); }

/* Dish photos lift very slightly on hover — enough to read as interactive,
   not enough to become a carnival. */
.dish .frame img {
  transition: transform 420ms cubic-bezier(.2, .7, .3, 1);
}
@media (hover: hover) {
  .dish:hover .frame img { transform: scale(1.035); }
}

/* Phone-only ordering bar. */
.order-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 55;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px 11px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(140%);
  transition: transform 340ms cubic-bezier(.2, .8, .3, 1);
}
.order-bar.is-up { transform: translateY(0); }
.order-bar-info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.order-bar-name { font-weight: 700; font-size: 14px; }
.order-bar-meta {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.68;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-bar .btn { flex: none; padding: 10px 16px; font-size: 14px; }

@media (max-width: 760px) {
  .order-bar { display: flex; }
  /* Stop the bar sitting on top of the last row of content. */
  body { padding-bottom: 78px; }

  /* On a phone the coffee-bar rows are too long for one line: stack the
     name above the price rather than letting the Chinese wrap mid-row. */
  .bar-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 11px 12px;
  }
  .bar-item-cn { display: inline-block; }

  /* The language toggle is the most-tapped control on the page and it was
     only 28px tall — under any reasonable thumb target. */
  .lang-btn {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
  }

  /* Calling is a primary action on a phone. Grow the hit area with padding
     cancelled by matching negative margin, so nothing moves. */
  .visit-tel,
  .tel-link {
    display: inline-block;
    padding: 11px 4px;
    margin: -11px -4px;
  }

  /* 10px chips and footnotes read fine at desk distance and not at all in a
     hand. Nudge the smallest type up. */
  .tag,
  .dish-badge { font-size: 11px; }
  .heat-btn-tag { font-size: 11.5px; }
  .reviews-note { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .order-bar { transition: none; }
  .heat-stop { transition: none; }
  .dish .frame img { transition: none; }
  .nav-link::after { transition: none; }
}

