/* ==========================================================================
   LA PIZZA A MODO MIO — SITO VETRINA
   Palette e tipografia coerenti con il menu digitale (dds-sito-completo).
   Tema di default: scuro (editoriale, foto grandi, dettagli ottone).
   ========================================================================== */

:root {
  /* Palette brand DDS: bianco + oro (logo). Nero caldo per testo. */
  --void: #FFFFFF;           /* bianco brand */
  --surface: #FFFFFF;        /* bianco puro */
  --surface-2: #FAF6EC;      /* panna leggerissima */
  --surface-3: #F2EADC;      /* panna calda */

  --line: rgba(28, 20, 16, 0.12);
  --line-2: rgba(28, 20, 16, 0.26);

  --ivory: #1C1410;          /* nero caldo per testo */
  --sage: #5A4A3A;           /* grigio caldo */
  --sage-dim: #8A7560;

  /* Accent = ORO (brand). Alias "tomato" rimappato su oro per coerenza. */
  --brass: #B8954F;          /* oro brand (match logo "MODO MIO") */
  --brass-hi: #D4B271;       /* oro chiaro / highlight */
  --brass-deep: #8C6A30;     /* oro scuro / ombra */
  --tomato: #B8954F;         /* alias oro (ex rosso) */
  --tomato-hi: #D4B271;
  --tomato-deep: #8C6A30;
  --basil: #5A4A3A;          /* neutro caldo (ex basilico) */
  --basil-hi: #7A6450;
  --crosta: #E8D4A8;         /* crema oro chiarissimo */
  --ink: #1C1410;            /* alias nero caldo */
  --ink-soft: #5A4A3A;       /* grigio caldo */

  --shadow-md: 0 18px 44px -24px rgba(28, 20, 16, 0.22);
  --shadow-lg: 0 50px 100px -50px rgba(28, 20, 16, 0.3);
  --shadow-stamp: 2px 2px 0 var(--brass-deep);

  --font-display: 'Bodoni Moda', 'Times New Roman', serif;
  --font-ui: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-script: 'Dancing Script', cursive;

  --pad-x: clamp(1.15rem, 5vw, 4rem);
  --wrap: 1200px;
  --nav-h: 76px;

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

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--void);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--void);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(184, 149, 79, 0.03) 0, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(184, 149, 79, 0.04) 0, transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.18  0 0 0 0 0.08  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.serif-light { font-weight: 400; font-style: normal; color: var(--ivory); }
.serif-ita { font-style: italic; font-weight: 500; }
.script {
  font-family: var(--font-script);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--tomato);
}
.brass { color: var(--brass); }
.tomato { color: var(--tomato); }
.basil { color: var(--basil); }
.muted { color: var(--sage-dim); }

/* Stamp — timbrato stile pizzaiolo napoletano */
.stamp {
  display: inline-block;
  padding: .35rem .9rem;
  border: 2px solid var(--tomato);
  color: var(--tomato);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  background: rgba(251, 246, 236, 0.6);
  border-radius: 4px;
}
.stamp--round {
  border-radius: 50%;
  width: 90px; height: 90px;
  display: grid; place-items: center;
  text-align: center;
  line-height: 1.1;
  font-size: .68rem;
  padding: .5rem;
}
.stamp--brass { border-color: var(--brass); color: var(--brass); }
.stamp--basil { border-color: var(--basil); color: var(--basil); }

/* Handwritten tagline */
.scribble {
  font-family: var(--font-script);
  color: var(--tomato);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
  display: inline-block;
  transform: rotate(-2deg);
}

::selection { background: var(--tomato); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 3px; }

.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.76rem;
  color: var(--tomato);
  font-weight: 700;
  position: relative;
  padding-left: 1.6rem;
  display: inline-block;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 1.1rem; height: 2px;
  background: var(--tomato);
  transform: translateY(-50%);
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  display: flex; align-items: center; gap: 1.2rem;
  background: rgba(251, 246, 236, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled {
  background: rgba(251, 246, 236, 0.97);
  border-bottom-color: var(--tomato);
  border-bottom-width: 2px;
  box-shadow: 0 4px 20px -10px rgba(50,25,10,0.18);
}
.nav__brand { flex: 0 0 auto; height: 44px; display: flex; align-items: center; }
.nav__brand img { height: 100%; width: auto; filter: invert(1) hue-rotate(180deg) brightness(0.6) saturate(1.3); }

.nav__links {
  display: flex; gap: 2.1rem; margin-left: auto;
  font-size: 0.92rem; font-weight: 500;
}
.nav__links a {
  position: relative; padding: .4rem 0;
  color: var(--sage); letter-spacing: 0.02em;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.active {
  color: var(--ivory);
}
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 1rem; }

.lang { display: inline-flex; gap: .35rem; }
.lang__btn {
  width: 32px; height: 32px; border-radius: 50%;
  overflow: hidden; opacity: 0.45; transition: all .2s var(--ease);
  border: 1.5px solid transparent;
}
.lang__btn img { width: 100%; height: 100%; object-fit: cover; }
.lang__btn:hover { opacity: 0.85; }
.lang__btn.active {
  opacity: 1; border-color: var(--brass);
  box-shadow: 0 0 0 2px rgba(201, 168, 104, 0.15);
}

.nav__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.3rem;
  background: var(--brass); color: var(--ivory);
  border-radius: 999px;
  font-weight: 700; font-size: .88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 0 var(--brass-deep), 0 10px 20px -8px rgba(184,149,79,0.4);
  transition: all .2s var(--ease);
}
.nav__cta:hover {
  background: var(--brass-hi); color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--brass-deep), 0 14px 24px -8px rgba(184,149,79,0.5);
}
.nav__cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--brass-deep);
}

