/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* HERO */
.hero {
  padding: 140px 0 180px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) { .hero { padding: 80px 0 100px; } }

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.55;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(184, 153, 104, 0.18) 0%, rgba(107, 29, 45, 0.08) 35%, transparent 70%);
  filter: blur(60px);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(107, 29, 45, 0.06) 0%, transparent 60%);
  filter: blur(80px);
}

.hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-light);
  font-style: italic;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeIn 800ms var(--ease-expo) 100ms forwards;
  letter-spacing: -0.005em;
}

.hero-headline {
  margin-bottom: 40px;
  max-width: 19ch;
  font-variation-settings: "opsz" 144;
}

.hero-headline .line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1000ms var(--ease-expo) forwards, weightBreathe 2500ms var(--ease-smooth) forwards;
  font-weight: 400;
}

.hero-headline .line-1 { animation-delay: 250ms; }
.hero-headline .line-2 { animation-delay: 380ms; }

.hero-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink-light);
  margin-bottom: 36px;
  max-width: 38ch;
  opacity: 0;
  animation: fadeIn 700ms var(--ease-expo) 700ms forwards;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.hero-positioning {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  margin-bottom: 52px;
  max-width: 52ch;
  opacity: 0;
  animation: fadeIn 700ms var(--ease-expo) 850ms forwards;
  line-height: 1.6;
}

.hero-cta-wrapper {
  opacity: 0;
  animation: fadeIn 500ms var(--ease-expo) 1000ms forwards;
}

.hero-credentials {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 28px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeIn 500ms var(--ease-expo) 1200ms forwards;
  font-variant-numeric: tabular-nums;
}

.hero-decoration {
  position: absolute;
  top: 50%;
  right: 64px;
  transform: translateY(-50%);
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--hairline) 30%, var(--hairline) 70%, transparent);
  opacity: 0;
  animation: fadeIn 1500ms ease 1500ms forwards;
}

@media (max-width: 1024px) { .hero-decoration { display: none; } }

/* SECTION HEADERS */
.section-header {
  margin-bottom: 96px;
  max-width: 760px;
}

.section-header h2 { margin-bottom: 28px; }

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 96px;
  position: relative;
}

@media (max-width: 900px) { .stats { grid-template-columns: 1fr; gap: 56px; } }

.stat {
  border-top: 2px solid var(--ink);
  padding-top: 28px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease-expo), transform 800ms var(--ease-expo);
}

.stat.visible { opacity: 1; transform: translateY(0); }
.stat:nth-child(1) { transition-delay: 0ms; }
.stat:nth-child(2) { transition-delay: 150ms; }
.stat:nth-child(3) { transition-delay: 300ms; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 400;
  color: var(--wine);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 144;
}

.stat-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.stat-source {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* PHASES */
.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-top: 96px;
}

@media (max-width: 900px) { .phases { grid-template-columns: 1fr; gap: 56px; } }

.phase {
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease-expo), transform 800ms var(--ease-expo);
}

.phase.visible { opacity: 1; transform: translateY(0); }
.phase:nth-child(1) { transition-delay: 0ms; }
.phase:nth-child(2) { transition-delay: 150ms; }
.phase:nth-child(3) { transition-delay: 300ms; }

.phase-number {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--wine);
  margin-bottom: 24px;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wine);
}

.phase-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  font-style: italic;
}

.phase-desc {
  color: var(--ink-light);
  font-size: 1rem;
  line-height: 1.65;
}

.section-cta { margin-top: 72px; }

/* PLAYBOOKS HOME */
.playbooks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 96px;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 900px) { .playbooks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .playbooks { grid-template-columns: 1fr; } }

.playbook {
  padding: 40px 32px 40px 0;
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  transition: all 400ms var(--ease-expo);
  cursor: pointer;
  position: relative;
}

.playbook:nth-child(3n) { border-right: none; padding-right: 0; }

@media (max-width: 900px) {
  .playbook { border-right: 1px solid var(--hairline); padding-right: 32px; }
  .playbook:nth-child(3n) { border-right: 1px solid var(--hairline); padding-right: 32px; }
  .playbook:nth-child(2n) { border-right: none; padding-right: 0; }
}

@media (max-width: 640px) {
  .playbook { border-right: none !important; padding-right: 0; }
}

.playbook::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wine);
  transition: width 400ms var(--ease-expo);
}

.playbook:hover::before { width: 100%; }
.playbook:hover { padding-left: 16px; padding-right: 16px; }
.playbook:hover .playbook-name { color: var(--wine); }
.playbook:hover .playbook-arrow { opacity: 1; transform: translateX(0); }

.playbook-name {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  transition: color 300ms ease;
  font-variation-settings: "opsz" 144;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.playbook-arrow {
  font-size: 1.25rem;
  color: var(--wine);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 300ms var(--ease-expo);
}

.playbook-sector {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* RESEARCH SECTION (dark) */
.research-section {
  background: var(--ink);
  color: var(--parchment);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}

.research-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(184, 153, 104, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.research-section .eyebrow { color: var(--gold); }
.research-section .eyebrow::before { background: var(--gold); }
.research-section h2 { color: var(--parchment); }
.research-section p { color: rgba(247, 244, 237, 0.75); }

.research-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 96px;
  align-items: start;
  position: relative;
}

@media (max-width: 900px) { .research-block { grid-template-columns: 1fr; gap: 56px; } }

.research-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--parchment);
  padding-left: 36px;
  border-left: 2px solid var(--gold);
  letter-spacing: -0.015em;
  font-weight: 400;
}

.research-cta { margin-top: 40px; }
.research-cta .btn-link { color: var(--gold); }
.research-cta .btn-link::after { background: var(--gold); }
.research-cta .btn-link:hover { color: var(--parchment); }

/* FINAL CTA */
.final-cta {
  text-align: center;
  padding: 180px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(107, 29, 45, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta .container { position: relative; z-index: 2; }
@media (max-width: 768px) { .final-cta { padding: 100px 0; } }

.final-cta h2 {
  margin-bottom: 32px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-body {
  font-size: 1.375rem;
  color: var(--ink-light);
  margin-bottom: 56px;
  font-family: var(--font-display);
  font-style: italic;
}

.final-cta .btn-group { justify-content: center; }
