/* Home services and proof strip, restored from the supplied layout. */
.services-overview{padding:30px 0 32px;background:linear-gradient(115deg,#f2f8fc 0%,#fff 55%,#f2f8fc 100%)}
.services-layout{display:grid;grid-template-columns:minmax(260px,1.45fr) repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.services-intro{padding:9px 18px 8px 0}
.services-intro h2{color:var(--ink);font-size:clamp(25px,2.25vw,33px);line-height:1.12;letter-spacing:-.045em;margin:13px 0 12px}
.services-intro p{color:var(--muted);font-size:13px;line-height:1.55;margin:0 0 17px;max-width:38ch}
.services-intro .button{padding:12px 16px}
.service-tile{position:relative;display:block;min-height:264px;overflow:hidden;border:1px solid #d7e5ef;border-radius:14px;background:#fff;isolation:isolate;box-shadow:0 7px 25px #1033510b;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.service-tile:hover{transform:translateY(-5px);border-color:#9adbf0;box-shadow:0 16px 35px #0b497b22}
.service-tile:focus-visible{outline:3px solid #f9ad34;outline-offset:3px}
.service-tile-copy{position:relative;z-index:2;padding:15px 15px 2px}
.service-tile-copy>.ph{display:block;color:var(--cyan);font-size:31px;margin-bottom:6px}
.service-tile h3{font-size:17px;letter-spacing:-.035em;margin:0 0 5px;color:var(--ink)}
.service-tile p{color:#43536c;font-size:12px;line-height:1.32;margin:0;max-width:24ch}
.service-tile-media{position:absolute;z-index:1;left:0;right:0;bottom:0;height:43%;display:block;overflow:hidden;background:#e7f2f8}
.service-tile-media img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .45s ease}
.service-tile:hover .service-tile-media img{transform:scale(1.07)}
.service-tile-arrow{position:absolute;z-index:3;right:11px;bottom:11px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff;color:var(--cyan-deep);font-size:14px;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}
.service-tile:hover .service-tile-arrow,.service-tile:focus-visible .service-tile-arrow{opacity:1;transform:translateY(0)}
.proof-strip{position:relative;overflow:hidden;background:linear-gradient(115deg,#1b3048,#0c192c 52%,#243a50);color:#fff}
.proof-strip:before,.proof-strip:after{content:"";position:absolute;top:-25%;height:150%;transform:skew(-31deg);pointer-events:none}
.proof-strip:before{left:-65px;width:120px;background:#c8e9ff14}
.proof-strip:after{right:-90px;width:130px;background:var(--cyan)}
.proof-grid{position:relative;z-index:1;min-height:112px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}
.proof-item{display:flex;align-items:center;justify-content:center;gap:15px;min-width:0;padding:9px 14px;border-right:1px solid #c4d6e077}
.proof-item:last-child{border-right:0}
.proof-item>.ph{color:#1bc2f0;font-size:37px;flex:0 0 auto}
.proof-item strong{display:block;font-size:30px;line-height:1;letter-spacing:-.04em}
.proof-item small{display:block;font-size:11px;line-height:1.35;margin-top:4px}

/* Consistent depth and response feedback across internal pages. */
.site-header{position:sticky;top:0;z-index:40;transition:box-shadow .25s ease}
.site-header.is-scrolled{box-shadow:0 8px 26px #0d1c3124}
main section{scroll-margin-top:90px}
.page-hero{position:relative;overflow:hidden;isolation:isolate}
.page-hero:before{content:"";position:absolute;z-index:-1;right:-8%;top:-110%;width:56%;height:300%;border:1px solid #8dbbd01f;transform:rotate(25deg);box-shadow:0 0 0 36px #97bfd109,0 0 0 72px #97bfd108}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{max-width:17ch}
.page-hero p{max-width:72ch}
.product-card,.gallery-photo,.story-photo,.feature-photo,.detail-image{box-shadow:0 10px 30px #0d1c310c}
.product-card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.product-card:hover{border-color:#a5d9eb;box-shadow:0 22px 35px #0d1c3121}
.product-card-copy .ph{transition:transform .2s ease}
.product-card:hover .product-card-copy .ph{transform:translate(3px,-3px)}
.button{transition:background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.button .ph{transition:transform .2s ease}
.button:hover .ph{transform:translateX(4px)}
.button:active{transform:translateY(1px) scale(.985);box-shadow:none}
.nav-dropdown{transform-origin:top center}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus,.newsletter-form:focus-within{border-color:var(--cyan);box-shadow:0 0 0 3px #00a9e01c}
.footer-column a{position:relative;transition:color .2s ease}
.footer-column a:after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:1px;background:var(--cyan-deep);transition:width .2s ease}
.footer-column a:hover:after{width:100%}
.detail-copy{max-width:68ch}
.detail-copy p{line-height:1.8}
.listing-section .section-heading{padding-bottom:3px}

/* Product filters remain readable and usable without relying on animation. */
.product-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-2px 0 24px}
.product-filters button{border:1px solid #c5d9e5;border-radius:999px;background:#fff;color:var(--ink);padding:8px 16px;font-size:12px;font-weight:800;transition:background .2s,color .2s,border-color .2s,transform .2s}
.product-filters button:hover{border-color:var(--cyan);transform:translateY(-2px)}
.product-filters button[aria-pressed="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}
.product-grid .product-card[hidden]{display:none}

/* Native dialog provides focus handling and Escape support for project photos. */
.gallery-photo.is-interactive{cursor:zoom-in;transition:transform .25s ease,box-shadow .25s ease}
.gallery-photo.is-interactive:hover{transform:translateY(-4px);box-shadow:0 18px 35px #0d1c3122}
.gallery-photo.is-interactive img{transition:transform .4s ease}
.gallery-photo.is-interactive:hover img{transform:scale(1.025)}
.gallery-dialog{width:min(1100px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:14px;background:#0a1626;color:#fff;box-shadow:0 24px 70px #0008;overflow:hidden}
.gallery-dialog::backdrop{background:#06101de0;backdrop-filter:blur(6px)}
.gallery-dialog-inner{display:grid;grid-template-rows:minmax(0,1fr) auto;max-height:calc(100dvh - 48px)}
.gallery-dialog img{display:block;width:100%;max-height:calc(100dvh - 120px);object-fit:contain}
.gallery-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 16px;font-size:12px}
.gallery-dialog-controls{display:flex;gap:8px}
.gallery-dialog button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff44;border-radius:50%;background:#ffffff13;color:#fff;font-size:18px}
.gallery-dialog button:hover{background:#ffffff30}

/* Entrance motion communicates section order. It is disabled for reduced motion. */
@media (prefers-reduced-motion:no-preference){
  .hero-inner>.eyebrow{animation:hero-in .55s .05s both}
  .hero-inner>h1{animation:hero-in .65s .12s both}
  .hero-inner>p{animation:hero-in .65s .2s both}
  .hero-actions{animation:hero-in .6s .28s both}
  .hero-features{animation:hero-in .6s .36s both}
  body.motion-ready [data-reveal]{opacity:1;translate:0 14px;transition:translate .6s cubic-bezier(.2,.75,.25,1);transition-delay:var(--reveal-delay,0ms)}
  body.motion-ready [data-reveal].is-visible{opacity:1;translate:0 0}
  .nav-group[open] .nav-dropdown{animation:menu-in .2s ease both}
  .primary-nav.is-open{animation:menu-in .2s ease both}
  @keyframes hero-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
  @keyframes menu-in{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
}
@media (prefers-reduced-motion:reduce){.service-tile,.service-tile-media img,.service-tile-arrow,.product-card,.gallery-photo,.gallery-photo img,.button,.button .ph,.nav-dropdown,.primary-nav{animation:none!important;transition:none!important;transform:none!important;translate:none!important}}

@media(max-width:1200px){
  .services-layout{grid-template-columns:minmax(245px,1.25fr) repeat(4,minmax(0,1fr));gap:11px}
  .service-tile{min-height:272px}
  .service-tile-copy{padding:13px 12px 2px}
  .service-tile h3{font-size:15px}
  .service-tile p{font-size:11.5px}
}
@media(max-width:1050px){
  .services-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .services-intro{grid-column:1/-1;max-width:640px;padding:0 0 5px}
  .service-tile{min-height:280px}
  .service-tile-copy{padding:16px}
  .service-tile h3{font-size:18px}
  .service-tile p{font-size:12px}
  .service-tile-media{height:47%}
}
@media(max-width:700px){
  .services-overview{padding:42px 0}
  .services-intro h2{font-size:29px;max-width:550px}
  .services-intro p{font-size:14px;max-width:60ch}
  .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:19px 0}
  .proof-item{min-height:68px;justify-content:flex-start;padding:8px 10px;border:0}
  .proof-item>.ph{font-size:30px}
  .proof-item strong{font-size:25px}
  .proof-strip:after{display:none}
  .page-hero:before{right:-45%;width:100%}
  .site-header{top:0}
}
@media(max-width:430px){
  .services-layout{gap:11px}
  .service-tile{min-height:252px}
  .service-tile-copy{padding:11px}
  .service-tile-copy>.ph{font-size:27px;margin-bottom:3px}
  .service-tile h3{font-size:15px;margin-bottom:4px}
  .service-tile p{font-size:11.5px;line-height:1.28}
  .service-tile-media{height:39%}
  .service-tile-arrow{display:none}
  .proof-item{gap:8px;padding:8px 4px}
  .proof-item>.ph{font-size:25px}
  .proof-item strong{font-size:23px}
  .proof-item small{font-size:10px}
  .gallery-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}
}
@media(max-width:350px){
  .services-layout{grid-template-columns:1fr}
  .service-tile{min-height:230px}
  .service-tile-media{height:49%}
  .service-tile p{font-size:11px}
}