.nav__burger {
  display: none; width: 42px; height: 42px;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 0 10px; margin-left: auto;
}
.nav__burger span {
  display: block; height: 2px; background: var(--ivory); border-radius: 2px;
  transition: all .3s var(--ease);
}
[data-theme="light"] .nav__burger span { background: var(--ivory); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 2rem) var(--pad-x) 4rem;
  display: grid; place-items: center;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); filter: brightness(0.38) saturate(1.1) contrast(1.05);
  animation: heroZoom 18s var(--ease-out) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(28,20,16,0.35) 0%, rgba(28,20,16,0.7) 70%),
    linear-gradient(180deg, rgba(28,20,16,0.5) 0%, rgba(28,20,16,0.3) 50%, rgba(28,20,16,0.85) 100%);
}
.hero__scrim::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(184,149,79,0.12), transparent 50%),
              radial-gradient(circle at 85% 70%, rgba(184,149,79,0.15), transparent 55%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 920px;
  text-align: center;
  padding: 1rem;
}
.hero__title {
  font-size: clamp(2.8rem, 8.5vw, 6.4rem);
  line-height: .95;
  margin: 1.1rem 0 .4rem;
  text-shadow: 0 2px 24px rgba(251,246,236,0.6);
  letter-spacing: -0.025em;
}
.hero__title span { display: block; }
.hero__title span:last-child {
  color: var(--tomato);
  font-style: italic;
  font-weight: 600;
  transform: rotate(-1deg);
  display: inline-block;
}
.hero__title--logo {
  margin: 0 auto 1.6rem;
  max-width: 900px;
  text-shadow: none;
  filter: drop-shadow(0 6px 24px rgba(28,20,16,0.12));
}
.hero__title--logo img {
  width: 100%;
  height: auto;
  display: block;
}
.hero__claim {
  max-width: 620px; margin: 0 auto 2.2rem;
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
}
.hero .eyebrow { color: var(--brass-hi); }
.hero__scribble { color: var(--brass-hi) !important; }
.hero .btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 4px 4px 0 rgba(255,255,255,0.4);
}
.hero .btn--ghost:hover {
  background: var(--brass);
  color: var(--ivory);
  border-color: var(--brass);
  box-shadow: 4px 4px 0 var(--brass-deep);
}
.hero__ctas {
  display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3.2rem;
}
.hero__scribble {
  margin: -.6rem auto 1.8rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--tomato);
  transform: rotate(-3deg);
  display: block;
}
.hero__marks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  max-width: 760px; margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero__marks li { padding: 0 .5rem; }
.hero__marks span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}
.hero__marks em {
  display: block; font-style: normal;
  font-size: .8rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dim);
  margin-top: .5rem;
}

.hero__stamp {
  position: absolute;
  top: calc(var(--nav-h) + 2rem);
  right: clamp(1rem, 5vw, 4rem);
  z-index: 3;
  width: 120px; height: 120px;
  background: var(--surface);
  color: var(--tomato) !important;
  border: 3px solid var(--tomato);
  transform: rotate(-12deg);
  box-shadow: 4px 4px 0 var(--tomato-deep);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.hero__stamp span { font-size: .78rem; }
@media (max-width: 760px) {
  .hero__stamp { width: 80px; height: 80px; top: calc(var(--nav-h) + .5rem); right: .8rem; }
  .hero__stamp span { font-size: .58rem; }
}

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%;
  width: 24px; height: 42px;
  transform: translateX(-50%);
  border: 1.5px solid var(--brass);
  border-radius: 14px; z-index: 2;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%;
  width: 3px; height: 7px; background: var(--brass);
  border-radius: 2px; transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease-out) infinite;
}
@keyframes scrollDot {
  0%   { transform: translate(-50%, 0); opacity: 1; }
  70%  { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all .25s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--brass); color: var(--ivory);
  box-shadow: 0 5px 0 var(--brass-deep), 0 14px 24px -10px rgba(184,149,79,0.45);
}
.btn--primary:hover {
  background: var(--brass-hi); color: var(--ivory);
  transform: translateY(-3px);
  box-shadow: 0 8px 0 var(--brass-deep), 0 20px 30px -10px rgba(184,149,79,0.55);
}
.btn--primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--brass-deep);
}
.btn--ghost {
  background: var(--surface);
  color: var(--ivory);
  border: 2px solid var(--ivory);
  box-shadow: 4px 4px 0 var(--ivory);
}
.btn--ghost:hover {
  background: var(--brass);
  color: var(--ivory);
  border-color: var(--brass-deep);
  box-shadow: 4px 4px 0 var(--brass-deep);
  transform: translate(-2px, -2px);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  max-width: 100%;
  position: relative;
}
.section > *:not(.section__kicker):not(.rule) {
  max-width: var(--wrap);
  margin-left: auto; margin-right: auto;
}
.section--rule { padding: 2rem var(--pad-x); }

.section__kicker {
  display: flex; align-items: center; gap: .9rem;
  margin: 0 auto 2rem; max-width: var(--wrap);
  color: var(--tomato);
}
.section__kicker.center { justify-content: center; }
.section__kicker img {
  width: 48px; height: 48px; object-fit: contain;
  filter: sepia(1) saturate(4) hue-rotate(-15deg) brightness(.75);
  transform: rotate(-6deg);
}
.section__kicker span {
  font-family: var(--font-script);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--tomato);
  letter-spacing: 0;
  text-transform: none;
}
.section__kicker::after {
  content: ''; flex: 1; height: 2px; background: var(--tomato); max-width: 140px;
  opacity: .4;
}
.section__kicker.center::after { display: none; }
.section__kicker.center::before {
  content: ''; flex: 1; height: 2px; background: var(--tomato); max-width: 100px;
  opacity: .4;
}

