/* One hero image and a single route through the catalogue. */
.editorial.streamlined .company-intro::before { background-image: none; }
.streamlined .hero-photo { margin: 0; }
.streamlined .hero-photo .show-stage {
  height: auto;
  aspect-ratio: auto;
}
.streamlined .hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.streamlined .company-intro .front-content { min-width: 0; }
.streamlined .company-intro #hero-heading { font-size: clamp(1.875rem,3.45vw,3.25rem); line-height: 1.15; text-wrap: wrap; }

.industrial.streamlined main > section.company-intro {
  display: block;
  height: auto;
  min-height: 0;
  padding: clamp(96px,12vh,138px) 0 clamp(34px,5vw,66px);
  background: linear-gradient(112deg,#0f2638,#23485f 78%,#2d5268);
}
.industrial.streamlined main > section.company-intro > .wrap:not(.grid) {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: center;
  gap: clamp(22px,4vw,62px);
  height: auto;
  min-height: 0;
  padding: 0;
}
.industrial.streamlined .company-intro .front-content { width: 100%; }
.industrial.streamlined .company-show {
  position: relative;
  inset: auto;
  width: 100%;
  transform: none;
}
.industrial.streamlined .hero-photo .show-frame {
  position: relative;
  inset: auto;
  height: auto;
  padding: 5px;
  border: 1px solid #d0e0e68a;
  border-radius: 14px;
  background: linear-gradient(130deg,#a9c5d89c,#31596c);
  box-shadow: 0 16px 35px -24px #07141e;
}
.industrial.streamlined .hero-photo .show-stage { border-radius: 9px; }

.streamlined #products .family {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
}
.streamlined #products .family button { flex: 1; min-width: 0; justify-content: center; }
.streamlined #products .family button > span { text-align: center; }
.streamlined #products .family button::after { content: none; }
.streamlined #models button { justify-content: space-between; }
.streamlined #models button > span { min-width: 0; }

.streamlined #company .plant-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
.streamlined #company .plant-gallery img { aspect-ratio: 1.95; }
.streamlined #proof .manual-index a {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  min-height: 48px;
  align-items: center;
}
.streamlined #proof .manual-index a > span:last-child { flex: none; white-space: nowrap; }

@media (max-width: 900px) {
  .industrial.streamlined main > section.company-intro > .wrap:not(.grid) {
    grid-template-columns: minmax(0,1fr);
  }
}
@media (max-width: 570px) {
  .streamlined .company-intro #hero-heading { font-size: clamp(1.875rem,8.25vw,2.8rem); }
  .streamlined #company .plant-gallery { grid-template-columns: minmax(0,1fr); }
  .streamlined #products .family button { padding: 6px 3px; font-size: .81rem; }
}

/* Preserve the photographed edges on all screens. */
.editorial.streamlined #company .company-story .plant-print {
  aspect-ratio: auto;
  max-height: none;
  object-fit: contain;
}
.streamlined #company .plant-gallery img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: #eee2d2;
}
.editorial.streamlined #specimen #model-photo {
  object-fit: contain;
  height: auto;
}
@supports (object-view-box: inset(1%)) {
  /* Show the intact second row of water tanks from the original manual page. */
  .editorial.streamlined #specimen #model-photo[data-product=pe] {
    object-view-box: inset(30.8% 13% 54.8% 13.5%);
    width: 100%;
    aspect-ratio: 3.8;
    object-fit: contain;
    background: white;
  }
}
.editorial.streamlined footer#contact {
  background: linear-gradient(105deg,#21150ff2,#593522d9),
    url(media/plate-print.svg) right top / 142px, #362118;
}
.industrial.streamlined footer#contact {
  background: linear-gradient(115deg,#10293ce8,#23475ce8),
    url(media/plate-print.svg) right top / 142px, #173349;
}

