/* Shared type scale for the homepage and service pages. */
:root {
  --font-site: "Segoe UI", Arial, sans-serif;
  --type-display: clamp(40px, 4.65vw, 68px);
  --type-heading: clamp(32px, 3.05vw, 44px);
  --type-subheading: 24px;
  --type-body: 16px;
  --type-small: 14px;
  --type-label: 12px;
  font-family: var(--font-site);
}
body, button, input, select, textarea { font-family: var(--font-site); }
.hero h1, .service-main h1 {
  font-size: var(--type-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.045em;
}
h2, #services h2, .intro h2, .reasons h2, .about h2,
.contact h2, .frost-contact h2, .service-block h2, .dialog-body h2 {
  font-size: var(--type-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.04em;
}
h3, .project-info h3, .steps h3, .benefits h3, .case-details > h3,
.frost-detail h3, .service-card h3, .audit-summary h3, .car-site h3 {
  font-family: var(--font-site);
  font-size: var(--type-subheading);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.025em;
}
p, .body-copy, #services .body-copy, .hero-description, .project-info p,
.steps p, .benefits p, .case-point p, .about p:not(.eyebrow),
.frost-intro, .frost-detail p, .service-lead, .service-card p,
.service-list, .dialog-body p, .faq-list details p {
  font-size: var(--type-body);
  line-height: 1.65;
  font-weight: 400;
}
.case-point h4, #services .services-list > a, .services-list > a,
.faq-list summary {
  font-size: var(--type-body);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.015em;
}
.button, .button-small, .case-details > .button, .text-link,
.process-preview-label, .nav-links, .service-nav > a:last-child {
  font-size: var(--type-small);
  font-weight: 600;
  line-height: 1.5;
}
#services .services-list small, .services-list small,
.process-preview figcaption, .button-caption, .frost-consent,
.signature, .footer-links, .breadcrumbs, .submit-row > p {
  font-size: var(--type-small);
  line-height: 1.6;
}
.eyebrow, .frost-eyebrow, .hero .eyebrow, .dialog-body .eyebrow,
.mini-label, .case-caption, .project-tag {
  font-size: var(--type-label);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .12em;
}
.field label, .copyright, .footer-motto, .visual-note,
.dialog-body .visual-note, .privacy-note, .hero-bottom > a {
  font-size: var(--type-label);
  line-height: 1.6;
}
.field input, .field select, .field textarea,
.frost-form .field input, .frost-form .field select, .frost-form .field textarea {
  font-size: var(--type-body);
  line-height: 1.5;
}
@media (max-width:760px) {
  :root { --type-heading: 34px; --type-subheading: 22px; }
  .benefits { gap: 32px 16px; }
  #services .services-list { grid-template-columns: 1fr; gap: 22px; }
  #services .services-list > a {
    display: grid;
    grid-template-columns: 49px minmax(0,1fr);
    column-gap: 16px;
    row-gap: 4px;
    border: 0;
    padding: 0;
  }
  #services .services-list .icon-circle { grid-row: 1 / 3; margin: 0; }
  #services .services-list small { max-width: none; }
  .footer-links { flex-wrap: wrap; }
}

/* One shared content boundary across homepage sections. */
:root {
  --content-width: 1380px;
  --page-gutter: 48px;
}
.wrap,
#services.intro,
body .frost-layout {
  width: min(var(--content-width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}
.about-content.wrap,
.faq-section.wrap {
  max-width: none;
}
@media (max-width:1050px) {
  :root { --page-gutter: 30px; }
}
@media (max-width:760px) {
  :root { --page-gutter: 20px; }
}

/* Footer brand sized consistently with the header. */
.footer .brand img{width:280px;height:auto;max-height:none}
@media(max-width:760px){.footer .brand img{width:220px}}
