:root {
  --night: #0a0a0b;
  --led-off: #1d1b1a;
  --accent: #ff9a3d;
  --text: #f2eee8;
  --text-soft: rgba(242, 238, 232, 0.62);
  --text-faint: rgba(242, 238, 232, 0.46);
  --sans: "Mona Sans Variable", "Mona Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  touch-action: manipulation;
  /* what is left without canvas: the same board, every LED off */
  background:
    radial-gradient(circle, var(--led-off) 1.9px, transparent 2.4px) 0 0 / 12px 12px,
    var(--night);
}

.board {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
  background: var(--night);
}

/* the edges of the board fall into the dark, so the sign has a frame without a frame */
.vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(120% 95% at 50% 50%, transparent 55%, rgba(10, 10, 11, 0.78) 100%);
}

.hero {
  position: relative;
  text-align: center;
  padding: 0 clamp(18px, 5vw, 48px);
  max-width: 920px;
  --glow: 0;
  --gx: 50%;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: clamp(10px, min(1.1vw, 1.9vh), 12px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: clamp(12px, 2.6vh, 22px);
}

.kicker__wave {
  width: 22px;
  height: 10px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
}

/* the headline: variable width, and a soft sheen of the board's light that crosses it where the wave passes */
.title {
  font-size: clamp(36px, min(8.6vw, 13.5vh), 116px);
  line-height: 0.94;
  font-weight: 640;
  font-variation-settings: "wdth" 88;
  letter-spacing: -0.035em;
  color: var(--text);
  background-image: linear-gradient(100deg,
    var(--text) 0%,
    var(--text) calc(var(--gx) - 22%),
    color-mix(in srgb, var(--text) calc(100% - var(--glow) * 46%), var(--accent)) var(--gx),
    var(--text) calc(var(--gx) + 22%),
    var(--text) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 calc(var(--glow) * 28px) rgba(255, 154, 61, calc(var(--glow) * 0.16));
}

.title__line { display: block; }
.title__line + .title__line { font-variation-settings: "wdth" 112; font-weight: 480; }

.lede {
  margin: clamp(12px, 2.8vh, 22px) auto 0;
  max-width: 30ch;
  font-size: clamp(13px, min(1.5vw, 2.4vh), 17px);
  line-height: 1.5;
  color: var(--text-soft);
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(14px, 3vh, 26px);
  font-family: var(--mono);
  font-size: clamp(10px, min(1.05vw, 1.8vh), 12px);
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.meta__rule {
  width: 26px;
  height: 1px;
  background: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .title { text-shadow: none; }
}
