/* Shared Brainwave loading and missing-page states. */
.site-loading[hidden] { display: none; }
.site-loading { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; background: var(--paper); color: var(--ink); text-align: center; font-size: clamp(16px, 2.5vw, 20px); font-weight: 500; }
.site-loading-symbol { position: relative; display: block; width: 144px; height: 72px; }
.site-loading-player, .site-loading-still, .site-loading-player > svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.site-loading-player { visibility: hidden; }
.site-loading-symbol.is-ready .site-loading-player { visibility: visible; }
.site-loading-symbol.is-ready .site-loading-still { visibility: hidden; }
.site-loading-copy { min-height: 1.6em; overflow: hidden; letter-spacing: -.025em; }
.site-loading-copy span { display: inline-block; animation: loading-letter-in .32s both cubic-bezier(.22,1,.36,1); animation-delay: calc(var(--i) * 18ms); }
@keyframes loading-letter-in { from { transform: translateY(110%); } to { transform: translateY(0); } }
.not-found-page { min-height: 100dvh; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; }
.not-found-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px; text-align: center; }
.not-found-art { position: relative; width: min(400px, 100%, 48vh); aspect-ratio: 1; flex: none; }
.not-found-player, .not-found-player > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.not-found-art[data-animation-state="loading"] .not-found-player, .not-found-art[data-animation-state="fallback"] .not-found-player { visibility: hidden; }
.not-found-still { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(70px, 15vw, 120px); font-weight: 600; letter-spacing: -.08em; color: var(--purple); }
.not-found-art:not([data-animation-state="loading"]):not([data-animation-state="fallback"]) .not-found-still { display: none; }
.not-found-copy { max-width: 480px; }
.not-found-eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .13em; }
.not-found-copy h1 { margin: 0 0 14px; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
.not-found-copy > p:not(.not-found-eyebrow) { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; text-wrap: balance; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.not-found-actions .secondary { background: transparent; }
.not-found-home { gap: 0; }
.not-found-home-mark { display: inline-flex; align-items: center; width: 32px; overflow: hidden; flex: none; transition: width 260ms cubic-bezier(.22,1,.36,1); }
.not-found-home-mark img { display: block; width: 20px; height: 22px; flex: none; filter: brightness(0) invert(1); transition: transform 220ms cubic-bezier(.22,1,.36,1), opacity 160ms ease; }
.not-found-home .arrow-icon { margin-left: 26px; }
.not-found-home:is(:hover, :focus-visible) .not-found-home-mark { width: 0; }
.not-found-home:is(:hover, :focus-visible) .not-found-home-mark img { transform: translateX(-20px); opacity: 0; }
@media (max-width: 480px) { .not-found-main { padding-block: 40px; } .not-found-art { width: min(320px, 100%, 40vh); } .not-found-actions { flex-direction: column; align-items: center; } }
@media (prefers-reduced-motion: reduce) { .site-loading-copy span { animation: none; } .not-found-home-mark, .not-found-home-mark img { transition: none; } }
.not-found-actions .secondary { color: var(--ink); }
.site-loading .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
