/* ==========================================================
   MADRIZ — landing
   I colori del brand sono tutti qui: cambiandoli si aggiorna
   l'intero sito, loghi compresi (sono maschere CSS).
   ========================================================== */
:root {
  --rosso: #7A2B25;
  --rosso-scuro: #5E1F1A;
  --crema: #F5F0E9;
  --oro: #F0E0B0;
  --ink: #2B1310;

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Jost", "Futura", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--crema);
  color: var(--rosso);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Loghi (maschere colorabili) ---------- */
.logo {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat;
          mask: var(--src) center / contain no-repeat;
}
.logo--wordmark       { --src: url(../assets/logo/wordmark.png);   aspect-ratio: 1126 / 393; }
.logo--wordmark-small { --src: url(../assets/logo/wordmark-lower.png); aspect-ratio: 1125 / 369; }
.logo--symbol         { --src: url(../assets/logo/symbol.png);     aspect-ratio: 747 / 787; }
.logo--seal           { --src: url(../assets/logo/seal.png);       aspect-ratio: 1; }
.logo--seal-motto     { --src: url(../assets/logo/seal-motto.png); aspect-ratio: 1; }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  opacity: .85;
}
.display {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.02em;
}
.display em { font-weight: 300; }

.line { display: block; overflow: hidden; }
.line > span { display: inline-block; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--crema);
  color: var(--rosso);
}
.loader__symbol { width: clamp(90px, 14vw, 150px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  color: var(--rosso);
  transition: color .5s var(--ease), transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav[data-theme="dark"] { color: var(--crema); }
.nav[data-theme="gold"] { color: var(--rosso); }
.nav__brand { display: flex; }
.nav__brand .logo { width: 110px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a, .nav__cta {
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  padding: 10px 20px; border: 1px solid currentColor; border-radius: 999px;
  transition: background-color .3s, color .3s;
}
.nav__cta:hover { background: currentColor; }
.nav__cta:hover { color: var(--crema); }
.nav[data-theme="dark"] .nav__cta:hover { color: var(--rosso); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 100px;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; text-align: center; width: 100%; }
.hero__eyebrow { display: flex; justify-content: center; gap: .8em; }
.hero__eyebrow span { display: inline-block; }
.hero__wordmark { width: min(70vw, 900px); }
.hero__title { line-height: 0; }
.hero__lead {
  margin-top: 2.2rem;
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.35;
}
.hero__lead em { font-weight: 400; }
.hero__media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85);
}
/* Velo crema: sfuma il video e lo fonde con lo sfondo */
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(245, 240, 233, .88) 0%, rgba(245, 240, 233, .6) 55%, rgba(245, 240, 233, .35) 100%),
    linear-gradient(to bottom, rgba(245, 240, 233, .7) 0%, rgba(245, 240, 233, 0) 22%, rgba(245, 240, 233, 0) 70%, var(--crema) 100%);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
}
.scroll-cue i {
  width: 1px; height: 46px; background: currentColor; opacity: .5;
  transform-origin: top; animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--rosso);
  color: var(--crema);
  padding: clamp(110px, 18vh, 200px) var(--gutter);
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}
.manifesto__text {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 350;
  font-size: clamp(1.9rem, 4.6vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  max-width: 1200px;
}
.manifesto__text em { color: var(--oro); font-weight: 300; }
.manifesto__inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.manifesto__media {
  margin: 0; justify-self: end;
  width: min(100%, 380px); aspect-ratio: 9 / 16;
  border-radius: 18px; overflow: hidden;
  background: var(--rosso-scuro);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
}
.manifesto__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.word { display: inline-block; opacity: .14; }

/* ---------- Origine (orizzontale) ---------- */
.origin { position: relative; overflow: hidden; background: var(--crema); }
.origin__track {
  display: flex; align-items: stretch;
  height: 100vh;
  width: max-content;
}
.origin__panel {
  flex: 0 0 auto;
  width: min(62vw, 760px);
  height: 100%;
  padding: 16vh var(--gutter) 10vh;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid rgba(122, 43, 37, .16);
}
.origin__panel--intro { width: min(70vw, 820px); border-right: 0; }
.origin__hint { margin-top: 2.4rem; font-size: 14px; letter-spacing: .08em; opacity: .7; }
.origin__year {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 300;
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: .9; letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--rosso);
  margin-bottom: 1.6rem;
}
.origin__year--gold { color: var(--rosso); -webkit-text-stroke: 0; }
.origin__body h3 {
  font-family: var(--font-sans); font-weight: 500; font-size: 13px;
  letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1rem;
}
.origin__body p { max-width: 44ch; font-size: clamp(1rem, 1.25vw, 1.15rem); }
.origin__panel--photo { width: auto; padding: 12vh 4vw; border-right: 0; }
.origin__figure {
  margin: 0; height: 100%; aspect-ratio: 3 / 4.2;
  border-radius: 18px; overflow: hidden;
}
.origin__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; scale: 1.15; }
.origin__panel--end { border-right: 0; padding-right: 12vw; width: min(74vw, 900px); }

