/* Font locali: i duplicati Awendela con suffisso "2" non sono necessari. */

@font-face {
  font-family: "Melodrama";
  src: url("../font/Melodrama-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../font/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../font/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("../font/AlumniSans-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("../font/AlumniSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Cabin Condensed";
  src: url("../font/CabinCondensed-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cabin Condensed";
  src: url("../font/CabinCondensed-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cabin Condensed";
  src: url("../font/CabinCondensed-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Cabin Condensed";
  src: url("../font/CabinCondensed-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "bodoni-72-book";
  src: url("../font/bodoni-72-book.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Awendela Beloved";
  src: url("../font/Awendela Beloved.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Awendela Beloved";
  src: url("../font/Awendela Beloved Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Malone Clemettine Serif";
  src: url("../font/Malone-Clemettine-Serif-BF650d3e0cbbf6a.otf")
    format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Malone Clemettine Serif";
  src: url("../font/Malone-Clemettine-Serif-Italic-BF650d3e0cc0e12.otf")
    format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Guida di allineamento laptop, attivabile con Alt + G. */
  --guide-columns: 12;
  --guide-margin: 50px;
  --guide-gutter: 20px;
  --guide-color: rgb(0 255 132 / 12%);

  /* Famiglie: selezionare pesi e corsivi con font-weight e font-style. */
  --font-melodrama: "Melodrama", Georgia, serif;
  --font-inter: "Inter", Arial, sans-serif;
  --font-alumni-sans: "Alumni Sans", Arial, sans-serif;
  --font-cabin-condensed: "Cabin Condensed", Arial, sans-serif;
  --font-bodoni-72: "bodoni-72-book", Georgia, serif;
  --font-awendela-beloved: "Awendela Beloved", Georgia, serif;
  --font-malone-clemettine: "Malone Clemettine Serif", Georgia, serif;

  --orange-color: #fe6323;
  --whitelight: #faf8f0;
  --colorecru: #ebdec8;
  --black: #312e2e;
  --whitecream: #fffce8;
  --colorecrulight: #fef5ea;
  --ecru-light: var(--colorecrulight);
  --colorcream: #fff8dd;

  /*
    Tipografia fluida: dimensioni Figma alla viewport di 1512px.
    I valori in rem assumono un font base di 16px.
    Minimi mobile provvisori, da verificare nei layout delle sezioni.
  */
  --title-230: clamp(3rem, calc(100vw * 230 / 1512), 14.375rem);
  --title-140: clamp(2.5rem, calc(100vw * 140 / 1512), 8.75rem);
  --title-110: clamp(2rem, calc(100vw * 110 / 1512), 6.875rem);
  --paragrafo-48: clamp(1.25rem, calc(100vw * 48 / 1512), 3rem);
  --paragrafo-24: clamp(1rem, calc(100vw * 24 / 1512), 1.5rem);
  --paragrafo-28: clamp(1rem, calc(100vw * 28 / 1512), 1.75rem);
  --paragraph-30: clamp(24px, calc(100vw * 30 / 1512), 30px);
  --title-250: clamp(3rem, calc(100vw * 250 / 1512), 15.625rem);
  --title-330: clamp(3.5rem, calc(100vw * 330 / 1512), 20.625rem);
  --title-130: clamp(2.25rem, calc(100vw * 130 / 1512), 8.125rem);
  --sottotitolo-40: clamp(1.125rem, calc(100vw * 40 / 1512), 2.5rem);
  --title-290: clamp(3.25rem, calc(100vw * 290 / 1512), 18.125rem);
  --title-270: clamp(3rem, calc(100vw * 270 / 1512), 16.875rem);
  --title-380: clamp(4rem, calc(100vw * 380 / 1512), 23.75rem);
  --header-height: 76px;
  --nav-font-size: clamp(0.875rem, calc(100vw * 18 / 1512), 1.125rem);
  --counter-80: clamp(2rem, calc(100vw * 80 / 1512), 5rem);

  --padding-50-: 50px;
  --padding-25-mobile:25px
}

.layout-guide {
  display: none;
  position: fixed;
  inset: 0 var(--guide-margin);
  z-index: 10000;
  pointer-events: none;
  user-select: none;
}

.layout-guide > span {
  background: var(--guide-color);
}

@media (max-width: 440px) {
  :root {
    --guide-columns: 5;
    --guide-margin: 25px;
    --guide-gutter: 10px;
  }
}

@media screen and (min-width: 1280px), screen and (max-width: 440px) {
  .layout-guide:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(var(--guide-columns), minmax(0, 1fr));
    gap: var(--guide-gutter);
  }
}

/* Preloader */
.preloader__mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.preloader__text {
  font-family: var(--font-melodrama);
  font-size: var(--title-110);
  font-weight: 300;
}

.preloader__counter {
  font-family: var(--font-inter);
  font-size: var(--counter-80);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* Layout base mobile-first. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--whitecream);
}

.is-loading,
.is-loading body {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--whitecream);
  color: var(--black);
  font-family: var(--font-inter);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.preloader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  color: var(--whitecream);
  pointer-events: none;
}

.is-loading .preloader {
  display: block;
  pointer-events: auto;
}

.preloader__orange {
  fill: var(--orange-color);
}

.preloader__ring {
  position: absolute;
  left: 50%;
  top: 48%;
  width: clamp(18rem, 44vw, 42rem);
  max-width: 90vw;
  max-height: calc(100svh - 10rem);
  aspect-ratio: 1;
  translate: -50% -50%;
  transform-origin: 50% 50%;
}

.preloader__rotor {
  display: block;
  overflow: visible;
  transform-box: border-box;
  transform-origin: 50% 50%;
}

.preloader__text {
  fill: currentColor;
  /* Solo il testo circolare attende il font; sfondo e avanzamento restano visibili. */
  opacity: 0;
}
.preloader.is-font-ready .preloader__text {
  opacity: 1;
}

.preloader__progress {
  position: absolute;
  left: max(1.25rem, 3.3vw);
  right: max(1.25rem, 3.3vw);
  bottom: max(1.5rem, 3.3vh, env(safe-area-inset-bottom));
}

.preloader__counter {
  width: max-content;
  margin-left: auto;
  margin-bottom: 1rem;
  letter-spacing: -0.065em;
}

.preloader__bar {
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
}

/* Mantiene leggibile il cerchio anche sui telefoni in orizzontale. */
@media (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
  .preloader__text {
    font-size: min(var(--title-110), 8svh);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader__ring {
    visibility: hidden;
  }
}

/* Navigazione: quattro aree su laptop, pannello espandibile su mobile. */
body {
  padding-top: var(--header-height);
}

html {
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

.hero {
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 76px;
  border-bottom: 1px solid var(--black);
  background: var(--whitelight);
  color: var(--black);
  font-family: var(--font-inter);
  font-weight: 300;
}

/* La navbar è già visibile sotto la maschera durante l’apertura. */
.is-loading .site-header {
  visibility: visible;
}

.site-header button,
.site-header a {
  -webkit-tap-highlight-color: transparent;
}

.site-header button {
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
}

.site-header :focus-visible {
  outline: 2px solid var(--orange-color);
  outline-offset: -5px;
}

.site-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  min-width: 0;
  border-right: 1px solid var(--black);
}

.site-brand img {
  display: block;
  width: min(244px, 100%);
  height: auto;
  aspect-ratio: 244 / 30.6;
  object-fit: contain;
}

.menu-toggle {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle[hidden] {
  display: none;
}

.menu-toggle span {
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 550ms cubic-bezier(.25,.46,.45,1);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.header-panel {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 24px max(24px, env(safe-area-inset-bottom));
  background: var(--whitelight);
}

.site-header.is-menu-open .header-panel {
  display: flex;
  flex-direction: column;
}

body.is-menu-open {
  overflow: hidden;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.site-nav a {
  color: inherit;
  font-size: calc(18px * var(--nav-label-scale, 1));
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a[hidden] { display: none; }

.site-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}

.site-socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.site-socials img {
  display: block;
  height: 15.696px;
  width: auto;
  object-fit: contain;
}

.site-language {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 3;
  grid-row: 1;
  border-left: 1px solid var(--black);
}

.language-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange-color);
  font-size: 16px;
  font-weight: 300;
}

@media (min-width: 1280px) {
  :root {
    --header-height: 95px;
  }

  .site-header {
    grid-template-columns: 19.312169% minmax(0, 1fr) 10.53968256% 7.738095%;
  }

  .menu-toggle {
    display: none;
  }

  .header-panel,
  .site-header.is-menu-open .header-panel {
    display: contents;
  }

  .site-nav {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 0 16px;
    border-right: 1px solid var(--black);
    min-width: 0;
  }

  .site-nav a {
    font-size: calc(var(--nav-font-size) * var(--nav-label-scale, 1));
  }

  .site-socials {
    justify-content: space-evenly;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .site-language {
    grid-column: 4;
  }
}

@media (min-width: 1512px) {
  .site-header {
    /* Due riduzioni successive del 20%: a 1512px i social occupano 159.36px. */
    grid-template-columns:
      292px minmax(0, 1fr) calc((100% - 1263px) * 0.64)
      117px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle span {
    transition: none;
  }
}

/* Menu tablet/mobile: maschere alternate e apertura verticale. */
.header-shortcut { display: none; }
.mobile-nav-row { display: contents; }
@media (max-width: 1279px) {
  :root { --header-height: clamp(76px, 10.5vw, 114px); }
  .site-header { grid-template-columns: 12% 23.5% 29.5% 25% 10%; }
  .menu-toggle { grid-column: 1; border-right: 1px solid var(--black); }
  .menu-toggle span { width: 48px; }
  .site-brand { grid-column: 3; grid-row: 1; }
  .site-language { grid-column: 5; }
  .header-shortcut {
    display: flex; align-items: center; justify-content: center;
    grid-row: 1; color: inherit; text-decoration: none; text-transform: uppercase;
    font-size: calc(clamp(11px, 1.8vw, 20px) * .8); white-space: nowrap;
  }
  .header-shortcut--booking { grid-column: 2; border-right: 1px solid var(--black); }
  .header-shortcut--menu { grid-column: 4; }
  .header-panel, .site-header.is-menu-open .header-panel {
    display: flex; flex-direction: column; justify-content: center;
    height: calc(100dvh - var(--header-height)); box-sizing: border-box;
    background: #ff5918; padding: 24px 16px max(24px, env(safe-area-inset-bottom));
    overflow: hidden; clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 1400ms cubic-bezier(.45,0,.2,1), visibility 0s 1400ms;
  }
  .site-header.is-menu-open .header-panel {
    clip-path: inset(0); visibility: visible; transition-delay: 0s;
  }
  .header-panel .site-nav {
    align-items: stretch; gap: clamp(12px, 2.7dvh, 32px);
    margin: auto 0; text-align: center;
  }
  .mobile-nav-row { display: block; overflow: hidden; }
  .mobile-nav-extra { display: none; }
  .header-panel .site-nav a {
    display: block; font-family: var(--font-melodrama); font-weight: 400;
    font-size: calc(min(10.8vw, 9dvh) * var(--nav-label-scale, 1)); line-height: 1.1;
    transform: translateX(var(--menu-direction));
    transition: transform 750ms cubic-bezier(.45,0,.2,1);
  }
  .is-menu-open .header-panel .site-nav a {
    transform: translateX(0);
    transition: transform 1600ms cubic-bezier(.25,.46,.25,1);
    transition-delay: calc(380ms + var(--menu-order) * 150ms);
  }
  .header-panel .site-socials { margin: 0; padding: 0; gap: clamp(20px, 6vw, 75px); overflow: hidden; flex-shrink: 0; }
  .header-panel .site-socials img { height: clamp(19.2px, 3.04vw, 33.6px); }
  .header-panel .site-socials a { transform: translateY(110%); transition: transform 650ms cubic-bezier(.45,0,.2,1); }
  .is-menu-open .header-panel .site-socials a { transform: translateY(0); transition: transform 1200ms cubic-bezier(.25,.46,.25,1) 1400ms; }
  .is-menu-open .header-panel .site-socials a:nth-child(2) { transition-delay: 1200ms; }
  .header-panel :focus-visible { outline-color: var(--black); }
}
@media (max-width: 440px) {
  :root { --header-height: 80px; }
  .site-header { grid-template-columns: 19% minmax(0, 1fr) 18%; }
  .site-brand { grid-column: 2; padding: 0 20px; border-right: 0; }
  .site-language { grid-column: 3; }
  .header-shortcut { display: none; }
  .language-button { width: 35.2px; height: 35.2px; font-size: 12.8px; }
  .header-panel { padding-inline: 12px; }
}
@media (hover: hover) {
  .menu-toggle[aria-expanded="false"]:not(.is-just-closed):hover span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="false"]:not(.is-just-closed):hover span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .menu-toggle[aria-expanded="true"]:hover span { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .header-panel, .header-panel .site-nav a, .header-panel .site-socials a { transition: none !important; }
}

/* Hero: composizione tipografica del riferimento Figma. */
.hero {
  position: relative;
  isolation: isolate;
  height: auto;
  min-height: calc(100svh - var(--header-height));
  color: #fff;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 8%) 25%,
    rgb(0 0 0 / 10%) 50%,
    rgb(0 0 0 / 50%) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: calc(100svh - var(--header-height));
  padding: 32px 24px 36px;
}

.hero__title,
.hero__subtitle {
  margin: 0;
  font-family: var(--font-melodrama);
  text-transform: uppercase;
}

.hero__title span,
.hero__subtitle span {
  display: block;
}

.hero__title-main {
  font-size: var(--title-230);
  font-weight: 400;
  line-height: 0.9;
}

.hero__title-secondary {
  margin-top: -0.14em;
  font-size: var(--title-140);
  font-weight: 300;
  line-height: 0.95;
}

.hero__subtitle {
  align-self: flex-end;
  font-size: var(--title-110);
  font-weight: 300;
  line-height: 0.9;
  text-align: right;
}

.hero__intro {
  width: min(100%, 640px);
  margin-top: auto;
  padding-top: 80px;
}

.hero__description {
  margin: 0 0 32px;
  font-family: var(--font-alumni-sans);
  font-size: var(--paragrafo-28);
  font-weight: 200;
  line-height: 110%;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hero__booking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 254px;
  max-width: 100%;
  height: 58px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--colorecrulight);
  color: var(--black);
  font-family: var(--font-cabin-condensed);
  font-size: var(--paragrafo-24);
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
}

.hero__booking img {
  display: block;
  width: 29px;
  height: auto;
}

.hero__booking:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.hero__curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  fill: none;
  stroke: #fff;
  stroke-width: 1;
}

.hero__curve path {
  /* Stesse coordinate per tratto e dash: nessun salto durante il disegno SVG. */
  vector-effect: none;
}

@media (min-width: 768px) {
  .hero,
  .hero__content {
    min-height: max(680px, calc(100svh - var(--header-height)));
  }

  .hero__content {
    display: block;
    padding: 0;
  }

  .hero__title {
    position: absolute;
    top: clamp(28px, 3vw, 45px);
    left: 4.2%;
  }

  .hero__subtitle {
    position: absolute;
    top: calc(clamp(28px, 3vw, 45px) + var(--title-230) * 0.9);
    right: 2.7%;
  }

  .hero__intro {
    position: absolute;
    left: 4.2%;
    bottom: clamp(36px, 4vw, 60px);
    width: min(46%, 640px);
    padding: 0;
  }

  .hero__description {
    margin-bottom: 40px;
  }
}

@media (min-width: 1280px) {
  .hero__title,
  .hero__intro {
    left: var(--guide-margin);
  }

  .hero__subtitle {
    right: var(--guide-margin);
  }
}

@media (max-width: 440px) {
  .hero__content {
    display: block; padding: 0;
    min-height: max(760px, calc(100svh - var(--header-height)));
  }
  .hero__title { position: absolute; top: 12%; left: 4%; right: 4%; text-align: left; }
  .hero__title-main { font-size: 21.8vw; white-space: nowrap; }
  .hero__title-secondary { font-size: 13.5vw; margin-top: .18em; }
  .hero__subtitle {
    position: absolute; top: 40%; right: 4%; margin: 0;
    font-size: 13.5vw; line-height: .95;
  }
  .hero__intro { position: absolute; left: 4.5%; bottom: 9%; width: 82%; padding: 0; }
  .hero__description { margin-bottom: 40px; }
  .hero .hero__booking.site-button {
    width: 203.2px; min-width: 0; height: 50px; min-height: 50px;
    padding-inline: 14px; gap: 12px;
  }
}

/* Ospitalità: testi entro la griglia e galleria a tutta larghezza. */
.restaurant-story {
  --gallery-scale: 0.55;
  --gallery-stagger: 80px;
  --story-margin: 24px;
  padding: clamp(48px, 5vw, 76px) 0 clamp(56px, 6vw, 90px);
  background: var(--colorecru);
  color: var(--black);
}

.restaurant-story__text {
  margin: 0 var(--story-margin);
  font-family: var(--font-melodrama);
  font-size: var(--paragrafo-48);
  font-weight: 500;
  line-height: 104%;
  text-align: center;
  text-transform: uppercase;
}

.story-gallery {
  position: relative;
  margin-block: clamp(56px, 6.6vw, 100px);
}

.story-gallery__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.story-gallery.is-animated .story-gallery__viewport {
  overflow: hidden;
}

.story-gallery__track {
  display: flex;
  width: max-content;
}

.story-gallery.is-animated .story-gallery__track {
  will-change: transform;
}

.story-gallery__group {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
  gap: 45px;
  height: calc(622px * var(--gallery-scale) + var(--gallery-stagger));
  margin: 0;
  padding: 0 45px 0 0;
  list-style: none;
}

.story-gallery__item {
  flex: 0 0 auto;
  width: calc(var(--image-width) * var(--gallery-scale));
  height: calc(var(--image-height) * var(--gallery-scale));
}

.story-gallery__item:nth-child(even) {
  margin-top: var(--gallery-stagger);
}

.story-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.restaurant-story .story-gallery__item { overflow: hidden; }
.restaurant-story .story-gallery__item img { object-fit: cover; }

.story-gallery__viewport:focus-visible,
.story-gallery__toggle:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: -3px;
}

.story-gallery__toggle {
  position: absolute;
  right: var(--story-margin);
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--colorecru);
  color: var(--black);
  cursor: pointer;
}

.story-gallery__toggle[hidden],
.story-gallery__play-icon,
.story-gallery__toggle[aria-pressed="true"] .story-gallery__pause-icon {
  display: none;
}

.story-gallery__toggle[aria-pressed="true"] .story-gallery__play-icon {
  display: block;
}

.story-gallery__toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

@media (min-width: 768px) {
  .restaurant-story {
    --gallery-scale: 0.75;
    --gallery-stagger: 150px;
    --story-margin: 4.2%;
  }
}

@media (min-width: 1280px) {
  .restaurant-story {
    --gallery-scale: 1;
    --gallery-stagger: 200px;
    --story-margin: var(--guide-margin);
  }
}

/* Slideshow: tutta la viewport disponibile sotto la navigazione fissa. */
.food-slideshow {
  --slideshow-margin: 16px;
  position: relative;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  min-height: 240px;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: -1rem;
  background: var(--colorecrulight);
}

.food-slideshow__viewport,
.food-slideshow__slide {
  position: absolute;
  inset: 0;
}

.food-slideshow__viewport {
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.food-slideshow__slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.food-slideshow__slide--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.food-slideshow__slide[hidden],
.food-slideshow__controls[hidden],
.food-slideshow__pause[hidden] {
  display: none;
}

.food-slideshow__slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  user-select: none;
}

.food-slideshow.is-transitioning .food-slideshow__slide:not([hidden]) {
  will-change: transform;
}

.food-slideshow.is-transitioning .food-slideshow__slide:not([hidden]) img {
  will-change: clip-path;
}

.food-slideshow__controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.food-slideshow__arrow {
  position: absolute;
  top: 50%;
  width: clamp(48px, 4.83vw, 73px);
  height: clamp(48px, 4.83vw, 73px);
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  pointer-events: auto;
  cursor: pointer;
}

.food-slideshow__arrow--previous {
  left: var(--slideshow-margin);
}
.food-slideshow__arrow--next {
  right: var(--slideshow-margin);
}

.food-slideshow__arrow img {
  display: block;
  width: 100%;
  height: 100%;
  /* Rinforza il tratto arancione esistente senza cambiare dimensioni o sfondo. */
  filter: drop-shadow(0.5px 0 0 #ff7a00)
    drop-shadow(-0.5px 0 0 #ff7a00)
    drop-shadow(0 0.5px 0 #ff7a00)
    drop-shadow(0 -0.5px 0 #ff7a00);
}

.food-slideshow__arrow:disabled {
  cursor: default;
}

.food-slideshow__pause {
  position: absolute;
  bottom: 18px;
  right: var(--slideshow-margin);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--orange-color);
  border-radius: 50%;
  background: rgb(0 0 0 / 16%);
  color: var(--orange-color);
  pointer-events: auto;
  cursor: pointer;
}

.food-slideshow__pause svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.food-slideshow__play-mark,
.food-slideshow__pause[aria-pressed="true"] .food-slideshow__pause-mark {
  display: none;
}
.food-slideshow__pause[aria-pressed="true"] .food-slideshow__play-mark {
  display: block;
}

.food-slideshow button:focus-visible {
  outline: 2px solid var(--colorecrulight);
  outline-offset: 4px;
}

@media (min-width: 1280px) {
  .food-slideshow {
    --slideshow-margin: var(--guide-margin);
  }
}

/* =========================================
   MACCHERONI MARQUEE SECTION
========================================= */

.maccheroni-marquee-section {
  position: relative;

  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  min-height: 0;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;

  background-color: var(--orange-color);

  overflow: hidden;
}

/* =========================================
   TYPOGRAPHIC AREA
========================================= */

.maccheroni-marquee {
  width: 100%;

  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;

  overflow: hidden;
}

/* =========================================
   ROW
========================================= */

.maccheroni-marquee__row {
  position: relative;

  width: 100%;

  overflow: visible;
}

.maccheroni-marquee__track {
  display: flex;

  width: max-content;

  white-space: nowrap;
}

/* =========================================
   TITLE
========================================= */

.maccheroni-marquee__title {
  margin: 0;

  font-family: var(--font-melodrama);
  font-size: var(--title-250);
  font-weight: 500;

  line-height: 0.78;

  white-space: nowrap;

  letter-spacing: -0.02em;
}

/* COLORS */

.maccheroni-marquee__title .text-light {
  color: var(--whitelight);
}

.maccheroni-marquee__title .text-dark {
  color: var(--black);
}

/* =========================================
   ROW POSITIONING
========================================= */

.maccheroni-marquee__row--top {
  transform: translateX(-28%);
}

.maccheroni-marquee__row--bottom {
  transform: translateX(-72%);
}

/* =========================================
   CTA AREA
========================================= */

.maccheroni-marquee-section__cta {
  position: absolute;

  left: 50%;
  bottom: 8.5%;

  transform: translateX(-50%);

  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================================
   BUTTON
========================================= */

.menu-button {
  width: 294px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 16px 0 20px;

  box-sizing: border-box;

  background-color: var(--colorecrulight);

  color: var(--black);

  text-decoration: none;

  border-radius: 11px;
}

/* BUTTON TEXT */

.menu-button__text {
  font-family: var(--font-inter);

  font-size: var(--paragrafo-24);
  font-weight: 300;

  line-height: 1;
  letter-spacing: -3%;

  text-transform: uppercase;

  white-space: nowrap;
}

/* BUTTON ARROW */

.menu-button__arrow {
  display: block;

  width: 28px;
  height: auto;

  object-fit: contain;

  flex-shrink: 0;
}

/* =====================================================
   MENU MANIFESTO
===================================================== */

.menu-manifesto {
  position: relative;

  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  min-height: 0;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--colorecru);

  overflow: hidden;
}

/* =====================================================
   CONTAINER
===================================================== */

.menu-manifesto__container {
  width: 100%;
  max-width: 1800px;

  margin: 0 auto;

  padding: 0 var(--padding-25-mobile);
}

/* =====================================================
   TITLE
===================================================== */

.menu-manifesto__title {
  margin: 0;

  text-align: center;

  text-wrap: balance;

  font-family: var(--font-melodrama);

  font-size: var(--paragrafo-48) ;

  font-weight: 500;

  line-height: 100%;

  letter-spacing: -0.02em;

  color: var(--black);
}

/* ======================================================
   PIATTI EDITORIAL
====================================================== */

/* Misure Figma a 1512px; la sezione mantiene la propria altezza naturale. */
.piatti-editorial {
  --editorial-margin: var(--guide-margin);
  --editorial-image-width: min(49.074074vw, 742px);
  --editorial-space: clamp(40px, 6.613757vw, 100px);
  padding: 50px var(--editorial-margin) 0;
  background: var(--whitecream);
  color: var(--black);
}
.piatti-editorial__main-title,
.piatti-editorial__romana,
.piatti-editorial__dal,
.piatti-editorial__statement {
  margin: 0;
  font-family: var(--font-melodrama);
  font-size: var(--title-330);
  font-weight: 300;
  line-height: 0.86;
  letter-spacing: -0.025em;
}
.piatti-editorial__main-title {
  font-weight: 500;
  text-align: right;
  margin-bottom: 60px;
}
.piatti-editorial__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--editorial-image-width);
  align-items: center;
  column-gap: clamp(20px, 2.645503vw, 40px);
}
.piatti-editorial__row--reverse {
  grid-template-columns: var(--editorial-image-width) minmax(0, 1fr);
  column-gap: 10px;
}
.piatti-editorial__row--reverse .piatti-editorial__image-wrap {
  grid-column: 1;
  grid-row: 1;
}
.piatti-editorial__row--reverse .piatti-editorial__content {
  grid-column: 2;
  grid-row: 1;
}
.piatti-editorial__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.piatti-editorial__dish-title {
  margin: 0;
  font-family: var(--font-melodrama);
  font-size: var(--title-130);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.035em;
}
.piatti-editorial__subtitle {
  margin: 38px 0 0;
  font-family: var(--font-bodoni-72);
  font-size: var(--sottotitolo-40);
  font-weight: 300;
  line-height: 1;
  font-style: italic;
}
.piatti-editorial__description {
  max-width: 670px;
  margin: 54px 0 0;
  font-family: var(--font-alumni-sans);
  font-size: var(--paragrafo-24);
  font-weight: 300;
  line-height: 105%;
}
.piatti-editorial__subtitle,
.piatti-editorial__description,
.piatti-editorial__content .menu-button {
  margin-left: clamp(0px, 7.275132vw, 110px);
}
.piatti-editorial__row--reverse .piatti-editorial__dish-title {
  align-self: center;
  text-align: left;
}
.piatti-editorial__row--reverse .piatti-editorial__subtitle {
  align-self: center;
  text-align: left;
  margin-left: 0;
}
.piatti-editorial__row--cacio-pepe .piatti-editorial__dish-title {
  align-self: center;
  text-align: right;
}
.piatti-editorial__row--cacio-pepe .piatti-editorial__subtitle {
  margin-left: 0;
}
.piatti-editorial__content .menu-button {
  width: 254px;
  max-width: 100%;
  height: 58px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 20px;
  box-sizing: border-box;
  background: var(--orange-color);
  color: var(--whitecream);
  text-decoration: none;
  border-radius: 11px;
}
.piatti-editorial__content .menu-button__text {
  font-family: var(--font-melodrama);
  font-size: var(--paragrafo-24);
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.piatti-editorial__content .menu-button__arrow {
  display: block;
  width: 28px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.piatti-editorial__image-wrap {
  width: 100%;
  aspect-ratio: 742 / 883;
  margin: 0;
  overflow: hidden;
}
/* Solo le fotografie raggiungono il bordo esterno, mantenendo le loro dimensioni. */
.piatti-editorial__image-wrap {
  position: relative;
  left: var(--editorial-margin);
}
.piatti-editorial__row--reverse .piatti-editorial__image-wrap {
  left: calc(-1 * var(--editorial-margin));
}
.piatti-editorial__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.piatti-editorial__statement {
  display: flex;
  flex-direction: column;
  margin: 60px 0 80px;
}
.piatti-editorial__della {
  align-self: flex-end;
  font-size: var(--title-250);
}
.piatti-editorial__tradizione {
  font-size: var(--title-290);
}
.piatti-editorial__tradizione,
.piatti-editorial__dal {
  color: transparent;
  -webkit-text-stroke: 1px var(--black);
}
.piatti-editorial__romana {
  margin: 80px 0;
}
.piatti-editorial__dal {
  text-align: right;
  margin: 80px 0;
}
.piatti-editorial__row--polpette {
  margin-top: var(--editorial-space);
}
@media (max-width: 1100px) {
  .piatti-editorial {
    --editorial-margin: 30px;
  }
  .piatti-editorial__subtitle,
  .piatti-editorial__description,
  .piatti-editorial__content .menu-button {
    margin-left: 0;
  }
  .piatti-editorial__description {
    margin-top: 30px;
  }
}
@media (max-width: 767px) {
  .piatti-editorial {
    --editorial-margin: 20px;
    padding-top: 40px;
  }
  .piatti-editorial__row,
  .piatti-editorial__row--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .piatti-editorial__row--reverse .piatti-editorial__content,
  .piatti-editorial__row--reverse .piatti-editorial__image-wrap {
    grid-column: auto;
    grid-row: auto;
  }
  .piatti-editorial__content {
    padding: 0;
  }
  .piatti-editorial__dish-title {
    font-size: clamp(36px, 8.6vw, 66px);
  }
  .piatti-editorial__subtitle {
    margin-top: 24px;
  }
  .piatti-editorial__description {
    max-width: 100%;
    margin-top: 24px;
  }
  .piatti-editorial__content .menu-button {
    margin-top: 28px;
  }
  .piatti-editorial__main-title {
    margin-bottom: 40px;
  }
  .piatti-editorial__statement,
  .piatti-editorial__romana,
  .piatti-editorial__dal {
    margin: 40px 0;
  }
  .piatti-editorial__row--reverse .piatti-editorial__dish-title,
  .piatti-editorial__row--reverse .piatti-editorial__subtitle,
  .piatti-editorial__row--cacio-pepe .piatti-editorial__dish-title {
    align-self: flex-start;
    text-align: left;
  }
}

/* Pasta fatta a mano: fotografie già inclinate nei PNG trasparenti. */
.pasta-artigianale {
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--orange-color);
  padding: clamp(32px, 3.306879vw, 50px) var(--guide-margin);
}
.pasta-artigianale__images {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.pasta-artigianale__image {
  position: absolute;
  display: block;
  height: auto;
}
.pasta-artigianale__image--01 {
  width: 22.2%;
  left: 10.5%;
  top: 4%;
}
.pasta-artigianale__image--02 {
  width: 28.7%;
  left: 7.2%;
  bottom: 1.5%;
}
.pasta-artigianale__image--03 {
  width: 22.7%;
  right: 5%;
  top: 31%;
}
.pasta-artigianale__title {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 0;
  margin: 0;
  font-family: var(--font-melodrama);
  font-size: min(
    var(--title-270),
    calc((100svh - var(--header-height) - 100px) / 2.55)
  );
  line-height: 0.85;
  letter-spacing: -0.035em;
  color: var(--whitecream);
}
.pasta-artigianale__line {
  display: flex;
  align-items: baseline;
  gap: 0.08em;
  white-space: nowrap;
}
.pasta-artigianale__line--right {
  justify-content: flex-end;
}
.pasta-artigianale__line--last {
  justify-content: space-between;
  letter-spacing: -0.075em;
}
.pasta-artigianale__pasta,
.pasta-artigianale__fatta {
  font-weight: 400;
}
.pasta-artigianale__fatta,
.pasta-artigianale__giorno {
  color: var(--black);
}
.pasta-artigianale__mano {
  font-weight: 600;
}
.pasta-artigianale__ogni {
  font-weight: 300;
}
.pasta-artigianale__giorno {
  font-weight: 500;
}
@media (max-width: 1100px) {
  .pasta-artigianale {
    padding-inline: 30px;
  }
}
@media (max-width: 767px) {
  .pasta-artigianale {
    padding: 40px 20px;
  }
  .pasta-artigianale__title {
    font-size: min(
      var(--title-270),
      16vw,
      calc((100svh - var(--header-height) - 80px) / 2.55)
    );
    gap: 0;
  }
  .pasta-artigianale__image--01 {
    width: 28%;
    left: 9%;
    top: 7%;
  }
  .pasta-artigianale__image--02 {
    width: 35%;
    left: 5%;
    bottom: 3%;
  }
  .pasta-artigianale__image--03 {
    width: 28%;
    right: 3%;
    top: 33%;
  }
}
.pasta-more__mobile-break { display: none; }
.pasta-more {
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--colorecrulight);
  /* padding: clamp(32px, 3.306879vw, 50px) var(--guide-margin); */
}
.pasta-more .general {
  width: 100%;
  height: 100%;
  display: flex;
}
.pasta-more p {
  color: var(--black);
}
.pasta-more .general > div {
  flex: 1;
}
.description-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;

  padding: 0px 50px;
}
.title-top {
  width: 49%;
}
.title-top p,
.title-bottom p {
  font-family: var(--font-bodoni-72);
  font-size: var(--paragrafo-48);
  font-weight: 100;
  font-style: italic;
  line-height: 95%;
}
.title-bottom {
  width: 100%;
  display: flex;
  justify-content: end;
}
.title-bottom p {
  width: 57%;
  text-align: right;
}
.paragraph-center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.paragraph-center p {
  font-family: var(--font-cabin-condensed);
  font-size: var(--paragrafo-24);
  width: 60%;
}
.button-position {
  width: 100%;
  position: relative;
  padding-top: 30px;
}
.button-position a {
  position: absolute;
  left: 20%;
  background: var(--orange-color);
}

.video-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Menu: lettere agli angoli e nastro continuo di fotografie alternate. */
.menu-gallery-section {
  --menu-unit: min(
    1px,
    calc(100vw / 1512),
    calc((100svh - var(--header-height)) / 800)
  );
  position: relative;
  height: calc(100svh - var(--header-height));
  width: 100%;
  overflow: hidden;
  background: var(--whitecream);
  color: var(--black);
}
.menu-gallery-section__letters {
  position: absolute;
  inset: 30px var(--guide-margin);
  z-index: 2;
  pointer-events: none;
}
.menu-gallery-section__letters span {
  position: absolute;
  font-family: var(--font-melodrama);
  font-size: var(--title-330);
  font-weight: 500;
  line-height: 0.8;
}
.menu-gallery-section__letters span:nth-child(1) {
  left: 0;
  top: 0;
}
.menu-gallery-section__letters span:nth-child(2) {
  right: 0;
  top: 0;
}
.menu-gallery-section__letters span:nth-child(3) {
  left: 0;
  bottom: 0;
}
.menu-gallery-section__letters span:nth-child(4) {
  right: 0;
  bottom: 0;
}
.menu-gallery-section__viewport {
  position: absolute;
  width: 100%;
  top: 52%;
  transform: translateY(-50%);
}
.menu-gallery-section__track {
  display: flex;
  width: max-content;
  animation: menu-gallery-scroll 60s linear infinite;
}
.menu-gallery-section__group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  flex-shrink: 0;
}
.menu-gallery-section__item {
  flex: none;
  margin: 0;
  width: calc(433 * var(--menu-unit));
  height: calc(466 * var(--menu-unit));
  overflow: hidden;
}
.menu-gallery-section__item--small {
  width: calc(309 * var(--menu-unit));
  height: calc(345 * var(--menu-unit));
}
.menu-gallery-section__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.menu-gallery-section__button {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  width: 266px;
  height: 52px;
  background: var(--orange-color);
  color: var(--whitecream);
}
.menu-gallery-section__button .menu-button__text {
  font-family: var(--font-cabin-condensed);
  font-size: var(--paragrafo-24);
  font-weight: 400;
}
.menu-gallery-section__button .menu-button__arrow {
  filter: brightness(0) invert(1);
}
@keyframes menu-gallery-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 767px) {
  .menu-gallery-section {
    --menu-unit: min(
      0.65px,
      calc(100vw / 600),
      calc((100svh - var(--header-height)) / 800)
    );
  }
  .menu-gallery-section__letters {
    inset: 24px 20px;
  }
  .menu-gallery-section__button {
    width: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-gallery-section__track {
    animation: none;
  }
  .menu-gallery-section__viewport {
    overflow-x: auto;
  }
  .menu-gallery-section__group[aria-hidden="true"] {
    display: none;
  }
}

/* Collage vino statico: coordinate condivise per mantenere il raccordo del getto. */
.vino-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  box-sizing: border-box;
  overflow: hidden;
  background: var(--colorecru);
}
/* Il collage occupa tutta la sezione; le immagini mantengono le proporzioni. */
.vino-section__stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.vino-section__collage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.vino-section__image {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
}
/* Le dimensioni seguono anche l'altezza utile, le posizioni restano a piena larghezza. */
.vino-section__image--rossa {
  left: -1%;
  top: 32%;
  width: min(28.4vw, calc((100svh - var(--header-height)) * 0.4));
}
.vino-section__image--verde-piccola {
  left: 1%;
  bottom: 4%;
  width: min(18.7vw, calc((100svh - var(--header-height)) * 0.265));
}
.vino-section__image--verde {
  left: 13%;
  top: 52%;
  width: min(31vw, calc((100svh - var(--header-height)) * 0.438));
}
.vino-section__image--verde-destra {
  left: 60%;
  bottom: 3%;
  width: min(18.7vw, calc((100svh - var(--header-height)) * 0.265));
}
.vino-section__image--verde-sopra {
  left: 48%;
  top: -6%;
  width: min(31vw, calc((100svh - var(--header-height)) * 0.438));
}
.vino-section__image--piccola-sopra {
  left: 72%;
  top: 7%;
  width: min(22.6vw, calc((100svh - var(--header-height)) * 0.32));
}
.vino-section__image--arancio {
  right: -2%;
  top: 1%;
  width: min(17.2vw, calc((100svh - var(--header-height)) * 0.243));
}
.vino-section__image--bicchiere {
  right: -4%;
  top: 26%;
  width: min(47.6vw, calc((100svh - var(--header-height)) * 0.869));
}
.vino-section__image--bottiglia {
  left: -8.3871%;
  top: calc(28% - 27.09677vw);
  width: 83.87097%;
}
.vino-section__image--getto {
  left: 49.80645%;
  top: 16.89498%;
  width: 36.25806%;
}
.vino-section__image--yea {
  left: 51%;
  top: 46%;
  width: min(78.13vw, calc((100svh - var(--header-height)) * 1.106));
  transform: translateX(-50%);
}
.vino-section__button {
  position: absolute;
  z-index: 1;
  left: 51.4%;
  top: 55.4%;
  transform: translateX(-50%);
  width: 254px;
  height: 52px;
  background: var(--orange-color);
  color: var(--whitecream);
  padding-inline: 18px;
}
.vino-section__button .menu-button__text {
  font-family: var(--font-cabin-condensed);
  font-size: var(--paragrafo-24);
  font-weight: 400;
}
.vino-section__button .menu-button__arrow {
  filter: brightness(0) invert(1);
}
@media (max-width: 767px) {
  .vino-section__button {
    width: 180px;
    height: 44px;
    padding-inline: 12px;
  }
  .vino-section__button .menu-button__text {
    font-size: 16px;
  }
  .vino-section__button .menu-button__arrow {
    width: 22px;
  }
}

.vino-section__image--getto {
  visibility: visible;
  left: 0;
  top: 0;
  width: 625px;
  height: 548px;
  transform-origin: 0 0;
  transform: matrix(0.735119, -0.098673, 0.107673, 0.74, 897.12, 158.48);
}

.menu-manifesto.cucina {
  background: var(--colorecrulight);
}
.cucina .menu-manifesto__container {
  display: flex;
  flex-direction: column;
}
.cucina .menu-manifesto__container .button-position {
  height: auto;
  padding: 0;
  align-items: center;
  justify-content: center;
  display: flex;

  position: relative;
  margin-top: 10%;
}
.cucina .menu-manifesto__container .button-position a {
  position: relative;
  left: 0;
}

/* Cucina a vista: righe sfalsate 2 / 3 e fotografia in primo piano. */
.open-kitchen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--colorecru);
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  box-sizing: border-box;
}
.open-kitchen__pattern {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(5, minmax(0, 1fr));
  pointer-events: none;
  user-select: none;
}
.open-kitchen__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14vw;
  width: 100%;
  min-width: 0;
  left: 6.5%;
}
.open-kitchen__row:nth-child(even) {
  gap: 9vw;
  left: -20.5%;
}
.open-kitchen__row img {
  display: block;
  flex: 0 0 auto;
  width: 41vw;
  height: auto;
  max-width: none;
}
.open-kitchen__photo {
  position: absolute;
  top: 61.5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 58%;
  height: auto;
  aspect-ratio: 1512 / 824;
  margin: 0 auto;
  transform-origin: center center;
  overflow: hidden;
}
.open-kitchen__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .open-kitchen__photo {
    width: 84%;
  }
}

/* Recensioni: lo scroll nativo a destra lascia invariato quello della pagina a sinistra. */
.reviews-section {
  --reviews-padding: clamp(20px, 2.9vw, 48px);
  --reviews-gap: 12px;
  display: grid;
  grid-template-columns: 55.25% minmax(0, 1fr);
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  color: var(--black);
  background: var(--whitecream);
}
.reviews-section__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(24px, 2.9vw, 48px);
  background: var(--orange-color);
}
.reviews-section__title {
  margin: 0;
  font-family: var(--font-melodrama);
  font-size: var(--title-230);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.045em;
}
.reviews-section__title span {
  display: block;
}
.reviews-section__summary {
  margin: 32px 0 0;
  font-family: var(--font-alumni-sans);
  font-size: var(--sottotitolo-40);
  font-style: italic;
  line-height: 1;
  text-align: right;
}
.reviews-section__scroll {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  padding: var(--reviews-padding);
  scrollbar-width: thin;
  scrollbar-color: var(--orange-color) var(--whitecream);
}
.reviews-section__scroll:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: -5px;
}
.reviews-section__list {
  display: grid;
  gap: var(--reviews-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.review-card {
  min-width: 0;
  min-height: calc(
    (
        100svh - var(--header-height) - 2 * var(--reviews-padding) - 2 *
          var(--reviews-gap)
      ) /
      3
  );
  padding: clamp(20px, 2.1vw, 34px) clamp(20px, 3.1vw, 48px);
  border: 1px solid var(--black);
  border-radius: 6px;
}
.review-card__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(8px, 0.85vw, 16px);
  margin-bottom: 20px;
  font-family: var(--font-inter);
}
.review-card__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(36px, 3.25vw, 50px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange-color);
  color: var(--whitecream);
  font-size: clamp(22px, 2vw, 30px);
}
.review-card__author {
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
}
.review-card__stars {
  display: inline-flex;
  flex: 0 0 auto;
  vertical-align: middle;
}
.review-card__stars img {
  display: block;
  width: clamp(18px, 1.8vw, 27px);
  height: clamp(18px, 1.8vw, 27px);
  object-fit: contain;
}
.review-card__text {
  margin: 0 0 16px;
  font-family: var(--font-cabin-condensed);
  font-size: clamp(16px, 1.12vw, 20px);
  line-height: 1.05;
}
.review-card__ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-family: var(--font-inter);
  font-size: clamp(12px, 0.95vw, 15px);
}
.review-card__ratings > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.review-card__ratings .review-card__stars img {
  width: 10px;
  height: 10px;
}
.review-card__source {
  margin: 16px 0 0;
  font-family: var(--font-inter);
  font-size: clamp(12px, 0.95vw, 15px);
  overflow-wrap: anywhere;
}
.review-card__source a {
  color: inherit;
  text-underline-offset: 2px;
}
@media (max-width: 767px) {
  .reviews-section {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .reviews-section__intro {
    min-height: 60svh;
    gap: 48px;
  }
  .reviews-section__title {
    font-size: clamp(64px, 18vw, 138px);
  }
  .reviews-section__summary {
    font-size: var(--sottotitolo-40);
  }
  .reviews-section__scroll {
    max-height: calc(100svh - var(--header-height));
  }
  .review-card {
    min-height: 0;
  }
}
.video-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--colorecru);
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  box-sizing: border-box;
}