.h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}
.h2.center { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.h2 span { display: block; }

.section__lede {
  max-width: 760px;
  margin-left: auto; margin-right: auto;
  color: var(--sage);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ==========================================================================
   STORIA
   ========================================================================== */
.storia__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.storia__text p {
  color: var(--sage);
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}
.storia__text p strong { color: var(--ivory); font-weight: 600; }
.storia__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.storia__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1;
}
.storia__stats em {
  display: block; font-style: normal;
  font-size: .78rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--sage-dim);
  margin-top: .5rem;
}

.storia__media { display: grid; gap: 1.4rem; }
.storia__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-3);
  box-shadow: var(--shadow-md);
}
.storia__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.storia__photo:hover img { transform: scale(1.04); }
.storia__card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
}
.storia__card img {
  width: 48px; height: 48px; margin-bottom: .9rem;
  filter: brightness(0) opacity(.65);
}
.storia__card h4 { font-size: 1.5rem; margin-bottom: .5rem; }
.storia__card p { color: var(--sage); font-size: .95rem; }

.storia__quote {
  position: relative;
  padding: 1.8rem 1.8rem 1.8rem 2.8rem;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 14px;
}
.storia__quote i {
  position: absolute; top: 1.2rem; left: 1rem; font-size: 1.1rem;
}
.storia__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ivory);
  line-height: 1.5;
  margin-bottom: .8rem;
}
.storia__quote cite {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brass);
  font-style: normal;
}

/* ==========================================================================
   TRIPTYCH
   ========================================================================== */
.triptych {
  display: flex;
  width: 100%;
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
}
.triptych__item {
  position: relative;
  flex: 1 1 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
  isolation: isolate;
}
.triptych__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.triptych__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.7) 0%, rgba(10,10,10,.1) 55%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.triptych__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  color: #fff;
  z-index: 2;
}
.triptych__eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
}
.triptych__title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
  font-weight: 500;
}
.triptych__arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--brass);
}

@media (max-width: 760px) {
  .triptych { flex-direction: row; gap: 4px; }
  .triptych__item { flex: 1 1 0; min-width: 0; aspect-ratio: 3 / 4; }
  .triptych__item img { object-position: center; }
  .triptych__overlay { padding: .5rem .55rem .6rem; gap: .1rem; }
  .triptych__eyebrow { font-size: .55rem; letter-spacing: .14em; }
  .triptych__title { font-size: .95rem; line-height: 1.05; }
  .triptych__arrow { margin-top: .2rem; font-size: .7rem; }
}

/* ==========================================================================
   CHEF
   ========================================================================== */
.section--chef { background: var(--surface-2); }
.chef__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.chef__frame {
  position: relative;
  border: 3px solid var(--ink, #2B1810);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--tomato);
  transform: rotate(-0.6deg);
}
.chef__frame img {
  width: 100%; height: 540px; object-fit: cover;
}
.chef__badge {
  position: absolute; top: 1.1rem; left: 1.1rem;
  padding: .55rem 1rem;
  background: var(--brass);
  color: var(--ivory) !important;
  border: 2px solid var(--surface, #FFFFFF);
  border-radius: 4px;
  font-family: var(--font-script, 'Dancing Script', cursive);
  text-transform: none; letter-spacing: 0;
  font-size: 1.1rem; font-weight: 700;
  box-shadow: 0 3px 0 var(--tomato-deep, #8C6A30);
  transform: rotate(-3deg);
}
.chef__text p {
  color: var(--ink-soft, #4a3a2e); margin-bottom: 1.2rem; font-size: 1.05rem;
}
.chef__text p em {
  color: var(--tomato);
  font-family: var(--font-script, 'Dancing Script', cursive);
  font-style: normal;
  font-weight: 700;
  font-size: 1.15em;
}
.chef__list { margin-top: 1.6rem; }
.chef__list li {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--tomato);
  color: var(--ink, #2B1810);
}
.chef__list li i { margin-top: .4rem; font-size: .8rem; }

/* ==========================================================================
   METODO
   ========================================================================== */
.section--metodo { background: var(--void); }
.metodo__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  margin: 4rem auto 5rem;
  max-width: 1180px;
  position: relative;
}
.metodo__steps li {
  position: relative;
  padding: 2.4rem 1.8rem 2rem;
  background:
    linear-gradient(180deg, rgba(184,149,79,0.05) 0%, transparent 40%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.metodo__steps li::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass) 0%, var(--brass-hi) 50%, transparent 100%);
  transform-origin: left;
  transform: scaleX(0.3);
  transition: transform .5s var(--ease);
}
.metodo__steps li::after {
  content: attr(data-num);
  position: absolute;
  right: -0.5rem; bottom: -2.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 11rem;
  line-height: 1;
  color: var(--brass);
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
  letter-spacing: -0.04em;
}
.metodo__steps li:hover {
  transform: translateY(-6px);
  border-color: var(--brass);
  box-shadow: 0 24px 50px -30px rgba(28,20,16,0.3), 0 0 0 1px rgba(184,149,79,0.3);
}
.metodo__steps li:hover::before { transform: scaleX(1); }
.metodo__steps li:hover::after { opacity: 0.14; }
.metodo__num {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--brass);
  margin: 0 0 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: none;
  transform: none;
  width: auto; height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  position: relative;
  padding: 0;
}
.metodo__num::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--brass);
  margin-right: .3rem;
  vertical-align: middle;
}
.metodo__steps h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  margin: 0 0 .7rem;
  color: var(--ivory);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.metodo__steps p {
  color: var(--sage);
  font-size: .95rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.metodo__banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transform: none;
  margin: 1rem auto 0;
  max-width: 1140px;
}
.metodo__banner::before { display: none; }
.metodo__banner img {
  width: 100%; height: 100%; min-height: 320px;
  object-fit: cover;
  border-radius: 0;
  position: relative; z-index: 1;
}
.metodo__banner > div {
  position: relative; z-index: 1;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
}
.metodo__banner h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: .4rem 0 .9rem;
  color: var(--ivory);
  letter-spacing: -0.015em;
}
.metodo__banner p { color: var(--sage); font-size: 1rem; line-height: 1.65; }
.metodo__banner .eyebrow { color: var(--brass); }
.metodo__banner .scribble {
  margin-top: 1rem !important;
  font-size: 1.4rem !important;
  color: var(--brass) !important;
}

