/* ===== Font self-hosted (subset latin, da Google Fonts) ===== */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-400.woff2") format("woff2");
}
@font-face {
  font-family: "Young Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/young-serif-400.woff2") format("woff2");
}

/* ===================== TOKENS — "Calce e Cotto" ===================== */
:root {
  --plaster: #ebe1ce; /* calce / parete */
  --plaster-2: #e3d8c0; /* pannello più profondo */
  --plaster-hi: #f4ecdb; /* carta chiara (card) */
  --espresso: #241812; /* legno/forno/foto d'epoca — inchiostro & fasce scure */
  --espresso-2: #31241a;
  --cotto: #bc5230; /* terracotta / cotto / peperoncino — colore brand */
  --cotto-2: #9e4224; /* hover/scuro */
  --cotto-hi: #da6a3c; /* cotto acceso su fondo scuro */
  --cotto-deep: #8e3a1a; /* cotto pieno — pannello hero drenched (AA con panna) */
  --olive: #6b6e31; /* basilico — secondario, raro */
  --sand: #64563d; /* testo muto su chiaro (AA anche su plaster-2) */
  --cotto-ink: #8a3717; /* cotto per testo piccolo su chiaro (AA) */
  --dim-on-dark: #c9bca0; /* testo muto su scuro */
  --line-d: rgba(36, 24, 18, 0.14); /* righe su chiaro */
  --line-l: rgba(243, 235, 218, 0.16); /* righe su scuro */
  --serif: "Young Serif", "Hoefler Text", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1320px;
  --pad-x: clamp(20px, 5vw, 64px);
  --navh: 76px;
  --gutter: max(var(--pad-x), calc(50vw - var(--maxw)/2 + var(--pad-x)));
  --sect: clamp(84px, 11vw, 150px);
  --e: cubic-bezier(0.16, 1, 0.3, 1);
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 72px;
  --shadow: 0 40px 90px -46px rgba(36, 24, 18, 0.5);
  --btn-sh: 0 6px 16px -8px rgba(120, 45, 20, 0.55);
  --btn-sh-h: 0 13px 28px -10px rgba(120, 45, 20, 0.62);
  --btn-sh-a: 0 3px 9px -6px rgba(120, 45, 20, 0.6);
}

/* ===================== BASE ===================== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  background: var(--plaster);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}
p {
  margin: 0;
}
[id] {
  scroll-margin-top: var(--navh);
}
::selection {
  background: var(--cotto);
  color: var(--plaster-hi);
}
:focus-visible {
  outline: 2px solid var(--cotto);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  background: var(--espresso);
  color: var(--plaster-hi);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transform: translateY(-160%);
  transition: transform 0.22s var(--e);
}
.skip:focus-visible {
  transform: none;
  outline-offset: 2px;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section {
  padding: var(--sect) 0;
}
.serif {
  font-family: var(--serif);
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cotto-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  margin-bottom: var(--s5);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cotto);
  border-radius: 2px;
}
.lead {
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.6;
  color: var(--espresso);
  opacity: 0.82;
  max-width: 52ch;
  text-wrap: pretty;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  text-wrap: balance;
  max-width: 16ch;
}

/* zone scure */
.dark {
  background: var(--espresso);
  color: var(--plaster);
}
.dark .eyebrow {
  color: var(--cotto-hi);
}
.dark .eyebrow::before {
  background: var(--cotto-hi);
}
.dark .lead {
  color: var(--dim-on-dark);
  opacity: 1;
}
.dark .h2 {
  color: var(--plaster);
}

/* grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.28s var(--e),
    color 0.22s var(--e),
    border-color 0.28s var(--e),
    box-shadow 0.3s var(--e),
    opacity 0.25s var(--e);
}
.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
/* solide: profondità con l'ombra, nessun movimento (no clip) */
/* ombra unica per tutte le solid = quella del pulsante navbar (cotto) */
.btn-cotto,
.btn-dark {
  box-shadow: var(--btn-sh);
}
.btn-cotto:hover,
.btn-dark:hover {
  box-shadow: var(--btn-sh-h);
}
.btn-cotto:active,
.btn-dark:active {
  box-shadow: var(--btn-sh-a);
}
.btn-cotto {
  background: var(--cotto);
  color: var(--plaster-hi);
}
.btn-cotto:hover {
  background: var(--cotto-2);
}
.btn-cotto:active {
  background: var(--cotto-2);
}
.btn-dark {
  background: var(--espresso);
  color: var(--plaster-hi);
}
.btn-dark:hover {
  background: var(--espresso-2);
}
.btn-dark:active {
  background: var(--espresso-2);
}
/* outline: si riempiono, restano piatte */
.btn-ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
  opacity: 0.9;
}
.btn-ghost:hover {
  opacity: 1;
  background: rgba(60, 40, 26, 0.08);
}
.btn-ghost:active {
  background: rgba(60, 40, 26, 0.14);
}
.btn-ghost-l {
  background: transparent;
  color: var(--plaster);
  border-color: rgba(243, 235, 218, 0.5);
}
.btn-ghost-l:hover {
  border-color: var(--plaster);
  background: rgba(243, 235, 218, 0.1);
}
.btn-ghost-l:active {
  background: rgba(243, 235, 218, 0.16);
}
.arrow {
  font-weight: 700;
  color: var(--cotto-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: color 0.2s;
}
.dark .arrow {
  color: var(--cotto-hi);
}
.arrow svg {
  width: 18px;
  height: 18px;
}
.arrow:hover {
  color: var(--cotto-2);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.dark .arrow:hover {
  color: #f0895a;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--cotto);
}
.dark .stars,
.hero-panel .stars {
  color: var(--cotto-hi);
}
.stars svg {
  width: 16px;
  height: 16px;
}

/* ===================== MEDIA ===================== */
.media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 3px;
  background: linear-gradient(150deg, #3a2a1c, #7a4a26 60%, #bc5230 150%);
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 1s var(--e);
}
.media.hoverable:hover img {
  transform: scale(1.05);
}

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  transition:
    background 0.35s var(--e),
    box-shadow 0.35s var(--e);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 170px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(18, 10, 5, 0.66) 0%,
    rgba(18, 10, 5, 0.34) 34%,
    rgba(18, 10, 5, 0.12) 64%,
    transparent 100%
  );
  opacity: 1;
  transition: opacity 0.4s;
}
.nav.scrolled {
  background: rgba(235, 225, 206, 0.94);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow:
    0 1px 0 var(--line-d),
    0 12px 30px -24px rgba(36, 24, 18, 0.5);
}
.nav.scrolled::before {
  opacity: 0;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--navh);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  justify-self: start;
  display: block;
  width: 78px;
  height: 56px;
  background: var(--plaster-hi);
  transition: background 0.35s;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.4));
  -webkit-mask: url(../images/logo-white.png) center/contain no-repeat;
  mask: url(../images/logo-white.png) center/contain no-repeat;
}
.nav.scrolled .nav-logo,
.nav.open .nav-logo {
  background: var(--espresso);
  filter: none;
}
.nav-links {
  justify-self: center;
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--plaster);
  opacity: 0.94;
  transition:
    color 0.35s,
    opacity 0.2s;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cotto-hi);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.34s var(--e);
}
.nav-links a:hover {
  opacity: 1;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}
.nav.scrolled .nav-links a {
  color: var(--espresso);
  opacity: 0.86;
}
.nav.scrolled .nav-links a:hover {
  opacity: 1;
}
.nav.scrolled .nav-links a::after {
  background: var(--cotto);
}
.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-phone {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--plaster);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.35s;
}
.nav-phone svg {
  width: 15px;
  height: 15px;
  color: var(--cotto-hi);
  transition: color 0.35s;
}
.nav.scrolled .nav-phone {
  color: var(--espresso);
}
.nav.scrolled .nav-phone svg {
  color: var(--cotto-2);
}
/* hamburger che si trasforma in X */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
  --bar: var(--plaster);
}
.nav.scrolled .nav-toggle,
.nav.open .nav-toggle {
  --bar: var(--espresso);
}
.bars {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--bar);
  transition: background 0.15s;
}
.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--bar);
  transition:
    transform 0.34s var(--e),
    top 0.3s var(--e);
}
.bars::before {
  top: -7px;
}
.bars::after {
  top: 7px;
}
.nav.open .bars {
  background: transparent;
}
.nav.open .bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav.open .bars::after {
  top: 0;
  transform: rotate(-45deg);
}
.mobile-menu {
  display: none;
}

