@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/figtree.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --clay: #c35c3b;        /* sampled from the Ooodles logo tile */
  --clay-surface: #b0502e; /* logo clay, deepened so cream text passes 4.5:1 */
  --clay-deep: #9e4127;   /* text-safe clay */
  --cream: #fbefe6;       /* logo line color */
  --broth: #f4e1cf;
  --paper: #fffaf5;
  --ink: #2a1810;
  --ink-soft: #664536;
  --line: #e6cbb6;
  --bokchoy: #2f6b45;
  --yolk: #efb94a;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zh: "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[lang="zh-Hant"] { font-family: var(--zh); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--ink); color: var(--cream); border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yolk); outline-offset: 3px; border-radius: 6px; }

/* Demo disclosure */
.demo-note { background: var(--ink); color: var(--cream); font-size: .8125rem; }
.demo-note-inner { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; align-items: center; padding: 8px 0; }
.demo-links { display: flex; gap: 16px; }
.demo-links a { text-underline-offset: 3px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: 700 1rem/1 var(--body); text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-clay { background: var(--clay-deep); color: var(--cream); }
.button-clay:hover { background: #87361f; }
.button-cream { background: var(--cream); color: var(--ink); }
.button-cream:hover { background: #fff; }
.button-ink { background: var(--ink); color: var(--cream); }
.text-link { font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.text-link:hover { text-decoration-thickness: 3px; }
.kicker { font: 700 .8125rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 12px; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand-name { font: 700 1.625rem/1 var(--display); letter-spacing: -.01em; }
.brand-name small { display: block; margin-top: 4px; font: 600 .75rem/1 var(--body); letter-spacing: .06em; color: var(--ink-soft); }
.site-header nav { display: flex; align-items: center; gap: 24px; font-weight: 600; }
.site-header nav a:not(.button) { text-decoration: none; }
.site-header nav a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }

/* Hero */
.hero { position: relative; background: var(--clay-surface); color: var(--cream); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; padding: 64px 0 104px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 28px;
  border-radius: 999px; background: rgba(42, 24, 16, .28); font-weight: 600; font-size: .9375rem;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cream); }
.status-pill.is-open .status-dot { background: #7fe0a1; box-shadow: 0 0 0 4px rgba(127, 224, 161, .25); }
.status-pill.is-closed .status-dot { background: var(--yolk); }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 5.6rem); font-weight: 800; letter-spacing: -.035em; line-height: .95; }
.hero h1 em { display: block; font-style: normal; color: var(--ink); }
.hero-lead { max-width: 30ch; margin-top: 24px; font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }

.hero-bowl { position: relative; margin: 0; justify-self: center; width: min(100%, 520px); }
.bowl-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 10px solid var(--cream); box-shadow: 0 30px 60px -30px rgba(42, 24, 16, .7); }
.bowl-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.bowl-bear { position: absolute; width: 36%; top: -9%; right: -4%; transform: rotate(8deg); filter: drop-shadow(0 4px 0 var(--clay-surface)); }
.steam { position: absolute; width: 22%; left: 14%; top: -12%; fill: none; stroke: var(--cream); stroke-width: 5; stroke-linecap: round; opacity: .8; }
.steam path { animation: rise 3.6s var(--ease) infinite; }
.steam path:nth-child(2) { animation-delay: .6s; }
.steam path:nth-child(3) { animation-delay: 1.2s; }
@keyframes rise {
  0% { opacity: 0; transform: translateY(12px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-14px); }
}
.hero-bowl figcaption {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%) rotate(-2deg);
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--cream);
  font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.hero-bowl figcaption span { margin-right: 6px; color: var(--yolk); }
.noodle-strand { position: absolute; left: 0; bottom: 18px; width: 100%; height: 60px; fill: none; stroke: var(--cream); stroke-width: 5; stroke-linecap: round; opacity: .55; }
.noodle-strand path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Section headings */
.section-heading { margin-bottom: 36px; }
.section-heading h2, .lunch h2, .jars h2, .visit h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }

/* Favorites */
.favorites { padding: 96px 0 88px; }
.fav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fav-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.fav-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(42, 24, 16, .45); }
.fav-card img { aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.fav-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.fav-zh { color: var(--clay-deep); font-weight: 600; letter-spacing: .08em; }
.fav-body h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; }
.fav-body p:not(.fav-zh):not(.fav-meta) { color: var(--ink-soft); font-size: .96875rem; line-height: 1.5; }
.fav-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--broth); color: var(--clay-deep); font-size: .8125rem; font-weight: 700; }
.tag-warn { background: #fdf0cf; color: #6b4a00; }
.price { font: 700 1.125rem/1 var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fav-meta .price { margin-left: auto; }

/* Menu */
.menu-section { background: var(--broth); padding: 96px 0; }
.menu-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.menu-intro { max-width: 32ch; color: var(--ink-soft); }
.menu-controls { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 36px; }
.menu-controls[hidden] { display: none; }
.menu-controls button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 76px; padding: 14px 16px;
  border: 2px solid var(--ink); border-radius: 16px; background: transparent; color: var(--ink);
  font: 700 .9375rem/1.2 var(--body); text-align: left; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.menu-controls button span { font-size: 1.25rem; font-weight: 600; }
.menu-controls button:hover { transform: translateY(-2px); }
.menu-controls button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.menu-controls button[aria-pressed="true"] span { color: var(--yolk); }
.menu-panel + .menu-panel { margin-top: 56px; }
.menu-enhanced .menu-panel + .menu-panel { margin-top: 0; }
.panel-title { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.panel-title span { margin-left: 8px; color: var(--clay-deep); font-weight: 600; font-size: 1.25rem; }
.panel-note { color: var(--ink-soft); margin-bottom: 8px; }
.menu-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.menu-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1.5px dashed rgba(42, 24, 16, .22); }
.menu-list h4 { font: 700 1.0625rem/1.35 var(--body); }
.menu-list h4 span { display: inline-block; margin-left: 4px; color: var(--clay-deep); font-weight: 500; font-size: .9375rem; }
.menu-list p { margin-top: 4px; color: var(--ink-soft); font-size: .9375rem; line-height: 1.5; }
.malatang-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.malatang-layout .menu-list { grid-template-columns: 1fr; }
.malatang-layout img { border-radius: var(--radius); margin-top: 16px; aspect-ratio: 4 / 3; object-fit: cover; }
.menu-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--ink); }
.menu-bottom p { max-width: 62ch; font-size: .9375rem; color: var(--ink-soft); }

