/* ==========================================================================
   SUPREME LUXE — THE UNVEILING (launch holding page + 60-second countdown)

   Noir Romance: onyx stage, burgundy light, the crimson glitter rose macro
   as a tall editorial plate, Instrument Serif for the wordmark, headline and
   the countdown itself. Motion is slow and restrained (transform/opacity
   only) and is removed entirely for prefers-reduced-motion. No audio.
   ========================================================================== */

.launch {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--onyx);
  color: var(--bone);
  overflow-x: hidden;
}

.launch__stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  align-items: stretch;
  isolation: isolate;
}

/* --- The rose plate -------------------------------------------------------- */
.launch__plate {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--burgundy);
}
.launch__plate picture, .launch__plate img {
  display: block; width: 100%; height: 100%;
}
.launch__plate img {
  object-fit: cover;
  object-position: 50% 42%;
  transform-origin: 50% 55%;
}
/* Grade into the stage: the plate dissolves into onyx on its inner edge. */
.launch__plate::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0) 55%, rgba(10, 10, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(74, 14, 23, 0.18) 0%, rgba(10, 10, 10, 0) 35%, rgba(10, 10, 10, 0.55) 100%);
  pointer-events: none;
}

.launch__light {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 46% 52% at 68% 52%, rgba(74, 14, 23, 0.55), rgba(74, 14, 23, 0) 72%),
    radial-gradient(ellipse 22% 26% at 66% 56%, rgba(200, 16, 46, 0.10), rgba(200, 16, 46, 0) 70%);
  pointer-events: none;
}

/* --- Copy ------------------------------------------------------------------ */
.launch__copy {
  align-self: center;
  padding: 64px clamp(32px, 6vw, 112px);
  max-width: 720px;
}

.launch__wordmark { display: inline-flex; flex-direction: column; margin-bottom: clamp(36px, 7vh, 72px); }
.launch__wordmark-name { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--bone); }
.launch__wordmark-sub { font-family: var(--font-ui); font-size: 10px; letter-spacing: .34em; color: var(--bone-55); margin-top: 6px; }

.launch__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.04;
  margin: 0;
  color: var(--bone);
  text-wrap: balance;
}
[data-state="COUNTDOWN"] .launch__title,
[data-state="OPENING"] .launch__title { text-transform: uppercase; letter-spacing: .04em; font-size: clamp(34px, 3.8vw, 56px); }

.launch__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--bone-70);
  margin: 18px 0 0;
}

.launch__count { margin-top: clamp(28px, 5vh, 52px); }
.launch__time {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(96px, 13vw, 196px);
  line-height: .9;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--bone);
}
.launch__progress {
  display: block;
  position: relative;
  width: min(420px, 100%);
  height: 1px;
  margin-top: 26px;
  background: var(--line-14);
  overflow: hidden;
}
.launch__progress span {
  position: absolute; inset: 0;
  background: var(--crimson);
  transform-origin: 0 50%;
  transform: scaleX(1);
}

.launch__note {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bone-45);
  margin: clamp(36px, 6vh, 64px) 0 0;
}
.launch__demo {
  font-family: var(--font-ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--crimson-text); margin: 14px 0 0;
}
.launch__replay {
  margin-top: 18px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-22); color: var(--bone); background: transparent;
  font-family: var(--font-ui); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
.launch__replay:hover { border-color: var(--bone-45); }
[hidden] { display: none !important; }

/* --- Motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .launch__copy > * { animation: launch-rise .9s cubic-bezier(.2, .7, .1, 1) both; }
  .launch__copy > :nth-child(2) { animation-delay: .12s; }
  .launch__copy > :nth-child(3) { animation-delay: .24s; }
  .launch__copy > :nth-child(4) { animation-delay: .36s; }
  .launch__plate img { animation: launch-plate 2.4s cubic-bezier(.25, .1, .25, 1) both; }
  .launch__light { animation: launch-breathe 9s ease-in-out infinite alternate; }
  /* During the countdown the rose draws in, slowly, for the full minute. */
  [data-state="COUNTDOWN"] .launch__plate img { animation: launch-approach 60s linear both; }
  .launch__progress span { transition: transform .25s linear; }
  [data-state="OPENING"] .launch__stage { animation: launch-open 1.2s ease both; }
}
@keyframes launch-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes launch-plate { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes launch-approach { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes launch-breathe { from { opacity: .82; } to { opacity: 1; } }
@keyframes launch-open { 0% { opacity: 1; } 60% { opacity: .2; } 100% { opacity: 1; } }

/* --- Mobile: the plate above, the countdown below --------------------------- */
@media (max-width: 767px) {
  .launch__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .launch__plate { height: 46svh; min-height: 280px; }
  .launch__plate::after {
    background: linear-gradient(180deg, rgba(74, 14, 23, 0.15) 0%, rgba(10, 10, 10, 0) 40%, rgba(10, 10, 10, 1) 100%);
  }
  .launch__light { background: radial-gradient(ellipse 80% 40% at 50% 62%, rgba(74, 14, 23, 0.55), rgba(74, 14, 23, 0) 72%); }
  .launch__copy { align-self: start; padding: 0 16px calc(40px + env(safe-area-inset-bottom)); margin-top: -64px; position: relative; text-align: center; }
  .launch__wordmark { align-items: center; margin-bottom: 26px; }
  .launch__progress { margin-left: auto; margin-right: auto; }
  .launch__time { font-size: clamp(88px, 30vw, 132px); }
}

/* Landscape phones: side by side again, compact. */
@media (max-width: 1023px) and (max-height: 500px) {
  .launch__stage { grid-template-columns: 38% 1fr; grid-template-rows: none; }
  .launch__plate { height: auto; min-height: 0; }
  .launch__copy { margin-top: 0; padding: 20px 28px; text-align: left; }
  .launch__wordmark { align-items: flex-start; margin-bottom: 14px; }
  .launch__title { font-size: 28px; }
  .launch__time { font-size: 84px; }
  .launch__note { margin-top: 14px; }
}