/* ===================== HERO (asimmetrico, drench cotto) ===================== */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.hero-panel {
  background: var(--cotto-deep);
  color: var(--plaster-hi);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(112px, 13vh, 148px) clamp(28px, 4vw, 60px) clamp(64px, 8vh, 96px) var(--gutter);
  position: relative;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(130% 90% at 8% 4%, rgba(255, 238, 214, 0.14), transparent 52%);
}
.hero-panel > * {
  position: relative;
  z-index: 1;
}
.hero-panel .eyebrow {
  color: #fbefd9;
}
.hero-panel .eyebrow::before {
  background: #f6cda2;
  width: 34px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5.5vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #fdf6e9;
  max-width: 12ch;
}
.hero h1 em {
  font-style: italic;
  color: #f6cda2;
}
.hero-sub {
  color: #fbf3e4;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  max-width: 42ch;
  margin-top: var(--s5);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s7);
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid rgba(251, 243, 228, 0.28);
  color: #fbf3e4;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 500;
}
.hero-trust b {
  font-weight: 700;
}
.hero-photo {
  position: relative;
  overflow: hidden;
  background: var(--espresso);
  box-shadow: inset 7px 0 30px -20px rgba(0, 0, 0, 0.6);
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

/* ===================== MARQUEE ===================== */
.marquee {
  background: var(--espresso);
  color: var(--plaster);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: mq 34s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee span {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.1vw, 1.7rem);
  padding: 16px 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.marquee b {
  padding: 0 clamp(18px, 2.6vw, 36px);
  font-weight: 400;
}
.marquee i {
  font-style: normal;
  color: var(--cotto-hi);
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

/* ===================== STORIA / ADRIANO ===================== */
.storia-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}
.storia .eyebrow {
  margin-bottom: var(--s5);
}
.storia .lead {
  margin-top: var(--s6);
}
.storia-media {
  aspect-ratio: 5/6;
  box-shadow: var(--shadow);
}
.bignum {
  margin-top: var(--s8);
  display: flex;
  align-items: flex-start;
  gap: var(--s5);
  border-top: 1px solid var(--line-d);
  padding-top: var(--s6);
}
.bignum .n {
  font-family: var(--serif);
  font-size: clamp(4.2rem, 11vw, 8rem);
  line-height: 0.78;
  color: var(--cotto);
  letter-spacing: -0.03em;
}
.bignum .t {
  padding-top: 0.4em;
}
.bignum .t b {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
}
.bignum .t span {
  color: var(--sand);
  font-size: 0.95rem;
}

/* ===================== SIGNATURE (proof full-bleed) ===================== */
.signature {
  position: relative;
  min-height: min(84vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.signature .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.signature .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.signature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    88deg,
    rgba(28, 16, 10, 0.92) 0%,
    rgba(28, 16, 10, 0.66) 52%,
    rgba(28, 16, 10, 0.32) 100%
  );
}
.signature .inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
}
.sig-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--s6);
  color: #f7eedd;
  font-size: 0.92rem;
  font-weight: 600;
}
.sig-badge .n1 {
  background: var(--cotto);
  color: var(--plaster-hi);
  padding: 6px 12px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.82rem;
}
.signature blockquote {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 20ch;
  margin: 0;
  color: #fcf5e7;
  text-wrap: balance;
}
.signature .who {
  margin-top: var(--s6);
  font-weight: 600;
  color: var(--dim-on-dark);
}
.signature .who b {
  color: #f7eedd;
}

/* ===================== LE PIZZE ===================== */
.pizze-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  margin-bottom: clamp(28px, 3.6vw, 52px);
}
.feature .media {
  aspect-ratio: 16/11;
}
.feature .media img {
  object-position: 50% 100%;
}
.feature .cap .eyebrow {
  margin-bottom: var(--s5);
}
.feature .cap h3 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
}
.feature .cap p {
  color: var(--espresso);
  opacity: 0.8;
  margin-top: var(--s5);
  max-width: 40ch;
}
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.dish .media {
  aspect-ratio: 4/5;
}
.dish h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-top: var(--s5);
}
.dish .k {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cotto-ink);
  display: block;
  margin-top: var(--s5);
}
.dish h3.tight {
  margin-top: 10px;
}
.dish p {
  color: var(--sand);
  font-size: 0.95rem;
  margin-top: 8px;
  line-height: 1.5;
}

/* ===================== MENÙ (dark) ===================== */
.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 64px) clamp(36px, 5vw, 80px);
}
.menu-col h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.12;
  color: var(--plaster-hi);
  margin: 0 0 var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line-l);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.menu-col h3 small {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--cotto-hi);
  text-align: right;
}
.menu-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s5);
}
.menu-col li b {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--plaster-hi);
  display: block;
}
.menu-col li span {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--dim-on-dark);
  display: block;
  margin-top: 4px;
}
.menu-note {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: var(--s6);
  border-top: 1px solid var(--line-l);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--dim-on-dark);
  font-size: 0.92rem;
}
.menu-note b {
  color: var(--cotto-hi);
}

