@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-semibold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --blue: #0040b3;
  --blue-dark: #002a73;
  --blue-deep: #001e52;
  --green: #0aae6c;
  --green-dark: #078653;
  --ivory: #d2c19d;
  --product-bg: #f2f4f5;
  --soft-bg: #f7f9fb;
  --text: #1f2937;
  --muted: #5f6b7a;
  --border: #dce3ea;
  --white: #fff;
  --danger: #b42318;
  --shadow-sm: 0 12px 30px rgba(18, 43, 78, 0.08);
  --shadow-md: 0 22px 50px rgba(18, 43, 78, 0.14);
  --radius-sm: 4px;
  --radius-md: 8px;
  --container: 1280px;
  --header-height: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.dialog-open {
  overflow: hidden;
}

.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ivory);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--blue-dark);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 5vw, 4rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 3.4vw, 2.75rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

p {
  margin-bottom: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 5000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-dark);
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.section { padding: 92px 0; }
.content-section { padding: 78px 0; }

/* Section rhythm utilities. These classes separate visual, standard, media and
   consecutive-copy sections without changing page content or component order. */
.section--large { padding-block: 106px; }
.section--standard { padding-block: 88px; }
.section--compact { padding-block: 58px; }
.section--media { padding-block: 82px; }

/* Capabilities uses page-scoped density mapping so its consecutive supply
   stages can be tightened without changing any content or affecting other pages. */
body[data-page-type="capabilities"] section[aria-labelledby="stages-title"],
body[data-page-type="capabilities"] section[aria-labelledby="processes-title"] {
  padding-block: clamp(56px, 6vw, 88px);
}

body[data-page-type="capabilities"] section[aria-labelledby="stock-title"],
body[data-page-type="capabilities"] section[aria-labelledby="cut-title"],
body[data-page-type="capabilities"] section[aria-labelledby="near-net-title"],
body[data-page-type="capabilities"] section[aria-labelledby="cnc-title"],
body[data-page-type="capabilities"] section[aria-labelledby="delivery-title"] {
  padding-block: clamp(52px, 5.7vw, 82px);
}

body[data-page-type="capabilities"] section[aria-labelledby="rough-title"],
body[data-page-type="capabilities"] section[aria-labelledby="large-title"],
body[data-page-type="capabilities"] section[aria-labelledby="allowance-title"],
body[data-page-type="capabilities"] section[aria-labelledby="secondary-title"],
body[data-page-type="capabilities"] section[aria-labelledby="repeat-title"],
body[data-page-type="capabilities"] section[aria-labelledby="inputs-title"] {
  padding-block: clamp(40px, 4vw, 58px);
}

.section-soft,
.content-section.is-soft {
  background: var(--soft-bg);
}
body.home .section-soft[data-section="06"] { background-color: #fff; }

.section-lead {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

.eyebrow,
.kicker,
.banner-kicker,
.form-kicker {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.narrow-heading {
  max-width: 880px;
  margin-bottom: 52px;
  text-align: center;
}

.narrow-heading > p:last-child {
  margin-bottom: 0;
}

/* Full-width section headings may use the available desktop container while
   split layouts and ordinary supporting copy retain their reading widths. */
@media (min-width: 1025px) {
  .buyer-entry .narrow-heading,
  .applications-section .narrow-heading,
  body[data-page-type="home"] .narrow-heading,
  .content-section > .container:not(.content-grid):not(.about-intro-grid):not(.capability-quality-panel) > .content-heading {
    max-width: 1200px;
  }

  .buyer-entry .narrow-heading > .section-lead,
  .applications-section .narrow-heading > .section-lead,
  body[data-page-type="home"] .narrow-heading > .section-lead {
    max-width: 1100px;
    margin-inline: auto;
  }

  .buyer-entry .narrow-heading > p:not(.section-lead):not(.eyebrow),
  .applications-section .narrow-heading > p:not(.section-lead):not(.eyebrow) {
    max-width: 1100px;
    margin-inline: auto;
  }

  .inquiry-section.home-inquiry-balance {
    padding-bottom: 64px;
  }

  .inquiry-section.home-inquiry-balance .container.narrow-heading {
    max-width: 1000px;
  }

  body[data-page-type="home"] .narrow-heading > p:not(.section-lead):not(.eyebrow) {
    max-width: 880px;
    margin-inline: auto;
  }

  .content-section > .container:not(.content-grid):not(.about-intro-grid):not(.capability-quality-panel) > .content-heading > p:not(.eyebrow) {
    max-width: 75ch;
  }
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading > p,
.muted-copy {
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}

.button-secondary:hover {
  color: var(--white);
  background: var(--blue);
}

.button-light {
  color: var(--blue-dark);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--green);
}

.button-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.58);
}

.button-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button-whatsapp {
  color: var(--white);
  background: #128c7e;
}

.button-whatsapp:hover {
  background: #0d7469;
}

.button-whatsapp svg {
  width: 21px;
  fill: currentColor;
}

.button-row,
.section-action {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.section-action {
  justify-content: center;
  margin-top: 48px;
}

.section-action-left {
  justify-content: flex-start;
}

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--blue);
  font-weight: 600;
}

/* Shared header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 1px solid rgba(220, 227, 234, 0.9);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 48px), 1380px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand-link {
  display: inline-flex;
  width: 236px;
  flex: 0 0 auto;
  align-items: center;
}

.brand-link img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 34px);
}

.primary-nav > a:not(.button),
.nav-parent-link {
  position: relative;
  padding: 30px 0 27px;
  color: #26364b;
  font-size: 0.94rem;
  font-weight: 600;
}

.primary-nav > a:not(.button)::after,
.nav-parent-row::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button):focus-visible::after,
.nav-parent-row:hover::after,
.nav-parent-row:focus-within::after,
.nav-parent-row.is-open::after {
  transform: scaleX(1);
}

.primary-nav > a.is-current::after,
.nav-parent-row.is-current::after {
  transform: scaleX(1);
}

.primary-nav > a.is-current,
.nav-parent-link.is-current,
.products-toggle.is-current,
.capabilities-toggle.is-current,
.mega-column a[aria-current="page"],
.capabilities-menu a[aria-current="page"] {
  color: var(--blue);
}

.nav-parent-row {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-parent-link {
  display: inline-flex;
  align-items: center;
}

.products-toggle,
.capabilities-toggle {
  display: inline-flex;
  width: 28px;
  height: 44px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  color: #26364b;
  background: none;
  border: 0;
  cursor: pointer;
}

.products-toggle svg,
.capabilities-toggle svg {
  width: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.products-toggle[aria-expanded="true"] svg,
.capabilities-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-products,
.nav-capabilities {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  display: grid;
  visibility: hidden;
  width: min(760px, 80vw);
  grid-template-columns: 1fr 1.15fr;
  gap: 38px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-46%, 10px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-products .mega-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translate(-46%, 0);
}

.mega-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-heading {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mega-column a {
  padding: 8px 10px;
  color: var(--text);
  border-left: 2px solid transparent;
  font-size: 0.9rem;
  line-height: 1.35;
}

.mega-column a:hover,
.mega-column a:focus-visible {
  color: var(--blue);
  background: var(--soft-bg);
  border-left-color: var(--green);
}

.capabilities-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  display: flex;
  visibility: hidden;
  width: min(400px, 86vw);
  flex-direction: column;
  gap: 2px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-44%, 10px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-capabilities .capabilities-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translate(-44%, 0);
}

.capabilities-menu a {
  padding: 9px 10px;
  color: var(--text);
  border-left: 2px solid transparent;
  font-size: .88rem;
  line-height: 1.35;
}

.capabilities-menu a:hover,
.capabilities-menu a:focus-visible {
  color: var(--blue);
  background: var(--soft-bg);
  border-left-color: var(--green);
}

.header-cta {
  min-height: 44px;
  padding-inline: 20px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  background: var(--blue-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Homepage hero */
.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  align-items: center;
  background: var(--blue-dark);
}

.hero-slides,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 800ms ease, transform 6s linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 30, 82, 0.94) 0%, rgba(0, 42, 115, 0.83) 43%, rgba(0, 42, 115, 0.42) 74%, rgba(0, 30, 82, 0.5) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 96px 132px;
}

.hero-copy {
  width: min(650px, 52%);
  color: var(--white);
}

.hero-copy h1,
.hero-copy .kicker {
  color: var(--white);
}

.hero-subtitle {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.hero-advantages {
  display: grid;
  margin: 0 0 36px;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  list-style: none;
}

.hero-advantages li {
  position: relative;
  padding-left: 25px;
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 600;
}

.hero-advantages li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--green);
  content: "";
}

.hero-controls {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(0, 30, 82, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  cursor: pointer;
}

.hero-arrow svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.56);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.hero-dot.is-active {
  width: 26px;
  background: var(--green);
  border-radius: 999px;
}

/* Homepage content */
.two-card-grid,
.product-grid,
.feature-grid,
.condition-grid,
.value-grid,
.process-grid,
.application-image-grid,
.application-text-grid,
.inquiry-steps,
.advantage-grid,
.related-grid,
.overview-route-grid {
  display: grid;
}

.two-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.entry-card {
  position: relative;
  min-height: 300px;
  padding: 42px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.entry-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 110px;
  height: 6px;
  background: var(--ivory);
  content: "";
}

.entry-card-accent::after { background: var(--green); }
.entry-number { display: block; margin-bottom: 32px; color: var(--blue); font-size: .85rem; font-weight: 700; letter-spacing: .16em; }
.entry-card p { color: var(--muted); }

.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(18, 43, 78, .04);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover { border-color: #becbe0; box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.product-image { display: block; overflow: hidden; aspect-ratio: 4/3; background: var(--product-bg); }
.products-section .product-image { aspect-ratio: 16/10; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 260ms ease; }
.product-card:hover .product-image img { transform: scale(1.02); }
.product-copy { display: flex; flex: 1; flex-direction: column; padding: 28px 28px 30px; }
.product-copy h3 { font-size: 1.28rem; }
.product-copy p { color: var(--muted); font-size: .94rem; }
.card-button { display: inline-flex; align-self: flex-start; margin-top: auto; padding: 10px 0 6px; color: var(--blue); border-bottom: 2px solid var(--green); font-size: .92rem; font-weight: 700; }

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: 78px;
  align-items: center;
}

.split-copy > p:not(.section-lead) { color: var(--muted); }
.image-collage { position: relative; min-width: 0; width: 100%; max-width: 100%; min-height: 460px; }
.image-collage > img.image-main { min-width: 0; width: 84% !important; max-width: 84%; height: auto !important; max-height: 420px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }
.image-collage > img.image-inset { position: absolute; right: 0; bottom: 0; min-width: 0; width: 50% !important; max-width: 50%; height: auto !important; max-height: 180px; aspect-ratio: 4/3; object-fit: cover; border: 8px solid var(--white); box-shadow: var(--shadow-md); }
.feature-grid { gap: 0; margin-top: 70px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-item { padding: 32px 34px 30px; border-right: 1px solid var(--border); }
.feature-item:last-child { border-right: 0; }
.feature-mark { display: block; width: 34px; height: 4px; margin-bottom: 22px; background: var(--ivory); }
.feature-item h3, .condition-grid h3, .value-grid h3, .application-text-grid h3 { font-size: 1.05rem; letter-spacing: 0; }
.feature-item p, .condition-grid p, .value-grid p, .application-text-grid p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.framed-image { margin: 0; padding: 22px; background: var(--product-bg); border: 1px solid var(--border); }
.framed-image img { width: 100%; max-height: 440px; aspect-ratio: 4/3; object-fit: cover; }
.condition-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 66px; }
.condition-grid article { min-height: 160px; padding: 26px; background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--blue); }
.condition-grid article:nth-child(4), .condition-grid article:nth-child(7) { border-top-color: var(--green); }
.why-layout { grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); }
.wide-image { min-width: 0; width: 100% !important; max-width: 100%; margin: 0; overflow: hidden; background: var(--product-bg); box-shadow: var(--shadow-sm); }
.wide-image > img,
img.wide-image { display: block; min-width: 0; width: 100% !important; max-width: 100%; aspect-ratio: 4/3; object-fit: cover; }
#custom-casting .wide-image img { object-fit: contain !important; object-position: center !important; }
#custom-casting .wide-image > img.capabilities-custom-casting-single-image,
#custom-casting .wide-image > figure.wp-block-image > img.capabilities-custom-casting-single-image {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: center;
}

#custom-casting .wide-image > figure.wp-block-image {
  width: 100%;
  margin: 0;
}

#machining-blanks .wide-image > img,
#machining-blanks .wide-image > figure.wp-block-image > img {
  object-fit: contain !important;
  object-position: center;
}

#machining-blanks .wide-image > figure.wp-block-image {
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

#machining-blanks .wide-image > figure.wp-block-image > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

#packaging-delivery .capabilities-packaging-single-media {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}
#packaging-delivery .capabilities-packaging-single-media > img {
  display: block;
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: center;
  margin: 0;
}

/* Canonical single-image media: clear legacy gallery sizing only within the
 * two Capabilities sections that now contain one combined image.  The image
 * defines the media height in normal document flow. */
