@import url('tokens/fonts.css');
@import url('tokens/colors.css');
@import url('tokens/typography.css');
@import url('tokens/spacing.css');
@import url('tokens/effects.css');
@import url('tokens/base.css');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&display=swap');

:root {
  /* Header/footer palette - matches the rug-pattern nav & footer treatment */
  --sarban-maroon-900: #3D0A12;
  --sarban-maroon-800: #5C1020;
  --sarban-gold: #E2B96A;
  --sarban-cream-light: #FAF3E4;
  --sarban-cream: #F5E6C8;
  --font-label-serif: 'Cinzel', var(--font-accent);
}

/* ===== Layout ===== */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section-y) 0; }
.overline {
  font-family: var(--font-accent);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  /* Saffron-on-cream measures ~2.8:1 here - same failure already fixed once
     for .accent-text (see that rule below): maroon on cream is ~10.5:1. This
     is small caps text, so it needs the full 4.5:1, not the large-text 3:1. */
  color: var(--brand);
  display: block;
  margin-bottom: var(--space-4);
}
.lead { font-size: var(--fs-lead); color: var(--text-strong); }

/* ===== Section headings (landing page) =====
   Larger display size than the base h2, with a second line carrying the
   "punchline" of the sentence in italic + the section's accent color - same
   accent logic as .overline (saffron on light sections, gold on dark/photo
   sections via .section-dark), so the eyebrow and the heading's colored line
   always match. Brand palette only; no colors borrowed from any reference. */
.section-heading { font-size: var(--fs-display-2); }
/* Maroon (not saffron) on light sections: saffron-on-cream only measures
   ~2.8:1, under WCAG AA even for large text, so it's the wrong choice for a
   heading-weight accent - maroon on the same cream measures ~10.5:1. Dark
   sections keep gold, already verified against the maroon scrim elsewhere. */
.accent-text { display: block; font-style: italic; color: var(--brand); }
.section-dark .accent-text { color: var(--sarban-gold); }

/* ===== Statement line =====
   Short declarative sentences that need to feel like a punchline inside a
   longer passage ("Dat is Sarban.", "Kom samen!", …). Previously these used
   .lead, which jumped the font-size and broke the reading rhythm; .statement
   keeps body size + line-height so the paragraph flows at a glance, and only
   uses color + weight + italic to stand out. Maroon on cream (~10.5:1) and
   gold on the dark scrim (~5.4:1) both clear WCAG AA, matching the accent
   logic already used by .accent-text / .overline. */
.statement {
  color: var(--brand);
  font-weight: var(--fw-semibold);
  font-style: italic;
}
.section-dark .statement { color: var(--sarban-gold); }

/* ===== Section sub-heading =====
   For in-flow h3's that break up a long passage (menu intro, foundation
   missie). Keeps the h3 size but tints it maroon so it reads as a section
   divider without jumping into a display scale. */
.section-sub-heading {
  color: var(--brand);
  font-size: var(--fs-h3);
  margin-top: var(--space-7);
}
.section-dark .section-sub-heading { color: var(--sarban-gold); }

/* ===== Foundation teaser: faint background photo ===== */
/* Unlike .section-dark, this section keeps its normal light/cream text
   treatment (ink heading, saffron accent) - the photo sits behind it at low
   opacity as ambient texture, not a full photo-with-scrim backdrop, so it
   never competes with or reduces contrast on the text sitting on top of it. */
.foundation-teaser { position: relative; overflow: hidden; }
.foundation-teaser .section-media { position: absolute; inset: 0; opacity: 0.13; }
.foundation-teaser .section-media img { width: 100%; height: 100%; object-fit: cover; }
.foundation-teaser .wrap-narrow { position: relative; z-index: 1; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-accent); font-size: var(--fs-sm); letter-spacing: var(--ls-caps);
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-pill);
  border: 1px solid transparent; transition: var(--transition);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: var(--text-on-brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: transparent; color: var(--text-on-dark); border-color: var(--border-on-dark); }
