:root {
  color-scheme: dark;
  --ink: #020308;
  --ink-soft: #090b12;
  --bone: #f6f1df;
  --muted: rgba(246, 241, 223, 0.58);
  --faint: rgba(246, 241, 223, 0.16);
  --cyan: #62d8d9;
  --magenta: #ec4f8c;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 26%, rgba(246, 241, 223, 0.3) 0 1px, transparent 1.5px) 0 0 / 97px 89px,
    radial-gradient(circle at 78% 64%, rgba(98, 216, 217, 0.24) 0 1px, transparent 1.4px) 0 0 / 131px 113px,
    radial-gradient(circle at 42% 82%, rgba(236, 79, 140, 0.2) 0 1px, transparent 1.6px) 0 0 / 173px 149px,
    linear-gradient(180deg, #050712 0%, #020308 58%, #000 100%);
  color: var(--bone);
  font-family:
    "Helvetica Neue",
    Arial,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 7px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 9px 100%;
  mix-blend-mode: screen;
  opacity: 0.38;
}

body::after {
  z-index: 1;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.028) 0,
      rgba(255, 255, 255, 0.028) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.16;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--cyan);
  text-shadow: 0 0 0.7rem rgba(98, 216, 217, 0.45);
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 0.35rem;
}

.site-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  padding: 1.35rem;
  isolation: isolate;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.visual-field {
  position: absolute;
  inset: -18vh -18vw;
  z-index: -1;
  overflow: hidden;
  opacity: 0.94;
}

.visual-field::before {
  content: "";
  position: absolute;
  inset: 4% 2% auto 2%;
  height: 42%;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 223, 0.12);
  box-shadow:
    0 0 1.5rem rgba(98, 216, 217, 0.16),
    0 0 4rem rgba(236, 79, 140, 0.14),
    inset 0 0 3rem rgba(246, 241, 223, 0.04);
  filter: blur(0.4px);
}

.artifact {
  position: absolute;
  left: 50%;
  top: 48%;
  display: block;
  width: 58rem;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  transform: translate(-50%, -50%) rotate(-2deg);
  filter: grayscale(1) invert(1) contrast(1.36) brightness(0.78);
  mix-blend-mode: screen;
}

.artifact-outer {
  width: 74rem;
  opacity: 0.075;
  transform: translate(-48%, -50%) rotate(-8deg) scale(1.08);
  filter: grayscale(1) invert(1) contrast(1.5) brightness(0.86) blur(6px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 32%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 0 32%, transparent 72%);
}

.artifact-core {
  opacity: 0.22;
  -webkit-mask-image:
    radial-gradient(ellipse at 39% 29%, #000 0 18%, transparent 42%),
    linear-gradient(180deg, transparent 0 20%, #000 34% 72%, transparent 90%);
  mask-image:
    radial-gradient(ellipse at 39% 29%, #000 0 18%, transparent 42%),
    linear-gradient(180deg, transparent 0 20%, #000 34% 72%, transparent 90%);
}

.occlusion {
  position: absolute;
  left: 4%;
  right: 4%;
  background: rgba(0, 0, 0, 0.78);
  border-top: 1px solid rgba(246, 241, 223, 0.08);
  border-bottom: 1px solid rgba(98, 216, 217, 0.12);
  box-shadow: 0 0 3rem rgba(0, 0, 0, 0.86);
}

.occlusion-one {
  top: 45%;
  height: 8.5rem;
  transform: skewY(-3deg);
}

.occlusion-two {
  top: 58%;
  height: 4.8rem;
  transform: skewY(2deg);
  opacity: 0.6;
}

.masthead,
.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.masthead {
  color: rgba(246, 241, 223, 0.74);
}

.brand {
  color: var(--bone);
}

.masthead p,
.contact-strip p {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.hero {
  align-self: center;
  justify-self: center;
  width: min(100%, 64rem);
  margin-top: 2.4rem;
  text-align: center;
}

.status {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  margin: 1.15rem 0 0.85rem;
  color: var(--bone);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(1.8rem, 6.8vw, 8.6rem);
  font-family:
    Impact,
    "Arial Black",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 0 1px rgba(98, 216, 217, 0.75),
    0 0 1.8rem rgba(246, 241, 223, 0.12),
    0.05em 0 rgba(236, 79, 140, 0.08),
    -0.05em 0 rgba(98, 216, 217, 0.08);
}

.release-line {
  position: relative;
  width: min(18rem, 70%);
  height: 0.42rem;
  margin: 0 auto 0.7rem;
  overflow: hidden;
  background: rgba(246, 241, 223, 0.08);
  border: 1px solid rgba(246, 241, 223, 0.1);
}

.release-line::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(246, 241, 223, 0.35), transparent);
  transform: translateX(-100%);
}

.release-line span {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 1.25rem rgba(98, 216, 217, 0.32);
}

.contact-strip {
  color: rgba(246, 241, 223, 0.7);
}

.contact-strip a {
  color: var(--bone);
  overflow-wrap: anywhere;
  text-align: right;
}

@media (min-width: 48rem) {
  .site-shell {
    padding: 2rem 2.4rem;
  }

  .artifact {
    width: 74rem;
  }

  .artifact-outer {
    width: 94rem;
  }
}

@media (min-width: 78rem) {
  h1 {
    font-size: clamp(5.2rem, 7vw, 10.2rem);
  }

  .artifact {
    width: 88rem;
  }

  .artifact-outer {
    width: 112rem;
  }
}

@media (max-width: 38rem) {
  body {
    overflow: auto;
  }

  .site-shell {
    min-height: 100svh;
    padding: 1rem;
  }

  .masthead,
  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .masthead p,
  .contact-strip p,
  .contact-strip a {
    text-align: left;
  }

  .hero {
    margin-top: 1rem;
  }

  h1 {
    font-size: clamp(1.2rem, 6.8vw, 3.2rem);
  }

  .artifact {
    top: 47%;
    width: 42rem;
  }

  .artifact-outer {
    width: 56rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .artifact-core {
    animation: signal-drift 12s ease-in-out infinite alternate;
  }

  .release-line span {
    animation: signal-pulse 4s ease-in-out infinite;
  }

  .release-line::after {
    animation: signal-sheen 4s ease-in-out infinite;
  }
}

@keyframes signal-drift {
  from {
    transform: translate(-50%, -50%) rotate(-2deg) scale(1);
  }

  to {
    transform: translate(-51%, -49%) rotate(1deg) scale(1.025);
  }
}

@keyframes signal-sheen {
  0% {
    transform: translateX(-120%);
  }

  60%,
  100% {
    transform: translateX(380%);
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }
}
