/* ==========================================================================
   Di Papa's Italian Restaurant
   Design system: warm trattoria editorial. Cream + espresso ink, olive and
   terracotta accents. Fraunces (display, italic accent) + Manrope (body/UI).
   Vanilla CSS, no framework. Mobile first, 360px -> 1440px.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Brand palette (BRAND.md, source of truth) */
  --cream: #FBF8F1;
  --cream-deep: #F4EFE4;
  --ink: #3B2313;
  --ink-soft: #5A3B24;
  --olive: #547D3B;
  --olive-light: #7FAE4A;
  --olive-deep: #3A5729;
  --rust: #792A0C;
  --rust-warm: #A6371A;
  --line: #6B6257;
  --white: #FFFDF9;

  /* Semantic */
  --bg: var(--cream);
  --bg-alt: var(--cream-deep);
  --text: var(--ink);
  --text-muted: var(--line);
  --accent: var(--olive);
  --accent-strong: var(--olive-deep);
  --cta: var(--rust);
  --cta-hover: var(--rust-warm);
  --border: rgba(59, 35, 19, 0.14);
  --surface: var(--white);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --section-pad: clamp(3.5rem, 6vw, 7rem);
  --container-max: 1240px;
  --container-narrow: 760px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --shadow-soft: 0 18px 44px -22px rgba(59, 35, 19, 0.32);
  --shadow-card: 0 12px 28px -16px rgba(59, 35, 19, 0.24);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------
   2. Reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
p { max-width: 65ch; }

:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 400;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* -------------------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--ink);
  color: var(--cream);
}
.section--dark .eyebrow { color: var(--olive-light); }
.section--olive {
  background: var(--olive-deep);
  color: var(--cream);
}

.section-head { max-width: 620px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { max-width: 620px; margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 0.9rem;
}

h2.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
}
h3.card-title {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.section-lede {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 56ch;
}

.italic-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--cta);
  line-height: 1.15;
  padding-bottom: 0.15em;
  display: inline-block;
}

/* -------------------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: transform 0.18s var(--ease-out), background-color 0.18s var(--ease-out), color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--cta);
  color: var(--white);
  border-color: var(--cta);
}
.btn--primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--cream); }

.btn--on-dark {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251, 248, 241, 0.55);
}
.btn--on-dark:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.btn--ghost {
  background: transparent;
  color: var(--cta);
  border-color: transparent;
  padding: 0.6rem 0.2rem;
  border-radius: 0;
  border-bottom: 2px solid currentColor;
}
.btn--ghost:hover { color: var(--cta-hover); }

.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.9rem; }

/* -------------------------------------------------------------------------
   5. Header / Nav
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out), padding 0.25s var(--ease-out);
}
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 24px -18px rgba(59, 35, 19, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  transition: padding 0.25s var(--ease-out);
}
.site-header.is-scrolled .header-inner { padding-block: 0.55rem; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.brand img {
  height: 52px;
  width: auto;
  transition: height 0.25s var(--ease-out);
}
.site-header.is-scrolled .brand img { height: 42px; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--ink);
}
.brand-text span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.15rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.main-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  position: relative;
  padding-block: 0.3rem;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease-out);
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.header-call {
  display: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    top: 0;
    height: 100dvh;
    width: min(78vw, 360px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.32s var(--ease-out);
    box-shadow: -20px 0 40px -20px rgba(59,35,19,0.35);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a:not(.btn) { font-size: 1.15rem; padding-block: 0.65rem; width: 100%; border-bottom: 1px solid var(--border); }
  .main-nav .btn { margin-top: 1.25rem; width: 100%; }
  .hamburger { display: flex; }
  .header-actions .btn--primary.header-order { display: none; }
}
@media (min-width: 941px) {
  .header-call { display: inline-flex; align-items: center; gap: 0.4rem; }
  /* Call + Order Online already live in .header-actions at desktop widths;
     the copies inside .main-nav exist only for the mobile drawer, so hide
     them here to avoid duplicate CTAs and header overflow. */
  .main-nav .btn { display: none; }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(59, 35, 19, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  z-index: 190;
}
.nav-scrim.is-visible { opacity: 1; pointer-events: auto; }

