/* V17: shared navigation, type, captions and flowing-water banners. */
body { --header-height: 90px; --copy-size: 14.5px; --caption-size: 12px; }
body .v10-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 #dce4e9;
}
body .v10-nav { height: var(--header-height); }
html { scroll-padding-top: 112px; }
body .skip-link { position: fixed; z-index: 1100; }

/* Match navigation labels, inline labels and copy across both page families. */
body:is(.v10-page, .legacy) :is(
  .v10-nav summary, .v10-nav nav > a, .dropdown a,
  .product-feature-tags span, .application-items span, .use-list span,
  .industry-grid > div, .feature-result strong, .purpose strong,
  .footer-office-heading, .footer-bottom, .footer-bottom span
) {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: var(--copy-size) !important;
  line-height: 1.65 !important;
}
body:is(.v10-page, .legacy) :is(figcaption, .illustration-note) {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: var(--caption-size) !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
/* Named product/source captions are labels, not illustration disclaimers. */
body:is(.v10-page, .legacy) :is(.source-grid, .product-slide) figcaption:not(.illustration-note) {
  font-size: var(--copy-size) !important;
  font-weight: 600 !important;
}

/* A full-bleed photographic water series; each secondary page has its own image. */
body .v10-banner,
body.page-aqfilm .photo-banner {
  min-height: 310px;
  display: flex;
  align-items: center;
  padding-block: 48px;
  background: #05284e;
  isolation: isolate;
}
body .v10-banner::before,
body .v10-banner::after,
body.page-aqfilm .photo-banner .banner-photo { display: none !important; }
body .v10-banner .banner-water {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
body .v10-banner .banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #05284ee8, #05284ecc 42%, #05284e85 58%, transparent 90%);
  z-index: 1;
  pointer-events: none;
}
body .v10-banner > .container { position: relative; z-index: 2; }
body .v10-banner h1 { max-width: min(70%, 700px); }
body .v10-banner p:not(.eyebrow) { max-width: min(60%, 640px); }
body.page-aqfilm .v10-banner { min-height: 350px; }
body.page-aqfilm .v10-banner h1 { max-width: min(70%, 650px); }
body .v10-banner .banner-accent { margin-top: 24px; }

/* Shared grid rows keep images, headings and copy on clear alignment lines. */
body.legacy .digital-evidence-grid { gap: 30px 36px; }
body.legacy .digital-evidence-grid article {
  grid-template-columns: 190px minmax(0, 1fr);
  grid-template-rows: minmax(49px, auto) auto;
  gap: 8px 22px;
  align-content: start;
  align-items: start;
}
body.legacy .digital-evidence-grid figure {
  width: 190px;
  height: 125px;
  margin: 0;
  grid-row: 1 / 3;
}
body.legacy .digital-evidence-grid h3 { margin: 0; }
body.legacy .digital-evidence-grid p { margin: 0; }
body.v10-page .service-editorial > article { display: grid; grid-template-rows: auto 48px auto; align-content: start; }
body.v10-page .service-editorial p { margin-bottom: 0; }
body.v10-page .service-editorial ul { margin-top: 14px; }
body.legacy .package-overview > .package-grid { align-content: start; gap: 28px 26px; }
body.legacy .package-grid article { display: grid; grid-template-rows: auto 1fr; align-content: start; }
body.legacy .package-grid h3 { min-height: 49px; margin: 0 0 9px; }

@media (max-width: 1100px) {
  body.legacy .digital-evidence-grid article { grid-template-columns: 155px minmax(0, 1fr); gap: 8px 18px; }
  body.legacy .digital-evidence-grid figure { width: 155px; height: 103px; }
}
@media (max-width: 760px) {
  body { --header-height: 78px; }
  html { scroll-padding-top: 98px; }
  body .v10-nav nav.open { max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  body .v10-banner, body.page-aqfilm .photo-banner { min-height: 295px; padding-block: 36px; }
  body .v10-banner .banner-water { object-position: 63% center; }
  body .v10-banner .banner-shade { background: #05284e80; }
  body .v10-banner h1, body.page-aqfilm .v10-banner h1, body .v10-banner p:not(.eyebrow) { max-width: 100%; }
  body.legacy .digital-evidence-grid article { grid-template-columns: 165px minmax(0, 1fr); grid-template-rows: auto auto; }
  body.legacy .digital-evidence-grid figure { width: 165px; height: 110px; }
  body.v10-page .service-editorial > article { display: block; }
  body.v10-page .service-editorial p { margin-bottom: 15px; }
}
@media (max-width: 440px) {
  body.legacy .digital-evidence-grid article { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  body.legacy .digital-evidence-grid figure { width: 100%; height: auto; aspect-ratio: 16 / 10; grid-column: 1; grid-row: 1; }
  body.legacy .digital-evidence-grid :is(h3, p) { grid-column: 1; grid-row: auto; }
  body.legacy .package-grid h3 { min-height: 0; }
}
