:root {
  color-scheme: dark;
  --bg: #050509;
  --text: #f6f2ed;
  --muted: rgba(246, 242, 237, 0.57);
  --line: rgba(255, 255, 255, 0.13);
  --lime: #c9ff65;
  --violet: #8d5cff;
  --cyan: #39e6d1;
  --page-padding: clamp(1.25rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 115%, rgba(141, 92, 255, 0.16), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: clamp(3rem, 6vw, 6rem) clamp(3rem, 6vw, 6rem);
}

.page-shell::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  content: "";
}

.site-header,
.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: var(--page-padding);
}

.site-header {
  padding-top: clamp(1.4rem, 4vh, 2.75rem);
}

.mark {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.mark__dot {
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 1.25rem rgba(201, 255, 101, 0.75);
}

.mark__dot::after {
  position: absolute;
  inset: -0.32rem;
  border: 1px solid rgba(201, 255, 101, 0.28);
  border-radius: inherit;
  content: "";
  animation: breathe 2.4s ease-in-out infinite;
}

.status {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.58rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.status__pulse {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0.7rem rgba(57, 230, 209, 0.8);
  animation: status-pulse 2s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(3.75rem, 10vh, 7.5rem) var(--page-padding);
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 72rem);
}

.eyebrow {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 clamp(1.1rem, 2vw, 1.75rem);
  color: var(--muted);
  font-size: clamp(0.63rem, 1vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: reveal-up 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.eyebrow span {
  width: clamp(2rem, 5vw, 4.5rem);
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--lime), rgba(201, 255, 101, 0.08));
  transform-origin: left;
  animation: line-grow 1.3s 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(4.25rem, 12.2vw, 11.5rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.77;
}

.title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  opacity: 0;
  transform: translateY(45%) rotate(2deg);
  transform-origin: left bottom;
  animation: title-reveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line--intro {
  position: relative;
  z-index: 2;
  font-size: 0.53em;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  animation-delay: 0.25s;
}

.title-line--name {
  position: relative;
  z-index: 1;
  padding-right: 0.06em;
  background: linear-gradient(
    105deg,
    #ffffff 3%,
    #d6ff89 31%,
    #8ff6e5 52%,
    #a889ff 72%,
    #ffffff 96%
  );
  background-size: 220% auto;
  color: transparent;
  font-weight: 800;
  line-height: 0.95;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0.08em 0.2em rgba(141, 92, 255, 0.12));
  animation:
    title-reveal 1.1s 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    gradient-travel 8s 1.5s ease-in-out infinite alternate;
}

.title-line--name::after {
  position: absolute;
  z-index: -1;
  inset: 20% 4% 0;
  background: linear-gradient(90deg, rgba(201, 255, 101, 0.2), rgba(141, 92, 255, 0.25));
  filter: blur(clamp(1.5rem, 5vw, 4rem));
  content: "";
  opacity: 0.6;
}

.hero__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: clamp(1.6rem, 3.5vw, 3.5rem);
  opacity: 0;
  animation: reveal-up 0.9s 0.82s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stay-tuned {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.arrow {
  display: grid;
  place-items: center;
  width: clamp(2.7rem, 5vw, 4rem);
  height: clamp(2.7rem, 5vw, 4rem);
  margin-left: 1rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
}

.arrow span {
  width: 0.44rem;
  height: 0.44rem;
  border-right: 1.5px solid var(--lime);
  border-bottom: 1.5px solid var(--lime);
  transform: translateY(-0.12rem) rotate(45deg);
  animation: arrow-down 2s ease-in-out infinite;
}

.orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(70vw, 46rem);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -48%);
  pointer-events: none;
}

.orbit__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  will-change: transform;
}

.orbit__ring--outer {
  border-top-color: rgba(201, 255, 101, 0.34);
  border-right-color: rgba(141, 92, 255, 0.22);
  transform: rotate(-18deg) scaleY(0.38);
  animation: orbit-outer 20s linear infinite;
}

.orbit__ring--inner {
  inset: 15%;
  border-bottom-color: rgba(57, 230, 209, 0.35);
  transform: rotate(30deg) scaleY(0.58);
  animation: orbit-inner 15s linear infinite reverse;
}

