.home-page section[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.home-page h1,
.home-page h2 {
  text-wrap: balance;
}

.home-page .nowrap {
  white-space: nowrap;
}

.home-page .section-head p + p {
  margin-top: 10px;
}

/* Hero */

.home-page .hero-copy {
  max-width: 820px;
}

.home-page .hero h1 {
  max-width: 15em;
  margin-inline: auto;
}

.home-page .hero p {
  max-width: 34em;
  font-size: 18px;
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.64);
  color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 56px auto 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--khaki-400);
  white-space: nowrap;
}

.hero-stats span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

/* Intro */

.home-page .value .intro-statement {
  margin: 0 0 24px;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Potential */

.potential-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 64px;
  align-items: start;
}

.potential-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.potential-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
}

.potential-copy p:last-child {
  margin-bottom: 0;
}

.potential-copy .lead {
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
}

.signals {
  padding: 32px 32px 18px;
  border-radius: var(--radius);
  background: var(--khaki-50);
  border: 1px solid rgba(61, 74, 40, 0.06);
}

.signals-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
}

.signal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

.signal-list li:first-child {
  border-top: 0;
}

.signal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--green-700);
}

.potential-close {
  max-width: 40em;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Growth sources */

.sources {
  background: var(--khaki-50);
}

.source-list {
  display: grid;
  gap: 20px;
}

.source-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px 56px;
  padding: 40px 44px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(61, 74, 40, 0.06);
  box-shadow: 0 10px 30px rgba(28, 36, 20, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.source-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(28, 36, 20, 0.08);
}

.source-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
}

.source-num {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--khaki-500);
}

.source-aside h3 {
  margin: 0;
  max-width: 14em;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.source-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.source-body .source-lead {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.source-body .source-example {
  padding-left: 18px;
  border-left: 2px solid var(--khaki-500);
  color: var(--ink);
}

.source-body .source-result {
  margin: 22px 0 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--khaki-50);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.source-result strong {
  color: var(--green-800);
}

/* Approach */

.approach .section-head {
  margin-bottom: 128px;
}

.approach .section-head .approach-lead {
  color: var(--ink);
  font-weight: 600;
}

.process {
  --process-gap: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--process-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 0 0;
}

.process-step::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green-800);
  box-shadow: 0 0 0 5px var(--white);
}

.process-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + var(--process-gap));
  height: 1px;
  background: var(--line);
}

.process-step:nth-child(4n)::after {
  width: 100%;
}

.process-num {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green-700);
}

.process-step h3 {
  margin: 0 0 10px;
  min-height: calc(1.3em * 2);
  min-height: 2lh;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.approach .method-cta {
  max-width: 40em;
  margin-top: 128px;
  padding-top: 48px;
}

/* Industries */

.industries {
  background: var(--section);
}

.industries .eyebrow {
  color: var(--green-700);
}

.industries-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "head acc"
    "foot acc";
  grid-template-rows: auto 1fr;
  gap: 0 72px;
  align-items: start;
}

.industries-head {
  grid-area: head;
}

.industries-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.industries-acc {
  grid-area: acc;
  max-width: none;
  margin: 0;
  border-top-color: rgba(27, 33, 22, 0.14);
}

.industries-acc .acc-item {
  border-bottom-color: rgba(27, 33, 22, 0.14);
}

.industries-foot {
  grid-area: foot;
  padding-top: 24px;
}

.industries-foot p {
  margin: 0 0 24px;
  max-width: 30em;
  color: var(--muted);
  font-size: 17px;
}

/* Team */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.team-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  background: var(--section);
}

.team-cta p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.team-cta .btn {
  align-self: flex-start;
}

/* Proof */

.proof {
  background-color: var(--green-950);
  background-image: radial-gradient(120% 90% at 88% 0%, rgba(207, 203, 166, 0.09), transparent 62%);
  color: var(--white);
}

.proof .eyebrow {
  color: var(--khaki-400);
}

.proof :focus-visible {
  outline-color: var(--khaki-400);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px 64px;
  align-items: start;
}

.proof-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
}

.proof-copy p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.65;
}

.proof-copy p:last-child {
  margin-bottom: 0;
}

.proof-copy .proof-lead {
  color: var(--white);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
}

