/* =========================================================================
   Pad Thai Café
   Palette and type are taken from the restaurant's own logo and print menus:
   crimson #9C1C21, near-black, and the warm grey paper stock the menus print on.
   ========================================================================= */

:root {
  /* brand */
  --crimson: #9c1c21;
  --crimson-deep: #7a1519;
  --crimson-bright: #b8262c;
  --ink: #14100f;
  --ink-soft: #2a2422;

  /* surfaces */
  --paper: #f4f1ea;
  --paper-warm: #fbf8f3;
  --white: #ffffff;
  --line: rgba(20, 16, 15, 0.12);
  --line-soft: rgba(20, 16, 15, 0.07);

  /* text */
  --text: #23201e;
  --text-mute: #6b635e;
  --text-on-dark: #f3efe8;
  --text-on-dark-mute: #a9a09a;

  /* functional */
  --veg: #3f6b4a;
  --gf: #6b5220;

  --shadow-sm: 0 1px 2px rgba(20, 16, 15, .06), 0 4px 12px rgba(20, 16, 15, .05);
  --shadow-md: 0 2px 6px rgba(20, 16, 15, .07), 0 14px 32px rgba(20, 16, 15, .09);

  --radius: 12px;
  --radius-lg: 20px;

  --wrap: 1160px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  /* Header height drives the sticky toolbar offset and anchor scroll margins.
     app.js measures the real header and overwrites --head-h; these are the
     no-JS fallbacks, and --head-min is kept separate so the measurement cannot
     feed back into the height it is measuring. */
  --head-h: 103px;
  --head-min: 74px;

  --font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-script: 'Lobster Two', 'Poppins', cursive;

  /* the subtle paper grain the printed menus have */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper-warm);
  background-image: var(--grain);
  color: var(--text);
  font: 400 clamp(1rem, .97rem + .18vw, 1.075rem)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, iframe { max-width: 100%; }
img { height: auto; display: block; }

/* Menu filtering toggles the `hidden` attribute; without this the UA rule loses
   to any element that sets its own `display`. */
[hidden] { display: none !important; }

a { color: var(--crimson); text-underline-offset: .18em; }
a:hover { color: var(--crimson-deep); }

:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.h1 { font-size: clamp(2.2rem, 1.5rem + 3.4vw, 4rem); }
.h2 { font-size: clamp(1.65rem, 1.25rem + 1.9vw, 2.6rem); }
.h3 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); }
.h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--text-mute); }
.small { font-size: .875rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 50%; translate: -50% -150%;
  background: var(--crimson); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 10px;
  z-index: 200; text-decoration: none; transition: translate .15s;
}
.skip:focus { translate: -50% 0; color: #fff; }

.eyebrow {
  font-family: var(--font-script);
  font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem);
  color: var(--crimson);
  margin-bottom: .15em;
}
.eyebrow--light { color: #e9b9b3; }

.lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--text-mute); max-width: 62ch; }
.lede.center { margin-inline: auto; }

.fineprint {
  font-size: .875rem; color: var(--text-mute); max-width: 78ch; margin: 1.5rem 0;
}
.fineprint--boxed {
  border-left: 3px solid var(--crimson);
  background: var(--paper);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
}

/* --------------------------------------------------------------- buttons */

.btn {
  --btn-bg: transparent; --btn-fg: var(--crimson); --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  padding: .78rem 1.5rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--crimson); --btn-fg: #fff; --btn-bd: var(--crimson); box-shadow: var(--shadow-sm); }
