/* El Mariachi San Lucas — papel picado garden */

@font-face {
  font-family: "Big Shoulders Stencil";
  src: url("../fonts/big-shoulders-stencil.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --blush: #fdf2f7;
  --ink: #1d1626;
  --ink-2: #4b4256;
  --line: #e7dfea;
  --rosa: #d6036f;
  --rosa-2: #b0005b;
  --turquesa: #00a6a0;
  --morado: #6b2c91;
  --limon: #8cc63f;
  --naranja: #f26b21;
  --marigold: #ffb000;
  --marigold-2: #f29400;

  --display: "Big Shoulders Stencil", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --section: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  scrollbar-color: var(--rosa) #f4edf6;
}

body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--body);
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: lining-nums;
}

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

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-color: var(--rosa); }

::selection { background: var(--rosa); color: #fff; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .banner :focus-visible { outline-color: var(--marigold); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
h2 { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5.25rem); }
h3 { font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.9rem); line-height: 0.95; }
p { margin: 0; text-wrap: pretty; }

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

.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: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- cut paper ---------- */

/* Holes and fringes come from site.js (sized per element). Without JS, flags fall back to a CSS zigzag. */
[data-picado] {
  --zz: 7px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%;
}

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

.btn {
  --zz: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 3.4rem;
  padding: 0.85rem 1.35rem calc(0.85rem + var(--zz));
  border: 0;
  font: 800 1.3rem/1 var(--display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%;
  transition: background-color 0.2s, translate 0.25s var(--ease);
}
.btn:hover { translate: 0 2px; }
.btn:active { translate: 0 4px; }
.btn--go { background: var(--marigold); color: var(--ink); }
.btn--go:hover { background: var(--marigold-2); }
.btn--paper { background: #fff; color: var(--ink); }
.btn--paper:hover { background: var(--blush); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #352a42; }
.btn .icon { width: 1.05em; height: 1.05em; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em;
  font: 800 1.2rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 0.2em;
}
.link-arrow .icon { transition: translate 0.25s var(--ease); }
.link-arrow:hover .icon { translate: 4px 0; }

/* ---------- garland (header) ---------- */

.garland {
  --sag-top: 6px;
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  pointer-events: none;
}
.garland__string {
  position: absolute; inset: 0 0 auto; width: 100%; height: 60px; overflow: visible;
}
.garland__string path {
  fill: none; stroke: #fff; stroke-width: 2.25; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.35));
}
.garland__row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(0.35rem, 1vw, 0.9rem);
  padding-inline: var(--gutter);
}
.garland__row > * { pointer-events: auto; }
.garland__deco { flex: 1; display: flex; justify-content: space-evenly; pointer-events: none; overflow: hidden; padding-bottom: 1rem; }
.garland__nav { display: contents; }

.brand {
  flex: none;
  translate: 0 var(--y, 14px);
  border-radius: 50%;
  box-shadow: 0 10px 22px -10px rgb(0 0 0 / 0.6);
}
.brand img { width: clamp(3.4rem, 5.5vw, 4.75rem); height: auto; border-radius: 50%; }

.flags { display: flex; gap: clamp(0.3rem, 0.9vw, 0.75rem); margin: 0; padding: 0; list-style: none; }

.flag {
  --c: var(--rosa);
  --fg: #fff;
  --d: 5.5s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: clamp(4.1rem, 6.6vw, 6.1rem);
  height: clamp(5rem, 8.2vw, 7.4rem);
  padding: 0 0.25rem clamp(1.35rem, 2.1vw, 1.75rem);
  background: var(--c);
  color: var(--fg);
  box-shadow: inset 0 7px 0 rgb(0 0 0 / 0.16);
  font: 900 clamp(0.95rem, 0.75rem + 0.55vw, 1.25rem)/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transform-origin: 50% 0;
  translate: 0 var(--y, 16px);
  animation: sway var(--d) ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -0.9s);
}
.flag:hover, .flag:focus-visible { animation: flutter 0.9s ease-in-out infinite alternate; }
.flag[aria-current="page"] { background: var(--ink); color: #fff; }
.flag--call { --c: var(--marigold); --fg: var(--ink); flex: none; }
.flag--deco { width: clamp(2.6rem, 3.8vw, 3.6rem); height: clamp(3.2rem, 4.8vw, 4.4rem); padding: 0; }

@keyframes sway { from { rotate: -2.2deg; } to { rotate: 2.2deg; } }
@keyframes flutter { from { rotate: -6deg; } to { rotate: 5deg; } }

/* Compact garland once the hero is out of view */
.garland.is-compact {
  position: fixed;
  background: #fff;
  box-shadow: 0 10px 24px -18px rgb(29 22 38 / 0.55);
  animation: drop-in 0.45s var(--ease);
}
.garland.is-compact .garland__string { height: 22px; }
.garland.is-compact .garland__string path { stroke: var(--ink); filter: none; }
.garland.is-compact .garland__row { padding-bottom: 1.6rem; }
.garland.is-compact .flag:not(.flag--deco) { height: 3.6rem; padding-bottom: 1rem; font-size: 1rem; }
.garland.is-compact .flag--deco { height: 2.4rem; }
.garland.is-compact .brand { box-shadow: none; }
.garland.is-compact .brand img { width: 2.9rem; }
@keyframes drop-in { from { translate: 0 -100%; } }

/* Inner pages: garland sits on a colored field rather than a photo */
.garland--field .garland__string path { stroke: var(--ink); filter: none; }

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

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: max(40rem, min(100svh, 62rem));
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero__photo { position: absolute; inset: 0; z-index: -1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(20 12 24 / 0.42), rgb(20 12 24 / 0) 26%, rgb(20 12 24 / 0) 60%, rgb(20 12 24 / 0.38));
}

.sign {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(0.6rem, 1.4vw, 1.2rem);
  padding: 0 var(--gutter) clamp(3rem, 9vh, 6rem);
}
/* the cord the banner is folded over */
.sign::before {
  content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px;
  background: rgb(255 255 255 / 0.9);
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.3);
}
.sign .flag--deco { translate: 0 0; margin-top: 0; }
.sign__deco { display: flex; gap: clamp(0.6rem, 1.4vw, 1.2rem); flex: 1; overflow: hidden; padding-bottom: 1rem; }

