/* ---------- Token ---------- */
:root {
  --calce: #F3F2EF;
  --ardesia: #1B1E21;
  --grafite: #5F6469;
  --nebbia: #A9AEB2;
  --mare: #2C4656;

  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon Script", cursive;

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--calce);
  color: var(--ardesia);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
:focus-visible { outline: 2px solid var(--mare); outline-offset: 4px; }
/* rifiniture: testo selezionato nei colori del sito, niente parole orfane a fine paragrafo */
::selection { background: var(--mare); color: var(--calce); }
p, blockquote { text-wrap: pretty; }

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

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn--solid { background: var(--mare); color: var(--calce); }
.btn--solid:hover { background: #22394A; }
.btn--ghost { border: 1px solid rgba(243, 242, 239, .35); color: var(--calce); }
.btn--ghost:hover { border-color: var(--calce); }

.link {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  pointer-events: none;
}
.preloader__dark {
  position: absolute; inset: 0; z-index: 2;
  background: var(--ardesia);
  color: var(--calce);
  display: grid;
  place-items: center;
  clip-path: inset(0 0 0 0);
}
.preloader__name {
  margin: 0;
  font-family: var(--sans);
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: clamp(34px, 8.4vw, 150px);
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
}
.preloader__title { text-align: center; }
/* sottotitolo sottile sotto il nome */
.preloader__role {
  margin: clamp(14px, 1.6vw, 26px) 0 0;
  font-family: var(--sans);
  font-weight: 300;
  font-variation-settings: "wdth" 100;
  font-size: clamp(11px, 1.15vw, 17px);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--nebbia);
  /* lo spazio dopo l'ultima lettera sbilancerebbe la centratura */
  margin-right: -.42em;
}
.preloader__role span { margin: 0 .5em; }
/* ogni lettera è composta da due metà che scorrono una contro l'altra */
.char { position: relative; display: inline-block; }
.char__top, .char__bottom { display: block; }
.char__top { clip-path: inset(0 0 50% 0); }
.char__bottom { position: absolute; inset: 0; clip-path: inset(50% 0 0 0); }
.char--space { width: .35em; }

.preloader__count {
  position: absolute; bottom: 28px; left: 0; right: 0;
  margin: 0; text-align: center;
  font-size: 13px; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.preloader__mosaic {
  position: absolute; inset: 0; z-index: 1;
  background: var(--calce);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  padding: 80px var(--gutter) 24px;
}
.preloader__mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--gutter);
  color: var(--calce);
  mix-blend-mode: difference;
}
.site-header__menu {
  justify-self: start;
  display: flex; align-items: center; gap: 12px;
  background: none; border: 0; padding: 8px 0;
  color: inherit; font: inherit; font-size: 15px; cursor: pointer;
}
.burger, .burger::after {
  display: block; width: 24px; height: 1px; background: currentColor;
}
.burger { position: relative; }
.burger::after { content: ""; position: absolute; top: 6px; }
.site-header__logo img { width: clamp(96px, 11vw, 140px); height: auto; }
.site-header__cta {
  justify-self: end;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ardesia);
  display: grid; place-items: center;
}
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu a {
  display: block; padding: 6px 0;
  font-family: var(--serif);
  font-size: clamp(36px, 7vw, 76px);
  color: var(--calce); text-decoration: none;
}
.menu a:hover { font-style: italic; }

