:root {
  --ink: #10191f;
  --paper: #fffdf8;
  --sand: #fff5df;
  --green: #20c779;
  --green-dark: #08704b;
  --sea: #0a75b8;
  --coral: #ff5d45;
  --yellow: #ffc91a;
  --pink: #f55ca6;
  --cyan: #10dce4;
  --line: 3px solid var(--ink);
  --radius: 22px;
  --shadow: 7px 7px 0 var(--ink);
  --font: "DM Sans", "Noto Sans TC", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.65;
}

button, input, select { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--paper);
  border: var(--line);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 4px 12px;
  border-bottom: 1px solid #2ac173;
  background: #2ac173;
  color: white;
}

.wordmark {
  display: flex;
  flex: none;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 4px 6px 0;
  text-decoration: none;
}
.site-logo { display: block; width: 92px; height: 32px; object-fit: contain; }
.wordmark-kicker {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 28px;
  border: 1.5px solid rgb(255 255 255 / 94%);
  border-radius: 58% 44% 60% 46%;
  background: rgb(7 112 75 / 34%);
  color: white;
  font: 800 10px/1 Arial, sans-serif;
  transform: rotate(-2deg);
}
.header-actions { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 20px); }
.site-nav { display: flex; align-items: center; gap: clamp(5px, .8vw, 12px); }
.site-nav a, .mobile-menu__panel nav a {
  padding: 8px 9px;
  border-radius: 6px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .16s;
}
.site-nav a:hover, .site-nav a:focus-visible,
.mobile-menu__panel nav a:hover, .mobile-menu__panel nav a:focus-visible { background: rgb(255 255 255 / 16%); outline: none; }
.site-header .zh, .site-header .en { color: inherit; }

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 3px 4px 3px 9px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 6px;
  background: rgb(255 255 255 / 10%);
  color: white;
  font-size: 12px;
  font-weight: 750;
}
.language-switcher > span { white-space: nowrap; }
.language-switcher select {
  max-width: 118px;
  padding: 6px 24px 6px 9px;
  border: 0;
  border-radius: 4px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}
.language-switcher:focus-within { outline: 3px solid var(--yellow); outline-offset: 2px; }