.banner {
  position: relative;
  flex: none;
  width: min(41rem, 100%);
  padding: clamp(2.9rem, 4.5vw, 3.6rem) clamp(2.4rem, 4vw, 3.4rem) clamp(3.4rem, 5vw, 4.2rem);
  background: var(--rosa);
  color: #fff;
  box-shadow: inset 0 11px 0 rgb(0 0 0 / 0.16);
  transform-origin: 50% 0;
  animation: hang 1.6s var(--ease) both;
}
@keyframes hang { from { rotate: 3deg; } to { rotate: -0.6deg; } }

.banner h1 { font-size: clamp(2.7rem, 1.5rem + 4.6vw, 5.4rem); line-height: 0.86; }
.banner__lede { margin-top: 1.1rem; max-width: 34ch; font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); line-height: 1.5; }
.banner .actions { margin-top: 1.6rem; }

.status {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-top: 1.25rem;
  font-weight: 700; font-size: 0.98rem;
}
.status::before {
  content: ""; width: 0.65rem; height: 0.65rem; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / 0.35);
}
.status[data-open="true"]::before { background: var(--limon); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(140 198 63 / 0.7); } 100% { box-shadow: 0 0 0 10px rgb(140 198 63 / 0); } }

/* ---------- section edges ---------- */

