/* ===================================================
   Lean Counsel — Ecosystem Homepage Styles
   Unique styles for index.html (homepage)
   Base tokens, nav, footer, buttons, hero shared via
   base.css and components.css
   =================================================== */

/* --- Home Hero — no stats bar, dot decoration --- */
.home-hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  position: relative;
}

.home-hero__dots {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.home-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.home-hero__dot--studio    { background: var(--gold); }
.home-hero__dot--propel    { background: var(--propel); }
.home-hero__dot--colleague { background: var(--colleague); }
.home-hero__dot--connect   { background: var(--connect); }

.home-hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 24px;
}

.home-hero__headline-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease forwards;
}

.home-hero__headline-line:nth-child(1) { animation-delay: 0ms; }
.home-hero__headline-line:nth-child(2) { animation-delay: 120ms; }
.home-hero__headline-line:nth-child(3) { animation-delay: 240ms; }

.home-hero__headline-line--italic {
  font-style: italic;
}

.home-hero__sub {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 600px;
  margin-bottom: 36px;
}

.home-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- Four Arms Section --- */
.arms {
  background: var(--paper);
  padding: 80px 0;
}

.arms__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 48px;
  max-width: 560px;
}

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

/* Arm Card */
.arm-card {
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  padding: 32px;
  transition: all 0.2s ease;
  background: var(--white);
}

.arm-card:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  border-top-color: var(--gold);
}

/* Color variants */
.arm-card--propel {
  border-top-color: var(--propel);
}

.arm-card--propel:hover {
  background: #F5EEEA;
  border-color: var(--propel);
  border-top-color: var(--propel);
}

.arm-card--colleague {
  border-top-color: var(--colleague);
}

.arm-card--colleague:hover {
  background: #F3EEEE;
  border-color: var(--colleague);
  border-top-color: var(--colleague);
}

.arm-card--connect {
  border-top-color: var(--connect);
}

.arm-card--connect:hover {
  background: #ECF0F2;
  border-color: var(--connect);
  border-top-color: var(--connect);
}

.arm-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 8px;
}

.arm-card__tagline {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.arm-card__capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 24px;
}

.arm-card__capability {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.02em;
}

.arm-card__link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.arm-card__link:hover {
  opacity: 0.8;
}

.arm-card--propel .arm-card__link    { color: var(--propel); }
.arm-card--colleague .arm-card__link { color: var(--colleague); }
.arm-card--connect .arm-card__link   { color: var(--connect); }

/* --- Flywheel Editorial Section --- */
.flywheel {
  background: var(--dark);
  padding: 80px 0;
}

.flywheel__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.flywheel__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  color: var(--paper);
  margin-bottom: 24px;
}

.flywheel__body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--dim);
}

/* ===================================================
   RESPONSIVE — Tablet (768px)
   =================================================== */
@media (min-width: 768px) {
  .home-hero__headline {
    font-size: 56px;
  }

  .home-hero__sub {
    font-size: 18px;
  }

  .arms {
    padding: 100px 0;
  }

  .arms__headline {
    font-size: 36px;
  }

  .arms__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flywheel {
    padding: 100px 0;
  }

  .flywheel__headline {
    font-size: 36px;
  }
}

/* ===================================================
   RESPONSIVE — Desktop (1200px)
   =================================================== */
@media (min-width: 1200px) {
  .home-hero {
    padding: 160px 0 100px;
  }

  .home-hero__headline {
    font-size: 72px;
  }

  .arms {
    padding: 120px 0;
  }

  .arms__headline {
    font-size: 44px;
  }

  .arm-card {
    padding: 40px;
  }

  .arm-card__name {
    font-size: 28px;
  }

  .flywheel {
    padding: 120px 0;
  }

  .flywheel__headline {
    font-size: 44px;
  }

  .flywheel__body {
    font-size: 18px;
  }
}
