* {
  box-sizing: border-box;
}

:root {
  --font-ui: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --bg: #040509;
  --panel: rgba(8, 12, 20, .82);
  --panel-solid: #070a10;
  --text: #f4f8ff;
  --muted: rgba(244, 248, 255, .68);
  --cyan: #36e7ff;
  --pink: #ff3fb4;
  --yellow: #f6ff4a;
  --orange: #ff8a2a;
  --line: rgba(54, 231, 255, .45);

  --page-pad: clamp(22px, 5vw, 86px);
  --nav-width: min(68vw, 980px);
  --nav-base-h: 62px;
  --lid-h: 96px;
  --shadow: 0 22px 70px rgba(0, 0, 0, .36);
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 16% 12%, rgba(54, 231, 255, .14), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(255, 63, 180, .12), transparent 26%),
    linear-gradient(180deg, #05060b, #090813 42%, #030407);
  overflow-x: hidden;
}

html.site-locked,
body.site-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

body.site-locked {
  touch-action: none;
}

body.has-fake-cursor,
body.has-fake-cursor *,
body.has-fake-cursor a,
body.has-fake-cursor button {
  cursor: none !important;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(54, 231, 255, .28);
  color: #fff;
}

.skip-note {
  position: absolute;
  left: -999px;
}

.fake-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  width: 34px;
  height: 34px;
  pointer-events: none;
  transform: translate(-5px, -3px);
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.38));
  display: none;
}

body.has-fake-cursor .fake-cursor {
  display: block;
}

.cursor-shape {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
}

.cursor-hand {
  display: none;
}

.fake-cursor.is-pointer {
  transform: translate(-12px, -3px);
}

.fake-cursor.is-pointer .cursor-arrow {
  display: none;
}

.fake-cursor.is-pointer .cursor-hand {
  display: block;
}

.fake-cursor.touching .cursor-shape {
  transform: scale(.94);
  filter: drop-shadow(0 0 14px rgba(255,255,255,.9));
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* Intro lock: section links should not act live until the mirror unlocks the page. */
body.site-locked .nav-links {
  pointer-events: none;
  opacity: .34;
  filter: saturate(.45);
}

body.site-locked .nav-links a {
  cursor: none !important;
}


