:root {
  --ink: #08080b;
  --paper: #f4f2e9;
  --muted: rgba(244, 242, 233, 0.56);
  --line: rgba(244, 242, 233, 0.14);
  --acid: #caff32;
  --violet: #745cff;
  --cyan: #55e6ff;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --title-x: 0deg;
  --title-y: 0deg;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(116, 92, 255, 0.12), transparent 28rem),
    var(--ink);
  color: var(--paper);
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  transform: translateY(-200%);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: visibility 0s 1.25s;
}

.loader__panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.1%;
  background: #050507;
  transition: transform 1.1s var(--ease-out) 0.15s;
}

.loader__panel--top {
  top: 0;
}

.loader__panel--bottom {
  bottom: 0;
}

.loader__content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(21rem, 74vw);
  justify-items: center;
  transition: opacity 0.35s ease, transform 0.55s var(--ease-out);
}

.loader__mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  aspect-ratio: 1;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.loader__mark::before,
.loader__mark::after {
  content: "";
  position: absolute;
  inset: -.55rem;
  border: 1px solid transparent;
  border-top-color: var(--acid);
  border-right-color: rgba(202, 255, 50, .25);
  border-radius: 50%;
  animation: loader-spin 1.4s linear infinite;
}

.loader__mark::after {
  inset: .6rem;
  border-top-color: var(--violet);
  border-right-color: transparent;
  animation-direction: reverse;
  animation-duration: 1.9s;
}

.loader__mark i,
.monogram i {
  width: 1px;
  height: 1.2em;
  margin: 0 .42em;
  background: currentColor;
  opacity: .35;
  transform: rotate(18deg);
}

.loader__label {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: .64rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.loader__progress {
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.14);
}

.loader__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--acid));
  box-shadow: 0 0 18px var(--acid);
}

.loader__number {
  justify-self: end;
  margin: .65rem 0 0;
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  font-weight: 300;
}

.loader__number small {
  margin-left: .2rem;
  color: var(--muted);
  font-size: .55rem;
}

body.is-ready .loader {
  visibility: hidden;
  pointer-events: none;
}

body.is-ready .loader__content {
  opacity: 0;
  transform: scale(.82) rotate(-4deg);
}

body.is-ready .loader__panel--top {
  transform: translateY(-102%);
}

body.is-ready .loader__panel--bottom {
  transform: translateY(102%);
}

