/* =========================================================================
   Acme Studio, Landing Page
   Mobile-first, palette bianca, microinterazioni leggere
   ========================================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --muted: #6b6b6b;
  --line: #ececea;
  --accent: #0a0a0a;

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-card-hover: 0 24px 48px -24px rgba(10, 10, 10, 0.18),
    0 4px 12px -4px rgba(10, 10, 10, 0.08);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --pad-x: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 140px);

  /* Ritmo verticale post-hero (ref. terb-group: filter → sezione successiva) */
  --post-hero-pad-top: clamp(36px, 5vw, 56px);
  --post-hero-pad-bottom: clamp(20px, 3vw, 32px);
  --post-hero-section-gap: clamp(36px, 5vw, 64px);
}

/* ---------- Reset essenziale ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

p {
  margin: 0;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-start: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-size: 14px;
  z-index: 100;
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease-out);
}
.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding: 18px var(--pad-x);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out),
    padding 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 12px var(--pad-x);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--bg);
  transition: color 0.4s var(--ease-out);
}

.site-header.is-scrolled .site-header__inner {
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand__logo {
  display: block;
  height: 50px;
  width: auto;
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
}
.brand:hover .brand__logo {
  transform: scale(1.04);
}

.site-nav {
  display: flex;
  gap: clamp(10px, 2vw, 22px);
}
.site-nav--compact .nav-link__text--short {
  display: none;
}

@media (max-width: 768px) {
  .site-nav--compact {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .site-nav--compact .nav-link {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 2px;
    letter-spacing: 0.01em;
  }
  .site-nav--compact .nav-link__text--long {
    display: none;
  }
  .site-nav--compact .nav-link__text--short {
    display: inline;
  }
  .site-nav--compact .nav-link__back-icon {
    display: none;
  }
  .site-header:has(.site-nav--compact) .brand__logo {
    height: 42px;
  }
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  padding: 8px 4px;
  letter-spacing: 0.02em;
}
.nav-link span {
  position: relative;
}
.nav-link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s var(--ease-out);
}
.nav-link:hover span::after {
  transform: scaleX(1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pad-x) clamp(48px, 9vw, 96px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.hero__picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}

.hero__img,
.hero__picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.02);
  animation: heroZoom 1.8s var(--ease-out) both;
}

@keyframes heroZoom {
  from {
    transform: translate3d(0, 0, 0) scale(1.12);
    filter: blur(8px);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0) scale(1.02);
    filter: blur(0);
    opacity: 1;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 35%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 55%);
}

.hero__content {
  position: relative;
  max-width: 900px;
  width: 100%;
  padding-block: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.85;
}
.eyebrow__dot {
  flex-shrink: 0;
  display: block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  min-height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.45; }
}

.hero__title-wrap {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
}
.hero__title {
  font-size: clamp(36px, 8.8vw, 106px);
  font-weight: 300;
  letter-spacing: -0.025em;
}
.hero__loghi {
  display: block;
  width: 50%;
  height: auto;
  aspect-ratio: 600 / 136.546;
  margin-top: clamp(14px, 2vw, 26px);
}
.hero__subtitle {
  margin-top: clamp(12px, 1.8vw, 18px);
  margin-bottom: 0;
  max-width: min(42ch, 100%);
  font-family: var(--font-sans);
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}
.hero__subtitle + .hero__lede {
  margin-top: 10px;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .word {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.22em;
  vertical-align: bottom;
}
.hero__title .word__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.05s var(--ease-out);
}
.hero.is-ready .hero__title .word__inner {
  transform: translateY(0);
}
.hero.is-ready .hero__title .word:nth-child(1) .word__inner { transition-delay: 0.10s; }
.hero.is-ready .hero__title .word:nth-child(2) .word__inner { transition-delay: 0.20s; }
.hero.is-ready .hero__title .line:nth-child(2) .word:nth-child(1) .word__inner { transition-delay: 0.32s; }
.hero.is-ready .hero__title .line:nth-child(2) .word:nth-child(2) .word__inner { transition-delay: 0.42s; }

.hero__lede {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.hero__lede-more {
  display: none;
}

.hero__cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-color: #fff;
  --btn-border: rgba(255, 255, 255, 0.55);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 23px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--btn-bg);
  color: var(--btn-color);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--btn-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
  z-index: -1;
}
.btn:hover {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #fff;
}
.btn:hover::before {
  transform: translateY(0);
}
.btn__arrow {
  transition: transform 0.5s var(--ease-out);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.hero__scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: 28px;
  display: none;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero__scroll-line {
  width: 60px;
  height: 1px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform-origin: left;
  animation: scrollLine 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ---------- Sezione card ---------- */
.cards {
  padding: var(--section-y) var(--pad-x);
  background: var(--bg);
}

.section-head {
  max-width: 880px;
  margin-bottom: clamp(36px, 6vw, 64px);
}
.section-head .eyebrow {
  color: var(--muted);
}
.section-title {
  margin-top: 14px;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 400;
  color: var(--ink);
  max-width: 20ch;
}

.cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.cards-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
  margin-top: clamp(40px, 6vw, 64px);
}
.cards-pagination__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cards-pagination__btn,
.cards-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background 0.45s var(--ease-out), color 0.3s var(--ease-out),
    box-shadow 0.45s var(--ease-out), transform 0.5s var(--ease-out);
}
.cards-pagination__btn {
  padding: 0;
  width: 44px;
}
.cards-pagination__btn:hover:not(:disabled),
.cards-pagination__page:hover:not(.is-active):not([aria-current="page"]) {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
  transform: translateY(-1px);
}
.cards-pagination__page.is-active,
.cards-pagination__page[aria-current="page"] {
  color: #fff;
  background: var(--ink);
  box-shadow: none;
  cursor: default;
}
.cards-pagination__btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}
.cards-pagination__btn:focus-visible,
.cards-pagination__page:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.cards--related .section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.cards--related .section-head .eyebrow {
  justify-content: center;
}
.cards--related .section-title {
  max-width: none;
  margin-inline: auto;
}
.cards__grid--quad {
  max-width: 1280px;
  margin-inline: auto;
}
.cards__grid--quad .card__body {
  padding: 18px 18px 22px;
}
.cards__grid--quad .card__title {
  font-size: clamp(18px, 1.6vw, 24px);
}
.cards__grid--quad .card__desc {
  font-size: 14px;
  line-height: 1.55;
}

a.card {
  text-decoration: none;
}

.card--static {
  cursor: default;
}

.card--static:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}

.card--static:hover::after {
  box-shadow: inset 0 0 0 1px transparent;
}

.card--static:hover .card__media img {
  transform: none;
}

.card--static:hover .card__cta-label::after {
  transform: scaleX(0);
}

.card--static:hover .card__cta svg {
  transform: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out),
    border-color 0.6s var(--ease-out);
  will-change: transform;
  /* reset button defaults */
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
  width: 100%;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.5s var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
}
.card:hover::after {
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.08);
}
.card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.card__media {
  position: relative;
  aspect-ratio: 1200 / 657;
  overflow: hidden;
  background: var(--bg-soft);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease-out);
  filter: saturate(0.95);
}
.card:hover .card__media img {
  transform: scale(1.02);
  filter: saturate(1.05);
}

.card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card__index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.card__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--ink);
}
.card__subtitle {
  margin-top: -2px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.9vw, 20px);
  letter-spacing: 0.005em;
  color: var(--ink);
  line-height: 1.2;
}
.card__desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.card__cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.card__cta-label {
  position: relative;
}
.card__cta-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.6s var(--ease-out);
}
.card:hover .card__cta-label::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.card__cta svg {
  transition: transform 0.5s var(--ease-out);
}
.card:hover .card__cta svg {
  transform: translateX(6px);
}

/* ---------- Story / closing band ---------- */
.story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fafafa;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
}
.story__year {
  position: absolute;
  right: -3vw;
  bottom: -8vw;
  z-index: -1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(220px, 36vw, 560px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: #ececec;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.story__mark {
  position: absolute;
  right: clamp(-50px, -20vw, 8px);
  bottom: clamp(-100px, -13vw, 130px);
  top: auto;
  z-index: -1;
  width: clamp(280px, 52vw, 700px);
  aspect-ratio: 515.16 / 429.805;
  background: url("x.svg") no-repeat center / contain;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}
.story__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.story__eyebrow {
  color: var(--muted);
}
.story__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}
.story__title em {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.story__title em::before {
  /* sottolineatura sfumata sotto "40 anni", che si disegna allo scroll */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18em;
  height: 0.18em;
  background: linear-gradient(90deg, #b53b8e, #5a2a87 60%, #1a1a5c);
  border-radius: 0;
  opacity: 0.85;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out);
  transition-delay: 0.5s;
}
.story__title.is-visible em::before {
  transform: scaleX(1);
}
.story__subtitle {
  margin-top: clamp(20px, 2.5vw, 32px);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 40ch;
  letter-spacing: -0.005em;
}
.story__lede {
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 64ch;
  font-size: clamp(15.5px, 1.55vw, 17.5px);
  line-height: 1.7;
  color: var(--ink);
}
.story__lede strong {
  font-weight: 700;
  color: var(--ink);
}
.story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
}
.story__rule {
  display: block;
  margin-top: clamp(36px, 5vw, 64px);
  width: 0;
  height: 1px;
  background: var(--ink);
  opacity: 0.35;
  transition: width 1.4s var(--ease-out);
  transition-delay: 1.5s;
}
.story__lede.is-visible ~ .story__rule {
  width: clamp(80px, 12vw, 160px);
}

