:root {
  --bg: #121214;
  --text: #fafafa;
  --muted: #a1a1aa;
  --faint: #71717a;
  --line: rgba(255, 255, 255, 0.055);
  --mx: 50%;
  --my: 38%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #121214;
  isolation: isolate;
}

.stage__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 92% 72% at 50% 42%,
      rgba(130, 178, 230, 0.24) 0%,
      rgba(96, 148, 206, 0.1) 42%,
      transparent 74%
    );
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 90% at 50% 50%,
    transparent 58%,
    rgba(0, 0, 0, 0.22) 100%
  );
  pointer-events: none;
}

.stage__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180, 180, 190, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 180, 190, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  transform: translate3d(calc((var(--mx) - 50%) * 0.018), calc((var(--my) - 38%) * 0.018), 0);
  will-change: transform;
}

.shell,
.footer {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 3rem));
  margin-inline: auto;
}

.shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 0 3.5rem;
}

.brand {
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wordmark {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.18em 0.3em;
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.wordmark__code {
  position: relative;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 400;
  font-size: 0.92em;
  letter-spacing: 0.02em;
  color: #a1a1aa;
}

.wordmark__code.is-glitch {
  animation: glitch 620ms steps(2, end);
}

.lab {
  margin-top: 1.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fafafa;
}

.tagline {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: #f4f4f5;
}

.bento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  margin-top: 1.15rem;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.card__kicker {
  margin-bottom: 0.9rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.card--studio {
  grid-column: 1;
  grid-row: 1 / 3;
  padding: 1.5rem 1.55rem;
}

.copy {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e4e4e7;
}

.soon-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.75rem;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin: 0;
  padding: 0.45rem 0.95rem 0.45rem 0.72rem;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7dd3fc;
  animation: soon-glow 2.6s ease-in-out infinite;
}

.soon__dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.75);
  animation: soon-dot 2.6s ease-in-out infinite;
}

.soon__dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.55);
  animation: soon-ring 2.2s ease-out infinite;
}

.card--status,
.card--contact {
  padding: 1.15rem 1.25rem;
}

.status {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  list-style: none;
}

.status li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 0.65rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.status__key {
  color: #d4d4d8;
}

.status__val {
  color: #a1a1aa;
}

.led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.led--green {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.45);
  animation: pulse 2.4s ease-out infinite;
}

.led--blue {
  background: #60a5fa;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.45);
  animation: pulse 2.4s ease-out infinite 0.8s;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-style: normal;
  color: #e4e4e7;
}

.contact a {
  width: fit-content;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact a:hover {
  color: var(--text);
  border-bottom-color: rgba(250, 250, 250, 0.4);
}

.contact em {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-style: normal;
  font-weight: 500;
  color: var(--text);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.72rem;
  line-height: 1.55;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

@keyframes soon-glow {
  0%,
  100% {
    border-color: rgba(56, 189, 248, 0.26);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
    color: #7dd3fc;
  }
  50% {
    border-color: rgba(125, 211, 252, 0.5);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.22);
    color: #bae6fd;
  }
}

@keyframes soon-dot {
  0%,
  100% {
    opacity: 0.7;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.85);
  }
}

@keyframes soon-ring {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.85);
    opacity: 0;
  }
}

@keyframes glitch {
  0%,
  100% {
    transform: none;
    text-shadow: none;
  }
  28% {
    transform: translate(-1px, 0);
    text-shadow: 1px 0 rgba(161, 161, 170, 0.35);
  }
  62% {
    transform: translate(1px, 0);
    text-shadow: -1px 0 rgba(250, 250, 250, 0.12);
  }
}

:focus-visible {
  outline: 1px solid #a1a1aa;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .shell {
    padding-top: 4.5rem;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .card--studio {
    grid-column: 1;
    grid-row: auto;
  }

  .wordmark {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .soon-wrap,
  .bento,
  .soon,
  .soon__dot,
  .soon__dot::after,
  .stage__grid {
    animation: none !important;
    transform: none !important;
  }
}
