.shell:has(> .home-catalogue) {
  max-width: 1440px;
  padding-top: clamp(24px, 3vw, 46px);
}

.home-catalogue h1 {
  max-width: none;
  margin: 0 0 8px;
  font-size: clamp(31px, 4.2vw, 60px);
  overflow-wrap: anywhere;
}

.home-catalogue .lead {
  max-width: none;
  margin-bottom: clamp(24px, 3.4vw, 46px);
  font-size: clamp(17px, 1.7vw, 25px);
}

.home-directions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-direction {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
}

.home-direction:hover {
  border-color: #8ca3b7;
  color: var(--navy);
}

.home-direction-photo {
  display: grid;
  place-items: center;
  height: clamp(210px, 26vw, 390px);
  padding: 14px;
  background: #e9edf0;
}

.home-direction-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.home-direction-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px clamp(12px, 1.5vw, 24px);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.25;
  font-weight: 700;
}

.home-direction-label img { flex: none; }

.home-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  margin-top: 34px;
  padding: clamp(17px, 2vw, 27px) 0;
}

.home-services section { padding: 0 clamp(18px, 2.4vw, 34px); }

.home-services h2 {
  font-size: clamp(20px, 1.8vw, 26px);
  margin-bottom: 6px;
}

.home-services p { margin: 0 0 12px; }

.home-services section + section {
  border-left: 1px solid var(--line);
}

.home-reference { margin: 16px 0 0; }

.home-about {
  display: grid;
  grid-template-columns: 53% minmax(0, 1fr);
  padding-block: clamp(28px, 3.5vw, 48px);
  scroll-margin-top: calc(var(--site-head-height, 80px) + 12px);
}

.home-about > div:first-child { padding-right: clamp(18px, 3.8vw, 56px); }
.home-about h2 { font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 18px; }

.home-about-headline {
  margin-bottom: 14px;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.home-about-summary {
  max-width: 43ch;
  margin-bottom: clamp(20px, 2.5vw, 34px);
  color: #41576b;
  font-size: clamp(17px, 1.65vw, 23px);
  line-height: 1.45;
}

.home-about-facts {
  padding-left: clamp(20px, 3.8vw, 56px);
  border-left: 1px solid var(--line);
}

.home-about-facts section + section {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.home-about-facts h3 { margin-bottom: 4px; font-size: clamp(18px, 1.8vw, 26px); }
.home-about-facts p { margin: 0; color: #41576b; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.45; }

.home-reviews h2 { margin-bottom: 6px; }
.home-reviews-lead { color: var(--muted); margin-bottom: 22px; }

.home-review-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-review-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: clamp(10px, 1.3vw, 18px);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.home-review-card:hover { border-color: #8ca3b7; color: var(--navy); }

.home-review-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 8%;
  background: #edf0f2;
  border-radius: 2px;
}

.home-review-preview img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.home-review-card h3 { align-self: center; margin: 0; font-size: clamp(16px, 1.4vw, 21px); overflow-wrap: anywhere; }
.home-review-link { color: var(--navy); font-size: 14px; text-decoration: underline; }

@media (max-width: 1050px) {
  .home-review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 670px) {
  .home-directions, .home-services { grid-template-columns: minmax(0, 1fr); }
  .home-direction { grid-template: minmax(94px, auto) / 112px minmax(0, 1fr); }
  .home-direction-photo { height: auto; min-height: 94px; padding: 8px; }
  .home-direction-photo img { height: 78px; }
  .home-services { margin-top: 24px; }
  .home-services section + section { padding-top: 16px; border: 0; border-top: 1px solid var(--line); }
  .home-about { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .home-about > div:first-child { padding-right: 0; }
  .home-about-facts { padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); }
  .home-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