#custom-casting .wide-image.capabilities-custom-casting-single-media,
#custom-casting .wide-image:has(> img.capabilities-custom-casting-single-image),
#custom-casting .wide-image:has(> figure.wp-block-image > img.capabilities-custom-casting-single-image),
#packaging-delivery .wide-image.capabilities-packaging-single-media {
  width: 100% !important;
  min-width: 0;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  background: transparent;
}

#custom-casting .wide-image.capabilities-custom-casting-single-media > figure.wp-block-image,
#custom-casting .wide-image:has(> figure.wp-block-image > img.capabilities-custom-casting-single-image) > figure.wp-block-image,
#packaging-delivery .wide-image.capabilities-packaging-single-media > figure.wp-block-image {
  width: 100% !important;
  min-width: 0;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

#custom-casting .wide-image.capabilities-custom-casting-single-media > img.capabilities-custom-casting-single-image,
#custom-casting .wide-image:has(> figure.wp-block-image > img.capabilities-custom-casting-single-image) > figure.wp-block-image > img.capabilities-custom-casting-single-image,
#packaging-delivery .wide-image.capabilities-packaging-single-media > img.capabilities-packaging-single-image,
#packaging-delivery .wide-image.capabilities-packaging-single-media > figure.wp-block-image > img.capabilities-packaging-single-image {
  display: block;
  min-width: 0;
  min-height: 0 !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  max-height: none !important;
  margin: 0;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
}

/* The custom-casting media item must opt out of the split-layout row's
 * stretch behavior.  Its own height is the natural height of the image. */
#custom-casting .wide-image.capabilities-custom-casting-single-media,
#custom-casting .wide-image:has(> img.capabilities-custom-casting-single-image),
#custom-casting .wide-image:has(> figure.wp-block-image > img.capabilities-custom-casting-single-image) {
  display: block !important;
  align-self: start !important;
  justify-self: stretch;
  overflow: visible;
}

/* The v4 migration removes the legacy wide-image/gallery wrapper from
 * Custom Casting. Keep this dedicated media container in normal flow so the
 * image alone determines its height, even when the parent split row stretches
 * its grid items. */
#custom-casting > .container.split-layout > .capabilities-custom-casting-single-media {
  display: block !important;
  align-self: start !important;
  justify-self: stretch;
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0;
  padding: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
}

#custom-casting > .container.split-layout > .capabilities-custom-casting-single-media > img.capabilities-custom-casting-single-image {
  display: block !important;
  min-width: 0;
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  max-height: none !important;
  margin: 0;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
}

/* Legacy Custom Casting fallback rhythm (used only before the fixed
 * structure migration has run). */
#custom-casting {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding-block: 58px;
}

/* Keep the section's content row intrinsic as well.  This clears any legacy
 * height/row sizing inherited by the split grid without changing its columns
 * or the media markup. */
#custom-casting > .container.split-layout {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-content: start !important;
  grid-template-rows: auto !important;
}

@media (max-width: 1024px) {
  #custom-casting {
    padding-block: 52px;
  }
}

@media (max-width: 768px) {
  #custom-casting {
    padding-block: 46px;
  }
}

@media (max-width: 600px) {
  #custom-casting {
    padding-block: 40px;
  }
}
section[aria-labelledby="release-title"] .quality-release-media-grid {
  align-self: stretch;
  contain: size;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  min-height: 0;
}
section[aria-labelledby="release-title"] .quality-release-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--product-bg);
  box-shadow: var(--shadow-sm);
}
section[aria-labelledby="release-title"] .quality-release-grid-item img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}
.value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 72px; background: var(--border); border: 1px solid var(--border); }
.value-grid article { min-height: 150px; padding: 28px; background: var(--white); }

.capabilities-section { color: rgba(255,255,255,.82); background: var(--blue-dark); }
.section-heading-light h2, .section-heading-light .section-lead, .section-heading-light > p { color: var(--white); }
.section-heading-light > p { opacity: .78; }
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.process-card { overflow: hidden; background: var(--white); }
.process-card img { min-width: 0; width: 100% !important; max-width: 100%; height: clamp(170px, 14vw, 220px) !important; max-height: clamp(170px, 14vw, 220px); object-fit: cover; }
.process-card > div { padding: 27px; }
.process-card span, .inquiry-steps span { display: block; margin-bottom: 16px; color: var(--green); font-size: .85rem; font-weight: 700; letter-spacing: .14em; }
.process-card h3 { min-height: 2.4em; font-size: 1.16rem; }
.process-card p, .inquiry-steps p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.application-image-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.application-image-grid article { position: relative; min-width: 0; min-height: 340px; overflow: hidden; background: var(--blue-dark); }
.application-image-grid img { min-width: 0; min-height: 0; width: 100% !important; height: 100% !important; max-width: 100%; max-height: 100%; object-fit: cover; opacity: .78; }
.application-image-grid article::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,30,82,.06) 25%, rgba(0,30,82,.94) 100%); content: ""; }
.application-image-grid article > div { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 30px 26px; color: var(--white); }
.application-image-grid h3 { color: var(--white); font-size: 1.12rem; }
.application-image-grid p { margin-bottom: 0; color: rgba(255,255,255,.8); font-size: .88rem; }
.application-text-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.application-text-grid article { min-height: 190px; padding: 26px 22px; background: var(--soft-bg); border-top: 3px solid var(--ivory); }

.quality-layout { display: grid; grid-template-columns: minmax(0,.92fr) minmax(480px,1.08fr); gap: 80px; align-items: start; }
.quality-intro > p:not(.section-lead) { color: var(--muted); }
.quality-intro img { width: 100%; margin: 34px 0 28px; aspect-ratio: 4/3; object-fit: cover; }
.inspection-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.inspection-list li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--border); }
.inspection-list > li > span { color: var(--green); font-size: .85rem; font-weight: 700; letter-spacing: .12em; }
.inspection-list h3 { margin-bottom: 6px; font-size: 1.08rem; }
.inspection-list p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.home-quality-balance .quality-layout > p:empty { display: none; }
.home-quality-balance .home-quality-copy > p:last-child { margin-bottom: 0; }

.case-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(500px,1.1fr); gap: 80px; align-items: center; }
.case-copy > p:not(.section-lead) { color: var(--muted); }
.case-section.home-case-balance .case-layout > p:empty { display: none; }
.case-section.home-case-balance .case-copy > p:last-child { margin-bottom: 0; }
.case-summary { margin: 34px 0; }
.case-summary div { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--border); }
.case-summary div:last-child { border-bottom: 1px solid var(--border); }
.case-summary dt { color: var(--blue); font-weight: 700; }
.case-summary dd { margin: 0; color: var(--muted); }
.case-gallery { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 220px 240px; gap: 12px; }
.case-gallery > :is(img, figure) { min-width: 0; width: 100% !important; max-width: 100%; height: 100% !important; margin: 0; overflow: hidden; }
.case-gallery > img,
.case-gallery > figure > img { display: block; min-width: 0; min-height: 0; width: 100% !important; height: 100% !important; max-width: 100%; max-height: 100%; margin: 0; object-fit: cover; object-position: center; }
.case-gallery:not(.case-gallery-four):not(.home-balanced-gallery) > :is(img, figure):nth-child(2) { grid-row: span 2; }

.inquiry-section { background: var(--soft-bg); }
.inquiry-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.inquiry-steps article { padding: 34px; background: var(--white); }
.inquiry-steps h3 { font-size: 1.18rem; }
.helpful-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(380px,.76fr); gap: 70px; align-items: center; margin-top: 64px; }
.helpful-layout > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.helpful-list { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 28px; list-style: none; }
.helpful-list li, .check-list li { position: relative; padding-left: 22px; color: var(--muted); }
.helpful-list li::before, .check-list li::before { position: absolute; top: .58em; left: 0; width: 8px; height: 8px; background: var(--green); content: ""; }

.final-cta,
.page-final-cta { position: relative; overflow: hidden; padding: 88px 0; color: var(--white); background: var(--blue-dark); }
.final-cta-bg { position: absolute; inset: 0; overflow: hidden; }
.final-cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.final-cta-bg::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,30,82,.97) 0%, rgba(0,42,115,.9) 58%, rgba(0,30,82,.76) 100%); content: ""; }
body.home .final-cta[data-section="13"] .final-cta-bg { background-image: url("../images/content/cast-nylon-contact-banner-engineering-drawing-v2.webp"); background-position: center; background-repeat: no-repeat; background-size: cover; }
.final-cta-inner, .page-final-cta .container { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 70px; align-items: center; }
.final-cta h2, .final-cta .section-lead, .page-final-cta h2, .page-final-cta .section-lead { color: var(--white); }
.final-cta-actions { display: flex; min-width: 230px; flex-direction: column; gap: 12px; }
.whatsapp-link { color: var(--white); font-size: .92rem; font-weight: 600; text-align: center; }

@media (min-width:1200px) {
  body.home .final-cta[data-section="13"] { padding-block: 60px; }
}

/* Compact banners and product pages */
.compact-banner {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.compact-banner::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,30,82,.97) 0%, rgba(0,42,115,.9) 52%, rgba(0,30,82,.36) 100%);
  content: "";
}

.compact-banner-image {
  position: absolute;
  inset: 0 0 0 44%;
  width: 56%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
}

.compact-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 320px;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  padding-block: 52px;
}

.compact-banner-copy {
  max-width: 780px;
}

.compact-banner h1,
.compact-banner .section-lead,
.compact-banner .banner-kicker {
  color: var(--white);
}

.compact-banner h1 {
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 4.7vw, 3.75rem);
}

.compact-banner .section-lead {
  max-width: 720px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.85);
}

.compact-banner--quote { min-height: 270px; }
.compact-banner--quote .compact-banner-inner { min-height: 270px; padding-block: 38px; }

.banner-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.banner-benefits li {
  position: relative;
  padding-left: 18px;
  font-size: .9rem;
  font-weight: 600;
}

.banner-benefits li::before {
  position: absolute;
  top: .58em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--green);
  content: "";
}

.breadcrumbs {
  padding: 18px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  font-size: .87rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: #9aa6b5;
  content: "/";
}

.breadcrumbs a { color: var(--blue); }
.breadcrumbs li:last-child { color: var(--muted); }

.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 72px;
  align-items: center;
}

.product-intro-copy > p:not(.section-lead) { color: var(--muted); }
.product-intro-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin-top: 28px; }
.product-intro-actions .button { min-height: 48px; }
.product-gallery { min-width: 0; }
.gallery-main { display: grid; overflow: hidden; min-height: 500px; place-items: center; background: var(--product-bg); border: 1px solid var(--border); }
.gallery-main img { width: 100%; height: 500px; padding: 12px; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 3px 3px 10px; }
.gallery-thumb { width: 92px; height: 72px; flex: 0 0 auto; padding: 3px; overflow: hidden; background: var(--white); border: 2px solid var(--border); cursor: pointer; }
.gallery-thumb.is-active { border-color: var(--green); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

.content-heading {
  max-width: 850px;
  margin-bottom: 46px;
}

.content-heading p,
.content-copy p {
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  align-items: start;
}

/* The About flexible-supply-stages heading is the final item in its grid
   column; remove its generic trailing margin so the section's visible bottom
   spacing matches the existing top padding. */
section[aria-labelledby="stages-title"] > .container.content-grid > .content-heading {
  margin-bottom: 0;
}

@media (min-width: 1025px) {
  section[aria-labelledby="stages-title"] {
    padding-bottom: 44px;
  }

  /* On Contact, the inquiry heading occupies a standalone grid column;
     suppress its generic trailing margin only while the columns are side by
     side so the section's visible bottom spacing matches its top padding. */
  section[aria-labelledby="include-title"] .content-heading {
    margin-bottom: 0;
  }
}

.advantage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.advantage-card { min-height: 230px; padding: 28px; background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--blue); }
.advantage-card:nth-child(even) { border-top-color: var(--green); }
.advantage-card h3 { font-size: 1.08rem; }
.advantage-card p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
}

.spec-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.spec-table th {
  color: var(--white);
  background: var(--blue-dark);
  font-size: .9rem;
}

.spec-table td:first-child {
  width: 31%;
  color: var(--blue-dark);
  font-weight: 600;
}

.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:nth-child(even) { background: var(--soft-bg); }

.check-list,
.application-list,
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 28px; }
.process-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.process-list li { padding: 28px; background: var(--white); }
.process-list strong { display: block; margin-bottom: 10px; color: var(--blue-dark); }
.process-list span { display: block; margin-bottom: 16px; color: var(--green); font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.process-list p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

.application-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.application-list li { position: relative; min-height: 100px; padding: 22px 22px 22px 44px; background: var(--white); border: 1px solid var(--border); }
.application-list li::before { position: absolute; top: 30px; left: 22px; width: 9px; height: 9px; background: var(--green); content: ""; }

.related-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.related-card { display: flex; min-height: 150px; flex-direction: column; padding: 25px; background: var(--white); border: 1px solid var(--border); }
.related-card h3 { font-size: 1.05rem; }
.related-card p { color: var(--muted); font-size: .88rem; }
.related-card a { margin-top: auto; color: var(--blue); font-weight: 700; }

.faq-list {
  max-width: 960px;
}

.faq-list details {
  border-top: 1px solid var(--border);
}

.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; padding: 22px 46px 22px 0; color: var(--blue-dark); cursor: pointer; font-size: 1.05rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 22px; right: 8px; color: var(--green); content: "+"; font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 44px 22px 0; color: var(--muted); }

