/* Font ospitati sul sito (scaricati da Google Fonts, licenza SIL OFL). Solo alfabeti latin e latin-ext. */
/* Anton 400 latin-ext */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/anton-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Anton 400 latin */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/anton-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans 400 latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans 400 latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans 500 latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans 500 latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans 700 latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans 700 latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Mono 400 latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/space-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Mono 400 latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/space-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Mono 700 latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/space-mono-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Mono 700 latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/space-mono-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =====================================================================
   WE FOUND — sito istituzionale
   Stesso sistema grafico della landing teaser (wefound/index.html)
   ===================================================================== */

/* ---------------------------------------------------------------------
   FONT DEI TITOLI — Nombueang
   Quando avete il file, mettetelo in assets/fonts/ e togliete i commenti
   qui sotto (con il nome esatto del file). Finché manca si usa Anton.
   ---------------------------------------------------------------------
@font-face {
  font-family: "Nombueang";
  src: url("../fonts/Nombueang.woff2") format("woff2");
  font-display: swap;
}
--------------------------------------------------------------------- */

/* =====================================================================
   TOKENS
   ===================================================================== */
:root {
  --magenta: #FF00FF;       /* solo pulsanti pieni, barre e piccoli dettagli */
  --rosa-testo: #E52BE5;    /* tutti i testi rosa su sfondo scuro (contrasto AA) */
  --magenta-deep: #B000B0;   /* magenta per testi su sfondo chiaro (contrasto AA) */
  --white: #FFFFFF;
  --black: #0A0A0A;
  --plum: #2A0033;
  --plum-2: #16001c;
  --light: #F6E6F6;
  --ink: #14001a;
  --muted: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.14);
  --todo: #FFE600;

  --font-title: "Nombueang", "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, Menlo, Consolas, monospace;


  --gutter: 16px;
  --radius: 28px;
  --header-h: 64px;
  --ease-out: cubic-bezier(.16,1,.3,1);
}
@media (min-width: 768px) { :root { --gutter: 40px; --radius: 36px; --header-h: 76px; } }

/* =====================================================================
   BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p a, .prose a, .link { color: var(--rosa-testo); text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }
.section--light :focus-visible { outline-color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  background: var(--magenta); color: var(--black); font-weight: 700;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* grana leggera su tutto (piccola immagine statica, leggera da disegnare) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .06;
  background-image: url("../img/grain.png"); background-size: 64px 64px;
}

/* =====================================================================
   TIPOGRAFIA
   ===================================================================== */
.title {
  font-family: var(--font-title);
  text-transform: uppercase;
  color: var(--rosa-testo);
  line-height: .9;
  letter-spacing: -.01em;
  font-weight: 400;
  margin: 0;
}
.title--white { color: var(--white); }
/* .neon: classe rimasta nell'HTML, nessun effetto (scritte rosa piene, senza alone) */
.h-hero { font-size: clamp(54px, min(15vw, 14svh), 168px); }
.h-xl   { font-size: clamp(50px, 13.5vw, 140px); }
.h-lg   { font-size: clamp(42px, 10.5vw, 96px); }
.h-md   { font-size: clamp(32px, 7.5vw, 56px); }
.h-sm   { font-size: clamp(26px, 6vw, 36px); }
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  opacity: .8;
}
.lead { font-size: 19px; line-height: 1.5; max-width: 34ch; color: var(--white); }
.lead strong, .accent { color: var(--rosa-testo); font-weight: 700; }
.muted { color: var(--muted); }
@media (min-width: 768px) { .lead { font-size: 21px; } }