.video-story.container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.video-story.container h1 {
  font-family: var(--font-melodrama);
  font-size: var(--title-380);
  color: var(--black);
}

/* La scena resta sotto la navbar durante l'apertura della maschera. */
.map-section {
  --map-ring-size: min(88vw, calc((100svh - var(--header-height)) * 0.94));
  --map-radius: calc(var(--map-ring-size) * 0.35);
  position: relative;
  background: var(--whitecream);
  color: var(--black);
}
.map-section.is-enhanced {
  height: calc((100svh - var(--header-height)) * 2.25);
}
.map-section__stage {
  position: relative;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
}
.map-section.is-enhanced .map-section__stage {
  position: sticky;
  top: var(--header-height);
}
.map-section__routes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--black);
  stroke-width: 2;
  stroke-dasharray: 12 14;
  opacity: 0.7;
}
.map-section__ring,
.map-section__location,
.map-section__link {
  z-index: 2;
}
.map-section__reveal {
  position: absolute;
  inset: 0;
  clip-path: circle(var(--map-radius) at 50% 50%);
}
.map-section__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.map-section__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--map-ring-size);
  height: var(--map-ring-size);
  transform: translate(-50%, -50%) scale(var(--map-ring-scale, 1));
  opacity: var(--map-ring-opacity, 1);
  pointer-events: none;
  overflow: visible;
  fill: var(--black);
  font-family: var(--font-melodrama);
  font-size: 86px;
  font-weight: 400;
}
.map-section__location {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: var(--font-inter);
}
@media (max-width: 440px) {
  .index-page .map-section__routes { display: none; }
}