.overview-route-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.route-card { padding: 30px; background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--ivory); }
.route-card:nth-child(2) { border-top-color: var(--green); }
.route-card:nth-child(3) { border-top-color: var(--blue); }
.route-card p { margin-bottom: 0; color: var(--muted); }

.product-group-title {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 36px;
}

.product-group-title::after {
  height: 1px;
  flex: 1;
  background: var(--border);
  content: "";
}

.product-group-title h2 { margin-bottom: 0; }
.notice-panel { padding: 28px 32px; color: var(--text); background: #eef5ff; border-left: 4px solid var(--blue); }
.notice-panel p:last-child { margin-bottom: 0; }

/* Applications, capabilities, quality, about and contact */
.industry-overview-grid,
.application-sector-grid,
.media-pair,
.document-option-grid,
.download-card-grid,
.supply-scope-grid,
.role-card-grid,
.principles-grid,
.contact-card-grid,
.contact-action-grid {
  display: grid;
}

.selection-inputs { margin-top: 54px; }

.industry-overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.industry-overview-card {
  min-height: 235px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
}

.industry-overview-card:nth-child(3n+2) { border-top-color: var(--green); }
.industry-overview-card:nth-child(3n) { border-top-color: var(--ivory); }
.industry-overview-card > span,
.supply-stage-grid > li > span,
.quality-checkpoint-grid > li > span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.industry-overview-card h3 { font-size: 1.08rem; }
.industry-overview-card p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

.industry-feature-grid {
  display: grid;
  grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.industry-feature-grid.is-reversed > :is(img, figure):first-child { order: 2; }
.industry-feature-grid > :is(img, figure) { min-width: 0; width: 100% !important; max-width: 100%; margin: 0; overflow: hidden; background: var(--product-bg); }
.industry-feature-grid > img,
.industry-feature-grid > figure > img { display: block; min-width: 0; width: 100% !important; max-width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.application-detail-list { margin: 28px 0 0; }
.application-detail-list > div { padding: 16px 0; border-top: 1px solid var(--border); }
.application-detail-list > div:last-child { border-bottom: 1px solid var(--border); }
.application-detail-list dt { margin-bottom: 5px; color: var(--blue-dark); font-size: .9rem; font-weight: 700; }
.application-detail-list dd { margin: 0; color: var(--muted); font-size: .9rem; }

.application-sector-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.application-sector-grid article {
  padding: 30px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--ivory);
}

.application-sector-grid article:nth-child(even) { border-top-color: var(--green); }
.application-sector-grid h3 { font-size: 1.15rem; }
.application-sector-grid p { color: var(--muted); font-size: .88rem; }
.application-sector-grid p:last-child { margin-bottom: 0; }
.spec-table a { color: var(--blue); font-weight: 600; }

.case-gallery-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 250px);
}

.case-gallery-four > :is(img, figure):nth-child(2) { grid-row: auto; }

.supply-stage-grid,
.quality-checkpoint-grid {
  display: grid;
  margin: 54px 0 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  list-style: none;
}

.supply-stage-grid > li,
.quality-checkpoint-grid > li {
  min-height: 240px;
  padding: 26px;
  background: var(--white);
}

.supply-stage-grid h3,
.quality-checkpoint-grid h3 { font-size: 1.02rem; }
.supply-stage-grid p,
.quality-checkpoint-grid p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }

.media-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.media-pair > :is(img, figure) { min-width: 0; width: 100% !important; max-width: 100%; margin: 0; overflow: hidden; background: var(--product-bg); }
.media-pair > img,
.media-pair > figure > img { display: block; min-width: 0; width: 100% !important; max-width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.media-pair-compact { margin-top: 28px; }
.media-pair-compact img { aspect-ratio: 16/8; }
#cnc-machining .cnc-machining-secondary-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  height: auto;
  margin-top: 18px;
}
#cnc-machining .cnc-machining-secondary-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: var(--product-bg);
}
#cnc-machining .cnc-machining-secondary-item img {
  display: block;
  min-width: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 600px) {
  #cnc-machining .cnc-machining-secondary-media { grid-template-columns: 1fr; }
}

.process-tag-grid {
  display: grid;
  margin: 48px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.process-tag-grid li {
  min-height: 82px;
  display: grid;
  padding: 20px;
  place-items: center;
  color: var(--blue-dark);
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  font-weight: 700;
}

.document-option-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.document-option-grid article { min-height: 175px; padding: 24px; background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--blue); }
.document-option-grid h3 { font-size: 1rem; }
.document-option-grid p { margin-bottom: 0; color: var(--muted); font-size: .84rem; }

.download-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.download-card { min-width: 0; padding: 30px; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--green); }
.download-card > span { display: inline-block; margin-bottom: 18px; padding: 5px 9px; color: var(--white); background: var(--blue); font-size: .72rem; font-weight: 700; }
.download-card h3 { font-size: 1.08rem; overflow-wrap: anywhere; }
.download-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .7fr);
  gap: 80px;
  align-items: start;
}

.company-facts { margin: 0; padding: 28px 32px; background: var(--soft-bg); border: 1px solid var(--border); border-top: 4px solid var(--green); }
.company-facts > div { padding: 16px 0; border-bottom: 1px solid var(--border); }
.company-facts > div:last-child { border-bottom: 0; }
.company-facts dt { margin-bottom: 3px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.company-facts dd { margin: 0; color: var(--blue-dark); font-weight: 600; overflow-wrap: anywhere; }

.contact-company-media {
  min-width: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
}

.contact-company-media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

.about-company-media {
  min-width: 0;
  width: 100% !important;
  max-width: 560px;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  justify-self: end;
  background: var(--soft-bg);
  border: 1px solid var(--border);
}

.about-company-media > img {
  min-width: 0;
  min-height: 100%;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}

img.about-company-media { max-width: 100%; }

.about-company-media-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 32px;
  color: var(--blue-dark);
  background: #eef2f6;
  border: 2px dashed #aab8c7;
  text-align: center;
}

.about-company-media-placeholder strong { font-size: 1.1rem; }
.about-company-media-placeholder span { max-width: 32ch; color: var(--muted); font-size: .84rem; line-height: 1.55; }

