/* ═══════════════════════════════════════════════
   REBEL® — Brand Transformation Studio
   DNA rubato con affetto da artemartemartem.com:
   bianco sporco + type chunky arrotondato + scarabocchi
   neon + cornici a pillola + easing expo
   ═══════════════════════════════════════════════ */

:root {
  /* palette */
  --bg: #f1f1f1;
  --ink: #111111;
  --neon: #4dff00;
  --neon-ink: #2ecc00;
  --blue: #004fe4;
  --pink: #ff8fd8;
  --yellow: #ffd900;
  --paper: #e6e0d0;
  --gray: #8f8f8f;

  /* font */
  --f-disp: 'Baloo 2', sans-serif;
  --f-body: 'Archivo Narrow', sans-serif;
  --f-marker: 'Permanent Marker', cursive;
  --f-pen: 'Caveat', cursive;

  /* easing (souvenir da artem) */
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-width: thin; scrollbar-color: #111 #f1f1f1; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

::selection { background: var(--neon); color: #111; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2.5px solid var(--neon-ink); outline-offset: 4px; border-radius: 4px; }

sup { font-size: 0.34em; vertical-align: super; letter-spacing: 0; }

main { position: relative; }

/* ── cursore custom + scia ─────────────────── */
@media (hover: hover) and (pointer: fine) {
  body, a, button, [data-cursor] { cursor: none; }
}

.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 10001;
  width: 18px; height: 18px; border-radius: 50%;
  pointer-events: none; opacity: 0;
  will-change: transform, background-color, box-shadow;
}
.cursor-label {
  position: fixed; top: 0; left: 0; z-index: 10001;
  font-family: var(--f-body); font-weight: 700; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  mix-blend-mode: difference; pointer-events: none;
  opacity: 0; white-space: nowrap;
}
.trail { position: fixed; inset: 0; z-index: 9998; pointer-events: none; overflow: hidden; }
.tr-el { position: absolute; top: 0; left: 0; will-change: transform, opacity; }

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-label, .trail { display: none; }
}

/* ── loader ────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 20000;
  background: #0d0d0d; color: #f1f1f1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2vh;
}
.loader-word { font-family: var(--f-disp); font-weight: 800; font-size: 14vw; line-height: 0.8; letter-spacing: -0.04em; overflow: hidden; display: flex; }
.ld { display: inline-block; transform: translateY(120%); }
.ld-reg { font-size: 0.3em; align-self: flex-start; margin-top: 0.5em; }
.loader-tag { font-size: 14px; letter-spacing: 0.35em; text-transform: uppercase; opacity: 0; }
.loader-count {
  position: absolute; bottom: 5vh; right: 5vw;
  font-family: var(--f-disp); font-weight: 800; font-size: 5vw; color: var(--neon);
}
noscript ~ .loader, html.no-js .loader { display: none; }

/* ── header ────────────────────────────────── */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4vw;
  mix-blend-mode: difference; color: #fff;
}
.head-logo { font-family: var(--f-disp); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1; display: inline-block; }
.head-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; }
.head-nav { display: flex; gap: 34px; align-items: center; }

