/* ============================================================
   YOBAR business catering
   Palette and lettering come from the printed A5 flyer. Black and lime are
   fixed brand identity; everything else here exists to keep that identity
   from reading as the default dark-page-with-one-neon-accent template.
   ============================================================ */

/* ---------- display face: Unbounded, subset to headings only ---------- */
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-latin.woff2') format('woff2');
  font-weight: 600 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-latin-ext.woff2') format('woff2');
  font-weight: 600 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-cyrillic.woff2') format('woff2');
  font-weight: 600 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---------- body face: Manrope ---------- */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-cyrillic-ext.woff2') format('woff2');
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* ---------- tokens ---------- */
:root {
  /* Black carries a faint olive bias so it sits under the lime as one family
     rather than as a neutral backdrop the accent was dropped onto. */
  --ink: #0B0B09;
  --ink-2: #15150E;
  --ink-3: #22221A;
  --line: #2C2C22;

  --lime: #D6E85A;
  --lime-dim: #9DB02F;
  /* Pulled from the food itself - the fried crust and the cream soup - so the
     palette has a second hue that belongs to the subject. */
  --ember: #E4A35C;

  --cream: #F4F1E4;
  --muted: #9C9B8A;

  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1220px;
  --gap: clamp(1rem, 3vw, 2.25rem);
  --pad: clamp(1.1rem, 5vw, 3rem);

  /* One radius per role, not one radius for everything. */
  --r-pill: 999px;
  --r-card: 4px 22px 4px 22px;
  --r-photo: 3px 26px 3px 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fine grain over the whole page. Flat #000 reads as an unset default; a
   little tooth makes the ground look printed. */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
h1, h2, h3 { margin: 0 0 0.45em; text-wrap: balance; }

h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.05rem, 1rem + 3.3vw, 4rem); }
h2 { font-size: clamp(1.65rem, 1.05rem + 2.1vw, 2.8rem); }
h3 {
  font-family: var(--font);
  font-weight: 800; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.15; letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }
a { color: var(--lime); text-underline-offset: 0.22em; }
a:hover { color: var(--ember); }
img { max-width: 100%; height: auto; display: block; }

.eyebrow {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--lime-dim);
}

/* ---------- layout ---------- */
.wrap { width: min(100% - (var(--pad) * 2), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 11vw, 9rem); position: relative; overflow: clip; }
.section__lead { color: var(--muted); max-width: 54ch; font-size: 1.08rem; }

/* Section-marking doodles, set large and low-contrast. On the flyer these
   drawings are the most characteristic thing in the brand; at badge size they
   were decoration, at this size they carry the page. */
.doodle {
  position: absolute; pointer-events: none; user-select: none;
  color: var(--lime); opacity: 0.07; z-index: 0;
  width: clamp(150px, 26vw, 330px);
}
.doodle--tr { top: 4%; right: -3%; transform: rotate(9deg); }
.doodle--bl { bottom: 4%; left: -4%; transform: rotate(-11deg); }
.section > .wrap { position: relative; z-index: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.85rem; border-radius: var(--r-pill);
  font-family: var(--font); font-size: 1rem; font-weight: 800;
  letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  background: var(--lime); color: var(--ink); border: 2px solid var(--lime);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:hover { background: var(--ember); border-color: var(--ember); color: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--lime); }
.btn--ghost:hover { background: transparent; color: var(--ember); border-color: var(--ember); }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 30; background: var(--lime); color: var(--ink);
  padding: 0.7rem 1.1rem; border-radius: var(--r-pill); font-weight: 800;
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.site-head__inner { display: flex; align-items: center; gap: var(--gap); padding-block: 0.7rem; }
.site-head__logo { color: var(--lime); display: block; flex: none; }
.site-head__logo img { width: 92px; height: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--lime); }
.nav__langs { display: flex; gap: 0.55rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; }
.nav__langs a { color: var(--muted); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0;
  color: var(--lime); font-size: 1.7rem; cursor: pointer; line-height: 1;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-head__inner { flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: 1.25rem; }
  .nav.is-open { display: flex; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 8vw, 7rem) clamp(4rem, 10vw, 8rem); overflow: clip; }
.hero__inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}
.hero__eyebrow { margin: 0 0 1.4rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime-dim); }
.hero h1 { margin-bottom: 1.5rem; }
/* The promise sits on the accent, the delivery in cream: the sentence reads
   as two beats rather than one long line. */
.hero h1 em { display: block; font-style: normal; color: var(--lime); }
.hero__lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.hero__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 2.4rem; }

/* Photos bleed off the right edge instead of floating as two bordered boxes.
   The lime frames were the cheapest-looking element on the page. */
