/* ==========================================================================
   mauropanigati.it — stili del tema
   Token: theme.json. Qui layout, componenti e stati animati.
   ========================================================================== */

:root {
	--mp-ink: #0B0D12;
	--mp-ink-2: #101114;
	--mp-mist: #F5F4F8;
	--mp-line: #E4E3EA;
	--mp-line-2: #DCDCE2;
	--mp-g500: #6E717B;
	--mp-g600: #5A5D66;
	--mp-g700: #4A4D56;
	--mp-g400: #8B8F9A;
	--mp-g300: #A9ADB8;
	--mp-g200: #C9CCD4;
	--mp-orange: #FF6C11;
	--mp-orange-h: #FF8236;
	--mp-pink: #FF3D81;
	--mp-lilac: #C9A7FF;
	--mp-cyan: #00F0FF;
	--mp-grad: linear-gradient(90deg, #FF6C11, #FF3D81 35%, #C9A7FF 65%, #00F0FF);
	--mp-grad-soft: linear-gradient(90deg, #FF6C11, #C9A7FF, #00F0FF);
	--mp-gutter: clamp(20px, 5vw, 64px);
	--mp-ease: cubic-bezier(.2, .7, .1, 1);
	--mp-ease-io: cubic-bezier(.65, 0, .15, 1);
	--mp-sec: clamp(80px, 11vw, 144px);
	--mp-manrope: Manrope, Inter, sans-serif;
	--mp-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--mp-cyan); color: var(--mp-ink); }
:where(a, button, input, summary):focus-visible { outline: 2px solid var(--mp-cyan); outline-offset: 2px; }
input::placeholder, textarea::placeholder { color: var(--mp-g400); }
img { max-width: 100%; height: auto; }
.mp-main { display: block; }
.wp-site-blocks { padding: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; }
:where(.mp-main, .mp-footer) :where(p, h1, h2, h3, ul, ol, figure) { margin: 0; }

/* -------------------------------------------------------------- utilità */
.mp-wrap { position: relative; max-width: calc(1440px + 2 * var(--mp-gutter)); margin-inline: auto; padding-inline: var(--mp-gutter); }
.mp-wrap--narrow { max-width: 880px; }
.mp-mono { font-family: var(--mp-mono); }
.mp-grad { background: var(--mp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mp-outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.mp-muted { color: var(--mp-g500); }
.mp-sec { padding-block: var(--mp-sec); position: relative; }
.mp-bg-white { background: #fff; color: var(--mp-ink-2); }
.mp-bg-mist { background: var(--mp-mist); color: var(--mp-ink-2); }
.mp-dark { background: var(--mp-ink); color: #fff; position: relative; overflow: hidden; }
.mp-sec.mp-bg-mist + .mp-sec.mp-bg-white,
.mp-sec.mp-bg-white + .mp-sec.mp-bg-mist { box-shadow: inset 0 1px 0 rgba(16, 17, 20, .08); }

.mp-eyebrow, p.is-style-eyebrow {
	font-family: var(--mp-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-g600); line-height: 1.4;
}
.mp-dark .mp-eyebrow { color: var(--mp-g300); }
.mp-num { font-family: var(--mp-mono); font-size: 12px; color: var(--mp-orange); }

.mp-dot-note { display: flex; align-items: center; gap: 8px; font-family: var(--mp-mono); font-size: 13px; color: var(--mp-g200); }
.mp-dot-note::before, .mp-dot::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mp-cyan); flex: none;
}

/* -------------------------------------------------------------- tipografia */
.mp-h1 { font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(36px, 6.2vw, 92px); line-height: .96; letter-spacing: -0.045em; color: #fff; }
.mp-h1--home { font-size: clamp(36px, 7vw, 100px); }
.mp-h1--xl { font-size: clamp(44px, 8vw, 128px); line-height: .92; letter-spacing: -0.05em; }
.mp-h1--case { font-size: clamp(52px, 10vw, 160px); line-height: .9; letter-spacing: -0.055em; }
.mp-h1--balance { text-wrap: balance; }
/* Spazio extra sotto ogni riga (compensato dal margine negativo) per non tagliare g, p, q durante il reveal. */
.mp-h1 .mp-l { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.16em; }
.mp-h1 .mp-l > .mp-li { display: block; transition: transform .9s var(--mp-ease); }
/* H1 SEO: etichetta mono sopra lo slogan (lo slogan resta visivamente il titolo). */
.mp-kicker { font-family: var(--mp-mono); font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 0; }
h1.mp-home-hero__meta { font-weight: 400; line-height: 1.5; }
.mp-h1--xl .mp-outline, .mp-hero .mp-outline { -webkit-text-stroke: 1.5px rgba(255, 255, 255, .8); }

.mp-h2 { font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.mp-h2-l { font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(34px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.mp-h2-m { font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.mp-h2-s { font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.03em; }
.mp-h2-xl { font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(40px, 5.6vw, 84px); line-height: .96; letter-spacing: -0.045em; text-wrap: balance; }
.mp-h3-l { font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.mp-lead { max-width: 580px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--mp-g200); text-wrap: pretty; }
.wp-block-heading.is-style-outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }

/* -------------------------------------------------------------- bottoni */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
	box-shadow: 0 0 0 1px rgba(255, 108, 17, .4), 0 12px 40px -8px rgba(255, 108, 17, .55);
	transition: background .15s ease, border-color .15s ease, color .15s ease, transform .25s var(--mp-ease);
}
.wp-block-button.mp-arrow .wp-block-button__link::after { content: "→"; font-family: var(--mp-mono); font-weight: 500; }
.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent; color: #fff; font-weight: 500; padding: 16px 22px; border: 1px solid rgba(255, 255, 255, .22); box-shadow: none;
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover { border-color: var(--mp-cyan); color: #fff; }
.mp-hero--msg .is-style-ghost .wp-block-button__link:hover,
.mp-hero--legal .is-style-ghost .wp-block-button__link:hover { border-color: #fff; }
.wp-block-button.is-style-underline .wp-block-button__link {
	background: none; color: var(--mp-ink-2); box-shadow: none; padding: 0 0 4px; border-radius: 0;
	border-bottom: 1px solid var(--mp-ink-2); font-weight: 500; font-size: 15px; gap: 8px;
}
.wp-block-button.is-style-underline .wp-block-button__link:hover { color: var(--mp-orange); border-color: var(--mp-orange); }

/* -------------------------------------------------------------- header */
.mp-header-part { position: fixed; inset: 0 0 auto; z-index: 50; }
.admin-bar .mp-header-part { top: var(--wp-admin--admin-bar--height, 32px); }
.mp-header { border-bottom: 1px solid transparent; transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease; }
.mp-header.is-scrolled { background: rgba(11, 13, 18, .72); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: rgba(255, 255, 255, .08); }
.mp-header__row {
	position: relative; z-index: 0; max-width: calc(1440px + 2 * var(--mp-gutter)); margin: 0 auto; padding: 18px var(--mp-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mp-logo { margin: 0; line-height: 0; }
.mp-logo img { height: 40px; width: auto !important; }
.mp-footer .mp-logo img { height: 40px; }
.mp-header__actions { display: flex; align-items: center; gap: 8px; }
.mp-header__cta .wp-block-button__link { display: inline-block; white-space: nowrap; font-size: 14px; line-height: 44px; min-height: 44px; padding: 0 18px; border-radius: 12px; box-shadow: none; }

/* nav desktop */
nav.mp-nav { position: absolute; left: 50%; transform: translateX(-50%); font-size: 18px; font-weight: 700; color: var(--mp-g200); }
nav.mp-nav .wp-block-navigation__submenu-container { font-size: 14px; font-weight: 400; }
.mp-nav .wp-block-navigation__container { gap: 28px; }
.mp-nav .wp-block-navigation-item__content { padding: 8px 0; color: var(--mp-g200); position: relative; }
.mp-nav .wp-block-navigation-item__content:hover,
.mp-nav .current-menu-item > .wp-block-navigation-item__content,
.mp-nav .current-menu-ancestor > .wp-block-navigation-item__content { color: #fff; }
.mp-nav > .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--mp-cyan);
}
.mp-nav .wp-block-navigation__submenu-icon { width: auto; height: auto; margin-left: 6px; color: inherit; transition: transform .25s ease; }
.mp-nav .wp-block-navigation__submenu-icon svg { display: none; }
.mp-nav .wp-block-navigation__submenu-icon::before { content: "▾"; font-family: var(--mp-mono); font-size: 10px; }
.mp-nav .has-child:hover > .wp-block-navigation__submenu-icon,
.mp-nav .has-child:focus-within > .wp-block-navigation__submenu-icon,
.mp-nav .wp-block-navigation__submenu-icon[aria-expanded="true"] { transform: rotate(180deg); }
.mp-nav .has-child .wp-block-navigation__submenu-container {
	left: -16px !important; top: 100% !important; width: 320px !important; min-width: 320px !important; padding: 8px !important; margin-top: 12px;
	background: rgba(11, 13, 18, .94) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
	transform: translateY(-6px); transition: opacity .2s ease, transform .3s var(--mp-ease), visibility .2s ease !important;
}
.mp-nav .has-child .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 13px; }
.mp-nav .has-child:hover > .wp-block-navigation__submenu-container,
.mp-nav .has-child:focus-within > .wp-block-navigation__submenu-container,
.mp-nav .has-child .wp-block-navigation__submenu-icon[aria-expanded="true"] ~ .wp-block-navigation__submenu-container { transform: none; }
.mp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: flex; flex-direction: column; gap: 4px; padding: 12px 14px !important; border-radius: 10px; white-space: normal;
}
.mp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .08); }
.mp-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { background: rgba(255, 255, 255, .06); }
.mp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label { font-family: var(--mp-manrope); font-weight: 700; font-size: 16px; color: #fff; }
.mp-nav .wp-block-navigation-item__description { display: block; font-size: 13px; line-height: 1.4; color: var(--mp-g300); }

/* nav mobile (overlay core) */
nav.mp-nav-mobile { display: none; }
.mp-nav-mobile .wp-block-navigation__responsive-container-open {
	position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(11, 13, 18, .4); color: #fff; display: flex; align-items: center; justify-content: center; padding: 0;
}
.mp-nav-mobile .wp-block-navigation__responsive-container-open svg { display: none; }
.mp-nav-mobile .wp-block-navigation__responsive-container-open::before,
.mp-nav-mobile .wp-block-navigation__responsive-container-open::after {
	content: ""; position: absolute; left: 13px; right: 13px; top: 50%; height: 2px; margin-top: -1px; background: #fff; border-radius: 2px;
}
.mp-nav-mobile .wp-block-navigation__responsive-container-open::before { transform: translateY(-4px); }
.mp-nav-mobile .wp-block-navigation__responsive-container-open::after { transform: translateY(4px); }
.mp-nav-mobile .wp-block-navigation__responsive-container.is-menu-open {
	z-index: -1; background: var(--mp-ink) !important; color: #fff !important;
	padding: 112px var(--mp-gutter) 32px !important; overflow: auto; animation: mp-fade .35s ease both;
}
.mp-nav-mobile .wp-block-navigation__responsive-container.is-menu-open::before {
	content: ""; position: fixed; width: 700px; height: 700px; left: -300px; bottom: -380px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(255, 108, 17, .45), rgba(255, 61, 129, .18) 45%, rgba(201, 167, 255, 0) 75%);
}
@keyframes mp-fade { from { opacity: 0; } to { opacity: 1; } }
.mp-nav-mobile .wp-block-navigation__responsive-container-close {
	top: 18px; right: var(--mp-gutter); width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(11, 13, 18, .4); color: #fff; display: flex; align-items: center; justify-content: center;
}
.admin-bar .mp-nav-mobile .wp-block-navigation__responsive-container-close { top: calc(18px + var(--wp-admin--admin-bar--height, 32px)); }
.mp-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	position: relative; align-items: stretch !important; padding-top: 0 !important; gap: 0 !important;
}
.mp-nav-mobile .is-menu-open .wp-block-navigation__container {
	width: 100%; flex-direction: column; align-items: stretch !important; gap: 0 !important; border-top: 1px solid rgba(255, 255, 255, .12);
}
.mp-nav-mobile .is-menu-open .wp-block-navigation-item { width: 100%; flex-direction: column; align-items: stretch !important; }
.mp-nav-mobile .is-menu-open .wp-block-navigation-item__content {
	display: flex !important; align-items: baseline; gap: 16px; width: 100%; padding: 14px 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff;
	font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(32px, 8.5vw, 56px); line-height: 1; letter-spacing: -0.04em;
	animation: mp-up .6s var(--mp-ease) both;
}
.mp-nav-mobile .is-menu-open .wp-block-navigation-item:nth-child(2) .wp-block-navigation-item__content { animation-delay: .12s; }
.mp-nav-mobile .is-menu-open .wp-block-navigation-item:nth-child(3) .wp-block-navigation-item__content { animation-delay: .32s; }
.mp-nav-mobile .is-menu-open .wp-block-navigation-item:nth-child(4) .wp-block-navigation-item__content { animation-delay: .36s; }
@keyframes mp-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.mp-nav-mobile .mp-n { font-family: var(--mp-mono); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--mp-cyan); }
.mp-nav-mobile .is-menu-open .mp-svc > .wp-block-navigation-item__content {
	font-family: var(--mp-mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
	color: var(--mp-g300); padding: 22px 0 8px !important; border-bottom: 0; gap: 16px; pointer-events: none;
}
.mp-nav-mobile .is-menu-open .mp-svc .wp-block-navigation__submenu-icon { display: none; }
.mp-nav-mobile .is-menu-open .wp-block-navigation__submenu-container {
	padding: 0 !important; border: 0 !important; background: none !important; gap: 0 !important; width: 100%;
}
.mp-nav-mobile .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding-left: 28px !important; font-size: clamp(24px, 6.4vw, 36px);
}
.mp-nav-mobile .is-menu-open .mp-nav-meta > .wp-block-navigation-item__content {
	margin-top: 40px; border: 0; font-family: var(--mp-mono); font-weight: 400; font-size: 15px; letter-spacing: 0; padding: 0 !important;
}
html.has-modal-open .mp-header, .mp-header:has(.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-color: transparent; }
html.has-modal-open .mp-nav-mobile .wp-block-navigation__responsive-container-open,
nav.mp-nav-mobile:has(.is-menu-open) .wp-block-navigation__responsive-container-open { visibility: hidden; }
/* A menu aperto il contenitore <nav> non deve intercettare i tocchi destinati alla X. */
.mp-header:has(.is-menu-open) .mp-header__actions, nav.mp-nav-mobile:has(.is-menu-open) { pointer-events: none; }
.mp-header:has(.is-menu-open) .mp-header__cta, .mp-header:has(.is-menu-open) .mp-logo { pointer-events: auto; }
nav.mp-nav-mobile .wp-block-navigation__responsive-container.is-menu-open { pointer-events: auto; }

@media (max-width: 1119px) {
	nav.mp-nav { display: none; }
	nav.mp-nav-mobile { display: flex; }
	.mp-hide-m { display: none; }
}

/* -------------------------------------------------------------- hero */
.mp-hero { padding: clamp(120px, 16vh, 168px) 0 0; }
.mp-hero::before, .mp-hero::after, .mp-cta::before, .mp-footer::before {
	content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(30px); will-change: transform;
}
.mp-hero::before {
	width: 900px; height: 900px; left: -260px; bottom: -460px;
	background: radial-gradient(closest-side, rgba(255, 108, 17, .5), rgba(255, 61, 129, .2) 45%, rgba(201, 167, 255, 0) 75%);
	transform: translate(var(--gx, 0px), var(--gy, 0px));
}
.mp-hero::after {
	width: 800px; height: 800px; right: -280px; top: -260px;
	background: radial-gradient(closest-side, rgba(0, 240, 255, .34), rgba(75, 123, 255, .16) 50%, rgba(140, 92, 255, 0) 78%);
	transform: translate(calc(var(--gx, 0px) * -1), calc(var(--gy, 0px) * -1));
}
.mp-hero > .mp-wrap { z-index: 1; }
.mp-hero__grid { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px clamp(40px, 6vw, 96px); }
.mp-hero__text { flex: 1.5 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: clamp(56px, 9vh, 96px); }
.mp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.mp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mp-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-g300); }
.mp-crumbs a { color: var(--mp-g300); }
.mp-crumbs a:hover { color: #fff; }
.mp-crumbs [aria-current] { color: #fff; }
.mp-hero__media { flex: 1 1 280px; max-width: 420px; width: 100%; margin: 0 auto; position: relative; align-self: stretch; min-height: min(500px, 105vw); }
.mp-hero__media--wide { flex-basis: 340px; max-width: 580px; min-height: min(540px, 92vw); }
.mp-hero__media::before {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 60%; height: 34px; margin-left: -30%; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
	opacity: var(--mp-sh-o, 1); transform: scaleX(var(--mp-sh-s, 1));
}
.mp-hero__media--wide::before, .mp-hero__media--line::before { width: 90%; margin-left: -45%; height: 40px; }
.mp-hero__media--line::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px; background: var(--mp-grad);
	transform-origin: left center; transform: scaleX(var(--mp-line, 0)); opacity: var(--mp-line-o, 0);
}
.mp-hero__media .mp-avatar { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); transform-origin: 50% 100%; will-change: transform; }
.mp-hero__media .mp-avatar img { height: min(500px, 62vh, 100vw); width: auto; max-width: none; }
.mp-hero__media--wide .mp-avatar { bottom: 14px; width: min(100%, calc(64vh * 1.094)); }
.mp-hero__media--wide .mp-avatar img { width: 100%; height: auto; }
.mp-land .mp-avatar { transform: translateX(-50%) translateY(-140%); }
.mp-land.is-landed .mp-avatar { transform: translateX(-50%); }
/* Mobile (riquadro sotto il testo): l'avatar entra dal bordo del suo spazio, senza passare sopra il testo. */
.mp-land.is-stacked { clip-path: inset(0 -100vw -100vw -100vw); }

/* home hero */
.mp-hero--home::before { width: 900px; height: 900px; bottom: -420px; background: radial-gradient(closest-side, rgba(255, 108, 17, .55), rgba(255, 61, 129, .22) 45%, rgba(201, 167, 255, 0) 75%); }
.mp-hero--home::after { top: -200px; background: radial-gradient(closest-side, rgba(0, 240, 255, .38), rgba(75, 123, 255, .18) 50%, rgba(140, 92, 255, 0) 78%); }
.mp-home-hero__meta {
	display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--mp-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
	color: var(--mp-g300); margin-bottom: clamp(32px, 5vh, 56px);
}
.mp-dot { display: inline-flex; align-items: center; gap: 8px; }
.mp-stage { position: relative; padding: 28px 0 32px; cursor: ew-resize; touch-action: pan-y; }
.mp-stage__grid { display: grid; }
.mp-stage__grid > * { grid-area: 1 / 1; position: relative; }
.mp-bp { pointer-events: none; }
.mp-bp__cols { position: absolute; inset: -28px 0 -32px 0; background-image: repeating-linear-gradient(90deg, rgba(0, 240, 255, .10) 0 1px, transparent 1px calc(100% / 12)); }
.mp-bp__rule { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(0, 240, 255, .28); }
.mp-bp__lab { position: absolute; font-family: var(--mp-mono); font-size: 12px; color: var(--mp-cyan); white-space: nowrap; }
.mp-bp .mp-h1 { color: transparent; -webkit-text-stroke: 1px rgba(233, 222, 255, .55); }
.mp-bp .mp-h1 .mp-grad { background: none; -webkit-text-stroke: 1px var(--mp-cyan); }
.mp-seam {
	position: absolute; top: 0; bottom: 0; left: 55%; width: 1px; pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 240, 255, 0), #00F0FF 18%, #00F0FF 82%, rgba(0, 240, 255, 0));
}
.mp-seam__tag {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: flex; font-family: var(--mp-mono); font-size: 11px;
	letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border: 1px solid rgba(0, 240, 255, .5); border-radius: 999px;
	background: rgba(11, 13, 18, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden;
}
.mp-seam__tag span { padding: 5px 10px; color: var(--mp-cyan); }
.mp-seam__tag span + span { color: var(--mp-ink); background: var(--mp-cyan); }
.mp-seam__knob {
	position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 1px solid var(--mp-cyan);
	background: rgba(11, 13, 18, .7); display: flex; align-items: center; justify-content: center; font-family: var(--mp-mono); font-size: 11px; color: var(--mp-cyan);
}
.mp-home-hero__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px;
	margin-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(56px, 9vh, 96px);
}
.mp-home-hero__bottom .mp-lead { max-width: 560px; }