/* -------------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy .eyebrow { color: var(--olive); }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--cta);
  padding-bottom: 0.08em;
  display: inline-block;
}
.hero-sub {
  margin-top: 1.15rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 44ch;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}
.hero-utility {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}
.hero-utility strong { color: var(--ink); font-weight: 700; }
.hero-utility a { font-weight: 700; color: var(--cta); }
.hero-utility a:hover { color: var(--cta-hover); }

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1rem;
  align-items: end;
}
.hero-visual .pic-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}
.hero-visual .pic-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .pic-badge {
  position: absolute;
  left: -1.4rem;
  bottom: -1.6rem;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  background: var(--cream-deep);
  padding: 6px;
  z-index: 5;
}
.hero-visual .pic-badge img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
.hero-visual .pic-side {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 4;
  transform: translateY(1.6rem);
}
.hero-visual .pic-side img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; grid-template-columns: 1.2fr 0.8fr; }
  .hero-visual .pic-badge { width: 92px; height: 92px; left: -0.8rem; bottom: -1rem; }
}
@media (max-width: 560px) {
  .hero-visual { grid-template-columns: 1fr; }
  .hero-visual .pic-side { display: none; }
  .hero-visual .pic-badge { width: 84px; height: 84px; }
}

/* -------------------------------------------------------------------------
   7. Story / About
   ------------------------------------------------------------------------- */
.story-layout {
  max-width: var(--container-narrow);
  margin-inline: auto;
  text-align: center;
}
.story-layout .eyebrow { color: var(--cta); }
.story-layout h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.story-body {
  margin-top: 1.4rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-inline: auto;
}
.story-body + .story-body { margin-top: 1rem; }

blockquote.pull-quote {
  margin: 2.8rem auto 0;
  max-width: 640px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--ink);
  line-height: 1.35;
  position: relative;
  padding: 0 1rem;
}
blockquote.pull-quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 3.4rem;
  color: var(--olive-light);
  line-height: 1;
  margin-bottom: 0.2rem;
}
blockquote.pull-quote cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   8. Signature dishes
   ------------------------------------------------------------------------- */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
}
.dish-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-card);
  grid-column: span 3;
}
.dish-card--wide { grid-column: span 6; min-height: 300px; }
.dish-card--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.dish-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(59,35,19,0) 30%, rgba(35,20,10,0.86) 100%);
  z-index: 1;
}
.dish-card--tone {
  background: linear-gradient(155deg, var(--olive-deep), var(--olive));
}
.dish-card--tone.dish-card--rust { background: linear-gradient(155deg, var(--rust), var(--rust-warm)); }
.dish-card--tone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 12%, rgba(255,255,255,0.14), transparent 55%);
}
.dish-card-content {
  position: relative;
  z-index: 2;
  padding: 1.6rem 1.7rem;
  color: var(--cream);
}
.dish-card--tone .dish-card-content { color: var(--cream); }
.dish-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  line-height: 1.15;
  padding-bottom: 0.12em;
}
.dish-desc {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: rgba(251,248,241,0.86);
  max-width: 42ch;
}
.dish-price {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(251,248,241,0.16);
  border: 1px solid rgba(251,248,241,0.4);
}

@media (max-width: 760px) {
  .dish-grid { grid-template-columns: 1fr; }
  .dish-card, .dish-card--wide { grid-column: span 1; min-height: 260px; }
}

/* -------------------------------------------------------------------------
   9. Menu teaser band
   ------------------------------------------------------------------------- */
.menu-teaser { position: relative; }
.menu-teaser-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.menu-teaser h2 { color: var(--cream); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.menu-teaser .section-lede { color: rgba(251,248,241,0.82); }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.chip {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(251,248,241,0.42);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cream);
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.chip:hover { background: var(--cream); color: var(--olive-deep); }
.menu-teaser-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}
.menu-teaser-note {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: rgba(251,248,241,0.72);
}
.menu-teaser-card {
  background: rgba(251,248,241,0.08);
  border: 1px solid rgba(251,248,241,0.22);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.menu-teaser-card ul { display: grid; gap: 0.85rem; }
.menu-teaser-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--cream);
  font-weight: 600;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(251,248,241,0.18);
}
.menu-teaser-card li:last-child { border-bottom: none; padding-bottom: 0; }
.menu-teaser-card li span:last-child { color: rgba(251,248,241,0.62); font-weight: 500; }

