.welcome-screen { box-sizing: border-box; position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 24px; border: 0; color: #101113; background: #f5f5f2; font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif; overflow: hidden; }
.welcome-screen[open] { display: grid; place-items: center; animation: welcome-arrive .16s ease-out both; }
.welcome-screen::backdrop { background: #f5f5f2; }
.welcome-screen.is-leaving { opacity: 0; transition: opacity .18s ease; pointer-events: none; }
.welcome-center { position: relative; display: grid; place-items: center; width: min(76vw, 460px); aspect-ratio: 1; }
.welcome-word { display: flex; align-items: center; font-size: clamp(68px, 15vw, 140px); line-height: 1; font-weight: 750; letter-spacing: -.07em; padding-right: .07em; }
.is-intro .welcome-center { width: min(100%, 86vw, 620px, calc(100vh - 160px)); }
.is-intro .welcome-word { position: relative; z-index: 2; perspective: 800px; font-size: clamp(40px, min(20vw, 18vh), 174px); }
.is-intro .welcome-word span { display: block; transform-origin: 50% 80%; animation: welcome-letter .95s cubic-bezier(.16,1,.3,1) both; }
.is-intro .welcome-word span:nth-child(1) { animation-delay: .16s; }
.is-intro .welcome-word span:nth-child(2) { animation-delay: .34s; }
.is-intro .welcome-word span:nth-child(3) { animation-delay: .52s; }
.is-intro .welcome-word span:nth-child(4) { animation-delay: .7s; }
.is-intro .welcome-word::after { content: ''; position: absolute; inset: -12% -20%; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(245,245,242,.65) 49%, transparent 63%); opacity: 0; animation: welcome-sheen .85s 1.15s ease-in-out both; }
.is-intro .welcome-center::before, .is-intro .welcome-center::after { content: ''; position: absolute; inset: 9%; border: 1px solid rgba(16,17,19,.08); border-radius: 50%; pointer-events: none; }
.is-intro .welcome-center::before { border-left-color: rgba(145,115,75,.55); animation: welcome-orbit-secondary 2.2s cubic-bezier(.2,.7,.3,1) both; }
.is-intro .welcome-center::after { inset: 20%; border-right-color: rgba(16,17,19,.2); animation: welcome-orbit-inner 2.2s cubic-bezier(.2,.7,.3,1) both; }
.is-intro .welcome-rule { bottom: 36%; width: 22%; background: #9b8668; animation-delay: .95s; }
.welcome-screen.is-intro.is-leaving { transition: none; animation: welcome-zoom-reveal 1.05s linear both; }
.welcome-screen.is-leaving::backdrop { opacity: 0; transition: opacity .18s ease; }
.welcome-screen.is-intro.is-leaving::backdrop { transition: none; animation: welcome-zoom-reveal 1.05s linear both; }
.is-intro.is-leaving .welcome-center { transform-origin: 46% 50%; animation: welcome-camera-push 1.05s cubic-bezier(.55,.04,.75,.4) both; }
.welcome-rule { position: absolute; bottom: 28%; width: 44%; height: 1px; background: #a9aaa4; transform-origin: left; animation: welcome-rule .7s .4s cubic-bezier(.16,1,.3,1) both; }
.welcome-ring { position: absolute; inset: 1%; border: 1px solid rgba(16,17,19,.1); border-top-color: #101113; border-radius: 50%; }
.is-intro .welcome-ring { inset: 1%; animation: welcome-orbit 2.2s cubic-bezier(.16,1,.3,1) both; }
.is-transition .welcome-center { width: clamp(140px, 38vw, 190px); }
.is-transition .welcome-word { font-size: clamp(30px, 8vw, 40px); }
.is-transition .welcome-ring { animation: welcome-spin .85s linear infinite; }
.is-transition .welcome-rule { display: none; }
@keyframes welcome-letter { 0% { opacity: 0; transform: translate3d(0,55px,0) rotateX(-65deg) rotateZ(8deg) scale(.88); } 65% { opacity: 1; transform: translate3d(0,-5px,0) rotateX(0) rotateZ(-1deg) scale(1.02); } 100% { opacity: 1; transform: translate3d(0,0,0) rotateX(0) rotateZ(0) scale(1); } }
@keyframes welcome-sheen { 0% { opacity: 0; transform: translateX(-80%); } 35%, 65% { opacity: 1; } 100% { opacity: 0; transform: translateX(80%); } }
@keyframes welcome-orbit-secondary { from { opacity: 0; transform: rotate(150deg) scale(.85); } to { opacity: 1; transform: rotate(-30deg) scale(1); } }
@keyframes welcome-orbit-inner { from { opacity: 0; transform: rotate(-120deg) scale(.9); } to { opacity: .6; transform: rotate(95deg) scale(1); } }
@keyframes welcome-rule { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes welcome-orbit { from { opacity: 0; transform: rotate(-100deg) scale(.94); } to { opacity: .65; transform: rotate(55deg) scale(1); } }
@keyframes welcome-spin { to { transform: rotate(360deg); } }
@keyframes welcome-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes welcome-camera-push { from { transform: scale(1); } to { transform: scale(8); } }
@keyframes welcome-zoom-reveal { 0%, 35% { opacity: 1; } 65% { opacity: .8; } 100% { opacity: 0; } }
@supports (height: 100svh) {
  .welcome-screen { height: 100dvh; }
  .is-intro .welcome-center { width: min(100%, 86vw, 620px, calc(100svh - 160px)); }
  .is-intro .welcome-word { font-size: clamp(40px, min(20vw, 18svh), 174px); }
}
@media (prefers-reduced-motion: reduce) { .welcome-screen[open] { display: none; } .welcome-screen *, .welcome-screen *::before, .welcome-screen *::after, .welcome-screen { animation: none !important; transition: none !important; } }
