:root {
  --cream: #f5efe0;
  --cream-deep: #ede3cc;
  --espresso: #241c14;
  --espresso-soft: #3a2e22;
  --tomato: #d6472b;
  --burnt: #c1611c;
  --olive: #6e7b4d;
  --butter: #efb93d;
  --paper: #fffdf7;
  --line: rgba(36, 28, 20, 0.14);

  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "Space Mono", monospace;

  --radius: 2px;
  --container: 1240px;
  --gap: 1.5rem;

  --ease: cubic-bezier(0.22, 0.68, 0.35, 1);
  --header-h: 88px;
  --header-h-scrolled: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.03;
  margin: 0;
}
p {
  margin: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--tomato);
  outline-offset: 3px;
}
.tbd {
  font-style: italic;
  opacity: 0.6;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------------- Type system ---------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tomato);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--tomato);
  display: inline-block;
}
.display-1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 5.6rem);
  letter-spacing: -0.01em;
  line-height: 0.94;
}
.display-2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  letter-spacing: -0.01em;
  line-height: 0.97;
}
.display-3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.005em;
  line-height: 1.02;
}
em {
  font-style: italic;
  color: var(--tomato);
}
.lede {
  font-size: 1.08rem;
  color: var(--espresso-soft);
  max-width: 42ch;
}
.section--dark .lede,
.section--olive .lede {
  color: var(--cream);
  opacity: 0.88;
}
.micro-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ---------------- Buttons (existing classes, restyled) ---------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--espresso);
  border-radius: 100px;
  background: transparent;
  color: var(--espresso);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.btn::after {
  content: "→";
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover::after {
  transform: translateX(4px);
}
.btn--primary {
  background: var(--tomato);
  border-color: var(--tomato);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--burnt);
  border-color: var(--burnt);
}
.btn--outline {
  background: transparent;
  box-shadow: 4px 4px 0 0 var(--espresso);
}
.btn--outline:hover {
  background: var(--espresso);
  color: var(--cream);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 0 var(--espresso);
}
.btn--full {
  width: 100%;
}
.btn--add {
  padding: 0.4rem 0.4rem;
  font-size: 0.85rem;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  justify-content: center;
  flex-shrink: 0;
}
.btn--add::after {
  content: "+";
}
.btn--add:hover::after {
  transform: none;
}
.btn--add:hover {
  background: var(--espresso);
  color: var(--cream);
}

/* text-link CTA with animated arrow (additive, non-breaking) */
.btn--link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  background: none;
  padding: 0.2rem 0;
  position: relative;
}
.btn--link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  opacity: 0.4;
}
.btn--link:hover::before {
  transform: scaleX(1);
  opacity: 1;
}
.btn--link::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}
.btn--link:hover::after {
  transform: translateX(5px);
}

/* ---------------- Top bar ---------------- */
.topbar {
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  letter-spacing: 0.04em;
  overflow-x: auto;
  white-space: nowrap;
}
.topbar__dot {
  opacity: 0.5;
}
.topbar a:hover {
  color: var(--butter);
}

