:where(.pf, .pd) {
  --portfolio-ink: #13263a;
  --portfolio-muted: #46596d;
  --portfolio-paper: #f2f5f8;
  --portfolio-border: #d5dfe8;
  --portfolio-accent: #b9e2fc;
  --portfolio-link: #14557d;
  color: var(--portfolio-ink);
}

:where(.pf, .pd) [hidden] { display: none !important; }
:where(.pf, .pd) a:focus-visible,
:where(.pf, .pd) button:focus-visible,
:where(.pf, .pd) input:focus-visible,
.pd-filter select:focus-visible {
  outline: 3px solid #1d77a8;
  outline-offset: 3px;
}
:where(.pf, .pd) h1,
:where(.pf, .pd) h2,
:where(.pf, .pd) h3 {
  margin: 0;
  line-height: 1.12;
}

.pf { background: var(--portfolio-paper); }
.pf-wrap { width: min(1272px, calc(100% - 88px)); margin-inline: auto; }
.pf-banner {
  color: white;
  background: #102135;
  border-bottom: 4px solid #92cce9;
}
.pf-banner-grid {
  display: grid;
  grid-template-columns: minmax(0,1.06fr) minmax(0,1fr);
  min-height: 332px;
  align-items: stretch;
}
.pf-brand-copy {
  padding: clamp(24px,4vw,54px) clamp(16px,3vw,44px) clamp(28px,4vw,52px) 0;
  align-self: center;
}
.pf-back {
  display: inline-block;
  color: #d3e5f2;
  font-size: .86rem;
  margin-bottom: 14px;
}
.pf-brand-logo {
  width: 142px;
  height: 60px;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 7px 10px;
  margin-bottom: 16px;
  border-radius: 3px;
}
.pf-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.pf-brand-copy h1 {
  color: white;
  font-size: clamp(2.35rem,5.05vw,5rem);
  font-weight: 680;
  letter-spacing: -.062em;
  overflow-wrap: anywhere;
}
.pf-brand-copy p { color: #d9e7f3; margin: 10px 0 20px; max-width: 40ch; }
.pf-cta {
  display: inline-block;
  padding: 10px 14px;
  background: var(--portfolio-accent);
  color: #102135;
  font-weight: 700;
  border-radius: 3px;
}
.pf-brand-photo { position: relative; overflow: hidden; min-width: 0; }
.pf-brand-photo img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; }
.pf-brand-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#10213588,transparent 43%);
  pointer-events: none;
}

