/* WOLXOR — regole che Oxygen non può esprimere: font locale per il testo a contorno, rivelazioni e media query non legate ai breakpoint. */
@font-face {
  font-family: 'WX Outline';
  src: url('../fonts/wx-outline-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Rivelazione titoli e blocchi (classe is-revealed aggiunta da core.js quando entrano in vista). */
html.wx-js:not(.wx-reduced) .section-title,
html.wx-js:not(.wx-reduced) .contact-title,
html.wx-js:not(.wx-reduced) [data-reveal] {
  clip-path: inset(0 0 100% 0);
  transform: translateY(36px) skewY(1.5deg);
  transition: clip-path 1.05s cubic-bezier(.16,1,.3,1), transform 1.05s cubic-bezier(.16,1,.3,1);
  will-change: clip-path, transform;
}
html.wx-js:not(.wx-reduced) .section-title.is-revealed,
html.wx-js:not(.wx-reduced) .contact-title.is-revealed,
html.wx-js:not(.wx-reduced) [data-reveal].is-revealed {
  clip-path: inset(-10% 0 -10% 0);
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .custom-cursor, .experience-frame, .page-progress { display: none !important; }
  .button-beam-layer { animation: none !important; transform: rotate(306deg); }
  .review-marquee-track, .clients-track, .vision-ticker-track { animation: none !important; }
  .method-chapter { opacity: 1 !important; visibility: visible !important; transform: none !important; }
}

@media (pointer: coarse) {
  .custom-cursor { display: none !important; }
}

@media (hover: hover) {
  .review-marquee:hover .review-marquee-track,
  .clients-viewport:hover .clients-track { animation-play-state: paused; }
}

/* Pagine zona: "Lavori realizzati in zona" compare solo se c'è almeno un progetto collegato al comune. */
.zona-progetti:not(:has(.bde-post-loop > *)) { display: none; }

/* Parole con trattino che non devono andare a capo (es. e-commerce nei titoli). */
.nowrap { white-space: nowrap; }