/* hero varianti */
.mp-hero--projects { padding: clamp(140px, 20vh, 200px) 0 clamp(64px, 9vw, 112px); }
.mp-hero--projects::before { bottom: -560px; }
.mp-hero--projects::after { top: -300px; }
.mp-hero__split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.mp-hero__split > .mp-hero__text { flex: 1 1 640px; padding: 0; }
.mp-hero__split > .mp-lead { flex: 0 1 420px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.mp-hero--case { padding: clamp(140px, 20vh, 200px) 0 0; }
.mp-hero--case::before { display: none; }
.mp-hero--case::after { top: -300px; background: radial-gradient(closest-side, rgba(0, 240, 255, .3), rgba(75, 123, 255, .14) 50%, rgba(140, 92, 255, 0) 78%); }
.mp-hero--case .mp-crumbs { margin-bottom: 28px; }
.mp-case__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.mp-case__top .mp-h1 { flex: 1 1 600px; }
.mp-case__top .mp-lead { flex: 0 1 440px; }
.mp-facts { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 1000px) { .mp-facts:has(> :nth-child(5)) { grid-template-columns: repeat(5, 1fr); } }
.mp-facts > div { padding: 18px 24px 18px 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: #fff; }
.mp-facts .mp-facts__k { font-family: var(--mp-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-g300); }
.mp-case__cover { margin-top: clamp(32px, 4vw, 56px); position: relative; aspect-ratio: 16 / 9; border-radius: 28px 28px 0 0; overflow: hidden; background: #1A1C22; }
.mp-case__heroimg { position: absolute; left: 0; right: 0; top: -8%; bottom: -8%; will-change: transform; }
.mp-case__heroimg img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.mp-hero--contact { padding: clamp(130px, 17vh, 176px) 0 0; }
.mp-hero--msg { padding: clamp(130px, 17vh, 176px) 0 0; min-height: 100vh; }
.mp-hero--msg + * { margin-top: 0; }
.mp-msg { display: flex; flex-direction: column; gap: 28px; min-height: 52vh; justify-content: center; }
.mp-msg .mp-lead { max-width: 560px; }
.mp-msg .mp-lead a, .mp-lead a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mp-msg .wp-block-buttons { margin-top: 8px; }
.mp-eyebrow--live { display: flex; align-items: center; gap: 8px; color: var(--mp-cyan) !important; }
.mp-eyebrow--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mp-cyan); }
.mp-hero--legal { padding: clamp(130px, 17vh, 176px) 0 clamp(56px, 8vh, 96px); }
.mp-hero--legal .mp-wrap { display: flex; flex-direction: column; gap: 28px; }

/* -------------------------------------------------------------- intestazioni di sezione */
.mp-head { display: flex; flex-wrap: wrap; gap: 20px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(40px, 5vw, 64px); }
.mp-head__main { flex: 1 1 560px; display: flex; flex-direction: column; gap: 20px; }
.mp-head__aside { flex: 0 1 420px; font-size: 17px; line-height: 1.55; color: var(--mp-g700); }
.mp-dark .mp-head__aside { color: var(--mp-g300); }
.mp-head--tight { margin-bottom: 40px; gap: 24px; }
.mp-head--tight .mp-head__main { gap: 16px; flex: 0 1 auto; }

/* split etichetta laterale + contenuto */
.mp-split { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.mp-split > .mp-side-label { flex: 0 0 160px; padding-top: 14px; }
.mp-split > .mp-h2-l, .mp-split > .mp-h2-xl, .mp-split__main { flex: 1 1 640px; }
.mp-split__main { display: flex; flex-direction: column; gap: 28px; }
.mp-split--head { margin-bottom: clamp(40px, 5vw, 64px); }
.mp-sec .mp-split > .mp-side-label { flex-basis: 180px; padding-top: 12px; }
.mp-problem .mp-split > .mp-side-label { flex-basis: 160px; padding-top: 14px; }
.mp-case__body { max-width: 62ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--mp-g700); text-wrap: pretty; }

/* -------------------------------------------------------------- card numerate */
.mp-numcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--mp-ink-2); }
.mp-numcards--light { margin-top: clamp(40px, 5vw, 64px); border-top-color: var(--mp-line); }
.mp-numcard { padding: 24px 24px 0 0; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; align-content: start; }
.mp-numcard .mp-num { padding-top: 5px; }
.mp-numcard h3 { font-family: var(--mp-manrope); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
.mp-numcard p:not(.mp-num) { grid-column: 2; font-size: 16px; line-height: 1.55; color: var(--mp-g600); max-width: 40ch; }
.mp-numcards--light .mp-numcard { gap: 6px 8px; }
.mp-numcards--light .mp-numcard h3 { font-size: 20px; }
.mp-numcards--light .mp-numcard p:not(.mp-num) { font-size: 15px; max-width: 38ch; }

/* soluzione + ruoli (home) */
.mp-solution { margin-top: clamp(64px, 8vw, 104px); display: flex; flex-wrap: wrap; gap: 20px 64px; align-items: flex-end; justify-content: space-between; }
.mp-solution h3 { flex: 1 1 520px; }
.mp-solution p { flex: 1 1 380px; max-width: 480px; font-size: 17px; line-height: 1.55; color: var(--mp-g700); text-wrap: pretty; }
.mp-roles { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--mp-ink-2); padding-top: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.mp-roles__words { display: flex; flex-wrap: wrap; gap: .05em .3em; font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(36px, 6vw, 92px); line-height: 1; letter-spacing: -0.045em; }
.mp-role, .mp-role-me { position: relative; color: transparent; -webkit-text-stroke: 1.5px var(--mp-g500); transition: -webkit-text-stroke-color .5s ease; }
.mp-role.is-on { -webkit-text-stroke-color: #D5D6DB; }
.mp-role::after {
	content: ""; position: absolute; left: -3%; right: -3%; top: 50%; height: .07em; margin-top: -.035em; background: var(--mp-orange);
	transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--mp-ease-io);
}
.mp-role.is-on::after { transform: scaleX(1); }
.mp-role-me { display: inline-block; }
.mp-role-me::after {
	content: attr(data-t); position: absolute; inset: 0; -webkit-text-stroke: 0; background: var(--mp-grad);
	-webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(-10% 100% -10% 0); transition: clip-path .9s var(--mp-ease-io);
}
.mp-role-me.is-on::after { clip-path: inset(-10% -2% -10% 0); }
.mp-roles > p:last-child { max-width: 60ch; font-size: 17px; line-height: 1.55; color: var(--mp-g700); text-wrap: pretty; }

/* -------------------------------------------------------------- servizi home */
.mp-svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--mp-line-2); }
.mp-svc-card { position: relative; padding: 32px 32px 8px 0; display: flex; flex-direction: column; gap: 18px; }
.mp-svc-card h3 { font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.025em; }
.mp-svc-card > p:not(.mp-more) { font-size: 16px; line-height: 1.55; color: var(--mp-g700); max-width: 38ch; text-wrap: pretty; }
.mp-rows { list-style: none; padding: 0; display: flex; flex-direction: column; font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g600); border-top: 1px solid var(--mp-line-2); }
.mp-rows li { padding: 10px 0; border-bottom: 1px solid var(--mp-line-2); }
.mp-more { margin-top: 4px; font-weight: 500; font-size: 15px; }
.mp-more a::after { content: " →"; font-family: var(--mp-mono); }