/* ---------- Hero ---------- */
.hero {
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  padding: 84px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 32px;
}
.hero__photos {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 10px;
}
.hero__photo { overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__text {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: end;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.hero__text p { margin: 0; max-width: 36ch; color: var(--grafite); }
.hero__aside .btn { margin-top: 22px; }

/* ---------- Vantaggi ---------- */
.benefits {
  --ring: min(50vh, 480px);
  --card: 320px;
  height: 680vh;
  position: relative;
  background: #0E1012;
  color: var(--calce);
}
.benefits__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.benefits__ring, .benefits__title {
  position: absolute; left: 50%; top: 50%;
  width: var(--ring); height: var(--ring);
  margin: calc(var(--ring) / -2) 0 0 calc(var(--ring) / -2);
  border-radius: 50%;
}
.benefits__ring {
  background: radial-gradient(circle at 50% 40%, #1F2327 0%, #15181B 70%);
  box-shadow: 0 0 0 1px rgba(169, 174, 178, .28), 0 0 0 18px rgba(44, 70, 86, .18), 0 40px 90px rgba(0, 0, 0, .5);
}
.benefits__title {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  /* margini interni proporzionati al cerchio, non allo schermo */
  padding: 0 calc(var(--ring) * .12);
  text-align: center;
  font-family: var(--serif);
  font-size: calc(var(--ring) * .082);
  line-height: 1.1;
}
.benefits__title span { display: block; white-space: nowrap; }
.benefits__title span + span { font-style: italic; color: #C9CCCE; }
.benefits__list { list-style: none; margin: 0; padding: 0; }
.benefit {
  position: absolute;
  width: var(--card);
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(27, 30, 33, .82);
  border: 1px solid rgba(243, 242, 239, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  will-change: transform, opacity;
}
/* posizioni intorno all'anello, in senso orario */
.benefit:nth-child(1) { left: 6vw;  top: 17%; }
.benefit:nth-child(2) { right: 6vw; top: 17%; }
.benefit:nth-child(3) { right: 6vw; top: 57%; }
.benefit:nth-child(4) { left: 50%;  bottom: 5%; margin-left: calc(var(--card) / -2); }
.benefit:nth-child(5) { left: 6vw;  top: 57%; }
.benefit__icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mare);
  color: var(--calce);
}
.benefit__icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.benefit h3 { font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.benefit p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #C9CCCE; }

/* ---------- Approccio ---------- */
.approach {
  padding: 140px var(--gutter);
  text-align: center;
}
.approach__word {
  font-family: var(--serif);
  font-size: clamp(96px, 18vw, 280px);
  line-height: .85;
  letter-spacing: -.02em;
}
.approach__line {
  margin: 14px 0 64px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--grafite);
}
.approach__collage {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  /* le righe smettono di crescere quando il collage arriva alla sua larghezza massima,
     altrimenti sugli schermi larghi le cornici diventano strette e altissime */
  grid-template-rows: repeat(15, clamp(32px, 5vw, 72px));
}
.approach__collage img { width: 100%; height: 100%; object-fit: cover; }
.c1 { grid-column: 1 / 7;  grid-row: 1 / 9; }
.c2 { grid-column: 7 / 10; grid-row: 3 / 8; margin-left: -18px; z-index: 1; }
/* le due foto in basso sono verticali: cornici verticali, così si vedono quasi per intero */
.c3 { grid-column: 3 / 8;  grid-row: 8 / 16; z-index: 2; object-position: 50% 30%; }
.c4 { grid-column: 8 / 12; grid-row: 9 / 16; margin: 30px 0 0 18px; object-position: 50% 40%; }
.approach__text {
  max-width: 58ch;
  margin: 72px auto 0;
  text-align: left;
  font-size: clamp(17px, 1.4vw, 19px);
}
.approach__text p { margin: 0 0 1em; }
.approach__cta { margin-top: 18px; font-size: 15px; }

/* ---------- Recensioni ---------- */
.reviews {
  --w: min(620px, 84vw);
  /* altezza massima del testo: oltre, il testo scorre dentro la scheda */
  --text-max: calc(100svh - 600px);
  height: 900vh;
  position: relative;
  color: var(--calce);
  background: #0B0D0F;
}
.reviews__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  /* sfumature come nella reference, ma nei blu della palette */
  background:
    radial-gradient(60vw 60vh at 0% 100%, rgba(44, 70, 86, .75), transparent 70%),
    radial-gradient(50vw 55vh at 100% 85%, rgba(62, 98, 120, .45), transparent 70%),
    radial-gradient(40vw 40vh at 85% 0%, rgba(44, 70, 86, .35), transparent 70%),
    #0B0D0F;
}
.reviews__mark {
  position: absolute; left: 50%; top: 52%;
  width: min(1100px, 120vw); height: auto;
  transform: translate(-50%, -50%);
  opacity: .04;
  pointer-events: none;
}
.reviews__head {
  position: absolute; left: 0; right: 0; top: 112px;
  padding: 0 var(--gutter);
  text-align: center;
}
.reviews__head h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); line-height: 1; }
.reviews__head p { margin: 12px auto 0; max-width: 56ch; color: var(--nebbia); font-size: 15px; }
.reviews__head .link { color: var(--calce); }
.reviews__track { position: absolute; inset: 0; }
.review {
  position: absolute; left: 50%; top: 60%;
  width: var(--w);
  margin-left: calc(var(--w) / -2);
  padding: 30px 32px 28px;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(48, 54, 60, .9), rgba(22, 25, 28, .92));
  border: 1px solid rgba(243, 242, 239, .16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform: translateY(-50%);
  will-change: transform, opacity, filter;
}
.review__top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-size: 14px;
}
.source {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(243, 242, 239, .08);
  color: #DADCDD;
}
.source::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #8FB3C7;
}
.source--wa::before { background: #4FBF7A; }
a.source { text-decoration: none; transition: background-color .3s; }
a.source:hover { background: rgba(243, 242, 239, .16); }
.score { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: #E9C46A; }
.review__title { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin-bottom: 10px; }
.review__text { margin: 0; font-size: 16px; line-height: 1.6; color: #D4D6D8; }
.review__who {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(243, 242, 239, .12);
  display: flex; flex-direction: column;
}
.review__who strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.review__who span { color: var(--nebbia); font-size: 14px; }

/* i messaggi WhatsApp sembrano davvero una chat */
.bubble {
  position: relative;
  width: fit-content; max-width: 100%;
  margin: 0 0 8px;
  padding: 12px 16px 22px;
  border-radius: 4px 18px 18px 18px;
  background: var(--calce);
  color: var(--ardesia);
  font-size: 16px; line-height: 1.5;
}
.bubble p { margin: 0; }
.bubble time { position: absolute; right: 12px; bottom: 5px; font-size: 11px; color: var(--grafite); }
.bubble--short { padding-right: 56px; padding-bottom: 12px; }
.bubble--short time { bottom: 12px; }
.review__text, .bubble p {
  max-height: max(160px, var(--text-max));
  overflow-y: auto;
  scrollbar-width: thin;
}
/* sfumatura in basso quando c'è altro testo da leggere */
.is-scroll {
  padding-right: 6px;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
          mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.is-scroll.is-end { -webkit-mask-image: none; mask-image: none; }
.proof {
  margin-top: 16px;
  background: none; border: 0; padding: 0;
  color: var(--calce); font: inherit; font-size: 14px;
  text-decoration: underline; text-underline-offset: 4px;
  cursor: pointer;
}
.reviews__count {
  position: absolute; left: 0; right: 0; bottom: 28px;
  margin: 0; text-align: center;
  font-size: 14px; color: var(--nebbia);
  font-variant-numeric: tabular-nums;
}
.reviews__count span { color: var(--calce); }

.proof-dialog {
  max-width: min(520px, 92vw); max-height: 88vh;
  padding: 0; border: 0; border-radius: 18px;
  background: var(--ardesia);
  overflow: auto;
}
.proof-dialog::backdrop { background: rgba(8, 9, 10, .82); }
.proof-dialog img { width: 100%; height: auto; }
.proof-dialog form { position: sticky; bottom: 0; padding: 12px; text-align: center; background: var(--ardesia); }
.proof-dialog__close {
  background: var(--calce); color: var(--ardesia);
  border: 0; border-radius: 999px; padding: 10px 26px;
  font: inherit; font-size: 15px; cursor: pointer;
}

/* ---------- Foto nella foto ---------- */
.frames { height: 100vh; height: 100svh; position: relative; }
.frames__stage {
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--ardesia);
  display: grid; place-items: center;
}
.frames__bg, .frames__bg img { position: absolute; inset: 0; }
.frames__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(14, 16, 18, .75) 0%, rgba(14, 16, 18, 0) 45%);
}
.frames__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(.75) blur(3px);
  transform: scale(1.12);
  opacity: 0;
}
.frames__front {
  position: relative;
  width: min(32vw, 420px);
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.frames__front img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
}
.frames img.is-on { opacity: 1; }
.frames__caption {
  position: absolute; left: var(--gutter); bottom: 100px;
  max-width: 34ch; margin: 0;
  color: var(--calce);
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.35;
}
.frames__cta { position: absolute; left: var(--gutter); bottom: 32px; }
.frames__pause {
  position: absolute; right: var(--gutter); bottom: 32px;
  background: none; border: 1px solid rgba(243, 242, 239, .4); border-radius: 999px;
  color: var(--calce); font: inherit; font-size: 13px;
  padding: 7px 16px; cursor: pointer;
}