.edge {
  --zz: 12px;
  position: relative;
  z-index: 3;
  display: block;
  height: 3rem;
  margin-bottom: -3rem;
  background: var(--c, #fff);
  pointer-events: none;
}

/* ---------- story ---------- */

.story { padding-block: var(--section) calc(var(--section) * 0.6); }
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.story .route { margin-top: 2.75rem; }
.story h2 { font-size: clamp(3rem, 1.6rem + 5.6vw, 6rem); }
.story h2 em { font-style: normal; color: var(--rosa); }
.story__lede { margin-top: 1.5rem; max-width: 44ch; font-size: 1.15rem; color: var(--ink-2); }

.route { position: relative; margin: 0; padding: 0.4rem 0 0 2.6rem; list-style: none; }
.route::before {
  content: ""; position: absolute; left: 0.62rem; top: 0.9rem; bottom: 1.4rem;
  border-left: 2px dashed var(--rosa);
}
.route li { position: relative; padding-bottom: 2.1rem; }
.route li:last-child { padding-bottom: 0; }
.route li::before {
  content: ""; position: absolute; left: -2.6rem; top: 0.15rem;
  width: 1.3rem; height: 1.55rem; background: var(--c, var(--rosa));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.route li:nth-child(2) { --c: var(--turquesa); }
.route li:nth-child(3) { --c: var(--morado); }
.route__stop {
  display: block;
  font: 900 1.45rem/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--rosa);
}
.route li:nth-child(2) .route__stop { color: #007f7a; }
.route li:nth-child(3) .route__stop { color: var(--morado); }
.route p { margin-top: 0.45rem; color: var(--ink-2); max-width: 42ch; }

.story__photo { margin: 0.5rem 0 0; position: sticky; top: 7rem; max-width: 30rem; }
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.story__photo figcaption { margin-top: 0.85rem; font-size: 0.92rem; color: var(--ink-2); }
.photo-flag { --zz: 10px; }

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

.dishes { padding-block: calc(var(--section) * 0.5) var(--section); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1.25rem 2.5rem; margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head p { max-width: 46ch; margin-top: 1rem; color: var(--ink-2); font-size: 1.1rem; }
.on-dark .section-head p { color: #d9d0e0; }

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.4vw, 2rem);
}
.dish { margin: 0; position: relative; }
.dish--lead { grid-column: span 2; grid-row: span 2; }
.dish__img { position: relative; }
.dish__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish--lead .dish__img img { aspect-ratio: 4 / 3.15; }
.dish figcaption { padding-top: 1rem; }
.dish h3 { display: flex; align-items: baseline; gap: 0.6rem; }
.dish p { margin-top: 0.4rem; color: var(--ink-2); max-width: 52ch; }
.dish--lead h3 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); }

.tag {
  --c: var(--rosa);
  --zz: 4px;
  position: absolute; top: 0; left: 1rem; z-index: 2;
  padding: 0.55rem 0.6rem calc(0.6rem + var(--zz));
  min-width: 3.2rem; text-align: center;
  background: var(--c); color: #fff;
  font: 900 1.25rem/1 var(--display); letter-spacing: 0.03em;
  box-shadow: inset 0 4px 0 rgb(0 0 0 / 0.16);
  transform-origin: 50% 0; rotate: -3deg;
}
.tag--ink { --c: var(--ink); }
.tag--teal { --c: var(--turquesa); color: var(--ink); }
.tag--purple { --c: var(--morado); }
.tag--lime { --c: var(--limon); color: var(--ink); }


/* ---------- patio ---------- */

.on-dark { background: var(--ink); color: #fff; }
.patio { position: relative; padding-block: calc(var(--section) + 1.5rem) calc(var(--section) + 2rem); overflow: hidden; }
.patio__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.patio h2 { font-size: clamp(3rem, 1.6rem + 5.4vw, 6rem); }
.patio h2 span { color: var(--limon); }
.patio__copy p { margin-top: 1.4rem; max-width: 40ch; color: #d9d0e0; font-size: 1.15rem; }
.patio__copy .actions { margin-top: 2rem; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 4.6vw));
  gap: clamp(0.6rem, 1.2vw, 1rem);
  min-height: 30rem;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic > :nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 7; }
.mosaic > :nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 4; }
.mosaic > :nth-child(3) { grid-column: 4 / 7; grid-row: 4 / 7; }


/* ---------- catering band ---------- */