/* linee disegnate (gradiente sopra le card) */
.mp-draw { position: relative; }
.mp-draw::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--mp-grad-soft);
	transform-origin: left center; transition: transform 1.4s var(--mp-ease-io) var(--mp-dd, 250ms);
}
.mp-js .mp-draw:not(.is-in)::before { transform: scaleX(0); }

/* -------------------------------------------------------------- features */
.mp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: clamp(32px, 4vw, 48px); }
.mp-feat { padding-top: 24px; border-top: 1px solid var(--mp-line-2); display: flex; flex-direction: column; gap: 10px; }
.mp-feat h3 { font-family: var(--mp-manrope); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.mp-feat p:not(.mp-num) { font-size: 16px; line-height: 1.55; color: var(--mp-g700); max-width: 40ch; text-wrap: pretty; }
.mp-feat:has(.mp-num) { gap: 12px; }
.mp-feat:has(.mp-num) h3 { font-size: 24px; }

/* -------------------------------------------------------------- processo (step) */
.mp-steps { position: relative; }
.mp-steps::before, .mp-steps::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; }
.mp-steps::before { background: rgba(255, 255, 255, .1); }
.mp-steps::after { background: var(--mp-grad); transform-origin: left center; transition: transform 1.4s var(--mp-ease-io) 250ms; }
.mp-js .mp-steps:not(.is-in)::after { transform: scaleX(0); }
.mp-steps__list { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px clamp(24px, 3vw, 40px); }
.mp-step { display: flex; flex-direction: column; gap: 12px; }
.mp-step::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--mp-ink); border: 2px solid var(--mp-orange); box-shadow: 0 0 0 6px var(--mp-ink); }
.mp-step:nth-child(2)::before { border-color: var(--mp-pink); }
.mp-step:nth-child(3)::before { border-color: var(--mp-lilac); }
.mp-step:nth-child(4)::before { border-color: var(--mp-cyan); }
.mp-step__n { font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g300); margin-top: 8px !important; }
.mp-step h3 { font-family: var(--mp-manrope); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.mp-step p:not([class*="mp-"]) { font-size: 16px; line-height: 1.5; color: var(--mp-g300); }
.mp-step__out { font-family: var(--mp-mono); font-size: 12px; color: var(--mp-cyan); }
@media (max-width: 1119px) { .mp-steps::before, .mp-steps::after { display: none; } }

/* -------------------------------------------------------------- prezzi */
.mp-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 48px); }
.mp-price { border-top: 1px solid var(--mp-ink-2); padding-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.mp-price h3 { font-family: var(--mp-manrope); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.mp-price__amt { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mp-price__da, .mp-price__per { font-family: var(--mp-mono); font-size: 13px; color: var(--mp-g600); }
.mp-price__v { font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.045em; }
.mp-price__d { font-size: 16px; line-height: 1.55; color: var(--mp-g700); max-width: 38ch; }
.mp-plus { list-style: none; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--mp-line); font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g700); }
.mp-plus li { padding: 11px 0; border-bottom: 1px solid var(--mp-line); display: flex; gap: 10px; }
.mp-plus li::before { content: "+"; color: var(--mp-orange); }
.mp-sec .mp-head__aside:only-child, .mp-prices + * { margin: 0; }
.mp-head:has(+ .mp-prices) .mp-head__aside { flex-basis: 380px; font-size: 15px; color: var(--mp-g600); }

/* -------------------------------------------------------------- FAQ */
.mp-faq { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 6vw, 96px); }
.mp-faq__head { flex: 1 1 300px; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.mp-faq__list { flex: 1.6 1 480px; min-width: 0; border-top: 1px solid var(--mp-ink-2); }
.mp-faq__item { border-bottom: 1px solid var(--mp-line-2); }
.mp-faq__item summary {
	list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer;
	font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.02em; transition: color .15s ease;
}
.mp-faq__item summary::-webkit-details-marker { display: none; }
.mp-faq__item summary::after { content: "+"; font-family: var(--mp-mono); font-size: 18px; color: var(--mp-orange); flex: 0 0 auto; transition: transform .25s ease; }
.mp-faq__item[open] summary::after { transform: rotate(45deg); }
.mp-faq__item summary:hover { color: var(--mp-orange); }
.mp-faq__item p { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.6; color: var(--mp-g700); max-width: 62ch; }

/* -------------------------------------------------------------- CTA + strip servizi */
.mp-cta { padding: clamp(96px, 12vw, 160px) 0 0; }
.mp-cta::before {
	inset: 0; border-radius: 0; filter: none;
	background: radial-gradient(45% 55% at 95% 10%, rgba(0, 240, 255, .22), rgba(140, 92, 255, .1) 45%, rgba(0, 0, 0, 0) 70%);
}
.mp-cta__row { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.mp-cta__main { flex: 1 1 560px; display: flex; flex-direction: column; gap: 24px; }
.mp-cta__main .mp-lead { max-width: 520px; }
.mp-cta__side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.mp-cta__mail { font-family: var(--mp-mono); font-size: 15px; }
.mp-svc-strip { display: flex; flex-direction: column; gap: 16px; margin-top: clamp(72px, 9vw, 120px); }
.mp-svc-strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 720px) { .mp-svc-strip__grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 4vw, 64px); } }
.mp-svc-link a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding: 24px 24px 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; height: 100%; }
.mp-svc-link a:hover { color: var(--mp-orange); }
.mp-svc-link__t { font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1; order: 1; }
.mp-svc-link__i { font-family: var(--mp-mono); font-size: 20px; order: 2; }
.mp-svc-link__d { font-size: 15px; color: var(--mp-g300); order: 3; flex: 1 0 100%; }