/* ---------- Storie ---------- */
.stories { padding: 140px var(--gutter) 120px; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
}
/* fila scorrevole: tre per schermata, il resto di lato (fino ai bordi della pagina) */
.stories__list {
  --gap: 10px;
  display: flex; align-items: flex-start; gap: var(--gap);
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.stories__list::-webkit-scrollbar { display: none; }
.stories__list:focus-visible { outline-offset: -2px; }
.story {
  flex: none; width: calc((100% - var(--gap) * 2) / 3);
  scroll-snap-align: start;
  text-decoration: none;
}
.story img {
  /* height: auto perché WordPress scrive width e height sull'immagine */
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  transition: filter .6s var(--ease);
}
/* la centrale di ogni tris scende, come un'onda mentre la fila scorre */
.story:nth-child(3n+2) { margin-top: 80px; }
.stories__nav {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px;
  margin-top: 40px;
}
/* con lo scroll: la sezione occupa lo schermo e la fila scorre di lato.
   Le copertine si rimpiccioliscono quanto serve perché tutto stia in altezza. */
.stories.is-pinned {
  height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 84px; padding-bottom: 32px;
}
.stories.is-pinned .section-head { margin-bottom: 32px; }
.stories.is-pinned .stories__list { overflow: visible; flex: none; }
.stories.is-pinned .story { width: min(calc((100% - var(--gap) * 2) / 3), calc((100svh - 470px) * .75)); }
.stories.is-pinned .story:nth-child(3n+2) { margin-top: 56px; }
.stories.is-pinned .stories__nav { margin-top: 28px; }
/* portatili bassi: meno spazio intorno, copertine allineate, così restano grandi */
@media (max-height: 760px) and (min-width: 761px) {
  .stories.is-pinned { padding-top: 70px; padding-bottom: 20px; }
  .stories.is-pinned .section-head { margin-bottom: 18px; }
  .stories.is-pinned .section-head h2 { font-size: 40px; }
  .stories.is-pinned .story { width: min(calc((100% - var(--gap) * 2) / 3), calc((100svh - 290px) * .75)); }
  .stories.is-pinned .story:nth-child(3n+2) { margin-top: 0; }
  .stories.is-pinned .story h3 { font-size: 22px; margin-top: 12px; }
  .stories.is-pinned .stories__nav { margin-top: 16px; }
}
.stories__progress { height: 1px; background: rgba(27, 30, 33, .15); margin-right: 18px; }
.stories__progress span {
  display: block; height: 100%; background: var(--ardesia);
  transform-origin: left; transition: transform .4s var(--ease);
}
.stories__count { margin: 0; font-size: 14px; color: var(--grafite); font-variant-numeric: tabular-nums; }
.stories__count span { color: var(--ardesia); }
.story h3 { font-family: var(--serif); font-size: 26px; margin-top: 18px; }
.story p { margin: 2px 0 0; color: var(--grafite); font-size: 15px; }
.story:hover img { filter: grayscale(1); }

/* ---------- Film ---------- */
.films {
  --card-w: clamp(150px, 12vw, 200px);
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--ardesia);
  color: var(--calce);
}
.films__media, .films__video, .films__shade { position: absolute; inset: 0; }
.films__video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.films__video.is-on { opacity: 1; }
.films__shade {
  background:
    linear-gradient(to top, rgba(14, 16, 18, .85) 0%, rgba(14, 16, 18, .25) 45%, rgba(14, 16, 18, 0) 70%),
    linear-gradient(to right, rgba(14, 16, 18, .55) 0%, rgba(14, 16, 18, 0) 55%);
}
.films__label {
  position: absolute; left: var(--gutter); top: 96px;
  font-family: var(--serif); font-size: clamp(22px, 2vw, 30px);
}
.films__info {
  position: absolute; left: var(--gutter); bottom: 64px;
  max-width: min(46vw, 640px);
}
.films__place { margin: 0 0 10px; font-size: 15px; color: #D9DADB; }
.films__names {
  font-family: var(--serif);
  font-size: clamp(44px, 6.2vw, 104px);
  line-height: .95;
  letter-spacing: -.01em;
  margin-bottom: 28px;
}
.films__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.films__actions .btn--ghost { border-color: rgba(243, 242, 239, .6); }
.btn--light { background: var(--calce); color: var(--ardesia); border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; }
.btn--light:hover { background: #fff; }
.btn--light:disabled { opacity: .6; cursor: default; }
.films__cards {
  position: absolute; right: var(--gutter); bottom: 110px;
  display: flex; gap: 14px;
  list-style: none; margin: 0; padding: 0;
}
.film-card {
  position: relative;
  display: block;
  width: var(--card-w); aspect-ratio: 3 / 4;
  padding: 0; border: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #222;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
  transition: transform .4s var(--ease);
}
.film-card:hover { transform: translateY(-6px); }
.film-card img { width: 100%; height: 100%; object-fit: cover; }
.film-card span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 12px 12px;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent);
  color: var(--calce);
  font-family: var(--serif); font-size: 17px; line-height: 1.15;
}
.film-card small { display: block; font-family: var(--sans); font-size: 12px; color: #D9DADB; margin-top: 3px; }
.films__nav {
  position: absolute; right: var(--gutter); bottom: 48px;
  display: flex; align-items: center; gap: 14px;
}
.films__arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(243, 242, 239, .4);
  background: none; color: var(--calce); cursor: pointer;
}
.films__arrow:hover { border-color: var(--calce); }
.films__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.films__count { margin: 0; font-size: 14px; color: #D9DADB; font-variant-numeric: tabular-nums; }
.films__count span { color: var(--calce); }
/* copia della copertina che si allarga fino a riempire lo schermo */
.film-open {
  position: absolute; z-index: 1;
  object-fit: cover;
  pointer-events: none;
}

.film-dialog {
  width: min(1100px, 94vw);
  padding: 0; border: 0; border-radius: 16px;
  background: #000;
  overflow: hidden;
}
.film-dialog::backdrop { background: rgba(8, 9, 10, .88); }
.film-dialog__frame { aspect-ratio: 16 / 9; }
.film-dialog__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.film-dialog form { padding: 12px; text-align: center; background: #000; }

/* ---------- Recensioni ---------- */
.words {
  position: relative;
  z-index: 1;
  padding: 60px var(--gutter) 40px;
  /* sotto la citazione il bianco sfuma e lascia vedere lo scatto, che sale qui sotto */
  background: linear-gradient(#fff calc(100% - 12svh - 110px), rgba(255,255,255,0) calc(100% - 12svh));
}
.words__arches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  gap: clamp(12px, 3vw, 48px);
  align-items: start;
}
.arch {
  height: clamp(320px, 42vw, 560px);
  border-radius: 999px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 72%, transparent 100%);
}
.arch--tall { height: clamp(380px, 50vw, 680px); margin-top: 60px; }
.arch img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.words__quote {
  max-width: 640px; margin: -40px auto 0; position: relative;
  text-align: center;
}
.words__quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.35;
}
.words__quote footer { margin-top: 20px; font-size: 15px; color: var(--grafite); }