/* ==========================================================================
   INGREDIENTI
   ========================================================================== */
.section--ing { background: var(--surface-2); }
.ing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}
.ing__card {
  position: relative;
  padding: 1.6rem 1.4rem 1.4rem;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: all .3s var(--ease);
}
.ing__card:hover {
  border-color: var(--brass);
  transform: translateY(-3px);
}
.ing__card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: .55rem;
  line-height: 1.25;
}
.ing__card p {
  color: var(--sage);
  font-size: .9rem;
  line-height: 1.55;
  margin-bottom: .9rem;
}
.ing__tag {
  display: inline-block;
  padding: .3rem .75rem;
  background: var(--brass);
  color: var(--ivory);
  border: 2px solid var(--tomato-deep);
  border-radius: 4px;
  font-size: .68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 var(--tomato-deep);
}

/* ==========================================================================
   FIRMA / CATEGORIE
   ========================================================================== */
.firma__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.3rem;
  margin: 3rem 0 2.5rem;
}
.firma__card {
  padding: 0 0 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px -8px rgba(50,25,10,0.2);
}
.firma__card:nth-child(2n) { transform: rotate(0.4deg); }
.firma__card:nth-child(3n) { transform: rotate(-0.5deg); }
.firma__card--feat {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 2px solid var(--tomato);
  box-shadow: 6px 6px 0 var(--tomato-deep), var(--shadow-md);
}
.firma__card--feat h3 { color: var(--tomato) !important; }
.firma__card > h3, .firma__card > p, .firma__card > small { padding: 0 1.8rem; }
.firma__card > h3 { padding-top: 1.4rem; }
.firma__hero {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-3);
  margin-bottom: 0;
}
.firma__hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.firma__card:hover .firma__hero img { transform: scale(1.06); }
.firma__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform .4s var(--ease);
}
.firma__card:hover { border-color: var(--brass); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.firma__card:hover::before { transform: scaleX(1); }
.firma__ico {
  width: 56px; height: 56px;
  margin-bottom: 1.2rem;
  display: grid; place-items: center;
  background: rgba(201,168,104,0.08);
  border-radius: 50%;
}
.firma__ico img {
  width: 32px; height: 32px; object-fit: contain;
  filter: brightness(0) opacity(.7);
}
.firma__card h3 {
  font-size: 1.45rem;
  margin-bottom: .7rem;
}
.firma__card p {
  color: var(--sage); font-size: .95rem;
}

.firma__cta {
  text-align: center;
  padding: 2.5rem 1rem 0;
  border-top: 1px solid var(--line);
}
.firma__cta p {
  color: var(--sage);
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
  font-style: italic;
}

/* ==========================================================================
   RULE / regola della casa
   ========================================================================== */
.rule {
  display: flex; align-items: center; gap: 1.1rem;
  max-width: 920px; margin: 0 auto;
  padding: 1.4rem 1.8rem;
  background: var(--surface, #FFFFFF);
  border: 2px solid var(--tomato);
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--tomato-deep, #8C6A30);
  transform: rotate(-0.5deg);
  position: relative;
}
.rule::before {
  content: "★";
  position: absolute;
  top: -14px; left: 24px;
  background: var(--brass);
  color: var(--ivory);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .9rem;
  box-shadow: 0 3px 0 var(--tomato-deep, #8C6A30);
}
.rule i { font-size: 1.5rem; flex: 0 0 auto; color: var(--tomato); }
.rule p { color: var(--ink, #2B1810); font-size: 1rem; font-family: var(--font-display); font-style: italic; }
.rule p strong { color: var(--tomato); font-family: var(--font-script, 'Dancing Script', cursive); font-style: normal; font-size: 1.3em; font-weight: 700; }

/* ==========================================================================
   CONTATTI
   ========================================================================== */
.section--contatti {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201,168,104,0.06), transparent 50%),
    var(--void);
}
.contatti__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 2rem;
}
.contatti__info { display: grid; gap: 2rem; align-content: start; }
.info__block h4 { margin-bottom: .8rem; }
.info__block p, .info__block a {
  color: var(--sage); font-size: 1rem; line-height: 1.7;
}
.info__block a:hover { color: var(--brass); }
.info__block i { width: 20px; display: inline-block; }
.link {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: .4rem; font-weight: 500;
  font-size: .9rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.link:hover { color: var(--brass-hi); }

.orari { margin-bottom: .7rem; }
.orari li {
  display: flex; justify-content: space-between;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--sage);
  font-size: .94rem;
}
.orari li span { color: var(--ivory); font-weight: 500; }
.orari li em { font-style: normal; }

.social { display: flex; gap: .9rem; }
.social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 1.15rem;
  color: var(--sage);
  transition: all .25s var(--ease);
}
.social a:hover {
  background: var(--ivory); color: #FFFFFF;
  border-color: var(--ivory);
  transform: translateY(-2px);
}

.contatti__map {
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-md);
  background: var(--surface-2);
}
.contatti__map iframe {
  width: 100%; height: 100%; min-height: 420px;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 3rem var(--pad-x) 2.5rem;
  background:
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(184,149,79,0.03) 20px 21px),
    var(--surface-2, #FAF6EC);
  border-top: 3px solid var(--tomato);
  text-align: center;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: -3px; left: 0; right: 0;
  height: 10px;
  background:
    radial-gradient(circle at 20px 0, var(--tomato) 4px, transparent 5px),
    radial-gradient(circle at 60px 0, var(--tomato) 4px, transparent 5px);
  background-size: 80px 10px;
  background-repeat: repeat-x;
  opacity: 0.3;
  pointer-events: none;
}
.footer__inner { max-width: var(--wrap); margin: 0 auto; }
.footer__logo { height: 56px; width: auto; margin: 0 auto 1rem; filter: invert(1) hue-rotate(180deg) brightness(0.6) saturate(1.3); opacity: 0.9; }
.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sage);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}
.footer__row {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: .8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--sage-dim);
  font-size: .82rem;
}

