/* Talk to Jesus — portal website
   Palette (locked): Divine Gold #E8B66B · Cream #F7F1E6 · Midnight Blue #1C2B43 */

:root {
  --gold: #E8B66B;
  --cream: #F7F1E6;
  --midnight: #1C2B43;
  --midnight-deep: #101a2c;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  font-family: var(--sans);
  background: var(--midnight-deep);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- fixed canvas sky ---------- */

#sky {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* fullscreen on mobile, address bar included */
  z-index: 0;
  display: block;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- top bar ---------- */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.6rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(16, 26, 44, 0.85);
}

.lang-toggle {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cream);
  background: rgba(16, 26, 44, 0.45);
  border: 2px solid rgba(247, 241, 230, 0.5);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.lang-toggle:hover {
  background: rgba(232, 182, 107, 0.18);
  border-color: var(--gold);
}

/* ---------- ascent indicator ---------- */

.ascent {
  position: fixed;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ascent-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(247, 241, 230, 0.4);
  box-shadow: 0 0 6px rgba(16, 26, 44, 0.6);
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
}

.ascent-dot.active {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(232, 182, 107, 0.8);
  transform: scale(1.35);
}

/* ---------- journey zones ---------- */

#journey { position: relative; z-index: 2; }

.zone {
  min-height: 130vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.zone-final { min-height: 110vh; }

.zone-copy {
  max-width: 720px;
  text-align: center;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s ease, transform 1.1s ease;
  padding: 3rem 2.2rem;
  border-radius: 50%;
  background: radial-gradient(ellipse closest-side, rgba(16, 26, 44, 0.5) 0%, rgba(16, 26, 44, 0.32) 55%, rgba(16, 26, 44, 0) 100%);
}

.zone-copy.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.2rem, 10vw, 6rem);
  line-height: 1.05;
  color: var(--cream);
  text-shadow: 0 3px 18px rgba(16, 26, 44, 0.95), 0 0 60px rgba(16, 26, 44, 0.7);
}

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--gold);
  margin-top: 0.9rem;
  text-shadow: 0 2px 14px rgba(16, 26, 44, 0.95), 0 0 40px rgba(16, 26, 44, 0.6);
}

.scroll-hint {
  margin-top: 3rem;
  font-family: var(--sans);
  font-size: clamp(0.9rem, 2.6vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.95;
  text-shadow: 0 2px 12px rgba(16, 26, 44, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.scroll-arrow {
  width: 30px;
  height: 46px;
  position: relative;
  animation: hint-float 2.2s ease-in-out infinite;
}

.scroll-arrow::before,
.scroll-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 18px;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
  filter: drop-shadow(0 2px 6px rgba(16, 26, 44, 0.9));
}

.scroll-arrow::before { top: 2px; opacity: 0.55; }
.scroll-arrow::after { top: 16px; }

@keyframes hint-float {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.7; }
}

.zone-line {
  font-family: var(--serif);
  font-size: clamp(2rem, 6.5vw, 3.3rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--cream);
  text-shadow: 0 3px 16px rgba(16, 26, 44, 0.95), 0 0 50px rgba(16, 26, 44, 0.65);
}

/* ---------- final zone / CTA ---------- */

/* final zone plays over bright golden light: heavier scrim + darker shadows */
.zone-final .zone-copy {
  background: radial-gradient(ellipse closest-side, rgba(16, 26, 44, 0.62) 0%, rgba(16, 26, 44, 0.42) 55%, rgba(16, 26, 44, 0) 100%);
}

.presence-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.4rem, 7.5vw, 3.9rem);
  color: var(--cream);
  text-shadow: 0 3px 16px rgba(16, 26, 44, 0.95), 0 0 55px rgba(16, 26, 44, 0.7);
  margin-bottom: 2.4rem;
}

.cta { display: none; }
body[data-variant="waitlist"] .cta-waitlist { display: block; }
body[data-variant="chat"] .cta-chat { display: block; }

.cta-lead {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(16, 26, 44, 0.95);
}

.waitlist-form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.waitlist-form input {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--cream);
  background: rgba(16, 26, 44, 0.55);
  border: 2px solid rgba(247, 241, 230, 0.55);
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  min-width: min(300px, 78vw);
  outline: none;
  transition: border-color 0.3s;
}

.waitlist-form input::placeholder { color: rgba(247, 241, 230, 0.65); }
.waitlist-form input:focus { border-color: var(--gold); }

.waitlist-form button,
.chat-btn {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--midnight-deep);
  background: linear-gradient(135deg, #f2cd93, var(--gold));
  border: none;
  border-radius: 999px;
  padding: 0.95rem 2.1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 32px rgba(232, 182, 107, 0.55), 0 4px 14px rgba(16, 26, 44, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}

.waitlist-form button:hover,
.chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(232, 182, 107, 0.55);
}

.form-note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(16, 26, 44, 0.95);
}

.form-success {
  margin-top: 1.3rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(16, 26, 44, 0.95);
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem 2.4rem;
  background: linear-gradient(to bottom, transparent, rgba(16, 26, 44, 0.85));
}

.footer-disclosure,
.footer-crisis {
  max-width: 600px;
  margin: 0 auto 0.9rem;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--cream);
  opacity: 0.8;
}

.footer-brand {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

/* ---------- responsive ---------- */

@media (max-width: 600px) {
  .ascent { right: 0.7rem; gap: 0.7rem; }
  .zone { min-height: 115vh; }
  .topbar { padding: 1rem 1.1rem; }
  .zone-copy { padding: 2.4rem 1.4rem; }

  /* eindscherm: inschrijfblok onderin (onder het gezicht van Jesus),
     samen met de compacte footer op een telefoonscherm */
  .zone-final { min-height: 100vh; min-height: 100svh; align-items: flex-end; }
  .zone-final .zone-copy { padding: 1.6rem 1.2rem 1rem; margin-bottom: 0; }
  .presence-line { font-size: 1.8rem; margin-bottom: 1rem; }
  .cta-lead { font-size: 0.98rem; margin-bottom: 0.9rem; }
  .waitlist-form { flex-direction: column; align-items: stretch; gap: 0.65rem; }
  .waitlist-form input, .waitlist-form button { width: 100%; min-width: 0; padding: 0.85rem 1.2rem; }
  .form-note { font-size: 0.76rem; margin-top: 0.6rem; }
  .site-footer { padding: 1rem 1.2rem 1rem; }
  .footer-disclosure, .footer-crisis { font-size: 0.63rem; line-height: 1.4; margin-bottom: 0.4rem; }
  .footer-brand { font-size: 0.8rem; margin-top: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .zone-copy { transition: opacity 0.6s ease; transform: none; }
  .scroll-hint { animation: none; }
}
