/*
 * Officina35mm — Landing pubblica "Camera oscura" (B2)
 * Tutto è confinato in .off35-lb2 (#off35-landing-public-root) e nel suo
 * contenitore di scroll #landing-screen. Effetti in landing-b2.js.
 */

#landing-screen:has(.off35-lb2),
#landing-screen:has(.off35-lb2) .landing-stack-root {
    background: #0e131b !important;
    color: #f4f6fa;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
}
html:has(.off35-lb2) body { background: #0e131b; }
#landing-screen:has(.off35-lb2).scrollbar-show { scrollbar-color: rgba(244, 246, 250, 0.22) transparent; }
#landing-screen:has(.off35-lb2)::-webkit-scrollbar { width: 8px; }
#landing-screen:has(.off35-lb2)::-webkit-scrollbar-thumb { background: transparent; border-radius: 999px; }
#landing-screen:has(.off35-lb2).scrollbar-show::-webkit-scrollbar-thumb { background: rgba(244, 246, 250, 0.22); }
#landing-screen:has(.off35-lb2.is-intro) { overflow: hidden !important; }

.off35-lb2 {
    --lb2-ink-0: #0e131b;
    --lb2-ink-1: #161c27;
    --lb2-ink-2: #1f2735;
    --lb2-text: #f4f6fa;
    --lb2-muted: #a3afc2;
    --lb2-faint: rgba(244, 246, 250, 0.08);
    --lb2-hair: rgba(244, 246, 250, 0.12);
    --lb2-gold: #f1c40f;
    --lb2-gold-soft: rgba(241, 196, 15, 0.14);
    --lb2-safe: #c0392b;
    --lb2-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --lb2-ease-io: cubic-bezier(0.77, 0, 0.175, 1);
    --lb2-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    --lb2-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    /* style.css colora h2/h3/b/strong con var(--text-heading) !important: qui la ridefiniamo */
    --text-heading: #f4f6fa;
    position: relative;
    background: var(--lb2-ink-0);
    color: var(--lb2-text);
    font: 400 15px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
.off35-lb2 *, .off35-lb2 *::before, .off35-lb2 *::after { box-sizing: border-box; }
.off35-lb2 img { display: block; max-width: 100%; }
.off35-lb2 a { color: inherit; }
.off35-lb2 :where(h1, h2, h3, p) { border: 0; }
.off35-lb2 button, .off35-lb2 a { touch-action: manipulation; }
.off35-lb2 button, .off35-lb2 .lb2-btn, .off35-lb2 .lb2-nav a { -webkit-user-select: none; user-select: none; }
.off35-lb2 :focus-visible { outline: 2px solid var(--lb2-gold); outline-offset: 3px; border-radius: 8px; }

/* Grana pellicola (fissa, mai su contenitori che scorrono) */
.lb2-grain {
    position: fixed; inset: -8%; z-index: 80; pointer-events: none; opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (hover: hover) and (pointer: fine) { .lb2-grain { animation: lb2-grain 1s steps(6) infinite; } }
@keyframes lb2-grain {
    0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-3%, 2%, 0); } 40% { transform: translate3d(2%, -3%, 0); }
    60% { transform: translate3d(-2%, -1%, 0); } 80% { transform: translate3d(3%, 3%, 0); } 100% { transform: translate3d(0, 0, 0); }
}

/* ---------- Bottoni (icona annidata) ---------- */
.lb2-btn {
    position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px;
    padding: 5px 5px 5px 18px; border-radius: 999px; border: 1px solid var(--lb2-hair);
    background: rgba(244, 246, 250, 0.04); color: var(--lb2-text); font: 600 14px/1 inherit; font-family: inherit;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform 0.16s var(--lb2-ease-out), background-color 0.3s var(--lb2-ease-out), border-color 0.3s var(--lb2-ease-out);
}
.lb2-btn__ic {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lb2-faint);
    font-size: 16px; transition: transform 0.5s var(--lb2-ease-drawer);
}
.lb2-btn:active { transform: scale(0.97); }
.lb2-btn--gold { background: var(--lb2-gold); border-color: var(--lb2-gold); color: #141820; }
.lb2-btn--gold .lb2-btn__ic { background: rgba(20, 24, 32, 0.12); }
.lb2-btn--sm { min-height: 40px; padding: 4px 4px 4px 14px; font-size: 13px; gap: 8px; }
.lb2-btn--sm .lb2-btn__ic { width: 30px; height: 30px; font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
    .lb2-btn:hover { border-color: rgba(244, 246, 250, 0.3); background: rgba(244, 246, 250, 0.08); }
    .lb2-btn--gold:hover { background: #f5d23c; border-color: #f5d23c; }
    .lb2-btn:hover .lb2-btn__ic { transform: translate(2px, -1px) scale(1.06); }
}

/* ---------- Nav a isola ---------- */
.lb2-nav {
    position: fixed; z-index: 60; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translate(-50%, 0);
    display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 16px; border-radius: 999px;
    background: rgba(14, 19, 27, 0.62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid var(--lb2-hair); box-shadow: 0 12px 40px rgba(5, 8, 12, 0.35);
    transition: transform 0.6s var(--lb2-ease-drawer), opacity 0.4s var(--lb2-ease-out);
    width: max-content; max-width: calc(100vw - 24px);
}
.lb2-nav.is-hidden { transform: translate(-50%, calc(-100% - 24px)); }
.off35-lb2.is-intro .lb2-nav { opacity: 0; transform: translate(-50%, -24px); }
.lb2-nav__logo { font-weight: 800; font-size: 15px; letter-spacing: -0.02em; text-decoration: none; margin-right: 10px; white-space: nowrap; }
.lb2-nav__logo span { color: var(--lb2-gold); }
.lb2-nav__links { display: flex; gap: 2px; margin-right: 6px; }
.lb2-nav__links a { padding: 9px 11px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--lb2-muted); text-decoration: none; transition: color 0.2s, background-color 0.2s; }
@media (hover: hover) and (pointer: fine) { .lb2-nav__links a:hover { color: var(--lb2-text); background: var(--lb2-faint); } }
.lb2-nav__login { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--lb2-hair); background: transparent; color: var(--lb2-text); display: grid; place-items: center; font-size: 17px; cursor: pointer; padding: 0; }

/* ---------- Loader: la camera oscura si accende ---------- */
.lb2-loader { position: fixed; inset: 0; z-index: 90; background: var(--lb2-ink-0); display: none; place-items: center; transition: opacity 0.8s var(--lb2-ease-out), visibility 0.8s; }
.off35-lb2.is-intro .lb2-loader { display: grid; }
.lb2-loader.is-done { opacity: 0; visibility: hidden; }
.lb2-loader__glow { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; background: radial-gradient(circle, rgba(192, 57, 43, 0.32), transparent 60%); animation: lb2-safe 2.4s var(--lb2-ease-io) infinite alternate; }
@keyframes lb2-safe { from { opacity: 0.55; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.lb2-loader__in { position: relative; text-align: center; font: 600 11px/1 var(--lb2-mono); letter-spacing: 0.32em; text-transform: uppercase; color: #e9a29a; }
.lb2-loader__bulb { width: 10px; height: 10px; border-radius: 50%; background: var(--lb2-safe); box-shadow: 0 0 18px 4px rgba(192, 57, 43, 0.7); margin: 0 auto 20px; animation: lb2-rec 1.4s ease-in-out infinite; }
.lb2-loader__t { display: block; font-size: 36px; letter-spacing: 0.04em; color: #f4c7c1; margin-top: 14px; font-variant-numeric: tabular-nums; }

/* ---------- HERO ---------- */
.lb2-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; background: #07090d; }
.lb2-hero__stage { position: absolute; inset: 0; will-change: transform; }
.lb2-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.6s var(--lb2-ease-out), visibility 0s linear 1.6s; }
.lb2-slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.6s var(--lb2-ease-out), visibility 0s; }
.lb2-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb2-slide__bg { display: none !important; }
.lb2-slide__img, .lb2-slide__neg { transform: scale(1.12); transition: transform 9s linear, opacity 3.4s var(--lb2-ease-io), visibility 0s linear 3.4s; }
.lb2-slide.is-on .lb2-slide__img, .lb2-slide.is-on .lb2-slide__neg { transform: scale(1); }
.lb2-slide__neg { filter: invert(1) sepia(0.8) hue-rotate(-30deg) saturate(1.6) contrast(1.1); opacity: 0; visibility: hidden; }
.lb2-slide.is-neg .lb2-slide__neg { opacity: 1; visibility: visible; transition: none; }
.lb2-hero__safe { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, rgba(192, 57, 43, 0.55), rgba(120, 20, 15, 0.85)); mix-blend-mode: multiply; transition: opacity 4s var(--lb2-ease-io); }
.lb2-hero.is-developed .lb2-hero__safe { opacity: 0.22; }
.lb2-hero__torch {
    position: absolute; z-index: 2; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px; pointer-events: none;
    border-radius: 50%; background: radial-gradient(circle, rgba(255, 120, 90, 0.13), rgba(255, 120, 90, 0.05) 35%, transparent 62%);
    transform: translate3d(50vw, 42vh, 0); transition: transform 0.9s var(--lb2-ease-out);
}
@media (hover: none) {
    .lb2-hero__torch { width: 620px; height: 620px; margin: -310px 0 0 -310px; transition: none; animation: lb2-drift 16s var(--lb2-ease-io) infinite alternate; }
}
@keyframes lb2-drift { 0% { transform: translate3d(20vw, 30vh, 0); } 50% { transform: translate3d(75vw, 45vh, 0); } 100% { transform: translate3d(40vw, 65vh, 0); } }
.lb2-hero__veil { position: absolute; inset: 0; z-index: 3; pointer-events: none; background:
    radial-gradient(130% 100% at 50% 40%, transparent 35%, rgba(7, 9, 13, 0.75) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.55) 0, transparent 22%, transparent 45%, rgba(14, 19, 27, 0.92) 88%, var(--lb2-ink-0) 100%); }
.lb2-hero__dim { position: absolute; inset: 0; z-index: 4; background: var(--lb2-ink-0); opacity: 0; pointer-events: none; }

/* Diaframma a 9 lamelle: bordo d'attacco concavo (apertura quasi circolare), metallo opaco */
.lb2-aperture { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.lb2-aperture i {
    position: absolute; left: 50%; top: 50%; width: 150vmax; height: 80vmax; margin: -80vmax 0 0 -75vmax;
    transform-origin: 50% 100%;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 38%, rgba(0, 0, 0, 0.35) 100%),
        linear-gradient(0deg, #1c222b 0, #12161d 2.5vmax, #0b0e13 14vmax, #06080b 100%);
    -webkit-mask: radial-gradient(circle at 50% calc(100% + 120vmax), transparent 124vmax, #000 calc(124vmax + 1px));
    mask: radial-gradient(circle at 50% calc(100% + 120vmax), transparent 124vmax, #000 calc(124vmax + 1px));
    transform: rotate(var(--a)) translate3d(0, 6vmax, 0);
    transition: transform 1.75s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}
.lb2-aperture.is-open i { transform: rotate(calc(var(--a) + 42deg)) translate3d(0, -82vmax, 0); }
.lb2-aperture.is-gone { display: none; }
.off35-lb2:not(.is-armed) .lb2-aperture { display: none; }

.lb2-hero__copy { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; max-width: 1200px; margin: 0 auto; padding: 0 24px max(44px, env(safe-area-inset-bottom)); }
.lb2-eyebrow {
    display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 7px 13px; border-radius: 999px;
    border: 1px solid var(--lb2-hair); background: rgba(14, 19, 27, 0.4);
    font: 600 10.5px/1 inherit; font-family: inherit; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lb2-gold); white-space: nowrap;
    --text-heading: var(--lb2-gold);
}
.lb2-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--lb2-safe); box-shadow: 0 0 10px 2px rgba(192, 57, 43, 0.8); animation: lb2-rec 1.8s ease-in-out infinite; }
@keyframes lb2-rec { 50% { opacity: 0.35; } }
.lb2-brand {
    margin: 18px 0 0; font-weight: 900; font-size: min(12.2vw, 168px); letter-spacing: -0.06em; line-height: 0.82;
    display: flex; flex-wrap: nowrap; white-space: nowrap; color: var(--lb2-text);
}
.lb2-brand .w { display: inline-flex; overflow: hidden; padding-bottom: 0.07em; }
.lb2-brand .w--gold { color: var(--lb2-gold); }
.lb2-brand .l { display: inline-block; }
.off35-lb2.is-armed .lb2-brand .l { transform: translateY(120%); transition: transform 1.1s var(--lb2-ease-out); }
.off35-lb2.is-armed .lb2-hero.is-revealed .lb2-brand .l { transform: none; }
.lb2-hero__h1 { margin: 16px 0 0; font-size: clamp(14px, 4.1vw, 24px); font-weight: 500; letter-spacing: -0.015em; color: #dfe5ee; white-space: nowrap; }
.lb2-hero__cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.off35-lb2.is-armed .lb2-fade { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--lb2-ease-out), transform 1s var(--lb2-ease-out); }
.off35-lb2.is-armed .lb2-hero.is-revealed .lb2-fade { opacity: 1; transform: none; }
.lb2-hero__meta { position: absolute; z-index: 6; right: 24px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font: 600 11px/1 var(--lb2-mono); color: var(--lb2-muted); letter-spacing: 0.14em; }
.off35-lb2.is-armed .lb2-hero__meta.lb2-fade { transform: translateY(calc(-50% + 18px)); }
.off35-lb2.is-armed .lb2-hero.is-revealed .lb2-hero__meta.lb2-fade { transform: translateY(-50%); }
.lb2-hero__meta b { color: var(--lb2-text); font-weight: 600; }
.lb2-hero__bar { width: 2px; height: 104px; background: var(--lb2-hair); border-radius: 2px; overflow: hidden; }
.lb2-hero__bar i { display: block; width: 100%; height: 100%; background: var(--lb2-gold); transform-origin: top; transform: scaleY(0); }
.lb2-hero__bar i.is-run { animation: lb2-bar 7.5s linear forwards; }
@keyframes lb2-bar { to { transform: scaleY(1); } }

/* Foto orizzontali su telefono in verticale: scatto intero + fondo sfocato */
@media (max-aspect-ratio: 4/5) {
    .lb2-slide__bg { display: block !important; filter: blur(22px) brightness(0.55) saturate(1.1); transform: scale(1.25); }
    .lb2-slide .lb2-slide__img, .lb2-slide .lb2-slide__neg { object-fit: contain; object-position: 50% 34%; }
}

/* ---------- Manifesto ---------- */
.lb2-manifesto { position: relative; height: 190vh; height: 190svh; }
.lb2-manifesto__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding: 0 24px; overflow: hidden; }
.lb2-manifesto__pin::before { content: ""; position: absolute; left: 50%; top: 50%; width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax; border-radius: 50%; background: radial-gradient(circle, var(--lb2-gold-soft), transparent 62%); opacity: var(--glow, 0); }
.lb2-manifesto p { position: relative; margin: 0; max-width: 17ch; text-align: center; font-weight: 800; font-size: clamp(30px, 5.6vw, 80px); letter-spacing: -0.045em; line-height: 1.04; }
.lb2-manifesto .wd { opacity: 0.14; transition: opacity 0.25s linear; }
.lb2-manifesto .wd--k { color: var(--lb2-gold); }
.lb2-manifesto small { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); font: 600 10.5px/1 var(--lb2-mono); letter-spacing: 0.3em; color: var(--lb2-muted); text-transform: uppercase; white-space: nowrap; }

