/* =============================================================
   Roberta Policarpo — Personal Chef, Porto
   Palette: grigi profondi + bianco e argento
   Per cambiare i colori basta modificare le variabili qui sotto.
   ============================================================= */

:root {
  /* toni scuri delle sezioni (si alternano per staccarle) */
  --bg: #1f1f21;            /* grigio profondo */
  --bg-mid: #29292c;        /* un tono più chiaro */
  --bg-deep: #161618;       /* quasi nero */
  /* sezioni chiare */
  --light: #e7e7e5;
  --light-card: #f5f5f3;
  --ink: #1c1c1e;
  --ink-muted: #5d5e62;
  --line-ink: rgba(28, 28, 30, 0.16);

  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f4f4f2;          /* bianco */
  --muted: #a3a4a8;
  --silver: #d0d1d4;        /* argento */
  --silver-grad: linear-gradient(100deg, #8f9094 0%, #e9e9ea 26%, #a6a7ab 48%, #f7f7f7 70%, #8f9094 100%);
  --graphite-grad: linear-gradient(100deg, #1c1c1e 0%, #6c6d72 35%, #2a2a2d 60%, #7a7b80 85%, #1c1c1e 100%);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --pad: clamp(64px, 8vw, 128px);   /* spazio verticale delle sezioni */
  --max: 1440px;
  --radius: 26px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.05; }
p { margin: 0 0 1em; }
ol, ul { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
::selection { background: #ececec; color: var(--bg); }
:focus-visible { outline: 1px solid var(--silver); outline-offset: 4px; }

.skip { position: fixed; left: 16px; top: -80px; z-index: 400; padding: 12px 18px; background: var(--text); color: var(--bg); font-size: 14px; }
.skip:focus { top: 16px; }

.mono { font-family: var(--mono); font-weight: 300; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

.silver {
  background: var(--silver-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2 { font-size: clamp(40px, 5.4vw, 86px); letter-spacing: -0.015em; max-width: 15ch; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 34ch; }

/* ---------- Blocchi: sfondo a tutta larghezza, toni alternati ---------- */

.block { position: relative; }
.block--dark { background: var(--bg); }
.block--mid { background: var(--bg-mid); }
.block--deep { background: var(--bg-deep); }
.block--light { background: var(--light); color: var(--ink); }
.block--light .lead,
.block--light .h2 + p { color: var(--ink-muted); }
.block--light ::selection { background: var(--ink); color: var(--light); }

/* bordo luminoso in cima a ogni blocco scuro: separa senza pesare */
.block--dark::before,
.block--mid::before,
.block--deep::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22) 20%, rgba(255, 255, 255, 0.22) 80%, transparent);
  z-index: 1;
}

.wrap { max-width: var(--max); margin-inline: auto; padding: var(--pad) var(--gutter); }

/* intestazione di sezione: indice + nome + linea + nota */
.rail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(32px, 4.5vw, 64px);
  color: var(--muted);
}
.rail > span:nth-child(2) { color: var(--text); }
.rail__line {
  position: relative;
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  transform-origin: left;
}
.rail__line::before,
.rail__line::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  background:
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}
.rail__line::before { left: -4px; }
.rail__line::after { right: -4px; }
.rail__aside { white-space: nowrap; }
.block--light .rail { color: var(--ink-muted); }
.block--light .rail > span:nth-child(2) { color: var(--ink); }

/* ---------- Bottoni ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--text);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--bg); border-color: var(--text); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--solid::before { background: var(--silver-grad); background-size: 200% 100%; }
.btn--ghost { background: rgba(255, 255, 255, 0.03); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.block--light .btn--solid { background: var(--ink); color: var(--light); border-color: var(--ink); }
.block--light .btn--solid::before { background: var(--graphite-grad); background-size: 200% 100%; }
.block--light .btn--solid:hover { color: var(--text); }

.round {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.round:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.round svg { width: 22px; height: 22px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s;
}
.link:hover { border-color: var(--silver); }
.link svg { width: 20px; height: 20px; }
.link .handle { font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; color: var(--silver); }

.signature { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--silver); margin: 36px 0 0; }

/* ---------- Stelle e recensioni ---------- */

.stars { display: inline-flex; gap: 3px; color: var(--silver); }
.stars svg { width: 13px; height: 13px; }
.block--light .stars { color: var(--ink); }

.rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--silver);
  transition: background 0.3s, border-color 0.3s;
}
.rating:hover { background: rgba(20, 20, 22, 0.6); border-color: var(--silver); }

