/* =========================================================================
   Lunch Rush — landing page
   Tokens from the final logo (final_logo.jpeg): green #052F17, orange #FE711D, white.
   Display type is the logo's tagline face, Bebas Neue; text is Onest.
   The hero is the logo's arch with the steaming bowl at the top; the speed bars next to RUSH
   are the motion motif. Motion rule: things arrive from the left and brake. No blur.
   ========================================================================= */

/* Fonts are subset to the glyphs a Romanian page needs (ă â î ș ț, quotes, dashes, €).
   Bebas Neue has a single weight: the face is declared for the whole weight range so the
   browser never fakes a bold. Onest is variable, wght 400–700. */
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-ro.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-ro.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --green: #052F17;
  --green-deep: #03200F;
  --green-raise: #0A3B20;
  --green-line: rgba(255, 255, 255, .14);
  --orange: #FE711D;
  --orange-ink: #B84A0C;          /* orange for text and lines on white (4.6:1) */
  --white: #FFFFFF;
  --mist: rgba(255, 255, 255, .8);
  /* flat orange, kept as an image so background-size tricks (underlines) still work */
  --sun: linear-gradient(var(--orange), var(--orange));
  /* the speed bars next to RUSH in the logo */
  --speed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 100' fill='%23FE711D'%3E%3Crect x='54' width='96' height='14.3' rx='7.15'/%3E%3Crect x='2.4' y='28.6' width='147.6' height='14.3' rx='7.15'/%3E%3Crect x='27.9' y='57.2' width='122.1' height='14.3' rx='7.15'/%3E%3Crect y='85.7' width='150' height='14.3' rx='7.15'/%3E%3C/svg%3E");

  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-text: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.25rem, 4.2vw, 4rem);
  --max: 90rem;
  --header-h: 4.25rem;
  --radius-panel: 1.75rem;
  --ease-brake: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 64rem) {
  :root { --header-h: 4.75rem; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  min-width: 18.75rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, p, ul, dl, dd, figure, address { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--focus, var(--orange)); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--green); }

.skip {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .8rem 1.1rem; border-radius: 999px;
  background: var(--white); color: var(--green);
  font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: transparent; --trail: var(--orange);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 3rem; padding: .75rem 1.35rem;
  border: 2px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 1rem/1.1 var(--font-text);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease-brake), background-color .2s, color .2s, border-color .2s;
}
.btn--lg { min-height: 3.5rem; padding: .95rem 1.65rem; font-size: 1.0625rem; }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--green); }
.btn--line { --btn-bd: rgba(255, 255, 255, .55); --trail: var(--white); }
.btn--ink { --btn-bg: var(--green); --btn-fg: var(--white); --trail: var(--green); }
.btn--ink-line { --btn-bd: var(--green); --btn-fg: var(--green); --trail: var(--green); }
/* speed bars that appear behind a button on hover */
.btn::before {
  content: ""; position: absolute; right: calc(100% + .35rem); top: 50%;
  width: 1.5rem; height: 3px; margin-top: -1.5px; border-radius: 2px;
  background: var(--trail);
  box-shadow: .55rem -7px 0 var(--trail), .3rem 7px 0 var(--trail);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .35s var(--ease-brake);
  pointer-events: none;
}
@media (hover: hover) {
  .btn:hover { transform: translateX(4px); }
  .btn:hover::before { transform: scaleX(1); }
  .btn--line:hover { --btn-bd: var(--white); }
  .btn--ink-line:hover { --btn-bg: var(--green); --btn-fg: var(--white); }
}
.btn:active { transform: translateX(2px) scale(.98); }

