/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal:     #0D4F4F;
  --teal-mid: #1a6b6b;
  --sand:     #E8DCC8;
  --gold:     #C9A96E;
  --charcoal: #1A1A2E;
  --cream:    #F5F1EB;
  --ocean:    #2E6B8A;
  --muted:    #6b6b7a;
  --border:   rgba(13, 79, 79, 0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Jost', 'DM Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1140px;
  --section-pad: clamp(80px, 10vw, 140px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── Typography ─── */
.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 200;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.section-headline em {
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--teal);
}

.section-headline.centered {
  text-align: center;
}

/* ─── Layout ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 60px);
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13, 79, 79, 0.25);
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(245, 241, 235, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 20px rgba(13, 79, 79, 0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--charcoal);
}

.wordmark {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}

.wordmark:hover {
  color: var(--teal);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--teal);
  text-decoration: none;
  padding: 10px 22px;
  border: 1.5px solid var(--teal);
  transition: background 0.25s, color 0.25s;
}

.nav-cta:hover {
  background: var(--teal);
  color: var(--cream);
}

/* ─── Hero ─── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px clamp(24px, 5vw, 60px) 0;
  position: relative;
  background: var(--cream);
  overflow: hidden;
}

/* Animated gradient orbs behind hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(13, 79, 79, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(201, 169, 110, 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: heroGradientDrift 20s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(13, 79, 79, 0.04) 0%, transparent 65%);
  pointer-events: none;
  animation: heroPulse 12s ease-in-out infinite;
}

@keyframes heroGradientDrift {
  0%   { opacity: 0.7; transform: scale(1) translateX(0); }
  50%  { opacity: 1;   transform: scale(1.05) translateX(-2%); }
  100% { opacity: 0.8; transform: scale(0.98) translateX(2%); }
}

@keyframes heroPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50%       { transform: translate(-50%, -52%) scale(1.08); opacity: 1; }
}

.hero-inner {
  max-width: 860px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-bottom: 60px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.hero-headline .period {
  color: var(--teal);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
  font-weight: 300;
}

/* Tidal divider */
.hero-tidal {
  width: 100%;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.tidal-svg {
  width: 100%;
  height: 80px;
}

.tidal-path {
  fill: var(--sand);
}

/* ─── Problem Section ─── */
.section-problem {
  background: var(--sand);
  padding: var(--section-pad) 0;
}

.problem-inner {
  max-width: 800px;
}

/* Decorative gold rule above the problem headline */
.section-problem .section-headline {
  position: relative;
  padding-top: 24px;
}

.section-problem .section-headline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.problem-text {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-text p {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--charcoal);
  font-weight: 300;
}

.problem-emphasis {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem) !important;
  font-weight: 400 !important;
  color: var(--teal) !important;
  font-style: italic;
  margin-top: 12px;
}

/* ─── Method Section ─── */
.section-method {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

/* Decorative gold rule above the method headline */
.section-method .section-headline {
  position: relative;
  padding-top: 24px;
}

.section-method .section-headline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.method-header {
  max-width: 700px;
  margin-bottom: clamp(50px, 7vw, 80px);
}

.method-sub {
  margin-top: 28px;
  font-size: clamp(0.9rem, 1.3vw, 1.02rem);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.85;
}

/* EBBE Grid */
.ebbe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 48px;
  perspective: 1200px;
}

.ebbe-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Gold accent bar slides in from left on hover */
.ebbe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ebbe-card:hover::before {
  transform: scaleX(1);
}

.ebbe-card:hover {
  background: var(--teal);
  box-shadow: 0 20px 60px rgba(13, 79, 79, 0.25);
}

.ebbe-card:hover h3,
.ebbe-card:hover p {
  color: var(--cream);
}

.ebbe-letter {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.ebbe-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.ebbe-content p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  transition: color 0.3s ease;
}

.ebbe-rhythm {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Beliefs Section ─── */
.section-beliefs {
  background: var(--charcoal);
  padding: var(--section-pad) 0;
}

.section-beliefs .section-headline {
  color: var(--cream);
  margin-bottom: clamp(50px, 7vw, 80px);
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
}

.belief {
  border-top: 1px solid rgba(232, 220, 200, 0.2);
  padding-top: 32px;
}

.belief-number {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
}

.belief h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.0rem, 1.6vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.3;
}

.belief p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245, 241, 235, 0.6);
  font-weight: 300;
}

