/* ========================================
   DISCOVER RHYTHM — Page-Specific Styles
   ======================================== */

/* --- HERO VARIANT --- */
.hero--discover {
  min-height: 80vh;
  min-height: 80dvh;
}

.hero-video-placeholder--discover {
  background: linear-gradient(160deg, #111 0%, #0A0A0A 30%, #1A1A1A 60%, #0A0A0A 100%);
}

.hero-video-placeholder--discover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 80%, rgba(243, 187, 67, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 20%, rgba(243, 187, 67, 0.04) 0%, transparent 50%);
}

.hero--discover .hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--discover .hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) blur(3px);
  transform: scale(1.05);
}


/* ========================================
   STORY / VIDEO SECTION
   ======================================== */
.story {
  padding: var(--section-pad-mobile) 0;
  background-color: var(--black);
}

.story-header {
  text-align: center;
  margin-bottom: 48px;
}

.story-header h2 {
  margin-bottom: 16px;
}

/* Video Player */
.story-video {
  margin-bottom: 64px;
}

.story-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--dark);
  border: 1px solid var(--gray-dark);
  overflow: hidden;
}

.story-video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
  color: var(--gold);
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.video-placeholder-icon,
.video-placeholder-text {
  position: relative;
  z-index: 1;
}

.video-placeholder:hover {
  color: var(--white);
}

.video-placeholder-icon svg {
  width: 64px;
  height: 64px;
}

.video-placeholder-text {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: inherit;
}

/* ========================================
   FULL-SCREEN NARRATIVE SCROLL
   ======================================== */
.narrative-scroll {
  position: relative;
  background-color: var(--black);
}

.narrative-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.narrative-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 28px;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.narrative-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.narrative-slide.exiting {
  opacity: 0;
  transform: translateY(-30px);
}

/* Slide elements */
.narrative-slide-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.narrative-slide-act {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 300;
  color: var(--gold);
  opacity: 0.25;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 8px;
}

.narrative-slide-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  margin-bottom: 24px;
}

.narrative-slide-lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 16px;
}

.narrative-slide-lead strong {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.narrative-slide-body {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--gray-light);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 12px;
}

.narrative-slide-sub {
  font-size: clamp(0.9375rem, 2vw, 1rem);
  color: var(--gray);
  line-height: 1.7;
  max-width: 520px;
}

.narrative-slide-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin: 24px 0;
  padding: 0;
  border: none;
}

.narrative-slide-scripture {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-top: 12px;
}

.narrative-slide-rhythm {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.15em;
  line-height: 1;
  margin: 16px 0;
}

/* Progress bar */
.narrative-progress {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background-color: var(--gray-dark);
  border-radius: 1px;
  overflow: hidden;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.narrative-progress.visible {
  opacity: 1;
}

.narrative-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: 1px;
}


/* ========================================
   THREE PILLARS
   ======================================== */
.pillars {
  padding: var(--section-pad-mobile) 0;
  background-color: var(--dark);
}

.pillars-header {
  text-align: center;
  margin-bottom: 56px;
}

.pillars-header h2 {
  margin-bottom: 16px;
}

.pillars-header p {
  max-width: 600px;
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.pillar {
  padding: 36px 28px;
  border: 1px solid var(--gray-dark);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--gold);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--white);
  margin-bottom: 12px;
}

.pillar-scripture {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pillar p {
  margin-bottom: 12px;
}

.pillar-closer {
  color: var(--white) !important;
  font-weight: 500;
  font-style: italic;
  margin-top: 8px;
}


/* ========================================
   MISSION
   ======================================== */
.mission {
  padding: 140px 0 120px;
  background-color: var(--black);
  position: relative;
}

.mission-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  text-align: center;
  margin-bottom: 96px;
}

.mission-wide .eyebrow {
  margin-bottom: 32px;
}

.mission-statement {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
  letter-spacing: -0.01em;
}