/* ---------- status pill ---------- */
.status {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .42rem .95rem .42rem .75rem; border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16);
  font-size: .95rem; font-weight: 600; line-height: 1.3;
}
.status__dot { width: .6rem; height: .6rem; border-radius: 50%; background: rgba(255, 255, 255, .45); flex: none; }
.status.is-open .status__dot { background: var(--orange); box-shadow: 0 0 0 3px rgba(254, 113, 29, .3); }
.status.is-closed .status__dot { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.status--ink { background: rgba(5, 47, 23, .07); box-shadow: inset 0 0 0 1.5px rgba(5, 47, 23, .22); }
.status--ink.is-open .status__dot { background: var(--green); box-shadow: 0 0 0 3px rgba(5, 47, 23, .18); }
.status--ink.is-closed .status__dot { background: transparent; box-shadow: inset 0 0 0 2px var(--orange-ink); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled,
.site-header.is-open { background: var(--green); box-shadow: 0 1px 0 var(--green-line); }
.site-header__inner {
  max-width: var(--max); margin: 0 auto;
  height: var(--header-h); padding: 0 var(--gutter);
  display: flex; align-items: center; gap: .75rem;
}
.brand { display: block; flex: none; border-radius: 8px; }
.brand img { height: 3rem; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; display: block; padding: .5rem 0; font-weight: 600; text-decoration: none; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 3px; border-radius: 2px;
  background: var(--sun); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--ease-brake);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.header-call, .nav-toggle { display: none; }

@media (min-width: 64rem) {
  .brand img { height: 3.4rem; }
}

@media (max-width: 63.99rem) {
  .header-call, .nav-toggle {
    display: grid; place-items: center; flex: none;
    width: 2.85rem; height: 2.85rem; border-radius: 50%;
  }
  .header-call { margin-left: auto; background: var(--sun); color: var(--green); }
  .header-call .icon { width: 1.25rem; height: 1.25rem; }
  .nav-toggle {
    border: 2px solid rgba(255, 255, 255, .4); background: transparent; color: var(--white);
    cursor: pointer; padding: 0;
  }
  .nav-toggle__bars { position: relative; width: 1.15rem; height: .8rem; }
  .nav-toggle__bars span {
    position: absolute; left: 0; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .3s var(--ease-brake), opacity .2s, width .3s var(--ease-brake);
  }
  .nav-toggle__bars span:nth-child(1) { top: 0; width: 100%; }
  .nav-toggle__bars span:nth-child(2) { top: calc(50% - 1px); width: 70%; }
  .nav-toggle__bars span:nth-child(3) { bottom: 0; width: 85%; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(.3rem) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { width: 100%; transform: translateY(-.32rem) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0;
    flex-direction: column; align-items: flex-start; gap: 1.75rem;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--green); box-shadow: inset 0 1px 0 var(--green-line);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-.75rem);
    transition: opacity .25s, transform .35s var(--ease-brake), visibility 0s .35s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .35s var(--ease-brake); }
  .nav__list { flex-direction: column; gap: 0; width: 100%; }
  .nav__link {
    font-family: var(--font-display); font-weight: 400; letter-spacing: .02em;
    font-size: clamp(2.4rem, 10vw, 3.2rem); line-height: 1.05; padding: .35rem 0;
  }
  .nav__link::after { bottom: .1rem; height: 4px; }
}

/* =========================================================================
   Hero — the logo's arch, with the steaming bowl in the gap at the top
   ========================================================================= */
.hero {
  --emblem-w: clamp(4.4rem, 8.5vw, 6.6rem);
  --emblem-h: calc(var(--emblem-w) * 1.128);
  --arch-line: 3px;
  --arch-top: calc(var(--header-h) + var(--emblem-h) * .56 + .5rem);
  --arch-ry: min(34vw, 40svh);
  --arch-w: min(calc(100% - 2 * var(--gutter)), 84rem);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 3.25rem);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--arch-top) + var(--arch-ry) * .42) var(--gutter) 2.5rem;
  text-align: center;
}
.hero__arch {
  position: absolute; z-index: -1; top: var(--arch-top); bottom: 0; left: 50%;
  width: var(--arch-w); translate: -50% 0;
  border: var(--arch-line) solid var(--white); border-bottom: 0;
  border-radius: 50% 50% 0 0 / var(--arch-ry) var(--arch-ry) 0 0;
  pointer-events: none;
}
.hero__emblem {
  position: absolute; z-index: 0; left: 50%;
  top: calc(var(--arch-top) + var(--arch-line) / 2 - var(--emblem-h) * .56);
  width: var(--emblem-w); translate: -50% 0;
  pointer-events: none;
}
/* the gap in the arch, as in the logo: a strip of the background behind the bowl */
.hero__emblem::before {
  content: ""; position: absolute; z-index: -1;
  left: -26%; right: -26%; top: 50%; height: calc(var(--emblem-h) * .18);
  background: var(--green);
}
.hero__emblem svg { width: 100%; height: auto; overflow: visible; fill: var(--white); }
.hero__copy { position: relative; z-index: 1; width: 100%; max-width: 54rem; margin: 0 auto; }
.hero__title {
  margin-top: 1.1rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 11.5vw, 5.2rem);
  line-height: 1; letter-spacing: .01em;
}
.hero__line { position: relative; display: block; width: fit-content; margin-inline: auto; white-space: nowrap; }
.hero__lead {
  margin: 1.2rem auto 0; max-width: 36ch; text-wrap: balance;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--mist);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
