/* Biagio Morello – "Accendi il tuo Look". Mobile first. */

@font-face { font-family: "BM Display"; src: url("../fonts/big-shoulders-display-latin.woff2") format("woff2"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "BM Serif"; src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "BM Sans"; src: url("../fonts/bricolage-grotesque-normal-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
    --bg: #0d0b0a;
    --bg-2: #171310;
    --bg-3: #221c17;
    --ink: #f3ebe0;
    --ink-2: #b9ab9a;
    --ink-3: #7d7064;
    --line: rgba(243, 235, 224, .14);
    --fire: #ff6a2b;
    --fire-2: #ffb35c;
    --red: #d8283f;
    --blue: #2a56d6;
    --glow: 0 0 .08em #fff6e8, 0 0 .25em var(--fire-2), 0 0 .6em var(--fire), 0 0 1.4em rgba(255, 106, 43, .55);
    --f-display: "BM Display", "Arial Narrow", Impact, sans-serif;
    --f-serif: "BM Serif", Georgia, serif;
    --f-sans: "BM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --gut: clamp(16px, 5vw, 56px);
    --radius: 18px;
    --dock-h: 74px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: dark;
}

/* ---------- base ---------- */
html.bml-js { scroll-behavior: auto; }
body.bml {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.6 var(--f-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
/* vecchio codice "bm-boost" del sito: il suo tasto "Prenota" fisso e i suoi 72px in fondo non servono più (c'è .bml-dock) */
.bm-contact-dock { display: none !important; }
html body.bml { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
body.bml *,body.bml *::before, body.bml *::after { box-sizing: border-box; }
body.bml img, body.bml video { max-width: 100%; display: block; }
body.bml a { color: inherit; text-decoration: none; }
body.bml button { font: inherit; color: inherit; cursor: pointer; }
body.bml h1, body.bml h2, body.bml h3 { margin: 0; font-weight: 800; }
body.bml p { margin: 0 0 1em; }
body.bml ::selection { background: var(--fire); color: #140c06; }
body.bml.is-locked { overflow: hidden; }

.bml-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bml-skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--fire); color: #140c06; padding: 10px 16px; border-radius: 99px; font-weight: 700; }
.bml-skip:focus { top: 12px; }
body.bml :focus-visible { outline: 2px solid var(--fire-2); outline-offset: 3px; }

.bml-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.bml-section { padding-top: clamp(56px, 10vw, 120px); padding-bottom: clamp(56px, 10vw, 120px); }
.bml-center { text-align: center; }

.bml-kicker {
    display: inline-flex; align-items: center; gap: .6em;
    font: 600 12px/1.2 var(--f-sans); letter-spacing: .22em; text-transform: uppercase;
    color: var(--fire-2); margin-bottom: 18px !important;
}
.bml-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.bml-hero__kicker::before { display: none; }
.bml-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 12px var(--fire); animation: bml-pulse 1.8s infinite; }
@keyframes bml-pulse { 50% { opacity: .35; } }

.bml-h2 {
    font: 800 clamp(44px, 12vw, 120px)/.9 var(--f-display);
    text-transform: uppercase; letter-spacing: -.005em;
    margin-bottom: 28px !important;
}
.bml-h2 em, .bml-phero__title em { font: italic 400 1.02em/1 var(--f-serif); text-transform: none; color: var(--fire-2); letter-spacing: 0; }

.bml-neon { color: #fff4e6; text-shadow: var(--glow); }
.bml-neon.is-flicker { animation: bml-flicker 4s infinite; }
@keyframes bml-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; text-shadow: var(--glow); }
    20%, 24%, 55% { opacity: .55; text-shadow: none; }
}

/* ---------- buttons ---------- */
.bml-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 54px; padding: 0 28px; border: 0; border-radius: 99px;
    background: linear-gradient(135deg, var(--fire-2), var(--fire) 55%, #e2431a);
    color: #1a0d05 !important; font: 700 15px/1 var(--f-sans); letter-spacing: .04em; text-transform: uppercase;
    box-shadow: 0 10px 30px -10px rgba(255, 106, 43, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), translate .35s var(--ease);
    overflow: hidden; isolation: isolate;
}
.bml-btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
}
.bml-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 106, 43, .95); }
.bml-btn:hover::after { transform: translateX(120%); }
.bml-btn:active { transform: scale(.97); }
.bml-btn--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }
.bml-btn--xl { min-height: 64px; padding: 0 40px; font-size: 17px; }
.bml-btn--ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--line); }
.bml-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--fire-2), 0 0 30px -8px var(--fire); }

