/* La Borsa — layout modelled on Il Peperoncino: dark ground, transparent header over photo heroes,
   image + text rows, brown footer and a floating reserve button. Colours from the La Borsa emblem:
   chocolate brown, cream, beige and the Italian tricolore. Single dark look by choice. */
:root {
  --bg: #2b1c11;
  --bg-2: #382517;
  --bg-3: #5a3a22;
  --fg: #fbf6ee;
  --text: #e6d9c8;
  --muted: #b49e86;
  --brand: #5a3a22;
  --accent: #c8ad8d;
  --on-accent: #2b1c11;
  --green: #326d3e;
  --flag-red: #b43b3d;
  --accent-dark: #dcc5a8;
  --line: rgba(251, 246, 238, .14);

  --display: "DM Serif Display", "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--fg); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 400 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 1.35em 2.2em; border: 0; cursor: pointer; transition: background .2s, color .2s;
}
.btn-red { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn-red:hover { background: var(--accent-dark); }
.btn-white { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn-white:hover { background: var(--accent-dark); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px rgba(251,246,238,.5); }
.btn-ghost:hover { background: var(--fg); color: var(--bg); }
.link-arrow { color: var(--fg); font-weight: 400; font-size: .95rem; text-decoration: none; border-bottom: 1px solid transparent; }
.link-arrow:hover { border-color: var(--accent); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(43,28,17, .97); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand img { height: 68px; width: 68px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(251,246,238,.25); }
.nav { display: flex; gap: 2.4rem; margin-left: auto; }
.nav a {
  position: relative; color: var(--fg); text-decoration: none; text-transform: uppercase;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; padding-block: .5rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .25s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--fg); content: ""; transition: transform .25s, top .25s;
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .brand img { height: 52px; width: 52px; }
  .burger { display: block; order: 3; margin-left: auto; }
  .header-inner .btn-red + .burger { margin-left: 0; }
  .header-inner .btn-red { margin-left: auto; padding: 1.1em 1.4em; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); padding: 1rem var(--gutter) 2rem; border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav a { font-size: 15px; padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: var(--bg); }
}
@media (max-width: 420px) { .header-inner .btn-red { display: none; } .header-inner .btn-red + .burger { margin-left: auto; } }

/* Heroes */
.hero {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: 460px; padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem;
  color: var(--fg); overflow: hidden; isolation: isolate;
}
.hero-home { min-height: min(88vh, 820px); }
.hero > img, .hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(36,23,14,.55), rgba(36,23,14,.45) 60%, rgba(43,28,17,.9)); }
.hero-home > img { object-position: center 45%; }
.hero-content { display: grid; justify-items: center; gap: 1.2rem; max-width: 760px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.hero .btn { margin-top: 1rem; }
.hero-sub h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.hero-sub { min-height: 380px; }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-alt { background: var(--bg-2); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split > * { min-width: 0; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .tall { aspect-ratio: 4 / 5; }
.copy { display: grid; gap: 1.3rem; max-width: 34rem; }
.copy p { font-size: 1rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.center-head { text-align: center; display: grid; gap: .9rem; justify-items: center; margin-bottom: 3rem; }
.center-head p { max-width: 38rem; }

/* Photo strip (homepage carousel) */
.strip { position: relative; }
.strip-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter);
}
.strip-track::-webkit-scrollbar { display: none; }
.strip-track img { flex: 0 0 auto; height: clamp(280px, 42vw, 520px); width: auto; aspect-ratio: 3 / 4; object-fit: cover; scroll-snap-align: center; }
.strip-track img.wide { aspect-ratio: 16 / 10; }
.strip-btn {
  position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: rgba(43,28,17,.85); color: var(--fg); font-size: 22px; cursor: pointer; display: grid; place-items: center;
}
.strip-btn:hover { background: var(--accent); }
.strip-btn.prev { left: max(10px, calc(var(--gutter) - 10px)); }
.strip-btn.next { right: max(10px, calc(var(--gutter) - 10px)); }

/* Instagram reels */
.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(190px, 22vw, 260px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
.reels::-webkit-scrollbar { display: none; }
.reels.reels-grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); overflow: visible; padding-inline: 0; }
.reel { position: relative; aspect-ratio: 9 / 16; max-width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; scroll-snap-align: start; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel .sound {
  position: absolute; left: 10px; bottom: 10px; padding: .45em .8em; border-radius: 999px;
  background: rgba(36,23,14,.7); color: var(--fg); font: 600 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase;
}
.reel.unmuted .sound { background: var(--accent); color: var(--on-accent); }
.reel:hover video { filter: brightness(1.06); }

/* Two images side by side */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.duo img:last-child { margin-top: 3rem; }

/* Rating band */
.rating { text-align: center; display: grid; gap: 1rem; justify-items: center; }
.stars { color: var(--accent); font-size: 1.6rem; letter-spacing: .15em; }
.rating-score { font-family: var(--display); color: var(--fg); font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1; }
.rating p { color: var(--muted); }
.quote-mark { font-family: var(--display); color: var(--accent); font-size: 5rem; line-height: .5; height: 2rem; }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 2.5rem; margin-top: 3.5rem; }
.facts div { display: grid; gap: .3rem; }
.facts strong { font-family: var(--display); font-weight: 400; color: var(--fg); font-size: 2rem; line-height: 1.1; }
.facts span { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; gap: 1.4rem; } }

