/* =====================================================================
   Eagles Peak on Eye: coming-soon page
   Tokens follow the Eagles Peak Style Guide v3 and the shared brand.css
   used by the design options. Direction: Option 2, "The Ascent".
   ===================================================================== */

:root {
  --purple: #56299B;
  --plum: #34016A;
  --plum-deep: #22004A;
  --cream: #E9E2DD;
  --silver: #C1C1C1;
  --gold: #A47A42;
  --gold-soft: #C9A26E;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-caps: "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --font-script: "Alex Brush", "Brush Script MT", cursive;

  --gutter-x: clamp(1.25rem, 5vw, 4.5rem);
  --gutter-y: clamp(1.25rem, 3.5vh, 2.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  color: var(--cream);
  background: var(--plum-deep);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
p, h1 { margin: 0; }

/* ---- Backdrop: generated dusk vista (stand-in for the hero video) ---- */
.vista { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--plum-deep); }
.vista svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vista::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,0,74,0.45) 0%, rgba(34,0,74,0) 30%, rgba(34,0,74,0) 55%, rgba(34,0,74,0.7) 100%);
}

/* ---- Page: header / hero / footer, sized to the viewport ---- */
.page {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 1.5rem;
  padding: var(--gutter-y) var(--gutter-x);
}

.top { display: flex; align-items: center; min-height: 2.5rem; }

.eyebrow, .detail, .caps {
  font-family: var(--font-caps); text-transform: uppercase; letter-spacing: 0.22em;
}
.eyebrow { font-weight: 600; font-size: 0.82rem; color: var(--silver); }
.detail { font-weight: 500; font-size: 0.86rem; letter-spacing: 0.18em; color: var(--silver); }
.caps { font-weight: 600; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--silver); opacity: 0.8; }

/* Hero: text on the left, the reversed crest as the visual on the right */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
}
.hero__text { display: grid; gap: clamp(0.8rem, 1.8vh, 1.4rem); max-width: 560px; }
.stage { font-family: var(--font-script); font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1; color: var(--cream); }
.hero__mark { margin: 0; justify-self: center; }
.hero__mark img { width: min(100%, 520px, 58vh); height: auto; filter: drop-shadow(0 24px 48px rgba(10,0,30,0.45)); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; max-width: 52ch; opacity: 0.92; }
.lede em { font-style: italic; color: var(--gold-soft); }

/* ---- Countdown ---- */
.countdown { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.25rem); font-variant-numeric: tabular-nums; margin-block: 0.4rem; }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 3.2ch; }
.cd-unit b { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 6.5vw, 4.6rem); line-height: 1; }
.cd-unit small { font-family: var(--font-caps); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver); margin-top: 0.35rem; }

.bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 2rem; }
.bottom .rule { flex: 1 1 100%; height: 1px; background: linear-gradient(90deg, rgba(164,122,66,0.6), transparent); margin-bottom: 0.25rem; }

/* ---- Short viewports (laptops with browser chrome) keep everything on one screen ---- */
@media (max-height: 720px) {
  .page { gap: 1rem; }
  .hero__text { gap: 0.7rem; }
  .stage { font-size: clamp(2rem, 4.5vw, 3.2rem); }
  .cd-unit b { font-size: clamp(2rem, 5vw, 3.4rem); }
  .hero__mark img { width: min(100%, 440px, 62vh); }
}
/* Phones: crest on top, text stacked and centered beneath it */
@media (max-width: 800px) {
  .hero { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 1.25rem; }
  .hero__mark { order: -1; }
  .hero__mark img { width: min(62vw, 34vh); }
  .hero__text { justify-items: center; }
  .countdown { justify-content: center; }
  .lede { font-size: 1.05rem; }
}
@media (max-width: 600px) {
  .top { justify-content: center; }
  .countdown { gap: 1.1rem; }
  .bottom { font-size: 0.68rem; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .vista .tw { animation: none !important; }
}