.hero__art { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.9rem; }
.hero__art picture { position: relative; display: block; overflow: hidden; border-radius: var(--r-photo); }
.hero__art picture::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(11,11,9,0.55));
}
.hero__art img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hero__art picture:last-child { align-self: end; margin-bottom: -12%; }
.hero__art picture:last-child img { aspect-ratio: 1; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art picture:last-child { margin-bottom: 0; }
}

/* ---------- format cards ---------- */
.formats { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.format {
  display: flex; flex-direction: column;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.format:hover { border-color: var(--lime-dim); transform: translateY(-3px); }
.format__photo { display: block; position: relative; }
.format__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink-2), transparent 55%);
}
.format__photo img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.format__icon {
  width: 76px; height: 76px; margin: -46px 0 0.9rem 1.4rem;
  align-self: flex-start; position: relative; z-index: 1;
  padding: 0.5rem; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--lime); color: var(--lime);
}
.format h3 { padding-inline: 1.4rem; }
.format p { padding: 0 1.4rem 1.6rem; color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- weekly menu board ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.menu-tab {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 0.6rem 1.3rem; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--cream);
  font: inherit; font-weight: 800; font-size: 0.95rem;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.menu-tab:hover { border-color: var(--lime-dim); }
.menu-tab.is-selected { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.menu-tab__now { font-size: 0.66rem; font-weight: 700; opacity: 0.7; text-transform: lowercase; letter-spacing: 0.02em; }

.menu-draft {
  margin: 0 0 1.75rem; padding: 0.9rem 1.2rem;
  border-left: 3px solid var(--ember); background: var(--ink-2);
  color: var(--ember); font-weight: 700;
}

/* A board of five days, not a grid of five identical label lists. The main
   course is the line a hungry reader is scanning for, so it is the only one
   set at heading size. */
.menu-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.menu-day {
  display: grid; gap: 0.4rem 2rem;
  grid-template-columns: minmax(8.5rem, 1fr) minmax(0, 3fr);
  align-items: baseline;
  padding: 1.5rem 0.25rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.18s ease;
}
.menu-day:hover { background: var(--ink-2); }
.menu-day.is-empty { opacity: 0.4; }
.menu-day__name {
  font-family: var(--font); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-dim);
  margin: 0; align-self: start; padding-top: 0.45rem;
}
.menu-day__list { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.85rem; }
.menu-day__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.menu-day__value { margin: 0; color: var(--muted); font-size: 0.97rem; }
.menu-day__value[data-field="main"] {
  flex-basis: 100%; color: var(--cream);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 0.35rem;
}
.menu-day__value[data-field="soup"] { color: var(--lime); font-weight: 700; }
.menu-day__value[data-field="side"]::before,
.menu-day__value[data-field="salad"]::before { content: '\00B7\0020'; color: var(--line); }
.menu-day__empty { margin: 0; color: var(--muted); }
.menu-pdf { margin-top: 2.25rem; }
.menu-fallback { color: var(--muted); }

@media (max-width: 620px) {
  .menu-day { grid-template-columns: 1fr; gap: 0.5rem; }
  .menu-day__name { padding-top: 0; }
}

/* Our own order panel, replacing the vendor's embedded widget. The iframe
   could not be restyled and fought every surface around it; a designed block
   that hands the visitor off to the shop keeps the page coherent. */
.order-panel {
  margin-top: 3.5rem;
  display: grid; justify-items: start; gap: 0.35rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: var(--r-card);
}
.order-panel h3 { margin: 0.25rem 0 0.4rem; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); }
.order-panel__lead { color: var(--muted); max-width: 46ch; margin: 0 0 0.6rem; }
.order-panel__cta { margin-top: 0.5rem; }
.order-panel__cta svg { flex: none; }
.order-panel__note { margin: 1rem 0 0; font-size: 0.88rem; color: var(--muted); }

/* ---------- prices ---------- */
.section--invert { background: var(--lime); color: var(--ink); }
.section--invert h2 { color: var(--ink); }
.prices { display: flex; gap: clamp(1rem, 4vw, 3.5rem); flex-wrap: wrap; align-items: flex-end; }
.price { min-width: 12rem; }
.price p { margin: 0; font-weight: 700; }
.price__value {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem);
  letter-spacing: -0.045em; line-height: 0.9; margin-bottom: 0.35rem !important;
}
.promo { margin-top: 2.5rem; font-size: 1.1rem; font-weight: 600; }
.promo code {
  font-family: var(--font); font-weight: 800; font-size: 1em;
  background: var(--ink); color: var(--lime);
  padding: 0.25em 0.7em; border-radius: var(--r-pill);
}

