/* PEAK Experience waitlist. Design source: Peak Experience Waitlist.dc.html, renders 2b (desktop) + 2c (mobile). */

:root {
  --obsidian: #14100B;
  --obsidian-rgb: 20 16 11;
  --gold: #EAD9AE;
  --gold-rgb: 234 217 174;
  --gold-ink: #3A2F1B;
  --sand: #B8A98D;
  --muted: #8A7C66;
  --snowlight: #FFF9EC;
  --snowlight-rgb: 255 249 236;
  --bone: #FBF4E4;
  --ivory: #F2EAD9;
  --ivory-rgb: 242 234 217;
  --champagne: linear-gradient(135deg, #EAD9AE, #D9BE84);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: Raleway, system-ui, sans-serif;
}

input, button { font: inherit; }

input::placeholder { color: rgb(var(--ivory-rgb) / .35); letter-spacing: .5px; }

.eyebrow {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 4.5px;
  color: var(--gold);
  text-transform: uppercase;
}

/* ---------- Animations ---------- */
@keyframes pk-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

.hero-content > * { opacity: 0; animation: pk-rise .9s cubic-bezier(.22, .7, .25, 1) both; }
.hero-content > :nth-child(1) { animation-delay: .05s; }
.hero-content > :nth-child(2) { animation-delay: .18s; }
.hero-content > :nth-child(3) { animation-delay: .3s; }
.hero-content > :nth-child(4) { animation-delay: .42s; }
.hero-content > :nth-child(5) { animation-delay: .54s; }
.hero-content > :nth-child(6) { animation-delay: .66s; }

.nav-cta, .join-btn { transition: transform .3s cubic-bezier(.22, .7, .25, 1), box-shadow .3s ease; }
.nav-cta:hover, .join-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 46px rgba(216, 178, 106, .5); }

.feat { transition: transform .35s cubic-bezier(.22, .7, .25, 1); }
.feat:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content > * { animation: none; opacity: 1; }
  .nav-cta, .join-btn, .feat { transition: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 35%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(var(--obsidian-rgb) / .55) 0%, rgb(var(--obsidian-rgb) / .25) 40%, rgb(var(--obsidian-rgb) / .92) 100%);
}

/* ---------- Nav ---------- */
.nav {
  position: relative;
  z-index: 2;
  height: 84px;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 56px;
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand-mark { width: 30px; }
.brand-word { display: flex; flex-direction: column; }
.brand-peak { font-size: 15px; font-weight: 300; letter-spacing: 6px; color: var(--snowlight); }
.brand-exp { font-size: 6.5px; font-weight: 500; letter-spacing: 3.5px; color: var(--gold); margin-top: 2px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgb(var(--snowlight-rgb) / .75);
  text-decoration: none;
  transition: color .3s ease;
}
.nav-links a:hover { color: var(--gold); }

/* Shared pill-button base; .nav-cta and .join-btn differ only in skin. */
.nav-cta, .join-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-cta {
  margin-left: auto;
  height: 44px;
  border: 1px solid rgb(var(--snowlight-rgb) / .5);
  background: transparent;
  color: var(--snowlight);
  padding: 0 24px;
  font-size: 10.5px;
  backdrop-filter: blur(6px);
}

.nav-burger { display: none; background: none; border: none; padding: 8px; cursor: pointer; }

/* ---------- Hero content ---------- */
.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 56px 64px;
}

.hero-headline {
  margin: 18px 0 0;
  font-weight: 200;
  font-size: clamp(38px, 6.5vw, 74px);
  letter-spacing: .5px;
  line-height: 1.08;
  max-width: 900px;
  text-wrap: balance;
  color: var(--snowlight);
  text-shadow: 0 6px 40px rgba(0, 0, 0, .4);
}

.hero-body {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgb(var(--ivory-rgb) / .85);
  max-width: 560px;
}

/* ---------- Join form ---------- */
.join-form {
  display: flex;
  gap: 10px;
  margin: 32px 0 0;
  background: rgb(var(--obsidian-rgb) / .55);
  border: 1px solid rgb(var(--gold-rgb) / .3);
  border-radius: 999px;
  padding: 8px;
  backdrop-filter: blur(10px);
}