.orbit__spark {
  position: absolute;
  width: clamp(0.32rem, 0.7vw, 0.55rem);
  aspect-ratio: 1;
  border-radius: 50%;
}

.orbit__spark--one {
  top: 28%;
  right: 5%;
  background: var(--lime);
  box-shadow: 0 0 1.4rem 0.25rem rgba(201, 255, 101, 0.55);
  animation: spark-float 5s ease-in-out infinite;
}

.orbit__spark--two {
  bottom: 15%;
  left: 14%;
  background: var(--violet);
  box-shadow: 0 0 1.4rem 0.25rem rgba(141, 92, 255, 0.55);
  animation: spark-float 6s 1s ease-in-out infinite reverse;
}

.aurora {
  position: absolute;
  z-index: -1;
  width: min(60vw, 42rem);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(clamp(3rem, 8vw, 7rem));
  opacity: 0.16;
  will-change: transform;
}

.aurora--one {
  top: -25%;
  right: -10%;
  background: var(--violet);
  animation: drift-one 14s ease-in-out infinite alternate;
}

.aurora--two {
  bottom: -35%;
  left: -12%;
  background: var(--cyan);
  animation: drift-two 17s ease-in-out infinite alternate;
}

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

.site-footer {
  padding-bottom: clamp(1.4rem, 4vh, 2.6rem);
  color: rgba(255, 255, 255, 0.35);
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  letter-spacing: 0.06em;
}

.site-footer p {
  margin: 0;
}

.coordinates {
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}

@keyframes title-reveal {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes line-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes gradient-travel {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes orbit-outer {
  from { transform: rotate(-18deg) scaleY(0.38); }
  to { transform: rotate(342deg) scaleY(0.38); }
}

@keyframes orbit-inner {
  from { transform: rotate(30deg) scaleY(0.58); }
  to { transform: rotate(390deg) scaleY(0.58); }
}

@keyframes spark-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -1rem, 0) scale(1.25); }
}

@keyframes drift-one {
  from { transform: translate3d(0, 0, 0) scale(0.9); }
  to { transform: translate3d(-12%, 10%, 0) scale(1.12); }
}

@keyframes drift-two {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(14%, -10%, 0) scale(1.15); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.25; transform: scale(0.75); }
  50% { opacity: 0.8; transform: scale(1.15); }
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes arrow-down {
  0%, 100% { opacity: 0.35; transform: translateY(-0.18rem) rotate(45deg); }
  50% { opacity: 1; transform: translateY(0.18rem) rotate(45deg); }
}

@media (max-width: 640px) {
  .page-shell {
    background-size: 3.6rem 3.6rem;
  }

  .status {
    padding: 0.52rem 0.7rem;
    font-size: 0.58rem;
  }

  .hero {
    place-items: center start;
    padding-block: 3rem;
  }

  .hero__content {
    width: 100%;
  }

  h1 {
    font-size: clamp(4.15rem, 22vw, 7rem);
    line-height: 0.8;
  }

  .title-line--intro {
    font-size: 0.46em;
    line-height: 1.15;
  }

  .hero__footer {
    justify-content: flex-start;
    margin-top: 2rem;
    padding-left: 0.15rem;
  }

  .orbit {
    top: 51%;
    width: 130vw;
    opacity: 0.72;
  }

  .aurora {
    width: 80vw;
    opacity: 0.15;
    filter: blur(4rem);
  }

  .site-footer {
    align-items: flex-end;
  }

  .coordinates {
    max-width: 8.5rem;
    text-align: right;
  }
}

@media (max-height: 650px) and (orientation: landscape) {
  .site-header {
    padding-top: 1rem;
  }

  .hero {
    padding-block: 1.5rem;
  }

  h1 {
    font-size: clamp(3.5rem, 15vh, 6.5rem);
  }

  .hero__footer {
    margin-top: 1rem;
  }

  .site-footer {
    padding-bottom: 1rem;
  }
}

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

@supports not (backdrop-filter: blur(10px)) {
  .status,
  .arrow {
    background: rgba(15, 15, 22, 0.84);
  }
}