/* CTA band */
.cta-band { position: relative; isolation: isolate; text-align: center; color: var(--fg); padding-block: clamp(5rem, 10vw, 8rem); overflow: hidden; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(36,23,14,.68); z-index: -1; }
.cta-band .wrap { display: grid; gap: 1.2rem; justify-items: center; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: .6rem; }

/* Menu page */
.menu-nav {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.menu-nav .wrap { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-block: .8rem; }
.menu-nav .wrap::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: 0 0 auto; text-decoration: none; text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: var(--text); padding: .7em 1.1em; border: 1px solid var(--line);
}
.menu-nav a:hover, .menu-nav a.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.menu-nav .menu-nav-inner { display: flex; align-items: center; gap: 1rem; overflow: visible; }
.menu-cats { position: relative; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; }
.menu-cats::-webkit-scrollbar { display: none; }
.lang-switch { flex: 0 0 auto; display: flex; gap: .4rem; }
.lang-switch button {
  display: grid; place-items: center; width: 44px; height: 36px; padding: 0; cursor: pointer;
  background: transparent; border: 2px solid transparent; opacity: .5; transition: opacity .2s, border-color .2s;
}
.lang-switch button:hover { opacity: .85; }
.lang-switch button[aria-pressed="true"] { opacity: 1; border-color: var(--accent); }
.lang-switch svg { width: 30px; height: 20px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.menu-section { padding-block: 4rem 1rem; scroll-margin-top: calc(var(--header-h) + 70px); }
.menu-section header { display: grid; gap: .3rem; margin-bottom: 2rem; }
.menu-section header p { color: var(--muted); font-style: italic; font-size: .95rem; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; }
.menu-grid.single { grid-template-columns: 1fr; max-width: 40rem; }
@media (max-width: 760px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-sub {
  grid-column: 1 / -1; display: flex; align-items: baseline; gap: .8rem;
  font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  padding-block: 1.6rem .2rem;
}
.menu-sub:first-child { padding-top: 0; }
.menu-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
.menu-sub small { font-size: 11px; font-weight: 400; letter-spacing: .12em; color: var(--muted); }
.dish { padding-block: 1rem; border-bottom: 1px dashed var(--line); min-width: 0; }
.dish-top { display: flex; align-items: baseline; gap: .8rem; }
.dish h3 { font-size: 1.2rem; }
.dish .price { margin-left: auto; color: var(--fg); font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish p { font-size: .92rem; color: var(--muted); line-height: 1.55; margin-top: .2rem; }
.veg { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 1px solid #6f9a5a; color: #8dbb76; font-size: .62rem; font-weight: 700; flex: 0 0 auto; transform: translateY(-2px); }
.menu-note { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; border: 1px solid var(--line); padding: 1.4rem 1.6rem; margin-top: 3rem; font-size: .95rem; }
.menu-feature { margin-block: 3rem 0; }
.menu-feature img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; margin-bottom: 14px; cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.gallery img { width: 100%; transition: transform .5s, filter .5s; }
.gallery button:hover img { transform: scale(1.04); filter: brightness(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(26,17,10,.94); display: grid; place-items: center; padding: 4rem 1rem; }
.lightbox img { max-height: 100%; max-width: min(1200px, 100%); object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--fg); font-size: 2.2rem; cursor: pointer; width: 56px; height: 56px; }
.lightbox .lb-close { top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; }
.lightbox .lb-prev { left: 6px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 6px; top: 50%; translate: 0 -50%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.contact-grid > div { display: grid; gap: .8rem; align-content: start; }
.contact-grid h3 { font-size: 1.5rem; }
.contact-grid a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-grid a:hover { border-color: var(--accent); color: var(--fg); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: .25rem 0; }
.hours td:last-child { text-align: right; }
.hours tr.closed td:last-child { color: var(--muted); }
.hours tr.today td { color: var(--fg); font-weight: 600; }

/* Footer */
.site-footer { position: relative; background: var(--brand); color: var(--fg); padding-block: 4rem 2rem; font-size: 14px; line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr 1fr; gap: 2.5rem; }
.footer-grid > div { min-width: 0; }
.site-footer h4 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; margin: 0 0 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.site-footer .hours td { padding: .05rem 0; }
.site-footer .hours tr.closed td:last-child { color: rgba(251,246,238,.7); }
.site-footer .hours tr.today td { color: var(--fg); }
.site-footer .social { display: inline-flex; align-items: center; gap: .5rem; }
.site-footer .social svg { width: 22px; height: 22px; flex: 0 0 auto; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(251,246,238,.25); margin-top: 3rem; padding-top: 1.5rem; color: rgba(251,246,238,.8); font-size: 13px; }
.footer-logo img { height: 96px; width: 96px; border-radius: 50%; margin-bottom: 1.2rem; box-shadow: 0 0 0 2px rgba(251,246,238,.25); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--green) 0 33.3%, var(--fg) 33.3% 66.6%, var(--flag-red) 66.6%); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating reserve button */
.float-reserve {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem; border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: .85rem 1.3rem;
  font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: background .2s, transform .2s;
}
.float-reserve:hover { background: var(--accent-dark); transform: translateY(-2px); }
.float-reserve svg { width: 18px; height: 18px; }

/* Reserve modal */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; background: rgba(26,17,10,.75); }
.modal-card { position: relative; background: var(--bg-2); width: min(460px, 100%); padding: 2.6rem 2rem 2rem; display: grid; gap: 1.1rem; text-align: center; border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--green) 0 33.3%, var(--fg) 33.3% 66.6%, var(--flag-red) 66.6%) 1; }
.modal-card .phone { font-family: var(--display); color: var(--fg); font-size: 2rem; user-select: all; }
.modal-card .small { font-size: .9rem; color: var(--muted); }
.modal-card .actions { display: grid; gap: .6rem; }
.modal-close { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; cursor: pointer; width: 44px; height: 44px; }
.modal-close:hover { color: var(--fg); }

/* Reveal on scroll (content stays visible if JS doesn't run) */
.reveal { transition: opacity .8s ease, transform .8s ease; }
.js .reveal.pending { opacity: .001; transform: translateY(24px); }

/* Video in place of a photo in an image + text row */
.split .split-video { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; justify-self: center; display: block; background: var(--bg-2); }

/* Header that shows the whole (portrait) photo, with a blurred copy filling the sides */
.hero-contain > img.hero-backdrop { filter: blur(28px) brightness(.7); transform: scale(1.15); }
.hero-contain > img.hero-photo { object-fit: contain; z-index: -2; }
.hero-contain::after { background: linear-gradient(rgba(36,23,14,.35), rgba(36,23,14,.25) 60%, rgba(43,28,17,.85)); }

/* Menu header: collage of four dishes behind the title */
.hero-collage .collage { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--bg); }
.hero-collage .collage img { width: 100%; height: 100%; object-fit: cover; min-width: 0; }
.hero-collage::after { background: linear-gradient(rgba(36,23,14,.45), rgba(36,23,14,.35) 60%, rgba(43,28,17,.9)); }
@media (max-width: 640px) { .hero-collage .collage { grid-template-columns: repeat(2, 1fr); } }