.bml-link { font-weight: 600; color: var(--fire-2); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- barber pole progress ---------- */
.bml-pole { position: fixed; z-index: 120; left: 0; top: 0; width: 100%; height: 3px; pointer-events: none; }
.bml-pole span {
    display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
    background: repeating-linear-gradient(-45deg, var(--red) 0 8px, #fff 8px 16px, var(--blue) 16px 24px, #fff 24px 32px);
    background-size: 45px 100%; animation: bml-pole 1s linear infinite;
}
@keyframes bml-pole { to { background-position: 45px 0; } }

/* ---------- top bar ---------- */
.bml-top {
    position: fixed; z-index: 100; left: 0; right: 0; top: 0;
    display: flex; align-items: center; gap: 16px;
    padding: calc(10px + env(safe-area-inset-top)) var(--gut) 10px;
    transition: background .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.bml-top.is-solid { background: rgba(13, 11, 10, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.bml-top.is-hidden { transform: translateY(-110%); }
.bml-top__logo img { width: 76px; height: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); }
.bml-top__nav, .bml-top__cta { display: none; }
.bml-burger {
    margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(13, 11, 10, .45); backdrop-filter: blur(8px);
    display: grid; place-content: center; gap: 6px; position: relative; z-index: 2;
}
.bml-burger span:not(.bml-sr) { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
.bml-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.bml-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.bml-menu {
    position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(96px + env(safe-area-inset-top)) var(--gut) calc(28px + env(safe-area-inset-bottom));
    background: radial-gradient(120% 70% at 100% 0%, rgba(255, 106, 43, .22), transparent 60%), var(--bg);
    clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease);
}
.bml-menu[hidden] { display: flex; visibility: hidden; }
.bml-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.bml-menu__links { display: flex; flex-direction: column; }
.bml-menu__links a {
    display: flex; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line);
    font: 800 clamp(38px, 11vw, 72px)/1 var(--f-display); text-transform: uppercase;
    opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease), color .3s;
}
.bml-menu__links small { font: 600 12px var(--f-sans); color: var(--fire-2); letter-spacing: .1em; }
.bml-menu.is-open .bml-menu__links a { opacity: 1; transform: none; }
.bml-menu.is-open .bml-menu__links a:nth-child(2) { transition-delay: .05s; }
.bml-menu.is-open .bml-menu__links a:nth-child(3) { transition-delay: .1s; }
.bml-menu.is-open .bml-menu__links a:nth-child(4) { transition-delay: .15s; }
.bml-menu.is-open .bml-menu__links a:nth-child(5) { transition-delay: .2s; }
.bml-menu__links a:hover { color: var(--fire-2); }
.bml-menu__foot { color: var(--ink-2); font-size: 15px; }
.bml-menu__foot .bml-btn { width: 100%; margin-bottom: 20px; }
.bml-menu__social { display: flex; gap: 20px; }
.bml-menu__social a { color: var(--ink); font-weight: 600; }

/* ---------- intro ---------- */
.bml-intro {
    position: fixed; inset: 0; z-index: 150; display: grid; place-content: center; text-align: center;
    background: #050403; pointer-events: none;
}
.bml-intro__neon { white-space: nowrap; font: 800 clamp(44px, 15vw, 180px)/1 var(--f-display); text-transform: uppercase; color: #2a211b; letter-spacing: .02em; }
.bml-intro__neon span { display: inline-block; transition: color .08s, text-shadow .08s; }
.bml-intro__neon span.is-lit { color: #fff4e6; text-shadow: var(--glow); }
.bml-intro__hint { font: italic 400 clamp(26px, 7vw, 48px)/1 var(--f-serif); color: var(--fire-2); opacity: 0; margin: 0 !important; }
html:not(.bml-js) .bml-intro, .bml-intro.is-done { display: none; }

/* ---------- hero ---------- */
.bml-hero {
    position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
    display: flex; align-items: flex-end;
    padding: 0 var(--gut) calc(var(--dock-h) + 36px + env(safe-area-inset-bottom));
    isolation: isolate;
}
.bml-hero__media { position: absolute; inset: 0; z-index: -3; }
.bml-hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
/* la luce: un livello grande già disegnato che deriva da solo (CSS); il contenitore si allarga scorrendo (GSAP). Solo transform, niente ridisegno */
.bml-hero__light { position: absolute; inset: 0; z-index: -2; pointer-events: none; will-change: transform; }
.bml-hero__dark {
    position: absolute; left: 0; top: 0;
    width: 300vmax; height: 300vmax; margin: -150vmax 0 0 -150vmax;
    transform: translate3d(50vw, 40vh, 0); will-change: transform;
    animation: bml-drift 22s ease-in-out infinite alternate;
    background:
        radial-gradient(circle at center, rgba(255, 179, 92, .12) 0, transparent 16vmax),
        radial-gradient(circle at center, transparent 0, rgba(8, 6, 5, .35) 14vmax, rgba(8, 6, 5, .93) 42vmax);
}
@keyframes bml-drift {
    0% { transform: translate3d(34vw, 44vh, 0); }
    35% { transform: translate3d(62vw, 34vh, 0); }
    70% { transform: translate3d(46vw, 52vh, 0); }
    100% { transform: translate3d(70vw, 42vh, 0); }
}
.bml-hero::after {
    content: ""; position: absolute; inset: auto 0 0; height: 55%; z-index: -1;
    background: linear-gradient(to top, var(--bg) 4%, rgba(13, 11, 10, .75) 40%, transparent);
}
.bml-hero__content { width: 100%; max-width: 1280px; margin: 0 auto; }
.bml-hero__title {
    font: 900 clamp(72px, min(27vw, 17svh), 260px)/.8 var(--f-display); text-transform: uppercase; letter-spacing: -.01em;
    margin: 0 0 24px !important;
}
.bml-line { display: block; overflow: hidden; padding-bottom: .04em; }
.bml-line > span { display: inline-block; white-space: nowrap; }
.bml-hero__title.is-open .bml-line, html:not(.bml-js) .bml-line { overflow: visible; }
/* nell'hero il bagliore lo danno le singole lettere (.bml-l) */
.bml-js .bml-hero__title .bml-neon { text-shadow: none; color: var(--ink); }
.bml-hero__title .bml-line:nth-child(2) { font: italic 400 .5em/1 var(--f-serif); text-transform: none; color: var(--fire-2); padding-left: .1em; }
.bml-hero__claims { position: relative; min-height: 5.4em; max-width: 34em; color: var(--ink-2); font-size: 16px; }
.bml-hero__claims p { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease); }
.bml-hero__claims p.is-on { opacity: 1; transform: none; }
.bml-hero__claims strong { display: block; color: var(--ink); font-weight: 700; }
.bml-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.bml-play { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; font-weight: 600; }
.bml-play__ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-content: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); position: relative; }
.bml-play__ring::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 179, 92, .5); animation: bml-ring 2.2s infinite; }
@keyframes bml-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.bml-play svg { width: 20px; fill: var(--ink); margin-left: 3px; }
.bml-hero__scroll { display: none; }

