:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f8f5ef;
  --muted: #b9b3a8;
  --line: rgba(248, 245, 239, 0.18);
  --accent: #d7b56d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 42%, rgba(215, 181, 109, 0.14), transparent 31rem),
    linear-gradient(180deg, #0a0a0a 0%, var(--bg) 72%);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.teaser {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  isolation: isolate;
}

.teaser::before,
.teaser::after {
  position: absolute;
  z-index: 0;
  content: "";
  border: 1px solid var(--line);
  border-radius: 50%;
  inset: 50%;
  translate: -50% -50%;
  opacity: 0.72;
}

.teaser::before {
  width: min(86vw, 58rem);
  aspect-ratio: 1;
}

.teaser::after {
  width: min(118vw, 78rem);
  aspect-ratio: 1;
  opacity: 0.35;
}

.dial-title {
  position: absolute;
  z-index: 1;
  top: 26%;
  left: 50%;
  translate: -50% 0;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.watch-motion {
  position: absolute;
  z-index: 0;
  width: min(86vw, 46rem);
  aspect-ratio: 1;
  inset: 50%;
  translate: -50% -50%;
  opacity: 0.74;
}

.dial {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(248, 245, 239, 0.22);
  border-radius: 50%;
  box-shadow:
    inset 0 0 5rem rgba(248, 245, 239, 0.04),
    0 0 8rem rgba(215, 181, 109, 0.08);
  animation: dial-breathe 8s ease-in-out infinite;
}

.dial::before {
  position: absolute;
  content: "";
  inset: 12%;
  border: 1px solid rgba(248, 245, 239, 0.08);
  border-radius: inherit;
}

.marker {
  position: absolute;
  display: block;
  background: rgba(248, 245, 239, 0.54);
  border-radius: 999px;
}

.marker-12,
.marker-6 {
  width: 2px;
  height: 8%;
  left: calc(50% - 1px);
}

.marker-12 {
  top: 4%;
}

.marker-6 {
  bottom: 4%;
}

.marker-3,
.marker-9 {
  width: 8%;
  height: 2px;
  top: calc(50% - 1px);
}

.marker-3 {
  right: 4%;
}

.marker-9 {
  left: 4%;
}

.hand {
  position: absolute;
  z-index: 2;
  display: block;
  left: 50%;
  bottom: 50%;
  transform: rotate(var(--angle, 0deg));
  transform-origin: 50% 100%;
  border-radius: 999px;
}

.hour-hand {
  width: 0.65rem;
  height: 24%;
  margin-left: -0.325rem;
  background: var(--ink);
}

.minute-hand {
  width: 0.3rem;
  height: 36%;
  margin-left: -0.15rem;
  background: var(--ink);
  opacity: 0.9;
}

.second-hand {
  width: 0.12rem;
  height: 43%;
  margin-left: -0.06rem;
  background: var(--accent);
  box-shadow: 0 0 1.1rem rgba(215, 181, 109, 0.58);
}

.pin {
  position: absolute;
  z-index: 3;
  width: 1rem;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(248, 245, 239, 0.22);
}

@keyframes dial-breathe {
  0%,
  100% {
    scale: 0.985;
    opacity: 0.82;
  }

  50% {
    scale: 1;
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .teaser {
    padding: 1.25rem;
  }

  .watch-motion {
    width: min(88vw, 24rem);
  }

  .teaser::before {
    width: min(94vw, 26rem);
  }

  .teaser::after {
    width: min(108vw, 30rem);
  }

  .dial-title {
    font-size: clamp(0.8rem, 2vw, 1.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
