/* ==========================================================================
   Krispy Bites — design system
   Palette: crimson "hot sauce" + ice "cloud latte" on pure white, night ink.
   Type: Anybody (variable width display) + Atkinson Hyperlegible Next (body).
   Signature: the bite-mark mask and the crunchy variable-width wordmark.
   ========================================================================== */

@property --r {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

:root {
  /* colour */
  --bg: oklch(1 0 0);
  --surface: oklch(0.965 0.007 24);
  --surface-2: oklch(0.93 0.012 24);
  --ink: oklch(0.19 0.022 24);
  --muted: oklch(0.44 0.02 24);
  --line: oklch(0.88 0.012 24);
  --red: oklch(0.54 0.205 25);
  --red-hot: oklch(0.6 0.215 27);
  --red-deep: oklch(0.38 0.15 23);
  --ice: oklch(0.89 0.068 232);
  --ice-deep: oklch(0.42 0.09 240);
  --night: oklch(0.17 0.018 24);
  --night-2: oklch(0.23 0.022 24);
  --on-dark: oklch(0.97 0.006 24);
  --on-dark-muted: oklch(0.78 0.02 24);

  /* type */
  --font-display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-3xl: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);
  --fs-hero: clamp(3.4rem, 1.2rem + 9vw, 6rem);

  /* space */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --max: 1320px;
  --radius: 22px;
  --radius-sm: 12px;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* expo-ish */
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur: 0.5s;

  /* layers */
  --z-base: 1;
  --z-sticky: 20;
  --z-nav: 30;
  --z-dock: 40;
  --z-backdrop: 50;
  --z-modal: 60;
  --z-toast: 70;

  color-scheme: light;
}

/* -------------------------------------------------- reset */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: white; }

:focus-visible {
  outline: 3px solid var(--ice-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  left: 1rem; top: -4rem;
  z-index: var(--z-toast);
  background: var(--ink); color: var(--bg);
  padding: 0.75rem 1rem; border-radius: 10px;
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* -------------------------------------------------- type helpers */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 115%;
  font-variation-settings: "wdth" 115;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}
.lede {
  font-size: var(--fs-lg);
  line-height: 1.5;
  max-width: 46ch;
}
.price,
.num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
}

/* -------------------------------------------------- icons */
.i { width: 1.15em; height: 1.15em; flex: none; }

