.builder-hub-hero {
  padding: 46px 0 72px;
  color: #fff;
  background: #064f72;
}

.builder-hub-hero .breadcrumbs,
.builder-hub-hero .breadcrumbs a {
  color: rgba(255, 255, 255, .72);
}

.builder-hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 80px;
  align-items: end;
  margin-top: 65px;
}

.builder-hub-hero h1,
.builder-hub-section h2 {
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-weight: 600;
  line-height: .96;
  text-transform: uppercase;
}

.builder-hub-hero h1 {
  max-width: 820px;
  font-size: clamp(54px, 6.4vw, 92px);
  letter-spacing: -.025em;
}

.builder-hub-hero h1 em {
  color: var(--red);
  font-style: normal;
}

.builder-hub-hero-grid > p {
  max-width: 470px;
  margin: 0 0 5px;
  color: #d5e4ea;
  font-size: 17px;
  line-height: 1.65;
}

.builder-hub-section {
  padding: 82px 0 105px;
  background: var(--pale);
}

.builder-hub-intro {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(340px, 1.2fr);
  gap: 12px 80px;
  align-items: end;
  margin-bottom: 68px;
}

.builder-hub-intro .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.builder-hub-intro h2 {
  color: var(--blue-dark);
  font-size: clamp(40px, 4.4vw, 62px);
}

.builder-hub-intro > p:last-child {
  margin: 0;
  color: #60747d;
  line-height: 1.7;
}

.builder-family-group + .builder-family-group {
  margin-top: 68px;
}

.builder-family-heading {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr);
  gap: 45px;
  align-items: end;
  padding-bottom: 20px;
  border-bottom: 1px solid #bfd0d8;
}

.builder-family-heading > div {
  display: flex;
  gap: 15px;
  align-items: baseline;
}

.builder-family-heading span {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.builder-family-heading h2 {
  color: var(--blue-dark);
  font-size: 32px;
}

.builder-family-heading p {
  margin: 0;
  color: #687b83;
  font-size: 13px;
  line-height: 1.6;
}

.builder-family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.builder-family-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  min-height: 168px;
  padding: 24px;
  color: inherit;
  background: #fff;
  border: 1px solid #c4d4db;
  text-decoration: none;
}

.builder-family-symbol {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: #064f72;
  background: #e5f1f5;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.builder-family-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.builder-family-copy strong {
  color: #073f5a;
  font-size: 16px;
}

.builder-family-copy small {
  margin-top: 9px;
  color: #687b83;
  font-size: 12px;
  line-height: 1.55;
}

.builder-family-copy b {
  margin-top: auto;
  padding-top: 17px;
  color: var(--red);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.builder-family-card--available {
  border-top: 4px solid var(--red);
  transition: transform .2s ease, box-shadow .2s ease;
}

.builder-family-card--available:hover,
.builder-family-card--available:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(7, 63, 90, .12);
}

.builder-family-card--pending {
  background: rgba(255, 255, 255, .62);
}

.builder-family-card--pending .builder-family-symbol,
.builder-family-card--pending .builder-family-copy {
  opacity: .62;
}

.builder-family-card--pending .builder-family-copy b {
  color: #60747d;
}

.thermocouple-builder-promo {
  padding: 72px 0;
  color: #fff;
  background: #064f72;
}

.thermocouple-builder-promo-grid {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(360px, 1.15fr);
  gap: 80px;
  align-items: center;
}

.thermocouple-builder-promo .section-kicker {
  color: #ff1f2c;
}

.thermocouple-builder-promo h2 {
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 600;
  line-height: .95;
  text-transform: uppercase;
}

.thermocouple-builder-promo-copy p {
  max-width: 650px;
  margin: 0 0 26px;
  color: #d5e4ea;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .builder-hub-hero-grid,
  .builder-hub-intro,
  .builder-family-heading,
  .thermocouple-builder-promo-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .builder-hub-hero-grid {
    margin-top: 45px;
  }
}

@media (max-width: 620px) {
  .builder-hub-section {
    padding: 60px 0 76px;
  }

  .builder-family-grid {
    grid-template-columns: 1fr;
  }

  .builder-family-card {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 150px;
    padding: 19px;
  }

  .builder-family-symbol {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .thermocouple-builder-promo {
    padding: 58px 0;
  }
}
/* Trial Hotset-style product illustration */
.builder-family-card--illustrated {
    position: relative;
}

.builder-family-illustration {
    position: absolute;
    right: 22px;
    bottom: 48px;
    width: min(58%, 360px);
    height: 46px;
    object-fit: contain;
    object-position: right center;
    pointer-events: none;
}

@media (max-width: 700px) {
    .builder-family-illustration {
        right: 18px;
        bottom: 50px;
        width: 50%;
        height: 36px;
    }
}
/* Type 1 illustrated tile — align CTA with sensor tip */
.builder-family-card--illustrated .builder-family-copy b {
    position: absolute;
    left: 24px;
    bottom: 25px;
    margin: 0;
    padding: 0;
}

.builder-family-card--illustrated .builder-family-illustration {
    right: 22px;
    bottom: 18px;
    width: min(57%, 350px);
    height: 38px;
    object-position: left center;
}
@media (max-width: 700px) {
    .builder-family-card--illustrated .builder-family-copy b {
        left: 18px;
        bottom: 20px;
    }

    .builder-family-card--illustrated .builder-family-illustration {
        right: 16px;
        bottom: 16px;
        width: 48%;
        height: 32px;
    }
}
/* Type 2 90° tile — larger L-shaped illustration */
.builder-family-card--illustrated .builder-family-illustration--t2-90 {
    right: 14px;
    bottom: 8px;
    width: 310px;
    height: 130px;
    object-fit: contain;
    object-position: right bottom;
    opacity: 1;
}
@media (max-width: 700px) {
    .builder-family-card--illustrated .builder-family-illustration--t2-90 {
        right: 10px;
        bottom: 8px;
        width: 48%;
        height: 105px;
    }
}
/* Negri tile — larger L-shaped illustration */
.builder-family-card--illustrated .builder-family-illustration--negri {
    right: 14px;
    bottom: 8px;
    width: 310px;
    height: 130px;
    object-fit: contain;
    object-position: right bottom;
    opacity: 1;
}
@media (max-width: 700px) {
    .builder-family-card--illustrated .builder-family-illustration--negri {
        right: 10px;
        bottom: 8px;
        width: 48%;
        height: 105px;
    }
}
/* Band sensor tile — allow for the circular band */
.builder-family-card--illustrated .builder-family-illustration--band {
    right: 16px;
    bottom: 10px;
    width: min(58%, 360px);
    height: 52px;
    object-fit: contain;
    object-position: right bottom;
}
/* Terminal Head tile — enlarge the taller connection head */
.builder-family-card--illustrated .builder-family-illustration--terminal-head {
    right: 16px;
    bottom: 10px;
    width: min(58%, 360px);
    height: 50px;
    object-fit: contain;
    object-position: right bottom;
}