.mission-body {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  padding: 0 5%;
}

.mission-body p {
  margin-bottom: 16px;
  color: var(--gray-light);
}

.mission-closer {
  color: var(--gold) !important;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3.5vw, 1.75rem) !important;
  font-weight: 500;
  font-style: italic;
  margin-top: 48px;
  line-height: 1.45;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


/* ========================================
   METHOD — ONBOARDING TIMELINE
   ======================================== */
.method {
  padding: var(--section-pad-mobile) 0;
  background-color: var(--dark);
}

.method-header {
  text-align: center;
  margin-bottom: 64px;
}

.method-header h2 {
  margin-bottom: 16px;
}

.method-header p {
  max-width: 640px;
  margin: 0 auto;
}

.method-section {
  margin-bottom: 80px;
}

.method-section:last-child {
  margin-bottom: 0;
}

.method-section-header {
  margin-bottom: 48px;
}

.method-section-header h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 16px;
  color: var(--white);
}

.method-section-header p {
  max-width: 640px;
}

/* Timeline */
.onboarding-timeline {
  position: relative;
  padding-left: 24px;
}

.onboarding-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gray-dark));
}

.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  background-color: var(--dark);
  border-radius: 50%;
}

.timeline-week {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.9375rem;
}

/* Cadence Grid */
.cadence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--gray-dark);
}

.cadence-card {
  background-color: var(--dark-mid);
  padding: 32px 24px;
}

.cadence-frequency {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.cadence-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 10px;
}

.cadence-card p {
  font-size: 0.9375rem;
}


/* ========================================
   EA VAULT PLATFORM
   ======================================== */
.platform {
  background-color: var(--black);
  padding: var(--section-pad-mobile) 0;
}

.platform-card.platform-card--text {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.platform-card.platform-card--text:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.platform-card.platform-card--text::before {
  display: none;
}

.platform-card--text h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.platform-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.platform-col:last-child {
  justify-content: center;
}

.platform-card {
  background-color: var(--dark-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.3);
  border-color: rgba(243, 187, 67, 0.15);
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-card {
  position: relative;
  overflow: hidden;
}

.platform-card-number {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.platform-card h4 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.platform-card p {
  font-size: 0.9375rem;
}

.platform-card--text p {
  margin-bottom: 12px;
}

.platform-footer-closer {
  color: var(--white) !important;
  font-weight: 500;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.125rem !important;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .platform-card {
    padding: 40px 36px;
  }
}


/* ========================================
   WORKFLOWS / SERVICES DEEP DIVE
   ======================================== */

/* Outer wrapper — tall to provide vertical scroll space */
.workflows-outer {
  position: relative;
  background-color: var(--dark);
}

.workflows {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0 40px;
}

.workflows-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 5%;
}

.workflows-header h2 {
  margin-bottom: 16px;
}

.workflows-header p {
  max-width: 600px;
  margin: 0 auto;
}

.workflows-counter {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gray);
  letter-spacing: 0.15em;
  margin-top: 16px;
}

.workflows-counter span {
  color: var(--gold);
  font-weight: 500;
}

/* Edge fades */
.workflows::after,
.workflows .workflows-edge-right {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.workflows::after {
  left: 0;
  background: linear-gradient(to right, var(--dark), transparent);
}

.workflows-edge-right {
  position: absolute;
  right: 0;
  background: linear-gradient(to left, var(--dark), transparent);
}

.workflows-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.workflow-card {
  flex: 0 0 85vw;
  max-width: none;
  background-color: var(--dark-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 36px 28px;
  transition:
    box-shadow 0.5s ease,
    border-color 0.5s ease,
    transform 0.5s ease,
    opacity 0.5s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  opacity: 0.35;
  transform: scale(0.92);
  filter: blur(3px);
}

/* Gold accent line — draws across top when active */
.workflow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

/* Large watermark number */
.workflow-card::after {
  content: attr(data-number);
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  transition: color 0.5s ease;
}

.workflow-card.active::after {
  color: rgba(243, 187, 67, 0.06);
}

/* Active card state */
.workflow-card.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  border-color: rgba(243, 187, 67, 0.15);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.3);
}

.workflow-card.active::before {
  width: 100%;
}

.workflow-card:hover {
  border-color: rgba(243, 187, 67, 0.15);
}

/* Progress bar */
.workflows-progress {
  width: 200px;
  height: 2px;
  background-color: var(--gray-dark);
  margin: 32px auto 0;
  border-radius: 1px;
  overflow: hidden;
}

.workflows-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: 1px;
  transition: width 0.05s linear;
}

