@font-face {
  font-family: "Harding Text Web Regular Regular";
  src:
    url("./assets/fonts/harding.woff2") format("woff2"),
    url("./assets/fonts/harding.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-0: #010a12;
  --bg-1: #041a29;
  --bg-2: #0a3047;
  --blue-core: #8ff1ff;
  --blue-soft: rgba(93, 214, 255, 0.22);
  --yellow: #f7e85b;
  --yellow-bright: #fff38a;
  --shell-size: clamp(7.25rem, 20vw, 8.75rem);
  --display-font: "Harding Text Web Regular Regular", "Cormorant Garamond", Georgia, serif;
  --ui-font: "Space Grotesk", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow: hidden;
  color: #f6fbff;
  font-family: var(--ui-font);
  background:
    radial-gradient(circle at 50% 22%, rgba(127, 238, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 20% 15%, rgba(77, 170, 215, 0.15), transparent 20rem),
    radial-gradient(circle at 78% 80%, rgba(54, 143, 194, 0.14), transparent 26rem),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 42%, var(--bg-0) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(151, 244, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%, transparent 74%, rgba(255, 255, 255, 0.03));
}

.automata {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.34;
  image-rendering: pixelated;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem 2.75rem;
}

.status-card {
  width: min(100%, 34rem);
  display: grid;
  justify-items: center;
  gap: 4rem;
  text-align: center;
}

.orbital-shell {
  position: relative;
  width: var(--shell-size);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: bob 5.2s ease-in-out infinite;
}

.orbital-shell::before {
  content: "";
  position: absolute;
  inset: -1rem;
  border-radius: 50%;
  border: 1px solid rgba(178, 245, 255, 0.3);
  box-shadow:
    0 0 0 1px rgba(110, 220, 255, 0.14),
    0 0 4rem rgba(86, 214, 255, 0.2),
    inset 0 0 2rem rgba(255, 255, 255, 0.08);
  opacity: 0.9;
}

.orbital-shell::after {
  content: "";
  position: absolute;
  inset: auto 12% -1.45rem;
  height: 1.4rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 223, 255, 0.4), transparent 68%);
  filter: blur(10px);
  opacity: 0.55;
}

.image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  box-shadow:
    0 1.5rem 5rem rgba(0, 0, 0, 0.48),
    0 0 2.8rem rgba(101, 230, 255, 0.18);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    inset 0 -1.5rem 2.2rem rgba(0, 0, 0, 0.16);
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.status-copy {
  display: grid;
  gap: clamp(1.55rem, 3vw, 2.25rem);
  justify-items: center;
}

.status-copy h1 {
  margin: 0;
  color: var(--yellow);
  font-family: var(--display-font);
  font-weight: 400;
  font-synthesis: none;
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-wrap: balance;
  text-shadow:
    0 0 1.6rem rgba(255, 234, 111, 0.16),
    0 0 0.18rem rgba(255, 248, 188, 0.6);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--yellow-bright);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 243, 138, 0.4);
  margin-top: 0.4rem;
  padding-bottom: 0.2rem;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    text-shadow 180ms ease;
}

.social-link__badge {
  display: grid;
  place-items: center;
  width: 1.62rem;
  height: 1.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 243, 138, 0.42);
  background: rgba(255, 243, 138, 0.1);
  box-shadow:
    0 0 1rem rgba(255, 240, 130, 0.12),
    inset 0 0 0.35rem rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.social-link__icon {
  width: 0.92rem;
  height: 0.92rem;
  color: var(--yellow-bright);
}

.social-link:hover,
.social-link:focus-visible {
  color: #fffad0;
  border-color: rgba(255, 250, 208, 0.85);
  transform: translateY(-1px);
  text-shadow: 0 0 1rem rgba(255, 240, 130, 0.34);
}

.social-link:focus-visible {
  outline: none;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(-0.6rem);
  }

  50% {
    transform: translateY(0.9rem);
  }
}

@media (max-width: 640px) {
  :root {
    --shell-size: clamp(6.5rem, 28vw, 7.5rem);
  }

  .page-shell {
    padding-top: 1.75rem;
  }

  .status-card {
    gap: 3rem;
  }

  .status-copy {
    gap: 1.35rem;
  }

  .orbital-shell::before {
    inset: -0.7rem;
  }
}
