/* ==========================================================================
   Vincenzo Basile — fotografo di hotel, resort, spa e ristoranti
   Mockup statico. HTML/CSS/JS vanilla, nessuna dipendenza.
   Direzione creativa: "contact sheet" editoriale — griglia rotta, tipografia
   a scala drammatica, reveal cinematici via clip-path, grana filmica.
   Tutte le animazioni sono disattivate da prefers-reduced-motion.
   ========================================================================== */

/* ---------- 1. Token ---------------------------------------------------- */
:root {
  --paper:      #F3F0EA;
  --paper-2:    #E9E4DA;
  --paper-3:    #DCD5C8;
  --ink:        #141210;
  --ink-2:      #1E1B17;
  --ink-soft:   #57514A;
  --ink-faint:  #8C857B;
  --accent:     #B85C38;   /* terracotta caldo — unico colore di rottura */
  --accent-2:   #C96A41;   /* stessa tinta, schiarita per contrasto su ink */

  /* Tipografia: Jost ha un Thin (100) e un ExtraLight (200) realmente
     disegnati — Inter sotto il 200 veniva sintetizzato dal browser e le
     metriche del lockup non tenevano. Jost regge i titoli, Inter il corpo. */
  --font-display: 'Jost', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  /* peso unico di tutti i titoli del sito (era 200, disomogeneo) */
  --fw-title: 100;

  /* scala di spaziatura: unica leva per il "respiro" globale */
  --space-3xs: clamp(0.5rem, 0.9vw, 0.8rem);
  --space-2xs: clamp(0.8rem, 1.4vw, 1.2rem);
  --space-xs:  clamp(1.1rem, 2.3vw, 1.9rem);
  --space-s:   clamp(1.6rem, 3.2vw, 2.6rem);
  --space-m:   clamp(2.2rem, 4.8vw, 4.2rem);
  --space-l:   clamp(3.2rem, 7vw, 6.5rem);
  --space-xl:  clamp(4.5rem, 10vw, 9rem);

  --edge: clamp(1.35rem, 4.6vw, 5.5rem);
  --gutter: clamp(0.9rem, 1.9vw, 2rem);

  --fs-display: clamp(2.5rem, min(8.4vw, 13vh), 8.6rem);
  --fs-mega:    clamp(2.2rem, 7.6vw, 6.6rem);
  --fs-plate:   clamp(1.85rem, 5.4vw, 5rem);
  --fs-big:     clamp(1.6rem, 3.6vw, 3.1rem);
  --fs-lead:    clamp(1.08rem, 1.65vw, 1.6rem);
  --fs-body:    clamp(1rem, 1.05vw, 1.12rem);
  --fs-mono:    clamp(0.66rem, 0.78vw, 0.78rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cine: cubic-bezier(0.76, 0, 0.24, 1);

  --brand-h: clamp(56px, 8.2vw, 132px);
  --mast-pad: clamp(1.05rem, 2.2vw, 2.2rem);

  /* Lockup oversize dentro l'hero: monogramma "VB" dentro un cerchio +
     wordmark a fianco (composizione orizzontale, lato sinistro).
     Tutte le misure derivano da --lk-mark-h, l'altezza dei *tratti* del
     monogramma: alla dimensione di riferimento desktop (1440x900) vale 108px
     e il padding interno del cerchio è esattamente 90px (0.8333 x l'altezza
     del monogramma). Scalando --lk-mark-h il rapporto resta identico, quindi
     su schermi più piccoli il cerchio non sembra sproporzionato.            */
  --lk-mark-h: clamp(64px, min(7.5vw, 12vh), 128px);
  --lk-pad:    calc(var(--lk-mark-h) * 0.8333);              /* 90px @1440x900 */
  --lk-badge:  calc(var(--lk-mark-h) + var(--lk-pad) * 2);   /* diametro: 288px @1440x900 */
  --lk-word-w: calc(var(--lk-mark-h) * 2.5);   /* stesso rapporto monogramma/wordmark del marchio */
  --lk-gap:    calc(var(--lk-mark-h) * 0.26);  /* aria tra cerchio e wordmark */
  --lk-w:      calc(var(--lk-badge) + var(--lk-gap) + var(--lk-word-w));
  --lk-col:    clamp(2.4rem, 4.4vw, 4.8rem);   /* aria tra lockup e colonna di testo */
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.76;
  letter-spacing: 0.004em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.veil-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--paper); }

/* ---------- 2. Tipografia ----------------------------------------------
   Tutti i titoli del sito condividono famiglia e peso: un solo punto di
   verità (--fw-title) per il taglio sottile chiesto dal cliente.          */
h1, h2, h3, h4,
.display, .mega, .big,
.veil__label, .work__name, .row__title, .next__name,
.phase__n, .phase__title, .price, .rail strong,
.plate blockquote, .marquee__track a {
  font-family: var(--font-display);
  font-weight: var(--fw-title);
}

h1, h2, h3, h4 {
  letter-spacing: -0.034em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

/* line-height più alta di prima: a 0.86 le aste dei titoli sottili
   venivano tagliate dal box di clipping delle parole animate (.w) */
.display  { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.045em; }
.mega     { font-size: var(--fs-mega);   line-height: 1.0;  letter-spacing: -0.038em; }
.big      { font-size: var(--fs-big);    line-height: 1.14; }

p { margin: 0 0 1.35em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-lead);
  font-weight: 200;
  line-height: 1.58;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}
.prose { max-width: 62ch; }
.prose--wide { max-width: 78ch; }
.muted { color: var(--ink-soft); }

/* etichette editoriali monospace — la "metadata" fotografica */
.tag, .num, .cap {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.4;
}
.tag { display: inline-flex; align-items: center; gap: 0.6em; color: var(--ink-soft); }
.tag::before {
  content: ""; width: clamp(18px, 3vw, 46px); height: 1px;
  background: var(--accent); flex: none;
}
.tag--plain::before { display: none; }
.cap { letter-spacing: 0.16em; color: var(--ink-faint); text-transform: none; }
.num {
  font-size: clamp(0.8rem, 1vw, 1rem);
  letter-spacing: 0.14em;
  color: var(--accent);
}

.stroke {
  /* titolo "cavo": tipografia come elemento grafico */
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-faint);
}
.accent { color: var(--accent); }
.italic { font-style: italic; font-weight: var(--fw-title); }

/* ---------- 3. Impianto di griglia (12 colonne, rotta) ------------------ */
.bay {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-inline: var(--edge);
}
.cell {
  grid-column: var(--cs, 1) / var(--ce, -1);
  transform: translateY(var(--dy, 0px));
  min-width: 0;
}
.cell--bleed {
  grid-column: 1 / -1;
  margin-inline: calc(-1 * var(--edge));
}
.band { padding-block: clamp(5.5rem, 15vh, 14rem); position: relative; }
.band--tight { padding-block: clamp(3.4rem, 9vh, 7.5rem); }
.band--flush-top { padding-top: 0; }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink .lead { color: #E7E1D6; }
.band--ink .muted, .band--ink .tag { color: #A9A199; }
.band--paper2 { background: var(--paper-2); }
/* Sezione vincolata: la fascia resta a piena larghezza, il contenuto no.
   Ogni .bay interna si ferma a 1500px e si centra, così su schermi molto
   larghi il blocco non si stira (richiesta cliente per "Come funziona").   */
.band--1500 > .bay { max-width: 1500px; margin-inline: auto; }

.rule { border: 0; height: 1px; background: var(--paper-3); margin: 0; }
.band--ink .rule { background: #34302A; }

@media (max-width: 860px) {
  .cell { grid-column: 1 / -1 !important; transform: none !important; }
  .cell--keep { grid-column: var(--cs-m, 1) / var(--ce-m, -1) !important; }
}

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

.cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  z-index: 9500; pointer-events: none;
  display: none;
  transition: width .38s var(--ease), height .38s var(--ease),
              margin .38s var(--ease), background-color .3s ease,
              border-color .3s ease, opacity .3s ease;
}
.cursor__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--paper);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .2s ease;
  white-space: nowrap;
}
.cursor.is-hot {
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  background: var(--accent); border-color: var(--accent);
}
.cursor.is-hot .cursor__label { opacity: 1; }
.cursor.is-light { border-color: var(--paper); }
.cursor.is-hidden { opacity: 0; }
@media (pointer: fine) {
  html.js.has-cursor .cursor { display: block; }
  html.js.has-cursor a, html.js.has-cursor button,
  html.js.has-cursor [data-hot] { cursor: none; }
}