/* Videos mixed into the photo gallery */
.gallery .reel { cursor: pointer; aspect-ratio: 9 / 16; }

/* Impressies: playful mixed grid of photos and videos (no straight rows) */
.gallery.mix { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 100px; grid-auto-flow: dense; gap: 14px; }
.gallery.mix > button { margin: 0; height: 100%; grid-row: span 3; }
.gallery.mix > button img, .gallery.mix > button video { width: 100%; height: 100%; object-fit: cover; }
.gallery.mix > .reel { aspect-ratio: auto; grid-row: span 5; }
.gallery.mix > .tall { grid-row: span 4; }
.gallery.mix > .wide { grid-column: span 2; grid-row: span 3; }
.gallery.mix > button:nth-child(3n+2):not(.wide):not(.reel) { margin-top: 1.5rem; height: calc(100% - 1.5rem); }
@media (max-width: 760px) {
  .gallery.mix { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 80px; gap: 10px; }
}

/* Closing band with a collage of dishes instead of one stretched photo */
.cta-band .collage { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--bg); }
.cta-band .collage img { width: 100%; height: 100%; object-fit: cover; min-width: 0; }
@media (max-width: 640px) { .cta-band .collage { grid-template-columns: repeat(2, 1fr); } }

/* Homepage header. Phones: photo fills the header. Large screens: text left, the whole
   (portrait) photo right, blurred copy as background, so the photo is never over-zoomed. */