/* ---------- manifesto ---------- */
.bml-manifesto { padding: clamp(80px, 16vw, 200px) 0; }
.bml-manifesto__text { font: 800 clamp(40px, 10.5vw, 112px)/1 var(--f-display); text-transform: uppercase; margin: 0 !important; }
.bml-manifesto__text em { font: italic 400 1.05em/1 var(--f-serif); text-transform: none; }
.bml-w { opacity: .14; transition: opacity .2s, color .2s, text-shadow .2s; }
.bml-w.is-lit { opacity: 1; }
.bml-w.is-hot { color: #fff4e6; text-shadow: var(--glow); }
html:not(.bml-js) .bml-w { opacity: 1; }

/* ---------- story ---------- */
.bml-story { padding-bottom: clamp(64px, 10vw, 140px); }
.bml-story__grid { display: grid; gap: 48px; }
.bml-story__media { position: relative; height: 112vw; max-height: 720px; }
.bml-story__img { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.bml-story__img img { width: 100%; height: 100%; object-fit: cover; }
.bml-story__img--a { left: 0; top: 0; width: 78%; height: 58%; }
.bml-story__img--b { right: 0; bottom: 0; width: 56%; height: 62%; border: 6px solid var(--bg); }
.bml-story__badge { position: absolute; left: 4%; bottom: 6%; width: 34%; aspect-ratio: 1; animation: bml-spin 18s linear infinite; }
.bml-story__badge svg { width: 100%; height: 100%; overflow: visible; }
.bml-story__badge text { font: 700 15.5px var(--f-sans); letter-spacing: .2em; fill: var(--fire-2); }
@keyframes bml-spin { to { transform: rotate(360deg); } }
.bml-story__text p { color: var(--ink-2); max-width: 36em; }

.bml-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 64px; }
.bml-stat { border-top: 1px solid var(--line); padding-top: 16px; }
.bml-stat strong { display: block; font: 800 clamp(36px, 10vw, 96px)/1 var(--f-display); color: var(--ink); }
.bml-stat:nth-child(1) strong { color: var(--fire-2); }
.bml-stat > span { font-size: 13px; color: var(--ink-2); line-height: 1.3; display: block; margin-top: 6px; }

/* ---------- services (stories) ---------- */
.bml-services { padding: clamp(64px, 10vw, 140px) 0; background: linear-gradient(var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.bml-services__head { position: relative; }
.bml-services__hint { text-align: right; margin: -14px 0 12px !important; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.bml-services__hint span { display: inline-block; animation: bml-swipe 1.6s infinite; color: var(--fire-2); }
.bml-stories { position: relative; }
.bml-stories__bars { display: flex; gap: 6px; padding: 0 var(--gut); margin-bottom: 14px; }
.bml-stories__bars span { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bml-stories__bars i { display: block; height: 100%; background: var(--fire-2); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); box-shadow: 0 0 8px var(--fire); }
.bml-stories__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding: 0 var(--gut) 8px; scroll-padding: 0 var(--gut); scrollbar-width: none;
}
.bml-stories__track::-webkit-scrollbar { display: none; }
.bml-story-card {
    position: relative; scroll-snap-align: start; overflow: hidden; border-radius: 24px;
    aspect-ratio: 9 / 15; max-height: 76svh; width: 100%;
    display: flex; align-items: flex-end; isolation: isolate; background: var(--bg-3);
}
.bml-story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.bml-story-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 6, 5, .96) 8%, rgba(8, 6, 5, .4) 52%, rgba(8, 6, 5, .1)); }
.bml-story-card:hover img { transform: scale(1.12); }
.bml-story-card__body { padding: 24px; }
.bml-story-card__num { position: absolute; top: 18px; right: 22px; font: 800 64px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(255, 179, 92, .7); }
.bml-story-card__tag { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--fire-2); margin-bottom: 10px !important; }
.bml-story-card h3 { font: 800 clamp(36px, 10vw, 54px)/.92 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.bml-story-card p { color: var(--ink-2); font-size: 16px; }

/* ---------- why ---------- */
.bml-why { position: relative; padding: clamp(72px, 12vw, 160px) 0; overflow: hidden; isolation: isolate; }
.bml-why__bg { position: absolute; inset: -10% 0; z-index: -1; background-size: cover; background-position: center; opacity: .16; filter: grayscale(1) contrast(1.2); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.bml-why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.bml-why__list li { position: relative; padding: 28px 0 28px 64px; border-top: 1px solid var(--line); }
.bml-why__list li:last-child { border-bottom: 1px solid var(--line); }
.bml-why__n { position: absolute; left: 0; top: 26px; font: 800 40px/1 var(--f-display); color: var(--fire); text-shadow: 0 0 20px rgba(255, 106, 43, .5); }
.bml-why__list h3 { font: 800 30px/1 var(--f-display); text-transform: uppercase; margin-bottom: 10px; }
.bml-why__list p { color: var(--ink-2); margin: 0 !important; }

/* ---------- team ---------- */
.bml-team { padding: clamp(64px, 10vw, 140px) 0; overflow: hidden; }
.bml-team__track { display: grid; gap: 16px; padding: 8px var(--gut) 20px; }
.bml-member {
    position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
    background: radial-gradient(90% 60% at 50% 100%, rgba(255, 106, 43, .35), transparent 70%), linear-gradient(160deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line); isolation: isolate; transform-style: preserve-3d;
}
.bml-member__name {
    position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); z-index: 2; pointer-events: none;
    font: 900 clamp(120px, 34vw, 230px)/.8 var(--f-display); text-transform: uppercase; white-space: nowrap;
    color: transparent; -webkit-text-stroke: 1.5px rgba(255, 244, 230, .55); mix-blend-mode: overlay;
}
.bml-member__glow { position: absolute; inset: auto 10% -10%; height: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 106, 43, .55), transparent); filter: blur(10px); }
.bml-member img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
    translate: var(--tx, 0) var(--ty, 0); scale: 1.06; transition: translate .4s var(--ease), filter .6s;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 66%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0, #000 66%, transparent 100%);
    filter: saturate(.85);
}
.bml-member:hover img { filter: saturate(1.05); }
.bml-member figcaption { position: absolute; left: 20px; bottom: 18px; font: 800 30px/1 var(--f-display); text-transform: uppercase; text-shadow: 0 2px 20px #000; }
.bml-member figcaption::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 8px; background: repeating-linear-gradient(90deg, var(--red) 0 7px, #fff 7px 14px, var(--blue) 14px 21px); }

/* ---------- works marquee ---------- */
.bml-works { padding: clamp(64px, 10vw, 140px) 0; overflow: hidden; }
.bml-works__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 24px; margin-bottom: 8px; }
.bml-works__head .bml-link { margin-bottom: 36px; }
.bml-marquee { overflow: hidden; margin-bottom: 12px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bml-marquee__track { display: flex; gap: 12px; width: max-content; animation: bml-marquee 60s linear infinite; }
.bml-marquee--rev .bml-marquee__track { animation-direction: reverse; animation-duration: 70s; }
.bml-marquee:hover .bml-marquee__track { animation-play-state: paused; }
@keyframes bml-marquee { to { transform: translateX(calc(-50% - 6px)); } }
.bml-marquee__item { flex: none; width: 44vw; max-width: 260px; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--bg-3); }
.bml-marquee__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .6s; filter: saturate(.85); }
.bml-marquee__item:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* ---------- news ---------- */
.bml-news { padding: clamp(64px, 10vw, 140px) 0; }
.bml-news__list { display: grid; gap: 14px; }
.bml-news__item { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: border-color .3s, transform .3s var(--ease); }
.bml-news__item:hover { border-color: rgba(255, 179, 92, .5); transform: translateY(-3px); }
.bml-news__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-3); }
.bml-news__img img { width: 100%; height: 100%; object-fit: cover; }
.bml-news__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bml-news__body time { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fire-2); }
.bml-news__body strong { font-size: 17px; line-height: 1.25; }
.bml-news__body .bml-link { align-self: flex-start; font-size: 14px; }