/* scheda recensione in vetro, sopra foto e video */
.rv {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(22, 22, 24, 0.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.rv__text { margin: 10px 0 12px; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.rv__by { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); font-size: 11px; }
.rv__who { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; text-align: left; }
.rv__name { color: var(--text); }
.rv__ig { text-transform: none; letter-spacing: 0.04em; color: inherit; transition: color 0.3s; }
.rv__ig:hover { color: var(--text); }
.rv__tag {
  padding: 2px 7px;
  border: 1px dashed currentColor;
  border-radius: 999px;
  font-style: normal;
  font-size: 9px;
  opacity: 0.8;
}

/* foto profilo (o iniziali) di chi ha scritto la recensione */
.av {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  background: var(--bg-mid);
}
.av--txt {
  display: inline-grid;
  place-items: center;
  border-color: transparent;
  background: var(--silver-grad);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
}
.block--light .av, .gcard--review .av { border-color: rgba(28, 28, 30, 0.16); }
.block--light .rv__name, .gcard--review .rv__name { color: var(--ink); }
.block--light .rv__ig:hover, .gcard--review .rv__ig:hover { color: var(--ink); }
.block--light .av--txt, .gcard--review .av--txt { background: var(--graphite-grad); color: var(--text); }
.avs { display: inline-flex; }
.avs .av { width: 26px; height: 26px; margin-left: -8px; border: 1.5px solid var(--bg); }
.avs .av:first-child { margin-left: 0; }
.avs--lg .av { width: 52px; height: 52px; margin-left: -14px; border: 2px solid var(--light); }

/* ---------- Effetti globali ---------- */

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

.progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--silver-grad); transform: scaleX(0); transform-origin: left; }

.cursor { display: none; transition: opacity 0.3s; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; }
  .has-cursor body,
  .has-cursor a,
  .has-cursor button,
  .has-cursor label { cursor: none; }
}
.cursor__dot,
.cursor__ring { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor__ring { display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; mix-blend-mode: difference; }
.cursor__ring::before,
.cursor__ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: transform 0.45s var(--ease-out), opacity 0.3s, border-color 0.3s;
}
.cursor__ring::before { background: #fff; transform: scale(0); }
.cursor__ring::after { border: 1px solid rgba(255, 255, 255, 0.6); }
.cursor__label {
  position: relative;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.cursor.is-hover .cursor__ring::after { opacity: 0; }
.cursor.is-hover .cursor__ring::before { transform: scale(2.1); }
.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-link .cursor__ring::after { transform: scale(1.5); }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: transform 0.6s var(--ease-out), background 0.5s, border-color 0.5s;
}
.header.is-scrolled {
  background: rgba(31, 31, 33, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 14px; justify-self: start; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--silver);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.06em;
}
.brand__name { font-family: var(--serif); font-size: 21px; letter-spacing: 0.03em; }

.nav { display: flex; gap: clamp(16px, 1.8vw, 30px); }
.nav a { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 0; font-size: 14px; color: var(--muted); transition: color 0.3s; }
.nav__i { font-family: var(--mono); font-size: 10px; color: rgba(163, 164, 168, 0.6); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--silver-grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav a:hover,
.nav a.is-active { color: var(--text); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }

.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang button { min-width: 34px; padding: 5px 8px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); transition: background 0.3s, color 0.3s; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.pill {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.pill:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.burger { display: none; position: relative; width: 44px; height: 44px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--text); transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .header { grid-template-columns: 1fr auto; }
  .burger { display: block; }
  .pill { display: none; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 100px var(--gutter) 60px;
    background: rgba(22, 22, 24, 0.98);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.8s var(--ease-out);
  }
  .nav a {
    font-family: var(--serif);
    font-size: clamp(42px, 10vw, 76px);
    line-height: 1.1;
    color: var(--text);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }
  .nav a::after { display: none; }
  .nav__i { font-size: 12px; }
  .nav-open .nav { clip-path: inset(0 0 0 0); }
  .nav-open .nav a { opacity: 1; transform: none; }
  .nav-open .nav a:nth-child(2) { transition-delay: 0.05s; }
  .nav-open .nav a:nth-child(3) { transition-delay: 0.1s; }
  .nav-open .nav a:nth-child(4) { transition-delay: 0.15s; }
  .nav-open .nav a:nth-child(5) { transition-delay: 0.2s; }
  .nav-open .nav a:nth-child(6) { transition-delay: 0.25s; }
  .nav-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-color: transparent; }
}
@media (max-width: 520px) { .brand__name { display: none; } }

/* ---------- Hero ---------- */

.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); }
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-mid) url("../assets/img/poster/hero-desktop.jpg") center / cover;
  will-change: clip-path;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 31, 33, 0.75) 0%, rgba(31, 31, 33, 0.35) 28%, rgba(31, 31, 33, 0.45) 60%, rgba(31, 31, 33, 0.96) 100%),
    radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(31, 31, 33, 0.6) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: calc(100% / 6) calc(100% / 4);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.hero__meta { position: absolute; top: 106px; display: flex; flex-direction: column; gap: 6px; color: var(--silver); }