/* =====================================================================
   LAYOUT
   ===================================================================== */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { position: relative; padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--plum { background: linear-gradient(180deg, var(--black) 0%, var(--plum) 100%); }
.section--plum-up { background: linear-gradient(180deg, var(--plum) 0%, var(--plum-2) 55%, var(--black) 100%); }
.section--light { background: var(--light); color: var(--ink); }
.section--light .title { color: var(--magenta-deep); }
.section--light .title--ink { color: var(--ink); }
.section--light .label { color: var(--ink); opacity: .75; }
.section--light .lead { color: var(--ink); }
.section--light .lead strong, .section--light .accent { color: var(--magenta-deep); }
.section--light p a, .section--light .link { color: var(--magenta-deep); }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head .title { margin-bottom: 18px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .section { padding: 140px 0; } .section--tight { padding: 90px 0; } }

/* =====================================================================
   PULSANTI (pill) — identici alla landing
   ===================================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; text-align: center;
  border: 2px solid transparent;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--magenta); color: var(--black); }
.btn--primary:hover { background: #ff4dff; }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--ghost-dark { color: var(--ink); border-color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
[data-magnet] { display: flex; }
@media (max-width: 520px) {
  .btn-row--stack { flex-direction: column; align-items: stretch; }
  .btn-row--stack [data-magnet] .btn { width: 100%; }
}

/* =====================================================================
   SEGNAPOSTO (da completare) — ben visibili
   ===================================================================== */
.todo {
  display: inline; padding: 1px 6px; border-radius: 4px;
  background: var(--todo); color: var(--ink) !important;
  font-family: var(--font-mono); font-size: .82em; font-weight: 700; letter-spacing: .02em;
  text-transform: none; text-shadow: none; -webkit-text-stroke: 0;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.ph-img {
  display: grid; place-items: center; text-align: center;
  padding: 20px; border-radius: 22px; min-height: 220px;
  border: 2px dashed var(--todo);
  background: repeating-linear-gradient(-45deg, rgba(255,230,0,.08) 0 14px, transparent 14px 28px), #120015;
  color: var(--todo);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.section--light .ph-img { background: repeating-linear-gradient(-45deg, rgba(20,0,26,.06) 0 14px, transparent 14px 28px), #fff; color: var(--ink); border-color: var(--ink); }
.draft {
  display: inline-block; margin-bottom: 8px; padding: 3px 8px; border-radius: 4px;
  background: var(--todo); color: var(--ink);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 16px;
  padding: 0 var(--gutter);
  transition: background-color .3s;
}
.site-header.is-scrolled, .menu-open .site-header { background: rgba(10,10,10,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header .logo { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.site-header .logo img { width: 50px; height: auto; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-weight: 500; font-size: 15px; text-decoration: none; color: var(--white);
  border-radius: 999px; position: relative;
}
.nav a:hover { color: var(--rosa-testo); }
.nav a[aria-current="page"] { color: var(--rosa-testo); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--magenta); }
.header-cta { display: none; min-height: 44px; padding: 1px 24px 0; font-size: 14px; }
.menu-toggle {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
/* menu aperto: il pulsante in alto sparisce (c'è già dentro il menu) */
.menu-open .header-cta { visibility: hidden; opacity: 0; pointer-events: none; }
/* mobile: il pulsante sta nell'header accanto al menu (niente pulsante che segue lo scroll) */
@media (max-width: 767px) {
  .site-header { gap: 10px; }
  .header-cta {
    display: inline-flex; justify-content: center; text-align: center;
    min-height: 44px; padding: 5px 18px 4px; font-size: 12px; line-height: 1.15;
    max-width: calc(100vw - 2 * var(--gutter) - 50px - 48px - 20px);
  }
}
@media (min-width: 1120px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

/* menu a scomparsa (mobile) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: linear-gradient(180deg, var(--black), var(--plum));
  display: flex; flex-direction: column; gap: 28px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s ease, transform .45s var(--ease-out), visibility 0s .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .45s var(--ease-out), visibility 0s; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.22); }
.mobile-menu li:first-child { border-top: 1px solid rgba(255,255,255,.22); }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 4px 2px;
  font-family: var(--font-title); text-transform: uppercase; font-size: clamp(24px, 6.6vw, 34px); line-height: 1;
  letter-spacing: .01em; text-decoration: none; color: var(--white);
}
/* freccetta a destra: ogni riga si legge come un link separato */
.mobile-menu li a::after { content: "→"; font-family: var(--font-body); font-size: 20px; color: var(--rosa-testo); opacity: .8; }
.mobile-menu li a[aria-current="page"] { color: var(--rosa-testo); }
.mobile-menu li a[aria-current="page"]::after { content: "●"; font-size: 10px; opacity: 1; }
.mobile-menu .btn { align-self: stretch; }
.mobile-menu .menu-ig { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--white); text-decoration: none; font-weight: 700; }
.mobile-menu .menu-ig svg { width: 22px; height: 22px; }
@media (min-width: 1120px) { .mobile-menu { display: none; } }

/* =====================================================================
   HERO (home)
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 36px) var(--gutter) 120px;
  text-align: center;
  background:
    linear-gradient(180deg, var(--black) 0%, var(--black) 35%, var(--plum-2) 70%, var(--plum) 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero-title { max-width: 13ch; margin: 0 auto; }
.hero-title .line { display: block; }
.hero-title .line--white { color: var(--white); font-size: .72em; margin-bottom: .1em; }
.hero-title .line--neon { color: var(--rosa-testo); }
.hero-title .word { display: inline-block; white-space: nowrap; }
.hero-title .char { display: inline-block; animation: charIn .9s var(--ease-out) both; animation-delay: calc(var(--i) * 18ms + 120ms); }
@keyframes charIn { from { opacity: 0; transform: translateY(110%); } }
/* entrata della hero solo con CSS: non aspetta gli script (pagina più veloce su mobile) */
[data-hero-fade] { animation: fadeUp .8s var(--ease-out) both; animation-delay: var(--d, .2s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.hero .lead { margin: 24px auto 30px; }
.hero .btn-row { justify-content: center; }

/* indicatore di scroll (come nella landing) */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 1;
  width: 2px; height: 72px; margin-left: -1px; border-radius: 2px;
  background: rgba(255,0,255,.35);
  transition: opacity .5s ease;
}
.scroll-cue::after {
  content: ""; position: absolute; left: -1px; top: 0; width: 4px; height: 22px; border-radius: 4px;
  background: var(--magenta);
  animation: cue 1.6s cubic-bezier(.65,0,.35,1) infinite;
}
.scroll-cue.is-hidden { opacity: 0; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(50px); opacity: 0; } }

/* sticker-notifica (come nella landing) */
.stickers { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.sticker {
  padding: 12px 16px 14px; border-radius: 14px; max-width: 230px; text-align: left;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.sticker small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin-bottom: 4px; }
.sticker b { display: block; font-family: var(--font-title); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: .98; }
.sticker--mag { background: var(--magenta); color: var(--black); transform: rotate(-5deg); }
.sticker--white { background: var(--white); color: var(--ink); transform: rotate(4deg); box-shadow: 0 18px 40px rgba(0,0,0,.4), inset 0 0 0 2px var(--ink); }
.sticker--dark { background: var(--black); color: var(--rosa-testo); transform: rotate(-3deg); box-shadow: 0 18px 40px rgba(0,0,0,.4); border: 2px solid var(--magenta); }
@media (min-width: 1024px) {
  .hero .stickers { position: absolute; inset: 0; margin: 0; pointer-events: none; z-index: 0; }
  .hero .sticker { position: absolute; max-width: 260px; }
  .hero .sticker b { font-size: 28px; }
  .hero .sticker:nth-child(1) { left: 5%; top: 28%; }
  .hero .sticker:nth-child(2) { right: 5%; top: 56%; }
}

/* =====================================================================
   PAGE HERO (pagine interne)
   ===================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 80px;
  background:
    linear-gradient(180deg, var(--black) 0%, var(--plum-2) 70%, var(--plum) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .title { margin: 14px 0 22px; max-width: 14ch; }
.page-hero .lead { margin: 0 0 30px; }
@media (min-width: 768px) { .page-hero { padding: calc(var(--header-h) + 110px) 0 120px; } }

/* barra inclinata che entra dal bordo (tra due sezioni) */
.band { position: relative; height: clamp(56px, 9vw, 110px); overflow: hidden; background: linear-gradient(var(--from, var(--black)) 50%, var(--to, var(--black)) 50%); }
.band span {
  position: absolute; left: -10%; right: -10%; top: 50%; height: 58%;
  background: var(--magenta); transform: translateY(-50%) rotate(-3deg);
}
.band--violet span { background: #7B00A8; }

/* =====================================================================
   SCENE (home) — storytelling in tre scene
   ===================================================================== */
.scenes { display: grid; gap: 28px; }
.scene {
  display: grid; gap: 22px; align-items: center;
  padding: 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, #1b0022 0%, #0c000e 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 30px 60px rgba(0,0,0,.45);
}
.scene-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; color: var(--rosa-testo); }
.scene .title { font-size: clamp(38px, 10vw, 72px); line-height: 1.02; margin: 10px 0 14px; }
.scene p { margin: 0; font-size: 18px; color: var(--muted); max-width: 36ch; }
.scene-art { border-radius: 20px; overflow: hidden; background: radial-gradient(80% 80% at 50% 50%, #22002b 0%, #0a000c 100%); }
.scene-art svg { display: block; width: 100%; height: auto; }
.scene-art text { font-family: var(--font-mono); }
/* scena 2: QR vero con il logo al centro */
.scene-art--qr { display: grid; place-items: center; padding: 32px 20px; min-height: 260px; }
.qr-card { width: min(100%, 280px); text-align: center; }
.qr-svg { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 48px rgba(0,0,0,.5); }
.scene .qr-caption { margin: 14px 0 0; max-width: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--rosa-testo); }
@media (min-width: 900px) {
  .scenes { gap: 36px; }
  .scene { grid-template-columns: 1fr 1.15fr; gap: 48px; padding: 40px; }
  .scene:nth-child(even) .scene-copy { order: 2; }
}

/* =====================================================================
   DECK (come funziona in 3 card, come nella landing)
   ===================================================================== */
.how-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; } }
.deck { position: relative; display: grid; max-width: 560px; padding-bottom: 44px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.card {
  grid-area: 1 / 1; position: relative;
  display: flex; flex-direction: column; min-height: 380px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1b1b1d 0%, #0c0c0d 100%);
  box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.07);
  transform-origin: 50% 100%;
  transition: transform .7s var(--ease-out), opacity .5s ease;
  overflow: hidden;
}
.card[data-pos="0"]    { transform: none; opacity: 1; z-index: 3; }
.card[data-pos="1"]    { transform: translate3d(0, 20px, 0) scale(.94); opacity: .55; z-index: 2; }
.card[data-pos="2"]    { transform: translate3d(0, 40px, 0) scale(.88); opacity: .28; z-index: 1; }
.card[data-pos="past"] { transform: translate3d(-120%, -10px, 0) rotate(-9deg); opacity: 0; z-index: 4; pointer-events: none; }
.card-num { font-family: var(--font-title); color: var(--rosa-testo); font-size: clamp(120px, 36vw, 190px); line-height: .8; margin: 4px 0 14px; letter-spacing: -.03em; }
.card .title { font-size: clamp(38px, 10vw, 60px); color: var(--white); }
.card p { margin: 14px 0 24px; font-size: 18px; max-width: 28ch; color: rgba(255,255,255,.92); }
.card .btn { margin-top: auto; align-self: flex-start; }
.deck-nav { display: flex; align-items: center; gap: 12px; margin-top: 8px; max-width: 560px; }
.deck-nav .btn { padding: 0 20px; }
.deck-nav .btn[disabled] { opacity: .3; pointer-events: none; }
.deck-count { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; margin-left: auto; }
.deck-count b { color: var(--rosa-testo); }
.deck-bar { height: 2px; background: rgba(255,255,255,.15); max-width: 560px; margin-top: 18px; border-radius: 2px; overflow: hidden; }
.deck-bar i { display: block; height: 100%; background: var(--magenta); transform-origin: left; transform: scaleX(.3333); transition: transform .6s var(--ease-out); }
@media (min-width: 768px) { .card { min-height: 430px; padding: 34px 36px; } }

/* =====================================================================
   MARQUEE (come nella landing)
   ===================================================================== */
.marquee { position: relative; overflow: hidden; padding: 56px 0; }
.marquee--light { background: var(--light); }
.marquee-rows { transform: rotate(-3deg); width: 130vw; margin-left: -15vw; }
.m-row { overflow: hidden; }
.m-row--fill { background: var(--magenta); color: var(--black); }
.m-row--line { background: var(--black); color: var(--rosa-testo); }
.m-track { display: flex; width: max-content; }
.m-track span { font-family: var(--font-title); text-transform: uppercase; line-height: 1; font-size: clamp(40px, 10vw, 96px); padding: 14px 0 10px; white-space: nowrap; }
.no-gsap .m-track { animation: marq 32s linear infinite; }
.no-gsap .m-row--line .m-track { animation-direction: reverse; }
@keyframes marq { to { transform: translateX(-50%); } }

/* =====================================================================
   CARD GENERICHE (vantaggi, cosa ricevete, sicurezza, valori)
   ===================================================================== */
.tiles { display: grid; gap: 16px; }
@media (min-width: 640px) { .tiles--2, .tiles--3, .tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.tile {
  position: relative; padding: 26px 24px 28px; border-radius: 24px;
  background: linear-gradient(160deg, #1b1b1d 0%, #0c0c0d 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.tile-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; color: var(--rosa-testo); }
.tile .title { font-size: clamp(28px, 7vw, 38px); margin: 12px 0 10px; }
.tile p { margin: 0; color: var(--muted); }
.tile--feature { background: var(--magenta); color: var(--black); }
.tile--feature .title, .tile--feature .tile-num { color: var(--black); }
.tile--feature p { color: rgba(10,10,10,.85); }
.section--light .tile { background: var(--white); box-shadow: 0 1px 0 rgba(20,0,26,.06), 0 20px 40px rgba(42,0,51,.08); }
.section--light .tile p { color: rgba(20,0,26,.8); }
.section--light .tile-num { color: var(--magenta-deep); }
/* versione compatta (anteprima vantaggi in home): due colonne anche su mobile */
.tiles--compact { grid-template-columns: 1fr 1fr; gap: 12px; }
.tiles--compact .tile { padding: 18px 16px 20px; border-radius: 20px; }
.tiles--compact .tile .title { font-size: clamp(21px, 5.6vw, 30px); margin: 8px 0 6px; }
.tiles--compact .tile p { font-size: 15px; line-height: 1.4; }
.tile-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,0,255,.12); color: var(--rosa-testo); margin-bottom: 6px; }
.section--light .tile-icon { background: rgba(176,0,176,.1); color: var(--magenta-deep); }
.tile-icon svg { width: 24px; height: 24px; }

/* split testo + immagine */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--rev > :first-child { order: 2; } }

/* =====================================================================
   PASSAGGI (come funziona — lista verticale)
   ===================================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.step {
  display: grid; gap: 20px; align-items: center;
  padding: 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, #1b1b1d 0%, #0c0c0d 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.step-num { font-family: var(--font-title); color: var(--rosa-testo); font-size: clamp(88px, 24vw, 140px); line-height: .8; }
.step .title { font-size: clamp(32px, 8vw, 52px); margin: 6px 0 12px; }
.step p { margin: 0; font-size: 18px; color: var(--muted); max-width: 40ch; }
.step .ph-img { min-height: 260px; }
.phone-shot { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto; border-radius: 26px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 48px rgba(0,0,0,.5); }
.phone-ph { aspect-ratio: 9 / 16; max-width: 220px; min-height: 0 !important; margin: 0 auto; border-radius: 28px; }
@media (min-width: 900px) {
  .step { grid-template-columns: 150px 1fr 240px; padding: 36px 40px; gap: 36px; }
}

/* timeline 4 passi (per i locali) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: t; }
.timeline li { position: relative; padding: 22px 22px 22px 84px; border-radius: 22px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.timeline li::before {
  counter-increment: t; content: counter(t);
  position: absolute; left: 20px; top: 18px;
  font-family: var(--font-title); font-size: 46px; line-height: 1; color: var(--rosa-testo);
}
.timeline b { display: block; font-size: 19px; margin-bottom: 4px; }
.timeline span { color: var(--muted); }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .timeline li { padding: 92px 22px 24px; }
  .timeline li::before { left: 22px; top: 22px; font-size: 56px; }
}

/* =====================================================================
   TEAM
   ===================================================================== */
.team { display: grid; gap: 22px; }
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 980px; } }
.member { border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #1b1b1d 0%, #0c0c0d 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.member a { text-decoration: none; }
.member-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--plum); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
/* foto pulite: nessuna velatura colorata e niente grana sopra (stanno sopra il livello della grana) */
.member { position: relative; z-index: 91; }
.member:hover .member-photo img { transform: scale(1.03); }
.member-body { padding: 22px 24px 26px; }
.member-body .title { font-size: clamp(32px, 8vw, 46px); }
.member-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); opacity: .8; margin: 10px 0 12px; }
.member-body p { margin: 0; color: var(--muted); }
.member--compact .member-body { padding: 18px 20px 22px; }
/* anteprima fondatori in home: due colonne anche su mobile, più compatta */
.team--preview { grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; }
.team--preview .member-body { padding: 14px 14px 18px; }
.team--preview .member-body .title { font-size: clamp(20px, 5.4vw, 34px); }
.team--preview .member-role { margin: 8px 0 0; font-size: 11px; }
@media (min-width: 720px) { .team--preview { gap: 24px; } .team--preview .member-body { padding: 20px 22px 24px; } }

/* =====================================================================
   FAQ (come nella landing)
   ===================================================================== */
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { margin-bottom: 18px; }
.faq-list { border-top: 1px solid rgba(255,255,255,.15); max-width: 860px; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.15); }
.faq-item h3 { margin: 0; font: inherit; }
.faq-q {
  width: 100%; min-height: 72px; padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  text-align: left; font-size: 20px; font-weight: 700;
}
.faq-q .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--magenta); position: relative; transition: transform .45s var(--ease-out), background-color .3s; }
.faq-q .ico::before, .faq-q .ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--magenta); }
.faq-q .ico::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .ico { transform: rotate(135deg); background: var(--magenta); }
.faq-q[aria-expanded="true"] .ico::before, .faq-q[aria-expanded="true"] .ico::after { background: var(--black); }
.faq-a { padding: 0 56px 26px 0; }
.faq-a[hidden] { display: none; }
.faq-a p { margin: 0 0 12px; font-size: 18px; color: rgba(255,255,255,.9); }
.faq-a.is-open > * { animation: faqIn .5s var(--ease-out) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-10px); } }
@media (min-width: 768px) { .faq-q { font-size: 23px; } }