.band-teal { background: var(--turquesa); color: var(--ink); }
.cater { padding-block: calc(var(--section) + 1.5rem) calc(var(--section) + 2rem); }
.cater h2 { max-width: 14ch; }
.cater .section-head p { color: #0d2b2a; }
.boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.box { margin: 0; background: #fff; padding: 0.75rem 0.75rem 2.2rem; --zz: 9px; }
.box__img { position: relative; }
.box__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.box figcaption { padding: 1.1rem 0.6rem 0; }
.box h3 { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.1rem); }
.box p { margin-top: 0.45rem; color: var(--ink-2); font-size: 0.98rem; }
.box .limited { display: inline-block; margin-top: 0.75rem; font-weight: 700; font-size: 0.85rem; color: var(--rosa-2); }
.cater .actions { margin-top: clamp(2rem, 4vw, 3rem); }

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

.visit { padding-block: calc(var(--section) + 1.5rem) var(--section); }
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.visit address { margin-top: 1.4rem; font-style: normal; font-size: 1.3rem; line-height: 1.4; font-weight: 500; }
.visit .actions { margin-top: 1.6rem; }

.hours { width: 100%; max-width: 26rem; margin-top: 2.4rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font: 900 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; padding-bottom: 0.75rem; }
.hours th, .hours td { padding: 0.6rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours .is-today th, .hours .is-today td { font-weight: 800; color: var(--rosa-2); }
.hours .is-today th::after { content: " · today"; font-weight: 600; }
.visit__note { margin-top: 1.4rem; max-width: 44ch; color: var(--ink-2); font-size: 0.98rem; }

.map {
  --zz: 12px;
  position: relative;
  min-height: 30rem;
  height: 100%;
  background: var(--blush);
}
.map iframe, .map__fallback { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }

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

.foot { position: relative; padding: 7rem 0 calc(2.5rem + var(--bar, 0px)); overflow: hidden; }
.foot__garland { position: absolute; inset: 0 0 auto; }
.foot__garland::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: rgb(255 255 255 / 0.85); }
.foot__garland .sign__deco { padding: 0 var(--gutter); gap: clamp(0.5rem, 1.2vw, 1rem); justify-content: center; }
.foot .foot__big { color: #fff; font: 900 clamp(3rem, 1.4rem + 5.6vw, 6rem)/1.05 var(--display); text-transform: uppercase; max-width: 12ch; }
.foot__big span { display: block; margin-top: 0.14em; color: var(--turquesa); }
.foot__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.16);
}
.foot .foot__h { font-size: 1.25rem; letter-spacing: 0.05em; color: var(--limon); margin-bottom: 0.8rem; }
.foot p, .foot li, .foot address { color: #d9d0e0; font-style: normal; font-size: 0.98rem; line-height: 1.7; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot a { text-decoration-color: rgb(255 255 255 / 0.35); }
.foot a:hover { color: #fff; text-decoration-color: var(--marigold); }
.foot__social { display: inline-flex; align-items: center; gap: 0.5rem; }
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; color: #a99fb3; font-size: 0.88rem;
}

/* ---------- mobile action bar ---------- */

.actionbar { display: none; }

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

.page-head {
  position: relative;
  padding: clamp(10rem, 16vw, 12.5rem) 0 clamp(4rem, 7vw, 5.5rem);
  background: var(--c, var(--rosa));
  color: var(--fg, #fff);
  overflow: hidden;
}
.page-head h1 { font-size: clamp(3.4rem, 1.6rem + 7vw, 6rem); }
.page-head p { margin-top: 1.1rem; max-width: 52ch; font-size: 1.15rem; }
.page-head .actions { margin-top: 1.75rem; }
.page-head--teal { --c: var(--turquesa); --fg: var(--ink); }
.page-head--lime { --c: var(--limon); --fg: var(--ink); }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.page-head__photo img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }

.sign .flag--deco, .foot__garland .flag--deco { translate: 0 0; }
.party__list h3 { font-size: 1.55rem; }
.party__list p { margin-top: 0.35rem; color: var(--ink-2); }

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

.menu-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.search {
  --zz: 5px;
  position: relative; flex: 1 1 18rem; max-width: 26rem;
}
.search input {
  width: 100%;
  padding: 1rem 1rem calc(1rem + var(--zz)) 3rem;
  border: 0; border-radius: 0;
  background: #fff; color: var(--ink);
  font: 500 1.05rem/1.2 var(--body);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%;
}
.search input::placeholder { color: #6e6378; }
.search input:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--ink); }
.search .icon { position: absolute; left: 1rem; top: 1.05rem; z-index: 1; color: var(--ink); }
.menu-tools a { color: inherit; font-weight: 700; }

