/* Homepage decision flow. Shared navigation and workspace styles stay separate. */
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="on"]:has(.homepage) {
    scroll-behavior: smooth;
  }
}
.homepage .site-hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-top: 64px;
  padding-bottom: 80px;
}
.homepage .hero-copy h1 {
  font-size: clamp(44px, 4.5vw, 66px);
  line-height: 1.06;
  letter-spacing: -2.5px;
}
.homepage .hero-copy h1 em {
  font-style: normal;
}
.homepage .hero-actions {
  flex-wrap: wrap;
  margin: 30px 0 18px;
}
.homepage .hero-next-step {
  max-width: 440px;
  color: #566376;
  font-size: 14px;
  line-height: 1.6;
}
.homepage .workflow-example {
  min-width: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #cbd2dc;
  box-shadow: 0 20px 50px rgba(11, 23, 42, 0.09);
}
.homepage .example-disclosure {
  margin: 0;
  padding: 14px 24px;
  background: var(--site-deep);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}
.homepage .workflow-heading {
  padding: 26px 24px 0;
}
.homepage .workflow-heading h2 {
  margin: 12px 0 20px;
  font:
    500 clamp(26px, 2.5vw, 34px)/1.15 Georgia,
    serif;
  letter-spacing: -0.6px;
}
.homepage .workflow-before {
  margin: 0 24px;
  padding: 14px 0;
  border-top: 1px solid var(--site-line);
  color: #566376;
  font-size: 14px;
  line-height: 1.6;
}
.homepage .workflow-before strong {
  display: block;
  color: var(--site-ink);
}
.homepage .workflow-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 8px 24px 24px;
  list-style: none;
  counter-reset: workflow;
}
.homepage .workflow-path li {
  padding-top: 10px;
  border-top: 2px solid #cbd2dc;
  font-size: 14px;
  line-height: 1.4;
  counter-increment: workflow;
}
.homepage .workflow-path li::before {
  content: counter(workflow, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  color: #566376;
  font-size: 12px;
}
.homepage .workflow-orders {
  list-style: none;
  margin: 0 24px;
  padding: 0;
  border-top: 1px solid var(--site-line);
}
.homepage .workflow-orders li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--site-line);
  font-size: 14px;
  line-height: 1.5;
}
.homepage .workflow-orders .needs-review {
  border-left: 3px solid #b27a00;
  background: #faf3dd;
  padding-left: 9px;
}
.homepage .workflow-status {
  display: block;
  margin-top: 4px;
  color: #4c5b70;
}
.homepage .workflow-owner {
  color: #4c5b70;
}
.homepage .workflow-example figcaption {
  padding: 20px 24px;
  color: #566376;
  font-size: 14px;
  line-height: 1.5;
}
.homepage .site-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.homepage .section-heading {
  gap: 40px;
  margin-bottom: 40px;
}
.homepage .section-heading h2,
.homepage .founder-copy h2 {
  font:
    500 clamp(36px, 3.5vw, 50px)/1.1 Georgia,
    serif;
  letter-spacing: -1.5px;
}
.homepage .section-heading p {
  color: #566376;
  font-size: 16px;
  line-height: 1.6;
  margin: 18px 0 0;
}
.homepage .service-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}
.homepage .service-routes article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  border-right: 1px solid var(--site-line);
}
.homepage .service-routes article:last-child {
  border-right: 0;
}
.homepage .service-label {
  color: #566376;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.homepage .service-routes h3 {
  font:
    28px/1.15 Georgia,
    serif;
  margin: 24px 0 16px;
}
.homepage .service-routes p,
.homepage .people-section p {
  color: #566376;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 24px;
}
.homepage .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--site-green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.homepage .service-routes .text-link {
  margin-top: auto;
}
.homepage a:focus-visible,
.homepage button:focus-visible {
  outline: 3px solid #a16b00;
  outline-offset: 4px;
}
.homepage .people-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
  padding-top: 24px;
}
.homepage .founder-copy h2 {
  margin: 24px 0;
}
.homepage .build-notes {
  padding: 30px;
  background: #ece9e1;
  border-top: 3px solid var(--site-gold);
}
.homepage .build-notes h3 {
  margin: 0 0 16px;
  font:
    28px/1.2 Georgia,
    serif;
}
.homepage .build-notes article {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--site-line);
}
.homepage .build-notes article:last-child {
  padding-bottom: 0;
}
.homepage .review-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  max-width: 1340px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.homepage .review-steps li {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.homepage .review-steps li > span {
  color: var(--site-gold);
  font:
    16px Georgia,
    serif;
}
.homepage .review-steps h3 {
  margin: 24px 0 16px;
  font:
    28px/1.2 Georgia,
    serif;
}
.homepage .review-steps p {
  margin: 0;
  color: #b2c1d1;
  font-size: 16px;
  line-height: 1.7;
}
.homepage .quote-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.homepage .quote-note span {
  font-size: 15px;
  line-height: 1.65;
}
.homepage .quote-note span + span {
  margin-top: 12px;
}
.homepage .site-footer {
  grid-template-columns: 1fr 1fr;
}
.homepage .site-footer > p {
  text-align: right;
}
.homepage .site-footer > div:nth-of-type(2) {
  grid-column: 1/-1;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.homepage .site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
@media (max-width: 1100px) {
  .homepage .site-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .homepage .hero-copy {
    max-width: 740px;
  }
  .homepage .workflow-example {
    width: 100%;
    max-width: 740px;
  }
}
@media (max-width: 800px) {
  .homepage .service-routes,
  .homepage .people-section,
  .homepage .review-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .homepage .service-routes article {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--site-line);
  }
  .homepage .service-routes article:last-child {
    border-bottom: 0;
  }
  .homepage .review-steps {
    gap: 28px;
  }
}
@media (max-width: 600px) {
  .homepage .site-hero {
    padding-top: 40px;
    padding-bottom: 56px;
  }
  .homepage .hero-copy h1 {
    font-size: clamp(38px, 10vw, 48px);
    letter-spacing: -1.5px;
  }
  .homepage .site-kicker {
    letter-spacing: 0.1em;
    line-height: 1.6;
  }
  .homepage .hero-actions {
    gap: 12px;
  }
  .homepage .example-disclosure,
  .homepage .workflow-heading,
  .homepage .workflow-example figcaption {
    padding-left: 18px;
    padding-right: 18px;
  }
  .homepage .workflow-before,
  .homepage .workflow-path,
  .homepage .workflow-orders {
    margin-left: 18px;
    margin-right: 18px;
  }
  .homepage .workflow-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .homepage .workflow-orders li {
    grid-template-columns: minmax(0, 1fr);
  }
  .homepage .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 30px;
  }
  .homepage .site-section,
  .homepage .quote-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .homepage .people-section {
    padding-top: 0;
  }
  .homepage .build-notes {
    padding: 24px;
  }
  .homepage .quote-form .site-cta {
    padding: 12px;
  }
  .homepage .site-footer {
    grid-template-columns: minmax(0, 1fr);
  }
  .homepage .site-footer > p {
    text-align: left;
  }
}