.roll { display: inline-block; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.25; }
.roll-in { display: block; overflow: hidden; height: 1.25em; }
.roll-in span { display: block; height: 1.25em; transition: transform 0.55s var(--ease-out-expo); }
.roll:hover .roll-in span { transform: translateY(-100%); }
.roll--cta { border: 1.5px solid #fff; border-radius: 999px; padding: 9px 20px 10px; }
.roll--cta:active { transform: scale(0.96); }

/* ── hamburger (solo mobile) ── */
.head-burger {
  display: none; position: relative; z-index: 10; width: 40px; height: 40px;
  background: none; border: none; padding: 0; color: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.head-burger span {
  display: block; width: 26px; height: 2.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
}
body.nav-open .head-burger span:first-child { transform: translateY(4.75px) rotate(45deg); }
body.nav-open .head-burger span:last-child { transform: translateY(-4.75px) rotate(-45deg); }

/* ── placeholder immagini (spazi vuoti) ────── */
.ph {
  position: relative; width: 100%;
  background:
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(17, 17, 17, 0.04) 16px 17px),
    #e9e9e9;
  border: 1.5px dashed #ababab;
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.35s ease;
}
.ph-in {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 8%;
  transition: transform 0.8s var(--ease-out-expo);
  will-change: transform;
}
.ph-ico { width: 36px; height: 36px; stroke: #9a9a9a; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ph-cap {
  font-weight: 600; font-size: 12px; letter-spacing: 0.09em;
  text-transform: uppercase; color: #8b8b8b; text-align: center; line-height: 1.6;
}
@media (hover: hover) {
  .ph:hover { border-color: #111; }
  .ph:hover .ph-in { transform: scale(1.08); }
}
.ph--pill { border-radius: 999px; height: 100%; }
.ph--dark {
  background:
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(255, 255, 255, 0.05) 16px 17px),
    #161616;
  border-color: #444;
}
.ph--dark .ph-cap { color: #777; }
.ph--ghost {
  background:
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(17, 17, 17, 0.05) 16px 17px),
    rgba(255, 255, 255, 0.22);
  border-color: currentColor; border-radius: 0;
}
.ph--ghost .ph-cap { color: inherit; opacity: 0.75; }
.ph--old {
  background:
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(17, 17, 17, 0.06) 16px 17px),
    rgba(30, 25, 12, 0.28);
}
.ph--photo { background: none; border-style: solid; border-color: rgba(17, 17, 17, 0.12); }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pack-img-new { display: none; }
.pack-rotor.is-new .pack-img-old { display: none; }
.pack-rotor.is-new .pack-img-new { display: block; }

/* ── doodle & scarabocchi ──────────────────── */
.doodle { position: absolute; overflow: visible; pointer-events: none; }
.doodle path { fill: none; stroke: var(--neon); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.doodle .spark-fill { fill: var(--neon); stroke: none; }
.pen-note { font-family: var(--f-pen); font-weight: 700; font-size: 26px; color: var(--neon-ink); }

/* ── section header comuni ─────────────────── */
.sec-head { padding: 0 4vw; position: relative; }
.sec-head--center { text-align: center; }
.sec-label { font-weight: 600; font-size: 14px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.6; margin-bottom: 2.4vh; }
.sec-title { font-family: var(--f-disp); font-weight: 800; font-size: 6.4vw; line-height: 0.92; letter-spacing: -0.03em; }
.sec-sub { max-width: 34ch; font-size: 19px; margin-top: 3vh; opacity: 0.85; }
.sec-note { margin-top: 2.5vh; }

/* split-text: maschera parole */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; will-change: transform; }

/* ═════════ HERO ═════════ */
.hero { position: relative; }
.hero-pin { height: 100svh; position: relative; overflow: hidden; padding: 0 4vw; }

.hero-title {
  position: absolute; left: 2.5vw; top: 16vh; z-index: 1;
  font-family: var(--f-disp); font-weight: 800;
  font-size: 20.5vw; line-height: 0.8; letter-spacing: -0.045em;
  display: flex; user-select: none;
}
.hl { display: inline-block; will-change: transform; }
.hl-reg { font-size: 0.16em; margin-top: 1.2em; }

