/* Homepage completion: topic routes, working method, care, evidence slots,
   suitability boundaries, closing contact and footer. SET 04 tokens only. */

.page-home .home-section {
  padding-block: clamp(3.25rem, 5.5vw, 5rem);
  background: var(--mz-card);
  scroll-margin-top: 24px;
}
.page-home .home-section h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.page-home .home-section h2 span { color: var(--mz-deep-sage); }
.page-home .home-section h3 { font-weight: 500; line-height: 1.5; }
.page-home .home-section__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; margin-bottom: 2.35rem; }
.page-home .home-section__heading > p { max-width: 34em; margin: 0 0 .3rem; color: var(--mz-muted); font-size: 1rem; line-height: 1.85; text-wrap: pretty; }
.page-home .home-section .text-link { min-height: 48px; font-size: .9rem; font-weight: 500; }

/* Full-width topic choices keep the product comparison visually distinct. */
.page-home .home-routes__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--mz-line-strong); }
.page-home .home-routes__list li { border-bottom: 1px solid var(--mz-line); }
.page-home .home-routes__list a { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) 48px; align-items: center; gap: 2rem; padding: 1.65rem .75rem; color: var(--mz-ink); transition: background .18s ease; }
.page-home .home-routes__list a:hover { background: var(--mz-arch-white); }
.page-home .home-routes__list a:focus-visible { outline-offset: -3px; }
.page-home .home-routes__list h3 { margin: 0; font-size: 1.4rem; }
.page-home .home-routes__list p { margin: 0; color: var(--mz-muted); font-size: .97rem; line-height: 1.8; }
.page-home .home-routes__arrow { justify-self: end; color: var(--mz-deep-sage); font-family: var(--font-latin); font-size: 1.5rem; transition: transform .18s ease; }
.page-home .home-routes__list a:hover .home-routes__arrow { transform: translateX(4px); }

/* A single darker section anchors the working method. */
.page-home .home-method { background: var(--mz-deep-sage); color: var(--mz-card); }
.page-home .home-method h2,
.page-home .home-method h3 { color: var(--mz-card); }
.page-home .home-method__signature { margin: 0 0 1rem; color: var(--mz-pale-sage); font: 400 .72rem/1.7 var(--font-latin); letter-spacing: .04em; }
.page-home .home-method .home-section__heading > p { color: var(--mz-pale-sage); }
.page-home .home-method__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; list-style: none; margin: 3rem 0 0; padding: 0; }
.page-home .home-method__steps li { padding-top: 1.35rem; border-top: 1px solid var(--mz-sage); }
.page-home .home-method__steps li > span { display: block; margin-bottom: 1.5rem; color: var(--mz-pale-sage); font: 400 1.65rem/1.3 var(--font-latin); }
.page-home .home-method__steps h3 { margin: 0 0 .7rem; font-size: 1.25rem; }
.page-home .home-method__steps p { max-width: 34em; margin: 0; color: var(--mz-pale-sage); font-size: .92rem; line-height: 1.9; }

.page-home .home-care__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "intro list" "link list"; grid-template-rows: auto 1fr; column-gap: clamp(2.5rem, 6vw, 5.5rem); row-gap: 1.5rem; }
.page-home .home-care__intro { grid-area: intro; }
.page-home .home-care__intro > p { margin: 1.3rem 0 0; color: var(--mz-muted); font-size: .95rem; line-height: 1.85; }
.page-home .home-care__list { grid-area: list; border-top: 1px solid var(--mz-line-strong); }
.page-home .home-care__list article { padding-block: 1.3rem; border-bottom: 1px solid var(--mz-line); }
.page-home .home-care__list h3 { margin: 0 0 .4rem; font-size: 1.15rem; color: var(--mz-deep-sage); }
.page-home .home-care__list p { margin: 0; color: var(--mz-muted); font-size: .9rem; line-height: 1.85; }
.page-home .home-care__link { grid-area: link; justify-self: start; align-self: start; }

