@font-face {
  font-family: "XHJ Character Mark";
  src: url("./fonts/xhj-character-marks-e6556a9c.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+5BB6, U+98DF;
}

:root {
  --brick: #b64b3a;
  --brick-dark: #873529;
  --cream: #fbf4e8;
  --paper: #fffdf8;
  --soy: #211d19;
  --muted: #6e665f;
  --jade: #3f7968;
  --jade-light: #dcebe4;
  --amber: #e3b95e;
  --line: #ddd3c5;
  --danger: #a52b2b;
  --shadow: 0 18px 50px rgba(40, 31, 24, 0.11);
  --radius: 22px;
  --warm-ease: cubic-bezier(.22, .72, .28, 1);
  --character-mark-font: "XHJ Character Mark", "PMingLiU", "MingLiU", "Songti TC", "Noto Serif TC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.story-section,
.food-section,
.locations-section,
.news-section { scroll-margin-top: 104px; }
body {
  margin: 0;
  color: var(--soy);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
  line-height: 1.55;
}
a { color: var(--jade); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
img { max-width: 100%; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  min-height: 84px;
  padding: 10px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(90, 70, 50, 0.1);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--soy); text-decoration: none; }
.brand img { width: 62px; height: 62px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); }
.brand span { display: grid; }
.brand strong { font-size: 1.15rem; letter-spacing: 0.04em; }
.brand small { color: var(--muted); }
.admin-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.public-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 9px 10px;
  color: var(--soy);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav a:hover { background: #f2eadf; }
.site-nav .nav-book { padding-inline: 15px; color: white; background: var(--brick); }
.site-nav .nav-book:hover { background: var(--brick-dark); }
.admin-nav a, .link-button {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--soy);
  background: transparent;
  border: 0;
  text-decoration: none;
}
.language-nav {
  position: relative;
  flex: 0 0 auto;
  color: var(--soy);
}
.language-nav summary {
  min-width: 66px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: white;
  background: var(--soy);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.language-nav summary::-webkit-details-marker { display: none; }
.language-nav summary:focus-visible {
  outline: 3px solid rgba(63, 121, 104, .35);
  outline-offset: 3px;
}
.language-selector-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.language-nav[open] .language-selector-chevron {
  transform: translateY(2px) rotate(225deg);
}
.language-nav:not([open]) .language-menu { display: none; }
.language-menu {
  min-width: 168px;
  padding: 8px;
  display: grid;
  gap: 3px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.language-menu a {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--soy);
  border-radius: 11px;
  text-decoration: none;
  white-space: nowrap;
}
.language-menu a:hover,
.language-menu a:focus-visible { background: #f2eadf; }
.language-menu a[aria-current="page"] {
  color: var(--jade);
  background: var(--jade-light);
  font-weight: 750;
}
.language-menu-check { font-size: .82rem; }
.admin-nav form { margin: 0; }

.hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(45px, 8vw, 100px) clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}

.home-hero {
  max-width: 1380px;
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 115px) clamp(20px, 5vw, 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, .95fr);
  gap: clamp(35px, 7vw, 105px);
  align-items: center;
  overflow: hidden;
}
.home-hero h1 {
  max-width: 8ch;
  margin-bottom: 0.28em;
  font: clamp(4rem, 8vw, 7.6rem)/.92 Georgia, "Noto Serif", serif;
  letter-spacing: 0;
}
.home-hero-title-lines {
  display: grid;
  row-gap: 0.12em;
}
.home-hero-title-lines span { display: block; }
.home-hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.home-button, .hero-actions .primary-button, .location-actions .primary-button { width: auto; }
.home-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
}
.home-hero-visual { min-height: 570px; position: relative; }
.hero-dish { position: absolute; object-fit: cover; border: 10px solid white; box-shadow: var(--shadow); }
.hero-dish-main { width: min(90%, 480px); right: 0; top: 0; border-radius: 48% 48% 28px 28px; transform: rotate(2deg); }
.hero-dish-small { width: min(58%, 295px); left: 0; bottom: 0; border-radius: 24px; transform: rotate(-5deg); }
.hero-seal {
  position: absolute;
  right: 3%;
  bottom: 1%;
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: white;
  background: var(--brick);
  border-radius: 50%;
  box-shadow: var(--shadow);
  transform: rotate(5deg);
}
.hero-seal strong { font: 3rem/1 Georgia, serif; }
.hero-seal span { font-size: .75rem; line-height: 1.2; text-transform: uppercase; }

@keyframes warm-copy-arrive {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes warm-main-dish-arrive {
  from { opacity: 0; transform: translate3d(20px, 24px, 0) rotate(0deg) scale(.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(2deg) scale(1); }
}

@keyframes warm-small-dish-arrive {
  from { opacity: 0; transform: translate3d(-18px, 28px, 0) rotate(-1deg) scale(.96); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(-5deg) scale(1); }
}

@keyframes warm-seal-arrive {
  from { opacity: 0; transform: translate3d(12px, 20px, 0) rotate(0deg) scale(.88); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(5deg) scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .home-page [data-warm-hero] .home-hero-copy > * {
    animation: warm-copy-arrive .78s var(--warm-ease) both;
  }
  .home-page [data-warm-hero] .home-hero-copy > :nth-child(1) { animation-delay: 80ms; }
  .home-page [data-warm-hero] .home-hero-copy > :nth-child(2) { animation-delay: 150ms; }
  .home-page [data-warm-hero] .home-hero-copy > :nth-child(3) { animation-delay: 230ms; }
  .home-page [data-warm-hero] .home-hero-copy > :nth-child(4) { animation-delay: 310ms; }
  .home-page [data-warm-hero] .home-hero-copy > :nth-child(5) { animation-delay: 390ms; }
  .home-page [data-warm-hero] .hero-dish-main {
    animation: warm-main-dish-arrive .96s var(--warm-ease) 170ms both;
  }
  .home-page [data-warm-hero] .hero-dish-small {
    animation: warm-small-dish-arrive .92s var(--warm-ease) 300ms both;
  }
  .home-page [data-warm-hero] .hero-seal {
    animation: warm-seal-arrive .72s var(--warm-ease) 470ms both;
  }

  html.warm-motion-ready [data-warm-reveal] {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition:
      opacity .72s var(--warm-ease),
      transform .72s var(--warm-ease);
    transition-delay: var(--warm-delay, 0ms);
  }
  html.warm-motion-ready [data-warm-reveal="mark"] {
    transform: translate3d(-14px, 24px, 0) rotate(-7deg) scale(.97);
  }
  html.warm-motion-ready [data-warm-reveal].is-warm-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  html.warm-motion-ready [data-warm-reveal="mark"].is-warm-visible {
    transform: translate3d(0, 0, 0) rotate(-4deg) scale(1);
  }
}

.story-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 135px) clamp(20px, 7vw, 95px);
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  gap: clamp(35px, 8vw, 120px);
  align-items: center;
  border-top: 1px solid rgba(100, 70, 40, .12);
}
.story-mark {
  width: min(290px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.84);
  background: var(--jade);
  border-radius: 50% 50% 18% 50%;
  font-family: var(--character-mark-font);
  font-size: clamp(6rem, 13vw, 10rem);
  font-weight: 400;
  line-height: 1;
  transform: rotate(-4deg);
}
.story-copy h2, .section-intro h2, .closing-cta h2 {
  max-width: 14ch;
  font: clamp(2.5rem, 5vw, 4.8rem)/1.03 Georgia, "Noto Serif", serif;
  letter-spacing: 0;
}
.story-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; color: var(--muted); font-size: 1.02rem; }

