:root {
  color-scheme: light;
  --ink: #142239;
  --muted: #48596a;
  --navy: #111e31;
  --navy-deep: #0c1727;
  --surface: #f0f3f6;
  --line: #d9e0e7;
  --amber: #ffbf55;
  --blue: #15518c;
  --white: #fff;
  --container: 80rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 1rem/1.55 "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
section[id] { scroll-margin-block-start: 1rem; }

:focus-visible {
  outline: 3px solid #2a80c8;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: .75rem;
  left: 1rem;
  padding: .65rem 1rem;
  background: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--container), calc(100% - clamp(2.25rem, 9vw, 9rem)));
  margin-inline: auto;
}

.site-header {
  background: var(--navy-deep);
  color: var(--white);
  border-bottom: 1px solid #ffffff25;
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark { flex: none; }
.wordmark img { width: 9.8rem; height: auto; }

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 3rem);
}

.navigation > a, .products-nav-entry > a { white-space: nowrap; }

.navigation a, .site-footer nav a {
  color: #e0e8ef;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}

.navigation a:hover, .site-footer nav a:hover { color: var(--amber); }

.products-nav { position: relative; }
.products-nav-entry { display: flex; align-items: center; gap: .2rem; }
.products-nav-toggle {
  display: grid;
  width: 2.25rem;
  min-height: 2.25rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: .25rem;
  background: transparent;
  color: #e0e8ef;
}
.products-nav-toggle::before {
  content: "";
  width: .49rem;
  height: .49rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-.1rem) rotate(45deg);
}
.products-nav-toggle:hover, .products-nav-toggle[aria-expanded="true"] { background: #ffffff14; color: var(--amber); }
.products-nav-toggle[aria-expanded="true"]::before { transform: translateY(.1rem) rotate(225deg); }
.products-nav-menu, .products-nav-children { margin: 0; padding: 0; list-style: none; }
.products-nav-menu {
  position: absolute;
  z-index: 10;
  inset-block-start: 100%;
  inset-inline-start: clamp(-20rem, -19vw, -12rem);
  display: grid;
  grid-template-areas:
    "ball check fittings"
    "gate globe fittings"
    "flanges flanges fittings"
    "strainers sight fittings";
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.15fr);
  gap: .45rem;
  inline-size: min(48rem, 78vw);
  max-block-size: calc(100dvh - 5rem);
  overflow: auto;
  padding: .6rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--white);
  box-shadow: 0 .75rem 1.75rem #1422392b;
}
.products-nav-group {
  min-width: 0;
  padding: .32rem;
  border-radius: .3rem;
  background: #f1f5f9;
}
.products-nav-group[data-category="ball"] { grid-area: ball; }
.products-nav-group[data-category="check"] { grid-area: check; }
.products-nav-group[data-category="gate"] { grid-area: gate; }
.products-nav-group[data-category="globe"] { grid-area: globe; }
.products-nav-group[data-category="fittings"] { grid-area: fittings; }
.products-nav-group[data-category="flanges"] { grid-area: flanges; }
.products-nav-group[data-category="strainers"] { grid-area: strainers; }
.products-nav-group[data-category="sight"] { grid-area: sight; }
.products-nav-group[data-category="flanges"] .products-nav-children { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.navigation .products-nav-menu a {
  display: block;
  padding: .36rem .52rem;
  border-radius: .22rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.35;
}
.navigation .products-nav-menu .products-nav-family { color: var(--ink); font-size: .9375rem; font-weight: 750; }
.navigation .products-nav-menu a:hover, .navigation .products-nav-menu a:focus-visible { color: var(--blue); background: #e2ebf4; }

.menu-toggle {
  display: none;
  min-height: 2.6rem;
  padding-inline: .7rem;
  border: 1px solid #627387;
  background: transparent;
  color: var(--white);
  font-size: .875rem;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  padding: .66rem 1.22rem;
  border: 1px solid transparent;
  border-radius: .22rem;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  transition: background-color .16s, border-color .16s, color .16s;
}

.button-amber { background: var(--amber); color: #182134; }
.button-amber:hover { background: #ffd37e; }
.button-outline { border-color: #7b8b9e; background: transparent; color: var(--white); }
.button-outline:hover { background-color: #ffffff18; border-color: var(--white); }
.button-dark { color: var(--white); background: var(--navy); }
.button-dark:hover { background: var(--blue); }
.button-light { color: var(--ink); border-color: #acb8c6; background: var(--white); }
.button-light:hover { background-color: var(--surface); }
.header-quote { min-height: 2.7rem; flex-shrink: 0; }

.hero {
  padding-top: clamp(2.35rem, 5vw, 5rem);
  background: linear-gradient(120deg, var(--navy-deep), #1b2f49);
  color: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1.6rem, 4.4vw, 4.65rem);
}

.hero-copy {
  align-self: center;
  padding-block: 1rem 1.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .63rem;
  color: #38546b;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .065em;
  line-height: 1.4;
}

.eyebrow span {
  width: 1.35rem;
  height: 2px;
  background: #b56a00;
  flex: none;
}

.hero .eyebrow, .quote-section .eyebrow { color: #dce7f1; }
.hero .eyebrow span, .quote-section .eyebrow span { background: var(--amber); }

h1 {
  margin-top: 1.35rem;
  font-size: clamp(2.9rem, 5.4vw, 5.65rem);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 700;
}

.hero-description {
  max-width: 30rem;
  margin-top: 1.35rem;
  color: #d5e0eb;
  font-size: clamp(1rem, 1.46vw, 1.22rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .72rem;
}

.hero .actions { margin-top: 1.75rem; }

.hero-product {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(21rem, 33vw, 30.5rem);
  border: 1px solid #dce6ef;
  border-radius: .32rem;
  background-color: #e6edf4;
  background-image: radial-gradient(ellipse at 51% 42%, #f9fbfd 8%, #e1eaf3 65%, #d5e0eb);
  color: var(--ink);
}

.hero-product img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  top: 46%;
  left: 53%;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}

.hero-product figcaption {
  position: absolute;
  z-index: 1;
  left: 1.2rem;
  bottom: 1.1rem;
  display: grid;
  gap: .12rem;
  padding: .55rem .8rem;
  border-left: 3px solid #be730b;
  background: #f9fbfdf0;
  line-height: 1.4;
}

.hero-product figcaption span { color: #465a6f; font-size: .875rem; }

.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(1.6rem, 3.8vw, 3.6rem);
  border-top: 1px solid #8a9bae51;
}

.hero-specs div { padding: 1.15rem clamp(.8rem, 2.5vw, 2.2rem); }
.hero-specs div:first-child { padding-left: 0; }
.hero-specs div + div { border-left: 1px solid #8a9bae51; }
.hero-specs dt { color: #c4d0de; font-size: .875rem; font-weight: 650; }
.hero-specs dd { font-weight: 700; }

.section { padding-block: clamp(3.25rem, 6vw, 6rem); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.15rem 2rem;
  margin-bottom: 1.9rem;
}

h2 {
  margin-top: .6rem;
  font-size: clamp(2.15rem, 4.3vw, 3.9rem);
  font-weight: 700;
}

h3 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); font-weight: 700; }
.section-intro { max-width: 30rem; margin-block: 1.1rem; color: var(--muted); }

.text-link {
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}

.text-link:hover { color: #102e4d; text-decoration-thickness: 2px; }

.catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.9rem, 1.6vw, 1.45rem);
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .35rem;
}

.product-image {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf1f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-image.product-lineup {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
}

.product-lineup img {
  position: absolute;
  inset-block-start: -2%;
  width: 55%;
  height: 59%;
}

.product-lineup img:first-child { inset-inline-start: 0; }
.product-lineup img:nth-child(2) { inset-inline-end: 0; }
.product-lineup img:last-child {
  inset: auto auto -6% 18%;
  width: 64%;
  height: 63%;
}

.product-lineup-upright img {
  inset-block-start: 0;
  width: 39%;
  height: 91%;
}

.product-lineup-upright img:last-child {
  inset: auto auto 0 28%;
  width: 44%;
  height: 94%;
}

.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 1.65vw, 1.5rem);
}

.product-copy p { margin-block: .6rem 1rem; color: var(--muted); }
.product-copy a { margin-top: auto; }
.range-note { margin-top: 1.6rem; color: var(--muted); }

.spec-section { background: var(--surface); }

.spec-layout, .quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(2rem, 7.5vw, 7rem);
}

.spec-list { border-top: 1px solid #c0cdd9; }
.spec-list div {
  display: grid;
  grid-template-columns: minmax(8rem, .74fr) minmax(0, 1.55fr);
  gap: .5rem 1.2rem;
  padding-block: 1rem;
  border-bottom: 1px solid #c0cdd9;
}
.spec-list dt { font-weight: 700; }
.spec-list dd { color: var(--muted); }

.quality-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.workshop-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: .35rem;
}

.support-list { border-top: 2px solid #bd7616; }
.support-list div { padding-block: .95rem; border-bottom: 1px solid var(--line); }
.support-list dt { font-size: 1.18rem; font-weight: 700; }
.support-list dd { margin-top: .28rem; color: var(--muted); }

.customer-section {
  background: #12243a;
  background-image: linear-gradient(90deg, #0d1b2ef5, #142942db 56%, #112439bd), url("assets/customer-workshop-wps.jpg");
  background-position: center;
  background-size: cover;
}

.customer-panel {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
}

.customer-intro h2 { margin: 0; color: var(--white); }
.customer-intro h2::before { content: ""; display: block; width: 2.6rem; height: 3px; margin-bottom: 1.15rem; background: var(--amber); }
.customer-intro p { max-width: 25rem; margin-top: 1.05rem; color: #e1ebf4; font-size: 1.08rem; }
.customer-intro .customer-avatar-note { color: #bccddd; font-size: .875rem; }

.customer-carousel {
  min-width: 0;
  border: 1px solid #d5e0ea;
  border-radius: .62rem;
  background: var(--white);
  box-shadow: 0 18px 38px #0713235e;
}

.customer-controls { padding: .74rem clamp(1rem, 3vw, 2.25rem) 1rem; border-top: 1px solid var(--line); }
.customer-navigation { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .3rem .65rem; }
.customer-controls .button { min-height: 2.65rem; }
.customer-dots { display: flex; justify-content: center; }
.customer-dot {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 2.65rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.customer-dot::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #8297ac; }
.customer-dot:hover::before { background: var(--blue); }
.customer-dot[aria-current="true"]::before { width: .82rem; height: .82rem; border: 2px solid #8d580f; background: var(--amber); }
.customer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .35rem; }
.customer-toolbar .button { min-height: 2.3rem; padding: .35rem .6rem; font-size: .875rem; }
#customer-position { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }

.customer-quotes {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: .62rem .62rem 0 0;
}

.customer-quotes:focus-visible { outline-offset: -4px; }

.customer-quote {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2.25rem);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.customer-topic {
  align-self: start;
  padding: .3rem .6rem;
  border-radius: .22rem;
  background: #e8eff6;
  color: #244868;
  font-size: .875rem;
  font-weight: 700;
}

.customer-quote blockquote {
  margin-block: .85rem .65rem;
  font-size: clamp(1.13rem, 2vw, 1.55rem);
  line-height: 1.35;
  font-weight: 500;
}

.customer-quote blockquote p::first-letter { text-transform: uppercase; }

.customer-quote blockquote::before {
  content: "“";
  display: block;
  height: 1.95rem;
  color: #a85d00;
  font: 4.35rem/.95 Georgia, serif;
}

.customer-story { margin-bottom: 1.25rem; color: var(--muted); }

.customer-quote figcaption {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid #d3e0ec;
  color: var(--muted);
  font-size: .875rem;
}

.customer-quote figcaption strong { color: var(--ink); font-size: 1rem; }
.customer-credit { display: grid; }

.customer-avatar {
  flex: none;
  width: 3.15rem;
  height: 3.15rem;
  border: 1px solid #cfdae5;
  border-radius: 50%;
  background: #e8eff6 url("assets/customer-avatars.jpg") 0 0 / 200% 200% no-repeat;
}

.customer-avatar[data-avatar="smith"] { background-position: 100% 0; }
.customer-avatar[data-avatar="sample"] { background-position: 0 100%; }
.customer-avatar[data-avatar="watson"] { background-position: 100% 100%; }

.quote-section { background: var(--navy); color: var(--white); }
.quote-section .section-intro { color: #d7e2ed; }
.quote-section address { display: grid; gap: .45rem; font-style: normal; }
.quote-section address a { width: fit-content; text-underline-offset: .2em; }
.quote-section address a:hover { color: var(--amber); }

.quote-panel {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: .35rem;
  background: var(--white);
  color: var(--ink);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.quote-panel label, .catalog-gate label {
  display: block;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 720;
}

.quote-panel small { color: var(--muted); font-size: .875rem; font-weight: 500; }

input, select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: .35rem;
  padding: .58rem .7rem;
  border: 1px solid #aab6c3;
  border-radius: .25rem;
  background-color: #fcfdff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

input, select { min-height: 2.75rem; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #546579; }

select {
  appearance: none;
  padding-right: 1.8rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 1rem center, right .65rem center;
  background-size: .36rem .36rem;
  background-repeat: no-repeat;
}

.details-label { margin-top: 1.05rem; }
.form-help { margin-block: .75rem 1rem; color: var(--muted); font-size: .875rem; }

.site-footer { background: var(--navy-deep); color: #d9e3ee; padding-block: 1.35rem; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.5rem; }
.site-footer p { font-size: .875rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-left: auto; }
.site-footer .wordmark img { width: 7.5rem; }

.sales-chat {
  position: fixed;
  z-index: 9;
  inset-inline-end: max(1rem, env(safe-area-inset-right, 0px));
  inset-block-end: max(1rem, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .65rem;
  width: min(20rem, calc(100% - 2rem));
  pointer-events: none;
}

.sales-chat-launcher,
.sales-chat-panel { pointer-events: auto; }

.sales-chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.8rem;
  padding: .5rem .95rem;
  border: 1px solid #384c65;
  border-radius: 2rem;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 3px 12px #0c172733;
  font-size: .9rem;
  font-weight: 700;
}

.sales-chat-launcher:hover { background: #253e5b; }

.sales-chat-icon {
  position: relative;
  width: .95rem;
  height: .7rem;
  border: 1.5px solid var(--amber);
  border-radius: .2rem;
}

.sales-chat-icon::after {
  position: absolute;
  inset-block-end: -.22rem;
  inset-inline-start: .1rem;
  width: .24rem;
  height: .24rem;
  border-inline-start: 1.5px solid var(--amber);
  transform: skewY(-34deg);
  content: "";
}

.sales-chat-panel {
  order: -1;
  width: 100%;
  max-height: calc(100vh - 5rem);
  max-height: calc(100dvh - 5rem);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--white);
  box-shadow: 0 5px 22px #0c17272b;
}

.sales-chat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .35rem .45rem .35rem .9rem;
  background: var(--navy);
  color: var(--white);
}

.sales-chat-heading h2 { margin: 0; font-size: 1rem; letter-spacing: 0; }

.sales-chat-close {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
}

.sales-chat-close:hover { background: #253e5b; }
.sales-chat-close:focus-visible { outline: 2px solid var(--amber); outline-offset: -3px; }
.sales-chat-content { display: grid; gap: .65rem; padding: .9rem; font-size: .9rem; }
.sales-chat-content p { color: var(--muted); }
.sales-chat-messages { display: grid; align-content: start; gap: .45rem; min-height: 5rem; max-height: 11rem; overflow: auto; }
.sales-chat-content .sales-chat-message, .sales-chat-message {
  justify-self: start;
  max-width: 90%;
  padding: .45rem .65rem;
  border-radius: .45rem;
  background: var(--surface);
  color: var(--ink);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.sales-chat-content .sales-chat-message[data-sender="visitor"] { justify-self: end; background: #e1edfa; }
.sales-chat-compose { display: flex; align-items: end; gap: .45rem; }
.sales-chat-compose textarea { flex: 1; margin: 0; min-height: 2.75rem; }
.sales-chat-compose .button { min-height: 2.75rem; padding: .45rem .7rem; }
.sales-chat-options { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .65rem; }
.sales-chat-sample { padding: 0; border: 0; background: none; text-decoration: underline; }

.inbox-login { display: grid; max-width: 25rem; gap: .75rem; }
.inbox-status:not(:empty) { margin-block: .7rem; color: var(--muted); }
.inbox-layout { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr); gap: 1.5rem; }
.inbox-layout h2 { margin: 0 0 .75rem; font-size: 1.3rem; }
.inbox-layout ul { max-height: 24rem; overflow: auto; padding: 0; list-style: none; }
.inbox-layout li button {
  width: 100%; padding: .65rem; border: 0; border-bottom: 1px solid var(--line);
  background: var(--surface); color: var(--ink); text-align: start; overflow-wrap: anywhere;
}
.inbox-layout li button[aria-pressed="true"] { background: #e1edfa; }
.inbox-thread { padding: 1rem; border: 1px solid var(--line); border-radius: .45rem; }
.inbox-thread .sales-chat-messages { min-height: 14rem; max-height: 50vh; margin-bottom: .8rem; }
.inbox-thread .sales-chat-message[data-sender="sales"] { justify-self: end; background: #e1edfa; }
@media (max-width: 42rem) {
  .inbox-layout { grid-template-columns: minmax(0, 1fr); }
}

.exit-offer {
  width: min(30rem, calc(100% - 2rem));
  padding: 0;
  border: 1px solid var(--line);
  border-block-start: .3rem solid var(--amber);
  border-radius: .7rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 44px #0c172743;
}

.exit-offer::backdrop { background: #0c172770; }

.exit-offer-content {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.15rem);
}

.exit-offer-close {
  position: absolute;
  inset-block-start: .35rem;
  inset-inline-end: .35rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

.exit-offer-close:hover { background: var(--surface); }
.exit-offer h2 { margin: 0; padding-inline-end: 1.35rem; font-size: clamp(1.65rem, 4vw, 2.2rem); }
.exit-offer p { margin-top: .8rem; color: var(--muted); }
.sample-request-form { display: grid; gap: .75rem; margin-top: 1rem; }
.sample-request-form .form-grid { gap: .75rem; }
.sample-request-form label { display: block; font-size: .9rem; font-weight: 650; }
.sample-request-form .button { width: 100%; }
.sample-request-form .button:disabled { cursor: wait; opacity: .75; }
.sample-request-status { padding: .75rem; border-radius: .35rem; background: #eef5ed; }
.exit-offer .sample-request-status[data-state="error"] { background: #fff0e9; color: #85381c; }
#thanks-reader iframe { display: block; width: 100%; height: min(75vh, 52rem); border: 1px solid var(--line); border-radius: .4rem; }

@media print {
  .sales-chat, .exit-offer { display: none; }
}

.navigation a:is([aria-current="page"], [aria-current="location"]) { color: var(--amber); text-decoration: underline; text-underline-offset: .36em; }

.page-intro {
  padding-block: clamp(2.75rem, 5vw, 5.35rem);
  background: radial-gradient(ellipse at 90% 20%, #273f5c, #15263d 55%, var(--navy-deep));
  color: var(--white);
}

.page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.65rem, 4.8vw, 5rem);
}

.page-intro .eyebrow { color: #dce7f1; }
.page-intro .eyebrow span { background: var(--amber); }
.page-intro .eyebrow a { text-underline-offset: .2em; }
.page-intro h1 { margin-top: .95rem; font-size: clamp(2.65rem, 5.15vw, 5.1rem); }
.page-intro-compact h1 { margin-top: 0; font-size: clamp(2.45rem, 4.5vw, 4.6rem); }
.product-history {
  display: flex;
  margin-block-end: clamp(1rem, 2vw, 1.6rem);
}
.product-history-inner {
  display: inline-flex;
  gap: .25rem;
  padding: .24rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: #f0f4f8;
}
.product-history button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding-inline: .9rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  background: var(--white);
  color: var(--blue);
  font-size: .9rem;
  font-weight: 700;
}
.product-history button span { font-size: 1.2em; line-height: 1; }
.product-history button:hover:enabled { border-color: #c3d4e5; background: #e7eff8; }
.product-history button:disabled { color: #677688; background: transparent; cursor: default; }
.product-family-grid > .product-history { grid-column: 1 / -1; margin-block-end: 0; }
@media screen {
  .section:has(> .product-history) { padding-block-start: clamp(1.5rem, 3.2vw, 2.75rem); }
}
.page-description { max-width: 39rem; margin-top: 1.2rem; color: #d5e0eb; font-size: clamp(1.05rem, 1.5vw, 1.24rem); }
.page-actions { margin-top: 1.6rem; }

.page-media {
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid #c6d4e2;
  border-radius: .45rem;
}

.page-media img { width: 100%; height: 100%; object-fit: cover; }
.page-product-media { background: radial-gradient(ellipse at center, #fff, #e3eaf2); }
.page-product-media img { mix-blend-mode: multiply; }
.detail-media img { object-fit: contain; }
.product-group-media img { padding: clamp(.75rem, 2vw, 1.5rem); }
.workshop-media img { transform: scale(1.045); }

.section-navigation { border-block-end: 1px solid var(--line); background: var(--surface); }
.section-navigation .container { display: flex; flex-wrap: wrap; gap: .65rem clamp(1.15rem, 3.3vw, 2.65rem); padding-block: .9rem; }
.section-navigation a { color: var(--ink); font-weight: 700; text-decoration: none; }
.section-navigation a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .24em; }
.family-navigation a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: .3em; }

.product-overview { background: #f6f8fb; }
.product-banner-carousel { min-width: 0; }
.product-banner-images { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.product-banner-images img {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
  opacity: 0;
  transition: opacity .36s ease;
}
.product-banner-images img.is-current { opacity: 1; }
.product-banner-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
  margin-top: .6rem;
  color: #dce7f1;
}
.product-banner-controls button {
  display: inline-grid;
  min-height: 2.25rem;
  place-items: center;
  border: 1px solid #ffffff42;
  border-radius: .25rem;
  background: #ffffff0d;
  color: var(--white);
  line-height: 1;
}
.product-banner-controls button:hover { border-color: #ffffff80; background: #ffffff20; }
.product-banner-step { width: 2.25rem; font-size: 1.4rem; }
.product-banner-playback { min-width: 4.25rem; padding-inline: .55rem; font-size: .8125rem; font-weight: 700; }
.product-banner-position { min-width: 2.7rem; text-align: center; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.product-family-navigation { border-bottom: 1px solid var(--line); background: var(--white); }
.product-family-navigation .container {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .2rem .5rem;
  padding-block: .32rem;
}
.product-family-navigation a {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  padding: .45rem;
  border-radius: .3rem;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
}
.product-family-navigation a:hover, .product-family-navigation a:focus-visible { color: var(--blue); background: #ecf2f8; }
.product-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 1.9vw, 1.55rem);
  padding-block: clamp(1.45rem, 3.2vw, 2.9rem) clamp(2rem, 4.5vw, 4rem);
}
.product-family-card {
  display: flex;
  flex-direction: column;
  padding: .7rem;
  scroll-margin-block-start: 1rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--white);
  text-decoration: none;
  transition: border-color .16s, box-shadow .16s;
}
.product-family-card:hover, .product-family-card:target { border-color: var(--blue); box-shadow: 0 .45rem 1.1rem #14223914; }
.product-image.product-family-image { aspect-ratio: 3 / 2; border-radius: .38rem; background: #edf2f6; }
.product-family-image img { width: 91%; height: 91%; mix-blend-mode: normal; }
.product-category-photo.product-lineup { aspect-ratio: 3 / 2; }
.product-category-photo.product-lineup img { mix-blend-mode: multiply; }
.product-category-photo.product-lineup img:not(:last-child) {
  inset-block-start: 6%;
  width: 42%;
  height: 41%;
}
.product-category-photo.product-lineup img:first-child { inset-inline-start: 7%; }
.product-category-photo.product-lineup img:nth-child(2) { inset-inline-end: 7%; }
.product-category-photo.product-lineup img:last-child {
  inset: auto auto 5% 26%;
  width: 48%;
  height: 46%;
}
.product-image.strainer-lineup {
  aspect-ratio: 3 / 2;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  column-gap: 2.5%;
  padding: 5%;
}
.product-image.strainer-lineup img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
}
.strainer-lineup img:first-child,
.strainer-lineup img:last-child { transform: translateY(8%); }
.product-family-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .4rem .75rem;
  padding: .85rem .45rem .4rem;
}
.product-family-copy h2 { margin: 0; font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.12; letter-spacing: -.035em; }
.product-family-copy p { grid-column: 1 / -1; color: var(--muted); }
.product-family-arrow {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #eaf0f6;
  color: var(--blue);
  font-size: 1.2rem;
  line-height: 1;
}
.product-family-card:hover .product-family-arrow, .product-family-card:focus-visible .product-family-arrow { background: var(--blue); color: var(--white); }
.product-overview-rfq { padding-block: clamp(1.6rem, 3.5vw, 2.8rem); }

.interior-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.interior-catalog .product { background: var(--white); }
.interior-catalog .product-image, .resource-grid .product-image { aspect-ratio: 16 / 9; }
.interior-catalog article[id], .series-detail[id] { scroll-margin-block-start: 1rem; }
#selection .actions { margin-top: 1.1rem; }

.buyer-guide-intro { padding-block: clamp(2.4rem, 4.2vw, 3.85rem); }
.buyer-guide-intro .page-media { aspect-ratio: 16 / 9; }
.buyer-guide-intro h1 { font-size: clamp(2.5rem, 4.65vw, 4.5rem); }
.buyer-guide-layout {
  display: grid;
  grid-template-columns: minmax(12rem, .25fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.9rem, 5vw, 5rem);
  padding-block: clamp(2rem, 5.3vw, 4.75rem) clamp(3rem, 6.2vw, 5.7rem);
}
.buyer-guide-toc { position: sticky; top: 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: .4rem; background: #f4f7fa; }
.buyer-guide-toc p { padding-inline: .5rem; font-size: .875rem; font-weight: 750; }
.buyer-guide-toc ul { display: grid; gap: .14rem; margin: .65rem 0 0; padding: .5rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.buyer-guide-toc a { display: block; padding: .43rem .5rem; border-radius: .22rem; text-decoration: none; font-weight: 600; line-height: 1.35; }
.buyer-guide-toc a:hover, .buyer-guide-toc a:focus-visible { color: var(--blue); background: #e2ebf4; }
.buyer-guide-content { container-type: inline-size; }
.buyer-guide-section { display: grid; gap: 1rem; }
.buyer-guide-section + .buyer-guide-section { margin-top: clamp(2.1rem, 4.4vw, 3.9rem); padding-top: clamp(1.9rem, 3.7vw, 3rem); border-top: 1px solid var(--line); }
.buyer-guide-section h2 { margin-top: 0; font-size: clamp(1.85rem, 3.4vw, 3rem); line-height: 1.12; }
.buyer-guide-section:target:not(.buyer-guide-contact) h2 { color: var(--blue); }
.buyer-guide-section p { max-width: 75ch; color: var(--muted); }
.buyer-guide-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: .2rem; }
.buyer-guide-cards-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.buyer-guide-cards .product-image { aspect-ratio: 16 / 10; }
.buyer-guide-cards h3 { font-size: clamp(1.18rem, 1.65vw, 1.42rem); line-height: 1.18; }
.buyer-guide-cards .product-copy p:last-child { margin-bottom: 0; }
.buyer-guide-list { margin: .1rem 0 0; }
.buyer-guide-list dt { font-weight: 750; }
.buyer-guide-list dd { margin: .24rem 0 0; color: var(--muted); }
.buyer-guide-list > div { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, 1fr); gap: .28rem 1.3rem; padding-block: .9rem; border-top: 1px solid var(--line); }
.buyer-guide-list:not(.buyer-guide-points) > div:last-child { border-bottom: 1px solid var(--line); }
.buyer-guide-list:not(.buyer-guide-points) dd { margin-top: 0; }
.buyer-guide-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.buyer-guide-points > div { display: block; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: .35rem; background: #f4f7fa; }
.buyer-guide-steps { display: grid; gap: .9rem; margin: .15rem 0 0; padding-left: 1.55rem; }
.buyer-guide-steps li { padding-left: .42rem; }
.buyer-guide-steps li::marker { color: var(--blue); font-weight: 750; }
.buyer-guide-steps p { margin-top: .15rem; }
.buyer-guide-section.buyer-guide-contact { padding: clamp(1.3rem, 3.5vw, 2.55rem); border: 0; border-radius: .5rem; background: var(--navy); color: var(--white); }
.buyer-guide-contact p { color: #dce7f2; }
.buyer-guide-rfq { padding-block: 1rem .2rem; border-top: 1px solid #ffffff40; }
.buyer-guide-rfq h3 { font-size: 1.2rem; }
.buyer-guide-rfq p { margin-top: .35rem; }
.buyer-guide-video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.65rem);
  padding: clamp(.85rem, 2.2vw, 1.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .38rem;
  background: #f4f7fa;
}
.buyer-guide-video-cover { position: relative; width: 100%; padding: 0; border: 0; }
.buyer-guide-video-cover:focus-visible { outline-offset: -4px; }
.buyer-guide-video-cover img { transition: transform .18s ease; }
.buyer-guide-video-cover:hover img { transform: scale(1.04); }
.buyer-guide-watch-label {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .52rem .65rem;
  color: var(--white);
  background: #132239eb;
  font-size: .85rem;
  font-weight: 750;
  line-height: 1.25;
}
.buyer-guide-watch-label::before { width: 0; height: 0; flex: none; border: .35rem solid transparent; border-right: 0; border-left: .55rem solid var(--amber); content: ""; }
.buyer-guide-video-copy .buyer-guide-steps { margin-top: .85rem; gap: .68rem; }
.buyer-guide-video-copy .buyer-guide-video-credit { margin-top: .8rem; font-size: .875rem; }
.buyer-guide-inline-media { overflow: hidden; border: 1px solid var(--line); border-radius: .35rem; background: var(--white); }
.buyer-guide-inline-media .buyer-guide-video-cover,
.buyer-guide-structure-videos .buyer-guide-video-cover { display: block; aspect-ratio: auto; background: var(--navy); }
.buyer-guide-inline-media .buyer-guide-video-cover { background: #edf1f5; }
.buyer-guide-inline-media .buyer-guide-watch-label { position: static; width: 100%; }
.buyer-guide-structure-videos .buyer-guide-watch-label { position: static; }
.buyer-guide-structure-videos .buyer-guide-video-cover img { height: auto; aspect-ratio: 16 / 9; }
.buyer-guide-inline-media img, .buyer-guide-inline-embed iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 12.5rem;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--navy);
}
.buyer-guide-inline-media img { background: transparent; transition: none; }
.buyer-guide-structure-videos .buyer-guide-video-cover img { object-fit: contain; mix-blend-mode: normal; transition: none; }
.buyer-guide-inline-media .buyer-guide-video-cover:hover img,
.buyer-guide-structure-videos .buyer-guide-video-cover:hover img { transform: none; }
.buyer-guide-inline-media .buyer-guide-video-cover:hover .buyer-guide-watch-label,
.buyer-guide-structure-videos .buyer-guide-video-cover:hover .buyer-guide-watch-label { background: var(--blue); }
.buyer-guide-inline-player .button { width: 100%; min-height: 2.3rem; border-width: 1px 0 0; border-radius: 0; }
.buyer-guide-with-image { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); align-items: start; gap: 1.3rem; }
#key-parts .buyer-guide-with-image { align-items: center; }
.buyer-guide-with-image .buyer-guide-list > div { grid-template-columns: minmax(0, 1fr); gap: .3rem; padding-block: .65rem; }
.buyer-guide-figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .38rem; background: var(--white); }
.buyer-guide-figure img { display: block; width: 100%; height: auto; max-height: 24rem; object-fit: contain; padding: .9rem; }
.fitting-cutaway-figure img { max-height: none; padding: .6rem; }
.buyer-guide-installation-figure img { max-height: none; padding: 0; }
.buyer-guide-figure figcaption { padding: .65rem .85rem; border-top: 1px solid var(--line); color: var(--muted); background: #f4f7fa; font-size: .875rem; }
.flange-face-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); gap: .75rem; }
.flange-face-gallery .buyer-guide-figure { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); align-items: center; }
.flange-face-gallery img { aspect-ratio: 1; max-height: 11rem; padding: .45rem; }
.flange-face-gallery figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: .75rem .85rem;
  border-top: 0;
  border-left: 1px solid var(--line);
  color: var(--ink);
}
.flange-face-gallery figcaption p { margin-top: .3rem; font-size: 1rem; font-weight: 400; }
.flange-standards { display: grid; gap: .65rem; }
.flange-standard-group {
  display: grid;
  grid-template-columns: minmax(0, 10.75rem) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .4rem;
}
.flange-standard-group h3 { padding: .9rem 1rem; background: #eef3f8; font-size: 1.05rem; line-height: 1.35; letter-spacing: -.015em; }
.flange-standard-list { display: flex; flex-wrap: wrap; align-items: start; gap: .5rem; margin: 0; padding: .65rem .75rem; list-style: none; }
.flange-standard-list li { display: grid; gap: .12rem; max-width: 100%; padding: .42rem .65rem; border: 1px solid var(--line); border-radius: .3rem; background: #f9fbfc; line-height: 1.4; }
.flange-standard-code { font-weight: 750; }
.flange-standard-link { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .6rem; }
.flange-standard-link span, .flange-standard-rating { font-size: .875rem; }
.flange-standard-rating { color: var(--muted); }
.buyer-guide-player {
  width: min(57rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: .55rem;
  background: var(--white);
  color: var(--ink);
  overflow: auto;
}
.buyer-guide-player::backdrop { background: #071321d9; }
.buyer-guide-player-bar { display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding: .65rem clamp(.7rem, 2vw, 1.1rem); }
.buyer-guide-player-bar h3 { font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 1.15; }
.buyer-guide-player-bar .button { min-height: 2.5rem; }
.buyer-guide-player-note { padding: .65rem clamp(.7rem, 2vw, 1.1rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.buyer-guide-player iframe { display: block; width: 100%; min-height: 12.5rem; max-height: calc(100dvh - 6rem); aspect-ratio: 16 / 9; border: 0; background: var(--navy); }

.interior-callout { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.interior-callout h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.interior-callout p { max-width: 42rem; margin-top: .65rem; color: var(--muted); }
.interior-callout > a { flex-shrink: 0; }

.series-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.series-detail {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .4rem;
}
.series-detail:target { border-color: var(--blue); }
.series-detail-linked { position: relative; }
.series-detail-linked:hover { border-color: var(--blue); }
.series-detail-link::after { position: absolute; inset: 0; content: ""; }
.series-detail-linked:focus-within { outline: 3px solid #2a80c8; outline-offset: 4px; }
.additional-series { padding-top: 0; }
.additional-series h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }

.series-photo { display: grid; align-items: center; background: #edf1f5; }
.series-photo img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.series-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1rem, 1.8vw, 1.4rem); }
.series-copy > p { margin-top: .6rem; color: var(--muted); }
.series-copy > a { margin-top: auto; }
.series-specs { display: grid; width: 100%; gap: .6rem; margin-block: .9rem 1rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.series-specs dt, .contact-address dt { font-weight: 700; }
.series-specs dd, .contact-address dd { color: var(--muted); }
.series-catalog-data { min-width: 0; padding-top: .65rem; border-top: 1px solid var(--line); }
.series-catalog-items { display: grid; gap: .28rem; margin: .25rem 0 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.series-catalog-items strong { color: var(--ink); }
.series-catalog-source { display: block; margin-top: .4rem; font-size: .875rem; }

.product-detail-media img { transform: scale(1.55); }
.product-detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 1.2rem;
  margin-block-start: 1.2rem;
  padding-block-start: 1rem;
  border-top: 1px solid #ffffff38;
}
.product-detail-specs dt { color: #d5e0eb; font-size: .875rem; }
.product-detail-specs dd { font-weight: 700; }
.product-dimension-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.product-dimension-table {
  width: 100%;
  border: 1px solid var(--line);
  border-collapse: collapse;
  text-align: start;
  font-variant-numeric: tabular-nums;
}
.product-dimension-table :is(th, td) { padding: .48rem clamp(.4rem, 2vw, 1.2rem); border-bottom: 1px solid var(--line); text-align: start; }
.product-dimension-table thead { background: var(--navy); color: var(--white); }
.product-dimension-table tbody tr:nth-child(even) { background: #f4f7fa; }
.product-dimension-table tbody th { white-space: nowrap; }
.product-dimension-source { margin-top: .75rem; color: var(--muted); font-size: .875rem; }

.model-search { display: grid; justify-items: start; gap: .4rem; margin-bottom: 1.2rem; }
.model-search label { font-weight: 700; }
.model-search input {
  width: min(100%, 30rem);
  min-height: 2.8rem;
  padding: .62rem .85rem;
  border: 1px solid #a7b7c8;
  border-radius: .3rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}
.model-search-status { color: var(--muted); font-size: .9rem; }
.model-search-status:empty { margin: 0; }
.model-groups { display: flex; flex-wrap: wrap; gap: .46rem; margin-bottom: 1.5rem; }
.model-groups a {
  padding: .35rem .65rem;
  border: 1px solid var(--line);
  border-radius: .28rem;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.model-groups a:hover { background: var(--surface); }
.model-group { scroll-margin-block-start: 1rem; }
.model-group + .model-group { margin-top: clamp(1.75rem, 4vw, 3rem); }
.model-group h3 { margin-bottom: .75rem; }
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: .86rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.model-tile { min-width: 0; scroll-margin-block-start: 1rem; }
.model-tile-anchor { display: block; scroll-margin-block-start: 1rem; }
.model-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: .4rem;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
}
a.model-link:hover, .model-tile:target .model-link, .model-tile:has(> .model-tile-anchor:target) .model-link { border-color: var(--blue); }
.model-image { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; background: #edf1f5; }
.model-image img { position: absolute; inset: 0; width: 100%; height: 100%; padding: .9rem; object-fit: contain; mix-blend-mode: multiply; }
.model-image img[src^="assets/product-photos/"] { padding: .35rem; }
.model-copy { display: flex; flex: 1; flex-direction: column; gap: .25rem; padding: .77rem .86rem .9rem; overflow-wrap: anywhere; }
.model-code { font-size: 1.12rem; color: var(--blue); }
.model-title { font-weight: 700; line-height: 1.34; }
.model-copy small { margin-top: auto; color: var(--muted); }

.model-detail-page h1 { font-size: clamp(2.05rem, 4.4vw, 4.1rem); overflow-wrap: anywhere; }
.model-detail-figure {
  display: grid;
  justify-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: #edf1f5;
}
.model-detail-figure img {
  width: 100%;
  height: clamp(13rem, 25vw, 24rem);
  padding: clamp(1.2rem, 3.5vw, 2.8rem);
  object-fit: contain;
  mix-blend-mode: multiply;
}
.model-detail-figure img[src^="assets/product-photos/"] { padding: clamp(.8rem, 2vw, 1.6rem); }
.model-image-with-port,
.model-detail-media-with-port {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .4fr);
  align-items: center;
}
.model-image-with-port {
  grid-template-rows: minmax(0, 1fr);
  gap: .3rem;
  padding: .45rem .55rem;
}
.model-image-with-port > img { position: static; min-width: 0; min-height: 0; }
.model-detail-media-with-port {
  width: 100%;
  gap: clamp(.35rem, 1vw, .85rem);
  padding-inline-end: clamp(.65rem, 2vw, 1.5rem);
}
.model-port-ball {
  display: grid;
  justify-self: center;
  width: 100%;
  max-width: 8rem;
  gap: .3rem;
  color: var(--ink);
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.12;
}
.model-detail-figure .model-port-ball { font-size: .85rem; }
.model-image .model-port-ball img, .model-detail-figure .model-port-ball img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border-radius: .32rem;
  mix-blend-mode: normal;
}
.model-detail-figure figcaption {
  width: 100%;
  padding: .6rem .9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-size: .875rem;
}
.model-specs { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 1.25rem; }
.model-spec-note { margin-bottom: 1.15rem; }
.model-standard { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.model-standard + .model-standard { margin-top: 2.1rem; padding-top: 2.1rem; border-top: 1px solid var(--line); }
.model-standard .model-spec-note { margin: 0; }
.model-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .8rem; }
.model-options > .model-standard { margin: 0; padding: .75rem; border: 1px solid var(--line); border-radius: .4rem; gap: .2rem; }
.model-options > .model-standard h3 { font-size: 1rem; margin: 0; }
.model-shared-specs { margin-top: 1.5rem; }
.model-shared-specs > h3 { margin-bottom: .9rem; }
.model-variant-list { min-width: 0; }
.model-spec-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.25rem; align-items: start; }
.model-drawings { display: grid; gap: .75rem; min-width: 0; }
.model-drawings h4 { margin: 0; font-size: 1.05rem; }
.model-drawing { margin: 0; padding: .85rem; border: 1px solid var(--line); border-radius: .4rem; background: #fff; }
.model-drawing img { display: block; width: auto; max-width: 100%; height: auto; max-height: 27rem; margin-inline: auto; object-fit: contain; }
.model-drawing figcaption { margin-top: .5rem; color: var(--muted); font-size: .86rem; }
.drawing-filter { position: absolute; pointer-events: none; }
:is(.model-image, .model-detail-figure) img[src*="-drawing-"] { filter: contrast(1.18); }
.model-detail-figure img[src*="-drawing-"] { object-fit: scale-down; }
[data-technical-drawing] { filter: url("#drawing-clarity") contrast(1.2); }
.model-drawing figcaption:has(.drawing-enlarge) { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .32rem .75rem; }
.drawing-enlarge { padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.buyer-guide-figure .drawing-enlarge { margin-inline-start: .65rem; }
.technical-drawing-viewer {
  width: min(67rem, calc(100% - 1.5rem));
  max-block-size: calc(100dvh - 1.5rem);
  padding: clamp(.75rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: var(--white);
  color: var(--ink);
}
.technical-drawing-viewer::backdrop { background: #101a2caa; }
.technical-drawing-viewer-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.technical-drawing-viewer-heading h2 { margin: 0; font-size: clamp(1.2rem, 3vw, 1.65rem); }
.technical-drawing-viewer-image img { display: block; width: 100%; height: min(73dvh, 56rem); object-fit: contain; }
.model-spec-section > .model-drawings { max-width: 35rem; margin-bottom: 1.6rem; }
.model-spec-section > .catalog-table-scroll { margin-top: 1.6rem; }
.catalog-table-note { margin-top: -.75rem; }
.actuator-catalog { padding-top: 0; }
.actuator-catalog .section-heading a { flex-shrink: 0; }
.actuator-catalog .model-standard > p { max-width: 76ch; margin: 0; }
.actuator-catalog .model-drawing { width: min(100%, 49rem); }
.actuator-example-panel {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.75rem);
  padding: clamp(1.1rem, 3vw, 2rem);
  border-radius: .9rem;
  background: var(--surface);
}
.actuator-sizing-panel { width: min(100%, 47rem); }
.actuator-example-panel h4 { margin: 0 0 .45rem; color: #a44309; font-size: 1.15rem; }
.actuator-example-lines { list-style: none; padding: 0; margin: 0; }
.actuator-example-lines + p { margin-top: .55rem; }
.actuator-spring-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}
.actuator-spring-layout .model-drawing { width: min(100%, 31rem); justify-self: center; padding: 0; border: 0; }
.actuator-spring-layout .model-drawing img { width: 100%; max-height: none; }
.actuator-catalog .catalog-table-scroll { width: 100%; }
.actuator-torque-model { min-width: 0; border: 1px solid var(--line); border-radius: .4rem; padding: .6rem .8rem; }
.actuator-torque-model summary { color: var(--blue); font-weight: 700; cursor: pointer; }
@media (max-width: 760px) {
  .model-spec-layout, .actuator-spring-layout { grid-template-columns: minmax(0, 1fr); }
}

@page welflow-product { margin: 11mm; }

@media print {
  .product-history { display: none; }
  .drawing-enlarge, .technical-drawing-viewer { display: none !important; }
  [data-technical-drawing] { filter: contrast(1.18); }
  .model-detail-page { page: welflow-product; color: #000; background: #fff; }
  .model-detail-page :is(.site-header, .site-footer, .skip-link, .spec-section, .actions, [data-print-product]) { display: none !important; }
  .model-detail-page .container { width: 100%; max-width: none; margin: 0; padding: 0; }
  .model-detail-page .page-intro { color: #000; background: #fff; padding: 0 0 3mm; }
  .model-detail-page .page-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 37mm;
    align-items: start;
    gap: 4mm;
    break-inside: avoid;
  }
  .model-detail-page .page-intro :is(h1, p, dt, dd, a) { color: #000; }
  .model-detail-page .eyebrow { margin: 0 0 1mm; }
  .model-detail-page h1 { font-size: 20pt; margin: 0 0 2mm; }
  .model-detail-page .page-description { font-size: 9pt; margin: 0 0 2mm; }
  .model-detail-page .product-detail-specs { padding: 0; gap: 1mm 3mm; }
  .model-detail-page .product-detail-specs :is(dt, dd) { font-size: 8.5pt; }
  .model-detail-page :is(.model-detail-figure, .product-detail-media, .model-drawing, .buyer-guide-figure) {
    margin: 0;
    border: 0;
    padding: 0;
    color: #000;
    background: #fff;
    break-inside: avoid;
  }
  .model-detail-page :is(.model-detail-figure, .product-detail-media) img { width: 100%; height: 32mm; padding: 0; object-fit: contain; }
  .model-detail-page .model-detail-media-with-port { gap: 1mm; padding-inline-end: 0; }
  .model-detail-page .model-port-ball { gap: 1mm; font-size: 6pt; }
  .model-detail-page .model-detail-media-with-port .model-port-ball img { height: auto; }
  .model-detail-page figure figcaption { padding: 0; margin: 1mm 0 0; border: 0; font-size: 7.5pt; }
  .model-detail-page #dimensions { padding: 0; font-size: 8.5pt; }
  .model-detail-page .actuator-catalog { display: none; }
  .model-detail-page #dimensions :is(h2, h3, h4, caption) { break-after: avoid; }
  .model-detail-page #dimensions h2 { font-size: 15pt; }
  .model-detail-page #dimensions h3 { margin: 0; font-size: 11pt; }
  .model-detail-page #dimensions h4 { margin: 0; font-size: 9pt; }
  .model-detail-page #dimensions .section-heading { margin-bottom: 1mm; }
  .model-detail-page :is(.model-standard, .model-specs, .model-options, .model-drawings, .model-spec-layout, .product-dimension-layout) { display: block; }
  .model-detail-page .model-spec-layout:has(.model-drawings) { display: flow-root; }
  .model-detail-page .model-spec-layout > .model-drawings,
  .model-detail-page .product-dimension-layout > figure { float: left; width: 30%; margin: 0 4mm 2mm 0; }
  .model-detail-page .model-variant-layout > .model-drawings { float: none; width: 100%; margin: 0 0 2mm; }
  .model-detail-page .model-variant-layout:has(.model-drawings > figure:only-of-type) > .model-drawings {
    float: left;
    width: 27%;
    margin-right: 4mm;
  }
  .model-detail-page .model-variant-list { display: contents; }
  .model-detail-page .model-variant-list > .model-standard { display: flow-root; }
  .model-detail-page .model-shared-specs { margin-top: 2mm; }
  .model-detail-page .model-drawings { max-width: none; margin: 0 0 2mm; }
  .model-detail-page .model-drawings > figure { display: inline-block; vertical-align: top; width: min(100%, 52mm); margin: 0 2mm 1mm 0; }
  .model-detail-page .model-drawing img { max-height: 35mm; }
  .model-detail-page .model-spec-layout .model-specs,
  .model-detail-page .product-dimension-layout > div { display: flow-root; }
  .model-detail-page .model-standard + .model-standard { margin-top: 2mm; padding-top: 2mm; }
  .model-detail-page .model-options > .model-standard { display: inline-block; border: 0; margin: 1mm 4mm 1mm 0; padding: 0; }
  .model-detail-page .model-options > .model-standard h3 { font-size: 8.5pt; }
  .model-detail-page .catalog-table-scroll { width: 100%; overflow: visible; }
  .model-detail-page .catalog-table-scroll caption { padding: 1mm 0; }
  .model-detail-page .catalog-table-note { margin: 1mm 0; }
  .model-detail-page .product-dimension-table { width: 100%; min-width: 0; font-size: 8pt; line-height: 1.2; }
  .model-detail-page .product-dimension-table thead { display: table-header-group; }
  .model-detail-page .product-dimension-table tr { break-inside: avoid; }
  .model-detail-page #dimensions .product-dimension-table :is(th, td) {
    color: #000;
    background: #fff;
    padding: .45mm .9mm;
    white-space: normal;
    overflow-wrap: normal;
  }
  .model-detail-page #dimensions .product-dimension-table tbody th { white-space: nowrap; }
  .model-detail-page .product-dimension-source { margin: 1mm 0 2mm; font-size: 7.5pt; }
}
.catalog-table-scroll { width: min(100%, 59rem); min-width: 0; overflow-x: auto; }
.catalog-table-scroll caption { padding: .65rem 0; font-weight: 700; text-align: start; }
.catalog-table-scroll .product-dimension-table :is(th, td) { padding: .45rem .75rem; }
.actuator-torque-model .product-dimension-table :is(th, td) { padding-inline: .6rem; white-space: nowrap; }
.actuator-torque-model .product-dimension-table th[scope="colgroup"] { border-inline-start: 1px solid #ffffff40; }
.actuator-torque-model .product-dimension-table tbody .catalog-row-highlight { background: #fff0ce; font-weight: 700; }
.catalog-dimensions :is(th, td) { white-space: nowrap; }
.catalog-dimensions thead th { white-space: normal; }

@media (max-width: 37rem) {
  .model-groups, .family-navigation .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-groups a { display: flex; align-items: center; line-height: 1.3; }
  .family-navigation .container { align-items: center; gap: .5rem .7rem; }
  .model-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); gap: .63rem; }
  .model-copy { padding: .63rem; }
  .model-code { font-size: 1rem; }
  .model-title { font-size: .9rem; }
  .model-image img { padding: .66rem; }
}

.process-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .38rem; }
.process-photo figcaption { margin-top: .6rem; color: var(--muted); font-size: .875rem; }
.resource-card .product-copy h2 { margin-block: 0 .15rem; font-size: clamp(1.28rem, 1.9vw, 1.55rem); }
.resource-card .product-copy .resource-topic { margin: 0 0 .5rem; color: var(--blue); font-size: .875rem; font-weight: 700; }

.contact-layout { gap: clamp(1.8rem, 6vw, 5rem); }
.contact-address { margin-block: 1.45rem; font-style: normal; }
.contact-address dl { max-width: 25rem; border-top: 1px solid var(--line); }
.contact-address dl > div { padding-block: .85rem; border-bottom: 1px solid var(--line); }
.contact-address dd { margin-top: .2rem; }
.contact-layout .quote-panel { border: 1px solid var(--line); background: #f4f7fa; }
.contact-form-title { margin: 0 0 1.15rem; font-size: clamp(1.7rem, 2.4vw, 2.3rem); }

.company-milestones { padding-block: clamp(1.55rem, 3vw, 2.45rem); border-bottom: 1px solid var(--line); background: #f3f6f8; }
.company-milestones h2 { margin-top: 0; font-size: clamp(1.5rem, 2.7vw, 2.15rem); }
.milestone-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem clamp(1rem, 3vw, 2.2rem); margin: 1.1rem 0 0; padding: 0; list-style: none; }
.milestone-list li { padding-top: .65rem; border-top: 1px solid #c7d3de; }
.milestone-list time { color: var(--blue); font-size: .9375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.milestone-list h3 { margin-top: .28rem; font-size: 1.08rem; letter-spacing: -.015em; line-height: 1.3; }
.milestone-list p { margin-top: .32rem; color: var(--muted); }

.library-intro { padding-block: clamp(2.25rem, 4.8vw, 4rem); color: var(--white); background: linear-gradient(112deg, #15273e, #244563); }
.library-intro-inner { display: flex; justify-content: space-between; align-items: end; gap: 1.1rem 2rem; }
.library-intro h1 { margin: 0; font-size: clamp(2.5rem, 5.2vw, 4.5rem); }
.library-intro p { max-width: 44rem; margin-top: .8rem; color: #dce8f2; font-size: 1.1rem; }
.download-info p { margin-top: .8rem; color: var(--muted); font-size: 1.1rem; }
.library-intro .button { flex-shrink: 0; }
.catalog-library { padding-block: clamp(1.25rem, 3.5vw, 2.6rem) clamp(2.5rem, 6vw, 5rem); background: #f1f5f8; }
.publication-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.95rem, 2vw, 1.6rem); margin-block: 0; padding: 0; list-style: none; }
.publication-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: .72rem; background: var(--white); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.publication-card:hover, .publication-card:focus-within { border-color: #97acc2; box-shadow: 0 8px 25px #1d35511c; }
.publication-cover {
  display: grid;
  place-items: center;
  height: clamp(12rem, 17.5vw, 15.25rem);
  padding: 1.2rem 1.1rem 1.35rem;
  border-bottom: 1px solid #dae4ec;
  background: radial-gradient(ellipse at 50% 10%, #f8fbfd, #dce7ef 92%);
}

.publication-pdf .publication-cover { border-color: #e8e4da; background: radial-gradient(ellipse at 50% 10%, #faf9f5, #ebe6dc 92%); }
.publication-cover img { width: auto; max-width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: .1rem; box-shadow: 5px 10px 18px #18355032; }
.publication-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(1rem, 1.8vw, 1.45rem); }
.publication-format { margin-bottom: .55rem; color: var(--blue); font-size: .8125rem; font-weight: 700; }
.publication-copy h2 { margin: 0; font-size: clamp(1.27rem, 1.9vw, 1.65rem); line-height: 1.15; }
.publication-copy p { margin-block: .55rem 1.1rem; color: var(--muted); }
.publication-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: auto; }
.publication-actions .button { min-height: 2.65rem; padding-inline: .84rem; }
.publication-actions a { position: relative; z-index: 1; }
.publication-preview::after { position: absolute; inset: 0; content: ""; }
.publication-pdf:hover .button-dark { background: var(--blue); }

.catalog-dialog { width: min(40rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 1.5rem); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: .65rem; color: var(--ink); background: var(--white); box-shadow: 0 22px 80px #07132160; }
.catalog-dialog::backdrop { background: #071321d4; }
.catalog-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .85rem clamp(.85rem, 2vw, 1.4rem); border-bottom: 1px solid var(--line); background: var(--white); }
.catalog-dialog-header h2 { margin-top: 0; font-size: clamp(1.22rem, 2.2vw, 1.72rem); line-height: 1.15; }
.catalog-dialog-header .actions { flex-shrink: 0; }
.catalog-dialog-header .button { min-height: 2.55rem; }
.catalog-gate { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
.catalog-gate-cover { display: grid; place-items: center; padding: 1.35rem; background: #e7eef5; }
.catalog-gate-cover img { width: 100%; height: auto; border-radius: .12rem; box-shadow: 4px 8px 18px #21375038; }
.catalog-gate form { padding: clamp(1.1rem, 3vw, 1.65rem); }
.catalog-gate p { color: var(--muted); }
.catalog-gate label { margin-top: .85rem; }
.catalog-gate button { margin-top: 1.2rem; }

.download-page { padding-block: clamp(2.5rem, 6vw, 6rem); background: #f1f5f8; }
.download-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 5vw, 4rem); }
.download-info h1 { margin-top: .9rem; font-size: clamp(2.3rem, 4vw, 3.8rem); }
.download-cover { margin-top: 1.4rem; }
.download-cover img { width: auto; height: clamp(13rem, 23vw, 18rem); box-shadow: 4px 11px 22px #243b5633; }
.download-panel { border: 1px solid var(--line); }
.download-panel h2 { margin-top: 0; font-size: clamp(1.65rem, 3vw, 2.3rem); }
.download-panel label { margin-top: .9rem; }
.download-panel button { margin-top: 1.3rem; }
#catalog-download-status { display: flex; flex-wrap: wrap; gap: .35rem .85rem; margin-top: 1.1rem; padding-top: .8rem; border-top: 1px solid var(--line); }

@media (max-width: 60rem) {
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .publication-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-image { aspect-ratio: 7 / 4; }
  .hero-product { min-height: 21rem; }
}

@media (max-width: 68rem) {
  .header-inner { min-height: 4.25rem; flex-wrap: wrap; gap: .65rem; padding-block: .7rem; }
  .wordmark img { width: 8.2rem; }
  .menu-toggle { display: inline-flex; align-items: center; margin-left: auto; }
  .header-quote { order: 1; min-height: 2.6rem; padding-inline: .65rem; font-size: .875rem; }
  .navigation { order: 2; width: 100%; flex-wrap: wrap; gap: .5rem 1.25rem; padding-block: .35rem; }
  .menu-toggle:not([hidden]) + .navigation:not(.is-open) { display: none; }
  .navigation a { padding-block: .35rem; }
  .products-nav { min-width: 0; }
  .products-nav:has(.products-nav-toggle[aria-expanded="true"]) { flex-basis: 100%; }
  .products-nav-menu {
    position: static;
    grid-template-areas:
      "ball check"
      "gate globe"
      "fittings fittings"
      "flanges flanges"
      "strainers sight";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    inline-size: auto;
    max-block-size: none;
    margin-top: .35rem;
  }
  .products-nav-group[data-category="fittings"] .products-nav-children { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 52rem) {
  .product-family-navigation .container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-section { background-size: cover, auto 155%; }
  .customer-panel { grid-template-columns: minmax(0, 1fr); gap: 1.55rem; }
  .series-grid, .product-dimension-layout { grid-template-columns: minmax(0, 1fr); }
  .interior-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buyer-guide-layout { grid-template-columns: minmax(0, 1fr); }
  .buyer-guide-toc { position: static; }
  .buyer-guide-toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .5rem; }
  .buyer-guide-with-image { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 46rem) {
  .hero-inner, .spec-layout, .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 0; }
  .hero-product { min-height: 0; aspect-ratio: 5 / 4; }
  .hero-product img { inset: .1rem 0 auto; height: calc(100% - 3.1rem); transform: none; }
  .hero-specs { grid-template-columns: minmax(0, 1fr); }
  .hero-specs div { padding: .72rem 0; display: grid; grid-template-columns: 1fr 1.5fr; gap: .75rem; }
  .hero-specs div + div { border-left: 0; border-top: 1px solid #8a9bae51; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .quality-layout { grid-template-columns: minmax(0, 1fr); }
  .site-footer nav { margin-left: 0; width: 100%; }
  .page-intro-grid, .download-layout, .milestone-list { grid-template-columns: minmax(0, 1fr); }
  .library-intro-inner { flex-direction: column; align-items: start; }
  .download-cover { display: none; }
  .interior-callout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 32rem) {
  .product-family-navigation .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-family-grid { grid-template-columns: minmax(0, 1fr); }
  .flange-standard-group { grid-template-columns: minmax(0, 1fr); }
  .catalog { gap: .75rem; }
  .product-copy { padding: .85rem; }
  .product-copy p { margin-bottom: .7rem; }
  .form-grid, .spec-list div { grid-template-columns: minmax(0, 1fr); }
  .interior-catalog, .resource-grid { grid-template-columns: minmax(0, 1fr); }
  .buyer-guide-cards, .buyer-guide-points, .buyer-guide-list > div { grid-template-columns: minmax(0, 1fr); }
  .flange-face-gallery .buyer-guide-figure { grid-template-columns: minmax(0, 1fr); }
  .flange-face-gallery figcaption { border-top: 1px solid var(--line); border-left: 0; }
  .publication-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-dialog { width: calc(100% - .9rem); }
  .catalog-dialog-header .actions { flex-shrink: 1; }
  .catalog-gate { grid-template-columns: minmax(0, 1fr); }
  .catalog-gate-cover { display: none; }
  .series-detail { grid-template-columns: minmax(0, 1fr); }
  .series-photo { aspect-ratio: 16 / 9; }
  .series-photo img { width: 100%; height: 100%; min-height: 0; }
  .hero-product figcaption { left: .65rem; bottom: .65rem; padding: .35rem .55rem; }
  .hero-product figcaption strong { font-size: .9375rem; }
}

@media (max-width: 23rem) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: .4rem; }
  .wordmark img { width: min(100%, 6.6rem); }
  .header-inner .menu-toggle { margin-left: 0; }
  .header-inner .navigation { grid-column: 1 / -1; }
  .hero .actions .button { flex: 1 1 9rem; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .customer-controls .button { padding-inline: .75rem; }
  .customer-navigation { grid-template-columns: 1fr 1fr; }
  .customer-navigation .customer-dots { grid-column: 1 / -1; grid-row: 2; }
}

/* Keep the three construction examples together as the guide column narrows. */
.buyer-guide-structure-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@container (max-width: 39rem) {
  .buyer-guide-video-feature { grid-template-columns: minmax(0, 1fr); }
}

@container (max-width: 46rem) {
  .buyer-guide-structure-videos { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .buyer-guide-structure-videos .product {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    align-items: center;
  }
  .buyer-guide-structure-videos .product-copy { padding: .85rem; }
}

@container (max-width: 24rem) {
  .buyer-guide-structure-videos .product { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