/* The care section now carries the darker visual anchor from the merged method section. */
.page-home .home-care { background: var(--mz-deep-sage); color: var(--mz-card); }
.page-home .home-care h2,
.page-home .home-care__list h3 { color: var(--mz-card); }
.page-home .home-care h2 span,
.page-home .home-care__intro > p,
.page-home .home-care__list p,
.page-home .home-care__link { color: var(--mz-pale-sage); }
.page-home .home-care__list,
.page-home .home-care__list article,
.page-home .home-care__link { border-color: var(--mz-sage); }

/* Empty slots are retained until real, approved assets exist in the manifest. */
.page-home .home-evidence { background: var(--mz-arch-white); }
.page-home .home-evidence__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.page-home .home-evidence__item { min-width: 0; margin: 0; }
.page-home .home-evidence__reserve { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .3rem; min-height: 0; height: auto; aspect-ratio: 16 / 10; padding: 1.5rem; border: 1px solid var(--mz-line); border-radius: 0; background: var(--mz-card); }
.page-home .home-evidence__reserve > span { font-size: .75rem; line-height: 1.85; }
.page-home .home-evidence__reserve > span + span { font-size: .7rem; }
.page-home .home-evidence__item > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--mz-card); }
.page-home .home-evidence__item[data-media-slot="commissioning-report"] > img { object-fit: contain; }
.page-home .home-evidence__item figcaption { margin-top: 1.3rem; }
.page-home .home-evidence__item h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.page-home .home-evidence__item p { margin: 0; color: var(--mz-muted); font-size: .88rem; line-height: 1.85; }

.page-home .home-boundaries__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5.5rem); }
.page-home .home-boundaries__intro { margin: 1.3rem 0 0; color: var(--mz-muted); font-size: .95rem; line-height: 1.85; }
.page-home .home-boundaries__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mz-line-strong); }
.page-home .home-boundaries__list li { padding-block: 1.2rem; border-bottom: 1px solid var(--mz-line); color: var(--mz-muted); font-size: .9rem; line-height: 1.9; }
.page-home .home-boundaries__list strong { display: block; margin-bottom: .35rem; color: var(--mz-ink); font: 500 1.05rem/1.6 var(--font-display); }
.page-home .home-boundaries__note { margin: 1.2rem 0 0; color: var(--mz-muted); font-size: .8rem; line-height: 1.85; }

.page-home .home-contact { background: var(--mz-pale-sage); }
.page-home .home-contact__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.page-home .home-contact__layout > div > p { margin: 0 0 1.5rem; color: var(--mz-deep-sage); font-size: 1.05rem; line-height: 1.85; }
.page-home .home-contact__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.page-home .home-contact__actions .btn { min-height: 54px; padding: 1rem 1.25rem; gap: 1.5rem; border-radius: 3px; font-size: .95rem; font-weight: 500; }
.page-home .home-contact__actions .btn:hover { transform: none; box-shadow: none; }
.page-home .home-contact__actions .text-link { border-color: var(--mz-sage); gap: 1rem; }
.page-home .home-contact__actions .text-link:hover { border-color: var(--mz-deep-sage); }

/* Shared footer content is preserved; these rules affect the homepage only. */
.page-home .ftr { padding-top: 3.5rem; background: var(--mz-card); border-top: 0; }
.page-home .ftr__top { grid-template-columns: 1.45fr 1fr 1fr 1.15fr; gap: 2rem; }
.page-home .ftr h4 { margin-bottom: .8rem; color: var(--mz-ink); font-size: .95rem; font-weight: 500; }
.page-home .ftr__logo img { width: 192px; height: auto; }
.page-home .ftr p { line-height: 1.8; }
.page-home .ftr ul { gap: .1rem; }
.page-home .ftr li a { display: inline-flex; align-items: center; min-height: 38px; padding-block: .35rem; }
.page-home .ftr .btn { min-height: 44px; padding: .8rem 1rem; border-radius: 3px; font-size: .85rem; font-weight: 500; }
.page-home .ftr .btn:hover { transform: none; box-shadow: none; }
.page-home .ftr__note { gap: .75rem; }
.page-home .ftr__note p { margin: 0; font-size: .75rem; line-height: 1.85; }
.page-home .ftr__bottom { font-size: .72rem; }

