/* =========================================================
   The Taste Twist — site styles
   Design: Lovable layout · Content: Claude version
   ========================================================= */

:root {
  /* Brand */
  --brand: #09c789;          /* green  */
  --brand-deep: #077a55;     /* green, text-safe on white */
  --sun: #efcd00;            /* yellow */
  --ember: #f95737;          /* orange */
  --on-brand: #0f2a20;

  /* Neutrals */
  --ink: #373737;
  --ink-soft: #7a7a7a;
  --shell: #f7f7f4;
  --line: #e3e3e3;
  --white: #ffffff;
  --dark: #2a2a2a;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Fira Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 2px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 88px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.015em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--ink-soft); max-width: 36rem; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; line-height: 1.6; }
em.accent { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: .025em;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: #07b57c; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #222; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { padding: 11px 22px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link:hover { color: var(--brand-deep); }

:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed mobile menu inside the header's box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
}
.nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative;
}
/* The rule is inset by the page gutter so it lines up with the logo on the
   left and the Order button on the right, not with the container edge. */
.nav::after {
  content: ""; position: absolute; bottom: 0;
  left: var(--gutter); right: var(--gutter); height: 1px;
  background: var(--line);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px; letter-spacing: .02em; text-decoration: none; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: currentColor; transition: right .25s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links .badge {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--sun); color: var(--ink); padding: 1px 5px; border-radius: 2px;
  margin-left: 4px; vertical-align: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.burger {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
}
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 24px var(--gutter) 40px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-family: var(--serif); font-size: 2rem; letter-spacing: -.01em; padding: 6px 0; }
  .nav-links a::after { display: none; }
  .nav-links .mobile-only { display: flex; margin-top: 24px; }
  .nav-links .mobile-only a { font-family: var(--sans); font-size: 14px; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 961px) { .nav-links .mobile-only { display: none; } }

/* ---------- Hero (full-bleed image) ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,20,20,.78) 0%, rgba(20,20,20,.45) 45%, rgba(20,20,20,.1) 100%),
              linear-gradient(0deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,0) 45%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: clamp(56px, 9vw, 112px); }
.hero .eyebrow { color: rgba(255,255,255,.7); }
.hero .display { max-width: 15ch; font-size: clamp(2.6rem, 6.2vw, 4.75rem); }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 24px; }
.hero .btn-row { margin-top: 36px; }

/* Shorter hero for inner pages */
.hero.hero-page { min-height: min(70vh, 600px); }
.hero.hero-page .display { max-width: 16ch; font-size: clamp(2.5rem, 6vw, 4.25rem); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-shell { background: var(--shell); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: rgba(255,255,255,.55); }
.section-dark .muted, .section-dark .lead { color: rgba(255,255,255,.72); }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 860px) {
  .section-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; }
}

/* Promise strip (four pillars) */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-bottom: 1px solid var(--line); }
.pillar { padding: 40px 32px 40px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar-icon { width: 28px; height: 28px; color: var(--brand-deep); margin-bottom: 18px; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin-bottom: 8px; }
.pillar p { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 720px) {
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
}

/* Cards grid */
.cards { display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--white); }
.section-shell .card { background: var(--white); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--shell); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 2px;
  background: var(--sun); color: var(--ink);
}
.card-tag.green { background: var(--brand); color: var(--on-brand); }
.card-tag.orange { background: var(--ember); color: var(--white); }
.card-tag.dark { background: var(--ink); color: var(--white); }
.card-body { padding: 24px 0 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.card-body p { color: var(--ink-soft); font-size: .95rem; }
.card-body .text-link { margin-top: auto; align-self: flex-start; padding-top: 10px; }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }

/* Split panel (image + copy) */
.split { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip .split-media { order: 2; }
}
.split-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--shell); }
.split-media.wide { aspect-ratio: 5 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; gap: 20px; }
.split-copy .btn-row { margin-top: 12px; }

/* Numbered list (why / values) */
.ticks { border-top: 1px solid var(--line); }
.ticks li { display: grid; grid-template-columns: 48px 1fr; gap: 8px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ticks .num { font-family: var(--serif); font-size: 1.25rem; color: var(--brand-deep); line-height: 1.3; }
.ticks h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.ticks p { grid-column: 2; color: var(--ink-soft); font-size: .95rem; }
.section-dark .ticks, .section-dark .ticks li { border-color: rgba(255,255,255,.14); }
.section-dark .ticks .num { color: var(--brand); }

/* Steps */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--white); padding: 40px 32px; }
.step-day { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; margin-bottom: 12px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* Schedule table */
.schedule { width: 100%; border-collapse: collapse; }
.schedule th {
  text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft); padding: 0 16px 14px 0; border-bottom: 1px solid var(--ink);
}
.schedule td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule td:first-child { font-weight: 500; white-space: nowrap; }
.schedule .dish { font-family: var(--serif); font-size: 1.2rem; }
.schedule .soon { color: var(--ink-soft); }
@media (max-width: 560px) {
  .schedule thead { display: none; }
  .schedule tr { display: grid; grid-template-columns: 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .schedule td { border: 0; padding: 2px 0; }
}

/* Menu list */
.menu-list { border-top: 1px solid var(--ink); }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.menu-item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.25; }
.menu-item p { grid-column: 1; color: var(--ink-soft); font-size: .95rem; }
.menu-item .when { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-deep); white-space: nowrap; padding-top: 6px; }