/* -------------------------------------------------------------- footer */
.mp-footer { position: relative; overflow: hidden; background: var(--mp-ink); color: #fff; padding-top: clamp(96px, 10vw, 144px); }
.mp-footer::before {
	width: 1400px; height: 900px; left: -480px; bottom: -520px; filter: none;
	background: radial-gradient(closest-side, rgba(255, 108, 17, .38), rgba(255, 61, 129, .16) 55%, rgba(0, 0, 0, 0) 100%);
}
.mp-footer > .mp-wrap { z-index: 1; }
.mp-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px 64px; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.mp-footer__brand { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.mp-footer__brand p { font-size: 15px; line-height: 1.55; color: var(--mp-g300); text-wrap: pretty; }
.mp-footer__cols { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 5vw, 80px); }
.mp-footer__col { display: flex; flex-direction: column; gap: 14px; min-width: 140px; font-size: 15px; }
.mp-footer__col a { color: var(--mp-g200); }
.mp-footer__col a:hover { color: #fff; }
.mp-footer__h { font-family: var(--mp-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mp-g400); }
.mp-footer__muted { color: var(--mp-g300); }
.mp-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0 40px;
	border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g400);
}
.mp-footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.mp-footer__legal a:hover { color: #fff; }
.mp-footer__legal .mp-totop { color: var(--mp-g200); }
.mp-footer__legal .mp-totop:hover { color: var(--mp-cyan); }
.mp-main > :last-child.mp-cta + .mp-footer, .mp-footer-part { margin: 0; }

/* -------------------------------------------------------------- progetti (home, track orizzontale) */
.mp-ptrack-sec { position: relative; }
/* Modalità base (senza JS o schermi molto bassi): scorrimento orizzontale a swipe. */
.mp-ptrack-pin { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 72px; }
.mp-ptrack {
	display: flex; align-items: flex-start; gap: clamp(20px, 2.4vw, 36px); padding: 0 var(--mp-gutter);
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--mp-gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.mp-ptrack::-webkit-scrollbar { display: none; }
.mp-ptrack > * { scroll-snap-align: start; }
/* Modalità "pin": la sezione si blocca e lo scroll verticale fa avanzare le card (desktop e mobile). */
.mp-ptrack-sec.is-pinned .mp-ptrack-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: clamp(96px, 12vh, 128px) 0 clamp(32px, 5vh, 56px); }
.mp-ptrack-sec.is-pinned .mp-ptrack { overflow: visible; scroll-snap-type: none; will-change: transform; }
.mp-ptrack__intro { flex: 0 0 min(460px, 82vw); display: flex; flex-direction: column; gap: 24px; padding-right: clamp(0px, 2vw, 32px); }
.mp-ptrack__title { font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(44px, 5.6vw, 88px); line-height: .94; letter-spacing: -0.05em; }
.mp-ptrack__title .mp-outline { -webkit-text-stroke: 1.5px var(--mp-ink-2); }
.mp-ptrack__intro > p:last-child { max-width: 380px; font-size: 17px; line-height: 1.55; color: var(--mp-g600); }
.mp-pcard { position: relative; flex: 0 0 min(600px, 80vw, max(280px, calc((100svh - 420px) * 4 / 3))); display: flex; flex-direction: column; gap: 10px; color: var(--mp-ink-2); }
.mp-pcard__img { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--mp-mist); margin-bottom: 10px !important; }
.mp-pcard__img a { position: absolute; inset: 0; display: block; transition: transform 1s var(--mp-ease); }
.mp-pcard:hover .mp-pcard__img a { transform: scale(1.04); }
.mp-pcard__img img { position: absolute; top: 0; bottom: 0; left: -10%; width: 120%; max-width: none; height: 100%; object-fit: cover; object-position: left top; will-change: transform; }
.mp-pimg--paleari img { scale: 1.9; transform-origin: 88% 50%; }
.mp-pcard__title { display: flex; align-items: baseline; gap: 14px; font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.025em; }
.mp-pcard__title a { flex: 1; }
.mp-pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mp-pcard__title .mp-num { letter-spacing: 0; font-weight: 400; }
.mp-pcard__arrow { font-family: var(--mp-mono); font-size: 18px; font-weight: 400; }
.mp-pcard__tag { font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g600); }
.mp-pcard__line { font-size: 16px; line-height: 1.5; color: var(--mp-g700); max-width: 52ch; text-wrap: pretty; }
.mp-ptrack__end { flex: 0 0 min(320px, 70vw); align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 16px; border-left: 1px solid var(--mp-line); padding-left: clamp(24px, 3vw, 40px); }
.mp-ptrack__all { font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(36px, 3.6vw, 56px); line-height: .98; letter-spacing: -0.045em; }
.mp-pbar { margin: clamp(28px, 5vh, 48px) var(--mp-gutter) 0; display: flex; align-items: center; gap: 16px; font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g600); }
.mp-pbar__count { color: var(--mp-ink-2); min-width: 56px; }
.mp-pbar__line { flex: 1; height: 1px; background: var(--mp-line); position: relative; }
.mp-pbar__line::after { content: ""; position: absolute; left: 0; right: 0; top: -.5px; height: 2px; background: var(--mp-grad); transform-origin: left center; transform: scaleX(var(--p, 0)); }
.mp-pbar__hint { text-transform: uppercase; letter-spacing: .06em; }