/* ---------- Mappa ---------- */
.map { height: 260vh; background: #08090A; position: relative; }
.map__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--calce);
}
.map__svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform-origin: 57% 30%;
}
.map__svg { overflow: visible; }
.map__land { fill: #1B1E21; }
.map__coast { fill: none; stroke: rgba(169, 174, 178, .6); stroke-width: 1.2; }
.map__roads path { fill: none; stroke: rgba(169, 174, 178, .3); stroke-width: .9; }
.pin circle.ring { fill: none; stroke: var(--calce); stroke-width: 1.2; }
.pin circle.dot { fill: var(--calce); }
.pin text { fill: var(--nebbia); font-family: var(--sans); font-size: 13px; }
.pin--capital text { fill: #D9DADB; }
.pin--home circle.ring { stroke: #8FB3C7; }
.pin--home text { fill: var(--calce); font-size: 15px; }
.map__title {
  position: relative;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(54px, 9vw, 140px);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #D9DADB;
}
.map__title .script {
  display: block;
  font-family: var(--script);
  text-transform: none;
  letter-spacing: 0;
  font-size: .82em;
  margin-bottom: -.12em;
}
.map__text {
  position: absolute; left: 50%; bottom: 40px;
  transform: translateX(-50%);
  width: min(46ch, calc(100% - 2 * var(--gutter)));
  margin: 0; text-align: center;
  color: var(--nebbia); font-size: 15px;
}

/* ---------- Pacchetti ---------- */
.packages {
  position: relative;
  background: #0E1012;
  color: var(--calce);
  padding: 120px var(--gutter) 140px;
  overflow: hidden;
}
.packages__word {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(80px, 17vw, 300px);
  line-height: .8;
  letter-spacing: -.02em;
  background: linear-gradient(to bottom, #fff 45%, rgba(255, 255, 255, .15) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.packages__cards {
  position: relative;
  /* le card coprono solo il piede della parola, che resta leggibile */
  margin: clamp(-34px, -1.8vw, -10px) auto 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  display: flex; flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: 22px;
  background: rgba(27, 30, 33, .28);
  border: 1px solid rgba(243, 242, 239, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.card--featured { position: relative; border-color: rgba(143, 179, 199, .55); }
.card__badge {
  position: absolute;
  top: 0; left: 50%;
  translate: -50% -50%;
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--mare);
  border: 1px solid rgba(143, 179, 199, .55);
  color: var(--calce);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.card li strong { color: var(--calce); font-weight: 600; }
.packages__note {
  max-width: 52ch;
  margin: 36px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--nebbia);
}
.card h3 { font-family: var(--serif); font-size: 32px; }
.card__price { margin: 6px 0 0; color: var(--nebbia); font-size: 15px; }
.card__price strong { color: var(--calce); font-size: 22px; font-weight: 500; }
.card__lead { margin: 18px 0 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(243, 242, 239, .14); }
.card ul { list-style: none; margin: 0 0 32px; padding: 0; color: #C9CCCE; font-size: 15px; }
.card li { padding: 6px 0 6px 28px; position: relative; }
/* spunta dentro un cerchio, all'altezza della prima riga */
.card li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 17px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9.25' stroke='%238FB3C7' stroke-width='1.2'/%3E%3Cpath d='M6.2 10.3l2.6 2.6 5-5.4' stroke='%23F3F2EF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.card .btn { margin-top: auto; text-align: center; }

/* ---------- Social ---------- */
.social {
  padding: 140px var(--gutter) 120px;
  text-align: center;
  overflow: hidden;
}
.social__title { line-height: .95; }
.social__bold {
  display: block;
  font-family: var(--sans);
  font-variation-settings: "wdth" 112;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 72px);
  letter-spacing: -.01em;
}
.social__serif {
  display: block;
  font-family: var(--serif);
  font-size: clamp(36px, 5.2vw, 76px);
}
.fan {
  position: relative;
  height: clamp(340px, 40vw, 520px);
  margin: 56px auto 40px;
}
.fan__card {
  position: absolute; left: 50%; top: 0;
  width: clamp(150px, 17vw, 260px);
  aspect-ratio: 9 / 15;
  margin-left: calc(clamp(150px, 17vw, 260px) / -2);
  border-radius: clamp(18px, 2.4vw, 38px);
  overflow: hidden;
  transform-origin: 50% 100%;
  will-change: transform;
}
.fan__card img { width: 100%; height: 100%; object-fit: cover; }
.social__lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); margin: 0 0 18px; }
.social__links {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; gap: 28px;
  font-size: 15px; font-weight: 600;
}
.social__links a { text-decoration: none; }
.social__links a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Lo scatto ---------- */
.shot { position: relative; margin-top: -12svh; background: var(--calce); overflow: hidden; }
.shot__stage {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 6vw;
}
/* il video ha la parete già portata a calce: si fonde con la sezione.
   La testa (al 32% del fotogramma) cade sempre a un quarto dello schermo;
   la parete vuota sopra resta fuori. Su schermi alti lo limita la larghezza */
.shot__frame {
  --h: min(112svh, 72vw);
  position: relative;
  flex-shrink: 0;
  height: var(--h);
  aspect-ratio: 9 / 16;
  margin-top: calc(24svh - .32 * var(--h));
}
.shot__canvas { display: block; width: 100%; height: 100%; }
/* il lampo parte dalla testa del flash */
.shot__burst {
  position: absolute;
  left: 48.3%; top: 32.4%;
  width: 34%; aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 20%, rgba(255,255,255,.85) 38%, rgba(255,255,255,0) 70%);
  opacity: 0;
  pointer-events: none;
}
.shot__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.shot__text {
  position: absolute;
  left: calc(var(--gutter) + 4vw);
  top: 50%;
  translate: 0 -50%;
  max-width: 42vw;
  isolation: isolate;
}
.shot__label {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grafite);
}
.shot__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 76px);
  line-height: 1.02;
  color: var(--ardesia);
}
.shot__title span { display: block; }
.shot__cta { margin-top: 34px; }
.shot__title i {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.35em;
  line-height: .8;
  color: var(--mare);
}