.supply-scope-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.supply-scope-grid a { min-height: 180px; padding: 26px; background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--ivory); }
.supply-scope-grid a:nth-child(even) { border-top-color: var(--green); }
.supply-scope-grid h3 { font-size: 1.06rem; }
.supply-scope-grid p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.role-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.role-card-grid article { min-height: 230px; padding: 32px; background: var(--white); border: 1px solid var(--border); }
.role-card-grid article:last-child { color: rgba(255,255,255,.82); background: var(--blue-dark); border-color: var(--blue-dark); }
.role-card-grid article > span { display: block; margin-bottom: 30px; color: var(--green); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.role-card-grid article:last-child h3 { color: var(--white); }
.role-card-grid p { margin-bottom: 0; color: var(--muted); }
.role-card-grid article:last-child p { color: rgba(255,255,255,.75); }

.principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.principles-grid article { min-height: 190px; padding: 28px; background: var(--white); }
.principles-grid h3 { font-size: 1.03rem; }
.principles-grid p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.contact-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card { min-width: 0; min-height: 220px; padding: 28px; background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--green); }
.contact-card > span { display: block; margin-bottom: 26px; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-card h3 { font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-card p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }

.contact-route-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-route-grid .text-link { display: inline-flex; margin-top: 22px; }
.contact-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-action-panel { padding: 44px; background: var(--soft-bg); border: 1px solid var(--border); }
.contact-action-panel-dark { color: rgba(255,255,255,.8); background: var(--blue-dark); border-color: var(--blue-dark); }
.contact-action-panel-dark h2 { color: var(--white); }
.contact-action-panel-dark .eyebrow { color: var(--green); }

.contact-reassurance { padding: 84px 0; background: #eef5ff; }
.contact-reassurance .container { max-width: 900px; text-align: center; }
.contact-reassurance .button-row { justify-content: center; }

/* Contact page: approved compact review/privacy sections and restored route grid. */
.contact-review-compact { padding: 64px 0; }
.contact-review-compact .contact-review-compact__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  text-align: left;
}
.contact-review-compact__heading h2 { margin-bottom: 0; }
.contact-review-compact__body > p { max-width: 60ch; margin-bottom: 22px; }
.contact-review-compact .button-row { justify-content: flex-start; }
.contact-review-compact > .container { max-width: var(--container); }

.quote-privacy-reassurance.contact-privacy-compact { padding: 26px 0; }
.quote-privacy-reassurance.contact-privacy-compact .container { max-width: 920px; text-align: left; }
.contact-privacy-compact h2 { margin-bottom: 14px; font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1.2; }
.contact-privacy-compact p { max-width: 72ch; line-height: 1.65; }
.contact-privacy-compact p:not(:last-child) { margin-bottom: 14px; }
.contact-privacy-compact p:last-child { margin-bottom: 0; }

.contact-route-section .contact-route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.contact-route-section .contact-route-card { width: auto; height: 100%; }
.contact-route-section .contact-route-card h3 { overflow-wrap: break-word; word-break: normal; }

/* Quote page */
.quote-form-section { scroll-margin-top: calc(var(--header-height) + 16px); }
.quote-page-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(300px,.62fr); gap: 48px; align-items: start; }
.quote-page-form-panel { min-width: 0; padding: 46px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 18px 50px rgba(18,43,78,.08); }
.full-quote-grid { margin-top: 34px; }
.quote-help-list { align-content: start; }
.quote-context-card { position: sticky; top: calc(var(--header-height) + 28px); padding: 34px; color: rgba(255,255,255,.78); background: var(--blue-dark); }
.quote-context-card h2 { color: var(--white); font-size: 1.55rem; }
.quote-context-card .eyebrow { color: var(--green); }
.quote-context-card dl { margin: 30px 0 0; }
.quote-context-card dl > div { padding: 17px 0; border-top: 1px solid rgba(255,255,255,.15); }
.quote-context-card dt { margin-bottom: 4px; color: rgba(255,255,255,.55); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.quote-context-card dd { margin: 0; overflow-wrap: anywhere; }
.quote-context-card a { color: var(--white); }
.quote-before-submit { margin-bottom: 30px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.18); }
.quote-before-submit p, .quote-before-submit li { color: rgba(255,255,255,.74); font-size: .84rem; }
.quote-before-submit .quote-help-list { grid-template-columns: 1fr; gap: 9px; margin: 22px 0 0; }
.quote-before-submit .quote-help-list li { padding-left: 18px; }
.quote-prototype-note > p:last-of-type { margin-bottom: 0; }
.full-quote-boundary .button-row { align-items: stretch; }
.full-quote-boundary .button { min-height: 48px; }
.custom-file-picker { display: flex; min-width: 0; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.custom-file-input { position: absolute; width: 1px !important; height: 1px; min-height: 0 !important; margin: -1px; padding: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0 !important; white-space: nowrap; }
.custom-file-button { min-height: 48px; margin: 0; }
.custom-file-input:focus-visible + .custom-file-button { outline: 3px solid rgba(0,64,179,.22); outline-offset: 3px; }
.custom-file-picker .file-name { min-width: 0; overflow-wrap: anywhere; }
.quote-next-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
.section-note { max-width: 780px; margin: 28px 0 0; color: var(--muted); font-size: .9rem; }
.quote-privacy-reassurance { padding: 64px 0; background: #eef5ff; }
.quote-privacy-reassurance > .container { max-width: var(--container); }
.quote-dialog-full-link { display: inline-flex; margin-top: 18px; color: var(--blue); font-size: .86rem; font-weight: 700; }

/* Thank You */
.status-page-main { background: var(--soft-bg); }
.status-page { min-height: 720px; padding: 110px 0; }
.status-panel { max-width: 840px; margin: 0 auto; padding: 64px; background: var(--white); border: 1px solid var(--border); border-top: 5px solid var(--green); box-shadow: 0 22px 65px rgba(18,43,78,.09); text-align: center; }
.status-mark { display: grid; width: 64px; height: 64px; margin: 0 auto 28px; place-items: center; color: var(--white); background: var(--green); border-radius: 50%; font-size: 1.9rem; font-weight: 700; }
.status-panel h1 { max-width: 720px; margin-inline: auto; color: var(--blue-dark); }
.status-panel h2 { margin-top: 0; font-size: 1.55rem; }
.status-lead { max-width: 690px; margin: 0 auto; color: var(--muted); font-size: 1.12rem; }
.status-divider { width: 70px; height: 3px; margin: 38px auto; background: var(--ivory); }
.status-note { margin: 30px 0; padding: 15px 18px; color: var(--muted); background: var(--soft-bg); border: 1px solid var(--border); font-size: .86rem; }
.status-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Thank You desktop micro-layout: keep the approved typography while giving
   the long heading and notice a single uninterrupted line. Mobile keeps the
   existing natural wrapping behavior. */
@media (min-width: 1025px) {
  .thank-you-page .status-panel h1 { font-size: clamp(3.1rem, 3.8vw, 3.3rem); max-width: none; white-space: nowrap; }
  .thank-you-page .status-note { white-space: nowrap; }
}

/* Legal pages */
.legal-banner { padding: 76px 0 68px; color: var(--white); background: var(--blue-dark); }
.legal-banner .container { max-width: 960px; }
.legal-banner h1 { margin-bottom: 18px; color: var(--white); }
.legal-banner .section-lead { max-width: 760px; margin-bottom: 22px; color: rgba(255,255,255,.78); }
.legal-banner .banner-kicker { color: var(--green); }
.policy-date { margin: 0; color: rgba(255,255,255,.68); font-size: .86rem; }
.policy-layout { display: grid; grid-template-columns: minmax(220px,.58fr) minmax(0,1.7fr); gap: 70px; align-items: start; padding-block: 74px 104px; }
.policy-toc { position: sticky; top: calc(var(--header-height) + 28px); padding: 24px 26px; background: var(--soft-bg); border: 1px solid var(--border); border-top: 4px solid var(--green); }
.policy-toc > p { margin-bottom: 14px; color: var(--blue-dark); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.policy-toc ol { display: grid; gap: 6px; margin: 0; padding-left: 20px; }
.policy-toc li { color: var(--muted); font-size: .8rem; }
.policy-toc a { color: var(--muted); }
.policy-toc a:hover, .policy-toc a:focus-visible { color: var(--blue); }
.policy-content { min-width: 0; }
.policy-content section { position: relative; scroll-margin-top: calc(var(--header-height) + 24px); padding: 0 0 46px 54px; border-bottom: 1px solid var(--border); }
.policy-content section + section { padding-top: 46px; }
.policy-content section > span { position: absolute; top: 2px; left: 0; color: var(--green); font-size: .76rem; font-weight: 700; letter-spacing: .1em; }
.policy-content section + section > span { top: 48px; }
.policy-content h2 { font-size: 1.65rem; }
.policy-content p, .policy-content li { color: var(--muted); }
.policy-content ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 26px; padding-left: 20px; }
.policy-content address { margin: 0 0 24px; color: var(--muted); font-style: normal; line-height: 1.8; }

/* Footer */
.site-footer { padding: 78px 0 28px; color: rgba(255,255,255,.72); background: var(--blue-deep); }
.footer-grid { display: grid; grid-template-columns: minmax(280px,1.2fr) minmax(220px,1fr) minmax(150px,.62fr) minmax(220px,.8fr); gap: 52px; }
.footer-logo { display: inline-flex; width: 245px; margin-bottom: 24px; }
.footer-logo img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.footer-tagline { color: var(--white); font-size: 1.05rem; font-weight: 600; }
.footer-brand > p:last-child { font-size: .9rem; }
.footer-column { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; }
.footer-column h3 { margin-bottom: 14px; color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-column a, .footer-column p { margin-bottom: 0; color: rgba(255,255,255,.68); font-size: .83rem; line-height: 1.55; }
.footer-column a:hover, .footer-column a:focus-visible { color: var(--white); }
.footer-social-item { list-style: none; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.footer-social-link { display: inline-grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; color: rgba(255,255,255,.72); border-radius: 50%; }
.footer-social-icon { display: inline-grid; width: 29px; height: 29px; justify-self: start; place-items: center; background: transparent; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.footer-social-link svg { width: 14px; height: 14px; fill: currentColor; }
.footer-social-link svg rect, .footer-social-link svg circle:not(.footer-social-icon-dot) { fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-social-icon-dot { fill: currentColor; }
.footer-social-link:hover, .footer-social-link:focus-visible { color: var(--white); }
.footer-social-link:hover .footer-social-icon, .footer-social-link:focus-visible .footer-social-icon { background: var(--blue); border-color: var(--blue); }
.footer-social-link:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.footer-bottom { display: flex; gap: 24px; align-items: center; justify-content: flex-end; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.footer-bottom a, .footer-bottom span { color: rgba(255,255,255,.68); font-size: .82rem; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.68); font-family: inherit; font-size: .82rem; font-weight: inherit; line-height: inherit; }

@media (max-width: 768px) {
	.footer-social-link { width: 44px; height: 44px; flex-basis: 44px; }
	.footer-social-icon { width: 35px; height: 35px; }
}

/* Conversion controls */
.floating-whatsapp {
  position: fixed;
  z-index: 850;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: var(--white);
  background: #128c7e;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
  font-size: .7rem;
  font-weight: 700;
  transition: bottom 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.floating-whatsapp svg { width: 16px; flex: 0 0 auto; fill: currentColor; }
.floating-whatsapp.is-footer-safe { bottom: 24px; }
body.dialog-open .floating-whatsapp,
body.nav-open .floating-whatsapp {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Quote dialog */
.quote-dialog {
  width: min(800px, calc(100% - 40px));
  max-width: 800px;
  max-height: min(92vh, 920px);
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: var(--white);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 28px 90px rgba(0,20,65,.34);
}

.quote-dialog::backdrop { background: rgba(0,18,50,.72); }
.quote-dialog.is-open { position: fixed; z-index: 3000; inset: 4vh auto auto 50%; display: block; transform: translateX(-50%); }
.quote-dialog-shell { display: flex; max-height: min(92vh,920px); flex-direction: column; }
.quote-dialog-header { position: sticky; z-index: 2; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 26px 30px 20px; background: var(--white); border-bottom: 1px solid var(--border); }
.quote-dialog-header h2 { margin-bottom: 6px; font-size: 1.8rem; }
.quote-dialog-header p:last-child { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.quote-dialog-close { display: grid; width: 46px; height: 46px; flex: 0 0 auto; padding: 0; place-items: center; background: var(--soft-bg); border: 1px solid var(--border); border-radius: 50%; cursor: pointer; }
.quote-dialog-close svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.quote-dialog-content { overflow-y: auto; overscroll-behavior: contain; padding: 24px 30px 30px; }
.quote-source-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 20px; margin: 0 0 22px; padding: 16px 18px; background: var(--soft-bg); border: 1px solid var(--border); }
.quote-source-meta div { min-width: 0; }
.quote-source-meta dt { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.quote-source-meta dd { margin: 2px 0 0; overflow-wrap: anywhere; color: var(--text); font-size: .82rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 18px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; font-size: .9rem; font-weight: 600; }
.form-field-wide { grid-column: 1 / -1; }
.form-field b, .consent-field b { color: var(--danger); }
.form-field input, .form-field textarea { width: 100%; min-height: 48px; padding: 11px 12px; background: var(--white); border: 1px solid #b9c4d0; border-radius: 3px; font-size: 16px; font-weight: 400; }
.form-field textarea { min-height: 116px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); outline: 2px solid rgba(0,64,179,.15); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"], .consent-field input[aria-invalid="true"] { border-color: var(--danger); }
.form-field small { color: var(--muted); font-size: .75rem; font-weight: 400; line-height: 1.45; }
.field-error { min-height: 0; color: var(--danger) !important; font-weight: 600 !important; }
.file-field input { padding: 9px; }
.file-name { color: var(--blue-dark); font-size: .82rem; font-weight: 600; }
.consent-field { display: grid; grid-template-columns: 22px 1fr; gap: 4px 10px; align-items: start; margin-top: 20px; color: var(--text); font-size: .86rem; }
.consent-field input { width: 20px; height: 20px; margin: 2px 0 0; }
.consent-field .field-error { grid-column: 2; }
.form-error-summary { margin-bottom: 18px; padding: 14px 16px; color: #7a271a; background: #fef3f2; border: 1px solid #fecdca; font-size: .86rem; }
.form-error-summary ul { margin: 8px 0 0; padding-left: 20px; }
.form-delivery-note { margin-top: 20px; padding: 18px; background: #ecfdf3; border: 1px solid #abefc6; }
.form-delivery-note p { margin-bottom: 13px; color: #05603a; font-weight: 600; }
.quote-form-actions { display: flex; gap: 12px; margin-top: 22px; }
.prototype-boundary { margin: 14px 0 0; color: var(--muted); font-size: .76rem; }

/* 1440 desktop */
@media (min-width: 1440px) {
  .hero-copy { width: 50%; }
}

/* 1024 tablet */
@media (max-width: 1024px) {
  :root { --header-height: 76px; }
  .section { padding-block: 76px; }
  .content-section { padding-block: 68px; }
  .section--large { padding-block: 86px; }
  .section--standard { padding-block: 76px; }
  .section--compact { padding-block: 52px; }
  .section--media { padding-block: 72px; }
  .container { width: min(calc(100% - 48px), var(--container)); }
  .brand-link { width: 210px; }
  .nav-toggle { display: flex; }
  .primary-nav { position: fixed; z-index: 1001; top: var(--header-height); right: 0; bottom: 0; display: none; width: min(440px,100%); align-items: stretch; flex-direction: column; gap: 0; padding: 20px 28px 40px; overflow-y: auto; background: var(--white); border-top: 1px solid var(--border); box-shadow: -20px 30px 50px rgba(18,43,78,.16); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.button) { width: 100%; min-height: 44px; padding: 12px 0; border-bottom: 1px solid var(--border); text-align: left; }
  .nav-parent-row { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-parent-link { min-width: 0; min-height: 44px; flex: 1; padding: 0; text-align: left; }
  .products-toggle, .capabilities-toggle { width: 44px; height: 44px; flex-basis: 44px; justify-content: center; }
  .primary-nav > a:not(.button)::after, .nav-parent-row::after { display: none; }
  .header-cta { margin-top: 22px; }
  .mega-menu { position: static; display: none; visibility: visible; width: 100%; grid-template-columns: 1fr; gap: 24px; padding: 24px 0 18px 16px; border: 0; box-shadow: none; opacity: 1; transform: none; }
  .nav-products:hover .mega-menu, .nav-products:focus-within .mega-menu { display: none; transform: none; }
  .nav-products .mega-menu.is-open { display: grid; }
  .capabilities-menu { position: static; display: none; visibility: visible; width: 100%; gap: 0; padding: 10px 0 10px 12px; border: 0; box-shadow: none; opacity: 1; transform: none; }
  .nav-capabilities:hover .capabilities-menu, .nav-capabilities:focus-within .capabilities-menu { display: none; transform: none; }
  .nav-capabilities .capabilities-menu.is-open { display: flex; }
  .capabilities-menu a { padding: 8px; font-size: .86rem; }
  .hero { min-height: 720px; }
  .hero-copy { width: min(680px,70%); }
  .section-heading, .split-layout, .quality-layout, .case-layout, .helpful-layout, .product-intro, .content-grid { grid-template-columns: 1fr; gap: 48px; }
  section[aria-labelledby="release-title"] .quality-release-media-grid { aspect-ratio: 4 / 3; }
  .product-grid, .value-grid, .advantage-grid, .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .condition-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .image-collage, .case-gallery, .helpful-layout > img { width: min(760px,100%); }
  .process-grid, .application-image-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .application-text-grid, .application-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr .8fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 700px; }
  .compact-banner-image { left: 38%; width: 62%; }
  .gallery-main { min-height: 430px; }
  .gallery-main img { height: 430px; }
  .process-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .industry-overview-grid, .supply-scope-grid, .quality-checkpoint-grid, .document-option-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .industry-feature-grid, .about-intro-grid { grid-template-columns: 1fr; gap: 46px; }
  .industry-feature-grid.is-reversed > :is(img, figure):first-child { order: 0; }
  .supply-stage-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .principles-grid, .contact-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-route-section .contact-route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-page-layout, .policy-layout { grid-template-columns: 1fr; }
  .quote-context-card, .policy-toc { position: static; }
  .policy-toc ol { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 28px; }
}

/* 768 small screen */
@media (max-width: 768px) {
  .container, .header-inner { width: min(calc(100% - 36px), var(--container)); }
  .section { padding-block: 64px; }
  .content-section { padding-block: 58px; }
  .section--large { padding-block: 70px; }
  .section--standard { padding-block: 64px; }
  .section--compact { padding-block: 46px; }
  .section--media { padding-block: 60px; }
  h1 { font-size: clamp(2.45rem,10vw,3.35rem); }
  h2 { font-size: clamp(1.9rem,8vw,2.45rem); }
  .brand-link { width: 185px; }
  .hero { min-height: 740px; }
  .hero-inner { padding-block: 84px 128px; }
  .hero-copy { width: 100%; }
  .hero-overlay { background: linear-gradient(90deg, rgba(0,30,82,.94) 0%, rgba(0,42,115,.78) 100%); }
  .hero-controls { right: 18px; bottom: 28px; left: 18px; justify-content: center; }
  .two-card-grid, .product-grid, .feature-grid-three, .condition-grid, .value-grid, .process-grid, .application-image-grid, .application-text-grid, .inquiry-steps, .advantage-grid, .related-grid, .overview-route-grid, .application-list, .process-list { grid-template-columns: 1fr; }
  .entry-card { min-height: 0; padding: 34px 28px; }
  .feature-grid { border-bottom: 0; }
  .feature-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .image-collage { min-height: 390px; }
  .image-collage > img.image-main { height: auto; max-height: 360px; }
  .image-collage > img.image-inset { height: auto; max-height: 150px; }
  .process-card h3 { min-height: 0; }
  .application-image-grid article { min-height: 320px; }
  .application-text-grid article { min-height: 0; }
  .case-summary div { grid-template-columns: 1fr; gap: 6px; }
  .case-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2,180px); }
  .case-gallery > :is(img, figure):nth-child(2) { grid-row: auto; }
  .helpful-list, .check-list { grid-template-columns: 1fr; }
  .final-cta-inner, .page-final-cta .container { grid-template-columns: 1fr; gap: 36px; }
  .final-cta-actions { width: min(360px,100%); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-brand, .footer-products { grid-column: 1 / -1; }
  .compact-banner { min-height: 0; }
  .compact-banner-image { inset: 0; width: 100%; height: 100%; opacity: .42; }
  .compact-banner::after { background: rgba(0,30,82,.88); }
  .compact-banner-inner { min-height: 0; grid-template-columns: 1fr; padding-block: 58px; }
  .banner-benefits { flex-direction: column; gap: 8px; }
  .gallery-main { min-height: 360px; }
  .gallery-main img { height: 360px; }
  .quote-dialog { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .quote-dialog-shell { height: 100dvh; max-height: 100dvh; }
  .quote-dialog-header { padding: 18px; }
  .quote-dialog-header h2 { font-size: 1.42rem; }
  .quote-dialog-header p:last-child { display: none; }
  .quote-dialog-content { padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); }
  .quote-source-meta, .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .quote-form-actions { position: sticky; bottom: 0; z-index: 1; padding: 12px 0; background: var(--white); }
  .quote-form-actions .button { flex: 1; }
  .industry-overview-grid, .application-sector-grid, .supply-stage-grid, .quality-checkpoint-grid, .media-pair, .process-tag-grid, .document-option-grid, .download-card-grid, .supply-scope-grid, .role-card-grid, .principles-grid, .contact-card-grid, .contact-action-grid { grid-template-columns: 1fr; }
  .industry-feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .industry-feature-grid.is-reversed > :is(img, figure):first-child { order: 0; }
  .industry-overview-card, .supply-stage-grid > li, .quality-checkpoint-grid > li, .document-option-grid article, .supply-scope-grid a, .principles-grid article, .contact-card { min-height: 0; }
  .advantage-card, .related-card, .application-list li { min-height: 0; }
  .media-pair img, .media-pair-compact img { aspect-ratio: 4/3; }
  .media-pair:not(.media-pair-compact) > img { aspect-ratio: 16/10; }
  .contact-action-panel { padding: 34px 28px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .case-gallery-four { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2,220px); }
  .quote-page-form-panel { padding: 34px 28px; }
  .quote-next-steps, .policy-content ul, .policy-toc ol { grid-template-columns: 1fr; }
  .policy-layout { gap: 42px; padding-block: 54px 86px; }
  .policy-content section { padding-left: 38px; }
  .status-page { min-height: 0; padding: 74px 0; }
  .status-panel { padding: 46px 30px; }
  .status-actions { align-items: stretch; flex-direction: column; }
  .status-actions .button { width: 100%; }
  .contact-review-compact { padding: 44px 0; }
  .contact-review-compact .contact-review-compact__grid { grid-template-columns: 1fr; gap: 24px; }
  .quote-privacy-reassurance { padding: 44px 0; }
  .quote-privacy-reassurance.contact-privacy-compact { padding: 40px 0; }
  .contact-privacy-compact h2 { font-size: clamp(1.45rem, 5.5vw, 1.8rem); }
}

/* Small tablets retain two columns only for card systems that have enough
   room to wrap naturally. Long-form copy, tables and inquiry forms stay single-column. */
@media (min-width: 601px) and (max-width: 768px) {
  .product-grid,
  .advantage-grid,
  .related-grid,
  .process-grid,
  .application-image-grid,
  .industry-overview-grid,
  .application-sector-grid,
  .supply-stage-grid,
  .quality-checkpoint-grid,
  .process-tag-grid,
  .document-option-grid,
  .download-card-grid,
  .principles-grid,
  .contact-card-grid,
  .contact-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .advantage-grid,
  .related-grid { gap: 20px; }

  .process-grid,
  .application-image-grid,
  .industry-overview-grid,
  .application-sector-grid,
  .supply-stage-grid,
  .quality-checkpoint-grid,
  .process-tag-grid,
  .document-option-grid,
  .download-card-grid,
  .principles-grid,
  .contact-card-grid { gap: 18px; }
}

@media (max-width: 600px) {
  .section { padding-block: 56px; }
  .content-section { padding-block: 52px; }
  .section--large { padding-block: 62px; }
  .section--standard { padding-block: 56px; }
  .section--compact { padding-block: 40px; }
  .section--media { padding-block: 52px; }
  .contact-route-section .contact-route-grid { grid-template-columns: 1fr; }
  .contact-review-compact .button-row { align-items: stretch; flex-direction: column; }
  .contact-review-compact .button-row .button { width: 100%; }

  .compact-banner-inner { padding-block: 44px; }
  .compact-banner--quote { min-height: 0; }
  .compact-banner--quote .compact-banner-inner { min-height: 0; padding-block: 36px; }
  .compact-banner h1 { font-size: clamp(2.05rem, 9vw, 2.35rem); line-height: 1.08; }
  .compact-banner .section-lead { margin-bottom: 18px; }
  .banner-benefits { gap: 6px; margin-bottom: 20px; }

  .application-image-grid article { min-height: 270px; }
  .advantage-grid, .related-grid { gap: 14px; }
}

/* 390 phone */
@media (max-width: 390px) {
  :root { --header-height: 70px; }
  body { font-size: 15px; }
  .container, .header-inner { width: min(calc(100% - 28px), var(--container)); }
  .brand-link { width: 160px; }
  .nav-toggle { width: 40px; height: 40px; }
  .primary-nav { padding-inline: 20px; }
  .hero { min-height: 760px; }
  .hero-inner { padding-block: 70px 124px; }
  .hero-subtitle { font-size: 1.03rem; }
  .hero-advantages { grid-template-columns: 1fr; gap: 10px; }
  .hero-copy .button, .button-row .button, .section-action .button, .final-cta-actions .button, .page-final-cta .button { width: 100%; }
  .button-row, .section-action { align-items: stretch; flex-direction: column; }
  .product-copy { padding: 24px 22px 26px; }
  .image-collage { min-height: 320px; }
  .image-collage > img.image-main { min-width: 92%; width: 92%; max-width: 92%; height: auto; max-height: 300px; }
  .image-collage > img.image-inset { min-width: 58%; width: 58%; max-width: 58%; height: auto; max-height: 130px; border-width: 5px; }
  .case-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(4,170px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-products { grid-column: auto; }
  .footer-bottom { flex-wrap: wrap; justify-content: flex-start; }
  .gallery-main { min-height: 300px; }
  .gallery-main img { height: 300px; padding: 8px; }
  .gallery-thumb { width: 78px; height: 62px; }
  .quote-source-meta { padding: 13px; }
  .quote-form-actions { flex-direction: column; }
  .quote-form-actions .button { width: 100%; }
  .case-gallery-four { grid-template-columns: 1fr; grid-template-rows: repeat(4,210px); }
  .company-facts { padding: 22px; }
  .contact-action-panel { padding: 30px 22px; }
  .quote-page-form-panel { padding: 28px 20px; }
  .quote-context-card { padding: 28px 22px; }
  .full-quote-boundary .button-row { width: 100%; }
  .full-quote-boundary .button { width: 100%; }
  .legal-banner { padding: 60px 0 54px; }
  .policy-content section { padding-left: 30px; }
  .policy-content section > span { font-size: .7rem; }
  .status-panel { padding: 40px 22px; }
}

@media (max-width: 768px) and (orientation: landscape) {
  .quote-dialog-header { padding-block: 12px; }
  .quote-dialog-header h2 { font-size: 1.25rem; }
  .quote-dialog-close { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-slide { transform: none; }
}

/* Home Project Snapshot: both direct images and Gutenberg figures are grid cells. */
body.home .home-case-balance .case-gallery > :is(img, figure, .home-balanced-gallery-item) {
  min-width: 0;
  min-height: 0;
  width: 100% !important;
  max-width: 100%;
  height: 100% !important;
  margin: 0;
  overflow: hidden;
}

body.home .home-case-balance .case-gallery > img,
body.home .home-case-balance .case-gallery > figure > img,
body.home .home-case-balance .case-gallery > .home-balanced-gallery-item > img,
body.home .home-case-balance .case-gallery > .home-balanced-gallery-item > figure > img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body.home .home-case-balance .case-gallery > :is(img, figure, .home-balanced-gallery-item):nth-child(2) {
  grid-row: auto;
}

@media (min-width: 1101px) {
  body.home .home-case-balance .case-layout {
    align-items: stretch;
  }

  body.home .home-case-balance .case-gallery {
    height: auto;
    min-height: 0;
    align-self: stretch;
    contain: size;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
}

/* About: preserve the complete Who We Are factory image without changing other sections. */
section[aria-labelledby="who-title"] .about-intro-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

section[aria-labelledby="who-title"] .content-heading {
  margin-bottom: 0;
}

section[aria-labelledby="who-title"] .content-heading > p:last-child {
  margin-bottom: 0;
}

section[aria-labelledby="who-title"] .about-company-media {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  justify-self: stretch;
  overflow: visible;
  background: transparent;
  border: 0;
}

section[aria-labelledby="who-title"] .about-company-media > figure.wp-block-image {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  margin: 0;
  overflow: visible;
  background: transparent;
}

section[aria-labelledby="who-title"] .about-company-media > img,
section[aria-labelledby="who-title"] .about-company-media > figure.wp-block-image > img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1024px) {
  section[aria-labelledby="who-title"] .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

/* WordPress direct-image fallback and nested Gutenberg shell containment. */
body.home .home-quality-balance .home-balanced-row > img,
body.home .home-inquiry-balance .home-balanced-row > img,
body.home .home-quality-balance .home-balanced-row > .home-balanced-media:not(:empty),
body.home .home-inquiry-balance .home-balanced-row > .home-balanced-media:not(:empty) {
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

body.home .home-quality-balance .home-balanced-row > img,
body.home .home-inquiry-balance .home-balanced-row > img {
  display: block;
  height: auto !important;
  max-height: none;
  margin-block-end: 1em;
  object-fit: cover;
  object-position: center;
}

body.home .home-quality-balance .home-balanced-row > .home-balanced-media > :is(img, figure),
body.home .home-inquiry-balance .home-balanced-row > .home-balanced-media > :is(img, figure),
body.home .home-quality-balance .home-balanced-row > .home-balanced-media > figure > img,
body.home .home-inquiry-balance .home-balanced-row > .home-balanced-media > figure > img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 769px) and (max-width: 1100px) {
  body.home .home-case-balance .case-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 220px);
  }
}

/* Homepage image/text balance: scoped to the four homepage sections only. */
body[data-page-type="home"] .home-balanced-media,
body[data-page-type="home"] .home-balanced-gallery-item {
  display: grid;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

body[data-page-type="home"] .home-balanced-media > :is(img, figure),
body[data-page-type="home"] .home-balanced-gallery-item > :is(img, figure),
body[data-page-type="home"] .home-quality-balance .home-balanced-row > figure,
body[data-page-type="home"] .home-inquiry-balance .home-balanced-row > figure {
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body[data-page-type="home"] .home-balanced-media > img,
body[data-page-type="home"] .home-balanced-media > figure > img,
body[data-page-type="home"] .home-balanced-gallery-item > img,
body[data-page-type="home"] .home-balanced-gallery-item > figure > img,
body[data-page-type="home"] .home-quality-balance .home-balanced-row > figure > img,
body[data-page-type="home"] .home-inquiry-balance .home-balanced-row > figure > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body[data-page-type="home"] .home-balanced-gallery,
body[data-page-type="home"] .home-balanced-copy {
  min-width: 0;
  min-height: 0;
}

@media (min-width: 769px) {
  body[data-page-type="home"] .home-balanced-row {
    align-items: stretch;
  }

  body[data-page-type="home"] .home-why-balance .home-balanced-row {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(36px, 5vw, 78px);
  }

  body[data-page-type="home"] .home-quality-balance .home-balanced-row {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(36px, 5vw, 80px);
  }

  body[data-page-type="home"] .home-case-balance .home-balanced-row {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(36px, 5vw, 80px);
  }

  body[data-page-type="home"] .home-inquiry-balance .home-balanced-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, .76fr);
    gap: clamp(36px, 5vw, 70px);
  }

  body[data-page-type="home"] .home-balanced-media,
  body[data-page-type="home"] .home-balanced-gallery,
  body[data-page-type="home"] .home-quality-balance .home-balanced-row > figure,
  body[data-page-type="home"] .home-inquiry-balance .home-balanced-row > figure {
    height: 100%;
    align-self: stretch;
  }

  body[data-page-type="home"] .home-quality-copy {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
  }

  body[data-page-type="home"] .home-quality-balance .home-balanced-media,
  body[data-page-type="home"] .home-quality-balance .home-balanced-row > figure {
    grid-column: 1;
    grid-row: 1;
  }

  body[data-page-type="home"] .home-quality-copy .inspection-list {
    margin-top: 26px;
  }

  body[data-page-type="home"] .home-quality-cta {
    align-self: flex-start;
    margin-top: 28px;
  }

  body[data-page-type="home"] .home-balanced-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body[data-page-type="home"] .home-balanced-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  body[data-page-type="home"] .home-balanced-media,
  body[data-page-type="home"] .home-quality-balance .home-balanced-row > figure,
  body[data-page-type="home"] .home-inquiry-balance .home-balanced-row > figure {
    width: 100%;
    height: auto;
    max-height: 300px;
    aspect-ratio: 4 / 3;
  }

  body[data-page-type="home"] .home-quality-copy .inspection-list {
    margin-top: 24px;
  }

  body[data-page-type="home"] .home-quality-cta {
    margin-top: 24px;
  }

  body[data-page-type="home"] .home-balanced-gallery {
    width: 100%;
    height: auto;
    max-height: 300px;
    aspect-ratio: 4 / 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* P2 visual optimization -------------------------------------------------- */

/* Product galleries: a replaceable 4:3 HTML-image frame on all product pages. */
.product-intro {
  align-items: start;
}

.product-gallery {
  width: min(100%, 620px);
  justify-self: center;
}

.gallery--single {
  width: min(100%, 600px);
}

.gallery-main {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  padding: 12px;
  object-fit: contain;
  object-position: center;
}

.gallery-thumbs {
  gap: 8px;
  margin-top: 10px;
  padding: 3px 3px 8px;
}

.gallery-thumb {
  width: 82px;
  height: 64px;
  padding: 3px;
}

.gallery--single .gallery-thumbs {
  display: none;
}

/* Continuous reading widths; cards, tables, forms, heroes and galleries stay full-size. */
body:not([data-page-type="home"]) .content-section .section-lead {
  max-width: 72ch;
}

body:not([data-page-type="home"]) .content-copy > p,
body:not([data-page-type="home"]) .content-heading > p:not(.eyebrow),
.policy-content p,
.policy-content li {
  max-width: 75ch;
}

/* Legal-page contents disclosure. JavaScript keeps it open on desktop. */
.policy-toc-disclosure summary {
  position: relative;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  list-style: none;
  text-transform: uppercase;
}

.policy-toc-disclosure summary::-webkit-details-marker {
  display: none;
}

.policy-toc-disclosure summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform 160ms ease;
}

.policy-toc-disclosure[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.policy-toc-links {
  margin-top: 14px;
}

@media (min-width: 769px) {
  .policy-toc-disclosure summary {
    cursor: default;
  }

  .policy-toc-disclosure summary::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .primary-nav {
    padding: 12px 24px 28px;
    overscroll-behavior: contain;
  }

  .primary-nav > a:not(.button),
  .nav-parent-link {
    padding: 12px 0;
  }

  .nav-parent-link {
    padding: 0;
  }

  .primary-nav .header-cta {
    position: sticky;
    z-index: 2;
    top: 0;
    order: -1;
    width: 100%;
    min-height: 48px;
    justify-content: center;
    margin: 0 0 8px;
    background: var(--green);
    box-shadow: 0 8px 18px rgba(255, 255, 255, .94);
  }

  .mega-menu {
    gap: 12px;
    padding: 14px 0 10px 12px;
  }

  .mega-column {
    gap: 0;
  }

  .mega-heading {
    margin: 5px 0 4px;
  }

  .mega-column a {
    padding: 7px 8px;
    font-size: .86rem;
    line-height: 1.28;
  }

  body.nav-open .floating-whatsapp {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .floating-whatsapp.is-footer-safe { bottom: 144px; }
}

@media (max-width: 768px) {
  .product-gallery,
  .gallery--single {
    width: min(100%, 400px);
  }

  .gallery-main {
    min-height: 0;
    max-height: 300px;
  }

  .gallery-main img {
    height: 100%;
    padding: 8px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }

  .floating-whatsapp svg { width: 17px; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp.is-footer-safe { bottom: calc(84px + env(safe-area-inset-bottom)); }

  .policy-toc {
    padding: 0;
  }

  .policy-toc-disclosure summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 14px 46px 14px 18px;
  }

  .policy-toc-disclosure summary::after {
    right: 20px;
  }

  .policy-toc-links {
    margin: 0;
    padding: 16px 18px 20px;
    border-top: 1px solid var(--border);
  }

  .policy-toc ol {
    gap: 4px;
  }

  .policy-toc a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    line-height: 1.35;
  }
}

@media (max-width: 600px) {
  .floating-whatsapp svg {
    width: 22px;
  }

  .gallery-thumb {
    width: 72px;
    height: 56px;
  }
}

@media (max-width: 390px) {
  .site-footer {
    padding: 48px 0 20px;
  }

  .footer-grid {
    gap: 26px;
  }

  .footer-logo {
    width: 210px;
    margin-bottom: 14px;
  }

  .footer-tagline {
    margin-bottom: 10px;
  }

  .footer-brand > p:last-child {
    margin-bottom: 0;
    line-height: 1.55;
  }

  .footer-products {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .footer-products h3 {
    grid-column: 1 / -1;
  }

  .footer-column {
    gap: 0;
  }

  .footer-column h3 {
    margin-bottom: 6px;
  }

  .footer-column a {
    display: flex;
    min-height: 44px;
    min-width: 0;
    align-items: center;
    padding-block: 5px;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .footer-contact p {
    padding-block: 3px;
    line-height: 1.45;
  }

  .footer-bottom {
    gap: 8px 18px;
    margin-top: 30px;
    padding-top: 18px;
  }
}

@media (max-width: 340px) {
  .footer-products {
    grid-template-columns: 1fr;
  }
}

/* Information architecture: capability submenu and expanded capability page */
.anchor-section {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.capability-input-grid {
  margin-top: 32px;
}

/* Capabilities: keep the technical-information review as a stable two-column
   section while leaving the shared content-grid and image rules untouched. */
.capability-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 1fr);
  gap: clamp(48px, 6vw, 78px);
  align-items: start;
}

.capability-review-copy,
.capability-review-media {
  min-width: 0;
}

.capability-review-copy .content-heading {
  max-width: none;
  margin-bottom: 0;
}

.capability-review-copy .capability-input-grid {
  margin-top: 32px;
}

.capability-review-media {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.capability-review-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .capability-review-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .9fr);
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .capability-review-layout {
    grid-template-columns: 1fr;
  }
}

.capability-quality-panel,
.article-related-note {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
}

.capability-quality-panel .content-heading,
.article-related-note > div {
  margin-bottom: 0;
}

.capability-quality-panel .button,
.article-related-note .button {
  flex: 0 0 auto;
}

.capability-process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* News collection, categories and article */
.news-category-grid,
.news-card-grid {
  display: grid;
  gap: 24px;
}

.news-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-category-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 34px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
}

.news-category-card:nth-child(2) {
  border-top-color: var(--green);
}

.news-category-card > span,
.news-meta a {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-category-card h3 {
  margin-top: 18px;
}

.news-category-card p {
  color: var(--muted);
}

.news-category-card strong {
  margin-top: auto;
  color: var(--blue);
}

.news-category-card:hover,
.news-category-card:focus-visible {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-toolbar {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.news-toolbar h2 {
  margin-bottom: 0;
}

.news-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.news-filters a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 15px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: .86rem;
  font-weight: 600;
}

.news-filters a:hover,
.news-filters a:focus-visible,
.news-filters a.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.news-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.news-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--product-bg);
  border-bottom: 1px solid var(--border);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  object-position: center;
}

.news-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.news-meta,
.news-publish-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .8rem;
}

.news-card h3 {
  margin: 14px 0 12px;
  font-size: 1.2rem;
}

.news-card h3 a {
  color: var(--blue-dark);
}

.news-card p {
  color: var(--muted);
  font-size: .9rem;
}

.news-card .card-button {
  margin-top: auto;
}

.news-empty-state {
  padding: 46px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--ivory);
}

.news-empty-state p {
  max-width: 68ch;
  color: var(--muted);
}

.news-article-banner .banner-kicker a,
.news-article-banner .news-publish-meta {
  color: var(--white);
}

.news-article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 24%) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
  padding-block: 62px 90px;
}

.news-directory-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  min-width: 0;
}

.news-directory-disclosure {
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
}

.news-directory-disclosure summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}

.news-directory-disclosure summary::-webkit-details-marker { display: none; }
.news-directory-disclosure summary::after { color: var(--blue); content: "+"; font-size: 1.25rem; line-height: 1; }
.news-directory-disclosure[open] summary::after { content: "−"; }
.news-directory-groups { padding: 4px 18px 20px; border-top: 1px solid var(--border); }
.news-directory-groups section { padding-top: 18px; }
.news-directory-groups h3 { margin-bottom: 8px; color: var(--blue); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.news-directory-groups ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.news-directory-groups a { display: flex; min-height: 44px; align-items: center; padding: 9px 10px; color: var(--text); border-left: 3px solid transparent; font-size: .86rem; line-height: 1.4; }
.news-directory-groups a:hover, .news-directory-groups a:focus-visible, .news-directory-groups a.is-active { color: var(--blue); background: var(--white); border-left-color: var(--green); }
.news-directory-empty { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }

.news-article-main { min-width: 0; }
.news-article-content-header { padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.news-article-content-header h2 { max-width: none; margin-bottom: 14px; font-size: clamp(1.5rem, 1.75vw, 1.85rem); line-height: 1.2; }
.news-article-content-meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 0; color: var(--muted); font-size: .88rem; }
.news-article-content-meta a { color: var(--blue); font-weight: 600; }

.article-content { min-width: 0; padding-top: 34px; }
.article-content > section { padding-block: 44px; border-top: 1px solid var(--border); }
.article-content > section:first-of-type { border-top: 0; }
.article-content > section p, .article-content > section li, .article-content > blockquote { max-width: 74ch; }
.article-content h2 { font-size: clamp(1.65rem, 2.3vw, 2.25rem); }
.article-content h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.article-content img { max-width: 100%; height: auto; }
.article-content figure { max-width: 100%; margin-inline: 0; }
.article-content figcaption { margin-top: 9px; color: var(--muted); font-size: .8rem; }
.article-content table { width: 100%; min-width: 620px; border-collapse: collapse; }
.article-content .table-scroll, .article-content .wp-block-table { max-width: 100%; overflow-x: auto; }
.article-content > table { display: block; max-width: 100%; overflow-x: auto; }
.article-content blockquote { margin: 28px 0; padding: 20px 24px; background: var(--soft-bg); border-left: 4px solid var(--green); }
.article-content .button { margin-top: 12px; }
.article-content .article-featured-image { width: 100%; max-width: 860px; margin-bottom: 18px; }

.article-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
}

.article-featured-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--product-bg);
  border: 1px solid var(--border);
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
  object-position: center;
}

.article-body {
  width: min(calc(100% - 48px), 860px);
  padding-bottom: 84px;
}

.article-body > section {
  padding-block: 52px;
  border-top: 1px solid var(--border);
}

.article-body > section:first-child {
  border-top: 0;
}

.article-body > section p,
.article-takeaways li {
  max-width: 74ch;
}

.article-body .eyebrow {
  margin-bottom: 9px;
}

.article-check-list {
  margin-top: 26px;
}

.article-takeaways {
  margin-top: 10px;
  padding: 38px;
  color: var(--white);
  background: var(--blue-deep);
  border-left: 4px solid var(--green);
}

.article-takeaways h2 {
  color: var(--white);
}

.article-takeaways ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.article-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-related-grid .related-card {
  padding: 0 22px 24px;
}

.article-related-grid .related-card img {
  width: calc(100% + 44px);
  aspect-ratio: 4 / 3;
  margin: 0 -22px 22px;
  padding: 10px;
  object-fit: contain;
  background: var(--product-bg);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .header-inner {
    width: min(calc(100% - 32px), 1380px);
  }

  .brand-link {
    width: 200px;
  }

  .primary-nav {
    gap: 15px;
  }

  .primary-nav > a:not(.button),
  .nav-parent-link {
    font-size: .88rem;
  }

  .header-cta {
    padding-inline: 15px;
  }
}

@media (max-width: 1024px) {
  .capability-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-intro-grid {
    grid-template-columns: 1fr;
  }

  .article-featured-image {
    width: min(720px, 100%);
  }

  .news-article-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 42px 76px;
  }

  .news-directory-sidebar { position: static; }

  .news-directory-disclosure summary { min-height: 52px; }
}

@media (max-width: 768px) {
  .capability-quality-panel,
  .article-related-note,
  .news-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .capability-quality-panel,
  .article-related-note {
    gap: 24px;
  }

  .capability-quality-panel .button,
  .article-related-note .button {
    align-self: flex-start;
  }

  .news-category-grid,
  .news-card-grid,
  .article-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-toolbar {
    gap: 20px;
  }

  .news-filters {
    justify-content: flex-start;
  }

  .news-article-banner h1 {
    font-size: clamp(1.9rem, 8vw, 2.25rem);
  }

  .article-body {
    width: min(calc(100% - 36px), 860px);
    padding-bottom: 64px;
  }

  .article-body > section {
    padding-block: 42px;
  }
}

@media (max-width: 600px) {
  .capability-input-grid,
  .capability-process-list,
  .news-category-grid,
  .news-card-grid,
  .article-related-grid,
  .article-check-list {
    grid-template-columns: 1fr;
  }

  .news-category-card {
    min-height: 0;
    padding: 28px;
  }

  .news-category-card strong {
    margin-top: 22px;
  }

  .news-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .news-filters a {
    min-height: 46px;
  }

  .news-empty-state,
  .article-takeaways {
    padding: 28px 24px;
  }

  .article-featured-image,
  .news-card-image {
    max-height: 300px;
  }

  .product-intro-actions { flex-direction: column; }
  .product-intro-actions .button { width: 100%; min-height: 48px; }
  .custom-file-picker { align-items: stretch; flex-direction: column; }
  .custom-file-button { width: 100%; }
  .news-article-layout { width: min(calc(100% - 36px), var(--container)); padding-block: 30px 60px; }
  .news-article-content-header h2 { font-size: clamp(1.2rem, 5vw, 1.45rem); line-height: 1.24; }
  .article-content > section { padding-block: 36px; }
  .about-company-media { max-height: 300px; justify-self: stretch; }
}

/* WordPress theme integration. The confirmed prototype remains the visual source. */
.admin-bar .site-header { top: 32px; }
.custom-logo-link { display: inline-flex; width: 236px; flex: 0 0 auto; align-items: center; }
.custom-logo-link img { width: 100%; height: auto; }
.primary-menu, .primary-menu ul, .footer-links, .footer-legal { margin: 0; padding: 0; list-style: none; }
.primary-menu { display: flex; align-items: center; gap: clamp(20px,2vw,34px); }
.primary-menu > li { position: relative; display: flex; align-items: center; }
.primary-menu .nav-parent-link { padding: 30px 0 27px; }
.submenu-toggle { display: inline-grid; width: 32px; min-width: 32px; height: 44px; padding: 0; place-items: center; color: #26364b; background: transparent; border: 0; cursor: pointer; }
.submenu-toggle svg { width: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform 180ms ease; }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-submenu { position: absolute; z-index: 20; top: calc(100% - 1px); left: 50%; visibility: hidden; width: min(420px,86vw); padding: 20px; background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--blue); box-shadow: var(--shadow-md); opacity: 0; transform: translate(-44%,10px); transition: opacity 160ms ease,transform 160ms ease,visibility 160ms ease; }
.is-products-menu > .nav-submenu { width: min(760px,80vw); column-count: 2; column-gap: 24px; transform: translate(-46%,10px); }
.nav-submenu li { display: block; break-inside: avoid; }
.nav-submenu a { display: block; padding: 9px 10px; color: var(--text); border-left: 2px solid transparent; font-size: .88rem; line-height: 1.35; }
.nav-submenu a:hover, .nav-submenu a:focus-visible, .nav-submenu a[aria-current="page"] { color: var(--blue); background: var(--soft-bg); border-left-color: var(--green); }
.menu-item-has-children.is-open > .nav-submenu { visibility: visible; opacity: 1; transform: translate(-44%,0); }
.is-products-menu.is-open > .nav-submenu { transform: translate(-46%,0); }
.current-menu-item > .nav-parent-link, .current-menu-ancestor > .nav-parent-link { color: var(--blue); }
.hero-slide img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.wp-block-coretrust-hero { max-width: none; margin: 0; }
.entry-content { min-width: 0; }
.entry-content > :where(.alignwide) { width: min(calc(100% - 48px),var(--container)); max-width: var(--container); margin-inline: auto; }
.entry-content > :where(.alignfull) { width: 100%; max-width: none; }
.entry-content > :not(.alignwide):not(.alignfull):not(.content-section):not(.section):not(.page-final-cta):not(.final-cta):not(.contact-review-compact):not(.quote-privacy-reassurance) { width: min(calc(100% - 48px),860px); margin-inline: auto; }
.product-description .entry-content > * { width: auto; max-width: none; margin-inline: 0; }
.footer-wordmark { margin-bottom: 16px; color: var(--white); font-size: 1.45rem; font-weight: 700; letter-spacing: .08em; }
.footer-links li, .footer-legal li { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.quote-dialog-close { position: sticky; z-index: 4; top: 12px; align-self: flex-end; margin: 12px 12px -58px 0; font-size: 30px; line-height: 1; }
.quote-dialog-full-link { margin: 0 30px 24px; }
.search-results { display: grid; gap: 18px; }
.search-result-card { padding: 28px; background: var(--white); border: 1px solid var(--border); }
.search-result-card h2 { font-size: 1.55rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pagination .page-numbers { display: grid; min-width: 44px; min-height: 44px; padding: 8px; place-items: center; border: 1px solid var(--border); }
.pagination .current { color: var(--white); background: var(--blue); border-color: var(--blue); }
.coretrust-product-pagination { margin: clamp(30px, 4vw, 44px) 0 0; }
.coretrust-product-pagination .nav-links { justify-content: center; margin-top: 0; }
.coretrust-product-pagination .page-numbers {
  color: var(--blue-dark);
  background: var(--white);
  border-radius: 7px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.coretrust-product-pagination .page-numbers.current { color: var(--white); background: var(--blue); border-color: var(--blue); font-weight: 700; }
.coretrust-product-pagination a.page-numbers:hover,
.coretrust-product-pagination a.page-numbers:focus-visible { color: var(--blue); background: var(--product-bg); border-color: #b8c5d8; }
.content-section:has(.coretrust-product-grid-empty) { display: none; }
.wp-caption, .wp-block-image, .wp-block-table { max-width: 100%; }
.wp-block-table { overflow-x: auto; }

@media (min-width:1025px) {
  .menu-item-has-children:hover > .nav-submenu, .menu-item-has-children:focus-within > .nav-submenu { visibility: visible; opacity: 1; transform: translate(-44%,0); }
  .is-products-menu:hover > .nav-submenu, .is-products-menu:focus-within > .nav-submenu { transform: translate(-46%,0); }
}

@media (max-width:1024px) {
  .admin-bar .site-header { top: 32px; }
  .admin-bar .primary-nav { top: calc(var(--header-height) + 32px); }
  .custom-logo-link { width: 210px; }
  .primary-menu { display: block; width: 100%; }
  .primary-menu > li { display: grid; grid-template-columns: minmax(0,1fr) 44px; width: 100%; border-bottom: 1px solid var(--border); }
  .primary-menu > li:not(.menu-item-has-children) { grid-template-columns: 1fr; }
  .primary-menu .nav-parent-link { min-height: 44px; padding: 11px 0; }
  .submenu-toggle { width: 44px; min-width: 44px; }
  .nav-submenu, .is-products-menu > .nav-submenu { position: static; display: none; visibility: visible; width: 100%; grid-column: 1/-1; column-count: 1; padding: 10px 0 16px 14px; border: 0; box-shadow: none; opacity: 1; transform: none; }
  .menu-item-has-children.is-open > .nav-submenu, .is-products-menu.is-open > .nav-submenu { display: block; transform: none; }
  .primary-nav .header-cta { order: -1; margin: 0 0 18px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width:782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .primary-nav { top: calc(var(--header-height) + 46px); }
}

@media (max-width:768px) {
  .entry-content > :not(.alignwide):not(.alignfull):not(.content-section):not(.section):not(.page-final-cta):not(.final-cta):not(.contact-review-compact):not(.quote-privacy-reassurance) { width: min(calc(100% - 36px),860px); }
  .custom-logo-link { width: 185px; }
  .footer-legal { flex-direction: column; gap: 0; }
  .footer-legal a { display: flex; min-height: 44px; align-items: center; }
}

@media (max-width:390px) {
  .custom-logo-link { width: 160px; }
  .entry-content > :not(.alignwide):not(.alignfull):not(.content-section):not(.section):not(.page-final-cta):not(.final-cta):not(.contact-review-compact):not(.quote-privacy-reassurance) { width: min(calc(100% - 28px),860px); }
}

/* Product rich content and shared related-product cards ------------------ */
.product-summary {
  min-width: 0;
  color: var(--muted);
}

.product-summary > :last-child { margin-bottom: 0; }
.product-summary-heading { color: var(--text); font-size: 1.02rem; line-height: 1.55; }
.product-summary ul,
.product-summary ol { margin: 0 0 18px; padding-left: 22px; }
.product-summary a { color: var(--blue); font-weight: 600; }
.product-summary table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.product-summary th,
.product-summary td { padding: 9px 11px; border: 1px solid var(--border); text-align: left; }

.product-description {
  padding-block: 78px;
  background: var(--white);
}

.product-description__header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.product-description__header .eyebrow {
  margin-bottom: 9px;
}

.product-description__header h2 {
  margin-bottom: 0;
}

.product-description__content {
  min-width: 0;
}

.product-description__content > .content-section {
  padding-block: 44px;
  background: transparent;
}

.product-description__content > .content-section + .content-section {
  border-top: 1px solid var(--border);
}

.product-description__content > .content-section:last-child {
  padding-bottom: 0;
}

.product-description__content > .content-section > .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.product-description__content img,
.product-description__content .table-scroll,
.product-description__content table {
  max-width: 100%;
}

.product-description__content .table-scroll {
  overscroll-behavior-inline: contain;
}

.product-description__content :where(img, video, iframe) {
  max-width: 100%;
}

.product-description__content :where(img, video) {
  height: auto;
}

.product-description__content :where(.wp-block-table, .wp-block-embed) {
  max-width: 100%;
  overflow-x: auto;
}

.product-description__content :where(figcaption) {
  margin-top: 8px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

.product-description__content :where(blockquote) {
  margin-inline: 0;
  padding: 18px 22px;
  background: var(--soft-bg);
  border-left: 4px solid var(--green);
}

.related-products {
  background: var(--product-bg);
}

.related-products .related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.related-products .related-card {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 43, 78, .04);
}

.related-products .related-card-image {
  display: block;
  width: 100%;
  margin-top: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.related-products .related-card-image img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  object-position: center;
}

.related-products .related-card-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.related-products .related-card-copy h3 {
  overflow-wrap: anywhere;
}

.related-products .related-card-copy > a {
  align-self: flex-start;
  margin-top: auto;
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(10, 174, 108, .32);
  outline-offset: 4px;
}

@media (max-width: 1199px) {
  .related-products .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .product-description {
    padding-block: 58px;
  }

  .product-description__header {
    padding-bottom: 24px;
  }

  .product-description__content > .content-section {
    padding-block: 34px;
  }
}

@media (max-width: 600px) {
  .related-products .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-products .related-card-copy {
    padding: 20px;
  }
}
/* WordPress form security helper: present to bots, visually absent to people. */
.coretrust-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.coretrust-shortcode-placeholder {
  display: contents;
}

.coretrust-quote-form [aria-invalid="true"] {
  border-color: #b42318;
}

.coretrust-quote-form .field-error:not(:empty) {
  color: #b42318;
  display: block;
  margin-top: 0.35rem;
}

/* Home Why Engineers: native Gutenberg image grid, scoped to this section. */
body.home .home-why-revised {
  background: var(--soft-bg);
}

body.home .home-why-revised .home-why-product-images {
  display: grid;
  margin-top: 46px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.home .home-why-revised .home-why-product-images > :is(img, figure) {
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--product-bg);
}

body.home .home-why-revised .home-why-product-images > img,
body.home .home-why-revised .home-why-product-images > figure > img {
  display: block;
  min-width: 0;
  min-height: 100%;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

body.home .home-why-revised .home-why-benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 768px) {
  body.home .home-why-revised .home-why-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body.home .home-why-revised .home-why-product-images,
  body.home .home-why-revised .home-why-benefits {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Component-scoped Gutenberg image-wrapper compatibility. */
body.home section[data-section="05"] .image-collage > figure.wp-block-image {
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

body.home section[data-section="05"] .image-collage > figure.wp-block-image.image-main,
body.home section[data-section="05"] .image-collage > figure.wp-block-image:has(> img.image-main) {
  min-width: 0;
  width: 84% !important;
  max-width: 84%;
  max-height: 420px;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

body.home section[data-section="05"] .image-collage > figure.wp-block-image.image-inset,
body.home section[data-section="05"] .image-collage > figure.wp-block-image:has(> img.image-inset) {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 0;
  width: 50% !important;
  max-width: 50%;
  max-height: 180px;
  aspect-ratio: 4 / 3;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-md);
}

body.home section[data-section="05"] .image-collage > figure.wp-block-image > img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: cover;
}

/* Keep the two section-05 replacement photos fully visible inside the
   existing collage boxes without changing the collage dimensions. */
body.home section[data-section="05"] .image-collage > img.image-main,
body.home section[data-section="05"] .image-collage > img.image-inset,
body.home section[data-section="05"] .image-collage > figure.wp-block-image.image-main > img,
body.home section[data-section="05"] .image-collage > figure.wp-block-image.image-inset > img,
body.home section[data-section="05"] .image-collage > figure.wp-block-image > img.image-main,
body.home section[data-section="05"] .image-collage > figure.wp-block-image > img.image-inset {
  object-fit: contain;
  background: var(--white);
}

body.home section[data-section="06"] .framed-image,
body.home section[data-section="06"] .framed-image > figure.wp-block-image {
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
}

body.home section[data-section="06"] .framed-image {
  background: #fff !important;
  border-color: #fff !important;
}

body.home section[data-section="06"] .framed-image > figure.wp-block-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff !important;
}

body.home section[data-section="06"] .framed-image > img,
body.home section[data-section="06"] .framed-image > figure.wp-block-image > img {
  display: block;
  min-width: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 440px;
  margin: 0;
  object-fit: cover;
}

body.home .process-card > figure.wp-block-image,
body.home .application-image-grid article > figure.wp-block-image {
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

body.home .process-card > figure.wp-block-image > img {
  display: block;
  min-width: 0;
  width: 100% !important;
  height: clamp(170px, 14vw, 220px) !important;
  max-width: 100%;
  max-height: clamp(170px, 14vw, 220px);
  margin: 0;
  object-fit: cover;
}

body.home .application-image-grid article > figure.wp-block-image {
  height: 340px !important;
}

body.home .application-image-grid article > figure.wp-block-image > img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: cover;
}

.wide-image > figure.wp-block-image,
figure.wide-image,
.about-company-media > figure.wp-block-image,
figure.about-company-media {
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

.wide-image > figure.wp-block-image > img,
figure.wide-image > img,
.about-company-media > figure.wp-block-image > img,
figure.about-company-media > img {
  display: block;
  min-width: 0;
  min-height: 100%;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: cover;
}

@media (max-width: 768px) {
  body.home .application-image-grid article > figure.wp-block-image {
    height: 320px !important;
  }

  body.home section[data-section="05"] .image-collage > figure.wp-block-image.image-main,
  body.home section[data-section="05"] .image-collage > figure.wp-block-image:has(> img.image-main) {
    max-height: 360px;
  }

  body.home section[data-section="05"] .image-collage > figure.wp-block-image.image-inset,
  body.home section[data-section="05"] .image-collage > figure.wp-block-image:has(> img.image-inset) {
    max-height: 150px;
  }
}

@media (max-width: 600px) {
  body.home .application-image-grid article > figure.wp-block-image {
    height: auto !important;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 390px) {
  body.home section[data-section="05"] .image-collage > figure.wp-block-image.image-main,
  body.home section[data-section="05"] .image-collage > figure.wp-block-image:has(> img.image-main) {
    min-width: 0;
    width: 92% !important;
    max-width: 92%;
    max-height: 300px;
  }

  body.home section[data-section="05"] .image-collage > figure.wp-block-image.image-inset,
  body.home section[data-section="05"] .image-collage > figure.wp-block-image:has(> img.image-inset) {
    min-width: 0;
    width: 58% !important;
    max-width: 58%;
    max-height: 130px;
    border-width: 5px;
  }
}

/* Custom Casting v5: independent natural-height section.  This selector is
   intentionally unrelated to the legacy split-layout/wide-image components. */
#custom-casting-fixed {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  /* Match section[aria-labelledby="review-title"].section--standard. */
  padding-block: 88px;
  position: static;
  overflow: visible;
  contain: none;
  aspect-ratio: auto;
}

#custom-casting-fixed .custom-casting-fixed__inner {
  display: grid;
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  align-content: start;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  position: static;
}

#custom-casting-fixed .custom-casting-fixed__content,
#custom-casting-fixed .custom-casting-fixed__media {
  min-width: 0;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  align-self: start;
  position: static;
  overflow: visible;
  aspect-ratio: auto;
}

#custom-casting-fixed .custom-casting-fixed__media img {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1024px) {
  #custom-casting-fixed {
    padding-block: 76px;
  }

  #custom-casting-fixed .custom-casting-fixed__inner {
    width: min(calc(100% - 48px), var(--container));
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}

@media (max-width: 768px) {
  #custom-casting-fixed {
    padding-block: 64px;
  }
}

@media (max-width: 600px) {
  #custom-casting-fixed {
    padding-block: 56px;
  }

  #custom-casting-fixed .custom-casting-fixed__inner {
    width: min(calc(100% - 36px), var(--container));
  }
}

@media (max-width: 430px) {
  #custom-casting-fixed .custom-casting-fixed__inner {
    width: min(calc(100% - 28px), var(--container));
  }
}

/* Custom Casting: on the existing two-column breakpoint, keep the media
   item's rendered height aligned with the taller text column while preserving
   every pixel of the combined image inside that row. */
@media (min-width: 1025px) {
  #custom-casting-fixed .custom-casting-fixed__inner {
    align-items: stretch;
  }

  #custom-casting-fixed .custom-casting-fixed__media {
    align-self: stretch;
    display: flex;
    align-items: stretch;
  }

  #custom-casting-fixed .custom-casting-fixed__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

/* Packaging v3: independent natural-height section.  This intentionally
   leaves the legacy split-layout, wide-image and packaging-grid rules behind
   and gives the section its own container-driven media/text columns. */
#packaging-delivery-fixed {
  display: block;
  height: auto;
  max-height: none;
  margin: 0;
  padding-block: 82px;
  position: static;
  overflow: visible;
  contain: none;
  aspect-ratio: auto;
}

#packaging-delivery-fixed .packaging-delivery-fixed__inner {
  display: grid;
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: 78px;
  align-items: start;
  align-content: start;
  height: auto;
  max-height: none;
  padding: 0;
  position: static;
}

#packaging-delivery-fixed .packaging-delivery-fixed__media,
#packaging-delivery-fixed .packaging-delivery-fixed__content {
  min-width: 0;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  align-self: start;
  position: static;
  overflow: visible;
  aspect-ratio: auto;
}

