/* ── index.css — Homepage ── */

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  padding-top: 80px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: 16px;
  display: block;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-headline em {
  color: var(--color-green);
  font-style: italic;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-chevron {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
  z-index: 2;
}
.hero-chevron svg { width: 32px; height: 32px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Hero slide-up delays */
.hero-content .slide-up:nth-child(1) { transition-delay: 0.1s; }
.hero-content .slide-up:nth-child(2) { transition-delay: 0.25s; }
.hero-content .slide-up:nth-child(3) { transition-delay: 0.4s; }
.hero-content .slide-up:nth-child(4) { transition-delay: 0.55s; }

/* Force hero animations on load */
.hero .slide-up { opacity: 0; transform: translateY(24px); }
.hero-loaded .slide-up { opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }

/* Journey Cards */
.journey-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  text-decoration: none;
  color: var(--color-ink);
  transition: transform var(--transition), box-shadow var(--transition);
}
.journey-card h3 { margin-bottom: 4px; }
.journey-card p { color: var(--color-muted); font-size: 0.95rem; flex: 1; }
.journey-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.journey-icon svg { width: 28px; height: 28px; }
.journey-icon--teal { background: var(--color-teal-pale); color: var(--color-teal); }
.journey-icon--green { background: var(--color-green-pale); color: var(--color-green); }
.journey-icon--navy { background: rgba(27,47,110,0.08); color: var(--color-navy); }
.journey-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-teal);
  margin-top: 8px;
}
.journey-link svg { width: 16px; height: 16px; }

/* Finder CTA */
.finder-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.finder-cta-text h2 { color: var(--color-navy); margin-bottom: 12px; }
.finder-cta-text p { color: var(--color-muted); max-width: 500px; }
.finder-cta-text .section-label { margin-bottom: 8px; }
@media (max-width: 768px) { .finder-cta { flex-direction: column; text-align: center; } }

/* Article Skeletons */
.article-card-skeleton {
  height: 300px;
  background: linear-gradient(90deg, var(--color-linen) 25%, #e8eff5 50%, var(--color-linen) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Featured Article Card */
.article-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: var(--color-ink);
  text-decoration: none;
}
.article-card-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.article-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  flex: 1;
  margin-bottom: 16px;
}
.article-card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-muted);
  display: flex;
  gap: 12px;
}
.section-footer-cta {
  text-align: center;
  margin-top: 48px;
}
.text-center { text-align: center; }
.text-center .section-header p { margin: 0 auto; }

/* Numbers Section */
.numbers-grid { gap: 32px; }
.number-stat {
  text-align: center;
  padding: 32px 16px;
}
.number-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  display: inline;
}
.number-prefix, .number-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-green);
}
.number-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Advisors Section */
.advisors-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.advisors-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px;
}
.advisors-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-ink);
}
.advisors-list svg { color: var(--color-teal); width: 18px; height: 18px; flex-shrink: 0; }
.advisors-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.advisor-stat-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-md);
}
.advisor-stat-icon {
  width: 44px; height: 44px;
  background: var(--color-teal-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-teal);
}
.advisor-stat-card strong { font-size: 1.1rem; font-weight: 700; color: var(--color-navy); display: block; margin-bottom: 4px; }
.advisor-stat-card p { font-size: 0.85rem; color: var(--color-muted); margin: 0; line-height: 1.5; }
@media (max-width: 1024px) { .advisors-split { grid-template-columns: 1fr; gap: 40px; } }

/* Legacy Program Popup */
.legacy-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 30, 74, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.legacy-popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.legacy-popup {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 52px 44px 44px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(28px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 24px 80px rgba(17, 30, 74, 0.35);
}
.legacy-popup-overlay.active .legacy-popup {
  transform: translateY(0) scale(1);
}
.legacy-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-linen);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  transition: background var(--transition), color var(--transition);
}
.legacy-popup-close:hover {
  background: var(--color-teal-pale);
  color: var(--color-teal);
}
.legacy-popup-close svg { width: 18px; height: 18px; }
.legacy-popup-icon {
  width: 72px;
  height: 72px;
  background: var(--color-green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-green);
}
.legacy-popup-icon svg { width: 36px; height: 36px; }
.legacy-popup-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 12px;
}
.legacy-popup-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--color-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.legacy-popup-title em {
  color: var(--color-green);
  font-style: italic;
}
.legacy-popup-body {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 380px;
}
.legacy-popup-cta {
  width: 100%;
  justify-content: center;
}
.legacy-popup-dismiss {
  margin-top: 16px;
  margin-bottom: 0;
}
.legacy-popup-dismiss button {
  background: none;
  border: none;
  font-size: 0.85rem;
  color: var(--color-muted);
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font-body);
  transition: color var(--transition);
}
.legacy-popup-dismiss button:hover { color: var(--color-navy); }
@media (max-width: 600px) {
  .legacy-popup { padding: 44px 24px 36px; }
  .legacy-popup-title { font-size: 1.7rem; }
}

/* CTA Banner */
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 768px) { .cta-banner-inner { flex-direction: column; text-align: center; } }
