:root {
  --void: #07080c;
  --type: #ede6d6;
  --mute: #8b8490;
  --neon: #3ee0c4;
  --font: Syne, ui-sans-serif, system-ui, sans-serif;
}

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

html, body {
  background: var(--void);
  color: var(--type);
  font-family: var(--font);
}

#canyon {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  background: var(--void);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.is-gone {
  opacity: 0;
  visibility: hidden;
}

.chrome {
  position: fixed;
  z-index: 3;
  top: 28px;
  left: 40px;
  right: 40px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
}

.beat { color: var(--mute); }

.ticks {
  position: fixed;
  z-index: 3;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticks button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--mute);
  font: 500 10px/1 var(--font);
  letter-spacing: 0.08em;
  cursor: pointer;
}

.ticks button:hover,
.ticks button[aria-current="true"] { color: var(--type); }

.scroll-space { height: 700vh; }

.copy {
  position: fixed;
  z-index: 2;
  left: 48px;
  right: 80px;
  bottom: 22vh;
  max-width: 14ch;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.copy.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.kicker {
  margin-bottom: 14px;
  color: var(--mute);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.copy h1 {
  font-size: clamp(34px, 5.4vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.copy p:last-child {
  margin-top: 16px;
  color: var(--mute);
  font-size: 15px;
  font-weight: 500;
}

.copy a {
  color: var(--type);
  text-decoration: none;
  border-bottom: 1px solid var(--neon);
}

.copy a:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .chrome { left: 20px; right: 20px; }
  .ticks { right: 12px; }
  .copy { left: 20px; right: 52px; bottom: 20vh; max-width: none; }
  .copy h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .scroll-space { height: auto; }
  .copy {
    position: relative;
    opacity: 1;
    transform: none;
    bottom: auto;
    padding: 18vh 20px 6vh;
  }
}