/* ---------- Nastro mete ---------- */
.lb2-marquee { padding: 20px 0; border-block: 1px solid var(--lb2-faint); overflow: hidden; display: grid; gap: 10px; }
.lb2-mq { display: flex; width: max-content; animation: lb2-mq 60s linear infinite; }
.lb2-mq--rev { animation-direction: reverse; animation-duration: 70s; }
.lb2-mq span { display: inline-flex; align-items: center; gap: 24px; padding-right: 24px; font-weight: 800; font-size: clamp(22px, 3.4vw, 44px); letter-spacing: -0.035em; white-space: nowrap; }
.lb2-mq span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lb2-gold); }
.lb2-mq--rev span { color: transparent; -webkit-text-stroke: 1px rgba(244, 246, 250, 0.35); }
.lb2-mq--rev span::after { background: transparent; border: 1px solid rgba(244, 246, 250, 0.35); }
@keyframes lb2-mq { to { transform: translateX(-50%); } }

/* ---------- Chi siamo (centrato) ---------- */
.lb2-about { position: relative; max-width: 980px; margin: 0 auto; padding: clamp(96px, 13vw, 160px) 24px; text-align: center; }
.lb2-about::before { content: ""; position: absolute; left: 50%; top: 18%; width: 60vmax; height: 60vmax; margin-left: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(241, 196, 15, 0.07), transparent 60%); pointer-events: none; }
.lb2-about__lead { position: relative; margin: 28px auto 0; max-width: 22ch; font-weight: 800; font-size: clamp(26px, 4.2vw, 54px); letter-spacing: -0.04em; line-height: 1.08; color: var(--lb2-text); }
.lb2-about__body { position: relative; margin: 28px auto 0; max-width: 54ch; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.7; color: var(--lb2-muted); }
.lb2-about mark {
    background: linear-gradient(transparent 62%, rgba(241, 196, 15, 0.28) 62%) no-repeat 0 0 / 0% 100%;
    color: var(--lb2-gold); padding: 0 0.04em; transition: background-size 1.2s var(--lb2-ease-out) 0.35s;
}
.lb2-about .is-in mark { background-size: 100% 100%; }
.lb2-facts { position: relative; list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--lb2-faint); border: 1px solid var(--lb2-faint); border-radius: 24px; overflow: hidden; }
.lb2-facts li { padding: 24px 16px; background: var(--lb2-ink-0); }
.lb2-facts b { --text-heading: var(--lb2-gold); display: block; font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; letter-spacing: -0.04em; color: var(--lb2-gold); }
.lb2-facts span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--lb2-muted); }