@media (min-width: 761px) and (max-width: 1000px) {
  .page-home .home-section h2 { font-size: clamp(1.75rem, 3.3vw, 2.1rem); }
  .page-home .home-section__heading { gap: 2rem; }
  .page-home .home-section__heading > p { font-size: .92rem; }
  .page-home .home-method__steps { gap: 1.5rem; }
  .page-home .home-method__steps h3 { font-size: 1.1rem; }
  .page-home .home-routes__list h3 { font-size: 1.25rem; }
  .page-home .home-routes__list p { font-size: .9rem; }
  .page-home .home-contact__actions { gap: 1rem; }
  .page-home .home-contact__actions .btn { gap: .75rem; font-size: .9rem; }
  .page-home .home-section .home-contact__actions .text-link { font-size: .85rem; }
  .page-home .ftr__top { grid-template-columns: 1.3fr 1fr; gap: 2rem 3rem; }
}

@media (max-width: 760px) {
  .page-home .home-section { padding-block: 2.75rem; scroll-margin-top: 12px; }
  .page-home .home-section h2 { font-size: clamp(1.65rem, 6.7vw, 2.15rem); }
  .page-home .home-section__heading { display: block; margin-bottom: 1.75rem; }
  .page-home .home-section__heading > p { margin: 1.1rem 0 0; font-size: .95rem; }
  .page-home .home-routes__list a { grid-template-columns: minmax(0, 1fr) 32px; grid-template-areas: "title arrow" "copy arrow"; gap: .4rem .8rem; padding: 1.3rem .25rem; }
  .page-home .home-routes__list h3 { grid-area: title; font-size: 1.2rem; }
  .page-home .home-routes__list p { grid-area: copy; font-size: .88rem; }
  .page-home .home-routes__arrow { grid-area: arrow; font-size: 1.3rem; }
  .page-home .home-method__signature { font-size: .68rem; }
  .page-home .home-method__steps { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 2rem; }
  .page-home .home-method__steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: .5rem 1rem; padding-top: 1.25rem; }
  .page-home .home-method__steps li > span { grid-row: span 2; margin: 0; font-size: 1.25rem; line-height: 1.7; }
  .page-home .home-method__steps h3 { margin: 0; font-size: 1.15rem; }
  .page-home .home-method__steps p { grid-column: 2; font-size: .88rem; }
  .page-home .home-care__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "list" "link"; grid-template-rows: auto; gap: 1.7rem; }
  .page-home .home-care__intro > p { margin-top: 1.1rem; font-size: .92rem; }
  .page-home .home-care__list h3 { font-size: 1.1rem; }
  .page-home .home-care__list p { font-size: .88rem; }
  .page-home .home-evidence__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .page-home .home-evidence__item h3 { font-size: 1.15rem; }
  .page-home .home-evidence__item p { font-size: .85rem; }
  .page-home .home-boundaries__layout { grid-template-columns: minmax(0, 1fr); gap: 1.7rem; }
  .page-home .home-boundaries__intro { margin-top: 1.1rem; font-size: .92rem; }
  .page-home .home-boundaries__list li { font-size: .88rem; }
  .page-home .home-boundaries__list strong { font-size: 1rem; }
  .page-home .home-contact__layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .page-home .home-contact__layout > div > p { font-size: .97rem; }
  .page-home .home-contact__actions { gap: 1rem; }
  .page-home .home-contact__actions .btn { min-height: 50px; padding: .95rem 1rem; gap: .85rem; font-size: .88rem; }
  .page-home .home-section .home-contact__actions .text-link { gap: .65rem; font-size: .83rem; }
  .page-home .ftr { padding-top: 2.5rem; }
  .page-home .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1.3rem; }
  .page-home .ftr__top > div:first-child,
  .page-home .ftr__top > div:last-child { grid-column: 1 / -1; }
  .page-home .ftr__top > div { min-width: 0; }
  .page-home .ftr li a { min-height: 42px; }
  .page-home .ftr__note p { font-size: .72rem; }
}

@media (max-width: 359px) {
  .page-home .home-contact__actions { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .page-home .home-contact__actions .btn { width: 100%; }
  .page-home .home-evidence__reserve { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-routes__list a,
  .page-home .home-routes__arrow { transition: none; }
}
