/* Phase 2: image treatment only. Base typography, palette, containers and
   section spacing remain in design.css without modification. */
.home-hero-picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}
.home-hero-picture .home-hero-image {
  z-index: auto;
  object-position: center;
}
.home-shade {
  background: linear-gradient(
    90deg,
    #0c2233d9 0%,
    #0c2233c7 43%,
    #0c223333 67%,
    #0c223300 85%
  );
}
.hero-image-note {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: #d1dde4;
  margin-top: 4px;
}
.equipment-image.type-photograph {
  background: var(--tone);
}
.type-photograph img {
  /* All six images were composed at 3:2 with the entire type in frame. */
  object-fit: contain;
  object-position: center;
}
.system-illustration {
  background: var(--tone);
}
.system-illustration img {
  object-fit: contain;
}
.visual-context-note {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  max-width: 760px;
}
.engineering-story {
  margin-top: 28px;
}
.engineering-story img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.8;
  object-fit: cover;
  object-position: center;
}
.engineering-story figcaption {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 10px;
}
.approach-section .engineering-story figcaption {
  color: #becdd7;
}
.approach-section .engineering-story img {
  aspect-ratio: 3.6;
  object-position: 62% 60%;
}
.project-image {
  background: var(--tone);
}
.projects-preview .project-image img {
  object-fit: contain;
}
@media (min-width: 601px) and (max-width: 1100px) {
  .home-shade {
    /* The landscape crop brings metalwork behind tablet copy. */
    background: linear-gradient(
      90deg,
      #0c2233e0 0%,
      #0c2233bf 74%,
      #0c22334d 100%
    );
  }
}
@media (max-width: 600px) {
  .home-shade {
    /* Keep the upper copy legible while allowing the lower plant to read. */
    background:
      linear-gradient(90deg, #0c22333d, #0c223300),
      linear-gradient(
        180deg,
        #0c2233ad 0%,
        #0c2233ad 53%,
        #0c223300 70%,
        #0c22335c 100%
      );
  }
  .home-hero-picture .home-hero-image {
    object-position: center bottom;
  }
  .hero-image-note {
    font-size: 9px;
  }
  .engineering-story {
    margin-top: 24px;
  }
  .engineering-story img {
    aspect-ratio: 1.5;
  }
  .approach-section .engineering-story img {
    aspect-ratio: 1.8;
  }
}