/* Reveal generico */
.off35-lb2.is-armed .lb2-rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--lb2-ease-out), transform 1s var(--lb2-ease-out); }
.off35-lb2.is-armed .lb2-rv.is-in { opacity: 1; transform: none; }
.lb2-facts li.lb2-rv:nth-child(2) { transition-delay: 0.08s; }
.lb2-facts li.lb2-rv:nth-child(3) { transition-delay: 0.16s; }
.lb2-facts li.lb2-rv:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Capitoli: si sovrappongono come stampe ---------- */
.lb2-chapters { position: relative; max-width: 940px; margin: 0 auto; padding: 0 16px; }
.lb2-ch { position: sticky; top: 84px; margin-bottom: 24px; }
.lb2-ch__shell { position: relative; padding: 5px; border-radius: 30px; background: rgba(244, 246, 250, 0.035); border: 1px solid var(--lb2-faint); transform-origin: 50% 0; }
.lb2-ch__core { position: relative; border-radius: 25px; overflow: hidden; overflow: clip; background: linear-gradient(180deg, var(--lb2-ink-2), var(--lb2-ink-1)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.lb2-ch__dim { position: absolute; inset: 0; z-index: 4; background: #05070b; opacity: 0; pointer-events: none; border-radius: 30px; }

/* Galleria orizzontale (3:2, foto intere) */
.lb2-gal { position: relative; aspect-ratio: 3 / 2; margin: 10px 10px 0; border-radius: 18px; overflow: hidden; background: #0a0d12; touch-action: pan-y; contain: paint; transform-origin: 50% 0; }
.lb2-gal__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--lb2-ease-out); }
.lb2-gal__slide.is-on { opacity: 1; }
.lb2-gal__track { position: absolute; inset: -6% 0; }
.lb2-gal__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb2-gal::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(14, 19, 27, 0.35), transparent 28%, transparent 66%, rgba(14, 19, 27, 0.55)); }
.lb2-gal__tag { position: absolute; z-index: 2; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(14, 19, 27, 0.55); border: 1px solid var(--lb2-hair); font: 600 10.5px/1 var(--lb2-mono); letter-spacing: 0.16em; }
.lb2-gal__tag i { color: var(--lb2-gold); font-size: 14px; }
.lb2-gal__ui { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lb2-gal__count { font: 600 10.5px/1 var(--lb2-mono); letter-spacing: 0.14em; color: #e6ebf2; }
.lb2-gal__nav { display: flex; gap: 6px; }
.lb2-gal__nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(244, 246, 250, 0.22); background: rgba(14, 19, 27, 0.5); color: #fff; display: grid; place-items: center; font-size: 16px; cursor: pointer; padding: 0; transition: background-color 0.2s, transform 0.16s var(--lb2-ease-out); }
.lb2-gal__nav button:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .lb2-gal__nav button:hover { background: rgba(241, 196, 15, 0.9); color: #141820; border-color: transparent; } }
.lb2-gal__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(244, 246, 250, 0.12); }
.lb2-gal__bar i { display: block; height: 100%; background: var(--lb2-gold); transform-origin: left; transform: scaleX(0); }
.lb2-gal__bar i.is-run { animation: lb2-galbar 4.4s linear forwards; }
@keyframes lb2-galbar { to { transform: scaleX(1); } }

.lb2-ch__copy { padding: clamp(20px, 3vw, 34px) clamp(20px, 4.4vw, 52px) clamp(22px, 3vw, 36px); }
.lb2-ch--text .lb2-ch__copy { padding-top: clamp(28px, 4vw, 44px); }
.lb2-ch__idx { display: flex; align-items: center; gap: 12px; font: 600 10.5px/1 var(--lb2-mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--lb2-muted); margin: 0 0 12px; }
.lb2-ch__idx::after { content: ""; flex: 1; height: 1px; background: var(--lb2-hair); }
.lb2-ch__h { margin: 0 0 14px; font-weight: 900; font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.05em; line-height: 0.95; color: var(--lb2-text); }
.lb2-mask { display: block; overflow: hidden; padding-bottom: 0.08em; }
.lb2-mask > span { display: block; }
.off35-lb2.is-armed .lb2-mask > span { transform: translateY(110%); transition: transform 1.1s var(--lb2-ease-out); }
.off35-lb2.is-armed .is-in .lb2-mask > span { transform: none; }
.lb2-ch__body { color: var(--lb2-muted); font-size: 14.5px; line-height: 1.5; max-width: 68ch; }
.lb2-ch__body p { margin: 0 0 8px; }
.lb2-ch__body .lb2-label { margin: 16px 0 4px; font: 600 10.5px/1.4 var(--lb2-mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--lb2-gold); }
.lb2-list { list-style: none; margin: 0 0 8px; padding: 0; counter-reset: lb2li; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.lb2-list li { position: relative; padding: 9px 0 9px 32px; line-height: 1.45; border-top: 1px solid var(--lb2-faint); }
.lb2-list li::before { counter-increment: lb2li; content: counter(lb2li, decimal-leading-zero); position: absolute; left: 0; top: 12px; font: 600 10.5px/1 var(--lb2-mono); color: var(--lb2-gold); letter-spacing: 0.1em; }
.lb2-list b { display: block; color: var(--lb2-text); font-size: 15px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 1px; }
.off35-lb2.is-armed .lb2-ch__body > * { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--lb2-ease-out), transform 0.9s var(--lb2-ease-out); }
.off35-lb2.is-armed .lb2-ch__body > .is-in { opacity: 1; transform: none; }

/* Contatore fotogrammi (desktop) */
.lb2-counter { position: fixed; z-index: 55; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: rgba(14, 19, 27, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--lb2-hair); font: 600 10.5px/1 var(--lb2-mono); letter-spacing: 0.16em; color: var(--lb2-muted); opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--lb2-ease-out), transform 0.4s var(--lb2-ease-out); pointer-events: none; }
.lb2-counter.is-on { opacity: 1; transform: none; }
.lb2-counter b { color: var(--lb2-gold); font-weight: 600; }
.lb2-counter span { color: var(--lb2-text); letter-spacing: 0.04em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }

/* ---------- Soci: il foglio che sale ---------- */
.lb2-soci { position: relative; z-index: 2; padding: clamp(88px, 11vw, 140px) 24px; background: var(--lb2-ink-0); border-radius: 36px 36px 0 0; box-shadow: 0 -40px 80px rgba(5, 7, 11, 0.6); overflow: hidden; }
.lb2-soci::before { content: ""; position: absolute; left: 50%; top: -20vmax; width: 80vmax; height: 80vmax; margin-left: -40vmax; border-radius: 50%; background: radial-gradient(circle, var(--lb2-gold-soft), transparent 60%); pointer-events: none; }
.lb2-soci__in { position: relative; max-width: 1120px; margin: 0 auto; }
.lb2-soci__head { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.lb2-soci h2 { margin: 16px 0 0; font-weight: 900; font-size: clamp(36px, 5.4vw, 80px); letter-spacing: -0.055em; line-height: 0.92; color: var(--lb2-text); }
.lb2-soci h2 em { font-style: normal; color: var(--lb2-gold); }
.lb2-soci__lede { margin: 0; color: var(--lb2-muted); font-size: 16px; }
.lb2-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lb2-perk { position: relative; padding: 5px; border-radius: 26px; background: rgba(244, 246, 250, 0.035); border: 1px solid var(--lb2-faint); }
.lb2-perk__core { position: relative; height: 100%; padding: 26px 24px; border-radius: 21px; background: var(--lb2-ink-1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); overflow: hidden; }
.lb2-perk__core::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--px, 50%) var(--py, 0%), rgba(241, 196, 15, 0.12), transparent 60%); opacity: 0; transition: opacity 0.4s var(--lb2-ease-out); }
@media (hover: hover) and (pointer: fine) { .lb2-perk:hover .lb2-perk__core::before { opacity: 1; } }
.lb2-perk__ic { position: relative; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--lb2-hair); color: var(--lb2-gold); font-size: 23px; }
.lb2-perk strong { position: relative; display: block; margin: 22px 0 8px; font-size: 18px; letter-spacing: -0.025em; }
.lb2-perk p { position: relative; margin: 0; color: var(--lb2-muted); font-size: 14px; }
.lb2-perk.lb2-rv:nth-child(3n+2) { transition-delay: 0.09s; }
.lb2-perk.lb2-rv:nth-child(3n) { transition-delay: 0.18s; }
.lb2-soci__cta { display: flex; justify-content: center; margin-top: 52px; }