/* ---------------- Header (two-tier, asymmetric) ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 239, 224, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition:
    padding 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(36, 28, 20, 0.06);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
  transition: padding 0.35s var(--ease);
}
.site-header.is-scrolled .site-header__inner {
  padding: 0.85rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
  position: relative;
  min-width: 0;
}
.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -0.01em;
  transition: font-size 0.35s var(--ease);
}
.site-header.is-scrolled .brand__mark {
  font-size: 1.35rem;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 0.3rem;
  transition:
    opacity 0.3s var(--ease),
    max-height 0.3s var(--ease);
}
.site-header.is-scrolled .brand__sub {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
}

.main-nav {
  position: relative;
  display: flex;
  gap: 2.1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: 0.35rem 0;
}
.main-nav a.is-active,
.nav-dropdown__trigger.is-active {
  color: var(--tomato);
}
.nav-dropdown {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: -1rem;
}
.nav-dropdown__trigger {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: 0.35rem 1rem 0.35rem 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.nav-dropdown__trigger::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.nav-dropdown.is-open .nav-dropdown__trigger::after {
  transform: translateY(-35%) rotate(225deg);
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 8px 8px 0 var(--cream-deep);
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0s linear 0.2s;
}
.nav-dropdown.is-open .nav-dropdown__menu {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0s;
}
.nav-dropdown__menu a {
  padding: 0.55rem 0.7rem;
  white-space: nowrap;
}
.nav-dropdown__menu a:hover {
  color: var(--tomato);
}
.nav-indicator {
  position: absolute;
  bottom: -6px;
  height: 2px;
  background: var(--tomato);
  transition:
    left 0.35s var(--ease),
    width 0.35s var(--ease),
    opacity 0.2s ease;
  opacity: 0;
}
.main-nav:hover .nav-indicator,
.main-nav .nav-indicator.is-visible {
  opacity: 1;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.header-divider {
  width: 1px;
  height: 24px;
  background: var(--line);
}
.btn--order {
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
}
.cart-toggle {
  position: relative;
  background: transparent;
  border: 1px solid var(--espresso);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}
.cart-toggle:hover {
  transform: rotate(-8deg) scale(1.05);
}
.cart-toggle__count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--tomato);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  transition: transform 0.2s var(--ease);
}
.cart-toggle__count.bump {
  transform: scale(1.35);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--espresso);
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

/* ---------------- Marquee ---------------- */
.marquee {
  background: var(--espresso);
  color: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 22s linear infinite;
}
.marquee-track span {
  flex: 0 0 auto;
  min-width: 100vw;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  padding-right: 1.2rem;
}
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.site-footer__marquee .marquee-track {
  animation-duration: 26s;
}

/* =========================================================
   HERO — homepage (signature composition)
========================================================= */
.hero {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  position: relative;
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero__title {
  margin-top: 1.1rem;
}
.hero__title em {
  display: block;
}
.hero__text {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  max-width: 36ch;
  color: var(--espresso-soft);
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.hero__keywords {
  position: absolute;
  left: 0;
  bottom: -2.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
}
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
  background: var(--cream-deep);
  border: 1px solid var(--line);
  transform: translateY(-1.6rem);
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero__visual:hover img {
  transform: scale(1.05);
}
.hero__stamp {
  position: absolute;
  bottom: -1.6rem;
  left: -1.8rem;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--butter);
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--espresso);
  animation: spin 18s linear infinite;
  z-index: 3;
}
.hero__tag {
  position: absolute;
  top: 8%;
  right: -1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--espresso);
  z-index: 3;
}
@keyframes spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   Generic section basics
========================================================= */
.section {
  padding: 5.5rem 0;
}
.section--tight {
  padding: 3.5rem 0;
}
.section--dark {
  background: var(--espresso);
  color: var(--cream);
}
.section--olive {
  background: var(--olive);
  color: var(--cream);
}
.section--paper {
  background: var(--paper);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.section-number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--tomato);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.7rem;
}
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
}
.section-lede {
  max-width: 44ch;
  font-size: 1.02rem;
  opacity: 0.85;
}
.section--dark .section-lede,
.section--olive .section-lede {
  color: var(--cream);
}

/* =========================================================
   Moments strip — homepage (replaces equal 5-card grid)
========================================================= */
.moments {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.moment {
  min-height: 360px;
  padding: 1rem 1rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--cream);
  transition:
    background 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.moment:hover {
  background: var(--paper);
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 var(--cream-deep);
}
.moment:first-child {
  background: var(--espresso);
  color: var(--cream);
}
.moment__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 1.3rem;
  filter: saturate(0.92);
  transition:
    transform 0.55s var(--ease),
    filter 0.3s var(--ease);
}
.moment:hover .moment__image {
  transform: scale(1.04);
  filter: saturate(1.05);
}
.moment__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--tomato);
}
.moment:first-child .moment__num {
  color: var(--butter);
}
.moment__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 1rem;
}
.moment__text {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  opacity: 0.75;
}