.tabs {
  position: sticky; top: 0; z-index: 30;
  background: #fff;
  box-shadow: 0 10px 22px -20px rgb(29 22 38 / 0.6);
}
.tabs__inner { position: relative; }
.tabs__inner::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0.4rem; height: 2px; background: var(--ink); z-index: 1;
}
.tabs ul {
  display: flex; gap: 0.45rem; margin: 0; padding: 0.15rem var(--gutter) 0.75rem;
  list-style: none; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.tabs ul::-webkit-scrollbar { display: none; }
.tabs li { scroll-snap-align: start; flex: none; }
.tabs .flag {
  width: auto; min-width: 4.4rem; height: 3.7rem; padding: 0 0.7rem 1.05rem;
  translate: 0 0; font-size: 1rem; animation: none;
  transition: translate 0.3s var(--ease);
}
.tabs .flag[aria-current="true"] { background: var(--ink); color: #fff; translate: 0 6px; }

.menu { padding-block: clamp(3rem, 6vw, 4.5rem) var(--section); }
.menu-section { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); scroll-margin-top: 5.5rem; }
.menu-section:last-of-type { border-bottom: 0; }
.menu-section__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: end; margin-bottom: 1.75rem; }
.menu-section h2 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem); }
.menu-section h2 small {
  display: block; margin-top: 0.5rem;
  font: 600 1.05rem/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink-2);
}
.menu-section__note { max-width: 60ch; margin: -0.5rem 0 1.75rem; color: var(--ink-2); }
.menu-section__photo { width: clamp(9rem, 18vw, 13.5rem); }
.menu-section__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem clamp(2rem, 5vw, 4.5rem); margin: 0; padding: 0; list-style: none; }
.item__line { display: flex; align-items: baseline; gap: 0.6rem; }
.item__name { font: 800 1.3rem/1.1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.item__dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted #b9adc3; translate: 0 -0.3em; }
.item__price { font: 900 1.35rem/1 var(--display); color: var(--rosa-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item__desc { margin-top: 0.3rem; color: var(--ink-2); font-size: 0.98rem; line-height: 1.5; }
.item__tags { display: inline-flex; gap: 0.3rem; vertical-align: -0.2em; margin-left: 0.15rem; }
.item__tags .icon { width: 1.05rem; height: 1.05rem; }
.t-v { color: #4f8a12; } .t-s { color: #c4361a; } .t-n { color: #8a5a2b; }
.badge-new { font: 800 0.8rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--rosa); padding: 0.25rem 0.4rem; translate: 0 -0.2em; }

.menu-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.5rem; font-size: 0.95rem; }
.menu-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.menu-fine { margin-top: 2.5rem; padding: 1.5rem 1.6rem 2rem; background: var(--blush); font-size: 0.98rem; color: var(--ink-2); --zz: 7px; }
.menu-empty { padding: 3rem 0; font-size: 1.15rem; }
.menu-empty strong { font-family: var(--display); font-size: 1.8rem; text-transform: uppercase; display: block; margin-bottom: 0.4rem; color: var(--ink); }

/* ---------- catering page ---------- */

.ways { padding-block: var(--section) calc(var(--section) * 0.6); }
.ways__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start;
}
.ways__grid::before {
  content: ""; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 3px;
  height: 2px; background: var(--ink);
}
.way { translate: 0 var(--drop, 0); }
.way__flag {
  --zz: 9px;
  margin: 0; padding: 1.5rem 1.3rem 2.1rem;
  background: var(--c); color: var(--fg, #fff);
  font-size: clamp(1.7rem, 1.3rem + 1.1vw, 2.3rem);
  box-shadow: inset 0 9px 0 rgb(0 0 0 / 0.16);
  transform-origin: 50% 0; rotate: -0.7deg;
}
.way:nth-child(2) .way__flag { rotate: 0.6deg; }
.way__photo { margin-top: 1.1rem; }
.way__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.way p { margin-top: 1rem; color: var(--ink-2); max-width: 44ch; }

.party { padding-block: calc(var(--section) * 0.4) var(--section); }
.party__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.4vw, 2rem); }
.party__item { margin: 0; }
.party__item .dish__img img { aspect-ratio: 5 / 4; }
.party__item figcaption { padding-top: 0.95rem; }
.party__item p { margin-top: 0.4rem; color: var(--ink-2); }
.party__list { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2.5rem; padding: 0; list-style: none; }