.btn-ghost:hover { background: rgba(241,227,199,0.1); }
/* Outline variant for light/cream backgrounds - .btn-ghost is cream-on-dark and
   disappears outside a .section-dark. Use this instead on plain page sections. */
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: rgba(110,26,26,0.06); color: var(--brand-hover); border-color: var(--brand-hover); }
.btn-lg { padding: var(--space-4) var(--space-7); font-size: var(--fs-body); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ===== Nav ===== */
/* Fully see-through over the hero/header video - logo, links and button float directly
   on the video with no backing. The rug-pattern bar only appears once scrolled past it. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: var(--space-5) 0;
  background: transparent;
  transition: padding var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.nav.scrolled {
  padding: var(--space-3) 0;
  background-color: var(--sarban-maroon-900);
  background-image:
    linear-gradient(180deg, rgba(33,8,12,0.68) 0%, rgba(40,10,14,0.62) 50%, rgba(28,7,10,0.72) 100%),
    url('assets/rug-pattern.png');
  background-size: cover, auto 100%;
  background-repeat: no-repeat, repeat-x;
  background-position: center, center;
  box-shadow: 0 1px 12px rgba(26,10,6,0.35);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo-img {
  height: 44px; width: auto; display: block;
  /* recolor the maroon logo to cream so it reads on the dark rug */
  filter: brightness(0) invert(1) sepia(24%) saturate(360%) hue-rotate(3deg) brightness(1.04);
  transition: height var(--dur) var(--ease-out);
}
.nav.scrolled .nav-logo-img { height: 38px; }
.nav-links { display: flex; align-items: center; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav-link {
  font-family: var(--font-label-serif); font-size: var(--fs-sm); letter-spacing: var(--ls-caps);
  text-transform: uppercase; color: var(--sarban-cream-light); text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.nav-link:hover { color: var(--sarban-gold); text-decoration: none; }
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute; top: 100%; left: 0; margin-top: var(--space-3);
  background: var(--sarban-maroon-900); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  border: 1px solid rgba(250,243,228,0.14); min-width: 200px; padding: var(--space-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: var(--transition);
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-panel a {
  display: block; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  color: var(--sarban-cream-light); font-family: var(--font-body); font-size: var(--fs-sm); text-decoration: none;
}
.nav-dropdown-panel a:hover { background: rgba(250,243,228,0.08); color: var(--sarban-gold); text-decoration: none; }
/* Styled like the .menu-teaser-badges pills (gold hairline, translucent
   maroon fill, cream caps) so the nav CTA reads as part of the same set. */
.btn-reserve-nav {
  font-family: var(--font-accent); font-size: var(--fs-xs); letter-spacing: var(--ls-caps);
  text-transform: uppercase; padding: var(--space-2) var(--space-5); border-radius: var(--radius-pill);
  background: rgba(33,8,12,0.45); color: var(--sarban-cream-light);
  border: 1px solid var(--sarban-gold); cursor: pointer;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.btn-reserve-nav:hover, .btn-reserve-nav:focus-visible { background: var(--sarban-gold); color: var(--sarban-maroon-900); }
.nav-toggle { display: none; }
.nav-drawer { display: none; }

/* The full link row only fits on one line from ~1100px up; below that the
   labels wrapped ("OVER / ONS"), so the hamburger takes over at 1099px. */
@media (max-width: 1099px) {
  .nav-links { display: none; }
  /* Reserveren stays visible next to the hamburger instead of hiding into
     the drawer - margin-left: auto on .nav-cta groups it with .nav-toggle
     against the right edge while .nav-inner keeps space-between for the
     logo, and a smaller pad/font keeps logo + button + hamburger on one
     line down to 375px. The drawer keeps its own full-size copy of this
     button untouched, since that selector is scoped to .nav-cta. */
  .nav-inner { gap: var(--space-3); }
  .nav-cta { margin-left: auto; }
  .nav-cta .btn-reserve-nav { padding: var(--space-2) var(--space-4); font-size: 0.75rem; }
  .nav-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0;
    position: relative; z-index: 1;
  }
  .nav-toggle span {
    width: 22px; height: 2px; background: var(--sarban-cream-light);
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
  }
  /* Hamburger morphs into an X while the drawer is open, driven by the
     aria-expanded state site.js already keeps in sync - same affordance
     pattern as the modal's X, so there's always a visible way to close. */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-drawer {
    position: fixed; inset: 0; z-index: 200; background: var(--sarban-maroon-900);
    display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-8) var(--gutter);
    transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out);
    overflow-y: auto;
  }
  .nav-drawer.open { transform: translateX(0); }
  .nav-drawer a { font-family: var(--font-label-serif); font-size: 1.1rem; color: var(--sarban-cream-light); text-decoration: none; }
  /* Dedicated close control inside the drawer itself: the outer .nav-toggle
     sits in the header at z-index 100, below the drawer's own 200, so once
     open it's visually covered and unclickable - this button is the only
     reliable way to close from inside the panel (the animated hamburger
     above is a visual echo of the same state, not a substitute for it). */
  .nav-drawer-close {
    align-self: flex-end;
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: calc(var(--space-2) * -1) calc(var(--space-2) * -1) 0 0;
    background: none; border: none; cursor: pointer; color: var(--sarban-cream-light); padding: 0;
  }
  .nav-drawer-close svg { width: 24px; height: 24px; }
}

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: var(--scrim-full); }
.scroll-cue {
  position: absolute; bottom: var(--space-7); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  color: var(--text-on-dark); font-family: var(--font-accent); font-size: var(--fs-xs);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; z-index: 1;
}
.scroll-cue .line { width: 1px; height: 40px; background: var(--text-on-dark); opacity: 0.5; animation: scrollLine 1.8s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.sound-toggle {
  position: absolute; top: var(--space-8); right: var(--gutter); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: var(--border-on-dark);
  background: rgba(20,14,10,0.35); color: var(--text-on-dark); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.sound-toggle svg { width: 20px; height: 20px; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.d2 { transition-delay: 120ms; }
.reveal.d3 { transition-delay: 240ms; }
/* d4-d6: per-item stagger for small grids (e.g. the 4 location cards), continuing
   the same 120ms rhythm as d2/d3 at a lighter 40ms step between siblings. */
.reveal.d4 { transition-delay: 280ms; }
.reveal.d5 { transition-delay: 320ms; }
.reveal.d6 { transition-delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Cards ===== */
.card {
  background: var(--surface-card); border-radius: var(--radius-lg); border: var(--border-hair);
  box-shadow: var(--shadow-card); padding: var(--space-6); transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: var(--space-2); }

/* ===== Section on dark/photo backgrounds ===== */
.section-dark { position: relative; color: var(--text-on-dark); overflow: hidden; }
.section-dark .section-media { position: absolute; inset: 0; }
.section-dark .section-media img { width: 100%; height: 100%; object-fit: cover; }
.section-dark .section-scrim { position: absolute; inset: 0; background: var(--scrim-full); }
.section-dark .wrap, .section-dark .wrap-narrow { position: relative; z-index: 1; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--text-on-dark); }
.section-dark p { color: var(--text-on-dark-muted); }
.section-dark.solid-ink { background: var(--bg-ink); }

/* The default .overline color is saffron (var(--accent)), tuned for cream/light
   sections - on any dark or photo section it measures under 3:1, well below the
   4.5:1 small-text minimum (confirmed by direct contrast calculation against
   the darkened hero photo below). Gold is the color already used for accents
   on dark sections everywhere else (.accent-text, footer, nav) and clears
   4.5:1 with room to spare. Applies to every photo-header page, not just one. */
.section-dark .overline { color: var(--sarban-gold); }

/* Photo-band teaser sections (menu teaser): little copy, so left to its own
   content it renders much shorter than the content-driven sections around it.
   Match the ~46rem natural height of those sibling sections instead of cropping. */
.menu-teaser { min-height: 46rem; display: flex; align-items: center; }

/* Menu teaser: photo band with vertically centered copy. Content sits mid-image
   rather than anchored to the bottom like the hero, so the default bottom-weighted
   --scrim-full (light at 45-55% opacity through the middle) isn't dark enough there
   - measured contrast dropped below 4.5:1 in several spots once made taller.
   --scrim-maroon is darker and even top-to-bottom. */
.menu-teaser .section-scrim { background: var(--scrim-maroon); }

/* Location "story" band (third section on each location page) sits over the
   restaurant's own interior photo. Interiors are bright and busy, so the
   default --scrim-full doesn't hold contrast for the centered copy - use
   the darker maroon scrim and stack a solid dim on top of it. */
.location-story .section-scrim {
  background: var(--scrim-maroon), rgba(0,0,0,0.35);
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), var(--scrim-maroon);
}

/* About page hero: the photo dissolves into the solid ink section below -
   no hard scrim rectangle or bottom-left page-title bar like the other photo
   headers. Title is centered over the image; the intro copy sits fully off
   the photo on solid ground below, so contrast never depends on what's
   happening in a particular patch of the image. */
/* No bottom padding: that space-9 gap was originally sized for the
   .about-hero-intro block that used to sit below the photo on solid ground.
   Now the intro text lives inside .about-hero-title, over the photo (like
   .location-hero already does), so nothing follows the media block except
   its own fade-to-ink gradient - an extra flat strip after that just reads
   as dead space. Matches .location-hero's identical padding-bottom: 0. */
.about-hero { background: var(--bg-ink); padding: 0; }
/* Full-viewport, matching every other hero on the site - the landing
   page's .hero (min-height: 100vh) and .location-hero's identical
   height: 100vh. This used to be a shorter 78vh/58vh band sized for a
   two-line title only; now that it holds the same full intro text as
   those other heroes, it should read at the same size as them too. */
.about-hero-media {
  position: relative; height: 100vh; height: 100dvh; min-height: 640px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* Brightness/saturation pulled down on the image itself (not just an overlay)
   so contrast holds against the brightest patch in the photo (rice, white
   plates), not just its average tone - checked against a worst-case white
   pixel: brightness(0.6) + the 0.66-opacity mid-gradient below still clears
   ~7.8:1 for the cream heading and ~5.4:1 for the gold accent line. */
.about-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) saturate(0.85); }
.about-hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,10,0.45) 0%, rgba(20,14,10,0.66) 50%, var(--bg-ink) 100%);
}
.about-hero-title { position: relative; z-index: 1; max-width: 34rem; padding: 0 var(--gutter); text-align: center; }
.about-hero-title .overline, .about-hero-title h1 { text-align: center; }
/* .lead's own color (--text-strong) loses to this on specificity ((0,1,1) vs
   (0,1,0)), same as every other paragraph in a .section-dark - matches how
   locations/*.html's about-hero-title p.lead already reads against their
   photo, no separate override needed here either. */