/* ==========================================================================
   ANIMAZIONI - reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   PAGE HERO (pagine interne)
   ========================================================================== */
.pagehero {
  position: relative;
  padding: calc(var(--nav-h) + 5rem) var(--pad-x) 4.5rem;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(184,149,79,0.07), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(85,107,47,0.05), transparent 50%),
    var(--surface-2, #FAF6EC);
  border-bottom: 3px dashed var(--tomato);
  overflow: hidden;
}
.pagehero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(circle, rgba(212,165,116,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.pagehero::after {
  content: "";
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--tomato) 0 20px, transparent 20px 30px);
  opacity: 0.3;
  pointer-events: none;
}
.pagehero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  text-align: center;
}
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 1rem 0 1.4rem;
}
.h1 span { display: block; }
.pagehero__lede {
  max-width: 640px;
  margin: 0 auto;
  color: var(--sage);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  font-family: var(--font-display);
  font-style: italic;
}

/* ==========================================================================
   NUMBERS STRIP (home)
   ========================================================================== */
.numbers {
  padding: 3.5rem var(--pad-x);
  background:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(184,149,79,0.06) 18px 19px),
    var(--ink, #1C1410);
  color: #FFFFFF;
  border-top: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  position: relative;
}
.numbers__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.numbers__item { position: relative; }
.numbers__item + .numbers__item::before {
  content: "";
  position: absolute;
  left: -1rem; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,251,242,0.2);
}
.numbers__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}
.numbers__item strong em {
  font-size: 0.5em;
  font-style: italic;
  font-family: var(--font-script, 'Dancing Script', cursive);
  color: var(--crosta, #E8D4A8);
  margin-left: 4px;
  font-weight: 700;
}
.numbers__item span {
  display: block;
  margin-top: .8rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,251,242,0.75);
  font-weight: 600;
}

/* ==========================================================================
   TEASER (home) — storia + metodo
   ========================================================================== */
.section--teaser { background: var(--void); }
.section--teaser-dark {
  background: var(--surface-2);
  position: relative; overflow: hidden;
}
.section--teaser-dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(201,168,104,0.08), transparent 50%);
  pointer-events: none;
}
.teaser__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.teaser__grid--rev > .teaser__text { order: 2; }
.teaser__grid--rev > .teaser__diagram,
.teaser__grid--rev > .teaser__visual { order: 1; }
.teaser__text p {
  color: var(--sage);
  font-size: 1.05rem;
  margin: 1.2rem 0 1.6rem;
  line-height: 1.65;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 0;
  color: var(--ivory);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--brass);
  transition: all .25s var(--ease);
}
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brass); }
.link-arrow:hover i { transform: translateX(4px); }

.teaser__visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.teaser__visual img {
  width: 100%; height: 560px; object-fit: cover;
}
.teaser__badge {
  position: absolute;
  bottom: 1.4rem; left: 1.4rem; right: 1.4rem;
  padding: 1rem 1.3rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.teaser__badge span {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}
.teaser__badge small {
  display: block;
  margin-top: .3rem;
  font-size: .7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dim);
}

/* PILLS (metodo teaser) */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0 1.8rem;
}
.pills li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .9rem;
  background: #FFFFFF;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .85rem;
}
.pills li strong {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
}