@media (max-width: 39.99rem) {
  .hero {
    --arch-line: 2.5px;
    --emblem-w: 3.3rem;
    --arch-top: calc(var(--header-h) + var(--emblem-h) * .56 + .3rem);
    --arch-ry: min(30vw, 34svh);
    padding: calc(var(--arch-top) + var(--arch-ry) * .3) calc(var(--gutter) + 1.1rem) 1.25rem;
  }
  .hero__title { margin-top: .8rem; }
  .hero__lead { margin-top: .85rem; line-height: 1.45; }
  .hero__actions { margin-top: 1.1rem; gap: .6rem; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 0; }
}
@media (max-width: 29.99rem) {
  .hero__num { display: none; }      /* "Sună" with the phone icon; the number is in the footer */
}

@media (min-width: 40rem) {
  .hero__title { font-size: clamp(4rem, 11vw, 7.4rem); }
  .hero__actions .btn { min-width: 12rem; }
}
@media (min-width: 64rem) {
  .hero {
    --arch-line: 4px;
    --emblem-w: clamp(4.4rem, min(8.5vw, 12svh), 6.6rem);
    padding-top: calc(var(--arch-top) + var(--arch-ry) * .3);
    padding-bottom: clamp(2.25rem, 5svh, 4.5rem);
  }
  .hero__title { font-size: clamp(4rem, min(7.4vw, 11svh), 9.25rem); }
  .hero__lead { max-width: 46ch; }
}

/* hero intro, one sequence: the arch rises from the band, the bowl lands in the gap,
   the steam goes up, then the lines rush in from the left and brake (no blur, only bars) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__arch { animation: arch-rise 1.15s var(--ease-out) .05s both; }
  .js .hero__emblem svg { animation: emblem-land .75s var(--ease-brake) .8s both; }
  .js .hero__emblem::before { animation: gap-open .3s linear .8s both; }
  .js .steam { transform-box: fill-box; transform-origin: 50% 100%; animation: steam-up .9s var(--ease-out) 1.2s both; }
  .js .steam--l { animation-delay: 1.32s; }
  .js .steam--r { animation-delay: 1.4s; }

  .js .hero__line { animation: line-rush .95s var(--ease-brake) both; animation-delay: .3s; }
  .js .hero__line:nth-child(2) { animation-delay: .42s; }
  .js .hero__line:nth-child(3) { animation-delay: .54s; }
  .js .hero__line::before {
    content: ""; position: absolute; top: .16em; bottom: .16em; right: calc(100% + .12em);
    width: 0;
    background: repeating-linear-gradient(to bottom, var(--orange) 0 .085em, transparent .085em .19em);
    animation: line-trail .95s var(--ease-brake) both;
    animation-delay: inherit;
  }
  .js .hero .status,
  .js .hero__lead,
  .js .hero__actions { animation: slide-in .8s var(--ease-brake) both; }
  .js .hero .status { animation-delay: .75s; }
  .js .hero__lead { animation-delay: .9s; }
  .js .hero__actions { animation-delay: 1s; }
}
@keyframes arch-rise {
  from { clip-path: inset(100% -10px 0 -10px); }
  to { clip-path: inset(-10px -10px 0 -10px); }
}
@keyframes emblem-land {
  0%   { transform: translateY(-70%) rotate(-14deg); opacity: 0; }
  20%  { opacity: 1; }
  70%  { transform: translateY(5%) rotate(2deg); }
  100% { transform: none; opacity: 1; }
}
@keyframes gap-open { from { transform: scaleX(0); } to { transform: none; } }
@keyframes steam-up {
  from { transform: translateY(35%) scale(.3, .2); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes line-rush {
  0%   { transform: translateX(-80vw) skewX(-16deg); opacity: 0; }
  12%  { opacity: 1; }
  66%  { transform: translateX(1vw) skewX(2.5deg); }
  100% { transform: none; opacity: 1; }
}
@keyframes line-trail {
  0% { width: 0; opacity: 0; }
  10% { opacity: 1; }
  38% { width: 32vw; }
  100% { width: 0; opacity: 1; }
}
@keyframes slide-in {
  from { opacity: 0; transform: translateY(.75rem); }
  to { opacity: 1; transform: none; }
}

/* =========================================================================
   Promise band — the logo's orange bar; the hero arch stands on it
   ========================================================================= */