.about-hero-title .lead { margin-top: var(--space-4); }

/* Location page hero: same about-hero treatment (darkened/desaturated photo,
   fade, centered title) as the about page, but the address/hours line and
   the reserve/menu buttons live inside .about-hero-title too, over the
   photo, instead of below it on solid ground - the photo band is sized to
   the home page's full-viewport .hero (100vh) so there's room for the
   extra lines without cropping, and the title block widens to fit the
   longer address line. */
/* Top padding = the fixed nav's height, so the centred title block always
   clears the nav, even on short phones (e.g. 320x568). */
.location-hero .about-hero-media { height: 100vh; height: 100dvh; min-height: 640px; padding-top: 92px; }
.location-hero .about-hero-title { max-width: 38rem; }
.location-hero { padding-bottom: 0; }

/* Location page hero contact block (over the photo): address, phone and
   opening hours each on their own centred line, at every screen size, each
   led by a gold line icon (pin / phone / clock) so the three read as one
   set. Smaller than .lead so it reads as supporting info under the title.
   The icon sits inline (not as a flex column) so a long address that wraps
   on a narrow phone stays centred with the pin on its first line. Address
   and phone are links (Maps / tel:) - underlined, since they share the
   cream of the hours line. Inline padding grows their tap area to ~44px
   without changing the line height, so the lines stay visually tight. */
.hero-contact {
  list-style: none; margin: var(--space-5) 0 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  font-size: var(--fs-sm); line-height: 1.5;
}
.hero-contact li { max-width: 100%; text-align: center; text-wrap: balance; }
.hero-contact svg {
  width: 18px; height: 18px; vertical-align: -4px; margin-right: var(--space-3);
  fill: none; stroke: var(--sarban-gold); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.hero-contact a {
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
  padding: 10px 0;
}
.hero-contact a:hover, .hero-contact a:focus-visible { color: var(--sarban-gold); }

/* ===== Split section (text-left, full-bleed-photo-right) ===== */
/* Reusable text+photo split layout - used by the about/intro teaser and
   previously by the foundation teaser. Heading stays at the standard
   section-heading size (--fs-h2, same as every other section heading on the
   page) so whichever section uses this doesn't stand out in scale from its
   peers; only the small rule mark before the eyebrow is a deliberate accent. */
.split-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 46rem; padding: 0; }
.split-text {
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-5);
  max-width: 30rem; padding: var(--space-9) var(--gutter); background: var(--bg-page);
}
.split-text .overline { display: flex; align-items: center; gap: var(--space-4); }
.split-text .overline .rule { width: 32px; height: 1px; background: var(--brand); flex: 0 0 auto; }
.split-text .btn { align-self: flex-start; }
.split-media { position: relative; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Same maroon scrim used on the menu-teaser's background photo, applied here
   as a pseudo-element so the two photo treatments read as one family - but
   at half strength (opacity 0.5) so it reads as a warm hint of tint on this
   particular photo rather than the full-strength darkening used there. */
.split-media::after { content: ''; position: absolute; inset: 0; background: var(--scrim-maroon); opacity: 0.5; }

@media (max-width: 860px) {
  .split-section { grid-template-columns: 1fr; min-height: auto; }
  .split-text { max-width: none; padding: var(--space-8) var(--gutter); }
  .split-media { height: 22rem; }
  .menu-teaser { min-height: 28rem; }
}

/* ===== Split hero (foundation page) =====
   Two-column hero, no photo-with-text-overlay - text on solid ground at 1/3
   width, full-bleed photo at 2/3, in that DOM/visual order (left to right).
   Heading uses the standard .section-heading scale (not a bigger custom
   size) so it stays in step with every other page's h1/h2. Base padding is
   0 (overriding the generic `section { padding: var(--section-y) 0; }`
   rule, which otherwise leaves an unstyled band of the page background
   above/below the two columns instead of the hero filling exactly one
   viewport) - except padding-top, set to the nav's own rendered height
   (measured: ~65px, the scrolled-state padding var(--space-3)*2 plus the
   38px logo). This page's nav is permanently opaque (see site.js), same
   reason menu.html pads its #top for the nav - so unlike the
   transparent-over-photo nav elsewhere, here the photo needs to start below
   the opaque bar, not hide under it. */
.split-hero { display: grid; grid-template-columns: 1fr 2fr; min-height: 100vh; min-height: 100dvh; padding: 66px 0 0; }
.split-hero-text { display: flex; flex-direction: column; justify-content: center; gap: var(--space-5); padding: var(--space-9) var(--gutter); }
.split-hero-media { position: relative; overflow: hidden; }
.split-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 860px) {
  .split-hero { grid-template-columns: 1fr; min-height: auto; }
  .split-hero-media { height: 46vh; }
  .split-hero-text { padding: var(--space-8) var(--gutter); }
}

/* ===== Stats strip ===== */
.stat-number { font-family: var(--font-display); font-size: var(--fs-display-2); color: var(--accent); font-weight: var(--fw-semibold); }
.stat-label { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--text-on-dark-muted); }

/* ===== Impact stats (boxed, foundation page) =====
   Same stat-number/stat-label look as the stats strip above, but each figure sits in
   its own translucent panel - same rgba(cream, 0.06/0.14) fill+border already
   used for dark-surface panels elsewhere (.nav-dropdown-panel, .loc-card) -
   so it reads as a deliberate "card" component rather than a new material. */
.impact-stats-section { padding: var(--space-8) 0; }
.impact-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.impact-stat {
  background: rgba(250,243,228,0.06); border: 1px solid rgba(250,243,228,0.14);
  border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); text-align: center;
}
@media (max-width: 700px) { .impact-stats { grid-template-columns: repeat(2, 1fr); } }