/* =========================================================
   Featured strip (homepage "Dal nostro menu")
   one large + two stacked — replaces 3 equal cards
========================================================= */
.featured-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}
.featured-strip .dish--feature {
  grid-row: 1 / 3;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 340px;
  background:
    linear-gradient(180deg, rgba(36, 28, 20, 0.05), rgba(36, 28, 20, 0.85)),
    var(--cream-deep) center/cover;
  background-image:
    linear-gradient(
      180deg,
      rgba(36, 28, 20, 0.05) 40%,
      rgba(36, 28, 20, 0.92) 100%
    ),
    url("images/menu-pizza.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
  border: none;
  padding: 2rem;
}
.featured-strip .dish--feature:hover {
  padding-left: 2rem;
  background-image:
    linear-gradient(
      180deg,
      rgba(36, 28, 20, 0.08) 35%,
      rgba(36, 28, 20, 0.94) 100%
    ),
    url("images/menu-pizza.jpg");
  background-size: cover;
  background-position: center;
}
.featured-strip .dish--feature .dish__name {
  font-size: 1.6rem;
  color: var(--cream);
}
.featured-strip .dish--feature .dish__desc {
  color: var(--cream);
  opacity: 0.85;
}
.featured-strip .dish--feature .dish__price {
  color: var(--butter);
}

/* =========================================================
   Dish rows — editorial menu system (menu.php, pizza.php, bar.php, dolci-gelato.php)
========================================================= */
.menu-group {
  margin-bottom: 3.5rem;
  scroll-margin-top: calc(var(--header-h) + 70px);
}
.menu-group__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.8rem;
  margin-bottom: 0.4rem;
  border-bottom: 2px solid var(--espresso);
}
.menu-group__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.menu-group__count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.5;
}
.menu-group__items {
  display: flex;
  flex-direction: column;
}

.dish {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px dashed var(--line);
  transition:
    padding-left 0.3s var(--ease),
    background 0.3s var(--ease);
}
.dish:hover {
  padding-left: 0.7rem;
  background: rgba(214, 71, 43, 0.04);
}
.dish__info {
  max-width: 60ch;
}
.dish__name {
  font-size: 1.08rem;
}
.dish__desc {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  opacity: 0.65;
  max-width: 52ch;
}
.dish__action {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.dish__price {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  white-space: nowrap;
}

/* ---------------- Editorial category menu layout ---------------- */
.editorial-menu {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.editorial-menu__section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  scroll-margin-top: calc(var(--header-h) + 70px);
}
.editorial-menu__section:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
}
.editorial-menu__section:nth-child(even) .editorial-menu__media {
  order: 2;
}
.editorial-menu__media {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  width: min(100%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream-deep);
  overflow: hidden;
  justify-self: center;
  box-shadow: 10px 10px 0 var(--cream-deep);
}
.editorial-menu__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
}
.editorial-menu__content {
  min-width: 0;
}

/* ---------------- Sticky category nav (menu.php) ---------------- */
.menu-toc {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(245, 239, 224, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  margin-bottom: 1rem;
  overflow-x: auto;
}
.menu-toc__inner {
  display: flex;
  gap: 0.6rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  white-space: nowrap;
}
.menu-toc a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.menu-toc a:hover,
.menu-toc a.is-active {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}

/* =========================================================
   Feature banner (pizza / bar teaser on homepage) — offset frame
========================================================= */
.feature-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
}
.feature-banner__media {
  position: relative;
  background: var(--cream-deep);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%);
}
.feature-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.feature-banner:hover .feature-banner__media img {
  transform: scale(1.04);
}
.feature-banner__content {
  background: var(--espresso);
  color: var(--cream);
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.3rem;
  position: relative;
}
.feature-banner__content h3 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}
.feature-banner--reverse {
  grid-template-columns: 1fr 1fr;
}
.feature-banner--reverse .feature-banner__media {
  order: 2;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}
.feature-banner--reverse .feature-banner__content {
  order: 1;
}

/* =========================================================
   Steps (delivery flow) — path/rhythm layout
========================================================= */
.steps {
  display: flex;
  flex-direction: column;
  position: relative;
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.steps .step:last-child {
  border-bottom: 1px solid var(--line);
}
.step__num {
  font-family: var(--font-display);
  font-size: 3.6rem;
  color: var(--tomato);
  opacity: 0.85;
  line-height: 1;
}
.step__title {
  font-size: 1.35rem;
}
.step__text {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  opacity: 0.75;
  max-width: 52ch;
}
.order-note-block {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 var(--cream-deep);
}
.order-note-block__title {
  font-size: 1.25rem;
}
.order-note-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.order-note-list li {
  font-size: 0.9rem;
  line-height: 1.45;
  padding-left: 1rem;
  position: relative;
  color: var(--espresso-soft);
}
.order-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tomato);
}
.pickup-address {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 520px;
  margin-top: 1.6rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pickup-address strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

/* =========================================================
   Info block (location / atmosphere) — offset media
========================================================= */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 1.7rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.info-list li {
  display: flex;
  gap: 0.9rem;
  font-size: 0.96rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.7rem;
}
.info-list span.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.55;
  min-width: 110px;
}
.info-media {
  aspect-ratio: 4/3;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  position: relative;
}
.info-media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--tomato);
  z-index: -1;
}
.info-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   Final CTA
========================================================= */
.final-cta {
  text-align: center;
  padding: 6rem 1.5rem;
  background: var(--tomato);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}
