/* Completed photographic canvases: continuous images instead of padded packshots. */
.header-image.vendor-media,
.header-image.vendor-media.media-cover,
.header-image.scene-media { padding: 0; background: #eaf0ed; }
.page-header:has(.header-image) .header-image {
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0; align-items: stretch; overflow: hidden;
}
.page-header:has(.header-image) .header-image img {
  display: block; width: 100%; height: 100%; max-height: none;
  min-height: 0; aspect-ratio: 3 / 2; object-fit: cover; object-position: center;
}
.header-image.vendor-media .vendor-caption {
  position: static; padding: 10px 18px; background: #eef3ef; margin: 0;
}
.divisions-section .card-photo,
.divisions-section .card-photo.product-fit,
.divisions-section .div-card:first-child > .card-photo.product-fit,
.divisions-section .div-card:not(:first-child) .card-photo.product-fit {
  display: block; width: 100%; padding: 0; aspect-ratio: 3 / 2;
  height: auto; max-height: none; object-fit: cover; align-self: stretch;
  background: #eaf0ed;
}
.catalog-photo.product-fit,
.catalog-photo { padding: 0; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.procurement-gallery img,
.service-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.divisions-section .grid.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; align-items: stretch; }
.divisions-section .div-card,
.divisions-section .div-card:first-child,
.divisions-section .div-card:not(:first-child) { grid-row: auto; grid-column: auto; display: flex; flex-direction: column; min-height: 0; }
.divisions-section .division-copy { flex: 1; display: flex; flex-direction: column; padding: 28px; }
.divisions-section .division-copy > :last-child { margin-top: auto; padding-top: 24px; }
.home-hero.hero-carousel { padding: 0; min-height: 0; background: #f3f6f2; }
.hero-stage { display: grid; position: relative; overflow: hidden; }
.hero-slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-left: max(var(--page-gutter), calc((100% - var(--wrap)) / 2));
  min-height: 560px; background: #f3f6f2;
}
.hero-slide[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.hero-copy { padding: 48px var(--page-gutter) 48px 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hero-copy h1,
.hero-copy h2 { font-size: clamp(2.2rem, 4.1vw, 4.1rem); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 24px; text-wrap: balance; }
.hero-copy h1 em { color: #00736b; font-style: normal; }
.hero-copy .lede { max-width: 55ch; margin: 0 0 28px; font-size: 15px; line-height: 1.85; }
.hero-copy .btn-row { margin: 0; flex-wrap: wrap; gap: 16px; }
.hero-copy .hero-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #07323a; font-size: 14px; }
.hero-slide .hero-photo { margin: 0; padding: 0; min-width: 0; overflow: hidden; background: #eaf0ed; }
.hero-slide .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-navigation {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 max(var(--page-gutter), calc((100% - var(--wrap)) / 2)); border-top: 1px solid #d6e2db; background: #fff;
}
.hero-categories { display: flex; gap: 30px; }
.hero-category {
  border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  background: transparent; padding: 22px 0; min-height: 66px;
  font: 600 14px/1.4 var(--font, 'Manrope', sans-serif); color: #3e5b5f; cursor: pointer;
}
.hero-category[aria-current=true] { color: #006c62; border-bottom-color: #006c62; }
.home-hero.hero-carousel .hero-controls { display: flex; align-items: center; gap: 6px; }
.hero-controls button {
  min-width: 44px; min-height: 44px; padding: 10px; display: inline-flex;
  align-items: center; justify-content: center; gap: 7px; border: 1px solid #c7d8d0;
  border-radius: 4px; background: #fff; color: #07564e; cursor: pointer;
  font: 600 12px/1.4 'Manrope', sans-serif;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.hero-controls button svg,
.hero-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-controls button:active { transform: scale(.96); }
.hero-count { min-width: 48px; text-align: center; font: 500 12px/1.4 'Manrope', sans-serif; font-variant-numeric: tabular-nums; color: #31545a; }
.hero-navigation button:focus-visible { outline: 2px solid #006c62; outline-offset: 4px; }
.hero-navigation[hidden] { display: none; }
.hero-carousel[data-playing=true] .play-icon,
.hero-carousel[data-playing=false] .pause-icon { display: none; }
.hero-carousel[data-instant=true] .hero-slide { animation: none; }
.hero-slide.is-entering { animation: hero-crossfade 380ms cubic-bezier(.16, 1, .3, 1) both; }
@keyframes hero-crossfade { from { opacity: .25; } to { opacity: 1; } }
@media (hover: hover) {
  .hero-controls button:hover { background: #edf5f1; border-color: #006c62; }
  .hero-category:hover { color: #006c62; }
}
@media (max-width: 1100px) {
  .hero-slide { min-height: 500px; }
  .hero-copy { padding-block: 36px; }
  .hero-categories { gap: 22px; }
  .hero-category { font-size: 13px; }
}
@media (max-width: 900px) {
  .divisions-section .grid.g-3 { grid-template-columns: 1fr; }
  .divisions-section .division-copy { padding: 24px; }
  .page-header:has(.header-image) .header-image { display: grid; width: 100%; padding: 0; min-height: 0; }
  .page-header:has(.header-image) .header-image img { width: 100%; height: auto; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; }
}
@media (max-width: 1100px) {
  .hero-slide { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; padding-left: 0; }
  .hero-copy { min-height: 290px; padding: 30px var(--page-gutter); }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(2rem, 5.4vw, 3.3rem); margin-bottom: 18px; max-width: 24ch; }
  .hero-copy .lede { margin-bottom: 20px; font-size: 14px; }
  .hero-slide .hero-photo { aspect-ratio: 3 / 2; }
  .hero-slide .hero-photo img { width: 100%; height: 100%; }
  .hero-navigation { flex-wrap: wrap; gap: 0; padding-bottom: 14px; }
  .hero-categories { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .hero-category { min-height: 62px; padding: 14px 0; text-align: left; }
  .hero-controls { padding-top: 12px; margin-left: auto; }
}
@media (max-width: 520px) {
  .hero-copy { min-height: 318px; padding: 26px var(--page-gutter); }
  .hero-copy h1, .hero-copy h2 { font-size: 2rem; letter-spacing: -.025em; }
  .hero-copy .lede { font-size: 13px; line-height: 1.75; }
  .hero-copy .btn { padding: 13px 16px; font-size: 12px; }
  .hero-copy .hero-link { font-size: 12px; }
  .hero-category { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-entering { animation: none; }
  .hero-controls button { transition: none; }
}
