@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/fraunces-latin.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/fraunces-italic-latin.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/figtree-latin.woff2) format("woff2"); }

:root {
  --navy: #002763;
  --sky: #bddfff;
  --blush: #ecbaba;
  --maroon: #4b0000;
  --cream: #edead5;
  --ink-black: #14120c;
  --paper: #f5faff;
  --bar-h: 60px;
  --tools-h: 96px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + var(--tools-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--navy); color: var(--sky);
  font: 400 1rem/1.5 var(--sans); -webkit-font-smoothing: antialiased;
}
body.has-dock { padding-block-end: 84px; }
body.cart-open { overflow: hidden; }
h1, h2, h3, p, ul, dl, dd, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-inline-size: 0; }
ul { list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 50; background: var(--sky); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { inset-block-start: 10px; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* The logo file is a flat light-blue mark; as a mask it takes the colour of its surroundings. */
.logo {
  display: block; aspect-ratio: 556 / 226; background: currentColor;
  -webkit-mask: url(/media/logo.png) center / contain no-repeat;
  mask: url(/media/logo.png) center / contain no-repeat;
}

/* ---------- Top bar ---------- */
.bar {
  position: sticky; inset-block-start: 0; z-index: 30; block-size: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  background: var(--navy); border-block-end: 1px solid rgb(189 223 255 / .16);
}
.bar__logo { display: block; inline-size: 96px; text-decoration: none; }
.bar__cart {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  block-size: 40px; padding-inline: 14px 16px; border-radius: 999px;
  border: 1.5px solid var(--sky); background: transparent; font-weight: 600; letter-spacing: .02em;
  transition: background .2s, color .2s;
}
.bar__cart:hover { background: var(--sky); color: var(--navy); }
.bar__count {
  min-inline-size: 22px; block-size: 22px; padding-inline: 6px; border-radius: 999px;
  display: inline-grid; place-items: center; background: var(--sky); color: var(--navy);
  font-size: .8rem; font-variant-numeric: tabular-nums;
}
.bar__cart:hover .bar__count { background: var(--navy); color: var(--sky); }

/* ---------- The walk in ----------
   Birdies' storefront, then the room behind it, as flat drawings set at different distances inside one
   perspective. Scrolling walks forward (--c, 0 to 1): the doors swing away (--o), the front grows past
   the eye and the room's layers slide apart until each sits where it was drawn. --b brings in the logo
   and the line, and each menu card has its own --d. The defaults are the end of the walk, which is what
   shows without JS or with reduced motion. The drawings come from scripts/build-scene.py. */
.scene { position: relative; --c: 1; --o: 1; --b: 1; }
.scene.is-live { block-size: 320svh; }
.scene__pin {
  position: relative; block-size: clamp(540px, calc(100svh - var(--bar-h)), 860px); overflow: hidden;
  background: #d8d0c2; color: var(--navy);
  /* Every drawing and the words over it share one centred square of side --S: tall enough for a phone,
     and on wide screens never so big that less than the middle 900 of its 1600 units shows. */
  container-type: size; --S: max(100cqb, min(100cqi, 177.8cqb));
}
.scene.is-live .scene__pin { position: sticky; inset-block-start: 0; block-size: 100svh; }
/* While the scene plays it has the whole screen: the page slides up under the top bar, and the bar
   waits above the screen until the walk is over (or until something in it takes focus). */
body.has-scene .shell { margin-block-start: calc(var(--bar-h) * -1); }
body.has-scene .bar { transition: transform .5s var(--ease); }
body.in-scene .bar:not(:focus-within) { transform: translateY(-101%); }
.scene__lens { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 50%; }
.world { position: absolute; inset: 0; transform-style: preserve-3d; direction: ltr; }
/* --far is how far a layer is from the eye when the walk ends; it starts 1000px further away.
   The scale undoes the perspective at the end, so the drawing lands at exactly the size it was drawn. */
.lyr {
  /* will-change keeps each drawing as one picture that is only moved; without it Chrome redraws all the
     shading on every step of the walk and the scroll drops to half speed. */
  position: absolute; inset: 0; pointer-events: none; will-change: transform;
  transform: translateZ(calc((1100 - var(--far) - (1 - var(--c)) * 1000) * 1px)) scale(calc(var(--far) / 1100));
}
.lyr > svg:not(.bird) {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: var(--S); block-size: var(--S);
  translate: -50% -50%; overflow: visible;
}
.lyr--back { --far: 1500; }
.lyr--counter { --far: 1100; }
.lyr--mid { --far: 750; }
.lyr--lamps { --far: 950; }
/* The nearest things only show once you are inside; from the street they would be floating shapes. */
.lyr--near { --far: 380; opacity: calc((var(--c) - .62) * 8); }
/* The table you end up at is not walked towards: it sits in front of the room and slides up into view at the end. */
.lyr--table { transform: translateZ(700px) scale(calc(400 / 1100)); translate: 0 calc((1 - clamp(0, (var(--c) - .7) * 3.4, 1)) * 36%); }
/* The storefront is drawn as it looks at the start, so it is not scaled: it simply comes towards the
   eye and is gone before it reaches it. */
.lyr--front { transform: translateZ(calc(min(var(--c), .62) * 1000px)); opacity: calc(1 - (var(--c) - .4) * 6.5); }
.lyr--birds { transform: translateZ(calc(40px + min(var(--c), .5) * 1000px)); opacity: calc(1 - var(--c) * 3.2); }
.scene.is-past .lyr--front, .scene.is-past .lyr--birds { visibility: hidden; }
.fx-glass { fill: rgb(132 178 220 / .42); }
.fx-letters { font: 500 31px var(--serif); letter-spacing: 9px; fill: #1c1a17; }
.leaf { transform-box: fill-box; transform: scaleX(calc(1 - var(--o) * .93)); }
.leaf--l { transform-origin: 0 50%; }
.leaf--r { transform-origin: 100% 50%; }

.scene__defs { position: absolute; }
/* The 3D version of the walk (scene3d.js). When it is running, the drawn layers step aside; only the birds stay. */
.scene__gl { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; display: block; opacity: 0; transition: opacity .7s; }
.scene.is-3d .scene__gl { opacity: 1; }
.scene.is-3d .lyr:not(.lyr--birds), .scene.is-3d .scene__grain { display: none; }
/* A fine paper grain over the whole picture, so the flat colours do not look plastic. */
.scene__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .9 -.25'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Birds over the street, each on its own path, pace and wing-beat (set per bird in the markup). */
.bird { position: absolute; overflow: visible; fill: var(--navy); }
.bird__wing { transform-origin: 31px 27px; animation: flap .36s ease-in-out infinite alternate; }
@keyframes flap { from { scale: 1 1; } to { scale: 1 -.62; } }
.flyer {
  inset-inline-start: 0; inset-block-start: var(--top); inline-size: var(--w);
  animation: var(--dur) var(--delay) linear infinite both;
}
.flyer:nth-child(2) { fill: var(--maroon); }
.flyer .bird__wing { animation-duration: var(--flap); }
.bird--l { scale: -1 1; }
.flyer--r { animation-name: fly-r; }
.flyer--l { animation-name: fly-l; }
@keyframes fly-r { from { translate: -140% 0; } 12% { translate: 25vw -34px; } 24% { translate: 55vw 6px; } 40%, to { translate: 108vw -70px; } }
@keyframes fly-l { from { translate: 108vw 0; } 14% { translate: 70vw 26px; } 28% { translate: 38vw -12px; } 44%, to { translate: -140% 34px; } }

/* The words and the menu cards lie flat over the scene, on the wall and the table. */
.scene__ui {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: var(--S); block-size: var(--S);
  translate: -50% -50%;
}
.scene__ui > * { position: absolute; inset-inline: 0; margin: 0 auto; }
.scene__mark {
  inset-block-start: 31.5%; inline-size: 29%;
  opacity: var(--b); translate: 0 calc((1 - var(--b)) * 26px);
}
/* In the scene the logo is the wordmark alone, as on the real sign. */
.scene__mark .logo {
  aspect-ratio: 556 / 199;
  -webkit-mask-image: url(/media/logo-wordmark.png); mask-image: url(/media/logo-wordmark.png);
}
.scene__line {
  inset-block-start: 46%; max-inline-size: 24ch; text-align: center; text-wrap: balance;
  font: italic 400 clamp(1rem, calc(var(--S) * .019), 1.3rem)/1.35 var(--serif);
  opacity: calc(var(--b) * 3 - 2); translate: 0 calc((1 - var(--b)) * 18px);
}
.scene__ways {
  inset-block-start: 58.6%; inline-size: 43.5%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--S) * .011);
}
.scene.is-live .way { pointer-events: none; }
.scene.is-live.is-set .way { pointer-events: auto; }
.scene__hint {
  display: none; position: absolute; z-index: 5; inset-inline: 0; inset-block-end: 5%; margin: 0; text-align: center;
  font: 600 .72rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; transition: opacity .4s;
}
.scene__hint::after {
  content: ""; display: block; inline-size: 1px; block-size: 26px; margin: 10px auto 0; background: currentColor;
  transform-origin: 50% 0; animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { from { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } to { transform: scaleY(1); opacity: 0; } }
.scene.is-live .scene__hint { display: block; }
.scene.is-moved .scene__hint { opacity: 0; }

/* Four menu cards standing on the table, all alike. --d (0 to 1) is each card's arrival. */
.way {
  position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.12; padding: 6px;
  background: var(--cream); color: var(--navy); text-decoration: none; border-radius: 10px;
  box-shadow: 0 20px 26px -14px rgb(30 12 4 / .75), 0 1px 0 rgb(255 255 255 / .6) inset;
  opacity: var(--d, 1); translate: 0 calc((1 - var(--d, 1)) * 44%);
  transition: transform .35s var(--ease);
}
.way::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid currentColor; opacity: .28; border-radius: 6px;
  transition: inset .35s var(--ease), opacity .35s;
}
.way__name { position: relative; font: 600 clamp(.72rem, calc(var(--S) * .0155), 1.15rem)/1 var(--serif); letter-spacing: -.01em; }
.way:hover, .way:focus-visible { transform: translateY(-8px); }
.way:hover::before, .way:focus-visible::before { inset: 9px; opacity: .6; }
.way:active { transform: translateY(-2px) scale(.98); }
/* On a phone the four cards sit two by two, wider than tall, so the names have room. */
@media (max-width: 700px) {
  .scene__line { inset-block-start: 43%; }
  .scene__ways { grid-template-columns: repeat(2, 1fr); inline-size: min(43.5%, 88cqi); gap: calc(var(--S) * .014); }
  .way { aspect-ratio: 1.9 / 1; }
  .way__name { font-size: clamp(.95rem, calc(var(--S) * .021), 1.15rem); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Tabs, search, chips ---------- */
.tools {
  position: sticky; inset-block-start: var(--bar-h); z-index: 20;
  background: var(--navy); border-block-end: 1px solid rgb(189 223 255 / .16);
}
.tools__row { display: flex; align-items: stretch; }
.tabs { display: flex; flex: 1; min-inline-size: 0; overflow-x: auto; scrollbar-width: none; padding-inline-start: 8px; }
.tabs::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: 1 0 auto; display: grid; place-items: center; block-size: 50px; padding-inline: 12px;
  text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: .82rem; letter-spacing: .12em;
  opacity: .62; transition: opacity .2s;
}
.tab::after {
  content: ""; position: absolute; inset-inline: 12px; inset-block-end: 0; block-size: 3px;
  background: var(--sky); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .3s var(--ease);
}
.tab:hover, .tab.is-on { opacity: 1; }
.tab.is-on::after { transform: scaleX(1); }
@media (max-width: 480px) {
  .tabs { padding-inline-start: 4px; }
  .tab { padding-inline: 7px; font-size: .74rem; letter-spacing: .06em; }
  .tab::after { inset-inline: 8px; }
  .tools__find { inline-size: 46px; }
}
.tools__find { inline-size: 52px; display: grid; place-items: center; background: none; border: 0; border-inline-start: 1px solid rgb(189 223 255 / .16); }
.tools__find[aria-expanded="true"] { background: var(--sky); color: var(--navy); }
.tools__search { padding: 10px 16px 4px; }
.tools__search input {
  inline-size: 100%; block-size: 44px; padding-inline: 16px; border-radius: 999px;
  border: 1.5px solid var(--sky); background: transparent; font-size: 1rem;
}
.tools__search input::placeholder { color: rgb(189 223 255 / .6); }
.chips { overflow-x: auto; scrollbar-width: none; }
.chips__group { display: flex; gap: 8px; padding: 9px 16px; inline-size: max-content; }
.chip {
  white-space: nowrap; text-decoration: none; font-size: .85rem; font-weight: 500;
  padding: 5px 13px; border-radius: 999px; border: 1px solid rgb(189 223 255 / .35);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--sky); }
.chip.is-on { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.is-searching .chips { display: none; }

/* ---------- Category bands ---------- */
.cat { --bg: var(--sky); --ink: var(--navy); --behind: var(--navy); background: var(--behind); }
.cat[data-theme="blush"] { --bg: var(--blush); --ink: var(--maroon); }
.cat[data-theme="cream"] { --bg: var(--cream); --ink: var(--ink-black); }
.cat[data-theme="maroon"] { --bg: var(--maroon); --ink: var(--blush); }
.cat[data-prev="sky"] { --behind: var(--sky); }
.cat[data-prev="blush"] { --behind: var(--blush); }
.cat[data-prev="cream"] { --behind: var(--cream); }
.cat[data-prev="maroon"] { --behind: var(--maroon); }
.is-searching .cat { --behind: var(--navy); }
.cat__inner {
  background: var(--bg); color: var(--ink);
  border-start-start-radius: 36px; border-start-end-radius: 36px;
  padding: 44px 20px 56px;
}
.cat:last-of-type .cat__inner { padding-block-end: 72px; }
.cat__inner > * { max-inline-size: 920px; margin-inline: auto; }
.cat__inner { position: relative; overflow: hidden; }
.cat__inner > * { position: relative; }
.cat__title {
  font: 500 clamp(2.6rem, 11vw, 4.6rem)/.95 var(--serif); letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
}
.cat__toggle, .sec__toggle {
  display: flex; align-items: center; gap: 14px; inline-size: 100%; padding: 0; border: 0; background: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-align: start;
}
.cat__toggle { justify-content: space-between; padding-block: 6px; }
.sec__toggle { padding-block: 8px; }
.sec__toggle::after { content: ""; order: 1; flex: 1; block-size: 1px; background: currentColor; opacity: .4; }
.sec__toggle .chev { order: 2; }
.chev {
  flex: none; inline-size: 34px; block-size: 34px; border-radius: 50%; position: relative;
  border: 1.5px solid color-mix(in srgb, currentColor 45%, transparent);
  transition: transform .4s var(--ease), background .2s, color .2s;
}
.sec__toggle .chev { inline-size: 28px; block-size: 28px; }
.chev::before {
  content: ""; position: absolute; inset: 0; margin: auto; inline-size: 8px; block-size: 8px;
  border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.cat__toggle:hover .chev, .sec__toggle:hover .chev { background: var(--ink); color: var(--bg); }
.is-shut > .cat__inner > .cat__title .chev, .is-shut > .sec__title .chev { transform: rotate(-180deg); }

/* Folding: the row animates between 1fr and 0fr, so no heights are measured. */
.fold { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease); }
.fold__in { min-block-size: 0; overflow: hidden; padding-inline: 4px; margin-inline: -4px; transition: opacity .35s, visibility 0s; }
.is-shut > .fold, .is-shut > .cat__inner > .fold { grid-template-rows: 0fr; }
.is-shut > .fold > .fold__in, .is-shut > .cat__inner > .fold > .fold__in { opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .5s; }
.cat.is-shut .cat__inner { padding-block-end: 44px; }
.cat__inner { transition: padding .5s var(--ease); }

/* Parallax: --p runs from 1 (band entering) through 0 to negative (band leaving). */
.cat__toggle .fold__word { display: block; translate: 0 calc(var(--p, 0) * 54px); will-change: translate; }
.cat__deco {
  position: absolute !important; inset-block-start: -30px; inset-inline-end: calc(max(4%, 50% - 470px) + 62px);
  inline-size: clamp(150px, 34vw, 250px); aspect-ratio: 3 / 4.3; pointer-events: none;
  border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 999px 999px 0 0;
  translate: 0 calc(var(--p, 0) * -170px + 40px); will-change: translate;
}
.cat__deco::before, .cat__deco::after {
  content: ""; position: absolute; inset: 16px; border: inherit; border-radius: inherit;
  translate: 0 calc(var(--p, 0) * -34px);
}
.cat__deco::after { inset: 34px; background: color-mix(in srgb, var(--ink) 6%, transparent); translate: 0 calc(var(--p, 0) * -70px); }
.cat__foot { margin-block-start: 40px; font: italic 400 1.05rem/1.4 var(--serif); opacity: .85; }

.sec { margin-block-start: 40px; }
.sec { margin-block-start: 28px; }
.sec__title { font: 600 .86rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.sec__note { margin-block-start: 2px; font-size: .88rem; font-style: italic; opacity: .8; }
.items { display: grid; gap: 12px; padding-block: 12px 6px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.items--tight { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }

/* Dish cards */
.item {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 14px;
  background: color-mix(in srgb, var(--ink) 7%, var(--bg)); border-radius: 22px;
  box-shadow: inset 0 0 0 1.5px transparent;
  transition: transform .3s var(--ease), box-shadow .25s, background .25s, opacity .5s var(--ease);
}
.item:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--ink) 11%, var(--bg)); }
.item.is-in { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rv .item { opacity: 0; transform: translateY(18px); }
.rv .item.is-seen { opacity: 1; transform: none; transition-delay: calc(var(--n) * 60ms), 0s, 0s, calc(var(--n) * 60ms); }
.rv .item.is-seen:hover { transform: translateY(-3px); transition-delay: 0s; }
.rv .cat__title, .rv .sec__title { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv .cat__title.is-seen, .rv .sec__title.is-seen { opacity: 1; transform: none; }
.items--tight .item { padding: 14px 14px 12px; gap: 10px; border-radius: 18px; }
.items--tight .item__name { font-size: 1.02rem; }
.item__main { flex: 1; min-inline-size: 0; display: block; text-align: start; background: none; border: 0; padding: 0; }
/* The whole card opens the dish, not only its name. */
.item__main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.item__side { position: relative; z-index: 1; pointer-events: none; }
.item__side > * { pointer-events: auto; }
.item__name { display: block; font: 600 1.16rem/1.2 var(--serif); letter-spacing: -.005em; }
.item__tag {
  display: inline-block; vertical-align: middle; margin-inline-start: 4px; padding: 2px 8px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  font: 500 .68rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.item__sub { display: block; margin-block-start: 3px; font-size: .8rem; font-weight: 600; opacity: .8; }
.item__desc { display: block; margin-block-start: 5px; font-size: .93rem; line-height: 1.42; opacity: .86; text-wrap: pretty; }
.item__side { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; min-block-size: 36px; }
.item__price { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.item__ctl { display: flex; justify-content: flex-end; min-inline-size: 36px; }

.add {
  position: relative; inline-size: 36px; block-size: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-size: 1.3rem; line-height: 1; padding: 0 0 2px;
  transition: background .18s, color .18s, transform .18s var(--ease);
}
.add:hover, .item.is-in .add { background: var(--ink); color: var(--bg); }
.add:active { transform: scale(.9); }
.add__n {
  position: absolute; inset-block-start: -7px; inset-inline-end: -7px; min-inline-size: 20px; block-size: 20px; padding-inline: 5px;
  border-radius: 999px; background: var(--bg); color: var(--ink); border: 1.5px solid var(--ink);
  font: 700 .7rem/17px var(--sans); text-align: center;
}
.step {
  display: inline-flex; align-items: center; block-size: 36px; border-radius: 999px;
  background: var(--ink, var(--navy)); color: var(--bg, var(--sky));
}
.step__b { inline-size: 34px; block-size: 36px; border: 0; background: none; color: inherit; font-size: 1.2rem; line-height: 1; padding: 0 0 2px; border-radius: 999px; }
.step__b:disabled { opacity: .35; cursor: default; }
.step__q { min-inline-size: 20px; text-align: center; font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; }
.step { overflow: hidden; }

/* The + opens into the stepper; the number rolls the way it changed. */
.add:hover { transform: rotate(90deg); }
.add:active { transform: rotate(90deg) scale(.88); }
.add--back { animation: addBack .3s var(--ease); }
.step--open { animation: stepOpen .34s var(--ease); }
.step--open .step__q, .step--open .step__b:first-child { animation: fadeIn .3s .08s both; }
.tick-up { animation: tickUp .26s var(--ease); }
.tick-down { animation: tickDown .26s var(--ease); }
.bump { animation: bump .42s var(--ease); }
.line--new { animation: lineIn .38s var(--ease); }
@keyframes stepOpen { from { max-inline-size: 36px; } to { max-inline-size: 110px; } }
@keyframes addBack { from { transform: scale(.6) rotate(-90deg); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes tickUp { from { transform: translateY(70%); opacity: 0; } }
@keyframes tickDown { from { transform: translateY(-70%); opacity: 0; } }
@keyframes bump { 35% { transform: scale(1.28); } }
@keyframes lineIn { from { opacity: 0; transform: translateX(18px); } }
[dir="rtl"] .line--new { animation-name: lineInRtl; }
@keyframes lineInRtl { from { opacity: 0; transform: translateX(-18px); } }
.fly {
  position: fixed; z-index: 80; inline-size: 18px; block-size: 24px; pointer-events: none;
  background: var(--blush); border: 2px solid var(--navy); border-radius: 999px 999px 4px 4px;
}
.sheet[open] { animation: sheetIn .36s var(--ease); }
.sheet[open]::backdrop { animation: fadeIn .3s both; }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } }
.pill span { transition: background .15s, color .15s, border-color .15s, transform .2s var(--ease); }
.pill:active span { transform: scale(.94); }
.dock:not([hidden]) { animation: dockIn .45s var(--ease); }
@keyframes dockIn { from { transform: translateY(90px); } }

.menu__empty { padding: 56px 20px 80px; text-align: center; font: italic 400 1.15rem/1.4 var(--serif); }

/* ---------- Footer ---------- */
.foot { display: grid; justify-items: center; gap: 12px; padding: 56px 20px 48px; text-align: center; font-size: .88rem; }
.foot__logo { inline-size: 150px; margin-block-end: 8px; }
.foot__info { display: grid; grid-template-columns: auto auto; gap: 4px 16px; text-align: start; }
.foot__info dt { opacity: .65; }
.foot__note { opacity: .7; }

/* ---------- Order (cart) ---------- */
.cart {
  --ink: var(--sky); --bg: var(--navy);
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; max-block-size: 92dvh;
  display: flex; flex-direction: column; background: var(--navy); color: var(--sky);
  border-start-start-radius: 28px; border-start-end-radius: 28px;
  box-shadow: 0 -18px 50px rgb(0 10 30 / .45);
  transform: translateY(102%); visibility: hidden;
  transition: transform .38s var(--ease), visibility 0s .38s;
}
.cart-open .cart { transform: none; visibility: visible; transition: transform .38s var(--ease); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 8px; }
.cart__head h2 { font: 500 1.8rem/1 var(--serif); letter-spacing: -.01em; outline: 0; }
.cart__close { inline-size: 40px; block-size: 40px; border-radius: 50%; border: 1.5px solid rgb(189 223 255 / .4); background: none; font-size: 1.5rem; line-height: 1; padding: 0 0 3px; }
.cart__body { flex: 1; min-block-size: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 20px; }
.cart__empty { padding-block: 28px 36px; font: italic 400 1.1rem/1.4 var(--serif); opacity: .8; }
.line { display: flex; gap: 12px; padding-block: 14px; border-block-end: 1px solid rgb(189 223 255 / .18); }
.line__txt { flex: 1; min-inline-size: 0; }
.line__name { font: 600 1.05rem/1.25 var(--serif); }
.line__meta { margin-block-start: 2px; font-size: .84rem; opacity: .78; overflow-wrap: anywhere; }
.line__side { display: grid; justify-items: end; align-content: start; gap: 8px; flex: none; }
.line__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.line .step { block-size: 32px; background: transparent; color: var(--sky); border: 1.5px solid rgb(189 223 255 / .5); }
.line .step__b { block-size: 30px; inline-size: 30px; }

.details { display: grid; gap: 16px; margin-block-start: 22px; }
.seg legend, .field > span, .pick legend { display: block; margin-block-end: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.field > span i { font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .65; margin-inline-start: 4px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { float: inline-start; inline-size: 100%; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; opacity: 0; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; cursor: pointer; }
.pill span {
  display: inline-grid; place-items: center; min-block-size: 40px; padding: 6px 16px; border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, currentColor 45%, transparent); font-weight: 500; font-size: .95rem;
  transition: background .15s, color .15s, border-color .15s;
}
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pill input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 3px; }
.field { display: block; }
.field input, .field textarea {
  display: block; inline-size: 100%; padding: 11px 14px; border-radius: 14px; resize: vertical;
  border: 1.5px solid color-mix(in srgb, currentColor 40%, transparent); background: transparent; font-size: 1rem;
}
.field input:focus, .field textarea:focus { border-color: currentColor; outline: 0; }

.cart__foot { padding: 14px 20px max(18px, env(safe-area-inset-bottom)); border-block-start: 1px solid rgb(189 223 255 / .18); display: grid; gap: 10px; }
.cart__extra { font-size: .82rem; opacity: .75; }
.cart__total { display: flex; align-items: baseline; justify-content: space-between; }
.cart__total span { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cart__total b { font: 500 1.7rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.send {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 54px; border-radius: 999px;
  background: var(--sky); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.02rem;
  transition: transform .18s var(--ease), background .2s;
}
.send:hover { background: #fff; }
.send:active { transform: scale(.98); }
.cart__clear { justify-self: center; font-size: .85rem; font-weight: 500; opacity: .75; }

.scrim { position: fixed; inset: 0; z-index: 55; background: rgb(0 10 30 / .55); }

.dock {
  position: fixed; z-index: 40; inset-inline: 12px; inset-block-end: max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; min-block-size: 58px; padding-inline: 12px 20px;
  border: 0; border-radius: 999px; background: var(--sky); color: var(--navy);
  box-shadow: 0 10px 30px rgb(0 10 30 / .4); font-weight: 700; font-size: 1rem;
}
.dock__n { min-inline-size: 34px; block-size: 34px; padding-inline: 8px; border-radius: 999px; display: grid; place-items: center; background: var(--navy); color: var(--sky); font-variant-numeric: tabular-nums; }
.dock__total { margin-inline-start: auto; font-variant-numeric: tabular-nums; }
.cart-open .dock { display: none; }

/* ---------- Item sheet ---------- */
.sheet {
  --ink: var(--navy); --bg: var(--paper);
  inline-size: 100%; max-inline-size: 100%; max-block-size: 90dvh; margin: auto 0 0; padding: 0; border: 0;
  background: var(--paper); color: var(--navy); overflow-y: auto; overscroll-behavior: contain;
  border-start-start-radius: 28px; border-start-end-radius: 28px;
}
.sheet::backdrop { background: rgb(0 10 30 / .55); }
.sheet__form { position: relative; display: grid; gap: 22px; padding: 26px 20px 0; }
.sheet__close { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; inline-size: 40px; block-size: 40px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--navy) 30%, transparent); background: none; font-size: 1.5rem; line-height: 1; padding: 0 0 3px; }
.sheet__head { padding-inline-end: 48px; }
.sheet__kicker { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.sheet__title { margin-block-start: 6px; font: 500 1.9rem/1.05 var(--serif); letter-spacing: -.015em; outline: 0; }
.sheet__sub { margin-block-start: 6px; font-size: .85rem; font-weight: 600; opacity: .8; }
.sheet__desc { margin-block-start: 8px; line-height: 1.45; opacity: .88; }
.pick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pick__hint { margin-block-start: 8px; font-size: .84rem; opacity: .75; }
.sheet__foot {
  position: sticky; inset-block-end: 0; display: flex; align-items: center; gap: 12px;
  margin-inline: -20px; padding: 14px 20px max(16px, env(safe-area-inset-bottom));
  background: var(--paper); border-block-start: 1px solid color-mix(in srgb, var(--navy) 14%, transparent);
}
.sheet__foot .step { block-size: 50px; background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.sheet__foot .step__b { block-size: 48px; inline-size: 44px; }
.sheet__add {
  flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-block-size: 50px; padding-inline: 22px;
  border: 0; border-radius: 999px; background: var(--navy); color: var(--sky); font-weight: 700;
}
.sheet__add b { font-variant-numeric: tabular-nums; }
.sheet__add { white-space: nowrap; }
@media (max-width: 420px) { .sheet__add { padding-inline: 16px; font-size: .94rem; } .sheet__foot .step__b { inline-size: 36px; } }
@media (min-width: 640px) {
  .sheet { inline-size: 480px; margin: auto; border-radius: 28px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 70; inset-inline: 0; inset-block-end: 88px; margin-inline: auto; inline-size: max-content; max-inline-size: calc(100% - 32px);
  display: flex; gap: 14px; align-items: center; padding: 10px 18px; border-radius: 999px;
  background: var(--paper); color: var(--navy); font-weight: 600; font-size: .92rem; box-shadow: 0 8px 26px rgb(0 10 30 / .35);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Wide screens: the order sits beside the menu ---------- */
@media (min-width: 1100px) {
  :root { --bar-h: 68px; }
  body.has-dock { padding-block-end: 0; }
  .bar { padding-inline: 32px; }
  .bar__logo { inline-size: 112px; }
  .shell { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: start; overflow-x: clip; transition: grid-template-columns .5s var(--ease); }
  .cart-shut .shell { grid-template-columns: minmax(0, 1fr) 0px; }
  .cart-shut .cart { visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .5s; }
  .bar__cart[aria-expanded="true"] { background: var(--sky); color: var(--navy); }
  .bar__cart[aria-expanded="true"] .bar__count { background: var(--navy); color: var(--sky); }
  .cat__inner { padding-inline: 48px; }
  .tabs { padding-inline-start: 36px; }
  .tab { flex: 0 0 auto; padding-inline: 16px; }
  .chips__group { padding-inline: 48px; }
  .cart {
    position: sticky; inset-block-start: var(--bar-h); inset-block-end: auto; z-index: 10;
    block-size: calc(100dvh - var(--bar-h)); max-block-size: none;
    inline-size: 400px;
    transform: none; visibility: visible; transition: opacity .35s .15s; box-shadow: none; border-radius: 0;
    border-inline-start: 1px solid rgb(189 223 255 / .16);
  }
  .cart__head { padding: 28px 28px 8px; }
  .cart__body { padding-inline: 28px; }
  .cart__foot { padding-inline: 28px; padding-block-end: 24px; }
  .dock, .scrim { display: none !important; }
  .toast { inset-block-end: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}

/* ---------- Ordering from the table ---------- */
button.send { inline-size: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
button.send:disabled { opacity: .6; cursor: progress; }
.field--table input {
  font: 600 1.6rem/1 var(--serif); text-align: center; inline-size: 5.2rem; padding-block: 10px;
  -moz-appearance: textfield; appearance: textfield;
}
.field--table input::-webkit-outer-spin-button, .field--table input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field--table { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; }
.field__error { grid-column: 1 / -1; color: #ffb4a8; font-weight: 600; }
.field--table input[aria-invalid="true"] { outline: 2px solid #ffb4a8; outline-offset: 2px; }
/* How the last order sent from this phone is getting on. */
.placed {
  margin-block: 6px 18px; padding: 16px 18px; border-radius: 16px;
  background: var(--sky); color: var(--navy);
}
.placed__where { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.placed__status { font: 600 1.5rem/1.2 var(--serif); margin-block: 6px 12px; }
.placed__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.placed__steps li {
  padding-block-start: 8px; border-block-start: 4px solid rgb(0 39 99 / .18);
  font-size: .78rem; font-weight: 600; opacity: .55; transition: border-color .4s, opacity .4s;
}
.placed__steps li.is-on { border-color: var(--navy); opacity: 1; }
.placed[data-state="cancelled"] { background: var(--blush); color: var(--maroon); }
.placed[data-state="cancelled"] .placed__steps { display: none; }
.placed[data-state="cancelled"] .placed__status { font-size: 1.1rem; }
/* A dot on the Order button while an order is on its way. */
.bar__cart.has-order::after {
  content: ""; position: absolute; inset-block-start: -3px; inset-inline-end: -3px; inline-size: 12px; block-size: 12px;
  border-radius: 50%; background: var(--blush); box-shadow: 0 0 0 2px var(--navy);
}