.mobile-menu { display: none; position: relative; }
.mobile-menu > summary {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
}
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu > summary:hover, .mobile-menu > summary:focus-visible, .mobile-menu[open] > summary { background: rgb(255 255 255 / 16%); outline: none; }
.mobile-menu__icon { display: grid; gap: 5px; width: 24px; }
.mobile-menu__icon i { display: block; height: 2px; border-radius: 2px; background: white; transition: transform .16s, opacity .16s; }
.mobile-menu[open] .mobile-menu__icon i:first-child { transform: translateY(7px) rotate(45deg); }
.mobile-menu[open] .mobile-menu__icon i:nth-child(2) { opacity: 0; }
.mobile-menu[open] .mobile-menu__icon i:last-child { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu__panel {
  position: absolute;
  top: 48px;
  right: -12px;
  width: min(340px, 100vw);
  padding: 14px 16px 18px;
  border-top: 1px solid rgb(255 255 255 / 25%);
  background: #2ac173;
  box-shadow: 0 18px 28px rgb(3 70 49 / 24%);
}
.mobile-menu__panel nav { display: grid; margin-bottom: 12px; }
.mobile-menu__panel nav a { padding: 11px 10px; font-size: 15px; }

.zh, .en { display: block; }
.en { color: color-mix(in srgb, currentColor 75%, transparent); }
body[data-language="zh"] .en { display: none !important; }
body[data-language="en"] .zh { display: none !important; }
.site-nav .zh, .site-nav .en, .mobile-menu__panel .zh, .mobile-menu__panel .en,
.button .zh, .button .en, .tag .zh, .tag .en,
.download-label .zh, .download-label .en, footer nav .zh, footer nav .en,
.language-inline .zh, .language-inline .en { display: inline; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  min-height: 660px;
  padding: clamp(70px, 9vw, 120px) clamp(22px, 7vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, var(--yellow) 0 14px, transparent 15px),
    radial-gradient(circle at 92% 70%, var(--pink) 0 17px, transparent 18px),
    linear-gradient(135deg, var(--paper) 0 66%, #d8fff0 66%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 46%;
  bottom: 50px;
  width: 94px;
  height: 20px;
  border: solid var(--coral);
  border-width: 5px 0;
  transform: rotate(-12deg);
}

.hero-copy { min-width: 0; }

.eyebrow, .kicker {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(54px, 8vw, 106px);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .95;
}
h1 .en { margin-top: 18px; font-size: .48em; letter-spacing: -.045em; }
.hero-lead { margin: 32px 0; font-size: clamp(18px, 2vw, 25px); font-weight: 700; }
.hero-lead .en { font-size: .83em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 12px 20px;
  border: var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.button-primary { background: var(--coral); }
.button-secondary { background: var(--yellow); }
.button:hover, .button:focus-visible { box-shadow: 1px 1px 0 var(--ink); transform: translate(3px, 3px); }

.hero-board {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 4vw, 38px);
  border: var(--line);
  border-radius: 36px;
  background: var(--cyan);
  box-shadow: 13px 13px 0 var(--ink);
  transform: rotate(1.5deg);
}
.hero-board::before {
  content: "OPEN!";
  position: absolute;
  top: -28px;
  right: 30px;
  padding: 5px 14px;
  border: var(--line);
  background: var(--pink);
  font-size: 16px;
  font-weight: 900;
  transform: rotate(5deg);
}
.date-card { display: flex; align-items: center; gap: 20px; font-size: 22px; line-height: 1.25; }
.date-number { font-size: clamp(92px, 13vw, 150px); font-weight: 900; line-height: .8; letter-spacing: -.08em; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0 20px; }
.hero-stats div { padding: 13px; border: 2px solid var(--ink); border-radius: 16px; background: var(--paper); }
.hero-stats b { display: block; font-size: 37px; line-height: 1; }
.hero-stats span { font-size: 13px; font-weight: 700; }
.tag-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-strip > span, .tag {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.section { padding: clamp(72px, 8vw, 116px) clamp(22px, 7vw, 110px); }
.section-sand { background: var(--sand); border-block: var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(280px, 1.15fr);
  align-items: end;
  gap: clamp(28px, 8vw, 120px);
  max-width: 1320px;
  margin: 0 auto 42px;
}
.section-heading h2, .thanks-title h2 { margin: 0; font-size: clamp(44px, 6vw, 78px); line-height: 1; letter-spacing: -.055em; }
.section-heading h2 .en, .thanks-title h2 .en { margin-top: 10px; font-size: .55em; }
.section-heading > p { margin: 0; font-size: 17px; font-weight: 600; }
.section-heading > p .en { margin-top: 7px; font-size: .88em; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  max-width: 1320px;
  margin: 0 auto;
}
.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}
.store-card:nth-child(3n+1) { border-top-color: var(--green); }
.store-card:nth-child(3n+2) { border-top-color: var(--sea); }
.store-card:nth-child(3n) { border-top-color: var(--coral); }
.store-card h3 { margin: 0 0 12px; font-size: 25px; line-height: 1.15; }
.store-card h3 .en { margin-top: 5px; font-size: .64em; }
.store-card .hours { margin: auto 0 14px; }
.store-card .hours strong { font-size: 13px; text-transform: uppercase; }
.store-card .hours span { line-height: 1.35; }
.store-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 13px; }
.store-meta a { font-weight: 800; }
.store-card .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag-veg { background: #d8fff0; }
.tag-muslim { background: #dff3ff; }
.tag-special { background: #fff0b8; }

.menu-section { background: var(--paper); }
.filter-panel {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto 24px;
  padding: 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--green);
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 900; }
.field > span:first-child { display: flex; gap: 5px; }
.field > span:first-child .zh, .field > span:first-child .en { display: inline; }
input[type="search"], select {
  width: 100%;
  min-height: 48px;
  padding: 9px 12px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}
.range-value { font-size: 18px; }
input[type="range"] { width: 100%; accent-color: var(--ink); }
.dietary-field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; }
.dietary-field legend { margin-bottom: 4px; font-size: 13px; font-weight: 900; }
.dietary-field label { padding: 5px 9px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); font-size: 13px; font-weight: 800; cursor: pointer; }
.result-bar { display: flex; justify-content: space-between; max-width: 1320px; margin: 40px auto 16px; border-bottom: 2px solid var(--ink); }
.result-bar p { margin: 0 0 8px; font-weight: 900; }
.text-button { border: 0; background: transparent; cursor: pointer; font-weight: 800; text-decoration: underline; }
.text-button .zh, .text-button .en { display: inline; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  max-width: 1320px;
  margin: 0 auto;
}
.menu-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  min-height: 170px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: white;
}
.menu-card:hover { background: #f4fff9; box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.menu-card h3 { margin: 5px 0 8px; font-size: 20px; line-height: 1.25; }
.menu-card h3 .en { margin-top: 4px; font-size: .72em; }
.menu-store { margin: 0; color: var(--green-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.menu-category { margin: 0; font-size: 12px; }
.menu-card .tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.price-box { align-self: start; min-width: 126px; padding: 10px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); text-align: center; }
.price-box .regular-price { display: block; font-size: 24px; line-height: 1.05; letter-spacing: -.03em; }
.price-box .member-price, .price-box .single-price-label { display: block; margin-top: 7px; color: #5c6266; font-size: 10px; font-weight: 800; line-height: 1.3; }
.price-box .member-price .zh, .price-box .member-price .en,
.price-box .single-price-label .zh, .price-box .single-price-label .en { display: block; color: inherit; }
.show-more { margin: 34px auto 0; }
.show-more:not([hidden]) { display: flex; }
.empty-state { grid-column: 1 / -1; padding: 60px 20px; border: 2px dashed var(--ink); border-radius: var(--radius); text-align: center; }

.notice {
  display: flex;
  gap: 16px;
  max-width: 920px;
  margin: 44px auto 0;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: #fff5c9;
}
.notice-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 2px solid var(--ink); border-radius: 50%; background: var(--coral); font-weight: 900; }
.notice p { margin: 0; }
.notice strong { display: block; }
.notice .en { margin-top: 5px; }

.open-data-section { border-block: var(--line); background: var(--sea); color: white; }
.open-data-section .kicker { color: var(--yellow); }
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1320px; margin: 0 auto; color: var(--ink); }
.data-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 24px;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--ink);
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.data-card:hover, .data-card:focus-visible { box-shadow: 2px 2px 0 var(--ink); transform: translate(5px, 5px); }
.data-card.coral { background: var(--coral); }
.data-card.sea { background: var(--cyan); }
.data-card.yellow { background: var(--yellow); }
.data-card.green { background: var(--green); }
.file-type { align-self: start; padding: 3px 9px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 900; }
.data-card h3 { margin: 24px 0 8px; font-size: 24px; line-height: 1.15; }
.data-card h3 .en { margin-top: 5px; font-size: .7em; }
.data-card p { margin: 0; font-size: 14px; }
.download-label { margin-top: auto; padding-top: 20px; font-weight: 900; }
.data-meta { max-width: 1320px; margin: 32px auto 0; font-size: 13px; }

