:root {
  --paper: #f5eee2;
  --paper-2: #ede2cf;
  --card: #fbf7f0;
  --ink: #33241a;
  --cocoa: #5e4029;
  --brick: #9a3b33;
  --muted: #85705d;
  --line: #ddcdb4;
  --yolk: #f0b232;
  --leaf: #5f7f43;
  --radius: 22px;
  --shadow: 0 1px 0 rgba(94, 64, 41, .08), 0 12px 30px -18px rgba(94, 64, 41, .45);
  --display: 'Gaegu', 'Comic Sans MS', cursive;
  --body: 'Figtree', 'Noto Sans SC', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  /* subtle paper grain */
  background-image:
    radial-gradient(rgba(94, 64, 41, .05) 1px, transparent 1px),
    radial-gradient(rgba(94, 64, 41, .035) 1px, transparent 1px);
  background-size: 22px 22px, 13px 13px;
  background-position: 0 0, 7px 9px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brick); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; color: var(--cocoa); }
.zh { font-family: 'Noto Sans SC', var(--body); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  /* logo.png (your original file, if you add it) sits on top; the SVG redraw shows when it's missing */
  background: url('logo.png') center / cover no-repeat, url('favicon.svg') center / 112% no-repeat;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--cocoa);
}
.brand-name { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--cocoa); letter-spacing: .5px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--brick); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--cocoa); color: #fff7ea; border: 2px solid var(--cocoa);
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 3px 0 #3d2918;
}
.btn:hover { transform: translateY(-1px); background: #6d4b31; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #3d2918; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--cocoa); box-shadow: none; }
.btn-ghost:hover { background: var(--paper-2); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--card); color: var(--cocoa); font-size: 22px; line-height: 1; cursor: pointer;
}
.icon-btn:hover { border-color: var(--cocoa); }
:focus-visible { outline: 3px solid var(--yolk); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(32px, 6vw, 80px) clamp(16px, 4vw, 48px) 24px;
  max-width: 1200px; margin: 0 auto;
}
.eyebrow { font-weight: 600; color: var(--brick); letter-spacing: .02em; margin: 0 0 14px; }
.hero h1 { font-size: clamp(56px, 9vw, 112px); letter-spacing: -1px; }
.scribble { position: relative; color: var(--brick); white-space: nowrap; }
.scribble::after {
  content: ''; position: absolute; left: 2%; right: 4%; bottom: -.06em; height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 60 4, 120 18, 180 9 S 270 6, 297 12' fill='none' stroke='%23f0b232' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  z-index: -1;
}
.lede { font-size: clamp(17px, 1.6vw, 19px); max-width: 32em; margin: 22px 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-facts li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--yolk); }
.hero-facts strong { font-family: var(--display); font-size: 24px; color: var(--cocoa); }
.hero-facts span { font-size: 14px; color: var(--muted); }

.hero-art { position: relative; }
.bowl-wrap { position: relative; width: min(100%, 470px); margin: 0 auto; aspect-ratio: 1; }
#bowlArt { width: 100%; height: 100%; animation: spin-in 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes spin-in { from { transform: rotate(-30deg) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.sticker {
  position: absolute; font-family: var(--display); font-weight: 700; font-size: 22px;
  padding: 6px 14px; border-radius: 12px; background: var(--card); color: var(--brick);
  box-shadow: var(--shadow); border: 1.5px dashed var(--line);
}
.sticker-a { top: 6%; left: -2%; transform: rotate(-7deg); }
.sticker-b { bottom: 8%; right: -1%; transform: rotate(6deg); color: var(--cocoa); }

/* ---------- next pickups strip ---------- */
.next {
  max-width: 1200px; margin: 18px auto 0; padding: 0 clamp(16px, 4vw, 48px);
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.next-title { font-size: 26px; color: var(--brick); }
.next-list { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; flex-wrap: wrap; }
.next-list li {
  display: flex; gap: 10px; align-items: baseline;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.next-list .d { font-weight: 700; color: var(--cocoa); font-size: 14px; }
.next-list .loc { font-family: var(--display); font-size: 21px; font-weight: 700; }
.next-list .tag { font-size: 12px; color: var(--leaf); font-weight: 600; }

/* ---------- sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px) 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 640px; }
.section-head h2 { font-size: clamp(48px, 6vw, 72px); color: var(--brick); }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }

/* menu */
.bowls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bowl-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px; display: grid; gap: 14px; box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.bowl-card:hover { transform: translateY(-3px) rotate(-.3deg); }
.bowl-card .thumb { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; }
.bowl-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.bowl-card .thumb svg { width: 70%; }
.bowl-card h3 { font-size: 30px; }
.bowl-card .price { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--brick); }
.bowl-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--cocoa); }
.bowl-card .btn { justify-self: start; }