#packaging-delivery-fixed .packaging-delivery-fixed__media img {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1024px) {
  #packaging-delivery-fixed {
    padding-block: 72px;
  }

  #packaging-delivery-fixed .packaging-delivery-fixed__inner {
    width: min(calc(100% - 48px), var(--container));
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}

@media (max-width: 768px) {
  #packaging-delivery-fixed {
    padding-block: 60px;
  }
}

@media (max-width: 600px) {
  #packaging-delivery-fixed {
    padding-block: 52px;
  }

  #packaging-delivery-fixed .packaging-delivery-fixed__inner {
    width: min(calc(100% - 36px), var(--container));
  }
}

@media (max-width: 430px) {
  #packaging-delivery-fixed .packaging-delivery-fixed__inner {
    width: min(calc(100% - 28px), var(--container));
  }
}

/* Requirement review: on wide layouts the text column defines the grid row
   height.  Stretch only this section's media item to that row and let the
   image fill it proportionally; stacked layouts below 769px stay natural. */
@media (min-width: 769px) {
  body[data-page-type="capabilities"] section[aria-labelledby="review-title"] .capability-review-media {
    align-self: stretch;
    height: auto;
  }

  body[data-page-type="capabilities"] section[aria-labelledby="review-title"] .capability-review-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: left center;
  }
}