/* Disegni della storia */
.origin__doodle { height: clamp(110px, 21vh, 190px); margin-bottom: 1.4rem; color: var(--rosso); }
.doodle { height: 100%; width: auto; overflow: visible; }
.doodle .d {
  fill: none; stroke: currentColor; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.doodle .d.thick { stroke-width: 5; }
.doodle .f { fill: currentColor; }
.doodle text { font-family: var(--font-sans); font-size: 7px; font-weight: 500; letter-spacing: .06em; }

/* ---------- Anatomia ---------- */
.anatomy { background: var(--ink); color: var(--crema); }
.anatomy__stage {
  position: relative;
  height: 100vh;
  display: grid; place-items: center;
  overflow: hidden;
}
.anatomy__head {
  position: absolute; top: 14vh; left: var(--gutter); z-index: 3;
}
.anatomy__head .display { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.anatomy__head em { color: var(--oro); }
.anatomy__figure {
  margin: 0; position: relative; z-index: 1;
  height: 78vh; aspect-ratio: 9 / 14;
  border-radius: 20px;
  overflow: hidden;
}
.anatomy__figure video { width: 100%; height: 100%; object-fit: cover; display: block; }
.anatomy__notes { list-style: none; margin: 0; padding: 0; }
.note {
  position: absolute; z-index: 2;
  width: min(300px, 30vw);
  padding-top: 18px;
  border-top: 1px solid rgba(240, 224, 176, .5);
}
.note__n {
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--oro);
}
.note h3 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1; margin: .3rem 0 .6rem;
}
.note p { font-size: 15px; opacity: .8; }
.note--1 { right: var(--gutter); top: 16vh; }
.note--2 { left: var(--gutter); bottom: 9vh; }
.note--3 { right: var(--gutter); bottom: 12vh; }
.note--4 { left: var(--gutter); top: 46vh; }

/* ---------- Confronto ---------- */
.versus { padding: clamp(110px, 18vh, 200px) var(--gutter); }
.versus__head { margin-bottom: clamp(3rem, 8vh, 6rem); }
.versus__table { border-top: 1px solid var(--rosso); }
.versus__row {
  display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(122, 43, 37, .22);
  align-items: baseline;
}
.versus__row > :first-child {
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500;
}
.versus__row > :nth-child(2) {
  font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.6rem); opacity: .45;
}
.versus__row > :nth-child(3) {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.3vw, 2.1rem); font-style: italic;
}
.versus__row--head > * {
  font-family: var(--font-sans) !important; font-style: normal !important;
  font-size: 12px !important; letter-spacing: .3em; text-transform: uppercase; opacity: 1 !important;
  font-weight: 500;
}
.versus__row--head { padding: 18px 0; }
.versus__aside {
  margin-top: 2.4rem; text-align: right;
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem; opacity: .7;
}

/* ---------- Assaggi ---------- */
.tastes {
  background: var(--oro);
  padding: clamp(110px, 18vh, 200px) var(--gutter) clamp(140px, 24vh, 260px);
}
.tastes__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: end;
  margin-bottom: clamp(4rem, 10vh, 8rem);
}
.tastes__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.tastes__lead { max-width: 40ch; font-size: 1.1rem; }
.tastes__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
}
.tastes__col { display: flex; flex-direction: column; gap: clamp(16px, 3vw, 44px); }
.tastes__col--offset { margin-top: 18vh; }
.taste { margin: 0; }
.taste__img {
  overflow: hidden; border-radius: 14px;
  aspect-ratio: 4 / 5.4;
  background: rgba(122, 43, 37, .08);
}
.taste__img img, .taste__img video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.taste:hover .taste__img > * { transform: scale(1.06); }
.taste figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-top: 14px;
  border-bottom: 1px solid rgba(122, 43, 37, .3);
  padding-bottom: 10px;
}
.taste figcaption span { font-family: var(--font-display); font-size: 1.4rem; }
.taste figcaption small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