.hero-split > img.hero-backdrop { display: none; }
@media (min-width: 1000px) {
  .hero-split { place-items: center start; text-align: left; padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); }
  .hero-split .hero-content { justify-items: start; max-width: 540px; }
  .hero-split > img.hero-backdrop { display: block; filter: blur(30px) brightness(.6); transform: scale(1.15); }
  .hero-split .hero-content { position: relative; z-index: 1; }
  .hero-split > img.hero-photo {
    inset: auto; top: calc(var(--header-h) + 2rem);
    right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
    height: calc(100% - var(--header-h) - 4.5rem); width: auto; max-width: 42%; aspect-ratio: 3 / 4; object-fit: cover; z-index: 0;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
  }
}

/* Keep the floating reserve button clear of Netlify's badge on *.netlify.app */
.on-netlify .float-reserve { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }

/* Page header without a photo (Impressies): plain brown band with the title */
.hero-plain { min-height: 320px; background: var(--bg-2); }
.hero-plain::after { display: none; }

/* ---------- Phone polish ---------- */
@media (max-width: 640px) {
  /* Portrait Instagram videos next to text: show them whole (9:16), centered, not cropped to a square-ish box */
  .split .split-video { aspect-ratio: 9 / 16; width: 100%; max-width: none; max-height: none; border-radius: 0; }
  /* Photo collages in headers and bands: one row of two tall photos instead of a cut-off 2x2 grid */
  .hero-collage .collage, .cta-band .collage { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .hero-collage .collage img:nth-child(n+3), .cta-band .collage img:nth-child(n+3) { display: none; }
  /* Slightly calmer type and spacing on small screens */
  .hero-sub { min-height: 300px; }
  .section { padding-block: 3.5rem; }
  .split { gap: 1.75rem; }
  .split img { aspect-ratio: 4 / 3; }
  .split img.tall { aspect-ratio: 4 / 5; }
}

/* Homepage header text: restaurant name as the title, small readable lines around it */
.hero-home::after { background:
  radial-gradient(ellipse 60% 55% at 50% 50%, rgba(26,17,10,.62), rgba(26,17,10,.15) 70%),
  linear-gradient(rgba(36,23,14,.35), rgba(36,23,14,.25) 60%, rgba(43,28,17,.85)); }
.hero-brand { gap: .9rem; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero-kicker {
  display: flex; align-items: center; gap: .9rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--fg);
}
.hero-kicker::before, .hero-kicker::after { content: ""; width: 2.2rem; height: 1px; background: var(--accent); }
.hero-brand h1 { font-size: clamp(3.2rem, 9vw, 6rem); line-height: 1; letter-spacing: .01em; color: var(--fg); }
.tricolore { display: block; width: 84px; height: 3px; background: linear-gradient(90deg, var(--green) 0 33.3%, var(--fg) 33.3% 66.6%, var(--flag-red) 66.6%); }
.hero-tagline { font-family: var(--display); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.45rem); color: var(--fg); letter-spacing: .01em; text-shadow: 0 1px 3px rgba(0,0,0,.7), 0 2px 18px rgba(0,0,0,.55); }
.hero-brand .btn { margin-top: .8rem; }
@media (max-width: 640px) { .hero-kicker { font-size: .7rem; letter-spacing: .26em; } .hero-kicker::before, .hero-kicker::after { width: 1.4rem; } }