/* ---------- final CTA ---------- */
.bml-cta { padding: clamp(80px, 14vw, 180px) 0; text-align: center; background: radial-gradient(70% 60% at 50% 100%, rgba(255, 106, 43, .25), transparent 70%); }
.bml-cta__title { font: 900 clamp(52px, 15vw, 170px)/.88 var(--f-display); text-transform: uppercase; margin-bottom: 20px !important; }
.bml-cta p { color: var(--ink-2); margin-bottom: 32px !important; }

/* ---------- visit / footer ---------- */
.bml-visit { position: relative; padding: clamp(72px, 12vw, 160px) 0; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.bml-visit__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .12; filter: grayscale(1); }
.bml-visit__grid { display: grid; gap: 14px; }
.bml-visit__card { padding: 24px; border-radius: var(--radius); background: rgba(23, 19, 16, .82); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.bml-visit__card h3 { font: 600 12px/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fire-2); margin-bottom: 16px; }
.bml-visit__addr { font: 700 26px/1.15 var(--f-display); text-transform: uppercase; }
.bml-big-link { font: 800 34px/1 var(--f-display); }
.bml-visit__card a:hover { color: var(--fire-2); }
.bml-visit__social { display: flex; gap: 20px; font-weight: 600; margin: 0 !important; }
.bml-pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bml-pay li { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }

