:root {
  --blue: oklch(0.68 0.12 240);
  --blue-deep: oklch(0.42 0.14 245);
  --ink: oklch(0.22 0.06 245);
  --ink-soft: oklch(0.42 0.04 245);
  --paper: oklch(0.985 0.005 85);
  --paper-warm: oklch(0.97 0.012 80);
  --line: oklch(0.88 0.02 240);
  --hot: oklch(0.68 0.18 35);
  --leaf: oklch(0.62 0.12 140);
  --sea: oklch(0.68 0.1 210);
  --nav-h: 80px; /* drives nav height + the sticky tools-bar offset; keep them in sync */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.display {
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.88;
  font-style: italic;
}
.display-upright {
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.88;
}
.script {
  font-family: var(--script-font, 'Caveat'), cursive;
  font-weight: 500;
  line-height: 1;
}
.mono {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  letter-spacing: 0.02em;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h); padding: 0 36px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav.blue { background: var(--blue); color: white; border-bottom-color: transparent; }
.nav-brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.nav-brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); display: grid; place-items: center;
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1.4);
  overflow: hidden;
}
.nav-brand-mark img { width: 90%; height: 90%; object-fit: contain; }
.nav.blue .nav-brand-mark { background: transparent; }
.nav:not(.blue) .nav-brand-mark { background: transparent; }
.nav-brand:hover .nav-brand-mark { transform: rotate(-12deg) scale(1.08); }
.nav-brand-name {
  font-family: 'Archivo Black', sans-serif; font-style: italic;
  font-size: 22px; letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: oklch(0.95 0.01 240); }
.nav.blue .nav-link:hover { background: rgba(255,255,255,0.15); }
.nav-link.active { background: var(--ink); color: white; }
.nav.blue .nav-link.active { background: white; color: var(--blue); }
.nav-link.external {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: white;
}
.nav-link.external:hover { background: var(--blue-deep); }
.nav.blue .nav-link.external { background: white; color: var(--blue); }
.nav.blue .nav-link.external:hover { background: oklch(0.95 0.02 240); }
.nav-ig {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background 0.2s;
}
.nav-ig:hover { background: var(--ink); color: white; border-color: var(--ink); }
.nav.blue .nav-ig:hover { background: white; color: var(--blue); border-color: white; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 10px;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--blue);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column;
}
/* Inauguration banner — sits at the very top of the hero, above .hero-inner */
.hero-banner {
  position: relative; z-index: 3;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  padding: 13px 56px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.4;
  transition: background 0.2s;
}
.hero-banner:hover { background: var(--paper-warm); }
.hero-banner-tag {
  font-family: ui-monospace, monospace; font-weight: 700;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--blue); color: white;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.hero-banner-text b { font-weight: 800; }
.hero-banner-arrow { font-weight: 800; font-size: 18px; line-height: 1; color: var(--blue); }
.hero-inner {
  position: relative; z-index: 2;
  padding: 48px 56px 120px;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: stretch;
}
.hero-left { min-width: 0; }
.hero-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ''; width: 32px; height: 1px; background: currentColor;
}
.hero-title {
  font-size: clamp(88px, 15vw, 240px);
  margin: 24px 0 0;
  display: block;
}
.hero-signature {
  position: absolute;
  bottom: -0.22em;
  right: -0.05em;
  color: rgba(0,0,0,0.75);
  font-size: 0.42em;
  transform: rotate(-8deg);
  width: 294px;
  white-space: nowrap;
}
.hero-script {
  font-size: clamp(60px, 9vw, 140px);
  margin-top: -0.45em;
  margin-left: 0.1em;
  display: inline-block;
  transform: rotate(-4deg);
}
.hero-marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: 18px 0;
  background: oklch(from var(--blue) calc(l - 0.04) c h);
}
.hero-marquee-track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: 'Archivo Black', sans-serif;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -0.01em;
}
.hero-marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.hero-marquee-dot { width: 10px; height: 10px; border-radius: 50%; background: white; display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero-mascot {
  position: absolute; left: 40px; bottom: 80px;
  width: clamp(160px, 18vw, 240px);
  pointer-events: none;
  opacity: 0.95;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(0deg); }
}
.hero-meta {
  position: relative;
  z-index: 3;
  display: grid; gap: 16px;
  align-self: end;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.3);
  max-width: 340px;
}
.hero-meta-block {
  font-family: ui-monospace, monospace;
  font-size: 12px; line-height: 1.6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-meta-block b { font-size: 14px; }
.hero-meta-divider { height: 1px; background: rgba(255,255,255,0.3); }
.hero-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 24px 16px 28px;
  background: white; color: var(--blue);
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.hero-cta-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: white;
  display: grid; place-items: center;
}

