:root { color-scheme: dark; --background: #05060c; --white: #edeef5; --muted: #8c8d9f; }
* { box-sizing: border-box; }
html { min-width: 280px; min-height: 100%; background: var(--background); }
body { margin: 0; min-height: 100svh; overflow-x: hidden; color: var(--white); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #aaa1ff; outline-offset: 9px; border-radius: 2px; }
.ambient, #scene, .grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ambient { overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #101022, #05060c 72%); }
.ambient i { position: absolute; width: 65vmax; height: 55vmax; border-radius: 47% 53% 62% 38%; filter: blur(80px); opacity: .21; animation: drift 24s ease-in-out infinite alternate; }
.ambient i:nth-child(1) { background: #2e258f; left: -20%; top: -25%; }
.ambient i:nth-child(2) { background: #144984; right: -25%; bottom: -40%; animation-delay: -12s; }
.ambient i:nth-child(3) { background: #56234e; right: 0; top: 20%; width: 40vmax; opacity: .13; animation-delay: -7s; }
@keyframes drift { to { transform: translate(15%, 12%) rotate(45deg) scale(1.15); border-radius: 60% 40% 40% 60%; } }
#scene { z-index: 1; display: block; opacity: 0; transition: opacity 1.4s; }
.webgl-ready #scene { opacity: 1; }
.grain { z-index: 3; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.topbar, .footer { position: absolute; left: 0; width: 100%; padding-left: clamp(24px, 5vw, 88px); padding-right: clamp(24px, 5vw, 88px); z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar { top: 0; padding-top: clamp(26px, 5vh, 58px); }
.wordmark { display: inline-flex; gap: 14px; align-items: center; }
.wordmark svg { width: 34px; height: 34px; fill: none; stroke: #e7e6f4; stroke-width: 1.7; }
.wordmark > span { font-size: 19px; letter-spacing: .22em; font-weight: 600; }
.wordmark-detail { display: block; margin-top: 6px; font-size: 9px; font-weight: 400; letter-spacing: .27em; color: #a4a3b6; }
.top-note, .location, #motion-toggle { font-size: 11px; font-weight: 400; letter-spacing: .17em; line-height: 1.6; }
.top-note { color: #9998ac; }
.hero { position: relative; z-index: 2; min-height: 100svh; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 145px 24px 150px; text-align: center; }
h1 { margin: 0; font-size: clamp(48px, 8.6vw, 144px); line-height: .98; font-weight: 400; letter-spacing: -.065em; }
h1 span { display: block; }
.webgl-ready h1 { color: transparent; }
.footer { bottom: 0; padding-bottom: clamp(26px, 5vh, 58px); }
.location { color: #898799; font-size: 10px; }
.divider { padding: 0 14px; color: #545064; }
#motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: transparent; border: 0; color: #bbb7ca; padding: 10px 0 10px 10px; cursor: pointer; font-size: 10px; white-space: nowrap; }
#motion-toggle:hover { color: #fff; }
.motion-icon { display: block; width: 8px; height: 9px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.paused .motion-icon { border: 0; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid currentColor; }
.paused .ambient i { animation-play-state: paused; }
@media (max-width: 620px) {
  .top-note { display: none; }
  .topbar { padding-top: 30px; }
  h1 { font-size: clamp(42px, 11vw, 68px); }
  .footer { align-items: flex-end; padding-bottom: 26px; gap: 14px; }
  .location { max-width: 160px; font-size: 9px; line-height: 1.9; }
  .divider { display: block; height: 0; overflow: hidden; }
  #motion-toggle { font-size: 9px; }
}
@media (max-height: 540px) and (min-width: 621px) {
  .hero { padding-top: 110px; padding-bottom: 90px; }
  h1 { font-size: min(12vh, 86px); }
}
@media (prefers-reduced-motion: reduce) { .ambient i { animation: none; } #scene { transition: none; } }