@media (prefers-reduced-motion: reduce) {
  .story__title em::before,
  .story__rule {
    transform: scaleX(1) !important;
    width: clamp(80px, 12vw, 160px) !important;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(48px, 8vw, 80px) var(--pad-x) clamp(28px, 4vw, 40px);
  background: var(--bg);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.site-footer__claim {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.1;
  color: var(--ink);
  max-width: 22ch;
}
.site-footer__claim a {
  display: inline-block;
  margin-top: 6px;
}
.link-underline {
  position: relative;
  display: inline-flex;
}
.link-underline > span:first-child {
  position: relative;
}
.link-underline > span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.link-underline:hover > span:first-child::after {
  transform: scaleX(0);
  transform-origin: right;
}
.site-footer__meta {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Striscia sfumata di chiusura ---------- */
.site-strip {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.site-strip__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #b53b8e 0%,
    #a23690 18%,
    #82308e 38%,
    #5a2a87 55%,
    #382575 72%,
    #21205f 88%,
    #1a1a5c 100%
  );
}
.site-strip__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 0% 50%, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(120% 100% at 100% 50%, rgba(0, 0, 0, 0.18), transparent 55%);
  pointer-events: none;
}
.site-strip__inner {
  position: relative;
  padding: 40px var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.site-strip__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 14px;
  row-gap: 4px;
}
.site-strip__address {
  color: rgba(255, 255, 255, 0.92);
}
.site-strip__sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}
@media (max-width: 719px) {
  .site-strip__sep { display: none; }
}
.site-strip__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  position: relative;
}
.site-strip__phone > span {
  position: relative;
}
.site-strip__phone > span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.site-strip__phone:hover > span::after {
  transform: scaleX(1);
}
.site-strip__phone svg {
  opacity: 0.85;
  transition: transform 0.4s var(--ease-out);
}
.site-strip__phone:hover svg {
  transform: rotate(-12deg);
}
.site-strip__site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 500;
  position: relative;
}
.site-strip__site > span {
  position: relative;
}
.site-strip__site > span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.site-strip__site:hover > span::after {
  transform: scaleX(1);
}
.site-strip__site svg {
  transition: transform 0.4s var(--ease-out);
}
.site-strip__site:hover svg {
  transform: translate(2px, -2px);
}

@media (min-width: 720px) {
  .site-strip__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 16px;
  }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}
.modal:not([open]) {
  display: none;
}
.modal::backdrop {
  background: rgba(10, 10, 10, 0.45);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.modal.is-open::backdrop {
  opacity: 1;
}

.modal__shell {
  position: absolute;
  inset: 0;
  margin: auto;
  width: max-content;
  max-width: calc(100vw - 32px);
  height: max-content;
  max-height: calc(100dvh - 32px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out);
}
.modal.is-open .modal__shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal__panel {
  flex: 0 1 auto;
  width: min(820px, calc(100vw - 32px - 48px));
  max-height: calc(100dvh - 32px);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -32px rgba(10, 10, 10, 0.4),
    0 8px 24px -8px rgba(10, 10, 10, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.modal__close {
  flex-shrink: 0;
  margin-top: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out),
    color 0.4s var(--ease-out);
}
.modal__close:hover {
  background: #fff;
  color: var(--ink);
  transform: rotate(90deg);
}
.modal__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.modal__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 657;
  overflow: hidden;
  background: var(--bg-soft);
  flex-shrink: 0;
}
.modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  opacity: 0;
  transition: transform 1.4s var(--ease-out), opacity 0.6s var(--ease-out);
  transition-delay: 0.05s;
}
.modal.is-open .modal__media img {
  transform: scale(1);
  opacity: 1;
}

.modal__body {
  padding: clamp(22px, 4vw, 40px) clamp(22px, 4vw, 44px)
    clamp(28px, 4vw, 44px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal__index {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: 0.18s;
}
.modal__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: 0.24s;
}
.modal__content {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: 0.32s;
}
.modal__content p + p {
  margin-top: 14px;
}
.modal__content strong {
  color: var(--ink);
  font-weight: 600;
}
.modal.is-open .modal__index,
.modal.is-open .modal__title,
.modal.is-open .modal__content {
  opacity: 1;
  transform: translateY(0);
}

.modal__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 18px;
}
.modal__list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 15px;
}
.modal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 1px;
  background: var(--ink);
  opacity: 0.6;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: 0.4s;
}
.modal.is-open .modal__actions {
  opacity: 1;
  transform: translateY(0);
}

.modal-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 0.45s var(--ease-out), color 0.3s var(--ease-out),
    border-color 0.45s var(--ease-out), transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}
.modal-btn__label {
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
}
.modal-btn svg {
  transition: transform 0.5s var(--ease-out);
}
.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(10, 10, 10, 0.35);
}
.modal-btn:hover svg {
  transform: translateX(4px);
}
.modal-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px -6px rgba(10, 10, 10, 0.25);
}
.modal-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.modal-btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.modal-btn--primary:hover {
  background: #1f1f1f;
  color: #fff;
  border-color: #1f1f1f;
}