.hero-kicker {
  position: absolute; left: 4vw; top: 58vh; z-index: 3;
  font-weight: 600; font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.strike-wrap { position: relative; display: inline-block; padding: 2px 4px; }
.strike-wrap s { text-decoration: none; opacity: 0.55; }
.strike { inset: -8px -6px; width: calc(100% + 12px); height: calc(100% + 16px); }
.scrawl-note { font-family: var(--f-pen); font-weight: 700; font-size: 30px; color: var(--neon-ink); text-transform: none; letter-spacing: 0; transform: rotate(-2deg); }

.hero-media {
  position: absolute; left: 50%; top: 55%; z-index: 2;
  width: clamp(220px, 16.5vw, 330px); aspect-ratio: 9 / 15;
  transform: translate(-50%, -50%);
  will-change: transform;
}
/* ── showreel in loop (crossfade delle nostre immagini) ── */
.hero-reel {
  position: absolute; inset: 0; border-radius: 999px; overflow: hidden;
  background: #161616; border: 1.5px solid rgba(17, 17, 17, 0.15);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.4);
}
.reel-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero-arrow { width: 8vw; right: -9vw; bottom: 4%; }
.pen-note--arrow { position: absolute; right: -16vw; bottom: -2%; transform: rotate(-4deg); white-space: nowrap; }

.hero-para {
  position: absolute; right: 3.5vw; top: 55%; z-index: 3;
  width: 21vw; transform: translateY(-50%);
  text-align: center; font-weight: 500; font-size: 18px; line-height: 1.55;
}
.hero-scrawl {
  position: absolute; left: 55vw; top: 13vh; z-index: 3;
  font-family: var(--f-marker); font-size: 2.5vw; line-height: 1.15;
  color: var(--neon-ink); transform: rotate(-6deg);
  text-shadow: 0 0 24px rgba(77, 255, 0, 0.35);
}
.hero-x { width: 3vw; height: 3vw; }
.hero-x path { stroke-width: 7; }
.hero-x1 { left: 30vw; top: 62vh; }
.hero-x2 { right: 26vw; bottom: 9vh; }
.hero-spark { width: 3.6vw; height: 3.6vw; right: 8vw; top: 14vh; }

.scroll-ind {
  position: absolute; left: 50%; bottom: 3.5vh; transform: translateX(-50%); z-index: 4;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.55;
}
.scroll-mouse { width: 18px; height: 28px; border: 2px solid var(--ink); border-radius: 999px; display: flex; justify-content: center; padding-top: 5px; }
.scroll-wheel { width: 3px; height: 7px; border-radius: 3px; background: var(--ink); animation: wheel 1.6s var(--ease-in-out-quart) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ═════════ MANIFESTO — bande giganti ═════════ */
.manifesto { padding: 22vh 0 20vh; overflow: hidden; display: flex; flex-direction: column; gap: 3.5vh; }
.mband {
  font-family: var(--f-disp); font-weight: 800; font-size: 8.5vw; line-height: 1;
  letter-spacing: -0.03em; white-space: nowrap; width: max-content;
  will-change: transform;
}
.mband span { display: inline-block; }
.mband-1 { transform: rotate(-1.8deg); }
.mband-2 { transform: rotate(1.4deg); margin: -1vh 0; }
.mband-3 { transform: rotate(-0.8deg); }
.mband--ghost span { color: transparent; -webkit-text-stroke: 2.5px var(--ink); }
.mband em { font-style: normal; color: transparent; -webkit-text-stroke: 0; background: var(--neon); color: #111; padding: 0 0.12em; border-radius: 0.14em; }

/* ═════════ 01 LOGHI ═════════ */
.loghi { position: relative; }
.loghi-pin { height: 100svh; overflow: hidden; padding-top: 10vh; }
.loghi .sec-head { position: absolute; top: 9vh; left: 0; z-index: 5; }
.logo-stage-wrap { position: absolute; inset: 0; }

.logo-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 3.5vw;
  padding-top: 8vh;
}
.logo-stage + .logo-stage { opacity: 0; visibility: hidden; }
.flip-wrap { width: 27vw; height: 27vw; max-width: 460px; max-height: 460px; position: relative; perspective: 1400px; z-index: 2; }
.flip-card {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 28px; will-change: transform;
  display: flex; flex-direction: column;
}
.flip-card .ph { height: 100%; border-radius: 28px; }
.flip-old { transform: rotateY(0deg); }
.flip-new { transform: rotateY(180deg); }
.flip-fakename {
  position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%) rotate(-2deg);
  font-family: 'Times New Roman', serif; font-style: italic; font-size: 1.5vw;
  color: #6d6353; white-space: nowrap; background: rgba(240, 236, 224, 0.9);
  padding: 6px 16px; border-radius: 4px; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}
.flip-old .ph {
  background:
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(90, 70, 30, 0.05) 16px 17px),
    var(--paper);
  border-color: #b0a68c;
}
.flip-old .ph-cap { color: #93875f; }
.flip-biglogo {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  font-family: var(--f-disp); font-weight: 800; font-size: 3vw; letter-spacing: -0.02em;
  color: var(--neon); white-space: nowrap;
}
.flip-new .ph { border-radius: 28px; }

.flip-meta { display: flex; flex-direction: column; gap: 1.2vh; width: 15vw; z-index: 2; }
.flip-meta--l { align-items: flex-end; text-align: right; }
.flip-meta--r { align-items: flex-start; }
.flip-tag {
  font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 16px; opacity: 0.75;
}
.flip-tag--new { background: var(--ink); color: var(--bg); opacity: 1; }
.flip-year { font-family: var(--f-disp); font-weight: 800; font-size: 3vw; line-height: 1; }
.flip-name { font-size: 15px; font-weight: 500; opacity: 0.7; }

.logo-progress {
  position: absolute; right: 4vw; bottom: 5vh; z-index: 6;
  font-family: var(--f-disp); font-weight: 800; font-size: 3.4vw; line-height: 1;
  display: flex; align-items: baseline; gap: 0.3vw;
}
.lp-sep { opacity: 0.3; }
.logo-progress span:last-child { font-size: 0.5em; opacity: 0.4; }

/* ═════════ 02 PACKAGING ═════════ */
.pack { position: relative; }
.pack-pin { height: 100svh; overflow: hidden; padding-top: 9vh; }
.pack-stage {
  height: 62vh; margin-top: 4vh;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 4vw; padding: 0 6vw;
}
.pack-rotor { width: clamp(230px, 19vw, 360px); position: relative; perspective: 1200px; }
.pack-obj { transform-style: preserve-3d; will-change: transform; }
.pack-obj .ph { aspect-ratio: 3 / 5; border-radius: 30px; }
.pack-cap-new { display: none; }
.pack-rotor.is-new .pack-cap-old { display: none; }
.pack-rotor.is-new .pack-cap-new { display: block; }
.pack-rotor.is-new .ph {
  background:
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(255, 255, 255, 0.05) 16px 17px),
    #161616;
  border-color: var(--neon);
}
.pack-rotor.is-new .ph-cap { color: var(--neon); }
.pack-rotor.is-new .ph-ico { stroke: var(--neon); }
.pack-shadow {
  width: 70%; height: 18px; margin: 4vh auto 0; border-radius: 50%;
  background: rgba(17, 17, 17, 0.18); filter: blur(10px);
}