/* Notice (policy) */
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px;
  border-left: 3px solid var(--sun);
  background: #fffbe6;
  font-size: .92rem; line-height: 1.6;
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #8a7400; }
.section-dark .notice { background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
.section-dark .notice svg { color: var(--sun); }

/* Facts row (delivery / advance order) */
.facts { display: grid; gap: 32px; }
@media (min-width: 760px) { .facts { grid-template-columns: 1fr 1fr; gap: 64px; } }
.fact h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.15; margin-bottom: 12px; }
.fact p { color: var(--ink-soft); }
.fact-mark { display: inline-block; width: 32px; height: 3px; margin-bottom: 20px; background: var(--brand); }
.fact:nth-child(2) .fact-mark { background: var(--ember); }

/* Quote band */
.quote-band { text-align: left; }
.quote-band .stars { color: var(--sun); letter-spacing: .2em; margin-bottom: 28px; font-size: 14px; }
.quote-band blockquote p {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 3.8vw, 3rem); line-height: 1.2; letter-spacing: -.01em;
  max-width: 24ch;
}
.quote-band cite { display: block; margin-top: 28px; font-style: normal; font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.65); }

/* Gallery strip */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--shell); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0));
  color: var(--white); font-size: 12px; letter-spacing: .04em;
}

/* Contact block */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 96px; } }
.big-number {
  font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1; letter-spacing: -.01em;
  text-decoration: none; display: inline-block;
}
.big-number small { display: block; font-family: var(--sans); font-size: 1rem; letter-spacing: .1em; color: var(--ink-soft); margin-top: 10px; }
.contact-list { border-top: 1px solid var(--line); margin-top: 32px; }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list h3 { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }

/* CTA band (green) */
.cta-band { background: var(--brand); color: var(--on-brand); text-align: center; padding: clamp(72px, 10vw, 128px) 0; }
.cta-band .eyebrow { color: rgba(15,42,32,.65); }
.cta-band .h2 { max-width: 18ch; margin: 0 auto; }
.cta-band p { max-width: 36rem; margin: 20px auto 0; color: rgba(15,42,32,.8); }
.cta-band .btn-row { justify-content: center; margin-top: 36px; }
.cta-band .btn-outline { border-color: var(--on-brand); color: var(--on-brand); }
.cta-band .btn-outline:hover { background: var(--on-brand); color: var(--white); }
.cta-band .policy { font-size: .85rem; margin-top: 32px; opacity: .8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 32px; font-size: .92rem; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.88); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { height: 72px; width: auto; margin-bottom: 20px; }
.footer-tagline { font-family: var(--serif); font-size: 1.35rem; color: var(--white); line-height: 1.3; max-width: 18ch; }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: .8rem; color: rgba(255,255,255,.45); }

/* ---------- Order sheet (phone / WhatsApp) ---------- */
.order-sheet {
  border: 0; padding: 0; margin: auto; width: min(460px, calc(100% - 32px));
  border-radius: var(--radius); background: var(--white); color: var(--ink);
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.order-sheet::backdrop { background: rgba(20,20,20,.55); backdrop-filter: blur(2px); }
.order-sheet-inner { padding: 40px 32px 32px; position: relative; }
.order-sheet h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; margin-bottom: 10px; }
.order-sheet .muted { margin-bottom: 28px; font-size: .95rem; }
.order-sheet .btn { width: 100%; margin-bottom: 10px; }
.order-sheet .notice { margin-top: 18px; font-size: .82rem; }
.sheet-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer; font-size: 24px; line-height: 1; color: var(--ink-soft);
}
.sheet-close:hover { color: var(--ink); }

/* Floating WhatsApp button (mobile) */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: #25d366; color: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 760px) { .wa-float { display: flex; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 10px 16px; }
.skip-link:focus { left: 8px; }