.modal-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.modal-btn--ghost:hover {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--ink);
}
.modal-btn.is-hidden {
  display: none;
}

/* Zampa Vacanza: Guarda il sito a destra, brand #00accc */
.modal__actions--zampa #modalCtaRead {
  order: 1;
}
.modal__actions--zampa #modalCtaInfo {
  order: 2;
}
.modal__actions--zampa #modalCtaSite {
  order: 3;
  margin-left: auto;
}
.modal-btn--zampa-site {
  background: linear-gradient(90deg, #b53b8e, #5a2a87 60%, #1a1a5c);
  border: none;
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(90, 42, 135, 0.55);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), filter 0.45s var(--ease-out);
}
.modal-btn--zampa-site:hover {
  background: linear-gradient(90deg, #c24498, #653092 60%, #222270);
  border: none;
  color: #fff;
  filter: brightness(1.04);
  box-shadow: 0 16px 36px -14px rgba(90, 42, 135, 0.62);
  transform: translateY(-1px);
}
.modal-btn--zampa-site:focus-visible {
  outline-color: #5a2a87;
}

body.is-modal-open {
  overflow: hidden;
}

@media (max-width: 719px) {
  .modal__panel {
    width: min(960px, calc(100vw - 32px));
  }
  .modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-color: rgba(10, 10, 10, 0.08);
    color: var(--ink);
    box-shadow: 0 4px 14px -8px rgba(10, 10, 10, 0.25);
  }
  .modal__close:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
  }
  .modal__actions--zampa #modalCtaSite {
    margin-left: 0;
  }
}

@media (min-width: 720px) {
  .modal__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Custom cursor (solo dispositivi con mouse fine) ---------- */
.cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
  }
  .cursor__dot,
  .cursor__ring {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
      border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
  }
  .cursor__dot {
    width: 6px;
    height: 6px;
    background: #fff;
  }
  .cursor__ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
  }
  .cursor.is-hover .cursor__dot { width: 0; height: 0; }
  .cursor.is-hover .cursor__ring { width: 56px; height: 56px; border-color: #fff; }

  body.cursor-blend-off .cursor {
    mix-blend-mode: normal;
  }
  body.cursor-blend-off .cursor__dot {
    background: var(--ink);
  }
  body.cursor-blend-off .cursor__ring {
    border-color: rgba(10, 10, 10, 0.35);
  }
  body.cursor-blend-off .cursor.is-hover .cursor__ring {
    border-color: var(--ink);
  }

  body:has(.cursor) {
    cursor: none;
  }
  a, button {
    cursor: none;
  }
  /* dialog è nel top layer: anche al suo interno teniamo il cursore di sistema nascosto */
  dialog[open] {
    cursor: none;
  }
  dialog[open] a,
  dialog[open] button {
    cursor: none;
  }
}

/* ---------- Breakpoints ---------- */
@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0));
  }
  .hero__content {
    padding-block: 0;
  }
  .hero__title-wrap {
    margin-top: 10px;
  }
  .hero__title {
    font-size: clamp(38px, 11.5vw, 60px);
  }
  .hero__lede {
    margin-top: 12px;
    max-width: 34ch;
    max-height: 7.75em; /* ~5 righe */
    overflow: hidden;
    cursor: pointer;
    transition: max-height 0.6s var(--ease-out),
      -webkit-mask-image 0.4s var(--ease-out),
      mask-image 0.4s var(--ease-out);
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 65%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 65%,
      transparent 100%
    );
  }
  .hero__lede.is-expanded {
    max-height: 60em;
    cursor: default;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__lede-more {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2px;
    padding: 6px 0 4px;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    animation: ledeChevronHint 2.4s ease-in-out infinite;
  }
  .hero__lede-chevron {
    width: 11px;
    height: 11px;
    border-right: 1.6px solid #fff;
    border-bottom: 1.6px solid #fff;
    transform-origin: 70% 70%;
    transform: rotate(45deg);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    transition: transform 0.55s var(--ease-out);
  }
  .hero__lede-more.is-expanded {
    animation: none;
  }
  .hero__lede-more.is-expanded .hero__lede-chevron {
    transform: rotate(-135deg);
  }
  @keyframes ledeChevronHint {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 3px; }
  }
  .hero__cta {
    margin-top: 14px;
  }
  .hero__img,
  .hero__picture img {
    height: 100%;
  }
  .hero__loghi {
    display: none;
  }
  .hero__subtitle {
    margin-top: 8px;
    font-size: clamp(16px, 4.2vw, 20px);
    max-width: 32ch;
  }
  .hero__subtitle + .hero__lede {
    margin-top: 8px;
  }
}

@media (min-width: 1024px) {
  .hero {
    align-items: center;
  }
  .hero__content {
    transform: translateY(5svh);
  }
}