/* ---------- Dopo lo scatto: stampe sparse ---------- */
.prints {
  background: var(--calce);
  padding: 40px var(--gutter) 140px;
  overflow: hidden;
}
.prints__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 4vw;
  gap: 0 2vw;
  max-width: 1400px;
  margin: 0 auto;
}
.print {
  margin: 0;
  padding: clamp(6px, .7vw, 12px);
  background: #fff;
  box-shadow: 0 1px 2px rgba(27,30,33,.08), 0 18px 40px -18px rgba(27,30,33,.35);
  rotate: var(--r, 0deg);
}
.print img { display: block; width: 100%; height: 100%; object-fit: cover; }
.print--1 { grid-column: 1 / 6;  grid-row: 1 / 7;   --r: -2deg; }
.print--2 { grid-column: 7 / 13; grid-row: 2 / 9;   --r: 1.5deg; }
.print--3 { grid-column: 2 / 6;  grid-row: 8 / 19;  --r: 1deg; }
.print--4 { grid-column: 7 / 12; grid-row: 10 / 16; --r: -1.5deg; }
.print--5 { grid-column: 6 / 11; grid-row: 17 / 23; --r: 2deg; }
.print--6 { grid-column: 1 / 5;  grid-row: 21 / 32; --r: -1deg; }
.print--7 { grid-column: 8 / 12; grid-row: 24 / 35; --r: 1.5deg; }
.prints__end {
  max-width: 40ch;
  margin: 110px auto 0;
  text-align: center;
}
.prints__end p {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  color: var(--ardesia);
}
.prints__end p span { display: block; font-style: italic; color: var(--mare); }
.prints__end .btn { border-color: rgba(27,30,33,.3); color: var(--ardesia); }
.prints__end .btn:hover { border-color: var(--ardesia); }

/* ---------- Chiusura ---------- */
.closing {
  background: var(--ardesia);
  color: var(--calce);
  padding: 160px var(--gutter) 140px;
}
.spot {
  --x: 50%; --y: 50%;
  position: relative;
  max-width: 1100px; margin: 0 auto;
  cursor: default;
}
.spot p {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 108px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.spot__dim { color: rgba(169, 174, 178, .14); }
.spot__lit {
  position: absolute; inset: 0;
  color: #E4E5E6;
  -webkit-mask-image: radial-gradient(circle 260px at var(--x) var(--y), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 100%);
          mask-image: radial-gradient(circle 260px at var(--x) var(--y), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 100%);
}
.closing__cta {
  max-width: 52ch;
  margin: 96px auto 0;
  text-align: center;
  color: #C9CCCE;
}
.closing__cta p { margin: 0 0 28px; font-size: 18px; }

/* ---------- Domande frequenti ---------- */
.faq {
  position: relative;
  padding: 120px var(--gutter) 140px;
  /* resta sull'ardesia della chiusura, con solo un velo di "mare" dietro le domande */
  background:
    radial-gradient(ellipse 65% 40% at 50% 45%, rgba(44, 70, 86, .55), transparent 72%),
    var(--ardesia);
  color: var(--calce);
  text-align: center;
}
.faq__label { margin: 0 0 18px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--nebbia); }
.faq h2 {
  font-family: var(--serif);
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: .95;
  margin-bottom: 56px;
}
.faq__list {
  max-width: 760px; margin: 0 auto;
  display: grid; gap: 10px;
  text-align: left;
}
.faq__item {
  border: 1px solid rgba(243, 242, 239, .14);
  border-radius: 14px;
  background: rgba(243, 242, 239, .06);
  backdrop-filter: blur(6px);
  transition: background-color .3s, border-color .3s;
}
.faq__item:hover, .faq__item[open] { background: rgba(243, 242, 239, .1); border-color: rgba(243, 242, 239, .24); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 18px 18px 24px;
  font-size: 17px; font-weight: 500;
  list-style: none; cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline-offset: -2px; border-radius: 14px; outline-color: var(--calce); }
.faq__icon {
  flex: none; width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(243, 242, 239, .12);
  transition: background-color .3s, transform .45s var(--ease);
}
.faq__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* aperta: la freccia ruota verso il basso, come in riferimento */
.faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--calce); color: var(--mare); }
.faq__answer { padding: 0 72px 22px 24px; color: #C9CCCE; font-size: 15.5px; }
.faq__answer p { margin: 0 0 10px; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer strong { color: var(--calce); font-weight: 600; }
/* apertura morbida dove il browser lo permette, altrimenti istantanea */
@supports selector(::details-content) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    height: 0; overflow: hidden;
    transition: height .45s var(--ease), content-visibility .45s allow-discrete;
  }
  .faq__item[open]::details-content { height: auto; }
}
.faq__more { margin: 40px 0 0; font-size: 15px; color: #C9CCCE; }
.faq__more .link { color: var(--calce); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0E1012;
  color: var(--nebbia);
  padding: 64px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  font-size: 15px;
}
.site-footer img { width: 120px; height: auto; }
.site-footer nav { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--calce); }
.site-footer p { margin: 0; }
.site-footer__contact { font-style: normal; line-height: 1.7; }
.site-footer__contact a { text-decoration: underline; text-decoration-color: rgba(169, 174, 178, .4); text-underline-offset: 3px; }
.site-footer small { font-size: 12px; opacity: .7; }