/* Utilities */
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Four-up card grid (home "What we make") */
@media (min-width: 640px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards.four { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

/* Keep the off-canvas menu from widening the page on phones */
html, body { overflow-x: clip; }
@media (max-width: 960px) {
  .nav-links { visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
  .nav-links.open { visibility: visible; transition: transform .3s ease; }
}
/* Stronger image overlay on small screens, where text sits over the whole photo */
@media (max-width: 720px) {
  .hero::after { background: linear-gradient(0deg, rgba(20,20,20,.85) 0%, rgba(20,20,20,.55) 55%, rgba(20,20,20,.35) 100%); }
}

/* =========================================================
   Transparent header over the hero + social links
   ========================================================= */

/* Logo swap: dark mark by default, light mark over the hero */
.brand img { height: 60px; width: auto; }
.brand .logo-light { display: none; }

/* Social icons */
.socials { display: flex; align-items: center; gap: 16px; }
.socials a {
  display: inline-flex; color: inherit; opacity: .75;
  transition: opacity .2s ease, color .2s ease;
}
.socials a:hover { opacity: 1; }
.socials svg { width: 22px; height: 22px; }
.socials-lg { gap: 22px; margin-top: 28px; }
.socials-lg svg { width: 24px; height: 24px; }
.socials-footer { margin-top: 20px; }
.socials-footer a { color: rgba(255,255,255,.8); }
.socials-footer a:hover { color: var(--white); }
@media (max-width: 1100px) { .nav-cta .socials { display: none; } }

/* The header floats over the hero until you scroll */
body.with-hero .site-header .nav::after { background: rgba(255,255,255,.28); }
body.with-hero .site-header::before { opacity: 0; transition: opacity .3s ease; }
body.with-hero .site-header.scrolled::before { opacity: 1; }
body.with-hero .site-header.scrolled .nav::after { background: var(--line); }

body.with-hero .site-header:not(.scrolled) .nav-links > a,
body.with-hero .site-header:not(.scrolled) .nav-cta .socials a { color: var(--white); }
body.with-hero .site-header:not(.scrolled) .burger span { background: var(--white); }
body.with-hero .site-header:not(.scrolled) .brand .logo-dark { display: none; }
body.with-hero .site-header:not(.scrolled) .brand .logo-light { display: block; }
body.with-hero .site-header:not(.scrolled) .nav-links .badge { background: var(--sun); color: var(--ink); }

/* While the mobile menu is open the header must be readable again */
@media (max-width: 960px) {
  body.nav-open .site-header::before { opacity: 1; }
  body.nav-open.with-hero .site-header .nav-links > a { color: var(--ink); }
  body.nav-open.with-hero .site-header .burger span { background: var(--ink); }
  body.nav-open.with-hero .site-header .brand .logo-dark { display: block; }
  body.nav-open.with-hero .site-header .brand .logo-light { display: none; }
}

/* The hero sits under the header, so it starts at the top of the page */
body.with-hero .site-header { position: fixed; left: 0; right: 0; }
body.with-hero .hero {
  margin-top: calc(var(--header-h) * -1);
  /* add back the height the overlay header covers, plus a little more */
  min-height: calc(min(88vh, 760px) + var(--header-h) + 15px);
}
body.with-hero .hero-inner { padding-top: calc(var(--header-h) + 64px); }

/* Soft scrim so the transparent header stays legible over bright photos */
body.with-hero .site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; z-index: -1;
  background: linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.18) 55%, rgba(20,20,20,0) 100%);
  pointer-events: none; transition: opacity .3s ease;
}
body.with-hero .site-header.scrolled::after { opacity: 0; }

/* Narrow screens crop the wide hero hard, so pull the crop towards the food */
@media (max-width: 900px) {
  .hero-img { object-position: 78% center; }
}

/* Hero headline: fixed line breaks on wide screens, natural wrapping on small */
.hero-br { display: none; }
@media (min-width: 901px) { .hero-br { display: inline; } .hero .display { max-width: none; } }

/* Bold opening line on each card */
.card-lead { color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.5; }

/* The hero photo is busy, so the scrim leans harder on the text side */
.hero::after {
  background:
    linear-gradient(90deg, rgba(16,16,16,.92) 0%, rgba(16,16,16,.78) 32%, rgba(16,16,16,.45) 58%, rgba(16,16,16,.12) 100%),
    linear-gradient(0deg, rgba(16,16,16,.6) 0%, rgba(16,16,16,0) 55%);
}
@media (max-width: 720px) {
  .hero::after { background: linear-gradient(0deg, rgba(16,16,16,.9) 0%, rgba(16,16,16,.6) 55%, rgba(16,16,16,.4) 100%); }
}

/* Five-or-more callout under the schedule */
.callout {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 28px; padding: 20px 22px;
  background: var(--shell); border-left: 3px solid var(--brand);
  font-size: .95rem; line-height: 1.6;
}
.callout strong { font-weight: 600; }
.callout-mark {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand);
  font-weight: 700; font-size: .85rem; letter-spacing: -.02em;
}