/* -------------------------------------------------------------- metodo (home) */
.mp-method { height: 190vh; overflow: visible; }
.mp-method__sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.mp-method__grid { width: 100%; padding-top: clamp(88px, 10vh, 120px); padding-bottom: clamp(56px, 8vh, 96px); display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.mp-method__text { flex: 1 1 340px; max-width: 440px; display: flex; flex-direction: column; gap: 24px; }
.mp-method__lead { font-size: 17px; line-height: 1.55; color: var(--mp-g300); }
.mp-msteps { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .1); }
.mp-mstep { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: .55; transition: opacity .4s ease; }
.mp-mstep.is-on { opacity: 1; }
.mp-mstep__n { font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g300); padding-top: 4px; transition: color .4s ease; }
.mp-mstep.is-on .mp-mstep__n { color: var(--mp-cyan); }
.mp-mstep h3 { font-family: var(--mp-manrope); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.mp-mstep p:not([class*="mp-"]) { grid-column: 2; font-size: 15px; line-height: 1.5; color: var(--mp-g300); }
.mp-mstep__o { font-family: var(--mp-mono); font-size: 12px; color: var(--mp-cyan); }
.mp-method__map { flex: 1.5 1 460px; position: relative; min-width: 0; }
.mp-mmap { position: relative; width: 100%; aspect-ratio: 1566 / 698; }
.mp-mmap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mp-mmap__bg { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 46; stroke-linejoin: miter; }
.mp-mmap__path { fill: none; stroke: url(#mpgrad); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.mp-mnode { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; }
.mp-mnode__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--mp-ink); border: 2px solid rgba(255, 255, 255, .25); transition: all .4s ease; }
.mp-mnode__l { position: absolute; white-space: nowrap; font-family: var(--mp-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-g400); transition: color .4s ease; }
.mp-mnode--right .mp-mnode__l { left: 26px; top: -4px; }
.mp-mnode--top .mp-mnode__l { bottom: 28px; left: 50%; transform: translateX(-50%); }
.mp-mnode--bottom .mp-mnode__l { top: 28px; left: 50%; transform: translateX(-50%); }
.mp-mnode.is-on .mp-mnode__l { color: #fff; }
.mp-mnode.is-on .mp-mnode__dot { border-color: var(--mp-lilac); box-shadow: 0 0 0 6px rgba(0, 240, 255, .12), 0 0 24px rgba(0, 240, 255, .5); }
.mp-mnode:first-of-type.is-on .mp-mnode__dot { border-color: var(--mp-orange); }
.mp-mnode:last-of-type.is-on .mp-mnode__dot { border-color: var(--mp-cyan); }
@media (max-width: 1119px) {
	.mp-method { height: auto; }
	.mp-mstep { opacity: 1; }
	.mp-mstep .mp-mstep__n { color: var(--mp-cyan); }
	.mp-mnode__l { display: none; }
}

/* -------------------------------------------------------------- perché io (home) */
.mp-why { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); }
.mp-why__media { flex: 1 1 340px; max-width: 480px; width: 100%; margin: 0 auto; position: relative; min-height: min(560px, 110vw); align-self: stretch; }
.mp-why__media::before {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 56%; height: 30px; margin-left: -28%; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(16, 17, 20, .32), rgba(16, 17, 20, 0));
	opacity: var(--mp-sh-o, 1); transform: scaleX(var(--mp-sh-s, 1)); transform-origin: center;
}
.mp-why__media .mp-avatar { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); transform-origin: 50% 100%; will-change: transform; }
.mp-why__media .mp-avatar img { height: min(540px, 72vh, 100vw); width: auto; max-width: none; }
.mp-why__text { flex: 1.4 1 480px; display: flex; flex-direction: column; gap: 40px; }
.mp-why__head { display: flex; flex-direction: column; gap: 20px; }
.mp-rows3 { display: flex; flex-direction: column; border-top: 1px solid var(--mp-ink-2); }
.mp-row3 { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.3fr); gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--mp-line); align-items: baseline; }
.mp-row3 h3 { font-family: var(--mp-manrope); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.mp-row3 p:not(.mp-num) { font-size: 16px; line-height: 1.5; color: var(--mp-g600); }
@media (max-width: 1119px) {
	.mp-row3 { grid-template-columns: 36px minmax(0, 1fr); }
	.mp-row3 p:not(.mp-num) { grid-column: 2; }
}

/* -------------------------------------------------------------- chi sono */
.mp-rules { border-top: 1px solid var(--mp-ink-2); }
.mp-rule { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding: 26px 0; border-bottom: 1px solid var(--mp-line); }
.mp-rule .mp-num { flex: 0 0 40px; }
.mp-rule h3 { flex: 1 1 280px; font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.025em; }
.mp-rule p:not(.mp-num) { flex: 1.3 1 340px; font-size: 17px; line-height: 1.55; color: var(--mp-g600); }
.mp-places { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .1em .4em; font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(40px, 6.4vw, 104px); line-height: 1; letter-spacing: -0.045em; }
.mp-places li { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); transition: color .3s ease; }
.mp-places li:hover { color: #fff; }
.mp-places li:first-child { -webkit-text-stroke: 0; }
.mp-places + .mp-dot-note { margin-top: clamp(32px, 4vw, 48px); }
.mp-clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--mp-ink-2); border-left: 1px solid var(--mp-line); }
.mp-client { min-height: 180px; padding: 24px; border-right: 1px solid var(--mp-line); border-bottom: 1px solid var(--mp-line); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.mp-client__n { font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.035em; line-height: 1.05; }
.mp-client__s { font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g600); }
.mp-client--cta { padding: 0; }
.mp-client__cta { height: 100%; }
.mp-client__cta a { height: 100%; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: var(--mp-ink); color: #fff; transition: background .2s ease, color .2s ease; }
.mp-client__cta a .mp-client__s { color: inherit; }
.mp-client__cta a:hover { background: var(--mp-orange); color: var(--mp-ink); }
.mp-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.mp-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--mp-line); }
.mp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 1s var(--mp-ease); }
.mp-photo--musica img { object-position: 50% 30%; }
.mp-photo--volley img { object-position: 50% 40%; }
.mp-photo:hover img { transform: scale(1.04); }
.mp-photo figcaption {
	position: absolute; left: 16px; bottom: 16px; margin: 0; font-family: var(--mp-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
	color: #fff; background: rgba(11, 13, 18, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 999px;
}

/* -------------------------------------------------------------- pagina progetti */
.mp-sec--projects { padding: clamp(56px, 7vw, 96px) 0 var(--mp-sec); }
.mp-filterbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-bottom: 24px; border-bottom: 1px solid var(--mp-ink-2); margin-bottom: clamp(48px, 6vw, 88px); }
.mp-filters { gap: 8px; }
.mp-filters .wp-block-button__link {
	min-height: 44px; padding: 0 18px !important; border-radius: 999px; font-size: 14px; font-weight: 400;
	background: #fff !important; color: var(--mp-ink-2) !important; border: 1px solid var(--mp-line-2) !important; box-shadow: none !important;
}
.mp-filters .is-active .wp-block-button__link { background: var(--mp-ink-2) !important; color: #fff !important; border-color: var(--mp-ink-2) !important; }
.mp-filters__count { font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g600); }
.mp-projlist { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 128px); }
.mp-proj { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(32px, 5vw, 80px); }
.mp-proj[hidden] { display: none; }
@media (min-width: 1120px) { .mp-proj.is-even { flex-direction: row-reverse; } }
.mp-shot { flex: 1.5 1 520px; min-width: 0; position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: var(--mp-mist); }
.mp-shot__img, .mp-shot__img a { position: absolute; inset: 0; }
.mp-shot__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: object-position 7s cubic-bezier(.45, 0, .55, 1); }
.mp-shot:hover .mp-shot__img img { object-position: center bottom; }
.mp-shot__hint {
	position: absolute; right: 16px; bottom: 16px; pointer-events: none; font-family: var(--mp-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
	color: #fff; background: rgba(11, 13, 18, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 6px 10px; border-radius: 999px;
}
.mp-proj__text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.mp-proj__tag { display: flex; align-items: baseline; gap: 14px; font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g600); }
.mp-proj__name { font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(36px, 4.4vw, 64px); line-height: .96; letter-spacing: -0.045em; }
.mp-proj__line { font-size: 17px; line-height: 1.55; color: var(--mp-g700); max-width: 46ch; text-wrap: pretty; }
.mp-meta { display: flex; flex-direction: column; border-top: 1px solid var(--mp-line); font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g700); }
.mp-meta__row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mp-line); }
.mp-meta__k { color: var(--mp-g600); min-width: 84px; }
.mp-meta__k--accent { color: var(--mp-orange); }
.mp-soon { font-family: var(--mp-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-g600); }

