/* Partner hardware uses the established CLR product hero and spec panel.
   These overrides only fit existing source photos; no stretching or lighting. */
.hardware-product-page .product-hero { align-items: stretch; min-height: 0; }
.hardware-product-page .product-hero__main { display: flex; flex-direction: column; min-height: 720px; }
.hardware-product-page .product-hero__copy { width: 100%; padding: 48px 48px 0; }
.hardware-product-page .back-link { margin-bottom: 40px; }
.hardware-product-page .product-hero h1 { font-size: clamp(3rem, 5.4vw, 5.8rem); white-space: normal; overflow-wrap: break-word; }
.hardware-product-page .product-hero__image { position: relative; right: auto; bottom: auto; display: flex; align-items: center; justify-content: center; flex: 1; width: calc(100% - 72px); min-height: 300px; max-height: 480px; margin: 36px 36px; overflow: hidden; }
.hardware-product-page .product-hero__image img { width: 86%; height: auto; max-height: none; object-fit: contain; mask-image: none; -webkit-mask-image: none; filter: none; }
.hardware-product-page .hardware-product-photo--bomebox img { width: auto; height: 300px; max-width: 100%; clip-path: inset(2% 2.4% 2.3%); }
.hardware-product-note { color: var(--muted); font-size: .78rem; line-height: 1.5; margin: 14px 0; }
.hardware-product-sources { font-size: .72rem; line-height: 1.7; margin: 24px 0 0; }
.hardware-product-sources a { color: var(--muted); text-underline-offset: 3px; }
.hardware-product-sources a:hover { color: var(--accent); }
.hardware-product-story { padding: clamp(48px, 6vw, 88px) 48px; }
.hardware-product-story__heading { max-width: 1040px; }
.hardware-product-story h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.055em; }
.hardware-product-story__heading > p:last-child { max-width: 80ch; margin: 24px 0 0; color: var(--muted); line-height: 1.65; }
.hardware-product-story__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 38px 0 28px; }
.hardware-product-story__grid article { border-top: 1px solid var(--border); padding-top: 22px; }
.hardware-product-story h3 { margin: 0 0 12px; font-size: 1.2rem; }
.hardware-product-story__grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.hardware-ab-diagram { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; margin: 38px 0 0; padding: 28px; background: #111; border: 1px solid var(--border); border-radius: 18px; }
.hardware-ab-diagram__sources { display: grid; gap: 14px; }
.hardware-ab-diagram__sources > div, .hardware-ab-diagram__switch, .hardware-ab-diagram__output { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--border); border-radius: 10px; }
.hardware-ab-diagram__switch { border-color: var(--accent); }
.hardware-ab-diagram span:not(.hardware-ab-diagram__arrow) { color: var(--accent); font-family: var(--font-technical); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.hardware-ab-diagram strong { font-size: 1rem; }
.hardware-ab-diagram small, .hardware-ab-diagram figcaption { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.hardware-ab-diagram__arrow { color: var(--accent); font-size: 1.5rem; }
.hardware-ab-diagram figcaption { grid-column: 1 / -1; }
.hardware-ab-diagram figcaption a { color: var(--accent); }
@media (max-width: 1040px) {
  .hardware-product-page .product-hero { grid-template-columns: minmax(0, 1fr); }
  .hardware-product-page .spec-panel { border-left: 0; border-top: 1px solid var(--border); }
  .hardware-product-page .product-hero__main { min-height: 640px; }
}
@media (max-width: 760px) {
  .hardware-product-page .site-nav { justify-content: flex-start; }
  .hardware-product-page .product-hero__copy { padding: 32px 24px 0; }
  .hardware-product-page .back-link { margin-bottom: 30px; }
  .hardware-product-page .product-hero h1 { font-size: clamp(2.6rem, 10vw, 4.5rem); }
  .hardware-product-page .product-hero__main { min-height: 0; }
  .hardware-product-page .product-hero__image { flex: none; min-height: 0; height: 240px; width: calc(100% - 36px); margin: 24px 18px; }
  .hardware-product-page .hardware-product-photo--bomebox img { height: 220px; }
  .hardware-product-story { padding: 44px 24px; }
  .hardware-product-story__grid { grid-template-columns: 1fr; gap: 28px; }
  .hardware-ab-diagram { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .hardware-ab-diagram__arrow { transform: rotate(90deg); justify-self: center; }
}