.pack-list { list-style: none; display: flex; flex-direction: column; gap: 2.6vh; }
.pack-list li { font-size: clamp(17px, 1.45vw, 24px); font-weight: 500; will-change: transform; }
.pack-list--old { text-align: right; }
.pack-list--old li { color: #8a8378; }
.pack-list--old li::after { content: ' ✕'; color: #d24a2a; font-weight: 700; }
.pack-list--new li { font-weight: 600; }
.pack-list--new li::before { content: '✓ '; color: var(--neon-ink); font-weight: 700; }
.pack-note { position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%) rotate(-3deg); }

/* ═════════ 03 CAMPAGNE ═════════ */
.camp { padding: 18vh 0 6vh; overflow: hidden; }
.camp-field { position: relative; height: 135vh; margin-top: 8vh; }
.camp-item { position: absolute; will-change: transform; }
.camp-item .ph { border-radius: 22px; }
.camp-item figcaption {
  margin-top: 12px; font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65;
}
.ci-poster { left: 5vw; top: 2vh; width: 23vw; rotate: -7deg; }
.ci-poster .ph { aspect-ratio: 7 / 10; }
.ci-desk { left: 33vw; top: 26vh; width: 31vw; rotate: 2deg; z-index: 2; }
.ci-desk .ph { aspect-ratio: 4 / 3; }
.ci-social { right: 7vw; top: 4vh; width: 19vw; rotate: 5deg; }
.ci-social .ph { aspect-ratio: 1 / 1; }
.ci-billboard { right: 4vw; top: 58vh; width: 35vw; rotate: -3deg; }
.ci-billboard .ph { aspect-ratio: 2 / 1; }
.ci-merch { left: 9vw; top: 72vh; width: 22vw; rotate: 6deg; }
.ci-merch .ph { aspect-ratio: 5 / 4; }
@media (hover: hover) {
  .camp-item { transition: rotate 0.6s var(--ease-out-expo), scale 0.6s var(--ease-out-expo); }
  .camp-item:hover { rotate: 0deg; scale: 1.05; z-index: 10; }
}
.camp-spring { width: 7vw; left: 66vw; top: 4vh; transform: rotate(20deg); }

/* ═════════ TAPE (marquee auto) ═════════ */
.tape { position: relative; z-index: 5; overflow: hidden; width: 104vw; margin-left: -2vw; }
.tape--dark { background: var(--ink); color: var(--bg); transform: rotate(-1.6deg); }
.tape--neon { background: var(--neon); color: #111; transform: rotate(1.2deg); margin-top: -2vh; }
.tape-in { display: flex; width: max-content; padding: 16px 0; will-change: transform; }
.tape-in span {
  font-family: var(--f-disp); font-weight: 700; font-size: 24px;
  letter-spacing: 0.05em; white-space: nowrap;
}

/* ═════════ CASI STUDIO ═════════ */
.casi { position: relative; z-index: 1; }
.caso { min-height: 108svh; padding: 16vh 4vw 10vh; display: flex; flex-direction: column; justify-content: center; }
.caso-top { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 4vw; align-items: end; }
.caso-idx { grid-column: 1; font-weight: 600; font-size: 14px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.65; margin-bottom: 1.5vh; }
.caso-name { grid-column: 1; font-family: var(--f-disp); font-weight: 800; font-size: 10.5vw; line-height: 0.82; letter-spacing: -0.03em; }
.caso-was { grid-column: 2; grid-row: 2; font-size: 16px; opacity: 0.75; justify-self: end; }
.caso-was s { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
.caso-cat { grid-column: 1 / -1; grid-row: 3; margin-top: 2.5vh; font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }

.ba {
  position: relative; margin-top: 5vh; aspect-ratio: 16 / 7;
  border-radius: 30px; overflow: hidden; isolation: isolate;
  border: 1.5px solid currentColor;
}
.ba-layer { position: absolute; inset: 0; }
.ba-layer .ph { position: absolute; inset: 0; height: 100%; border: none; border-radius: 0; }
.ba-before { will-change: clip-path; }
.ba-tag {
  position: absolute; top: 20px; z-index: 3;
  font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px;
}
.ba-tag--before { left: 20px; background: #fff; color: #111; }
.ba-tag--after { right: 20px; background: #111; color: #fff; }
.ba-line { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #fff; mix-blend-mode: difference; z-index: 2; will-change: transform; }

.caso-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; margin-top: 6vh; }
.stat { border-left: 2.5px solid currentColor; padding-left: 1.6vw; }
.stat dt { font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; margin-bottom: 0.8vh; }
.stat dd { font-family: var(--f-disp); font-weight: 800; font-size: 4.6vw; line-height: 0.9; letter-spacing: -0.02em; }

/* ═════════ NUMERI ═════════ */
.numeri { padding: 20vh 4vw; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3vw; margin-top: 9vh; }
.num-cell { border-left: 2.5px solid var(--ink); padding-left: 1.8vw; display: flex; flex-direction: column; gap: 1.4vh; }
.num-big { font-family: var(--f-disp); font-weight: 800; font-size: 6.2vw; line-height: 0.85; letter-spacing: -0.03em; }
.num-lab { position: relative; font-weight: 600; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; width: fit-content; }
.num-under { width: 100%; height: 14px; left: 0; bottom: -16px; }
.num-under path { stroke-width: 4; }

/* ═════════ PORTFOLIO ORIZZONTALE ═════════ */
.folio { position: relative; }
.folio-pin { height: 100svh; overflow: hidden; }
.folio-head { position: absolute; top: 10vh; left: 0; z-index: 5; }
.folio-head .pen-note { margin-top: 2.5vh; display: inline-block; transform: rotate(-2deg); }

.folio-track {
  display: flex; align-items: center; gap: 3.5vw;
  width: max-content; height: 100%;
  padding-left: 42vw; padding-right: 8vw; padding-top: 6vh;
  will-change: transform;
}
.fcard { width: 25vw; flex: 0 0 auto; will-change: transform; }
.fcard .ph { aspect-ratio: 4 / 5; border-radius: 26px; }
.fcard:nth-child(odd) { rotate: -2.2deg; }
.fcard:nth-child(even) { rotate: 2deg; margin-top: 7vh; }
@media (hover: hover) {
  .fcard { transition: rotate 0.6s var(--ease-out-expo), scale 0.6s var(--ease-out-expo); }
  .fcard:hover { rotate: 0deg; scale: 1.04; }
}
.fcard figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.fc-name { font-family: var(--f-disp); font-weight: 700; font-size: 24px; }
.fc-meta { font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55; }

.fcard--last .fcard-cta {
  aspect-ratio: 4 / 5; border: 2px dashed var(--ink); border-radius: 26px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3vh;
  font-family: var(--f-disp); font-weight: 800; font-size: 2.3vw; line-height: 1.05;
  text-align: center; letter-spacing: -0.02em; position: relative;
}
.fcard--last .doodle { position: static; width: 6vw; }

.folio-bar { position: absolute; left: 4vw; right: 4vw; bottom: 5vh; height: 3px; background: rgba(17, 17, 17, 0.14); border-radius: 3px; }
.folio-bar-fill { display: block; height: 100%; width: 100%; background: var(--ink); border-radius: 3px; transform: scaleX(0); transform-origin: left center; }

/* ═════════ FINALE ═════════ */
.finale {
  min-height: 115svh; padding: 20vh 8vw 14vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; position: relative;
}
.finale-title {
  font-family: var(--f-disp); font-weight: 800;
  font-size: 7.6vw; line-height: 0.95; letter-spacing: -0.03em;
  max-width: 88vw;
}
.finale-si { position: relative; margin: 7vh 0 9vh; }
.finale-scrawl {
  font-family: var(--f-marker); font-size: 8vw; line-height: 1;
  color: var(--neon); display: inline-block; transform: rotate(-6deg);
  text-shadow: 0 0 40px rgba(77, 255, 0, 0.4);
}
.finale-circle { inset: -34% -60%; width: 220%; height: 168%; }
.finale-circle path { stroke-width: 6; }

.btn-cta {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--f-disp); font-weight: 800; font-size: 30px; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--bg);
  border: 2.5px solid var(--bg); border-radius: 999px; padding: 24px 58px;
  overflow: hidden; isolation: isolate;
  transition: color 0.45s var(--ease-out-quart), transform 0.16s var(--ease-out-quart);
  will-change: transform;
}
.btn-cta::after {
  content: ''; position: absolute; inset: -1px; z-index: -1;
  background: var(--neon); border-radius: 999px;
  transform: scaleY(0); transform-origin: bottom center;
  transition: transform 0.5s var(--ease-out-expo);
}
.btn-cta:hover { color: #111; }
.btn-cta:hover::after { transform: scaleY(1); }
.btn-cta:active { transform: scale(0.96); }
.btn-cta-arrow { display: inline-block; transition: transform 0.45s var(--ease-out-expo); }
.btn-cta:hover .btn-cta-arrow { transform: translateX(10px); }
.finale-mail { margin-top: 5vh; font-size: 16px; opacity: 0.7; }

.u-link { position: relative; }
.u-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right center;
  transition: transform 0.45s var(--ease-out-expo);
}
.u-link:hover::after { transform: scaleX(1); transform-origin: left center; }

/* ═════════ FOOTER ═════════ */
.footer { padding: 12vh 4vw 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3vw; }
.foot-lab { font-weight: 700; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.45; margin-bottom: 1.6vh; }
.foot-col p { font-size: 17px; line-height: 1.7; }
.foot-col--r { text-align: right; }
.foot-giant {
  font-family: var(--f-disp); font-weight: 800;
  font-size: 22.5vw; line-height: 0.72; letter-spacing: -0.04em;
  text-align: center; margin-top: 9vh; transform: translateY(0.06em);
  color: transparent; -webkit-text-stroke: 2px rgba(241, 241, 241, 0.32);
  user-select: none; will-change: transform;
}

/* ═════════ RESPONSIVE MINIMO (focus: desktop) ═════════ */
@media (max-width: 920px) {
  .head-tag { display: none; }
  /* hero: layout verticale pulito (tablet + telefono) */
  .hero-title { font-size: 16vw; top: 10vh; left: 5vw; }
  .hero-scrawl { left: auto; right: 5vw; top: 23vh; font-size: 6vw; text-align: right; }
  .hero-media { width: 28vw; top: 56vh; left: 50%; transform: translate(-50%, -50%); }
  .hero-para { display: none; }
  .hero-kicker { top: auto; bottom: 14vh; left: 5vw; right: auto; }
  .strike-wrap { font-size: 15px; }
  .scrawl-note { font-size: 6.5vw; }
  .hero-x, .hero-spark, .hero-arrow, .pen-note--arrow { display: none; }
  .sec-title { font-size: 11vw; }
  .mband { font-size: 14vw; }
  .flip-meta { display: none; }
  .flip-wrap { width: 64vw; height: 64vw; }
  .flip-fakename { font-size: 3.4vw; }
  .flip-biglogo { font-size: 7vw; }
  /* packaging: come desktop (liste ai lati della bottiglia) ma compatto, così entra nel pin */
  .pack-pin { padding-top: 10vh; }
  .pack-stage { height: auto; margin-top: 4vh; gap: 3vw; padding: 0 4vw; align-items: center; }
  .pack-rotor { width: 34vw; }
  .pack-list { gap: 1.6vh; }
  .pack-list li { font-size: 13px; }
  .pack-note { position: static; transform: rotate(-3deg); margin: 4vh auto 0; text-align: center; }
  .camp-item { width: 42vw !important; }
  .ci-desk { left: 40vw; } .ci-billboard { width: 60vw !important; }
  .caso-name { font-size: 18vw; }
  .caso-top { grid-template-columns: 1fr; }
  .caso-was { justify-self: start; }
  .ba { aspect-ratio: 16 / 10; }
  .caso-stats { grid-template-columns: 1fr; gap: 3vh; }
  .stat dd { font-size: 11vw; }
  .num-grid { grid-template-columns: 1fr 1fr; gap: 5vh 6vw; }
  .num-big { font-size: 13vw; }
  .fcard { width: 62vw; }
  .fcard--last .fcard-cta { font-size: 6vw; }
  .folio-track { padding-left: 10vw; }
  .finale-title { font-size: 11vw; }
  .finale-scrawl { font-size: 16vw; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 4vh 6vw; }
  .foot-col--r { text-align: left; }
}

/* ═════════ PHONE — fix schermi piccoli ═════════ */
@media (max-width: 700px) {
  /* header + menu a tendina */
  .site-head { padding: 16px 5vw; }
  .head-burger { display: flex; }
  body.nav-open .site-head { mix-blend-mode: normal; color: #f1f1f1; }
  .head-nav {
    position: fixed; inset: 0; z-index: 5;
    background: #0d0d0d; color: #f1f1f1;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 2.2vh; padding: 0 8vw; margin: 0;
    clip-path: inset(0 0 100% 0); pointer-events: none;
    transition: clip-path 0.6s var(--ease-out-expo);
  }
  body.nav-open .head-nav { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .head-nav .roll { font-size: 12vw; line-height: 1.15; letter-spacing: -0.01em; }
  .head-nav .roll-in { height: auto; overflow: visible; }
  .head-nav .roll-in span:last-child { display: none; }
  .head-nav .roll--cta { border: none; border-radius: 0; padding: 0; color: var(--neon); }
  .head-logo { position: relative; z-index: 10; }

  /* hero: rifiniture specifiche telefono (layout base ereditato da ≤920) */
  .hero-media { width: 46vw; top: 55vh; }
  .hero-scrawl { font-size: 7.4vw; top: 23vh; }
  .hero-kicker { bottom: 10vh; }
  .scrawl-note { font-size: 8vw; }
  .scroll-ind { bottom: 4.5vh; }

  /* rifiniture varie */
  .sec-title { font-size: 12.5vw; }
  .hero-kicker, .sec-sub { max-width: 90vw; }
  .caso { padding: 14vh 5vw 8vh; }
  .finale-title { font-size: 13vw; }
  .btn-cta { font-size: 22px; padding: 20px 40px; }
  .foot-giant { font-size: 30vw; }
}

/* ═════════ REDUCED MOTION / STATICO ═════════ */
@media (prefers-reduced-motion: reduce) {
  .scroll-wheel { animation: none; }
}
html.reduced .ba-before { clip-path: inset(0 50% 0 0); }
html.reduced .ba-line { left: 50%; }
html.reduced .hero-para { opacity: 1; }
