/* Mdm Wee Food Cafe: signboard palette (mustard yellow + brick red). Mobile first.
   --green/--green-2 are the brand-primary slots (now red); kept the names so rules stay stable. */
:root {
  --paper: #fff6dc;
  --paper-2: #fbe8ac;
  --card: #fffbef;
  --ink: #3a2216;
  --muted: #6e5444;
  --line: #ecd38f;
  --green: #a8282c;
  --green-2: #8a1d22;
  --red: #c4302b;
  --red-soft: #fbd9d0;
  --gold: #f3c443;
  --gold-deep: #e2a72e;
  --ok: #2f8a4f;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(29, 42, 36, .04), 0 10px 30px -12px rgba(29, 42, 36, .25);
  --f-display: 'Fraunces', 'Noto Serif SC', Georgia, serif;
  --f-body: 'DM Sans', 'Noto Sans SC', system-ui, sans-serif;
  color-scheme: light;
}
:lang(zh-Hans) { --f-display: 'Noto Sans SC', 'Fraunces', sans-serif; --f-body: 'Noto Sans SC', 'DM Sans', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--green); color: #fff; box-shadow: 0 3px 0 var(--gold); }
.topbar-inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-word { height: 50px; width: auto; }
.brand-text { font: 700 18px/1 'Fraunces', serif; letter-spacing: .01em; color: var(--gold); }
.brand-text small { display: block; font: 500 11px/1.4 'DM Sans', sans-serif; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }
.nav { display: none; gap: 22px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; opacity: .9; }
.nav a:hover { opacity: 1; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.lang { display: flex; background: rgba(0,0,0,.18); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: #fff; font: 600 13px/1 var(--f-body);
  padding: 8px 12px; border-radius: 999px; cursor: pointer; min-height: 34px;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--green-2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 36px 0 0; overflow: hidden;
  background:
    radial-gradient(900px 420px at 95% -10%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(160deg, var(--gold), var(--gold-deep)); }
.hero .eyebrow { color: var(--green-2); }
.hero .lede { color: #4a2a17; }
.hero .btn-ghost { background: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.6); }
.hero-grid { display: grid; gap: 28px; padding-bottom: 40px; }
.eyebrow { margin: 0 0 10px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
:lang(zh-Hans) .eyebrow { letter-spacing: .06em; }
.display { font: 800 clamp(34px, 9vw, 60px)/1.05 var(--f-display); letter-spacing: -.01em; color: var(--green); }
:lang(zh-Hans) .display { font-weight: 900; line-height: 1.2; letter-spacing: .02em; }
.lede { font-size: 17px; color: var(--muted); max-width: 34em; margin: 16px 0 24px; }
.cta-row, .visit-links { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--green);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); border-color: var(--green-2); }
.btn-ghost { color: var(--green); background: transparent; }
.btn-ghost:hover { background: rgba(30,74,59,.08); }

.status-card {
  background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
  border: 1px solid var(--line); align-self: start;
}
.status-head { display: flex; align-items: center; gap: 10px; font-size: 20px; font-family: var(--f-display); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; }
.status-card[data-state="open"] .dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(47,138,79,.5); animation: pulse 2s infinite; }
.status-card[data-state="closed"] .dot { background: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47,138,79,0); } 100% { box-shadow: 0 0 0 0 rgba(47,138,79,0); } }
.status-detail { margin: 6px 0 0; color: var(--muted); }
.status-note { margin: 10px 0 0; padding: 8px 12px; background: var(--red-soft); border-radius: 10px; color: #7a2219; font-weight: 500; }
.status-sessions { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.status-sessions li { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.status-sessions li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Hero v2: warm greeting ---------- */
.hero--v2 {
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(255,255,255,.45), transparent 70%),
    radial-gradient(700px 380px at 100% 100%, rgba(226,167,46,.55), transparent 70%),
    var(--gold);
}
.greet {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px 6px 8px;
  background: var(--card); color: var(--green); border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: 0 6px 16px -10px rgba(58,34,22,.5);
}
.greet-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.greet-icon svg { width: 16px; height: 16px; fill: var(--green); }
.hello { margin: 0; display: grid; gap: 2px; }
.hello-ms { font: 800 clamp(40px, 11vw, 72px)/1 'Fraunces', serif; color: var(--green); letter-spacing: -.01em; }
.hello-zh { font: 400 clamp(40px, 11vw, 70px)/1.15 'Ma Shan Zheng', 'Noto Serif SC', serif; color: var(--green-2); transform: rotate(-2deg); transform-origin: left; }
.hero--v2 .lede { color: #4a2a17; margin-top: 14px; }
.chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 700; color: var(--green-2); background: rgba(255,255,255,.45); border: 1px dashed rgba(168,40,44,.45); padding: 5px 12px; border-radius: 999px; }

.scene { position: relative; margin: 0; max-width: 460px; width: 100%; justify-self: center; }
.scene-art { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 24px rgba(124,26,31,.18)); }
.steam path { animation: rise 3.2s ease-in-out infinite; opacity: 0; }
.steam .s2 { animation-delay: 1s; }
.steam .s3 { animation-delay: 2s; }
@keyframes rise { 0% { transform: translateY(8px); opacity: 0; } 35% { opacity: .9; } 100% { transform: translateY(-16px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .steam path { animation: none; opacity: .7; } }
.slip {
  position: absolute; right: 2%; top: -4%; width: 44%; min-width: 150px; padding: 10px 12px 8px;
  background: #fffdf6; color: #2c2a6b; transform: rotate(5deg);
  font: 700 17px/1.25 'Caveat', 'Ma Shan Zheng', cursive;
  box-shadow: 0 10px 18px -10px rgba(0,0,0,.45);
  background-image: repeating-linear-gradient(transparent 0 22px, rgba(44,42,107,.12) 22px 23px);
  border-top: 6px solid var(--green);
}
.slip p { margin: 0; }
.slip-title { font-size: 20px; color: var(--green); }
.slip-row, .slip-total { display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; }
:lang(zh-Hans) .slip { font-size: 15px; }
.slip-total { border-top: 1.5px solid #2c2a6b; margin-top: 4px !important; padding-top: 2px; font-size: 19px; }

/* ---------- Hero v3: Malaysian local Chinese kopitiam ---------- */
/* Cream wall tiles, a red trim line, yellow tiles below; trilingual signboard; order calls; Chinese wall calendar. */
.hero--v3 {
  background-color: #fbf3df;
  background-image:
    linear-gradient(to bottom, transparent calc(100% - 150px), var(--green) calc(100% - 150px) calc(100% - 142px), var(--gold) calc(100% - 142px)),
    linear-gradient(rgba(150, 120, 70, .16) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(150, 120, 70, .16) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 46px 46px, 46px 46px;
}
.hero--v3 .lede { color: #4a2a17; margin: 22px 0 16px; }
.hero-copy { min-width: 0; }

.signboard {
  position: relative; text-align: center; background: #fffdf6; border: 6px solid var(--green); border-radius: 10px;
  padding: 18px 18px 0; box-shadow: 0 14px 26px -14px rgba(58, 34, 22, .55); overflow: visible;
}
.sb-logo { width: min(290px, 78%); height: auto; margin: 0 auto 6px; }
.sb-title { margin: 0; display: grid; gap: 6px; }
.sb-zh { font: 900 clamp(28px, 8.6vw, 58px)/1.1 'Noto Sans SC', sans-serif; color: var(--green); letter-spacing: .08em; }
.sb-en { font: 700 clamp(16px, 4.4vw, 22px)/1.2 'Fraunces', serif; color: var(--green-2); font-style: italic; }
.sb-bm { margin: 10px 0 0; font: 600 13px/1.3 'DM Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #7c4a1e; }
.sb-tel {
  margin: 14px -18px 0; padding: 9px 8px; background: var(--green); color: var(--gold);
  font: 800 16px/1 'DM Sans', sans-serif; letter-spacing: .22em; border-radius: 0 0 3px 3px;
}
.towel { /* the classic "Good Morning" kopitiam towel draped on the sign */
  position: absolute; top: -20px; right: 8px; width: 88px; height: 64px; transform: rotate(9deg);
  display: grid; place-items: center; text-align: center; color: var(--red);
  font: 700 italic 12px/1.05 'Fraunces', serif;
  background:
    linear-gradient(to bottom, #2f63b8 0 5px, transparent 5px 9px, #2f63b8 9px 12px, transparent 12px calc(100% - 12px), #2f63b8 calc(100% - 12px) calc(100% - 9px), transparent calc(100% - 9px) calc(100% - 5px), #2f63b8 calc(100% - 5px)),
    repeating-linear-gradient(90deg, #fff 0 2px, #f3f0ea 2px 4px);
  box-shadow: 0 6px 10px -6px rgba(0, 0, 0, .45);
}

.calls {
  overflow: hidden; margin: 0 0 22px; padding: 6px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.calls-track { display: flex; gap: 10px; width: max-content; animation: calls 45s linear infinite; }
.calls span {
  flex: none; background: #fff; border: 1px solid #e6d8b8; padding: 4px 12px 2px; border-radius: 3px;
  font: 700 19px/1.3 'Caveat', 'Ma Shan Zheng', cursive; color: #2c2a6b; box-shadow: 0 2px 0 rgba(0, 0, 0, .06);
}
.calls span:nth-child(odd) { transform: rotate(-1.5deg); }
.calls span:nth-child(even) { transform: rotate(1.2deg); }
@keyframes calls { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .calls-track { animation: none; flex-wrap: wrap; width: auto; }
  .calls span:nth-child(n + 9) { display: none; }
}

.retro-cal {
  position: relative; margin: 24px auto 62px; width: min(290px, 84%); background: #fff; color: #1e1a17; text-align: center;
  transform: rotate(-1.5deg);
  box-shadow: 0 3px 0 #f1ede6, 0 6px 0 #e6e0d6, 0 20px 26px -12px rgba(0, 0, 0, .4);
}
.rc-nail { position: absolute; top: -8px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #eee, #777); }
.rc-head { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; background: var(--red); color: #fff; font: 700 14px/1.2 'Noto Sans SC', 'DM Sans', sans-serif; }
.rc-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 6px 6px 0; }
.rc-day { font: 800 clamp(84px, 24vw, 118px)/1 'Fraunces', serif; color: #1e1a17; }
.rc-day.is-sunday { color: var(--red); }
.rc-side { writing-mode: vertical-rl; display: flex; align-items: center; gap: 6px; justify-self: center; }
.rc-side b { font: 700 16px/1 'Noto Sans SC', sans-serif; letter-spacing: .1em; }
.rc-side small { font: 700 9px/1 'DM Sans', sans-serif; letter-spacing: .16em; color: #8a7a68; }
.rc-right b { color: var(--red); font-size: 14px; }
.rc-foot { margin: 4px 12px 0; padding: 7px 0 9px; border-top: 1px dashed #d8cfc0; font: 700 9px/1 'DM Sans', sans-serif; letter-spacing: .24em; color: #8a7a68; }
.rc-sign { /* hanging OPEN / 休息 shop sign */
  position: absolute; right: -6px; bottom: -52px; padding: 8px 14px 7px; border-radius: 6px; transform: rotate(-5deg);
  display: grid; justify-items: center; gap: 3px; background: var(--red); color: #fff; box-shadow: 0 8px 12px -8px rgba(0, 0, 0, .55);
}
.rc-sign::before, .rc-sign::after { content: ''; position: absolute; top: -18px; width: 1.5px; height: 18px; background: #555; }
.rc-sign::before { left: 22%; transform: rotate(14deg); }
.rc-sign::after { right: 22%; transform: rotate(-14deg); }
.rc-sign b { font: 900 20px/1 'Noto Sans SC', sans-serif; letter-spacing: .1em; }
.rc-sign small { font: 800 9px/1 'DM Sans', sans-serif; letter-spacing: .16em; }
.rc-sign[data-kind="closed"], .rc-sign[data-kind="rest"] { background: #fff; color: var(--red); border: 2px solid var(--red); }

/* ---------- Hero v4: newspaper on a marble kopitiam table ---------- */
.hero--v4 {
  --ink4: #2b2622;
  --brick: #8c2f2a;
  --newsprint: #f5f0e3;
  background-color: #ece8e1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .018' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .43 0 0 0 0 .41 1.1 0 0 0 -.58'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"),
    radial-gradient(120% 80% at 20% 0%, #faf8f4, transparent 60%);
  color: var(--ink4);
}
.paper {
  position: relative; background: var(--newsprint); color: var(--ink4); padding: 16px 18px 12px;
  border-radius: 2px; transform: rotate(-1deg);
  box-shadow: 0 1px 0 #e3dccb, 0 18px 28px -16px rgba(43, 38, 34, .55);
  background-image: linear-gradient(transparent 0 97%, rgba(43, 38, 34, .03) 97%);
  background-size: 100% 22px;
}
.np-mast { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 6px; border-bottom: 4px double var(--ink4); }
.np-brand { font: 700 12px/1 'DM Sans', sans-serif; letter-spacing: .22em; }
.np-place { font: 700 15px/1 'Noto Serif SC', serif; letter-spacing: .2em; }
.np-date { margin: 0 0 12px; padding: 6px 0; border-bottom: 1px solid var(--ink4); font: 500 11.5px/1.5 'Noto Serif SC', 'DM Sans', serif; color: #5a4f45; }
.np-headline { margin: 0; font: 900 clamp(28px, 8vw, 50px)/1.18 'Noto Serif SC', serif; letter-spacing: .02em; color: var(--ink4); }
.np-headline:lang(en) { font: 800 clamp(28px, 7.6vw, 48px)/1.08 'Fraunces', serif; letter-spacing: -.01em; }
.np-sub { margin: 8px 0 12px; font: italic 600 17px/1.35 'Fraunces', 'Noto Serif SC', serif; color: var(--brick); }
.np-body { margin: 0; font: 400 15px/1.7 'Noto Serif SC', Georgia, serif; text-align: justify; hyphens: auto; }
html:lang(en) .np-body { text-align: left; }
html:lang(en) .np-body::first-letter { float: left; font: 900 3.1em/.9 'Noto Serif SC', 'Fraunces', serif; color: var(--brick); margin: 4px 8px 0 0; }
.np-foot { margin: 12px 0 0; padding-top: 8px; border-top: 1px solid var(--ink4); font: 600 11px/1.4 'DM Sans', 'Noto Sans SC', sans-serif; letter-spacing: .12em; color: #5a4f45; text-transform: uppercase; }
.np-copy .cta-row { margin-top: 24px; }
.hero--v4 .btn-primary { background: var(--ink4); border-color: var(--ink4); color: var(--newsprint); }
.hero--v4 .btn-primary:hover { background: #463d36; border-color: #463d36; }
.hero--v4 .btn-ghost { color: var(--ink4); border-color: var(--ink4); background: rgba(255, 255, 255, .4); }
.flatlay { margin: 26px auto 0; width: min(440px, 100%); }
.flatlay svg { width: 100%; height: auto; display: block; }
.hero--v4 .status-card {
  background: var(--newsprint); border: 1px solid var(--ink4); border-radius: 2px;
  box-shadow: inset 0 0 0 4px var(--newsprint), inset 0 0 0 5px var(--ink4), 0 14px 22px -16px rgba(43, 38, 34, .5);
}
.hero--v4 .status-head { font-family: 'Noto Serif SC', 'Fraunces', serif; font-weight: 900; }
.hero--v4 .status-sessions { border-top: 1px solid #cfc6b4; }
@media (min-width: 640px) { .np-body { column-count: 2; column-gap: 22px; column-rule: 1px solid #d6cdbb; } }

/* kopitiam mosaic floor strip */
.tiles {
  height: 22px;
  background:
    conic-gradient(from 45deg, var(--green) 25%, var(--paper) 0 50%, var(--green) 0 75%, var(--gold) 0) 0 0 / 22px 22px;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tint { background: var(--paper-2); }
.section-title { font: 800 clamp(26px, 6vw, 38px)/1.1 var(--f-display); color: var(--green); }
.section-sub { color: var(--muted); margin: 8px 0 28px; max-width: 40em; }

/* Sessions */
.sessions { display: grid; gap: 14px; }
.session {
  position: relative; border-radius: var(--radius); padding: 24px; color: #fff; overflow: hidden; box-shadow: var(--shadow);
}
.session h3 { font: 800 28px/1.1 var(--f-display); }
.session p { margin: 6px 0 0; }
.session-am { background: linear-gradient(135deg, #ffd95e, var(--gold-deep)); color: var(--green-2); }
.session-pm { background: linear-gradient(135deg, var(--green), #6e1519); }
.session-pm h3, .session-pm .session-time { color: var(--gold); }
.session-icon { position: absolute; right: 16px; top: 16px; width: 56px; height: 56px; opacity: .9; }
.session-icon svg { width: 100%; height: 100%; fill: var(--green); color: var(--green); }
.session-pm .session-icon svg { fill: var(--gold); }
.session-am .soon { background: rgba(168,40,44,.12); }
.session-time { font: 700 22px/1.2 var(--f-body); font-variant-numeric: tabular-nums; margin-top: 4px !important; }
.session .soon { display: inline-block; margin-top: 14px !important; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.18); }
.session-break {
  text-align: center; font-size: 14px; color: var(--muted); font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.session-break::before, .session-break::after { content: ''; flex: 1; border-top: 1px dashed var(--line); }

/* Dishes */
.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dish { background: var(--card); border-radius: var(--radius); padding: 12px 12px 16px; border: 1px solid var(--line); }
.dish-art {
  aspect-ratio: 4 / 3; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px;
  background:
    radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--hue) 85%, #fff) 0 30%, transparent 31%),
    radial-gradient(circle at 50% 55%, #fff 0 38%, transparent 39%),
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--hue) 14%, var(--paper)) 0 10px, var(--paper) 10px 20px);
}
.dish-art span { font: 900 clamp(14px, 4vw, 20px)/1 'Noto Serif SC', serif; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.dish h3 { font: 700 17px/1.25 var(--f-display); color: var(--green); }
.dish p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

/* Calendar */
.cal-layout { display: grid; gap: 18px; }
.cal-card, .upcoming { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head h3 { font: 700 20px/1 var(--f-display); }
.cal-nav {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  font-size: 24px; line-height: 1; cursor: pointer; color: var(--green);
}
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-day {
  position: relative; aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 10px; background: transparent;
  font: 500 15px/1 var(--f-body); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  font-variant-numeric: tabular-nums;
}
.cal-day:hover { background: var(--paper-2); }
.cal-day.is-past { color: #a9b0ab; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--ink); background: var(--gold); font-weight: 700; }
.cal-day.is-closed { background: var(--red); color: #fff; font-weight: 700; }
.cal-day.is-closed.is-past { background: #d9a49e; }
.cal-day.is-partial { background: var(--red-soft); color: #7a2219; font-weight: 700; box-shadow: inset 0 0 0 2px var(--red); }
.cal-day.is-selected { outline: 3px solid var(--gold); outline-offset: 1px; }
.cal-tag { position: absolute; bottom: 2px; right: 4px; font-size: 10px; font-weight: 700; }
.cal-detail { min-height: 1.6em; margin: 12px 0 0; font-size: 15px; }
.cal-detail[data-state="closed"] { color: #7a2219; }
.cal-legend { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg-closed { background: var(--red); }
.lg-partial { background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red); }
.lg-today { box-shadow: inset 0 0 0 2px var(--ink); background: var(--gold); }
.upcoming h3 { font: 700 18px/1.2 var(--f-display); margin-bottom: 10px; }
.upcoming ul { list-style: none; margin: 0; padding: 0; display: grid; }
.upcoming li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: center; padding: 12px 2px; border-bottom: 1px dashed var(--line); }
.upcoming li:last-child { border-bottom: 0; }
.upcoming li.empty { display: block; color: var(--muted); }
.up-cal { /* mini tear-off calendar page, like the one in the hero */
  display: grid; text-align: center; background: #fff; border-radius: 4px; overflow: hidden;
  box-shadow: 0 2px 0 #ece4d4, 0 4px 8px -4px rgba(58, 34, 22, .35);
}
.up-cal-top { background: var(--red); color: #fff; font: 700 11px/1 var(--f-body); padding: 4px 0 3px; }
.up-cal-day { font: 800 22px/1 'Fraunces', serif; padding: 5px 0 6px; color: var(--ink); }
.upcoming li.is-partial .up-cal-top { background: var(--gold); color: var(--green-2); }
.up-text { display: grid; gap: 2px; min-width: 0; }
.up-date { font-weight: 700; }
.up-what { font-size: 14px; color: var(--muted); }

/* Info */
.info-grid { display: grid; gap: 14px; }
.info { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.info h3 { font: 700 18px/1.2 var(--f-display); color: var(--green); margin-bottom: 6px; }
.info p { margin: 0; color: var(--muted); }
.pay { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }

/* Visit */
.visit { display: grid; gap: 22px; }
.addr { font-style: normal; display: grid; gap: 4px; margin: 16px 0 8px; font-size: 17px; }
.visit-links { margin-top: 16px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 280px; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* Footer + mobile action bar */
.footer { background: var(--green); color: var(--gold); padding: 28px 0; font-size: 14px; border-top: 3px solid var(--gold); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-logo { height: 48px; width: auto; }
.footer p { margin: 0; }
.footer a { color: rgba(255,255,255,.8); }
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,.25);
}
.actionbar a { display: grid; justify-items: center; gap: 2px; padding: 10px 0; min-height: 60px; color: var(--green); text-decoration: none; font-size: 12px; font-weight: 700; }
.actionbar a:first-child { color: var(--gold); background: var(--green); }
.actionbar svg { width: 22px; height: 22px; fill: currentColor; }

/* Menu */
.session a.soon { color: inherit; text-decoration: none; }
.session a.soon:hover { text-decoration: underline; }
.dish-price { margin-top: 8px !important; font-weight: 700; color: var(--green) !important; font-variant-numeric: tabular-nums; }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; scrollbar-width: none; }
.menu-tab {
  flex: none; border: 2px solid var(--green); background: var(--card); color: var(--green);
  font: 700 15px/1 var(--f-body); padding: 0 18px; min-height: 44px; border-radius: 999px; cursor: pointer;
}
.menu-tab[aria-selected="true"] { background: var(--green); color: var(--gold); }
.menu-panel { display: grid; gap: 16px; }
.menu-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px 10px; box-shadow: var(--shadow); }
.menu-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 12px 0 8px; border-bottom: 2px solid var(--green); }
.menu-head h3 { font: 700 19px/1.2 var(--f-display); color: var(--green); }
.menu-cols, .menu-prices { display: grid; grid-auto-flow: column; grid-auto-columns: 58px; gap: 4px; text-align: right; flex: none; }
.menu-cols span { font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.2; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.mn-main { font-weight: 700; }
.mn-alt { color: var(--muted); font-size: 14px; }
.mn-desc { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.mn-sig { font-size: 11px; font-weight: 700; color: var(--green-2); background: var(--gold); padding: 2px 8px; border-radius: 999px; }
.mn-only { font-size: 11px; font-weight: 700; color: #8a4b0f; border: 1px solid var(--gold-deep); padding: 1px 7px; border-radius: 999px; }
.menu-prices span { font-weight: 700; font-variant-numeric: tabular-nums; }
.menu-prices span.na { color: #c3ad86; font-weight: 400; }
.menu-item.is-sig .mn-main { color: var(--green); }
.menu-foot { margin: 14px 0 0; font-size: 14px; }

/* ---------- Site-wide kopitiam look (matches the main hero, v3) ----------
   Cream wall tiles, red-band signboard tags, signboard-framed cards, wooden tables, ballpen order chits. */
.section, .section-tint {
  background-image:
    linear-gradient(rgba(150, 120, 70, .10) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(150, 120, 70, .10) 1.5px, transparent 1.5px);
  background-size: 46px 46px;
}
.tiles { /* red trim line over a band of yellow wall tiles */
  height: 30px;
  background:
    linear-gradient(var(--green) 0 7px, transparent 7px),
    linear-gradient(90deg, rgba(140, 95, 20, .35) 1.5px, transparent 1.5px) 0 0 / 30px 100%,
    linear-gradient(rgba(140, 95, 20, .35) 1.5px, transparent 1.5px) 0 7px / 100% 30px,
    var(--gold);
}
.sign-tag {
  display: inline-block; margin: 0 0 12px; padding: 6px 12px 5px; border-radius: 3px;
  background: var(--green); color: var(--gold); font: 800 11px/1.2 'DM Sans', 'Noto Sans SC', sans-serif; letter-spacing: .2em;
}
:lang(zh-Hans) .section-title { font-family: 'Noto Sans SC', sans-serif; font-weight: 900; letter-spacing: .06em; }
.cal-card, .upcoming, .menu-group, .info, .dish, .status-card {
  background-color: #fffdf6; border: 2px solid rgba(168, 40, 44, .28); border-radius: 10px;
}
.session { border-radius: 10px; }
.menu-tab { border-radius: 6px; }
.dish-art { /* bowl on an iron-legged wooden table */
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 52%, color-mix(in srgb, var(--hue) 85%, #fff) 0 30%, transparent 31%),
    radial-gradient(circle at 50% 52%, #fff 0 38%, transparent 39%),
    radial-gradient(circle at 53% 57%, rgba(0, 0, 0, .18) 0 40%, transparent 42%),
    repeating-linear-gradient(90deg, #a8733f 0 3px, #b9874f 3px 30px, #a06b38 30px 32px, #b3804a 32px 58px);
}
.dish-price { font: 700 21px/1.1 'Caveat', 'Ma Shan Zheng', cursive !important; color: #2c2a6b !important; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .dishes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .actionbar { display: none; }
  .nav { display: flex; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; align-items: center; padding-bottom: 72px; gap: 48px; }
  .hero--v2 .hero-grid { grid-template-columns: 1.1fr 1fr; grid-template-areas: "copy scene" "copy status"; row-gap: 20px; align-items: start; }
  .hero--v2 .hero-copy { grid-area: copy; align-self: center; }
  .hero--v2 .scene { grid-area: scene; }
  .hero--v2 .status-card { grid-area: status; width: 100%; max-width: 460px; justify-self: center; }
  .hero--v3 .hero-grid { grid-template-columns: 1.15fr 1fr; grid-template-areas: "copy cal" "copy status"; row-gap: 34px; align-items: start; }
  .hero--v3 .hero-copy { grid-area: copy; }
  .hero--v3 .retro-cal { grid-area: cal; margin-top: 30px; }
  .hero--v3 .status-card { grid-area: status; width: 100%; max-width: 380px; justify-self: center; }
  .hero--v4 .hero-grid { grid-template-columns: 1.2fr 1fr; grid-template-areas: "copy flat" "copy status"; row-gap: 18px; align-items: start; }
  .hero--v4 .hero-copy { grid-area: copy; }
  .hero--v4 .flatlay { grid-area: flat; margin-top: 0; }
  .hero--v4 .status-card { grid-area: status; width: 100%; max-width: 400px; justify-self: center; }
  .sessions { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .session-break { writing-mode: vertical-rl; flex-direction: column; }
  :lang(zh-Hans) .session-break { writing-mode: vertical-rl; }
  .session-break::before, .session-break::after { border-top: 0; border-left: 1px dashed var(--line); }
  .cal-layout { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .menu-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .visit { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
  .section { padding: 80px 0; }
}
