/* The playground page. Not shipped — this is a stand-in for a real site. */

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

body {
  margin: 0;
  min-height: 100svh;
  background: #0b0d10;
  color: #f2ece0;
  font-family:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  mix-blend-mode: difference;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.nav a {
  color: #fff;
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.stage {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Stands in for a photograph: something with a clear subject off to one
   side, so the pan during the reveal has a reason to exist. */
.stage-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      55% 60% at 72% 55%,
      rgba(159, 232, 166, 0.5) 0%,
      rgba(159, 232, 166, 0.08) 45%,
      transparent 70%
    ),
    radial-gradient(
      40% 50% at 78% 70%,
      rgba(179, 57, 44, 0.45) 0%,
      transparent 65%
    ),
    linear-gradient(130deg, #0b0d10 20%, #1a1f26 55%, #0b0d10 85%);
}

.hero-text {
  max-width: 46rem;
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-text p {
  margin: 1.75rem 0 0;
  max-width: 28rem;
  color: rgba(242, 236, 224, 0.55);
  font-size: 1.05rem;
  line-height: 1.6;
}

.marks {
  position: absolute;
  bottom: calc(7vh + 2.5rem);
  left: clamp(1rem, 4vw, 3rem);
  right: clamp(1rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  max-width: 34rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.6);
}

/* Dev controls. Above the overlay so they stay reachable mid-sequence,
   and clear of the deck, which owns the bottom strip of every page. */
.panel {
  position: fixed;
  right: 1rem;
  bottom: 4.5rem;
  z-index: 200;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(10, 12, 15, 0.8);
  border: 1px solid rgba(242, 236, 224, 0.15);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
}

.panel label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: rgba(242, 236, 224, 0.7);
}

.panel button {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 236, 224, 0.25);
  background: transparent;
  color: #f2ece0;
  font: inherit;
  cursor: pointer;
}

.panel button:hover {
  border-color: rgba(242, 236, 224, 0.6);
}

.panel input[type="range"] {
  width: 6rem;
  accent-color: #9fe8a6;
}