.promise {
  --focus: var(--green);
  position: relative;
  color: var(--green);
  background: var(--orange);
}
.promise__inner { max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 9vw, 7.5rem) var(--gutter); }
.promise__title {
  max-width: 21ch;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4.6rem); line-height: 1; letter-spacing: .01em;
}
.pillars { display: grid; gap: 2.25rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.pillar__word {
  display: flex; align-items: center; gap: .3em;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.2rem, 1.3rem + 6.4vw, 5.8rem); line-height: .9; letter-spacing: .02em;
}
/* the white dots of the logo's bar */
.pillar__word::before {
  content: ""; flex: none; width: .2em; height: .2em; margin-top: -.06em; border-radius: 50%;
  background: var(--white);
}
.pillar__text { margin-top: .85rem; max-width: 26ch; font-size: 1.125rem; font-weight: 500; line-height: 1.45; }
@media (min-width: 48rem) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .pillar__word { font-size: clamp(2.8rem, .9rem + 4.6vw, 5.8rem); }
}

/* =========================================================================
   Menu — five boxes, one under the other, alternating left / right; normal scroll.
   Each box rushes in from its own side and brakes; its speed bars settle.
   ========================================================================= */
.menu { position: relative; background: var(--green); overflow-x: clip; } /* boxes rushing in from the sides never widen the page */
.menu__inner { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 11vw, 8rem) var(--gutter); }
.menu__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 1.4rem + 7vw, 7.5rem); line-height: .96; letter-spacing: .01em;
  max-width: 9ch;
}
.menu__lead { margin-top: 1.25rem; max-width: 30ch; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); color: var(--mist); }
.menu__list { display: flex; flex-direction: column; gap: clamp(1rem, 2.6vw, 1.75rem); margin-top: clamp(2.25rem, 6vw, 4rem); }

.dish {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
  grid-template-areas: "plate name" "desc desc" "chips chips";
  column-gap: 1.1rem;
  padding: 1.25rem 1.25rem 1.4rem;
  border-radius: var(--radius-panel);
  background: var(--green-raise);
}
.dish:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 7.5rem); grid-template-areas: "name plate" "desc desc" "chips chips"; }
.dish__text { display: contents; }
.dish__plate { grid-area: plate; }
.dish__name { grid-area: name; }
.dish__desc { grid-area: desc; }
.dish .chips { grid-area: chips; }
.dish-art { width: 100%; height: auto; overflow: visible; }
/* boxes on the right come from the right: the plate's speed bars point that way */
.dish:nth-child(even) .dish-art { scale: -1 1; }
.dish__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 1.2rem + 4.4vw, 3.4rem); line-height: .96; letter-spacing: .01em;
}
.dish:nth-child(even) .dish__name { text-align: right; }
.dish__desc { margin-top: 1rem; max-width: 40ch; font-size: 1.0625rem; line-height: 1.5; color: var(--mist); }
/* ingredients: one compact line behind the logo's speed bars (no chips on phones) */
.dish .chips {
  position: relative; display: block; margin-top: .8rem; padding-left: 1.75rem;
  font-size: .95rem; line-height: 1.45; color: var(--mist);
}
.dish .chips::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 1.2rem; height: .8rem; background: var(--speed) 0 0 / 100% 100% no-repeat;
}
.dish .chips li { display: inline; font-weight: 500; }
.dish .chips li:not(:last-child)::after { content: ", "; }

.menu__end {
  display: grid; justify-items: start; gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius-panel);
  background: var(--orange); color: var(--green);
}
.menu__end-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 1.2rem + 2.8vw, 3.4rem); line-height: .98; max-width: 16ch;
}
.menu__end-text { font-size: 1.125rem; font-weight: 500; }
.menu__end .btn { margin-top: .5rem; --btn-bg: var(--green); --btn-fg: var(--white); --trail: var(--green); }

@media (max-width: 22.5rem) {
  .dish { grid-template-columns: minmax(0, 6rem) minmax(0, 1fr); padding: 1.1rem 1rem 1.2rem; column-gap: .8rem; }
  .dish:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 6rem); }
  .dish__name { font-size: 1.9rem; }
}

/* tablets and up: plate and text side by side, boxes staggered left / right */
@media (min-width: 48rem) {
  .dish, .dish:nth-child(even) {
    width: min(100%, 60rem);
    grid-template-areas: none; grid-template-rows: auto;
    column-gap: clamp(1.75rem, 4vw, 3.5rem);
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3.4vw, 3rem);
  }
  .dish { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); margin-right: auto; }
  .dish:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); margin-left: auto; margin-right: 0; }
  .dish__text { display: block; }
  .dish__plate, .dish__name, .dish__desc, .dish .chips { grid-area: auto; }
  .dish:nth-child(even) .dish__plate { order: 2; }
  .dish:nth-child(even) .dish__name { text-align: left; }
  .dish__name { font-size: clamp(3rem, 1.4rem + 3.6vw, 5rem); }
  .dish__desc { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
  .dish .chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; padding-left: 0; }
  .dish .chips::before { display: none; }
  .dish .chips li {
    display: block; padding: .38rem .9rem; border-radius: 999px;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .26); color: var(--white); font-size: .95rem;
  }
  .dish .chips li:not(:last-child)::after { content: none; }
  .menu__end { width: min(100%, 60rem); margin-left: auto; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .menu__end .btn { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}
@media (min-width: 64rem) {
  .dish { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); }
  .dish:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .dish {
    opacity: 0; transform: translateX(-9vw);
    transition: transform .95s var(--ease-brake), opacity .4s var(--ease-out);
  }
  .js .dish:nth-child(even) { transform: translateX(9vw); }
  .js .dish.is-in { opacity: 1; transform: none; }
  .js .dish .dish-trails {
    transform-box: fill-box; transform-origin: 100% 50%; transform: scaleX(3.2);
    transition: transform 1.15s var(--ease-brake) .08s;
  }
  .js .dish.is-in .dish-trails { transform: none; }
}