/* ---------- 5. Sipario d'apertura (logo protagonista) ------------------ */
.curtain {
  position: fixed; inset: 0; z-index: 9800;
  background: var(--paper);
  display: grid; place-items: center;
  gap: 0;
  transition: clip-path 0.85s var(--ease-cine), opacity .3s .7s linear;
  clip-path: inset(0 0 0 0);
}
.curtain__stack { display: grid; justify-items: center; gap: clamp(1.2rem, 2.4vw, 2.2rem); }
/* il marchio quadrato si apre come un otturatore, poi il sipario esce
   verso l'alto e il wordmark grande resta nel masthead */
.curtain__mark {
  width: clamp(112px, 15vw, 220px);
  clip-path: inset(0 0 100% 0);
  animation: mark-open .58s var(--ease-cine) .05s forwards;
}
.curtain__meta {
  overflow: hidden;
}
.curtain__meta span {
  display: block;
  transform: translateY(120%);
  animation: line-up .5s var(--ease) .42s forwards;
}
.curtain.is-done {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  pointer-events: none;
}
@keyframes mark-open { from { clip-path: inset(0 0 100% 0); transform: scale(1.18); }
                       to   { clip-path: inset(0 0 0 0);    transform: scale(1); } }
@keyframes line-up   { to { transform: translateY(0); } }
html:not(.js) .curtain { display: none; }

/* ---------- 6. Masthead — il logo è protagonista ----------------------- */
.masthead {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 8000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: var(--mast-pad) var(--edge);
  color: var(--ink);
  transition: padding .5s var(--ease), background-color .45s ease,
              color .45s ease, box-shadow .45s ease, backdrop-filter .45s ease;
}
.masthead::after {
  /* binario di avanzamento lettura: il marchio "misura" la pagina */
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px;
  width: var(--progress, 0%);
  background: var(--accent);
  transition: width .12s linear, opacity .4s ease;
  opacity: 0;
}
.masthead.is-stuck {
  background: rgba(243, 240, 234, 0.9);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  padding-block: clamp(0.55rem, 1.1vw, 0.9rem);
  box-shadow: 0 1px 0 rgba(20,18,16,.09);
}
.masthead.is-stuck::after { opacity: 1; }

.brand {
  display: block; line-height: 0; flex: none;
  transition: opacity .4s ease, visibility .4s;
}
.brand img {
  height: var(--brand-h);
  width: auto;
  transition: height .55s var(--ease), opacity .35s ease;
}
.masthead.is-stuck { --brand-h: clamp(38px, 3.8vw, 58px); }
.brand__light { display: none; }
.masthead.is-light { color: var(--paper); }
.masthead.is-light .brand__dark { display: none; }
.masthead.is-light .brand__light { display: block; }

/* --- Lockup oversize dentro l'hero: lato sinistro, centrato in verticale ---
   Il marchio grande vive dentro l'hero (vedi .hero__lockup in §11): finché
   non si scrolla, quello del masthead resta nascosto. Appena il masthead
   diventa "stuck" torna il lockup compatto in alto a sinistra, invariato.
   Su mobile stretto (<=700px) niente di tutto questo: il marchio resta in
   alto a sinistra, con lo spazio di sicurezza dato da .hero__inner.        */
@media (min-width: 701px) {
  body[data-hero-dark] .masthead:not(.is-stuck) { justify-content: flex-end; }
  body[data-hero-dark] .masthead:not(.is-stuck) .brand {
    visibility: hidden;
    opacity: 0;
  }
}

.mast-side { display: flex; align-items: center; gap: clamp(0.5rem, 1.6vw, 1.5rem); }

.wa {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--fs-mono); letter-spacing: 0.16em;
  text-decoration: none;
  padding: 0.62em 1.05em;
  border: 1px solid currentColor;
  border-radius: 999px;
  white-space: nowrap;
  position: relative; overflow: hidden;
  transition: color .35s ease, border-color .35s ease;
}
.wa svg { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; position: relative; z-index: 1; }
.wa span { position: relative; z-index: 1; }
.wa::before {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.wa:hover { color: var(--paper); border-color: var(--accent); }
.wa:hover::before { transform: translateY(0); }
@media (max-width: 620px) { .wa span { display: none; } .wa { padding: 0.6em; } }

/* Instagram nell'header: cerchio pieno, stessa altezza del bottone WhatsApp */
.soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.55em; height: 2.55em; font-size: var(--fs-mono);
  border: 1px solid currentColor; border-radius: 999px;
  position: relative; overflow: hidden;
  transition: color .35s ease, border-color .35s ease;
}
.soc svg { width: 1.2em; height: 1.2em; fill: currentColor; position: relative; z-index: 1; }
.soc::before {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: scale(0); border-radius: inherit; transition: transform .45s var(--ease);
}
.soc:hover, .soc:focus-visible { color: var(--paper); border-color: var(--accent); }
.soc:hover::before, .soc:focus-visible::before { transform: scale(1); }
@media (max-width: 620px) { .soc { width: 2.3em; height: 2.3em; } }

.burger {
  display: inline-flex; align-items: center; gap: 0.65em;
  background: none; border: 0; padding: 0.5em 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--fs-mono); letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer;
}
.burger__lines { display: grid; gap: 5px; width: 30px; }
.burger__lines i { display: block; height: 1px; background: currentColor; transition: transform .4s var(--ease), width .4s var(--ease); }
.burger__lines i:nth-child(1) { width: 30px; }
.burger__lines i:nth-child(2) { width: 18px; margin-left: auto; }
.burger:hover .burger__lines i:nth-child(2) { width: 30px; }
@media (max-width: 460px) { .burger__label { display: none; } }

/* ---------- 7. Veil: il menu come momento ------------------------------ */
.veil {
  position: fixed; inset: 0; z-index: 8500;
  background: var(--ink); color: var(--paper);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .78s var(--ease-cine);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--mast-pad) var(--edge) clamp(1.4rem, 3vw, 2.6rem);
  overflow-y: auto;
  visibility: hidden;
}
.veil.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.veil__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.veil__top img { height: clamp(34px, 4.4vw, 62px); width: auto; }
.veil-close {
  background: none; border: 1px solid rgba(243,240,234,.35); border-radius: 999px;
  padding: 0.62em 1.1em; cursor: pointer;
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.2em; text-transform: uppercase;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.veil-close:hover { background: var(--accent); border-color: var(--accent); }

.veil__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.1rem, 5.5vw, 5.5rem);
  padding-block: clamp(2.1rem, 6vh, 5rem);
}
.veil__list { list-style: none; margin: 0; padding: 0; }
.veil__list li { overflow: hidden; border-bottom: 1px solid rgba(243,240,234,.14); }
.veil__list a {
  display: flex; align-items: baseline; gap: clamp(0.7rem, 2vw, 1.6rem);
  text-decoration: none;
  padding: clamp(0.8rem, 1.9vh, 1.5rem) 0;
  transform: translateY(110%);
  transition: transform .7s var(--ease) calc(var(--i) * 70ms + 120ms), color .3s ease;
}
.veil.is-open .veil__list a { transform: translateY(0); }
.veil__list a:hover { color: var(--accent-2); }
.veil__list .num { color: rgba(243,240,234,.42); flex: none; }
.veil__list a:hover .num { color: var(--accent-2); }
.veil__label {
  font-size: clamp(2.1rem, 6.4vw, 5.4rem);
  font-weight: var(--fw-title); letter-spacing: -0.04em; line-height: 1.04;
}
.veil__stage { position: relative; aspect-ratio: 4 / 3; }
.veil__stage figure {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transform: scale(1.03);
  transition: opacity .55s var(--ease), transform .8s var(--ease);
}
.veil__stage figure img { width: 100%; height: 100%; object-fit: cover; }
.veil__stage figure.is-on { opacity: 1; transform: scale(1); }
/* la didascalia sta sotto la foto: su due righe, con bottom:-1.9em, finiva
   sopra l'immagine */