.final-cta .btn {
  margin-top: 2.2rem;
  border-color: var(--paper);
  color: var(--paper);
}
.final-cta .btn:hover {
  background: var(--paper);
  color: var(--tomato);
}

/* =========================================================
   PAGE HERO — distinct per page
========================================================= */
.page-hero {
  position: relative;
  padding: 4rem 0 2.5rem;
}

/* --- Menu: menu-board editorial --- */
.hero-menu {
  padding: 4.5rem 0 0;
}
.hero-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-menu__index {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* --- Pizza: oversized wordmark behind content --- */
.hero-pizza {
  position: relative;
  padding: 3rem 0 2rem;
  overflow: hidden;
}
.hero-pizza__bg {
  position: absolute;
  top: -2.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(6rem, 18vw, 13rem);
  color: var(--cream-deep);
  z-index: 0;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero-pizza__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-pizza__media {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 14px var(--cream),
    0 0 0 15px var(--line);
}
.hero-pizza__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-pizza__labels {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.hero-pizza__labels span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--espresso);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
}

/* --- Bar: moody split with vertical text --- */
.hero-bar {
  background: var(--espresso);
  color: var(--cream);
  padding: 4.5rem 0;
}
.hero-bar__row {
  display: grid;
  grid-template-columns: auto 1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-bar__media {
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 224, 0.18);
}
.hero-bar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bar .lede {
  color: var(--cream);
  opacity: 0.82;
}

/* --- Dolci & Gelato: playful curved stacked crops --- */
.hero-dolci {
  padding: 4rem 0 2rem;
}
.hero-dolci__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-dolci__media {
  position: relative;
  height: 420px;
}
.hero-dolci__media img {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--paper);
  box-shadow: 0 12px 30px rgba(36, 28, 20, 0.12);
}
.hero-dolci__media img:first-child {
  width: 66%;
  height: 66%;
  top: 0;
  left: 6%;
  z-index: 2;
}
.hero-dolci__media img:last-child {
  width: 52%;
  height: 52%;
  bottom: 0;
  right: 2%;
  z-index: 1;
}
.hero-dolci__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--tomato);
  display: inline;
}

/* --- Delivery: path/order-flow hero --- */
.hero-delivery {
  padding: 4rem 0 1rem;
}
.hero-delivery__row {
  grid-template-columns: 1.2fr 0.8fr;
}
.hero-delivery__panel {
  margin-top: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
  box-shadow: 6px 6px 0 var(--butter);
}
.hero-delivery__panel-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.hero-delivery__panel-row:last-child {
  border-bottom: none;
}

/* --- Chi Siamo: manifesto storytelling --- */
.hero-chisiamo {
  padding: 4.5rem 0 2.5rem;
}
.hero-chisiamo__inner {
  grid-template-columns: 1fr 1fr;
  align-items: end;
  margin-top: 1.2rem;
}
.hero-chisiamo__statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  max-width: 26ch;
  margin-top: 1.4rem;
}
.hero-chisiamo__statement em {
  font-style: italic;
  color: var(--tomato);
}
.about-concept {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  max-width: 920px;
  margin-bottom: 2.5rem;
  padding-top: 1rem;
}
.about-concept__body {
  min-width: 0;
}
.about-concept__lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.25;
  color: var(--espresso-soft);
}
.about-concept__note {
  max-width: 68ch;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--espresso-soft);
  opacity: 0.78;
}

