/* Photography supports the subject; reference captions remain separate from claims. */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 56% center; filter: saturate(.8); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #102b31 0%, rgba(16,43,49,.98) 22%, rgba(16,43,49,.88) 42%, rgba(16,43,49,.36) 66%, rgba(16,43,49,.06) 100%); }
.section-photo, .inner-photo { position: relative; overflow: hidden; border: 0; background: transparent; }
.section-photo { margin-top: 28px; }
.section-photo picture, .inner-photo picture { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e8eeea; border-radius: 7px; }
.section-photo img, .inner-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.section-photo video.section-video { display: block; width: 100%; height: auto; border-radius: 7px; object-fit: cover; object-position: center; }
.section-photo figcaption, .inner-photo figcaption { min-height: 34px; padding: 10px 0 0; color: var(--muted); font: 400 12px/1.55 var(--display); }
.section-photo img { transition: transform .5s var(--motion-ease); }
.oem-photo { margin-top: 0; }
.oem-photo img { object-position: center 51%; }
.production-photo img { object-position: center 58%; }
.fulfillment-photo img { object-position: center 65%; }
.documentation-photo img { object-position: 74% center; }
.review-photo img { object-position: center 45%; }
.contact-photo { margin-top: 0; }
.contact-photo figcaption { color: #cbdad2; }
.document-side { align-self: start; }
.services-layout > .section-intro, .supply-layout > .section-intro, .scope-intro, .oem-copy, .documentation-layout > .section-intro { min-width: 0; }
@media (hover: hover) and (pointer: fine) { .section-photo:hover img { transform: scale(1.02); } }
@media (max-width: 1100px) and (min-width: 761px) {
  .hero-overlay { background: linear-gradient(90deg, #102b31 0%, rgba(16,43,49,.98) 38%, rgba(16,43,49,.78) 58%, rgba(16,43,49,.12) 100%); }
  .hero-media img { object-position: 62% center; }
}
@media (max-width: 760px) {
  .home-page .hero-media { inset: auto 0 0; height: 43%; width: 100%; }
  .home-page .hero-media img { object-position: center 60%; }
  .home-page .hero-overlay { background: linear-gradient(180deg, #102b31 0%, #102b31 51%, rgba(16,43,49,.93) 63%, rgba(16,43,49,.28) 83%, rgba(16,43,49,.12) 100%); }
  .section-photo { margin-top: 24px; }
  .section-photo figcaption, .inner-photo figcaption { padding-top: 8px; font-size: 11px; }
  .oem-photo { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .section-photo:hover img { transform: none; } }

/* Homepage editorial laboratory direction. The hero stays open and factual so
   the product image reads as a specimen, not a promotional tile. */
.home-page .hero--product {
  background: #f7f8f5;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.home-page .hero--product .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: clamp(48px, 8vw, 128px);
  min-height: 620px;
  padding-block: 78px 72px;
}
.home-page .hero--product .hero-copy {
  width: 100%;
  max-width: 660px;
}
.home-page .hero--product .hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--accent);
  font: 500 11px/1.5 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-page .hero--product .hero-kicker-rule {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}
.home-page .hero--product h1 {
  max-width: 680px;
  margin-bottom: 22px;
  color: var(--brand-blue);
  font-size: clamp(48px, 5.6vw, 78px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .99;
}
.home-page .hero--product h1 span { color: var(--accent); }
.home-page .hero--product .hero-positioning {
  max-width: 510px;
  color: var(--brand-blue-deep, #002f63);
  font-size: clamp(21px, 2.1vw, 29px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.24;
}
.home-page .hero--product .hero-intro {
  max-width: 455px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.home-page .hero--product .hero-actions {
  margin-top: 30px;
  gap: 10px 22px;
}
.home-page .hero--product .hero-actions .text-link {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--brand-blue);
  text-decoration: none;
}
.home-page .hero--product .hero-actions .text-link:hover {
  background: #e9f0f8;
  color: var(--brand-green-deep, #176f2e);
}
.home-page .hero--product .hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 640px;
  margin: 54px 0 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}
.home-page .hero--product .hero-facts > div {
  min-width: 0;
  padding: 14px 14px 14px 0;
  border-right: 1px solid var(--line);
}
.home-page .hero--product .hero-facts > div:last-child { border-right: 0; }
.home-page .hero--product .hero-facts dt {
  color: #153b37;
  font: 500 17px/1.2 var(--mono);
}
.home-page .hero--product .hero-facts dd {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.home-page .hero--product .hero-product-media {
  position: relative;
  width: min(100%, 560px);
  margin: 0;
  justify-self: end;
}
.home-page .hero--product .hero-product-media::before,
.home-page .hero--product .hero-product-media::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}
.home-page .hero--product .hero-product-media::before {
  top: -18px;
  right: -18px;
  width: 80px;
  height: 80px;
  border-top: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
}
.home-page .hero--product .hero-product-media::after {
  bottom: 46px;
  left: -30px;
  width: 110px;
  height: 1px;
  background: var(--line-dark);
}
.home-page .hero--product .hero-product-link {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border: 1px solid #d8dfdc;
  border-radius: 0;
  background: #edf3f8;
  box-shadow: 16px 18px 0 rgba(0, 63, 131, .07);
}
.home-page .hero--product .hero-product-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.33 / 1;
  object-fit: cover;
  filter: none;
  transform: none;
}
.home-page .hero--product .hero-product-media figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.home-page .hero--product .hero-product-media figcaption span {
  color: var(--accent);
  font: 500 10px/1.5 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.home-page .hero--product .hero-product-media figcaption strong {
  color: var(--ink);
  font-weight: 600;
}
.home-page .hero--product .hero-product-media figcaption small {
  flex-basis: 100%;
  font-size: inherit;
}

/* Give the product rail a catalogue rhythm rather than four unrelated tiles. */
.home-page .products-section { background: #fff; }
.home-page .home-products-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}
.home-page .home-products-heading h2 { letter-spacing: -.035em; }
.home-page .home-products-grid { gap: 18px; }
.home-page .home-product-image {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f0f3f1;
}
.home-page .home-product-image img { object-fit: cover; }
.home-page .home-product h3 {
  margin-top: 14px;
  font-size: 17px;
  letter-spacing: -.015em;
}
.home-page .home-product h3 a { text-decoration-thickness: 1px; }
.home-page .home-product p { margin-top: 6px; }

@media (max-width: 1100px) {
  .home-page .hero--product .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
    gap: 42px;
    min-height: 570px;
  }
  .home-page .hero--product h1 { font-size: clamp(46px, 6vw, 64px); }
  .home-page .hero--product .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .hero--product .hero-facts > div:nth-child(2) { border-right: 0; }
  .home-page .hero--product .hero-facts > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .home-page .hero--product .hero-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding-block: 42px 56px;
  }
  .home-page .hero--product .hero-copy { display: contents; }
  .home-page .hero--product .hero-kicker { order: 1; margin-bottom: 20px; }
  .home-page .hero--product h1 { order: 2; margin-bottom: 18px; font-size: clamp(42px, 12vw, 58px); }
  .home-page .hero--product .hero-positioning { order: 3; max-width: 330px; font-size: 22px; }
  .home-page .hero--product .hero-intro { order: 4; margin-top: 14px; font-size: 14px; }
  .home-page .hero--product .hero-product-media {
    order: 6;
    width: min(100%, 340px);
    align-self: center;
    margin-top: 32px;
  }
  .home-page .hero--product .hero-product-link { box-shadow: 10px 12px 0 #e7ece8; }
  .home-page .hero--product .hero-product-media::before { top: -12px; right: -12px; width: 56px; height: 56px; }
  .home-page .hero--product .hero-product-media::after { bottom: 42px; left: -18px; width: 70px; }
  .home-page .hero--product .hero-actions { order: 5; margin-top: 26px; }
  .home-page .hero--product .hero-actions .button,
  .home-page .hero--product .hero-actions .text-link { width: 100%; max-width: 350px; }
  .home-page .hero--product .hero-facts { order: 7; max-width: none; margin-top: 38px; }
  .home-page .hero--product .hero-facts > div { padding-right: 10px; }
}