/* Title and photo share the same centre line; these controls only change the photo. */
.editorial.streamlined main > section.company-intro > .wrap:not(.grid) {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  justify-items: center;
  gap: clamp(18px,2.6vw,32px);
}
.editorial.streamlined .company-intro .front-content {
  max-width: 100%;
  width: 100%;
  justify-items: center;
  text-align: center;
  gap: 10px;
}
.editorial.streamlined .company-intro .front-summary { max-width: 48em; }
.editorial.streamlined .company-intro .btn-row { justify-content: center; }
.editorial.streamlined .hero-photo {
  position: relative;
  inset: auto;
  transform: none;
  display: grid;
  justify-self: center;
  width: min(100%, 920px);
  max-width: none;
  gap: 9px;
}
.editorial.streamlined .hero-photo .show-stage {
  height: auto;
  aspect-ratio: 16 / 9;
  background: #241c17;
}
.industrial.streamlined .hero-photo .show-stage { background: #132839; }
.editorial.streamlined .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.editorial.streamlined .hero-photo img[hidden],
.editorial.streamlined .hero-photo-controls[hidden] { display: none; }
.editorial.streamlined .hero-photo-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.hero-photo-controls button {
  min-height: 44px;
  padding: 6px clamp(8px,1.6vw,18px);
  border: 1px solid #ffe6d55c;
  border-radius: 8px;
  background: #fff0de16;
  color: #fff5ea;
  font: 600 .88rem/1.25 var(--font-text);
  cursor: pointer;
}
.hero-photo-controls button:hover { background: #fff0de36; }
.hero-photo-controls button[aria-pressed=true] { background: #ffecd7; color: #3f261d; border-color: #f8cea2; }
.industrial .hero-photo-controls button[aria-pressed=true] {
  background: #edf7fc;
  color: #183b54;
  border-color: #c2dce9;
}
.hero-photo-controls button:focus-visible { outline: 2px solid #ffe2ac; outline-offset: 3px; }
.editorial.streamlined .company-intro .front-facts { width: 100%; }

@media (min-width: 980px) {
  .editorial.streamlined .company-intro #hero-heading br { display: none; }
}
@media (max-width: 570px) {
  .editorial.streamlined .company-intro .front-content .btn-row { width: auto; }
}

/* Use text for navigation, including the model step controls on touch screens. */
body.editorial #models button[aria-pressed=false]::after,
body.editorial .credential-shelf span::after {
  content: none;
}
body.editorial #products .picker-step {
  width: auto;
  min-width: 76px;
  min-height: 44px;
  padding-inline: 12px;
  font: 600 .84rem/1.3 var(--font-text);
}
body.editorial #custom .application-list a {
  text-decoration: underline;
  text-decoration-color: #eac39c8c;
  text-underline-offset: 5px;
}

/* Keep the fixed call bar and header controls inside phone safe areas. */
:root {
  --phone-safe-top: env(safe-area-inset-top, 0px);
  --phone-safe-bottom: env(safe-area-inset-bottom, 0px);
  --phone-safe-left: env(safe-area-inset-left, 0px);
  --phone-safe-right: env(safe-area-inset-right, 0px);
  --phone-safe-side: max(var(--phone-safe-left), var(--phone-safe-right));
}
html {
  scroll-padding-top: calc(92px + var(--phone-safe-top));
  scroll-padding-bottom: calc(76px + var(--phone-safe-bottom));
}
body:is(.streamlined,.manual-paper) {
  padding-inline: var(--phone-safe-left) var(--phone-safe-right);
  padding-bottom: calc(68px + var(--phone-safe-bottom));
}
body:is(.streamlined,.manual-paper) .dial {
  padding-inline: var(--phone-safe-left) var(--phone-safe-right);
}
body:is(.streamlined,.manual-paper) .dial > .wrap {
  min-height: calc(60px + var(--phone-safe-bottom));
  padding-bottom: var(--phone-safe-bottom);
}
.editorial.streamlined .mast.nav {
  top: calc(12px + var(--phone-safe-top));
  width: min(720px, calc(100% - 32px - var(--phone-safe-side) - var(--phone-safe-side)));
}
body.manual-paper > .mast { padding-top: var(--phone-safe-top); }
@media (max-width:700px), (pointer:coarse) {
  .editorial.streamlined .mast.nav .mast-contact,
  body.manual-paper .mast .mast-contact {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .editorial.streamlined .mast-inner .nav-toggle { width: 44px; height: 44px; }
  .editorial.streamlined .mast-inner .brand { min-height: 44px; }
  body.manual-paper .reader nav a { min-height: 44px; }
  body.manual-paper .page-actions select { font-size: 16px; }
}
@media (max-width:360px) {
  body.manual-paper .page-actions { gap: 5px; }
  body.manual-paper .page-actions :is(button,select) { padding-inline: 5px; }
}
@media (max-width:700px) and (max-height:475px) {
  .editorial.streamlined .mast-inner #site-navigation {
    max-height: calc(100vh - 150px - var(--phone-safe-top) - var(--phone-safe-bottom));
    max-height: calc(100dvh - 150px - var(--phone-safe-top) - var(--phone-safe-bottom));
    overflow-y: auto;
  }
}
