/* ---------- Tokens ---------- */
:root {
  --sky-deep:   #1b3566;
  --sky-mid:    #1B3B6F;
  --sky-light:  #4C7EA8;
  --mtn-back:   #4a5a85;
  --mtn-mid:    #2c3b62;
  --mtn-front:  #082048;
  --sun-gold:   #F2A65A;
  --sun-glow:   #FFD98E;
  --horizon-warm: #d97f56;
  --text-light: #EAF1F8;
  --text-muted: #9FB4C9;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  color: var(--text-light);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: var(--mtn-front);
}

/* ---------- Sun scene (signature element) ---------- */
.sun-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 399;
  max-height: 520px;
  overflow: hidden;
  background-image: url('images/comingsoon_websitefooter.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--sky-deep);
}

.sun-stage::before,
.sun-stage::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(16px, 14%, 90px);
  pointer-events: none;
}

.sun-stage::before {
  top: 0;
  background: linear-gradient(to bottom, var(--sky-deep) 0%, rgba(27, 53, 102, 0) 100%);
}

.sun-stage::after {
  bottom: 0;
  background: linear-gradient(to top, var(--mtn-front) 0%, rgba(8, 32, 72, 0) 100%);
}

/* ---------- Layout ---------- */
.page {
  padding: 32px 24px 64px;
  background: var(--sky-deep);
}

.page > * {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  display: flex;
  justify-content: center;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--text-light);
}

.wordmark-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun-gold);
  box-shadow: 0 0 14px var(--sun-glow);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8vh 0 0;
}

@media (max-width: 640px), (max-height: 750px) {
  .page {
    padding: 24px 20px 32px;
  }
  .hero {
    padding-top: 4vh;
  }
  .sun-stage {
    min-height: 36vh;
  }
  .site-footer {
    min-height: 72px;
    padding: 18px 0 26px;
  }
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--sun-gold);
  margin: 0 0 28px;
  font-weight: 500;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 15ch;
  margin: 0 auto 28px;
}

.lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 36px;
}

/* ---------- Form ---------- */
.notify-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  flex-wrap: wrap;
  justify-content: center;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.notify-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(234, 241, 248, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.notify-input::placeholder {
  color: var(--text-muted);
}

.notify-input:focus {
  outline: 2px solid var(--sun-gold);
  outline-offset: 2px;
}

.notify-button {
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  background: var(--sun-gold);
  color: var(--sky-deep);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.notify-button:hover {
  background: var(--sun-glow);
  transform: translateY(-1px);
}

.notify-button:focus-visible {
  outline: 2px solid var(--text-light);
  outline-offset: 2px;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 24px 0 32px;
  min-height: 96px;
  background: var(--mtn-front);
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .notify-form {
    flex-direction: column;
  }
  .notify-button {
    width: 100%;
  }
}