/* -------------------------------------------------------------- blog: elenco articoli */
.mp-posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mp-ink-2); }
.mp-postrow {
	position: relative; display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: baseline; gap: 12px clamp(24px, 4vw, 64px);
	padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--mp-line);
}
.mp-postrow__date { font-family: var(--mp-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-g600); }
.mp-postrow__text { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.mp-postrow__title { font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.mp-postrow__title a { color: inherit; text-decoration: none; transition: color .15s ease; }
.mp-postrow__title a::after { content: ""; position: absolute; inset: 0; }
.mp-postrow:hover .mp-postrow__title a { color: var(--mp-orange); }
.mp-postrow__excerpt p { font-size: 16px; line-height: 1.55; color: var(--mp-g700); max-width: 68ch; text-wrap: pretty; }
.mp-postrow__excerpt .wp-block-post-excerpt__more-text { display: none; }
.mp-postrow__more {
	font-family: var(--mp-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-ink-2); text-decoration: none;
	display: inline-flex; gap: 8px; white-space: nowrap; transition: color .15s ease, transform .25s var(--mp-ease);
}
.mp-postrow__more::after { content: "→"; }
.mp-postrow:hover .mp-postrow__more { color: var(--mp-orange); transform: translateX(4px); }
@media (max-width: 781px) {
	.mp-postrow { grid-template-columns: minmax(0, 1fr); }
	.mp-postrow__more { justify-self: start; }
}
.mp-pager { margin-top: clamp(40px, 5vw, 64px); font-family: var(--mp-mono); font-size: 13px; gap: 16px; }
.mp-pager a { color: var(--mp-ink-2); text-decoration: none; }
.mp-pager a:hover { color: var(--mp-orange); }
.mp-pager .page-numbers { padding: 6px 10px; }
.mp-pager .page-numbers.current { color: #fff; background: var(--mp-ink-2); border-radius: 999px; }

/* -------------------------------------------------------------- blog: articolo */
.mp-hero--post .mp-wrap, .mp-sec--post .mp-wrap { max-width: calc(980px + 2 * var(--mp-gutter)); }
.mp-h1--post { font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.mp-sec--post { padding: clamp(56px, 7vw, 96px) 0 var(--mp-sec); }
.mp-sec--post .mp-wrap > * { max-width: 760px; }
.mp-article { font-size: 18px; line-height: 1.7; color: var(--mp-g700); }
.mp-article > * + * { margin-top: 1.1em; }
.mp-article h2 { margin-top: 2em; font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.03em; color: var(--mp-ink-2); text-wrap: balance; }
.mp-article h3 { margin-top: 1.7em; font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -0.02em; color: var(--mp-ink-2); }
.mp-article h4 { margin-top: 1.5em; font-weight: 700; font-size: 18px; color: var(--mp-ink-2); }
.mp-article h2 + *, .mp-article h3 + *, .mp-article h4 + * { margin-top: .6em; }
.mp-article strong { color: var(--mp-ink-2); }
.mp-article a { color: var(--mp-ink-2); text-decoration: underline; text-decoration-color: var(--mp-orange); text-underline-offset: 3px; }
.mp-article a:hover { color: var(--mp-orange); }
.mp-article :is(ul, ol) { padding-left: 1.3em; }
.mp-article li + li { margin-top: .4em; }
.mp-article li::marker { color: var(--mp-orange); }
.mp-article blockquote { margin-inline: 0; padding-left: 24px; border-left: 2px solid var(--mp-orange); font-size: 20px; color: var(--mp-ink-2); }
.mp-article figure { margin-block: 2em; }
.mp-article img { border-radius: 16px; }
.mp-article .wp-block-table { overflow-x: auto; }
.mp-article table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.mp-article :is(th, td) { padding: 12px 14px; border-bottom: 1px solid var(--mp-line); text-align: left; vertical-align: top; }
.mp-article th { font-family: var(--mp-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mp-g600); border-bottom-color: var(--mp-ink-2); }
.mp-article hr { border: 0; border-top: 1px solid var(--mp-line); margin-block: 2.5em; }
.mp-article__back { margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--mp-ink-2); }

/* -------------------------------------------------------------- caso studio */
.mp-mock { overflow: clip; }
.mp-mock::before {
	content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; margin: -450px 0 0 -450px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(140, 92, 255, .22), rgba(0, 240, 255, .08) 55%, rgba(0, 0, 0, 0));
}
.mp-mock > .mp-wrap { display: flex; flex-direction: column; gap: 24px; perspective: 1600px; }
.mp-mock__track { position: relative; height: 260vh; }
.mp-mock__sticky { position: sticky; top: max(9vh, 72px); display: flex; justify-content: center; }
.mp-browser {
	position: relative; width: min(100%, calc(78vh * 1.55)); will-change: transform; transform-origin: 50% 100%; border-radius: 18px; overflow: hidden;
	background: #15181F; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(140, 92, 255, .12);
}
.mp-browser__bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mp-browser__dots { display: flex; gap: 8px; width: 49px; }
.mp-browser__dots span { width: 11px; height: 11px; border-radius: 50%; background: #3A3E48; }
.mp-browser__url { margin: 0 auto; transform: translateX(-24px); padding: 5px 18px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-family: var(--mp-mono); font-size: 12px; color: var(--mp-g300); }
.mp-browser__view { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; }
.mp-browser__img img { width: 100%; height: auto; will-change: transform; }
.mp-rescards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--mp-ink-2); }
.mp-rescard { padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.mp-rescard h3 { font-family: var(--mp-manrope); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.mp-rescard p { font-size: 16px; line-height: 1.55; color: var(--mp-g600); max-width: 38ch; }
.mp-sec-next { position: relative; padding: clamp(56px, 7vw, 96px) 0; }
.mp-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; position: relative; }
.mp-next__text { display: flex; flex-direction: column; gap: 14px; }
.mp-next__t { font-family: var(--mp-manrope); font-weight: 800; font-size: clamp(44px, 7vw, 112px); line-height: .92; letter-spacing: -0.05em; }
.mp-next__t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mp-next:hover .mp-next__t a { color: var(--mp-orange); }
.mp-next__img { flex: 0 1 420px; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; }
.mp-next__img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* -------------------------------------------------------------- privacy */
.mp-sec--legal { padding: clamp(64px, 8vw, 112px) 0; }
.mp-sec--legal .mp-wrap { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.mp-legal { scroll-margin-top: 120px; display: flex; flex-direction: column; gap: 20px; padding-top: 32px; border-top: 1px solid var(--mp-ink-2); }
.mp-legal h2 { font-family: var(--mp-manrope); font-weight: 700; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }
.mp-legal > p, .mp-legal li { font-size: 16px; line-height: 1.6; color: var(--mp-g700); }
.mp-legal h3 { font-family: var(--mp-manrope); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; margin-top: 16px; }
.mp-legal ul { display: flex; flex-direction: column; gap: 10px; padding-left: 1.2em; }
.mp-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mp-legal strong { color: var(--mp-ink-2); font-weight: 600; }
.mp-placeholder { border: 1px dashed var(--mp-g200); border-radius: 16px; padding: 32px; font-size: 15px !important; line-height: 1.55; color: var(--mp-g600) !important; background: var(--mp-mist); }

/* -------------------------------------------------------------- contatti + form (CF7) */
.mp-contact { display: flex; flex-wrap: wrap; gap: 56px clamp(40px, 6vw, 96px); align-items: flex-start; }
.mp-contact__text { flex: 1.2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.mp-hero--contact .mp-contact__text { flex: 1.1 1 460px; }
.mp-hero--contact .mp-lead { max-width: 560px; }
.mp-contact__form { flex: 1 1 420px; max-width: 600px; }
.mp-contact__info { display: flex; flex-direction: column; gap: 10px; font-family: var(--mp-mono); font-size: 13px; color: var(--mp-g300); margin-top: 12px; }
.mp-contact__mail a { color: #fff; font-size: 15px; }
.mp-after { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.mp-after .mp-eyebrow { padding-bottom: 6px; }
.mp-next-steps { list-style: none; padding: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.mp-next-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 17px; line-height: 1.5; color: #E4E5EA; }
.mp-next-steps .mp-num { padding-top: 4px; }
.mp-next-steps li:nth-child(2) .mp-num { color: var(--mp-lilac); }
.mp-next-steps li:nth-child(3) .mp-num { color: var(--mp-cyan); }
.mp-hero--contact .mp-contact__info { margin-top: 0; }
.mp-cta--form > .mp-wrap { padding-bottom: 0; }
.mp-cta--form::before {
	background: radial-gradient(45% 55% at 95% 10%, rgba(0, 240, 255, .25), rgba(140, 92, 255, .12) 45%, rgba(0, 0, 0, 0) 70%);
}

.mp-form { color: #fff; display: flex; flex-direction: column; gap: 28px; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 28px; }
.mp-form .screen-reader-response, .wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; word-wrap: normal !important; }
.mp-form .hidden-fields-container { display: none; }
.mp-form__row { display: flex; flex-wrap: wrap; gap: 28px 32px; }
.mp-form__row > .mp-field { flex: 1 1 220px; }
.mp-field { display: flex; flex-direction: column; gap: 4px; }
.mp-field__l { font-family: var(--mp-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mp-g300); }
.mp-field .wpcf7-form-control-wrap { display: block; }
.mp-form input[type="text"], .mp-form input[type="email"] {
	width: 100%; height: 56px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); border-radius: 0; padding: 0; background: transparent; color: #fff; outline: none;
	font-family: var(--mp-manrope); font-weight: 600; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.01em; transition: border-color .2s ease, box-shadow .2s ease;
}
.mp-form textarea {
	width: 100%; min-height: 96px; height: 96px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); border-radius: 0; padding: 14px 0; background: transparent;
	color: #fff; outline: none; resize: vertical; font-family: inherit; font-size: 17px; line-height: 1.5; transition: border-color .2s ease, box-shadow .2s ease;
}
.mp-form input:focus, .mp-form textarea:focus { border-bottom-color: var(--mp-cyan); box-shadow: 0 1px 0 var(--mp-cyan); }
.mp-field--chips { gap: 14px; }
.mp-field--chips .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-field--chips .wpcf7-list-item { margin: 0; }
.mp-field--chips label { position: relative; display: block; cursor: pointer; }
.mp-field--chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mp-field--chips .wpcf7-list-item-label {
	display: block; padding: 10px 16px; border-radius: 999px; font-size: 14px; border: 1px solid rgba(255, 255, 255, .22); color: var(--mp-g200); transition: all .15s ease;
}
.mp-field--chips label:hover .wpcf7-list-item-label { border-color: rgba(255, 255, 255, .5); color: #fff; }
.mp-field--chips input:checked + .wpcf7-list-item-label { background: #fff; border-color: #fff; color: var(--mp-ink); }
.mp-field--chips input:focus-visible + .wpcf7-list-item-label { outline: 2px solid var(--mp-cyan); outline-offset: 2px; }
.mp-field--privacy .wpcf7-list-item { margin: 0; }
.mp-field--privacy label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--mp-g300); line-height: 1.45; cursor: pointer; }
.mp-field--privacy input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--mp-orange); }
.mp-field--privacy a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mp-form__submit { display: flex; align-items: center; gap: 12px; }
.mp-submit {
	height: 58px; padding: 0 28px; border-radius: 14px; border: 0; background: var(--mp-orange); color: var(--mp-ink); font: 600 16px/1 Inter, sans-serif; cursor: pointer;
	display: flex; align-items: center; justify-content: center; gap: 12px;
	box-shadow: 0 0 0 1px rgba(255, 108, 17, .4), 0 12px 40px -8px rgba(255, 108, 17, .55); transition: background .15s ease, transform .25s var(--mp-ease);
}
.mp-submit:hover { background: var(--mp-orange-h); }
.mp-submit:disabled { opacity: .6; cursor: wait; }
.mp-form .wpcf7-spinner { visibility: hidden; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--mp-cyan); }
.mp-form.submitting .wpcf7-spinner { visibility: visible; animation: mp-spin .8s linear infinite; }
@keyframes mp-spin { to { transform: rotate(360deg); } }
.mp-form__note { margin-top: -8px !important; font-size: 14px; line-height: 1.5; color: var(--mp-g300); max-width: 46ch; }
.mp-form .wpcf7-not-valid { border-bottom-color: var(--mp-pink) !important; }
.mp-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-family: var(--mp-mono); font-size: 12px; color: var(--mp-pink); }
.mp-form .wpcf7-response-output { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; color: var(--mp-g200); }
.mp-form .wpcf7-response-output:empty { display: none; }
.mp-form.invalid .wpcf7-response-output, .mp-form.unaccepted .wpcf7-response-output { border-color: var(--mp-pink); }
.mp-form.sent .wpcf7-response-output { border-color: var(--mp-cyan); }

/* -------------------------------------------------------------- animazioni di ingresso */
.mp-js .mp-reveal:not(.is-in):not(h2) { opacity: 0; transform: translateY(18px); }
.mp-js .mp-reveal:not(h2) { transition: opacity .6s ease var(--mp-d, 0ms), transform .7s var(--mp-ease) var(--mp-d, 0ms); }
.mp-js h2.mp-reveal { transition: clip-path 1s var(--mp-ease) var(--mp-d, 0ms), transform 1s var(--mp-ease) var(--mp-d, 0ms); clip-path: inset(-20% -10% -30% -10%); }
.mp-js h2.mp-reveal:not(.is-in) { clip-path: inset(0 0 100% 0); transform: translateY(40px); }
.mp-js .mp-hero .mp-h1 .mp-l > .mp-li { transform: translateY(105%); }
.mp-js .mp-hero.is-in .mp-h1 .mp-l > .mp-li { transform: none; }
.mp-js .mp-hero .mp-h1 .mp-l:nth-child(2 of .mp-l) > .mp-li { transition-delay: .1s; }
.mp-js .mp-hero .mp-h1 .mp-l:nth-child(3 of .mp-l) > .mp-li { transition-delay: .2s; }
.mp-magnetic .wp-block-button__link, .mp-submit { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.mp-js .mp-reveal, .mp-js h2.mp-reveal, .mp-js .mp-hero .mp-h1 .mp-l > .mp-li { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
	.mp-js .mp-draw::before, .mp-js .mp-steps::after { transform: none !important; }
	.mp-land .mp-avatar { transform: translateX(-50%) !important; }
	.mp-shot__img img { transition: none; }
}

.mp-header__cta .wp-block-button__link::after { margin-left: 10px; }

/* Hero che proseguono direttamente nel footer: il bagliore arancio lo porta il footer. */
.mp-hero--contact::before, .mp-hero--msg::before { display: none; }
.mp-hero--msg { min-height: 0; }
.mp-hero--msg .mp-msg { min-height: 52vh; }
.mp-footer__col p { line-height: 1.3; }
.mp-nav-mobile .is-menu-open .wp-block-navigation__responsive-container-close { position: fixed; top: 18px; right: var(--mp-gutter); z-index: 2; }
.mp-nav-mobile .mp-n { margin-right: 16px; }
.mp-nav-mobile .is-menu-open a:focus-visible, .mp-nav-mobile .is-menu-open button:focus-visible { outline: 2px solid var(--mp-cyan); outline-offset: 2px; }
.mp-nav-mobile .is-menu-open .wp-block-navigation-item__content:focus:not(:focus-visible) { outline: none; }

/* -------------------------------------------------------------- collaborazioni (chi sono) */
.mp-collabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--mp-line); border-left: 1px solid var(--mp-line); }
@media (min-width: 1120px) { .mp-collabs { grid-template-columns: repeat(5, 1fr); } }
.mp-collab { position: relative; min-height: 180px; background: var(--mp-ink); border-right: 1px solid var(--mp-line); border-bottom: 1px solid var(--mp-line); display: flex; align-items: center; justify-content: center; padding: 32px 28px; overflow: hidden; }
.mp-collab::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
	background: radial-gradient(120% 90% at 50% 120%, rgba(255, 108, 17, .28), rgba(201, 167, 255, .12) 50%, rgba(0, 0, 0, 0) 75%);
}
.mp-collab:hover::before { opacity: 1; }
.mp-collab__logo { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; }
.mp-collab__logo img { width: auto; height: auto; max-width: 82%; max-height: 52px; object-fit: contain; transition: transform .5s var(--mp-ease); }
.mp-collab__logo--icon img { max-height: 76px; }
.mp-collab:hover .mp-collab__logo img { transform: scale(1.05); }
.mp-collab--cta { padding: 0; align-items: stretch; justify-content: stretch; }
.mp-collab--cta .mp-client__cta { width: 100%; }
.mp-collab--cta .mp-client__cta a { background: var(--mp-orange); color: var(--mp-ink); min-height: 180px; }
.mp-collab--cta .mp-client__cta a:hover { background: #fff; color: var(--mp-ink); }
@media (max-width: 599px) { .mp-collabs { grid-template-columns: repeat(2, 1fr); } .mp-collab { min-height: 130px; padding: 24px 16px; } .mp-collab--cta { padding: 0; } .mp-collab--cta .mp-client__cta a { min-height: 130px; padding: 18px; } }

/* Telefoni piccoli */
.mp-submit { white-space: nowrap; }
@media (max-width: 479px) {
	.mp-form__submit { flex-wrap: wrap; }
	.mp-submit { width: 100%; }
}
@media (max-width: 599px) {
	.mp-bp__lab[style*="top:36%"] { display: none; }
}

/* -------------------------------------------------------------- caso studio: mockup smartphone */
.mp-phone-sec { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px clamp(40px, 6vw, 96px); }
.mp-phone-sec__text { flex: 1 1 420px; max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.mp-phone-sec__media { flex: 0 1 380px; display: flex; justify-content: center; position: relative; }
.mp-phone-sec__media::before {
	content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: 50%; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(0, 240, 255, .18), rgba(201, 167, 255, .12) 50%, rgba(0, 0, 0, 0));
}
.mp-phone {
	position: relative; width: min(320px, 78vw); aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 12px; background: #15181F;
	box-shadow: 0 0 0 1px rgba(16, 17, 20, .12), 0 40px 80px -30px rgba(11, 13, 18, .55), inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.mp-phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 999px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); z-index: 2; }
