:root {
  color-scheme: dark;
  --ink: #f3f0fa;
  --muted: #a9a3b6;
  --violet: #a98aff;
  --line: rgba(215, 201, 255, 0.22);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; background: #050509; }

body {
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.4rem, 5vw, 5rem);
}

.hero__image, .hero__shade, .noise { position: absolute; inset: 0; }

.hero__image {
  z-index: -3;
  background: url("/assets/pulsar-ripples.png") center center / cover no-repeat;
  animation: arrive 1.8s cubic-bezier(.2,.7,.2,1) both;
}

.hero__shade {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 58%, transparent 0 18%, rgba(4, 3, 10, .1) 44%, rgba(3, 3, 8, .48) 100%),
    linear-gradient(90deg, rgba(3,3,8,.3), transparent 35% 65%, rgba(3,3,8,.3)),
    linear-gradient(180deg, rgba(3,3,8,.32), transparent 30%, rgba(3,3,8,.2));
}

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

.brand {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  letter-spacing: -.03em;
  animation: reveal .9s .15s both;
}

.brand__name {
  font: 400 clamp(1.15rem, 2vw, 1.55rem)/1 Space Grotesk, sans-serif;
  letter-spacing: .36em;
}

.brand__by { color: var(--muted); font-size: .72rem; letter-spacing: .12em; }
.brand__by strong { color: var(--ink); font-weight: 500; }

.message {
  align-self: center;
  width: min(46rem, 100%);
  margin: 2rem auto 0;
  text-align: center;
  text-shadow: 0 2px 30px rgba(0,0,0,.8);
}

.signal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.3rem;
  color: var(--violet);
}

.signal span { width: 2.1rem; height: 1px; background: linear-gradient(90deg, transparent, currentColor); opacity: .58; }
.signal span:nth-last-child(-n+2) { transform: rotate(180deg); }
.signal i { width: .36rem; aspect-ratio: 1; border-radius: 50%; background: currentColor; box-shadow: 0 0 24px 5px rgba(169,138,255,.45); animation: pulse 2.8s ease-in-out infinite; }

.eyebrow {
  margin: 0 0 1.25rem;
  color: #c5b7e7;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
}

h1 {
  margin: 0;
  font: 300 clamp(3rem, 7.4vw, 7.2rem)/.93 Space Grotesk, sans-serif;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.intro {
  max-width: 34rem;
  margin: clamp(1.5rem, 3vw, 2.15rem) auto 0;
  color: #c2bdcb;
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  font-weight: 300;
  line-height: 1.7;
  text-wrap: balance;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.7rem;
  padding: .62rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8,7,14,.4);
  backdrop-filter: blur(12px);
  color: #ddd6eb;
  font-size: .73rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status i { width: .4rem; aspect-ratio: 1; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px rgba(169,138,255,.8); }

.message > * { animation: reveal .95s both; }
.message .eyebrow { animation-delay: .25s; }
.message h1 { animation-delay: .35s; }
.message .intro { animation-delay: .48s; }
.message .status { animation-delay: .6s; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  color: #797482;
  font-size: .73rem;
  letter-spacing: .06em;
  animation: reveal .9s .75s both;
}

footer a { color: inherit; text-decoration: none; transition: color .25s ease; }
footer a:hover, footer a:focus-visible { color: var(--ink); }

@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes arrive { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%,100% { transform: scale(.75); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }

@media (max-width: 640px) {
  .hero { padding: 1.35rem 1.2rem 1.2rem; }
  .hero__image { background-position: 50% 56%; }
  .hero__shade { background: linear-gradient(180deg, rgba(3,3,8,.38), rgba(3,3,8,.12) 42%, rgba(3,3,8,.35)); }
  .brand__name { font-size: 1rem; letter-spacing: .3em; }
  .brand__by { font-size: .65rem; }
  .message { margin-top: 4rem; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .intro { max-width: 28rem; font-size: 1rem; line-height: 1.6; }
  footer { font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
