/* Home intro. The page is hidden only while the intro can still run; a CSS timer reveals it after 5 s even if the script fails. */
html.intro-pending body > *:not(#intro) { visibility: hidden; animation: intro-reveal 0s 5s forwards; }
@keyframes intro-reveal { to { visibility: visible; } }
#intro { position: fixed; inset: 0; z-index: 1000; background: #fff; overflow: hidden; transition: opacity .45s ease; }
#intro.out { opacity: 0; pointer-events: none; }
#intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#intro .coin { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; background: #fff;
  border: 2px solid #0A0A0A; display: flex; align-items: center; justify-content: center; overflow: hidden; opacity: 0; will-change: transform; box-shadow: 0 6px 22px rgba(0,0,0,.12); }
#intro .coin img { width: 74%; height: auto; display: block; }
#intro .coin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%); transform: translateX(var(--sheen, -120%)); mix-blend-mode: soft-light; }
#intro .count { position: absolute; left: 0; right: 0; top: calc(50% + 96px); text-align: center; font: 600 14px/1.2 inherit; font-family: inherit; letter-spacing: .04em; color: #0A0A0A; opacity: 0; transition: opacity .5s ease; }
#intro .chip { position: absolute; border-radius: 50%; border: 1px solid #0A0A0A; background: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .6s ease; overflow: hidden; }
#intro .chip.on { opacity: 1; }
#intro .chip span { position: relative; font: 700 18px/1 inherit; font-family: inherit; color: #0A0A0A; z-index: 1; }
#intro .chip img { position: relative; width: 62%; height: 62%; object-fit: contain; z-index: 1; }
#intro .chip::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(circle, var(--glow, #0A0A0A) 0%, transparent 62%); opacity: 0; transition: opacity .8s ease; }
#intro .chip.on::before { opacity: .38; }
#intro .skip { position: absolute; top: 16px; right: 16px; z-index: 2; padding: 8px 14px; background: #fff; border: 1px solid #E5E5E5; border-radius: 999px; font: 500 13px/1 inherit; font-family: inherit; color: #0A0A0A; cursor: pointer; }
#intro .skip:focus-visible { outline: 2px solid #0A0A0A; outline-offset: 2px; }
.hero__content.intro-rise { animation: intro-rise .7s ease both; }
@keyframes intro-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html.intro-pending body > *:not(#intro) { visibility: visible; animation: none; } #intro { display: none; } }
