.home-page {
  --home-body-size: 18px;
  --home-detail-size: 14px;
  --home-action-size: 16px;
}
.home-page .cinema-bottom p,
.home-page .bridge-lead,
.home-page .bridge-step > p:not(.bridge-step-category),
.home-page .capability-card-body > p,
.home-page .quality-copy > p:not(.eyebrow),
.home-page .quality-principles p,
.home-page .process-story .section-heading > p,
.home-page .story-step p,
.home-page .industries-heading > p:not(.eyebrow),
.home-page .industries-outro > p,
.home-page .faq-layout > div:first-child > p:not(.eyebrow),
.home-page .accordions p,
.home-page .customer-heading p:not(.eyebrow),
.home-page .closing-content > div > p,
.home-page .image-dialog > p {
  font-size: var(--home-body-size);
  line-height: 1.7;
  letter-spacing: normal;
}
.home-page .cinema-bottom p {
  max-width: 52ch;
}
.home-page .bridge-lead {
  max-width: 52ch;
}
.home-page .faq-layout > div:first-child > p:not(.eyebrow) {
  max-width: 36ch;
}
.home-page .eyebrow,
.home-page .bridge-step-category,
.home-page .bridge-step-number,
.home-page .capability-card-eyebrow,
.home-page .capability-card-body > .capability-status,
.home-page .quality-principles article > span,
.home-page .process-story .story-caption span,
.home-page .process-story .story-footnote,
.home-page .story-step .step-number,
.home-page .industry-photo-context {
  font-size: var(--home-detail-size);
  line-height: 1.5;
  letter-spacing: 0.035em;
}
.home-page .company-facts dt {
  font-size: 15px;
  line-height: 1.5;
}
.home-page .company-facts dd small {
  font-size: var(--home-detail-size);
  line-height: 1.5;
}
.home-page .btn,
.home-page .btn .button-label,
.home-page .text-link,
.home-page .text-link .button-label,
.home-page .bridge-inquiry,
.home-page .hero-scroll-arrow,
.home-page .capability-card-links .capability-learn-more,
.home-page .faq-contact,
.home-page .customer-motion {
  font-size: var(--home-action-size);
  line-height: 1.5;
}
.home-page .btn,
.home-page .text-link {
  max-width: 100%;
}
.home-page .btn {
  justify-content: center;
  gap: 0;
  text-align: center;
}
.home-page .btn.quote-button,
.home-page .btn.project-overview-cta {
  flex-shrink: 0;
  width: auto;
  min-height: 60px;
  padding: 16px 21px;
  border: 0;
  border-radius: 9px;
  box-shadow: none;
}
.home-page .btn .button-label,
.home-page .text-link .button-label {
  min-width: 0;
  white-space: normal;
}
.home-page .accordions summary {
  font-size: 20px;
  line-height: 1.5;
}
.home-page .customer-motion {
  min-height: 44px;
}
.home-page .process-story .story-image {
  --story-caption-height: 80px;
}
.home-page .process-story .story-caption strong {
  min-width: 0;
  line-height: 1.3;
}
.home-page .industry-photo-label {
  min-height: 56px;
  font-size: 16px;
  line-height: 1.5;
}
.home-page .industry-photo-context {
  right: 2px;
}
.home-page .footer-grid p,
.home-page .footer-grid a {
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.home-page .footer-grid > div:not(:first-child) h3 {
  font-size: 16px;
  line-height: 1.5;
}
.home-page .footer-wordmark > span,
.home-page .footer-bottom,
.home-page footer .image-note {
  font-size: var(--home-detail-size);
  line-height: 1.6;
}
.home-page .footer-bottom {
  flex-wrap: wrap;
}
.home-page .footer-bottom a {
  font-size: var(--home-detail-size) !important;
}
.home-page .back-top {
  font-size: var(--home-action-size) !important;
  line-height: 1.5;
}
@media (min-width: 1051px) {
  .home-page .cinema-bottom {
    grid-template-columns: minmax(0, 480px) minmax(352px, 1fr);
  }
  .home-page .cinema-bottom > .hero-credentials {
    justify-self: end;
  }
  .home-page .cinema-bottom .hero-badges {
    justify-content: flex-end;
  }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .home-page .cinema-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .home-page .cinema-bottom > div {
    grid-column: 1;
    grid-row: 1;
  }
  .home-page .hero-credentials {
    grid-column: 1;
    grid-row: 2;
  }
}
@media (max-width: 1050px) {
  .home-page .quality-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .home-page {
    --home-body-size: 17px;
  }
  .home-page .accordions summary {
    font-size: 19px;
  }
  .home-page .process-story .story-caption strong {
    font-size: 20px;
  }
  .home-page .footer-heading {
    flex-wrap: wrap;
    gap: 24px;
  }
}
@media (max-width: 580px) {
  .home-page .process-story .story-image {
    --story-caption-height: 80px;
  }
  .home-page .process-story .story-caption {
    gap: 10px;
  }
  .home-page .quality-principles {
    grid-template-columns: 1fr;
  }
}

/* Give the two core services a distinct hierarchy in the homepage hero. */
.home-page .cinema-bottom .hero-intro {
  max-width: none;
  margin: 0 0 24px;
}
.home-page .hero-core-label {
  display: block;
  margin-bottom: 12px;
  color: #adcfe8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.home-page .hero-core-names {
  display: grid;
  gap: 7px;
  margin-bottom: 22px;
  padding-left: 18px;
  border-left: 3px solid #8fbfe5;
}
.home-page .hero-core-names strong {
  display: block;
  color: #fff;
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.home-page .hero-support {
  display: block;
  max-width: 48ch;
  color: #d9e4ec;
}
@media (max-width: 580px) {
  .home-page .hero-core-names {
    padding-left: 14px;
  }
  .home-page .hero-core-names strong {
    font-size: clamp(22px, 5.9vw, 28px);
  }
}

/* Keep the certification with its manufacturing scope and give the mark room. */
.hero-core-certification { display:block; margin:0 0 7px; color:#b9dced; font-size:15px; line-height:1.3; font-weight:700; letter-spacing:.04em; }
.hero-credentials .hero-badges {
  --badge-size: 160px;
  align-items: center;
  gap: 30px;
}
.hero-badge--intertek {
  overflow: hidden;
  padding: 8px;
}
.hero-badge--intertek img.hero-certification-mark {
  display: block;
  width: 110px;
  max-width: 100%;
  height: 142px;
  object-fit: contain;
  /* Balance the artwork, whose trademark leaves extra space on the right. */
  transform: translateX(5%);
}
@media (max-width: 580px) {
  .hero-credentials .hero-badges {
    --badge-size: 136px;
    gap: 22px;
  }
  .hero-badge--intertek img.hero-certification-mark {
    width: 94px;
    height: 122px;
  }
}

/* A soft pulse makes the certificate badge visibly interactive. */
.hero-credentials .hero-certification-trigger {
  position: relative;
  cursor: pointer;
}
.hero-credentials .hero-certification-trigger::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid #a6dcff;
  border-radius: 50%;
  box-shadow: 0 0 12px #7bc7ff70, inset 0 0 8px #7bc7ff30;
  opacity: 0.65;
  pointer-events: none;
}
.hero-credentials .hero-certification-trigger .hero-badge::after {
  content: none;
  animation: none;
}
.hero-credentials .hero-certification-trigger:is(:hover, :focus-visible) .hero-badge {
  transform: none;
}
.hero-credentials .hero-certification-trigger:is(:hover, :focus-visible)::after {
  animation: none;
  opacity: 1;
  box-shadow: 0 0 20px #7bc7ffaa, inset 0 0 10px #7bc7ff50;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-credentials .hero-certification-trigger:not(:hover):not(:focus-visible)::after {
    animation: certificate-glow-pulse 2.8s ease-in-out infinite;
  }
}
@keyframes certificate-glow-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.045); }
}
.home-page.motion-paused .hero-certification-trigger::after {
  animation: none;
}

/* Short desktop screens (e.g. 1366×768 laptops): keep the hero call to action above the fold. */
@media (min-width: 1000px) and (max-height: 900px) {
  .home-page .cinema-content {
    padding-top: 128px;
  }
  .home-page .cinema-content h1 {
    font-size: clamp(48px, min(6.7vw, 10vh), 100px);
  }
  .home-page .cinema-bottom {
    margin-top: 20px;
  }
}