@keyframes loader-spin {
  to { transform: rotate(1turn); }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: .045;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.aurora {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora__orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  mix-blend-mode: screen;
  animation: drift 14s ease-in-out infinite alternate;
}

.aurora__orb--one {
  top: -15%;
  left: 18%;
  width: 30rem;
  height: 30rem;
  background: var(--violet);
}

.aurora__orb--two {
  right: -8%;
  bottom: -15%;
  width: 34rem;
  height: 34rem;
  background: var(--cyan);
  animation-delay: -5s;
}

.aurora__orb--three {
  top: 43%;
  left: 43%;
  width: 20rem;
  height: 20rem;
  background: var(--acid);
  opacity: .08;
  animation-delay: -9s;
}

@keyframes drift {
  0% { transform: translate3d(-7%, -3%, 0) scale(.92); }
  100% { transform: translate3d(12%, 8%, 0) scale(1.15); }
}

.site {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.topbar,
.footer {
  position: fixed;
  z-index: 20;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.topbar {
  top: 0;
  height: 6rem;
}

.monogram {
  display: flex;
  align-items: center;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.topbar__status,
.topbar__index,
.footer {
  color: var(--muted);
  font-size: .63rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.topbar__status {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.topbar__status i {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px var(--acid);
  animation: status-pulse 2s ease-out infinite;
}

@keyframes status-pulse {
  50% { box-shadow: 0 0 0 6px rgba(202,255,50,0); }
}

.topbar__index span {
  margin-inline: .35rem;
  color: var(--acid);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  padding: 8rem 5vw 7rem;
  perspective: 1200px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle 32rem at var(--mouse-x) var(--mouse-y), rgba(255,255,255,.055), transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: clamp(3.5rem, 7vw, 7rem) clamp(3.5rem, 7vw, 7rem);
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  transform: perspective(700px) rotateX(60deg) scale(1.8) translateY(22%);
  transform-origin: center bottom;
}

.hero__halo {
  position: absolute;
  z-index: -1;
  width: min(52vw, 44rem);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate3d(var(--halo-x, 0), var(--halo-y, 0), 0);
  transition: transform .4s ease-out;
}

.hero__halo i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 242, 233, .1);
  border-radius: 50%;
  animation: halo-spin 24s linear infinite;
}

.hero__halo i::after {
  content: "";
  position: absolute;
  top: 11%;
  left: 11%;
  width: .55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 22px var(--acid);
}

.hero__halo i:nth-child(2) {
  inset: 12%;
  animation-direction: reverse;
  animation-duration: 17s;
}

.hero__halo i:nth-child(2)::after {
  top: auto;
  right: 4%;
  bottom: 19%;
  left: auto;
  width: .35rem;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
}

.hero__halo i:nth-child(3) {
  inset: 28%;
  border-style: dashed;
  animation-duration: 30s;
}

.hero__halo i:nth-child(3)::after {
  display: none;
}

@keyframes halo-spin {
  to { transform: rotate(1turn); }
}

.hero__eyebrow,
.hero__tagline {
  position: relative;
  z-index: 3;
  margin: 0;
  text-transform: uppercase;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.2rem, 3vh, 2.2rem);
  color: var(--acid);
  font-size: clamp(.57rem, .7vw, .7rem);
  letter-spacing: .34em;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: clamp(1.5rem, 4vw, 4rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.hero__eyebrow::after {
  transform: scaleX(-1);
}

.hero__title-wrap {
  position: relative;
  display: grid;
  place-items: center;
  transform: rotateX(var(--title-x)) rotateY(var(--title-y));
  transform-style: preserve-3d;
  transition: transform .15s linear;
  will-change: transform;
}

.hero__ghost {
  position: absolute;
  z-index: -1;
  margin: 0;
  color: transparent;
  font-size: clamp(13rem, 37vw, 36rem);
  font-weight: 900;
  line-height: .7;
  -webkit-text-stroke: 1px rgba(255,255,255,.035);
  letter-spacing: -.12em;
  transform: translateZ(-100px);
}

.hero__title {
  display: grid;
  justify-items: center;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .76;
}

.title-line {
  display: flex;
  justify-content: center;
  font-size: clamp(3.75rem, 12vw, 11.5rem);
  white-space: nowrap;
}

.title-line--outline {
  color: transparent;
  -webkit-text-stroke: clamp(1px, .1vw, 2px) var(--paper);
  text-shadow: 0 0 45px rgba(255,255,255,.08);
}

.title-line--solid {
  position: relative;
  z-index: 2;
  color: var(--paper);
  font-size: clamp(4.4rem, 14.5vw, 14rem);
  text-shadow: 0 12px 50px rgba(0,0,0,.55);
}

.title-line .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(1em) rotate(8deg);
  transition:
    opacity .8s var(--ease-out),
    transform 1.05s var(--ease-out),
    color .35s ease,
    -webkit-text-stroke-color .35s ease;
  transition-delay: calc(1.05s + var(--char-index) * 55ms);
}

body.is-ready .title-line .char {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.hero__stroke {
  position: absolute;
  z-index: 4;
  bottom: -1.3rem;
  left: 50%;
  width: min(50vw, 38rem);
  overflow: visible;
  transform: translateX(-50%) rotate(-2deg) translateZ(35px);
  fill: none;
  stroke: var(--acid);
  stroke-linecap: round;
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(202,255,50,.5));
}

.hero__stroke path {
  stroke-dasharray: 650;
  stroke-dashoffset: 650;
  transition: stroke-dashoffset 1.5s var(--ease-out) 1.7s;
}

body.is-ready .hero__stroke path {
  stroke-dashoffset: 0;
}

.hero__tagline {
  margin-top: clamp(2rem, 4vh, 3.4rem);
  color: var(--muted);
  font-size: clamp(.6rem, .85vw, .78rem);
  letter-spacing: .3em;
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .9s ease, transform .9s var(--ease-out);
  transition-delay: 1.65s;
}

body.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

.energy-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: clamp(1.7rem, 4vh, 3rem);
  padding: .8rem 1.05rem .8rem .85rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  color: var(--paper);
  cursor: none;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition:
    background .35s ease,
    border-color .35s ease,
    color .35s ease,
    transform .2s ease;
  transition-delay: 1.9s;
}

.energy-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: translateX(-105%);
  transition: transform .55s var(--ease-out);
}

.energy-button:hover::before {
  transform: translateX(0);
}

.energy-button:hover {
  border-color: var(--acid);
  color: var(--ink);
}

.energy-button > * {
  position: relative;
  z-index: 1;
}

.energy-button__spark {
  width: .5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.energy-button:hover .energy-button__spark {
  background: var(--ink);
  box-shadow: none;
}

.energy-button svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__rail {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(244,242,233,.28);
  font-size: .52rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__rail i {
  width: 1px;
  height: 2.5rem;
  background: var(--line);
}

.hero__rail--left {
  left: clamp(1rem, 2vw, 2rem);
  transform: translateY(-50%) rotate(180deg);
}

.hero__rail--right {
  right: clamp(1rem, 2vw, 2rem);
  transform: translateY(-50%);
}

.footer {
  bottom: 0;
  height: 5rem;
}

.footer__hint {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.footer__hint span {
  width: 1.8rem;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.footer__hint span::after {
  content: "";
  display: block;
  width: 60%;
  height: 100%;
  background: var(--acid);
  animation: hint-slide 1.8s ease-in-out infinite;
}

@keyframes hint-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

.cursor {
  position: fixed;
  z-index: 10001;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
  transition: width .25s ease, height .25s ease, opacity .2s ease, background .25s ease;
}

body.has-cursor .cursor {
  opacity: 1;
}

.cursor--dot {
  width: .36rem;
  height: .36rem;
  background: #fff;
}

.cursor--ring {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,.8);
}

.cursor--ring span {
  width: .18rem;
  height: .18rem;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity .2s ease;
}

body.cursor-hover .cursor--ring {
  width: 4.7rem;
  height: 4.7rem;
  border-color: #fff;
  background: #fff;
}

body.cursor-hover .cursor--ring span {
  opacity: 1;
}

body.cursor-down .cursor--ring {
  width: 2rem;
  height: 2rem;
}

body[data-theme="1"] {
  --acid: #ff4ecd;
  --violet: #ff6937;
  --cyan: #ffd84d;
}

body[data-theme="2"] {
  --acid: #54f7ff;
  --violet: #0066ff;
  --cyan: #8dff91;
}

body.energy-flash .hero__halo {
  animation: energy-flash .8s var(--ease-out);
}

@keyframes energy-flash {
  50% { transform: scale(1.18) rotate(12deg); filter: brightness(1.8); }
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 5px;
}

@media (pointer: fine) {
  body,
  a,
  button {
    cursor: none;
  }
}

@media (max-width: 700px) {
  .topbar {
    height: 5rem;
  }

  .topbar__status,
  .hero__rail,
  .footer__hint {
    display: none;
  }

  .hero {
    padding-inline: 1rem;
  }

  .title-line {
    font-size: clamp(3.15rem, 16.2vw, 6.8rem);
    letter-spacing: -.065em;
  }

  .title-line--solid {
    font-size: clamp(4.5rem, 23vw, 8.5rem);
  }

  .hero__halo {
    width: 90vw;
  }

  .hero__stroke {
    bottom: -.9rem;
    width: 70vw;
  }

  .hero__tagline {
    max-width: 22rem;
    text-align: center;
    line-height: 1.7;
  }

  .footer {
    height: 4.5rem;
  }
}

@media (max-height: 650px) and (orientation: landscape) {
  .topbar,
  .footer {
    height: 3.5rem;
  }

  .hero {
    padding-block: 4rem;
  }

  .hero__eyebrow {
    margin-bottom: .8rem;
  }

  .hero__tagline {
    margin-top: 1.3rem;
  }

  .energy-button {
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .cursor {
    display: none;
  }
}
