/* Shared closing title: the same scale and a single line across every page. */
.home-experience main { overflow-x: clip; }
body main > .contact .contact-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 20px !important;
}
body main > .contact .contact-line h2 {
  font-size: clamp(24px, 7.2vw, 80px) !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: -.04em;
  white-space: nowrap !important;
  overflow-wrap: normal;
  max-width: none;
  margin: 0;
}
body main > .contact .contact-line h2 > span {
  display: inline;
}

/* Entry copy must never wait on the scroll observer to become readable. */
body main > .page-hero.site-hero {
  align-items: flex-start !important;
  padding: 0 0 60px !important;
}
body main > .page-hero.site-hero .page-hero-copy {
  align-self: flex-start;
  margin: 0 auto !important;
  padding: max(170px, calc(40svh - 38px)) 0 0 !important;
}
body main > .page-hero.site-hero .page-hero-copy .eyebrow {
  line-height: 1.25;
}
.home-experience .film-copy {
  top: max(208px, 40svh) !important;
  bottom: auto !important;
  transform: none !important;
}
.home-experience .film-copy .eyebrow {
  position: absolute;
  bottom: calc(100% + 23px);
  left: 0;
  right: 0;
  font-size: 12px;
  line-height: 1.25;
  margin: 0;
}
.page-hero-copy .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.page-hero-copy h1.split-ready .split-word {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Count the fixed navigation once, rather than adding two header-sized offsets. */
:root { scroll-padding-top: 88px; }
:root main :is(.catalog-section, .sector-section, .gallery-section, .sector-anchor) {
  scroll-margin-top: 0;
}
:root main .solution-capability { scroll-margin-top: 20px; }
main :is(h2, h3) { scroll-margin-top: 24px; }
@media (max-width: 900px) {
  :root { scroll-padding-top: 72px; }
}
@media (max-width: 760px) {
  body main > .contact .contact-line { gap: 14px !important; }
}

/* Industry chapters overlap only after the complete preceding chapter is read. */
.industries-page .sector-section {
  min-height: calc(100svh - 88px);
}
.industries-page #energy .sector-panorama {
  margin-left: 0;
  margin-right: 0;
}
@media (min-width: 901px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .industries-page main,
  .industries-page .page-body,
  .industries-page .page-body > .shell {
    overflow: visible;
    transform: none !important;
    perspective: none;
  }
  .industries-page .sector-section {
    position: sticky;
    top: var(--industry-stack-top, 88px);
    box-shadow: 0 -16px 36px #03112420;
  }
}
