:root {
  color-scheme: dark;
  --ink: #071b2b;
  --cream: #fff8ea;
  --tomato: #ff3e49;
  --muted: rgba(255, 248, 234, 0.64);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100svh;
  overflow: hidden;
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
}

.stage {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  padding: clamp(28px, 6vw, 80px);
}

.stage::before {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 248, 234, 0.1);
  border-radius: 26px;
  content: "";
}

.glow {
  position: absolute;
  width: min(48vw, 650px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tomato);
  filter: blur(130px);
  opacity: 0.16;
  animation: breathe 5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  width: min(72vw, 820px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 248, 234, 0.08);
  border-radius: 50%;
  animation: turn 24s linear infinite;
}

.topping {
  position: absolute;
  display: block;
  width: 13px;
  height: 13px;
  border: 3px solid var(--tomato);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 7px rgba(255, 62, 73, 0.09);
}

.topping-one {
  top: 7%;
  left: 28%;
}

.topping-two {
  right: 1%;
  bottom: 39%;
  width: 9px;
  height: 9px;
}

.topping-three {
  bottom: 12%;
  left: 18%;
  width: 7px;
  height: 7px;
}

.message {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  text-align: center;
  animation: arrive 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: 0 0 0 6px rgba(255, 62, 73, 0.12);
  animation: blink 1.8s ease-in-out infinite;
}

h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(3.4rem, 9vw, 8.4rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-wrap: balance;
}

.status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: clamp(34px, 6vw, 64px);
  color: var(--muted);
  font-size: clamp(0.95rem, 1.7vw, 1.12rem);
}

.status-label::after {
  content: ":";
}

.status-words {
  position: relative;
  display: inline-block;
  width: 230px;
  height: 1.5em;
  overflow: hidden;
  color: var(--cream);
  text-align: left;
}

.status-words b {
  position: absolute;
  inset: 0;
  font-weight: 500;
  opacity: 0;
  transform: translateY(100%);
  animation: word-cycle 12s ease-in-out infinite;
}

.status-words b:nth-child(2) { animation-delay: 3s; }
.status-words b:nth-child(3) { animation-delay: 6s; }
.status-words b:nth-child(4) { animation-delay: 9s; }

.location {
  position: absolute;
  bottom: clamp(34px, 5vw, 66px);
  left: clamp(34px, 6vw, 88px);
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.location span {
  margin-left: 7px;
  color: var(--tomato);
}

.corner-logo {
  position: absolute;
  right: clamp(36px, 6vw, 88px);
  bottom: clamp(32px, 5vw, 60px);
  width: clamp(64px, 7vw, 98px);
  height: auto;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.88;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes breathe {
  0%, 100% { transform: scale(0.88); opacity: 0.12; }
  50% { transform: scale(1.12); opacity: 0.2; }
}

@keyframes turn {
  to { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { transform: scale(0.7); opacity: 0.45; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes word-cycle {
  0% { opacity: 0; transform: translateY(100%); }
  8%, 21% { opacity: 1; transform: translateY(0); }
  25%, 100% { opacity: 0; transform: translateY(-100%); }
}

@media (max-width: 640px) {
  .stage {
    align-items: center;
    padding: 30px;
  }

  .stage::before {
    inset: 12px;
    border-radius: 20px;
  }

  .orbit {
    width: 112vw;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5.8rem);
  }

  .status {
    flex-direction: column;
    gap: 6px;
  }

  .status-label::after {
    content: "";
  }

  .status-words {
    width: 100%;
    text-align: center;
  }

  .location {
    right: 110px;
    bottom: 32px;
    left: 32px;
    max-width: 160px;
  }

  .corner-logo {
    right: 32px;
    bottom: 28px;
    width: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .status-words b:first-child {
    opacity: 1;
    transform: none;
  }
}