/* --- Contatti: destination hero --- */
.hero-contact {
  padding: 5rem 0 3rem;
  position: relative;
}
.hero-contact__city {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--espresso);
}
.hero-contact__address {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin-top: 1.2rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--tomato);
}
.quick-contacts {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}
.quick-contact {
  flex: 1;
  padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--line);
}
.quick-contact:last-child {
  border-right: none;
}
.quick-contact .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  opacity: 0.55;
}
.quick-contact .value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-top: 0.5rem;
}

/* =========================================================
   Contact form module — distinct from generic bootstrap form
========================================================= */
.form-module {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 3rem;
  position: relative;
}
.form-module::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 1px solid var(--olive);
  z-index: -1;
}
.form {
  display: block;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field--full {
  grid-column: 1 / -1;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.65;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem 0.1rem;
  border: none;
  border-bottom: 1.5px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 0;
  transition: border-color 0.25s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--tomato);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--espresso) 50%),
    linear-gradient(135deg, var(--espresso) 50%, transparent 50%);
  background-position:
    calc(100% - 8px) 55%,
    calc(100% - 2px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  padding: 0.85rem 1.2rem;
  border-radius: 100px;
  cursor: pointer;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.radio-option:has(input:checked) {
  border-color: var(--tomato);
  background: rgba(214, 71, 43, 0.06);
}
.radio-option input {
  accent-color: var(--tomato);
}
.form-note {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Order page layout */
.order-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.order-summary {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.8rem;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  box-shadow: 6px 6px 0 var(--cream-deep);
}
.order-summary__item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}
.order-summary__total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  padding-top: 1.1rem;
  font-weight: 700;
}

/* =========================================================
   FAQ — thin accordion, editorial
========================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  padding: 1.4rem 0.2rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq-item summary:hover {
  color: var(--tomato);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--tomato);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after {
  content: "+";
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 0.2rem 1.5rem;
  font-size: 0.94rem;
  opacity: 0.75;
  max-width: 70ch;
}

/* ---------------- Legal pages ---------------- */
.legal-content {
  max-width: 74ch;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 0.8rem;
}
.legal-content ul {
  padding-left: 1.2rem;
}
.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.6;
  margin-bottom: 2rem;
  display: block;
}

/* ---------------- Success page ---------------- */
.success {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}
.success__icon {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--tomato);
}
.success-recap {
  max-width: 440px;
  margin: 1.4rem auto 0;
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: left;
}
.success-recap p + p {
  margin-top: 0.7rem;
}
.success-recap span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--tomato);
  text-transform: uppercase;
}

/* =========================================================
   Cart Drawer — spring-like movement
========================================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 28, 20, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 80;
}
.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(440px, 92vw);
  background: var(--paper);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.15);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
}
.cart-drawer.is-open {
  transform: translateX(0);
}
.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 1.6rem;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__head h2 {
  font-size: 1.5rem;
}
.cart-drawer__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--espresso);
  transition: transform 0.2s var(--ease);
}
.cart-drawer__close:hover {
  transform: rotate(90deg);
}
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.3rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.cart-empty {
  opacity: 0.65;
  font-size: 0.9rem;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 1.1rem;
}
.cart-item__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
}
.cart-item__unit {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.6;
  margin-top: 0.25rem;
}
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.65rem;
}
.qty-btn {
  width: 27px;
  height: 27px;
  border: 1px solid var(--espresso);
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.qty-btn:hover {
  background: var(--espresso);
  color: var(--cream);
}
.cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
.cart-item__total {
  font-family: var(--font-mono);
  font-weight: 700;
}
.cart-item__remove {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  opacity: 0.55;
  background: none;
  border: none;
  margin-top: 0.65rem;
}
.cart-item__remove:hover {
  color: var(--tomato);
  opacity: 1;
}
.cart-drawer__foot {
  border-top: 1px solid var(--line);
  padding: 1.3rem 1.6rem 1.6rem;
}
.cart-drawer__row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

/* =========================================================
   Mobile full-screen nav overlay
========================================================= */
@media (min-width: 769px) {
  .mobile-nav-info {
    display: none;
  }
}