.proof-panel {
  padding: 32px 32px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--khaki-400);
}

.proof-questions {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: proof;
}

.proof-questions li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
}

.proof-questions li:first-child {
  border-top: 0;
}

.proof-questions li::before {
  counter-increment: proof;
  content: counter(proof, decimal-leading-zero);
  padding-top: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--khaki-400);
}

.proof-goal {
  max-width: 42em;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}

.proof-goal strong {
  color: var(--khaki-400);
}

/* Experience */

.experience .stats-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stats-4 .stat strong {
  margin: 18px 0 10px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  white-space: normal;
}

.stats-4 .stat small {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
}

.stats-4 .stat span {
  font-size: 14px;
  line-height: 1.5;
}

.case-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px 56px;
  margin-top: 64px;
  padding: 44px;
  border-radius: var(--radius);
  background: var(--khaki-50);
  border: 1px solid rgba(61, 74, 40, 0.06);
}

.case-head h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.case-head p:not(.eyebrow) {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

.case-body p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.case-body p:first-child {
  padding-top: 0;
  border-top: 0;
}

.case-body p:last-child {
  padding-bottom: 0;
}

.case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: 28px;
}

.case-note {
  max-width: 46em;
  padding-left: 18px;
  border-left: 2px solid var(--khaki-500);
}

.case-note p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.case-note p:last-child {
  margin-bottom: 0;
}

.case-foot .btn {
  flex: 0 0 auto;
}

/* Start */

.start {
  background: var(--section);
}

.start-list li {
  padding: 18px 0;
}

.start-list h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.start-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Founder */

.founder .about-copy h2 {
  margin: 0 0 20px;
}

.founder .about-copy p:not(.eyebrow) {
  margin: 0 0 14px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 16px;
}

.founder .about-copy p.lead {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 17px;
}

.founder .about-copy p:last-child {
  margin-bottom: 0;
}

/* Final CTA */

.home-page .cta-box p:not(.eyebrow) {
  margin: 0 auto 12px;
}

.home-page .cta-box .btn {
  margin-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .source-card:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .potential-grid,
  .proof-grid,
  .case-panel {
    grid-template-columns: 1fr;
  }

  .source-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 28px;
  }

  .source-num {
    margin-bottom: 14px;
  }

  .source-aside {
    position: static;
  }

  .source-aside h3 {
    max-width: none;
  }

  .approach .section-head {
    margin-bottom: 88px;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }

  .process-step h3 {
    min-height: 0;
  }

  .process-step:nth-child(odd)::after {
    width: calc(100% + var(--process-gap));
  }

  .process-step:nth-child(2n)::after {
    width: 100%;
  }

  .approach .method-cta {
    margin-top: 88px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "acc"
      "foot";
    grid-template-rows: auto;
  }

  .industries-head {
    margin-bottom: 28px;
  }

  .industries-foot {
    padding-top: 28px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience .stats-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .case-panel {
    padding: 32px 28px;
  }

  .case-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .home-page .section,
  .home-page .final-cta {
    padding: 64px 0;
  }

  .home-page .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .home-page .hero p {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    margin-top: 40px;
  }

  .signals {
    padding: 24px 20px 10px;
  }

  .potential-close {
    margin-top: 40px;
    padding-top: 28px;
  }

  .source-card {
    padding: 26px 20px;
  }

  .source-body .source-result {
    padding: 14px 16px;
  }

  .approach .section-head {
    margin-bottom: 64px;
  }

  .process {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .process-step::after,
  .process-step:nth-child(odd)::after,
  .process-step:nth-child(2n)::after,
  .process-step:nth-child(4n)::after {
    width: 100%;
  }

  .approach .method-cta {
    margin-top: 64px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .proof-panel {
    padding: 24px 20px 10px;
  }

  .proof-goal {
    margin-top: 40px;
    padding-top: 28px;
  }

  .experience .stats-4 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stats-4 .stat {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding: 18px 0;
  }

  .stats-4 .stat strong {
    margin: 0;
    font-size: 26px;
    white-space: nowrap;
  }

  .stats-4 .stat small {
    display: block;
    margin-top: 4px;
    font-size: 13px;
  }

  .case-panel {
    margin-top: 40px;
    padding: 26px 20px;
  }
}