/* Home quality section: vertical content flow with intrinsic media height. */
body[data-page-type="home"] #home-quality-vertical {
  height: auto;
  min-height: 0;
  max-height: none;
  padding-block: 92px;
}

body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__inner {
  display: flex;
  width: min(calc(100% - 64px), var(--container));
  min-width: 0;
  min-height: 0;
  margin-inline: auto;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

body[data-page-type="home"] #home-quality-vertical .quality-intro {
  min-width: 0;
  margin: 0;
}

body[data-page-type="home"] #home-quality-vertical .inspection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: clamp(36px, 5vw, 80px);
  row-gap: 0;
  margin-top: 26px;
}

body[data-page-type="home"] #home-quality-vertical .inspection-list > li {
  min-width: 0;
}

body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__media {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  max-height: none;
  margin-top: 40px;
  overflow: visible;
  align-self: stretch;
  aspect-ratio: auto;
}

body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__actions {
  display: block;
  margin-top: 28px;
  margin-bottom: 0;
}

body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__actions .home-quality-cta {
  margin: 0;
}

@media (max-width: 1024px) {
  body[data-page-type="home"] #home-quality-vertical {
    padding-block: 76px;
  }

  body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__inner {
    width: min(calc(100% - 48px), var(--container));
  }
}

@media (max-width: 768px) {
  body[data-page-type="home"] #home-quality-vertical {
    padding-block: 64px;
  }

  body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__inner {
    width: min(calc(100% - 36px), var(--container));
  }

  body[data-page-type="home"] #home-quality-vertical .inspection-list {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    margin-top: 24px;
  }

  body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__media {
    margin-top: 32px;
  }

  body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__actions {
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  body[data-page-type="home"] #home-quality-vertical {
    padding-block: 58px;
  }
}