/* =========================================================
   Footer — editorial redesign
========================================================= */
.site-footer {
  background: var(--espresso);
  color: var(--cream);
  margin-top: 5rem;
  overflow: hidden;
}
.site-footer__cta {
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(245, 239, 224, 0.12);
}
.site-footer__cta .display-2 {
  color: var(--cream);
}
.site-footer__cta .btn {
  margin-top: 2rem;
  border-color: var(--cream);
  color: var(--cream);
}
.site-footer__cta .btn:hover {
  background: var(--cream);
  color: var(--espresso);
}
.site-footer__marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(245, 239, 224, 0.12);
  border-bottom: 1px solid rgba(245, 239, 224, 0.12);
  padding: 0.7rem 0;
}
.site-footer__marquee .marquee-track {
  display: flex;
  width: max-content;
  animation-duration: 26s;
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.55;
  margin-bottom: 0.4rem;
}
.footer-col a {
  font-size: 0.92rem;
  opacity: 0.85;
  position: relative;
  width: fit-content;
}
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--butter);
  transition: width 0.25s var(--ease);
}
.footer-col a:hover {
  color: var(--butter);
  opacity: 1;
}
.footer-col a:hover::after {
  width: 100%;
}
.footer-col--brand .brand__mark {
  font-size: 2rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.footer-brand .brand__logo {
  width: 48px;
  height: 48px;
}
.footer-col--brand p {
  font-size: 0.92rem;
  opacity: 0.75;
  margin-top: 0.5rem;
}
.footer-address {
  font-family: var(--font-display);
  font-size: 1.3rem;
  opacity: 0.92;
  margin-top: 1.3rem;
  line-height: 1.5;
}
.footer-vat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.55;
  margin-top: 0.8rem;
}
.site-footer__bottom {
  border-top: 1px solid rgba(245, 239, 224, 0.15);
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------------- Cookie banner ---------------- */
.cookie-banner {
  position: fixed;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 1rem 1rem 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--espresso);
  box-shadow: 8px 8px 0 var(--espresso);
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease),
    visibility 0s linear 0.25s;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease),
    visibility 0s;
}
.cookie-banner__text strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tomato);
}
.cookie-banner__text p {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--espresso-soft);
}
.cookie-banner__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner__accept {
  padding: 0.75rem 1.2rem;
  white-space: nowrap;
}