/* =========================================================================
   Menu with prices (white, built to be scanned)
   ========================================================================= */
.carte { --focus: var(--green); background: var(--white); color: var(--green); }
.carte__inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 8rem) var(--gutter);
  display: grid; gap: clamp(2.25rem, 5vw, 4rem);
}
.carte__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.4rem, 1.8rem + 7vw, 8rem); line-height: .9; letter-spacing: .01em;
}
.carte__note { margin-top: 1rem; max-width: 30ch; color: #2E4B39; }
.carte__note a { font-weight: 700; white-space: nowrap; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.carte__index { margin-top: 1.5rem; }
.carte__jump { display: none; }
.carte__cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.carte__index a {
  padding: .45rem 1rem; border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(5, 47, 23, .16);
  font-weight: 600; text-decoration: none;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.carte__index a:hover,
.carte__index a[aria-current="true"] { background: var(--green); color: var(--white); box-shadow: none; }

.carte__list { columns: 1; }
.carte__group { break-inside: avoid; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.carte__group:last-child { margin-bottom: 0; }
.carte__cat {
  position: relative; padding-left: 2.6rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem); line-height: 1;
}
/* the logo's speed bars, as a category marker */
.carte__cat::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 1.95rem; height: 1.3rem; margin-top: -.72rem;
  background: var(--speed) 0 0 / 100% 100% no-repeat;
}
.carte__size { font-family: var(--font-text); font-size: .95rem; font-weight: 500; color: #4A6352; margin-left: .35rem; }
.carte__items { margin-top: .9rem; }
.item { padding: .85rem 0; border-bottom: 1.5px solid rgba(5, 47, 23, .12); }
.item:first-child { border-top: 1.5px solid rgba(5, 47, 23, .12); }
.item__row { display: flex; align-items: baseline; gap: .6rem; }
.item__name { font-weight: 650; font-size: 1.125rem; line-height: 1.3; }
.item__lead { flex: 1 1 auto; min-width: 1rem; align-self: center; border-bottom: 2px dotted rgba(5, 47, 23, .32); transform: translateY(.3em); }
.item__price {
  flex: none;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.25rem; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.item__desc { margin-top: .2rem; max-width: 44ch; font-size: .95rem; line-height: 1.45; color: #4A6352; }

@media (min-width: 48rem) {
  .carte__list { columns: 2; column-gap: clamp(2.5rem, 5vw, 4.5rem); }
}
.carte__index a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* phones & tablets: the category bar sticks under the header while you read the menu */
@media (max-width: 63.99rem) {
  .carte__inner { display: block; }
  .carte__side { display: contents; }
  /* one bar under the header: the category you are reading + a button that opens all five */
  .carte__index {
    position: sticky; top: var(--header-h); z-index: 5;
    margin: 1.5rem calc(-1 * var(--gutter)) 0;
    background: var(--white); box-shadow: 0 1.5px 0 rgba(5, 47, 23, .1);
  }
  .carte__cats {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem;
    padding: .75rem var(--gutter) 1rem;
  }
  .carte__cats a { justify-content: center; padding: 0 .75rem; text-align: center; }
  .js .carte__jump {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    width: 100%; min-height: 3.6rem; padding: .4rem var(--gutter);
    border: 0; background: none; color: var(--green); font: inherit; text-align: left; cursor: pointer;
  }
  .carte__jump-now {
    position: relative; min-width: 0; padding-left: 2.1rem;
    font-family: var(--font-display); font-size: 1.85rem; line-height: 1.1; letter-spacing: .02em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .carte__jump-now::before {
    content: ""; position: absolute; left: 0; top: 50%; width: 1.55rem; height: 1.05rem; margin-top: -.6rem;
    background: var(--speed) 0 0 / 100% 100% no-repeat;
  }
  .carte__jump-all {
    flex: none; display: inline-flex; align-items: center; gap: .3rem;
    min-height: 2.75rem; padding: 0 .75rem 0 1.05rem; border-radius: 999px;
    box-shadow: inset 0 0 0 2px rgba(5, 47, 23, .18);
    font-weight: 650; font-size: .95rem;
    transition: background-color .2s, color .2s;
  }
  .carte__jump-all .icon { width: 1.15rem; height: 1.15rem; transition: rotate .3s var(--ease-brake); }
  .carte__jump[aria-expanded="true"] .carte__jump-all { background: var(--green); color: var(--white); box-shadow: none; }
  .carte__jump[aria-expanded="true"] .icon { rotate: 180deg; }
  .js .carte__cats { display: none; }
  .js .carte__index.is-open .carte__cats {
    display: grid; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); box-shadow: 0 1.5px 0 rgba(5, 47, 23, .1), 0 12px 0 -4px rgba(5, 47, 23, .07);
  }
  .carte__list { margin-top: 2rem; }
  .carte__group { scroll-margin-top: calc(var(--header-h) + 4.5rem); }
}
@media (min-width: 64rem) {
  .carte__inner { grid-template-columns: minmax(15rem, .75fr) minmax(0, 2.25fr); align-items: start; }
  .carte__side { position: sticky; top: calc(var(--header-h) + 2.5rem); }
  .carte__index { margin-top: 2rem; }
  .carte__cats { flex-direction: column; align-items: flex-start; gap: .35rem; }
}

/* =========================================================================
   Ways to eat
   ========================================================================= */
.ways { background: var(--green); color: var(--white); }
.ways__inner { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 11vw, 8rem) var(--gutter); }
.ways__title {
  max-width: 12ch;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.7rem, 1.4rem + 5.4vw, 6.25rem); line-height: .98; letter-spacing: .01em;
}
.ways__list { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.way {
  display: grid; grid-template-columns: 2.9rem minmax(0, 1fr);
  column-gap: 1.1rem; row-gap: .4rem; align-items: center;
  padding: 1.6rem 0; border-top: 1.5px solid var(--green-line);
}
.way:last-child { border-bottom: 1.5px solid var(--green-line); }
.way__icon {
  width: 2.9rem; height: 2.9rem;
  fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .25s, transform .45s var(--ease-brake);
}
.way__word {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 1.3rem + 4vw, 5rem); line-height: .95; letter-spacing: .01em;
}
.way__text { grid-column: 2; max-width: 36ch; font-size: 1.125rem; color: var(--mist); }
.way__text a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
@media (hover: hover) {
  .way:hover .way__icon { stroke: var(--orange); transform: translateX(6px); }
}
@media (min-width: 56rem) {
  .way { grid-template-columns: 4rem minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 2.25rem; padding: 2.1rem 0; }
  .way__icon { width: 4rem; height: 4rem; }
  .way__text { grid-column: 3; font-size: 1.2rem; }
}

/* =========================================================================
   Where
   ========================================================================= */
.where {
  --focus: var(--green);
  color: var(--green);
  background: var(--white);
}
.where__inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 8rem) var(--gutter);
  display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.where__info { padding: 0; }
.where__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 1.4rem + 7vw, 6rem); line-height: .95; letter-spacing: .01em;
}
@media (min-width: 60rem) {
  .where__title { font-size: clamp(3.4rem, 5.2vw, 6rem); }
}
.where__address { margin-top: 1.25rem; font-style: normal; font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.where__hint { margin-top: .75rem; max-width: 40ch; font-size: 1.0625rem; }
.hours { margin-top: 1.5rem; display: grid; gap: .3rem; max-width: 22rem; }
.hours__row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .35rem 0; border-bottom: 1.5px solid rgba(5, 47, 23, .18);
}
.hours dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.where .status { margin-top: 1.25rem; }
.where__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.map { margin: 0; }
.map__canvas {
  position: relative; overflow: hidden;
  aspect-ratio: 640 / 420;
  border-radius: var(--radius-panel);
  background: var(--green); color: var(--white);
  box-shadow: 10px 10px 0 var(--orange);
}
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__route { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0 15; }
.map__m { font: 400 21px var(--font-display); fill: var(--green); }
.map__num { font: 400 26px var(--font-display); fill: var(--green); }
.map__n { font: 700 13px var(--font-text); fill: var(--white); }
.map__label {
  position: absolute; transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none;
  font-size: clamp(.7rem, .5rem + .55vw, .95rem); font-weight: 600; line-height: 1.2;
}
.map__label--pin {
  left: 23.4%; top: 28%;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(.95rem, .7rem + .9vw, 1.4rem);
}
.map__label--dist {
  left: 51%; top: 45%;
  padding: .32em .85em; border-radius: 999px;
  background: var(--white); color: var(--green); font-weight: 700;
}
.map__label--road { left: 51%; top: 63%; color: rgba(255, 255, 255, .72); font-weight: 500; }
.map__label--square { left: 84.4%; top: 79%; display: grid; justify-items: center; font-weight: 700; }
.map__label--square small { font-size: .85em; font-weight: 500; color: rgba(255, 255, 255, .72); }
@media (max-width: 30rem) {
  .map__label--road { display: none; }
}
@media (min-width: 60rem) {
  .where__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .map .map__route-reveal { transform-origin: 500px 0; transform: scaleX(0); transition: transform 1.5s var(--ease-out) .25s; }
  .js .map.is-in .map__route-reveal { transform: scaleX(1); }
  .js .map .map__pin {
    transform-box: fill-box; transform-origin: 50% 100%;
    transform: translateY(-70px) scale(.5); opacity: 0;
    transition: transform .8s var(--ease-brake) 1.45s, opacity .15s 1.45s;
  }
  .js .map.is-in .map__pin { transform: none; opacity: 1; }
  .js .map .map__label--pin,
  .js .map .map__label--dist { opacity: 0; transition: opacity .4s 1.7s; }
  .js .map.is-in .map__label--pin,
  .js .map.is-in .map__label--dist { opacity: 1; }
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--green-deep); padding-bottom: env(safe-area-inset-bottom); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 11vw, 8rem) var(--gutter) 2rem; }
.site-footer__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.5rem); line-height: 1.05; color: var(--mist);
}
.site-footer__phone {
  display: inline-block; margin-top: .6rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.4rem, 1rem + 13vw, 13.5rem); line-height: .92; letter-spacing: .01em;
  font-variant-numeric: tabular-nums; text-decoration: none; color: var(--white);
  background: var(--sun) 0 100% / 0 .075em no-repeat;
  padding-bottom: .08em;
  transition: background-size .6s var(--ease-brake);
}
.site-footer__phone:hover, .site-footer__phone:focus-visible { background-size: 100% .075em; }
.site-footer__grid { display: grid; gap: 2rem; margin-top: clamp(3rem, 7vw, 5rem); align-items: end; }
.site-footer__logo { width: min(19rem, 72vw); height: auto; }
.site-footer__addr { color: var(--mist); line-height: 1.5; }
.site-footer__links a { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; text-decoration: none; padding: .35rem 0; }
.site-footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal {
  margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--green-line);
  font-size: .875rem; color: rgba(255, 255, 255, .55);
}
@media (max-width: 47.99rem) {
  .site-footer__inner { text-align: center; }
  .site-footer__phone { font-size: clamp(2.3rem, 10vw, 4rem); padding-top: .16em; }   /* keeps a 44 px tap target */
  .site-footer__grid { justify-items: center; }
  .site-footer__logo { width: min(15rem, 68vw); }
  .site-footer__links a { justify-content: center; }
}
@media (min-width: 48rem) {
  .site-footer__grid { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 3rem; }
}
@media (min-width: 64rem) {
  .site-footer { padding-bottom: 0; }
}

