:root { --night: #07070c; --fg: #fff4e6; --muted: #b9b2a8; --red: #ff3434; --red-ink: #ff6a5e; --gold: #ffc56b; --line: rgba(255,244,230,.16); --panel: #121219;
  --display: "Anton", "Arial Narrow", Impact, sans-serif; --script: "Yellowtail", "Brush Script MT", cursive; --sans: "Manrope", system-ui, sans-serif; --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16,1,.3,1); --pad: clamp(16px, 5vw, 72px); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--night); color: var(--fg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.5; color: var(--fg); background: var(--night); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; } :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.logo { display: block; height: auto; }
.island { position: fixed; z-index: 10; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(1040px, calc(100vw - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 999px; color: var(--fg); background: rgba(10,10,16,.86); border: 1px solid var(--line); }
.island .logo { width: 104px; }
.links { display: flex; gap: 4px; align-items: center; }
.links a { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--fg); padding: 0 14px; min-height: 48px; display: inline-flex; align-items: center; border-radius: 999px; transition: background .25s; }
.links a:hover, .links a[aria-current] { background: rgba(255,244,230,.12); }
.links a[aria-current] { color: var(--gold); }
.btn { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--red); color: #14060a; font-weight: 500; border: 0; cursor: pointer; transition: background .25s; white-space: nowrap; }
.btn span { transition: transform .25s var(--ease); } .btn:hover { background: var(--fg); } .btn:hover span { transform: translateX(5px); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--fg); } .btn.ghost:hover { background: var(--fg); color: var(--night); }
.burger { display: none; }
@media (max-width: 860px) {
  .burger { display: inline-flex; background: transparent; color: var(--fg); border: 1px solid var(--line); padding: 0 16px; }
  .links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border-radius: 24px; background: rgba(10,10,16,.97); border: 1px solid var(--line); display: none; }
  .links.open { display: flex; } .links a { padding: 0 16px; }
  .island .btn.ig { display: none; } .links .ig-m { color: var(--red-ink); }
}
@media (min-width: 861px) { .links .ig-m { display: none; } }
.hero { position: relative; min-height: 72vh; min-height: 72svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--pad) clamp(40px, 7vw, 88px); background: linear-gradient(to top, var(--night) 0%, rgba(7,7,12,.55) 55%, rgba(7,7,12,.75) 100%), url(img/via.webp) center / cover no-repeat var(--night); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .96; color: var(--fg); text-wrap: balance; hyphens: auto; overflow-wrap: anywhere; }
h1 { font-size: clamp(3rem, 11vw, 9rem); text-shadow: 0 0 40px rgba(255,52,52,.45); max-width: 12ch; }
h1 em, h2 em { font-style: normal; color: var(--red); }
.script { font-family: var(--script); font-size: clamp(1.5rem, 4.6vw, 2.8rem); color: var(--fg); text-shadow: 0 0 20px rgba(255,52,52,.85); margin-top: 14px; }
main { padding: clamp(40px, 7vw, 96px) var(--pad) clamp(64px, 10vw, 140px); max-width: 1680px; margin: 0 auto; color: var(--fg); }
.prose { max-width: 65ch; } .prose p { margin-top: 20px; color: var(--fg); } .prose p:first-child { margin-top: 0; font-size: 1.2em; }
.quote { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 6.4vw, 5.2rem); line-height: .96; margin: clamp(48px, 8vw, 110px) 0; max-width: 16ch; color: var(--fg); text-shadow: 0 0 22px rgba(255,52,52,.45); }
.quote em { font-style: normal; color: var(--red); }
.quote.r { margin-left: auto; text-align: right; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 48px); max-width: 860px; }
.card + .card { margin-top: 24px; }
.card time { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.card h2 { font-size: clamp(1.8rem, 5vw, 3.6rem); margin: 12px 0 16px; }
.card p { color: var(--fg); max-width: 60ch; margin-top: 12px; } .card ul { margin: 14px 0 0 1.1em; color: var(--fg); }
.card.soft { border-style: dashed; background: transparent; } .card.soft p { color: var(--muted); margin-top: 0; }
form { display: grid; gap: 20px; max-width: 720px; }
label { display: grid; gap: 8px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
input, select, textarea { font: inherit; font-family: var(--sans); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--fg); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; min-height: 52px; width: 100%; }
textarea { min-height: 180px; resize: vertical; } input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--fg); }
.check input { width: 22px; min-height: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--red); }
.note { color: var(--muted); font-size: .95rem; max-width: 60ch; }
#esito { border: 1px solid var(--gold); border-radius: 16px; padding: 16px 18px; color: var(--fg); background: rgba(255,197,107,.08); }
#esito[hidden] { display: none; }
footer { border-top: 1px solid var(--line); padding: 40px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
footer a { text-underline-offset: 5px; }
.island .btn.burger:hover, .island .btn.burger:focus { background: rgba(255,244,230,.12); color: var(--fg); }
.rondine { width: 1.05em; height: 1em; vertical-align: -.12em; margin-left: .3em; fill: none; stroke: var(--gold); stroke-width: 4.5; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255,197,107,.9)); transform: rotate(40deg); }
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; margin-top: 28px; }
.album figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0d0d14; position: relative; }
.album img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.album figure:hover img { transform: scale(1.04); }
.album figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); background: linear-gradient(to top, rgba(7,7,12,.9), rgba(7,7,12,0)); }
.album .slot { border: 1px dashed var(--line); border-radius: 16px; aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 20px; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card.chapter { max-width: 1100px; }
/* ---------- pagine dinamiche (pagine.js) ---------- */
.hero { overflow: hidden; } .hero > * { position: relative; z-index: 1; }
.hero .lumi { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.filo { position: fixed; top: 0; left: 0; right: 0; height: 10px; z-index: 11; pointer-events: none; background: radial-gradient(circle, rgba(255,244,230,.24) 0 1.8px, transparent 2.4px) 0 0 / 22px 10px repeat-x; }
.filo i { position: absolute; inset: 0; background: radial-gradient(circle, #fff 0 1.2px, #ffc56b 2.2px, rgba(255,197,107,.4) 3.2px, transparent 5px) 0 0 / 22px 10px repeat-x; clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); filter: drop-shadow(0 0 4px #ffc56b); }
h1 .w { display: inline-block; white-space: nowrap; overflow: hidden; padding-top: .14em; margin-top: -.14em; vertical-align: top; } h1 .c { display: inline-block; }
.quote .qw { display: inline-block; }
.volo { position: fixed; top: 46vh; left: 0; width: clamp(34px, 5vw, 64px); z-index: 5; pointer-events: none; }
.volo svg { display: block; width: 100%; height: auto; fill: rgba(255,244,230,.92); filter: drop-shadow(0 0 10px rgba(255,197,107,.8)); animation: ali .5s ease-in-out infinite alternate; transform-origin: 50% 40%; }
@keyframes ali { from { transform: scaleX(1); } to { transform: scaleX(.62); } }
.count { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 20px; }
.count.on { display: flex; gap: clamp(12px, 3vw, 28px); }
.count.on div { display: grid; gap: 4px; } .count.on b { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 9vw, 5.5rem); line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; text-shadow: 0 0 26px rgba(255,52,52,.6); display: block; }
.count.on span { color: var(--muted); }
.count b.flip { animation: flip .5s var(--ease); } @keyframes flip { from { transform: translateY(-.18em); opacity: .35; } to { transform: none; opacity: 1; } }
.fatti { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; margin-top: 28px; list-style: none; }
.fatti li { border: 1px solid var(--line); border-radius: 24px; padding: 20px; background: rgba(255,244,230,.03); transition: border-color .25s, background .25s; }
.fatti li:hover { border-color: var(--gold); background: rgba(255,197,107,.07); }
.fatti b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1; color: var(--fg); }
.fatti span { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }
.card { transition: border-color .3s, box-shadow .3s; } .card:not(.soft):hover { border-color: rgba(255,197,107,.55); box-shadow: 0 0 60px rgba(255,52,52,.12); }
fieldset.temi { border: 0; display: grid; gap: 10px; min-width: 0; } fieldset.temi legend { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; padding: 0; }
.temi .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.temi label { display: inline-flex; position: relative; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
.temi input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; cursor: pointer; }
.temi label span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.temi input:checked + span { background: var(--gold); color: #14060a; border-color: var(--gold); box-shadow: 0 0 22px rgba(255,197,107,.5); }
.temi input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; } .temi label:hover span { border-color: var(--gold); }
input, textarea { transition: border-color .25s, box-shadow .25s; } input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 30px rgba(255,197,107,.18); }
#conta { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .volo svg, .count b.flip { animation: none; } }