.map-section__dot {
  position: absolute;
  width: clamp(16px, 1.8vw, 28px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  transform: translate(-50%, -50%);
}
.map-section__label {
  position: absolute;
  left: 10px;
  bottom: 18px;
  margin: 0;
  color: var(--whitecream);
  font-size: clamp(11px, 1.2vw, 20px);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  transform: rotate(-38deg);
  transform-origin: left bottom;
}
.map-section__label strong {
  font-weight: 700;
}
.map-section__link {
  position: absolute;
  top: clamp(20px, 3vw, 48px);
  left: clamp(16px, 2vw, 32px);
  max-width: calc(100% - 48px);
  color: var(--black);
  font-family: var(--font-inter);
  font-size: clamp(16px, 1.8vw, 30px);
  font-weight: 600;
  text-decoration: none;
  transform-origin: left center;
  animation: map-link-pulse 2.4s ease-in-out infinite;
}
.map-section__link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.map-section__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
  animation-play-state: paused;
}
@keyframes map-link-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}
@media (prefers-reduced-motion: reduce) {
  .map-section.is-enhanced {
    height: auto;
  }
  .map-section__reveal {
    clip-path: none;
  }
  .map-section__ring,
  .map-section__routes {
    display: none;
  }
  .map-section__link {
    animation: none;
  }
}

/* Il testo resta nascosto fino all’avvio anticipato dell’intro hero. */
.is-loading:not(.is-hero-revealing) .hero__title,
.is-loading:not(.is-hero-revealing) .hero__subtitle,
.is-loading:not(.is-hero-revealing) .hero__description,
.is-loading:not(.is-hero-revealing) .hero__curve,
.is-loading:not(.is-hero-revealing) .hero__booking {
  visibility: hidden;
}
.hero .hero-reveal-line-mask,
.restaurant-hero .hero-reveal-line-mask,
.iconici-hero .hero-reveal-line-mask {
  /* Spazio per ascendenti e discendenti dei font senza modificare l'impaginazione. */
  padding-block: 0.16em;
  margin-block: -0.16em;
}

/* Restaurant-story: testo nero e maschere delle righe con spazio per i glifi. */
.restaurant-story__text {
  color: var(--black);
}
.restaurant-story__text .story-reveal-line-mask,
.menu-manifesto__title .story-reveal-line-mask,
.restaurant-editorial .story-reveal-line-mask,
.iconici-page .story-reveal-line-mask {
  padding-block: 0.16em;
  margin-block: -0.16em;
}

/* Ritaglia l'ingresso laterale della galleria senza creare scroll orizzontale. */
.restaurant-story {
  overflow-x: clip;
}

/* Il marquee copre lo slideshow; lo sticky termina alla fine di questo gruppo. */
.food-marquee-stack {
  position: relative;
  isolation: isolate;
}
.food-marquee-stack > .food-slideshow {
  position: sticky;
  top: var(--header-height);
  z-index: 0;
}
.food-marquee-stack > .maccheroni-marquee-section {
  position: relative;
  z-index: 1;
}

@media (max-width: 440px) {
  .food-slideshow { height: calc(100svh - var(--header-height)); }
  .maccheroni-marquee-section {
    height: calc((100svh - var(--header-height)) * .6);
    min-height: 0;
  }
  .food-marquee-stack > .food-slideshow {
    position: relative;
    top: auto;
  }
  .maccheroni-marquee__title {
    font-size: calc(var(--title-250) * 1.3);
  }
}

.maccheroni-marquee-section .menu-button.site-button {
  background: var(--ecru-light);
  color: var(--black);
}
.maccheroni-marquee-section .menu-button.site-button img {
  filter: brightness(0);
}

/* Contenitore stabile per la salita del manifesto, senza spazi scoperti fra sezioni. */
.menu-manifesto-motion {
  background: var(--colorecru);
  overflow: clip;
}
.menu-manifesto-motion--cucina {
  background: var(--colorecrulight);
}

/* Contiene i titoli in movimento senza generare scorrimento orizzontale. */
.piatti-editorial {
  overflow-x: clip;
}

/* Maschere del titolo pasta: conserva lo spazio per ascendenti e discendenti. */
.pasta-artigianale .pasta-reveal-line-mask {
  padding-block: 0.16em;
  margin-block: -0.16em;
}

/* Fondo fisso visibile durante la tendina, in continuità con piatti-editorial. */
.pasta-artigianale-backdrop {
  background: var(--whitecream);
}

/* Tendina sul contenitore e parallasse separata sulla foto. */
.pasta-more__photo-frame {
  height: 100%;
  overflow: hidden;
}
.pasta-more__photo-frame img {
  display: block;
}
.pasta-more .pasta-more-line-mask {
  padding-block: 0.12em;
  margin-block: -0.12em;
}

/* La galleria inizia a scorrere dopo l'apertura delle foto. */
.menu-gallery-section.is-menu-preparing .menu-gallery-section__track {
  animation: none;
}

/* =========================================================
   MACCHERONI FOOTER
   ========================================================= */

.maccheroni-footer {
  position: relative;
  width: 100%;
  min-height: 643px;
  background: var(--black);
  color: var(--whitelight);
  font-family: var(--font-inter);
  font-size: clamp(12px, 0.93vw, 14px);
  font-weight: 300;
}

.maccheroni-footer__inner {
  width: 100%;
  min-height: inherit;

  display: flex;
  flex-direction: column;

  padding: clamp(48px, 4.5vw, 68px) clamp(24px, 4.05vw, 68px)
    clamp(28px, 3.4vw, 50px);
}

/* ---------------------------------------------------------
   TOP
   --------------------------------------------------------- */

.maccheroni-footer__top {
  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(180px, 0.78fr)
    minmax(280px, 0.9fr);

  column-gap: clamp(48px, 8vw, 130px);

  align-items: start;
}

/* BRAND */

.maccheroni-footer__brand {
  min-width: 0;
}

.maccheroni-footer__logo-link {
  display: inline-block;
}

.maccheroni-footer__logo {
  display: block;

  width: clamp(290px, 27vw, 405px);
  height: auto;

  object-fit: contain;
}

.maccheroni-footer__intro {
  max-width: 520px;

  margin: clamp(26px, 3.3vw, 36px) 0 0;

  font-size: inherit;
  line-height: 1.08;
}