.join-form input {
  width: 320px;
  height: 48px;
  background: transparent;
  border: none;
  padding: 0 20px;
  color: var(--snowlight);
  font-size: 13.5px;
  outline: none;
}

.join-form.invalid { border-color: rgba(217, 130, 100, .6); }

.join-btn {
  height: 48px;
  background: var(--champagne);
  color: var(--gold-ink);
  padding: 0 28px;
  font-size: 12px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .4);
}

.join-form.joined input { display: none; }
.join-form.joined .join-btn { cursor: default; }

.join-note {
  margin: 16px 0 0;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgb(var(--ivory-rgb) / .65);
}

.launch-line {
  margin: 22px 0 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
.section { padding: 84px 96px 40px; max-width: 1292px; margin: 0 auto; }

/* ---------- What's coming ---------- */
.feat {
  display: flex;
  gap: 48px;
  align-items: baseline;
  padding: 40px 0;
  border-bottom: 1px solid rgb(var(--gold-rgb) / .14);
}
.feat-last { border-bottom: none; }

.feat-num {
  font-family: Montserrat, Raleway, sans-serif;
  font-weight: 600;
  font-size: 52px;
  color: rgb(var(--gold-rgb) / .28);
  width: 110px;
  flex: none;
}

.feat-title {
  margin: 0;
  width: 220px;
  flex: none;
  font-weight: 300;
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--bone);
}

.feat-body { margin: 0; font-size: 14px; line-height: 1.75; color: var(--sand); }

/* ---------- Journey ---------- */
.section-journey { padding: 40px 96px 84px; }

.journey-headline {
  margin: 14px 0 0;
  font-weight: 200;
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: 1px;
  color: var(--bone);
}

.journey-chart {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 48px;
  border-bottom: 1px solid rgb(var(--gold-rgb) / .25);
}

.stage { flex: 1; display: flex; flex-direction: column; gap: 14px; }

.stage-label { font-size: 12px; font-weight: 600; letter-spacing: 2.5px; color: var(--bone); }
.stage-gold .stage-label { color: var(--gold); }

.stage-desc {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--sand);
  margin-top: 5px;
  line-height: 1.55;
}