/* ---------- Vetrina dei gusti ---------- */
.menu {
  background: var(--ink); color: var(--crema);
  padding: clamp(110px, 18vh, 190px) var(--gutter) clamp(90px, 14vh, 150px);
  overflow: hidden;
}
.menu__head { text-align: center; margin-bottom: clamp(3rem, 8vh, 5.5rem); }
.menu__head .display em { color: var(--oro); }
.menu__lead { margin-top: 1.4rem; font-size: 1.1rem; opacity: .85; }
.menu__cakes {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 64px);
}
.cake { width: min(340px, 100%); text-align: center; }
.cake__svg { width: 100%; height: auto; overflow: visible; display: block; }
.cake__plate { fill: rgba(245, 240, 233, .05); stroke: rgba(245, 240, 233, .22); stroke-width: 1; }
.cake__plate--inner { fill: none; stroke-dasharray: 2 4; }
.slice { cursor: pointer; outline: none; transform: translate(0, 0); transition: transform .5s var(--ease); }
.slice__fill { stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; transition: filter .3s; }
.slice__burn { pointer-events: none; }
.slice__crust { fill: none; stroke: #4A220E; stroke-opacity: .45; stroke-width: 6; stroke-linecap: round; pointer-events: none; }
.slice:hover, .slice.is-active, .slice:focus-visible { transform: translate(var(--dx), var(--dy)); }
.slice.is-active .slice__fill { filter: brightness(1.08) drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.slice:focus-visible .slice__fill { stroke: var(--oro); stroke-width: 3; }
.cake__info { margin-top: 26px; min-height: 104px; }
.cake__family {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
  color: var(--oro); margin-bottom: .6rem;
}
.cake__name { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.cake__desc { margin-top: .4rem; font-size: 15px; opacity: .75; }
.cake__info.is-swap .cake__name, .cake__info.is-swap .cake__desc { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu__soon {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: clamp(3rem, 7vh, 5rem);
  font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--oro);
}
.menu__dot {
  width: 9px; height: 9px; border-radius: 50%; background: #E8893A;
  box-shadow: 0 0 0 0 rgba(232, 137, 58, .6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(232, 137, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 137, 58, 0); } }

/* ---------- Perché Madriz ---------- */
.city { background: var(--crema); padding: clamp(80px, 14vh, 160px) 0; overflow: hidden; }
.marquee { overflow: hidden; margin-bottom: clamp(4rem, 12vh, 9rem); }
.marquee__row {
  display: flex; align-items: center; gap: 4vw; width: max-content;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: clamp(5rem, 16vw, 15rem);
  line-height: 1; letter-spacing: -.04em; font-weight: 400;
  white-space: nowrap;
}
.marquee__row span:nth-of-type(even) { font-style: italic; font-weight: 300; }
.marquee__row .logo { width: .6em; }
.city__inner {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding: 0 var(--gutter);
}
.city__seal { display: grid; place-items: center; }
.city__seal .logo { width: min(100%, 420px); }
.city__text .display { font-size: clamp(2.4rem, 5vw, 4.8rem); margin-bottom: 2rem; }
.city__text p:not(.eyebrow) { max-width: 48ch; font-size: 1.1rem; margin-bottom: 1.1rem; }

/* ---------- Finale ---------- */
.finale {
  position: relative;
  min-height: 100vh;
  background: var(--rosso); color: var(--crema);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 140px var(--gutter);
  overflow: hidden;
}
.finale__seal {
  position: absolute; width: min(120vw, 1100px); color: var(--crema); opacity: .07;
  pointer-events: none;
}
.finale__motto {
  position: relative;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 350;
  font-size: clamp(2.6rem, 8vw, 7.6rem);
  line-height: 1; letter-spacing: -.025em;
}
.finale__motto .line { padding-bottom: .08em; }
.line--gold { color: var(--oro); }
.line--gold em { font-weight: 300; }
.finale__cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 3.6rem; }
.btn {
  display: inline-block; text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 30px; border-radius: 999px;
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn--gold { background: var(--oro); color: var(--rosso); }
.btn--ghost { border: 1px solid rgba(245, 240, 233, .5); color: var(--crema); }
.btn--ghost:hover { background: var(--crema); color: var(--rosso); }

/* ---------- Social ---------- */
.social { display: flex; gap: 12px; }
.social__link {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(245, 240, 233, .45);
  color: var(--crema);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.social__link svg { width: 20px; height: 20px; }
.social__link:hover { background: var(--crema); color: var(--rosso); transform: translateY(-3px); }
.finale__cta { align-items: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--rosso-scuro); color: var(--crema);
  padding: 44px var(--gutter) 24px;
}
.footer__top {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.footer__wordmark { width: clamp(150px, 16vw, 220px); color: var(--crema); }
.footer .social__link { width: 42px; height: 42px; }
.footer .social__link svg { width: 18px; height: 18px; }
.footer__meta a { text-decoration: none; text-transform: none; letter-spacing: .06em; font-size: 13px; }
.footer__meta a:hover { text-decoration: underline; }
.footer__meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid rgba(245, 240, 233, .2);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .75;
}

/* ---------- Grana ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__brand .logo { width: 92px; }
  .nav__cta { padding: 8px 16px; font-size: 12px; }

  .hero__wordmark { width: 86vw; }
  .hero__veil {
    background:
      radial-gradient(ellipse 90% 45% at 50% 50%, rgba(245, 240, 233, .9) 0%, rgba(245, 240, 233, .65) 60%, rgba(245, 240, 233, .45) 100%),
      linear-gradient(to bottom, rgba(245, 240, 233, .6) 0%, rgba(245, 240, 233, 0) 20%, rgba(245, 240, 233, 0) 70%, var(--crema) 100%);
  }

  /* Spaziature più compatte */
  .eyebrow { margin-bottom: 1rem; font-size: 11px; }
  .display { font-size: clamp(2.3rem, 10vw, 3rem); line-height: 1; }
  .manifesto { min-height: auto; padding: 80px var(--gutter); }
  .manifesto__text { font-size: 1.75rem; }
  .manifesto__inner { grid-template-columns: 1fr; gap: 36px; }
  .manifesto__media { justify-self: center; width: min(78vw, 340px); }
  .origin__year { font-size: 4.2rem; margin-bottom: 1.2rem; }
  .versus { padding: 72px var(--gutter); }
  .versus__head { margin-bottom: 2rem; }
  .versus__row { padding: 16px 0; }
  .versus__aside { margin-top: 1.4rem; }
  .tastes { padding: 72px var(--gutter) 80px; }
  .tastes__head { gap: 16px; margin-bottom: 2.4rem; }
  .city { padding: 56px 0 72px; }
  .marquee { margin-bottom: 2.4rem; }
  .city__inner { gap: 32px; }
  .city__text .display { margin-bottom: 1.2rem; }
  .finale { min-height: auto; padding: 96px var(--gutter); }
  .finale__cta { margin-top: 2.4rem; }
  .footer__meta { flex-direction: column; }

  /* Origine diventa verticale */
  .origin__track { flex-direction: column; height: auto; width: 100%; }
  .origin__panel, .origin__panel--intro, .origin__panel--end {
    width: 100%; height: auto; padding: 44px var(--gutter);
    border-right: 0; border-bottom: 1px solid rgba(122, 43, 37, .16);
  }
  .origin__panel--intro { padding-top: 72px; padding-bottom: 8px; border-bottom: 0; }
  .origin__hint { display: none; }
  .origin__doodle { height: auto; width: min(78%, 300px); margin-bottom: 1rem; }
  .doodle { width: 100%; height: auto; }
  .origin__year { font-size: 3.6rem; }

  .menu { padding: 72px 0 64px; }
  .menu__head { padding: 0 var(--gutter); margin-bottom: 2.2rem; }
  .menu__cakes {
    flex-wrap: nowrap; justify-content: flex-start; gap: 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 10px var(--gutter) 6px; scrollbar-width: none;
  }
  .menu__cakes::-webkit-scrollbar { display: none; }
  .cake { flex: 0 0 80vw; max-width: 330px; scroll-snap-align: center; }
  .cake__name { font-size: 1.45rem; }
  .menu__soon { padding: 0 var(--gutter); margin-top: 2rem; font-size: 1.05rem; }
  .origin__panel--photo { padding: 8px var(--gutter) 24px; }
  .origin__figure { height: auto; width: 100%; }

  .anatomy__stage { height: auto; display: block; padding: 72px var(--gutter) 48px; }
  .anatomy__head { position: static; margin-bottom: 28px; }
  .anatomy__figure { height: auto; width: 100%; max-width: 420px; margin: 0 auto 36px; }
  .note { position: static; width: 100%; margin-bottom: 24px; padding-top: 14px; }
  .note--4 { display: block; }

  .versus__row { grid-template-columns: 1fr 1fr; gap: 6px 18px; }
  .versus__row > :first-child { grid-column: 1 / -1; margin-bottom: 6px; }
  .versus__row--head > :first-child { display: none; }

  .tastes__head { grid-template-columns: 1fr; }
  .tastes__grid { grid-template-columns: 1fr 1fr; }
  .tastes__col { display: contents; }
  .tastes__col--offset { margin-top: 0; }
  .taste:nth-child(even) { margin-top: 0; }
  .taste figcaption { flex-direction: column; gap: 2px; }
  .taste figcaption span { font-size: 1.15rem; }

  .city__inner { grid-template-columns: 1fr; }
  .city__seal .logo { width: 62vw; }
}

@media (min-width: 901px) and (max-height: 760px) {
  .note--4 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-cue i { animation: none; }
  .word { opacity: 1; }
}
