/* Inner pages share the header and reading rhythm. Each layout follows its buyer task. */
.st-page-heading-photo { min-height: clamp(170px, 19vw, 270px); }
.st-page-heading-photo h1 {
  margin: 0;
  font-size: clamp(2.25rem, 3.8vw, 3.65rem);
  letter-spacing: -.045em;
}
.st-catalog-layout, .st-services-paths, .st-solutions-editorial, .st-about-editorial {
  padding-block: clamp(34px, 4.3vw, 62px) clamp(52px, 6vw, 86px);
}

/* Search stays beside the product results on desktop. */
.st-catalog-layout {
  display: grid;
  grid-template-columns: clamp(240px, 25%, 302px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 70px);
}
.st-catalog-layout .st-product-finder {
  min-width: 0;
  border-inline-end: 1px solid var(--rule);
  padding-inline-end: clamp(16px, 2vw, 26px);
  background: #fff;
}
.st-catalog-layout .st-product-finder-heading { display: block; }
.st-catalog-layout .st-product-finder-heading h2 { font-size: 1.42rem; }
.st-catalog-layout .st-product-result-count { margin-block-start: 12px; color: #18477c; font-weight: 650; }
.st-catalog-layout .st-product-filters { grid-template-columns: minmax(0, 1fr); align-items: start; }
.st-catalog-layout .st-product-filters .button { justify-content: center; }
.st-catalog-layout .st-product-finder .st-catalog-nav ul { display: grid; gap: 0; margin-block-start: 20px; }
.st-catalog-layout .st-catalog-nav li { border-block-end: 1px solid #d9e5ef; }
.st-catalog-layout .st-catalog-nav a { display: block; padding-block: 10px; }
.st-catalog-results .st-catalog-group:first-child { margin-block-start: 0; }
.st-catalog-results :is(.st-catalog-group, .st-product-row),
.st-solutions-editorial .st-solution-section,
.st-services-paths .st-service-path { scroll-margin-top: calc(var(--mast-height) + 16px); }
.st-catalog-results .st-catalog-group-heading { margin: 0; padding: 10px 0 13px; background: #fff; }
.st-catalog-results .st-catalog-group-heading h2 { color: #102b4d; }
.st-catalog-results .st-catalog-group .st-product-row { padding: 17px 0; }
.st-catalog-results .st-catalog-group .st-product-row { grid-template-columns: minmax(0, 1fr); }
.st-catalog-results .st-catalog-group .st-product-row-has-photo { grid-template-columns: clamp(64px, 9vw, 105px) minmax(0, 1fr); }
.st-catalog-results .st-product-title { color: #12518a; text-decoration: none; }
.st-catalog-results .st-product-title:hover { text-decoration: underline; }

/* Technical detail: give model actions priority, then specs and PDF. */
.st-model-detail { padding-block: clamp(27px, 3.8vw, 54px) clamp(54px, 6.5vw, 94px); }
.st-model-detail .st-model-summary { max-width: none; margin-block-start: 22px; }
.st-model-detail .st-model-summary:has(> :is(.st-product-visual, .st-model-document-visual)) {
  display: grid;
  grid-template-columns: minmax(200px, .78fr) minmax(0, 1.3fr);
  gap: clamp(22px, 6vw, 90px);
  align-items: center;
}
.st-model-summary:has(> .st-product-visual) > .st-model-document-visual { display: none; }
.st-model-detail .st-model-summary > .st-product-visual {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 264px;
  background: #fff;
}
.st-model-document-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 264px;
  padding: 20px;
  color: #12518a;
  font-size: .875rem;
  background: #fff;
}
.st-model-document-visual img {
  width: auto;
  height: clamp(162px, 20vw, 242px);
  max-width: 100%;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d9e5ef;
}
.st-model-detail h1 { color: #102b4d; font-size: clamp(2.4rem, 5.2vw, 4.5rem); }
.st-model-detail .st-model-type { margin-block-start: 7px; font-size: clamp(1.2rem, 2.15vw, 1.85rem); }
.st-model-detail .st-model-copy > .st-section-intro { max-width: 54ch; margin-block-start: 13px; font-size: 1.06rem; }
.st-model-reading {
  display: grid;
  grid-template: auto 1fr / minmax(0, 1.35fr) minmax(290px, 1fr);
  align-items: start;
  gap: 10px clamp(28px, 5.2vw, 72px);
  margin-block-start: clamp(32px, 5vw, 70px);
  padding-block-start: clamp(24px, 3vw, 42px);
  border-block-start: 1px solid #d9e5ef;
}
.st-model-reading .st-model-spec-heading { grid-column: 1; margin: 0; font-size: clamp(1.45rem, 2.15vw, 1.95rem); }
.st-model-reading .st-model-specs { grid-column: 1; margin: 0; }
.st-model-reading .st-model-specs > * { padding-block: 12px; }
.st-model-reading .st-model-specs dt { color: #102b4d; }
.st-model-reading .st-datasheet { grid-area: 1 / 2 / 3 / 3; margin: 0; background: #fff; }
.st-model-detail:has(.st-model-document-visual):not(:has(.st-product-visual)) .st-datasheet {
  grid-template-columns: minmax(0, 1fr);
}
.st-model-detail:has(.st-model-document-visual):not(:has(.st-product-visual)) .st-datasheet-cover { display: none; }

/* Application chapters are editorial: a large scene next to bounded use and selection guidance. */
.st-solutions-editorial .st-solution-section { align-items: start; gap: clamp(26px, 5vw, 70px); }
.st-solutions-editorial .st-solution-section:first-child { padding-block-start: 0; border-block-start: 0; }
.st-solutions-editorial .st-solution-photo { background: #edf4fa; }
.st-solutions-editorial .st-solution-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.st-solutions-editorial .st-solution-copy h2 { color: #102b4d; }
.st-solutions-editorial .st-solution-models li { line-height: 1.45; }

.st-page-heading-quote { background: #fff; color: var(--ink); border-bottom: 1px solid var(--rule); }
.st-page-heading-quote :is(.st-breadcrumbs, .st-breadcrumbs a) { color: var(--ink); }
.st-page-heading-quote a:focus-visible { outline-color: var(--accent); }
.st-service-layout, .st-company-layout, .st-contact-layout {
  display: grid; align-items: start; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: clamp(26px, 6vw, 86px);
}
.st-service-lead, .st-company-intro { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.24rem); max-width: 67ch; }
.st-service-index { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-weight: 650; }
.st-service-article section, .st-company-copy section { margin-block-start: 30px; padding-block-start: 23px; border-block-start: 1px solid var(--rule); }
.st-service-article section h2, .st-company-copy section h2 { margin-bottom: 10px; }
.st-service-article section h3 { margin-block-start: 17px; }
.st-service-article section ul { padding-inline-start: 22px; }
.st-company-copy > h2 { margin-bottom: 12px; }
.st-service-aside { border-block-start: 3px solid var(--deep); background: #edf4fa; }
.st-service-contact, .st-company-facts { padding: clamp(19px, 3vw, 35px); }
.st-service-contact h2, .st-company-facts h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin-bottom: 10px; }
.st-service-contact ul, .st-company-facts ul, .st-contact-details ul { margin: 14px 0; padding: 0; list-style: none; }
.st-service-contact li + li, .st-company-facts li + li, .st-contact-details li + li { margin-top: 6px; }
.st-service-contact a, .st-company-facts a, .st-contact-details a { overflow-wrap: anywhere; }
.st-service-contact .button { margin-top: 8px; }
.st-service-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 48% 48%; }
.st-company-facts { background: #edf4fa; border-block-start: 3px solid var(--deep); }
.st-company-facts dl { margin-bottom: 20px; }
.st-company-facts dl > div { padding-block: 10px; border-block-end: 1px solid var(--rule); }
.st-company-facts dt { color: var(--muted); font-size: .86rem; }
.st-company-facts dd { margin: 2px 0 0; font-weight: 650; }
.st-company-facts h3 { margin: 0; font-size: 1rem; }

.st-contact-layout { grid-template-columns: minmax(0, .86fr) minmax(0, 1.5fr); gap: clamp(18px, 4vw, 58px); }
.st-contact-details { grid-area: 1 / 1; color: #fff; background: #123657; padding: clamp(23px, 3.7vw, 52px); }
.st-contact-details h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); margin-bottom: 12px; }
.st-contact-details h3 { margin-top: 24px; font-size: 1rem; }
.st-contact-details a { color: #fff; }
.st-contact-details a:focus-visible { outline-color: #fff; }
.st-contact-details address { margin-top: 17px; font-style: normal; }
.st-enquiry-panel { grid-area: 1 / 2; padding: clamp(20px, 2.5vw, 35px); border: 1px solid var(--rule); }
.st-enquiry-panel h2 { margin-bottom: 14px; }
.st-enquiry-panel [data-enquiry-context] { color: var(--deep); margin-bottom: 14px; }
.st-enquiry-form:not([hidden]), .st-enquiry-form label { display: grid; gap: 7px; }
.st-enquiry-form:not([hidden]) { gap: 15px; }
.st-enquiry-form label { font-size: .93rem; font-weight: 620; }
.st-enquiry-form label [aria-hidden] { color: var(--deep); }
.st-enquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.st-enquiry-quantity { max-width: 156px; }
.st-enquiry-form input, .st-enquiry-form textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #99adc0; border-radius: 2px; background: #fff; color: inherit; font: inherit; font-weight: 450; }
.st-enquiry-form textarea { resize: vertical; }
.st-enquiry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.st-enquiry-form button { cursor: pointer; }
.st-enquiry-form .st-enquiry-help { margin: 0; color: var(--muted); font-size: .86rem; }

@media (min-width: 1000px) {
  .st-solutions-editorial #tanks-water .st-solution-copy { grid-column: 2; grid-row: 1; }
  .st-solutions-editorial #tanks-water .st-solution-photo { grid-column: 1; grid-row: 1; }
}
@media (max-width: 910px) {
  .st-catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .st-catalog-layout .st-product-filters { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: end; }
  .st-catalog-layout .st-product-finder .st-catalog-nav ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
}
@media (max-width: 700px) {
  .st-catalog-layout { gap: 18px; padding-block-start: 20px; }
  .st-catalog-layout .st-product-finder { padding: 0 0 10px; border-inline-end: 0; border-block-end: 1px solid var(--rule); }
  .st-catalog-layout .st-product-filters { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
  .st-catalog-layout .st-product-search { grid-column: 1 / -1; }
  .st-catalog-layout .st-product-filters .button { padding-inline: 10px; white-space: nowrap; }
  .st-catalog-layout .st-product-finder .st-catalog-nav ul { margin-block: 10px 0; }
  .st-catalog-results .st-catalog-group .st-product-row { padding-inline: 7px; }
  .st-catalog-results .st-catalog-group .st-product-row-has-photo { grid-template-columns: clamp(58px, 21vw, 90px) minmax(0, 1fr); }
  .st-model-detail .st-model-summary:has(> :is(.st-product-visual, .st-model-document-visual)) { grid-template-columns: minmax(0, 1fr); }
  .st-model-summary .st-model-copy { grid-row: 1; }
  .st-model-detail .st-model-summary > :is(.st-product-visual, .st-model-document-visual) { min-height: 0; }
  .st-model-reading { grid-template: auto / minmax(0, 1fr); }
  .st-model-reading .st-datasheet { grid-area: auto; margin-block-start: 10px; }
  .st-service-layout, .st-company-layout, .st-contact-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .st-service-aside img { aspect-ratio: 2; }
  .st-contact-details, .st-enquiry-panel { grid-area: auto; }
}
@media (max-width: 370px) {
  .st-enquiry-fields { grid-template-columns: minmax(0, 1fr); }
}