/* =========================================================================
   Mobile action dock
   ========================================================================= */
.dock {
  position: fixed; z-index: 40;
  left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .45rem; border-radius: 999px;
  background: var(--green-deep); box-shadow: 0 0 0 1.5px var(--green-line);
  transform: translateY(160%);
  transition: transform .5s var(--ease-brake);
}
.dock.is-visible { transform: none; }
.dock__btn {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 3rem; padding: 0 .6rem; border-radius: 999px;
  font-size: .9375rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
}
.dock__btn .icon { width: 1.05em; height: 1.05em; }
.dock__btn--call { background: var(--sun); color: var(--green); }
.dock__btn--way { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); }
.dock__btn:active { transform: scale(.97); }
@media (min-width: 64rem) { .dock { display: none; } }

/* =========================================================================
   Back to top
   ========================================================================= */
.to-top {
  position: fixed; z-index: 41;
  right: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom));
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sun); color: var(--green);
  box-shadow: 0 0 0 3px var(--green);
  opacity: 0; visibility: hidden; transform: translateY(1rem) scale(.8);
  transition: transform .45s var(--ease-brake), opacity .25s, visibility 0s .45s;
}
.to-top.is-visible {
  opacity: 1; visibility: visible; transform: none;
  transition: transform .45s var(--ease-brake), opacity .25s;
}
.to-top svg { width: 1.55rem; height: 1.55rem; fill: currentColor; overflow: visible; }
.to-top__trail { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(.55); transition: transform .35s var(--ease-brake); }
@media (hover: hover) {
  .to-top:hover { transform: translateY(-3px); }
  .to-top:hover .to-top__trail { transform: scaleY(1.25); }
}
@media (max-width: 63.99rem) {
  /* sits at the screen edge; lifts above the action dock only while the dock is shown */
  .to-top {
    right: .9rem; bottom: calc(.9rem + env(safe-area-inset-bottom)); width: 2.95rem; height: 2.95rem;
    transition: transform .45s var(--ease-brake), opacity .25s, visibility 0s .45s, bottom .4s var(--ease-brake);
  }
  .to-top.is-visible { transition: transform .45s var(--ease-brake), opacity .25s, bottom .4s var(--ease-brake); }
  html.dock-on .to-top { bottom: calc(5.15rem + env(safe-area-inset-bottom)); }
}