@media (max-width: 430px) {
  body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__inner {
    width: min(calc(100% - 28px), var(--container));
  }
}

/* Independent replacement for the Home inspection section. */
body[data-page-type="home"] #inspection-new-section {
  height: auto;
  min-height: 0;
  max-height: none;
  padding-block: 92px;
}

body[data-page-type="home"] #inspection-new-section .inspection-new-section__inner {
  display: flex;
  width: min(calc(100% - 64px), var(--container));
  min-width: 0;
  min-height: 0;
  margin-inline: auto;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

body[data-page-type="home"] #inspection-new-section .inspection-new-section__intro {
  min-width: 0;
}

body[data-page-type="home"] #inspection-new-section .inspection-new-process-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 5vw, 80px);
  align-items: start;
  min-width: 0;
  margin-top: 26px;
}

body[data-page-type="home"] #inspection-new-section .inspection-new-process-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

body[data-page-type="home"] #inspection-new-section .inspection-new-process-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}

body[data-page-type="home"] #inspection-new-section .inspection-new-process-list > li > span {
  color: var(--green);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
}

body[data-page-type="home"] #inspection-new-section .inspection-new-process-list h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

body[data-page-type="home"] #inspection-new-section .inspection-new-process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .92rem;
}

body[data-page-type="home"] #inspection-new-section .inspection-new-section__media {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin-top: 40px;
}

