/* One visual rhythm for the homepage. Content and interactions stay intact. */
body.page-home {
  --home-space: 88px;
  --home-content-width: 1200px;
  --home-gutter: 112px;
}
body.page-home .wrap { width: calc(100% - var(--home-gutter)); max-width: var(--home-content-width); }
body.page-home :is(.home-section-heading, .home-reasons-heading, .home-comparison-heading, .home-testimonials-heading, .home-price-copy, .home-workflow, .home-local-copy, .questions-heading) h2 {
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.13;
  letter-spacing: -.025em;
}
body.page-home main .eyebrow { color: #796653; font-size: 11px; letter-spacing: 1.1px; margin-bottom: 16px; }
body.page-home .home-image-copy .eyebrow { color: #fff; font-size: 16px; line-height: 1.4; letter-spacing: 1.4px; margin-bottom: 10px; }
body.page-home .home-hero-reviews { display: inline-flex; margin-bottom: 22px; padding: 0; border: 0; background: transparent; box-shadow: none; }
body.page-home .home-hero-review-stars { display: flex; gap: 3px; }
body.page-home .home-hero-review-stars > span { display: grid; place-items: center; width: 25px; height: 25px; background: #00b67a; color: #fff; font: 21px/1 Arial, sans-serif; }
body.page-home .home-hero-reviews:hover { opacity: .85; }
body.page-home .home-hero-reviews:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 5px; }
body.page-home .home-section-heading { margin-bottom: 30px; gap: 24px 48px; }
body.page-home .home-section-heading > p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* Static service cards introduce the work before the comparisons. */
body.page-home .home-service-section { position: relative; background: #eee7dd; border-bottom: 0; padding-block: 64px; }
body.page-home .home-service-section::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: calc(100% - var(--home-gutter)); max-width: var(--home-content-width); height: 1px; background: var(--line); }
body.page-home .home-service-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body.page-home .home-service-section .home-section-heading { display: block; }
body.page-home .home-service-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; padding: 22px; border: 1px solid #dfd5c8; border-radius: 12px; background: #fffdf9; box-shadow: none; cursor: default; }
body.page-home .home-service-item h3 { grid-column: 1; grid-row: 1; font-size: 24px; margin: 0; line-height: 1.25; }
body.page-home .home-service-item p { grid-column: 1 / -1; font-size: 16px; line-height: 1.7; }
body.page-home .home-service-item:hover { background: #fffdf9; border-color: #dfd5c8; }
body.page-home .home-service-item:hover h3 { color: var(--ink); }
body.page-home .home-service-section + .home-comparisons { border-top: 0; }

/* The same left edge and open columns keep the reasons quiet. */
body.page-home .home-reasons { padding-block: var(--home-space); }
body.page-home .home-reasons-heading { text-align: left; margin: 0 0 32px; }
body.page-home .home-reasons-heading p { margin: 16px 0 0; max-width: 82ch; font-size: 17px; line-height: 1.7; }
body.page-home .home-reasons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
body.page-home .home-reasons .home-reason { padding: 0 28px 0 0; border: 0; border-radius: 0; background: transparent; }
body.page-home .home-reasons .home-reason + .home-reason { border-left: 1px solid var(--line); padding-left: 30px; }
body.page-home .home-reason > svg { width: 23px; height: 23px; padding: 0; margin: 0 0 15px; border-radius: 0; background: none; color: #9b3325; }
body.page-home .home-reason h3 { font-size: 25px; line-height: 1.25; margin: 0 0 12px; }
body.page-home .home-reason p { font-size: 16px; line-height: 1.75; margin: 0; }

/* Give the photographs the strongest visual weight. */
body.page-home .home-comparisons { padding-block: var(--home-space); border-top: 1px solid var(--line); }
body.page-home .home-comparison-heading { margin-bottom: 30px; }
body.page-home .home-comparison-heading p { max-width: 78ch; font-size: 17px; line-height: 1.7; margin-top: 18px; }
body.page-home .home-comparison-grid { gap: 32px; }
body.page-home .home-comparison-grid .before-after { aspect-ratio: 3 / 2; border-radius: 10px; }
body.page-home .home-comparison-grid .comparison-card-caption { margin-top: 11px; font-size: 12px; line-height: 1.6; }
body.page-home .home-comparison-grid .comparison-card-info { padding-top: 0; }
body.page-home .home-comparison-grid .project-meta { margin-top: 16px; font-size: 11px; letter-spacing: .5px; }
body.page-home .home-comparison-grid .comparison-card-info h3 { margin-top: 8px; font-size: 25px; line-height: 1.25; }
body.page-home .home-comparison-grid .comparison-card-description { margin-top: 10px; font-size: 16px; line-height: 1.7; }
body.page-home .home-comparisons-footer { margin-top: 25px; padding-top: 0; border: 0; }
body.page-home .home-comparisons-footer p { font-size: 13px; }

/* Separate review cards with clearly labelled fictional demo ratings. */
body.page-home .home-testimonials { padding: 0 0 var(--home-space); background: transparent; }
body.page-home .home-reasons + .home-testimonials { padding-top: 48px; }
body.page-home .home-service-section + .home-testimonials { padding-top: 56px; }
body.page-home .home-testimonials > .wrap { padding: 0; border-radius: 0; background: transparent; }
body.page-home .home-testimonials-heading { align-items: start; margin-bottom: 30px; gap: 24px 48px; }
body.page-home .home-testimonials-heading p { font-size: 15px; line-height: 1.75; }
body.page-home .home-testimonial-grid { gap: 20px; }
body.page-home .home-testimonials-footer { display: flex; justify-content: center; margin-top: 32px; }
body.page-home .home-testimonials-footer .button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 56px; padding: 15px 28px; font-size: 15px; }
body.page-home .home-testimonial { padding: 26px; border: 1px solid #dfd5c8; border-radius: 12px; background: #fffdf9; }
body.page-home .home-testimonial-stars { display: flex; gap: 3px; margin-bottom: 12px; }
body.page-home .home-testimonial-stars > span { display: grid; place-items: center; width: 28px; height: 28px; background: #00b67a; color: #fff; font-family: Arial, sans-serif; font-size: 23px; line-height: 1; }
body.page-home .home-testimonial-label { padding: 0; border-radius: 0; background: transparent; color: #80543f; font-size: 12px; }
body.page-home .home-testimonial blockquote { font-size: 17px; line-height: 1.75; margin: 18px 0 24px; }
body.page-home .home-testimonial figcaption { display: block; padding-top: 16px; border-top: 1px solid var(--line); }
body.page-home .home-testimonial-service { margin: 0; font-size: 14px; line-height: 1.6; }
body.page-home .home-testimonial-location { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Practical sections use matching spacing, type and quiet dividers. */
body.page-home .home-price-section { padding-block: var(--home-space); border-top: 1px solid var(--line); gap: 64px; }
body.page-home .home-price-copy > p { margin-top: 20px; font-size: 17px; line-height: 1.75; }
body.page-home .home-price-list > div { padding-block: 20px; }
body.page-home .home-price-list dt { color: #8b6f56; }
body.page-home .home-price-list dd { font-size: 22px; }
body.page-home .home-price-list dd p { font-size: 16px; line-height: 1.7; }
body.page-home .home-workflow { padding-block: 0 var(--home-space); }
body.page-home .home-workflow .home-section-heading { display: block; text-align: left; padding-top: var(--home-space); }
body.page-home .home-workflow .home-section-heading > p { max-width: 75ch; margin-top: 18px; }
body.page-home .home-workflow .home-workflow-steps { gap: 32px; margin-top: 30px; }
body.page-home .home-workflow .home-workflow-steps::before { display: none; }
body.page-home .home-workflow .home-workflow-steps > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px 14px; padding: 0; text-align: left; align-content: start; }
body.page-home .home-workflow .home-workflow-steps .number { position: static; grid-column: 1; grid-row: 1 / 3; width: 28px; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #8b6f56; font-size: 17px; }
body.page-home .home-workflow .home-workflow-steps h3 { grid-column: 2; font-size: 24px; padding: 0; margin: 0; line-height: 1.25; }
body.page-home .home-workflow .home-workflow-steps p { grid-column: 2; font-size: 16px; line-height: 1.7; margin: 0; }
body.page-home .home-local { min-height: clamp(560px, 65svh, 680px); padding-block: 64px; gap: 64px; align-items: center; }
body.page-home .home-local .person-introduction.person-introduction--illustrated,
body.page-home .home-local-photo > img { min-height: 360px; height: clamp(360px, 42svh, 460px); width: 100%; object-fit: cover; border-radius: 10px; }
body.page-home .home-local-copy h2 { font-size: clamp(38px, 3.1vw, 46px); }
body.page-home .home-local-copy > p { font-size: 17px; line-height: 1.7; margin-block: 18px 16px; }
body.page-home .questions-section { padding-block: var(--home-space); gap: 64px; border-top: 1px solid var(--line); }
body.page-home .questions-list summary { font-size: 20px; min-height: 62px; }

@media (max-width: 1100px) {
  body.page-home .home-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  body.page-home { --home-space: 68px; --home-gutter: 64px; }
  body.page-home .home-image-hero > picture > img { object-position: 25% 50%; }
  body.page-home .home-reasons .home-reason { padding-right: 22px; }
  body.page-home .home-reasons .home-reason + .home-reason { padding-left: 22px; }
  body.page-home :is(.home-price-section, .home-local, .questions-section) { gap: 36px; }
}
@media (max-width: 900px) {
  body.page-home .home-reasons-grid { grid-template-columns: 1fr; gap: 24px; }
  body.page-home .home-reasons .home-reason:nth-child(n) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0; border: 0; }
  body.page-home .home-reason h3 { grid-column: 1; font-size: 24px; min-height: 0; margin: 0; }
  body.page-home .home-reason p { grid-column: 1; margin: 0; }
  body.page-home .home-testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
  body.page-home .home-testimonial { padding: 24px; }
  body.page-home .home-testimonial blockquote { margin-block: 14px 18px; }
  body.page-home .home-testimonials-heading { margin-bottom: 26px; }
  body.page-home .home-testimonials-heading p { margin-top: 16px; }
}
@media (max-width: 640px) {
  body.page-home { --home-space: 56px; --home-gutter: 40px; }
  body.page-home .home-image-hero > picture > img { object-position: 22% 50%; }
  body.page-home .home-hero-reviews { margin-bottom: 18px; }
  body.page-home .home-image-copy .eyebrow { font-size: 14px; margin-bottom: 8px; }
  body.page-home .home-hero-review-stars > span { width: 22px; height: 22px; font-size: 19px; }
  body.page-home :is(.home-section-heading, .home-reasons-heading, .home-comparison-heading, .home-testimonials-heading, .home-price-copy, .home-workflow, .home-local-copy, .questions-heading) h2 { font-size: clamp(30px, 8.2vw, 35px); line-height: 1.15; }
  body.page-home .home-service-section { padding-block: 44px 36px; }
  body.page-home .home-section-heading { margin-bottom: 22px; gap: 16px; }
  body.page-home .home-service-list { grid-template-columns: 1fr; gap: 12px; }
  body.page-home .home-service-item { padding: 20px; }
  body.page-home .home-service-item h3 { font-size: 23px; padding-top: 0; }
  body.page-home .home-service-item p { font-size: 16px; }
  body.page-home .home-reasons-heading { margin-bottom: 27px; }
  body.page-home .home-reasons-heading p { font-size: 16px; }
  body.page-home .home-comparison-heading p { font-size: 16px; }
  body.page-home .home-comparison-grid { grid-template-columns: 1fr; gap: 30px; }
  body.page-home .home-comparison-grid .before-after { aspect-ratio: 4 / 3; }
  body.page-home .home-comparison-grid .comparison-card-info h3 { font-size: 24px; }
  body.page-home .home-comparisons-footer { margin-top: 24px; }
  body.page-home .home-testimonial blockquote { font-size: 17px; }
  body.page-home .home-workflow .home-workflow-steps { grid-template-columns: 1fr; gap: 23px; margin-top: 25px; }
  body.page-home .home-workflow .home-section-heading > p { margin-top: 16px; }
  body.page-home .home-local { min-height: 0; padding-block: 48px; }
  body.page-home .home-local .person-introduction.person-introduction--illustrated,
  body.page-home .home-local-photo > img { min-height: 300px; height: 300px; }
  body.page-home .home-local-copy > p { font-size: 16px; }
  body.page-home .questions-section { gap: 25px; }
  body.page-home .questions-list summary { font-size: 19px; }
}