.pf-list { padding-block: clamp(32px,5vw,74px); }
.pf-list-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: baseline;
  margin-bottom: 21px;
}
.pf-list-heading h2 {
  color: var(--portfolio-ink);
  font-size: clamp(1.9rem,3.6vw,3.6rem);
  letter-spacing: -.052em;
}
.pf-list-heading p { color: var(--portfolio-muted); font-size: .86rem; }
.pf-tools {
  background: white;
  border: 1px solid var(--portfolio-border);
  padding: clamp(12px,2vw,23px);
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: minmax(205px,1fr) minmax(0,2fr);
  gap: 12px 20px;
  align-items: end;
}
.pf-tools label,
.pd-filter { display: grid; gap: 5px; font-size: .82rem; font-weight: 700; color: #263e55; }
.pf-tools input,
.pd-filter select {
  min-height: 43px;
  width: 100%;
  color: #13263a;
  background: #f6f9fb;
  border: 1px solid #9eb0bf;
  border-radius: 3px;
  padding: 7px 10px;
  font: inherit;
  font-weight: 500;
}
.pf-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-filters button,
.pf-empty button {
  border: 1px solid #a7b8c7;
  background: #fff;
  color: #223b53;
  min-height: 41px;
  border-radius: 3px;
  padding: 6px 10px;
  font: inherit;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
}
.pf-filters button:hover,
.pf-empty button:hover { background: #e4f0f7; }
.pf-filters button[aria-pressed="true"] { background: #172c43; color: white; border-color: #172c43; }

.pf-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.pf-card { background: white; border: 1px solid var(--portfolio-border); min-width: 0; }
.pf-card-link { display: grid; grid-template-rows: auto 1fr; height: 100%; color: var(--portfolio-ink); }
.pf-card:focus-within,
.pf-card:hover { border-color: #26759c; }
.pf-card-link:hover { text-decoration: none; }
.pf-card-photo { aspect-ratio: 2 / 1; overflow: hidden; background: #e7edf2; }
.pf-card-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pf-no-photo { display: grid; place-items: center; height: 100%; color: #597488; font-size: 2rem; }
.pf-card-copy { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.pf-category { color: #256589; font-size: .76rem; font-weight: 750; }
.pf-card-copy h3 { color: var(--portfolio-ink); font-size: clamp(1.15rem,1.8vw,1.55rem); overflow-wrap: anywhere; }
.pf-card-copy p { margin: 0; color: var(--portfolio-muted); font-size: .86rem; }
.pf-card-copy .pf-series { font-size: .78rem; color: #345a75; overflow-wrap: anywhere; }
.pf-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e3eaf0;
  color: #4b6377;
  font-size: .77rem;
}
.pf-card-footer strong { color: #14557d; white-space: nowrap; }
.pf-empty { padding: 20px; border: 1px dashed #829cb0; }
.pf-empty button { margin-top: 10px; }

.industrial-home .partner-band {
  padding-block: clamp(34px,5vw,64px);
  background: #f0f4f7;
}
.industrial-home .partner-title {
  text-transform: none;
  letter-spacing: -.047em;
  font-size: clamp(2rem,4vw,3.65rem);
  color: #13263a;
  margin-bottom: 8px;
}
.pf-home-intro { margin-bottom: 22px; color: #46596d; }
.industrial-home .partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
}
.industrial-home .partner-logo-grid a {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr) auto;
  align-items: center;
  justify-items: start;
  gap: 10px;
  min-height: 84px;
  height: auto;
  padding: 8px 12px;
  white-space: normal;
}
.industrial-home .partner-logo-grid a:hover { border-color: #26759c; background: #f7fbfe; }
.industrial-home .partner-logo-frame { width: 105px; height: 43px; }
.pf-home-brand { display: grid; gap: 2px; color: #13263a; min-width: 0; }
.pf-home-brand strong { font-size: .9rem; overflow-wrap: anywhere; }
.pf-home-brand small { color: #46596d; font-size: .72rem; font-weight: 500; line-height: 1.35; }
.pf-home-arrow { color: #14557d; }

.pd { margin-block: 21px 35px; }
.pd-contained { width: min(1240px,calc(100% - 80px)); margin-inline: auto; }
.pd-jumps {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--portfolio-border);
}
.pd-jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid var(--portfolio-border);
  background: #f1f5f8;
  border-radius: 3px;
  color: var(--portfolio-link);
  font-size: .85rem;
  font-weight: 700;
}
.pd-jumps a:hover { background: #e3eff6; text-decoration: none; }
.pd-usage {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  gap: 12px;
  scroll-margin-top: 92px;
}
.pd-usage > div { background: #fff; border: 1px solid var(--portfolio-border); padding: clamp(14px,2.7vw,30px); }
.pd-usage h2, .pd-extra h2, .pd-models h2, .pd-video h2 {
  color: var(--portfolio-ink);
  font-size: clamp(1.45rem,3vw,2.4rem);
  margin: 6px 0 11px;
}
.pd-usage p, .pd-criteria li { color: var(--portfolio-muted); }
.pd-usage .pd-note { font-size: .88rem; margin-top: 9px; }
.pd-usage .pd-criteria { background: #eaf1f7; }
.pd-criteria h3 { font-size: 1.06rem; }
.pd-criteria ul { margin: 10px 0 0; padding-left: 18px; }
.pd-models, .pd-extra, .pd-video { margin-top: 24px; scroll-margin-top: 92px; }
.pd-series-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pd-series-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  height: 100%;
  padding: 11px;
  border: 1px solid var(--portfolio-border);
  color: var(--portfolio-link);
  background: #fff;
}
.pd-series-list a:hover { background: #eaf3f8; text-decoration: none; }
.pd-series-list a span { grid-column: 1; color: var(--portfolio-muted); font-size: .86rem; }
.pd-series-list b { grid-row: 1 / span 2; grid-column: 2; align-self: center; }

.pd-filter { margin: 12px 0; max-width: 340px; }
.pd-table-wrap { overflow-x: auto; border: 1px solid var(--portfolio-border); }
.pd-table-wrap table { border-collapse: collapse; width: 100%; background: #fff; }
.pd-table-wrap th, .pd-table-wrap td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--portfolio-border); }
.pd-table-wrap thead { background: #182f46; color: white; }
.pd-extra p, .pd-video a { color: var(--portfolio-link); margin-top: 9px; font-size: .88rem; }
.pd-player {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #11243a;
}
.pd-player img, .pd-player iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.pd-player img { object-fit: cover; opacity: .54; }
.pd-player button {
  position: relative;
  min-height: 44px;
  border: 0;
  background: #b9e2fc;
  color: #102135;
  border-radius: 3px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.bz-home-hero .bz-heritage-heading { color: inherit; font-size: clamp(2.05rem,4.8vw,4.4rem); line-height: 1.05; }

@media (max-width: 1020px) {
  .pf-wrap { width: calc(100% - 52px); }
  .industrial-home .partner-logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 730px) {
  .pf-wrap, .pd-contained { width: calc(100% - 32px); }
  .pf-banner-grid, .pf-tools, .pd-usage { grid-template-columns: minmax(0,1fr); }
  .pf-brand-photo { min-height: 168px; margin-bottom: 14px; }
  .pf-brand-photo::after { background: none; }
  .pf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .industrial-home .partner-logo-grid a {
    grid-template-columns: minmax(0,1fr) auto;
    align-content: start;
    gap: 4px 7px;
    min-height: 102px;
  }
  .industrial-home .partner-logo-frame { grid-column: 1; width: 98px; height: 38px; }
  .pf-home-brand { grid-row: 2; }
  .pf-home-arrow { grid-row: 1; grid-column: 2; }
}
@media (max-width: 455px) {
  .pf-grid, .pd-series-list { grid-template-columns: minmax(0,1fr); }
}

/* Use the portfolio palette across the home and shared product templates. */
.industrial-home {
  --gold: #b9e2fc;
  --deep: #102135;
  --metal: #172c43;
  --paper: #f2f5f8;
}

.industrial-home .vision-hero { background: #102135; }
.industrial-home .vision-routes { background: #172c43; border-color: #53697f; }
.industrial-home .vision-routes a { border-color: #4c6278; }
.industrial-home .vision-routes a:hover { background: #213e59; }
.industrial-home :is(.service, .vision-contact, .service figcaption) { background: #142940; }
.industrial-home .lead-form { background: #1c354d; }
.industrial-home .button:not(.ghost, .compact):hover,
.industrial-home .nav-drop a:hover,
.industrial-home .nav-drop a:focus-visible { background: #d3edfd; }
body.partner-detail:has(.pd) { --paper: #f2f5f8; --line: #d5dfe8; --green: #b9e2fc; }
body.partner-detail .partner-detail-hero { background: #142940; border-color: #142940; border-radius: 3px; }
body.partner-detail .partner-detail-hero h1 { letter-spacing: -.042em; }
body.partner-detail .partner-detail-hero .button:hover { background: #d3edfd; }
body.partner-detail .table-wrap thead th { background: #182f46; }