/* =====================================================================
   MODULO
   ===================================================================== */
.form-card {
  padding: 26px 20px; border-radius: var(--radius);
  background: linear-gradient(160deg, #1d0024 0%, #0c000e 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px rgba(0,0,0,.45);
}
@media (min-width: 768px) { .form-card { padding: 44px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 16px; color: var(--white);
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.28); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23FF00FF' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field select option { background: #16001c; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(255,0,255,.3); }
.field [aria-invalid="true"] { border-color: #ff6b8a; }
.field-error { display: block; margin-top: 6px; font-size: 14px; color: #ff9fb3; min-height: 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--magenta); }
.check label { font-weight: 400; margin: 0; }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: rgba(255,230,0,.1); border: 1.5px solid var(--todo); }
.form-status[hidden] { display: none; }
.hp { position: absolute !important; left: -9999px !important; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* contatti laterali */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--rosa-testo); flex: none; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
.contact-list small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* =====================================================================
   CTA FINALE
   ===================================================================== */
.final {
  position: relative; overflow: hidden; text-align: center;
  padding: 120px 0 130px;
  background:
    linear-gradient(180deg, var(--plum-2) 0%, var(--black) 70%);
}
.final-logo { width: min(46vw, 220px); margin: 0 auto 28px; }
.final .title { margin: 0 auto 22px; max-width: 12ch; }
.final .lead { margin: 0 auto 34px; }
.final .btn-row { justify-content: center; }

/* =====================================================================
   PROSA (privacy, cookie)
   ===================================================================== */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-title); text-transform: uppercase; font-weight: 400; color: var(--rosa-testo); font-size: clamp(28px, 6vw, 40px); line-height: .95; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { color: rgba(255,255,255,.88); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal-alert { padding: 16px 18px; border-radius: 14px; background: rgba(255,230,0,.1); border: 1.5px solid var(--todo); margin-bottom: 26px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--black); border-top: 1px solid rgba(255,255,255,.08); padding: 64px 0 calc(110px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 36px; }
.footer-brand img { width: 84px; }
.footer-brand .title { font-size: 30px; margin-top: 14px; max-width: 12ch; }
.footer-col h2 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; color: var(--white); text-decoration: none; }
.footer-col a:hover { color: var(--rosa-testo); }
.footer-col svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer { padding-bottom: 48px; }
}

/* =====================================================================
   STICKY CTA (mobile)
   ===================================================================== */
.sticky-cta {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 95;
  width: calc(100% - 32px); max-width: 420px;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.sticky-cta.is-visible { transform: translate(-50%, 0); opacity: 1; }
.sticky-cta { display: none !important; }

/* =====================================================================
   REVEAL allo scroll
   (nascosti solo quando il JS è attivo; senza JS tutto è visibile)
   ===================================================================== */
.js-anim .reveal, .js-anim [data-stagger] > * { opacity: 0; transform: translateY(36px); }
.js-reveal .reveal { opacity: 0; }
.js-reveal .reveal.is-in { opacity: 1; transition: opacity .7s ease; }

/* =====================================================================
   REDUCED MOTION — solo dissolvenze semplici
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js-reveal .reveal.is-in { transition: opacity .6s ease !important; }
  .card, .member-photo img { transition: none !important; }
  .scroll-cue { background: var(--magenta); }
  .scroll-cue::after { display: none; }
}

/* =====================================================================
   MISSIONE (Chi siamo): frase bianca, solo lo slogan in rosa
   ===================================================================== */
.mission-inner { text-align: center; }
.mission-label { display: block; margin: 0 0 22px; font-weight: 400; }
.mission-text {
  margin: 0 auto; max-width: 20ch;
  font-family: var(--font-title); text-transform: uppercase; font-weight: 400;
  font-size: clamp(34px, 8vw, 70px); line-height: 1.14; color: var(--white);
}
.mission-mark { background: linear-gradient(var(--magenta), var(--magenta)) 0 92% / 100% .14em no-repeat; padding: 0 .04em; }
.mission-slogan { display: block; margin-top: .12em; color: var(--rosa-testo); }
.mission-sub { margin: 26px auto 0; max-width: 40ch; font-size: 18px; color: var(--muted); }
@media (min-width: 768px) { .mission-sub { font-size: 20px; } }

/* foto del totem (Per i locali) */
.totem-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