/* ===== Review stats (location pages) ===== */
.review-stats-section { padding: var(--space-8) 0; background: var(--bg-ink); }
.review-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); max-width: 900px; margin: 0 auto; }
.review-stat {
  background: rgba(250,243,228,0.06); border: 1px solid rgba(250,243,228,0.14);
  border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); text-align: center;
  text-decoration: none; color: inherit; transition: border-color 0.25s ease, background 0.25s ease;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
}
.review-stat:hover { border-color: rgba(250,243,228,0.3); background: rgba(250,243,228,0.1); }
.review-stat-logo { height: 28px; width: auto; margin-bottom: var(--space-2); opacity: 0.85; }
/* Big gold figure as the focal point of each card. Lining numerals keep the
   decimal point on the baseline (Cormorant's default old-style figures
   drop 4/7/9 below it, so "4.9" read as "4·9"); tabular-nums keeps the
   width steady while site.js counts it up from 0. */
.review-stat .stat-number {
  font-size: var(--fs-display-1); line-height: 1; margin: var(--space-2) 0 var(--space-1);
  font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 2px 24px rgba(201,162,39,0.25);
}
.review-stat .stat-label { font-size: var(--fs-xs); }
@media (max-width: 560px) { .review-stats { grid-template-columns: 1fr; max-width: 320px; } }

/* ===== Quote ===== */
.quote {
  font-family: var(--font-display); font-size: var(--fs-display-2); font-weight: var(--fw-semibold);
  text-align: center; max-width: 22ch; margin: 0 auto; line-height: var(--lh-tight);
}
/* Same saffron-contrast issue as .overline/.accent-text: maroon on light
   sections (~10.5:1), gold on dark sections (foundation.html's maroon-solid
   quote - saffron there was only ~3.8:1, gold clears ~6.3:1). */
.quote .accent { color: var(--brand); }
.section-dark .quote .accent { color: var(--sarban-gold); }

/* Standalone quote section (foundation page) - just the statement, no stats
   sharing the block, so it needs less vertical padding than a generic section.
   border-top is a thin page-background-colored strip separating it from the
   hero directly above (both are dark, so without it they'd run together).
   Background: the same rug-pattern asset used (faintly) behind the nav/footer,
   here left unmuted by their heavy darkening gradient - soft-light blending
   keeps it legible against the maroon rather than competing with the text -
   plus a radial vignette so the corners read a touch darker than the center.
   Owns its full background directly rather than the shared .solid-maroon
   utility, since that's a flat fill and this section no longer is one. */
.quote-section {
  padding: var(--space-9) 0; border-top: 8px solid var(--bg-page);
  background-color: var(--sarban-maroon-900);
  background-image:
    linear-gradient(180deg, rgba(33,8,12,0.72) 0%, rgba(40,10,14,0.66) 50%, rgba(28,7,10,0.78) 100%),
    url('assets/rug-pattern.png');
  background-size: cover, auto 160px;
  background-repeat: no-repeat, repeat;
  background-position: center, center;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(20,14,10,0.6);
  display: flex; align-items: center; justify-content: center; padding: var(--space-5);
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: var(--bg-page); border-radius: var(--radius-lg); padding: var(--space-7); max-width: 520px; width: 100%; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: var(--space-5); right: var(--space-5); background: none; border: none; cursor: pointer; color: var(--text-muted); }
.modal-close svg { width: 22px; height: 22px; }
.modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.modal-field { margin-bottom: var(--space-4); }
.modal-field label { display: block; font-family: var(--font-accent); font-size: var(--fs-xs); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-2); }
.modal-field input, .modal-field select {
  width: 100%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  border: var(--border-hair); background: var(--surface-card); font-family: var(--font-body); font-size: var(--fs-body);
}
.modal-submit { margin-top: var(--space-5); }
.modal-submit .btn { width: 100%; }
.modal-note { font-size: var(--fs-xs); color: var(--text-muted); text-align: center; margin-top: var(--space-3); }
.modal-success { display: none; text-align: center; padding: var(--space-6) 0; }
.modal-success.show { display: block; }
.modal-success svg { width: 56px; height: 56px; color: var(--success); margin: 0 auto var(--space-4); }
.modal-error { display: none; text-align: center; padding: var(--space-6) 0; }
.modal-error.show { display: block; }
.modal-error svg { width: 56px; height: 56px; color: var(--danger); margin: 0 auto var(--space-4); }
.modal-error h3 { margin-bottom: var(--space-3); }
.modal-error p { margin-bottom: var(--space-5); }
.modal-optional { color: var(--text-muted); font-weight: normal; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: var(--fs-xs); }
.modal-field textarea {
  width: 100%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  border: var(--border-hair); background: var(--surface-card);
  font-family: var(--font-body); font-size: var(--fs-body); resize: vertical; min-height: 120px;
}
.btn[disabled], button[disabled].btn { opacity: 0.55; cursor: wait; }
/* reservation city picker - one row per restaurant, each a TheFork link */
.modal h3 { margin-bottom: var(--space-5); }
.reserve-cities { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.reserve-city {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: var(--space-4);
  padding: var(--space-4) var(--space-5); border: var(--border-hair); border-radius: var(--radius-sm);
  background: var(--surface-card); color: var(--text-strong); text-decoration: none;
  transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.reserve-city:hover, .reserve-city:focus-visible { border-color: var(--brand); outline: none; text-decoration: none; }
.reserve-city-name { font-family: var(--font-display); font-size: 1.2rem; }
.reserve-city-addr { grid-row: 2; font-size: var(--fs-sm); color: var(--text-muted); }
.reserve-city svg { grid-row: 1 / span 2; grid-column: 2; width: 20px; height: 20px; color: var(--brand); transition: transform var(--dur) var(--ease-out); }
.reserve-city:hover svg, .reserve-city:focus-visible svg { transform: translateX(3px); }
@media (max-width: 480px) {
  .modal { padding: var(--space-6) var(--space-5); }
  .modal-row { grid-template-columns: 1fr; gap: 0; }
}

/* ===== Pathways hero (dinner-with-impact.html) =====
   Three-column decision band replacing the split-hero. Vertical stack
   on mobile, per the brief. */
.pathways-hero { padding: calc(var(--space-9) + 66px) 0 var(--space-9); }

/* Split hero (dinner-with-impact): full-bleed edge-to-edge, left 1/3 holds
   the copy, right 2/3 is the image. No inner wrap - the grid columns run
   from viewport edge to viewport edge so the image reaches the right side. */
.pathways-hero.pathways-hero-split { padding: 0; margin: 0; }
.pathways-hero-split-inner {
  display: grid; grid-template-columns: 1fr 2fr;
  height: 100vh; height: 100dvh; align-items: stretch;
  margin: 0; padding: 0; max-width: none; width: 100%;
}
.pathways-hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--space-8) + 66px) var(--space-7) var(--space-8);
}
.pathways-hero-copy .lead { margin-top: var(--space-4); }
.pathways-hero-media {
  position: relative; overflow: hidden;
  border-radius: 0; box-shadow: none;
  height: 100%; width: 100%;
}
.pathways-hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 0;
}
@media (max-width: 860px) {
  .pathways-hero.pathways-hero-split { padding: 0; }
  .pathways-hero-split-inner { grid-template-columns: 1fr; height: auto; }
  .pathways-hero-copy { padding: calc(var(--space-7) + 66px) var(--space-5) var(--space-7); }
  .pathways-hero-media { aspect-ratio: 4 / 3; height: auto; }
}