.trays { padding-block: var(--section); border-top: 1px solid var(--line); }
.trays__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.tray-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tray-table caption { text-align: left; font: 900 1.9rem/1 var(--display); text-transform: uppercase; padding-bottom: 0.8rem; }
.tray-table th, .tray-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tray-table thead th { font: 700 0.82rem/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.tray-table td { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 1rem; }
.tray-table tbody th { font-weight: 600; }
.tray-table tbody th small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.9rem; }
.trays__note { margin-top: 2.5rem; max-width: 70ch; color: var(--ink-2); }

.inquiry { padding-block: calc(var(--section) + 1.5rem) var(--section); }
.inquiry__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.inquiry__aside p { margin-top: 1.2rem; color: #d9d0e0; max-width: 40ch; }
.inquiry__aside .actions { margin-top: 1.8rem; }

.form {
  --zz: 12px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem) calc(clamp(2rem, 4vw, 3rem) + 12px);
  background: #fff; color: var(--ink);
}
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field label span { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 0.9rem;
  border: 2px solid #cfc3d8; border-radius: 0; background: #fff; color: var(--ink);
  font: 500 1rem/1.3 var(--body);
  transition: border-color 0.2s;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9c8daa; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(214 3 111 / 0.25); }
.field input:user-invalid, .field select:user-invalid { border-color: #c4361a; }
.field .err { display: none; color: #b12c12; font-size: 0.88rem; font-weight: 600; }
.field input:user-invalid ~ .err, .field select:user-invalid ~ .err { display: block; }
.form__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.4rem; }
.form__submit small { color: var(--ink-2); max-width: 36ch; }
.form__done { grid-column: 1 / -1; padding: 1.25rem 1.4rem; background: #eaf6dc; color: #1f3a07; font-weight: 600; }
.form__done[hidden] { display: none; }

/* ---------- gallery ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.8rem; }
.chip {
  --zz: 4px;
  padding: 0.6rem 1rem calc(0.6rem + var(--zz));
  border: 0; background: #fff; color: var(--ink);
  font: 800 1.1rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }

.gallery { padding-block: clamp(3rem, 6vw, 4.5rem) var(--section); }
.masonry { columns: 3 18rem; column-gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.shot { break-inside: avoid; margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem); }
.shot[hidden] { display: none; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.shot img { width: 100%; transition: filter 0.3s; }
.shot button:hover img { filter: brightness(1.06) saturate(1.08); }
.shot figcaption { padding: 0.5rem 0 0.2rem; font-size: 0.92rem; color: var(--ink-2); }

.lightbox {
  width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgb(20 12 24 / 0.88); }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; }
.lightbox__bar p { font-size: 1rem; }
.lightbox__btns { display: flex; gap: 0.5rem; }
.lightbox__btns .btn { min-height: 2.9rem; padding-inline: 1rem; font-size: 1.05rem; }

/* ---------- proposal ---------- */

.doc { padding-block: var(--section); }
.doc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.doc h2 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem); }
.doc p.lede { margin-top: 1rem; max-width: 60ch; color: var(--ink-2); font-size: 1.15rem; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.compare figure { margin: 0; }
.compare img { width: 100%; border: 1px solid var(--line); }
.compare figcaption { margin-top: 0.6rem; font-weight: 700; }
.findings { margin: 2.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.findings li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.5rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.findings li:last-child { border-bottom: 1px solid var(--line); }
.findings .sev { font: 900 1.2rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.sev--high { color: #b12c12; } .sev--med { color: #a35f00; } .sev--low { color: var(--ink-2); }
.findings h3 { font-size: 1.5rem; }
.findings p { margin-top: 0.35rem; color: var(--ink-2); max-width: 70ch; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.stat { padding: 1.5rem 1.4rem 2.2rem; background: var(--blush); --zz: 8px; }
.stat b { display: block; font: 900 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--display); }
.stat s { color: #6e6378; font-weight: 600; }
.stat span { display: block; margin-top: 0.5rem; color: var(--ink-2); font-size: 0.95rem; }
.checklist { margin: 2rem 0 0; padding: 0; list-style: none; columns: 2 20rem; column-gap: 3rem; }
.checklist li { break-inside: avoid; padding: 0.75rem 0 0.75rem 2rem; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 1rem; height: 1.15rem; background: var(--rosa); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); }

/* ---------- specials, story, Express ---------- */

a.chip { display: inline-block; text-decoration: none; }

.banner__special {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.4rem; padding: 0.55rem 0.85rem;
  background: #fff; color: var(--ink); text-decoration: none;
  font: 800 1.05rem/1.15 var(--display); letter-spacing: 0.05em; text-transform: uppercase;
}
.banner__special .icon, .menu-special .icon { transition: translate 0.25s var(--ease); }
.banner__special:hover .icon, .menu-special:hover .icon { translate: 4px 0; }

.band-orange { background: var(--naranja); color: var(--ink); }
.band-orange .section-head p { color: #2a1406; }
.specials { padding-block: calc(var(--section) * 0.8) calc(var(--section) * 0.8 + 1.5rem); }
.specials .actions { margin-top: clamp(2rem, 4vw, 3rem); }
.seasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.season { --zz: 10px; padding: 2.1rem 0.75rem 2.6rem; background: linear-gradient(var(--c) 0 1.45rem, #fff 0); }
.season__photo { display: block; }
.season__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.season__body { padding: 0.9rem 0.6rem 0; }
.season__when { font: 800 0.85rem/1.3 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.special .season__when { margin-bottom: 0.7rem; color: var(--rosa-2); }
.season h3 { margin-top: 0.4rem; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); }
.season h3 a { text-decoration: none; }
.season h3 a:hover { text-decoration: underline; text-decoration-color: var(--rosa); }
.season__items { display: grid; gap: 0.55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.season__items li { display: flex; align-items: baseline; gap: 0.5rem; font-weight: 600; line-height: 1.25; }
.season__items b { font: 900 1.3rem/1 var(--display); color: var(--rosa-2); }

.special { padding-block: calc(var(--section) * 0.8) 0; }
.special + .express { margin-top: var(--section); }
.special .party__grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.menu-special { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.85rem; background: var(--naranja); text-decoration: none; }

.story__more { margin-top: 1rem; max-width: 52ch; color: var(--ink-2); }
.story__h { margin-top: 2.25rem; font-size: 2rem; }
.vision { margin: 2.75rem 0 2rem; padding-top: 1.25rem; border-top: 4px dotted var(--rosa); }
.vision p { max-width: 46ch; font-size: 1.2rem; font-weight: 600; line-height: 1.45; }
.vision cite { display: block; margin-top: 0.75rem; font: 900 1.1rem/1 var(--display); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rosa-2); }
.vision-band { padding-block: var(--section) calc(var(--section) + 1rem); }
.vision-band .vision { margin: 0; border-top-color: var(--limon); }
.vision-band .vision p { max-width: 26ch; font: 900 clamp(2rem, 1.2rem + 2.8vw, 3.6rem)/1.02 var(--display); text-transform: uppercase; }
.vision-band .vision cite { color: var(--limon); }

.philosophy { padding-block: var(--section) calc(var(--section) + 1rem); }
.philosophy__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.philosophy__grid p { max-width: 52ch; font-size: 1.15rem; }
.philosophy__grid p + p { margin-top: 1.1rem; }
.philosophy .actions { margin-top: 1.8rem; }

.express { padding-block: calc(var(--section) * 0.85); background: var(--blush); }
.express__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.express__logo { --zz: 10px; position: relative; padding: 3.4rem 2rem 3.2rem; background: #fff; }
.express__logo .tag { --c: var(--marigold); color: var(--ink); }
.express__logo img { width: 100%; max-width: 28rem; margin-inline: auto; }
.express h2 em { font-style: normal; color: var(--rosa-2); }
.express h2 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.4rem); }
.express p { margin-top: 1rem; max-width: 42ch; color: var(--ink-2); font-size: 1.1rem; }
.express .actions { margin-top: 1.6rem; }

.offer { padding-block: calc(var(--section) * 0.5) var(--section); }
.offer__list { counter-reset: offer; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem clamp(1.5rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.offer__list li { counter-increment: offer; padding-top: 1rem; border-top: 2px solid var(--ink); }
.offer__list p { margin-top: 0.45rem; color: var(--ink-2); }
.why { --zz: 10px; display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: 1.5rem 3rem; align-items: start; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 2.3rem clamp(1.5rem, 3vw, 2.5rem) 3rem; background: var(--limon); }
.why__h { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.why dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; }
.why dt { font: 900 1.5rem/1 var(--display); text-transform: uppercase; }
.why dd { margin: 0.45rem 0 0; color: #23310f; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .special .party__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .party__grid > :last-child:nth-child(odd) .dish__img img { aspect-ratio: 2 / 1; }
}

@media (max-width: 860px) {
  .seasons, .express__grid, .philosophy__grid, .why { grid-template-columns: minmax(0, 1fr); }
  .season { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0.25rem; align-items: start; }
  .offer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .flags .flag--wide { display: none; }
  .garland .flag:not(.flag--deco), .garland.is-compact .flag:not(.flag--deco) { padding-inline: 0.15rem; font-size: 0.86rem; letter-spacing: 0.02em; }
  .special .party__grid, .why dl { grid-template-columns: minmax(0, 1fr); }
  .party__grid > :last-child:nth-child(odd) .dish__img img { aspect-ratio: 5 / 4; }
}

@media (max-width: 560px) {
  .season { display: block; }
  .offer__list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 400px) {
  .garland .flag:not(.flag--deco), .garland.is-compact .flag:not(.flag--deco) { font-size: 0.78rem; letter-spacing: 0; }
}

@media (max-width: 1080px) {
  .garland__deco { display: none; }
  .garland__row { justify-content: space-between; }
  .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dish--lead { grid-column: 1 / -1; grid-row: auto; }
  .boxes, .party__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boxes > :last-child, .party__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .story__grid, .patio__grid, .visit__grid, .inquiry__grid, .trays__grid, .doc__grid, .page-head__grid { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-rows: repeat(6, 11vw); min-height: 0; }
  .ways__grid { grid-template-columns: minmax(0, 1fr); }
  .way { translate: 0 0; }
  .story__photo { position: relative; top: 0; }
  .items { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 22rem; }
  .party__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --bar: 4.6rem; }
  .flag--call { display: none; }
  .flags { gap: 0.3rem; }
  .flag { width: 3.95rem; height: 4.7rem; padding-bottom: 1.15rem; font-size: 0.9rem; letter-spacing: 0.04em; }
  .garland .flags, .garland .brand { margin-left: auto; }
  .garland .brand { margin-left: 0; margin-right: auto; }
  .sign__deco { display: none; }
  .sign { padding-bottom: 1.25rem; }
  .banner { width: 100%; padding: 2.6rem 1.6rem 3.4rem; }
  .banner .actions .btn { flex: 1 1 auto; }
  .hero { min-height: max(44rem, 100svh); }
  .dish-grid, .boxes, .party__grid { grid-template-columns: minmax(0, 1fr); }
  .boxes > :last-child { grid-column: auto; }
  .menu-section__head { grid-template-columns: minmax(0, 1fr); }
  .menu-section__photo { display: none; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .findings li { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .party__list { grid-template-columns: minmax(0, 1fr); }

  .actionbar {
    position: fixed; inset: auto 0 0; z-index: 50;
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0.4rem;
    padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -10px 24px -18px rgb(29 22 38 / 0.6);
  }
  .actionbar .btn { min-height: 3.1rem; padding-inline: 0.5rem; font-size: 1.1rem; gap: 0.4rem; }
}

@media (max-width: 400px) {
  .flag { width: 3.6rem; font-size: 0.82rem; }
  .brand img { width: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.tray-table th:not(:first-child), .tray-table td { width: 6.25rem; text-align: right; padding-left: 1rem; }