@media (min-width: 861px) {
  html[lang^="zh"] .food-section .single-line-heading,
  html[lang^="zh"] .closing-cta .single-line-heading {
    max-width: none;
    white-space: nowrap;
  }
}

@media (min-width: 1180px) {
  html[lang^="zh"] .home-hero .single-line-copy {
    max-width: none;
    white-space: nowrap;
    font-size: 1.08rem;
  }
  html[lang^="zh"] .food-section .single-line-heading {
    font-size: 3.9rem;
  }
  html[lang^="zh"] .closing-cta .single-line-heading {
    font-size: 3rem;
  }
}

.food-section { max-width: 1280px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 70px); }
.section-intro { max-width: 820px; margin-bottom: 45px; }
.section-intro > p:last-child { max-width: 700px; color: var(--muted); font-size: 1.03rem; }
.dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dish-card {
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(150px, .9fr) 1.1fr;
  gap: 22px;
  align-items: center;
  background: var(--paper);
  border: 1px solid rgba(100,70,40,.08);
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(40,31,24,.06);
  transition: transform .28s var(--warm-ease), box-shadow .28s ease;
}
.dish-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
  transition: transform .38s var(--warm-ease);
}
.dish-card h3 { margin-top: 5px; font: 1.55rem/1.1 Georgia, serif; }
.dish-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.dish-number { color: var(--brick); font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.menu-update-note {
  margin-top: 25px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: #5c4816;
  background: #fff3c9;
  border: 1px solid #ead58c;
  border-radius: 17px;
}
.menu-update-note > span { flex: none; width: 28px; height: 28px; display: grid; place-items: center; color: white; background: var(--amber); border-radius: 50%; font-weight: 900; }
.menu-update-note p { margin: 4px 0 0; }

.locations-section { padding: clamp(75px, 9vw, 125px) clamp(20px, 5vw, 72px); color: white; background: var(--soy); }
.locations-section > * { max-width: 1280px; margin-inline: auto; }
.section-intro.light .eyebrow { color: #e59b87; }
.section-intro.light > p:last-child { color: rgba(255,255,255,.66); }
.location-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.location-card {
  min-width: 0;
  min-height: 390px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: var(--soy);
  background: var(--paper);
  border-radius: 22px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .1);
  transition: transform .28s var(--warm-ease), box-shadow .28s ease;
}
.location-card.location-pending { background: #ede6dc; }
.location-index { position: absolute; right: 15px; top: -25px; color: rgba(33,29,25,.06); font: 8rem/1 Georgia, serif; }
.location-city { color: var(--brick); font-size: .68rem; font-weight: 900; letter-spacing: .18em; }
.location-card h3 { max-width: 13ch; font: 1.9rem/1.05 Georgia, serif; }
.location-card address { min-height: 54px; font-style: normal; color: var(--muted); }
.location-phone { margin-top: 12px; color: var(--soy); font-size: 1.07rem; font-weight: 800; }
.location-hours { color: var(--muted); font-size: .82rem; }
.pending-data { margin-top: 18px; padding: 12px; background: rgba(255,255,255,.55); border-radius: 10px; }
.location-actions { display: flex; align-items: stretch; gap: 9px; flex-wrap: wrap; margin-top: auto; }
.location-actions .primary-button, .location-actions .secondary-button { min-height: 44px; padding: 9px 14px; font-size: .78rem; }

.news-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(75px, 9vw, 125px) clamp(20px, 5vw, 70px);
}
.news-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}
.news-section-head .section-intro { margin-bottom: 0; }
.news-section-head > .secondary-button { flex: none; }
.news-empty {
  padding: 24px;
  color: var(--muted);
  background: rgba(255, 253, 248, .72);
  border: 1px solid rgba(100, 70, 40, .1);
  border-radius: 8px;
}
.news-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--soy);
}
.news-empty p { margin: 0; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.article-carousel {
  --carousel-visible-items: 3;
  --carousel-gap: 20px;
  position: relative;
}
.article-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.article-carousel-viewport::-webkit-scrollbar { display: none; }
.article-carousel .article-grid-home {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.333333% - 13.333333px);
  gap: var(--carousel-gap);
}
.article-carousel [data-carousel-slide] { scroll-snap-align: none; }
.article-carousel [data-carousel-slide].is-carousel-page-start {
  scroll-snap-align: start;
}
.article-carousel-controls {
  min-height: 44px;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.carousel-icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  color: var(--soy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(40, 31, 24, .07);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}
.carousel-icon-button:hover { color: white; background: var(--jade); border-color: var(--jade); }
.carousel-icon-button:focus-visible,
.article-carousel-dot:focus-visible {
  outline: 3px solid rgba(63, 121, 104, .35);
  outline-offset: 3px;
}
.carousel-icon-button:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: #f3ede4;
  border-color: var(--line);
  box-shadow: none;
  opacity: .72;
}
.carousel-playback-button { margin-left: 6px; }
.article-carousel-dots {
  min-width: 44px;
  min-height: 42px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.article-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  display: block;
  flex: 0 0 10px;
  border: 0;
  border-radius: 50%;
  background: #c7baaa;
  transition: width .2s ease, background-color .2s ease;
}
.article-carousel-dot[aria-current="true"] {
  width: 26px;
  flex-basis: 26px;
  border-radius: 999px;
  background: var(--brick);
}
.article-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(100, 70, 40, .1);
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(40, 31, 24, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card.is-pinned {
  border-color: rgba(182, 75, 58, .3);
  box-shadow: 0 12px 34px rgba(182, 75, 58, .1);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(40, 31, 24, .11);
}
.article-card-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #efe5d8;
}
.article-card-cover > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.article-card:hover .article-card-cover > img { transform: scale(1.025); }
.article-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 82% 20%, rgba(227, 185, 94, .44), transparent 28%),
    linear-gradient(135deg, var(--jade) 0 55%, #315f53 55% 100%);
}
.article-cover-placeholder img {
  width: clamp(78px, 28%, 118px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(20,30,25,.2);
}
.article-card-copy {
  flex: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.article-card-meta,
.article-card-footer,
.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}
.article-category {
  padding: 4px 8px;
  color: var(--brick-dark);
  background: #f6e3dc;
  border-radius: 999px;
}
.article-pin-badge {
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6b4a00;
  background: #fff1bf;
  border: 1px solid rgba(156, 108, 0, .18);
  border-radius: 999px;
  white-space: nowrap;
}
.article-pin-badge > span {
  color: #9a6300;
  font-size: .9em;
  line-height: 1;
}
.article-card h2,
.article-card h3 {
  margin: 16px 0 10px;
  font: 1.48rem/1.24 Georgia, "Noto Serif", serif;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.article-card h2 a,
.article-card h3 a {
  color: var(--soy);
  text-decoration: none;
  overflow-wrap: break-word;
}
.article-card h2 a:hover,
.article-card h3 a:hover { color: var(--brick); }
.article-card-copy > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: .91rem;
}
.article-card-footer {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.article-card-footer a { font-weight: 850; }

.articles-hero {
  max-width: 1280px;
  min-height: 390px;
  margin: 0 auto;
  padding: clamp(65px, 9vw, 120px) clamp(20px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, .65fr);
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
  overflow: hidden;
}
.articles-hero h1 {
  max-width: 12ch;
  font: clamp(3.2rem, 7vw, 6.3rem)/.96 Georgia, "Noto Serif", serif;
  letter-spacing: -.05em;
}
.articles-hero > div:first-child > p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}
.articles-hero-mark {
  width: min(270px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  color: rgba(255,255,255,.9);
  background: var(--brick);
  border-radius: 50% 50% 20% 50%;
  box-shadow: var(--shadow);
  font-family: var(--character-mark-font);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
  transform: rotate(5deg);
}
.articles-index {
  max-width: 1280px;
  min-height: 360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 70px) clamp(80px, 10vw, 135px);
}
.articles-empty {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 65px);
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.articles-empty img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.articles-empty h2 { margin-top: 20px; font: clamp(2rem, 4vw, 3.1rem)/1.05 Georgia, serif; }
.articles-empty p { max-width: 520px; margin: 0 auto 24px; color: var(--muted); }

.article-detail {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(50px, 8vw, 105px) clamp(20px, 5vw, 70px);
}
.article-back { color: var(--muted); font-weight: 750; text-decoration: none; }
.article-back:hover { color: var(--brick); }
.article-detail-header {
  max-width: 940px;
  margin: 34px 0 48px;
}
.article-detail-header h1 {
  max-width: 20ch;
  margin: clamp(20px, 3vw, 28px) 0 clamp(20px, 3vw, 30px);
  font: clamp(2.45rem, 5.25vw, 4.9rem)/1.08 Georgia, "Noto Serif", serif;
  letter-spacing: -.032em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.article-detail-header h1:lang(zh) {
  max-width: 17em;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.article-detail-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.75;
}
.article-detail-cover {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: #efe5d8;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.article-detail-cover > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.article-cover-placeholder-large img { width: clamp(100px, 16%, 160px); }
.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(35px, 7vw, 85px);
  align-items: start;
  margin-top: clamp(45px, 7vw, 80px);
}
.article-detail-layout.without-source {
  display: block;
}
.article-detail-layout.without-source .article-body {
  width: min(780px, 100%);
  margin-inline: auto;
}
.article-body {
  color: #332d28;
  font-family: Georgia, "Noto Serif", serif;
  font-size: clamp(1.02rem, 1.7vw, 1.17rem);
  line-height: 1.9;
  white-space: normal;
  overflow-wrap: anywhere;
}
.article-text-block { white-space: pre-line; }
.article-text-block + .article-text-block { margin-top: 1em; }
.article-body-figure {
  margin: clamp(24px, 3vw, 38px) 0;
  white-space: normal;
}
.article-body-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(40,31,24,.11);
}
.article-body-figure figcaption {
  max-width: 90%;
  margin: 12px auto 0;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .78rem;
  line-height: 1.55;
  text-align: center;
}
.article-source-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(40,31,24,.07);
}
.article-source-card h2 { font: 1.45rem/1.15 Georgia, serif; }
.article-source-card p:not(.eyebrow) { color: var(--muted); }
.article-source-card .article-source-title { color: var(--soy); font-weight: 850; }
.article-source-card .secondary-button { width: 100%; margin: 5px 0; }
.article-source-card small { display: block; margin-top: 14px; color: var(--muted); }
.article-booking-cta {
  max-width: 1050px;
  margin: 0 auto clamp(70px, 10vw, 130px);
  padding: clamp(28px, 5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: white;
  background: var(--jade);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.article-booking-cta .eyebrow { color: #f6c2b5; }
.article-booking-cta h2 { max-width: 16ch; margin: 0; font: clamp(2rem, 4vw, 3.4rem)/1.05 Georgia, serif; }

.closing-cta {
  max-width: 1180px;
  margin: clamp(65px, 9vw, 120px) auto;
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: 100px minmax(0,1fr) auto;
  gap: 30px;
  align-items: center;
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: transform .28s var(--warm-ease), box-shadow .28s ease;
}
.closing-cta img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .38s var(--warm-ease);
}
.closing-cta h2 { max-width: 17ch; font-size: clamp(2rem, 4vw, 3.7rem); }
.closing-cta p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.eyebrow { color: var(--brick); font-weight: 800; letter-spacing: 0.16em; font-size: 0.76rem; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.55em; }
.hero h1 { font-family: Georgia, "Noto Serif", serif; font-size: clamp(3.2rem, 7vw, 6.8rem); max-width: 8ch; letter-spacing: -0.04em; }
.hero-lead { max-width: 590px; font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--muted); }
.rule-note { margin-top: 24px; padding: 14px 18px; border-left: 4px solid var(--amber); background: #fff8dc; border-radius: 10px; }
.rule-note span { display: inline-grid; place-items: center; width: 23px; height: 23px; margin-right: 9px; border-radius: 50%; background: var(--amber); font-weight: 800; }
.food-collage { min-height: 520px; position: relative; }
.food-collage img { position: absolute; width: 43%; border-radius: 26px; box-shadow: var(--shadow); border: 7px solid white; }
.food-collage .food-main { width: 66%; left: 8%; top: 0; transform: rotate(-2deg); }
.food-collage img:nth-child(2) { right: 0; top: 30%; transform: rotate(5deg); }
.food-collage img:nth-child(3) { left: 2%; bottom: 0; width: 45%; transform: rotate(-6deg); }

.booking-shell {
  max-width: 1120px;
  margin: 0 auto 70px;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.section-heading { text-align: center; margin-bottom: 38px; }
.section-heading h2 { font-family: Georgia, "Noto Serif", serif; font-size: clamp(2.1rem, 5vw, 3.8rem); }
.section-heading p:last-child { color: var(--muted); }
.form-errors { padding: 15px 20px; margin-bottom: 24px; color: #702020; background: #fee; border: 1px solid #f4c3c3; border-radius: 14px; }
.form-errors ul { margin-bottom: 0; }
.form-grid, .compact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.compact-grid { grid-template-columns: 1fr 1fr 0.7fr; }
.field { display: grid; gap: 7px; font-weight: 650; }
.field > span { font-size: 0.92rem; }
.field input, .field select, .field textarea, .filters input, .filters select {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--soy);
  background: white;
  outline: none;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--jade); box-shadow: 0 0 0 3px rgba(63, 121, 104, 0.14); }
.field small, .microcopy, .submit-note { color: var(--muted); font-size: 0.8rem; font-weight: 450; }
.field .localized-date-input {
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23211d19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3C/svg%3E") no-repeat right 13px center;
  padding-right: 44px;
}
.xhj-date-picker.flatpickr-calendar {
  color: var(--soy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-family: "Microsoft JhengHei UI", "Segoe UI", "Noto Sans TC", sans-serif;
}
.xhj-date-picker.flatpickr-calendar.arrowTop::before { border-bottom-color: var(--line); }
.xhj-date-picker.flatpickr-calendar.arrowTop::after { border-bottom-color: var(--paper); }
.xhj-date-picker.flatpickr-calendar.arrowBottom::before { border-top-color: var(--line); }
.xhj-date-picker.flatpickr-calendar.arrowBottom::after { border-top-color: var(--paper); }
.xhj-date-picker .flatpickr-months,
.xhj-date-picker .flatpickr-month,
.xhj-date-picker .flatpickr-weekdays {
  color: var(--soy);
  background: var(--paper);
}
.xhj-date-picker .flatpickr-current-month {
  font-size: 1rem;
  font-weight: 700;
}
.xhj-date-picker .flatpickr-current-month .flatpickr-monthDropdown-months,
.xhj-date-picker .flatpickr-current-month input.cur-year {
  font-weight: 700;
}
.xhj-date-picker span.flatpickr-weekday {
  color: var(--muted);
  font-weight: 700;
}
.xhj-date-picker .flatpickr-day {
  color: var(--soy);
  border-radius: 6px;
}
.xhj-date-picker .flatpickr-day:hover,
.xhj-date-picker .flatpickr-day:focus {
  background: var(--jade-light);
  border-color: var(--jade-light);
}
.xhj-date-picker .flatpickr-day.today {
  border-color: var(--jade);
}
.xhj-date-picker .flatpickr-day.selected,
.xhj-date-picker .flatpickr-day.selected:hover,
.xhj-date-picker .flatpickr-day.selected:focus {
  color: white;
  background: var(--brick);
  border-color: var(--brick);
}
.xhj-date-picker .flatpickr-day.flatpickr-disabled,
.xhj-date-picker .flatpickr-day.prevMonthDay,
.xhj-date-picker .flatpickr-day.nextMonthDay {
  color: rgba(110, 102, 95, 0.42);
}
.full-width { grid-column: 1 / -1; }
.needs-panel, .change-panel { margin: 28px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fcfaf5; }
.needs-panel summary, .change-panel summary { cursor: pointer; font-weight: 800; }
.needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.check-card { display: flex; gap: 8px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 18px 0; font-size: 0.9rem; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--jade); }
.special-consent { padding: 13px; background: var(--jade-light); border-radius: 10px; }
.data-use-note { margin: -8px 0 18px 29px; }
.primary-button, .secondary-button, .danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform .2s var(--warm-ease),
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}
.primary-button { width: 100%; background: var(--brick); color: white; box-shadow: 0 9px 22px rgba(182,75,58,.25); }
.primary-button:hover { background: var(--brick-dark); }
.secondary-button { background: white; color: var(--soy); border-color: var(--line); }

@media (hover: hover) and (pointer: fine) {
  .primary-button:hover,
  .secondary-button:hover {
    transform: translateY(-2px);
  }
  .dish-card:hover,
  .location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(40, 31, 24, .12);
  }
  .dish-card:hover img { transform: scale(1.025); }
  .closing-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 58px rgba(40, 31, 24, .14);
  }
  .closing-cta:hover img { transform: rotate(-3deg) scale(1.035); }
}
.danger-button { color: white; background: var(--danger); border-color: var(--danger); }
.danger-button:hover { background: #7f1f1f; border-color: #7f1f1f; }
.danger-link { color: var(--danger); border: 0; background: transparent; padding: 10px; text-decoration: underline; }
.submit-note { text-align: center; }
.honeypot { position: absolute !important; left: -10000px !important; }

.store-strip { max-width: 1120px; margin: 0 auto 90px; padding: 0 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.store-strip article { padding: 25px; background: var(--jade); color: white; border-radius: var(--radius); position: relative; overflow: hidden; }
.store-strip article > span { position: absolute; right: 15px; top: -20px; font: 120px/1 Georgia, serif; opacity: 0.08; }
.store-strip p { opacity: 0.78; }

.status-page { min-height: 75vh; padding: 60px 20px; display: grid; place-items: start center; }
.status-card, .login-card, .legal-page { width: min(720px, 100%); padding: clamp(26px, 5vw, 55px); background: var(--paper); border-radius: 28px; box-shadow: var(--shadow); }
.status-card h1, .login-card h1, .legal-page h1 { font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.4rem); }
.status-pill { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 0.77rem; font-weight: 800; background: #ece7df; white-space: nowrap; }
.status-confirmed, .status-arrived, .status-departed { background: var(--jade-light); color: #215243; }
.status-pending, .status-change_requested, .status-needs_change { background: #fff1bf; color: #6b4a00; }
.status-rejected, .status-cancelled, .status-no_show { background: #f9d7d7; color: #7b2424; }
.booking-summary { display: grid; gap: 0; margin: 24px 0; }
.booking-summary div { display: grid; grid-template-columns: minmax(120px, .8fr) 1.4fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.booking-summary dt { color: var(--muted); }
.booking-summary dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.cancel-form { margin-top: 24px; text-align: center; }

.admin-page { background: #f1eee8; }
.admin-page .site-header {
  min-height: 76px;
  padding: 10px clamp(16px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(250px, auto) minmax(0, 1fr);
  gap: 16px 28px;
}
.admin-page .brand { min-width: 0; }
.admin-page .brand img { width: 52px; height: 52px; }
.admin-page .brand strong { font-size: 1rem; letter-spacing: 0; }
.admin-page .brand small { font-size: .76rem; }
.admin-page .admin-nav {
  min-width: 0;
  justify-content: flex-end;
  gap: 4px;
}
.admin-page .admin-nav a,
.admin-page .admin-nav .link-button {
  min-height: 40px;
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.admin-page .admin-nav a:hover,
.admin-page .admin-nav .link-button:hover { background: #e8e3dc; }
.admin-page .admin-nav a[aria-current="page"] {
  color: white;
  background: var(--jade);
}
.admin-page .admin-nav form { flex: 0 0 auto; }
.admin-shell { max-width: 1380px; margin: 0 auto; padding: 34px clamp(16px, 3vw, 42px) 64px; }
.admin-shell.narrow { max-width: 1120px; }
.admin-title, .booking-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.admin-title h1, .booking-head h1 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
  font-weight: 780;
  line-height: 1.15;
  letter-spacing: 0;
}
.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 18px 0; }
.summary-grid article { padding: 16px; background: white; border: 1px solid var(--line); border-radius: 8px; display: grid; }
.summary-grid strong { font-size: 2rem; }
.summary-grid span, .summary-grid small { color: var(--muted); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px; margin: 18px 0; background: white; border: 1px solid var(--line); border-radius: 8px; }
.filters select, .filters input { width: auto; min-width: 175px; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.035); }
.booking-table { width: 100%; border-collapse: collapse; }
.booking-table th, .booking-table td { padding: 14px 15px; text-align: left; border-bottom: 1px solid #eee8df; }
.booking-table th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.booking-table td small { display: block; color: var(--muted); }
.admin-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin: 20px 0; }
.panel-card, .email-preview { padding: 24px; background: white; border-radius: 8px; box-shadow: 0 7px 24px rgba(0,0,0,.04); }
.section-card { margin: 20px 0; }
.sensitive-box { padding: 15px; border-radius: 12px; background: #fff2cd; border: 1px solid #e4c26e; margin: 18px 0; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 0.82rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.audit-line { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.audit-line span { color: var(--muted); font-size: .8rem; }
.email-preview { margin: 17px 0; }
.email-preview header { display: flex; justify-content: space-between; gap: 20px; }
.email-preview header span { color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 22px; }
.admin-login-page { min-height: 100vh; }
.admin-login-shell {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
}
.admin-login {
  width: min(440px, 100%);
  padding: clamp(24px, 5vw, 36px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(40, 31, 24, .1);
}
.admin-login img {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.admin-login .eyebrow { margin: 18px 0 8px; }
.admin-login h1 {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 5vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: 0;
}
.admin-login form { display: grid; gap: 14px; }
.admin-login .field { display: grid; gap: 7px; }
.admin-login input { width: 100%; }
.admin-login .primary-button { width: 100%; margin-top: 2px; }
.admin-login .back-link { margin: 18px 0 0; font-size: .9rem; }
.login-card { margin: 80px auto; }
.legal-page { margin: 55px auto; }
.legal-page h2 { margin-top: 1.8em; }
.customer-highlight { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 0 0 20px; padding: 20px 24px; background: white; border-left: 6px solid var(--jade); border-radius: 18px; box-shadow: 0 7px 24px rgba(0,0,0,.04); }
.customer-highlight > div { display: grid; gap: 8px; }
.customer-highlight dl { display: flex; gap: 24px; margin: 0; }
.customer-highlight dl div { display: grid; }
.customer-highlight dt { color: var(--muted); font-size: .75rem; }
.customer-highlight dd { margin: 0; font-size: 1.2rem; font-weight: 850; }
.tier-pill { display: inline-flex; width: fit-content; padding: 5px 10px; border-radius: 999px; background: #ece7df; color: var(--soy); font-size: .76rem; font-weight: 850; }
.tier-new { background: #e8edf0; color: #3c4b55; }
.tier-returning { background: #e5f2ed; color: #215243; }
.tier-regular { background: #e4efe0; color: #31572d; }
.tier-frequent { background: #fff0bf; color: #745000; }
.tier-vip { background: #2d2621; color: #f5cf78; }
.customer-summary-grid { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.flat-table { box-shadow: none; border: 1px solid var(--line); }
.merge-panel summary { cursor: pointer; font-weight: 850; }
.merge-panel form { display: grid; gap: 15px; margin-top: 20px; }
.warning-text { padding: 12px 14px; background: #fff2cd; border: 1px solid #e4c26e; border-radius: 10px; }
.verification-warning { color: #8a5b00 !important; font-weight: 800; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 20px; }
.admin-lead { max-width: 760px; margin: -8px 0 0; color: var(--muted); }
.admin-primary-action { width: auto; flex: none; }
.article-admin-table { min-width: 1000px; }
.table-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.table-actions a { white-space: nowrap; font-size: .82rem; font-weight: 750; }
.language-ready {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  min-height: 26px;
  padding: 3px 6px;
  color: #215243;
  background: var(--jade-light);
  border-radius: 7px;
  font-size: .68rem;
  font-weight: 900;
}
.language-ready.is-missing { color: #8a8179; background: #eeeae4; }
.admin-pin-badge {
  width: fit-content;
  margin-top: 6px;
  padding: 3px 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6b4a00;
  background: #fff1bf;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 850;
}
.article-editor > .admin-title { align-items: flex-start; }
.article-form { display: grid; gap: 22px; }
.article-form-section {
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 4vw, 32px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 7px 24px rgba(0,0,0,.04);
}
.article-form-section legend {
  padding: 0 8px;
  color: var(--soy);
  font: 800 1.02rem/1.2 Georgia, "Noto Serif", serif;
}
.article-language-primary { border-top: 5px solid var(--jade); }
.article-language-primary legend span {
  margin-left: 6px;
  padding: 3px 7px;
  color: #215243;
  background: var(--jade-light);
  border-radius: 999px;
  font: 750 .68rem/1.2 Inter, sans-serif;
}
.article-form-section > .field + .field { margin-top: 18px; }
.article-body-editor { min-height: 320px !important; line-height: 1.7; }
.fieldset-note { margin: 0 0 20px; color: var(--muted); font-size: .85rem; }
.article-translation-panel {
  overflow: hidden;
  background: #e8e4dc;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.article-translation-panel > summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 850;
}
.article-translation-grid {
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.article-translation-grid > section {
  min-width: 0;
  padding: 22px;
  display: grid;
  gap: 16px;
  background: white;
  border-radius: 15px;
}
.article-translation-grid h2 { margin: 0; font: 1.45rem/1.15 Georgia, serif; }
.article-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.article-pin-zone {
  margin-top: 36px;
  padding: clamp(20px, 4vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  gap: 28px;
  align-items: start;
  background: #fffaf0;
  border: 1px solid rgba(156, 108, 0, .24);
  border-radius: 16px;
}
.article-pin-zone h2 { margin: 6px 0 8px; font-size: 1.35rem; }
.article-pin-zone p { margin: 0; color: var(--muted); }
.article-pin-form { display: grid; gap: 14px; }
.article-pin-toggle {
  min-height: 48px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 800;
}
.article-pin-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brick);
}
.article-pin-unavailable { display: grid; gap: 14px; justify-items: start; }
.article-delete-zone {
  margin-top: 36px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid #d6aaa4;
}
.article-delete-zone h2 { margin: 6px 0 8px; font-size: 1.35rem; }
.article-delete-zone p { margin: 0; color: var(--muted); }
.article-delete-form { display: grid; gap: 14px; }
.article-delete-form code {
  padding: 2px 5px;
  color: var(--danger);
  background: #fff1ef;
  border-radius: 4px;
}
.article-delete-form .danger-button { justify-self: start; }
.article-delete-unavailable { display: grid; gap: 14px; justify-items: start; }
.article-upload-divider {
  margin: 24px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 750;
}
.article-upload-divider::before,
.article-upload-divider::after {
  height: 1px;
  flex: 1;
  content: "";
  background: var(--line);
}
.article-file-field input[type="file"] {
  padding: 8px;
  color: var(--muted);
  background: #fcfaf5;
  border-style: dashed;
}
.article-file-field input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 7px 14px;
  color: white;
  background: var(--jade);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}
.article-cover-upload-preview {
  margin-top: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--jade-light);
  border-radius: 15px;
}
.article-current-cover {
  width: min(100%, 420px);
  display: grid;
  gap: 8px;
}
.article-current-cover img {
  width: 100%;
  max-height: 240px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.article-current-cover span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}
.article-cover-upload-preview[hidden] { display: none; }
.article-cover-upload-preview img {
  width: 112px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}
.article-cover-upload-preview div { min-width: 0; display: grid; gap: 3px; }
.article-cover-upload-preview strong { overflow-wrap: anywhere; }
.article-cover-upload-preview small { color: var(--muted); }
.article-upload-error {
  margin: 12px 0 0;
  padding: 12px 14px;
  color: #7b2424;
  background: #f9d7d7;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 750;
}
.article-upload-error[hidden] { display: none; }
.article-image-manager > legend span {
  margin-left: 6px;
  padding: 3px 7px;
  color: #215243;
  background: var(--jade-light);
  border-radius: 999px;
  font: 750 .68rem/1.2 Inter, sans-serif;
}
.article-upload-guidance {
  margin-bottom: 22px;
  padding: 16px 18px;
  display: grid;
  gap: 5px;
  color: #215243;
  background: var(--jade-light);
  border-left: 5px solid var(--jade);
  border-radius: 13px;
}
.article-upload-guidance span { color: #416d60; font-size: .84rem; }
.article-existing-images { margin-bottom: 26px; }
.article-existing-images > h2 {
  margin: 0 0 14px;
  font: 1.25rem/1.2 Georgia, serif;
}
.article-image-editor-card {
  min-width: 0;
  margin: 14px 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 18px;
  background: #fcfaf5;
  border: 1px solid var(--line);
  border-radius: 17px;
  transition: opacity .18s ease, border-color .18s ease;
}
.article-image-editor-card.is-marked-delete {
  opacity: .56;
  border-color: #d99191;
}
.article-image-editor-thumb {
  min-width: 0;
  position: relative;
}
.article-image-editor-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: #e9e4dd;
  border-radius: 12px;
}
.article-image-editor-thumb > span {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 4px 7px;
  color: white;
  background: rgba(33,29,25,.78);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 850;
}
.article-image-editor-fields { min-width: 0; display: grid; gap: 14px; }
.article-position-field { max-width: 160px; }
.article-delete-image {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--danger);
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}
.article-delete-image input { width: 18px; height: 18px; accent-color: var(--danger); }
.article-image-language-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.article-image-language-fields > section {
  min-width: 0;
  padding: 12px;
  display: grid;
  gap: 10px;
  background: white;
  border: 1px solid #eee7dd;
  border-radius: 12px;
}
.article-image-language-fields h3 { margin: 0; font: 1rem/1.2 Georgia, serif; }
.article-image-language-fields .field > span { font-size: .76rem; }
.article-image-language-fields input { min-height: 42px; font-size: .82rem; }
.article-new-images { margin-top: 16px; }
.article-new-image-card { border-top: 4px solid var(--brick); }
.article-new-image-meta {
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.article-new-image-meta strong { overflow-wrap: anywhere; }
.article-new-image-meta small { flex: none; color: var(--muted); }
.article-image-rights-confirmation {
  padding: 17px 19px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #5c4816;
  background: #fff3c9;
  border: 1px solid #ead58c;
  border-radius: 15px;
  font-weight: 800;
}
.article-image-rights-confirmation[hidden] { display: none; }
.article-image-rights-confirmation input {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--jade);
}
.preview-toolbar,
.article-workflow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 22px;
  background: white;
  border-radius: 18px;
}
.preview-toolbar h1 { margin: 0; font: clamp(2rem, 4vw, 3rem)/1.1 Georgia, serif; }
.preview-toolbar p:last-child { margin-bottom: 0; color: var(--muted); }
.preview-toolbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.preview-language-nav { display: flex; gap: 4px; }
.preview-language-nav a {
  min-width: 42px;
  padding: 8px 10px;
  color: var(--soy);
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.preview-language-nav a[aria-current="page"] { color: white; background: var(--soy); }
.article-workflow-card { border-left: 6px solid var(--amber); }
.article-workflow-card > div { display: grid; gap: 8px; }
.article-workflow-card > div > span { color: var(--muted); font-size: .76rem; font-weight: 750; }
.article-workflow-card form { display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.article-preview-surface {
  padding: clamp(25px, 5vw, 58px);
  margin-bottom: 24px;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.article-preview-surface .article-detail-header {
  max-width: 900px;
  margin-top: 0;
  margin-bottom: 46px;
}
.article-preview-surface .article-detail-header h1 {
  font-size: clamp(2.25rem, 4.6vw, 4.15rem);
}
.article-preview-surface .article-body { max-width: 760px; margin-top: 50px; }
.article-preview-surface .article-source-card { max-width: 430px; margin-top: 40px; }
.preview-missing-copy {
  margin-top: 30px;
  padding: 22px;
  color: var(--muted);
  background: #eeeae4;
  border-radius: 14px;
}

.flash-stack { position: fixed; right: 20px; top: 100px; z-index: 50; display: grid; gap: 8px; width: min(390px, calc(100% - 40px)); }
.flash { padding: 13px 16px; border-radius: 12px; box-shadow: var(--shadow); background: white; }
.flash.success { border-left: 5px solid var(--jade); }
.flash.error { border-left: 5px solid var(--danger); }
.site-footer {
  padding: 36px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: rgba(255, 253, 248, .72);
  border-top: 1px solid var(--line);
}
.footer-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(190px, .85fr) minmax(420px, 1.7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
}
.footer-brand,
.footer-locations,
.footer-connect {
  min-width: 0;
  display: grid;
  gap: 7px;
}
.footer-brand strong {
  color: var(--soy);
  font: 700 1.25rem/1.15 Georgia, "Noto Serif", serif;
  letter-spacing: .02em;
}
.footer-brand span {
  font-size: .82rem;
}
.footer-heading {
  color: var(--muted);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.footer-location-links,
.footer-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-location-links a,
.footer-privacy-link {
  color: var(--soy);
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
}
.footer-location-links a:hover,
.footer-privacy-link:hover {
  color: var(--brick);
  text-decoration: underline;
}
.footer-social-link {
  min-height: 42px;
  padding: 7px 12px 7px 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--soy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(40, 31, 24, .05);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.footer-social-link:hover {
  transform: translateY(-2px);
  border-color: var(--jade);
  box-shadow: 0 9px 20px rgba(40, 31, 24, .09);
}
.footer-social-mark {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: radial-gradient(circle at 31% 107%, #fdf497 0 5%, #fdf497 5%, #fd5949 43%, #d6249f 62%, #285aeb 91%);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.footer-social-mark img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-facebook .footer-social-mark {
  background: #0866ff;
  border-radius: 50%;
}
.footer-facebook .footer-social-mark img {
  width: 18px;
  height: 18px;
}
.footer-social-link:focus-visible,
.footer-location-links a:focus-visible,
.footer-privacy-link:focus-visible {
  outline: 3px solid rgba(63, 121, 104, .35);
  outline-offset: 3px;
}

@media (max-width: 940px) {
  .footer-inner {
    grid-template-columns: minmax(140px, .7fr) minmax(0, 1.3fr);
  }
  .footer-connect { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  html[lang^="zh"] .food-section .single-line-heading,
  html[lang^="zh"] .closing-cta .single-line-heading {
    max-width: none;
    white-space: nowrap;
  }
  .story-section,
  .food-section,
  .locations-section,
  .news-section { scroll-margin-top: 150px; }
  .site-header { flex-wrap: wrap; }
  .admin-page .site-header { grid-template-columns: 1fr; }
  .admin-page .admin-nav { justify-content: flex-start; }
  .public-navigation { width: 100%; justify-content: space-between; order: 2; }
  .site-nav { overflow-x: auto; padding-bottom: 3px; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; }
  .home-hero h1 { max-width: 10ch; }
  .home-hero-visual { min-height: 500px; }
  .story-section { grid-template-columns: 1fr; }
  .story-mark { width: 190px; font-size: 6.75rem; }
  .location-grid { grid-template-columns: 1fr; }
  .location-card { min-height: 330px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-carousel { --carousel-visible-items: 2; }
  .article-carousel .article-grid-home {
    grid-auto-columns: calc(50% - 10px);
  }
  .articles-hero { grid-template-columns: minmax(0, 1fr) 180px; }
  .article-detail-layout { grid-template-columns: 1fr; }
  .article-source-card { max-width: 520px; }
  .article-translation-grid { grid-template-columns: 1fr; }
  .article-image-language-fields { grid-template-columns: 1fr; }
  .article-pin-zone { grid-template-columns: 1fr; }
  .article-delete-zone { grid-template-columns: 1fr; }
  .preview-toolbar, .article-workflow-card { align-items: flex-start; flex-direction: column; }
  .article-workflow-card form { justify-content: flex-start; }
  .closing-cta { margin-inline: 20px; grid-template-columns: 80px minmax(0,1fr); }
  .closing-cta img { width: 80px; height: 80px; }
  .closing-cta .primary-button { grid-column: 1 / -1; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero h1 { max-width: 10ch; }
  .food-collage { min-height: 420px; }
  .form-grid, .admin-columns { grid-template-columns: 1fr; }
  .needs-grid { grid-template-columns: repeat(2, 1fr); }
  .compact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 590px) {
  html[lang^="zh"] .food-section .single-line-heading {
    font-size: 1.9rem;
  }
  html[lang^="zh"] .closing-cta {
    padding-inline: 18px;
  }
  html[lang^="zh"] .closing-cta .single-line-heading {
    font-size: 1.35rem;
  }
  .site-header { align-items: flex-start; gap: 10px; }
  .admin-page .site-header {
    padding: 10px 16px;
    align-items: center;
    gap: 8px;
  }
  .admin-page .brand img { width: 44px; height: 44px; }
  .admin-page .admin-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .admin-page .admin-nav a,
  .admin-page .admin-nav .link-button {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    padding: 6px 8px;
    font-size: .76rem;
    white-space: normal;
  }
  .admin-page .admin-nav form { width: 100%; }
  .public-navigation { display: block; }
  .site-nav {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    gap: 2px;
    padding-bottom: 0;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding-inline: 3px; font-size: .7rem; }
  .language-nav {
    position: absolute;
    top: 15px;
    right: clamp(20px, 5vw, 72px);
  }
  .language-nav summary { min-width: 58px; padding-inline: 10px; }
  .brand small { display: none; }
  .brand img { width: 48px; height: 48px; }
  .language-menu { min-width: 150px; }
  .food-collage { min-height: 340px; }
  .food-collage .food-main { width: 70%; }
  .home-hero { padding-top: 45px; }
  .home-hero h1 { font-size: clamp(3.4rem, 18vw, 5.2rem); }
  .home-hero-visual { min-height: 390px; }
  .hero-dish-main { width: 82%; }
  .hero-dish-small { width: 52%; }
  .hero-seal { width: 105px; height: 105px; }
  .news-section-head { align-items: flex-start; flex-direction: column; }
  .article-grid { grid-template-columns: 1fr; }
  .article-carousel { --carousel-visible-items: 1; }
  .article-carousel .article-grid-home { grid-auto-columns: 100%; }
  .article-carousel-controls { margin-top: 18px; }
  .articles-hero { min-height: auto; grid-template-columns: 1fr; }
  html[lang^="zh"] .articles-hero h1 {
    max-width: none;
    font-size: 2.45rem;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .articles-hero-mark { width: 130px; justify-self: start; font-size: 2.75rem; }
  .article-detail-header {
    margin-top: 28px;
    margin-bottom: 36px;
  }
  .article-detail-header h1 {
    max-width: none;
    margin-block: 18px 22px;
    font-size: clamp(2rem, 9.7vw, 3.15rem);
    line-height: 1.13;
    letter-spacing: -.024em;
  }
  .article-detail-header h1:lang(zh) {
    max-width: none;
    line-height: 1.18;
    letter-spacing: -.01em;
  }
  .article-detail-lead {
    font-size: 1rem;
    line-height: 1.72;
  }
  .article-detail-cover { aspect-ratio: 4 / 3; border-radius: 20px; }
  .article-booking-cta { margin-inline: 14px; align-items: flex-start; flex-direction: column; }
  .article-booking-cta .primary-button { width: 100%; }
  .article-form-section { padding-inline: 17px; }
  .article-translation-grid { padding-inline: 12px; }
  .article-translation-grid > section { padding-inline: 16px; }
  .article-image-editor-card { grid-template-columns: 1fr; }
  .article-image-editor-thumb { max-width: 100%; }
  .article-cover-upload-preview { align-items: flex-start; flex-direction: column; }
  .article-cover-upload-preview img { width: 100%; max-width: 260px; }
  .article-new-image-meta { align-items: flex-start; flex-direction: column; }
  .article-form-actions > * { width: 100%; }
  .preview-toolbar-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .preview-language-nav { width: 100%; }
  .preview-language-nav a { flex: 1; }
  .story-text, .dish-grid { grid-template-columns: 1fr; }
  .dish-card { grid-template-columns: 125px minmax(0,1fr); gap: 14px; }
  .location-card { padding: 23px; }
  .closing-cta { grid-template-columns: 1fr; text-align: center; }
  .closing-cta img { margin-inline: auto; }
  .closing-cta h2 { margin-inline: auto; }
  .booking-shell { margin-inline: 10px; padding: 25px 18px; border-radius: 22px; }
  .form-grid, .needs-grid, .store-strip { grid-template-columns: 1fr; }
  .booking-summary div { grid-template-columns: 1fr; gap: 3px; }
  .admin-shell { padding: 26px 16px 52px; }
  .admin-title, .booking-head, .email-preview header { align-items: flex-start; flex-direction: column; }
  .admin-title, .booking-head { gap: 12px; margin-bottom: 18px; }
  .admin-title h1, .booking-head h1 { font-size: 1.85rem; }
  .admin-lead { font-size: .9rem; }
  .admin-login-shell { padding: 16px; }
  .admin-login { padding: 24px 20px; }
  .customer-highlight { align-items: stretch; }
  .customer-highlight dl { justify-content: space-between; gap: 10px; }
  .filters { align-items: stretch; }
  .filters select, .filters input, .filters .secondary-button { width: 100%; }
  .site-footer { padding-block: 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-connect { grid-column: auto; }
  .footer-action-row { align-items: stretch; }
  .footer-social-link { min-height: 44px; }
  .footer-privacy-link { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 350px) {
  html[lang^="zh"] .closing-cta .single-line-heading {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .article-carousel-viewport { scroll-behavior: auto; }
  .home-page [data-warm-hero] .home-hero-copy > *,
  .home-page [data-warm-hero] .hero-dish-main,
  .home-page [data-warm-hero] .hero-dish-small,
  .home-page [data-warm-hero] .hero-seal {
    animation: none;
  }
  html.warm-motion-ready [data-warm-reveal] {
    opacity: 1;
    transform: none;
  }
  html.warm-motion-ready [data-warm-reveal="mark"] {
    transform: rotate(-4deg);
  }
  .article-card,
  .article-card-cover > img,
  .article-carousel-dot,
  .language-selector-chevron,
  .primary-button,
  .secondary-button,
  .dish-card,
  .dish-card img,
  .location-card,
  .closing-cta,
  .closing-cta img { transition: none; }
  .article-card:hover,
  .primary-button:hover,
  .secondary-button:hover,
  .dish-card:hover,
  .location-card:hover,
  .closing-cta:hover { transform: none; }
  .dish-card:hover img,
  .closing-cta:hover img { transform: none; }
}