@media (max-width: 860px) {
  .pathways-hero { padding: calc(var(--space-8) + 66px) 0 var(--space-8); }
}

/* ===== About page - three image-backed link cards ===== */
.about-explore { padding: var(--space-9) 0; background: var(--bg-page); }
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.explore-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); min-height: 420px;
  background-image: linear-gradient(180deg, rgba(15,15,15,0.15) 0%, rgba(15,15,15,0.85) 100%), var(--explore-bg);
  background-size: cover; background-position: center;
  color: #fff; text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  isolation: isolate;
}
.explore-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--explore-bg);
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.explore-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,15,15,0.15) 0%, rgba(15,15,15,0.85) 100%);
}
.explore-card { background-image: none; }
.explore-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.explore-card:hover::after { transform: scale(1.06); }
.explore-card-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: var(--space-3);
  height: 100%; padding: var(--space-6);
  justify-content: flex-end;
}
.explore-card .overline { color: var(--sarban-gold); }
.explore-card h3 { font-size: var(--fs-h3); margin: 0; color: #fff; }
.explore-card p { color: rgba(255,255,255,0.85); margin: 0; }
.explore-cta { margin-top: var(--space-2); color: var(--sarban-gold); font-weight: 600; letter-spacing: 0.02em; }
@media (max-width: 860px) {
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card { min-height: 340px; }
}

/* ===== Contact section (dinner-with-impact.html) ===== */
.contact-section { padding: var(--space-9) 0; background: var(--bg-page); }
.contact-section .lead { margin-top: var(--space-4); }
.contact-card {
  margin-top: var(--space-7);
  background: var(--surface-card); border-radius: var(--radius-lg); border: var(--border-hair);
  box-shadow: var(--shadow-card); padding: var(--space-7);
}
@media (max-width: 480px) { .contact-card { padding: var(--space-6) var(--space-5); } }

/* ===== Footer ===== */
.footer {
  position: relative; overflow: hidden;
  background-color: var(--sarban-maroon-900);
  background-image:
    linear-gradient(180deg, rgba(33,8,12,0.72) 0%, rgba(40,10,14,0.66) 50%, rgba(28,7,10,0.78) 100%),
    url('assets/rug-pattern.png');
  background-size: cover, auto 160px;
  background-repeat: no-repeat, repeat;
  background-position: center, center;
  color: var(--sarban-cream-light);
}
.footer-top {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--space-6);
  padding-top: var(--space-9); padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(250,243,228,0.12);
}
.footer-wordmark {
  font-family: var(--font-display); font-weight: var(--fw-semibold); line-height: 0.9;
  font-size: clamp(3rem, 9vw, 8.1rem); color: var(--sarban-cream-light); letter-spacing: -0.025em;
  opacity: 0.95; margin: 0;
}
.footer-top-right { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-5); }
.footer-tagline { font-family: var(--font-body); font-style: italic; font-size: var(--fs-sm); color: var(--sarban-cream); opacity: 0.7; text-align: right; max-width: 28ch; line-height: 1.6; margin: 0; }
.footer-social { display: flex; align-items: center; gap: var(--space-5); }
.footer-social a { color: var(--sarban-cream-light); opacity: 0.6; transition: opacity var(--dur) var(--ease-out); }
.footer-social a:hover { opacity: 1; }

/* padding-top/bottom only (not the `padding: X 0` shorthand) - that shorthand
   zeroes left/right and cancels .wrap's horizontal gutter, which is invisible
   on desktop (the container's own max-width leaves margin regardless) but
   left every column's text sitting flush against both screen edges on
   mobile, where the viewport is narrower than the container. */
.footer-cols { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: var(--space-7); padding-top: var(--space-8); padding-bottom: var(--space-8); }
.footer-eyebrow { font-family: var(--font-label-serif); font-size: var(--fs-xs); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--sarban-gold); margin: 0 0 var(--space-5); }
.footer-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-nav-list a { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--sarban-cream-light); opacity: 0.7; text-decoration: none; transition: opacity var(--dur) var(--ease-out); }
.footer-nav-list a:hover { opacity: 1; text-decoration: none; }
.footer-gold-link { color: var(--sarban-gold) !important; opacity: 0.9 !important; }
.footer-gold-link:hover { opacity: 1 !important; }
.footer-loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-6); }
.footer-loc-city { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 1.05rem; color: var(--sarban-cream-light); margin: 0 0 0.2em; }
/* Now a Google Maps link rather than plain text - display:block + no
   underline keeps the original stacked-line look, opacity rising on
   hover/focus is the only sign it's clickable, matching .footer-hours-text
   right next to it staying plain. */
.footer-loc-addr { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--sarban-cream); opacity: 0.6; line-height: 1.5; margin: 0 0 0.3em; display: block; text-decoration: none; }
.footer-loc-addr:hover, .footer-loc-addr:focus-visible { opacity: 0.85; text-decoration: underline; }
.footer-hours { display: flex; flex-direction: column; justify-content: space-between; }
.footer-hours-text { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--sarban-cream); opacity: 0.6; line-height: 1.7; margin: 0; }
.footer-xgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-6); width: fit-content; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); padding-top: var(--space-5); padding-bottom: var(--space-5); border-top: 1px solid rgba(250,243,228,0.12); }
.footer-copy { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--sarban-cream); opacity: 0.4; margin: 0; }
.footer-credit { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit:hover { text-decoration: none; }
.footer-dots { display: flex; align-items: center; gap: var(--space-2); }
.footer-dots span { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--sarban-gold); opacity: 0.4; }
.footer-privacy { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--sarban-cream); opacity: 0.4; text-decoration: none; transition: opacity var(--dur) var(--ease-out); }
.footer-privacy:hover { opacity: 0.8; text-decoration: none; }

@media (max-width: 860px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-top-right { align-items: flex-start; }
  .footer-tagline { text-align: left; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-loc-grid { grid-template-columns: 1fr; }
  .footer-hours { grid-column: span 2; }
}
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr; } .footer-hours { grid-column: auto; } }