.veil__stage .cap { position: absolute; left: 0; top: calc(100% + 0.9em); bottom: auto; color: rgba(243,240,234,.6); }
.veil__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.4rem);
  padding-top: clamp(1.5rem, 2.6vw, 2.2rem);
  border-top: 1px solid rgba(243,240,234,.14);
}
.veil__foot a:not(.cta) {
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.16em; text-decoration: none;
  border-bottom: 1px solid rgba(243,240,234,.3); padding-bottom: 2px;
}
.veil__foot a:not(.cta):hover { border-color: var(--accent-2); color: var(--accent-2); }
@media (max-width: 860px) {
  .veil__body { grid-template-columns: 1fr; align-content: start; }
  .veil__stage { display: none; }
}

/* ---------- 8. Bottoni e link ------------------------------------------ */
.cta {
  --cta-fg: var(--paper);
  --cta-bg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 0.8em;
  padding: 1.25em 2.1em;
  background: var(--cta-bg); color: var(--cta-fg);
  border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  font-size: clamp(0.92rem, 1vw, 1.06rem); font-weight: 300; letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform .35s var(--ease), color .35s ease;
  will-change: transform;
}
.cta > * { position: relative; z-index: 1; }
.cta::before {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  clip-path: circle(0% at 50% 120%);
  transition: clip-path .62s var(--ease);
}
.cta:hover::before { clip-path: circle(140% at 50% 120%); }
.cta__arrow { transition: transform .4s var(--ease); }
.cta:hover .cta__arrow { transform: translateX(6px); }
.cta--accent { --cta-bg: var(--accent); }
.cta--accent::before { background: var(--ink); }
.cta--ghost { --cta-bg: transparent; --cta-fg: var(--ink); border: 1px solid currentColor; }
.cta--ghost:hover { color: var(--paper); }
.band--ink .cta--ghost { --cta-fg: var(--paper); }

.tlink {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .45s var(--ease), color .3s ease;
  padding-bottom: 1px;
}
.tlink:hover { background-size: 100% 1px; color: var(--accent); }

.arrowlink {
  display: inline-flex; align-items: baseline; gap: 0.7em;
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.35em;
  border-bottom: 1px solid currentColor;
  transition: color .3s ease, gap .35s var(--ease);
}
.arrowlink:hover { color: var(--accent); gap: 1.2em; }

/* ---------- 9. Reveal cinematici (clip-path) --------------------------- */
html.js [data-rev] {
  clip-path: var(--rev-from, inset(0 0 100% 0));
  transition: clip-path 1.1s var(--ease-cine);
  will-change: clip-path;
}
html.js [data-rev="left"]  { --rev-from: inset(0 100% 0 0); }
html.js [data-rev="right"] { --rev-from: inset(0 0 0 100%); }
html.js [data-rev="down"]  { --rev-from: inset(100% 0 0 0); }
html.js [data-rev="iris"]  { --rev-from: inset(18% 26% 18% 26%); }
html.js [data-rev].is-in { clip-path: inset(0 0 0 0); }

html.js [data-rev] > img,
html.js [data-rev] > picture > img {
  transform: scale(1.14);
  transition: transform 1.7s var(--ease-cine);
}
html.js [data-rev].is-in > img,
html.js [data-rev].is-in > picture > img { transform: scale(1); }

html.js [data-fade] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js [data-fade].is-in { opacity: 1; transform: none; }
html.js [data-fade][data-delay] { transition-delay: calc(var(--d, 0) * 1ms); }

/* testo che si compone riga per riga / parola per parola */
.w {
  /* il box di clipping deve contenere ascendenti e discendenti: con padding
     troppo stretto i titoli grandi venivano tagliati a metà */
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: 0.22em 0 0.3em; margin: -0.22em 0 -0.3em;
}
.w > i {
  display: inline-block; font-style: inherit;
  transform: translateY(112%);
  transition: transform .95s var(--ease-cine) calc(var(--wi, 0) * 42ms);
}
.is-in .w > i, .w.is-in > i { transform: translateY(0); }
.ch { display: inline-block; opacity: 0; transform: translateY(0.42em) rotate(3deg);
      transition: opacity .5s ease calc(var(--wi,0) * 26ms), transform .7s var(--ease) calc(var(--wi,0) * 26ms); }
.is-in .ch { opacity: 1; transform: none; }