/* Icons on the delivery / advance-order pair */
.fact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--brand-deep);
}
.fact-icon svg { width: 26px; height: 26px; }
.fact:nth-child(2) .fact-icon { color: #c23a1c; }

/* Rotating reviews */
/* The reviews sit in a track that slides sideways */
.quotes { overflow: hidden; }
.quotes-track { display: flex; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.quote-item { flex: 0 0 100%; margin: 0; padding-right: 40px; }
.no-js .quotes-track { flex-direction: column; gap: 48px; }
.quote-nav { display: flex; gap: 10px; margin-top: 40px; }
.quote-link { display: inline-block; }
.quote-nav button {
  width: 32px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255,255,255,.28); transition: background .25s ease;
}
.quote-nav button[aria-current="true"] { background: var(--brand); }
.quote-nav button:hover { background: rgba(255,255,255,.6); }
.quote-nav:empty { display: none; }

.quote-link { margin-top: 28px; color: rgba(255,255,255,.85); }
.quote-link:hover { color: var(--brand); }

/* The band keeps one height; longer reviews are set smaller so they fit */
.quotes { min-height: 330px; }
.quote-item { display: flex; flex-direction: column; justify-content: center; }
.quote-band blockquote p { line-height: 1.3; font-size: clamp(1.6rem, 3.1vw, 2.4rem); max-width: 26ch; }
.quote-item.is-medium blockquote p { font-size: clamp(1.4rem, 2.6vw, 2.05rem); max-width: 32ch; }
.quote-item.is-long   blockquote p { font-size: clamp(1.15rem, 2.05vw, 1.6rem); max-width: 44ch; }
.quote-item.is-xlong  blockquote p { font-size: clamp(1rem, 1.6vw, 1.28rem); max-width: 56ch; }
@media (max-width: 700px) { .quotes { min-height: 420px; } }
.quote-band figcaption {
  margin-top: 24px; font-family: var(--sans); font-size: 13px;
  letter-spacing: .08em; color: rgba(255,255,255,.65);
}
.quote-band .stars { margin-bottom: 22px; }

/* Reviews on the left, message screenshots rotating on the right */
.quote-layout { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .quote-layout { grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: start; } }
.quote-col { min-width: 0; }
/* the active slide sits in flow, so the column follows its height and the
   controls move up or down with it */
.msg-rotator { position: relative; min-width: 0; }
.msg {
  position: absolute; top: 0; left: 0; right: 0;
  margin: 0; padding: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  opacity: 0; visibility: hidden; transition: opacity .7s ease;
}
.msg.is-active { position: relative; opacity: 1; visibility: visible; }
.msg img { width: 100%; height: auto; display: block; }
.no-js .msg { position: relative; opacity: 1; visibility: visible; margin-bottom: 16px; }

/* The dish each message was about */
.msg figcaption {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; line-height: 1.4; color: rgba(255,255,255,.8);
}
.msg-dish-label {
  display: block; margin-bottom: 4px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
}

/* Arrows and dots, sitting right under the screenshot */
.msg-col { min-width: 0; }
/* Controls ride on the label line, so they never move between slides */
.msg-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.msg-head .source-label { margin-bottom: 0; }
.msg-controls { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.msg-rotator { margin-top: 24px; }
.msg-arrow {
  width: 30px; height: 30px; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  transition: background .2s ease, border-color .2s ease;
}
.msg-arrow:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.msg-arrow svg { width: 16px; height: 16px; }
.msg-dots { display: flex; align-items: center; gap: 7px; }
.msg-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.3); transition: background .25s ease, transform .25s ease;
}
.msg-dots button:hover { background: rgba(255,255,255,.65); }
.msg-dots button[aria-current="true"] { background: var(--brand); transform: scale(1.35); }
.no-js .msg-controls { display: none; }

/* Each side says where its praise came from */
.source-label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 26px;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.source-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex: none;
  background: var(--white); border-radius: 50%;
}
.source-mark svg { width: 17px; height: 17px; }
.source-mark-msg { background: #25d366; color: var(--white); }
.source-mark-msg svg { width: 16px; height: 16px; }

/* A hairline between the two kinds of proof */
@media (min-width: 900px) {
  .quote-layout { position: relative; column-gap: 88px; }
  .quote-layout::before {
    content: ""; position: absolute; top: 0; bottom: 0;
    left: calc(52.5% - 1px); width: 1px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.16) 15%, rgba(255,255,255,.16) 85%, rgba(255,255,255,0));
  }
}

/* A very tall screenshot is held to a sensible height, so it stays narrow */
.msg-tall img { max-height: 460px; width: auto; margin: 0 auto; }