/* ---------------- Reveal animation ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-group] [data-reveal]:nth-child(1) {
  transition-delay: 0s;
}
[data-reveal-group] [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}
[data-reveal-group] [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}
[data-reveal-group] [data-reveal]:nth-child(4) {
  transition-delay: 0.24s;
}
[data-reveal-group] [data-reveal]:nth-child(5) {
  transition-delay: 0.32s;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track,
  .hero__stamp {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* =========================================================
   Mobile navigation overlay (full-screen)
========================================================= */
@media (max-width: 768px) {
  body {
    padding-top: 94px;
  }
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 95;
  }
  .topbar__inner {
    padding: 0.4rem 1rem;
  }
  .site-header {
    position: fixed;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 96;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    height: 100dvh;
    width: 100%;
    background: var(--espresso);
    color: var(--cream);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease),
      visibility 0s linear 0.35s;
    z-index: 90;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease),
      visibility 0s;
  }
  .main-nav a {
    display: block;
    width: 100%;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 7vw, 2.35rem);
    text-transform: none;
    letter-spacing: 0;
    padding: 0.5rem 0;
    max-width: 100%;
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.4s var(--ease),
      transform 0.4s var(--ease);
  }
  .nav-dropdown {
    padding-bottom: 0;
    margin-bottom: 0;
    width: 100%;
    flex: 0 0 auto;
  }
  .nav-dropdown__trigger {
    display: none;
  }
  .nav-dropdown__menu {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    gap: 0;
    transition: none;
  }
  .nav-dropdown__menu a {
    white-space: normal;
  }
  .main-nav.is-open a {
    opacity: 1;
    transform: none;
  }
  .nav-indicator {
    display: none;
  }
  .mobile-nav-info {
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 105;
    color: var(--espresso);
  }
  .nav-toggle.is-active {
    position: fixed;
    top: 3.1rem;
    right: 1rem;
    color: var(--cream);
  }
  .nav-toggle.is-active span {
    background: var(--cream);
  }
  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero-chisiamo__inner,
  .hero-delivery__row {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    max-width: 480px;
    transform: none;
  }
  .hero__keywords {
    position: static;
    margin-top: 2.5rem;
  }
  .order-layout {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
  }
  .editorial-menu__section,
  .editorial-menu__section:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .editorial-menu__section:nth-child(even) .editorial-menu__media {
    order: 0;
  }
  .editorial-menu__media {
    position: relative;
    top: auto;
    width: min(78vw, 340px);
  }
  .feature-banner {
    grid-template-columns: 1fr;
  }
  .feature-banner__media {
    min-height: 260px;
    clip-path: none;
  }
  .feature-banner--reverse .feature-banner__media {
    clip-path: none;
    order: 1;
  }
  .feature-banner--reverse .feature-banner__content {
    order: 2;
  }
  .info-block {
    grid-template-columns: 1fr;
  }
  .hero-pizza__row {
    grid-template-columns: 1fr;
  }
  .hero-bar__row {
    grid-template-columns: 1fr;
  }
  .hero-dolci__row {
    grid-template-columns: 1fr;
  }
  .about-concept {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .quick-contacts {
    flex-wrap: wrap;
  }
  .quick-contact {
    flex: 1 1 45%;
  }
  .site-header__inner {
    grid-template-columns: auto auto;
    gap: 0.8rem;
    justify-content: space-between;
  }
  .site-header__actions {
    gap: 0.7rem;
  }
  .brand__logo {
    width: 36px;
    height: 36px;
  }
  .brand__mark {
    font-size: 1.3rem;
    overflow-wrap: anywhere;
  }
  .btn--order,
  .header-divider {
    display: none;
  }
}
@media (max-width: 768px) {
  .container {
    padding-inline: 1rem;
  }
  .display-1 {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }
  .display-2 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }
  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero__ctas,
  .site-header__actions,
  .hero-pizza__labels,
  .quick-contacts {
    min-width: 0;
  }
  .hero__tag {
    right: 0;
    max-width: calc(100% - 1rem);
  }
  .hero__stamp {
    left: 0;
  }
  .micro-vertical {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .dish {
    gap: 1rem;
    min-width: 0;
  }
  .dish__info {
    min-width: 0;
  }
  .dish__action {
    gap: 0.7rem;
  }
  .dish__name,
  .dish__desc,
  .legal-content,
  .footer-vat,
  .form-note,
  .faq-item summary,
  .order-summary__item,
  .order-summary__total,
  .cart-item__name,
  .cart-item__unit {
    overflow-wrap: anywhere;
  }
  .radio-group,
  .radio-option,
  .order-summary__item,
  .order-summary__total {
    min-width: 0;
  }
  .radio-option {
    border-radius: 18px;
    flex: 1 1 100%;
  }
  .order-summary {
    padding: 1.2rem;
    box-shadow: 4px 4px 0 var(--cream-deep);
  }
  .order-summary__item,
  .order-summary__total {
    gap: 1rem;
  }
  .pickup-address strong {
    font-size: 1.1rem;
    overflow-wrap: anywhere;
  }
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    grid-template-columns: 1fr;
    box-shadow: 5px 5px 0 var(--espresso);
  }
  .cookie-banner__accept {
    width: 100%;
  }
  .moments {
    grid-template-columns: 1fr;
    border-left: none;
  }
  .moment {
    min-height: 0;
    border-right: none;
  }
  .featured-strip {
    grid-template-columns: 1fr;
  }
  .featured-strip .dish--feature {
    grid-row: auto;
    min-height: 260px;
  }
  .menu-group__items {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 0;
  }
  .step {
    grid-template-columns: 60px 1fr;
    padding: 1.5rem 0;
  }
  .step__num {
    font-size: 2.4rem;
  }
  .order-note-list {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-module {
    padding: 1.8rem;
  }
  .section .btn + .btn {
    margin-left: 0 !important;
    margin-top: 0.8rem;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 3.5rem 0;
  }
  .quick-contact {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .hero-contact__city {
    font-size: clamp(3rem, 16vw, 5.5rem);
  }
}
@media (max-width: 480px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .hero__stamp {
    width: 86px;
    height: 86px;
    font-size: 0.55rem;
    left: 0;
  }
  .site-header__inner {
    padding: 1rem 1rem;
  }
  .hero-pizza__bg {
    font-size: clamp(4rem, 22vw, 7rem);
  }
}