/* ===================== MATERIE PRIME + SENZA GLUTINE ===================== */
.prime-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.prime .eyebrow {
  margin-bottom: var(--s5);
}
.prime .intro {
  color: var(--espresso);
  opacity: 0.82;
  margin-top: var(--s6);
  max-width: 44ch;
  font-size: 1.1rem;
  line-height: 1.58;
}
.prime-list {
  list-style: none;
  margin: var(--s7) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s6);
}
.prime-list li {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.prime-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cotto);
}
.gf-card {
  margin-top: var(--s7);
  background: var(--cotto-deep);
  color: var(--plaster-hi);
  border-radius: 4px;
  padding: clamp(24px, 3vw, 36px);
}
.gf-card .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}
.gf-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.14;
  margin: var(--s3) 0 var(--s4);
  color: #fcf5e7;
}
.gf-card p {
  color: #fbf3e4;
  opacity: 0.96;
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 44ch;
}
.prime-media {
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}

/* ===================== RECENSIONI ===================== */
.rev-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line-d);
}
.rev-score {
  text-align: center;
}
.rev-score .big {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  line-height: 0.85;
  color: var(--cotto);
}
.rev-score .stars {
  margin-top: 10px;
}
.rev-score .src {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--sand);
  font-weight: 600;
}
.rev-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.rev-facts .f b {
  font-family: var(--serif);
  font-size: 1.9rem;
  display: block;
  color: var(--espresso);
}
.rev-facts .f span {
  font-size: 0.9rem;
  color: var(--sand);
}
.rev {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2.6vw, 34px);
}
.rev .item {
  background: var(--plaster-hi);
  border-radius: 3px;
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
}
.rev .item .stars {
  margin-bottom: var(--s4);
}
.rev blockquote {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.34;
  margin: 0;
}
.rev .who {
  margin-top: auto;
  padding-top: var(--s6);
  font-size: 0.88rem;
  color: var(--sand);
}
.rev .who b {
  color: var(--espresso);
  font-weight: 700;
}
.rev-cta {
  margin-top: clamp(34px, 4vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  justify-content: center;
}
.rev-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--espresso);
  border: 1.5px solid var(--line-d);
  border-radius: 100px;
  padding: 11px 22px;
  background: var(--plaster-hi);
  transition:
    border-color 0.22s var(--e),
    background 0.22s var(--e),
    box-shadow 0.3s var(--e);
}
.rev-link img,
.rev-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.rev-link:hover {
  border-color: var(--cotto);
  box-shadow: 0 10px 22px -12px rgba(120, 45, 20, 0.42);
}
.tc-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.tc-badge img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}
.tc-badge b {
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  color: var(--espresso);
  line-height: 1.1;
  letter-spacing: 0.005em;
}
.tc-badge span {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  color: var(--sand);
  font-weight: 600;
}

/* ===================== CONTATTI ===================== */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: stretch;
}
.visit .eyebrow {
  margin-bottom: var(--s5);
}
.travelers {
  margin-top: var(--s6);
  padding: var(--s5) var(--s6);
  background: var(--plaster-2);
  border-radius: 3px;
  font-size: 1rem;
  line-height: 1.5;
}
.travelers b {
  color: var(--cotto-ink);
}
.info {
  list-style: none;
  margin: var(--s7) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s6);
}
.info li {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}
.info .ic {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cotto-2);
}
.info .ic svg {
  width: 19px;
  height: 19px;
}
.info .k {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 700;
}
.info .v {
  font-size: 1.06rem;
  line-height: 1.4;
  font-weight: 500;
  margin-top: 6px;
  display: block;
}
.visit-cta {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-top: var(--s7);
}
.map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  position: relative;
  background: var(--plaster-2);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(0.18) saturate(1.05);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--espresso);
  color: var(--dim-on-dark);
  padding: clamp(66px, 8vw, 100px) 0 38px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--s7);
}
.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: var(--s5);
}
.footer p {
  max-width: 32ch;
  line-height: 1.6;
}
.footer h3 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plaster);
  font-weight: 700;
  margin: 0 0 var(--s5);
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s3);
}
.footer a {
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--plaster);
}
.footer .fb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--plaster);
  font-weight: 600;
  margin-top: var(--s5);
}
.footer .fb svg {
  width: 19px;
  height: 19px;
  color: var(--cotto-hi);
}
.footer-bottom {
  margin-top: clamp(44px, 6vw, 68px);
  padding-top: var(--s5);
  border-top: 1px solid var(--line-l);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--dim-on-dark);
}

