@font-face {
  font-family: 'Release Numerals';
  src: url('/assets/countdown-numerals.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  color-scheme: dark;
  --gold: #d4af67;
  --cover: min(440px, calc(100vw - 48px), 52vh);
  --gap: clamp(32px, 5.8vh, 64px);
  background: #000;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}

@supports (height: 100dvh) {
  :root {
    --cover: min(440px, calc(100vw - 48px), 52dvh);
    --gap: clamp(32px, 5.8dvh, 64px);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-width: 0; background: #000; }
body { min-height: 100vh; min-height: 100dvh; }
.release {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap);
  padding: max(32px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}
.brand {
  flex: none;
  display: block;
  width: min(140px, 38vw);
  height: 70px;
  object-fit: contain;
}
/* An unset logo reserves its layout space without displaying a substitute. */
.brand-pending { visibility: hidden; }
.artwork {
  display: block;
  width: var(--cover);
  max-width: 100%;
  aspect-ratio: 1;
  flex: none;
}
.artwork img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(380px, 100%);
  flex: none;
  margin: 0;
}
.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 12px;
  position: relative;
}
.unit + .unit::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 0;
  width: 1px;
  background: var(--gold);
  opacity: .64;
}
.number {
  font-family: 'Release Numerals', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(40px, 3.6vw, 54px);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.label {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .3em;
  line-height: 1.4;
  padding-left: .3em;
}
.visually-hidden {
  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: 600px) {
  .brand { width: min(120px, 38vw); height: 60px; }
  .countdown { width: min(342px, 100%); }
  .number { font-size: clamp(38px, 11vw, 48px); }
  .label { font-size: 8px; letter-spacing: .27em; }
}
@media (max-height: 540px) {
  :root { --cover: min(320px, calc(100vw - 48px)); --gap: 30px; }
  .release { justify-content: flex-start; }
  .brand { height: 54px; }
  .number { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
