/* Primal Rave - coming soon.
   The ground is pure black because the logo's own ground is pure black: the artwork
   sits on the page with no box, no cutout and no edit to the file she sent. */

@font-face {
  font-family: "Michroma";
  src: url("/fonts/michroma-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #000;
  --ink: #efeaff;
  --muted: #9b94b8;
  --magenta: #e03cff;
  --violet: #8f4dff;
  --blue: #4f63ff;
  --logo-w: min(86vw, calc(58svh * 1.053), 620px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { background: var(--ground); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--ground);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5svh, 2.25rem);
  padding: clamp(2rem, 6svh, 4rem) 16px clamp(1rem, 3svh, 2rem);
}

/* The logo is the page's heading. The glow breathes behind it; screen blending lets the
   logo's black ground take the glow instead of showing a square. */
.mark {
  position: relative;
  margin: 0;
  width: var(--logo-w);
  line-height: 0;
  isolation: isolate;
}

.mark::before {
  content: "";
  position: absolute;
  inset: 4% 8% 20%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgb(224 60 255 / 0.30), transparent 72%),
    radial-gradient(closest-side at 50% 58%, rgb(79 99 255 / 0.22), transparent 80%);
  filter: blur(28px);
  animation: breathe 7.5s ease-in-out infinite;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

/* "Coming soon" between two thin rules, the way RAVE sits between its own in the logo. */
.status {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.4vw, 1.25rem);
  margin: 0;
  /* As wide as the logo, but never narrower than the words plus two visible rules:
     on a landscape phone the logo shrinks with the height and the row would not fit them. */
  width: min(100%, max(var(--logo-w), 22rem));
  font-family: "Michroma", system-ui, sans-serif;
  font-size: clamp(0.8rem, 2.6vw, 1.05rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Tracking adds space after the last letter too; pull it back so the words sit centred. */
.status-text { margin-right: -0.42em; }

.rule {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--magenta) 55%, var(--violet));
}

.rule:last-child {
  background: linear-gradient(90deg, var(--violet), var(--blue) 45%, transparent);
}

.site-footer {
  padding: 1rem 16px max(1.25rem, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer p { margin: 0; }

.site-footer a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgb(239 234 255 / 0.35);
  text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible { text-decoration-color: var(--magenta); }

.site-footer a:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 2px;
}

@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50%      { opacity: 1;    transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .mark::before { animation: none; opacity: 0.8; }
}