/* ---------- Footer / contatti ---------- */
.lb2-foot { position: relative; z-index: 2; background: var(--lb2-ink-0); padding: 0 24px max(96px, calc(72px + env(safe-area-inset-bottom))); overflow: hidden; }
.lb2-foot__in { max-width: 1120px; margin: 0 auto; }
.lb2-foot__addr { margin: 16px 0 24px; color: var(--lb2-muted); font-size: 14px; }
/* 6 contatti: 1 → 2 → 3 colonne, mai una casella orfana */
.lb2-contacts { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--lb2-faint); border: 1px solid var(--lb2-faint); border-radius: 24px; overflow: hidden; }
@media (min-width: 480px) { .lb2-contacts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .lb2-contacts { grid-template-columns: repeat(3, 1fr); } }
.lb2-contacts a { display: block; padding: 24px 20px; background: var(--lb2-ink-0); text-decoration: none; transition: background-color 0.3s var(--lb2-ease-out); }
@media (hover: hover) and (pointer: fine) { .lb2-contacts a:hover { background: var(--lb2-ink-1); } }
.lb2-contacts i { font-size: 24px; color: var(--lb2-gold); }
.lb2-contacts small { display: block; margin: 18px 0 6px; font: 600 10.5px/1 var(--lb2-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--lb2-muted); }
.lb2-contacts b { font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
.lb2-mega-wrap { overflow: hidden; padding-bottom: 10px; container-type: inline-size; }
/* Larghezza del testo ≈ 6,1 × font-size: 16cqw lo fa stare sempre dentro il contenitore (prima 12.6vw tagliava O e m oltre i 1120px) */
.lb2-mega { margin: 64px 0 0; font-weight: 900; font-size: clamp(40px, 12.6vw, 210px); font-size: clamp(40px, 16cqw, 210px); letter-spacing: -0.07em; line-height: 0.8; display: flex; justify-content: center; white-space: nowrap; color: var(--lb2-text); }
.lb2-mega .w--gold { color: var(--lb2-gold); }
.lb2-mega .l { display: inline-block; }
.off35-lb2.is-armed .lb2-mega .l { transform: translateY(100%); opacity: 0; transition: transform 1.2s var(--lb2-ease-out), opacity 1.2s var(--lb2-ease-out); }
.off35-lb2.is-armed .lb2-mega.is-in .l { transform: none; opacity: 1; }
.lb2-copy { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; color: var(--lb2-muted); font-size: 13px; }

/* Torna su */
#landing-screen .off35-lb2 .lb2-top {
    position: fixed; z-index: 56; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--lb2-hair); background: rgba(14, 19, 27, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    color: var(--lb2-text); display: grid; place-items: center; font-size: 18px; cursor: pointer; padding: 0;
    transition: opacity 0.4s var(--lb2-ease-out), transform 0.4s var(--lb2-ease-out);
}
#landing-screen .off35-lb2 .lb2-top[hidden] { display: none; }
#landing-screen .off35-lb2 .lb2-top.is-idle { opacity: 0.45; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 900px) {
    .lb2-nav__links { display: none; }
    .lb2-hero__meta { display: none; }
    .lb2-hero__copy { padding: 0 20px max(36px, env(safe-area-inset-bottom)); }
    .lb2-facts { grid-template-columns: 1fr 1fr; }
    .lb2-chapters { padding: 0 10px; }
    .lb2-ch { top: 72px; margin-bottom: 18px; }
    .lb2-ch__shell { padding: 4px; border-radius: 24px; }
    .lb2-ch__core { border-radius: 20px; }
    .lb2-ch__dim { border-radius: 24px; }
    .lb2-gal { margin: 8px 8px 0; border-radius: 14px; }
    .lb2-list { grid-template-columns: 1fr; }
    .lb2-soci { border-radius: 26px 26px 0 0; padding: 88px 18px; }
    .lb2-soci__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
    .lb2-perks { grid-template-columns: 1fr 1fr; }
    .lb2-counter { display: none; }
}
@media (max-width: 600px) {
    .lb2-perks, .lb2-contacts { grid-template-columns: 1fr; }
    .lb2-nav { padding-left: 13px; }
    .lb2-nav__logo { margin-right: 4px; }
    .lb2-hero__cta .lb2-btn { flex: 1; justify-content: space-between; padding-left: 16px; }
    .lb2-hide-sm { display: none; }
    .lb2-eyebrow { font-size: 9.5px; letter-spacing: 0.18em; padding: 6px 11px; }
    .lb2-about { padding: 88px 18px; }
    .lb2-facts li { padding: 20px 12px; }
    .lb2-ch__copy { padding: 22px 18px 28px; }
    .lb2-copy { flex-direction: column; }
    .lb2-gal__nav button { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .lb2-grain, .lb2-mq, .lb2-hero__torch, .lb2-eyebrow i { animation: none; }
    .lb2-loader, .lb2-aperture { display: none !important; }
    .lb2-slide__img, .lb2-slide__neg { transition: opacity 0.4s; transform: none !important; }
    .lb2-manifesto { height: auto; }
    .lb2-manifesto__pin { position: relative; height: auto; padding: 120px 24px; }
    .lb2-manifesto .wd { opacity: 1; }
    .lb2-ch { position: relative; top: 0 !important; }
    .lb2-gal { clip-path: none; }
}

/* ---------- Prestazioni ---------- */
/* Sezioni fuori schermo: il browser salta il rendering finché non servono */
.lb2-marquee, .lb2-about, .lb2-foot { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.lb2-marquee { contain-intrinsic-size: auto 160px; }
/* Su touch niente backdrop-filter sopra contenuti che scorrono: fondo pieno */
@media (hover: none), (pointer: coarse) {
    .lb2-nav, .lb2-counter, #landing-screen .off35-lb2 .lb2-top { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 19, 27, 0.92); }
    .lb2-gal__tag, .lb2-gal__nav button { background: rgba(14, 19, 27, 0.72); }
}