/* DIAGRAM (metodo teaser) */
.teaser__diagram {
  display: grid; place-items: center;
  padding: 2rem;
}
.diagram {
  --diagram-size: min(360px, 78vw);
  position: relative;
  width: var(--diagram-size);
  aspect-ratio: 1;
}
.diagram__dot {
  position: absolute;
  inset: 25%;
  background: var(--ivory);
  color: #FFF;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.diagram__dot span {
  font-size: 2.2rem;
  line-height: 1;
}
.diagram__dot small {
  display: block;
  margin-top: .3rem;
  color: rgba(255,255,255,0.7);
  font-size: .72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.diagram__ring,
.diagram__ring--2 {
  position: absolute;
  inset: 5%;
  border: 1.5px dashed var(--brass);
  border-radius: 50%;
  opacity: .5;
  animation: diagramSpin 32s linear infinite;
}
.diagram__ring--2 {
  inset: 15%;
  border-style: solid;
  border-color: rgba(201,168,104,0.3);
  animation-duration: 20s;
  animation-direction: reverse;
}
@keyframes diagramSpin { to { transform: rotate(360deg); } }
.diagram__labels { position: absolute; inset: 0; }
.diagram__labels li {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform: translate(-50%, -50%) rotate(var(--a));
}
.diagram__labels em {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, calc(var(--diagram-size, 360px) * -0.46)) rotate(calc(var(--a) * -1));
  font-style: normal;
  font-size: clamp(.62rem, 2vw, .75rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
  font-weight: 600;
}

/* ==========================================================================
   SIGNATURE GRID (home)
   ========================================================================== */
.section--firma-home { background: var(--void); }
.signature__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 2.5rem 0;
}
.signature__card {
  position: relative;
  padding: 0 0 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: block;
  transition: all .3s var(--ease);
  overflow: hidden;
}
.signature__card > h3, .signature__card > p { padding: 0 1.5rem; }
.signature__card > h3 { padding-top: 1.2rem; }
.signature__hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-3);
}
.signature__hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.signature__card:hover .signature__hero img { transform: scale(1.06); }
.signature__card:hover {
  background: #FFFFFF;
  border-color: var(--brass);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.signature__ico {
  width: 48px; height: 48px;
  margin-bottom: .9rem;
  display: grid; place-items: center;
  background: rgba(201,168,104,0.1);
  border-radius: 12px;
}
.signature__ico img { width: 28px; height: 28px; filter: brightness(0) opacity(.7); }
.signature__card h3 { font-size: 1.3rem; margin-bottom: .5rem; color: var(--ivory); }
.signature__card p { color: var(--sage); font-size: .92rem; }
.signature__card--feat {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 2px solid var(--tomato);
  box-shadow: 5px 5px 0 var(--tomato-deep);
}
.signature__card--feat h3 { color: var(--tomato); }
.signature__card:nth-child(2n) { transform: rotate(0.3deg); }
.signature__card:nth-child(3n) { transform: rotate(-0.4deg); }
.signature__card:hover { transform: rotate(0) translateY(-4px) !important; }
.signature__tag {
  position: absolute;
  top: .8rem; right: .8rem;
  padding: .3rem .75rem;
  background: var(--brass);
  color: var(--ivory) !important;
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 2px 2px 0 var(--tomato-deep);
  transform: rotate(4deg);
  z-index: 2;
}

/* ==========================================================================
   MARQUEE INGREDIENTI
   ========================================================================== */
.marquee {
  padding: 2.2rem 0;
  background: var(--ivory);
  color: var(--surface);
  overflow: hidden;
  border-top: 3px solid var(--tomato);
  border-bottom: 3px solid var(--tomato);
  position: relative;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ivory), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ivory), transparent); }
.marquee__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marqueeScroll 48s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}
.marquee__track span { color: var(--surface); }
.marquee__track em {
  color: var(--tomato-hi); font-style: normal;
  font-weight: 400;
  font-family: var(--font-script);
  font-size: 1.3em;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   VISIT CTA (home)
   ========================================================================== */
.visit {
  padding: clamp(5rem, 9vw, 7rem) var(--pad-x);
  background:
    linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.visit::before,
.visit::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,104,0.12), transparent 70%);
  pointer-events: none;
}
.visit::before { top: -80px; left: -60px; }
.visit::after { bottom: -100px; right: -60px; }
.visit__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.visit__inner p { color: var(--sage); margin: 1.3rem 0 1.8rem; }
.visit__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; }

/* ==========================================================================
   NAV ACTIVE PAGE
   ========================================================================== */
.nav__links a[aria-current="page"] { color: var(--ivory); font-weight: 600; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* ==========================================================================
   FOOTER (multi-colonna)
   ========================================================================== */
.footer { text-align: left; padding: 4rem var(--pad-x) 2rem; }
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
}
.footer__col--brand { max-width: 420px; }
.footer__col--brand p {
  color: var(--sage);
  font-size: .95rem;
  margin: 1rem 0 1.4rem;
}
.footer__col h5 {
  margin-bottom: 1rem;
  color: var(--ivory);
}
.footer__col ul li {
  padding: .35rem 0;
  color: var(--sage);
  font-size: .92rem;
}
.footer__col ul li a:hover { color: var(--brass); }
.footer__logo { height: 46px; width: auto; margin: 0 0 .5rem; }
.footer__row {
  max-width: var(--wrap);
  margin: 0 auto;
}

/* ==========================================================================
   TIMELINE (storia)
   ========================================================================== */