/* ---------- 10. Frame fotografici ------------------------------------- */
.ph { min-width: 0; display: block; }
.frame {
  position: relative; overflow: hidden; margin: 0;
  aspect-ratio: var(--ar, 3 / 2);
  background: var(--paper-2);
}
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame--free { aspect-ratio: auto; }
/* le immagini a piena larghezza si accorciano su mobile (la classe batte il --ar inline) */
@media (max-width: 760px) {
  .frame.frame--bleed { aspect-ratio: 5 / 4; }
}
.frame figcaption, .fcap {
  display: block; margin-top: 1.05rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--fs-mono); letter-spacing: 0.1em;
  color: var(--ink-faint); text-transform: none; line-height: 1.65;
  max-width: 46ch;
}
.band--ink .frame figcaption, .band--ink .fcap { color: #918A80; }
/* le didascalie delle foto a piena larghezza rientrano nel margine tipografico */
.cell--bleed .fcap { padding-inline: var(--edge); }

.shot { display: block; border: 0; padding: 0; background: none; width: 100%; text-align: left; }
.shot .frame > img { transition: transform 1.1s var(--ease); }
.shot:hover .frame > img { transform: scale(1.045); }
html.js .shot:hover [data-rev].is-in > img { transform: scale(1.045); }

/* ---------- 11. Hero ---------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
/* slideshow dell'hero: dissolvenze lunghe + Ken Burns lento (ordine casuale a ogni load) */
.hero__media { position: absolute; inset: -8% 0 -8%; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  opacity: 0;
  transition: opacity 2.4s linear;
}
html:not(.js) .hero__slide:first-child { opacity: 1; }
.hero__slide.is-on { opacity: 1; }
.hero__slide.is-off { opacity: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
html.js .hero__slide.is-on img {
  animation: kenburns var(--kb-dur, 13s) linear both;
}
@keyframes kenburns {
  from { transform: scale(1.035) translate3d(0, 0, 0); }
  to   { transform: scale(var(--kb-scale, 1.17)) translate3d(var(--kb-x, -1.4%), var(--kb-y, -1.1%), 0); }
}
/* il lockup oversize: dentro l'hero, sul lato SINISTRO, centrato sull'altezza
   reale dell'hero (non su quella della finestra). Composizione orizzontale:
   il monogramma "VB" dentro un cerchio-sigillo, il wordmark a destra del
   cerchio e allineato al suo centro. Il markup è lo stesso per la homepage e
   per i 6 case study. */
.hero__lockup {
  position: absolute; z-index: 1;
  top: 50%; left: var(--edge);
  transform: translateY(-50%);
  display: none;                /* acceso dai media query di §11b */
  align-items: center;          /* wordmark allineato al centro del cerchio */
  gap: var(--lk-gap);
  pointer-events: none;
  /* l'ombra morbida tiene leggibili sia il tratto del monogramma sia il filo
     sottilissimo del cerchio sopra qualunque fotografia (homepage + 6 case
     study condividono il componente) */
  filter: drop-shadow(0 2px 20px rgba(11, 9, 8, .55));
}
/* Composizione riutilizzabile del marchio: cerchio-sigillo + wordmark a
   fianco. La usa l'hero (via .hero__lockup, che gestisce da sé display e
   posizione) e la riusa il footer con --lk-mark-h ridotto: un solo sistema. */
.lk { display: inline-flex; align-items: center; gap: var(--lk-gap); }
.lk__badge {
  flex: none;
  width: var(--lk-badge); height: var(--lk-badge);
  border-radius: 50%;
  /* bordo appena percettibile: hairline 1px al 30% */
  border: 1px solid rgba(243, 240, 234, .3);
  display: grid; place-items: center;
  /* scrim discreto: scurisce l'interno del cerchio quel tanto che serve al
     filo del bordo per staccarsi anche sulle slide più luminose */
  background: radial-gradient(closest-side,
              rgba(12, 10, 9, .26), rgba(12, 10, 9, .09) 72%, rgba(12, 10, 9, 0));
}
/* Monogramma e wordmark sono ritagliati dai due file del marchio sul loro
   bounding box di inchiostro: così il padding di 90px è misurato davvero dai
   tratti e non dal margine trasparente del PNG, e il monogramma risulta
   centrato nel cerchio sull'inchiostro e non sulla tela.
     vblogo_white_quad.png 300x300 — inchiostro x48..276 (229) y21..286 (266)
     vblogo_white-1.png    720x404 — wordmark  x49..620 (572) y325..350 (26) */
.lk__mark, .lk__word { display: block; background-repeat: no-repeat; }
.lk__mark {
  --k: calc(var(--lk-mark-h) / 266);
  width: calc(229 * var(--k)); height: var(--lk-mark-h);
  background-image: var(--lk-mark-img, url("../logos/vblogo_white_quad.png"));
  background-size: calc(300 * var(--k)) calc(300 * var(--k));
  background-position: calc(-48 * var(--k)) calc(-21 * var(--k));
}
.lk__word {
  --j: calc(var(--lk-word-w) / 572);
  width: var(--lk-word-w); height: calc(26 * var(--j));
  background-image: var(--lk-word-img, url("../logos/vblogo_white-1.png"));
  background-size: calc(720 * var(--j)) calc(404 * var(--j));
  background-position: calc(-49 * var(--j)) calc(-325 * var(--j));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(12,10,9,.6) 0%, rgba(12,10,9,.28) 46%, rgba(12,10,9,0) 74%),
    linear-gradient(to top, rgba(12,10,9,.84) 0%, rgba(12,10,9,.4) 44%, rgba(12,10,9,.16) 72%, rgba(12,10,9,.46) 100%);
}
.hero__inner {
  position: relative;
  /* fascia di sicurezza in alto: il masthead è fixed, senza questo spazio
     riservato il contenuto dell'hero (allineato in basso) gli finisce sotto
     e l'occhiello/H1 collidono col lockup. Vale a ogni risoluzione. */
  padding: calc(var(--brand-h) + var(--mast-pad) * 2 + clamp(1.4rem, 4vh, 3rem))
           var(--edge)
           clamp(2.4rem, 6vh, 5.5rem);
  color: var(--paper);
  width: 100%;
}
/* ---------- 11b. Hero: convivenza lockup / testo ------------------------
   Il marchio non è più in alto a sinistra: in alto basta lo spazio della riga
   WhatsApp + Menu. Il lockup ora sta a sinistra e centrato in verticale,
   quindi il contenuto dell'hero (occhiello, H1, sottotitolo, CTA) rientra di
   una colonna larga --lk-w: la separazione dal lockup è ORIZZONTALE e vale a
   qualunque altezza dell'hero, su qualunque pagina e con titoli di qualunque
   lunghezza. Niente dipendenze dall'altezza del blocco di testo.           */
@media (min-width: 701px) {
  body[data-hero-dark] .hero__lockup { display: flex; }
  body[data-hero-dark] .hero__inner {
    padding-top: calc(var(--mast-pad) * 2 + clamp(1.6rem, 3.5vh, 4rem));
    padding-left: calc(var(--edge) + var(--lk-w) + var(--lk-col));
  }
  /* la riga che sfonda a sinistra resta (griglia rotta) ma rientra: dentro la
     colonna riservata mangerebbe l'aria tra lockup e testo */
  body[data-hero-dark] .hero__title .out { margin-left: -0.6rem; }
  /* la colonna di testo è più stretta: la didascalia della foto va a capo
     sotto il blocco invece di stare in linea. Interlinea di riga più corta
     (altrimenti l'hero supera i 100vh sui portatili 768px di altezza) e
     didascalia allineata al margine destro della colonna. */
  body[data-hero-dark] .hero__row { row-gap: clamp(0.9rem, 1.8vh, 1.6rem); }
  body[data-hero-dark] .hero__cap { margin-left: auto; }
}
/* Fallback 701–1023px: la composizione orizzontale completa comprimerebbe
   troppo il titolo, quindi resta il solo cerchio col monogramma (il wordmark
   torna nel masthead appena si scrolla). */
@media (min-width: 701px) and (max-width: 1023.98px) {
  body[data-hero-dark] .hero { --lk-w: var(--lk-badge); }
  body[data-hero-dark] .lk__word { display: none; }
}
.hero h1, .hero .display { color: var(--paper); }
.hero__lead {
  color: rgba(243,240,234,.9);
  max-width: 46ch;
  margin-top: clamp(1.2rem, 2.6vh, 2.6rem);
}
.hero__row {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: clamp(1.6rem, 3.4vw, 3.6rem);
  margin-top: clamp(1.4rem, 3vh, 3.2rem);
}
.hero__cap {
  color: rgba(243,240,234,.62); text-align: right;
  transition: opacity .5s ease;
}
.hero__cap.is-swap { opacity: 0; }
.hero__eyebrow { color: rgba(243,240,234,.75); margin-bottom: clamp(1rem, 2.4vh, 2.4rem); display: inline-flex; }
/* nell'hero l'aria è la stessa, ma misurata sull'altezza della finestra:
   la CTA principale non deve mai finire sotto la piega */
.hero__row .mt { margin-top: clamp(1.3rem, 2.8vh, 2.6rem); }
.hero__eyebrow::before { background: var(--accent-2); }

/* titolo che rompe il margine destro */
.hero__title { position: relative; max-width: min(100%, 16em); }
.hero__title .break { display: block; margin-left: clamp(0px, 6vw, 8.5rem); }
.hero__title .out   { display: block; margin-left: clamp(-1.6rem, -3vw, -5rem); }
/* su mobile lo sfondamento a sinistra taglierebbe la prima lettera fuori
   dallo schermo: la griglia rotta resta, ma dentro il margine */
@media (max-width: 700px) {
  .hero__title .break { margin-left: 0.7rem; }
  .hero__title .out   { margin-left: 0; }
}

.scrollcue {
  position: absolute; left: max(0.65rem, calc(var(--edge) * 0.26)); bottom: clamp(2.4rem, 7vh, 5rem);
  writing-mode: vertical-rl;
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(243,240,234,.6);
  display: flex; align-items: center; gap: 0.9em;
}
.scrollcue::after {
  content: ""; width: 1px; height: clamp(38px, 7vh, 70px);
  background: linear-gradient(rgba(243,240,234,.7), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(.2); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(.2); transform-origin: bottom; } }
@media (max-width: 860px) { .scrollcue { display: none; } }

/* hero secondario (pagine interne, senza foto a tutto schermo) */
.top {
  padding: calc(var(--brand-h) + 11rem) 0 clamp(3.5rem, 9vh, 6.5rem);
  position: relative;
  overflow: hidden; /* il numerale decorativo esce dal margine senza creare scroll */
}
.top__title { position: relative; z-index: 1; }
.top__ghost {
  position: absolute; right: calc(-1 * var(--edge)); top: 38%;
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(4rem, 18vw, 17rem); line-height: 0.8;
  color: rgba(20,18,16,.045);
  letter-spacing: -0.04em; pointer-events: none; user-select: none;
}

/* ---------- 12. Marquee prova sociale ---------------------------------- */
.marquee {
  overflow: hidden; position: relative;
  padding-block: clamp(1.4rem, 2.8vw, 2.4rem);
  border-block: 1px solid var(--paper-3);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(2rem, 4.6vw, 4.6rem);
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: inherit; }
.marquee__track a {
  font-size: clamp(1.35rem, 3.1vw, 2.9rem);
  font-weight: var(--fw-title); letter-spacing: -0.03em; text-decoration: none;
  white-space: nowrap;
  transition: color .3s ease;
}
.marquee__track a:hover { color: var(--accent); }
.marquee__track .sep { color: var(--accent); flex: none; font-size: clamp(1rem, 2vw, 1.6rem); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Fascia "prova sociale": porta una sola riga di nomi, quindi non deve
   occupare l'altezza di una band editoriale. Tutto il blocco (occhiello +
   nastro + righe sottili) resta un filo orizzontale: padding verticale
   ridotto, corpo dei nomi più contenuto, aria minima tra label e nastro.
   Dichiarata dopo .band--tight: vince nella cascata a pari specificità.   */
.band--proof { padding-block: clamp(1.35rem, 2.6vh, 2.1rem); }
.band--proof .marquee {
  margin-top: clamp(0.55rem, 1.1vh, 0.9rem);
  padding-block: clamp(0.55rem, 0.95vw, 0.85rem);
}
.band--proof .marquee__track {
  gap: clamp(1.5rem, 3.2vw, 3.2rem);
  align-items: baseline;
}
.band--proof .marquee__track a { font-size: clamp(0.98rem, 1.6vw, 1.55rem); letter-spacing: -0.022em; }
.band--proof .marquee__track .sep { font-size: clamp(0.62rem, 1vw, 0.82rem); }

/* ---------- 13. Indice lavori (griglia rotta) -------------------------- */
.works { row-gap: clamp(3.2rem, 6.5vw, 7rem); }
.work { text-decoration: none; display: block; position: relative; }
.work__head {
  display: flex; align-items: baseline; gap: 0.9em;
  margin-bottom: 1.15rem;
}
.work__name {
  font-size: clamp(1.25rem, 2vw, 1.95rem); font-weight: var(--fw-title); letter-spacing: -0.03em;
  line-height: 1.12;
}
.work__place { color: var(--ink-faint); margin-top: 0.55rem; }
.work .frame { transition: none; }
.work:hover .work__name { color: var(--accent); }
.work__go {
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s ease, transform .4s var(--ease);
  display: block; margin-top: 0.9rem;
}
.work:hover .work__go { opacity: 1; transform: none; }

/* riga-indice editoriale (pagina lavori) */
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  padding-block: clamp(3rem, 6.5vw, 6.5rem);
  border-top: 1px solid var(--paper-3);
  text-decoration: none;
  position: relative;
}
@media (min-width: 861px) {
  .row { grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
  .row__idx { grid-column: 1; }
  .row__body { grid-column: 2; }
  .row__media { grid-column: 3; }
  .row--flip { grid-template-columns: 4.5rem minmax(0, 1.2fr) minmax(0, 1fr); }
  .row--flip .row__media { grid-column: 2; }
  .row--flip .row__body { grid-column: 3; }
}
.row__idx { color: var(--accent); }
.row__title { font-size: clamp(1.9rem, 4.4vw, 4rem); font-weight: var(--fw-title); letter-spacing: -0.04em; line-height: 1.04; }
.row:hover .row__title { color: var(--accent); }
.row__meta { margin-top: 1.2rem; color: var(--ink-faint); }
.row__blurb { margin-top: 1.5rem; max-width: 48ch; color: var(--ink-soft); }
.row__media .frame { --ar: 4 / 3; }
.row:hover .row__media .frame > img { transform: scale(1.04); }

/* ---------- 14. Plate tipografica (momenti a piena pagina) ------------- */
.plate {
  position: relative; overflow: hidden; isolation: isolate;
  /* 120vh: la citazione è un momento a piena pagina e deve "durare" più di
     una schermata, così il parallasse ha lo spazio per farsi vedere. Il testo
     resta centrato (grid + align-items: center), quindi l'altezza in più si
     distribuisce simmetricamente sopra e sotto: nessun vuoto anomalo. */
  min-height: 120vh;
  display: grid; align-items: center;
  padding: clamp(6rem, 15vh, 11rem) var(--edge);
  color: var(--paper);
  background: var(--ink);
}
/* Lo sfondo deborda del 28% sopra e sotto: con data-para="0.2" (§6 del JS) la
   corsa massima della foto è k * (vh + h)/2 = 0.2 * 1.1vh = 0.22vh, mentre lo
   sfondamento vale 0.28 * 1.2vh = 0.336vh. Margine ~0.11vh: nessun bordo
   scoperto a nessuna altezza di finestra. */
.plate__media { position: absolute; inset: -28% 0; z-index: -2; will-change: transform; }
.plate__media img { width: 100%; height: 100%; object-fit: cover; }
.plate::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(102deg, rgba(11,9,8,.92) 0%, rgba(11,9,8,.74) 48%, rgba(11,9,8,.6) 72%, rgba(11,9,8,.78) 100%);
}
.plate--accent { background: var(--accent); }
.plate--accent::after { display: none; }
.plate--paper { background: var(--paper-2); color: var(--ink); }
.plate--paper::after { display: none; }
.plate blockquote {
  margin: 0; max-width: 22ch;
  font-size: var(--fs-plate);
  line-height: 1.12; letter-spacing: -0.038em;
}
.plate blockquote.wide { max-width: 34ch; }
.plate cite {
  display: block; margin-top: clamp(1.9rem, 3.6vw, 3.2rem);
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.2em; text-transform: uppercase; font-style: normal;
  color: rgba(243,240,234,.62);
}
.plate--paper cite { color: var(--ink-faint); }
.plate .tag { color: rgba(243,240,234,.7); }
.plate--paper .tag { color: var(--ink-soft); }

