@font-face {
  font-family: 'Movat Orbit Display'; src: url('MovatOrbitDisplay.woff') format('woff');
  font-style: normal; font-weight: 400; font-display: block;
}
/* One shared square keeps the orbit concentric with the logo at every size. */
.home-page .hero { padding: 18px 12px; --orbit-duration: 3.2s; --orbit-start: 1.8s; }
.hero-scene { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-lockup { position: relative; width: min(94vw, calc(100svh - var(--sticky-header-height) - 110px), 750px); aspect-ratio: 1; display: grid; place-items: center; }
.home-page .hero-logo { width: 72%; }
.hero-orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: #850610; }
.orbit-spin { transform-origin: 500px 500px; transform: rotate(0deg); }
.orbit-ready .orbit-link { pointer-events: auto; }
/* A generous invisible arc makes each word easy to tap on a phone. */
.orbit-hit-area { fill: none; stroke: transparent; stroke-width: 120px; }
.orbit-link:focus-visible { outline: none; }
.orbit-link:focus-visible .orbit-hit-area { stroke: rgb(133 6 16 / 14%); }
.orbit-link:hover .orbit-word, .orbit-link:focus-visible .orbit-word { fill: #62040c; text-decoration: underline; }
.orbit-word { font-family: 'Movat Orbit Display', 'DejaVu Sans', sans-serif; font-size: 46px; letter-spacing: 3px; opacity: 0; }
.words-ready .orbit-spin { animation: orbit-turn var(--orbit-duration) cubic-bezier(.25, .1, .25, 1) var(--orbit-start) 1 both; }
.words-ready.orbit-ready .orbit-spin { animation: none; transform: rotate(360deg); }
.words-ready .orbit-word { animation: orbit-arrive 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--entry-delay); }
.words-ready.orbit-ready .orbit-word { animation: none; opacity: 1; filter: none; transform: none; }
@keyframes orbit-turn { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit-arrive {
  from { opacity: 0; filter: blur(10px); transform: translateY(-24px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.opening-note { margin: 0; color: #850610; font-size: clamp(11px, 2.8vw, 15px); line-height: 1.6; letter-spacing: .16em; text-align: center; opacity: 0; transform: translateY(8px); }
.opening-note strong { font-weight: 700; }
.words-ready .opening-note { animation: opening-reveal .45s ease-out calc(var(--orbit-start) + var(--orbit-duration) + .1s) both; }
@keyframes opening-reveal { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .home-page .orbit-spin, .home-page .orbit-word, .home-page .opening-note { animation: none; }
  .home-page .orbit-word, .home-page .opening-note { opacity: 1; filter: none; transform: none; }
}

/* A native cursor only on home links and only with a precise mouse pointer. */
@media (hover: hover) and (pointer: fine) {
  .home-page a[href] { cursor: url('../img/cursore-mano.svg') 16 2, pointer; }
}
