:root {
  color-scheme: light;
  --wine: #760421;
  --wine-deep: #39000f;
  --pink: #e40d5a;
  --gold: #d89b18;
  --ink: #211217;
  --muted: #6f5e62;
  --paper: #f9ddd5;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background: var(--wine-deep);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.launch-page {
  display: grid;
  grid-template-columns: minmax(360px, 46%) 1fr;
  min-height: 100svh;
  overflow: hidden;
}

.art-panel {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--wine) url("/assets/phoenix.webp") 70% center / cover no-repeat;
}

.art-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.art-panel__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 0, 10, 0.08), rgba(38, 0, 10, 0) 55%),
    linear-gradient(0deg, rgba(38, 0, 10, 0.72), transparent 34%);
}

.art-panel__caption {
  position: absolute;
  bottom: 2.25rem;
  left: 2.5rem;
  z-index: 1;
  margin: 0;
  color: rgba(255, 247, 239, 0.86);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.content-panel {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(1.5rem, 4vw, 4.5rem);
  place-items: center;
  background: var(--paper) url("/assets/ornament.webp") center / cover no-repeat;
}

.content-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(255, 235, 228, 0.24);
  pointer-events: none;
}

.content-card {
  position: relative;
  z-index: 1;
  width: min(100%, 670px);
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(113, 4, 35, 0.14);
  border-radius: 2rem;
  background: rgba(255, 248, 243, 0.78);
  box-shadow: 0 28px 80px rgba(69, 0, 20, 0.16);
  backdrop-filter: blur(16px);
}

.content-card::before {
  position: absolute;
  top: 0;
  left: clamp(2rem, 5vw, 4.5rem);
  width: 72px;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--pink), var(--gold));
}

.brand-logo {
  display: block;
  width: clamp(130px, 13vw, 190px);
  height: auto;
  margin: -1.8rem 0 -1.25rem -1.2rem;
}

.intro-copy {
  max-width: 570px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--wine-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.lead {
  max-width: 540px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.countdown__unit {
  display: grid;
  min-width: 0;
  padding: 1rem 0.5rem 0.85rem;
  text-align: center;
  border: 1px solid rgba(117, 4, 34, 0.13);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 25px rgba(73, 0, 20, 0.06);
}

.countdown__unit strong {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown__unit span {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launch-date {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.launch-date span {
  height: 1px;
  background: rgba(117, 4, 34, 0.18);
}

.launch-date p,
.closing-note,
.noscript-note {
  margin: 0;
}

.launch-date p {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.closing-note,
.noscript-note {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 820px) {
  .launch-page {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(260px, 37svh) auto;
    overflow: visible;
  }

  .art-panel {
    min-height: 0;
    background-position: 72% 35%;
  }

  .art-panel__caption {
    bottom: 1.25rem;
    left: 1.35rem;
  }

  .content-panel {
    min-height: 63svh;
    padding: 1rem;
    place-items: start center;
    background-position: center;
  }

  .content-card {
    width: min(100%, 600px);
    margin-top: -2.5rem;
    padding: 2rem 1.35rem 2.25rem;
    border-radius: 1.5rem;
  }

  .content-card::before {
    left: 1.35rem;
  }

  .brand-logo {
    width: 135px;
    margin: -1.35rem 0 -1rem -0.8rem;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }
}

@media (max-width: 460px) {
  .launch-page {
    grid-template-rows: minmax(230px, 33svh) auto;
  }

  .content-panel {
    min-height: 67svh;
  }

  .content-card {
    margin-top: -2rem;
  }

  .countdown {
    gap: 0.45rem;
  }

  .countdown__unit {
    padding: 0.85rem 0.2rem 0.7rem;
    border-radius: 0.8rem;
  }

  .countdown__unit strong {
    font-size: clamp(1.65rem, 9vw, 2.3rem);
  }

  .countdown__unit span {
    font-size: 0.54rem;
    letter-spacing: 0.08em;
  }

  .launch-date {
    gap: 0.65rem;
  }

  .launch-date p {
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
