:root {
  --bg: #0c0b0a;
  --ink: #f4f0e8;
  --muted: rgba(244, 240, 232, 0.46);
  --dot: clamp(46px, 7vw, 84px);
  --gap: clamp(16px, 2.6vw, 34px);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100dvh;
  overflow: hidden;
}

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

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 42%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 4vh, 36px);
}

.dots {
  display: flex;
  align-items: center;
  gap: var(--gap);
}

.dot {
  --pull: 0;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 30%,
    color-mix(in oklch, #fffdf8 calc((1 - var(--pull)) * 100%), #ffd0b4 calc(var(--pull) * 100%)) 0%,
    color-mix(in oklch, #f3efe6 calc((1 - var(--pull)) * 100%), #e15c32 calc(var(--pull) * 100%)) 46%,
    color-mix(in oklch, #ddd6c8 calc((1 - var(--pull)) * 100%), #8d341f calc(var(--pull) * 100%)) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 22px 48px rgba(0, 0, 0, 0.38),
    0 0 42px color-mix(in oklch, transparent, #e15c32 calc(var(--pull) * 48%));
  pointer-events: auto;
  touch-action: none;
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.dot.is-dragging {
  z-index: 3;
  cursor: grabbing;
}

body.is-pulling,
body.is-pulling * {
  cursor: grabbing;
}

.word {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  line-height: 1;
  color: var(--muted);
}

.sale {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  margin: 0;
  padding: 0 20px;
  text-align: center;
  pointer-events: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: rgba(244, 240, 232, 0.34);
}

.sale p {
  margin: 0;
}

.sale a {
  pointer-events: auto;
  color: inherit;
  text-decoration: none;
}

.sale a:hover,
.sale a:focus-visible {
  color: rgba(244, 240, 232, 0.72);
}

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

@media (max-width: 640px) {
  .word {
    font-size: 12px;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
  }

  .sale {
    bottom: 16px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot {
    will-change: auto;
  }
}
