/* BUILD pages.css : homepage section layout */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: start;
}

.hero-copy {
  padding-top: 8px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: 0.005em;
  max-width: 600px;
  margin-bottom: 22px;
}

.hero-copy .hero-body {
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

/* ---------- Section rhythm ---------- */
.section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.section-two-paths .rule-heading {
  margin-bottom: 30px;
}

.section-rail .rule-heading {
  margin-bottom: 0;
}

.section-rail .rule-heading h2 {
  font-size: 17px;
}

.section-rail .rule-heading {
  margin-bottom: 6px;
}

.section-moments {
  padding-top: 8px;
  padding-bottom: 8px;
}

.section-proof {
  padding-top: 30px;
  padding-bottom: 30px;
}

.section-band {
  padding-top: 10px;
  padding-bottom: 44px;
}


/* ---------- Route page hero ---------- */
.page-hero {
  position: relative;
  padding-top: 48px;
  padding-bottom: 44px;
}

.page-hero .hero-copy h1 {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.0;
  max-width: 620px;
  margin-bottom: 20px;
}

.page-hero .hero-body {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 24px;
}

.page-hero .hero-ctas {
  margin-bottom: 22px;
}

.section-head {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
}

.section-pad {
  padding-top: 30px;
  padding-bottom: 30px;
}

.stage-diagram {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding-top: 30px;
}

.stage-diagram .sd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.stage-diagram .sd-disc {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-diagram .sd-item.sd-active .sd-disc {
  background: var(--rust);
  border-color: var(--rust);
}

.stage-diagram .sd-item.sd-active .sd-disc img {
  filter: invert(1);
}

.stage-diagram .sd-disc img {
  width: 34px;
  height: 34px;
}

.stage-diagram .sd-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.stage-diagram .sd-name {
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------- How BUILD works columns ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.works-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-card);
  padding: 18px;
  text-align: left;
  appearance: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--fast) var(--ease);
}

.works-card:hover {
  border-color: var(--line-strong);
}

.works-card .works-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.works-card .works-disc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.works-card.works-active .works-disc {
  background: var(--rust);
}

.works-card.works-active .works-disc img {
  filter: invert(1);
}

.works-card .works-disc img {
  width: 26px;
  height: 26px;
}

.works-card .works-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  display: block;
}

.works-card h3 {
  font-size: 15px;
  font-weight: 700;
}

.works-card ul {
  list-style: none;
}

.works-card li {
  position: relative;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  padding-left: 14px;
  margin-bottom: 5px;
}

.works-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  border-top: 2px solid var(--rust);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hero-copy h1 {
    font-size: 52px;
  }

  .page-hero .hero-copy h1 {
    font-size: 46px;
  }

  .phone {
    width: 280px;
  }

  .hero-annot {
    display: none;
  }
}

@media (max-width: 899px) {
  .main-nav {
    gap: 22px;
  }

  .main-nav a {
    font-size: 13px;
    white-space: nowrap;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }

  .step-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .audience-cards,
  .module-cards,
  .change-cards {
    grid-template-columns: 1fr 1fr;
  }

  .why-cards,
  .manager-row {
    grid-template-columns: 1fr;
  }

  .activate-cards {
    grid-template-columns: 1fr;
  }

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

  .stage-diagram {
    flex-wrap: wrap;
  }

  .stage-diagram .sd-item {
    flex: 0 0 30%;
  }

  .featured-pull {
    font-size: 28px;
  }

  .stage-rail {
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
  }

  .stage-arrow {
    display: none;
  }

  .moments-row,
  .moments-row.moments-four {
    grid-template-columns: 1fr 1fr;
  }

  .moments-lead {
    grid-column: 1 / -1;
    padding: 24px 0 4px;
  }

  .moment-item {
    border-left: none;
    padding-left: 0;
  }

  .path-cards {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-quote + .proof-quote {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 719px) {
  .main-nav {
    display: none;
  }

  .site-header {
    height: 64px;
  }

  .header-inner {
    height: 64px;
  }

  .header-inner > .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .page-hero .hero-copy h1 {
    font-size: 38px;
  }

  .audience-cards,
  .module-cards,
  .change-cards,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .featured-quote {
    padding: 24px 22px;
  }

  .featured-pull {
    font-size: 25px;
  }

  .team-panel-screen {
    flex-wrap: wrap;
  }

  .team-panel-stage {
    flex: 0 0 30%;
  }

  .rule-heading h2 {
    white-space: normal;
    font-size: 21px;
    text-align: center;
  }

  .cta-band-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .stage-rail {
    grid-template-columns: 1fr;
  }

  .moments-row,
  .moments-row.moments-four {
    grid-template-columns: 1fr;
  }

  .cta-band-actions {
    flex-direction: column;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 14px;
  }

  .footer-copy {
    text-align: center;
  }
}