/* ---------- Portfolio: elenco ---------- */
.pf-intro {
  padding: 170px var(--gutter) 64px;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px;
}
.pf-intro h1 {
  font-family: var(--serif);
  font-size: clamp(64px, 13vw, 210px);
  line-height: .85; letter-spacing: -.02em;
}
.pf-intro p { max-width: 380px; margin: 0 0 10px; color: var(--grafite); }

.pf-index {
  list-style: none; margin: 0; padding: 0 var(--gutter);
  border-top: 1px solid rgba(27, 30, 33, .14);
}
.pf-index li { border-bottom: 1px solid rgba(27, 30, 33, .14); }
.pf-row {
  display: grid; grid-template-columns: 72px 1fr auto; align-items: baseline; gap: 24px;
  padding: 26px 0;
  text-decoration: none;
  transition: opacity .4s var(--ease);
}
.pf-row__img { display: none; }
.pf-row__num { font-size: 13px; color: var(--grafite); font-variant-numeric: tabular-nums; }
.pf-row__names {
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 84px);
  line-height: 1.05;
  transition: transform .5s var(--ease);
}
.pf-row__names i, .wd__names i, .wd__next-names i {
  font-family: var(--script); font-style: normal; font-size: 1.05em;
  color: var(--mare); padding: 0 .08em;
}
.pf-row__meta { font-size: 14px; color: var(--grafite); }
.pf-index.is-hovering .pf-row { opacity: .3; }
.pf-index.is-hovering .pf-row:hover { opacity: 1; }
.pf-row:hover .pf-row__names { transform: translateX(28px); }
.pf-preview {
  position: fixed; top: 0; left: 0; z-index: 30;
  width: 280px; height: 370px; margin: -185px 0 0 -140px;
  object-fit: cover;
  pointer-events: none;
  opacity: 0; visibility: hidden;
}
/* senza puntatore (telefoni, tablet) la copertina sta nella riga */
@media (hover: none), (pointer: coarse) {
  .pf-row { grid-template-columns: auto 1fr; row-gap: 6px; padding: 28px 0 32px; }
  .pf-row__img { display: block; grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 14px; }
  .pf-row__meta { grid-column: 2; }
  .pf-row:hover .pf-row__names { transform: none; }
  .pf-preview { display: none; }
}

.pf-cta { padding: 140px var(--gutter); text-align: center; }
.pf-cta p {
  font-family: var(--serif); font-size: clamp(28px, 3.6vw, 52px); line-height: 1.15;
  max-width: 14em; margin: 0 auto 36px;
}

/* ---------- WhatsApp fisso in basso a destra ---------- */
.wa-float {
  --wa: 58px;
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 60;
  width: var(--wa); height: var(--wa);
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 28px -8px rgba(14, 16, 18, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 14px 34px -8px rgba(14, 16, 18, .55); }
.wa-float svg { width: 54%; height: 54%; fill: currentColor; }
/* i comandi che stavano in basso a destra si spostano a sinistra del pulsante */
.frames__pause, .films__nav { right: calc(var(--gutter) + 72px); }

/* ---------- Pagine di testo (Privacy Policy, 404) ---------- */
.text-page { max-width: 760px; margin: 0 auto; padding: 170px var(--gutter) 120px; }
.text-page h1 { margin: 0 0 40px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.5vw, 76px); line-height: 1; }
.text-page h1 i { font-family: var(--script); font-style: normal; color: var(--mare); }
.text-page__body h2, .text-page__body h3 { font-family: var(--serif); font-weight: 400; margin: 2em 0 .6em; }
.text-page__body p, .text-page__body li { color: var(--grafite); line-height: 1.7; }
.text-page__body a { color: var(--mare); }
.text-page__label { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--grafite); }
.text-page--404 { text-align: center; }
.text-page--404 > p:not(.text-page__label) { color: var(--grafite); }
.text-page__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; margin-top: 36px; }

/* ---------- Chi sono ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2vw;
  max-width: 1280px;
  margin: 0 auto;
  padding: 150px var(--gutter) 40px;
}
.about__label {
  margin: 0 0 18px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--grafite);
}
.about h1 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: .9;
  letter-spacing: -.02em;
}
.about h1 i { font-family: var(--script); font-style: normal; color: var(--mare); font-size: .95em; }
.about__lead { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; margin: 0 0 22px; }
.about__text > p:not(.about__label):not(.about__lead) { max-width: 52ch; margin: 0 0 1em; color: var(--grafite); }
.about__text .btn { margin-top: 14px; }
.about__stats { display: flex; gap: 48px; margin: 26px 0 18px; }
.about__stats dt {
  font-family: var(--serif);
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1;
  color: var(--ardesia);
}
.about__stats dd { margin: 6px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grafite); }
/* il ritratto è scontornato e sfuma in basso: si appoggia direttamente sulla pagina */
.about__photo { margin: 0; justify-self: center; width: min(112%, 700px); }
.about__photo img { display: block; width: 100%; height: auto; }

.about-how {
  background: #0E1012;
  color: var(--calce);
  padding: 120px var(--gutter);
}
.about-how h2 {
  margin: 0 0 56px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
}
.about-how__list {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 1180px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: how;
}
.about-how__list li {
  counter-increment: how;
  padding: 28px 24px;
  border: 1px solid rgba(243, 242, 239, .18);
  border-radius: 22px;
}
.about-how__list li::before {
  content: counter(how, decimal-leading-zero);
  display: block; margin-bottom: 26px;
  font-size: 13px; letter-spacing: .14em; color: #8FB3C7;
}
.about-how__list h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.about-how__list p { margin: 0; color: #C9CCCE; font-size: 15px; }

.about-quote { padding: 130px var(--gutter) 0; text-align: center; }
.about-quote blockquote { max-width: 860px; margin: 0 auto; }
.about-quote p { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); line-height: 1.2; }
.about-quote footer { font-size: 14px; color: var(--grafite); }
.about__ig { display: block; width: max-content; margin: 24px auto 0; }