@media (min-width: 640px) {
  .cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .cards__grid--quad {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .hero__scroll {
    display: inline-flex;
  }
  .site-footer__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 1200px) {
  .cards__grid {
    max-width: 1100px;
    margin-inline: auto;
    gap: 28px;
  }
  .cards__grid--quad {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1280px;
    gap: 22px;
  }
}

/* ---------- Fix Safari: forza il clipping arrotondato anche con transform sui figli ---------- */
.card,
.modal__panel,
.feat__media {
  clip-path: inset(0 round var(--radius-lg));
  -webkit-clip-path: inset(0 round var(--radius-lg));
}

/* =========================================================================
   Sub-page AirDoor
   ========================================================================= */

/* ---------- Header back link ---------- */
.nav-link--back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-link__back-icon {
  transition: transform 0.4s var(--ease-out);
}
.nav-link--back:hover .nav-link__back-icon {
  transform: translateX(-3px);
}

/* ---------- Btn solid (variante CTA hero sub) ---------- */
.btn--solid {
  --btn-bg: #fff;
  --btn-color: var(--ink);
  --btn-border: #fff;
}
.btn--solid::before {
  background: rgba(10, 10, 10, 0.08);
}
.btn--solid:hover {
  color: var(--ink);
}

/* ---------- Hero variante sub-page ---------- */
.hero--sub .hero__title--sub {
  font-size: clamp(34px, 6.4vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero__title .word:has(.reg-mark) {
  margin-right: 0.1em;
  overflow: visible;
  padding-right: 0.04em;
}
.hero__title .reg-mark {
  font-size: 0.42em;
  line-height: 0;
  vertical-align: super;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0 0 0 0.03em;
  padding: 0;
}
.hero--sub .hero__lede--sub {
  margin-top: 18px;
  max-width: 56ch;
}
.hero__lede strong {
  color: inherit;
  font-weight: 600;
}

/* Hero slider (olio.html) */
.hero--slider {
  padding-inline: 0;
}
.hero--slider .hero__content {
  position: relative;
  z-index: 2;
  --hero-slider-nav-inset: clamp(16px, 3vw, 32px);
  --hero-slider-nav-size: 46px;
  --hero-slider-nav-gap: clamp(20px, 4vw, 36px);
  padding-left: calc(var(--hero-slider-nav-inset) + var(--hero-slider-nav-size) + var(--hero-slider-nav-gap));
  padding-right: calc(var(--hero-slider-nav-inset) + var(--hero-slider-nav-size) + var(--hero-slider-nav-gap));
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-slider__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}
.hero-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
}
.hero-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: none;
  will-change: auto;
}
.hero--slider.is-intro .hero-slider__slide.is-active img {
  will-change: transform, opacity, filter;
  animation: heroSliderIntro 1.8s var(--ease-out) both;
}
@keyframes heroSliderIntro {
  from {
    transform: scale(1.12);
    filter: blur(8px);
    opacity: 0;
  }
  to {
    transform: scale(1);
    filter: blur(0);
    opacity: 1;
  }
}
.hero--slider .hero__overlay {
  z-index: 1;
  pointer-events: none;
}
.hero-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.28);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.hero-slider__nav:hover {
  background: rgba(10, 10, 10, 0.48);
  border-color: rgba(255, 255, 255, 0.55);
  transform: scale(1.05);
}
.hero-slider__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.hero-slider__nav--prev {
  left: clamp(16px, 3vw, 32px);
}
.hero-slider__nav--next {
  right: clamp(16px, 3vw, 32px);
}

@media (max-width: 767px) {
  .hero--slider {
    --hero-slider-nav-size: 40px;
    padding-inline: var(--pad-x);
    padding-bottom: max(72px, calc(16px + env(safe-area-inset-bottom, 0px)));
  }
  .hero--slider .hero__content {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }
  .hero--slider .hero__cta {
    justify-content: flex-start;
    max-width: calc(100% - var(--hero-slider-nav-size) * 2 - 16px);
  }
  .hero-slider__nav {
    top: auto;
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    margin-top: 0;
    width: var(--hero-slider-nav-size);
    height: var(--hero-slider-nav-size);
  }
  .hero-slider__nav--prev {
    left: auto;
    right: calc(var(--pad-x) + var(--hero-slider-nav-size) + 8px);
  }
  .hero-slider__nav--next {
    right: var(--pad-x);
  }
  .hero--sub .hero__title--sub {
    font-size: clamp(32px, 9.5vw, 52px);
  }
  .hero--sub .hero__lede--sub {
    margin-top: 12px;
    max-width: 34ch;
  }
}

/* ---------- Manifesto ---------- */
.manifesto {
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  background: var(--bg);
  text-align: center;
}
.manifesto__head {
  max-width: 760px;
  margin: 0 auto 36px;
}
.manifesto__project {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.1;
  color: var(--ink);
}
.manifesto__head .eyebrow {
  justify-content: center;
  max-width: 100%;
}
.manifesto__head .eyebrow > :not(.eyebrow__dot) {
  min-width: 0;
}
.manifesto__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.1;
  color: var(--ink);
}
.manifesto__title em {
  font-style: italic;
}
.manifesto__body {
  max-width: 640px;
  margin: 0 auto;
}
.manifesto__body p {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--muted);
}
.manifesto__body p strong {
  color: var(--ink);
  font-weight: 500;
}
.manifesto__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 40px);
}
.manifesto__break {
  /* su mobile resta inline e wrap naturale */
}