.stage-bar { border-radius: 10px 10px 0 0; background: linear-gradient(180deg, rgb(var(--gold-rgb) / var(--a)), rgb(var(--gold-rgb) / .08)); }
.s1 { height: 44px;  --a: .22; }
.s2 { height: 86px;  --a: .26; }
.s3 { height: 128px; --a: .3; }
.s4 { height: 170px; --a: .36; }
.s5 { height: 212px; background: linear-gradient(180deg, #EAD9AE, rgba(217, 190, 132, .35)); box-shadow: 0 -10px 40px rgb(var(--gold-rgb) / .25); }

.journey-mobile-labels { display: none; }

/* ---------- Founding members ---------- */
.section-founding { padding: 0 96px 84px; }

.founding-panel {
  background: linear-gradient(135deg, rgb(var(--gold-rgb) / .16), rgb(var(--gold-rgb) / .05));
  border: 1px solid rgb(var(--gold-rgb) / .2);
  border-radius: 28px;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.founding-headline { margin: 12px 0 0; font-weight: 200; font-size: clamp(26px, 3vw, 34px); letter-spacing: 1px; color: var(--bone); }
.founding-body { margin: 10px 0 0; font-size: 13px; color: var(--sand); line-height: 1.7; }

.founding-action { flex: none; }
.join-form-founding { margin: 0; background: rgb(var(--obsidian-rgb) / .6); border-color: rgb(var(--gold-rgb) / .25); }
.join-form-founding input { width: 260px; }
.founding-action .join-note { margin-top: 12px; text-align: center; color: var(--sand); letter-spacing: 1.2px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgb(var(--gold-rgb) / .12);
  padding: 26px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 22px; opacity: .9; }
.brand-word-footer { font-size: 11px; font-weight: 300; letter-spacing: 4px; color: var(--ivory); }
.brand-word-footer span { color: var(--gold); font-size: 8px; letter-spacing: 2.5px; font-weight: 500; }

.footer-mission { margin: 0; font-size: 9px; letter-spacing: 2px; color: var(--muted); }
.footer-copy { margin: 0; font-size: 10px; letter-spacing: 1px; color: var(--muted); }

/* ================= Mobile (2c render, 390px reference) ================= */
@media (max-width: 900px) {
  /* Photo hero instead of video; a background-image here is never fetched on desktop. */
  .hero-video { display: none; }
  .hero { background: url(/assets/peak-mountain-photo.webp) 62% 35% / cover no-repeat; }

  .nav { height: 64px; padding: 0 20px; gap: 16px; }
  .brand-mark { width: 26px; }
  .brand-peak { font-size: 13px; letter-spacing: 5px; }
  .brand-exp { font-size: 6px; letter-spacing: 3px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }

  /* The one nav list becomes the fullscreen menu when the burger opens it. */
  body.nav-open .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgb(var(--obsidian-rgb) / .97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 38px;
  }
  body.nav-open .nav-links a { font-size: 13px; letter-spacing: 3px; color: var(--snowlight); }

  .hero-content { padding: 24px 24px 56px; }
  .hero-headline { line-height: 1.14; }
  .hero-body { font-size: 13px; line-height: 1.7; max-width: 300px; }

  .join-form {
    flex-direction: column;
    gap: 8px;
    border-radius: 28px;
    width: 100%;
    max-width: 400px;
    background: rgb(var(--obsidian-rgb) / .6);
  }
  .join-form input { width: 100%; height: 46px; text-align: center; font-size: 13px; }
  .join-btn { height: 46px; justify-content: center; font-size: 11.5px; box-shadow: 0 8px 28px rgba(0, 0, 0, .4); }

  .join-note { font-size: 10px; letter-spacing: 1.2px; line-height: 1.6; max-width: 280px; margin-left: auto; margin-right: auto; }
  .launch-line { font-size: 9px; letter-spacing: 2.5px; margin-top: 16px; }

  .eyebrow { font-size: 9px; letter-spacing: 3.5px; }

  .section { padding: 52px 24px 16px; }

  .feat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 0; }
  .feat-num { font-size: 34px; width: auto; }
  .feat-title { width: auto; font-size: 22px; }
  .feat-body { font-size: 13px; line-height: 1.7; }

  .section-journey { padding: 16px 24px 56px; }
  .journey-chart { gap: 8px; margin-top: 32px; }
  .stage-label { display: none; }
  .stage-bar { border-radius: 7px 7px 0 0; }
  .s1 { height: 34px; } .s2 { height: 62px; } .s3 { height: 92px; } .s4 { height: 122px; }
  .s5 { height: 152px; box-shadow: 0 -8px 30px rgb(var(--gold-rgb) / .25); }

  .journey-mobile-labels { display: flex; gap: 8px; margin-top: 10px; }
  .journey-mobile-labels span { flex: 1; text-align: center; font-size: 8px; font-weight: 600; letter-spacing: 1.4px; color: var(--sand); }
  .journey-mobile-labels .gold { color: var(--gold); }

  .section-founding { padding: 0 20px 48px; }
  .founding-panel { flex-direction: column; text-align: center; border-radius: 24px; padding: 32px 24px; gap: 22px; }
  .founding-body { font-size: 12px; margin-top: 8px; }
  .founding-action { width: 100%; }
  .join-form-founding { max-width: none; border-radius: 26px; }
  .join-form-founding input { height: 44px; padding: 0 18px; }
  .founding-action .join-btn { height: 44px; font-size: 11px; }
  .founding-action .join-note { font-size: 10px; line-height: 1.6; }

  .footer { flex-direction: column; text-align: center; padding: 22px 20px; gap: 10px; }
  .footer-brand img { width: 20px; }
  .brand-word-footer { font-size: 10.5px; letter-spacing: 3.5px; }
  .brand-word-footer span { font-size: 7.5px; letter-spacing: 2px; }
  .footer-mission { font-size: 8px; letter-spacing: 1.6px; line-height: 1.8; }
  .footer-copy { font-size: 9px; }
}