.hero__meta--left { left: var(--gutter); }
.hero__meta--right { right: var(--gutter); text-align: right; }

.hero__content { position: absolute; inset: auto var(--gutter) clamp(36px, 6vh, 72px); }
.hero__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(68px, 15vw, 260px);
  line-height: 0.84;
  letter-spacing: -0.035em;
  margin-bottom: clamp(22px, 3.5vh, 40px);
}
/* la riga fa da maschera per l'entrata delle lettere: lo spazio in più (compensato dai margini negativi)
   lascia visibili le gambe della p e le punte del corsivo, che con interlinea 0.84 uscirebbero dal riquadro */
.hero__line { display: block; overflow: hidden; padding: 0.14em 0 0.3em; margin: -0.14em 0 -0.24em; }
.hero__line--italic { font-style: italic; padding-left: 0.9em; }
.hero__line .char {
  display: inline-block;
  /* il colore argento (background-clip: text) si dipinge solo dentro il riquadro della lettera: lo allarghiamo */
  padding: 0.14em 0.12em 0.3em;
  margin: -0.14em -0.12em -0.3em;
  background: var(--silver-grad);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 400% 0; } }

.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__tagline { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); color: var(--silver); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__scroll { position: absolute; right: var(--gutter); top: 50%; display: flex; align-items: center; gap: 14px; color: var(--muted); writing-mode: vertical-rl; }
.hero__scroll i { position: relative; width: 1px; height: 64px; overflow: hidden; background: var(--line); }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--silver); animation: scroll-line 2.2s var(--ease) infinite; }
@keyframes scroll-line { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

@media (max-width: 760px) {
  .hero__meta { top: 88px; }
  .hero__meta--right,
  .hero__scroll { display: none; }
  .hero__line--italic { padding-left: 0.4em; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- Filosofia ---------- */

.manifesto__text {
  max-width: 22ch;
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.8vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.manifesto__text .w { display: inline-block; }
.anim .manifesto__text .w { opacity: 0.14; }

/* ---------- Marquee: fascia argento ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
  color: var(--ink);
  background: linear-gradient(90deg, #b9babe 0%, #eeeeec 30%, #d4d5d8 55%, #f4f4f2 80%, #b9babe 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.4);
}
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__item {
  padding-right: 0.4em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(44px, 7vw, 116px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(28, 28, 30, 0.65);
}
.marquee__item:nth-child(even) { -webkit-text-stroke: 0; color: var(--ink); }

/* ---------- Servizi ---------- */

.offers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); }

.offer {
  position: relative;
  min-height: clamp(560px, 76vh, 760px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #151517;
  transform-style: preserve-3d;
  will-change: transform;
}
.offer__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: scale(1.06);
  transition: opacity 0.9s var(--ease), transform 1.4s var(--ease-out);
}
.offer:hover .offer__video { opacity: 0.78; transform: scale(1); }
.offer__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 21, 23, 0.15) 0%, rgba(21, 21, 23, 0.35) 40%, rgba(21, 21, 23, 0.94) 82%); }
.offer__review { position: absolute; top: 22px; right: 22px; z-index: 3; width: min(300px, 70%); }
.offer__review .rv__text { font-size: 17px; }
.offer__body { position: absolute; inset: auto 0 0; padding: clamp(26px, 3vw, 46px); }
.offer__num { display: block; margin-bottom: 16px; font-family: var(--serif); font-size: 60px; line-height: 0.9; }
.offer__title { margin-bottom: 14px; font-size: clamp(44px, 4.4vw, 72px); letter-spacing: -0.01em; }
.offer__text { max-width: 40ch; color: #d6d6d8; }
.offer__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.offer__cta i { font-style: normal; transition: transform 0.5s var(--ease-out); }
.offer:hover .offer__cta i { transform: translateX(8px); }

[data-spotlight] { --mx: 50%; --my: 50%; }
[data-spotlight]::before,
[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
[data-spotlight]::before { background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.09), transparent 45%); }
[data-spotlight]::after {
  padding: 1px;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.75), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
