.page-hero h1 {
  max-width: 22ch;
  text-wrap: balance;
}

.embed-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto 26px;
}

.embed-section-head h2 {
  margin: 7px 0 8px;
}

.embed-section-head p {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 10px 14px;
  border: 1px solid #d5e1e4;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(6, 40, 59, 0.09);
  color: var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.platform-badge:hover,
.platform-badge:focus-visible {
  transform: translateY(-2px);
  border-color: #e03535;
  box-shadow: 0 12px 28px rgba(6, 40, 59, 0.14);
}

.platform-play {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 30px;
  border-radius: 8px;
  background: #ff0033;
}

.platform-play::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 9px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
}

.platform-badge small,
.platform-badge strong {
  display: block;
}

.platform-badge small {
  color: #60757d;
  font-size: 10px;
  line-height: 1.3;
}

.platform-badge strong {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
}

.video-shell-wide {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid rgba(6, 40, 59, 0.14);
  box-shadow: 0 18px 44px rgba(6, 40, 59, 0.15);
}

.map-embed-frame {
  min-width: 0;
  min-height: 420px;
  background: #dfeaec;
}

.map-embed-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 560px) {
  .embed-section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    margin-bottom: 20px;
  }

  .platform-badge {
    width: 100%;
    min-width: 0;
  }

  .map-embed-frame,
  .map-embed-frame iframe {
    min-height: 350px;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.1;
    overflow-wrap: break-word;
  }

  .stats,
  .stats.dark[style] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: unset;
    overflow: hidden;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .stats .stat,
  .stats.dark[style] .stat {
    min-width: 0 !important;
    padding: 20px 8px;
    border-right: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .stats .stat:nth-child(even),
  .stats.dark[style] .stat:nth-child(even) {
    border-right: 0 !important;
  }

  .stats .stat:nth-child(n + 3),
  .stats.dark[style] .stat:nth-child(n + 3) {
    border-bottom: 0 !important;
  }

  .stats .stat strong,
  .stats.dark[style] .stat strong {
    max-width: 100%;
    font-size: clamp(22px, 6.7vw, 28px);
    letter-spacing: -0.025em;
    white-space: nowrap;
  }

  .stats .stat span {
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.35;
  }
}
.has-embedded-brand::after{display:none!important}
@media(min-width:1181px){.expanded-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.expanded-product-grid .product-card .body{padding:20px 22px 22px}.expanded-product-grid .product-card h3{font-size:22px}}

/* Product catalogue imagery now contains the brand mark in the actual bitmap. */
.product-card.product-instrumentation-cables img {
  object-fit: contain;
  object-position: center;
  transform: scale(1.03);
}

/* New product detail pages */
.new-product-detail {
  background: #b8d1d5;
}

.product-detail-hero {
  padding: 42px 0 68px;
  background:
    radial-gradient(circle at 88% 12%, rgba(62, 205, 207, .13), transparent 28%),
    linear-gradient(135deg, #d7e6e8 0%, #b8d2d6 55%, #a8c8cd 100%);
  border-bottom: 1px solid rgba(42, 88, 100, .18);
}

.product-detail-hero .breadcrumbs {
  margin-bottom: 28px;
  color: #476873;
}

.product-detail-hero .breadcrumbs a {
  color: #075d82;
}

.product-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
}