/* ─── Audience Section ─── */
.section-audience {
  background: var(--sand);
  padding: var(--section-pad) 0;
}

.audience-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.audience-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audience-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--charcoal);
  font-weight: 300;
}

.audience-list li::before {
  content: '—';
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1rem;
  flex-shrink: 0;
}

.aside-card {
  background: var(--teal);
  padding: clamp(28px, 4vw, 44px);
  margin-top: 20px;
}

.aside-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.aside-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
}

/* ─── Paths / Pricing Section ─── */
.section-paths {
  background: var(--cream);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.section-paths::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.paths-header {
  max-width: 640px;
  margin-bottom: clamp(50px, 7vw, 80px);
}

.paths-sub {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.path-card {
  background: var(--cream);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.3s ease;
}

.path-card:hover {
  background: #faf8f4;
}

.path-card.path-featured {
  background: var(--teal);
}

.path-card.path-featured:hover {
  background: var(--teal-mid);
}

.path-tier {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.path-featured .path-tier {
  color: rgba(201, 169, 110, 0.8);
}

.path-revenue {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-top: 4px;
}

.path-featured .path-revenue {
  color: var(--cream);
}

.path-card h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 4px;
}

.path-featured h3 {
  color: var(--cream);
  border-top-color: rgba(245, 241, 235, 0.2);
}

.path-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  flex: 1;
}

.path-featured p {
  color: rgba(245, 241, 235, 0.7);
}

.path-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 8px;
}

.btn-paths {
  display: inline-block;
  background: var(--cream);
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  align-self: flex-start;
}

.btn-paths:hover {
  background: var(--sand);
  transform: translateX(4px);
}

.btn-paths-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--border);
  padding: 12px 28px;
}

.btn-paths-outline:hover {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

/* ─── Bridge Section ─── */
.section-bridge {
  background: var(--cream);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.section-bridge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 50%, rgba(13, 79, 79, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.bridge-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.bridge-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 200;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.bridge-headline em {
  font-style: italic;
  color: var(--teal);
}

.bridge-sub {
  margin-top: 28px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
}

/* ─── Waitlist Section ─── */
.section-waitlist {
  background: var(--charcoal);
  padding: var(--section-pad) 0;
}

.waitlist-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.section-waitlist .section-headline {
  color: var(--cream);
}

.waitlist-sub {
  margin-top: 20px;
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  color: rgba(245, 241, 235, 0.65);
  font-weight: 300;
  line-height: 1.7;
}

.waitlist-form {
  display: flex;
  gap: 0;
  margin-top: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-input {
  flex: 1;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(245, 241, 235, 0.08);
  border: 1px solid rgba(245, 241, 235, 0.15);
  border-right: none;
  color: var(--cream);
  outline: none;
  transition: background 0.2s, border-color 0.2s;
}

.waitlist-input::placeholder {
  color: rgba(245, 241, 235, 0.35);
}

.waitlist-input:focus {
  background: rgba(245, 241, 235, 0.12);
  border-color: rgba(245, 241, 235, 0.3);
}

.waitlist-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(245, 241, 235, 0.4);
  letter-spacing: 0.03em;
}

/* ─── Footer ─── */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(26, 26, 46, 0.4);
}

/* ─── Mobile Responsive ─── */
@media (max-width: 900px) {
  .ebbe-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .beliefs-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .audience-inner {
    grid-template-columns: 1fr;
  }

  .aside-card {
    margin-top: 0;
  }

  .paths-grid {
    grid-template-columns: 1fr;
  }

  .path-card.path-featured {
    order: -1;
  }
}

@media (max-width: 600px) {
  .ebbe-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-input {
    border-right: 1px solid rgba(245, 241, 235, 0.15);
    border-bottom: none;
  }

  .hero-headline {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .nav-cta {
    display: none;
  }

  .nav-link {
    display: none;
  }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* tidal wave animation handled via JS, respects this media query */
}