[data-spotlight]:hover::before,
[data-spotlight]:hover::after { opacity: 1; }

@media (max-width: 900px) {
  .offers { grid-template-columns: 1fr; }
  .offer { min-height: 540px; }
  .offer__video { opacity: 0.62; }
  .offer__review { left: 16px; right: 16px; top: 16px; width: auto; }
}

/* ---------- Come funziona (chiara) ---------- */

.process { display: grid; grid-template-columns: 5fr 7fr; gap: 0 clamp(40px, 6vw, 110px); align-items: start; }
.process__rail { grid-column: 1 / -1; }
.process__sticky { position: sticky; top: 22vh; }
.process__bar { width: 100%; max-width: 360px; height: 1px; margin-top: 40px; background: var(--line-ink); }
.process__bar span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 6px 24px;
  padding: clamp(28px, 4vw, 52px) 0;
  border-top: 1px solid var(--line-ink);
  transition: opacity 0.6s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--line-ink); }
.anim .step { opacity: 0.3; }
.anim .step.is-active { opacity: 1; }
.step__num { grid-row: span 2; padding-top: 12px; color: var(--ink-muted); }
.step__title { font-size: clamp(34px, 3.4vw, 54px); }
.step__text { max-width: 38ch; margin: 4px 0 0; color: var(--ink-muted); }

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process__sticky { position: static; margin-bottom: 28px; }
  .step { grid-template-columns: 52px 1fr; }
}

/* ---------- Recensione in evidenza ---------- */

.quote {
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(208, 209, 212, 0.12), transparent 70%),
    var(--bg-deep);
}
.quote:empty { display: none; }
.quote__inner { max-width: 1100px; margin-inline: auto; padding: clamp(60px, 8vw, 120px) var(--gutter); }
.quote__mark { display: block; height: 0.5em; font-family: var(--serif); font-size: clamp(120px, 14vw, 220px); line-height: 0.9; }
.quote__text { margin: 0 auto 28px; max-width: 26ch; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 60px); line-height: 1.15; }
.quote__by { display: inline-flex; justify-content: center; gap: 14px; }
.quote__by .av { width: 46px; height: 46px; }

/* ---------- Gli ultimi menu (carosello) ---------- */

