/* Yummy's Dosai Kadai — shared stylesheet for all pages */
/* style.css and the images folder both sit in the site root -> url("images/...") */

  :root{
    /* ===============================================================
       YUMMY'S DOSAI KADAI - FRANCHISE DESIGN TOKENS
       ---------------------------------------------------------------
       The six brand colours. These are the canonical names; every other
       token below is derived from them, so a future franchise market can
       be re-skinned by editing this block alone.

         Deep Espresso    #241C18   primary background (dark surfaces)
         Chocolate Brown  #302723   secondary background / raised cards
         Terracotta       #E78355   primary accent
         Warm Ivory       #F7F0E5   headings, and the light page ground
         Soft Beige Grey  #D5C8BE   secondary text on dark
         Dark Espresso    #1F1714   text ON the accent, and primary ink

       Measured pairings (WCAG 2.2, sRGB, verified by contrast.py):
         Warm Ivory   on Deep Espresso ........ 14.9:1   AA + AAA
         Soft Beige   on Deep Espresso ........ 10.3:1   AA + AAA
         Soft Beige   on Chocolate Brown ......  8.9:1   AA + AAA
         Terracotta   on Deep Espresso ........  6.2:1   AA  (text + UI)
         Dark Espresso on Terracotta ..........  6.5:1   AA  (button label)
         Dark Espresso on Warm Ivory .......... 15.3:1   AA + AAA

       TERRACOTTA IS NEVER BODY TEXT ON IVORY: #E78355 measures 2.4:1
       there. On light grounds the accent darkens to --burgundy (5.3:1).
       A terracotta button on the ivory ground also only reaches 2.4:1
       fill-to-ground, under the 3:1 that SC 1.4.11 wants for identifying
       a control, so primary buttons carry --btn-edge in light contexts.

       Token NAMES are unchanged on purpose - they are referenced in ~400
       declarations. Read --cream-* as "page ground", --brown-* as "ink",
       --burgundy as "accent safe as text", --terracotta as "accent fill".
       =============================================================== */
    --color-primary-bg:#241C18;
    --color-secondary-bg:#302723;
    --color-brand-accent:#E78355;
    --color-heading:#F7F0E5;
    --color-body-text:#D5C8BE;
    --color-button-text:#1F1714;

    /* --- ground, light -> deep --- */
    --cream-lift:#FFFFFF;
    --cream-soft:#FDFAF3;
    --cream:#F7F0E5;
    --cream-deep:#E8DCCA;
    /* --- inks --- */
    --brown-ink:#1F1714;
    --brown-mid:#574A42;
    --brown-deep:#241C18;
    --footer-bg:#1F1714;
    /* --- primary accent ---
       #A14A26 measured 4.44:1 where a price sits on the deeper ivory band,
       so it went to #9B4624. Reordering the homepage then moved several
       sections onto different bands, and on those grounds #9B4624 measured
       4.24-4.38:1 for the eyebrow and the specials price. Darkened again to
       #8F4020, which clears 4.5:1 on every band the accent lands on. */
    --burgundy:#8F4020;
    --burgundy-deep:#83381B;
    --burgundy-bright:#C45E35;
    /* edge on a terracotta fill, so the control is identifiable on ivory */
    --btn-edge:#8F4020;
    /* --- secondary accent: sand / amber --- */
    --gold:#6B4F2A;
    --gold-soft:#E8DCCA;
    /* --gold-bright is used almost entirely as TEXT ON DARK: the hero
       eyebrow, the marquee, the footer headings, the current-page nav link.
       Burnt Saffron there measured 3.59:1 against Deep Tamarind, under the
       4.5:1 floor, so this slot carries a light sand instead. The saffron
       lives in --burgundy-bright / --terracotta, where it sits on ivory. */
    --gold-bright:#E9D3AE;
    /* --- tertiary: the accent as a FILL on dark grounds --- */
    --terracotta:#E78355;
    --terracotta-soft:#EE9B74;
    /* --- lines, surfaces, depth --- */
    --line:rgba(31,23,20,0.16);
    --line-strong:rgba(31,23,20,0.32);
    --surface:#FDFAF3;
    --surface-raised:#FFFFFF;
    --shadow-sm: 0 2px 8px rgba(31,23,20,0.10);
    --shadow: 0 10px 28px rgba(31,23,20,0.15);
    --shadow-lg: 0 22px 52px rgba(31,23,20,0.22);
    --glow-gold: 0 0 0 1px rgba(231,131,85,0.45);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 14px;
    --on-dark:#F7F0E5;
    --on-dark-muted:#D5C8BE;
    /* Text that sits ON the accent fill. Dark espresso on terracotta measures
       6.5:1 and is now the same in both themes, so a primary button looks and
       measures identically whichever theme the visitor is in. */
    --on-accent:#1F1714;
    --header-height:72px;
    --menu-tabs-height:57px;
    --mobile-bar-height:64px;
    --ease: cubic-bezier(.22,.61,.36,1);
    --dur-s: 350ms;
    --dur-m: 700ms;
    /* --- fluid type scale (safe at 320px, generous at 1440px+) --- */
    --fs-h1: clamp(1.9rem, 1.1rem + 4.15vw, 4.9rem);
    --fs-h2: clamp(1.6rem, 1.08rem + 2.55vw, 3rem);
    --fs-h3: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem);
    --fs-body: clamp(1rem, 0.97rem + 0.14vw, 1.06rem);
    --fs-lede: clamp(1.04rem, 0.96rem + 0.42vw, 1.22rem);
    --fs-small: clamp(0.86rem, 0.83rem + 0.13vw, 0.92rem);
    --fs-micro: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  }
  /* The dark theme IS the supplied palette, used at its stated values:
     Deep Espresso ground, Chocolate Brown raised surfaces, Warm Ivory
     headings, Soft Beige Grey body text, Terracotta accent. */
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --cream-lift:#3A2F29; --cream-soft:#302723; --cream:#241C18; --cream-deep:#1A1411;
      --brown-ink:#F7F0E5; --brown-mid:#D5C8BE; --brown-deep:#1A1411;
      --footer-bg:#1A1411; --burgundy:#E78355; --burgundy-deep:#C45E35; --burgundy-bright:#EE9B74;
      --btn-edge:transparent;
      --gold:#D9BC8C; --gold-soft:#E7D2AC; --gold-bright:#F0E2C8;
      --terracotta:#E78355; --terracotta-soft:#EE9B74;
      --line:rgba(247,240,229,0.16); --line-strong:rgba(247,240,229,0.32);
      --surface:#302723; --surface-raised:#3A2F29;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
      --shadow: 0 10px 28px rgba(0,0,0,0.45);
      --shadow-lg: 0 22px 52px rgba(0,0,0,0.55);
    }
  }
  :root[data-theme="dark"]{
    --cream-lift:#3A2F29; --cream-soft:#302723; --cream:#241C18; --cream-deep:#1A1411;
    --brown-ink:#F7F0E5; --brown-mid:#D5C8BE; --brown-deep:#1A1411;
    --footer-bg:#1A1411; --burgundy:#E78355; --burgundy-deep:#C45E35; --burgundy-bright:#EE9B74;
    --btn-edge:transparent;
    --gold:#D9BC8C; --gold-soft:#E7D2AC; --gold-bright:#F0E2C8;
    --terracotta:#E78355; --terracotta-soft:#EE9B74;
    --line:rgba(247,240,229,0.16); --line-strong:rgba(247,240,229,0.32);
    --surface:#302723; --surface-raised:#3A2F29;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
    --shadow: 0 10px 28px rgba(0,0,0,0.45);
    --shadow-lg: 0 22px 52px rgba(0,0,0,0.55);
  }

  *{box-sizing:border-box;}
  /* overflow-x:hidden was set here to absorb sideways overflow. The one
     element that actually overflowed (the About story row, from its entry
     transform) is now clipped at its own container, and a sweep of seven
     widths from 320px to 1440px across every page finds nothing else, so
     the blanket rule is gone: setting overflow on the root element makes it
     a scroll container, which breaks position:sticky for descendants in
     some browsers - and both the header and the menu category bar are
     sticky. */
  html{scroll-behavior:smooth;}
  body{
    margin:0; background:var(--cream); color:var(--brown-ink);
    font-family:'Work Sans', sans-serif; font-size:var(--fs-body); line-height:1.62;
    -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
    padding-bottom:var(--mobile-bar-height);
  }
  @media(min-width:901px){ body{padding-bottom:0;} }
  img{max-width:100%;display:block;}
  a{color:inherit;}
  /* Long German compounds (Öffnungszeiten, Datenschutzerklärung, Wochenend-Kombinationen)
     must never punch out of their container on narrow screens. */
  h1,h2,h3,h4,p,li,a,span,td,th,figcaption,label,button{ overflow-wrap:break-word; }
  h1,h2,h3{
    font-family:'Fraunces', serif; font-weight:600; line-height:1.14;
    margin:0 0 0.5em; letter-spacing:-0.012em; hyphens:auto;
  }
  h1{font-size:var(--fs-h1); font-weight:700; line-height:1.08; letter-spacing:-0.022em;}
  h2{font-size:var(--fs-h2);}
  h3{font-size:var(--fs-h3); font-weight:600;}
  p{margin:0 0 1em;}
  .container{max-width:1160px; margin:0 auto; padding:0 clamp(18px, 5vw, 24px);}
  section{padding:clamp(60px, 8vw, 96px) 0; position:relative;}
  section[id]{scroll-margin-top:calc(var(--header-height) + 18px);}

  /* ---------- section colour grading ----------
     A light->deep warm ladder so the page reads in bands instead of one flat beige.
     Each light band is a soft vertical gradient, joined by a thin gold hairline. */
  .band-alt{
    background:linear-gradient(180deg, var(--cream-lift) 0%, var(--cream-soft) 55%, var(--cream-soft) 100%);
  }
  .band-base{
    background:linear-gradient(180deg, var(--cream) 0%, var(--cream) 62%, var(--cream-deep) 100%);
  }
  .band-alt::after, .band-base::after{
    content:""; position:absolute; left:0; right:0; bottom:0; height:1px; pointer-events:none;
    background:linear-gradient(90deg, transparent, rgba(231,131,85,0.45) 18%, rgba(231,131,85,0.45) 82%, transparent);
  }
  .intro{
    background:linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
  }

  [data-lang="de"] .lang-en{display:none;}
  [data-lang="en"] .lang-de{display:none;}

  a:focus-visible, button:focus-visible{ outline:2px solid var(--burgundy); outline-offset:3px; }

  @media (prefers-reduced-motion: reduce){
    *{animation:none !important; transition:none !important; scroll-behavior:auto !important;}
    .reveal, .reveal-left, .reveal-right, .reveal-scale{opacity:1 !important; transform:none !important;}
    .logo-circle, .logo-circle img, .orbit{opacity:1 !important; transform:none !important;}
    .img-reveal::before{transform:scaleX(0) !important;}
    .img-reveal img{transform:scale(1) !important;}
    .hero-text > *, .hero-visual{opacity:1 !important; transform:none !important;}
  }

  /* ---------- texture ---------- */
  .texture{position:relative;}
  .texture::before{
    content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
    background-image:
      radial-gradient(circle at 1px 1px, var(--brown-ink) 1px, transparent 0);
    background-size:26px 26px;
    opacity:0.035;
  }
  .texture > *{position:relative; z-index:1;}

  /* ---------- reveal animation ---------- */
  .reveal, .reveal-left, .reveal-right, .reveal-scale{
    opacity:0; transition:opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
  }
  .reveal{transform:translateY(26px);}
  .reveal-left{transform:translateX(-28px);}
  .reveal-right{transform:translateX(28px);}
  /* The 28px entry offset is applied before the element animates in, so at
     widths where the layout is already flush to the gutter it pushed the
     block past the viewport edge - measured 1028px against a 1024px
     viewport on the About page. Clipping the row that holds the sideways
     animations contains it at the source, rather than relying on
     overflow-x:hidden at the document root, which is what was absorbing it
     and which breaks position:sticky for descendants in some browsers.
     `hidden` first: Safari 15 and older ignore `clip` entirely. */
  .story-grid{ overflow-x:hidden; overflow-x:clip; }
  .reveal-scale{transform:scale(0.94);}
  /* Applied by main.js to anything already in the opening screen, so it is
     painted outright instead of fading in from opacity 0 over 700ms. A fade
     nobody is present to see, which costs Largest Contentful Paint. */
  .reveal.instant, .reveal-left.instant, .reveal-right.instant, .reveal-scale.instant{
    transition:none !important; animation:none !important;
  }
  .reveal.in-view, .reveal-left.in-view, .reveal-right.in-view, .reveal-scale.in-view{
    opacity:1; transform:none;
  }
  .stagger-group > *{transition-delay: calc(var(--i, 0) * 80ms);}

  /* ---------- Header ---------- */
  header.site{
    position:sticky; top:0; z-index:100; height:var(--header-height);
    display:flex; align-items:center;
    background:rgba(48,39,35,0.90); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(247,240,229,0.12);
    transition:box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
    /* Clips the closed mobile nav panel so it cannot widen the page.
       `hidden` first as the universally supported fallback: Safari 15 and
       older ignore `clip` entirely, and without a fallback the horizontal
       scroll bug returns on those devices. Both axes are set together so
       the element is never promoted to a one-axis scroll container. */
    overflow:hidden;
    overflow:clip;
  }
  header.site.scrolled{ background:rgba(36,28,24,0.96); box-shadow:0 6px 24px rgba(0,0,0,0.28); }
  .header-inner{ display:flex; align-items:center; justify-content:space-between; padding:0 24px; max-width:1160px; margin:0 auto; width:100%; }
  .brand{ display:flex; align-items:center; gap:12px; font-family:'Fraunces', serif; font-weight:600; font-size:1.2rem; line-height:1.15; text-decoration:none; color:var(--on-dark); min-width:0; }
  /* On phones the lang switch + burger leave little room, so the name used to wrap
     mid-way and crowd the 72px header. Scale it down instead. */
  @media(max-width:600px){
    .brand{ font-size:1.02rem; gap:9px; }
    .brand img{ width:44px; height:44px; }
    .header-actions{ gap:8px; }
  }
  @media(max-width:360px){
    .brand{ font-size:0.94rem; }
    .brand img{ width:40px; height:40px; }
  }
  .brand img{
    width:52px; height:52px; padding:3px; box-sizing:border-box; flex-shrink:0;
    object-fit:contain; border-radius:50%;
    border:1.5px solid rgba(231,131,85,0.55);
    box-shadow:0 2px 10px rgba(0,0,0,0.3);
    animation:logoFloat 4s ease-in-out infinite;
    transition:transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
  }
  .brand:hover img{ transform:scale(1.08); box-shadow:0 2px 14px rgba(0,0,0,0.3), 0 0 10px rgba(231,131,85,0.45); }
  @keyframes logoFloat{ 0%,100%{ transform:translateY(0) scale(1); } 50%{ transform:translateY(-3px) scale(1.03); } }
  nav.primary{ display:flex; gap:30px; align-items:center; }
  nav.primary a{ position:relative; display:inline-flex; align-items:center; min-height:44px; text-decoration:none; font-weight:500; font-size:0.95rem; color:var(--on-dark); padding:6px 0; }
  nav.primary a::after{
    content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background:var(--gold-soft);
    transition:right var(--dur-s) var(--ease);
  }
  nav.primary a:hover::after{ right:0; }
  .header-actions{ display:flex; align-items:center; gap:14px; }
  .lang-switch{ display:flex; border:1px solid rgba(247,240,229,0.34); border-radius:22px; overflow:hidden; font-size:0.82rem; font-weight:700; letter-spacing:0.03em; }
  /* Both selectors are kept on purpose. The switcher is now two real links,
     one per language URL, so each language is crawlable and shareable; the
     button form stays styled so the control still looks right if a page is
     ever served from the older single-URL markup. */
  .lang-switch button, .lang-switch a{
    border:none; background:transparent; color:var(--on-dark); cursor:pointer; font-family:inherit;
    text-decoration:none;
    /* 44px min tap target (was 27px) */
    min-height:40px; min-width:46px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center;
    transition:background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
  }
  .lang-switch button:hover, .lang-switch a:hover{ background:rgba(247,240,229,0.12); }
  .lang-switch button.active, .lang-switch a.active{ background:var(--terracotta); color:var(--on-accent); }
  .lang-switch button.active:hover, .lang-switch a.active:hover{ background:var(--terracotta-soft); }
  .lang-switch a:focus-visible{ outline:2px solid var(--gold-bright); outline-offset:-2px; }

  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    min-height:48px; padding:13px 26px; border-radius:var(--radius-sm);
    font-weight:600; font-size:var(--fs-small); text-decoration:none; cursor:pointer;
    border:1px solid transparent; font-family:'Work Sans', sans-serif; letter-spacing:0.01em;
    transition:transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease), color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
  }
  .btn:hover{ transform:translateY(-2px); }
  .btn:active{ transform:translateY(0); }

  /* ---------- PRIMARY -------------------------------------------------
     Terracotta fill, Dark Espresso label, flat. One appearance in both
     themes and on both light and dark grounds, so a visitor learns the
     primary action once.

     All three states keep the same dark label and stay above AA:
       rest   #1F1714 on #E78355 .... 6.5:1
       hover  #1F1714 on #EE9B74 .... 8.1:1
       active #1F1714 on #DD764A .... 5.7:1

     --btn-edge: on the ivory ground the terracotta fill alone reaches only
     2.4:1 against the page, under the 3:1 SC 1.4.11 asks for to identify a
     control, so a darker terracotta rim (5.3:1 on ivory) carries the
     boundary. On dark grounds the fill is already 6.2:1, so the rim is
     set to transparent there rather than drawing a line for nothing.
     The previous button was a three-stop gradient that resolved to #C62828
     on hover - a red from no palette this brand has ever used. */
  .btn-primary, .btn-gold{
    background:var(--terracotta); color:var(--on-accent);
    border-color:var(--btn-edge); box-shadow:0 4px 14px rgba(31,23,20,0.22);
  }
  .btn-primary:hover, .btn-gold:hover{
    background:var(--terracotta-soft); box-shadow:0 8px 22px rgba(31,23,20,0.30);
  }
  .btn-primary:active, .btn-gold:active{ background:#DD764A; }

  /* ---------- SECONDARY ----------------------------------------------
     Dark ink on the page ground, subtle rim. Deliberately quieter than
     primary so the two never read as equally weighted. */
  .btn-outline{ background:transparent; border-color:var(--line-strong); color:var(--brown-ink); }
  .btn-outline:hover{ background:var(--brown-ink); color:var(--cream-lift); border-color:var(--brown-ink); }

  /* Secondary on an intentionally dark surface (hero, specials band, final
     CTA, cookie banner). Replaces per-element inline border/colour styles
     that the generator used to write onto individual buttons. */
  .hero .btn-outline, .final-cta .btn-outline,
  .specials-section .btn-outline, .cookie-banner .btn-outline{
    border-color:var(--color-heading); color:var(--color-heading);
  }
  .hero .btn-outline:hover, .final-cta .btn-outline:hover,
  .specials-section .btn-outline:hover, .cookie-banner .btn-outline:hover{
    background:var(--color-heading); color:var(--color-primary-bg);
  }
  /* 44px, not 42: the comfortable-touch guideline every other control
     on the site already meets. Shared with the location cards. */
  .btn-small{ min-height:44px; padding:10px 18px; font-size:var(--fs-micro); }
  .menu-toggle{
    display:none; background:none; border:none; cursor:pointer; color:var(--on-dark);
    position:relative; z-index:101;
    /* 44px min tap target (was 34x37) */
    width:44px; height:44px; padding:0; align-items:center; justify-content:center; border-radius:50%;
    transition:background var(--dur-s) var(--ease);
  }
  .menu-toggle:hover{ background:rgba(247,240,229,0.12); }
  .menu-toggle svg{ width:26px;height:26px; }
  .menu-toggle .icon-close{ display:none; }
  .menu-toggle.is-open .icon-open{ display:none; }
  .menu-toggle.is-open .icon-close{ display:block; }

  @media(max-width:900px){
    /* Removing the header's backdrop-filter while the menu is open prevents it from
       becoming the containing block for this fixed-position panel (which would trap
       the panel inside the header's own short height instead of the full viewport). */
    header.site.nav-open{ backdrop-filter:none; -webkit-backdrop-filter:none; }
    .menu-toggle.is-open{ color:var(--brown-ink); }
    nav.primary{
      position:fixed; inset:0 0 0 auto; width:82%; max-width:340px; height:100vh; height:100dvh;
      background:var(--surface); z-index:100;
      flex-direction:column; align-items:stretch; padding:96px 28px 28px; gap:4px;
      transform:translateX(100%); transition:transform .3s var(--ease); box-shadow:-8px 0 40px rgba(0,0,0,0.28);
      overflow-y:auto;
    }
    nav.primary a{
      color:var(--brown-ink); font-size:1.15rem; font-weight:600; padding:16px 4px;
      border-bottom:1px solid var(--line); width:100%;
    }
    nav.primary a:last-child{ border-bottom:none; }
    nav.primary a::after{ display:none; }
    nav.primary.open{ transform:translateX(0); }
    .nav-overlay{ position:fixed; inset:0; background:rgba(26,20,17,0.55); z-index:99; opacity:0; pointer-events:none; transition:opacity .3s; }
    .nav-overlay.show{ opacity:1; pointer-events:auto; }
    .menu-toggle{ display:inline-flex; }
  }

  /* ---------- Hero ---------- */
  .hero{
    position:relative; overflow:hidden;
    /* One warm highlight over a two-stop espresso base. The previous version
       ran brown -> #6B1414 red -> burgundy, which pulled a colour outside the
       brand palette across the most-seen surface on the site and left the
       primary button sitting on a ground of nearly its own value. Chocolate
       into Deep Espresso keeps the depth and stays inside the six brand
       colours; the terracotta button now separates from it at 6.2:1. */
    background:
      radial-gradient(ellipse 74% 60% at 18% 10%, rgba(231,131,85,0.16), transparent 64%),
      linear-gradient(166deg, var(--color-secondary-bg) 0%, var(--color-primary-bg) 62%, #1A1411 100%);
    color:var(--on-dark); padding:88px 0 96px;
    min-height:calc(100vh - var(--header-height)); display:flex; align-items:center;
  }
  .hero::after{
    content:""; position:absolute; left:0; right:0; bottom:0; height:2px; z-index:3; pointer-events:none;
    background:linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold-bright) 50%, var(--gold) 75%, transparent);
    opacity:0.6;
  }
  .hero .container{ position:relative; z-index:2; max-width:1160px; display:grid; grid-template-columns:1.05fr 0.95fr; align-items:center; gap:56px; }
  .hero-text .eyebrow-mark{ display:inline-flex; align-items:center; gap:10px; color:var(--gold-bright); font-weight:600; font-size:var(--fs-small); margin-bottom:18px; font-family:'Fraunces',serif; font-style:italic; letter-spacing:0.06em; text-transform:uppercase; }
  .hero-text h1{ color:var(--on-dark); }
  /* The hero headline is now one long sentence naming cuisine and city
     rather than two short stacked lines, so it needs its own ceiling: the
     shared --fs-h1 tops out at 4.9rem, which set this heading four lines
     deep on a desktop and pushed both calls to action below the fold.
     text-wrap:balance evens the line lengths and keeps "&" off a line of
     its own; browsers without it fall back to normal wrapping. */
  .hero-text h1.hero-h1{
    font-size:clamp(1.85rem, 1.15rem + 2.9vw, 3.5rem);
    max-width:20ch; text-wrap:balance; margin-bottom:0.42em;
  }
  @media(max-width:900px){ .hero-text h1.hero-h1{ max-width:none; } }
  /* The headline was painted with background-clip:text and a transparent
     text fill to carry a warm gradient. Removed: the brief specifies a
     single Warm Ivory for headings, the grade was close to invisible at
     reading distance, and the technique reports color:transparent to any
     accessibility or contrast tool, so the most prominent text on the site
     could not be verified by measurement. Solid ivory is 14.9:1 here and
     needs no @supports guard to avoid vanishing on unsupported browsers. */
  .hero-text p.lede{ font-size:var(--fs-lede); max-width:46ch; color:var(--on-dark-muted); margin-bottom:10px; }
  .hero-text .loc{ color:var(--gold-bright); font-weight:600; margin-bottom:32px; display:block; font-size:var(--fs-small); letter-spacing:0.01em; }
  .hero-text .cta-row{ display:flex; flex-wrap:wrap; gap:14px; }
  .hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; aspect-ratio:1/1; }
  .hero-visual .plate{
    position:absolute; inset:6%; border-radius:50%;
    background: radial-gradient(circle at 32% 28%, rgba(247,240,229,0.16), transparent 55%), conic-gradient(from 200deg, var(--gold) 0%, var(--terracotta) 24%, var(--burgundy-deep) 48%, var(--gold-soft) 72%, var(--gold) 100%);
    box-shadow: 0 30px 70px rgba(0,0,0,0.35), inset 0 0 0 10px rgba(247,240,229,0.08);
  }
  .hero-visual .plate-inner{
    position:absolute; inset:16%; border-radius:50%; background:var(--brown-deep); overflow:hidden;
  }
  .hero-visual .logo-circle{
    position:absolute; inset:0; width:100%; height:100%; border-radius:50%; overflow:hidden;
    opacity:0; transform:scale(0.82);
    animation: logoEntrance 1050ms cubic-bezier(.22,1,.36,1) forwards, logoBreathe 4s ease-in-out infinite 1050ms;
    transition: box-shadow .35s ease;
  }
  .hero-visual .logo-circle img{
    width:100%; height:100%; object-fit:cover; object-position:center; display:block;
    transition: transform .35s ease;
  }
  .hero-visual .logo-circle:hover{ box-shadow: 0 0 0 2px rgba(231,131,85,.30), 0 12px 40px rgba(0,0,0,.22); }
  .hero-visual .logo-circle:hover img{ transform:scale(1.035); }
  @keyframes logoEntrance{ from{ opacity:0; transform:scale(.82); } to{ opacity:1; transform:scale(1); } }
  @keyframes logoBreathe{ 0%,100%{ transform:translateY(0) scale(1); } 50%{ transform:translateY(-4px) scale(1.015); } }
  .hero-visual .ring{ position:absolute; inset:-4%; border-radius:50%; border:1px solid rgba(247,240,229,0.25); }
  .hero-visual .orbit{ position:absolute; border-radius:50%; border:1px solid rgba(247,240,229,0.32); pointer-events:none; }
  .hero-visual .orbit-1{ inset:9%; animation: orbitRotate 22s linear infinite; }
  .hero-visual .orbit-2{ inset:11%; border-color:rgba(247,240,229,0.2); transform:scale(1,0.86); animation: orbitRotateEllipse 30s linear infinite reverse; }
  @keyframes orbitRotate{ to{ transform:rotate(360deg); } }
  @keyframes orbitRotateEllipse{ to{ transform:scale(1,0.86) rotate(360deg); } }
  @keyframes fadeUp{ from{opacity:0; transform:translateY(22px);} to{opacity:1; transform:translateY(0);} }
  @keyframes riseOnly{ from{transform:translateY(14px);} to{transform:translateY(0);} }
  .hero-text > *{ opacity:0; animation:fadeUp 520ms var(--ease) forwards; }
  /* The headline is the Largest Contentful Paint element on the homepage.
     Starting it at opacity:0 means the browser has nothing large painted
     until the delay plus the fade have elapsed, which moved LCP out by
     roughly three quarters of a second for no visual gain. It now rises
     into place at full opacity, so it is painted on the first frame.
     The rest of the stagger was 0.05-0.52s before the last element even
     began; the primary call to action finished arriving at about 1.2s.
     Tightened so the whole hero has settled inside half a second. */
  .hero-text h1{ opacity:1; animation-name:riseOnly; animation-delay:0s; }
  .hero-text .eyebrow-mark{ animation-delay:.04s; }
  .hero-text p.lede{ animation-delay:.14s; }
  .hero-text .loc{ animation-delay:.20s; }
  .hero-text .cta-row{ animation-delay:.26s; }
  .hero-visual{ opacity:0; transform:scale(0.92); animation:heroScale .9s var(--ease) forwards; animation-delay:.2s; }
  @keyframes heroScale{ to{opacity:1; transform:scale(1);} }
  @media(max-width:900px){
    .hero{ min-height:auto; padding:52px 0 60px; }
    .hero .container{ grid-template-columns:1fr; gap:36px; text-align:left; }
    /* BUGFIX: .hero-visual holds only absolutely-positioned children, so its
       intrinsic size is 0. As a grid item it was previously sized by `margin:0 auto`,
       which cancels the default `stretch` and collapsed it to 0x0 — the whole hero
       logo/plate was invisible on every phone and tablet. Give it an explicit width. */
    .hero-visual{
      width:min(300px, 68vw); max-width:none; margin-inline:auto;
      justify-self:center; align-self:center;
    }
  }
  @media(max-width:420px){
    .hero-visual{ width:min(250px, 64vw); }
    .hero{ padding:40px 0 52px; }
  }

  /* ---------- Intro ---------- */
  .intro{ text-align:center; }
  .intro .container{ max-width:720px; }
  .intro h2{ margin-bottom:14px; }
  .intro p{ font-size:var(--fs-lede); color:var(--brown-mid); }
  /* small gold flourish under the intro heading */
  .intro h2::after{
    content:""; display:block; width:64px; height:2px; margin:18px auto 0;
    background:linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  /* ---------- Explore menu ---------- */
  .explore-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; margin-top:44px; }
  @media(max-width:760px){ .explore-grid{ grid-template-columns:1fr; } }
  .cat-card{
    position:relative; display:block; text-decoration:none; color:var(--on-dark);
    border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; isolation:isolate;
    box-shadow:var(--shadow); transition:transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
    border:1px solid rgba(231,131,85,0.22);
  }
  .cat-card:hover, .cat-card:focus-visible{ transform:translateY(-6px); border-color:var(--gold-soft); box-shadow:var(--shadow-lg); }
  .cat-card .art{ position:absolute; inset:0; overflow:hidden; background:var(--brown-deep); }
  .cat-card .art img{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; opacity:0; transition:transform .6s var(--ease), opacity .5s ease; }
  .cat-card .art img.loaded{ opacity:1; }
  .cat-card:hover .art img{ transform:scale(1.06); }
  /* The old overlay only reached full strength at the very bottom, so titles and
     descriptions sat on bright food photography at ~40% scrim and were hard to read.
     This ramps earlier and adds a warm tint so the text always clears AA contrast. */
  .cat-card .overlay{
    position:absolute; inset:0;
    background:
      linear-gradient(180deg, rgba(26,20,17,0.00) 12%, rgba(26,20,17,0.34) 44%, rgba(26,20,17,0.78) 68%, rgba(26,20,17,0.94) 100%),
      linear-gradient(180deg, transparent 55%, rgba(36,28,24,0.30) 100%);
  }
  .cat-card .content{ position:absolute; left:0; right:0; bottom:0; padding:clamp(18px, 4.5vw, 26px); }
  .cat-card h3{
    color:#fff; font-family:'Fraunces',serif; font-size:clamp(1.28rem, 1.05rem + 1.05vw, 1.55rem);
    margin-bottom:6px; transition:transform var(--dur-s) var(--ease); line-height:1.18;
    text-shadow:0 2px 14px rgba(0,0,0,0.55);
  }
  .cat-card:hover h3{ transform:translateX(4px); }
  .cat-card p{ color:rgba(247,240,229,0.94); font-size:var(--fs-small); margin-bottom:10px; line-height:1.5; text-shadow:0 1px 10px rgba(0,0,0,0.5); }
  .cat-card .arrow{ display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:var(--fs-micro); color:var(--gold-bright); text-transform:uppercase; letter-spacing:0.07em; }
  .cat-card .arrow svg{ width:16px;height:16px; transition:transform var(--dur-s) var(--ease); }
  .cat-card:hover .arrow svg{ transform:translateX(5px); }

  /* ---------- Yummy's On Wheels ---------- */
  .truck-eyebrow{
    display:inline-block; font-family:'Fraunces',serif; font-weight:700;
    font-size:var(--fs-small); letter-spacing:0.14em; text-transform:uppercase;
    color:var(--burgundy); margin-bottom:10px;
  }
  .coming-badge{
    display:inline-block; margin-top:14px; padding:7px 16px;
    font-family:'Work Sans',sans-serif; font-weight:700; font-size:var(--fs-micro);
    letter-spacing:0.1em; text-transform:uppercase;
    color:var(--on-accent); background:var(--terracotta);
    border:1px solid var(--btn-edge); border-radius:999px;
  }
  /* The supplied Yummy's On Wheels visual. width/height on the element
     reserve the space, and this keeps the aspect ratio while it scales. */
  .truck-art{
    width:100%; height:auto; max-width:600px; display:block;
    aspect-ratio:1200/676; object-fit:cover;
    border-radius:var(--radius); box-shadow:var(--shadow);
  }
  .truck-figure{ margin:28px 0 0; }
  .wheels-teaser-inner{
    display:grid; gap:32px; align-items:center;
    grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr);
  }
  @media(max-width:860px){
    .wheels-teaser-inner{ grid-template-columns:1fr; }
    .wheels-art{ order:-1; }
  }
  .wheels-art .truck-art{ max-width:100%; margin-inline:auto; }
  .truck-hero .section-lede{ max-width:52ch; }
  .truck-grid{
    display:grid; gap:18px; margin-top:28px;
    grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  }
  .truck-card{
    background:var(--surface-raised); border:1px solid var(--line);
    border-radius:var(--radius); padding:22px; box-shadow:var(--shadow-sm);
  }
  .truck-card h3{ margin-bottom:8px; }
  .truck-card p{ margin:0; color:var(--brown-mid); font-size:var(--fs-small); }
  .truck-placeholder{
    margin-top:22px; padding:26px; border-radius:var(--radius);
    border:1px dashed var(--line-strong); background:var(--surface);
  }
  .truck-placeholder p{ margin:14px 0 0; color:var(--brown-mid); max-width:62ch; }
  .stop-list{ list-style:none; padding:0; margin:22px 0 0; display:grid; gap:14px; }
  .stop{
    border:1px solid var(--line); border-radius:var(--radius);
    padding:18px; background:var(--surface-raised);
  }
  .stop-head{ display:flex; flex-wrap:wrap; gap:10px; align-items:baseline; }
  .stop-head h3{ margin:0; }
  .stop-badge{
    font-size:var(--fs-micro); font-weight:700; letter-spacing:0.08em;
    padding:3px 10px; border-radius:999px; border:1px solid var(--line-strong);
    color:var(--brown-mid);
  }
  .stop-active .stop-badge{ background:var(--terracotta); color:var(--on-accent);
    border-color:var(--btn-edge); }
  .stop-cancelled{ opacity:0.72; }
  .stop-cancelled .stop-head h3{ text-decoration:line-through; }
  .truck-final{ text-align:center; }
  .truck-final p{ max-width:56ch; margin-inline:auto; }


  /* Available to screen readers, off-screen for everyone else. */
  .visually-hidden{
    position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0;
  }

  /* ---------- Culinary expert ---------- */
  .chef-card{
    margin-top:22px; padding:clamp(22px, 4vw, 32px);
    background:var(--surface-raised); border:1px solid var(--line);
    border-left:4px solid var(--terracotta); border-radius:var(--radius);
    box-shadow:var(--shadow-sm); max-width:76ch;
  }
  .chef-name{
    font-family:'Fraunces',serif; font-weight:700;
    font-size:clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
    color:var(--brown-ink); margin:0 0 4px;
  }
  .chef-role{
    font-size:var(--fs-small); font-weight:600; color:var(--burgundy);
    margin:0 0 18px; letter-spacing:0.01em;
  }
  .chef-card p + p{ margin-top:14px; }
  .chef-card p:not(.chef-name):not(.chef-role){ color:var(--brown-mid); }

  /* ---------- Culinary expert ---------- */
  /* Text left, portrait right - the mirror of the founder block above it, so
     the two profiles read as a matched pair. Both portrait columns share the
     same 430px cap and the same radius, shadow and reveal. */
  .chef-grid{
    display:grid; gap:clamp(24px, 4vw, 44px); align-items:start;
    grid-template-columns:minmax(0, 1fr) minmax(0, 430px);
  }
  .chef-photo{ margin:0; position:sticky; top:calc(var(--header-h) + 20px); }
  .chef-photo img{
    width:100%; height:auto; display:block;
    border-radius:var(--radius); box-shadow:var(--shadow);
  }
  .chef-eyebrow{
    display:inline-block; margin-bottom:10px;
    font-family:'Work Sans',sans-serif; font-weight:700;
    font-size:var(--fs-micro); letter-spacing:0.14em; text-transform:uppercase;
    color:var(--burgundy);
  }
  .chef-name{
    font-family:'Fraunces',serif; font-weight:700;
    font-size:clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem);
    color:var(--brown-ink); margin:14px 0 2px;
  }
  .chef-role{
    font-size:var(--fs-small); color:var(--brown-mid);
    margin:0 0 18px; font-style:italic;
  }
  .chef-body p{ max-width:66ch; }

  /* Homepage teaser: same profile, shorter, photo kept small beside it. */
  .chef-teaser{
    display:grid; gap:clamp(20px, 3.5vw, 38px); align-items:center;
    grid-template-columns:minmax(0, 300px) minmax(0, 1fr);
  }
  .chef-teaser-photo{ margin:0; }
  .chef-teaser-photo img{
    width:100%; height:auto; display:block;
    border-radius:var(--radius); box-shadow:var(--shadow-sm);
  }
  .chef-teaser-body .chef-name{ margin-top:8px; }

  @media(max-width:860px){
    .chef-grid, .chef-teaser{ grid-template-columns:1fr; }
    /* sticky inside a single column would pin the portrait over the text */
    .chef-photo{ position:static; }
    /* portrait above the text, matching the founder block */
    .chef-grid .chef-photo{ order:-1; }
    .chef-photo img, .chef-teaser-photo img{ max-width:380px; margin-inline:auto; }
  }

  /* ---------- Founder ----------
     Portrait left, text right; the chef block below mirrors it. Same tokens,
     same radius and shadow, same reveal behaviour - no separate identity. */
  .founder-grid{
    display:grid; gap:clamp(24px, 4vw, 44px); align-items:start;
    grid-template-columns:minmax(0, 430px) minmax(0, 1fr);
  }
  .founder-photo{ margin:0; position:sticky; top:calc(var(--header-h) + 20px); }
  .founder-photo img{
    width:100%; height:auto; display:block;
    border-radius:var(--radius); box-shadow:var(--shadow);
  }
  .founder-body p{ max-width:66ch; }
  .founder-sub{
    font-family:'Fraunces',serif;
    font-size:clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
    color:var(--brown-ink); margin:0 0 20px;
  }
  /* The brand line is set as type, not as a banner. */
  .brand-statement{
    font-family:'Fraunces',serif; font-weight:700;
    font-size:clamp(1.1rem, 1rem + 0.7vw, 1.5rem);
    line-height:1.25; color:var(--burgundy);
    margin:28px 0 0; padding-top:22px; max-width:24ch;
    border-top:1px solid var(--line-strong);
  }

  .founder-teaser{
    display:grid; gap:clamp(20px, 3.5vw, 36px); align-items:center;
    grid-template-columns:minmax(0, 240px) minmax(0, 1fr);
  }
  .founder-teaser-photo{ margin:0; }
  .founder-teaser-photo img{
    width:100%; height:auto; display:block;
    border-radius:var(--radius); box-shadow:var(--shadow-sm);
  }
  .founder-teaser-body .brand-statement{ margin-top:18px; padding-top:16px; }

  @media(max-width:860px){
    .founder-grid, .founder-teaser{ grid-template-columns:1fr; }
    /* portrait first on a phone, so the face leads the section */
    .founder-grid .founder-photo{ order:-1; position:static; }
    .founder-photo img, .founder-teaser-photo img{
      max-width:380px; margin-inline:auto;
    }
  }

  /* ---------- Journey across Berlin ----------
     An ordered list, so the sequence survives with CSS off and reads as
     three steps to a screen reader rather than three unrelated cards. */
  .journey-grid{
    list-style:none; padding:0; margin:26px 0 22px;
    display:grid; gap:clamp(16px, 2.4vw, 24px);
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
  .journey-step{
    position:relative; padding:clamp(20px, 2.6vw, 26px);
    background:var(--surface-raised); border:1px solid var(--line);
    border-top:3px solid var(--terracotta); border-radius:var(--radius);
    box-shadow:var(--shadow-sm);
  }
  .journey-rank{
    display:block; font-family:'Fraunces',serif; font-weight:700;
    font-size:var(--fs-small); letter-spacing:0.08em;
    color:var(--burgundy); margin-bottom:6px;
  }
  .journey-step h3{
    font-size:clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
    margin:0 0 4px; color:var(--brown-ink);
  }
  .journey-addr{
    font-size:var(--fs-small); font-weight:600;
    color:var(--brown-mid); margin:0 0 10px;
  }
  .journey-step p:last-child{ margin-bottom:0; }

  /* ---------- Restaurant family ---------- */
  .family-grid{
    list-style:none; padding:0; margin:26px 0 0;
    display:grid; gap:clamp(16px, 2.4vw, 24px);
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
  .family-card{
    padding:clamp(20px, 2.6vw, 26px);
    background:var(--surface-raised); border:1px solid var(--line);
    border-left:4px solid var(--terracotta); border-radius:var(--radius);
    box-shadow:var(--shadow-sm);
  }
  .family-card h3{
    font-size:clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
    margin:0 0 4px; color:var(--brown-ink);
  }
  .family-kind{
    font-size:var(--fs-micro); font-weight:600; letter-spacing:0.06em;
    text-transform:uppercase; color:var(--burgundy); margin:0 0 12px;
  }
  .family-card p:last-child{ margin-bottom:0; }

  /* ---------- Vision commitments ---------- */
  .vision-list{
    list-style:none; padding:0; margin:24px 0 20px;
    display:grid; gap:10px 28px;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    max-width:72ch;
  }
  .vision-list li{
    position:relative; padding-left:26px;
    font-weight:500; color:var(--brown-ink);
  }
  /* the tick is decoration, so it is drawn rather than written as text a
     screen reader would read out before every item */
  .vision-list li::before{
    content:""; position:absolute; left:2px; top:0.46em;
    width:11px; height:6px; border-left:2px solid var(--terracotta);
    border-bottom:2px solid var(--terracotta);
    transform:rotate(-45deg);
  }

  @media(max-width:860px){
    .journey-grid, .family-grid, .vision-list{ grid-template-columns:1fr; }
  }

  /* ---------- 404 ---------- */
  .err-links{
    list-style:none; padding:0; margin:14px 0 0;
    display:flex; flex-wrap:wrap; gap:10px 14px;
  }
  .err-links a{
    display:inline-flex; align-items:center; min-height:44px; padding:8px 18px;
    font-weight:600; font-size:var(--fs-small); text-decoration:none;
    color:var(--brown-ink); border:1px solid var(--line-strong); border-radius:999px;
    transition:background var(--dur-s), color var(--dur-s), border-color var(--dur-s);
  }
  .err-links a:hover{ background:var(--terracotta); color:var(--on-accent); border-color:var(--terracotta); }

  /* ---------- Menu search and filters ---------- */
  .menu-tools{ background:var(--cream-soft); border-bottom:1px solid var(--line); }
  .menu-tools-inner{ padding-top:18px; padding-bottom:18px; }
  .menu-search{
    width:100%; max-width:440px; min-height:48px; padding:12px 16px;
    font-family:'Work Sans',sans-serif; font-size:var(--fs-body);
    color:var(--brown-ink); background:var(--surface-raised);
    border:1px solid var(--line-strong); border-radius:var(--radius-sm);
  }
  .menu-search::placeholder{ color:var(--brown-mid); opacity:1; }
  .menu-search:focus-visible{ outline:2px solid var(--burgundy); outline-offset:2px; }
  .menu-filters{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
  .menu-filter{
    min-height:44px; padding:8px 16px; cursor:pointer;
    font-family:'Work Sans',sans-serif; font-weight:600; font-size:var(--fs-small);
    color:var(--brown-ink); background:transparent;
    border:1px solid var(--line-strong); border-radius:999px;
    transition:background var(--dur-s), color var(--dur-s), border-color var(--dur-s);
  }
  .menu-filter:hover{ border-color:var(--terracotta); }
  /* Selected state carries a weight change as well as the fill, so it does
     not depend on colour alone. aria-pressed conveys it non-visually. */
  .menu-filter[aria-pressed="true"]{
    background:var(--terracotta); border-color:var(--terracotta);
    color:var(--on-accent); font-weight:700;
  }
  .menu-tools-note{
    margin:12px 0 0; font-size:var(--fs-micro); color:var(--brown-mid); max-width:68ch;
  }
  .menu-count{ margin:6px 0 0; font-size:var(--fs-micro); color:var(--brown-mid); }
  .menu-item[hidden], .combo-box[hidden]{ display:none; }
  .menu-cat[hidden]{ display:none; }
  .menu-empty{
    margin:28px 0; font-size:var(--fs-lede); color:var(--brown-mid);
  }

  /* ---------- Popular dishes ---------- */
  .dish-grid{
    display:grid; gap:18px; margin-top:30px;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  }
  .dish-card{
    background:var(--surface-raised); border:1px solid var(--line);
    border-radius:var(--radius); padding:20px 20px 16px;
    box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:6px;
    transition:transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
  }
  .dish-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
  .dish-head{
    display:flex; flex-wrap:wrap; justify-content:space-between;
    align-items:baseline; gap:4px 14px;
  }
  .dish-head h3{ margin:0; flex:1 1 60%; min-width:0; overflow-wrap:anywhere; }
  .dish-head .price{
    font-family:'Fraunces',serif; font-weight:700; color:var(--burgundy);
    white-space:nowrap; flex:0 0 auto; margin-left:auto;
  }
  .dish-card p{ margin:0; color:var(--brown-mid); font-size:var(--fs-small); }
  /* Says only what the dish name and description actually evidence. The
     "no meat or fish" wording is deliberate: it reports the absence of those
     words, it does not certify the dish as vegetarian or vegan, which only
     the kitchen can do. */
  .diet-tag{
    align-self:flex-start; margin-top:6px; font-size:var(--fs-micro);
    font-weight:600; letter-spacing:0.02em; padding:3px 10px;
    border-radius:999px; border:1px solid var(--line-strong);
  }
  .diet-tag.veg{ color:var(--gold); }
  .diet-tag.meat{ color:var(--burgundy); }
  .dish-cta{ margin-top:26px; }

  /* ---------- Marquee ---------- */
  .marquee-wrap{
    background:linear-gradient(90deg, var(--color-primary-bg), var(--color-secondary-bg) 50%, var(--color-primary-bg));
    overflow:hidden; padding:16px 0;
    border-top:1px solid rgba(231,131,85,0.26); border-bottom:1px solid rgba(231,131,85,0.26);
  }
  .marquee-track{ display:flex; width:max-content; gap:0; animation:marquee 32s linear infinite; }
  .marquee-track span{ display:inline-flex; align-items:center; gap:14px; font-family:'Fraunces',serif; font-style:italic; font-size:clamp(0.98rem, 0.9rem + 0.4vw, 1.12rem); color:var(--gold-bright); padding:0 18px; white-space:nowrap; }
  @keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
  @media (prefers-reduced-motion: reduce){ .marquee-track{ animation:none; } }

  /* ---------- Specials (dark feature) ---------- */
  .specials-section{ background:var(--brown-deep); color:var(--on-dark); overflow:hidden; position:relative; }
  .specials-photo{ position:absolute; inset:0; z-index:0; }
  .specials-photo img{ width:100%; height:100%; object-fit:cover; object-position:center; opacity:0.26; }
  .specials-photo::after{
    content:""; position:absolute; inset:0;
    background:
      radial-gradient(ellipse 65% 60% at 78% 18%, rgba(231,131,85,0.16), transparent 62%),
      linear-gradient(160deg, rgba(48,39,35,0.93), rgba(36,28,24,0.88) 48%, rgba(26,20,17,0.93));
  }
  .bg-word{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:0; pointer-events:none;
    font-family:'Fraunces',serif; font-weight:700; font-size:clamp(6rem,22vw,15rem); color:var(--on-dark);
    opacity:0.05; white-space:nowrap; letter-spacing:0.02em;
  }
  .specials-section .container{ position:relative; z-index:1; }
  .specials-section h2{ color:var(--on-dark); }
  .specials-section .section-lede{ color:var(--on-dark-muted); max-width:56ch; }
  .specials-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:36px; }
  @media(max-width:900px){ .specials-grid{ grid-template-columns:repeat(2,1fr);} }
  @media(max-width:560px){ .specials-grid{ grid-template-columns:1fr;} }
  /* Base card: readable on the PAGE ground. These styles used to assume the
     dark specials band and set ivory text on a near-transparent fill, so
     reusing the card for the homepage teaser produced three empty-looking
     outlines - cream text on a cream band. The dark treatment is now scoped
     to the dark band, where it belongs. */
  .special-card{
    border:1px solid var(--line); border-radius:var(--radius); padding:clamp(20px, 4.5vw, 26px);
    background:var(--surface-raised); box-shadow:var(--shadow-sm);
    transition:transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
  }
  .special-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); border-color:var(--terracotta); }
  .special-card .tag{ display:inline-block; font-size:var(--fs-micro); font-weight:700; letter-spacing:0.07em; color:var(--burgundy); border:1px solid var(--line-strong); border-radius:14px; padding:5px 12px; margin-bottom:14px; }
  .special-card ul{ list-style:none; margin:0 0 16px; padding:0; font-size:var(--fs-small); }
  .special-card li{ padding:6px 0; border-bottom:1px dashed var(--line-strong); color:var(--brown-ink); }
  .special-card li:last-child{ border-bottom:none; }
  .special-card .price{ font-family:'Fraunces',serif; font-size:clamp(1.2rem, 1.05rem + 0.6vw, 1.38rem); font-weight:600; color:var(--burgundy); }

  /* The same card on the dark specials band. */
  .specials-section .special-card{
    border-color:rgba(231,131,85,0.55); box-shadow:none;
    background:linear-gradient(165deg, rgba(247,240,229,0.10), rgba(247,240,229,0.04) 60%, rgba(231,131,85,0.07));
  }
  .specials-section .special-card:hover{ box-shadow:0 18px 44px rgba(0,0,0,0.38); border-color:var(--gold-bright); }
  .specials-section .special-card .tag{ color:var(--gold-bright); border-color:var(--gold-soft); }
  .specials-section .special-card li{ border-bottom-color:rgba(247,240,229,0.24); color:rgba(247,240,229,0.94); }
  .specials-section .special-card .price{ color:var(--gold-bright); }

  /* ---------- Full menu ---------- */
  .menu-hero{ padding:76px 0 26px; text-align:left; }
  .menu-tabs{
    position:sticky; top:var(--header-height); z-index:50;
    background:linear-gradient(180deg, var(--cream-lift) 0%, var(--cream-soft) 100%);
    border-bottom:1px solid var(--line-strong);
    box-shadow:0 4px 14px rgba(31,23,20,0.07);
    overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch; scrollbar-width:none; height:var(--menu-tabs-height); display:flex; align-items:center;
  }
  .menu-tabs::-webkit-scrollbar{ display:none; }
  .menu-tabs-inner{ position:relative; display:inline-flex; gap:8px; padding:0 24px; max-width:1160px; margin:0 auto; }
  .tab-indicator{ position:absolute; top:0; left:0; height:100%; background:var(--terracotta); border-radius:16px; opacity:0; transition:transform .35s var(--ease), width .35s var(--ease), opacity .25s ease; z-index:0; pointer-events:none; }
  .menu-tabs a{
    position:relative; z-index:1; flex-shrink:0; text-decoration:none; color:var(--brown-ink);
    font-weight:600; font-size:var(--fs-small); border-radius:20px; border:1px solid var(--line);
    /* 44px min tap target (was 40px) */
    min-height:40px; padding:0 17px; display:inline-flex; align-items:center;
    transition:background var(--dur-s), color var(--dur-s), border-color var(--dur-s);
  }
  .menu-tabs a:hover{ background:var(--terracotta); color:var(--on-accent); border-color:var(--terracotta); }
  /* The selected category rides the terracotta .tab-indicator, so its label
     takes the same dark espresso every other accent fill uses. It was #fff,
     which measured 2.7:1 on the indicator once the accent lightened. */
  .menu-tabs a.active{ color:var(--on-accent); border-color:transparent; }
  /* The last pill in the category row is not a category: it leaves the page
     for Specials. Styled identically it reads as a seventh section that the
     sliding indicator never reaches. A divider before it and a chevron after
     it mark it as a departure, and the chevron is decorative only - the link
     text already says where it goes. */
  .menu-tabs a.tab-away{ margin-left:14px; position:relative; }
  .menu-tabs a.tab-away::before{
    content:""; position:absolute; left:-15px; top:50%; transform:translateY(-50%);
    width:1px; height:22px; background:var(--line-strong);
  }
  .menu-tabs a.tab-away::after{
    content:"\2192"; margin-left:7px; font-size:1.05em; line-height:1;
  }
  .menu-cat{ padding:56px 0; border-bottom:1px solid var(--line); scroll-margin-top:calc(var(--header-height) + var(--menu-tabs-height) + 20px); }
  .menu-cat:last-child{ border-bottom:none; }
  .menu-cat h2{ margin-bottom:6px; }
  .menu-list{ display:grid; grid-template-columns:1fr 1fr; gap:0 48px; }
  @media(max-width:800px){ .menu-list{ grid-template-columns:1fr; } }
  .menu-item{
    /* flex-wrap matters: the price is white-space:nowrap (a price must never
       break across lines), so when the row is squeezed - a 320px phone, or a
       reader at 200% zoom - something has to give. Without wrapping the row
       simply overflowed the page by ~39px. Now the price drops onto its own
       line, still right-aligned by margin-left:auto, and nothing escapes the
       container. */
    display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 16px; padding:16px 0;
    border-top:1px solid var(--line); transition:background var(--dur-s) var(--ease);
  }
  .menu-item:hover{ background:linear-gradient(90deg, rgba(231,131,85,0.09), transparent 70%); }
  .menu-item .names{ flex:1 1 60%; min-width:0; overflow-wrap:anywhere; }
  .menu-item h3{ font-size:1rem; margin-bottom:3px; font-family:'Work Sans',sans-serif; font-weight:600; line-height:1.35; }
  /* was opacity:0.75 — replaced with a real ink colour so the descriptions stay crisp */
  .menu-item p{ font-size:var(--fs-small); color:var(--brown-mid); margin:0; line-height:1.5; }
  .menu-item .price{ font-family:'Fraunces',serif; font-weight:600; font-size:1.05rem; color:var(--burgundy); white-space:nowrap; flex:0 0 auto; margin-left:auto; }
  .allergen-note{ margin-top:20px; font-size:var(--fs-micro); color:var(--brown-mid); font-style:italic; }
  .combo-box{
    border:1px solid var(--line-strong); border-radius:var(--radius); padding:22px; max-width:460px;
    background:linear-gradient(160deg, var(--surface-raised), var(--surface));
    box-shadow:var(--shadow-sm);
  }
  .combo-box .price{ font-family:'Fraunces',serif; font-size:1.34rem; color:var(--burgundy); font-weight:600; margin-top:8px; display:block; }

  /* ---------- Story ---------- */
  .story-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:center; }
  @media(max-width:800px){ .story-grid{ grid-template-columns:1fr; gap:32px; } }
  .story-visual{ position:relative; aspect-ratio:4/5; border-radius:var(--radius); overflow:hidden; background:var(--cream-soft); box-shadow:var(--shadow-lg); border:1px solid rgba(231,131,85,0.28); }
  .story-visual img{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; transform:scale(1.12); transition:transform 1100ms var(--ease); }
  .story-visual::before{
    content:""; position:absolute; inset:0; background:var(--brown-deep); z-index:2;
    transform-origin:right; transform:scaleX(1); transition:transform 900ms cubic-bezier(.65,0,.35,1);
  }
  .story-visual.in-view::before{ transform:scaleX(0); }
  .story-visual.in-view img{ transform:scale(1); }
  .story-text h2{ margin-bottom:18px; }

  /* ---------- Visit ---------- */
  .visit-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:50px; align-items:stretch; }
  @media(max-width:900px){ .visit-grid{ grid-template-columns:1fr; } }
  .info-row{ display:flex; gap:14px; padding:16px 0; border-top:1px solid var(--line); }
  .info-row:last-of-type{ border-bottom:1px solid var(--line); }
  .info-row svg{ width:20px;height:20px; color:var(--burgundy); flex-shrink:0; margin-top:2px; }
  .info-row .label{ font-weight:600; display:block; margin-bottom:2px; }
  /* 44px min tap target for every inline contact link (was ~16px) */
  .info-row a, footer.site p a{
    display:inline-flex; align-items:center; min-height:40px;
    font-weight:600; text-decoration:none; text-underline-offset:3px;
  }
  .info-row a{ color:var(--burgundy); }
  .info-row a:hover, footer.site p a:hover{ text-decoration:underline; }
  .info-row a:hover{ color:var(--burgundy-bright); }
  .map-card{
    border:1px solid var(--line-strong); border-radius:var(--radius); overflow:hidden;
    background:linear-gradient(180deg, var(--surface-raised), var(--surface));
    box-shadow:var(--shadow-sm); display:flex; flex-direction:column; height:100%;
  }
  .restaurant-map{
    width:100%; height:380px; min-height:350px; overflow:hidden; background:var(--cream-soft); flex-shrink:0;
  }
  @media(max-width:700px){ .restaurant-map{ height:300px; min-height:280px; } }
  .restaurant-map iframe{ width:100%; height:100%; display:block; border:0; }
  .map-consent{
    width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:10px; text-align:center; padding:24px;
    background:linear-gradient(160deg, var(--cream-lift), var(--cream-soft));
  }
  .map-consent svg{ width:30px; height:30px; color:var(--burgundy); }
  .map-consent-title{ font-family:'Fraunces',serif; font-weight:600; font-size:1.05rem; margin:0; }
  .map-consent-note{ font-size:var(--fs-micro); color:var(--brown-mid); max-width:42ch; margin:0 0 4px; line-height:1.5; }

  /* ---------- Final CTA ---------- */
  .final-cta{
    background-image:url("images/final-cta-bg.webp"); background-size:cover; background-position:center 38%;
    color:var(--on-dark); text-align:center; padding:100px 0; position:relative; overflow:hidden;
  }
  /* The overlay used to sit at 0.84-0.92 alpha, which flattened the curry photo
     into a solid red panel. It now runs much lighter so the food reads, with a
     soft dark scrim only behind the centred text to hold white-on-photo contrast. */
  .final-cta::before{
    content:""; position:absolute; inset:0; pointer-events:none;
    background:
      radial-gradient(ellipse 62% 66% at 50% 50%, rgba(26,20,17,0.64), rgba(26,20,17,0.28) 68%, transparent 82%),
      radial-gradient(ellipse 55% 55% at 86% 90%, rgba(231,131,85,0.16), transparent 60%),
      linear-gradient(160deg, rgba(36,28,24,0.76), rgba(48,39,35,0.58) 48%, rgba(36,28,24,0.72));
  }
  .final-cta .container{ position:relative; z-index:1; }
  .final-cta h2{ color:var(--color-heading); text-shadow:0 2px 18px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4); }
  .final-cta p{ color:var(--color-body-text); font-size:var(--fs-lede); text-shadow:0 1px 12px rgba(0,0,0,0.55); }
  .final-cta .cta-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:26px; }

  /* ---------- Footer ---------- */
  footer.site{
    background:linear-gradient(180deg, var(--color-primary-bg) 0%, #1A1411 100%);
    color:var(--on-dark); padding:60px 0 26px; position:relative;
  }
  footer.site::before{
    content:""; position:absolute; top:0; left:0; right:0; height:2px;
    background:linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold-bright) 50%, var(--gold) 75%, transparent);
    opacity:0.55;
  }
  /* Four columns since the footer gained a restaurants column: brand,
     navigation, restaurants, legal. The restaurants column is widest because
     it carries three addresses. `align-items:start` stops a short column from
     stretching to the tallest one. */
  .footer-grid{ display:grid; grid-template-columns:1.2fr 0.8fr 1.4fr 0.9fr; gap:40px;
                align-items:start; margin-bottom:36px; }
  @media(max-width:1000px){ .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; } }
  @media(max-width:600px){ .footer-grid{ grid-template-columns:1fr; gap:28px; } }
  footer.site h3{ color:var(--gold-bright); font-size:var(--fs-small); margin-bottom:14px; letter-spacing:0.04em; text-transform:uppercase; }
  footer.site a{ color:var(--on-dark); text-decoration:none; font-size:var(--fs-small); }
  /* 44px min tap target for footer links (was 16px) */
  footer.site ul a, .footer-legal-btn{ display:inline-flex; align-items:center; min-height:40px; }
  footer.site a:hover{ color:var(--terracotta-soft); }
  footer.site ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:2px; }
  .footer-bottom{ border-top:1px solid rgba(247,240,229,0.18); padding-top:20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:var(--fs-micro); color:var(--on-dark-muted); }
  .footer-legal-btn{ background:none;border:none;color:var(--on-dark);cursor:pointer;font-family:inherit;font-size:var(--fs-small);padding:0;text-decoration:underline; text-underline-offset:3px; }
  .footer-legal-btn:hover{ color:var(--terracotta-soft); }
  /* Developer credit: deliberately quiet, kept separate from the legal links. */
  .dev-credit{ opacity:0.72; }
  .dev-credit a{ text-decoration:underline; text-underline-offset:3px; }
  .dev-credit a:hover{ color:var(--terracotta-soft); }

  /* ---------- Mobile sticky bar ---------- */
  .mobile-bar{
    display:none; position:fixed; bottom:0; left:0; right:0; z-index:200;
    background:linear-gradient(180deg, var(--surface-raised), var(--surface));
    border-top:1px solid var(--line-strong); box-shadow:0 -4px 18px rgba(31,23,20,0.14);
    height:var(--mobile-bar-height);
    padding-bottom:env(safe-area-inset-bottom, 0px);
  }
  .mobile-bar-inner{ display:grid; grid-template-columns:repeat(3,1fr); height:var(--mobile-bar-height); }
  /* was 0.68rem (10.9px) — too small to read comfortably */
  /* Call and Directions are <button> now, not <a>: they open the location
     chooser rather than dialling one hardcoded branch. Both selectors are
     listed so the bar keeps one appearance - styling only the <a> left the
     two buttons unstyled, with browser-default oversized icons. */
  .mobile-bar a, .mobile-bar button{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; text-decoration:none; color:var(--brown-ink); font-size:0.8rem; font-weight:600; letter-spacing:0.01em; width:100%; height:100%; border:0; background:none; font-family:inherit; cursor:pointer; padding:0; }
  .mobile-bar a svg, .mobile-bar button svg{ width:21px;height:21px; flex:0 0 auto; }
  .mobile-bar a.highlight, .mobile-bar button.highlight{ color:var(--burgundy); }
  .mobile-bar button:focus-visible{ outline:2px solid var(--burgundy); outline-offset:-3px; }
  /* Applied by main.js only while that button's panel is open, and removed
     when it closes, so Call and Directions are never both lit and neither
     stays lit after its dialog is dismissed. */
  .mobile-bar button.is-active{ color:var(--burgundy); }
  /* Current page. A 3px rule as well as the colour change, so the state is
     not carried by hue alone - the same reason it also sets aria-current. */
  .mobile-bar a.is-current{ color:var(--burgundy); font-weight:700; position:relative; }
  .mobile-bar a.is-current::before{
    content:""; position:absolute; top:0; left:18%; right:18%; height:3px;
    border-radius:0 0 3px 3px; background:var(--terracotta);
  }
  @media(max-width:900px){ .mobile-bar{ display:block; } }
  body.nav-menu-open .mobile-bar{ display:none; }
  body.nav-menu-open .cookie-banner{ display:none; }
  /* Same treatment as the nav panel: the banner is pinned to the bottom of
     the screen, which is where the chooser's own actions sit on a phone. */
  body.sheet-open .cookie-banner{ display:none; }

  /* ---------- Cookie banner ---------- */
  .cookie-banner{
    position:fixed; bottom:0; left:0; right:0; z-index:300;
    background:linear-gradient(160deg, var(--color-secondary-bg), var(--color-primary-bg) 70%);
    border-top:1px solid rgba(231,131,85,0.38);
    color:var(--on-dark); box-shadow:0 -8px 30px rgba(0,0,0,0.28);
    padding:18px clamp(18px, 5vw, 24px); display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
    transform:translateY(120%); opacity:0; pointer-events:none;
    transition:transform .5s var(--ease), opacity .4s ease;
  }
  .cookie-banner.show{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .cookie-banner p{ margin:0; font-size:var(--fs-micro); max-width:60ch; line-height:1.55; color:var(--on-dark-muted); }
  /* Accept and Decline sit together and stay the same size: a consent choice
     where one option is visually louder than the other is not a free choice. */
  .cookie-actions{ display:flex; gap:10px; flex-wrap:wrap; flex:0 0 auto; }
  .cookie-actions .btn{ flex:1 1 auto; }
  @media(max-width:900px){ .cookie-banner{ bottom:var(--mobile-bar-height); } }
  /* The analytics choice in Cookie settings, same reasoning. */
  #analyticsAllow{ margin-right:10px; }

  /* ---------- Modal ---------- */
  .modal-overlay{ position:fixed; inset:0; background:rgba(36,28,24,0.62); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); z-index:400; display:none; align-items:center; justify-content:center; padding:clamp(14px, 4vw, 24px); }
  .modal-overlay.show{ display:flex; }
  .modal-box{
    background:linear-gradient(170deg, var(--surface-raised), var(--surface));
    max-width:560px; width:100%; max-height:min(80vh, 680px); overflow-y:auto;
    padding:clamp(22px, 5vw, 32px); border-radius:var(--radius); position:relative;
    border:1px solid var(--line-strong); box-shadow:var(--shadow-lg);
    /* keep content clear of the close button on narrow screens */
    padding-top:clamp(52px, 9vw, 56px);
  }
  .modal-box h2{ margin-bottom:14px; }
  /* 44px min tap target */
  .modal-close{
    position:absolute; top:10px; right:10px; background:none; border:none; cursor:pointer; color:var(--brown-ink);
    width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%;
    transition:background var(--dur-s) var(--ease);
  }
  .modal-close:hover{ background:rgba(31,23,20,0.10); }
  .modal-close svg{ width:22px;height:22px; }
  .modal-box p{ font-size:var(--fs-small); line-height:1.62; }

  /* Accent fill takes the dark label, like every other accent fill. It was
     ivory on --burgundy, which resolves to terracotta in dark mode and
     measured 2.39:1 - invisible to a sighted review, since the link only
     appears once a keyboard user tabs to it. */
  .skip-link{ position:absolute; left:-999px; top:0; background:var(--terracotta); color:var(--on-accent); font-weight:600; padding:10px 16px; z-index:999; }
  .skip-link:focus{ left:10px; top:10px; }

  /* ---------- tablet refinements (portrait + landscape) ---------- */
  @media(min-width:701px) and (max-width:1024px){
    .explore-grid{ gap:20px; }
    .cat-card{ aspect-ratio:3/2; }
    .story-grid{ gap:40px; }
    .visit-grid{ gap:34px; }
    .specials-grid{ gap:18px; }
    .menu-list{ gap:0 34px; }
    .hero .container{ gap:40px; }
  }
  /* iPad-class landscape: keep the two-column menu but tighten the gutter */
  @media(min-width:801px) and (max-width:1100px){
    .menu-list{ gap:0 30px; }
    .menu-item .names{ padding-right:4px; }
  }

  /* ---------- phone refinements ---------- */
  @media(max-width:640px){
    .cat-card{ aspect-ratio:5/4; }
    .menu-hero{ padding:56px 0 20px; }
    .cookie-banner{ padding:16px 18px; gap:12px; }
    .cookie-banner p{ flex:1 1 100%; }
    .footer-bottom{ flex-direction:column; gap:8px; }
    .hero-text .cta-row .btn{ flex:1 1 auto; min-width:0; }
    .combo-box{ max-width:none; }
    .menu-item{ gap:12px; }
    .special-card .price{ display:inline-block; margin-top:2px; }
  }
  @media(max-width:380px){
    .container{ padding:0 15px; }
    .hero-text .cta-row{ gap:10px; }
    .btn{ padding:12px 18px; }
    .menu-tabs a{ padding:0 13px; }
    .mobile-bar a, .mobile-bar button{ font-size:0.75rem; }
  }

  /* Respect the iOS home-indicator inset so the sticky bar never sits under it */
  @supports(padding:max(0px)){
    body{ padding-bottom:max(var(--mobile-bar-height), calc(var(--mobile-bar-height) + env(safe-area-inset-bottom))); }
    @media(min-width:901px){ body{ padding-bottom:0; } }
  }

  /* ---------- sub-page top spacing ----------
     On the inner pages the first section sits directly under the sticky header,
     so it needs a little more headroom than it did mid-scroll on the one-pager. */
  main.page-top > section:first-child,
  main.page-top > .menu-hero:first-child{ padding-top:clamp(44px, 6vw, 72px); }
  main.page-top > .menu-hero:first-child{ padding-bottom:22px; }

  /* A sub-page's main heading is an H1 for document structure, but keeps the
     H2 scale it was designed at. Purely semantic - no visual change. */
  h1.as-h2{
    font-size:var(--fs-h2); font-weight:600; line-height:1.14; letter-spacing:-0.012em;
  }

  /* current page in the nav */
  nav.primary a[aria-current="page"]{ color:var(--gold-bright); }
  nav.primary a[aria-current="page"]::after{ right:0; background:var(--gold-bright); }
  @media(max-width:900px){
    nav.primary a[aria-current="page"]{ color:var(--burgundy); }
  }

  /* On the standalone About page the stacked mobile layout put the photo first,
     so the page opened with no visible heading. Lead with the text instead.
     Desktop keeps its original two-column order. */
  @media(max-width:800px){
    main.page-top .story-grid .story-text{ order:-1; }
  }


  /* ---------- homepage content + FAQ ---------- */
  #ueber-essen h2{ margin-top:1.6em; }
  #ueber-essen h2:first-of-type{ margin-top:0; }
  #ueber-essen p{ max-width:68ch; color:var(--brown-mid); }
  #ueber-essen p a{ color:var(--burgundy); font-weight:600; text-underline-offset:3px; }
  #ueber-essen p a:hover{ color:var(--burgundy-bright); }
  /* The FAQ used to be plain <h3> + <p> pairs, styled here. Those rules were
     `.faq h3` (class + type), which outranks the accordion's own `.faq-q`
     (class only) - so after the rewrite every question still inherited a 20px
     top margin inside its card and the rows sat unevenly. The accordion block
     further down now owns all FAQ styling. */


  /* ---------- locations ---------- */
  /* Breadcrumbs are the standard way back on every internal page, on every
     screen size - there is no separate Back control. They sit directly under
     the header, so they carry the top spacing the removed back strip used to
     provide, and they are never hidden at any breakpoint. */
  .crumbs{ font-size:var(--fs-micro); color:var(--brown-mid);
           padding-top:18px; margin-bottom:18px; }
  .crumbs a{ color:var(--burgundy); text-decoration:none; }
  .crumbs a:hover{ text-decoration:underline; text-underline-offset:3px; }
  /* The Specials page opens on an intentionally dark band, so a breadcrumb
     using page-ground ink is dark on dark there - it measured 1.70:1 in the
     light theme. On that surface it takes the on-dark colours. */
  .specials-section .crumbs{ color:var(--color-body-text); }
  .specials-section .crumbs a{ color:var(--terracotta); }
  .crumbs span[aria-hidden]{ margin:0 6px; opacity:0.5; }

  .loc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
  @media(max-width:900px){ .loc-grid{ grid-template-columns:1fr 1fr; } }
  @media(max-width:640px){ .loc-grid{ grid-template-columns:1fr; } }
  .loc-card{
    border:1px solid var(--line-strong); border-radius:var(--radius);
    background:linear-gradient(170deg, var(--surface-raised), var(--surface));
    padding:clamp(20px,4vw,26px); box-shadow:var(--shadow-sm);
    display:flex; flex-direction:column;
  }
  .loc-card h2{ font-size:clamp(1.1rem,0.98rem + 0.5vw,1.3rem); margin-bottom:2px; }
  .loc-card .loc-kiez{ color:var(--burgundy); font-weight:600; font-size:var(--fs-small); margin-bottom:12px; }
  .loc-card p{ font-size:var(--fs-small); margin-bottom:8px; }
  .loc-card .loc-links{ margin-top:auto; padding-top:12px; display:flex; flex-wrap:wrap; gap:10px; }


  /* ---------- FAQ accordion ----------
     Disclosure pattern per WAI-ARIA APG: each question is a real <button>
     carrying aria-expanded + aria-controls, each answer a region labelled by
     its button. The first item ships open so the block never reads as a row
     of empty bars - a visitor sees a question AND an answer immediately.
     Question numbers come from a CSS counter, so the markup stays clean and
     the numbers renumber themselves if a question is added or removed. */
  .faq{ margin-top:24px; max-width:76ch; counter-reset:faq; }
  .faq-item{
    position:relative; counter-increment:faq;
    border:1px solid var(--line); border-radius:var(--radius);
    background:linear-gradient(170deg, var(--surface-raised), var(--surface));
    margin-bottom:14px;
    /* `clip` keeps the rounded corners honest without creating a scroll
       container the way `hidden` would; `hidden` first for Safari 15-. */
    overflow:hidden; overflow:clip;
    transition:border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease),
               transform var(--dur-s) var(--ease);
  }
  /* Gold rail marks the open answer. It is a pseudo-element whose WIDTH
     animates, not a real border, so opening a panel never shifts the text. */
  .faq-item::before{
    content:""; position:absolute; left:0; top:0; bottom:0; width:0; pointer-events:none;
    background:linear-gradient(180deg, var(--gold), var(--burgundy));
    transition:width var(--dur-s) var(--ease);
  }
  .faq-item:hover{ border-color:var(--line-strong); box-shadow:var(--shadow-sm); }
  .faq-item.open{ border-color:var(--gold); box-shadow:var(--shadow-sm); }
  .faq-item.open::before{ width:4px; }
  .faq-q{ margin:0; font-family:'Work Sans',sans-serif; font-size:var(--fs-body); }
  .faq-trigger{
    width:100%; display:flex; align-items:center; gap:clamp(12px,2.4vw,18px);
    background:none; border:0; cursor:pointer; text-align:left; font:inherit; color:var(--brown-ink);
    font-weight:600; font-size:var(--fs-body); line-height:1.45;
    padding:clamp(16px,3vw,20px) clamp(16px,3vw,24px); min-height:64px;
    transition:color var(--dur-s) var(--ease);
  }
  /* 01, 02, 03 ... two digits, so the labels stay optically aligned */
  .faq-trigger::before{
    content:counter(faq, decimal-leading-zero);
    flex:0 0 auto; align-self:flex-start; padding-top:1px;
    font-family:'Fraunces',serif; font-size:0.82em; font-weight:600;
    font-variant-numeric:tabular-nums; letter-spacing:0.04em;
    /* --gold measured 2.2:1 on the light-scheme card. The counter is read out
       by some screen readers, so it is treated as text, not decoration, and
       uses the muted body colour: 8.9:1 light, 7.9:1 dark. */
    color:var(--brown-mid); transition:color var(--dur-s) var(--ease);
  }
  /* The hover and open states deliberately do NOT recolour the question text.
     Burgundy on the dark-scheme card measured 3.73:1 - under the 4.5:1 AA
     floor for text this size - and tinting the single most important line on
     the block is the wrong place to spend contrast. Open and hover are
     carried by the gold rail, the border, the shadow and the icon instead,
     which also satisfies WCAG 1.4.1: state is never signalled by colour alone,
     since the +/- glyph itself changes shape. */
  .faq-trigger:hover .faq-label{ text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
  .faq-trigger:focus-visible{ outline:2px solid var(--burgundy); outline-offset:-3px; border-radius:var(--radius); }
  .faq-label{ flex:1 1 auto; }
  /* plus / minus, drawn so it never depends on an icon font */
  .faq-icon{
    position:relative; flex:0 0 32px; width:32px; height:32px; border-radius:50%;
    background:var(--cream-soft); border:1px solid var(--line);
    transition:background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease),
               transform var(--dur-s) var(--ease);
  }
  .faq-trigger:hover .faq-icon{ border-color:var(--gold); }
  .faq-item.open .faq-icon{ background:var(--gold-soft); border-color:var(--gold); transform:rotate(180deg); }
  .faq-icon::before, .faq-icon::after{
    content:""; position:absolute; left:50%; top:50%; background:var(--burgundy); border-radius:1px;
    transform:translate(-50%,-50%); transition:transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
  }
  .faq-icon::before{ width:13px; height:2px; }
  .faq-icon::after{ width:2px; height:13px; }
  .faq-item.open .faq-icon::after{ transform:translate(-50%,-50%) rotate(90deg); opacity:0; }
  /* Answer sits indented to the question text, not the number, so the two
     read as one column. The inset tint separates answer from question
     without adding a hard rule the eye has to cross. */
  .faq-panel{
    padding:0 clamp(16px,3vw,24px) clamp(16px,3vw,20px);
    padding-left:calc(clamp(16px,3vw,24px) + 1.6em + clamp(12px,2.4vw,18px));
  }
  .faq-panel > :first-child{ margin-top:0; }
  .faq-panel p{
    margin:0; padding:14px 0 0; border-top:1px solid var(--line);
    color:var(--brown-mid); font-size:var(--fs-small); line-height:1.75;
  }
  .faq-panel p + p{ margin-top:10px; border-top:0; padding-top:0; }
  .faq-panel a{ color:var(--burgundy); font-weight:600; text-underline-offset:3px; }
  .faq-panel a:hover{ color:var(--burgundy-bright); }
  @media(max-width:520px){
    /* the number costs more than it earns on a narrow column */
    .faq-trigger::before{ display:none; }
    .faq-panel{ padding-left:clamp(16px,3vw,24px); }
  }
  /* smooth open; collapses to nothing when hidden */
  .faq-panel:not([hidden]){ animation:faqOpen var(--dur-s) var(--ease); }
  @keyframes faqOpen{ from{ opacity:0; transform:translateY(-4px);} to{ opacity:1; transform:none;} }
  @media (prefers-reduced-motion: reduce){
    .faq-panel:not([hidden]){ animation:none; }
    .faq-item, .faq-item::before, .faq-icon, .faq-icon::before, .faq-icon::after,
    .faq-trigger, .faq-trigger::before{ transition:none; }
    .faq-item.open .faq-icon{ transform:none; }
  }

  /* Category introduction on the menu. Sets up each group before the price
     list rather than dropping the reader straight into rows of dishes. */
  .cat-intro{
    max-width:68ch; margin:-4px 0 22px; color:var(--brown-mid);
    font-size:var(--fs-small); line-height:1.7;
  }

  /* Growth story: the restaurants in opening order. Numbered by the list
     itself so a new location needs no markup change, and the counter is
     decorative only - the order is already carried by the <ol>. */
  .journey{ list-style:none; counter-reset:j; margin:28px 0 0; padding:0;
    display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  @media(max-width:860px){ .journey{ grid-template-columns:1fr; gap:16px; } }
  .journey li{ counter-increment:j; position:relative; padding-top:14px; border-top:2px solid var(--line-strong); }
  .journey li::before{
    content:counter(j, decimal-leading-zero);
    font-family:'Fraunces',serif; font-size:0.84rem; font-weight:600;
    letter-spacing:0.05em; color:var(--brown-mid);
  }
  .journey h3{ margin:4px 0 2px; font-size:var(--fs-h3); }
  .journey h3 a{ color:var(--brown-ink); text-decoration:none; }
  .journey h3 a:hover{ color:var(--burgundy); text-decoration:underline; text-underline-offset:3px; }
  .journey p{ margin:0; font-size:var(--fs-small); color:var(--brown-mid); }

  /* ---------- Google reviews: restaurant selector ----------
     Tabs follow the WAI-ARIA tabs pattern: one tab in the tab order,
     arrow keys move between them, the panel is labelled by its tab.
     Repeating the whole section three times was the alternative and it
     reads as padding; a selector keeps one clear two-action journey. */
  .reviews{ background:var(--cream-soft); padding:clamp(48px,8vw,86px) 0; }
  .reviews h2{ margin-bottom:10px; }
  .reviews .section-lede{ max-width:62ch; }
  .rev-pick{
    margin:26px 0 10px; font-size:var(--fs-small); font-weight:600;
    letter-spacing:0.04em; text-transform:uppercase; color:var(--brown-mid);
  }
  .rev-tabs{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
  .rev-tab{
    font:inherit; font-size:var(--fs-small); font-weight:600; cursor:pointer;
    padding:11px clamp(14px,2.4vw,20px); min-height:44px;
    border:1px solid var(--line-strong); border-radius:999px;
    background:var(--surface-raised); color:var(--brown-ink);
    transition:background var(--dur-s) var(--ease), color var(--dur-s) var(--ease),
               border-color var(--dur-s) var(--ease);
  }
  .rev-tab:hover{ border-color:var(--burgundy); }
  .rev-tab[aria-selected="true"]{
    background:var(--terracotta); border-color:var(--terracotta); color:var(--on-accent);
  }
  .rev-tab:focus-visible{ outline:2px solid var(--burgundy); outline-offset:2px; }
  .rev-panel{
    border:1px solid var(--line); border-radius:var(--radius-lg);
    background:var(--surface-raised); box-shadow:var(--shadow-sm);
    padding:clamp(20px,4vw,30px); max-width:62ch;
  }
  .rev-panel:focus-visible{ outline:2px solid var(--burgundy); outline-offset:3px; }
  .rev-addr{ margin:0 0 16px; color:var(--brown-mid); font-size:var(--fs-small); }
  .rev-actions{ display:flex; flex-wrap:wrap; gap:12px; }
  .rev-actions .btn{ flex:0 1 auto; }
  @media(max-width:480px){
    .rev-actions{ flex-direction:column; align-items:stretch; }
    .rev-actions .btn{ width:100%; justify-content:center; }
  }
  @media (prefers-reduced-motion: reduce){ .rev-tab{ transition:none; } }

  /* ---------- Mobile location chooser ----------
     Bottom sheet on phones, centred modal from 640px. Desktop never sees
     it: the quick-action bar that opens it is already hidden above 900px,
     so this adds nothing to the desktop rendering. */
  .loc-sheet{
    /* Above .mobile-bar (z-index 200). At 120 the fixed bar painted OVER the
       sheet and clipped the third restaurant card off the bottom. */
    /* 320, not 300: the cookie banner also sits at 300, so which of the two
       painted on top was decided by document order rather than by intent.
       The chooser must always be above it. */
    position:fixed; inset:0; z-index:320;
    display:flex; align-items:flex-end; justify-content:center;
    background:rgba(36,28,24,0.55);
    -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px);
  }
  .loc-sheet[hidden]{ display:none; }
  .loc-sheet-panel{
    /* dvh follows the mobile browser's shrinking/growing toolbar; vh does
       not, which is why the panel ran past the bottom of the screen when
       Safari's bar was expanded. vh stays first as the fallback. */
    width:100%; max-width:560px;
    max-height:86vh; max-height:86dvh; overflow-y:auto; overscroll-behavior:contain;
    background:var(--surface-raised); color:var(--brown-ink);
    border-top-left-radius:var(--radius-lg); border-top-right-radius:var(--radius-lg);
    padding:clamp(18px,4vw,26px) clamp(16px,4vw,26px) calc(clamp(16px,4vw,26px) + env(safe-area-inset-bottom));
    box-shadow:var(--shadow-lg);
    animation:sheetUp var(--dur-s) var(--ease);
  }
  @keyframes sheetUp{ from{ transform:translateY(14px); opacity:0; } to{ transform:none; opacity:1; } }
  @media(min-width:640px){
    .loc-sheet{ align-items:center; }
    .loc-sheet-panel{ border-radius:var(--radius-lg); max-height:80vh; max-height:80dvh; }
  }
  .loc-sheet-head{ display:flex; align-items:flex-start; gap:14px; margin-bottom:16px; }
  .loc-sheet-title{ flex:1 1 auto; margin:0; font-size:var(--fs-h3); line-height:1.25; }
  .loc-sheet-close{
    flex:0 0 44px; width:44px; height:44px; border-radius:50%;
    border:1px solid var(--line-strong); background:var(--surface);
    color:var(--brown-ink); font-size:1.5rem; line-height:1; cursor:pointer;
  }
  .loc-sheet-close:hover{ border-color:var(--burgundy); }
  .loc-sheet-close:focus-visible{ outline:2px solid var(--burgundy); outline-offset:2px; }
  .loc-sheet-list{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
  .loc-sheet-item{
    border:1px solid var(--line); border-radius:var(--radius);
    background:var(--surface); padding:12px 14px;
  }
  .loc-sheet-name{ margin:0 0 1px; font-weight:700; font-size:var(--fs-body); }
  .loc-sheet-addr{ margin:0 0 10px; font-size:var(--fs-small); color:var(--brown-mid); line-height:1.45; }
  .loc-sheet-item .btn{ width:100%; justify-content:center; min-height:44px; }
  .loc-sheet-list{ gap:10px; }
  /* data-mode decides which heading and which action each card shows */
  .loc-sheet .when-call, .loc-sheet .when-dir{ display:none; }
  .loc-sheet[data-mode="call"] .when-call{ display:inline-flex; }
  .loc-sheet[data-mode="dir"]  .when-dir { display:inline-flex; }
  .loc-sheet-title .when-call, .loc-sheet-title .when-dir{ display:none; }
  .loc-sheet[data-mode="call"] .loc-sheet-title .when-call,
  .loc-sheet[data-mode="dir"]  .loc-sheet-title .when-dir{ display:inline; }
  body.sheet-open{ overflow:hidden; }
  @media (prefers-reduced-motion: reduce){ .loc-sheet-panel{ animation:none; } }
