:root {
  --ink: #090806;
  --cream: #f4ead9;
  --red: #d43b2f;
  --gold: #e7b24a;
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--cream);
  font-family: var(--font-geist-sans), Arial, sans-serif;
}

.stage {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 51% 18%, rgba(204, 65, 41, 0.17), transparent 32%),
    linear-gradient(118deg, #0c0907 0%, #050504 58%, #160b08 100%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.09;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, #fff 1px, transparent 2px, transparent 6px);
  background-size: 11px 13px;
  mix-blend-mode: overlay;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 42vw;
  aspect-ratio: 1;
  border: 1px solid rgba(231, 178, 74, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(212, 59, 47, 0.09), inset 0 0 100px rgba(212, 59, 47, 0.06);
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(244, 234, 217, 0.08);
  border-radius: inherit;
}

.ambient::after {
  inset: 24%;
}

.ambientOne {
  top: -27vw;
  right: -13vw;
}

.ambientTwo {
  bottom: -31vw;
  left: -19vw;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 54px 0 120px;
}

.eyebrowRow,
.footerLine {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(244, 234, 217, 0.36);
  border-bottom: 1px solid rgba(244, 234, 217, 0.36);
  padding: 13px 2px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrowRow {
  animation: reveal 0.7s ease-out both;
}

.spark {
  color: var(--gold);
  font-size: 1.2rem;
  animation: spin 9s linear infinite;
}

.titleWrap {
  position: relative;
  display: grid;
  justify-items: center;
  padding: clamp(34px, 5vw, 70px) 0 clamp(30px, 4vw, 54px);
}

.kicker {
  margin: 0 0 -0.3em;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  font-style: italic;
  transform: rotate(-2deg);
  animation: reveal 0.7s 0.2s ease-out both;
}

h1 {
  display: flex;
  gap: 0.12em;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(5.7rem, 15.3vw, 12rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  animation: reveal 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 .outline {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.018em, 3px) var(--cream);
  text-stroke: clamp(1px, 0.018em, 3px) var(--cream);
}

.scribble {
  position: absolute;
  right: 1.5%;
  bottom: 20%;
  display: grid;
  width: clamp(42px, 6vw, 70px);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 47% 53% 41% 59%;
  color: var(--red);
  font-size: clamp(1.2rem, 2vw, 2rem);
  transform: rotate(11deg);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(244, 234, 217, 0.23);
  background: rgba(8, 7, 5, 0.66);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  animation: reveal 0.8s 0.3s ease-out both;
}

.timeGroup {
  position: relative;
  min-width: 0;
}

.timeGroup + .timeGroup {
  border-left: 1px solid rgba(244, 234, 217, 0.18);
}

.timeUnit {
  display: grid;
  min-height: 176px;
  place-content: center;
  text-align: center;
}

.number {
  display: block;
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
  letter-spacing: -0.09em;
}

.unitLabel {
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.colon {
  position: absolute;
  top: 46%;
  right: -0.12em;
  z-index: 1;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
  transform: translate(50%, -50%);
}

.showtime {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  min-height: 176px;
  border: 1px solid rgba(244, 234, 217, 0.23);
  color: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 9vw, 7.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.showtime span {
  color: var(--gold);
  font-size: 0.35em;
}

.footerLine {
  margin-top: 28px;
  border-top: 0;
  color: rgba(244, 234, 217, 0.78);
}

.footerLine p {
  margin: 0;
}

.footerLine span {
  margin-inline: 0.6em;
  color: var(--red);
}

.holdTight {
  color: var(--cream);
}

.piano {
  position: absolute;
  right: -1%;
  bottom: 0;
  left: -1%;
  z-index: -1;
  display: grid;
  height: 82px;
  grid-template-columns: repeat(18, 1fr);
  opacity: 0.9;
  transform: perspective(500px) rotateX(60deg) scaleX(1.05);
  transform-origin: bottom;
}

.whiteKey {
  position: relative;
  border: 1px solid #14110e;
  background: linear-gradient(#e1d3bd, #fff8e9);
}

.whiteKey:not(:nth-child(7n + 3)):not(:nth-child(7n + 7))::after {
  content: "";
  position: absolute;
  top: 0;
  right: -18%;
  z-index: 1;
  width: 36%;
  height: 63%;
  background: #080706;
  box-shadow: 0 8px 9px rgba(0, 0, 0, 0.65);
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .hero {
    width: min(100% - 28px, 620px);
    padding: 24px 0 90px;
  }

  .eyebrowRow {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .spark {
    display: none;
  }

  h1 {
    flex-direction: column;
    gap: 0;
    align-items: center;
    font-size: clamp(5.2rem, 28vw, 9rem);
    line-height: 0.74;
  }

  .titleWrap {
    padding-block: 46px 48px;
  }

  .kicker {
    margin-bottom: 0.25em;
    font-size: 1rem;
  }

  .scribble {
    right: 4%;
    bottom: 14%;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeGroup:nth-child(3) {
    border-left: 0;
  }

  .timeGroup:nth-child(n + 3) {
    border-top: 1px solid rgba(244, 234, 217, 0.18);
  }

  .timeUnit {
    min-height: 128px;
  }

  .number {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .colon {
    display: none;
  }

  .footerLine {
    align-items: flex-start;
    gap: 14px;
    font-size: 0.6rem;
    line-height: 1.6;
  }

  .holdTight {
    max-width: 15ch;
    text-align: right;
  }
}

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