/* Prima sezione intro/filtro dopo la hero */
.hero + .manifesto {
  padding-top: var(--post-hero-pad-top);
  padding-bottom: var(--post-hero-pad-bottom);
}
.category-filter--center + .manifesto {
  padding-top: var(--post-hero-section-gap);
  padding-bottom: var(--post-hero-pad-bottom);
}

/* Gap verso la sezione contenuti che segue intro / filtri */
.category-filter--center + .cards,
.manifesto + .cards,
.video-showcase + .cards {
  padding-top: var(--post-hero-section-gap);
}
.manifesto + .video-showcase {
  padding-top: var(--post-hero-section-gap);
}
.manifesto + .feats {
  padding-top: var(--post-hero-section-gap);
}
.manifesto + .project-showcase {
  padding-top: var(--post-hero-section-gap);
}

@media (min-width: 1024px) {
  .manifesto__body {
    max-width: 880px;
  }
  .manifesto__break {
    display: block;
  }
}

/* ---------- Video showcase (embed) ---------- */
.video-showcase {
  padding: 0 var(--pad-x) clamp(64px, 10vw, 120px);
  background: var(--bg);
}
.video-showcase__inner {
  max-width: 960px;
  margin: 0 auto;
}
.video-showcase--native .video-embed {
  --video-aspect: 640 / 272;
}

.video-embed {
  position: relative;
  aspect-ratio: var(--video-aspect, 16 / 9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: var(--shadow-card);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

button.feat__media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  text-align: inherit;
  color: inherit;
  cursor: pointer;
}
.feat__media--play::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 45%, rgba(10, 10, 10, 0.28) 100%);
  pointer-events: none;
  transition: background 0.35s var(--ease-out);
}
.feat__media--play:hover::after,
.feat__media--play:focus-visible::after {
  background: rgba(10, 10, 10, 0.22);
}
.feat__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(10, 10, 10, 0.48);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.feat__media--play:hover .feat__play,
.feat__media--play:focus-visible .feat__play {
  transform: scale(1.06);
  background: rgba(10, 10, 10, 0.62);
}
.feat__media--play:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.modal__panel--video {
  width: min(960px, calc(100vw - 32px - 48px));
  padding: 0;
  background: #0a0a0a;
}
.video-modal__embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
}
.video-modal__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Brand words bolded across the page: weight 500 elegante */
.feat__text p strong,
.feat__list strong,
.pillar__lede strong,
.contact__lede strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Feats: blocchi alternati ---------- */
.feats {
  padding: clamp(40px, 8vw, 96px) var(--pad-x) clamp(80px, 12vw, 140px);
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 10vw, 140px);
  max-width: 1240px;
  margin: 0 auto;
}
.feat {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.feat__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 11;
  background: var(--bg-soft);
  isolation: isolate;
}
.feat__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  opacity: 0;
  transition: transform 1.4s var(--ease-out), opacity 0.9s var(--ease-out);
  will-change: transform;
}
.feat[data-reveal].is-visible .feat__media > img {
  transform: scale(1);
  opacity: 1;
}
.feat__num {
  position: absolute;
  top: 14px;
  left: 18px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
  mix-blend-mode: difference;
  letter-spacing: -0.02em;
  pointer-events: none;
}
.feat__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat__kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.feat__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.15;
  color: var(--ink);
}
.feat__text > p {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
}
.feat__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.feat__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 14px;
  height: 1.4px;
  background: var(--ink);
}

@media (min-width: 900px) {
  .feat {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 88px);
  }
  .feat:nth-child(even) .feat__media {
    grid-column: 2;
    grid-row: 1;
  }
  .feat:nth-child(even) .feat__text {
    grid-column: 1;
    grid-row: 1;
  }
  .feat__media {
    aspect-ratio: 4 / 5;
  }
  .feat:nth-child(even) .feat__media {
    aspect-ratio: 5 / 4;
  }
}

@media (min-width: 900px) {
  .feats--carousel .feat__media,
  .feats--carousel .feat:nth-child(even) .feat__media {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 899px) {
  .feats--carousel .feat__media,
  .feats--carousel .feat:nth-child(even) .feat__media {
    aspect-ratio: 4 / 5;
  }
  .feats--carousel .feat-carousel__slide img {
    object-fit: contain;
    object-position: center center;
    transform: none;
  }
  .feats--carousel .feat-carousel__slide.is-active img {
    transform: none;
  }
}

/* ---------- Feat carousel: galleria progetti ---------- */
.feat-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  isolation: isolate;
}
.feat__media .feat__num {
  z-index: 4;
  pointer-events: none;
}
.feat-carousel__viewport {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.feat-carousel__shade {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.08) 70%, transparent 100%);
}
.feat-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s var(--ease-out);
  pointer-events: none;
}
.feat-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.feat-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.2s var(--ease-out);
}
.feat-carousel__slide.is-active img {
  transform: scale(1);
}
.feat-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.42);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.feat-carousel__nav:hover {
  background: rgba(10, 10, 10, 0.62);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}