.bml-foot { position: relative; padding: 0 0 32px; background: #080706; }
.bml-foot__pole { height: 10px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, #f3ebe0 14px 28px, var(--blue) 28px 42px, #f3ebe0 42px 56px); background-size: 79px 100%; animation: bml-pole 2.4s linear infinite; opacity: .85; }
.bml-foot__in { display: grid; gap: 24px; justify-items: center; text-align: center; padding-top: 40px; }
.bml-foot__logo { width: 150px; height: auto; }
.bml-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-weight: 600; font-size: 15px; }
.bml-foot nav a:hover { color: var(--fire-2); }
.bml-foot__copy { font-size: 13px; color: var(--ink-3); margin: 0 !important; }

/* ---------- dock (mobile) ---------- */
.bml-dock {
    position: fixed; z-index: 90; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 64px 1fr 64px; gap: 8px; align-items: center;
    padding: 7px; border-radius: 99px; background: rgba(20, 16, 13, .78); border: 1px solid var(--line);
    backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7);
    transform: translateY(0); transition: transform .5s var(--ease);
}
.bml-dock.is-hidden { transform: translateY(150%); }
.bml-dock__btn { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.bml-dock__btn svg { width: 22px; height: 22px; fill: var(--ink); }
.bml-dock__main {
    position: relative; height: 54px; border-radius: 99px; display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, var(--fire-2), var(--fire) 55%, #e2431a); color: #1a0d05 !important;
    font: 800 15px/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase;
    box-shadow: 0 0 24px -4px rgba(255, 106, 43, .9);
}
.bml-dock__flame { width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #fff3e0; box-shadow: 0 0 10px #fff, 0 0 18px var(--fire-2); animation: bml-flame 1.2s infinite alternate; }
@keyframes bml-flame { to { transform: scaleY(1.25) translateY(-1px); opacity: .8; } }

/* ---------- lightbox / video ---------- */
.bml-lightbox, .bml-video-modal {
    position: fixed; inset: 0; z-index: 160; display: grid; place-items: center;
    background: rgba(5, 4, 3, .94); backdrop-filter: blur(10px); padding: 64px 12px;
}
.bml-lightbox[hidden], .bml-video-modal[hidden] { display: none; }
.bml-lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; }
.bml-lightbox__fig img { max-height: calc(100svh - 140px); width: auto; margin: 0 auto; border-radius: 12px; animation: bml-zoom .4s var(--ease); }
@keyframes bml-zoom { from { opacity: 0; transform: scale(.94); } }
.bml-lightbox__close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); font-size: 28px; line-height: 1; }
.bml-lightbox__nav { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); font-size: 30px; line-height: 1; }
.bml-lightbox__nav--prev { left: calc(50% - 64px); }
.bml-lightbox__nav--next { right: calc(50% - 64px); }
.bml-video-modal video { width: 100%; max-width: 1100px; max-height: 80svh; border-radius: 14px; background: #000; }

.bml-grain {
    position: fixed; inset: 0; z-index: 140; pointer-events: none; opacity: .045;
    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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- inner pages ---------- */
.bml-phero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; padding: 120px 0 40px; overflow: hidden; isolation: isolate; }
.bml-phero__bg { position: absolute; inset: -8% 0 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.08); filter: saturate(.85); }
.bml-phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 6%, rgba(13, 11, 10, .78) 50%, rgba(13, 11, 10, .5)); }
.bml-post .bml-phero::after, .bml-testo .bml-phero::after { background: linear-gradient(to top, var(--bg) 10%, rgba(13, 11, 10, .88) 55%, rgba(13, 11, 10, .62)); }
.bml-phero__title { font: 900 clamp(62px, 18vw, 190px)/.85 var(--f-display); text-transform: uppercase; overflow: hidden; padding-bottom: .05em; margin-bottom: 14px !important; overflow-wrap: anywhere; }
.bml-single .bml-phero__title, .bml-post .bml-phero__title, .bml-testo .bml-phero__title { font-size: clamp(40px, 10vw, 100px); }
.bml-phero__title span { display: inline-block; }
.bml-phero__sub { color: var(--ink-2); font-size: 18px; max-width: 34em; margin: 0 !important; }
.bml-phero__back { display: inline-block; margin-bottom: 20px; }