/* ---------- Portfolio: singolo matrimonio ---------- */
.page-wedding { background: var(--ardesia); color: var(--calce); }
.wd { position: relative; height: 100svh; overflow: hidden; }
.wd__track {
  display: flex; align-items: center; gap: 14px;
  width: max-content; height: 100%;
  padding: 0 8vw 0 var(--gutter);
}
.wd__intro { flex: none; width: min(40vw, 580px); padding-right: 5vw; }
.wd__eyebrow { margin: 0 0 22px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--nebbia); }
.wd__names { font-family: var(--serif); font-size: clamp(54px, 6.6vw, 118px); line-height: .98; }
.wd__names i, .wd__next-names i { color: var(--nebbia); }
.wd__meta { margin: 22px 0 0; font-size: 16px; }
.wd__story { margin: 18px 0 0; color: #C9CCCE; max-width: 34em; }
.wd__hint { margin: 48px 0 0; font-size: 14px; color: var(--nebbia); }
.wd__hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.wd__photo {
  flex: none; height: 72svh; aspect-ratio: var(--ratio);
  padding: 0; border: 0; overflow: hidden;
  background: #24282B; cursor: zoom-in;
}
.wd__photo img {
  width: 112%; max-width: none; height: 100%; margin-left: -6%;
  object-fit: cover;
}
.wd__next {
  flex: none; width: min(26vw, 340px); margin-left: 8vw;
  text-decoration: none;
}
.wd__next-label { display: block; margin-bottom: 14px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--nebbia); }
.wd__next img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: filter .6s var(--ease); }
.wd__next-names { display: block; margin-top: 16px; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 42px); line-height: 1.05; }
.wd__next:hover img { filter: grayscale(1); }
.wd__bar {
  /* a destra lascia spazio al pulsante WhatsApp */
  position: absolute; left: var(--gutter); right: calc(var(--gutter) + 72px); bottom: 22px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  font-size: 13px; font-variant-numeric: tabular-nums;
}
.wd__progress { height: 1px; background: rgba(243, 242, 239, .2); }
.wd__progress span { display: block; height: 100%; background: var(--calce); transform: scaleX(0); transform-origin: left; }
.wd__back { font-size: 14px; text-underline-offset: 5px; text-decoration-thickness: 1px; }

.lightbox {
  width: 100vw; height: 100svh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: rgba(14, 16, 18, .97); color: var(--calce);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__img { max-width: 90vw; max-height: 84svh; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 0; color: inherit; font: inherit; cursor: pointer;
}
.lightbox__close { top: 18px; right: var(--gutter); font-size: 15px; text-decoration: underline; text-underline-offset: 5px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 28px; padding: 20px; }
.lightbox__nav--prev { left: 4px; }
.lightbox__nav--next { right: 4px; }
.lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }

/* su telefono (e senza animazioni) le foto si susseguono in verticale */
@media (max-width: 760px) {
  .pf-intro { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 40px; gap: 18px; }
  .pf-intro p { margin: 0; }
  .pf-cta { padding: 96px var(--gutter); }

  .about { grid-template-columns: 1fr; padding-top: 110px; gap: 24px; }
  .about__photo { order: -1; width: 92%; margin-bottom: -6%; }
  .about__stats { gap: 36px; }
  .about-how { padding: 88px var(--gutter); }
  .about-how h2 { margin-bottom: 36px; }
  .about-how__list { grid-template-columns: 1fr; gap: 12px; }
  .about-how__list li::before { margin-bottom: 14px; }
  .about-quote { padding-top: 96px; }

  .wa-float { --wa: 52px; right: 16px; bottom: 16px; }

  .wd { height: auto; overflow: visible; }
  .wd__track { flex-direction: column; align-items: stretch; gap: 10px; width: auto; padding: 120px var(--gutter) 32px; }
  .wd__intro { width: auto; padding: 0 0 36px; }
  .wd__hint { display: none; }
  .wd__photo { height: auto; width: 100%; }
  .wd__photo img { width: 100%; height: auto; margin: 0; }
  .wd__next { width: auto; margin: 64px 0 0; }
  .wd__bar { position: static; display: flex; justify-content: center; padding: 0 0 40px; }
  .wd__count, .wd__progress { display: none; }
  .lightbox__img { max-width: 100vw; }
}
@media (min-width: 761px) and (prefers-reduced-motion: reduce) {
  .wd { overflow-x: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header__cta { font-size: 14px; }
  .hero { padding-top: 76px; gap: 24px; }
  /* tre foto anche su telefono: quella centrale più larga, le laterali come quinte */
  .hero__photos { grid-template-columns: 1fr 1.6fr 1fr; gap: 6px; }
  .hero__text { grid-template-columns: 1fr; gap: 16px; }

  /* all'inizio i punti sono anteprime rimpicciolite intorno all'anello (scala impostata nel JS) */
  .benefits { --ring: 62vw; --card: min(300px, 82vw); height: 620vh; }
  .benefits__title { font-size: 5vw; }
  .benefit:nth-child(1) { left: 50%;  top: 11%; margin-left: calc(var(--card) / -2 - 24vw); }
  .benefit:nth-child(2) { left: 50%;  top: 11%; margin-left: calc(var(--card) / -2 + 24vw); right: auto; }
  .benefit:nth-child(3) { left: 50%;  top: 62%; margin-left: calc(var(--card) / -2 + 24vw); right: auto; }
  .benefit:nth-child(4) { left: 50%;  bottom: 3%; }
  .benefit:nth-child(5) { left: 50%;  top: 62%; margin-left: calc(var(--card) / -2 - 24vw); }

  /* film: copertine in fila scorrevole in basso, testo sopra */
  .films { --card-w: 108px; }
  .films__label { top: 84px; }
  .films__info { bottom: 230px; max-width: none; right: var(--gutter); }
  .films__names { font-size: 44px; margin-bottom: 18px; }
  .films__cards {
    left: 0; right: 0; bottom: 64px;
    padding: 0 var(--gutter);
    overflow-x: auto; scrollbar-width: none;
  }
  .films__cards::-webkit-scrollbar { display: none; }
  .film-card { flex: none; border-radius: 14px; }
  .film-card span { font-size: 14px; padding: 20px 8px 8px; }
  .films__nav { bottom: 18px; left: var(--gutter); right: auto; }

  .reviews { --w: 86vw; --text-max: calc(100svh - 545px); }
  .reviews__head { top: 84px; }
  .reviews__head p { font-size: 13px; }
  .review { top: 60%; padding: 22px 20px 20px; border-radius: 26px; }
  .review__title { font-size: 20px; }
  .review__text, .bubble { font-size: 15px; }
  .review__who strong { font-size: 20px; }

  .approach, .stories, .social { padding-top: 96px; padding-bottom: 96px; }
  .approach__collage { grid-template-rows: repeat(15, 7.4vw); }
  .c4 { margin: 12px 0 0 8px; }
  .approach__text { margin-top: 48px; }

  .frames__front { width: 62vw; }
  .frames__caption { bottom: 140px; right: var(--gutter); font-size: 18px; }
  .frames__cta { bottom: 72px; }
  .frames__pause { bottom: 24px; right: auto; left: var(--gutter); }

  .section-head { flex-direction: column; gap: 10px; margin-bottom: 32px; }
  /* su telefono una alla volta, con la successiva che si intravede */
  .story { width: 76vw; }
  .story:nth-child(3n+2) { margin-top: 0; }
  .story h3 { font-size: 22px; margin-top: 14px; }
  .stories__nav { margin-top: 28px; }
  .stories.is-pinned { padding-top: 76px; padding-bottom: 24px; }
  .stories.is-pinned .section-head { margin-bottom: 24px; }
  .stories.is-pinned .story { width: min(76vw, calc((100svh - 330px) * .75)); }
  .stories.is-pinned .story:nth-child(3n+2) { margin-top: 0; }
  .stories.is-pinned .stories__nav { margin-top: 20px; }

  .words { padding-bottom: 24px; }
  .words__arches { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .arch { height: 52vw; }
  .arch--tall { height: 68vw; margin-top: 28px; }
  .words__quote { margin-top: 24px; }

  /* su telefono la mappa si allarga quanto basta per tenere dentro Sanremo e La Spezia */
  .map__svg {
    inset: auto;
    width: 112vw; height: calc(112vw * .56);
    left: -11vw; top: calc(50% - 112vw * .28);
  }
  .pin text { font-size: 26px; }
  .pin--home text { font-size: 30px; }
  .pin--minor text { display: none; }

  .packages { padding-top: 96px; padding-bottom: 96px; }
  .packages__word { font-size: 19vw; }
  .packages__cards { grid-template-columns: 1fr; margin-top: -8px; }

  .fan { height: 66vw; }
  .fan__card { width: 34vw; margin-left: -17vw; }

  .shot__stage { padding: 0; }
  .shot__frame {
    position: absolute;
    --w: min(100vw, 100svh * 9 / 16);
    /* anche qui la testa cade a un quarto dello schermo */
    left: 50%; top: calc(24svh - .32 * var(--w) * 16 / 9);
    translate: -50% 0;
    width: var(--w);
    height: auto;
    margin: 0;
  }
  .shot__text {
    left: var(--gutter); right: var(--gutter);
    top: auto; bottom: 8svh;
    translate: none;
    max-width: none;
    text-align: center;
  }
  /* velo calce dal basso, così la frase si legge sopra la foto */
  .shot__text::before {
    content: "";
    position: absolute;
    inset: -16svh calc(-1 * var(--gutter)) -8svh;
    background: linear-gradient(to top, var(--calce) 60%, rgba(243,242,239,0));
    z-index: -1;
  }
  .shot__label { margin-bottom: 14px; font-size: 12px; }

  .prints { padding-top: 24px; padding-bottom: 96px; }
  /* 6 colonne; orizzontali su 5 colonne e 5 righe, verticali su 3 colonne e 7 righe */
  .prints__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 9vw; gap: 0 4vw; }
  .print--1 { grid-column: 1 / 6; grid-row: 1 / 6; }
  .print--2 { grid-column: 2 / 7; grid-row: 7 / 12; }
  .print--3 { grid-column: 1 / 4; grid-row: 13 / 20; }
  .print--6 { grid-column: 4 / 7; grid-row: 14 / 21; }
  .print--4 { grid-column: 1 / 6; grid-row: 22 / 27; }
  .print--5 { grid-column: 2 / 7; grid-row: 28 / 33; }
  .print--7 { grid-column: 2 / 6; grid-row: 34 / 44; }
  .prints__end { margin-top: 72px; }
  .shot__title { font-size: clamp(34px, 9.6vw, 48px); }
  .shot__cta { margin-top: 20px; }

  .closing { padding-top: 110px; padding-bottom: 100px; }
  .closing__cta { margin-top: 64px; }

  .faq { padding-top: 96px; padding-bottom: 100px; }
  .faq h2 { margin-bottom: 40px; }
  .faq__item summary { font-size: 16px; padding: 16px 14px 16px 18px; gap: 14px; }
  .faq__answer { padding: 0 18px 18px; font-size: 15px; }

  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* ---------- Schermi bassi (portatili piccoli, finestre ridotte) ---------- */
@media (max-height: 760px) {
  .reviews { --text-max: calc(100svh - 405px); }
  .reviews__head { top: 78px; }
  .reviews__head h2 { font-size: 32px; }
  .reviews__head p { display: none; }
  .review { top: 55%; padding: 20px 24px; }
  .review__top { margin-bottom: 12px; }
  .review__title { font-size: 20px; }
  .review__text, .bubble { font-size: 14px; line-height: 1.5; }
  .review__who { margin-top: 14px; padding-top: 12px; }
  .review__who strong { font-size: 19px; }
  .proof { margin-top: 10px; }
}

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  /* senza animazione i vantaggi diventano un semplice elenco */
  .benefits { height: auto; padding: 96px var(--gutter); }
  .benefits__stage { position: static; height: auto; overflow: visible; }
  .benefits__ring { display: none; }
  .benefits__title { position: static; width: auto; height: auto; margin: 0 0 40px; font-size: clamp(30px, 4vw, 52px); }
  .benefits__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
  .benefit { position: static; width: auto; margin: 0 !important; }
  /* e le recensioni un elenco verticale */
  .reviews { height: auto; }
  .reviews__stage { position: static; height: auto; padding: 96px var(--gutter); }
  .reviews__head { position: static; padding: 0 0 40px; }
  .reviews__track { position: static; display: grid; gap: 16px; justify-items: center; }
  .review { position: static; margin: 0; transform: none; }
  .reviews__count { display: none; }
  .story img { transition: none; }
}