/* =========================================================================
   Rendering budget: below-the-fold sections skip work until they're near the viewport
   ========================================================================= */
.ways, .where, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* =========================================================================
   Phones: a lower header leaves more of the first screen to the content
   ========================================================================= */
@media (max-width: 39.99rem) {
  :root { --header-h: 3.75rem; }
  .brand img { height: 2.55rem; }
  .header-call, .nav-toggle { width: 2.6rem; height: 2.6rem; }
}
@media (max-width: 22.5rem) {
  :root { --header-h: 3.5rem; }
  .brand img { height: 2.35rem; }
  .header-call, .nav-toggle { width: 2.45rem; height: 2.45rem; }
}

/* =========================================================================
   Small phones (300–480 px): tighter rhythm, smaller type where it would crowd
   ========================================================================= */
.map__less { display: none; }
@media (max-width: 30rem) {
  :root { --gutter: 1.1rem; --radius-panel: 1.35rem; }
  .status { font-size: .85rem; padding: .36rem .8rem .36rem .65rem; }
  .hero__lead { font-size: .95rem; }
  .btn--lg { min-height: 3.2rem; padding: .85rem 1.25rem; font-size: 1rem; }
  .hero__actions .btn { min-height: 3rem; padding: .7rem 1.05rem; }
  .promise__inner, .ways__inner, .where__inner, .carte__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .site-footer__inner { padding-top: 3.5rem; }
  .pillars { gap: 1.75rem; }
  .pillar__text { font-size: 1rem; }
  .menu__lead { font-size: 1.05rem; }
  .dish__desc { font-size: 1rem; }
  .carte__cat { font-size: 1.85rem; }
  .item__name { font-size: 1rem; }
  .item__price { font-size: 1.1rem; }
  .item__desc { font-size: .875rem; }
  .way { padding: 1.25rem 0; }
  .way__text { font-size: 1rem; }
  .where__title { font-size: clamp(2.3rem, 12.4vw, 3.6rem); }
  .where__address { font-size: 1.1rem; }
  .where__hint, .hours { font-size: 1rem; }
  .where__actions .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
  .map__canvas { box-shadow: 7px 7px 0 var(--orange); }
  .map__label--square { left: auto; right: 3%; transform: translateY(-50%); justify-items: end; text-align: right; }
  .map__more { display: none; }
  .map__less { display: inline; }
  .dock { left: .55rem; right: .55rem; gap: .35rem; padding: .35rem; }
  .dock__btn { min-height: 2.85rem; font-size: .875rem; gap: .4rem; }
  .to-top { right: .7rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); width: 2.6rem; height: 2.6rem; }
  html.dock-on .to-top { bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  .to-top svg { width: 1.3rem; height: 1.3rem; }
}
@media (max-width: 22.5rem) {
  .hero { --emblem-w: 2.9rem; padding-inline: calc(var(--gutter) + .75rem); }
  .hero__title { font-size: clamp(2rem, 11.5vw, 2.4rem); margin-top: .65rem; }
  .hero__lead { font-size: .9375rem; margin-top: .7rem; }
  .hero__actions { margin-top: .95rem; }
  .hero__actions .btn { min-height: 2.9rem; padding: .6rem .9rem; font-size: .95rem; }
  .hero__more { display: none; }
  .dock__btn { font-size: .8125rem; }
  .sm-hide { display: none; }
}

/* =========================================================================
   Reduced motion & print
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .dock, .to-top, .hero__arch, .hero__emblem, .carte__jump { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: 0; padding: 1rem 0; }
  .promise, .where, .site-footer { background: #fff !important; color: #000; }
}
