/* The approved home hero is the shared reference for every service page. */
:root {
  --hero-photo-rest-scale:1.3;
  --hero-photo-hover-scale:1.34;
  --hero-photo-hover-duration:.35s;
  --hero-photo-hover-filter:saturate(.88) contrast(1.01) brightness(.84);
}
:is(.metal-intro,.design-intro) h1 .hero-heading-line {
  padding:0;
  max-width:100%;
  white-space:normal;
}
.metal-intro { position:relative;z-index:1; }
body:is(.metalworking-page,.design-page) :is(.metal-hero-photo,.design-photo) {
  z-index:0;
  pointer-events:auto;
  overflow:hidden;
}
@media (min-width:821px) and (hover:hover) and (pointer:fine) {
  body:is(.metalworking-page,.design-page) :is(.metal-hero-photo,.design-photo) { cursor:zoom-in; }
  body:is(.metalworking-page,.design-page) :is(.metal-hero-photo,.design-photo) img {
    transform-origin:center center;
    transition:transform var(--hero-photo-hover-duration) ease,filter var(--hero-photo-hover-duration) ease;
  }
  body:is(.metalworking-page,.design-page) :is(.metal-hero-photo,.design-photo):hover img {
    transform:scale(calc(var(--hero-photo-hover-scale) / var(--hero-photo-rest-scale)));
    filter:var(--hero-photo-hover-filter);
  }
}
@media (prefers-reduced-motion:reduce) {
  body .hero-heading-line:hover,
  body .hero-heading-group:hover .hero-heading-group-line { transform:none !important; }
  body .hero-heading-group:hover > .hero-heading-icon { transform:translateY(-50%) !important; }
  body:is(.metalworking-page,.design-page) :is(.metal-hero-photo,.design-photo):hover img { transform:none; }
  .hero-team-photo:hover .hero-photo-extension {
    transform:translate(-45px,60px) scale(var(--hero-photo-rest-scale));
  }
}