/* Lunch ticket */
.lunch { padding: 96px 0 40px; }
.ticket { --stub: 280px; display: grid; grid-template-columns: 1fr var(--stub); background: var(--yolk); border-radius: var(--radius); position: relative; }
.ticket-main { padding: 44px 48px; }
.ticket-main .kicker { color: var(--ink); }
.ticket-main p:last-child { max-width: 46ch; margin-top: 14px; font-size: 1.125rem; }
.ticket-stub {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 36px 48px;
  border-left: 3px dashed rgba(42, 24, 16, .45);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; width: 36px; height: 36px; border-radius: 50%; background: var(--paper);
  right: calc(var(--stub) - 19px);
}
.ticket::before { top: -18px; }
.ticket::after { bottom: -18px; }
.stub-price { font: 800 3.25rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* Pickle jars */
.jars { padding: 72px 0 112px; }
.jars-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.jars-photo { margin: 0; }
.jars-photo img { border-radius: var(--radius); aspect-ratio: 3 / 3.6; object-fit: cover; width: 100%; }
.jars-photo figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-soft); }
.jars-copy > p:not(.kicker) { max-width: 44ch; margin-top: 16px; color: var(--ink-soft); font-size: 1.125rem; }
.jar-row { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jar {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 30px 10px 18px; border: 2.5px solid var(--ink); border-radius: 18px 18px 26px 26px; background: #fff;
  transition: transform .25s var(--ease);
}
.jar:hover { transform: rotate(-2deg) translateY(-3px); }
.jar-lid { position: absolute; top: -12px; left: 16%; right: 16%; height: 18px; border-radius: 6px; background: var(--clay); border: 2.5px solid var(--ink); }
.jar-zh { font-size: 1.75rem; font-weight: 700; color: var(--clay-deep); line-height: 1.2; }
.jar-name { font-weight: 600; font-size: .875rem; line-height: 1.3; min-height: 2.6em; display: flex; align-items: center; }
.jar-price { font-weight: 700; font-variant-numeric: tabular-nums; }

/* Visit */
.visit { background: var(--ink); color: var(--cream); padding: 96px 0; }
.visit-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.visit .kicker { color: var(--yolk); }
.visit address { margin-top: 20px; font-style: normal; font-size: 1.25rem; line-height: 1.5; }
.visit-note { margin-top: 14px; max-width: 42ch; color: #e6cfc2; }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.hours-card { position: relative; background: var(--clay-deep); border-radius: var(--radius); padding: 36px 36px 30px; }
.hours-bear { position: absolute; width: 110px; right: 22px; top: -62px; }
.hours-card h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 14px; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; margin-inline: -12px; border-radius: 10px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours div.is-today { background: var(--cream); color: var(--ink); }
.hours div.is-today dt::after { content: " · today"; font-weight: 500; }
.hours-note { margin-top: 14px; font-size: .875rem; color: #f6dccf; }

/* Footer */
footer { background: var(--clay-surface); color: var(--cream); padding: 56px 0 32px; }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.footer-brand img { width: 170px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(251, 239, 230, .35); font-size: .8125rem; }

/* Responsive */
@media (max-width: 1020px) {
  .fav-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-controls { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .site-header nav a:not(.button) { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; padding: 48px 0 104px; }
  .hero-bowl { width: min(86vw, 440px); }
  .menu-heading { flex-direction: column; align-items: start; }
  .menu-list { grid-template-columns: 1fr; }
  .malatang-layout, .jars-inner, .visit-inner { grid-template-columns: 1fr; }
  .jars-inner { gap: 40px; }
  .jars-photo img { aspect-ratio: 4 / 3; }
  .visit-inner { gap: 88px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-stub { border-left: 0; border-top: 3px dashed rgba(42, 24, 16, .45); flex-direction: row; justify-content: space-between; flex-wrap: wrap; padding: 26px 28px; }
  .ticket-main { padding: 36px 28px 28px; }
  .ticket::before, .ticket::after { display: none; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .brand img { width: 42px; }
  .brand-name { font-size: 1.375rem; }
  .nav-order { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
  .fav-grid { grid-template-columns: 1fr; }
  .menu-controls { grid-template-columns: repeat(2, 1fr); }
  .jar-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .hero-bowl figcaption { font-size: .8125rem; padding: 8px 14px; }
  .favorites, .menu-section, .visit { padding: 72px 0; }
  .hours-card { padding: 30px 24px 24px; }
}
@media (max-width: 380px) {
  .brand-name small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .noodle-strand path { stroke-dashoffset: 0; }
  .steam path { opacity: .8; }
}

@media print {
  .demo-note, .site-header nav, .menu-controls, .hero-actions, .steam, .noodle-strand { display: none !important; }
  .menu-panel[hidden] { display: block !important; }
  .hero, .visit, footer { background: #fff; color: #000; }
}