@media (min-width: 768px) {
  .workflow-card {
    flex: 0 0 70vw;
  }
}

@media (min-width: 1024px) {
  .workflow-card {
    flex: 0 0 60vw;
    padding: 48px 40px;
  }
}

.workflow-card-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.workflow-number {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  opacity: 0.5;
}

.workflow-card h3 {
  font-size: 1.5rem;
  color: var(--white);
}

.workflow-subtitle {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  padding-bottom: 24px;
  position: relative;
}

.workflow-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--gold-gradient);
}

.workflow-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.workflow-detail h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.workflow-detail p {
  font-size: 0.875rem;
  line-height: 1.65;
}

.workflow-card .btn-text {
  font-size: 0.75rem;
}


/* ========================================
   AI + HUMAN CONNECTION
   ======================================== */
.ai-human {
  padding: var(--section-pad-mobile) 0;
  background-color: var(--black);
  position: relative;
}

.ai-human::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.ai-human-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding-top: 40px;
}

.ai-human-inner h2 {
  margin-bottom: 24px;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.ai-human-inner p {
  margin-bottom: 16px;
}

.ai-human-inner em {
  color: var(--white);
}


/* ========================================
   VALUES
   ======================================== */
.values {
  padding: var(--section-pad-mobile) 0;
  background-color: var(--dark);
}

.values-header {
  text-align: center;
  margin-bottom: 48px;
}

.values-header h2 {
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.value-item {
  padding: 28px 24px;
  border-left: 2px solid var(--gold);
}

.value-item h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.9375rem;
}


/* ========================================
   CONTRAST — US VS THEM
   ======================================== */
.contrast {
  padding: var(--section-pad-mobile) 0;
  background-color: var(--black);
}

.contrast-header {
  text-align: center;
  margin-bottom: 48px;
}

.contrast-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contrast-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.contrast-them,
.contrast-us {
  padding: 20px 24px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contrast-them {
  background-color: var(--dark);
  color: var(--gray);
}

.contrast-them em {
  color: var(--gray-light);
}

.contrast-us {
  background-color: var(--dark-mid);
  color: var(--white);
  border-left: 3px solid var(--gold);
}

.contrast-us em {
  color: var(--gold);
}


/* ========================================
   BOTTOM CTAs
   ======================================== */
.discover-cta {
  padding: var(--section-pad-mobile) 0;
  background-color: var(--dark);
}

.discover-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.discover-cta-card {
  padding: 48px 32px;
  border: 1px solid var(--gray-dark);
  text-align: center;
  position: relative;
}

.discover-cta-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background-color: var(--gold);
}

.discover-cta-card h3 {
  margin-bottom: 16px;
  color: var(--white);
}

.discover-cta-card p {
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}


/* ========================================
   DESKTOP BREAKPOINTS
   ======================================== */
@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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



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

  /* Last value spans full if odd */
  .values-grid .value-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .contrast-item {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .discover-cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .workflow-details {
    grid-template-columns: 1fr 1fr;
  }

  /* Single detail spans full */
  .workflow-details .workflow-detail:only-child,
  .workflow-details .workflow-detail:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .cadence-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .workflow-details {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .values-grid .value-item:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .onboarding-timeline {
    padding-left: 40px;
  }
}
