:root {
  color-scheme: dark;
  --ink: #f4f8f2;
  --muted: rgba(244, 248, 242, 0.6);
  --deep: #040705;
  --green: #8ee58f;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--deep);
}

a {
  color: inherit;
}

.scene {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 90% at 50% 10%, #071009 0%, var(--deep) 62%);
}

/* ---- sparse stars ---- */
.stars {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    radial-gradient(1.4px 1.4px at 8% 12%, rgba(255, 255, 255, 0.85), transparent 100%),
    radial-gradient(1px 1px at 22% 30%, rgba(255, 255, 255, 0.5), transparent 100%),
    radial-gradient(1.6px 1.6px at 33% 8%, rgba(255, 255, 255, 0.9), transparent 100%),
    radial-gradient(1px 1px at 44% 22%, rgba(255, 255, 255, 0.45), transparent 100%),
    radial-gradient(1.3px 1.3px at 58% 6%, rgba(255, 255, 255, 0.75), transparent 100%),
    radial-gradient(1px 1px at 66% 34%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(1.5px 1.5px at 78% 14%, rgba(255, 255, 255, 0.85), transparent 100%),
    radial-gradient(1px 1px at 90% 26%, rgba(255, 255, 255, 0.5), transparent 100%),
    radial-gradient(1.2px 1.2px at 94% 58%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(1px 1px at 12% 62%, rgba(255, 255, 255, 0.35), transparent 100%),
    radial-gradient(1.1px 1.1px at 70% 74%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(1px 1px at 30% 84%, rgba(255, 255, 255, 0.28), transparent 100%),
    radial-gradient(1.3px 1.3px at 84% 88%, rgba(255, 255, 255, 0.32), transparent 100%),
    radial-gradient(1px 1px at 50% 52%, rgba(255, 255, 255, 0.25), transparent 100%);
}

/* ---- the claw swipe: aurora visible only through three cuts ---- */
.swipe {
  position: absolute;
  z-index: -2;
  top: 42%;
  left: 60%;
  width: 0;
  height: 0;
  transform: rotate(-26deg);
}

/* faint light bleeding out of the cuts into the night */
.swipe::before {
  content: "";
  position: absolute;
  top: -55vmax;
  left: -30vmax;
  width: 60vmax;
  height: 110vmax;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(126, 240, 160, 0.11) 0%,
    rgba(84, 200, 170, 0.05) 45%,
    transparent 72%
  );
  animation: breathe 9s ease-in-out infinite alternate;
}

.cut {
  position: absolute;
  border-radius: 50%;
  background-image: linear-gradient(
    180deg,
    rgba(126, 240, 160, 0) 0%,
    rgba(126, 240, 160, 0.9) 22%,
    rgba(84, 217, 192, 0.95) 45%,
    rgba(168, 255, 208, 0.9) 62%,
    rgba(126, 240, 160, 0.85) 80%,
    rgba(126, 240, 160, 0) 100%
  );
  background-size: 100% 260%;
  background-position: 50% 0%;
  box-shadow:
    0 0 18px rgba(126, 240, 160, 0.4),
    0 0 60px rgba(84, 217, 192, 0.22);
  animation: flow 26s ease-in-out infinite alternate;
}

.c1 {
  width: 9px;
  height: 66vmin;
  top: -38vmin;
  left: -46px;
  animation-duration: 31s;
}

.c2 {
  width: 13px;
  height: 84vmin;
  top: -44vmin;
  left: -6px;
  animation-duration: 24s;
}

.c3 {
  width: 7px;
  height: 56vmin;
  top: -22vmin;
  left: 38px;
  animation-duration: 37s;
}

/* ---- copy ---- */
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(0.72rem, 0.9vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 12vw, 8.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 0 80px rgba(126, 240, 160, 0.18);
}

.tld {
  color: rgba(142, 229, 143, 0.92);
}

.follow {
  margin: clamp(22px, 3.4vw, 34px) 0 0;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.follow a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 229, 143, 0.35);
  padding-bottom: 2px;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.follow a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---- grain ---- */
.grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- motion ---- */
@keyframes flow {
  from {
    background-position: 50% 0%;
  }
  to {
    background-position: 50% 100%;
  }
}

@keyframes breathe {
  from {
    opacity: 0.75;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cut,
  .swipe::before {
    animation: none;
  }
}

@media (max-width: 720px) {
  .swipe {
    top: 38%;
    left: 58%;
    transform: rotate(-24deg) scale(0.82);
  }

  h1 {
    font-size: clamp(2.3rem, 12.5vw, 4.2rem);
  }
}