.feat-carousel__nav--prev {
  left: 14px;
}
.feat-carousel__nav--next {
  right: 14px;
}
.feat-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  pointer-events: auto;
}
.feat-carousel__dot {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.feat-carousel__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.feat-carousel__dot.is-active::after {
  width: 42px;
  background: rgba(255, 255, 255, 0.96);
}
.feat-carousel__dot:hover::after {
  background: rgba(255, 255, 255, 0.78);
}

@media (max-width: 899px) {
  .feat-carousel__nav {
    width: 36px;
    height: 36px;
    margin-top: -18px;
  }
  .feat-carousel__nav--prev {
    left: 10px;
  }
  .feat-carousel__nav--next {
    right: 10px;
  }
}

/* ---------- Pledge: tre promesse ---------- */
.pledge {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  background: #fafafa;
}
.pledge__head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}
.pledge__head .eyebrow {
  justify-content: center;
}
.pledge__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.1;
  color: var(--ink);
}
.pledge__title em {
  font-style: italic;
}
.pledge__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  max-width: 1100px;
  margin: 0 auto;
}
.pillar {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(10, 10, 10, 0.18);
}
.pillar__num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.pillar__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  color: var(--ink);
}
.pillar__lede {
  margin: 0;
  font-size: clamp(14.5px, 1.2vw, 16px);
  line-height: 1.65;
  color: var(--muted);
}
.pillar__tag {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 7px 12px;
  background: rgba(10, 10, 10, 0.06);
  border-radius: 999px;
}
.pledge__sign {
  margin: clamp(40px, 6vw, 72px) auto 0;
  max-width: 760px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pledge__sign > span:first-child {
  font-family: var(--font-sans);
  font-size: 20px;
  letter-spacing: 0;
  display: inline-block;
  animation: pledgeArrow 3.4s ease-in-out infinite;
}
@keyframes pledgeArrow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, 4px); }
}