.mp-phone__img { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.mp-phone__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: object-position 12s cubic-bezier(.45, 0, .55, 1); }
.mp-phone:hover .mp-phone__img img, .mp-phone:focus-within .mp-phone__img img { object-position: center bottom; }
.mp-phone .mp-shot__hint { z-index: 3; right: 50%; transform: translateX(50%); bottom: 28px; white-space: nowrap; }
@media (hover: none) { .mp-phone .mp-shot__hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .mp-phone__img img { transition: none; } }
.mp-sec:has(.mp-phone-sec) { overflow: clip; }
/* Barra di stato sotto la "dynamic island", così lo screenshot parte sotto e non viene coperto. */
.mp-phone__img { padding-top: 46px; background: #0B0D12; }
/* Mockup browser su schermi stretti: finestra più alta e meno scroll "a vuoto". */
@media (max-width: 767px) {
	.mp-mock__track { height: 170vh; }
	.mp-mock__sticky { top: 96px; }
	.mp-browser__view { aspect-ratio: 4 / 5; }
}

/* -------------------------------------------------------------- testimonianze */
.mp-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--mp-line-2); }
.mp-quote.wp-block-quote { margin: 0; padding: 32px 32px 8px 0; border: 0; display: flex; flex-direction: column; gap: 20px; }
.mp-quote::before { content: "“"; font-family: var(--mp-manrope); font-weight: 800; font-size: 64px; line-height: .7; height: .45em; background: var(--mp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }
.mp-quote p { font-size: 17px; line-height: 1.6; color: var(--mp-ink-2); text-wrap: pretty; margin: 0; }
.mp-quote cite { font-style: normal; font-family: var(--mp-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-g600); }
.mp-quote cite strong { display: block; margin-bottom: 4px; font-family: var(--mp-manrope); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; text-transform: none; color: var(--mp-ink); }

/* -------------------------------------------------------------- box autore articolo */
.mp-author { display: flex; gap: 24px; align-items: flex-start; margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 3vw, 36px); background: var(--mp-mist); border-radius: 16px; }
.mp-author__img { flex: 0 0 72px; margin: 0; }
.mp-author__img img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; }
.mp-author__text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mp-author__text > p:not([class*="mp-"]) { font-size: 16px; line-height: 1.6; color: var(--mp-g700); margin: 0; }
.mp-author__name { font-family: var(--mp-manrope); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 0; }
.mp-author__name a { color: var(--mp-ink); text-decoration: none; }
.mp-author .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
@media (max-width: 599px) { .mp-author { flex-direction: column; } }
