/* Homepage media fitting: DRAFT visual adjustment, 2026-10-11.
   Original CAD/PCB assets are unchanged. Cropping is CSS-only. */
.hero-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hero-showcase-item {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  height: 255px;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.hero-showcase-item img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
}
.hero-showcase-item--electronics img {
  /* The source image includes generous margins around the 3D PCB. */
  transform: scale(1.6);
  transform-origin: 50% 50%;
}
.development-media-grid { align-items: start; }
.development-visual {
  display: block;
  min-width: 0;
  margin: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.development-visual-frame {
  display: block;
  box-sizing: border-box;
  height: 180px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--muted-surface);
}
.development-visual-frame img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
}
.development-visual figcaption {
  margin: 9px 0 0;
  padding: 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}
.development-visual--pending .development-visual-frame {
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
@media (max-width: 900px) {
  .hero-showcase-item { height: 240px; }
}
@media (max-width: 560px) {
  .hero-showcase { grid-template-columns: minmax(0, 1fr); }
  .hero-showcase-item--mechanics { height: 205px; }
  .hero-showcase-item--electronics { height: 180px; }
  .development-visual-frame { height: 200px; }
}


/* HOMEPAGE HERO TYPOGRAPHY: v1 — 2026-10-13.
   Changes only homepage presentation; copy and engineering media are unchanged. */
body.brand-site-v02 .hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 3.2vw, 48px);
}
body.brand-site-v02 .hero-copy {
  max-width: none;
  min-width: 0;
}
body.brand-site-v02 .hero-copy h1 {
  max-width: none;
  font-size: clamp(32px, 2.6vw, 40px);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin-bottom: 24px;
}
body.brand-site-v02 .hero-copy p,
body.brand-site-v02 .hero-copy .lead,
body.brand-site-v02 .hero-copy p:not(.lead) {
  max-width: none;
  font-size: 16px;
  line-height: 1.58;
  font-weight: 400;
  margin-bottom: 14px;
}
body.brand-site-v02 .hero-copy .button {
  margin-top: 4px;
}
@media (max-width: 900px) {
  body.brand-site-v02 .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 560px) {
  body.brand-site-v02 .hero-copy h1 {
    font-size: clamp(27px, 7.2vw, 34px);
    line-height: 1.16;
  }
  body.brand-site-v02 .hero-grid {
    gap: 26px;
  }
}