.maccheroni-footer__booking {
  width: min(100%, 463px);
  min-height: 58px;

  margin-top: clamp(26px, 3.3vw, 36px);

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid currentColor;

  color: inherit;
  font: inherit;
  text-transform: uppercase;
  text-decoration: none;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.maccheroni-footer__booking:hover {
  background: var(--whitelight);
  color: var(--black);
}

.maccheroni-footer__booking:focus-visible {
  outline: 2px solid var(--orange-color);
  outline-offset: 5px;
}

/* NAV */

.maccheroni-footer__nav {
  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 19px;

  padding-top: 18px;
}

.maccheroni-footer__nav a {
  position: relative;

  color: inherit;
  font: inherit;

  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.maccheroni-footer__nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -4px;

  width: 100%;
  height: 1px;

  background: currentColor;

  transform: scaleX(0);
  transform-origin: right center;

  transition: transform 0.3s ease;
}

.maccheroni-footer__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* INFO */

.maccheroni-footer__info {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 2px;
  width: 100%;

  padding-top: 18px;

  font-style: normal;
  line-height: 1.15;
}

.maccheroni-footer__info p {
  margin: 0;
}

.maccheroni-footer__info a {
  width: fit-content;

  color: inherit;
  text-decoration: none;
}

.maccheroni-footer__info a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------------------------------------------------------
   MIDDLE
   --------------------------------------------------------- */

.maccheroni-footer__middle {
  display: grid;

  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(300px, 0.75fr);

  gap: clamp(80px, 10vw, 165px);

  align-items: end;

  margin-top: clamp(34px, 4.6vw, 70px);
}

/* NEWSLETTER */

.maccheroni-footer__newsletter-title {
  margin: 0 0 34px;

  font-size: clamp(25px, 2vw, 31px);
  line-height: 1.05;
}

.maccheroni-footer__form {
  display: grid;

  grid-template-columns:
    minmax(0, 590px)
    minmax(254px, max-content);

  gap: clamp(42px, 6.3vw, 105px);

  align-items: end;
}

.maccheroni-footer__input {
  width: 100%;

  padding: 0 0 7px;

  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;

  background: transparent;

  color: var(--whitelight);

  font-family: var(--font-inter);
  font-size: clamp(16px, 1.19vw, 18px);
  font-weight: 300;

  outline: none;
}

.maccheroni-footer__input::placeholder {
  color: rgba(250, 248, 240, 0.45);
}

.maccheroni-footer__input:focus {
  border-bottom-color: var(--orange-color);
}

.maccheroni-footer__submit {
  min-height: 60px;

  border: 1px solid currentColor;

  background: transparent;
  color: inherit;

  font-family: var(--font-inter);
  font-size: clamp(16px, 1.19vw, 18px);
  font-weight: 300;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.maccheroni-footer__submit:hover {
  background: var(--whitelight);
  color: var(--black);
}

.maccheroni-footer__submit:focus-visible {
  outline: 2px solid var(--orange-color);
  outline-offset: 5px;
}

/* SOCIAL */

.maccheroni-footer__social {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  gap: clamp(30px, 3vw, 48px);

  padding-bottom: 9px;
}

.maccheroni-footer__social-label {
  text-transform: uppercase;
  white-space: nowrap;
}

.maccheroni-footer__social-links {
  display: flex;

  align-items: center;

  gap: clamp(36px, 3.2vw, 54px);
}

.maccheroni-footer__social-links a {
  display: grid;

  place-items: center;

  width: 28px;
  height: 28px;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.maccheroni-footer__social-links a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.maccheroni-footer__social-links img {
  display: block;

  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

/* ---------------------------------------------------------
   BOTTOM
   --------------------------------------------------------- */

.maccheroni-footer__bottom {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 40px;

  margin-top: auto;

  padding-top: clamp(72px, 8vw, 110px);

  font-size: clamp(12px, 0.9vw, 14px);
}

.maccheroni-footer__legal {
  display: flex;

  align-items: center;
  flex-wrap: wrap;

  gap: 16px 28px;
}

.maccheroni-footer__legal a,
.maccheroni-footer__credits a {
  color: inherit;
  text-decoration: none;
}

.maccheroni-footer__legal a:hover,
.maccheroni-footer__credits a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.maccheroni-footer__credits {
  display: flex;

  align-items: center;

  gap: 34px;

  white-space: nowrap;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .maccheroni-footer {
    min-height: auto;
  }

  .maccheroni-footer__top {
    grid-template-columns:
      minmax(0, 1.3fr)
      minmax(180px, 0.7fr);

    row-gap: 64px;
  }

  .maccheroni-footer__info {
    grid-column: 1 / -1;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;

    padding-top: 0;
  }

  .maccheroni-footer__middle {
    grid-template-columns: 1fr;

    gap: 56px;
  }

  .maccheroni-footer__social {
    justify-content: flex-start;
  }

  .maccheroni-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .maccheroni-footer {
    min-height: auto;
  }

  .maccheroni-footer__inner {
    padding: 42px 20px 28px;
  }

  .maccheroni-footer__top {
    display: flex;
    flex-direction: column;

    gap: 56px;
  }

  .maccheroni-footer__logo {
    width: min(100%, 320px);
  }

  .maccheroni-footer__intro {
    margin-top: 34px;

    max-width: 390px;

    line-height: 1.18;
  }

  .maccheroni-footer__intro br {
    display: none;
  }

  .maccheroni-footer__booking {
    width: 100%;

    margin-top: 40px;
  }

  .maccheroni-footer__nav {
    padding-top: 0;

    gap: 18px;
  }

  .maccheroni-footer__info {
    display: flex;
    flex-direction: column;

    gap: 18px;
  }

  .maccheroni-footer__middle {
    margin-top: 72px;

    gap: 52px;
  }

  .maccheroni-footer__newsletter-title {
    max-width: 340px;

    margin-bottom: 32px;
  }

  .maccheroni-footer__form {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .maccheroni-footer__submit {
    width: 100%;
  }

  .maccheroni-footer__social {
    flex-direction: column;

    align-items: flex-start;

    gap: 26px;

    padding-bottom: 0;
  }

  .maccheroni-footer__social-links {
    gap: 38px;
  }

  .maccheroni-footer__bottom {
    margin-top: 74px;

    padding-top: 0;

    gap: 42px;
  }

  .maccheroni-footer__legal {
    align-items: flex-start;
    flex-direction: column;

    gap: 14px;
  }

  .maccheroni-footer__credits {
    align-items: flex-start;
    flex-direction: column;

    gap: 12px;

    white-space: normal;
  }
}





/* =========================================================
   PAGE — RISTORANTE
   RESTAURANT HERO
   ========================================================= */

.restaurant-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  min-height: 620px;
  overflow: hidden;
  background: var(--black);
}

.restaurant-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.restaurant-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.restaurant-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.restaurant-hero__title {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  font-family: var(--font-melodrama);
  font-size: var(--title-230);
  font-weight: 500;
  line-height: 0.82;
  color: var(--whitelight);
  text-transform: uppercase;
  pointer-events: none;
}

.restaurant-hero__word {
  position: absolute;
  display: block;
  white-space: nowrap;
  will-change: transform, opacity;
  transform-origin: center;
}

.restaurant-hero__word--welcome {
  top: clamp(38px, 4.8vw, 72px);
  left: clamp(60px, 11.5vw, 174px);
}

.restaurant-hero__word--da {
  top: 31%;
  right: clamp(70px, 10.5vw, 158px);
}

.restaurant-hero__word--maccheroni {
  left: clamp(42px, 5.3vw, 80px);
  bottom: clamp(22px, 3.4vw, 52px);
}

.restaurant-hero__curve {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.restaurant-hero__curve-path {
  fill: none;
  stroke: var(--whitelight);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  will-change: stroke-dashoffset;
}


/* =========================================================
   DESKTOP MEDIUM
   ========================================================= */

@media (max-width: 1280px) {

  .restaurant-hero {
    min-height: 600px;
  }

  .restaurant-hero__title {
    font-size: clamp(8rem, 14.5vw, var(--title-230));
  }

  .restaurant-hero__word--welcome {
    top: 6%;
    left: 8%;
  }

  .restaurant-hero__word--da {
    top: 33%;
    right: 8%;
  }

  .restaurant-hero__word--maccheroni {
    left: 5%;
    bottom: 5%;
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .restaurant-hero {
    min-height: 680px;
  }

  .restaurant-hero__image {
    object-position: 52% center;
  }

  .restaurant-hero__title {
    font-size: clamp(6.2rem, 15vw, 9.5rem);
    line-height: 0.86;
  }

  .restaurant-hero__word--welcome {
    top: 7%;
    left: 6%;
  }

  .restaurant-hero__word--da {
    top: 35%;
    right: 7%;
  }

  .restaurant-hero__word--maccheroni {
    left: 5%;
    bottom: 6%;
  }

  .restaurant-hero__curve-path {
    stroke-width: 1.35;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .restaurant-hero {
    height: calc(100svh - var(--header-height));
    min-height: 620px;
  }

  .restaurant-hero__image {
    object-position: 57% center;
  }

  .restaurant-hero__overlay {
    background: rgba(0, 0, 0, 0.07);
  }

  .restaurant-hero__title {
    font-size: clamp(4.2rem, 19vw, 6.4rem);
    line-height: 0.88;
  }

  .restaurant-hero__word--welcome {
    top: 8%;
    left: 5%;
  }

  .restaurant-hero__word--da {
    top: 37%;
    right: 6%;
  }

  .restaurant-hero__word--maccheroni {
    left: 4%;
    bottom: 7%;
  }

  .restaurant-hero__curve-path {
    stroke-width: 1.2;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .restaurant-hero {
    min-height: 580px;
  }

  .restaurant-hero__image {
    object-position: 60% center;
  }

  .restaurant-hero__title {
    font-size: clamp(3.5rem, 18vw, 5.2rem);
    line-height: 0.9;
  }

  .restaurant-hero__word--welcome {
    top: 8%;
    left: 4%;
  }

  .restaurant-hero__word--da {
    top: 36%;
    right: 5%;
  }

  .restaurant-hero__word--maccheroni {
    left: 4%;
    bottom: 8%;
  }

  .restaurant-hero__curve-path {
    stroke-width: 1.1;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .restaurant-hero__word,
  .restaurant-hero__curve-path {
    will-change: auto;
  }

}

/* =========================================================
   RESTAURANT EDITORIAL
   ========================================================= */

.restaurant-editorial {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(58px, 5vw, 76px) var(--guide-margin) clamp(90px, 8vw, 120px);
  background: var(--whitecream);
  color: var(--black);
}


/* =========================================================
   INTRO
   ========================================================= */

.restaurant-editorial__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 60px;
}

.restaurant-editorial__intro-text,
.restaurant-editorial__text {
  margin: 0;
  font-family: var(--font-alumni-sans);
  font-size: var(--paragraph-30);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.restaurant-editorial__intro-text {
  max-width: 780px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.restaurant-editorial__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: fit-content;
  min-width: 254px;
  height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--orange-color);
  color: var(--whitelight);
  font-family: var(--font-melodrama);
  font-size: clamp(14px, 3.93vw, 20px);
  font-weight: 600;
  letter-spacing: 3%;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.restaurant-editorial__button:hover {
  transform: translateY(-2px);
}

.restaurant-editorial__button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}


/* =========================================================
   SHARED BLOCK
   ========================================================= */

.restaurant-editorial__block {
  position: relative;
  width: 100%;
}

.restaurant-editorial__title {
  position: relative;
  z-index: 4;
  margin: 0;
  font-family: var(--font-melodrama);
  font-size: var(--title-230);
  font-weight: 500;
  line-height: 0.79;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  pointer-events: none;
}

.restaurant-editorial__title span {
  display: block;
  white-space: nowrap;
}

.restaurant-editorial__title-solid {
  color: var(--black);
}

.restaurant-editorial__title-outline {
  color: var(--whitecream);
  -webkit-text-stroke: 1px var(--black);
  paint-order: stroke fill;
}

.restaurant-editorial__media {
  position: absolute;
  z-index: 2;
  margin: 0;
  overflow: hidden;
}

.restaurant-editorial__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-editorial__curve {
  position: absolute;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

.restaurant-editorial__curve-path {
  fill: none;
  stroke: var(--black);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.restaurant-editorial__text {
  position: absolute;
  z-index: 4;
}

.restaurant-editorial__block > .restaurant-editorial__button {
  position: absolute;
  z-index: 5;
}


/* =========================================================
   BLOCK 01 — DOVE IL TEMPO RALLENTA
   ========================================================= */

.restaurant-editorial__block--first {
  min-height: clamp(1180px, 99vw, 1495px);
  margin-top: clamp(68px, 6vw, 92px);
}

.restaurant-editorial__block--first .restaurant-editorial__title {
  position: absolute;
  inset: 0;
}

.restaurant-editorial__title-solid--first {
  position: absolute;
  top: 0;
  left: clamp(24px, 3.2vw, 48px);
}

.restaurant-editorial__title-outline--first {
  position: absolute;
  top: clamp(170px, 14.5vw, 220px);
  left: 0;
}

.restaurant-editorial__media--right {
  top: clamp(190px, 14.9vw, 225px);
  right: 0;
  width: min(50.2vw, 759px);
  aspect-ratio: 759 / 945;
}

.restaurant-editorial__curve--first {
  /* L'arco collega il bordo della foto allo spazio sopra il testo. */
  --curve-top: clamp(380px, 28vw, 470px);
  top: var(--curve-top);
  left: clamp(90px, 8.4vw, 145px);
  right: calc(min(50.2vw, 759px) + 20px);
  width: calc(100% - clamp(90px, 8.4vw, 145px) - min(50.2vw, 759px) - 20px);
  height: calc(clamp(735px, 60vw, 905px) - var(--curve-top) - 24px);
}

.restaurant-editorial__text--first {
  left: clamp(20px, 1.8vw, 28px);
  top: clamp(735px, 60vw, 905px);
  max-width: 390px;
}

.restaurant-editorial__button--first {
  right: clamp(4px, 1.5vw, 24px);
  top: clamp(1030px, 85vw, 1285px);
}


/* =========================================================
   BLOCK 02 — PIAZZA DELLE COPPELLE
   ========================================================= */

.restaurant-editorial__block--second {
  min-height: clamp(1060px, 92vw, 1390px);
}

.restaurant-editorial__block--second .restaurant-editorial__title {
  position: absolute;
  inset: 0;
}

.restaurant-editorial__title-solid--second {
  position: absolute;
  top: 0;
  left: clamp(270px, 34vw, 515px);
}

.restaurant-editorial__title-outline--second {
  position: absolute;
  top: clamp(165px, 14vw, 210px);
  left: clamp(270px, 34vw, 515px);
}

.restaurant-editorial__media--left {
  top: 0;
  left: calc(var(--guide-margin) * -1);
  width: min(52.5vw, 794px);
  aspect-ratio: 794 / 945;
}

.restaurant-editorial__media--left img {
  /* Mostra il lato sinistro della foto, spostando il soggetto a destra. */
  object-position: 0% center;
}

.restaurant-editorial__curve--second {
  --curve-top: clamp(380px, 29vw, 500px);
  top: var(--curve-top);
  left: calc(min(52.5vw, 794px) - var(--guide-margin) + 50px);
  right: clamp(85px, 10.7vw, 185px);
  width: calc(100% - min(52.5vw, 794px) + var(--guide-margin) - 50px - clamp(85px, 10.7vw, 185px));
  height: calc(clamp(900px, 73vw, 1105px) - var(--curve-top) - 48px);
}

.restaurant-editorial__text--second {
  right: 0;
  top: clamp(900px, 73vw, 1105px);
  max-width: 670px;
}

.restaurant-editorial__button--second {
  left: clamp(20px, 1.8vw, 28px);
  bottom: clamp(10px, 2vw, 30px);
}


/* =========================================================
   DESKTOP MEDIUM
   ========================================================= */

@media (max-width: 1280px) {

  .restaurant-editorial {
    padding-inline: clamp(30px, 4vw, 50px);
  }

  .restaurant-editorial__title {
    font-size: clamp(8rem, 14.5vw, var(--title-230));
  }

  .restaurant-editorial__intro-text,
  .restaurant-editorial__text {
    font-size: var(--paragraph-30);
  }

  .restaurant-editorial__media--right {
    width: 51vw;
  }

  .restaurant-editorial__media--left {
    width: 53vw;
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .restaurant-editorial {
    padding: 56px clamp(24px, 4vw, 40px) 90px;
  }

  .restaurant-editorial__intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
  }

  .restaurant-editorial__intro-text {
    max-width: 690px;
  }

  .restaurant-editorial__title {
    font-size: clamp(6rem, 15vw, 9rem);
    line-height: 0.82;
  }

  .restaurant-editorial__block--first {
    min-height: 1280px;
    margin-top: 74px;
  }

  .restaurant-editorial__title-solid--first {
    left: 0;
  }

  .restaurant-editorial__title-outline--first {
    top: 140px;
  }

  .restaurant-editorial__media--right {
    top: 225px;
    width: 60vw;
  }

  .restaurant-editorial__curve--first {
    top: 580px;
    left: 7%;
    right: auto;
    width: 30vw;
    height: 226px;
  }

  .restaurant-editorial__text--first {
    top: 830px;
    left: 0;
  }

  .restaurant-editorial__button--first {
    top: 1120px;
  }

  .restaurant-editorial__block--second {
    min-height: 1250px;
  }

  .restaurant-editorial__title-solid--second,
  .restaurant-editorial__title-outline--second {
    left: 36%;
  }

  .restaurant-editorial__title-outline--second {
    top: 140px;
  }

  .restaurant-editorial__media--left {
    width: 62vw;
  }

  .restaurant-editorial__curve--second {
    top: 510px;
    left: auto;
    right: 8%;
    width: 30vw;
    height: 322px;
  }

  .restaurant-editorial__text--second {
    top: 880px;
    right: 0;
    max-width: 55%;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .restaurant-editorial {
    padding: 44px 20px 72px;
  }

  .restaurant-editorial__intro {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .restaurant-editorial__intro-text br,
  .restaurant-editorial__text br {
    display: none;
  }

  .restaurant-editorial__intro-text,
  .restaurant-editorial__text {
    font-size: var(--paragraph-30);
    line-height: 0.98;
  }

  .restaurant-editorial__button {
    min-width: 210px;
    height: 52px;
  }

  .restaurant-editorial__title {
    font-size: clamp(4.3rem, 18vw, 7rem);
    line-height: 0.84;
  }

  .restaurant-editorial__title span {
    white-space: normal;
  }


  /* BLOCK 01 */

  .restaurant-editorial__block--first {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 70px;
    gap: 0;
  }

  .restaurant-editorial__block--first .restaurant-editorial__title,
  .restaurant-editorial__block--second .restaurant-editorial__title {
    position: relative;
    inset: auto;
  }

  .restaurant-editorial__title-solid--first,
  .restaurant-editorial__title-outline--first,
  .restaurant-editorial__title-solid--second,
  .restaurant-editorial__title-outline--second {
    position: relative;
    top: auto;
    left: auto;
  }

  .restaurant-editorial__title-outline--first {
    margin-top: 8px;
  }

  .restaurant-editorial__media {
    position: relative;
    inset: auto;
  }

  .restaurant-editorial__media--right {
    width: calc(100% + 20px);
    margin-top: -5px;
    margin-left: auto;
    margin-right: -20px;
    aspect-ratio: 759 / 945;
  }

  .restaurant-editorial__curve--first {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 72%;
    height: auto;
    margin: -20px 0 24px;
  }

  .restaurant-editorial__text {
    position: relative;
    inset: auto;
  }

  .restaurant-editorial__text--first {
    max-width: 360px;
  }

  .restaurant-editorial__block > .restaurant-editorial__button {
    position: relative;
    inset: auto;
  }

  .restaurant-editorial__button--first {
    align-self: flex-end;
    margin-top: 34px;
  }


  /* BLOCK 02 */

  .restaurant-editorial__block--second {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 100px;
  }

  .restaurant-editorial__title--second {
    order: 1;
    position: relative;
    z-index: 4;
  }

  .restaurant-editorial__title-outline--second {
    margin-top: 6px;
  }

  .restaurant-editorial__media--left {
    order: 2;
    width: calc(100% + 20px);
    margin-top: -5px;
    margin-left: -20px;
    aspect-ratio: 794 / 945;
  }

  .restaurant-editorial__curve--second {
    order: 3;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 72%;
    height: auto;
    margin: -25px 0 24px auto;
  }

  .restaurant-editorial__text--second {
    order: 4;
    max-width: 100%;
    margin-left: auto;
  }

  .restaurant-editorial__button--second {
    order: 5;
    align-self: flex-start;
    margin-top: 38px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .restaurant-editorial {
    padding-inline: 16px;
  }

  .restaurant-editorial__title {
    font-size: clamp(3.7rem, 18vw, 5.4rem);
  }

  .restaurant-editorial__intro-text,
  .restaurant-editorial__text {
    font-size: var(--paragraph-30);
  }

  .restaurant-editorial__media--right {
    width: calc(100% + 16px);
    margin-right: -16px;
  }

  .restaurant-editorial__media--left {
    width: calc(100% + 16px);
    margin-left: -16px;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .restaurant-editorial__curve-path {
    will-change: auto;
  }

}

/* =========================================================
   PULSANTI CONDIVISI — usare site-button per tutte le CTA.
   Specificità doppia per uniformare anche le varianti di sezione.
   ========================================================= */
.site-button.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  width: fit-content;
  min-width: 254px;
  min-height: 58px;
  height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--orange-color);
  
  color: var(--whitelight);
  font-family: var(--font-alumni-sans);
  font-size: clamp(14px, 3.93vw, 24px);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
}

.site-button .menu-button__text {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.site-button .menu-button__arrow,
.site-button .restaurant-editorial__button-arrow,
.hero__booking.site-button img {
  display: block;
  /* Proporzionata al testo: 24px con font-size di 20px. */
  width: 1.2em;
  height: auto;
  max-height: 1.2em;
  font-size: inherit;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
}


/* EMOTION — titoli e fotografie su quattro righe. */
.emotion {
  position: relative;
  background: var(--orange-color);
  color: var(--black);
}
.emotion__stage {
  padding: clamp(32px, 4vw, 60px) 0;
  overflow: hidden;
}
.emotion__row {
  overflow-x: auto;
  scrollbar-width: thin;
}
.emotion__row + .emotion__row {
  margin-top: clamp(14px, 1.8vw, 28px);
}
.emotion__track {
  display: flex;
  align-items: center;
  gap: 0.12em;
  width: max-content;
  margin: 0;
  padding-inline: clamp(16px, 2vw, 30px);
  font-family: var(--font-melodrama);
  font-size: var(--title-230);
  font-weight: 500;
  line-height: 0.85;
  text-transform: uppercase;
}
.emotion__word {
  flex: 0 0 auto;
  white-space: nowrap;
}
.emotion__word--outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--black);
}
.emotion__image {
  display: block;
  flex: 0 0 auto;
  width: 0.85em;
  height: 0.75em;
  object-fit: cover;
}
.emotion__row:nth-child(3) .emotion__image { width: 1em; }
.emotion__row:nth-child(4) .emotion__image { width: 1.2em; }
.emotion--animated {
  height: calc(100svh - var(--header-height));
}
.emotion--animated .emotion__stage {
  --emotion-padding: clamp(16px, 3vh, 40px);
  --emotion-gap: clamp(10px, 1.8vh, 24px);
  position: relative;
  height: 100%;
  padding-block: var(--emotion-padding);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--emotion-gap);
}
.emotion--animated .emotion__row { overflow: hidden; flex: 0 0 auto; margin: 0; }
.emotion--animated .emotion__track {
  will-change: transform;
  font-size: min(var(--title-230), calc((100svh - var(--header-height) - 2 * var(--emotion-padding) - 3 * var(--emotion-gap)) / 3.6));
}
@media (prefers-reduced-motion: reduce) {
  .emotion__track { transform: none !important; }
}


/* Allineamento editoriale: base del primo testo e pulsante coincidenti. */
@media (min-width: 768px) {
  .restaurant-editorial__block--first {
    --editorial-button-top: clamp(1030px, 85vw, 1285px);
    --editorial-copy-height: calc(var(--paragraph-30) * 9.5);
  }
  .restaurant-editorial__text--first {
    top: calc(var(--editorial-button-top) + 58px - var(--editorial-copy-height));
  }
  .restaurant-editorial__curve--first {
    height: calc(var(--editorial-button-top) + 58px - var(--editorial-copy-height) - var(--curve-top) - 24px);
  }
  .restaurant-editorial__block--second {
    /* Linea comune: top pulsante = fondo paragrafo. */
    --editorial-align-lift: 48px;
    --editorial-align-y: calc(clamp(900px, 73vw, 1105px) - var(--editorial-align-lift));
    --editorial-copy-height: calc(var(--paragraph-30) * 4.75);
  }
  .restaurant-editorial__button--second {
    top: var(--editorial-align-y);
    bottom: auto;
  }
  .restaurant-editorial__text--second {
    top: calc(var(--editorial-align-y) - var(--editorial-copy-height));
  }
  .restaurant-editorial__curve--second {
    /* Prolunga la discesa verso il paragrafo, come nella referenza desktop. */
    height: calc(var(--editorial-align-y) - var(--editorial-copy-height) - var(--curve-top) - 24px + clamp(80px, 8vw, 120px));
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .restaurant-editorial__block--first { --editorial-button-top: 1120px; }
  .restaurant-editorial__curve--first { --curve-top: 580px; }
  .restaurant-editorial__block--second {
    --editorial-align-y: calc(880px - var(--editorial-align-lift));
  }
  .restaurant-editorial__curve--second { --curve-top: 510px; }
}

/* Esperienza — testo e cucina a tutta larghezza dopo emotion. */
.restaurant-experience {
  position: relative;
  background: var(--whitecream);
  color: var(--black);
  overflow: hidden;
}
.restaurant-experience__text {
  margin: 0;
  padding: clamp(60px, 7vw, 110px) var(--guide-margin);
  font-family: var(--font-melodrama);
  font-size: clamp(24px, 2.65vw, 40px);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}
.restaurant-experience__media {
  position: relative;
  margin: 0;
  width: 100%;
  height: max(80svh, 60vw);
  transform-origin: center bottom;
}
.restaurant-experience__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.restaurant-experience__routes {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.4;
  stroke-dasharray: 8 10;
  pointer-events: none;
}
.restaurant-experience__routes path { vector-effect: non-scaling-stroke; }
@media (max-width: 767px) {
  .restaurant-experience__text { padding: 60px 20px; }
  .restaurant-experience__media { height: 80svh; }
}

/* PIATTI ICONICI — hero, editoriale, galleria e chiusura. */
.iconici-page { background: var(--colorecru); color: var(--black); }
.iconici-hero { position: relative; height: calc(100svh - var(--header-height)); min-height: 400px; overflow: hidden; }
.iconici-hero__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.iconici-hero__title { position: absolute; inset: 0; margin: 0; color: var(--whitelight); font: 600 var(--title-230)/0.85 var(--font-melodrama); text-transform: uppercase; }
.iconici-hero__title span { position: absolute; }
.iconici-hero__title span:nth-child(1) { right: 5%; top: 8%; }
.iconici-hero__title span:nth-child(2) { left: 4%; top: 40%; }
.iconici-hero__title span:nth-child(3) { right: 14%; bottom: 11%; }
.iconici-hero__curve { position: absolute; width: 29%; height: 40%; left: 40%; top: 28%; fill: none; stroke: var(--whitelight); stroke-width: 1; }
.iconici-editorial { padding-top: clamp(40px, 5vw, 76px); overflow: hidden; }
.iconici-editorial__title { margin: 0 var(--guide-margin); font: 500 var(--title-230)/0.88 var(--font-melodrama); text-transform: uppercase; }
.iconici-editorial__title span { display: block; }
.iconici-outline { color: transparent; -webkit-text-stroke: 1px var(--black); }
.iconici-editorial__intro { display: grid; grid-template-columns: 40% 54%; justify-content: space-between; gap: 4%; margin: 50px var(--guide-margin) 35px; }
.iconici-editorial__copy { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.iconici-editorial__curve { display: block; width: 85%; align-self: flex-end; fill: none; stroke: var(--black); stroke-width: 1; }
.iconici-editorial__copy p { max-width: 390px; margin: 20px 0; font: 500 var(--sottotitolo-40)/1 var(--font-alumni-sans); }
.iconici-editorial__gricia { width: 100%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; }
.iconici-editorial__gricia img, .ultimate-editorial__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.iconici-marquee { overflow: hidden; font: 500 var(--title-230)/1.1 var(--font-melodrama); text-transform: uppercase; }
.iconici-marquee__track { display: flex; width: max-content; }
.iconici-marquee__track span { flex: 0 0 auto; white-space: nowrap; padding-right: 0.3em; }
.iconici-editorial__panorama { position: relative; margin: 0; width: 100%; aspect-ratio: 1512 / 626; overflow: hidden; }
.iconici-editorial__panorama img { position: absolute; left: 50%; top: 50%; width: 41.4021%; height: 241.5335%; margin-left: -20.70105%; margin-top: -50%; object-fit: cover; transform: rotate(90deg); }
.iconici-editorial__closing { margin: clamp(120px, 18vw, 272px) 2% 60px; font: 500 var(--sottotitolo-40)/1.05 var(--font-alumni-sans); text-transform: uppercase; }
.iconici-gallery { padding: 30px 0 70px; }
.iconici-gallery__viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.iconici-gallery .story-gallery__group { --gallery-scale: 0.85; --gallery-stagger: 110px; gap: 24px; height: auto; min-height: 690px; padding: 0 24px 0 0; }
.iconici-gallery .story-gallery__item { margin-top: 120px; overflow: hidden; }
.iconici-gallery .story-gallery__item img { object-fit: cover; }
.iconici-gallery .story-gallery__item:nth-child(3n + 2) { margin-top: 0; }
.iconici-gallery .story-gallery__item:nth-child(3n) { margin-top: 160px; }
.iconici-gallery__viewport:focus-visible { outline: 2px solid var(--black); outline-offset: -4px; }
.ultimate-editorial { display: grid; grid-template-columns: 54% 41%; gap: 5%; padding: clamp(50px, 5vw, 80px) var(--guide-margin); }
.ultimate-editorial__image { width: 100%; height: 100%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; }
.ultimate-editorial__copy { display: flex; flex-direction: column; justify-content: space-between; }
.ultimate-editorial__curve { width: 90%; height: auto; fill: none; stroke: var(--black); stroke-width: 1.4; }
.ultimate-editorial__copy p { margin: 35px 0 5%; font: 300 var(--sottotitolo-40)/1 var(--font-alumni-sans); text-align: right; }
@media (max-width: 1024px) {
  .iconici-editorial__title { margin-inline: 30px; }
  .iconici-editorial__intro { margin-inline: 30px; }
  .ultimate-editorial { padding-inline: 30px; }
  .iconici-gallery .story-gallery__group { --gallery-scale: 0.65; min-height: 540px; }
  .iconici-gallery .story-gallery__item { margin-top: 70px; }
  .iconici-gallery .story-gallery__item:nth-child(3n) { margin-top: 100px; }
}
@media (max-width: 767px) {
  .iconici-hero { min-height: 360px; }
  .iconici-hero__title { font-size: clamp(58px, 16vw, 115px); }
  .iconici-hero__title span:nth-child(3) { right: 5%; bottom: 16%; }
  .iconici-hero__image { object-position: 45% center; }
  .iconici-editorial__title { margin-inline: 20px; font-size: clamp(42px, 13vw, 100px); }
  .iconici-editorial__intro { grid-template-columns: 1fr; margin: 35px 20px; gap: 24px; }
  .iconici-editorial__gricia { grid-row: 1; }
  .iconici-editorial__curve { display: none; }
  .iconici-editorial__copy p { max-width: none; margin: 0; font-size: clamp(24px, 5vw, 32px); }
  .iconici-editorial__closing { margin: 90px 20px 35px; font-size: 24px; }
  .iconici-gallery .story-gallery__group { --gallery-scale: 0.45; gap: 16px; min-height: 400px; }
  .iconici-gallery .story-gallery__item { margin-top: 50px; }
  .iconici-gallery .story-gallery__item:nth-child(3n) { margin-top: 80px; }
  .ultimate-editorial { grid-template-columns: 1fr; padding: 45px 20px; gap: 28px; }
  .ultimate-editorial__curve { display: none; }
  .ultimate-editorial__copy p { font-size: 26px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .iconici-marquee__track { width: auto; }
  .iconici-marquee__track span { white-space: normal; }
  .iconici-marquee__track span[aria-hidden] { display: none; }
}

/* MENU — scorre la colonna delle portate, le due fasce laterali restano ferme. */
.page-menu { background: var(--orange-color); }
.menu-page {
  --menu-rule: 1px solid rgba(0, 0, 0, 0.65);
  display: grid;
  grid-template-columns: 35% minmax(0, 56%) 9%;
  align-items: start;
  color: var(--black);
  background: var(--orange-color);
}
.menu-page__identity {
  position: sticky;
  top: var(--header-height);
  height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: 28% minmax(0, 1fr);
  border-right: var(--menu-rule);
}
.menu-page__logo {
  width: 100%;
  height: 100%;
  padding: 24px 12%;
  object-fit: contain;
  border-right: var(--menu-rule);
}
.menu-page__title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  min-width: 0;
  overflow: hidden;
}
.menu-page__title {
  margin: 0;
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-family: var(--font-melodrama);
  font-weight: 500;
  font-size: min(24vw, calc((100svh - var(--header-height)) * 0.36));
  line-height: 0.85;
  text-transform: uppercase;
}
.menu-page__courses { min-width: 0; padding-top: 24px; border-right: var(--menu-rule); }
.menu-category h2 {
  margin: 0;
  padding: 5px clamp(18px, 2.5vw, 48px) 10px;
  border-block: var(--menu-rule);
  font: 600 clamp(28px, 3vw, 54px)/1 var(--font-melodrama);
  text-transform: uppercase;
}
.menu-category__list {
  margin: 0;
  padding: 28px clamp(18px, 2.5vw, 48px) 32px;
  font: 400 clamp(18px, 1.72vw, 32px)/1.4 var(--font-bodoni-72);
}
.menu-category__item { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 24px; }
.menu-category__item dt { overflow-wrap: break-word; }
.menu-category__item dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.menu-category:last-child .menu-category__item:last-child { margin-top: 28px; }
.menu-page__wines {
  position: sticky;
  top: var(--header-height);
  height: calc(100svh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 12%;
}
.menu-page__wine {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  border: var(--menu-rule);
  background: transparent;
  color: var(--black);
  padding: 10px 4px;
  writing-mode: vertical-rl;
  white-space: nowrap;
  /* La dicitura più lunga deve rientrare anche su schermi laptop bassi. */
  font: 600 min(clamp(20px, 2.15vw, 40px), calc((100svh - var(--header-height) - 110px) / 27))/1 var(--font-melodrama);
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.menu-page__wine:hover { background: var(--black); color: var(--orange-color); }
.menu-page__wine:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }
@media (max-width: 1024px) {
  .menu-page { grid-template-columns: 27% minmax(0, 63%) 10%; }
  .menu-page__logo { padding-inline: 8%; }
  .menu-page__title-wrap { padding-inline: 8px; }
  .menu-page__wines { padding-inline: 10%; gap: 14px; }
  .menu-category__list { font-size: 20px; }
}
@media (max-width: 767px) {
  .menu-page { display: flex; flex-direction: column; }
  .menu-page__identity { position: relative; top: auto; width: 100%; height: 180px; grid-template-columns: 18% 82%; border-right: 0; border-bottom: var(--menu-rule); }
  .menu-page__logo { padding: 12px; }
  .menu-page__title { writing-mode: horizontal-tb; font-size: clamp(80px, 24vw, 155px); }
  .menu-page__title-wrap { padding: 12px; }
  .menu-page__wines { order: 1; z-index: 5; flex-direction: row; top: var(--header-height); height: auto; width: 100%; padding: 12px; gap: 8px; background: var(--orange-color); border-bottom: var(--menu-rule); }
  .menu-page__wine { writing-mode: horizontal-tb; min-height: 48px; font-size: clamp(15px, 3.6vw, 24px); white-space: normal; text-align: center; }
  .menu-page__courses { order: 2; width: 100%; border-right: 0; padding-top: 0; }
  .menu-category h2 { padding: 10px 16px; font-size: 34px; }
  .menu-category__list { padding: 22px 16px; font-size: 19px; }
  .menu-category__item { gap: 14px; margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .menu-page__wine { transition: none; } }

/* CARTE DEI VINI — struttura fissa condivisa con menu.html. */
.page-wine,
.wine-page { background: var(--colorecru); }
.wine-page { grid-template-columns: 25% minmax(0, 66%) 9%; }
.wine-page .menu-page__identity { grid-template-columns: 40% minmax(0, 1fr); }
.wine-page .menu-page__wines { background: var(--colorecru); }
.wine-page .menu-page__wine:hover { color: var(--colorecru); }
.wine-region__content { padding: 30px clamp(20px, 3.2vw, 50px) 40px; }
.wine-producer + .wine-producer { margin-top: 28px; }
.wine-producer h3 {
  margin: 0 0 16px;
  color: var(--orange-color);
  font: 600 clamp(22px, 1.8vw, 30px)/1.1 var(--font-melodrama);
  text-transform: uppercase;
}
.wine-list { list-style: none; padding: 0; margin: 0; font: 400 clamp(18px, 1.55vw, 26px)/1.35 var(--font-bodoni-72); }
.wine-list__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(85px, 0.36fr); gap: 20px; }
.wine-list__grapes { text-align: right; font-size: 0.88em; align-self: center; }
.wine-list__price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) and (max-width: 1100px) {
  .wine-page { grid-template-columns: 23% minmax(0, 67%) 10%; }
  .wine-region__content { padding-inline: 20px; }
  .wine-list__item { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; margin-bottom: 10px; }
  .wine-list__name { grid-column: 1; grid-row: 1; }
  .wine-list__price { grid-column: 2; grid-row: 1; }
  .wine-list__grapes { grid-column: 1; text-align: left; }
}
@media (max-width: 767px) {
  .wine-page .menu-page__identity { grid-template-columns: 18% 82%; }
  .wine-region__content { padding: 24px 16px 30px; }
  .wine-producer h3 { margin-bottom: 12px; }
  .wine-list { font-size: 20px; }
  .wine-list__item { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; margin-bottom: 14px; }
  .wine-list__name { grid-column: 1; grid-row: 1; }
  .wine-list__price { grid-column: 2; grid-row: 1; }
  .wine-list__grapes { grid-column: 1; text-align: left; }
  .wine-list__grapes:empty { display: none; }
}

/* VINI BIANCHI — fondo crema e firma arancione, anche nella barra mobile. */
.page-wine--white,
.wine-page--white,
.wine-page--white .menu-page__wines { background: var(--whitecream); }
.wine-page--white .menu-page__wine:hover { color: var(--whitecream); }
.wine-page__orange-logo { position: relative; }
.wine-page__orange-logo::before {
  content: "";
  position: absolute;
  inset: 24px 12%;
  background: var(--orange-color);
  -webkit-mask: url('../media/maccheroni-black-menu.webp') center / contain no-repeat;
  mask: url('../media/maccheroni-black-menu.webp') center / contain no-repeat;
}
@media (max-width: 1024px) {
  .wine-page__orange-logo::before { inset-inline: 8%; }
}
@media (max-width: 767px) {
  .wine-page__orange-logo::before { inset: 12px; }
}

/* ROSÉ, CHAMPAGNE, BOLLICINE — titolo nella colonna centrale. */
.sparkling-page { grid-template-columns: 10% minmax(0, 81%) 9%; }
.sparkling-page .menu-page__identity { display: block; }
.sparkling-page .menu-page__logo { border-right: 0; }
.sparkling-page .menu-page__courses { padding-top: 0; }
.sparkling-page__title {
  margin: 0;
  padding: 32px clamp(20px, 3.2vw, 50px) 48px;
  font: 500 clamp(56px, 11.5vw, 200px)/0.85 var(--font-melodrama);
  letter-spacing: -0.04em;
}
.sparkling-page__title span { display: block; }
@media (min-width: 768px) and (max-width: 1100px) {
  .sparkling-page { grid-template-columns: 10% minmax(0, 80%) 10%; }
}
@media (max-width: 767px) {
  .sparkling-page .menu-page__identity { height: 105px; }
  .sparkling-page .menu-page__logo {
    position: absolute;
    left: 50%; top: 50%;
    width: 64px; height: 240px;
    padding: 8px;
    transform: translate(-50%, -50%) rotate(-90deg);
  }
  .sparkling-page__title { font-size: clamp(44px, 14vw, 105px); padding: 28px 16px 36px; }
}

@media (max-width: 440px) {
  .pasta-artigianale { height: 183vw; padding: 0 25px; }
  .pasta-artigianale__title {
    position: relative; display: block; font-size: 26vw;
    line-height: .85; letter-spacing: -.035em;
  }
  .pasta-artigianale__line { display: contents; }
  .pasta-artigianale__title .pasta-artigianale__pasta,
  .pasta-artigianale__title .pasta-artigianale__fatta,
  .pasta-artigianale__title .pasta-artigianale__mano,
  .pasta-artigianale__title .pasta-artigianale__ogni,
  .pasta-artigianale__title .pasta-artigianale__giorno { position: absolute; white-space: nowrap; font-weight: 400; }
  .pasta-artigianale__pasta { top: 6%; left: 0; }
  .pasta-artigianale__fatta { top: 23%; right: 0; }
  .pasta-artigianale__mano { top: 38%; left: 0; }
  .pasta-artigianale__ogni { top: 55%; right: 0; }
  .pasta-artigianale__giorno { top: 70%; left: 0; }
  .pasta-artigianale__image--01 { width: 45%; left: 4%; top: 5%; }
  .pasta-artigianale__image--03 { width: 45%; right: 6%; top: 38%; }
  .pasta-artigianale__image--02 { width: 62%; left: 16%; bottom: 5.5%; }
}

@media (max-width: 440px) {
  .pasta-more { height: auto; }
  .pasta-more .general { height: auto; flex-direction: column; }
  .pasta-more .general > div { flex: none; }
  .pasta-more .video-right { order: 0; width: 100%; }
  .pasta-more__photo-frame { height: auto; aspect-ratio: 440 / 475; }
  .pasta-more .video-right .pasta-more__video-label { display: none; }
  .pasta-more .description-left {
    order: 1; width: 100%; box-sizing: border-box; height: auto; padding: 28px 25px 36px;
    gap: clamp(60px, 18vw, 80px);
  }
  .pasta-more .title-top { width: 62%; }
  .pasta-more .title-top p,
  .pasta-more .title-bottom p {
    margin: 0; font-size: clamp(24px, calc(8vw - 7.2px), 28px); line-height: 1.05;
  }
  .pasta-more .paragraph-center {
    width: calc(100vw - 60px - (100vw - 90px) / 5);
    flex-shrink: 0; margin-left: calc((100vw - 90px) / 5 + 10px); align-items: stretch;
  }
  .pasta-more .paragraph-center p { width: 100%; min-width: 100%; margin: 0; font-size: 18px; line-height: 1.15; }
  .pasta-more .button-position { padding-top: 28px; }
  .pasta-more .button-position a { position: static; }
  .pasta-more .title-bottom p { width: 90%; text-align: right; }
  .pasta-more__mobile-break { display: inline; }
  .menu-gallery-section__letters span { font-size: calc(var(--title-330) * 1.3); }
}

@media (max-width: 440px) {
  .vino-section { height: 220vw; background: #ffe5e2; }
  .vino-section__image--bottiglia { width: 170%; left: -20%; top: -13.6%; transform: rotate(35deg); transform-origin: 0 0; }
  .vino-section__image--bicchiere { width: 125%; right: auto; left: 41%; top: 44%; transform: rotate(-4deg); transform-origin: 0 0; }
  .vino-section__image--rossa { width: 26%; left: -7%; top: 38%; }
  .vino-section__image--verde-piccola { width: 41%; left: 18%; top: 47%; bottom: auto; }
  .vino-section__image--verde { width: 60%; left: 50%; top: 15%; }
  .vino-section__image--verde-destra { width: 60%; left: -14%; top: 67%; bottom: auto; }
  .vino-section__image--verde-sopra { width: 61%; left: 60%; top: 0%; }
  .vino-section__image--piccola-sopra { width: 61%; left: 18%; top: -1%; }
  .vino-section__image--arancio { display: none; }
  .vino-section__image--yea { width: 150%; left: 50%; top: 63%; }
  .vino-section__button { left: 145px; top: auto; bottom: 250px; transform: none; }
}

/* Footer mobile: composizione su 790px, indipendente dal layout desktop. */
@media (max-width: 440px) {
  .maccheroni-footer { height: 790px; min-height: 790px; font-size: 14px; }
  .maccheroni-footer__inner { position: relative; height: 790px; min-height: 0; padding: 0 25px; box-sizing: border-box; }
  .maccheroni-footer__top,
  .maccheroni-footer__brand,
  .maccheroni-footer__middle,
  .maccheroni-footer__bottom { display: contents; }
  .maccheroni-footer__logo-link { position: absolute; top: 38px; left: 20px; right: 20px; }
  .maccheroni-footer__logo { width: 100%; max-width: none; height: auto; }
  .maccheroni-footer__info { position: absolute; top: 120px; left: 25px; width: calc(100% - 50px); padding: 0; align-items: flex-start; gap: 5px; font-size: clamp(13px, 3.4vw, 15px); line-height: 1.25; }
  .maccheroni-footer__nav { position: absolute; top: 241px; left: 20px; width: 36%; padding: 0; gap: 8px; font-size: 13px; }
  .maccheroni-footer__newsletter { display: none; position: absolute; top: 240px; left: 42%; right: 20px; }
  .maccheroni-footer__newsletter-title { margin: 0 0 22px; font-size: 16px; line-height: 1.05; }
  .maccheroni-footer__form { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
  .maccheroni-footer__input { height: 24px; padding: 0; font-size: 18px; }
  body .maccheroni-footer .maccheroni-footer__submit.site-button { width: 105px; min-width: 0; height: 33px; min-height: 33px; padding: 0; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; justify-content: center; font: 300 13px var(--font-inter); }
  .maccheroni-footer__social { position: absolute; top: 409px; left: 17px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 30px; padding: 0; font-size: 16px; }
  .maccheroni-footer__social-links { gap: 26px; }
  .maccheroni-footer__social-links a { width: 24px; height: 24px; }
  .maccheroni-footer__social-links img { max-width: 15px; max-height: 15px; }
  .maccheroni-footer__intro { position: absolute; top: 472px; left: 20px; width: min(290px, calc(100% - 40px)); margin: 0; font-size: 16px; line-height: 1.15; }
  .maccheroni-footer__intro br { display: none; }
  body .maccheroni-footer .maccheroni-footer__booking.site-button { position: absolute; top: 557px; left: 20px; width: calc(100% - 40px); max-width: none; height: 52px; min-height: 52px; margin: 0; padding: 0 8px; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; justify-content: center; font: 300 16px var(--font-inter); }
  .maccheroni-footer__credits { position: absolute; top: 661px; left: 20px; align-items: flex-start; flex-direction: column; gap: 9px; font-size: 12px; }
  .maccheroni-footer__legal { position: absolute; left: 20px; right: 20px; bottom: 15px; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 6px; font-size: clamp(9px, 2.5vw, 11px); white-space: nowrap; }
}

/* Composizione editoriale e CTA: esclusivamente mobile fino a 440px. */
@media (max-width: 440px) {
  .menu-manifesto { height: calc((100svh - var(--header-height)) * .7); }
  .piatti-editorial { display: flex; flex-direction: column; padding: 20px 0 0; --editorial-margin: 25px; }
  .piatti-editorial__main-title,
  .piatti-editorial__statement,
  .piatti-editorial__della,
  .piatti-editorial__tradizione,
  .piatti-editorial__romana,
  .piatti-editorial__dal { font-size: clamp(120px, calc(40vw - 36px), 140px); font-weight: 500; }
  .piatti-editorial__main-title { order: 0; margin: 0 25px 20px; }
  .piatti-editorial__row--carbonara { order: 1; }
  .piatti-editorial__statement { order: 2; margin: 0px 25px 30px 25px; }
  .piatti-editorial__della { align-self: flex-start; }
  .piatti-editorial__row--saltimbocca { order: 3; }
  .piatti-editorial__romana { order: 4; margin: 0px 25px 0; }
  .piatti-editorial__dal { order: 5; margin: 0px 25px 30px; white-space: nowrap; }
  .piatti-editorial__row--amatriciana { order: 6; }
  .piatti-editorial__row--cacio-pepe { order: 7; }
  .piatti-editorial__row--polpette { order: 8; margin-top: 0; }
  .piatti-editorial .piatti-editorial__row { display: flex; flex-direction: column; gap: 0; }
  .piatti-editorial .piatti-editorial__image-wrap { order: 0; left: 0; width: 100%; }
  .piatti-editorial .piatti-editorial__content { order: 1; width: 100%; box-sizing: border-box; padding: 30px 25px 30px; }
  .piatti-editorial .piatti-editorial__dish-title { font-size: clamp(60px, calc(20vw - 18px), 70px); width: 100%; }
  .piatti-editorial .piatti-editorial__subtitle { font-size: clamp(28px, calc(4vw + 12.4px), 30px); margin: 24px 0 0; line-height: 1.08; }
  .piatti-editorial .piatti-editorial__description { font-size: 18px; line-height: 1.2; margin: 24px 0 0; }
  .piatti-editorial__row--carbonara .piatti-editorial__subtitle,
  .piatti-editorial__row--carbonara .piatti-editorial__description,
  .piatti-editorial__row--cacio-pepe .piatti-editorial__subtitle { margin-left: calc((100vw - 50px - 40px) / 5 + 10px); }
  .piatti-editorial .piatti-editorial__row--saltimbocca .piatti-editorial__dish-title,
  .piatti-editorial .piatti-editorial__row--cacio-pepe .piatti-editorial__dish-title { text-align: left; }
  body .site-button.site-button,
  body .hero .hero__booking.site-button,
  body .piatti-editorial__content .menu-button,
  body .reservation-submit button {
    width: 170px; max-width: 100%; min-width: 0;
    height: 35px; min-height: 35px; box-sizing: border-box;
    padding: 0 12px; gap: 12px; border-radius: 5px; font-size: 16px;
  }
  body .site-button.site-button .menu-button__text { font-size: 16px; }
  body .site-button.site-button img,
  body .site-button.site-button svg,
  body .reservation-submit button svg { width: 18px; height: 18px; max-height: 18px; flex-shrink: 0; }
}

/* CTA condivise: Cabin Condensed su tutte le viewport. */
body .site-button.site-button,
body .site-button.site-button .menu-button__text,
body .maccheroni-footer .site-button.site-button,
body .reservation-submit button {
  font-family: var(--font-alumni-sans);
  font-weight: 400;
}
@media (max-width: 440px) {
  .reviews-section__scroll { overscroll-behavior-y: auto; touch-action: pan-y; }
  body .site-button.site-button,
  body .hero .hero__booking.site-button,
  body .piatti-editorial__content .menu-button,
  body .maccheroni-footer .site-button.site-button,
  body .reservation-submit button {
    width: max-content;
    min-width: min(161px, 100%);
    max-width: 100%;
    height: 31px;
    min-height: 31px;
    padding: 0 16px;
    white-space: nowrap;
    flex-shrink: 0;
    gap: 12px;
    font-size: 16px;
    line-height: 1;
    border-radius: 5px;
  }
  body .site-button.site-button .menu-button__text { font-size: 16px; }
  body .site-button.site-button > span { white-space: nowrap; flex-shrink: 0; }
  body .site-button.site-button img,
  body .site-button.site-button svg,
  body .reservation-submit button svg { width: 16px; height: 16px; max-height: 16px; }
}

/* Ristorante — riferimento mobile 440px, isolato dalle altre pagine. */
@media (max-width: 440px) {
  /* Una unità del disegno a 440px; segue continuamente la larghezza disponibile. */
  .page-ristorante { --restaurant-unit: min(1px, calc(100vw / 440)); }
  .page-ristorante .restaurant-hero { min-height: max(660px, calc(740 * var(--restaurant-unit))); }
  .page-ristorante .restaurant-hero__title { font-size: clamp(90px, 27.273vw, 120px); line-height: .9; }
  .page-ristorante .restaurant-hero__word--welcome { top: 8%; left: calc(20 * var(--restaurant-unit)); }
  .page-ristorante .restaurant-hero__word--da { top: 23%; right: 0; }
  .page-ristorante .restaurant-hero__word--maccheroni { top: 41%; bottom: auto; left: calc(20 * var(--restaurant-unit)); }
  .page-ristorante .restaurant-hero__overlay { background: linear-gradient(transparent 50%, rgba(0,0,0,.48)); }
  .page-ristorante .restaurant-hero .restaurant-editorial__intro {
    position: absolute; left: calc(20 * var(--restaurant-unit)); bottom: calc(48 * var(--restaurant-unit)); z-index: 4;
    width: min(calc(250 * var(--restaurant-unit)), calc(100% - 40px)); align-items: flex-start; gap: calc(30 * var(--restaurant-unit)); color: var(--whitelight);
  }
  .page-ristorante .restaurant-editorial__intro-text,
  .page-ristorante .restaurant-editorial__text { font-size: 18px; line-height: 1; letter-spacing: .025em; }
  .page-ristorante .site-main .site-button.site-button { width: max-content; min-width: min(161px, 100%); height: 31px; min-height: 31px; font-size: 16px; }
  .page-ristorante .restaurant-editorial { padding: calc(25 * var(--restaurant-unit)) 0 calc(45 * var(--restaurant-unit)); }
  .page-ristorante .restaurant-editorial__title { font-size: clamp(75px, 22.7273vw, 100px); line-height: .9; }
  .page-ristorante .restaurant-editorial__title span { white-space: nowrap; }
  .page-ristorante .restaurant-editorial__title-outline,
  .page-ristorante .emotion__word--outline { -webkit-text-stroke-width: 0.5px; }
  .page-ristorante .restaurant-editorial__block--first { margin: 0; }
  .page-ristorante .restaurant-editorial__block--first .restaurant-editorial__title { margin: 0 calc(22 * var(--restaurant-unit)) calc(30 * var(--restaurant-unit)); }
  .page-ristorante .restaurant-editorial__title-solid--first { margin-left: calc(85 * var(--restaurant-unit)); }
  .page-ristorante .restaurant-editorial__title-outline--first { margin-top: 0; }
  .page-ristorante .restaurant-editorial__media--right {
    width: 90%; height: auto; aspect-ratio: 396 / 381; margin: 0 5%;
  }
  .page-ristorante .restaurant-editorial__curve { display: none; }
  .page-ristorante .restaurant-editorial__text--first { width: 90%; flex-shrink: 0; margin: calc(20 * var(--restaurant-unit)) 5% 0; max-width: none; }
  .page-ristorante .restaurant-editorial__button--first { align-self: flex-start; margin: calc(26 * var(--restaurant-unit)) 5% 0; }
  /* Le righe crescono con il testo: nessun accavallamento alle larghezze minori. */
  .page-ristorante .restaurant-editorial__block--second {
    display: grid; grid-template-columns: 50% 50%;
    grid-template-rows: calc(90 * var(--restaurant-unit)) auto auto;
    min-height: calc(560 * var(--restaurant-unit)); margin-top: calc(25 * var(--restaurant-unit));
  }
  .page-ristorante .restaurant-editorial__title--second {
    grid-column: 1 / -1; grid-row: 1; align-self: start;
    margin: 0 0 0 calc(22 * var(--restaurant-unit)); min-width: 0;
  }
  .page-ristorante .restaurant-editorial__title-outline--second { margin: 0 0 0 calc(-65 * var(--restaurant-unit)); }
  .page-ristorante .restaurant-editorial__media--left {
    position: relative; inset: auto; grid-column: 2; grid-row: 2; align-self: start;
    justify-self: end; margin: 0 calc(-40 * var(--restaurant-unit)) 0 0;
    width: calc(265 * var(--restaurant-unit)); height: auto; aspect-ratio: 265 / 377;
  }
  .page-ristorante .restaurant-editorial__text--second {
    position: relative; inset: auto; grid-column: 1; grid-row: 2 / 4; align-self: end;
    width: 72%; max-width: none; margin: calc(180 * var(--restaurant-unit)) 0 0 calc(25 * var(--restaurant-unit));
  }
  .page-ristorante .restaurant-editorial__block--second > .restaurant-editorial__button {
    position: relative; inset: auto; grid-column: 2; grid-row: 3; justify-self: start; align-self: start;
    margin: calc(61 * var(--restaurant-unit)) 0 0;
  }
  .page-ristorante .restaurant-experience { height: calc(100svh - var(--header-height)); isolation: isolate; display: grid; grid-template-rows: auto minmax(0, 1fr); }
  .page-ristorante .restaurant-experience__text { position: relative; z-index: 0; text-align: left; text-wrap: wrap; font-size: clamp(16px, 6.81818vw, 20px); line-height: 1.1; padding: calc(16 * var(--restaurant-unit)) 5% clamp(16px, 5vw, 22px); }
  .page-ristorante .emotion,
  .page-ristorante .emotion--animated .emotion__stage { height: auto; min-height: 0; }
  .page-ristorante .restaurant-experience__stage {
    display: block; position: relative; z-index: 2;
    min-height: 0; height: 100%; margin: 0; overflow: hidden; pointer-events: none;
  }
  .page-ristorante .restaurant-experience__media {
    position: absolute; left: 50%; translate: -50% 0;
    top: var(--experience-top, calc(100% - 190 * var(--restaurant-unit)));
    width: var(--experience-width, calc(229 * var(--restaurant-unit)));
    height: var(--experience-height, calc(380 * var(--restaurant-unit)));
    flex: none; aspect-ratio: auto; margin: 0; overflow: hidden;
  }
  .page-ristorante .restaurant-experience__routes,
  .page-ristorante .map-section__routes { display: none; }
  .page-ristorante .maccheroni-footer__info,
  .page-ristorante .maccheroni-footer__nav,
  .page-ristorante .maccheroni-footer__intro,
  .page-ristorante .maccheroni-footer__credits,
  .page-ristorante .maccheroni-footer__legal { font-size: 16px; }
  .page-ristorante .maccheroni-footer__social { top: 350px; left: auto; right: 20px; gap: 12px; }
  .page-ristorante .maccheroni-footer__social-links { gap: 10px; }
  .page-ristorante .maccheroni-footer__intro { width: calc(100% - 40px); }
  body.page-ristorante .maccheroni-footer .maccheroni-footer__booking.site-button {
    width: calc(100% - 40px); height: 40px; min-height: 40px; border-radius: 0; font-size: 16px;
  }
  .page-ristorante .maccheroni-footer__legal { flex-wrap: wrap; justify-content: flex-start; gap: 6px 10px; white-space: normal; }
}

.restaurant-experience__stage { display: contents; }

/* Piatti Iconici: composizione fluida del riferimento, esclusivamente <= 440px. */
@media (max-width: 440px) {
  .page-iconici { --iconici-unit: min(1px, calc(100vw / 440)); }
  .page-iconici .iconici-hero__title { font-size: clamp(88px, 27.2727vw, 120px); font-weight: 500; }
  .page-iconici .iconici-hero__title span { white-space: nowrap; }
  .page-iconici .iconici-hero__title span:nth-child(1) { top: 20%; right: 5%; }
  .page-iconici .iconici-hero__title span:nth-child(2) { top: 45%; left: 5%; }
  .page-iconici .iconici-hero__title span:nth-child(3) { top: 67%; bottom: auto; right: 5%; }
  .page-iconici .iconici-hero__curve { left: 44%; top: 30%; width: 40%; height: 35%; transform: scaleX(-1); }
  .page-iconici .iconici-outline,
  .page-iconici .emotion__word--outline { -webkit-text-stroke-width: .5px; }
  .page-iconici .iconici-editorial { padding-top: calc(30 * var(--iconici-unit)); }
  .page-iconici .iconici-editorial__title { margin: 0 5%; font-size: clamp(75px, 22.7273vw, 100px); line-height: .92; }
  .page-iconici .iconici-editorial__title span { white-space: nowrap; }
  .page-iconici .iconici-editorial__intro {
    position: relative; display: grid; grid-template-columns: 37% 63%; gap: 0;
    margin: calc(30 * var(--iconici-unit)) 0 calc(25 * var(--iconici-unit));
  }
  .page-iconici .iconici-editorial__copy { display: contents; }
  .page-iconici .iconici-editorial__gricia { grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 275 / 367; }
  .page-iconici .iconici-editorial__curve {
    display: block; grid-column: 1; grid-row: 1; align-self: end;
    width: 80%; height: calc(245 * var(--iconici-unit)); margin-left: 20%;
  }
  .page-iconici .iconici-editorial__copy p {
    grid-column: 1 / -1; grid-row: 2; width: 43%; max-width: none;
    margin: calc(32 * var(--iconici-unit)) 0 0 5%; font-size: 18px; line-height: 1; letter-spacing: .02em;
  }
  .page-iconici .iconici-marquee { font-size: clamp(75px, 22.7273vw, 100px); line-height: 1.1; }
  .page-iconici .iconici-editorial__panorama { aspect-ratio: 440 / 217; }
  .page-iconici .iconici-editorial__panorama img {
    /* Dimensioni invertite per la rotazione di 90°, centro stabile durante il parallasse. */
    width: 49.318182%; height: 202.764977%;
    left: 50%; top: 50%; margin-left: -24.659091%; margin-top: -50vw;
    transform: rotate(90deg); object-fit: cover;
  }
  .page-iconici .iconici-editorial__closing {
    position: relative; width: 65%; margin: calc(55 * var(--iconici-unit)) 4% calc(45 * var(--iconici-unit)) auto;
    font-size: 18px; line-height: 1.05; text-align: right;
  }
  .page-iconici .iconici-editorial__closing::before {
    content: ''; position: absolute; right: 100%; top: calc(-55 * var(--iconici-unit));
    width: calc(75 * var(--iconici-unit)); height: calc(155 * var(--iconici-unit));
    border-left: .5px solid var(--black); border-bottom: .5px solid var(--black); border-bottom-left-radius: 100%;
  }
  .page-iconici .iconici-gallery { padding: calc(10 * var(--iconici-unit)) 0 calc(65 * var(--iconici-unit)); }
  .page-iconici .iconici-gallery .story-gallery__group {
    min-height: 0; height: auto; align-items: flex-start; gap: calc(8 * var(--iconici-unit)); padding-right: calc(8 * var(--iconici-unit));
  }
  .page-iconici .iconici-gallery .story-gallery__item {
    width: calc(190 * var(--iconici-unit)); height: calc(265 * var(--iconici-unit));
    margin-top: calc(60 * var(--iconici-unit));
  }
  .page-iconici .iconici-gallery .story-gallery__item:nth-child(3n + 2) { margin-top: 0; }
  .page-iconici .iconici-gallery .story-gallery__item:nth-child(3n) { margin-top: calc(80 * var(--iconici-unit)); }
  .page-iconici .emotion,
  .page-iconici .emotion--animated .emotion__stage { height: auto; min-height: 0; }
  .page-iconici .emotion__track { font-size: clamp(90px, 27.2727vw, 120px); }
  .page-iconici .ultimate-editorial { display: block; padding: calc(40 * var(--iconici-unit)) 0 calc(35 * var(--iconici-unit)); }
  .page-iconici .ultimate-editorial__image { width: 62%; height: auto; aspect-ratio: 275 / 347; margin-left: 8.5%; }
  .page-iconici .ultimate-editorial__copy { position: relative; display: block; margin-top: calc(20 * var(--iconici-unit)); }
  .page-iconici .ultimate-editorial__curve {
    display: block; position: absolute; left: 15%; top: 0; width: 34%; height: calc(110 * var(--iconici-unit));
  }
  .page-iconici .ultimate-editorial__copy p { width: 48%; margin: 0 3% 0 auto; padding-top: calc(68 * var(--iconici-unit)); font-size: 18px; line-height: 1.05; }
  .page-iconici .map-section__routes { display: none; }
  .page-iconici .maccheroni-footer__info,
  .page-iconici .maccheroni-footer__nav,
  .page-iconici .maccheroni-footer__intro { font-size: 16px; }
  .page-iconici .maccheroni-footer__social { top: 350px; left: auto; right: 20px; gap: 12px; }
  .page-iconici .maccheroni-footer__social-links { gap: 10px; }
  body.page-iconici .maccheroni-footer .maccheroni-footer__booking.site-button { width: calc(100% - 40px); height: 52px; border-radius: 0; }
}

/* Home: base 440px, proporzioni continue sulle larghezze inferiori. */
@media (max-width: 440px) {
  .index-page { --home-unit: min(1px, calc(100vw / 440)); }
  .index-page .hero__content { min-height: max(calc(760 * var(--home-unit)), calc(100svh - var(--header-height))); }
  .index-page .hero__description { font-size: 18px; margin-bottom: calc(40 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .piatti-editorial { padding-top: calc(20 * var(--home-unit)); --editorial-margin: calc(25 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .piatti-editorial__main-title,
  :is(.index-page, .page-iconici) .piatti-editorial__statement,
  :is(.index-page, .page-iconici) .piatti-editorial__della,
  :is(.index-page, .page-iconici) .piatti-editorial__tradizione,
  :is(.index-page, .page-iconici) .piatti-editorial__romana,
  :is(.index-page, .page-iconici) .piatti-editorial__dal { font-size: clamp(100px, 31.81818vw, 140px); }
  :is(.index-page, .page-iconici) .piatti-editorial__main-title { margin: 0 calc(25 * var(--home-unit)) calc(20 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .piatti-editorial__statement,
  :is(.index-page, .page-iconici) .piatti-editorial__dal { margin: 0 calc(25 * var(--home-unit)) calc(30 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .piatti-editorial__romana { margin: 0 calc(25 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__content { padding: calc(30 * var(--home-unit)) calc(25 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__dish-title { font-size: clamp(50px, 15.90909vw, 70px); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__subtitle { font-size: clamp(24px, 6.81818vw, 30px); margin-top: calc(24 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__description { font-size: 18px; margin-top: calc(24 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .piatti-editorial__row--carbonara .piatti-editorial__subtitle,
  :is(.index-page, .page-iconici) .piatti-editorial__row--carbonara .piatti-editorial__description,
  :is(.index-page, .page-iconici) .piatti-editorial__row--cacio-pepe .piatti-editorial__subtitle { margin-left: calc(80 * var(--home-unit)); }
  .index-page .pasta-artigianale { padding-inline: calc(25 * var(--home-unit)); }
  .index-page .pasta-more .description-left { padding: calc(28 * var(--home-unit)) calc(25 * var(--home-unit)) calc(36 * var(--home-unit)); gap: calc(79.2 * var(--home-unit)); }
  .index-page .pasta-more .title-top p,
  .index-page .pasta-more .title-bottom p { font-size: clamp(22px, 6.363636vw, 28px); }
  .index-page .pasta-more .paragraph-center { width: calc(310 * var(--home-unit)); margin-left: calc(40 * var(--home-unit)); }
  .index-page .pasta-more .paragraph-center p { font-size: 18px; }
  .index-page .pasta-more .button-position { padding-top: calc(28 * var(--home-unit)); }
  .index-page .vino-section__button { left: calc(145 * var(--home-unit)); bottom: calc(250 * var(--home-unit)); }
  .index-page .reviews-section__intro { gap: calc(48 * var(--home-unit)); }
  .index-page .reviews-section__title { font-size: clamp(58px, 18vw, 79.2px); }
  /* I testi restano leggibili: il footer conserva spazio verticale per gli a capo. */
  .index-page .maccheroni-footer__inner { padding-inline: calc(25 * var(--home-unit)); }
  .index-page .maccheroni-footer__logo-link { left: calc(20 * var(--home-unit)); right: calc(20 * var(--home-unit)); }
  .index-page .maccheroni-footer__info { left: calc(25 * var(--home-unit)); width: calc(100% - 50 * var(--home-unit)); font-size: 15px; }
  .index-page .maccheroni-footer__nav,
  .index-page .maccheroni-footer__intro,
  .index-page .maccheroni-footer__credits { left: calc(20 * var(--home-unit)); }
  .index-page .maccheroni-footer__social { left: calc(17 * var(--home-unit)); gap: calc(30 * var(--home-unit)); }
  .index-page .maccheroni-footer__social-links { gap: calc(26 * var(--home-unit)); }
  .index-page .maccheroni-footer__legal { left: calc(20 * var(--home-unit)); right: calc(20 * var(--home-unit)); flex-wrap: wrap; }
}

/* Wrapper di parole: il layout desktop conserva la composizione originale. */
.hero__subtitle .hero__nel,
.hero__subtitle .hero__cuore { display: inline; }
@media (max-width: 440px) {
  .index-page .hero__content { min-height: max(calc(900 * var(--home-unit)), calc(100svh - var(--header-height))); }
  .index-page .hero__title,
  .index-page .hero__subtitle { font-family: var(--font-melodrama); font-weight: 400; }
  .index-page .hero__title { top: calc(50 * var(--home-unit)); }
  .index-page .hero__title-main { font-size: clamp(72px, 22.72727vw, 100px); font-weight: 400; line-height: .9; }
  .index-page .hero__title-secondary { font-size: clamp(65px, 20.454545vw, 90px); font-weight: 400; text-align: right; margin-top: calc(20 * var(--home-unit)); line-height: .9; }
  .index-page .hero__subtitle { top: calc(240 * var(--home-unit)); left: 4%; right: 4%; font-size: clamp(72px, 22.72727vw, 100px); line-height: .9; }
  .index-page .hero__subtitle .hero__nel { display: block; text-align: left; font-size: clamp(72px, 22.72727vw, 100px); }
  .index-page .hero__subtitle .hero__cuore { display: block; text-align: right; font-size: clamp(65px, 20.454545vw, 90px); margin-top: calc(10 * var(--home-unit)); }
  .index-page .hero__subtitle > span:last-child { margin-top: calc(10 * var(--home-unit)); white-space: nowrap; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__dish-title { font-family: var(--font-melodrama); font-weight: 400; font-size: clamp(50px, 15.90909vw, 70px); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__subtitle { font-family: var(--font-bodoni-72); font-size: clamp(21px, 5.454545vw, 24px); font-style: normal; line-height: 1.05; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__description { font-family: var(--font-alumni-sans); font-size: 18px; line-height: 1.1; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__subtitle,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__description,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__content .menu-button {
    align-self: flex-start; margin-left: calc(80 * var(--home-unit)); max-width: calc(100% - 80 * var(--home-unit));
  }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__subtitle { margin-top: calc(30 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__description { margin-top: calc(38 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__content .menu-button { margin-top: calc(35 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .dish-mobile-line { display: block; }
  :is(.index-page, .page-iconici) .dish-mobile-line--romana { margin-left: calc(80 * var(--home-unit)); }
  :is(.index-page, .page-iconici) .dish-mobile-line--pepe { margin-left: calc(160 * var(--home-unit)); white-space: nowrap; }
  :is(.index-page, .page-iconici) .dish-desktop-break { display: none; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--cacio-pepe .piatti-editorial__description,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--cacio-pepe .menu-button {
    margin-left: calc(160 * var(--home-unit)); max-width: calc(100% - 160 * var(--home-unit));
  }
}
@media (max-width: 440px) {
  /* :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--amatriciana .piatti-editorial__description { width: calc(260 * var(--home-unit)); } */
  /* :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--cacio-pepe .piatti-editorial__description { width: calc(190 * var(--home-unit)); } */
}

/* MENU: le fotografie passano davanti alle lettere su tutte le viewport. */
.menu-gallery-section__viewport { z-index: 2; }
.menu-gallery-section__letters { z-index: 1; }
@media (max-width: 440px) {
  .index-page .menu-gallery-section__letters span { font-weight: 500; }
  .index-page .menu-gallery-section__track { animation-duration: 40s; }
  .index-page .pasta-more .title-top p,
  .index-page .pasta-more .title-bottom p { font-size: clamp(20px, 5.454545vw, 24px); }
  .index-page .pasta-more__photo-frame { margin: 0; }
  .index-page .maccheroni-footer__logo-link { left: 6%; right: 6%; }
  .index-page .maccheroni-footer__info { left: 6%; width: 88%; font-size: 16px; }
  .index-page .maccheroni-footer__nav { left: 6%; top: 235px; font-size: 14px; gap: 8px; }
  .index-page .maccheroni-footer__social { left: auto; right: 6%; top: 345px; gap: 12px; }
  .index-page .maccheroni-footer__social-label { text-decoration: underline; text-underline-offset: 3px; }
  .index-page .maccheroni-footer__social-links { gap: 10px; }
  .index-page .maccheroni-footer__intro { left: 6%; top: 465px; width: 88%; font-size: 16px; }
  body.index-page .maccheroni-footer .maccheroni-footer__booking.site-button {
    left: 6%; top: 555px; width: 88%; height: 40px; min-height: 40px;
    font: 300 16px var(--font-inter); border-radius: 1px;
  }
  .index-page .maccheroni-footer__credits { left: 6%; top: 655px; font-size: 12px; }
  .index-page .maccheroni-footer__legal { left: 6%; right: 6%; bottom: 15px; }
}

/* Carta menu mobile: testata fissa, proporzioni riferite a 440px. */
@media (max-width: 440px) {
  :is(.page-menu, .page-wine) { --menu-mobile-unit: calc(100vw / 440); --menu-mobile-bar-height: calc(clamp(16px, 5vw, 20px) + 76 * var(--menu-mobile-unit) + 3px); }
  :is(.page-menu, .page-wine) .menu-page { padding-top: calc(263 * var(--menu-mobile-unit) + var(--menu-mobile-bar-height)); }
  :is(.page-menu, .page-wine) .menu-page__identity {
    position: fixed; top: var(--header-height); left: 0; width: 100%;
    height: calc(263 * var(--menu-mobile-unit)); z-index: 20;
    display: block; background: var(--orange-color); border: 0;
    border-bottom: var(--menu-rule);
  }
  :is(.page-menu, .page-wine) .menu-page__title-wrap {
    height: calc(194 * var(--menu-mobile-unit)); padding: calc(8 * var(--menu-mobile-unit)) var(--guide-margin);
    border-bottom: var(--menu-rule);
  }
  :is(.page-menu, .page-wine) .menu-page__title { writing-mode: horizontal-tb; font-size: clamp(150px, calc(208 * var(--menu-mobile-unit)), 208px); }
  :is(.page-menu, .page-wine) .menu-page__logo {
    position: absolute; left: 50%; top: calc(228.5 * var(--menu-mobile-unit));
    width: calc((100vw - 2 * var(--guide-margin)) * 146 / 854); height: calc(100vw - 2 * var(--guide-margin));
    padding: 0; border: 0; max-width: none; object-fit: contain;
    transform: translate(-50%, -50%) rotate(-90deg);
  }
  :is(.page-menu, .page-wine) .menu-page__wines {
    position: fixed; top: calc(var(--header-height) + 263 * var(--menu-mobile-unit));
    left: 0; z-index: 20; width: 100%; height: var(--menu-mobile-bar-height);
    padding: calc(22 * var(--menu-mobile-unit)) var(--guide-margin);
    gap: calc(4 * var(--menu-mobile-unit)); justify-content: space-between;
    background: var(--orange-color); border-bottom: var(--menu-rule);
  }
  :is(.page-menu, .page-wine) .menu-page__wine {
    flex: 0 0 auto; width: max-content; min-height: 0; height: auto;
    white-space: nowrap;
    font-size: clamp(16px, 5vw, 20px); line-height: 1; writing-mode: horizontal-tb;
    padding: calc(16 * var(--menu-mobile-unit)) 8px;
  }
  :is(.page-menu, .page-wine) .menu-category h2 {
    font-size: clamp(24px, 10.909091vw, 36px); line-height: 1; border-top: 0;
    padding: calc(17 * var(--menu-mobile-unit)) var(--guide-margin);
  }
  :is(.page-menu, .page-wine) .menu-category__list {
    padding: calc(26 * var(--menu-mobile-unit)) var(--guide-margin);
    display: grid; row-gap: calc(11 * var(--menu-mobile-unit));
    font-size: clamp(16px, 5vw, 18px); line-height: 1;
  }
  :is(.page-menu, .page-wine) .menu-category__item { margin: 0; gap: calc(12 * var(--menu-mobile-unit)); align-items: baseline; }
  :is(.page-menu, .page-wine) .menu-category__item dd { font-size: clamp(14px, 4.318182vw, 16px); line-height: 1; }
  :is(.page-menu, .page-wine) .menu-category:last-child .menu-category__item:last-child { margin-top: 0; }
}

@media (max-width: 440px) {
  .page-wine { --wine-mobile-background: var(--colorecru); }
  .page-wine--white { --wine-mobile-background: var(--whitecream); }
  .page-wine .menu-page__identity,
  .page-wine .menu-page__wines { background: var(--wine-mobile-background); }
  .page-wine .menu-page { padding-top: calc(289 * var(--menu-mobile-unit) + var(--menu-mobile-bar-height)); }
  .page-wine .menu-page__identity { height: calc(289 * var(--menu-mobile-unit)); }
  .page-wine .menu-page__title-wrap { height: calc(220 * var(--menu-mobile-unit)); justify-content: flex-start; }
  .page-wine .menu-page__logo { top: calc(254.5 * var(--menu-mobile-unit)); }
  .page-wine .menu-page__wines { top: calc(var(--header-height) + 289 * var(--menu-mobile-unit)); }
  .page-wine .menu-page__title {
    font-size: clamp(86.4px, calc(120 * var(--menu-mobile-unit)), 120px);
    white-space: normal; text-align: left; text-wrap: balance;
  }
  .page-wine .wine-page__orange-logo::before { inset: 0; }
  .page-sparkling .sparkling-page__title {
    position: fixed; z-index: 21; top: var(--header-height); left: 0;
    width: 100%; height: calc(220 * var(--menu-mobile-unit));
    padding: calc(8 * var(--menu-mobile-unit)) var(--guide-margin);
    display: flex; flex-direction: column; justify-content: center;
    font-size: clamp(52.8px, calc(79.2 * var(--menu-mobile-unit)), 79.2px);
    line-height: .85; text-align: left; border-bottom: var(--menu-rule);
    background: var(--wine-mobile-background);
  }
  .page-wine .wine-region__content { padding: calc(26 * var(--menu-mobile-unit)) var(--guide-margin); }
  .page-wine .wine-producer + .wine-producer { margin-top: calc(26 * var(--menu-mobile-unit)); }
  .page-wine .wine-producer h3 { font-size: clamp(16px, 5vw, 22px); margin-bottom: calc(11 * var(--menu-mobile-unit)); }
  .page-wine .wine-list { display: grid; gap: calc(11 * var(--menu-mobile-unit)); font-size: clamp(16px, 5vw, 18px); line-height: 1.1; }
  .page-wine .wine-list__item { margin: 0; gap: calc(3 * var(--menu-mobile-unit)) calc(12 * var(--menu-mobile-unit)); align-items: baseline; }
  .page-wine .wine-list__price { font-size: clamp(14px, 4.318182vw, 16px); }
  .page-wine .wine-list__grapes { font-size: .8em; }
}

/* Editorial: livelli locali sotto la navbar e allineamento dell’ultima coppia. */
.restaurant-editorial { isolation: isolate; }
@media (min-width: 768px) {
  .page-ristorante .restaurant-editorial { padding-bottom: clamp(60px, 5.3vw, 80px); }
  .restaurant-editorial__block--second {
    display: grid;
    grid-template-rows: var(--editorial-align-y) auto;
    min-height: 0;
  }
  .restaurant-editorial__block--second > .restaurant-editorial__button {
    position: relative; inset: auto; grid-row: 2;
    justify-self: start; margin-left: clamp(20px, 1.8vw, 28px);
  }
  .restaurant-editorial .restaurant-editorial__text--second {
    top: auto; bottom: 0; margin-bottom: 0;
  }
}
@media (max-width: 440px) {
  .page-ristorante .restaurant-editorial__block--second > .restaurant-editorial__button { align-self: end; }
}
/* Tipografia condivisa per tutti i testi del footer, incluse le varianti di pagina. */
body .maccheroni-footer,
body .maccheroni-footer :is(p, a, li, span, label, input, button, h2, h3) {
  font-size: clamp(14px, 1.93vw, 18px) !important;
}
body .maccheroni-footer .maccheroni-footer__legal { flex-wrap: wrap; }

/* Pesi e famiglie dei soli paragrafi editoriali richiesti. */
.index-page .pasta-more p,
.page-ristorante .restaurant-editorial__intro-text,
.page-iconici .iconici-editorial__copy p {
  font-family: var(--font-alumni-sans);
  font-weight: 300;
}
.page-iconici .iconici-editorial__closing {
  font-family: var(--font-melodrama);
  letter-spacing: -0.0001em; /* -0.01% della dimensione del font. */
}

/* Menu desktop: estremità visibili della firma allineate al titolo. */
@media (min-width: 768px) {
  :is(.page-menu, .page-wine) .menu-page__identity::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--menu-logo-column, 28%);
    border-right: var(--menu-rule);
    pointer-events: none;
  }
  :is(.page-menu, .page-wine) .menu-page__logo {
    position: absolute;
    left: var(--menu-logo-center, 14%);
    top: var(--menu-logo-top, 6.5%);
    width: var(--menu-logo-width, auto);
    height: var(--menu-logo-height, 83%);
    transform: translateX(-50%);
    padding: 0;
    border: 0;
    object-fit: contain;
  }
  :is(.page-menu, .page-wine) .menu-page__title-wrap { grid-column: 2; }
  :is(.page-menu, .page-wine) .menu-page__title { transform: translateY(var(--menu-title-offset, 0px)); }
  .page-wine .menu-page__identity { --menu-logo-column: 40%; --menu-logo-center: 20%; }
  .page-wine .wine-page__orange-logo::before { inset: 0; }
  .sparkling-page .menu-page__identity { --menu-logo-column: 100%; --menu-logo-center: 50%; }
  .sparkling-page .menu-page__identity::before { display: none; }
}

/* Navigazione: sottolineatura e richiamo discreto alla prenotazione. */
.site-header .site-nav a {
  position: relative;
}
.site-header .header-shortcut--booking {
  animation: booking-shortcut-pulse 2.4s ease-in-out infinite;
}
@keyframes booking-shortcut-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .65; }
}
@media (max-width: 1024px) {
  .site-header .site-nav a { width: fit-content; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav a[href$="reservation.html"],
  .site-header .header-shortcut--booking { animation: none; }
  .site-header .site-nav a::after { transition: none; }
}

/* Interazioni condivise: social, lingua e pulsanti di azione. */
:is(.site-socials, .maccheroni-footer__social-links) a {
  display: inline-flex;
  cursor: pointer;
  transition: scale 220ms ease;
}
:is(.site-socials, .maccheroni-footer__social-links) a:is(:hover, :focus-visible) {
  scale: 1.1;
}
:is(.site-button, .menu-page__wine, .language-button, .reservation-submit button) {
  transition: box-shadow 220ms ease, background-color 220ms ease;
}
:is(.site-button, .menu-page__wine, .language-button, .reservation-submit button):is(:hover, :focus-visible) {
  box-shadow: inset 0 0 0 100vmax rgb(0 0 0 / 14%);
}
.language-button:active { box-shadow: inset 0 0 0 100vmax rgb(0 0 0 / 23%); }
.site-button :is(.menu-button__arrow, .restaurant-editorial__button-arrow, img[src*="freccia"]) {
  transition: rotate 280ms ease;
}
.site-button:is(:hover, :focus-visible) :is(.menu-button__arrow, .restaurant-editorial__button-arrow, img[src*="freccia"]) {
  rotate: 90deg;
}
@media (prefers-reduced-motion: reduce) {
  :is(.site-socials, .maccheroni-footer__social-links) a,
  :is(.site-button, .menu-page__wine, .language-button, .reservation-submit button),
  .site-button :is(.menu-button__arrow, .restaurant-editorial__button-arrow, img[src*="freccia"]) { transition: none; }
}

/* Logo navbar: ingrandimento senza spostare la griglia. */
.site-brand img { transition: scale 250ms ease; }
.site-brand:is(:hover, :focus-visible) img { scale: 1.045; }
@media (prefers-reduced-motion: reduce) {
  .site-brand img { transition: none; }
}

/* Curva finale: spazio fino al paragrafo, senza spostare il testo. */
@media (min-width: 768px) {
  .ultimate-editorial__copy { position: relative; justify-content: flex-end; }
  .ultimate-editorial__curve {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100% - 200px);
  }
  .ultimate-editorial__curve path { vector-effect: none; }
}

/* Prezzi: simbolo euro in colonna, importi allineati a destra. */
:is(.page-menu, .page-wine) :is(.menu-category__item dd, .wine-list__price) {
  display: inline-grid;
  grid-template-columns: max-content 6ch;
  column-gap: .3em;
  justify-content: end;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.page-menu .menu-category__item dd { grid-template-columns: max-content 5ch; }
.price-currency { text-align: left; }
.price-amount { text-align: right; }

/* Firma di menu e bollicine nello stesso nero dei titoli. */
.menu-page__dark-logo::before { background: var(--black); }
@media (min-width: 768px), (max-width: 440px) {
  .menu-page__dark-logo::before { inset: 0; }
}

/* Home su telefoni bassi: tutta la hero nell'area sotto la navbar. */
@media (max-width: 440px) and (max-height: 740px) {
  .index-page .hero__content {
    --hero-compact-title: min(20vw, 10.5svh);
    height: calc(100svh - var(--header-height));
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.6svh, 12px);
    padding: clamp(12px, 2.4svh, 18px) 5%;
  }
  .index-page .hero__title,
  .index-page .hero__subtitle {
    position: static;
    width: 100%;
    flex: 0 0 auto;
  }
  .index-page .hero__title-main,
  .index-page .hero__subtitle,
  .index-page .hero__subtitle .hero__nel {
    font-size: var(--hero-compact-title);
    line-height: .88;
  }
  .index-page .hero__title-secondary,
  .index-page .hero__subtitle .hero__cuore {
    font-size: calc(var(--hero-compact-title) * .9);
    line-height: .88;
    margin-top: clamp(4px, 1svh, 7px);
  }
  .index-page .hero__subtitle > span:last-child { margin-top: clamp(4px, 1svh, 7px); }
  .index-page .hero__intro {
    position: static;
    width: 100%;
    margin-top: auto;
    padding: 0;
    flex: 0 0 auto;
  }
  .index-page .hero__description {
    font-size: clamp(14px, 2.4svh, 16px);
    line-height: 1.1;
    margin-bottom: clamp(10px, 2svh, 14px);
  }
}

/* Home: regolazioni dedicate a iPhone SE 375 × 667 e formati inferiori. */
@media (max-width: 375px) and (max-height: 667px) {
  .index-page .restaurant-story .story-gallery__item {
    width: calc(var(--image-width) * var(--gallery-scale) * .75);
    height: calc(var(--image-height) * var(--gallery-scale) * .75);
  }
  .index-page .restaurant-story .story-gallery__group {
    height: calc(622px * var(--gallery-scale) * .75 + var(--gallery-stagger));
  }
  .index-page .menu-manifesto,
  .index-page .menu-manifesto.cucina {
    height: calc(100svh - var(--header-height));
    min-height: 0;
  }
}

/* La navigazione resta sopra le testate fisse delle carte menu e vini. */
@media (max-width: 1279px) {
  :is(.page-menu, .page-wine) .site-header { z-index: 30; }
}

/* Mantiene l’aspetto del precedente H1 decorativo senza alterare la gerarchia SEO. */
.pasta-more__video-label { display: block; font-size: 2em; margin-block: .67em; font-weight: bold; }

/* English laptop/desktop: keep EVERY DAY together without changing mobile. */
@media (min-width: 768px) {
  html:lang(en) .pasta-artigianale__line--last {
    justify-content: flex-start;
    gap: 0.16em;
  }
  html:lang(en) .pasta-more .pasta-more-word {
    white-space: nowrap;
  }
}

/* Same 20% label reduction in IT/EN, including the expanded navigation. */
.site-nav a {
  --nav-label-scale: 0.8;
}

/* Piatti editorial: mobile composition, shared by the Italian and English home. */
.piatti-editorial__curve { display: none; }
@media (max-width: 440px) {
  :is(.index-page, .page-iconici) .piatti-editorial { --dish-photo: calc(238 / 440 * 100vw); --dish-inset: calc(100 / 440 * 100vw); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row { position: relative; align-items: flex-start; margin-bottom: 36px; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__image-wrap {
    width: var(--dish-photo); height: auto; aspect-ratio: 238 / 335; left: 0; flex: none;
  }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--carbonara .piatti-editorial__image-wrap,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--amatriciana .piatti-editorial__image-wrap { align-self: flex-end; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__content { padding: 26px 25px 0; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__dish-title { font-size: clamp(32px, 9.090909vw, 40px); line-height: .95; align-self: flex-start; text-align: left; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__subtitle { font-size: clamp(18px, 4.545455vw, 20px); line-height: 1.05; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__description { font-size: 18px; line-height: 1.1; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__subtitle,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__description,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__content .menu-button { margin-left: 0; max-width: 100%; align-self: flex-start; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__subtitle { margin-top: 14px; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__description { margin-top: 18px; width: auto; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__content .menu-button { margin-top: 26px; }
  :is(.index-page, .page-iconici) .piatti-editorial .dish-mobile-line { display: inline; margin-left: 0; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--polpette .piatti-editorial__dish-title br { display: none; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--saltimbocca .piatti-editorial__content,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--polpette .piatti-editorial__content { padding-left: var(--dish-inset); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--amatriciana .piatti-editorial__content { padding-right: 50px; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--amatriciana .piatti-editorial__subtitle,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--amatriciana .piatti-editorial__description,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--amatriciana .menu-button { margin-left: calc(var(--dish-inset) - 25px); max-width: calc(100% - var(--dish-inset) + 25px); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--cacio-pepe .piatti-editorial__image-wrap { width: 100%; aspect-ratio: 440 / 209; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--cacio-pepe .piatti-editorial__subtitle,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--cacio-pepe .piatti-editorial__description,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--cacio-pepe .menu-button { margin-left: calc(var(--dish-inset) - 25px); max-width: calc(100% - var(--dish-inset) + 25px); }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--carbonara .piatti-editorial__image-wrap { margin-right: 25px; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--carbonara .piatti-editorial__subtitle,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--carbonara .piatti-editorial__description,
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--carbonara .menu-button {
    margin-left: clamp(30px, 9.090909vw, 40px);
    max-width: calc(100% - clamp(30px, 9.090909vw, 40px));
  }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--carbonara .piatti-editorial__subtitle { margin-top: 22px; }
  :is(.index-page, .page-iconici) .piatti-editorial .piatti-editorial__row--carbonara .piatti-editorial__description { margin-top: 26px; }
  :is(.index-page, .page-iconici) .piatti-editorial__curve { display: block; position: absolute; pointer-events: none; width: 42%; height: calc(225 / 440 * 100vw); top: calc(110 / 440 * 100vw); right: 8%; overflow: visible; fill: none; stroke: var(--black); stroke-width: 1; }
  :is(.index-page, .page-iconici) .piatti-editorial__curve path { vector-effect: non-scaling-stroke; }
  :is(.index-page, .page-iconici) .piatti-editorial__row--carbonara .piatti-editorial__curve { left: 10%; right: auto; top: calc(80 / 440 * 100vw); height: calc(270 / 440 * 100vw); width: 29%; }
  :is(.index-page, .page-iconici) .piatti-editorial__row--amatriciana .piatti-editorial__curve { left: 10%; right: auto; top: calc(100 / 440 * 100vw); height: calc(235 / 440 * 100vw); width: 31%; }
}

/* Italian mobile heading: two complete phrases, including during SplitText. */
@media (max-width: 440px) {
  html:lang(it) .index-page .pasta-more .title-top { width: 100%; }
  html:lang(it) .pasta-more__it-line { display: block; white-space: nowrap; }
}

/* Compact mobile footer; credits sit at the bottom after removal of legal links. */
@media (max-width: 440px) {
  body .maccheroni-footer { height: 700px; min-height: 700px; }
  body .maccheroni-footer .maccheroni-footer__inner { height: 700px; min-height: 0; }
  body .maccheroni-footer .maccheroni-footer__nav { top: 210px; }
  body .maccheroni-footer .maccheroni-footer__social { top: 330px; left: auto; right: 6%; gap: 12px; }
  body .maccheroni-footer .maccheroni-footer__intro { top: 395px; }
  body .maccheroni-footer .maccheroni-footer__booking.site-button { top: 490px; }
  body .maccheroni-footer .maccheroni-footer__credits { top: auto; bottom: 25px; }
}

/* Reuse the home editorial in Iconic dishes, with its own opening title. */
.piatti-editorial--story .piatti-editorial__main-title {
  color: transparent;
  -webkit-text-stroke: 1px var(--black);
}
@media (max-width: 440px) {
  .page-iconici .piatti-editorial { --home-unit: min(1px, calc(100vw / 440)); }
}

/* Shared outline weight on mobile, in both languages. */
@media (max-width: 440px) {
  .piatti-editorial__tradizione,
  .piatti-editorial__dal,
  .piatti-editorial--story .piatti-editorial__main-title,
  .restaurant-editorial__title-outline,
  .emotion__word--outline,
  .iconici-outline {
    -webkit-text-stroke-width: 0.5px;
  }
}

/* Voci, descrizioni e prezzi del menu IT/EN: riduzione del 15%. */
.page-menu .menu-category__item dt,
.page-menu .menu-category__item dd {
  font-size: 0.85em;
}
@media (max-width: 440px) {
  .page-menu .menu-category__item dd {
    font-size: clamp(11.9px, 3.6704547vw, 13.6px);
  }
}

/* Descrizioni dopo i due punti nel menu inglese. */
html:lang(en) .page-menu .menu-item-description {
  font-size: 0.8em;
  font-style: italic;
}

/* Bordo arancione per le voci della navigazione principale. */
.site-header .site-nav a:not([hidden]) {
  border: 1px solid var(--orange-color);
  padding: 15px 20px;
}

/* Navigazione e lingua: angoli smussati e riempimento da sinistra. */
.site-header .site-nav a:not([hidden]),
.site-header .language-button {
  position: relative;
  isolation: isolate;
  border-radius: 4px;
}
.site-header .language-button {
  border: 1px solid var(--orange-color);
  background: transparent;
}
.site-header .site-nav a:not([hidden])::before,
.site-header .language-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 3px;
  background: var(--orange-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms ease;
  pointer-events: none;
}
.site-header .site-nav a:not([hidden]):is(:hover, :focus-visible)::before,
.site-header .language-button:is(:hover, :focus-visible)::before {
  transform: scaleX(1);
}
.site-header .language-button:is(:hover, :focus-visible, :active) {
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav a:not([hidden])::before,
  .site-header .language-button::before {
    transition: none;
  }
}

/* Prenotazione: bordo SVG approvato, senza maschere CSS. */
.site-header .site-nav a[href$="reservation.html"] {
  border-color: transparent;
  animation: none;
}
.site-header .site-nav a[href$="reservation.html"]::after {
  content: none;
}
.site-header .site-nav .booking-svg {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  pointer-events: none;
  z-index: -1;
  overflow: visible;
}
.site-header .site-nav .booking-svg rect {
  fill: none;
  stroke: var(--orange-color);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 50 50;
  stroke-dashoffset: 0;
  animation: svg-border-travel 3s linear infinite;
}
@keyframes svg-border-travel {
  to { stroke-dashoffset: -100; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav a[href$="reservation.html"] {
    border-color: var(--orange-color);
  }
  .site-header .site-nav .booking-svg {
    display: none;
  }
}

/* Carte vini IT/EN: nomi, descrizioni e prezzi ridotti del 20%. */
.page-wine .wine-list__name,
.page-wine .wine-list__price {
  font-size: 0.8em;
}
.page-wine .wine-list__grapes {
  font-size: 0.704em;
}
@media (max-width: 440px) {
  .page-wine .wine-list__grapes {
    font-size: 0.64em;
  }
  .page-wine .wine-list__price {
    font-size: clamp(11.2px, 3.4545456vw, 12.8px);
  }
}

/* Crediti: firma sul margine destro, copyright sul margine sinistro. */
.maccheroni-footer__credits {
  width: 100%;
  justify-content: space-between;
}
.maccheroni-footer__credits > a {
  margin-left: auto;
  text-align: right;
}
@media (max-width: 440px) {
  body .maccheroni-footer .maccheroni-footer__credits {
    right: 6%;
    width: auto;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
  }
}

/* Social trasparenti: dimensioni raddoppiate nell'header e nel footer. */
.site-header .site-socials img {
  width: 31.392px;
  height: 31.392px;
  filter: brightness(0);
}
.maccheroni-footer .maccheroni-footer__social-links a {
  width: 56px;
  height: 56px;
}
.maccheroni-footer .maccheroni-footer__social-links img {
  width: 40.46px;
  height: 40.46px;
  max-width: 40.46px;
  max-height: 40.46px;
}
@media (max-width: 1279px) {
  .site-header .header-panel .site-socials img {
    width: clamp(38.4px, 6.08vw, 67.2px);
    height: clamp(38.4px, 6.08vw, 67.2px);
  }
  .site-header .header-panel .site-socials a {
    min-width: clamp(38.4px, 6.08vw, 67.2px);
    min-height: clamp(38.4px, 6.08vw, 67.2px);
  }
}
@media (max-width: 440px) {
  .maccheroni-footer .maccheroni-footer__social-links a {
    width: 48px;
    height: 48px;
  }
  .maccheroni-footer .maccheroni-footer__social-links img {
    width: 21.675px;
    height: 21.675px;
    max-width: 21.675px;
    max-height: 21.675px;
  }
}

/* Footer fino a 440px: composizione verticale condivisa IT/EN. */
@media (max-width: 440px) {
  body .maccheroni-footer {
    height: auto;
    min-height: calc((100svh - var(--header-height)) * 0.6);
  }
  body .maccheroni-footer .maccheroni-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(7, max-content);
    align-content: space-between;
    height: auto;
    min-height: calc((100svh - var(--header-height)) * 0.6);
    padding: 33.6px 22px 14.4px;
  }
  body .maccheroni-footer :is(.maccheroni-footer__top, .maccheroni-footer__brand, .maccheroni-footer__middle, .maccheroni-footer__bottom) {
    display: contents;
  }
  body .maccheroni-footer :is(.maccheroni-footer__logo-link, .maccheroni-footer__info, .maccheroni-footer__intro, .maccheroni-footer__booking, .maccheroni-footer__nav, .maccheroni-footer__social, .maccheroni-footer__credits) {
    position: static;
    inset: auto;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
  }
  body .maccheroni-footer .maccheroni-footer__logo-link { grid-row: 1; }
  body .maccheroni-footer .maccheroni-footer__logo {
    width: 100%;
    height: auto;
    max-width: none;
  }
  body .maccheroni-footer .maccheroni-footer__info {
    grid-row: 2;
    margin-top: 25.6px;
    align-items: flex-start;
    text-align: left;
    gap: 6px;
    overflow-wrap: anywhere;
  }
  body .maccheroni-footer .maccheroni-footer__intro {
    grid-row: 3;
    width: min(100%, 280px);
    margin-top: 36.8px;
    line-height: 1.15;
  }
  body .maccheroni-footer .maccheroni-footer__inner .maccheroni-footer__booking.site-button {
    position: static;
    inset: auto;
    grid-row: 4;
    justify-self: start;
    width: max-content;
    max-width: 100%;
    height: auto;
    min-height: 36px;
    margin-top: 25.6px;
    padding: 8px 12px;
    border: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: inherit;
    white-space: normal;
    text-align: center;
    font-family: var(--font-inter);
    font-weight: 300;
  }
  body .maccheroni-footer .maccheroni-footer__nav {
    grid-row: 5;
    margin-top: 67.2px;
    gap: 8px;
    align-items: flex-start;
  }
  body .maccheroni-footer .maccheroni-footer__social {
    grid-row: 6;
    margin-top: 57.6px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
  }
  body .maccheroni-footer .maccheroni-footer__social-links {
    gap: 30px;
  }
  body .maccheroni-footer .maccheroni-footer__social-links a {
    width: 30px;
    height: 36px;
  }
  body .maccheroni-footer .maccheroni-footer__newsletter { display: none; }
  body .maccheroni-footer .maccheroni-footer__credits {
    grid-row: 7;
    margin-top: 49.6px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
    white-space: normal;
  }
  body .maccheroni-footer .maccheroni-footer__credits :is(span, a) {
    font-size: clamp(10px, 2.7vw, 12px) !important;
  }
}

/* Mobile compatto: footer nella viewport disponibile sotto la navbar. */
@media (max-width: 375px) and (max-height: 667px) {
  body .maccheroni-footer,
  body .maccheroni-footer .maccheroni-footer__inner {
    min-height: calc(100svh - var(--header-height));
  }
  body .maccheroni-footer .maccheroni-footer__inner {
    padding-block: 14px 10px;
    align-content: space-between;
  }
  body .maccheroni-footer .maccheroni-footer__info {
    margin-top: 8px;
    gap: 4px;
  }
  body .maccheroni-footer .maccheroni-footer__intro {
    margin-top: 12px;
  }
  body .maccheroni-footer .maccheroni-footer__inner .maccheroni-footer__booking.site-button {
    margin-top: 10px;
  }
  body .maccheroni-footer .maccheroni-footer__nav {
    margin-top: 16px;
    gap: 6px;
  }
  body .maccheroni-footer .maccheroni-footer__social {
    margin-top: 14px;
    gap: 10px;
  }
  body .maccheroni-footer .maccheroni-footer__credits {
    margin-top: 10px;
  }
}

/* Hero ristorante mobile: contenuti nell'area disponibile sotto la navbar. */
@media (max-width: 440px) {
  .page-ristorante .restaurant-hero {
    height: calc(100svh - var(--header-height));
    min-height: 0;
  }
  .page-ristorante .restaurant-hero__title {
    font-size: min(18vw, calc((100svh - var(--header-height)) * 0.14));
    line-height: 0.9;
  }
  .page-ristorante .restaurant-hero__word--welcome { top: 6%; }
  .page-ristorante .restaurant-hero__word--da { top: 24%; }
  .page-ristorante .restaurant-hero__word--maccheroni { top: 42%; }
  .page-ristorante .restaurant-hero .restaurant-editorial__intro {
    left: 5%;
    bottom: 30px;
    width: 90%;
    max-width: 320px;
    gap: clamp(12px, 2.4svh, 20px);
  }
  .page-ristorante .restaurant-hero .restaurant-editorial__intro-text {
    margin: 0;
    font-size: clamp(14px, 2.4svh, 16px);
    line-height: 1.1;
    letter-spacing: 0;
  }
  .page-ristorante .restaurant-hero .restaurant-editorial__intro-text br {
    display: none;
  }
}

/* Newsletter footer temporaneamente disattivata: rimuovere questo blocco per riattivarla. */
body .maccheroni-footer .maccheroni-footer__newsletter {
  display: none;
}
@media (min-width: 441px) {
  body .maccheroni-footer .maccheroni-footer__middle {
    display: flex;
    justify-content: flex-end;
    gap: 0;
  }
}

/* Footer laptop/desktop: brand a sinistra, contatti e social al centro, link a destra. */
@media (min-width: 1024px) {
  body .maccheroni-footer {
    min-height: clamp(360px, 27.6vw, 480px);
  }
  body .maccheroni-footer .maccheroni-footer__inner {
    display: grid;
    grid-template-columns: 44.5% minmax(0, 1fr) max-content;
    grid-template-rows: auto auto minmax(32px, 1fr) auto;
    min-height: inherit;
    padding: clamp(40px, 4vw, 64px) 3.3% 24px;
    column-gap: 0;
    row-gap: 0;
  }
  body .maccheroni-footer :is(.maccheroni-footer__top, .maccheroni-footer__middle, .maccheroni-footer__bottom) {
    display: contents;
  }
  body .maccheroni-footer .maccheroni-footer__brand {
    grid-column: 1;
    grid-row: 1 / 3;
    width: min(28vw, 440px);
    min-width: 0;
  }
  body .maccheroni-footer .maccheroni-footer__logo {
    width: min(24vw, 405px);
    max-width: 100%;
  }
  body .maccheroni-footer .maccheroni-footer__intro {
    margin-top: clamp(20px, 2.6vw, 36px);
    max-width: 100%;
  }
  body .maccheroni-footer .maccheroni-footer__booking.site-button {
    width: max-content;
    max-width: 100%;
    min-width: 0;
    padding-inline: 16px;
    margin-top: clamp(20px, 2.6vw, 36px);
  }
  body .maccheroni-footer .maccheroni-footer__info {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 18px;
    text-align: left;
    gap: 6px;
  }
  body .maccheroni-footer .maccheroni-footer__nav {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: start;
    padding-top: 18px;
  }
  body .maccheroni-footer .maccheroni-footer__social {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
    align-self: end;
    gap: clamp(16px, 2vw, 30px);
    padding: 0;
  }
  body .maccheroni-footer .maccheroni-footer__social-links {
    gap: clamp(16px, 2vw, 30px);
  }
  body .maccheroni-footer .maccheroni-footer__credits {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
  }
}

/* Freccia condivisa con gli altri pulsanti, anche nella prenotazione del footer. */
.maccheroni-footer .maccheroni-footer__booking.site-button {
  gap: 16px;
}
.maccheroni-footer .maccheroni-footer__booking .menu-button__arrow {
  width: 26px;
  height: auto;
  flex: 0 0 26px;
}

/* Menu fino a 440px: hover tipografico, senza riempimento o sottolineatura. */
@media (max-width: 440px) {
  .site-header .header-panel .site-nav a:not([hidden]) {
    transition-property: transform, font-size, color;
    transition-duration: 750ms, 180ms, 180ms;
    transition-timing-function: cubic-bezier(.45, 0, .2, 1), ease, ease;
  }
  .site-header.is-menu-open .header-panel .site-nav a:not([hidden]) {
    transition-duration: 1600ms, 180ms, 180ms;
    transition-timing-function: cubic-bezier(.25, .46, .25, 1), ease, ease;
    transition-delay: calc(380ms + var(--menu-order, 0) * 150ms), 0s, 0s;
  }
  .site-header .header-panel .site-nav a:not([hidden])::before,
  .site-header .header-panel .site-nav a:not([hidden])::after {
    content: none;
  }
  .site-header .header-panel .site-nav a:not([hidden]):is(:hover, :focus-visible) {
    font-size: calc(min(10.8vw, 9dvh) * var(--nav-label-scale, 1) * 1.05);
    color: var(--whitelight);
    text-decoration: none;
  }
}