/* Homepage header on phones: (almost) the whole photo under the menu bar, text on top of it.
   The photo keeps nearly its own landscape shape, so it is hardly zoomed in. */
@media (max-width: 640px) {
  .hero-home { min-height: 0; height: calc(var(--header-h) + 70vw); padding: var(--header-h) 12px 0; place-items: center; background: var(--bg); }
  .hero-home > img.hero-main { inset: auto 0 0 0; top: var(--header-h); height: 70vw; z-index: -2; object-position: 45% 60% !important; }
  .hero-home::after { inset: var(--header-h) 0 0 0; background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(26,17,10,.6), rgba(26,17,10,.2)); }
  .hero-brand { gap: .45rem; }
  .hero-brand h1 { font-size: 2.4rem; }
  .hero-kicker { font-size: .62rem; letter-spacing: .24em; }
  .hero-kicker::before, .hero-kicker::after { width: 1.1rem; }
  .tricolore { width: 64px; }
  .hero-tagline { font-size: .9rem; }
  .hero-brand .btn { margin-top: .35rem; padding: .95em 1.5em; font-size: 11px; }
}

/* Phones: in the "Welkom bij La Borsa" block, show the text first and the video after it */
@media (max-width: 820px) {
  .split.text-first > .copy { order: -1; }
}

/* Navigate-with-Maps button on the contact page */
.btn-maps svg { width: 16px; height: 16px; flex: 0 0 auto; }
.contact-grid a.btn-maps { border-bottom: 0; }
.contact-grid a.btn-maps:hover { color: var(--on-accent); }

/* Sub-page headers: same readable title style as the homepage (cream kicker with thin lines, soft dark glow) */
.hero-sub .hero-content { text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.hero-sub .eyebrow {
  display: flex; align-items: center; gap: .9rem; color: var(--fg);
  font-size: .8rem; letter-spacing: .32em;
}
.hero-sub .eyebrow::before, .hero-sub .eyebrow::after { content: ""; width: 2.2rem; height: 1px; background: var(--accent); }
.hero-sub:not(.hero-plain)::after { background:
  radial-gradient(ellipse 55% 60% at 50% 55%, rgba(26,17,10,.6), rgba(26,17,10,.2) 75%),
  linear-gradient(rgba(36,23,14,.35), rgba(43,28,17,.8)); }
@media (max-width: 640px) { .hero-sub .eyebrow { font-size: .68rem; letter-spacing: .24em; } .hero-sub .eyebrow::before, .hero-sub .eyebrow::after { width: 1.3rem; } }

/* Homepage header: two buttons side by side */
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: .8rem; }
.hero-actions .btn { margin-top: 0; }
@media (max-width: 640px) { .hero-actions { gap: .5rem; margin-top: .35rem; } .hero-actions .btn { padding: .95em 1.3em; font-size: 11px; } }

/* Larger screens: the "Welkom" video gets the same size as the photo in "Aan tafel zoals in Italië" (full column, 4:5) */
@media (min-width: 641px) {
  .split .split-video { width: 100%; max-width: none; aspect-ratio: 4 / 5; justify-self: stretch; }
}