.product-detail-image {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(64, 111, 121, .28);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(4, 39, 55, .13);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-detail-summary h1 {
  max-width: 16ch;
  margin: 9px 0 18px;
  font-size: clamp(38px, 4.35vw, 62px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.product-detail-summary > p {
  max-width: 65ch;
  color: #315662;
}

.product-detail-summary .product-lead {
  margin-bottom: 18px;
  color: #173d49;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.product-assurance {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 3px solid #0ca3bd;
  background: rgba(244, 250, 250, .56);
  color: #123845 !important;
  font-weight: 750;
}

.product-detail-summary .actions {
  margin-top: 24px;
}

.product-data-section,
.product-applications-section {
  padding: clamp(62px, 7vw, 94px) 0;
}

.product-data-section {
  background: #eef5f5;
}

.product-section-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(380px, 1.2fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 34px;
}

.product-section-heading .kicker {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.product-section-heading h2 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.product-section-heading p {
  max-width: 65ch;
  margin: 0;
  color: #466570;
  font-size: 16px;
}

.product-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #9ebdc2;
  border-radius: 14px;
  overflow: hidden;
  background: #9ebdc2;
  gap: 1px;
  box-shadow: 0 18px 44px rgba(5, 47, 62, .08);
}

.product-data-grid article {
  min-height: 190px;
  padding: 24px 22px;
  background: #f7fbfb;
}

.product-data-grid article > span {
  display: block;
  margin-bottom: 30px;
  color: #128caf;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.product-data-grid h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.3;
}

.product-data-grid p {
  margin: 0;
  color: #496873;
  font-size: 14px;
  line-height: 1.55;
}

.product-enquiry-section {
  padding: clamp(62px, 7vw, 96px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 92% -12%, rgba(62, 207, 210, .18), transparent 32%),
    linear-gradient(125deg, #05293c 0%, #084859 62%, #0a5d66 100%);
}

.product-enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: clamp(46px, 7vw, 86px);
  align-items: start;
}

.product-enquiry-copy h2,
.product-review-panel > h2 {
  color: #fff;
}

.product-enquiry-copy h2 {
  max-width: 16ch;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08;
}

.product-enquiry-copy > p {
  color: #bdd1d7;
}

.product-quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  padding: 1px;
  list-style: none;
  background: rgba(255, 255, 255, .14);
}

.product-quote-fields li {
  min-height: 72px;
  padding: 16px 17px;
  background: rgba(4, 37, 53, .72);
  color: #e4f1f3;
  font-size: 13px;
  font-weight: 700;
}

.product-review-panel {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 14px;
  background: rgba(3, 30, 44, .46);
  box-shadow: 0 26px 60px rgba(2, 25, 36, .18);
}

.product-review-panel > h2 {
  margin: 0 0 24px;
  font-size: clamp(24px, 2.5vw, 33px);
}

.product-review-steps {
  display: grid;
}

.product-review-steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.product-review-steps article:first-child {
  border-top: 0;
  padding-top: 0;
}

.product-review-steps article > span {
  color: #51d8d9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.product-review-steps h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
}

.product-review-steps p {
  margin: 0;
  color: #afc7cd;
  font-size: 13px;
}

.product-applications-section {
  background: linear-gradient(180deg, #bdd4d7 0%, #aac8cd 100%);
}

.product-section-heading.compact {
  display: block;
  margin-bottom: 28px;
}

.product-section-heading.compact h2 {
  max-width: none;
}

.product-section-heading.compact p {
  margin-top: 12px;
}

.product-application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-application-grid article {
  min-height: 132px;
  padding: 22px;
  border: 1px solid #8cabb2;
  border-radius: 10px;
  background: rgba(239, 246, 246, .72);
}

.product-application-grid span {
  display: block;
  margin-bottom: 24px;
  color: #087ea0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.product-application-grid h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.new-product-detail .related-products {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top-color: #8dacb3;
}

.new-product-detail .related-products .product-links {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 920px) {
  .product-detail-hero-grid,
  .product-enquiry-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-image {
    max-width: 650px;
  }

  .product-data-grid,
  .product-application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .product-section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-section-heading .kicker {
    grid-column: auto;
    margin-bottom: 0;
  }

  .product-enquiry-grid {
    gap: 34px;
  }

  .new-product-detail .related-products {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .new-product-detail .related-products .product-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .product-detail-hero {
    padding: 30px 0 48px;
  }

  .product-detail-hero .breadcrumbs {
    margin-bottom: 20px;
  }

  .product-detail-hero-grid {
    gap: 30px;
  }

  .product-detail-summary h1 {
    max-width: 100%;
    font-size: clamp(32px, 10vw, 42px);
  }

  .product-data-grid,
  .product-application-grid,
  .product-quote-fields {
    grid-template-columns: 1fr;
  }

  .product-data-grid article {
    min-height: 0;
  }

  .product-data-grid article > span,
  .product-application-grid span {
    margin-bottom: 16px;
  }

  .product-application-grid article {
    min-height: 0;
  }

  .product-review-panel {
    padding: 24px 20px;
  }
}

/* Consistent product-card text rhythm, without clipping translations. */
.product-card .body > h3 { min-height: 2.6em; }
.product-card .body > p { line-height: 1.7; min-height: 8.5em; }
.product-card .card-actions { margin-top: auto; }
@media (max-width: 767px) {
  .product-card .body > h3, .product-card .body > p { min-height: 0; }
}

/* Exact source-photo crops on a uniform white canvas with embedded company marks. */
.product-card figure { background:#fff; aspect-ratio:16/9; height:auto; }
.product-card img, .product-card.product-instrumentation-cables img { object-fit:contain; object-position:center; transform:none; }
.product-card:hover img { transform:none; }
.product-visual:has(>img[src*="-horizontal.svg"]) { background:#fff; }
.product-visual > img[src*="-horizontal.svg"] { object-fit:contain; object-position:center; aspect-ratio:16/9; width:100%; height:auto; }
.product-card figure::after, .product-visual:has(>img[src*="-horizontal.svg"])::after { display:none; }
html[lang="zh-CN"] .product-card .eyebrow, html[lang="zh-TW"] .product-card .eyebrow,
html[lang="zh"] .product-card .eyebrow, html[lang="zh-Hant"] .product-card .eyebrow { letter-spacing:0; text-transform:none; }

html[lang^="zh"] .product-card .eyebrow { letter-spacing:0; text-transform:none; }

.social-links .social-mark { cursor:default; display:inline-flex; align-items:center; justify-content:center; }
.contact-people:has(> :only-child) { grid-template-columns:1fr; }

/* Social platform links: shared contact and footer interaction. */
.contact-card .actions {gap:10px;flex-wrap:wrap}
a.social-platform {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 12px;border:1px solid rgba(91,220,226,.5);border-radius:9px;color:#e6fafd;background:rgba(49,199,209,.10);text-decoration:none;cursor:pointer;transition:background .18s ease,border-color .18s ease}
a.social-platform svg {flex:0 0 18px;width:18px;height:18px}
a.social-platform:hover {background:rgba(49,199,209,.24);border-color:#75e0e2}
a.social-platform:focus-visible {outline:2px solid #75e0e2;outline-offset:3px}
@media(prefers-reduced-motion:reduce){a.social-platform{transition:none}}

/* Keep footer social links together at every viewport width. */
@media (max-width:920px) {
  .nav-flyout:not(.open) .nav-flyout-menu { display:none; }
  .nav-flyout.open .nav-flyout-menu { display:block; }
  .nav-flyout-trigger { padding-block:6px; }
}
.footer-grid .social-links {
  display:flex;
  flex-wrap:nowrap;
  gap:6px;
  width:100%;
}
.footer-grid .social-links a.social-platform {
  flex:0 0 auto;
  gap:5px;
  padding-inline:8px;
  min-height:44px;
  font-size:11px;
  letter-spacing:0;
  white-space:nowrap;
}