/* ---------- Story section ---------- */
.story {
  padding: 120px 56px;
  background: var(--paper);
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.story-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
}
.story-eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.story-head {
  font-size: clamp(60px, 7vw, 110px);
  color: var(--ink);
}
.story-head .blue { color: var(--blue); }
.story-head .script {
  font-size: 0.5em;
  color: var(--ink-soft);
  display: block;
  margin-top: -0.1em;
  margin-left: 0.2em;
  transform: rotate(-3deg);
}
.story-body {
  font-size: 19px; line-height: 1.65;
  color: var(--ink-soft);
  max-width: 560px;
}
.story-body p + p { margin-top: 18px; }
.story-body strong { color: var(--ink); font-weight: 600; }
.story-pillars {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.story-pillar {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.story-pillar:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.story-pillar:nth-child(even) { padding-left: 24px; }
.story-pillar-num {
  font-family: ui-monospace, monospace;
  font-size: 11px; color: var(--blue);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.story-pillar-title {
  font-family: 'Archivo Black', sans-serif;
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 6px;
}
.story-pillar-desc {
  font-size: 14px; color: var(--ink-soft); line-height: 1.5;
}

/* ---------- Stats strip ---------- */
.strip {
  background: var(--ink);
  color: white;
  padding: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.strip-item { text-align: left; }
.strip-num {
  font-family: 'Archivo Black', sans-serif;
  font-style: italic;
  font-size: 72px; line-height: 0.9;
  color: var(--blue);
  letter-spacing: -0.03em;
}
.strip-label {
  font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 10px;
  opacity: 0.7;
}

/* ---------- Features (wood oven / loyalty / etc) ---------- */
.features {
  padding: 120px 56px;
  background: var(--paper-warm);
}
.features-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  background: var(--paper);
  padding: 40px 32px 48px;
  transition: background 0.3s, color 0.3s;
  position: relative;
  overflow: hidden;
}
.feature:hover { background: var(--blue); color: white; }
.feature-icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  color: var(--blue);
  transition: color 0.3s;
}
.feature:hover .feature-icon { color: white; }
.feature-title {
  font-family: 'Archivo Black', sans-serif; font-style: italic;
  font-size: 28px; line-height: 1;
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-soft);
}
.feature:hover .feature-desc { color: rgba(255,255,255,0.9); }

/* ---------- Hours card ---------- */
.hours {
  padding: 120px 56px;
  background: var(--blue);
  color: white;
  position: relative; overflow: hidden;
}
.hours-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.hours-title { font-size: clamp(60px, 8vw, 120px); }
.hours-title .script { color: rgba(255,255,255,0.9); font-size: 0.5em; display: block; margin-top: -0.08em; margin-left: 0.1em; transform: rotate(-3deg); }
.hours-list { border-top: 1px solid rgba(255,255,255,0.3); }
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  font-family: ui-monospace, monospace;
  font-size: 14px; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hours-row b { font-family: 'Archivo Black', sans-serif; font-style: italic; text-transform: none; font-size: 22px; letter-spacing: -0.01em; }
.hours-row.closed { opacity: 0.5; }
.hours-row.closed .chip { background: var(--hot); }
.chip {
  background: white; color: var(--blue);
  padding: 4px 10px; border-radius: 999px;
  font-weight: 700; font-size: 12px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: white;
  padding: 80px 56px 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  max-width: 1400px; margin: 0 auto;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand {
  font-family: 'Archivo Black', sans-serif; font-style: italic;
  font-size: 64px; letter-spacing: -0.02em;
  line-height: 0.9;
}
.footer-brand .blue { color: var(--blue); }
.footer-col h5 {
  font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px; line-height: 1.6;
  margin: 6px 0;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--blue); }
.footer-bot {
  max-width: 1400px; margin: 0 auto;
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ---------- Menu page ---------- */
.menu-hero {
  background: var(--blue); color: white;
  padding: 72px 56px 48px;
  position: relative; overflow: hidden;
}
.menu-hero h1 {
  font-size: clamp(100px, 14vw, 220px);
  margin: 0;
}
.menu-hero-script {
  display: inline-block;
  font-size: clamp(50px, 7vw, 96px);
  transform: rotate(-3deg);
  margin-top: -0.4em; margin-left: 0.2em;
  color: white;
}
.menu-hero-sub {
  font-family: 'Archivo', sans-serif;
  font-size: 22px; font-weight: 400;
  margin-top: 20px;
  max-width: 600px;
  line-height: 1.4;
}
.menu-hero-sub b { font-weight: 800; }
.menu-hero-sub sup { font-size: 0.7em; opacity: 0.8; }

.menu-tools {
  position: sticky; top: var(--nav-h); z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 16px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 600; font-size: 13px;
  color: var(--ink);
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.active { background: var(--ink); color: white; border-color: var(--ink); }
.filter-chip.active .filter-dot { background: white !important; }
.filter-dot { width: 8px; height: 8px; border-radius: 50%; }
.filter-chip[data-k="veg"] .filter-dot { background: var(--leaf); }
.filter-chip[data-k="spicy"] .filter-dot { background: var(--hot); }
.filter-chip[data-k="meat"] .filter-dot { background: oklch(0.55 0.15 25); }
.filter-chip[data-k="fish"] .filter-dot { background: var(--sea); }
.density-toggle {
  display: inline-flex; background: var(--paper-warm);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px;
}
.density-toggle button {
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.density-toggle button.active { background: var(--ink); color: white; }

.menu-section-head {
  padding: 64px 56px 32px;
  display: flex; align-items: flex-end; gap: 24px;
  max-width: 1500px; margin: 0 auto;
}
.menu-section-num {
  font-family: ui-monospace, monospace;
  font-size: 12px; color: var(--blue); letter-spacing: 0.2em;
}
.menu-section-title {
  font-size: clamp(54px, 7vw, 96px);
  color: var(--blue);
  line-height: 0.9;
  flex: 1;
}
.menu-section-base {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 16px; color: var(--ink-soft);
  padding-bottom: 12px;
}
.menu-section-base sup { color: var(--blue); font-weight: 700; }

.menu-grid {
  max-width: 1500px; margin: 0 auto;
  padding: 16px 56px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.menu-grid.compact { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.menu-grid.gallery { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 32px; }

.pizza-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1), box-shadow 0.3s;
  position: relative;
}
.pizza-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(20,40,80,0.25);
  border-color: var(--blue);
}
.pizza-photo {
  aspect-ratio: 4 / 3;
  background: var(--paper-warm);
  overflow: hidden;
  position: relative;
}
.pizza-photo-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background-image:
    repeating-linear-gradient(45deg,
      oklch(0.94 0.01 240) 0,
      oklch(0.94 0.01 240) 12px,
      oklch(0.97 0.005 240) 12px,
      oklch(0.97 0.005 240) 24px);
  transition: transform 0.6s cubic-bezier(.2,.9,.3,1);
}
.pizza-card:hover .pizza-photo-placeholder { transform: scale(1.08); }
.pizza-photo-label {
  font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  padding: 6px 12px; border-radius: 4px;
  border: 1px dashed var(--line);
}
.pizza-tags {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px;
}
.pizza-tag {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: white; color: var(--ink);
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.pizza-tag[data-k="veg"] { background: var(--leaf); color: white; }
.pizza-tag[data-k="spicy"] { background: var(--hot); color: white; }
.pizza-tag[data-k="meat"] { background: oklch(0.55 0.15 25); color: white; }
.pizza-tag[data-k="fish"] { background: var(--sea); color: white; }

.pizza-body {
  padding: 20px;
  flex: 1;
  display: flex; flex-direction: column;
}
.pizza-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.pizza-name {
  font-family: 'Archivo Black', sans-serif; font-style: italic;
  font-size: 28px; line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pizza-price {
  font-family: var(--script-font, 'Caveat'), cursive;
  font-size: 32px;
  color: var(--blue);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.pizza-ingredients {
  font-size: 14px; line-height: 1.5;
  color: var(--ink-soft);
  margin-top: auto;
}
.pizza-allergen {
  font-size: 10px; color: var(--blue); font-weight: 700;
  vertical-align: super;
}

.menu-grid.compact .pizza-photo { aspect-ratio: 16 / 10; }
.menu-grid.compact .pizza-name { font-size: 22px; }
.menu-grid.compact .pizza-price { font-size: 26px; }
.menu-grid.compact .pizza-body { padding: 14px 16px; }

.menu-empty {
  padding: 80px 56px;
  text-align: center;
  max-width: 600px; margin: 0 auto;
}
.menu-empty h3 {
  font-family: 'Archivo Black', sans-serif; font-style: italic;
  font-size: 48px; color: var(--blue);
  margin: 0 0 12px;
}
.menu-empty p { color: var(--ink-soft); font-size: 16px; }
.menu-empty button {
  margin-top: 20px;
  padding: 12px 24px; background: var(--ink); color: white;
  border-radius: 999px; font-weight: 600; font-size: 14px;
}

/* ---------- Menu extras (fritti, panuozzi, metro, varianti) ---------- */
.menu-extras {
  background: var(--paper-warm);
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.menu-extras .menu-section-head { padding-top: 80px; }
.menu-extras-grid {
  max-width: 1500px; margin: 0 auto;
  padding: 8px 56px 72px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.extra-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 26px 22px;
  display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.extra-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -22px rgba(20,40,80,0.25);
}
.extra-card-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.extra-card-title {
  font-family: 'Archivo Black', sans-serif;
  font-style: italic;
  font-size: 26px; line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.extra-card-allergens {
  font-family: ui-monospace, monospace;
  font-size: 11px; font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.extra-card-subtitle {
  font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.55;
}
.extra-rows {
  display: flex; flex-direction: column;
  margin-top: 14px;
}
.extra-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.extra-row + .extra-row { border-top: 1px dotted var(--line); }
.extra-row-body { min-width: 0; }
.extra-row-name {
  font-size: 15px; font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.extra-row-note {
  font-size: 12px; color: var(--ink-soft);
  font-style: italic;
  margin-top: 2px;
}
.extra-row-price {
  font-family: var(--script-font, 'Caveat'), cursive;
  font-size: 26px; font-weight: 600;
  color: var(--blue);
  line-height: 1;
  white-space: nowrap;
}
.extra-card-note {
  font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  line-height: 1.55;
}

.allergen-legend {
  max-width: 1500px; margin: 0 auto;
  padding: 40px 56px 80px;
  border-top: 1px solid var(--line);
}
.allergen-legend h4 {
  font-family: ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 40px 0 20px;
}
.allergen-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
  font-size: 13px; color: var(--ink-soft);
}
.allergen-grid sup { color: var(--blue); font-weight: 700; margin-right: 6px; }

/* ---------- Contact page ---------- */
.contact-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact-left {
  background: var(--blue); color: white;
  padding: 80px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.contact-left h1 {
  font-size: clamp(72px, 9vw, 140px);
}
.contact-left h1 .script {
  display: block; font-size: 0.5em;
  transform: rotate(-3deg);
  margin-top: -0.1em; margin-left: 0.15em;
}
.contact-info { display: grid; gap: 32px; position: relative; z-index: 2; }
.contact-info-row {
  display: grid; gap: 6px;
}
.contact-info-row .label {
  font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}
.contact-info-row .val {
  font-family: 'Archivo Black', sans-serif; font-style: italic;
  font-size: 28px; line-height: 1.1;
}
.contact-info-row .val a { border-bottom: 2px solid rgba(255,255,255,0.3); transition: border-color 0.2s; }
.contact-info-row .val a:hover { border-color: white; }
.contact-mascot {
  position: absolute;
  right: -120px; bottom: -40px;
  width: 480px;
  opacity: 0.9;
  pointer-events: none;
}
.contact-right {
  padding: 80px 56px;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 700px;
}
.form-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.form-title {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 40px;
  color: var(--ink);
}
.form-row { margin-bottom: 24px; position: relative; }
.form-row label {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 18px; color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row input:focus,
.form-row textarea:focus { border-color: var(--blue); }
.form-error {
  color: var(--hot);
  font-size: 12px; font-family: ui-monospace, monospace;
  margin-top: 6px;
}
.form-submit {
  margin-top: 16px;
  padding: 18px 36px;
  background: var(--ink); color: white;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.05em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}
.form-submit:hover { background: var(--blue); transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.5; cursor: wait; }
.form-success {
  padding: 24px; background: oklch(0.95 0.05 150);
  border: 1.5px solid var(--leaf);
  border-radius: 8px;
  color: oklch(0.35 0.1 150);
  font-size: 15px; line-height: 1.5;
}
.form-success h4 { margin: 0 0 6px; font-size: 18px; }

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed; bottom: 20px; right: 20px;
  width: 280px; z-index: 100;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 60px -20px rgba(20,40,80,0.3);
  padding: 18px;
  font-family: 'Inter', sans-serif;
}
.tweaks-panel h4 {
  font-family: 'Archivo Black', sans-serif; font-style: italic;
  margin: 0 0 14px; font-size: 18px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--blue);
}
.tweaks-panel h4 button {
  font-size: 14px; opacity: 0.5;
  background: none; border: none;
}
.tweak-row { margin-bottom: 14px; }
.tweak-row label {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.tweak-row input[type=range] { width: 100%; }
.tweak-row .val {
  font-family: ui-monospace, monospace; font-size: 11px;
  color: var(--blue); float: right;
}
.tweak-row .seg {
  display: flex; background: var(--paper-warm);
  border: 1px solid var(--line); border-radius: 8px; padding: 2px;
}
.tweak-row .seg button {
  flex: 1; padding: 6px; font-size: 12px; font-weight: 600;
  border-radius: 6px; color: var(--ink-soft);
}
.tweak-row .seg button.active { background: var(--ink); color: white; }

/* ---------- Sede switcher (segmented control in nav) ---------- */
.nav-seg {
  display: inline-flex; gap: 2px;
  background: oklch(0.95 0.01 240);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 3px;
}
.nav-seg button {
  padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase; white-space: nowrap;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.nav-seg button.active { background: var(--ink); color: white; }
/* On the blue hero nav, invert so the control reads on the blue field */
.nav.blue .nav-seg { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.nav.blue .nav-seg button { color: rgba(255,255,255,0.85); }
.nav.blue .nav-seg button.active { background: white; color: var(--blue); }
/* Variant used inside the (blue) contact panel */
.nav-seg.contact-seg { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35); }
.nav-seg.contact-seg button { color: rgba(255,255,255,0.85); }
.nav-seg.contact-seg button.active { background: white; color: var(--blue); }
.contact-sede-row { margin-bottom: 32px; position: relative; z-index: 2; }

/* ---------- "Le nostre sedi" section ---------- */
.sedi { padding: 120px 56px; background: var(--paper-warm); }
.sedi-head { max-width: 1400px; margin: 0 auto 48px; }
.sedi-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.sedi-eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.sedi-title { font-size: clamp(48px, 6vw, 96px); color: var(--ink); }
.sedi-title .script { color: var(--blue); font-size: 0.5em; display: block; margin-top: -0.04em; transform: rotate(-3deg); }
.sedi-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}
.sedi-card {
  min-width: 0; /* let the grid track shrink instead of overflowing right */
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 20px; padding: 36px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.sedi-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.sedi-card.active { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue) inset; }
.sedi-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap; /* badge drops to its own line on narrow cards */
}
.sedi-card-name {
  font-family: 'Archivo Black', sans-serif; font-style: italic;
  font-size: 30px; line-height: 1; margin: 0;
  min-width: 0; overflow-wrap: anywhere;
}
.sedi-badge {
  background: var(--blue); color: white;
  font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.sedi-addr { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.sedi-phones { display: flex; flex-direction: column; gap: 2px; }
.sedi-phones a {
  font-family: 'Archivo Black', sans-serif; font-style: italic;
  font-size: 22px; color: var(--ink);
  width: max-content;
  border-bottom: 2px solid var(--line); transition: border-color 0.2s;
}
.sedi-phones a:hover { border-color: var(--blue); }
.sedi-hours {
  margin: 0; font-family: ui-monospace, monospace; font-size: 12px;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft);
}
.sedi-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.sedi-maps {
  font-weight: 700; font-size: 14px; color: var(--blue);
  border-bottom: 2px solid transparent; transition: border-color 0.2s;
}
.sedi-maps:hover { border-color: var(--blue); }
.sedi-pick {
  margin-left: auto;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: white;
  font-weight: 700; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase;
  transition: background 0.2s, opacity 0.2s;
}
.sedi-pick:hover { background: var(--blue); }
.sedi-pick.active { background: var(--paper-warm); color: var(--ink-soft); cursor: default; }

/* ---------- Footer multi-sede helpers ---------- */
.footer-sede-tag { color: var(--blue); font-weight: 700; }
.footer-link-btn {
  margin-top: 14px; padding: 0;
  color: var(--blue); font-size: 13px; font-weight: 700;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.footer-link-btn:hover { border-color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --nav-h: 72px; } /* shorter nav on mobile — cascades to .nav + .menu-tools */
  .nav { padding: 0 20px; flex-wrap: wrap; }
  .nav-brand-name { font-size: 18px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid currentColor;
  }
  .nav:not(.blue) .nav-links { border-top-color: var(--line); }
  .nav.blue .nav-links { border-top-color: rgba(255,255,255,0.25); }
  .nav.open .nav-links { display: flex; }
  .nav-link, .nav-link.external {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 12px;
  }
  .nav-ig { align-self: center; margin-top: 4px; }
  /* Sede switcher: full-width inside the open hamburger menu */
  .nav-seg { width: 100%; justify-content: stretch; margin: 4px 0; }
  .nav-seg button { flex: 1; padding: 12px; font-size: 13px; }

  .sedi { padding: 72px 24px; }
  .sedi-grid { grid-template-columns: 1fr; }
  .sedi-pick { margin-left: 0; width: 100%; justify-content: center; }
  .sedi-actions { justify-content: space-between; }

  .hero-inner, .story, .features, .hours, .menu-tools, .menu-section-head, .menu-grid, .menu-extras-grid, .allergen-legend, .contact-left, .contact-right, .footer { padding-left: 24px; padding-right: 24px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .hours-inner { grid-template-columns: 1fr; gap: 40px; }
  .strip { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-wrap { grid-template-columns: 1fr; }

  .hero { min-height: auto; }
  .hero-banner { padding: 11px 20px; gap: 10px; font-size: 14px; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 24px 180px;
    gap: 32px;
  }
  .hero-title { font-size: clamp(72px, 22vw, 140px); margin-top: 16px; }
  .hero-signature { width: auto; right: 0; font-size: 0.5em; }
  .hero-meta { margin-top: 0; max-width: 100%; align-self: start; }
  .hero-mascot { width: 140px; left: 20px; bottom: 84px; opacity: 0.6; }
  .hero-marquee { padding: 14px 0; }
  .hero-marquee-track { font-size: 22px; gap: 32px; }
  .hero-marquee-track span { gap: 32px; }
  .hero-marquee-dot { width: 7px; height: 7px; }

  /* Menu page: scale the hero down so the huge "MENÙ" no longer overflows
     the viewport. The tools bar already tracks the nav via --nav-h. */
  .menu-hero { padding: 48px 24px 32px; }
  .menu-hero h1 { font-size: clamp(64px, 16vw, 120px); }
  .menu-hero-script { font-size: clamp(38px, 11vw, 64px); }
  .menu-hero-sub { font-size: 18px; }

  /* Menu category head: stack the "Base · pomodoro e mozzarella" label *below*
     the category title instead of beside it. Side-by-side overflowed narrow
     screens horizontally (the label was pushed past the viewport edge). */
  .menu-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .menu-section-base { padding-bottom: 0; }

  /* One card per row on phones. The desktop minmax() mins (340/280/420/320px)
     are wider than a ~312px content area, so cards overflowed and their right
     edge — the price — got clipped by body{overflow-x:hidden}. */
  .menu-grid, .menu-grid.compact, .menu-grid.gallery, .menu-extras-grid {
    grid-template-columns: 1fr;
  }
}