/* ===== Location/menu grid cards ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

/* ===== Location teaser cards (photo, hover-reveal panel, click-through) ===== */
.loc-card {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; border: 1px solid rgba(250,243,228,0.14);
}
.loc-card:hover { text-decoration: none; }
.loc-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.loc-card:hover img { transform: scale(1.06); }
.loc-card-scrim {
  position: absolute; inset: 0; background: rgba(15,6,8,0.18); transition: background var(--dur) var(--ease-out);
}
.loc-card:hover .loc-card-scrim { background: rgba(15,6,8,0.32); }
.loc-card-city {
  position: absolute; left: var(--space-5); right: var(--space-5); top: var(--space-5); margin: 0;
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 1.4rem; color: var(--sarban-cream-light);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transition: top var(--dur) var(--ease-out);
}
.loc-card:hover .loc-card-city { top: var(--space-4); }
.loc-card-panel {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-4) var(--space-5) var(--space-5);
  background: linear-gradient(180deg, rgba(61,10,18,0.4) 0%, rgba(61,10,18,0.94) 35%, var(--sarban-maroon-900) 100%);
  transform: translateY(100%); transition: transform var(--dur-slow) var(--ease-out);
}
.loc-card:hover .loc-card-panel { transform: translateY(0); }
.loc-card-hook {
  font-family: var(--font-label-serif); font-size: 10px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--sarban-gold); margin: 0 0 0.35rem;
}
.loc-card-desc { font-family: var(--font-body); font-size: var(--fs-sm); line-height: 1.5; color: var(--cream-dim, rgba(245,230,200,0.75)); margin: 0; }

/* Franchise card (Werk met ons) - no photo, so the card itself is the brand
   maroon of the wordmark and the logo is recolored to cream with the same
   filter as .nav-logo-img. */
.loc-card--franchise { background: var(--brand); }
.loc-card--franchise img {
  object-fit: contain; padding: 2.5rem;
  filter: brightness(0) invert(1) sepia(24%) saturate(360%) hue-rotate(3deg) brightness(1.04);
}
.loc-card--franchise .loc-card-scrim { background: none; }
.loc-card--franchise:hover .loc-card-scrim { background: rgba(15,6,8,0.18); }

/* Team card (Werk met ons) - the busy, brightly lit group photo swallows
   the "Team" label, so darken the top of the photo behind it. */
.loc-card--team .loc-card-scrim,
.loc-card--team:hover .loc-card-scrim {
  background: linear-gradient(180deg, rgba(15,6,8,0.7) 0%, rgba(15,6,8,0.35) 30%, rgba(15,6,8,0.25) 100%);
}

/* Touch screens can't hover to reveal the panel, so it is always open there
   too - e.g. a landscape tablet that is wider than 860px. */
@media (max-width: 860px), (hover: none) {
  .loc-card-panel { transform: translateY(0); }
  .loc-card-city { top: var(--space-4); }
  .loc-card-scrim { background: rgba(15,6,8,0.32); }
}
@media (max-width: 600px) {
  .loc-card { aspect-ratio: 4 / 3; }
}
/* The always-open panel covers the lower card on small screens, so the
   franchise logo moves up beside the "Franchise" title, header-sized. */
@media (max-width: 860px) {
  .loc-card--franchise img {
    inset: var(--space-4) var(--space-5) auto auto; width: auto; height: 44px; padding: 0;
  }
  .loc-card--franchise:hover img { transform: none; }
}

/* ===== Dish list (menu categories) ===== */
.menu-tab-bar { display: flex; gap: var(--space-7); margin-bottom: var(--space-7); flex-wrap: wrap; border-bottom: var(--border-hair); }
.menu-tab-btn {
  font-family: var(--font-accent); font-size: var(--fs-sm); letter-spacing: var(--ls-caps); text-transform: uppercase;
  background: none; border: none; padding: 0 0 var(--space-3); cursor: pointer; color: var(--text-muted);
  position: relative; margin-bottom: -1px;
}
.menu-tab-btn::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.menu-tab-btn.active { color: var(--text-strong); }
.menu-tab-btn.active::after { transform: scaleX(1); }
.menu-tab-panel.hidden { display: none; }
.mc-cat { margin-bottom: var(--space-8); }
.mc-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-8); }
@media (max-width: 700px) {
  .mc-items { grid-template-columns: 1fr; }
  .menu-tab-bar { gap: var(--space-4); }
}

.mc-item { padding: var(--space-4) 0; border-bottom: var(--border-hair); }
.mc-item-head { display: flex; align-items: center; gap: var(--space-3); }
.mc-item-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-strong); }
.mc-item-desc { color: var(--text-body); font-size: var(--fs-sm); margin: var(--space-1) 0 0; }
.mc-item-badge {
  font-family: var(--font-accent); font-size: var(--fs-xs); letter-spacing: var(--ls-caps); text-transform: uppercase;
  color: var(--herb); border: 1px solid var(--herb); border-radius: var(--radius-pill); padding: 2px var(--space-3);
}

/* ===== Badge row ===== */
.badge-row { display: flex; flex-wrap: wrap; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.badge { font-family: var(--font-accent); font-size: var(--fs-xs); letter-spacing: var(--ls-caps); text-transform: uppercase; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); border: var(--border-hair); color: var(--text-body); }

/* Dietary badge row overlaid on the menu-teaser photo band - centered pill
   row on the dark scrim, so the badges use cream text on a translucent maroon
   fill instead of the light-section treatment. */
.menu-teaser-badges { justify-content: center; margin: 0 auto var(--space-5); }
.menu-teaser-badges .badge { background: rgba(33,8,12,0.45); border-color: var(--sarban-gold); color: var(--sarban-cream-light); }

/* Home-page Diner met Impact teaser - the shared .foundation-teaser fades
   its photo to 0.13 as ambient texture, but here we want the background image
   to actually read as a photo, matching the warm maroon/cream tone of the
   other imagery on the landing page. Bump opacity, and warm the photo with a
   light sepia/desaturate so it sits in the same palette as the menu-teaser
   and location cards. */
.dinner-impact-teaser .section-media { opacity: 0.55; }
.dinner-impact-teaser .section-media img {
  filter: sepia(0.18) saturate(0.92) brightness(0.98);
  object-position: center 30%;
}

/* Events & Catering reuses the same teaser with two full paragraphs of body
   copy, so the section runs much taller than the homepage's heading+button
   version - the photo underneath gets far less crop, exposing bright bokeh
   and highlights that the dark ink text can't sit on reliably. Dim the photo
   further and fade a cream scrim in behind the text column (left-aligned,
   most of the section's width) while letting the right edge stay clearer. */
.dinner-impact-teaser--wide .section-media { opacity: 0.38; }
.dinner-impact-teaser--wide .section-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--sarban-cream-light) 0%, rgba(250,243,228,0.88) 50%, rgba(250,243,228,0.35) 78%, rgba(250,243,228,0.1) 100%);
}

/* Slim solid reserve stripe (home page bottom) - brand maroon bar with a
   short line of copy on the left and a cream Reserveren button on the right,
   replacing the taller photo-backed .foundation-teaser reservation section. */