/* ---------- steps ---------- */
.steps {
  display: grid; gap: 1.1rem; padding: 0; list-style: none; counter-reset: s;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.steps li {
  counter-increment: s; padding: 1.75rem 1.6rem;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-card);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-family: var(--display); font-weight: 800;
  font-size: 1.7rem; line-height: 1; color: var(--lime-dim);
  letter-spacing: -0.04em; margin-bottom: 0.85rem;
}
.steps strong { font-size: 1.1rem; }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.gallery button {
  padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden;
  border-radius: var(--r-photo); position: relative;
}
.gallery img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform 0.4s ease, filter 0.3s ease; }
.gallery button:hover img { transform: scale(1.06); }
/* Every third tile runs tall, so the grid has rhythm instead of reading as a
   uniform contact sheet. */
.gallery button:nth-child(3n) img { aspect-ratio: 4/6.2; }

.lightbox { border: 0; background: transparent; max-width: 94vw; max-height: 94vh; padding: 0; }
.lightbox::backdrop { background: rgba(6,6,4,0.92); backdrop-filter: blur(6px); }
.lightbox img { max-height: 90vh; width: auto; margin: auto; border-radius: var(--r-photo); }
.lightbox__close {
  position: absolute; top: 0.4rem; right: 0.7rem; background: none; border: 0;
  color: var(--lime); font-size: 2.2rem; cursor: pointer; line-height: 1;
}

/* ---------- trust strip ---------- */
.trust { background: var(--ink-2); border-block: 1px solid var(--line); }
.trust__grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.trust p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.trust strong {
  display: block; color: var(--cream); font-size: 1.02rem;
  margin-bottom: 0.2rem; letter-spacing: -0.01em;
}

/* ---------- FAQ ---------- */
[data-faq] details { border-bottom: 1px solid var(--line); }
[data-faq] summary {
  cursor: pointer; font-weight: 800; font-size: clamp(1.02rem, 1rem + 0.3vw, 1.2rem);
  padding: 1.25rem 0; list-style: none; display: flex; align-items: center; gap: 1rem;
}
[data-faq] summary::-webkit-details-marker { display: none; }
[data-faq] summary::after {
  content: '+'; margin-left: auto; color: var(--lime);
  font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform 0.2s ease;
}
[data-faq] details[open] summary::after { transform: rotate(45deg); }
[data-faq] details p { color: var(--muted); margin: 0 0 1.35rem; max-width: 60ch; }

/* ---------- contact ---------- */
.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.contact__lead { color: var(--muted); }
.contact__buttons { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.contact address { font-style: normal; color: var(--muted); margin-top: 2.5rem; line-height: 1.8; }
.contact__form {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: clamp(1.4rem, 3vw, 2.1rem);
  display: grid; gap: 0.9rem;
}
.contact__form h3 { margin-bottom: 0.4rem; }
.contact__form label {
  display: grid; gap: 0.35rem; font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
}
.contact__form input, .contact__form textarea {
  font: inherit; font-size: 1rem; color: var(--cream); background: var(--ink);
  border: 1px solid var(--line); border-radius: 3px 12px 3px 12px;
  padding: 0.8rem 0.95rem; width: 100%;
  transition: border-color 0.18s ease;
}
.contact__form input:hover, .contact__form textarea:hover { border-color: var(--ink-3); }
.contact__form .btn { justify-content: center; margin-top: 0.4rem; }
.form-status { margin: 0; min-height: 1.4em; color: var(--lime); font-weight: 700; font-size: 0.95rem; }
.form-status.is-error { color: var(--ember); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 2.5rem; color: var(--muted); font-size: 0.92rem; }
.site-foot__inner { display: flex; justify-content: space-between; gap: var(--gap); flex-wrap: wrap; }
.site-foot p { margin: 0; }
.site-foot__langs a { color: var(--muted); }
.site-foot__langs a:hover { color: var(--lime); }

/* ---------- scroll reveal ----------
   The hidden state is gated on .js-reveal, which a script adds at run time.
   If the script never runs, nothing is hidden: a failed animation must not be
   able to blank five of the six content blocks on the page. */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- how to order, with the brand film ----------
   The clip is the delivery story the three steps describe, so it belongs
   beside them rather than in a band of its own. It was tried in the hero
   first: at the width a hero tile allows its lettering was unreadable, and it
   repeated the headline standing next to it. Here it reads, it illustrates,
   and it sits mid-page where people actually get to. */
.how {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}
.how .steps { grid-template-columns: 1fr; }
.how__film {
  width: min(100%, 380px); height: auto; display: block;
  justify-self: center;
  border-radius: var(--r-photo);
  background: var(--lime);
}
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .how .steps { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
}