.menus__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.menus__nav { display: flex; gap: 10px; }

.menus { display: grid; touch-action: pan-y; user-select: none; }
.mslide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  visibility: hidden;
}
.mslide.is-active { visibility: visible; }

.mslide__visual { position: relative; min-width: 0; }
.mslide__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 16px); }
.mslide__ph { position: relative; margin: 0; }
.mslide__ph:nth-child(2) { transform: translateY(clamp(18px, 3vw, 44px)); }
.mslide__img {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-mid);
  clip-path: inset(0 0 0 0 round 18px);
}
.mslide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mslide__ph:hover .mslide__img img { transform: scale(1.06); }
.mslide__review { position: absolute; left: -12px; bottom: -44px; z-index: 2; width: min(340px, 80%); }

.mslide__tag { display: inline-flex; align-items: center; gap: 10px; color: var(--silver); }
.mslide__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--silver); box-shadow: 0 0 0 4px rgba(208, 209, 212, 0.15); }
.mslide__date { margin: 18px 0 8px; font-size: clamp(36px, 3.6vw, 58px); font-style: italic; }
.mslide__meta { color: var(--muted); }
.mslide__courses { margin: 28px 0 32px; border-top: 1px solid var(--line); }
.mslide__courses li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mslide__courses .mono { color: var(--muted); font-size: 11px; }
.mslide__courses .dish { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 25px); line-height: 1.25; }
.mslide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.menus__dots { display: flex; gap: 8px; margin-top: clamp(48px, 5vw, 72px); }
.menus__dots button { position: relative; flex: 1; max-width: 120px; height: 18px; }
.menus__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.menus__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--silver-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease-out); }
.menus__dots button[aria-current="true"]::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .mslide { grid-template-columns: 1fr; }
  .mslide__photos {
    grid-template-columns: repeat(3, 62%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .mslide__photos::-webkit-scrollbar { display: none; }
  .mslide__ph { scroll-snap-align: start; }
  .mslide__ph:nth-child(2) { transform: none; }
  .mslide__review { position: relative; left: auto; bottom: auto; width: auto; margin: -48px 12px 0; }
  .mslide__courses li { grid-template-columns: 1fr; gap: 2px; }
  .menus__nav .round { width: 48px; height: 48px; }
}

/* ---------- Reel ---------- */

.reel { display: grid; grid-template-columns: 1fr auto; gap: 0 clamp(40px, 7vw, 120px); align-items: center; overflow-x: clip; }
.reel__rail { grid-column: 1 / -1; }
.reel .lead { margin: 22px 0 36px; }
.reel__stage { position: relative; margin-right: clamp(0px, 4vw, 60px); }
.reel__review { position: absolute; left: -150px; bottom: 90px; z-index: 2; width: 270px; }
.reel__review .rv__text { font-size: 17px; }
.reel__text .h2 + .link { margin-top: 22px; }

.igfeed { margin-top: 44px; }
.igfeed[hidden] { display: none; }
.igfeed__label { margin: 0 0 14px; color: var(--muted); }
.igfeed__list { display: flex; gap: 12px; }
.igfeed__list[hidden] { display: none; }
.igfeed__item {
  width: 84px;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #000;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.3s, border-color 0.3s, transform 0.3s;
}
.igfeed__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.igfeed__item:hover,
.igfeed__item.is-active { opacity: 1; border-color: var(--silver); }
.igfeed__item.is-active { transform: translateY(-4px); }
.igfeed__open { margin-top: 18px; }

.phone {
  position: relative;
  width: min(350px, 76vw);
  aspect-ratio: 9 / 19;
  padding: 12px;
  border-radius: 54px;
  background: linear-gradient(145deg, #4a4a50 0%, #1a1a1c 35%, #2a2a2e 65%, #6a6b70 100%);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.phone::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(circle, rgba(220, 221, 225, 0.16), transparent 60%); filter: blur(20px); }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 42px; background: #000; }
.phone__video { width: 100%; height: 100%; object-fit: cover; }
.phone__notch { position: absolute; top: 24px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.phone__sound {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  transition: background 0.3s;
}
.phone__sound:hover { background: rgba(20, 20, 22, 0.7); }
.phone__sound svg { width: 18px; height: 18px; }
.phone__sound .wave { opacity: 0.25; transition: opacity 0.3s; }
.phone__sound[aria-pressed="true"] .wave { opacity: 1; }

@media (max-width: 900px) {
  .reel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .reel .rail { justify-self: stretch; text-align: left; }
  .reel .lead,
  .reel .h2 { margin-inline: auto; }
  .reel__text { display: flex; flex-direction: column; align-items: center; margin-bottom: 40px; }
  .igfeed:not([hidden]) { display: flex; flex-direction: column; align-items: center; margin-top: 32px; }
  .reel__stage { margin-right: 0; }
  .reel__review { position: relative; left: auto; bottom: auto; width: min(340px, 88vw); margin: -60px auto 0; text-align: left; }
}

/* ---------- Galleria ---------- */

.gallery { overflow: hidden; }
.gallery__head { max-width: var(--max); margin: 0 auto clamp(20px, 3vh, 36px); padding: clamp(96px, 13vh, 124px) var(--gutter) 0; }
.gallery__head .rail { margin-bottom: 18px; }
.gallery__head .h2 { font-size: clamp(38px, 4.4vw, 72px); max-width: none; }

.gallery__viewport { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gallery__viewport::-webkit-scrollbar { display: none; }
.is-pinned .gallery__viewport { overflow: visible; scroll-snap-type: none; }
.gallery__track { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); width: max-content; padding: 0 var(--gutter); }

.gcard { flex: none; margin: 0; scroll-snap-align: center; }
.gcard__media {
  position: relative;
  display: block;
  height: clamp(220px, calc(100svh - 380px), 560px);
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-mid);
  cursor: zoom-in;
}
.gcard--alto .gcard__media { height: clamp(260px, calc(100svh - 300px), 700px); }
.gcard__media img,
.gcard__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: grayscale(0.25) brightness(0.88);
  transition: transform 1.4s var(--ease-out), filter 0.8s;
}
.gcard:hover .gcard__media img,
.gcard:hover .gcard__media video { transform: scale(1); filter: none; }
.gcard__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(20, 20, 22, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.gcard__badge svg { width: 12px; height: 12px; margin-left: 2px; }

/* recensione dentro la galleria */
.gcard--review .gcard__media {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  cursor: default;
  color: var(--ink);
  background: linear-gradient(160deg, #f4f4f2, #d3d4d7);
}
.gcard--review .stars { color: var(--ink); }
.gcard--review blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.22; }
.gcard--review .rv__by { color: var(--ink-muted); }
.gcard--review .quote-mark { font-family: var(--serif); font-size: 90px; line-height: 0.6; height: 36px; }

.gallery__bar { max-width: calc(var(--max) - 2 * var(--gutter)); height: 1px; margin: clamp(22px, 4vh, 40px) auto clamp(40px, 6vh, 72px); background: var(--line); }
.gallery__bar span { display: block; height: 100%; background: var(--silver-grad); transform: scaleX(0); transform-origin: left; }

@media (max-width: 760px) {
  .gallery__head { padding-top: var(--pad); }
  .gcard__media,
  .gcard--alto .gcard__media { width: 74vw; height: auto; max-width: 360px; }
  .gallery__bar { margin-inline: var(--gutter); }
}

/* ---------- Lightbox ---------- */

.lightbox { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(18, 18, 20, 0.96); color: var(--text); }
.lightbox[open] { display: grid; grid-template-columns: 100px 1fr 100px; align-items: center; animation: fade-in 0.4s; }
@keyframes fade-in { from { opacity: 0; } }
.lightbox::backdrop { background: rgba(18, 18, 20, 0.9); }
.lightbox__stage { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; margin: 0; padding: 72px 0 56px; }
.lightbox__stage img,
.lightbox__stage video { max-width: 100%; max-height: 80vh; border-radius: 14px; object-fit: contain; }
.lightbox__stage figcaption { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--silver); }
.lightbox__count { position: absolute; left: var(--gutter); bottom: 24px; margin: 0; color: var(--muted); }
.lightbox__close,
.lightbox__nav { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--line-strong); border-radius: 50%; transition: border-color 0.3s, background 0.3s; }
.lightbox__close:hover,
.lightbox__nav:hover { border-color: var(--silver); background: rgba(255, 255, 255, 0.06); }
.lightbox__close svg,
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 20px; right: 20px; z-index: 2; }
.lightbox__nav { justify-self: center; }