.bml-split { display: grid; gap: 8px 48px; margin-bottom: 40px; }
.bml-split p { color: var(--ink-2); }

.bml-grid { columns: 2; column-gap: 10px; margin-top: 24px; }
.bml-grid__item { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; break-inside: avoid; background: var(--bg-3); }
.bml-grid__item img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.bml-grid__item:hover img { transform: scale(1.05); }

.bml-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 12px; }
.bml-tabs button { border: 0; background: none; padding: 12px 22px; border-radius: 99px; font-weight: 700; color: var(--ink-2); transition: background .3s, color .3s; }
.bml-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }

.bml-contact { display: grid; gap: 32px; }
.bml-contact__quick { display: grid; gap: 12px; }
.bml-contact__tile { display: block; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); transition: border-color .3s, transform .3s var(--ease); }
.bml-contact__tile:hover { border-color: rgba(255, 179, 92, .5); transform: translateY(-3px); }
.bml-contact__tile small { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--fire-2); margin-bottom: 6px; }
.bml-contact__tile strong { font: 800 clamp(22px, 6vw, 30px)/1.1 var(--f-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bml-contact__tile--hot { background: linear-gradient(135deg, rgba(255, 179, 92, .18), rgba(255, 106, 43, .1)); border-color: rgba(255, 106, 43, .45); }
.bml-contact__form { padding: 28px 22px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg-2); }

.bml-prose { color: var(--ink-2); font-size: 18px; }
.bml-article { max-width: 820px; }
.bml-prose h2, .bml-prose h3 { color: var(--ink); font-family: var(--f-display); text-transform: uppercase; line-height: 1; margin: 1.4em 0 .5em; }
.bml-prose h2 { font-size: 40px; }
.bml-prose h3 { font-size: 30px; }
.bml-prose h3:first-child, .bml-prose h2:first-child { margin-top: 0; }
.bml-prose b, .bml-prose strong { color: var(--ink); }
.bml-prose a { color: var(--fire-2); text-decoration: underline; text-underline-offset: 3px; }
.bml-prose img { height: auto; border-radius: 16px; margin: 1.5em 0; }
.bml-prose ul, .bml-prose ol { padding-left: 1.2em; }
.bml-article__cta { margin-top: 40px !important; }
/* Contact Form 7 */
.bml-prose input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .bml-prose textarea, .bml-prose select {
    width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
    font: 400 16px var(--f-sans); transition: border-color .3s, box-shadow .3s;
}
.bml-prose input:focus, .bml-prose textarea:focus { outline: 0; border-color: var(--fire-2); box-shadow: 0 0 0 4px rgba(255, 106, 43, .18); }
.bml-prose label { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.bml-prose input[type="submit"], .bml-prose button[type="submit"] {
    min-height: 54px; padding: 0 32px; border: 0; border-radius: 99px; cursor: pointer;
    background: linear-gradient(135deg, var(--fire-2), var(--fire) 55%, #e2431a); color: #1a0d05; font: 700 15px var(--f-sans); text-transform: uppercase; letter-spacing: .04em;
}
.bml-prose .wpcf7-response-output { border-radius: 12px; margin: 16px 0 0 !important; }

/* prenotazioni (Salon Booking): il modulo del plugin su una scheda chiara, così i suoi stili restano leggibili */
.bml-booking {
    max-width: 980px; margin: 0 auto; padding: 22px 16px; border-radius: 24px;
    background: #f6f1ea; color: #1d1714; font-size: 16px;
    box-shadow: 0 0 0 1px rgba(255, 179, 92, .35), 0 40px 90px -40px rgba(255, 106, 43, .45);
}
.bml-booking a:not([class*="btn"]) { color: #b8401a; }
.bml-booking #sln-salon, .bml-booking .sln-bootstrap { background: transparent; max-width: none; }
.bml-booking .sln-btn--emphasis, .bml-booking .sln-btn--emphasis button, .bml-booking .sln-btn--emphasis input,
.bml-booking button[type="submit"], .bml-booking input[type="submit"] {
    background: linear-gradient(135deg, var(--fire-2), var(--fire) 55%, #e2431a) !important;
    border-color: transparent !important; color: #140c06 !important; font-weight: 700;
}
.bml-booking__help { margin-top: 22px !important; text-align: center; color: var(--ink-2); }
@media (min-width: 760px) { .bml-booking { padding: 40px; } }
.bml-pager .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.bml-pager .page-numbers { min-width: 44px; height: 44px; display: grid; place-content: center; border-radius: 99px; border: 1px solid var(--line); }
.bml-pager .current { background: var(--ink); color: var(--bg); }

/* ---------- reveal ---------- */
.bml-js [data-reveal] { opacity: 0; transform: translateY(28px); }
.bml-js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* ---------- tablet / desktop ---------- */
@media (min-width: 760px) {
    .bml-stories__track { grid-auto-columns: 46%; }
    .bml-team__track { grid-template-columns: repeat(2, 1fr); max-width: 1000px; margin: 0 auto; gap: 24px; padding-bottom: 80px; }
    .bml-member:nth-child(2) { margin-top: 64px; }
    .bml-member { aspect-ratio: 3 / 4; }
    .bml-news__list { grid-template-columns: repeat(2, 1fr); }
    .bml-visit__grid { grid-template-columns: repeat(2, 1fr); }
    .bml-visit__head { grid-column: 1 / -1; }
    .bml-grid { columns: 3; }
    .bml-contact__quick { grid-template-columns: repeat(3, 1fr); }
    .bml-split { grid-template-columns: 1fr 1fr; align-items: end; }
}

@media (min-width: 1080px) {
    html body.bml { padding-bottom: 0; }
    .bml-dock { display: none; }
    .bml-pole { left: auto; right: 0; width: 6px; height: 100%; }
    .bml-pole span { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); background: repeating-linear-gradient(-45deg, var(--red) 0 8px, #fff 8px 16px, var(--blue) 16px 24px, #fff 24px 32px); background-size: 100% 45px; animation: bml-pole-v 1s linear infinite; }
    @keyframes bml-pole-v { to { background-position: 0 45px; } }

    .bml-top { padding-top: 18px; padding-bottom: 18px; }
    .bml-top__logo img { width: 96px; }
    .bml-top__nav { display: flex; gap: 30px; margin-left: auto; font-weight: 600; font-size: 15px; }
    .bml-top__nav a { position: relative; padding: 6px 0; }
    .bml-top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--fire); transform: scaleX(0); transform-origin: 0; transition: transform .4s var(--ease); box-shadow: 0 0 10px var(--fire); }
    .bml-top__nav a:hover::after { transform: scaleX(1); }
    .bml-top__cta { display: inline-flex; }
    .bml-burger { display: none; }

    .bml-hero { align-items: center; padding-bottom: 0; }
    .bml-hero__content { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 0 64px; }
    .bml-hero__kicker { grid-column: 1 / -1; grid-row: 1; }
    .bml-hero__title { grid-column: 1; grid-row: 2 / span 2; margin: 0 !important; font-size: clamp(110px, min(15vw, 25vh), 228px); }
    .bml-hero__claims { grid-column: 2; grid-row: 2; font-size: 18px; min-height: 7em; }
    .bml-hero__actions { grid-column: 2; grid-row: 3; padding-bottom: .4em; }
    .bml-hero__scroll { display: block; position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 99px; }
    .bml-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--fire-2); animation: bml-scroll 1.8s infinite; }
    @keyframes bml-scroll { to { transform: translateY(14px); opacity: 0; } }

    .bml-story__grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 80px; }
    .bml-story__media { height: 680px; }
    .bml-stats { gap: 32px; }

    .bml-services__hint { display: none; }
    .bml-stories__bars { display: none; }
    .bml-stories__track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; max-width: 1280px; margin: 0 auto; }
    .bml-story-card { aspect-ratio: 3 / 4.6; }

    .bml-why__list { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .bml-why__list li { padding: 80px 0 0; border: 0 !important; border-top: 1px solid var(--line) !important; }
    .bml-why__n { top: 20px; }


    .bml-news__list { grid-template-columns: repeat(3, 1fr); }
    .bml-news__item { grid-template-columns: 1fr; padding: 14px; }
    .bml-news__img { aspect-ratio: 4 / 3; }

    .bml-visit__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 20px; }
    .bml-visit__card { padding: 32px; }

    .bml-grid { columns: 4; column-gap: 14px; }
    .bml-grid__item { margin-bottom: 14px; }
    .bml-contact { grid-template-columns: 1fr 1.3fr; align-items: start; }
    .bml-contact__quick { grid-template-columns: 1fr; }
    .bml-contact__form { padding: 40px; }

    .bml-foot__in { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; }
    .bml-foot nav { justify-content: center; justify-self: center; }
}