.btn--primary:hover { --btn-bg: var(--crimson-deep); --btn-bd: var(--crimson-deep); color: #fff; }
.btn--outline:hover { background: rgba(156, 28, 33, .08); }
.btn--ghost { --btn-fg: var(--text-on-dark); --btn-bd: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn--lg { padding: .95rem 1.9rem; font-size: 1.02rem; }
.stack { display: flex; flex-wrap: wrap; gap: .6rem; }

.linkish {
  background: none; border: 0; padding: 0; font: inherit;
  color: var(--crimson); text-decoration: underline; cursor: pointer;
}

/* ---------------------------------------------------------------- header */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .93);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__in { display: flex; align-items: center; gap: 1rem; min-height: var(--head-min); }
.brand { flex: 0 0 auto; line-height: 0; }
.brand img { width: clamp(150px, 20vw, 208px); height: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.7rem); }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--ink); text-decoration: none; padding: .35rem 0; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--crimson); transition: right .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--crimson); }
.nav__cta a { color: #fff; }
.nav__cta a::after { display: none; }

.burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.burger span {
  display: block; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .burger { display: block; }
  /* Absolute, not fixed. The header sets `backdrop-filter`, which makes it the
     containing block for fixed descendants — so `position: fixed` here anchored
     the panel to the header rather than the viewport. Anchoring to the header
     on purpose, via top:100%, also drops the hard-coded 74px offset. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 5;
    flex-direction: column; align-items: stretch;
    gap: 0; background: var(--paper-warm); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.4rem; box-shadow: var(--shadow-md);
    max-height: calc(100dvh - var(--head-h) - 1rem); overflow-y: auto;
    display: none;
  }
  .nav[data-open] { display: flex; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
  .nav a::after { display: none; }
  .nav__cta { margin-top: 1rem; }
  .nav__cta a { display: flex; }
}

/* ------------------------------------------------------------------ hero */

.hero { position: relative; isolation: isolate; color: var(--text-on-dark); background: var(--ink); }
.hero__bg { position: absolute; inset: 0; z-index: -2; display: block; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(20, 16, 15, .94) 0%, rgba(20, 16, 15, .8) 45%, rgba(20, 16, 15, .45) 100%),
    linear-gradient(0deg, rgba(122, 21, 25, .35), rgba(122, 21, 25, .35));
}
.hero__in { padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem); max-width: 52rem; }
.hero__h {
  font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.6rem);
  color: #fff; margin-bottom: .35em; text-wrap: balance;
}
.hero__h em { font-family: var(--font-script); font-style: italic; color: #f0b8b3; font-weight: 700; }
.hero__sub { font-size: clamp(1.05rem, 1rem + .45vw, 1.3rem); color: #ddd5cf; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1.6rem; }
.hero__cta .btn--outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .5); }
.hero__cta .btn--outline:hover { background: rgba(255, 255, 255, .12); }