@media (max-width: 860px) {
  .menu-teaser-inner { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   10. La Piccola
   ------------------------------------------------------------------------- */
.piccola-band {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
}
.piccola-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.piccola-logo img {
  width: 100%;
  max-width: 220px;
  filter: drop-shadow(0 10px 22px rgba(59,35,19,0.18));
}
.piccola-copy .eyebrow { color: var(--rust); }
.piccola-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.piccola-copy p { margin-top: 0.9rem; color: var(--ink-soft); font-size: 1.05rem; }
.piccola-copy .btn { margin-top: 1.4rem; }

@media (max-width: 760px) {
  .piccola-band { grid-template-columns: 1fr; text-align: center; }
  .piccola-logo img { max-width: 150px; }
}

/* -------------------------------------------------------------------------
   11. Private events
   ------------------------------------------------------------------------- */
.events-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.event-list { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.event-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.event-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--olive-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-icon svg { width: 20px; height: 20px; }
.event-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.event-item p { margin-top: 0.25rem; font-size: 0.92rem; color: var(--text-muted); }

.events-cta {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.events-cta h3 { font-size: 1.5rem; }
.events-cta p { margin-top: 0.8rem; color: rgba(251,248,241,0.78); }
.events-cta .btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

@media (max-width: 860px) {
  .events-layout { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   12. Find us
   ------------------------------------------------------------------------- */
.find-us-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
}
.find-us-info .eyebrow { color: var(--olive); }
.info-block { margin-top: 1.6rem; display: grid; gap: 1.3rem; }
.info-row { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-row .ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rust);
}
.info-row .ico svg { width: 18px; height: 18px; }
.info-row h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; }
.info-row p, .info-row a { font-size: 0.98rem; color: var(--ink-soft); }
.info-row a:hover { color: var(--cta); }

.social-row { display: flex; gap: 0.7rem; margin-top: 1.8rem; }
.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.social-row a:hover { background: var(--cta); color: var(--white); }
.social-row svg { width: 19px; height: 19px; }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 340px;
  border: 1px solid var(--border);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

@media (max-width: 860px) {
  .find-us-layout { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   13. Careers
   ------------------------------------------------------------------------- */
.careers-band {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.careers-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.careers-band p { margin: 1rem auto 0; color: var(--ink-soft); font-size: 1.05rem; }
.careers-band .btn { margin-top: 1.6rem; }

/* -------------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  /* Extra bottom padding keeps the copyright row clear of the fixed
     accessibility button when the page is scrolled all the way down. */
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(4.5rem, 10vw, 6rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand-text { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.footer-tagline { margin-top: 1rem; color: rgba(251,248,241,0.68); font-size: 0.94rem; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251,248,241,0.6);
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a, .footer-col p { font-size: 0.95rem; color: rgba(251,248,241,0.88); }
.footer-col a:hover { color: var(--olive-light); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(251,248,241,0.1);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--olive); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251,248,241,0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(251,248,241,0.6);
}
.footer-bottom button {
  background: none;
  border: none;
  color: rgba(251,248,241,0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom button:hover { color: var(--olive-light); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* -------------------------------------------------------------------------
   15. Scroll reveal
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------------------
   16. Menu page
   ------------------------------------------------------------------------- */
.menu-hero {
  padding-block: clamp(2.5rem, 5vw, 4rem) 1rem;
  text-align: center;
}
.menu-hero .eyebrow { color: var(--olive); }
.menu-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.menu-hero p { margin: 1rem auto 0; max-width: 56ch; color: var(--ink-soft); font-size: 1.05rem; }
.menu-hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.menu-subnav {
  position: sticky;
  /* Stacks directly under the sticky header instead of overlapping it.
     --header-h is kept in sync with the header's real height by main.js. */
  top: var(--header-h, 80px);
  z-index: 150;
  background: rgba(251, 248, 241, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.menu-subnav-scroll {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-block: 0.8rem;
  scrollbar-width: none;
}
.menu-subnav-scroll::-webkit-scrollbar { display: none; }
.menu-subnav-scroll a {
  flex-shrink: 0;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  border: 1px solid transparent;
  white-space: nowrap;
}
.menu-subnav-scroll a:hover { color: var(--ink); }
.menu-subnav-scroll a.is-active {
  background: var(--ink);
  color: var(--cream);
}

.menu-category {
  padding-block: clamp(2.75rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h, 80px) + 4rem);
}
.menu-category:last-of-type { border-bottom: none; }
.menu-category-head { margin-bottom: 1.9rem; }
.menu-category-head .it {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  color: var(--cta);
  padding-bottom: 0.1em;
  margin: 0;
  display: inline-block;
}
.menu-category-head .en {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.menu-category-note {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 62ch;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  row-gap: 1.7rem;
}
.menu-item { break-inside: avoid; }
.menu-item-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.menu-item-name {
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--ink);
}
.menu-item-leader {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  min-width: 12px;
  transform: translateY(-0.3em);
}
.menu-item-price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--rust);
  white-space: nowrap;
}
.menu-item-price.tbd {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  font-style: italic;
}
.menu-item-desc {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 46ch;
}

@media (max-width: 720px) {
  .menu-items { grid-template-columns: 1fr; }
}

/* Pizza table */
.pizza-table-wrap { overflow-x: auto; margin-top: 0.5rem; }
table.pizza-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
table.pizza-table th, table.pizza-table td {
  text-align: left;
  padding: 0.85rem 0.9rem;
  font-size: 0.95rem;
}
table.pizza-table thead th {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
table.pizza-table thead th:not(:first-child),
table.pizza-table td:not(:first-child) { text-align: right; }
table.pizza-table tbody tr { border-bottom: 1px solid var(--border); }
table.pizza-table tbody tr:last-child { border-bottom: none; }
table.pizza-table td:first-child { font-weight: 700; color: var(--ink); }
table.pizza-table td.tbd { color: var(--text-muted); font-style: italic; font-size: 0.85rem; }

.topping-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.topping-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.topping-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.topping-card .price-line { font-size: 0.85rem; color: var(--rust); font-weight: 700; margin-bottom: 0.6rem; }
.topping-card p { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 640px) { .topping-grid { grid-template-columns: 1fr; } }

.menu-footnote {
  margin-top: 2.5rem;
  padding: 1.1rem 1.4rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--olive);
}

.menu-pdf-band {
  text-align: center;
  padding-block: clamp(3rem, 5vw, 4rem);
}
.menu-pdf-band p { margin: 0.8rem auto 0; max-width: 48ch; color: var(--text-muted); }
.menu-pdf-band .btn { margin-top: 1.4rem; }

/* -------------------------------------------------------------------------
   17. Cookie consent banner + modal
   ------------------------------------------------------------------------- */
.consent-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 560px;
  margin-inline: auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  z-index: 500;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease-out);
}
.consent-banner.is-visible { transform: translateY(0); }
.consent-banner p { font-size: 0.92rem; color: rgba(251,248,241,0.86); }
.consent-banner a { text-decoration: underline; color: var(--olive-light); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; }
.consent-actions .btn { padding: 0.65rem 1.2rem; font-size: 0.85rem; }
.consent-actions .btn--primary { background: var(--olive); border-color: var(--olive); }
.consent-actions .btn--primary:hover { background: var(--olive-light); border-color: var(--olive-light); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(59,35,19,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}
.modal-overlay.is-visible { opacity: 1; pointer-events: auto; }
.modal-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: 85dvh;
  overflow-y: auto;
  padding: 1.9rem;
  transform: scale(0.96);
  transition: transform 0.25s var(--ease-out);
}
.modal-overlay.is-visible .modal-card { transform: scale(1); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.modal-head h2 { font-size: 1.4rem; }
.modal-close {
  background: var(--bg-alt);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal-close svg { width: 16px; height: 16px; }

.consent-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.consent-option:last-of-type { border-bottom: none; }
.consent-option h3 { font-size: 0.98rem; font-weight: 700; }
.consent-option p { margin-top: 0.25rem; font-size: 0.86rem; color: var(--text-muted); }

.toggle {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}
.toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle .track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: background-color 0.2s var(--ease-out);
}
.toggle .thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s var(--ease-out);
}
.toggle input:checked ~ .track { background: var(--olive); }
.toggle input:checked ~ .thumb { transform: translateX(20px); }
.toggle input:disabled ~ .track { background: var(--olive); opacity: 0.6; }
.toggle input:focus-visible ~ .track { outline: 3px solid var(--olive); outline-offset: 2px; }

.modal-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

/* -------------------------------------------------------------------------
   18. Accessibility widget
   ------------------------------------------------------------------------- */
.a11y-toggle {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(59,35,19,0.5);
  z-index: 480;
  border: none;
  transition: transform 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.a11y-toggle:hover { background: var(--olive-light); transform: translateY(-2px); }
.a11y-toggle svg { width: 24px; height: 24px; }

.a11y-panel {
  position: fixed;
  right: 1.1rem;
  bottom: 5rem;
  width: min(320px, calc(100vw - 2.2rem));
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  padding: 1.5rem;
  z-index: 490;
  max-height: 74dvh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s var(--ease-out), opacity 0.22s var(--ease-out);
}
.a11y-panel.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.a11y-panel h2 { font-size: 1.1rem; }
.a11y-panel .a11y-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; }
.a11y-grid { display: grid; gap: 0.6rem; margin-top: 1.2rem; }
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.6rem 0.75rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.a11y-row span { font-size: 0.88rem; font-weight: 600; }
.a11y-stepper { display: flex; align-items: center; gap: 0.4rem; }
.a11y-stepper button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
  font-weight: 700;
}
.a11y-stepper button:hover { background: var(--olive); color: var(--white); border-color: var(--olive); }
.a11y-reset {
  margin-top: 1.2rem;
  width: 100%;
  justify-content: center;
}

/* html-level accessibility states */
html.a11y-contrast body { background: #000; color: #fff; }
/* Component styles set their own ink/muted text colors throughout the site;
   force everything to white first, then re-assert the few intentional
   exceptions below (links, buttons, prices) at higher specificity. */
html.a11y-contrast body, html.a11y-contrast body * { color: #fff !important; }
html.a11y-contrast .site-header, html.a11y-contrast .menu-subnav { background: #000; }
html.a11y-contrast .section, html.a11y-contrast .site-footer { background: #000 !important; }
html.a11y-contrast a:not(.btn) { color: #ffd166 !important; }
html.a11y-contrast .btn--primary { background: #ffd166 !important; color: #000 !important; border-color: #ffd166 !important; }
html.a11y-contrast .btn--outline,
html.a11y-contrast .btn--on-dark,
html.a11y-contrast .btn--ghost,
html.a11y-contrast .chip { color: #ffd166 !important; border-color: #ffd166 !important; background: transparent !important; }
html.a11y-contrast .btn--outline:hover,
html.a11y-contrast .btn--on-dark:hover,
html.a11y-contrast .chip:hover { background: #ffd166 !important; color: #000 !important; }
html.a11y-contrast .surface, html.a11y-contrast .card,
html.a11y-contrast .dish-card, html.a11y-contrast .event-item,
html.a11y-contrast .menu-teaser-card, html.a11y-contrast .events-cta,
html.a11y-contrast .piccola-band, html.a11y-contrast .topping-card,
html.a11y-contrast .a11y-panel, html.a11y-contrast .modal-card,
html.a11y-contrast .consent-banner { background: #111 !important; color: #fff !important; border-color: #333 !important; }
html.a11y-contrast .a11y-panel *, html.a11y-contrast .modal-card * { color: #fff; }
html.a11y-contrast .a11y-panel a:not(.btn), html.a11y-contrast .modal-card a:not(.btn) { color: #ffd166 !important; }
html.a11y-contrast .dish-price, html.a11y-contrast .menu-item-price { color: #ffd166 !important; }
html.a11y-contrast .hero-visual .pic-badge { background: #111; }

html.a11y-underline a { text-decoration: underline !important; text-underline-offset: 3px; }

html.a11y-readable body { font-family: "Manrope", Verdana, sans-serif; letter-spacing: 0.01em; line-height: 1.85; }
html.a11y-readable p, html.a11y-readable li { line-height: 1.85; }

html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after {
  animation-duration: 0.001ms !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}
html.a11y-reduce-motion [data-reveal] { opacity: 1 !important; transform: none !important; }

html[data-a11y-fontstep="1"] body { font-size: 17.5px; }
html[data-a11y-fontstep="2"] body { font-size: 19px; }
html[data-a11y-fontstep="3"] body { font-size: 20.5px; }
html[data-a11y-fontstep="-1"] body { font-size: 15px; }

/* -------------------------------------------------------------------------
   19. Utility
   ------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .section { padding-block: clamp(2.75rem, 9vw, 4rem); }
}