/* ---------- effetti speciali ---------- */

/* scintille */
.bml-sparks { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 155; pointer-events: none; }

/* lettere del titolo: spente, poi si accendono a scatti come un'insegna in corto circuito */
.bml-l { position: relative; display: inline-block; transition: color .3s; }
.bml-js .bml-hero__title .bml-l:not(.is-on) { color: rgba(243, 235, 224, .3); }
.bml-l::after {
    content: attr(data-l); position: absolute; left: 0; top: 0; pointer-events: none;
    color: #fff4e6; text-shadow: var(--glow); opacity: 0; will-change: opacity;
}
.bml-l.is-on::after, html:not(.bml-js) .bml-l::after { opacity: 1; }
.bml-l.is-zap::after { color: #fff; text-shadow: 0 0 .06em #fff, 0 0 .2em #fff2d6, 0 0 .5em var(--fire-2), 0 0 1.2em var(--fire); }
/* insegna quasi guasta: ronzio continuo (cali brevissimi, sfasati per lettera) e lettera "morente" a mezza luce */
.bml-hero__title.is-hum .bml-l.is-on::after { animation: bml-hum var(--hd, 3.3s) var(--hdl, 0s) infinite; }
.bml-js .bml-hero__title .bml-l.is-dim:not(.is-on) { color: rgba(243, 235, 224, .42); }
.bml-l.is-dim:not(.is-on)::after { opacity: .22; }
@keyframes bml-hum {
    0%, 100% { opacity: 1; }
    41% { opacity: 1; } 42% { opacity: .72; } 43% { opacity: 1; }
    77% { opacity: 1; } 78% { opacity: .86; } 79.5% { opacity: .6; } 81% { opacity: 1; }
}

/* intro: lampo quando l'insegna si accende */
.bml-intro::before {
    content: ""; position: absolute; inset: -20%; pointer-events: none; opacity: 0; transform: scale(.2);
    background: radial-gradient(circle, rgba(255, 214, 160, .85), rgba(255, 106, 43, .35) 28%, transparent 60%);
}
.bml-intro.is-flash::before { opacity: 1; transform: scale(1.6); transition: transform .9s var(--ease), opacity .5s; }
.bml-intro > * { position: relative; }

/* parole in corsivo che si accendono come un'insegna */
.bml-h2 em, .bml-cta__title .bml-neon { display: inline-block; }
.bml-js .bml-h2.is-in em { animation: bml-ignite 1.3s .35s both; }
.bml-js .bml-cta__title.is-in .bml-neon { animation: bml-ignite 1.3s .3s both, bml-flicker 5s 2s infinite; }
@keyframes bml-ignite {
    0% { opacity: .2; text-shadow: none; }
    8% { opacity: 1; text-shadow: 0 0 .25em rgba(255, 150, 70, .9); }
    12% { opacity: .25; text-shadow: none; }
    20% { opacity: 1; text-shadow: 0 0 .25em rgba(255, 150, 70, .9); }
    24% { opacity: .45; text-shadow: none; }
    38%, 100% { opacity: 1; text-shadow: 0 0 .16em rgba(255, 190, 120, .55), 0 0 .5em rgba(255, 106, 43, .35); }
}

/* effetto lama: taglio diagonale con filo di luce */
.bml-grid__item, .bml-news__img { position: relative; }
.bml-js [data-cut]:not(.is-done) { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); }
.bml-js [data-cut].is-cut:not(.is-done) { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); transition: clip-path 1.15s cubic-bezier(.75, 0, .2, 1); }
[data-cut]::after {
    content: ""; position: absolute; top: -6%; bottom: -6%; left: 0; width: 100%; z-index: 6; pointer-events: none; opacity: 0;
    background: linear-gradient(100deg, transparent calc(100% - 34px), rgba(255, 179, 92, .35) calc(100% - 10px), #fff8ef calc(100% - 2px), transparent 100%);
    transform: translateX(-115%);
}
.bml-js [data-cut].is-cut::after { animation: bml-blade 1.15s cubic-bezier(.75, 0, .2, 1) forwards; }
@keyframes bml-blade {
    0% { opacity: 1; transform: translateX(-115%); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateX(15%); }
}
.bml-member::after { border-radius: 24px; }

/* palo da barbiere 3D */
.bml-bigpole { display: flex; flex-direction: column; align-items: center; margin: 0 auto 34px; width: max-content; filter: drop-shadow(0 0 34px rgba(255, 106, 43, .45)); }
.bml-bigpole__cap { display: block; width: 78px; height: 24px; border-radius: 40px 40px 8px 8px; background: linear-gradient(90deg, #4a3b30, #e9dcc9 30%, #fff 42%, #9a8673 68%, #2c221b); box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .35); }
.bml-bigpole__cap--b { border-radius: 8px 8px 40px 40px; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .35); }
.bml-bigpole__glass { position: relative; display: block; width: 62px; height: clamp(170px, 28vw, 240px); overflow: hidden; background: #f3ebe0; }
.bml-bigpole__glass i {
    position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 128px); will-change: transform;
    background: repeating-linear-gradient(-60deg, var(--red) 0 16px, #f6f1ea 16px 32px, var(--blue) 32px 48px, #f6f1ea 48px 64px);
}
.bml-bigpole__glass::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .08) 26%, rgba(255, 255, 255, .6) 38%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .12) 74%, rgba(0, 0, 0, .65));
}
.bml-marquee { will-change: transform; }

/* transizioni tra le pagine: taglio diagonale, intestazione e barra restano ferme */
@view-transition { navigation: auto; }
.bml-top { view-transition-name: bml-top; }
.bml-dock { view-transition-name: bml-dock; }
::view-transition-old(root) { animation: bml-vt-out .5s cubic-bezier(.7, 0, .3, 1) both; }
::view-transition-new(root) { animation: bml-vt-in .65s cubic-bezier(.75, 0, .2, 1) both; }
@keyframes bml-vt-out { to { opacity: .25; transform: scale(.94); filter: brightness(.5); } }
@keyframes bml-vt-in {
    from { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); }
    to { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .bml-intro { display: none; }
    body.bml *, body.bml *::before, body.bml *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .bml-js [data-reveal] { opacity: 1; transform: none; }
    .bml-w { opacity: 1; }
    .bml-js [data-cut] { clip-path: none !important; }
    .bml-sparks { display: none; }
    @view-transition { navigation: none; }
}