/* No separator glyphs — they strand themselves at the start of a wrapped line. */
.hero__trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem;
  color: #cfc6bf; font-size: .95rem;
}
.hero__trust li { display: flex; align-items: center; gap: .45rem; }
.hero__trust li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--crimson-bright); flex: 0 0 auto; }
.hero__trust strong { color: #fff; }

.hero__status {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; padding: .42rem .95rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero__status::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6ec37a;
  box-shadow: 0 0 0 3px rgba(110, 195, 122, .25);
}
.hero__status[data-state="closed"]::before { background: #d98b8b; box-shadow: 0 0 0 3px rgba(217, 139, 139, .22); }

/* ----------------------------------------------------------------- bands */

.band { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band--paper { background: var(--paper); background-image: var(--grain); border-block: 1px solid var(--line-soft); }
.band--dark {
  background: var(--ink); background-image: var(--grain);
  color: var(--text-on-dark);
}
.band--dark .h2, .band--dark h3 { color: #fff; }
.band--dark p { color: #ccc3bc; }
.band--dark .lede { color: #b8afa8; }
/* Crimson-on-black fails contrast, so outline buttons go light inside dark bands. */
.band--dark .btn--outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .5); }
.band--dark .btn--outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ----------------------------------------------------------------- strip */

.strip { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.strip__in { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.35rem; box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .18s ease, border-color .15s ease;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(156, 28, 33, .3); }
.card__kicker {
  font-family: var(--font-display); font-weight: 600; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--crimson); margin-bottom: .5rem;
}
.card__big { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--ink); margin-bottom: .5rem; }
.card__note { color: var(--text-mute); font-size: .95rem; flex: 1; }
.card__more { margin-top: 1rem; font-weight: 600; font-size: .9rem; color: var(--crimson); }
.card__more::after { content: ' →'; }

/* ---------------------------------------------------------------- dishes */

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--dishes { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); margin-top: 1.8rem; }
/* Six signatures read best as an even 3 x 2 once there is room for it. */
@media (min-width: 1000px) { .grid--dishes { grid-template-columns: repeat(3, 1fr); } }

.dish {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .2s ease;
}
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dish .ph { display: block; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.dish .ph img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.dish:hover .ph img { scale: 1.04; }
.dish__body { padding: 1.05rem 1.2rem 1.25rem; }
.dish__name {
  font-size: 1.12rem; margin-bottom: .3em;
  display: flex; justify-content: space-between; align-items: baseline; gap: .75rem;
}
.dish__price { color: var(--crimson); font-size: .98rem; flex: 0 0 auto; }
.dish__desc { color: var(--text-mute); font-size: .92rem; margin: 0; }
.center .btn { margin-top: 2rem; }

/* ----------------------------------------------------------------- split */

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
/* Capped so a portrait photo cannot stretch the row to twice the text's height. */
.split__media { height: clamp(340px, 44vw, 600px); }
.split__media .ph { display: block; height: 100%; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem); align-self: center; max-width: 40rem; }
.split__meta { font-size: .9rem; color: var(--text-mute); border-top: 1px solid var(--line); padding-top: 1rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__media { height: clamp(240px, 60vw, 340px); }
}

/* ------------------------------------------------------------ heat scale */

.heat { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .5rem; max-width: 46rem; }
.heat__row {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: .85rem 1.1rem;
}
.heat__pips { display: flex; gap: 3px; }
.pip { width: 9px; height: 14px; border-radius: 3px 3px 5px 5px; background: rgba(20, 16, 15, .12); }
.pip--on { background: var(--crimson); }
.heat__n { font-family: var(--font-display); font-weight: 700; color: var(--text-mute); font-size: .85rem; min-width: 1ch; }
.heat__name { font-family: var(--font-display); font-weight: 600; margin: 0; }
.heat__note { margin: 0; font-size: .9rem; color: var(--text-mute); }
@media (max-width: 560px) {
  .heat__row { grid-template-columns: auto 1fr; }
  .heat__n { display: none; }
}

/* ------------------------------------------------------------ bar teaser */

.bar-teaser { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tallies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); overflow: hidden; }
.tallies > div { background: var(--ink); padding: 1.1rem 1.2rem; }
.tallies dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-dark-mute); }
.tallies dd { margin: .15rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: #fff; }
@media (max-width: 800px) { .bar-teaser { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- visit */

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.visit__addr { font-style: normal; font-size: 1.15rem; font-family: var(--font-display); font-weight: 600; margin-bottom: .25rem; }
.visit__map .ph { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); display: block; }
.visit__map img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

.hours-table { border-collapse: collapse; margin-top: 1.5rem; width: 100%; max-width: 26rem; }
.hours-table th, .hours-table td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-table th { font-family: var(--font-display); font-weight: 600; padding-right: 1.5rem; }
.hours-table td { color: var(--text-mute); }
.hours-table--full { max-width: none; }
.hours-table--full tr[data-today] th { color: var(--crimson); }
.hours-table--full tr[data-today] td { color: var(--text); }

.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin: clamp(1.5rem, 4vw, 3rem) auto; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.panel .h4 { margin-top: 1.75rem; color: var(--text-mute); }
.status-box {
  margin-top: 1.25rem; padding: .7rem 1rem; border-radius: var(--radius);
  background: var(--paper); font-weight: 500; border-left: 3px solid var(--crimson);
}

.mapframe { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); margin-bottom: clamp(2rem, 5vw, 4rem); }
.mapframe iframe { display: block; width: 100%; height: clamp(300px, 44vw, 460px); border: 0; }

.faq { display: grid; gap: .6rem; margin-top: 1.8rem; max-width: 52rem; }
.faq__item { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: .95rem 1.2rem; }
.faq__item summary { font-family: var(--font-display); font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; color: var(--crimson); font-size: 1.3rem; line-height: 1; flex: 0 0 auto; }
.faq__item[open] summary::after { content: '–'; }
.faq__item p { margin: .8rem 0 0; color: var(--text-mute); }

/* ------------------------------------------------------------ page heads */

.phead { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.phead .btn { margin-top: 1.25rem; margin-right: .4rem; }
.phead--dark { position: relative; isolation: isolate; background: var(--ink); color: var(--text-on-dark); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.phead--dark .h1 { color: #fff; }
.phead--dark .lede { color: #c8bfb8; }
.phead__bg { position: absolute; inset: 0; z-index: -2; }
.phead__bg img { width: 100%; height: 100%; object-fit: cover; }
.phead--dark::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 16, 15, .95) 30%, rgba(20, 16, 15, .72)); }

/* --------------------------------------------------------------- toolbar */

.toolbar {
  position: sticky; top: var(--head-h); z-index: 60;
  background: rgba(251, 248, 243, .95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.toolbar__in { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding: .8rem 0; }
.toolbar__search { flex: 1 1 260px; }
.toolbar__search input {
  width: 100%; font: inherit; font-size: .95rem;
  padding: .62rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--text);
}
.toolbar__search input::placeholder { color: #9c938d; }
.toolbar__filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter {
  font: 600 .85rem var(--font-display); cursor: pointer;
  padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--text-mute);
  transition: background-color .15s, color .15s, border-color .15s;
}
.filter:hover { border-color: var(--crimson); color: var(--crimson); }
.filter[aria-pressed="true"] { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.filter--clear { border-style: dashed; }
.toolbar__count { margin: 0; font-size: .85rem; color: var(--text-mute); flex: 0 0 auto; }

.secnav { border-top: 1px solid var(--line-soft); overflow: hidden; }
.secnav__in {
  display: flex; gap: 1.35rem; overflow-x: auto; padding: .6rem 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.secnav__in::-webkit-scrollbar { display: none; }
.secnav a {
  font: 600 .85rem var(--font-display); white-space: nowrap; text-decoration: none;
  color: var(--text-mute); padding-bottom: .15rem; border-bottom: 2px solid transparent;
}
.secnav a:hover { color: var(--crimson); }
.secnav a.is-current { color: var(--crimson); border-bottom-color: var(--crimson); }

/* On phones the header, search, filters and section rail stack into a lot of
   sticky chrome. Shrink the header rather than unsticking it — the burger has to
   stay reachable mid-page, and an unstuck header also breaks the nav panel's
   positioning and stacking context. */
@media (max-width: 700px) {
  :root { --head-h: 65px; --head-min: 64px; }
  .brand img { width: 128px; }
  .toolbar__in { padding: .6rem 0; gap: .55rem; }
  .toolbar__count { flex-basis: 100%; }
}

/* ------------------------------------------------------------ menu items */

.menu-body { padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }

/* Clear both sticky bars when jumping to an anchor. */
.msec { margin-bottom: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: calc(var(--head-h) + 116px); }
@media (max-width: 700px) { .msec { scroll-margin-top: calc(var(--head-h) + 128px); } }
.msec__head { border-bottom: 3px solid var(--ink); padding-bottom: .5rem; margin-bottom: 1.4rem; }
.msec__head .h2 { margin-bottom: .1em; }
.msec__note { margin: 0; color: var(--text-mute); font-size: .93rem; }
.msec__sub {
  font-size: 1rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--crimson); margin: 2rem 0 .9rem;
  display: flex; align-items: center; gap: .6rem;
}
.msec__sub::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.msec__count {
  order: 1; font-size: .75rem; letter-spacing: 0; background: var(--paper);
  color: var(--text-mute); padding: .1rem .5rem; border-radius: 999px;
}

/* Photo strip under a section heading — keeps the list rows flush left. */
.shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .75rem; margin: 0 0 1.5rem;
}
.shot { margin: 0; }
.shot .ph { display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption {
  margin-top: .4rem; font: 600 .8rem var(--font-display);
  color: var(--text-mute); letter-spacing: .01em;
}
@media (max-width: 620px) { .shots { grid-template-columns: repeat(2, 1fr); } }

.items { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.item {
  display: grid; grid-template-columns: 1fr auto; gap: .5rem 1.25rem;
  align-items: start; padding: .95rem 0; border-bottom: 1px solid var(--line-soft);
}
.item__head { margin: 0 0 .2em; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .55rem; }
.item__n { font: 600 .8rem var(--font-display); color: var(--text-mute); min-width: 1.6ch; }
.item__name { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.item__thai { font-size: .88rem; color: var(--text-mute); font-style: italic; }
.item__desc { margin: 0; color: var(--text-mute); font-size: .93rem; max-width: 62ch; }
.item__price { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--crimson); white-space: nowrap; text-align: right; }
.item__price--multi { display: flex; flex-direction: column; gap: .15rem; font-size: .95rem; }
.pr { display: block; }
.pr__k { display: block; font: 400 .7rem/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); }

.chip {
  font: 600 .68rem var(--font-display); letter-spacing: .05em; text-transform: uppercase;
  padding: .16rem .48rem; border-radius: 999px; border: 1px solid currentColor; line-height: 1.4;
}
.chip--spicy { color: var(--crimson); }
.chip--veg { color: var(--veg); }
.chip--gf { color: var(--gf); }

.proteins {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: .75rem 1.1rem; margin-bottom: 1.2rem;
}
.proteins summary { font: 600 .9rem var(--font-display); cursor: pointer; color: var(--ink); }
.proteins ul { list-style: none; margin: .8rem 0 .2rem; padding: 0; display: grid; gap: .3rem; max-width: 24rem; }
.proteins li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; border-bottom: 1px dashed var(--line); padding-bottom: .3rem; }
.proteins__add { color: var(--crimson); font-weight: 600; }

.msec--lunch { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line-soft); }
.msec--lunch .msec__head { border-bottom-color: var(--crimson); }
.lunch-badge { display: flex; align-items: baseline; gap: .6rem; font-family: var(--font-display); font-weight: 600; margin-bottom: 1rem; }
.lunch-badge span {
  font-size: 2rem; font-weight: 700; color: #fff; background: var(--crimson);
  padding: .1rem .7rem; border-radius: 10px; line-height: 1.25;
}

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); }
.rows__price { font-family: var(--font-display); font-weight: 600; color: var(--crimson); white-space: nowrap; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }

