:root {
  color-scheme: dark;
  --black: #000;
  --white: #f5f2eb;
  --gold: #e4ba72;
  background: var(--black);
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
button, a { -webkit-tap-highlight-color: transparent; }

.brand {
  position: absolute;
  z-index: 2;
  top: clamp(26px, 4.3vw, 57px);
  left: clamp(22px, 5.4vw, 82px);
  width: clamp(177px, 18vw, 255px);
  mix-blend-mode: screen;
}
.brand img { display: block; width: 100%; height: auto; }

.landing {
  position: relative;
  isolation: isolate;
  flex: 1;
  overflow: hidden;
  padding-bottom: 22px;
}

.stage {
  position: relative;
  height: clamp(400px, 39vw, 570px);
}
.console {
  position: absolute;
  width: clamp(760px, 83vw, 1260px);
  aspect-ratio: 3 / 2;
  left: 50%;
  top: clamp(-185px, -9vw, -80px);
  transform: translateX(-50%);
  isolation: isolate;
}
.console img {
  width: 100%;
  height: 100%;
  display: block;
  opacity: .83;
  pointer-events: none;
  mask-image:
    radial-gradient(ellipse 64% 62% at 51% 47%, #000 35%, transparent 87%),
    linear-gradient(90deg, transparent, #000 15%, #000 86%, transparent);
  mask-composite: intersect;
}

.pad {
  --glow: 255 174 63;
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: max(44px, var(--w, 6%));
  height: max(44px, 7%);
  transform: translate(-50%, -50%);
  border: 0;
  background: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
}
.pad::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgb(var(--glow) / .92), rgb(var(--glow) / .34) 34%, transparent 69%);
  transform: rotate(-26deg) scale(1.16, .69);
  opacity: 0;
  transition: opacity 260ms ease-out;
  mix-blend-mode: screen;
}
@media (hover: hover) {
  .pad:hover::before { opacity: 1; transition-duration: 95ms; }
}
.pad:focus-visible::before, .pad.is-lit::before { opacity: 1; transition-duration: 95ms; }
.pad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse, #0009 20%, #0005 49%, transparent 72%);
  transform: rotate(-26deg) scale(1.24, 1.03);
  transition: opacity 260ms ease-out;
  pointer-events: none;
}
@media (hover: hover) {
  .pad:hover::after { opacity: 0; transition-duration: 95ms; }
}
.pad:focus-visible::after, .pad.is-lit::after { opacity: 0; transition-duration: 95ms; }
.pad:focus-visible { outline: 1px solid var(--gold); outline-offset: 1px; }

.haze {
  position: absolute;
  z-index: 1;
  inset: 0 0 -245px;
  overflow: hidden;
  pointer-events: none;
}
.haze span {
  position: absolute;
  width: max(82vw, 580px);
  height: clamp(120px, 19vw, 280px);
  left: 8%;
  top: 35%;
  opacity: .46;
  background:
    radial-gradient(ellipse 36% 15% at 24% 47%, #a2a3a7 0%, #77778066 45%, transparent 100%),
    radial-gradient(ellipse 31% 17% at 60% 55%, #7f7a72ba 0%, #746b6240 50%, transparent 100%),
    radial-gradient(ellipse 29% 11% at 82% 52%, #9397a48a 0%, transparent 100%);
  filter: blur(23px);
  animation: drift 24s ease-in-out infinite alternate;
}
.haze span:nth-child(2) {
  left: -22%;
  top: 47%;
  opacity: .22;
  animation-duration: 32s;
  animation-delay: -18s;
}
.haze span:nth-child(3) {
  left: 36%;
  top: 59%;
  opacity: .15;
  animation-duration: 40s;
  animation-delay: -14s;
}
@keyframes drift {
  from { transform: translate3d(-23%, -7%, 0) rotate(-10deg) scale(.92); }
  to { transform: translate3d(22%, 12%, 0) rotate(5deg) scale(1.14); }
}

.tagline {
  position: absolute;
  z-index: 1;
  bottom: 17px;
  left: 0;
  right: 0;
  margin: 0;
  padding-inline: 16px;
  text-align: center;
  color: #e1c38c;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 1px 10px #000, 0 1px 3px #000;
}

.launch {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}
h1 {
  margin: 0 0 24px;
  font-size: clamp(2.03rem, 7.3vw, 6.6rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.046em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px #0008;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: start;
  margin: 0 auto;
}
.time-unit {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  width: clamp(77px, 12vw, 102px);
}
.time-unit + .time-unit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 60%;
  width: 1px;
  background: linear-gradient(transparent, #9c763d88, transparent);
}
.value {
  font-size: clamp(2.05rem, 4vw, 3.2rem);
  line-height: .96;
  font-weight: 750;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.unit {
  color: var(--gold);
  font-size: .69rem;
  font-weight: 650;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.launch-status { margin: 0; color: var(--gold); }
.launch-status:empty, [hidden] { display: none; }

.quote {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 51px;
  margin-top: 27px;
  padding: 0 25px;
  border: 1px solid #ebc98b;
  border-radius: 3px;
  color: #181005;
  background: linear-gradient(123deg, #f1d195, #d0a257);
  box-shadow: 0 0 27px #c6944626;
  font-size: .875rem;
  font-weight: 750;
  text-decoration: none;
  transition: filter 160ms ease, box-shadow 160ms ease;
}
.quote:hover { filter: brightness(1.12); box-shadow: 0 0 35px #c6944650; }
.quote:focus-visible { outline: 2px solid var(--white); outline-offset: 5px; }

.brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 48px);
  padding: 5px 16px 14px;
}
.brand-logos img {
  display: block;
  height: auto;
  filter: grayscale(1) contrast(1.45);
  mix-blend-mode: screen;
}
.brand-apple { width: clamp(20px, 2vw, 26px); }
.brand-pioneer { width: clamp(80px, 8vw, 105px); }
.brand-bose { width: clamp(73px, 7.5vw, 96px); }

@media (max-width: 650px) {
  .stage { height: clamp(350px, 53svh, 440px); }
  .console { width: clamp(605px, 116vw, 760px); top: 13px; }
  .tagline { bottom: 16px; font-size: .68rem; letter-spacing: .12em; }
  .brand-logos { padding-bottom: 23px; }
  h1 { margin-bottom: 22px; font-size: clamp(2rem, 8.65vw, 3.5rem); }
  .haze { inset: 0 0 -180px; }
  .haze span { top: 37%; }
  .haze span:nth-child(2) { top: 50%; }
  .haze span:nth-child(3) { top: 57%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
  .haze span { transform: rotate(-7deg); }
}

.pad:nth-of-type(1) { --x: 42.9%; --y: 41%; --w: 8.4%; }
.pad:nth-of-type(2) { --x: 48.1%; --y: 36.4%; --w: 7.6%; }
.pad:nth-of-type(3) { --x: 52.8%; --y: 32.3%; --w: 7%; }
.pad:nth-of-type(4) { --x: 56.8%; --y: 28.7%; --w: 6.6%; }
.pad:nth-of-type(5) { --x: 60.5%; --y: 25.6%; --w: 6.1%; }