.menu-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.paper-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.paper-card h3 { font-size: 34px; color: var(--brick); }
.paper-card h3 em { font-style: normal; color: var(--cocoa); font-weight: 400; font-size: .8em; margin-left: 6px; }
.price-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 4px; }
.price-list li { display: flex; align-items: baseline; gap: 8px; font-size: 17px; }
.price-list li .name { font-weight: 500; }
.price-list li .desc { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.price-list li::after { content: none; }
.price-list li .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-5px); min-width: 20px; }
.price-list li .p { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--cocoa); }
.combo {
  margin-top: 22px; padding: 18px 20px; border-radius: 16px;
  background: var(--cocoa); color: #fff4e2; display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap;
}
.combo h4 { margin: 0; font-family: var(--display); font-size: 28px; color: #fff4e2; }
.combo p { margin: 2px 0 0; font-size: 14px; opacity: .85; }
.combo .p { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--yolk); }

/* reviews */
.reviews { columns: 3 280px; column-gap: 18px; }
.review {
  break-inside: avoid; margin: 0 0 18px; padding: 20px 22px; border-radius: 20px 20px 20px 6px;
  background: var(--card); border: 1.5px solid var(--line); box-shadow: var(--shadow);
}
.review blockquote { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.review blockquote[lang="zh"] { font-family: 'Noto Sans SC', var(--body); }
.review.big blockquote { font-family: var(--display); font-size: 25px; line-height: 1.2; color: var(--cocoa); }
.review figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.review:nth-child(3n+2) { background: #fff; }
.review:nth-child(4n) { border-radius: 20px 20px 6px 20px; }

/* loyalty */
.journey {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 56px); align-items: center;
  background: var(--cocoa); color: #fff4e2; border-radius: 28px; padding: clamp(26px, 5vw, 54px); box-shadow: var(--shadow);
}
.journey h2 { color: #fff4e2; font-size: clamp(46px, 6vw, 70px); margin-bottom: 12px; }
.journey .eyebrow { color: var(--yolk); }
.journey p { font-size: 17px; margin: 0 0 16px; }
.how { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: #efe1cb; }
.how b { color: #fff4e2; }
.seal-card {
  aspect-ratio: 1.45; border-radius: 18px; background: #e9e4d6; color: #7d7a63; padding: 18px 22px; position: relative;
  display: grid; grid-template-rows: auto 1fr auto; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .55); transform: rotate(-3deg);
  background-image: radial-gradient(rgba(125, 122, 99, .08) 1px, transparent 1px); background-size: 9px 9px;
}
.sc-title { font-family: var(--display); font-size: 24px; }
.sc-foot { font-family: var(--display); font-size: 22px; justify-self: end; opacity: .6; }
.sc-seals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; align-content: center; justify-items: center; }
.sc {
  width: min(72px, 18vw); aspect-ratio: 1; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%;
  background: #c8c9ad; display: grid; place-items: center; text-align: center; font: 700 12px/1.05 var(--display); color: #f6f3e8;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .22), 0 2px 0 rgba(0, 0, 0, .08);
}
.sc.on { background: #8e9c72; }
.sc.prize { background: #b5bb93; font-size: 15px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--cocoa); }

/* calendar */
.cal-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head h3 { font-size: 36px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 4px; }
.cal-day {
  min-height: 86px; border-radius: 12px; padding: 7px 8px; background: var(--paper);
  border: 1.5px solid transparent; display: flex; flex-direction: column; gap: 4px;
}
.cal-day .n { font-size: 13px; font-weight: 600; color: var(--muted); }
.cal-day.blank { background: transparent; }
.cal-day.has { background: #fff; border-color: var(--line); }
.cal-day.has .loc { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.05; color: var(--cocoa); }
.cal-day.today { border-color: var(--brick); }
.cal-day.past { opacity: .45; }
.cal-day.orderable { background: #fff; border-color: var(--yolk); box-shadow: inset 0 -4px 0 var(--yolk); cursor: pointer; }
.cal-day.orderable:hover { background: #fff9eb; }
.cal-foot { margin: 14px 0 0; }

/* order */
.order { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.order-main { display: grid; gap: 18px; }
.step { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 20px 22px 22px; margin: 0; min-width: 0; }
.step legend { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--cocoa); padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brick); color: #fff; font-size: 20px; }
.day-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.day-pill {
  display: grid; gap: 0; text-align: left; padding: 9px 14px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--ink);
}
.day-pill .d { font-size: 13px; color: var(--muted); font-weight: 600; }
.day-pill .loc { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--cocoa); }
.day-pill[aria-checked="true"] { border-color: var(--cocoa); background: var(--cocoa); }
.day-pill[aria-checked="true"] .d, .day-pill[aria-checked="true"] .loc { color: #fff4e2; }

.adders { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.adder {
  border: 1.5px dashed var(--cocoa); background: transparent; color: var(--cocoa);
  border-radius: 999px; padding: 8px 14px; font: 600 14px var(--body); cursor: pointer;
}
.adder:hover { background: var(--paper-2); border-style: solid; }
.adder span { color: var(--brick); margin-left: 4px; }
.lines { display: grid; gap: 12px; }
.line { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; background: #fff; display: grid; gap: 10px; }
.line-top { display: flex; align-items: center; gap: 12px; }
.line-name { font-weight: 700; flex: 1; }
.line-price { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--brick); min-width: 80px; text-align: right; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 32px; height: 32px; border: 0; background: var(--paper); font-size: 18px; cursor: pointer; color: var(--cocoa); }
.stepper button:hover { background: var(--paper-2); }
.stepper output { min-width: 30px; text-align: center; font-weight: 700; }
.line-sub { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.line-sub .lbl { font-size: 13px; color: var(--muted); margin-right: 4px; }
.toggle {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 4px 10px; font: 500 13px var(--body); color: var(--ink); cursor: pointer;
}
.toggle[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.line select { font: inherit; padding: 6px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; padding: 4px; }
.remove:hover { color: var(--brick); }
.empty-lines { margin: 0; }

label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--cocoa); margin-top: 12px; }
input, textarea {
  font: 400 16px var(--body); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%;
}
input:focus, textarea:focus { border-color: var(--cocoa); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--yolk) 45%, transparent); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary {
  position: sticky; top: 90px; background: var(--cocoa); color: #fff4e2; border-radius: var(--radius); padding: 22px;
  display: grid; gap: 12px; box-shadow: var(--shadow);
}
.summary h3 { color: #fff4e2; font-size: 34px; }
.summary-day { margin: 0; font-weight: 600; color: var(--yolk); }
.summary-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 10px; }
.summary-lines li small { display: block; opacity: .75; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px dashed rgba(255, 244, 226, .35); padding-top: 12px; }
.summary-total strong { font-family: var(--display); font-size: 40px; color: var(--yolk); }
.summary .btn { background: var(--yolk); color: var(--ink); border-color: var(--yolk); box-shadow: 0 3px 0 #b07f1b; }
.summary .btn:hover { background: #f6c04f; }
.summary .small { margin: 0; color: #e8d9c4; }
.form-error { margin: 0; color: #ffd0c9; font-weight: 600; min-height: 1em; }

/* about */
.about-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 48px); max-width: 820px;
}
.about-card { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; }
.about-card > *:not(.about-logo) { grid-column: 2; }
.about-logo {
  grid-row: 1 / span 4; width: 132px; height: 132px; border-radius: 28px; box-shadow: var(--shadow);
  background: url('logo.png') center / cover no-repeat, url('favicon.svg') center / cover no-repeat;
  transform: rotate(-4deg);
}
@media (max-width: 720px) {
  .about-card { grid-template-columns: 1fr; }
  .about-card > *:not(.about-logo) { grid-column: 1; }
  .about-logo { grid-row: auto; width: 96px; height: 96px; margin-bottom: 14px; }
}
.about-card h2 { font-size: clamp(40px, 5vw, 60px); color: var(--brick); margin-bottom: 14px; }
.about-card p { font-size: 17px; max-width: 40em; }

.foot {
  max-width: 1200px; margin: 80px auto 0; padding: 26px clamp(16px, 4vw, 48px) 40px;
  display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; border-top: 1.5px dashed var(--line); color: var(--muted); font-size: 14px;
}
.foot a { margin-left: auto; }

dialog.done {
  border: 0; border-radius: var(--radius); padding: 28px; max-width: 420px; width: calc(100% - 32px);
  background: var(--card); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
}
dialog.done::backdrop { background: rgba(51, 36, 26, .45); }
dialog.done h3 { font-size: 38px; color: var(--brick); margin-bottom: 8px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .bowls { grid-template-columns: 1fr 1fr; }
  .order { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-art { order: -1; }
  .bowl-wrap { width: min(100%, 320px); }
  .bowls, .menu-split, .grid-2, .journey { grid-template-columns: 1fr; }
  .review.big blockquote { font-size: 22px; }
  .cal-grid { gap: 3px; }
  .cal-day { min-height: 64px; padding: 4px; border-radius: 8px; }
  .cal-day.has .loc { font-size: 13px; }
  .cal-day .n { font-size: 11px; }
  .sticker { font-size: 17px; }
  .line-top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