.pours { list-style: none; margin: 0 0 1.5rem; padding: 0; columns: 2; column-gap: clamp(1.5rem, 4vw, 3rem); }
.pour { display: flex; justify-content: space-between; gap: 1rem; padding: .34rem 0; border-bottom: 1px solid var(--line-soft); break-inside: avoid; font-size: .93rem; }
.pour__price { font-family: var(--font-display); font-weight: 600; color: var(--crimson); }
@media (max-width: 620px) { .pours { columns: 1; } }

.noresults { padding: 2rem 0; font-size: 1.05rem; }

@media (max-width: 620px) {
  .item__name { font-size: 1rem; }
}

/* ---------------------------------------------------------------- footer */

.site-foot { background: var(--ink); background-image: var(--grain); color: var(--text-on-dark); padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; margin-top: auto; }
.site-foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.site-foot__h { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-mute); margin-bottom: .9rem; }
.site-foot__name { font-family: var(--font-script); font-size: 1.75rem; color: #fff; margin: .4rem 0 .2rem; }
.site-foot .mark { width: 52px; height: 52px; }
.site-foot p, .site-foot address { color: #c2b9b2; font-style: normal; font-size: .95rem; }
.site-foot a { color: var(--text-on-dark); }
.site-foot a:hover { color: #fff; }
.site-foot .muted { color: var(--text-on-dark-mute); }
.hours-line { margin: 0 0 .3rem; }
.social { display: flex; gap: 1rem; margin-top: 1rem; }
.foot-nav { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.site-foot__legal {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
}
.site-foot__legal p { font-size: .85rem; margin: 0; }
@media (max-width: 900px) { .site-foot__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot__in { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- quickbar */

.quickbar { display: none; }
@media (max-width: 700px) {
  .quickbar {
    position: fixed; inset: auto 0 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr 1.2fr;
    background: rgba(251, 248, 243, .97); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom));
    gap: .4rem;
  }
  .quickbar a {
    text-align: center; text-decoration: none; font: 600 .9rem var(--font-display);
    padding: .7rem .5rem; border-radius: 999px; color: var(--crimson); border: 1px solid var(--line);
  }
  .quickbar__cta { background: var(--crimson); color: #fff !important; border-color: var(--crimson); }
  body { padding-bottom: 4.5rem; }
}
