/* ─── HOME PAGE ─── */
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Indent section content more, but keep nav aligned to outer edge */
section .container,
.cta-section .container {
  padding-left: clamp(48px, 8vw, 120px);
}

/* ─── NAV (home-specific: stage transitions) ─── */
nav.on-stage .logo { color: #fff; }
nav.on-stage .nav-link { color: rgba(255,255,255,0.6); }
nav.on-stage .nav-link:hover { color: var(--color-accent); }

nav.scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
  padding: 16px 0;
}

nav.scrolled .logo { color: var(--color-text); }
nav.scrolled .nav-link { color: var(--color-text-secondary); }

.logo svg {
  transition: filter 0.4s ease;
}

nav.on-stage .logo svg { filter: brightness(1); }
nav.scrolled .logo svg { filter: brightness(0); }

nav.scrolled a.nav-cta {
  border-color: var(--color-text);
  color: var(--color-text);
}

nav.scrolled a.nav-cta:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ─── STAGE ─── */
.stage {
  position: relative;
  height: 100vh;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.stage-video-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  overflow: hidden;
}

.stage-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stage-video-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.stage-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  padding-left: clamp(48px, 8vw, 120px);
  padding-right: 25%;
}

.stage-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}

.stage-scroll-hint span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ─── HERO (inside stage) ─── */
.hero-content { max-width: 740px; }

.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-content .subheadline {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 620px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.45s forwards;
}

.hero-content .supporting {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.75s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: #fff;
  color: #000;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}

.btn-primary:hover { background: var(--color-accent); color: #000; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}

.btn-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ─── SECTIONS ─── */
section { padding: var(--section-padding) 0; }

.section-label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  max-width: 640px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ─── PROBLEM ─── */
.problem { border-top: 1px solid var(--color-border); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.problem-block p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.problem-block .block-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--color-text-tertiary);
  margin-bottom: 16px;
  display: block;
}

/* ─── WHAT ─── */
.what { border-top: 1px solid var(--color-border); }

.what-body {
  max-width: 680px;
}

.what-body p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.what-body p:last-of-type { margin-bottom: 0; }

.what-body strong,
.why-now-body strong {
  color: var(--color-text);
  font-weight: 500;
}

.what-body .emphasis {
  color: var(--color-text);
  font-weight: 500;
}

.pull-quote {
  margin: 40px 0 0 0;
  padding: 0;
}

.pull-quote blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--color-text);
  max-width: 640px;
  letter-spacing: -0.01em;
}

/* ─── OUTCOMES ─── */
.outcomes { border-top: 1px solid var(--color-border); }

.outcomes-list {
  list-style: none;
  max-width: 640px;
}

.outcomes-list li {
  position: relative;
  padding: 20px 0 20px 32px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

.outcomes-list li:first-child { border-top: 1px solid var(--color-border); }

.outcomes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.7;
}

.outcomes-closer {
  margin: 40px 0 0 0;
  padding: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--color-text);
  max-width: 640px;
  letter-spacing: -0.01em;
}

/* ─── WHY NOW ─── */
.why-now { border-top: 1px solid var(--color-border); }

.why-now-body {
  max-width: 640px;
}

.why-now-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

/* ─── CTA SECTION ─── */
.cta-section {
  border-top: 1px solid var(--color-border);
  padding: var(--section-padding) 0;
}

.cta-inner { max-width: 520px; }

.cta-inner p:not(.section-label):not(.form-disclaimer):not(.form-success) {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
}

.email-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.email-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-white);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.25s;
}

.email-form input[type="email"]::placeholder { color: var(--color-text-tertiary); }
.email-form input[type="email"]:focus { border-color: var(--color-text-tertiary); }

.email-form button {
  padding: 14px 28px;
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  white-space: nowrap;
}

.email-form button:hover:not(:disabled) { background: #333; transform: translateY(-1px); }

.email-form button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.form-disclaimer {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
}

.form-success {
  display: none;
  padding: 16px 0;
  font-size: 0.95rem;
  color: var(--color-accent);
}

/* ─── MODAL ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--color-white);
  border-radius: 12px;
  padding: 48px;
  max-width: 440px;
  width: 90%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-tertiary);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--color-text); }

.modal h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.modal p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.65;
}

.modal .email-form { flex-direction: column; }
.modal .email-form input[type="email"] { min-width: unset; width: 100%; }
.modal .email-form button { width: 100%; text-align: center; justify-content: center; }

/* ─── HOME RESPONSIVE ─── */
@media (max-width: 768px) {
  .stage-video-wrapper { width: 100%; }
  .stage-video-wrapper::before {
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
  }
  .stage-content { padding-right: clamp(24px, 5vw, 64px); }
  .problem-grid { grid-template-columns: 1fr; gap: 36px; }
  .modal { padding: 36px 28px; }
}
