/* Fluid layout around the retained Hydrotech artwork and original copy. */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { margin:0; background:#102b4b url("back.jpg") repeat-x top; color:#000; font-family:Arial,sans-serif; }
.site-shell { width:100%; max-width:1100px; min-height:100vh; min-height:100svh; margin:0 auto; }
.site-header img { display:block; border:0; }
.brand-art { display:block; }
.brand-art img { width:100%; height:auto; }
.mobile-contact { display:none; }
.primary-nav { display:grid; grid-template-columns:137fr 200fr 247fr 334fr 180fr; padding-left:2px; background:#31497a; }
.primary-nav a { display:block; min-width:0; }
.primary-nav img { width:100%; height:auto; }
.primary-nav span { display:none; }
.header-trim { height:22px; background:#f9fafc url("index_11.jpg") repeat-x bottom; background-size:auto 22px; }
.page-surface { background:#f9fafc url("index_13.jpg") no-repeat top center; background-size:100% 749px; padding:15px 0 9px; }
.page-copy { box-sizing:border-box; width:calc(100% - 30px); max-width:817px; min-height:749px; padding:6px; margin:0 auto; }
.home-copy { text-align:center; }
.home-line { margin:0; font-size:18px; line-height:1.5; font-weight:bold; }
.project-gallery { display:flex; flex-wrap:wrap; justify-content:center; gap:4px; margin:16px auto; }
.project-gallery a { display:block; width:150px; max-width:calc((100% - 8px)/2); }
.project-gallery img { display:block; box-sizing:border-box; width:100%; height:auto; border:2px solid #f9fbfc; }
.company-summary { font:10px/1 Verdana,sans-serif; text-align:left; margin:0; }
.service-copy h1 { font:bold 16px/1.5 Arial,sans-serif; margin:0 0 16px; }
.service-copy p { margin:0 0 16px; line-height:normal; }
.page-copy a:not([rel="lightbox"]) { color:#174b72; overflow-wrap:anywhere; }
footer { box-sizing:border-box; width:calc(100% - 30px); max-width:817px; margin:0 auto; padding:0 6px; }
.footer-nav { display:flex; flex-wrap:wrap; justify-content:center; column-gap:20px; background:#13304f; padding:12px 6px; font:bold 13px/1.4 Verdana,sans-serif; }
.footer-nav a { color:#f9fbfc; text-align:center; }
.site-shell a:focus-visible { outline:3px solid #537ab4; outline-offset:3px; }
.skip-link { position:absolute; left:12px; top:-100px; padding:12px; background:#fff; color:#13304f; z-index:200; }
.skip-link:focus { top:12px; }
@media (max-width:700px) {
  .brand-art { position:relative; overflow:hidden; height:128px; background:linear-gradient(#d2d5d7,#fff 45%,#d2d5d7); border:6px solid #31497a; border-bottom:0; }
  .brand-art img { position:absolute; width:704px; max-width:none; height:auto; left:50%; top:0; transform:translateX(-50%); }
  .mobile-contact { display:flex; align-items:center; justify-content:space-between; gap:8px; background:#d2d5d7; border:6px solid #31497a; border-top:0; color:#31497a; padding:4px 10px 8px; font:small-caps bold 13px/1.3 Georgia,serif; }
  .mobile-contact a { color:#31497a; white-space:nowrap; font:bold 18px/1.3 Georgia,serif; }
  .primary-nav { display:flex; flex-wrap:wrap; justify-content:center; padding:0; background:#31497a; }
  .primary-nav a { box-sizing:border-box; flex:1 1 33.333%; min-height:48px; display:flex; align-items:center; justify-content:center; text-align:center; padding:8px; background:linear-gradient(115deg,#293b5e,#344f82); border:1px solid #566c95; color:#d6d4d4; text-decoration:none; }
  .primary-nav a:nth-child(n+4) { flex-basis:50%; }
  .primary-nav img { display:none; }
  .primary-nav span { display:block; font:small-caps bold 17px/1.2 Georgia,serif; text-shadow:1px 1px 1px #172846; }
  .primary-nav a[aria-current="page"] { box-shadow:inset 0 -3px #b2bbc9; }
  .header-trim { height:14px; }
  .page-surface { padding-top:12px; }
  .page-copy { width:100%; padding:6px 18px 24px; min-height:0; }
  .home-line { font-size:17px; line-height:1.5; margin-bottom:4px; }
  .project-gallery { gap:8px; margin:20px auto; }
  .company-summary { font-size:12px; line-height:1.5; }
  .service-copy { min-height:calc(100svh - 345px); }
  .service-copy h1 { font-size:18px; }
  .service-copy p { line-height:1.55; }
  .service-copy .contact-line { margin-bottom:8px; }
  footer { width:100%; padding:0 12px; }
  .footer-nav { gap:0 16px; padding:8px; font-size:12px; }
  .footer-nav a { display:flex; align-items:center; justify-content:center; min-height:44px; flex:1 1 calc(50% - 16px); }
}
@media (max-width:350px) {
  .brand-art { height:114px; }
  .brand-art img { width:638px; }
  .mobile-contact { padding-left:6px; padding-right:6px; font-size:11px; }
  .mobile-contact a { font-size:16px; }
  .primary-nav span { font-size:13px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Retain the original wide banner proportions around the edited artwork. */
.masthead{position:relative}
.brand-art{position:relative;overflow:hidden;aspect-ratio:2170/404}
.brand-art img{position:absolute;top:0;left:0;width:100%;height:auto;transform:translateY(-22.068966%)}
.brand-transition{position:absolute;left:29%;right:27%;bottom:4%;height:17%;color:#31497a}
.brand-transition span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.banner-phone{position:absolute;right:1%;top:65%;width:18%;height:27%}
@media(max-width:700px){
 .brand-art{aspect-ratio:auto}
 .brand-art img{left:50%;width:704px;transform:translate(-50%,-22.068966%)}
 .brand-transition{position:static;display:block;height:auto;padding:7px 12px;background:#d2d5d7;border:6px solid #31497a;border-top:0;border-bottom:0;text-align:center;font:bold 13px/1.45 Arial,sans-serif}
 .brand-transition span{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
 .banner-phone{display:none}
}
@media(max-width:350px){.brand-art img{width:638px}}