@media (min-width: 720px) {
  .pledge__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Contact (chiusura sub-page) ---------- */
.contact {
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  background: var(--bg);
}
.contact__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.contact__eyebrow {
  justify-content: center;
}
.contact__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.08;
  color: var(--ink);
}
.contact__lede {
  margin: 18px auto 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--muted);
}
.contact__actions {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.contact__meta {
  margin-top: clamp(24px, 4vw, 40px);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- Project showcase (dettaglio cliente) ---------- */
.project-showcase {
  padding: var(--section-y) var(--pad-x);
  background: var(--bg);
}
.section-head--center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(36px, 5vw, 56px);
  text-align: center;
}
.section-head--center .eyebrow {
  justify-content: center;
}
.section-head--center .section-title {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.project-showcase__lede {
  margin: 18px auto 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--muted);
}

.project-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(56px, 8vw, 96px);
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.project-gallery__video,
.project-gallery__item {
  width: 100%;
  margin: 0;
}
.project-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-card);
}
.project-gallery__video .video-embed {
  --video-aspect: 640 / 272;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-card);
}
.project-gallery__video--fb {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.fb-video-embed {
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.fb-video-embed .fb-video,
.fb-video-embed .fb-video span,
.fb-video-embed iframe {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
.instagram-embed {
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.project-gallery__video--ig .instagram-embed {
  max-width: min(400px, 100%);
  margin-inline: auto;
}
.instagram-embed .instagram-media {
  margin: 0 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
.project-gallery--full-radius .project-gallery__item img,
.project-gallery--full-radius .project-gallery__video .video-embed,
.project-story__media.project-gallery__item img,
.project-story__media.project-gallery__video .video-embed {
  border-radius: var(--radius-lg);
}

.project-story-list {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vw, 112px);
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.project-story {
  scroll-margin-top: calc(var(--site-header-height, 86px) + var(--scope-chips-height, 68px) + 12px);
}
.project-story__media {
  width: 100%;
  margin: 0;
}
.project-story__media + .project-story__media {
  margin-top: clamp(20px, 3vw, 32px);
}
.project-story__copy {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4.5vw, 44px);
  text-align: center;
}
.project-story__head {
  margin-bottom: clamp(16px, 2.5vw, 22px);
}
.project-story__head .eyebrow {
  justify-content: center;
  color: var(--muted);
}
.project-story__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.project-story__body p {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--muted);
}
.project-story__body p:last-child {
  margin-bottom: 0;
}
.project-story__body p strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Project scopes (dettaglio ambiti) ---------- */
.project-scope-nav {
  padding: 0 var(--pad-x) clamp(12px, 2vw, 16px);
  margin-top: clamp(-32px, -4vw, -16px);
  background: var(--bg);
  text-align: center;
}
.project-scope-nav__inner {
  max-width: 960px;
  margin: 0 auto;
}
.project-scope-nav__hint {
  margin: 0 0 clamp(10px, 1.5vw, 14px);
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.55;
  color: var(--muted);
}
.project-scope-nav__sticky {
  position: relative;
  z-index: 40;
  padding: clamp(6px, 1.2vw, 10px) var(--pad-x) clamp(8px, 1.5vw, 12px);
  background: transparent;
  text-align: center;
}
.project-scope-nav__sticky .category-chips {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}
.project-scope-nav__sticky .category-chips__list {
  justify-content: center;
}
.project-scope-nav__sticky.is-pinned {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  margin-inline: 0;
  padding-inline: var(--pad-x);
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}
.project-scope-nav__sticky.is-pinned::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  pointer-events: none;
}
.project-scope-nav__sticky.is-pinned .category-chips {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}
.project-scope-nav__sticky.is-pinned .category-chips__link {
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
.project-scope-nav__sticky.is-pinned .category-chips__link:hover,
.project-scope-nav__sticky.is-pinned .category-chips__link:active,
.project-scope-nav__sticky.is-pinned .category-chips__link.is-active,
.project-scope-nav__sticky.is-pinned .category-chips__link.is-active:hover {
  transform: none;
  box-shadow: none;
}
.project-scope-nav__spacer {
  display: block;
  width: 100%;
}
.project-scope-nav__spacer[hidden] {
  display: none;
}
.project-detail-scroll {
  position: relative;
}

.project-detail-scroll .project-showcase {
  padding-top: var(--post-hero-section-gap);
}

.project-scope-nav__sentinel {
  width: 100%;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

/* ---------- Category filter (terb-group / packaging) ---------- */
.category-filter {
  padding: var(--post-hero-pad-top) var(--pad-x);
  background: var(--bg);
}
.category-filter__inner {
  max-width: 960px;
  margin: 0 auto;
}
.category-filter__head {
  margin-bottom: clamp(16px, 2.5vw, 22px);
}
.category-filter__head .eyebrow {
  margin-bottom: 10px;
}
.category-filter__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.category-filter__hint {
  margin: 0 0 clamp(16px, 2.5vw, 20px);
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.55;
  color: var(--muted);
}
.category-filter--center {
  text-align: center;
  padding-bottom: var(--post-hero-pad-bottom);
}
.category-filter--center .category-filter__head .eyebrow {
  justify-content: center;
}
.category-filter--center .category-filter__title {
  margin-inline: auto;
}
.category-filter--center .category-filter__hint {
  max-width: 52ch;
  margin-inline: auto;
}
.category-filter--center .category-chips__list {
  justify-content: center;
}
.category-filter__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}
.category-filter__field {
  flex: 1 1 240px;
  min-width: 0;
}
.category-filter__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.category-filter__select-wrap {
  position: relative;
}
.category-filter__select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 14px 44px 14px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
    background 0.45s var(--ease-out);
}
.category-filter__select-wrap::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.category-filter__select:hover {
  background: var(--bg-soft);
}
.category-filter__select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.category-filter__select option {
  color: var(--ink);
  background: var(--bg);
}
.category-filter__submit {
  flex: 0 0 auto;
  align-self: stretch;
  cursor: pointer;
}
.category-filter__submit svg {
  transform: none;
}
.category-filter__submit:hover svg {
  transform: translateX(2px);
}

.category-filter__form--hidden {
  display: none !important;
}

.category-chips {
  margin-top: 4px;
}
.category-chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.category-chips__link {
  display: inline-flex;
  align-items: center;
  padding: 12px 19px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  background-clip: padding-box;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--ink);
  transition: background 0.45s var(--ease-out), color 0.3s var(--ease-out),
    transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.category-chips__link:hover {
  background: linear-gradient(90deg, #b53b8e, #5a2a87 60%, #1a1a5c);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(90, 42, 135, 0.42);
}
.category-chips__link.is-active,
.category-chips__link.is-active:hover {
  background: linear-gradient(90deg, #b53b8e, #5a2a87 60%, #1a1a5c);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(90, 42, 135, 0.42);
}
.category-chips__link:active {
  background: linear-gradient(90deg, #c24498, #653092 60%, #222270);
  transform: translateY(0);
  box-shadow: 0 4px 12px -6px rgba(90, 42, 135, 0.35);
}
.category-chips__link:focus-visible {
  outline: 2px solid #5a2a87;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .category-filter__submit {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Riduzione movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__title .word__inner {
    transform: none !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__lede-more {
    animation: none !important;
  }
  .hero--slider.is-intro .hero-slider__slide.is-active img {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