.reserve-stripe {
  display: block; width: 100%; border: 0; cursor: pointer;
  background: var(--sarban-maroon-900); padding: var(--space-4) 0;
  transition: background var(--dur) var(--ease-out);
}
.reserve-stripe:hover, .reserve-stripe:focus-visible { background: var(--brand); outline: none; }
.reserve-stripe-inner { display: flex; align-items: center; justify-content: center; }
.reserve-stripe-text {
  margin: 0; color: var(--sarban-gold);
  font-family: var(--font-accent); font-size: var(--fs-sm);
  letter-spacing: var(--ls-caps); text-transform: uppercase;
}

/* ===== Address block ===== */

address.loc-addr { font-style: normal; color: var(--text-body); }
address.loc-addr .name { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--text-strong); margin-bottom: var(--space-2); }
/* The street/city line doubles as a Google Maps link (same destination as
   the map-widget card below it) - inherits the surrounding text color
   instead of the default link blue, underlines only on hover/focus so it
   doesn't visually compete with the .map-widget-pin CTA underneath it. */
address.loc-addr .addr-link { color: inherit; text-decoration: none; }
address.loc-addr .addr-link:hover, address.loc-addr .addr-link:focus-visible { text-decoration: underline; }

/* ===== Menu teaser + location split (location pages) =====
   Kennismakingsmenu copy on the left, address + a live, click-through map
   on the right - replaces the old stacked menu-teaser/address sections. */
.menu-location-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-9); align-items: center; }
.menu-location-info { display: flex; flex-direction: column; gap: var(--space-5); }

/* The iframe is a real embedded Google Map for visual context, but it isn't
   meant to be panned/zoomed in place - pointer-events:none lets every click
   fall through to the wrapping <a>, so the whole card is one big link that
   opens the actual location in Google Maps (new tab). */
.map-widget {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); transition: var(--transition);
}
.map-widget:hover, .map-widget:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.map-widget-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.map-widget-pin {
  position: absolute; left: var(--space-4); bottom: var(--space-4); z-index: 1;
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--bg-page); color: var(--text-strong); font-family: var(--font-accent); font-size: var(--fs-sm);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.map-widget-pin svg { width: 18px; height: 18px; color: var(--brand); flex: 0 0 auto; }

@media (max-width: 860px) {
  .menu-location-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .map-widget { aspect-ratio: 16 / 10; }
}

/* ===== Impressions slider (menu page) ===== */
.impressions { text-align: center; }
.impressions-badges { position: relative; z-index: 3; margin-bottom: var(--space-5); }
.impressions-overline { display: flex; align-items: center; justify-content: center; gap: var(--space-4); }
.impressions-overline .rule { width: 32px; height: 1px; background: var(--sarban-gold); flex: 0 0 auto; }
/* Selector needs two classes, not one, to outrank the pre-existing
   ".section-dark h1, .section-dark h2, .section-dark h3" color rule
   (specificity (0,1,1) vs a single class's (0,1,0)) - without this the
   heading silently rendered --text-on-dark instead of the intended
   --sarban-cream-light. */
.impressions .impressions-heading {
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: clamp(3.5rem, 11vw, 9rem); line-height: 0.9; letter-spacing: var(--ls-tight);
  color: var(--sarban-cream-light); margin: var(--space-2) 0 0;
  position: relative; z-index: 2;
}
/* Photos need to sit visually behind the heading (letters cut across their
   top edge, like the reference), not in front of it - both this and the
   heading need `position` for `z-index` to take effect; without it the
   track-wrap, coming later in the DOM, would paint over the heading by
   default paint order, hiding the text instead of the text overlapping it. */
.impressions-track-wrap { position: relative; z-index: 1; margin-top: -4rem; }
.impressions-track {
  display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 0 clamp(var(--space-3), 3vw, var(--space-6));
}
.impressions-track::-webkit-scrollbar { display: none; }
.impressions-slide {
  flex: 0 0 auto;
  width: min(420px, 78vw); height: min(360px, 62vw);
  border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: center;
  box-shadow: var(--shadow-on-dark);
}
@media (min-width: 1100px) {
  .impressions-slide { width: 26vw; height: 22vw; }
}
@media (min-width: 1600px) {
  .impressions-slide { width: 22vw; height: 19vw; }
}
.impressions-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.impressions-controls {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: var(--space-7) auto 0; padding: 0 var(--gutter);
}
.impressions-arrows { display: flex; gap: var(--space-3); }
.impressions-arrow {
  /* Not var(--border-on-dark): tokens/effects.css defines that token as a
     self-referencing shorthand ("1px solid var(--border-on-dark)"), which is
     an invalid cyclic value - it computes to nothing everywhere it's used
     (including the pre-existing .sound-toggle this button's shape is based
     on). Using --line-dark directly here sidesteps that existing token bug
     rather than fixing it globally, which is out of scope for this section. */
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: transparent; color: var(--text-on-dark); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); padding: 0;
}
.impressions-arrow:hover:not([disabled]) { border-color: var(--sarban-gold); color: var(--sarban-gold); }
.impressions-arrow[disabled] { opacity: 0.35; cursor: default; }
.impressions-arrow svg { width: 18px; height: 18px; }
.impressions-download {
  display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none;
  font-family: var(--font-accent); font-size: var(--fs-xs); letter-spacing: var(--ls-caps); text-transform: uppercase;
  color: var(--sarban-gold); transition: var(--transition);
}
.impressions-download:hover { color: var(--text-on-dark); }
.impressions-download svg { width: 18px; height: 18px; }

@media (max-width: 700px) {
  .impressions-heading { font-size: clamp(2.75rem, 16vw, 4rem); }
  .impressions-track-wrap { margin-top: var(--space-6); }
  .impressions-controls { flex-wrap: wrap; gap: var(--space-4); justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .impressions-track { scroll-behavior: auto; }
}

/* ===== FAQ (accordion) =====
   Built on native <details>/<summary> rather than JS-driven panels. Two
   reasons: every answer stays in the DOM while collapsed - which is the
   whole point of these blocks, since crawlers and AI assistants read the
   markup, not the open state - and keyboard/screen-reader behaviour comes
   free with the element instead of needing hand-rolled aria wiring.
   Sits on --bg-page-warm so the closing band separates from the plain
   --bg-page sections above it without going full .section-dark, which
   would collide with the maroon footer directly below. */

.faq-section { background: var(--bg-page-warm); }
.faq-list { margin-top: var(--space-7); }
.faq-group + .faq-group { margin-top: var(--space-8); }
.faq-group-title {
  font-family: var(--font-accent); font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--brand); margin: 0 0 var(--space-2);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-group .faq-item:first-of-type,
.faq-list > .faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-item > summary {
  /* both are needed: Safari/older WebKit only drops the disclosure triangle
     for ::-webkit-details-marker, everything else honours list-style */
  list-style: none;
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-5);
  cursor: pointer; padding: var(--space-5) 0;
  font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-semibold);
  line-height: var(--lh-snug); color: var(--text-strong);
  transition: color var(--dur) var(--ease-out);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--brand); }
.faq-item > summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }

/* Chevron drawn in CSS (two borders rotated 45°) so the accordion needs no
   inline SVG repeated on every one of the ~50 questions across the site. */
.faq-item > summary::after {
  content: ''; flex: 0 0 auto; align-self: center;
  width: 9px; height: 9px; margin-right: 3px;
  border-right: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}
.faq-item[open] > summary::after { transform: translateY(1px) rotate(-135deg); }

.faq-a { padding: 0 0 var(--space-5); max-width: 62ch; }
.faq-a p { margin: 0 0 var(--space-3); color: var(--text-body); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { margin: 0; padding-left: var(--space-5); color: var(--text-body); }
.faq-a li { margin-bottom: var(--space-1); }

@media (max-width: 700px) {
  .faq-item > summary { font-size: var(--fs-body); gap: var(--space-4); }
}

/* ===== Loading screen =====
   Homepage only. Full-bleed brand maroon with the header logo pulsing on
   top, covering the page until window.load fires. The logo PNG is
   maroon-on-transparent, so it gets the same recolor-to-cream filter the nav
   uses - one asset, one look. */
.site-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--maroon-600);
  transition: transform 620ms cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
  /* CSS-only failsafe: site.js normally hides this the moment the page has
     loaded, but if the JS never runs - disabled, an error, or a visitor
     holding a stale cached site.js against fresh HTML - nothing else would
     ever take the overlay down. This guarantees it always clears itself. */
  animation: sarban-loader-failsafe 420ms var(--ease-out) 5s forwards;
}
@keyframes sarban-loader-failsafe {
  to { opacity: 0; visibility: hidden; }
}
.site-loader-mark {
  width: min(300px, 56vw); height: auto; display: block;
  filter: brightness(0) invert(1) sepia(24%) saturate(360%) hue-rotate(3deg) brightness(1.04);
  animation: sarban-pulse 1200ms ease-in-out infinite;
}
@keyframes sarban-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.985); }
  50%      { opacity: 1;    transform: scale(1); }
}
/* ===== The reveal =====
   The maroon card slides up as one solid object - logo riding with it - and
   the hero then fades in from black behind it. The black veil is a separate layer beneath the card
   and above the page, so the two moves stay strictly sequential.
   pointer-events are dropped the moment either starts leaving: a veil at
   opacity 0 still swallows clicks otherwise. */
.site-loader-veil {
  position: fixed; inset: 0; z-index: 9998;
  background: #000; opacity: 1;
  transition: opacity 750ms var(--ease-out);
  /* same reasoning as the panel's failsafe below - a veil that never lifts
     would be worse than a loader that never lifts, so it clears itself too */
  animation: sarban-loader-failsafe 750ms var(--ease-out) 5.4s forwards;
}
.site-loader-veil.is-clearing {
  opacity: 0; pointer-events: none;
  transition-delay: 620ms; /* waits for the card to fully clear the top edge */
}

.site-loader.is-leaving { transform: translateY(-100%); pointer-events: none; }
/* the pulse stops the instant the card moves, so a settled logo rides out
   rather than one frozen mid-breath */
.site-loader.is-leaving .site-loader-mark { animation: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .site-loader-mark { animation: none; opacity: 1; }
  .site-loader { transition-duration: 1ms; }
  .site-loader-veil { transition-duration: 1ms; }
  .site-loader-veil.is-clearing { transition-delay: 0ms; }
}

/* ===== Chef cards (location pages) ===== */
.chefs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-7); max-width: 640px; margin: var(--space-7) auto 0;
}
.chef-card { text-align: center; }
.chef-img-wrap {
  overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 3/4;
}
.chef-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1);
}
.chef-card .chef-name {
  font-family: var(--font-label-serif); font-size: var(--fs-body);
  letter-spacing: var(--ls-caps); text-transform: uppercase;
  margin-top: var(--space-4); margin-bottom: var(--space-1); color: var(--text-strong);
}
.chef-card .chef-role {
  font-family: var(--font-body); font-size: var(--fs-sm);
  color: var(--brand); margin-top: 0;
}
.chef-card .chef-quote {
  font-family: var(--font-body); font-size: var(--fs-sm);
  font-style: italic; color: var(--text-muted, #7a6e5f);
  margin-top: var(--space-3);
}
/* Two cards side by side leave ~150px columns on phones, which turned the
   longer chef quotes into 14-line ribbons - stack them instead. */
@media (max-width: 560px) {
  .chefs-grid { grid-template-columns: 1fr; max-width: 320px; gap: var(--space-8); }
}

/* De Toekomst Community cards - copy lengths differ a lot, so pin each
   card's button to the bottom to keep them aligned across the row. */
.community-cards > .card { display: flex; flex-direction: column; }
.community-cards > .card > .btn { margin-top: auto; align-self: flex-start; }

/* ===== Story sections (about page) =====
   "Sarban, een naam met een verhaal" and "Ons verhaal" each end with a
   family photo in its own centred row under the copy: then (Kabul) and now
   (the team at the door). Both are shown as physical prints - white border,
   slight tilt in opposite directions, soft shadow - never stretched edge to
   edge. Settle straight on hover. */
.story-figure { margin: 0; position: relative; }
.story-figure figcaption {
  display: flex; align-items: center; gap: var(--space-4);
  font-family: var(--font-label-serif); font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps); text-transform: uppercase; line-height: 1.5;
}
.story-figure figcaption .rule { width: 32px; height: 1px; flex: 0 0 auto; }

.story-figure--print {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-6);
  max-width: calc(760px + 2 * var(--gutter)); margin: var(--space-8) auto 0; padding: 0 var(--gutter);
}
.story-figure--print .story-figure-frame {
  width: 100%; background: var(--surface-card); padding: clamp(8px, 1vw, 14px);
  border-radius: var(--radius-xs); box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg); transition: transform var(--dur-slow) var(--ease-out);
}
.story-figure--print:hover .story-figure-frame { transform: rotate(0); }
.story-figure--print img {
  display: block; width: 100%; height: auto;
  filter: sepia(0.12) contrast(1.03);
}
.story-figure--print figcaption { justify-content: center; text-align: center; color: var(--text-muted); }
.story-figure--print figcaption .rule { background: var(--brand); }

/* Today's photo is a little larger than the archive print (it is the
   sharper image and the end of the story) and tilts the other way. */
.story-figure--wide { max-width: calc(960px + 2 * var(--gutter)); }
.story-figure--wide .story-figure-frame { transform: rotate(1deg); }
.story-figure--wide img { filter: none; }

@media (max-width: 1099px) {
  .story-figure--print { margin-top: var(--space-7); }
  .story-figure--print .story-figure-frame { transform: rotate(-1deg); }
  .story-figure--wide .story-figure-frame { transform: rotate(0.75deg); }
}
@media (prefers-reduced-motion: reduce) {
  .story-figure--print .story-figure-frame { transition: none; }
}