/* ===================== MOTION ===================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--e),
    transform 0.85s var(--e);
}
.js [data-reveal="scale"] {
  transform: scale(1.05);
  transition:
    opacity 1.05s var(--e),
    transform 1.05s var(--e);
}
.js [data-reveal="clip"] {
  opacity: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.05s var(--e);
}
.js [data-reveal].vis {
  opacity: 1;
  transform: none;
}
.js [data-reveal="clip"].vis {
  clip-path: inset(0 0 0 0);
}
.js [data-d="1"] {
  transition-delay: 0.1s;
}
.js [data-d="2"] {
  transition-delay: 0.2s;
}
.js [data-d="3"] {
  transition-delay: 0.3s;
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-photo img {
      animation: par linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
  }
}
@keyframes par {
  to {
    transform: scale(1.04) translateY(9%);
  }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 940px) {
  .nav-links,
  .nav-phone,
  .nav-right .btn-cotto {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  /* apertura: la barra si tinge subito (rapida), lo scrim sparisce — niente sfasamento col pannello */
  .nav.open {
    background: var(--plaster);
    transition:
      background 0.14s var(--e),
      box-shadow 0.14s var(--e);
  }
  .nav.open::before {
    opacity: 0;
  }
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: var(--plaster);
    border-top: 1px solid var(--line-d);
    box-shadow: var(--shadow);
    padding: 8px var(--pad-x) 26px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.28s var(--e),
      transform 0.4s var(--e),
      visibility 0.4s;
  }
  .nav.open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .mobile-menu > a {
    display: block;
    padding: 15px 2px;
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--espresso);
    border-bottom: 1px solid var(--line-d);
  }
  .mobile-menu .m-item {
    opacity: 0;
    transform: translateY(9px);
    transition:
      opacity 0.3s var(--e),
      transform 0.34s var(--e);
  }
  .nav.open .mobile-menu .m-item {
    opacity: 1;
    transform: none;
  }
  .nav.open .mobile-menu .m-item:nth-child(1) {
    transition-delay: 0.05s;
  }
  .nav.open .mobile-menu .m-item:nth-child(2) {
    transition-delay: 0.1s;
  }
  .nav.open .mobile-menu .m-item:nth-child(3) {
    transition-delay: 0.15s;
  }
  .nav.open .mobile-menu .m-item:nth-child(4) {
    transition-delay: 0.2s;
  }
  .nav.open .mobile-menu .m-item:nth-child(5) {
    transition-delay: 0.26s;
  }
  .mobile-cta {
    margin-top: var(--s5);
    display: grid;
    gap: 12px;
  }
  .mobile-menu .btn {
    width: 100%;
  }
  .mobile-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 700;
    color: var(--cotto-ink);
    padding: 6px;
  }
  .mobile-call svg {
    width: 16px;
    height: 16px;
  }
  /* hero immersivo: foto nitida in alto, zoccolo terracotta pieno sotto il testo */
  .hero {
    display: block;
    position: relative;
    min-height: 100svh;
  }
  .hero-photo {
    position: absolute;
    inset: 0;
    box-shadow: none;
  }
  .hero-photo img {
    transform: none;
  }
  .hero-panel {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    justify-content: flex-end;
    padding: 120px var(--pad-x) clamp(44px, 9vw, 68px);
    background: linear-gradient(
      to top,
      var(--cotto-deep) 0%,
      var(--cotto-deep) 39%,
      rgba(142, 58, 26, 0.9) 57%,
      rgba(142, 58, 26, 0.42) 78%,
      rgba(20, 11, 6, 0.3) 100%
    );
  }
  .hero h1 {
    max-width: 16ch;
  }
  .hero-sub {
    max-width: 46ch;
  }
  .storia-grid,
  .feature,
  .prime-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }
  .storia-media {
    aspect-ratio: 16/10;
    order: -1;
  }
  .feature .media,
  .prime-media {
    aspect-ratio: 16/10;
  }
  .rev {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .triptych {
    grid-template-columns: 1fr;
    gap: var(--s6);
  }
  .dish .media {
    aspect-ratio: 1/1;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: var(--s7);
  }
  .rev-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .rev-facts {
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--s6);
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1;
    justify-content: center;
  }
  .bignum {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .media img,
  .hero-photo img {
    transition: none !important;
    animation: none !important;
  }
  .marquee-track {
    animation: none;
    transform: none;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn,
  .arrow,
  .arrow svg {
    transition:
      background 0.2s,
      color 0.2s;
  }
  .mobile-menu .m-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .mobile-menu {
    transition:
      opacity 0.15s,
      visibility 0.15s !important;
  }
  .bars::before,
  .bars::after {
    transition:
      transform 0.01s,
      top 0.01s;
  }
}