.timeline {
  position: relative;
  margin: 3rem 0;
  padding-left: 2rem;
  border-left: 2px dashed var(--tomato);
}
.timeline li {
  position: relative;
  padding: 0 0 2.4rem 1.5rem;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: calc(-2rem - 11px);
  top: .3rem;
  width: 20px; height: 20px;
  background: var(--tomato);
  border: 3px solid var(--surface, #FFFFFF);
  border-radius: 50%;
  box-shadow: 0 3px 0 var(--tomato-deep, #8C6A30);
}
.timeline li:nth-child(2n)::before { background: var(--basil, #5A4A3A); box-shadow: 0 3px 0 #3d4a21; }
.timeline li:nth-child(3n)::before { background: var(--crosta, #E8D4A8); box-shadow: 0 3px 0 #a07a4a; }
.timeline__year {
  display: inline-block;
  font-family: var(--font-script, 'Dancing Script', cursive);
  font-style: normal;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: .3rem;
  color: var(--tomato);
}
.timeline li h3 { font-size: 1.4rem; margin-bottom: .4rem; color: var(--ink, #2B1810); }
.timeline li p { color: var(--ink-soft, #4a3a2e); }

/* VALORI (storia) */
.section--alt { background: var(--surface-2); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.values__card {
  padding: 2rem 1.6rem;
  background: var(--surface, #FFFFFF);
  border: 2px solid var(--ink, #2B1810);
  border-radius: 4px;
  box-shadow: 5px 5px 0 var(--tomato);
  transition: all .25s var(--ease);
}
.values__card:nth-child(2n) { box-shadow: 5px 5px 0 var(--basil, #5A4A3A); transform: rotate(0.3deg); }
.values__card:nth-child(3n) { box-shadow: 5px 5px 0 var(--crosta, #E8D4A8); transform: rotate(-0.4deg); }
.values__card:hover { transform: translate(-2px, -2px) rotate(0deg); box-shadow: 8px 8px 0 var(--tomato); }
.values__card:nth-child(2n):hover { box-shadow: 8px 8px 0 var(--basil, #5A4A3A); }
.values__card:nth-child(3n):hover { box-shadow: 8px 8px 0 var(--crosta, #E8D4A8); }
.values__card i { font-size: 1.8rem; margin-bottom: 1rem; display: block; color: var(--tomato); }
.values__card h3 { font-size: 1.3rem; margin-bottom: .6rem; color: var(--ink, #2B1810); }
.values__card p { color: var(--ink-soft, #4a3a2e); font-size: .95rem; }

/* FILOSOFIA (chef) */
.phil__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.phil__card {
  padding: 2.4rem 1.9rem 2rem;
  background: var(--surface, #FFFFFF);
  border: 2px solid var(--ink, #2B1810);
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--ink, #2B1810);
  position: relative;
  transition: all .25s var(--ease);
}
.phil__card:nth-child(2) { transform: rotate(-0.6deg); box-shadow: 6px 6px 0 var(--tomato); }
.phil__card:nth-child(3) { transform: rotate(0.5deg); box-shadow: 6px 6px 0 var(--basil, #5A4A3A); }
.phil__card:hover { transform: translate(-3px, -3px) rotate(0deg); box-shadow: 9px 9px 0 var(--tomato-deep, #8C6A30); }
.phil__num {
  position: absolute;
  top: -18px; right: 14px;
  width: 46px; height: 46px;
  background: var(--brass);
  color: var(--ivory);
  border: 2px solid var(--ink, #2B1810);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-script, 'Dancing Script', cursive);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 0 var(--tomato-deep, #8C6A30);
  transform: rotate(-6deg);
}
.phil__card h3 { font-size: 1.35rem; margin-bottom: .6rem; color: var(--ink, #2B1810); }
.phil__card p { color: var(--ink-soft, #4a3a2e); font-size: .95rem; }

/* SCIENCE (metodo) */
.science__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.science__card {
  padding: 2.2rem 1.5rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: all .3s var(--ease);
  position: relative;
}
.science__card:hover {
  border-color: var(--brass);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.science__card i {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: inline-block;
  color: var(--brass);
  padding: .9rem;
  background: rgba(184,149,79,0.08);
  border-radius: 50%;
  width: 56px; height: 56px;
  line-height: 1.1;
}
.science__card h3 {
  font-size: 1.1rem;
  margin: .4rem 0 .6rem;
  color: var(--ivory);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}
.science__card p { color: var(--sage); font-size: .9rem; line-height: 1.6; }

/* ALLERGENS (ingredienti) */
.allergens__grid {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
  margin-top: 2rem;
}
.allergens__grid span {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem;
  background: #FFFFFF;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .9rem;
  color: var(--sage);
}

/* PIZZE D'AUTORE (firme) */
.pizzas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
  margin: 2.5rem 0;
}
.pizza {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.pizza__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-3);
}
.pizza__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.pizza:hover .pizza__img img { transform: scale(1.06); }
.pizza > h3, .pizza > p { padding: 0 1.5rem; }
.pizza > h3 { padding-top: 1.4rem; }
.pizza > p { padding-bottom: 1.4rem; }
.pizza:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pizza h3 { font-size: 1.3rem; margin-bottom: .55rem; color: var(--ivory); }
.pizza p { color: var(--sage); font-size: .92rem; }
.pizza__price {
  position: absolute; top: 1rem; right: 1rem;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--brass);
  color: var(--ivory) !important;
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 4px 0 var(--tomato-deep), 0 10px 20px -4px rgba(184,149,79,0.5);
  transform: rotate(8deg);
  z-index: 2;
  border: 2px solid var(--surface);
}

/* FAQ (contatti) */
.faq { max-width: 760px; margin: 2.5rem auto 0; }
.faq details {
  background: var(--surface, #FFFFFF);
  border: 2px solid var(--ink, #2B1810);
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all .25s var(--ease);
  box-shadow: 4px 4px 0 var(--ink, #2B1810);
}
.faq details:nth-child(2n) { transform: rotate(-0.2deg); }
.faq details:nth-child(2n+1) { transform: rotate(0.15deg); }
.faq details[open] { border-color: var(--tomato); box-shadow: 4px 4px 0 var(--tomato); }
.faq summary {
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  list-style: none;
  color: var(--ink, #2B1810);
  padding-right: 3rem;
  font-family: var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--brass);
  color: var(--ivory);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s var(--ease);
  box-shadow: 0 2px 0 var(--tomato-deep, #8C6A30);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft, #4a3a2e);
  font-family: var(--font-display);
  font-style: italic;
}

/* NAV CTA bottom (navcta between pages) */
.section--navcta {
  padding: 3rem var(--pad-x) 5rem;
  background: var(--void);
}
.navcta {
  max-width: 760px;
  margin: 0 auto;
}
.navcta__card {
  display: block;
  padding: 2rem 2.2rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
  transition: all .3s var(--ease);
}
.navcta__card:hover {
  border-color: var(--brass);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}
.navcta__card .eyebrow { margin-bottom: .5rem; display: block; }
.navcta__card h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.navcta__card p { color: var(--sage); }
.navcta__card i {
  position: absolute;
  top: 50%; right: 2rem;
  transform: translateY(-50%);
  color: var(--brass);
  font-size: 1.4rem;
  transition: transform .25s var(--ease);
}
.navcta__card:hover i { transform: translateY(-50%) translateX(6px); }

.firma__cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { gap: 1.4rem; }
}

@media (max-width: 960px) {
  .storia__grid { grid-template-columns: 1fr; }
  .chef__grid { grid-template-columns: 1fr; }
  .chef__frame img { height: 420px; }
  .contatti__grid { grid-template-columns: 1fr; }
  .metodo__banner { grid-template-columns: 1fr; text-align: center; }
  .metodo__banner img { margin: 0 auto; }
  .teaser__grid { grid-template-columns: 1fr; }
  .teaser__grid--rev > .teaser__text { order: 1; }
  .teaser__grid--rev > .teaser__diagram { order: 2; }
  .teaser__diagram { padding: 1rem; }
  .diagram { --diagram-size: min(320px, 70vw); }
  .teaser__visual img { height: 420px; }
  .numbers__wrap { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .signature__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__col--brand { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 760px) {
  :root { --nav-h: 68px; }

  .nav__burger { display: flex; order: 2; margin-left: auto; }
  .nav__right { order: 1; margin-left: auto; }
  .nav__right .nav__cta span { display: none; }
  .nav__cta { padding: .6rem .8rem; }

  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem var(--pad-x) 2rem;
    border-bottom: 1px solid var(--line-2);
    transform: translateY(-120%);
    transition: transform .4s var(--ease);
    box-shadow: 0 20px 40px -20px rgba(24,24,22,0.2);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a {
    display: block; padding: 1rem 0;
    font-size: 1.05rem; color: var(--ivory);
  }

  .hero__marks { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero__ctas .btn { flex: 1; justify-content: center; }

  .storia__stats { grid-template-columns: 1fr; text-align: center; }

  .section__kicker { flex-wrap: wrap; }
  .section__kicker::after { display: none; }

  .signature__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__col--brand { grid-column: auto; }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .pagehero { padding: calc(var(--nav-h) + 3rem) var(--pad-x) 3rem; }
  .visit__ctas .btn { flex: 1; justify-content: center; }
  .teaser__visual img { height: 320px; }
}

@media (max-width: 420px) {
  .lang__btn { width: 28px; height: 28px; }
  .hero__title { font-size: 2.4rem; }
  .nav__brand { height: 38px; }
  .diagram { --diagram-size: min(260px, 68vw); }
  .diagram__dot span { font-size: 1.7rem; }
  .diagram__dot small { font-size: .62rem; }
}

/* ==========================================================================
   FX LAYER — loader, cursor, scroll bar, grain, tilt, kinetic text, counters
   ========================================================================== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 110;
  background: transparent;
  pointer-events: none;
}
.scroll-progress__fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brass), var(--tomato));
  transform-origin: left;
  will-change: width;
  transition: width .08s linear;
}

/* Grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 95;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.65 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* 3D Tilt — applied dynamically via JS */
.signature__card, .firma__card, .ing__card, .pizza, .values__card, .phil__card, .science__card, .teaser__visual {
  transform-style: preserve-3d;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  will-change: transform;
}
.signature__card .signature__ico,
.firma__card .firma__ico,
.pizza h3, .ing__card h3 {
  transform: translateZ(28px);
  transition: transform .35s var(--ease-out);
}
.tilt-reset { transform: perspective(900px) rotateX(0) rotateY(0) !important; }

/* Magnetic buttons — JS sets translate; CSS smooth return */
.magnetic { transition: transform .22s var(--ease-out); will-change: transform; }

/* Kinetic text — char reveal */
.kinetic { display: inline-block; }
.kinetic .char {
  display: inline-block;
  transform: translateY(110%) rotate(6deg);
  opacity: 0;
  animation: charIn .9s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 28ms);
}
.kinetic .space { display: inline-block; width: 0.3em; }
@keyframes charIn {
  to { transform: translateY(0) rotate(0); opacity: 1; }
}

/* Stagger reveal with CSS var --i for index */
.reveal.in[style*="--i"] {
  transition-delay: calc(var(--i, 0) * 55ms);
}

/* Enhanced reveal — scale + blur */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Marquee pause on hover */
.marquee:hover .marquee__inner { animation-play-state: paused; }
.marquee__inner { will-change: transform; }

/* Count-up numbers glow when active */
.counter { display: inline-block; font-variant-numeric: tabular-nums; }
.counter.counting { color: var(--brass); }

/* Hero parallax layer */
.hero__media { will-change: transform; }
.hero__media.has-parallax img { animation: none; transform: scale(1.14); }

/* Button shiny sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateX(120%); }

/* Signature/firma/ing card hover glow */
.signature__card:hover, .firma__card:hover, .ing__card:hover, .pizza:hover,
.values__card:hover, .phil__card:hover, .science__card:hover {
  box-shadow: 0 24px 60px -30px rgba(184, 149, 79, 0.45), 0 4px 20px -8px rgba(24,24,22,0.12);
}

/* Pagehero title entrance (uses .kinetic too) */
.pagehero__inner .h1 { overflow: hidden; }

/* Image reveal mask on scroll (teaser visual) */
.teaser__visual {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}
.teaser__visual::after {
  content: ''; position: absolute; inset: 0;
  background: var(--surface-2);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.1s var(--ease-out);
  z-index: 2;
}
.teaser__visual.in::after { transform: scaleX(0); }

/* FAQ open subtle lift */
.faq details[open] {
  box-shadow: 0 18px 44px -24px rgba(184, 149, 79, 0.35);
  border-color: rgba(184, 149, 79, 0.4);
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__media img { transform: scale(1); }
  .kinetic .char { transform: none; opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .grain { display: none; }
}