/* ---------- 15. Fasi del servizio -------------------------------------- */
.phase {
  display: grid; gap: clamp(1.8rem, 3.6vw, 3.6rem);
  padding-block: clamp(3.2rem, 7vw, 6.5rem);
  border-top: 1px solid var(--paper-3);
  align-items: start;
}
@media (min-width: 861px) {
  .phase { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
  .phase--flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
  .phase--flip .phase__media { order: -1; }
  .phase--flip .phase__body { order: 1; }
}
.phase__media--single { max-width: 470px; }
.phase__n {
  font-size: clamp(3rem, 9vw, 8rem); font-weight: var(--fw-title); line-height: 0.86;
  letter-spacing: -0.06em; color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  margin-bottom: 0.75rem;
}
.phase__title { font-size: clamp(1.5rem, 2.9vw, 2.6rem); margin-bottom: 1.25rem; }
.phase__when {
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.5rem; display: block;
}

/* rail di dati (numeri forti) */
.rail { display: grid; gap: 1px; background: var(--paper-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.rail > div { background: var(--paper); padding: clamp(1.8rem, 3.2vw, 2.9rem); }

/* Icona cerchiata delle statistiche: stesso linguaggio del cerchio del logo
   nell'hero (§11) — filo di 1px appena percettibile e monogramma/glifo che
   occupa la stessa frazione del diametro (108/288 = 0.375). Un solo colore:
   l'inchiostro del testo, mai il terracotta.                               */
.rail__ico {
  width: clamp(52px, 5vw, 74px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(20, 18, 16, .22);
  display: grid; place-items: center;
  margin-bottom: clamp(1rem, 1.8vw, 1.5rem);
  color: var(--ink-soft);
}
.rail__ico svg {
  width: 37.5%; height: auto;
  fill: none; stroke: currentColor;
  stroke-width: 1; vector-effect: non-scaling-stroke;
}
.band--ink .rail__ico { border-color: rgba(243, 240, 234, .3); color: #C9C2B8; }
.band--ink .rail { background: #34302A; }
.band--ink .rail > div { background: var(--ink); }
.rail strong {
  display: block; font-size: clamp(1.9rem, 3.6vw, 3.2rem); font-weight: var(--fw-title);
  letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 0.75rem;
}
.rail p { color: var(--ink-soft); font-size: 0.98rem; }
.rail--contacts strong { font-size: clamp(1.15rem, 2vw, 1.7rem); overflow-wrap: anywhere; }
.band--ink .rail p { color: #A9A199; }

/* prezzo */
.price {
  font-size: clamp(2.4rem, 7vw, 6rem); font-weight: var(--fw-title); letter-spacing: -0.05em;
  line-height: 0.96;
}
.price small { font-size: 0.32em; letter-spacing: 0.02em; display: block; margin-top: 0.9rem; color: rgba(243,240,234,.72); }
.pricelist { list-style: none; margin: 0; padding: 0; }
.pricelist li {
  padding: 1.15rem 0; border-bottom: 1px solid rgba(243,240,234,.16);
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.6rem; align-items: baseline;
}
.pricelist li::before {
  content: counter(pl, decimal-leading-zero);
  counter-increment: pl;
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.14em; color: var(--accent-2);
}
.pricelist { counter-reset: pl; }

/* ---------- 16. FAQ ----------------------------------------------------- */
.faq { border-top: 1px solid var(--paper-3); }
.faq details { border-bottom: 1px solid var(--paper-3); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: clamp(1.35rem, 2.8vw, 2.1rem) 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  font-size: clamp(1.05rem, 1.9vw, 1.55rem); font-weight: 300; letter-spacing: -0.02em;
  transition: color .3s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "+"; flex: none; color: var(--accent);
  font-size: 1.2em; font-weight: var(--fw-title); line-height: 1;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding-bottom: clamp(1.5rem, 2.8vw, 2.4rem); max-width: 68ch; color: var(--ink-soft); }
.faq__body strong { color: var(--ink); font-weight: 500; }

/* ---------- 17. Galleria case study: ritmo ----------------------------- */
.duo { display: grid; gap: var(--gutter) ; grid-template-columns: minmax(0,1fr); }
@media (min-width: 861px) {
  .duo { grid-template-columns: minmax(0, var(--w1, 1fr)) minmax(0, var(--w2, 1fr)); align-items: start; gap: clamp(1.6rem, 3.2vw, 3.4rem); }
  .duo--offset > *:last-child { transform: translateY(clamp(2rem, 7vw, 7rem)); }
  .duo--offset-up > *:first-child { transform: translateY(clamp(2rem, 6vw, 6rem)); }
}
.trio { display: grid; gap: clamp(1.2rem, 2.6vw, 2.6rem); grid-template-columns: minmax(0,1fr); }
@media (min-width: 861px) {
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
  .trio > *:nth-child(2) { transform: translateY(clamp(-4rem, -5vw, -2rem)); }
}

/* nastro a scorrimento orizzontale */
.strip-wrap { position: relative; }
.strip {
  display: flex; gap: clamp(1rem, 2.2vw, 2rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-inline: var(--edge);
  padding-bottom: 2rem;
  scrollbar-width: thin;
  cursor: grab;
}
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip > .strip__item {
  flex: none; margin: 0; scroll-snap-align: center;
  width: clamp(260px, 58vw, 660px);
}
.strip > .strip__item.is-portrait { width: clamp(190px, 38vw, 440px); }
.strip::-webkit-scrollbar { height: 3px; }
.strip::-webkit-scrollbar-thumb { background: var(--paper-3); }
.strip-hint {
  display: flex; align-items: center; gap: 0.8em;
  padding: 0 var(--edge) 1.5rem;
  color: var(--ink-faint);
}
.strip-hint::after { content: ""; height: 1px; width: clamp(30px, 8vw, 90px); background: var(--paper-3); }

/* colonna meta appiccicata */
.sticky { position: sticky; top: calc(var(--brand-h) + 6rem); }
@media (max-width: 860px) { .sticky { position: static; } }

.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6em;
  margin: 0; padding: clamp(1.4rem,2.6vw,2.2rem) var(--edge);
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.14em; color: var(--ink-faint);
}
.breadcrumb li + li::before { content: "/ "; color: var(--paper-3); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* prossimo lavoro */
.next {
  display: block; text-decoration: none; position: relative; overflow: hidden;
  padding: clamp(4.5rem, 11vh, 9rem) var(--edge);
  background: var(--ink); color: var(--paper); isolation: isolate;
}
.next__media { position: absolute; inset: 0; z-index: -1; opacity: .3; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.next__media img { width: 100%; height: 100%; object-fit: cover; }
.next:hover .next__media { opacity: .5; transform: scale(1.04); }
.next__name { font-size: clamp(1.9rem, 5.4vw, 4.6rem); font-weight: var(--fw-title); letter-spacing: -0.045em; line-height: 1.04; }
.next .tag { color: rgba(243,240,234,.7); }

/* ---------- 18. Chi sono ----------------------------------------------- */
.about { position: relative; }
.about__photo .frame { --ar: 4 / 5; }
.about__text { position: relative; z-index: 1; }
@media (min-width: 861px) {
  .about__text { padding-left: clamp(1.4rem, 3.4vw, 3.6rem); }
}

/* ---------- 19. Form preventivo --------------------------------------- */
.quote { position: relative; }
.quote__contacts { display: flex; flex-wrap: wrap; gap: clamp(1.1rem, 2.4vw, 2.4rem); margin-bottom: clamp(2rem,3.6vw,3.2rem); }
.quote__contacts a {
  display: inline-flex; align-items: center; gap: 0.6em;
  text-decoration: none; font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 300;
  transition: color .3s ease;
}
.quote__contacts svg { width: 1.05em; height: 1.05em; fill: var(--accent-2); flex: none; }
.quote__contacts a:hover { color: var(--accent-2); }

form.qform { display: grid; gap: clamp(1.5rem, 2.8vw, 2.3rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { form.qform { grid-template-columns: 1fr; } }
.f { display: grid; gap: 0.75rem; }
.f--full { grid-column: 1 / -1; }
.f label, .privacy label {
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243,240,234,.66);
}
.f input, .f textarea {
  font: inherit; color: var(--paper);
  background: transparent; border: 0; border-bottom: 1px solid rgba(243,240,234,.28);
  padding: 0.95rem 0; border-radius: 0;
  transition: border-color .3s ease;
}
.f textarea { resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--accent-2); }
.privacy { grid-column: 1 / -1; display: flex; gap: 0.8rem; align-items: flex-start; }
.privacy input { margin-top: 0.35rem; accent-color: var(--accent); flex: none; }
.privacy label {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 300;
  text-transform: none; letter-spacing: 0.01em; line-height: 1.6;
  color: rgba(243,240,234,.8);
}
.privacy label em { color: rgba(243,240,234,.55); font-size: 0.85em; }
.privacy a { color: var(--accent-2); }

/* ---------- 20. Footer — l'ultimo momento, non un'appendice -------------
   Non è una pila di link: è la chiusura cinematica dell'esperienza. Fondo
   scuro (come hero e citazioni), un richiamo tipografico enorme e sottile che
   ripete la CTA, i tre contatti trattati come dati grandi e cliccabili, il
   marchio col cerchio-sigillo di §11, il micro-sitemap ridotto all'osso e i
   link di servizio (progetti personali, privacy) defilati in fondo.
   La grafica di sfondo sono due cerchi hairline concentrici — lo stesso
   motivo del logo e delle icone — con una deriva lenta in parallasse.      */
.foot {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--paper);
  padding: clamp(4rem, 12vh, 9rem) var(--edge) clamp(1.6rem, 2.6vw, 2.4rem);
}
.foot__inner { position: relative; z-index: 1; max-width: 1500px; margin-inline: auto; }

/* i due cerchi di sfondo: filo appena percettibile, mai in mezzo al testo */
.foot__ring {
  position: absolute; z-index: 0; pointer-events: none;
  right: min(-6vw, -3rem); top: -32%;
  width: min(54vw, 700px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(243, 240, 234, .085);
  will-change: transform;
}
.foot__ring::after {
  content: ""; position: absolute; inset: 13%;
  border-radius: 50%;
  border: 1px solid rgba(243, 240, 234, .055);
}

/* --- richiamo tipografico: la CTA in scala drammatica ------------------- */
.foot__cry { position: relative; }
.foot__cry .tag { color: #A9A199; }
.foot__cta {
  display: block;
  margin-top: clamp(1.1rem, 2.4vh, 2.2rem);
  font-family: var(--font-display); font-weight: var(--fw-title);
  font-size: clamp(2.35rem, 8.6vw, 7.6rem);
  line-height: 0.96; letter-spacing: -0.05em;
  color: var(--paper); text-decoration: none;
  text-wrap: balance;
  transition: color .45s var(--ease);
}
/* la parola chiave è "cava": stessa idea di .stroke e di .phase__n, cioè la
   tipografia usata come elemento grafico. Sotto i 700px torna piena, perché a
   quel corpo il filo si perderebbe. */
.foot__cta em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 240, 234, .8);
  transition: -webkit-text-stroke-color .45s var(--ease);
}
@media (max-width: 700px) {
  .foot__cta em { color: var(--paper); -webkit-text-stroke: 0; }
}
.foot__cta .foot__arrow {
  display: inline-block; margin-left: 0.12em;
  transition: transform .5s var(--ease);
}
.foot__cta:hover, .foot__cta:focus-visible { color: var(--accent-2); }
.foot__cta:hover em, .foot__cta:focus-visible em { color: var(--accent-2); }
.foot__cta:hover .foot__arrow { transform: translateX(0.22em); }
/* filo che si accende sotto il richiamo, come .tlink ma a scala di pagina */
.foot__cryline {
  position: relative; height: 1px; margin-top: clamp(1.6rem, 3.4vh, 3rem);
  background: #34302A; overflow: hidden;
}
.foot__cryline::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .9s var(--ease);
}
.foot__cry:hover + .foot__cryline::after,
.foot__cry:focus-within + .foot__cryline::after { transform: scaleX(1); }

/* --- contatti: dati grandi, non testo piccolo in un angolo -------------- */
.foot__reach {
  display: grid; gap: 1px;
  background: #34302A;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  margin-top: clamp(2.4rem, 5vh, 4rem);
}
.foot__reach a {
  background: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: clamp(1.5rem, 2.8vw, 2.4rem) clamp(1.2rem, 2.2vw, 2rem) clamp(1.5rem, 2.8vw, 2.4rem) 0;
  text-decoration: none;
  transition: background-color .45s var(--ease), color .35s ease;
}
.foot__reach a + a { padding-left: clamp(1.2rem, 2.2vw, 2rem); }
.foot__reach-k {
  display: block; margin-bottom: 0.7rem;
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.2em; text-transform: uppercase; color: #8C857B;
  transition: color .35s ease;
}
.foot__reach-v {
  display: block;
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(1.1rem, 1.9vw, 1.65rem); letter-spacing: -0.02em;
  line-height: 1.2; overflow-wrap: anywhere;
}
/* pastiglia circolare hairline: stesso filo del logo e delle icone */
.foot__go {
  flex: none;
  width: clamp(34px, 3vw, 44px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(243, 240, 234, .3);
  display: grid; place-items: center;
  transition: border-color .4s ease, background-color .4s ease, transform .5s var(--ease);
}
.foot__go svg { width: 38%; height: auto; fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.foot__reach a:hover, .foot__reach a:focus-visible { color: var(--accent-2); }
.foot__reach a:hover .foot__reach-k, .foot__reach a:focus-visible .foot__reach-k { color: var(--accent-2); }
.foot__reach a:hover .foot__go, .foot__reach a:focus-visible .foot__go {
  border-color: var(--accent-2); transform: translate(3px, -3px);
}

/* --- base: marchio, claim, micro-sitemap -------------------------------- */
.foot__base {
  display: grid; gap: clamp(2.2rem, 4.5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  align-items: start;
  margin-top: clamp(3rem, 6.5vh, 5.5rem);
}
.foot__logo { display: inline-block; text-decoration: none; line-height: 0; }
.lk--foot {
  /* stesso rapporto monogramma/cerchio dell'hero, alla scala del footer */
  --lk-mark-h: clamp(38px, 4.2vw, 62px);
  --lk-pad:    calc(var(--lk-mark-h) * 0.8333);
  --lk-badge:  calc(var(--lk-mark-h) + var(--lk-pad) * 2);
  --lk-word-w: clamp(148px, 17vw, 250px);
  --lk-gap:    calc(var(--lk-mark-h) * 0.44);
}
.foot__logo:hover .lk__badge, .foot__logo:focus-visible .lk__badge { border-color: var(--accent-2); }
.lk--foot .lk__badge { transition: border-color .4s ease; }
.foot__claim {
  color: #A9A199; max-width: 38ch;
  margin-top: clamp(1.4rem, 2.6vw, 2.2rem);
}
.foot__social {
  display: flex; flex-wrap: wrap; gap: 0.9rem;
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
}
.foot__soc {
  display: inline-flex; align-items: center; gap: 0.95em;
  padding: 0.7em 1.35em 0.7em 0.7em;
  border: 1px solid rgba(243, 240, 234, 0.22); border-radius: 999px;
  color: var(--paper); text-decoration: none;
  transition: border-color .35s ease, background-color .35s ease, transform .45s var(--ease);
}
.foot__soc-ic {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: clamp(44px, 3.6vw, 56px); height: clamp(44px, 3.6vw, 56px);
  border-radius: 999px; background: var(--accent); color: var(--paper);
  transition: background-color .35s ease, transform .45s var(--ease);
}
.foot__soc-ic svg { width: 46%; height: 46%; fill: currentColor; }
.foot__soc-t { display: grid; gap: 0.15em; line-height: 1.15; }
.foot__soc-k {
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.2em; text-transform: uppercase; color: #8C857B;
}
.foot__soc-v { font-size: clamp(1rem, 1.15vw, 1.15rem); }
.foot__soc:hover, .foot__soc:focus-visible { border-color: var(--accent-2); background: rgba(255,255,255,0.04); transform: translateY(-2px); }
.foot__soc:hover .foot__soc-ic { background: var(--accent-2); transform: rotate(-8deg) scale(1.04); }

/* WhatsApp fisso in basso a destra, sempre visibile (il banner cookie, quando c'è, gli sta sopra) */
.wa-float {
  position: fixed; right: clamp(14px, 2.2vw, 30px); bottom: clamp(14px, 2.2vw, 30px);
  z-index: 8800;
  display: inline-flex; align-items: center; gap: 0.7em;
  height: 58px; padding: 0 1.3em 0 0; border-radius: 999px;
  background: var(--accent); color: var(--paper); text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(184, 92, 56, 0.75), 0 2px 6px rgba(20, 18, 16, 0.18);
  transition: transform .45s var(--ease), box-shadow .45s ease, background-color .35s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; margin-left: 14px; flex: none; position: relative; }
.wa-float__label {
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
}
.wa-float__ring {
  position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--accent);
  animation: wa-pulse 2.6s ease-out infinite; pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-3px); background: var(--accent-2); box-shadow: 0 20px 40px -12px rgba(184, 92, 56, 0.85), 0 2px 6px rgba(20, 18, 16, 0.2); }
@media (max-width: 620px) {
  .wa-float { height: 54px; width: 54px; padding: 0; justify-content: center; }
  .wa-float svg { margin-left: 0; width: 28px; height: 28px; }
  .wa-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-float__ring { animation: none; } }
body.veil-open .wa-float { opacity: 0; pointer-events: none; }

.foot__t {
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.2em; text-transform: uppercase; color: #8C857B;
  margin: 0 0 1.3rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.foot a { text-decoration: none; }
.foot__map a {
  display: inline-flex; align-items: baseline; gap: 0.55em;
  transition: color .3s ease, gap .35s var(--ease);
}
.foot__map a::before {
  content: ""; width: clamp(12px, 1.6vw, 22px); height: 1px;
  background: #57514A; transform: translateY(-0.35em); flex: none;
  transition: background-color .3s ease, width .35s var(--ease);
}
.foot__map a:hover, .foot__map a:focus-visible { color: var(--accent-2); }
.foot__map a:hover::before, .foot__map a:focus-visible::before { background: var(--accent); width: clamp(20px, 2.6vw, 34px); }

/* --- dove ho fotografato: la geografia del lavoro come dato ------------- */
.foot__places {
  margin-top: clamp(2.4rem, 5vh, 4rem);
  padding-top: clamp(1.5rem, 2.8vw, 2.3rem);
  border-top: 1px solid #34302A;
  display: grid; gap: clamp(0.9rem, 1.8vw, 2rem);
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr);
  align-items: start;
}
.foot__places .foot__t { margin-bottom: 0; }
/* .foot ul è più specifico di .foot__geo: serve il doppio contesto */
.foot .foot__geo {
  display: flex; flex-wrap: wrap;
  gap: 0.5em clamp(0.6rem, 1.2vw, 1.05rem);
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(0.95rem, 1.3vw, 1.25rem);
  letter-spacing: -0.012em; line-height: 1.45;
  color: #C9C2B8;
}
.foot__geo li { display: inline-flex; align-items: baseline; gap: clamp(0.6rem, 1.2vw, 1.05rem); }
.foot__geo li:not(:last-child)::after { content: "\00b7"; color: var(--accent); }
@media (max-width: 860px) {
  .foot__places { grid-template-columns: 1fr; }
}

.foot__bottom {
  position: relative; z-index: 1;
  max-width: 1500px; margin-inline: auto;
  margin-top: clamp(2.6rem, 5.5vw, 4.5rem); padding-top: 1.6rem;
  border-top: 1px solid #34302A;
  display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; justify-content: space-between; align-items: baseline;
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono);
  letter-spacing: 0.14em; color: #8C857B;
}
.foot__bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.foot__bottom a { border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .3s ease, border-color .3s ease; }
.foot__bottom a:hover, .foot__bottom a:focus-visible { color: var(--accent-2); border-color: var(--accent-2); }
/* il focus su fondo scuro va visto: terracotta chiaro, non quello base */
.foot :focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }

@media (max-width: 860px) {
  .foot__base { grid-template-columns: 1fr; }
  .foot__reach a, .foot__reach a + a { padding-inline: 0; }
  .foot__ring { top: auto; bottom: -22%; right: -28vw; width: min(90vw, 620px); }
}

/* ---------- 21. Lightbox ---------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: 9200;
  background: rgba(12,10,9,.96);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(0.8rem, 2vw, 1.6rem);
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: rgba(243,240,234,.7); }
.lb__bar button {
  background: none; border: 1px solid rgba(243,240,234,.3); border-radius: 999px;
  padding: 0.55em 1em; cursor: pointer; color: var(--paper);
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-mono); letter-spacing: 0.18em; text-transform: uppercase;
}
.lb__bar button:hover { background: var(--accent); border-color: var(--accent); }
.lb__stage { display: grid; place-items: center; overflow: hidden; padding: clamp(0.6rem,2vw,1.4rem); }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; width: auto; height: auto; }
.lb__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: rgba(243,240,234,.62); }
.lb__nav { display: flex; gap: 0.6rem; }
.lb__cap { max-width: 60ch; }

/* ---------- 22. Utility ----------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--ink); color: var(--paper); padding: 0.8rem 1.2rem;
}
.skip:focus { left: 0.6rem; top: 0.6rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack { display: grid; gap: var(--space-s); align-content: start; justify-items: start; }
.stack--tight { gap: var(--space-2xs); }
.mt { margin-top: var(--space-m); }
.mt-s { margin-top: var(--space-xs); }
.mb { margin-bottom: var(--space-m); }
.center { text-align: center; justify-items: center; }

/* ---------- 23. prefers-reduced-motion -------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html.js [data-rev], html.js [data-rev].is-in { clip-path: none !important; }
  html.js [data-rev] > img, html.js [data-rev].is-in > img { transform: none !important; }
  html.js [data-fade] { opacity: 1 !important; transform: none !important; }
  .w > i, .ch { transform: none !important; opacity: 1 !important; }
  .curtain { display: none !important; }
  .cursor { display: none !important; }
  .marquee { padding-inline: var(--edge); }
  .marquee__track { animation: none; display: block; width: auto; }
  .marquee__set { display: inline; }
  .marquee__track a { display: inline; }
  .marquee__dup { display: none !important; }
  .marquee__track .sep:last-of-type { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .scrollcue::after { animation: none; }
  .hero__media, .plate__media { inset: 0 !important; transform: none !important; }
  .hero__slide { transition: none !important; }
  html.js .hero__slide.is-on img { animation: none !important; transform: none !important; }
  .hero__slide:not(:first-child):not(.is-on) { display: none; }
  @media (pointer: fine) {
    html.js.has-cursor a, html.js.has-cursor button, html.js.has-cursor [data-hot] { cursor: pointer; }
  }
}

/* ---------- 24. Stampa ------------------------------------------------- */
@media print {
  .masthead, .veil, .curtain, .grain, .cursor, .lb, .scrollcue { display: none !important; }
  body { background: #fff; color: #000; }
  /* i blocchi a fondo scuro (footer, plate, band--ink, "prossimo lavoro")
     stamperebbero rettangoli neri a piena pagina: su carta restano bianchi e
     i contatti del footer restano leggibili. */
  .foot, .plate, .band--ink, .next { background: #fff !important; color: #000 !important; }
  .foot__ring, .plate__media, .next__media { display: none !important; }
  .foot__cta em { color: #000 !important; -webkit-text-stroke: 0 !important; }
  .foot__reach a, .foot__reach { background: #fff !important; color: #000 !important; }
}


/* ---------- Form: stato dell'invio (aggiunta WordPress) ----------------- */
.qform__status { margin-top: 1rem; color: var(--paper); opacity: .8; }
.qform__status.is-error { color: var(--accent-2); opacity: 1; }
.qform .is-invalid input, .qform .is-invalid textarea { border-bottom-color: var(--accent-2); }
.qform .privacy.is-invalid label { color: var(--accent-2); }