@media (max-width: 700px) {
  .lightbox[open] { grid-template-columns: 1fr; padding-inline: 12px; }
  .lightbox__nav { position: absolute; bottom: 18px; z-index: 2; }
  .lightbox__nav--prev { right: 84px; }
  .lightbox__nav--next { right: 20px; }
  .lightbox__stage { padding-bottom: 96px; }
}

/* ---------- Chi sono ---------- */

.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.about__portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-mid); }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.about__text > p:not(.signature) { color: #d4d4d6; max-width: 46ch; }
.about__text .h2 { margin-bottom: 32px; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__portrait { max-width: 520px; }
}

/* ---------- Recensioni (chiara) ---------- */

.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 18px; }
.reviews__summary { display: flex; align-items: center; gap: 18px; }
.reviews__score { font-family: var(--serif); font-size: clamp(64px, 7vw, 110px); line-height: 0.85; }
.reviews__summary .mono { color: var(--ink-muted); }

.reviews { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.reviews__wall { columns: 2; column-gap: 16px; }
.rcard {
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 24px;
  border: 1px solid var(--line-ink);
  border-radius: 20px;
  background: var(--light-card);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.rcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(28, 28, 30, 0.12); }
.rcard blockquote { margin: 12px 0 16px; font-family: var(--serif); font-size: 21px; line-height: 1.32; }
.rcard .rv__by { color: var(--ink-muted); }
.rcard__menu { display: block; margin-top: 6px; color: var(--ink-muted); font-size: 10px; }
.rcard.is-pending { border-style: dashed; }
.rcard--empty { font-family: var(--serif); font-size: 22px; color: var(--ink-muted); }

/* modulo recensione: scuro, dentro la sezione chiara */
.review-form {
  position: sticky;
  top: 100px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 40px 80px rgba(28, 28, 30, 0.25);
}
.review-form__title { margin-bottom: 24px; font-size: clamp(30px, 2.6vw, 40px); }
.review-form .btn { width: 100%; margin-top: 8px; }
.block--light .review-form .btn--solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.block--light .review-form .btn--solid::before { background: var(--silver-grad); background-size: 200% 100%; }
.block--light .review-form .btn--solid:hover { color: var(--bg); }
.form__status:empty { display: none; }
.form__status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form__privacy { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.review-form__thanks, .form__status { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--silver); }
.hp { position: absolute; left: -9999px; }

.stars-input { margin-bottom: 22px; }
.stars-input legend,
.chips legend { margin-bottom: 12px; padding: 0; color: var(--muted); }
.stars-input__row { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.stars-input label {
  width: 34px;
  height: 34px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.7 6 6.5.6-4.9 4.3 1.5 6.4L12 16.8 6.2 20.1l1.5-6.4L2.8 9.4l6.5-.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.7 6 6.5.6-4.9 4.3 1.5 6.4L12 16.8 6.2 20.1l1.5-6.4L2.8 9.4l6.5-.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background 0.25s, transform 0.25s;
}
/* le stelle sono in ordine inverso nel codice: "~ label" accende quelle a sinistra */
.stars-input input:checked ~ label { background: var(--silver); }
.stars-input__row:hover input ~ label { background: rgba(255, 255, 255, 0.18); }
.stars-input__row input + label:hover,
.stars-input__row input + label:hover ~ label { background: var(--silver); }
.stars-input label:hover { transform: scale(1.12); }
.stars-input input:focus-visible + label { outline: 1px solid var(--silver); outline-offset: 3px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 18px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--silver); }

@media (max-width: 1000px) {
  .reviews { grid-template-columns: 1fr; }
  .review-form { position: static; }
}
@media (max-width: 760px) {
  .reviews__wall { columns: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .reviews__wall::-webkit-scrollbar { display: none; }
  .rcard { flex: none; width: 80vw; max-width: 340px; margin: 0; scroll-snap-align: start; }
}

/* ---------- Contatti ---------- */

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__title { font-size: clamp(54px, 7.6vw, 128px); line-height: 1; letter-spacing: -0.025em; margin-bottom: 28px; }
.contact__title em { display: block; font-style: italic; background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact__list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list .mono { color: var(--muted); }
.contact__list a,
.contact__list span:last-child { font-size: 18px; word-break: break-word; }
.contact__list a { background: linear-gradient(var(--silver), var(--silver)) left bottom / 0 1px no-repeat; transition: background-size 0.5s var(--ease-out); }
.contact__list a:hover { background-size: 100% 1px; }

.form {
  position: relative;
  padding: clamp(24px, 3.4vw, 52px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.chips legend { width: 100%; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 11px 20px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; cursor: pointer; transition: background 0.35s, color 0.35s, border-color 0.35s; }
.chip span:hover { border-color: var(--silver); }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 1px solid var(--silver); outline-offset: 3px; }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.field { position: relative; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field input,
.field textarea {
  width: 100%;
  padding: 26px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 18px;
  color-scheme: dark;
  transition: border-color 0.3s;
  cursor: text;
}
.field textarea { min-height: 92px; resize: vertical; }
.field label { position: absolute; left: 0; top: 28px; font-size: 17px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform 0.35s var(--ease-out), color 0.3s; }
.field input:focus,
.field textarea:focus { border-color: var(--silver); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(0.72); color: var(--silver); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--silver-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }

.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.form__note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
  .contact__list li { grid-template-columns: 96px 1fr; }
}
/* telefoni stretti: etichetta sopra, così l'email resta su una riga */
@media (max-width: 480px) {
  .contact__list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Footer ---------- */

.footer { position: relative; padding: clamp(56px, 7vw, 110px) var(--gutter) 28px; background: var(--bg-deep); overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--silver-grad); opacity: 0.6; }
.footer__big {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 0.3em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(60px, 14.5vw, 250px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.footer__big span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 244, 242, 0.35);
  background: var(--silver-grad);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-size 1s var(--ease-out), -webkit-text-stroke-color 0.6s;
}
.footer__big span:last-child { font-style: italic; }
.footer__big:hover span { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: clamp(36px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.footer__row p { margin: 0; }
.footer__links { display: flex; gap: 26px; }
.footer__links a { transition: color 0.3s; }
.footer__links a:hover { color: var(--text); }

/* ---------- Telefono: spazi più compatti ---------- */

@media (max-width: 760px) {
  :root { --pad: 60px; --radius: 22px; }
  .rail { margin-bottom: 28px; gap: 10px; }
  .h2 { font-size: clamp(36px, 10vw, 48px); }
  .manifesto__text { font-size: clamp(30px, 8.6vw, 40px); }
  .offer { min-height: 520px; }
  .quote__inner { padding-block: 56px; }
  .menus__dots { margin-top: 32px; }
  .signature { font-size: 34px; margin-top: 24px; }
}

/* ---------- Animazioni (attive solo se lo script è partito) ---------- */

.anim [data-reveal] { opacity: 0; transform: translateY(36px); }
.anim .hero__line .char { transform: translateY(110%); }
.anim [data-hero-fade] { opacity: 0; }
.anim .rail__line { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  .grain::before,
  .hero__line .char,
  .hero__scroll i::after { animation: none; }
}