/* -------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  --btn-fill: var(--red);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "wdth" 110;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), color 0.35s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  border-radius: inherit;
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path 0.55s var(--ease-out);
}
.btn:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.btn:active { transform: scale(0.97); }
.btn .i { transition: transform 0.35s var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(4px) rotate(-45deg); }

.btn--light { --btn-bg: var(--bg); --btn-fg: var(--ink); --btn-fill: var(--ice); }
.btn--red { --btn-bg: var(--red); --btn-fg: white; --btn-fill: var(--ink); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-fill: oklch(1 0 0 / 0.14);
  box-shadow: inset 0 0 0 2px currentColor;
}
.btn--ghost-dark {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-fill: var(--surface-2);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn--sm { min-height: 42px; padding: 0.55rem 1rem; font-size: 0.875rem; }

/* -------------------------------------------------- the bite (signature) */
.bite {
  --r: var(--bite, clamp(26px, 5vw, 60px));
  -webkit-mask:
    radial-gradient(circle var(--r) at 100% calc(var(--r) * 1.55), #0000 97%, #000 100%),
    radial-gradient(circle var(--r) at calc(100% - var(--r) * 1.55) 0, #0000 97%, #000 100%),
    radial-gradient(circle calc(var(--r) * 1.08) at calc(100% - var(--r) * 0.5) calc(var(--r) * 0.5), #0000 97%, #000 100%);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle var(--r) at 100% calc(var(--r) * 1.55), #0000 97%, #000 100%),
    radial-gradient(circle var(--r) at calc(100% - var(--r) * 1.55) 0, #0000 97%, #000 100%),
    radial-gradient(circle calc(var(--r) * 1.08) at calc(100% - var(--r) * 0.5) calc(var(--r) * 0.5), #0000 97%, #000 100%);
  mask-composite: intersect;
  transition: --r 0.6s var(--ease-out);
}
.bite--bl {
  -webkit-mask:
    radial-gradient(circle var(--r) at 0 calc(100% - var(--r) * 1.55), #0000 97%, #000 100%),
    radial-gradient(circle var(--r) at calc(var(--r) * 1.55) 100%, #0000 97%, #000 100%),
    radial-gradient(circle calc(var(--r) * 1.08) at calc(var(--r) * 0.5) calc(100% - var(--r) * 0.5), #0000 97%, #000 100%);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle var(--r) at 0 calc(100% - var(--r) * 1.55), #0000 97%, #000 100%),
    radial-gradient(circle var(--r) at calc(var(--r) * 1.55) 100%, #0000 97%, #000 100%),
    radial-gradient(circle calc(var(--r) * 1.08) at calc(var(--r) * 0.5) calc(100% - var(--r) * 0.5), #0000 97%, #000 100%);
  mask-composite: intersect;
}

/* -------------------------------------------------- wordmark */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}
.wordmark span {
  display: inline-block;
  font-variation-settings: "wdth" var(--w, 118), "wght" 900;
  transition: font-variation-settings 0.45s var(--ease-out);
}
.wordmark .dot {
  width: 0.32em; height: 0.32em;
  margin-left: 0.08em;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-0.05em);
}

/* -------------------------------------------------- nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  color: white;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), transform 0.45s var(--ease-out);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 76px;
}
.nav .wordmark { font-size: 1.4rem; }
.nav .wordmark .dot { background: currentColor; }
.nav__links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: background-color 0.25s var(--ease-out);
}
.nav__links a:hover { background: oklch(1 0 0 / 0.14); }
.nav__links a[aria-current="page"] { box-shadow: inset 0 0 0 2px currentColor; }
.nav__status { display: inline-flex; }
.nav.is-solid {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-solid .nav__links a:hover { background: var(--surface); }
.nav.is-solid .wordmark .dot { background: var(--red); }
.nav.is-hidden { transform: translateY(-100%); }
.nav--solid { background: var(--bg); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav--solid .wordmark .dot { background: var(--red); }
.nav--solid .nav__links a:hover { background: var(--surface); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.14);
  font-size: var(--fs-xs);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.nav.is-solid .status,
.nav--solid .status,
.status--light { background: var(--surface); color: var(--ink); }
.status__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: oklch(0.8 0.17 150);
}
.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: ping 2s var(--ease-out) infinite;
}
.status__short { display: none; }
@media (max-width: 520px) {
  .nav .status__long { display: none; }
  .nav .status__short { display: inline; }
}
.status[data-open="false"] .status__dot { background: oklch(0.7 0.02 24); }
.status[data-open="false"] .status__dot::after { animation: none; }
@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(3); opacity: 0; }
}

/* -------------------------------------------------- mobile dock */
.dock {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: var(--z-dock);
  display: none;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--night);
  box-shadow: 0 18px 40px -12px oklch(0.17 0.02 24 / 0.55);
  transform: translateX(-50%);
}
.dock a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 48px;
  padding: 0 1.05rem;
  border-radius: 999px;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "wdth" 108;
  font-size: 0.875rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.dock a:first-child { background: var(--red); color: white; }
.dock a:active { transform: scale(0.96); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__status { margin-left: auto; }
  .dock { display: flex; }
  body { padding-bottom: 84px; }
}

/* -------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: min(100dvh, 980px);
  padding-top: 76px;
  background: var(--red);
  color: white;
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(min(100dvh, 980px) - 76px);
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}
.hero__title {
  font-size: var(--fs-hero);
  line-height: 0.86;
  letter-spacing: -0.015em;
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .wm-l {
  display: inline-block;
  font-variation-settings: "wdth" var(--w, 128), "wght" 900;
  transition: font-variation-settings 0.5s var(--ease-out);
}
.hero__sub {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: var(--fs-xl);
  line-height: 1.3;
  max-width: 24ch;
  font-weight: 500;
}
.hero__sub strong { font-weight: 700; background: var(--ink); padding: 0 0.25em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  margin-top: 2.25rem;
  font-size: var(--fs-sm);
  color: oklch(1 0 0 / 0.88);
}
.hero__meta .stars { display: inline-flex; gap: 2px; color: white; }
.hero__meta b { color: white; }
.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 78vh;
  justify-self: end;
  width: 100%;
}
.hero__photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--red-deep);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__tag {
  position: absolute;
  left: clamp(-1.5rem, -2vw, -0.5rem);
  bottom: 9%;
  display: grid;
  gap: 0.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 24px 50px -20px oklch(0.2 0.1 24 / 0.6);
  min-width: 12.5rem;
}
.hero__tag small { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }
.hero__tag span:first-of-type { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 105; font-size: 1.1rem; text-transform: uppercase; line-height: 1.1; }
.hero__tag .price { color: var(--red); font-size: 1.1rem; }
.hero__crumbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.crumb {
  position: absolute;
  width: var(--s, 10px);
  aspect-ratio: 1;
  border-radius: 40% 60% 55% 45%;
  background: oklch(0.82 0.13 75);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { justify-self: stretch; aspect-ratio: 5 / 4; max-height: none; }
  .hero__tag { left: 0.75rem; bottom: 0.75rem; }
}
@media (max-width: 420px) {
  .hero__title { font-size: clamp(2.6rem, 15vw, 3.4rem); }
}

/* hero load choreography (enhances the visible default) */
.js .hero__title .wm-l { animation: crunch-in 0.9s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
.js .hero__sub,
.js .hero__actions,
.js .hero__meta { animation: rise 0.8s var(--ease-out) both; }
.js .hero__sub { animation-delay: 0.45s; }
.js .hero__actions { animation-delay: 0.55s; }
.js .hero__meta { animation-delay: 0.65s; }
.js .hero__photo { animation: unveil 1.1s var(--ease-out) both 0.2s; }
.js .hero__photo img { animation: settle 1.6s var(--ease-out) both 0.2s; }
.js .hero__photo.bite { animation: unveil 1.1s var(--ease-out) both 0.2s, take-bite 0.5s var(--ease-out) both 1.15s; }
.js .hero__tag { animation: pop 0.7s var(--ease-out) both 1.05s; }

@keyframes crunch-in {
  from { font-variation-settings: "wdth" 50, "wght" 900; opacity: 0; transform: translateY(0.25em); }
  to { font-variation-settings: "wdth" var(--w, 128), "wght" 900; opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes unveil {
  from { clip-path: inset(100% 0 0 0 round var(--radius)); }
  to { clip-path: inset(0 0 0 0 round var(--radius)); }
}
@keyframes settle {
  from { transform: scale(1.18); }
  to { transform: scale(1); }
}
@keyframes take-bite {
  from { --r: 0px; }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

/* -------------------------------------------------- marquee */
.marquee {
  position: relative;
  background: var(--ice);
  color: var(--ink);
  border-block: 2px solid var(--ink);
  overflow: hidden;
  padding-block: 1.05rem;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 800;
  font-variation-settings: "wdth" 120;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__group svg { width: 0.9em; height: 0.9em; color: var(--red); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* -------------------------------------------------- generic section */
.section { padding-block: var(--section); }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}
.section__head p { color: var(--muted); max-width: 44ch; }
@media (max-width: 760px) {
  .section__head { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- dayparts */
.dayparts__tabs {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.dayparts__tabs::-webkit-scrollbar { display: none; }
.tab-pill {
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: var(--ink);
  clip-path: inset(0 var(--pr, 100%) 0 var(--pl, 0) round 999px);
  transition: clip-path 0.5s var(--ease-out);
}
.dayparts__tabs button {
  position: relative;
  z-index: 1;
  min-height: 46px;
  padding: 0 1.3rem;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "wdth" 110;
  text-transform: uppercase;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.35s var(--ease-out);
}
.dayparts__tabs button[aria-selected="true"] { color: var(--bg); }
.no-pill .dayparts__tabs button[aria-selected="true"] { background: var(--ink); }

.daypart {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.daypart[hidden] { display: none; }
.daypart__media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.daypart__media img { width: 100%; height: 100%; object-fit: cover; }
.daypart__media .chip {
  position: absolute;
  left: 1rem; top: 1rem;
}
.daypart__title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.daypart__copy > p { margin-top: 1rem; color: var(--muted); max-width: 40ch; }
.daypart__list { margin-top: 1.75rem; border-top: 2px solid var(--ink); }
.daypart__list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.daypart__list li span:first-child { font-weight: 700; }
.daypart__list .price { margin-left: auto; color: var(--red); }
.daypart__copy .btn { margin-top: 1.75rem; }

.daypart.is-entering .daypart__media { animation: wipe 0.7s var(--ease-out) both; }
.daypart.is-entering .daypart__media img { animation: settle 1s var(--ease-out) both; }
.daypart.is-entering .daypart__copy > * { animation: rise 0.6s var(--ease-out) both; }
.daypart.is-entering .daypart__copy > *:nth-child(2) { animation-delay: 60ms; }
.daypart.is-entering .daypart__copy > *:nth-child(3) { animation-delay: 120ms; }
.daypart.is-entering .daypart__copy > *:nth-child(4) { animation-delay: 180ms; }
@keyframes wipe {
  from { clip-path: inset(0 100% 0 0 round var(--radius)); }
  to { clip-path: inset(0 0 0 0 round var(--radius)); }
}

@media (max-width: 860px) {
  .daypart { grid-template-columns: 1fr; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* -------------------------------------------------- halal band */
.halal {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: clip;
}
.halal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem 4rem;
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.halal__title {
  font-size: clamp(2.8rem, 1.2rem + 7vw, 6rem);
  line-height: 0.88;
}
.halal__title em {
  font-style: normal;
  color: var(--ice);
}
.halal__copy {
  margin-top: 1.75rem;
  max-width: 48ch;
  color: var(--on-dark-muted);
  font-size: var(--fs-lg);
  line-height: 1.55;
}
.halal__copy b { color: var(--on-dark); }
.seal {
  position: relative;
  width: clamp(170px, 20vw, 250px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.seal svg.seal__ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  animation: spin 22s linear infinite;
}
.seal__ring text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.4px;
  letter-spacing: 0.18em;
  fill: var(--on-dark);
  font-variation-settings: "wdth" 120;
}
.seal__core {
  display: grid;
  place-items: center;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  color: white;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  line-height: 0.9;
  font-size: clamp(1.1rem, 0.7rem + 1.2vw, 1.55rem);
  text-transform: uppercase;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .halal__grid { grid-template-columns: 1fr; }
  .seal { justify-self: start; }
}

/* -------------------------------------------------- talked about (review mentions) */
.talk__list { border-top: 2px solid var(--ink); }
.talk__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.9fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.talk__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem);
  font-weight: 800;
  font-variation-settings: "wdth" 100;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: font-variation-settings 0.5s var(--ease-out), color 0.3s var(--ease-out);
}
.talk__row:hover .talk__name,
.talk__row:focus-visible .talk__name { font-variation-settings: "wdth" 135; color: var(--red); }
.talk__bar {
  height: 14px;
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}
.talk__bar i {
  display: block;
  height: 100%;
  width: calc(var(--v) * 1%);
  border-radius: inherit;
  background: var(--red);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
}
.talk__count { font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; text-align: right; min-width: 7.5rem; }
.talk__count b { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); font-variation-settings: "wdth" 100; margin-right: 0.2em; }
.talk__thumb { display: none; }
.talk__float {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--z-sticky);
  width: 230px;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--fx, 0), var(--fy, 0), 0) rotate(var(--fr, 0deg)) scale(0.85);
  transition: opacity 0.3s var(--ease-out), transform 0.45s var(--ease-out);
  box-shadow: 0 30px 60px -25px oklch(0.2 0.05 24 / 0.6);
}
.talk__float.is-on { opacity: 1; transform: translate3d(var(--fx, 0), var(--fy, 0), 0) rotate(var(--fr, 0deg)) scale(1); }
.talk__float img { width: 100%; height: 100%; object-fit: cover; }
.pending .talk__bar i { transform: scaleX(0); }

@media (max-width: 760px) {
  .talk__row { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 0.6rem 1rem; }
  .talk__thumb { display: block; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; grid-column: 1; grid-row: 1 / span 2; }
  .talk__name { grid-column: 2; grid-row: 1; font-size: 1.35rem; }
  .talk__count { grid-column: 3; grid-row: 1; min-width: 0; }
  .talk__count b { font-size: 1.3rem; }
  .talk__bar { grid-column: 2 / -1; grid-row: 2; height: 10px; }
  .talk__float { display: none; }
}
@media (hover: none) { .talk__float { display: none; } }

/* -------------------------------------------------- reviews */
.reviews { background: var(--surface); }
.reviews__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.score {
  position: sticky;
  top: 110px;
}
.score__num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 8vw, 9rem);
  font-weight: 900;
  font-variation-settings: "wdth" 80;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--red);
}
.score__stars { display: flex; gap: 4px; margin-top: 1rem; color: var(--red); }
.score__stars svg { width: 26px; height: 26px; }
.score p { margin-top: 0.9rem; color: var(--muted); max-width: 26ch; }
.score .btn { margin-top: 1.5rem; }

.quotes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--radius);
  background: var(--bg);
  grid-column: span 3;
}
.quote--big { grid-column: span 6; background: var(--red); color: white; }
.quote--ice { grid-column: span 2; background: var(--ice); }
.quote--wide { grid-column: span 4; }
.quote blockquote {
  margin: 0;
  font-size: var(--fs-lg);
  line-height: 1.4;
  font-weight: 500;
}
.quote--big blockquote {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 108;
  font-size: var(--fs-2xl);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.quote figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.quote figcaption small { display: block; font-weight: 400; color: var(--muted); }
.quote--big figcaption small { color: oklch(1 0 0 / 0.8); }
.avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  flex: none;
}
.quote--big .avatar { background: white; color: var(--red); }

@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .score { position: static; }
  .quotes { grid-template-columns: 1fr; }
  .quote, .quote--big, .quote--ice, .quote--wide { grid-column: auto; }
}

/* -------------------------------------------------- visit */
.visit {
  background: var(--night);
  color: var(--on-dark);
}
.visit .h2 { color: var(--on-dark); }
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.visit__addr {
  margin-top: 1.5rem;
  font-size: var(--fs-xl);
  line-height: 1.3;
  font-weight: 500;
}
.visit__modes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.visit__modes .chip { background: var(--night-2); color: var(--on-dark); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hours {
  margin-top: 2.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.16);
  max-width: 30rem;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
  color: var(--on-dark-muted);
}
.hours li.is-today {
  color: var(--bg);
  font-weight: 700;
}
.hours li.is-today span:first-child::after {
  content: "Today";
  margin-left: 0.6rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: var(--fs-xs);
}
.map {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night-2);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}
@media (max-width: 860px) {
  .visit__grid { grid-template-columns: 1fr; }
  .map { min-height: 340px; }
}

/* -------------------------------------------------- footer */
.footer {
  background: var(--red);
  color: white;
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
  overflow: clip;
}
.footer__big {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.25em;
  font-size: clamp(3.4rem, 0.6rem + 9.6vw, 9.5rem);
  line-height: 0.88;
  text-decoration: none;
}
.footer__big .word { display: inline-flex; align-items: baseline; }
.footer__big .dot { background: var(--ink); }
.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.3);
  font-size: var(--fs-sm);
}
.footer__row nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__row a { text-decoration: none; font-weight: 700; }
.footer__row a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* -------------------------------------------------- reveal (enhances visible default) */
.pending[data-reveal] { opacity: 0; transform: translateY(28px); }
.pending[data-reveal="fade"] { transform: none; }
[data-reveal].revealed {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}

/* ==========================================================================
   MENU PAGE
   ========================================================================== */
.mhero {
  padding-top: calc(76px + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.mhero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  align-items: end;
}
.mhero__title {
  font-size: var(--fs-hero);
  line-height: 0.86;
}
.mhero__title span { color: var(--red); }
.mhero p { color: var(--muted); max-width: 44ch; }
.mhero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.mhero__facts .chip { background: var(--surface); }
.mhero__facts .chip--halal { background: var(--ink); color: var(--bg); }
@media (max-width: 860px) {
  .mhero__grid { grid-template-columns: 1fr; }
}

/* toolbar: search + filters + category rail */
.mbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
  transition: transform 0.45s var(--ease-out);
}
.has-nav .mbar { top: 76px; }
.nav-hidden .mbar { transform: translateY(-76px); }
@media (max-width: 760px) {
  /* on phones the search row scrolls away; only the section rail stays pinned */
  .has-nav .mbar { top: calc(76px - var(--tool-h, 0px)); }
  .cat { scroll-margin-top: 140px; }
}
.mbar__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding-block: 0.85rem 0.6rem;
}
.search {
  position: relative;
  flex: 1 1 280px;
  max-width: 440px;
}
.search input {
  width: 100%;
  min-height: 48px;
  padding: 0 2.75rem 0 2.9rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--bg);
  font-size: 1rem;
  transition: box-shadow 0.25s var(--ease-out);
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus { outline: none; box-shadow: 0 0 0 4px var(--ice); }
.search .i--search {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search__clear {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: var(--surface);
}
.search__clear[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}
.filter:hover { background: var(--surface-2); }
.filter:active { transform: scale(0.96); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.filter .tag-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.rail {
  position: relative;
  display: flex;
  gap: 0.25rem;
  padding-bottom: 0.7rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  mask-image: linear-gradient(90deg, #000 calc(100% - 48px), #0000);
}
.rail::-webkit-scrollbar { display: none; }
.rail__group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-right: 0.75rem;
  margin-right: 0.5rem;
  border-right: 1px solid var(--line);
}
.rail__group:last-child { border-right: 0; }
.rail__label {
  padding: 0 0.4rem 0 0.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  font-variation-settings: "wdth" 120;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}
.rail a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.rail a:hover { color: var(--ink); background: var(--surface); }
.rail a[aria-current="true"] { color: var(--bg); background: var(--red); }
.rail a.is-empty { opacity: 0.35; }

/* menu body */
.menu { padding-bottom: var(--section); }
.world {
  padding-top: clamp(3rem, 6vw, 5rem);
}
.world__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--ink);
}
.world__head h2 {
  font-size: var(--fs-3xl);
}
.world__head p { color: var(--muted); }

.cat {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 190px;
}
.cat[hidden] { display: none; }
.cat__side {
  position: sticky;
  top: 210px;
  align-self: start;
}
.cat__img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  --bite: 34px;
}
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.cat:hover .cat__img img { transform: scale(1.04); }
.cat__title {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
}
.cat__note {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: var(--fs-sm);
  max-width: 38ch;
}
.cat__extra {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--ice);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.cat__extra .price { margin-left: auto; }

.items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  column-gap: 2.25rem;
}
.item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 0.2rem 0.85rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.item[hidden] { display: none; }
.item__name {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
}
.item__price {
  grid-column: 2;
  grid-row: 1;
  padding-top: 0.05rem;
  color: var(--red);
  font-size: 1.05rem;
  white-space: nowrap;
}
.item__price--ask { color: var(--muted); font-family: var(--font-body); font-weight: 700; font-size: var(--fs-xs); padding-top: 0.25rem; }
.item__desc {
  grid-column: 1 / 3;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
  max-width: 60ch;
}
.item__tags { display: inline-flex; gap: 0.3rem; margin-left: 0.45rem; vertical-align: 0.1em; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tag--veg { background: oklch(0.92 0.07 145); color: oklch(0.33 0.09 145); }
.tag--hot { background: oklch(0.93 0.05 30); color: var(--red-deep); }
.tag--fave { background: var(--ink); color: var(--bg); }
.item__add {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: start;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-top: -0.35rem;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.item__add:hover { background: var(--ink); color: var(--bg); }
.item__add:active { transform: scale(0.9); }
.item__add.is-added { background: var(--red); color: white; }
.item__add .i { width: 18px; height: 18px; }
.item mark { background: var(--ice); color: inherit; border-radius: 3px; padding: 0 0.1em; }

@media (max-width: 860px) {
  .cat { grid-template-columns: 1fr; gap: 1rem; scroll-margin-top: 170px; }
  .cat__side { position: static; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 1rem; align-items: center; }
  .cat__img { grid-row: span 3; aspect-ratio: 1; --bite: 18px; border-radius: 18px; }
  .cat__title { margin-top: 0; }
  .cat__extra { grid-column: 1 / -1; }
}

/* empty search state */
.empty {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.empty[hidden] { display: none; }
.empty h2 { font-size: var(--fs-2xl); }
.empty p { color: var(--muted); max-width: 44ch; }

/* tray (order list) */
.tray-btn {
  position: fixed;
  right: var(--gutter);
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: var(--z-dock);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0 0.6rem 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "wdth" 110;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 20px 40px -14px oklch(0.17 0.02 24 / 0.6);
  transform: translateY(calc(100% + 40px));
  transition: transform 0.55s var(--ease-out);
}
.tray-btn.is-visible { transform: none; }
.tray-btn .count {
  display: grid;
  place-items: center;
  min-width: 42px; height: 42px;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-variant-numeric: tabular-nums;
}
.tray-btn.bump .count { animation: bump 0.45s var(--ease-out); }
@keyframes bump {
  30% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
@media (max-width: 760px) {
  .page-menu .dock { display: none; }
  .page-menu { padding-bottom: 0; }
  .tray-btn { left: 50%; right: auto; transform: translate(-50%, calc(100% + 40px)); }
  .tray-btn.is-visible { transform: translate(-50%, 0); }
}

.tray {
  width: min(560px, 100vw - 24px);
  max-height: min(86dvh, 760px);
  margin: auto auto 12px;
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px oklch(0.17 0.02 24 / 0.7);
  overflow: hidden;
}
@media (min-width: 761px) {
  .tray { margin: auto; }
}
.tray[open] { display: flex; flex-direction: column; animation: tray-in 0.45s var(--ease-out); }
.tray::backdrop { background: oklch(0.17 0.02 24 / 0.55); animation: fade 0.3s var(--ease-out); }
@keyframes tray-in {
  from { opacity: 0; transform: translateY(40px); }
}
@keyframes fade { from { opacity: 0; } }
.tray__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.tray__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1;
}
.tray__head p { font-size: var(--fs-sm); color: var(--muted); }
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  flex: none;
}
.icon-btn:hover { background: var(--surface-2); }
.tray__list {
  flex: 1;
  overflow-y: auto;
  padding: 0.25rem 1.5rem;
}
.tray__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.tray__list li small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface);
}
.qty button {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border: 0; border-radius: 50%;
  background: var(--bg);
}
.qty button:hover { background: var(--ink); color: var(--bg); }
.qty output { min-width: 1.6rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.tray__list .price { min-width: 4.5rem; text-align: right; }
.tray__empty { padding: 2.5rem 0; color: var(--muted); text-align: center; }
.tray__foot {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.tray__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
}
.tray__total .price { font-size: 1.6rem; color: var(--red); }
.tray__foot p { margin-top: 0.25rem; font-size: var(--fs-xs); color: var(--muted); }
.tray__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }
.tray__actions .btn { justify-content: center; }
.tray__clear {
  margin-top: 0.75rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: var(--fs-sm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toast {
  position: fixed;
  left: 50%;
  top: 92px;
  z-index: var(--z-toast);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: var(--fs-sm);
  width: max-content;
  max-width: calc(100vw - 32px);
  text-align: center;
  transform: translate(-50%, -20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.12s !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none !important; flex-wrap: wrap; }
  .seal svg.seal__ring { animation: none !important; }
  .pending[data-reveal] { opacity: 1; transform: none; }
  .pending .talk__bar i { transform: none; }
  .talk__float { display: none; }
}
