/* Shared editorial scale. Component typefaces, weights and tracking are inherited. */
:root {
  --gutter: max(clamp(20px, 4.44444vw, 64px), calc((100% - 1312px) / 2));
  --section-title: clamp(30px, 3.3vw, 44px);
  --design-title: clamp(29px, 3vw, 40px);
  --feature-title: clamp(32px, 3.6vw, 48px);
  --product-title: clamp(26px, 2.5vw, 32px);
  --lead: 20px;
  --lead-line: 29px;
  --label: 12px;
  --label-line: 17px;
  --section-top: 48px;
  --section-bottom: 32px;
  --content-gap: 24px;
}

#home h1 { font-size: clamp(48px, 5.6vw, 80.6px); line-height: 1.0608; }
:is(#series, #benefits, #projects, #customer-reviews) h2 {
  font-size: var(--section-title);
  line-height: 1.07143;
}
#design h2 { font-size: var(--design-title); line-height: 1.08333; }
:is(#automation, #contact) h2 { font-size: var(--feature-title); line-height: 1.1; }
#series h3 { font-size: var(--product-title); line-height: 1.11111; }

#home .hero-description, #design .design-intro, #series .series-heading > p:last-child,
#benefits .reliability-intro, #projects .projects-intro, #customer-reviews .reviews-lead,
#contact .contact-intro {
  font: 400 var(--lead)/var(--lead-line) Inter, Arial, sans-serif;
  letter-spacing: normal;
}
#home .hero-kicker, #design .design-label, #series .series-label, #automation .automation-copy p,
#benefits .reliability-label, #projects .projects-label, #customer-reviews .reviews-kicker,
#contact .contact-label { font-size: var(--label); line-height: var(--label-line); }

#benefits .detail-text p, #series .series-copy p { font: 400 16px/24px Inter, Arial, sans-serif; }
#series .series-copy .series-feature, #series .series-spec, #series .series-note,
#benefits .reliability-note, #benefits figcaption, #design .availability, #design .design-note,
#customer-reviews .rating-caption, #home .hero-bottom { font-size: 13px; line-height: 19px; }

#design, #series, #projects.project-gallery, #benefits.reliability, #customer-reviews {
  padding: var(--section-top) var(--gutter) var(--section-bottom);
}
#home { padding-inline: var(--gutter); }
#home .hero-bottom { inset-inline: var(--gutter); }
#contact .contact-inner { max-width: none; padding-inline: var(--gutter); }
#customer-reviews .reviews-shell { max-width: none; }
#customer-reviews { padding-top: var(--section-bottom); }
#customer-reviews .reviews-heading-row { margin-bottom: 8px; }
#customer-reviews .reviews-panel { padding-top: 12px; }

#design .design-label, #series .series-label, #customer-reviews .reviews-kicker { margin-bottom: 8px; }
#design .design-intro { margin-top: 8px; }
#benefits h2, #projects h2, #contact h2 { margin-block: 8px; }
#customer-reviews h2 { margin-bottom: 8px; }
#benefits .reliability-layout, #projects .projects-stage { margin-top: var(--content-gap); }
#series .series-heading > p:last-child { margin-bottom: var(--content-gap); }
#series .series-grid { column-gap: 24px; }

/* Give the catalogues a closer join; retain breathing room after full-bleed media. */
#design { padding-bottom: 20px; }
#design .design-heading { gap: 14px; }
#series { padding-top: 32px; }
#automation .automation-copy p { margin-bottom: 12px; }

#contact .contact-inner { padding-block: clamp(32px, 3.6vw, 52px); }
#contact #lead-form { margin-block: 20px 14px; }
#home .hero-description { margin-top: 18px; }
#home .hero-actions { margin-top: 24px; }

@media (max-width: 700px) {
  #automation.automation-film { height: auto; }
  #design { padding-bottom: 16px; }
  #series { padding-top: 24px; }
  #contact .contact-inner { padding-block: 32px 20px; }
}

@media (max-width: 780px) {
  #customer-reviews .rating { margin-top: 12px; }
}
@media (max-width: 700px) {
  :root {
    --gutter: 20px;
    --section-title: 30px;
    --design-title: 29px;
    --feature-title: 32px;
    --product-title: 26px;
    --lead: 17px;
    --lead-line: 25px;
    --label: 11px;
    --label-line: 15px;
    --section-top: 32px;
    --section-bottom: 24px;
    --content-gap: 18px;
  }
  #home { min-height: clamp(560px, 72svh, 620px); padding-block: 36px 96px; }
  #home h1 { font-size: clamp(36px, 11.154vw, 48px); line-height: 1.02069; }
  #home .hero-bottom { position: static; margin-top: 16px; padding-top: 5px; }
  :is(#design, #series, #benefits, #projects, #customer-reviews) h2 { line-height: 33px; }
  :is(#automation, #contact) h2 { line-height: 36px; }
  #series h3 { line-height: 30px; }
  #design .door-view { width: calc(100% + 8px); max-width: none; margin-inline: -4px; }
  #automation .automation-copy { padding-inline: var(--gutter); }
  #series tbody :is(th, td), #series thead th:first-child { font-size: 13px; line-height: 19px; }
}

@media (max-width: 600px) {
  #projects .projects-dots { margin-bottom: 0; }
}