body[data-page-type="home"] #inspection-new-section .inspection-new-section__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
}

body[data-page-type="home"] #inspection-new-section .inspection-new-section__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 0;
}

body[data-page-type="home"] #inspection-new-section .inspection-new-section__actions .home-quality-cta {
  margin: 0;
}

@media (max-width: 1024px) {
  body[data-page-type="home"] #inspection-new-section {
    padding-block: 76px;
  }

  body[data-page-type="home"] #inspection-new-section .inspection-new-section__inner {
    width: min(calc(100% - 48px), var(--container));
  }
}

@media (max-width: 768px) {
  body[data-page-type="home"] #inspection-new-section {
    padding-block: 64px;
  }

  body[data-page-type="home"] #inspection-new-section .inspection-new-section__inner {
    width: min(calc(100% - 36px), var(--container));
  }

  body[data-page-type="home"] #inspection-new-section .inspection-new-process-columns {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    margin-top: 24px;
  }

  body[data-page-type="home"] #inspection-new-section .inspection-new-section__media {
    margin-top: 32px;
  }

  body[data-page-type="home"] #inspection-new-section .inspection-new-section__actions {
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  body[data-page-type="home"] #inspection-new-section {
    padding-block: 58px;
  }
}

@media (max-width: 430px) {
  body[data-page-type="home"] #inspection-new-section .inspection-new-section__inner {
    width: min(calc(100% - 28px), var(--container));
  }
}

/* Home quality process columns and centered CTA. */
body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 5vw, 80px);
  align-items: start;
  min-width: 0;
  margin-top: 26px;
}

body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__process-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  grid-auto-flow: row;
  min-width: 0;
  margin: 0;
}

body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  body[data-page-type="home"] #home-quality-vertical .home-quality-vertical__process-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    margin-top: 24px;
  }
}

/* Pure-DIV inspection process markup (v4 migration). */
body[data-page-type="home"] #inspection-new-section .inspection-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  align-items: start;
  min-width: 0;
  margin-top: 26px;
}

body[data-page-type="home"] #inspection-new-section .inspection-process-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

body[data-page-type="home"] #inspection-new-section .inspection-process-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}

body[data-page-type="home"] #inspection-new-section .inspection-number {
  color: var(--green);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
}

body[data-page-type="home"] #inspection-new-section .inspection-process-item h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

body[data-page-type="home"] #inspection-new-section .inspection-process-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .92rem;
}

body[data-page-type="home"] #inspection-new-section .inspection-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 0;
}

body[data-page-type="home"] #inspection-new-section .inspection-cta-row .home-quality-cta {
  margin: 0;
}

@media (max-width: 768px) {
  body[data-page-type="home"] #inspection-new-section .inspection-process-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    margin-top: 24px;
  }

  body[data-page-type="home"] #inspection-new-section .inspection-cta-row {
    margin-top: 24px;
  }
}