.thanks-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(35px, 7vw, 100px); background: var(--sand); }
.thanks-title { align-self: start; position: sticky; top: 110px; }
.thanks-title > a { display: inline-block; margin-top: 24px; font-weight: 900; }
.sponsor-card { overflow: hidden; border: var(--line); border-radius: 30px; background: var(--paper); box-shadow: 10px 10px 0 var(--green); }
.sponsor-card header { padding: 35px; border-bottom: var(--line); background: var(--yellow); }
.sponsor-badge { display: inline-block; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--pink); font-size: 12px; font-weight: 900; }
.sponsor-card h3 { margin: 17px 0 5px; font-size: clamp(32px, 4vw, 54px); line-height: 1.05; letter-spacing: -.04em; }
.sponsor-card h3 span { font-size: .66em; }
.sponsor-card header p { margin: 0; font-weight: 700; }
.sponsor-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 35px; }
.sponsor-copy p:first-child { margin-top: 0; }
.sponsor-link { display: block; padding: 18px 35px; border-top: 2px solid var(--ink); background: #d8fff0; font-weight: 900; text-decoration: none; }
.sponsor-link .zh, .sponsor-link .en { display: inline; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 36px clamp(22px, 7vw, 110px);
  border-top: var(--line);
  background: var(--ink);
  color: white;
}
footer p { margin: 0; }
footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

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

@media (max-width: 1060px) {
  .site-nav, .language-switcher--desktop { display: none; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr 400px; gap: 40px; }
  .store-grid, .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-panel { grid-template-columns: repeat(2, 1fr); }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .site-header { min-height: 56px; padding: 4px 10px; gap: 10px; }
  .site-logo { width: 92px; height: 32px; }
  .wordmark-kicker { min-width: 46px; height: 28px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 65px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(46px, 13vw, 60px); overflow-wrap: anywhere; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button { width: 100%; }
  .hero-board { width: 100%; max-width: 100%; transform: none; }
  .hero::after { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .store-grid, .menu-grid, .data-grid { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: 1fr; }
  .menu-card { grid-template-columns: 1fr auto; }
  .thanks-section { grid-template-columns: 1fr; }
  .thanks-title { position: static; }
  .sponsor-copy { grid-template-columns: 1fr; padding: 24px; }
  footer { flex-direction: column; }
}

@media (max-width: 480px) {
  .site-header { min-height: 52px; gap: 4px; padding: 4px 7px; }
  .site-logo { width: 88px; height: 28px; }
  .wordmark-kicker { min-width: 42px; height: 26px; font-size: 9px; }
  .mobile-menu__panel { right: -7px; }
}

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