/* Glass Pros of Tampa — shared styles
   Brand: navy #1a2f55, red #9a0b10, Montserrat. White pages, navy footer. */
:root{
  --navy:#1a2f55;
  --navy-deep:#182b54;
  --ink:#1a2f55;
  --red:#9a0b10;
  --sky:#3fa9ef;
  --paper:#ffffff;
  --mist:#f2f4f7;
  --line:#dde3ec;
  --muted:#4a5b78;
  --display:"Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;
  --body:"Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;
  --wrap:1240px;
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.6}
img{max-width:100%;display:block}
a{color:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--sky);outline-offset:2px}
h1,h2,h3{font-family:var(--display);line-height:1.08;margin:0;text-wrap:balance}
.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:24px}
.skip{position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;padding:10px 16px;z-index:100}
.skip:focus{left:12px;top:12px}

/* Header */
.topbar{background:var(--navy-deep);font-size:11.5px;letter-spacing:2.5px;text-transform:uppercase;color:#fff}
.topbar a{color:#fff}
.topbar .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-block:10px}
.topbar a{text-decoration:none}
.site-head{background:#fff;border-bottom:3px solid var(--navy);position:relative;z-index:20}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:14px}
.logo img{height:72px;width:auto}
.nav{display:flex;align-items:center;gap:36px}
.nav a{text-decoration:none;font-weight:700;font-size:15px;letter-spacing:.5px;text-transform:uppercase;padding:10px 0;border-bottom:2px solid transparent}
.nav a:hover{border-bottom-color:var(--red)}
.nav a[aria-current="page"]{border-bottom-color:var(--navy)}
.menu-btn{display:none;background:none;border:2px solid var(--navy);color:var(--navy);width:46px;height:46px;align-items:center;justify-content:center;cursor:pointer}
.menu-btn svg{width:22px;height:22px}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 24px;background:var(--navy);color:#fff;text-decoration:none;font-weight:700;font-size:13px;letter-spacing:1.4px;text-transform:uppercase;border:0;border-radius:4px;cursor:pointer;font-family:var(--body)}
.btn:hover{background:#24407a}
.btn.red{background:var(--red)}
.btn.red:hover{background:#b3141a}
.btn svg{width:18px;height:18px}

/* Page hero (inner pages) */
.phero{position:relative;min-height:440px;display:flex;align-items:center;background:var(--mist) var(--img) right center/cover no-repeat;overflow:hidden}
.phero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f4f5f7 0,#f4f5f7 34%,rgba(244,245,247,.85) 48%,rgba(244,245,247,0) 70%)}
.phero .wrap{position:relative;width:100%;padding-block:64px}
.phero .copy{max-width:470px}
.phero h1{font-size:clamp(38px,5vw,60px);font-weight:800;text-transform:uppercase;color:var(--navy)}
.phero h1 em{font-style:normal;color:var(--red)}
.phero p{margin:18px 0 0;font-size:17px;font-weight:500;color:var(--navy)}

/* Sections */
.sec{padding-block:88px}
.sec.mist{background:var(--mist)}
.eyebrow{display:block;font-size:13px;font-weight:700;letter-spacing:3px;text-transform:uppercase;color:var(--red);margin-bottom:12px}
.sec h2{font-size:clamp(30px,3.6vw,46px);font-weight:800;color:var(--navy);text-transform:uppercase}
.lede{max-width:66ch;margin:18px 0 0;font-size:17px;color:var(--muted)}

/* Two-column split */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.split .photo{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:8px}
.split .photo.wide{aspect-ratio:4/3}
.prose p{margin:16px 0 0;color:var(--navy)}
.prose h2{text-transform:none}

/* Projects */
.filters{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 36px}
.filters span{font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--muted);align-self:center;margin-right:6px}
.chip{min-height:44px;padding:0 18px;border:1.5px solid var(--navy);background:#fff;color:var(--navy);font:600 14px var(--body);border-radius:999px;cursor:pointer}
.chip[aria-pressed="true"]{background:var(--navy);color:#fff}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card{position:relative;aspect-ratio:1/1;border-radius:12px;overflow:hidden;box-shadow:3px 3px 4px rgba(26,47,85,.2);background:var(--mist)}
.card img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.card:hover img{transform:scale(1.04)}
.card .cap{position:absolute;left:0;right:0;bottom:0;padding:48px 22px 20px;background:linear-gradient(transparent,rgba(10,22,44,.82));color:#fff}
.card h3{font-size:17px;font-weight:700}
.card p{margin:2px 0 0;font-size:14px;opacity:.9}
.card[hidden]{display:none}
.count-note{margin:16px 0 0;font-size:14px;color:var(--muted)}

/* Managed properties carousel */
.carousel{position:relative;margin-top:36px}
.track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px) / 3);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding-bottom:6px}
.track::-webkit-scrollbar{display:none}
.track .card{scroll-snap-align:start}
.car-btn{position:absolute;top:calc(50% - 3px);transform:translateY(-50%);z-index:2;width:52px;height:52px;border-radius:50%;border:2px solid #fff;background:var(--navy);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 18px rgba(26,47,85,.3)}
.car-btn svg{width:24px;height:24px}
.car-btn:hover{background:#24407a}
.car-btn:disabled{opacity:.35;cursor:default}
.car-btn.prev{left:-20px}
.car-btn.next{right:-20px}
@media (prefers-reduced-motion:reduce){.track{scroll-behavior:auto}}

/* About: process */
.process{position:relative;background:#fff var(--img) center/cover no-repeat}
.process::before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.88)}
.process .wrap{position:relative}
.steps{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.steps li{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px 18px;box-shadow:0 6px 18px rgba(26,47,85,.08);display:flex;flex-direction:column;gap:8px}
.steps .n{width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px}
.steps h3{font-size:16px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.steps p{margin:0;font-size:14px;color:var(--muted)}

/* About: warranty list */
.warranty{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px}
.warranty li{display:flex;gap:12px;align-items:baseline;border-bottom:1px solid var(--line);padding-bottom:8px}
.warranty b{min-width:92px;color:var(--red);font-weight:800}
.fine{font-size:14px;font-style:italic;color:var(--muted)}

/* Values */
.values{display:grid;gap:28px}
.value{display:grid;grid-template-columns:56px minmax(0,1fr);gap:18px}
.value svg{width:48px;height:48px;color:var(--navy)}
.value h3{font-size:20px;font-weight:700}
.value p{margin:6px 0 0;color:var(--muted);font-size:15px}

/* Testimonials */
.quotes{background:var(--navy);color:#fff;text-align:center}
.quotes .eyebrow{color:#cfe0f5}
.quotes h2{color:#fff;text-transform:none;font-weight:700}
.qgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:48px}
.qgrid figure{margin:0}
.stars{letter-spacing:4px;font-size:18px}
.qgrid blockquote{margin:14px 0 0;font-size:15px;line-height:1.7}
.qgrid figcaption{margin-top:18px;font-weight:700;font-size:14px;letter-spacing:1px;text-transform:uppercase}
.qgrid figcaption span{display:block;font-weight:500;text-transform:none;letter-spacing:0}

/* CTA band: the composite image (photo left, white middle, red/navy slashes right) is the background;
   copy sits centred in the white middle, roughly 49%–84% across */
.cta{position:relative;background:#fff var(--img) center/100% 100% no-repeat;aspect-ratio:2169/418;max-height:520px;width:100%}
.cta .say{position:absolute;top:0;bottom:0;left:49%;right:16%;display:flex;align-items:center;justify-content:center}
.cta .say-in{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(10px,1.1vw,16px)}
.cta h2{font-size:clamp(17px,1.75vw,28px);font-weight:800;text-transform:uppercase;color:var(--navy);line-height:1.12}
.cta .btn{min-height:clamp(36px,2.8vw,42px);padding:0 clamp(14px,1.3vw,20px);font-size:clamp(11px,.85vw,12.5px)}
.cta .btn svg{width:15px;height:15px}

/* Contact */
.contact-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px;align-items:start}
.form{background:#fff;border:1px solid var(--line);border-radius:12px;padding:32px;box-shadow:0 10px 30px rgba(26,47,85,.08)}
.form h2{font-size:18px;letter-spacing:2px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
.field label{font-size:14px;font-weight:600}
.field input,.field textarea{font:15px var(--body);color:var(--ink);padding:12px 14px;border:1.5px solid #b8c3d4;border-radius:6px;background:#fff;min-height:46px}
.field textarea{min-height:140px;resize:vertical}
.form .note{margin:16px 0 0;font-size:13.5px;color:var(--muted)}
.form .err{margin:12px 0 0;font-size:14px;color:var(--red);font-weight:600}
.info{display:grid;gap:16px}
.info .box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 24px;display:grid;grid-template-columns:40px minmax(0,1fr);gap:16px}
.info svg{width:30px;height:30px;color:var(--navy)}
.info h3{font-size:15px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}
.info p{margin:4px 0 0;font-size:14.5px;color:var(--muted)}
.info a{color:var(--red);font-weight:700;text-decoration:none}
.why{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:40px}
.why div{border-top:3px solid var(--red);padding-top:16px}
.why h3{font-size:16px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}
.why p{margin:8px 0 0;color:var(--muted);font-size:15px}

/* Legal pages */
.legal{max-width:760px}
.legal h1{font-size:clamp(32px,4vw,44px);font-weight:800;color:var(--navy)}
.legal .date{color:var(--muted);margin:10px 0 0;font-size:14px}
.legal h2{font-size:22px;font-weight:700;text-transform:none;margin-top:36px}
.legal p,.legal li{color:var(--navy)}
.legal ul{padding-left:22px}

/* Footer */
.foot{background:var(--navy-deep);color:#fff;position:relative}
.foot .wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,1fr);gap:36px;padding-block:56px 32px}
.foot-logo{display:inline-block;margin-top:7px}
.foot-logo img{height:110px;width:auto}
.foot-logo:hover{opacity:.9}
.foot h2{font-size:13px;letter-spacing:2.5px;text-transform:uppercase;font-weight:700;color:#cfe0f5;margin-bottom:14px}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:14.5px}
.foot nav ul{border-left:3px solid var(--red);padding-left:18px;gap:10px}
.foot nav a{font-weight:700;letter-spacing:1px;text-transform:uppercase;font-size:14px}
.foot a{text-decoration:none}
.foot a:hover{text-decoration:underline}
.foot .base{border-top:1px solid rgba(255,255,255,.15)}
.foot .base .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-block:18px;font-size:13px;color:#c5d2e6}
.foot .base nav{display:flex;gap:20px}

/* Responsive */
@media (max-width:980px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .track{grid-auto-columns:calc((100% - 20px) / 2)}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .why{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contact-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:820px){
  .menu-btn{display:inline-flex}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:stretch;gap:0;border-bottom:3px solid var(--navy);box-shadow:0 12px 24px rgba(26,47,85,.15)}
  .nav.open{display:flex}
  .nav a{padding:16px 24px;border-bottom:1px solid var(--line)}
  .logo img{height:56px}
  .split{grid-template-columns:minmax(0,1fr)}
  .cta{aspect-ratio:auto;background:#fff;max-height:none}
  .cta::before{content:"";display:block;height:190px;background:var(--img) left center/auto 100% no-repeat}
  .cta .say{position:static;padding:28px 24px 36px;justify-content:flex-start}
  .cta h2{font-size:24px}
  .split .photo{aspect-ratio:4/3}
  .qgrid{grid-template-columns:minmax(0,1fr);gap:36px}
  .phero{min-height:380px;background-position:70% center}
  .phero::before{background:linear-gradient(90deg,rgba(244,245,247,.95) 0,rgba(244,245,247,.85) 60%,rgba(244,245,247,.5) 100%)}
  .sec{padding-block:64px}
}
@media (max-width:560px){
  .topbar .wrap{justify-content:center;text-align:center;letter-spacing:1.5px}
  .grid,.steps,.why,.fields,.foot .wrap{grid-template-columns:minmax(0,1fr)}
  .form{padding:22px}
  .track{grid-auto-columns:86%}
  .car-btn{width:46px;height:46px}
  .car-btn.prev{left:8px}
  .car-btn.next{right:8px}
  .foot-logo img{height:96px}
}

/* Contact: navy "why work with us" band and a row of contact boxes */
.why-band{background:var(--navy-deep);color:#fff}
.why-band h2{color:#fff}
.why-band .why{margin-top:36px}
.why-band .why div{border-top-color:var(--red)}
.why-band .why h3{color:#fff}
.why-band .why p{color:#cfdcef}
.info-row{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:32px}
@media (max-width:980px){.info-row{grid-template-columns:minmax(0,1fr)}}

/* Home: pull the footer up under the hero's waves */
main:has(gp-orbit-hero) ~ .foot > .wrap{padding-top:20px}

/* Home: header floats over the hero with no white background */
.site-head.over{position:absolute;left:0;right:0;background:linear-gradient(rgba(10,24,52,.55),rgba(10,24,52,0));border-bottom:0;z-index:30}
.site-head.over .nav a{color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.45)}
.site-head.over .nav a:hover{border-bottom-color:#fff}
.site-head.over .nav a[aria-current="page"]{border-bottom-color:#fff}
.site-head.over .menu-btn{border-color:#fff;color:#fff}
@media (max-width:820px){
  .site-head.over .nav{background:#fff}
  .site-head.over .nav a{color:var(--navy);text-shadow:none}
}

/* Our projects carousel: 4 per view on desktop */
/* (Our projects now shares the 3-per-view track) */
.track .card[hidden]{display:none}
.carousel .count-note{margin-top:14px}
.car-btn[hidden]{display:none}

/* Red rule under every page hero */
.phero{border-bottom:4px solid var(--red)}

/* Contact: shorter "why work with us" band (~75%) */
.why-band{padding-block:56px}
.why-band .why{margin-top:24px}
.carousel .car-btn{top:calc(50% - 22px)}
.filters + .carousel{margin-top:0}

/* Trusted brands: six logos at a time, cross-fading */
.brands{text-align:center}
.brands h2{text-transform:none}
.brands .lede{margin-inline:auto}
.logo-card{position:relative;margin-top:36px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px 56px;box-shadow:0 10px 30px rgba(26,47,85,.08)}
.logo-pages{display:grid}
.logo-page{grid-area:1/1;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;align-items:center;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility 0s .7s}
.logo-page.on{opacity:1;visibility:visible;transition:opacity .7s ease}
.logo-page img{width:100%;height:72px;object-fit:contain}
.logo-pause{position:absolute;right:10px;bottom:10px;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--navy);display:grid;place-items:center;cursor:pointer}
.logo-pause svg{width:16px;height:16px}
@media (max-width:820px){.logo-page{grid-template-columns:repeat(3,minmax(0,1fr))}.logo-card{padding:24px 20px 60px}}
@media (prefers-reduced-motion:reduce){.logo-page{transition:none}}

/* Wave into the footer on every page (the home hero already ends in it) */
.foot-wave{display:block;line-height:0;margin-top:-1px}
.foot-wave svg{display:block;width:100%;height:clamp(90px,11vw,170px)}
.foot-wave .fw-m{display:none}
.foot-wave + .foot > .wrap{padding-top:12px}
main:has(gp-orbit-hero) + .foot-wave{display:none}
@media (max-width:600px){.foot-wave .fw-d{display:none}.foot-wave .fw-m{display:block;height:calc(100vw * 120 / 390)}}
/* Wave sits on the colour of the section above it, and its bottom edge blends into the footer */
.foot-wave{--wave-bg:var(--paper);background:linear-gradient(to top,var(--navy-deep) 4px,var(--wave-bg) 4px)}
main:has(> section.mist:last-child) + .foot-wave{--wave-bg:var(--mist)}

/* Home: larger logo (icon + wordmark, no service tagline) */
.logo-home{display:flex;align-items:center;gap:14px;text-decoration:none}
.logo-home .li{height:104px;width:auto}
.logo-home .lt{height:62px;width:auto}
@media (max-width:820px){.logo-home{gap:10px}.logo-home .li{height:64px}.logo-home .lt{height:38px}}
/* Contact: blueprint texture behind the navy "Why work with us" band */
.why-band{position:relative;overflow:hidden;isolation:isolate}
.why-band::before{content:"";position:absolute;inset:0;z-index:-1;background:url('/assets/media/ef6240-d03c07168b.webp') center/cover no-repeat;filter:invert(1) grayscale(1);mix-blend-mode:screen;opacity:.22;pointer-events:none}
/* Contact: larger phone and email in the Get in touch boxes */
/* About: video hero (text stays on the left over the light fade) */
.phero-video{background:var(--navy-deep)}
.phero-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;z-index:0}
.phero-video::before{z-index:1}
.phero-video .wrap{z-index:2}
.vid-toggle{position:absolute;right:16px;bottom:16px;z-index:3;width:38px;height:38px;border-radius:50%;border:0;display:grid;place-items:center;background:rgba(24,43,84,.7);color:#fff;cursor:pointer}
.vid-toggle:hover{background:var(--navy-deep)}
.vid-toggle:focus-visible{outline:3px solid #fff;outline-offset:2px}
.vid-toggle svg{width:16px;height:16px}
/* Contact: phone and email get their own full-width, centered row sized to fill the card */
.info-row .box{container-type:inline-size;align-content:start}
.info .big-link{grid-column:1/-1;margin:6px 0 0;text-align:center;font-size:clamp(14px,7.3cqi,34px);line-height:1.2;white-space:nowrap}
.info .big-link a{display:inline-block;padding:4px 0;letter-spacing:-.2px}
.info .big-link a:hover{text-decoration:underline;text-underline-offset:4px}
/* Video heroes: video fills the right two-thirds; a short fade blends its left edge into the text side */
@media (min-width:821px){
  .phero-video{background:var(--mist)}
  .phero-vid{left:33.333%;width:66.667%;object-position:center}
  .phero-video::before{background:linear-gradient(90deg,#f4f5f7 0,#f4f5f7 33.333%,rgba(244,245,247,.75) 38%,rgba(244,245,247,0) 48%)}
}
/* Footer logo: fill the first footer column (bigger, per request) */
.foot-logo{display:block;width:100%;max-width:360px}
.foot-logo img{display:block;width:100%;height:auto}
@media (max-width:560px){.foot-logo{max-width:300px}.foot-logo img{height:auto}}
/* Touch screens: taller footer links so they are easy to tap */
@media (max-width:820px){
  .foot ul{gap:2px}
  .foot nav ul{gap:2px}
  .foot ul > li{min-height:40px;display:flex;align-items:center}
  .foot ul a,.foot .base nav a{display:inline-flex;align-items:center;min-height:40px}
}
@media (max-width:560px){
  .foot .base nav{flex-direction:column;align-items:flex-start;gap:0}
  .foot .base nav a{white-space:nowrap}
}
/* Home: logo floats in the sky (top right) once the header scrolls away */
.float-logo{position:fixed;z-index:40;top:28px;right:max(24px,calc((100% - 1360px)/2 + 24px));display:flex;align-items:center;gap:10px;text-decoration:none;opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .35s ease,transform .35s ease,visibility 0s .35s;filter:drop-shadow(0 2px 10px rgba(11,42,85,.45))}
.float-logo.on{opacity:1;visibility:visible;transform:none;transition:opacity .35s ease,transform .35s ease,visibility 0s}
.float-logo .li{height:68px;width:auto}
.float-logo .lt{height:41px;width:auto}
.float-logo:hover{opacity:.9}
.float-logo:focus-visible{outline:3px solid #fff;outline-offset:6px}
@media (max-width:820px){.float-logo{top:18px;right:18px;gap:8px}.float-logo .li{height:46px}.float-logo .lt{height:28px}}
@media (prefers-reduced-motion:reduce){.float-logo,.float-logo.on{transition:none;transform:none}}
@media (max-width:820px){.float-logo{top:14px;right:14px;padding:7px 12px;border-radius:10px;background:rgba(24,43,84,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);filter:none;box-shadow:0 6px 18px rgba(11,42,85,.25)}}
/* About hero: four stacked lines (navy, navy, red, red) */
.phero h1.h1-lines span,.phero h1.h1-lines em{display:block}
.phero h1.h1-lines{line-height:1.02}
/* About: three value cards on white */
.vcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.vcard{background:#fff;border:1px solid var(--line);border-radius:12px;padding:32px 28px 30px;box-shadow:0 10px 30px rgba(24,43,84,.06)}
.vcard svg{width:48px;height:48px;color:var(--red);margin-bottom:18px}
.vcard h3{font-size:20px;font-weight:700;color:var(--navy);line-height:1.25}
.vcard p{margin:10px 0 0;color:var(--muted);font-size:15px}
@media (max-width:980px){.vcards{grid-template-columns:minmax(0,1fr);gap:16px}.vcard{padding:26px 22px}}
/* Glass panels: a soft blueprint backdrop so the frosted cards have something to refract */
.glass-sec{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(160deg,#e9f0f8 0%,#f6f8fb 55%,#edf2f8 100%)}
.glass-sec::before{content:"";position:absolute;inset:0;z-index:-2;background:none;opacity:.16;mix-blend-mode:multiply;pointer-events:none}
.glass-sec::after{content:"";position:absolute;inset:-10%;z-index:-1;pointer-events:none;background:radial-gradient(38% 55% at 12% 30%,rgba(44,114,185,.30),transparent 70%),radial-gradient(34% 50% at 88% 72%,rgba(81,178,229,.32),transparent 70%),radial-gradient(28% 40% at 55% 0%,rgba(154,11,16,.10),transparent 70%)}
.glass-sec .vcard,.glass-sec .info .box{position:relative;border-radius:16px;border:1px solid rgba(255,255,255,.8);background:linear-gradient(120deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,.34) 42%,rgba(255,255,255,.48) 100%);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);box-shadow:0 22px 48px rgba(24,43,84,.13),inset 0 1px 0 rgba(255,255,255,.95),inset 1px 0 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(120,175,220,.35)}
/* thin glass edge highlight along the top-left */
.glass-sec .vcard::after,.glass-sec .info .box::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.65) 0,rgba(255,255,255,0) 22%)}
.glass-sec .vcard>*,.glass-sec .info .box>*{position:relative;z-index:1}
.glass-sec .vcard p,.glass-sec .info p{color:#46566f}
/* Contact: wave sits on the navy band, which is now the last section */
main:has(> section.why-band:last-child) + .foot-wave{--wave-bg:var(--navy-deep)}
/* Glass sections v2: no photo, just a clean light field with soft brand-colour glows behind the panels */
.glass-sec{background:#f4f7fb}
.glass-sec::before{background:none;opacity:1;mix-blend-mode:normal;
  background-image:radial-gradient(closest-side,rgba(44,114,185,.30),rgba(44,114,185,0)),radial-gradient(closest-side,rgba(81,178,229,.32),rgba(81,178,229,0)),radial-gradient(closest-side,rgba(154,11,16,.12),rgba(154,11,16,0));
  background-size:46% 120%,42% 110%,30% 80%;background-position:8% 40%,92% 70%,52% 0%;background-repeat:no-repeat}
.glass-sec::after{background:none}
@media (max-width:980px){.glass-sec::before{background-size:110% 45%,110% 40%,90% 30%;background-position:0% 15%,100% 60%,50% 100%}}
/* Contact "Why work with us": blueprint fades out instead of stopping in a hard line, and all four descriptions line up */
.why-band::before{-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 45%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 45%,transparent 100%)}
.why-band{padding-block:72px 64px}
@supports (grid-template-rows:subgrid){
  .why-band .why{grid-template-rows:auto auto;row-gap:0}
  .why-band .why > div{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0}
  .why-band .why h3{align-self:start}
}
.why-band .why h3{line-height:1.3}
.why-band .why p{margin-top:10px}
/* Address links to Google Maps directions */
.map-link{color:inherit;text-decoration:underline;text-decoration-style:dotted;text-decoration-thickness:1px;text-underline-offset:3px}
.map-link:hover{text-decoration-style:solid}
.info .map-link{color:var(--muted);font-weight:500}
.info .map-link:hover{color:var(--navy)}
.glass-sec .info .map-link{color:#46566f}
/* Home: floating "Back to top" (same style as the hero's "Scroll to explore") */
.to-top{position:fixed;z-index:45;right:max(24px,calc((100% - 1360px)/2 + 24px));bottom:32px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0;border:0;background:none;color:#fff;cursor:pointer;font-family:"Barlow",system-ui,sans-serif;font-size:12px;font-weight:700;letter-spacing:1.8px;line-height:1.35;text-transform:uppercase;text-align:center;text-shadow:0 1px 8px rgba(11,42,85,.8);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .35s ease,transform .35s ease,visibility 0s .35s}
.to-top.on{opacity:1;visibility:visible;transform:none;transition:opacity .35s ease,transform .35s ease,visibility 0s}
.tt-ring{width:40px;height:40px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:rgba(24,43,84,.38);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 4px 14px rgba(11,42,85,.3)}
.tt-ring svg{width:18px;height:18px}
.to-top:hover .tt-ring{background:rgba(24,43,84,.6)}
.to-top:focus-visible{outline:none}
.to-top:focus-visible .tt-ring{outline:3px solid #fff;outline-offset:3px}
@media (max-width:820px){.to-top{right:16px;gap:0}.to-top .tt-label{display:none}.tt-ring{width:44px;height:44px}}
@media (prefers-reduced-motion:reduce){.to-top,.to-top.on{transition:none;transform:none}}
/* Projects: photo viewer. Page behind is dimmed about 50% and blurred. */
.track .card[role="button"]{cursor:zoom-in}
.track .card:focus-visible{outline:3px solid var(--sky);outline-offset:-3px}
html.lb-open{overflow:hidden}
.lb{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:72px 96px 32px;background:rgba(8,18,38,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;transition:opacity .2s ease}
.lb.on{opacity:1}
.lb[hidden]{display:none}
.lb-fig{margin:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:0}
.lb-img{width:auto;height:auto;max-width:min(100%,1280px);max-height:calc(100vh - 300px);max-height:calc(100dvh - 300px);border-radius:12px;background:var(--mist);box-shadow:0 20px 50px rgba(0,0,0,.45)}
.lb-img--small{max-width:min(100%,760px)}
.lb-thumbs{display:flex;gap:8px;max-width:min(100%,760px);overflow-x:auto;padding:3px;scrollbar-width:none}
.lb-thumbs::-webkit-scrollbar{display:none}
.lb-thumbs[hidden]{display:none}
.lb-thumb{flex:0 0 auto;width:72px;height:54px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:var(--navy);cursor:pointer;opacity:.65;transition:opacity .15s ease}
.lb-thumb img{width:100%;height:100%;object-fit:cover}
.lb-thumb:hover{opacity:.9}
.lb-thumb[aria-current="true"]{border-color:#fff;opacity:1;box-shadow:0 4px 12px rgba(0,0,0,.35)}
.card-photos{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:rgba(10,22,44,.78);color:#fff;font-size:12px;font-weight:600;line-height:1;pointer-events:none}
.card-photos svg{width:14px;height:14px}
.lb-cap{min-width:min(100%,280px);max-width:min(100%,760px);padding:14px 22px;border-radius:12px;background:var(--navy);color:#fff;text-align:center;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.lb-cap h3{font-size:18px;font-weight:700}
.lb-cap p{margin:2px 0 0;font-size:14px;opacity:.9}
.lb-cap .lb-count{margin-top:6px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;opacity:.7}
.lb-count span{white-space:nowrap}
.lb-btn,.lb-close{position:absolute;z-index:1;border-radius:50%;border:2px solid #fff;background:var(--navy);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.lb-btn{top:50%;transform:translateY(-50%);width:52px;height:52px}
.lb-btn svg{width:24px;height:24px}
.lb-btn.prev{left:24px}
.lb-btn.next{right:24px}
.lb-btn[hidden]{display:none}
.lb-close{top:18px;right:24px;width:44px;height:44px}
.lb-close svg{width:20px;height:20px}
.lb-btn:hover,.lb-close:hover{background:#24407a}
.lb button:focus-visible{outline:3px solid var(--sky);outline-offset:2px}
@media (max-width:700px){
  .lb{padding:68px 16px 20px}
  .lb-img{max-height:calc(100vh - 320px);max-height:calc(100dvh - 320px)}
  .lb-thumb{width:60px;height:45px}
  .lb-btn{width:44px;height:44px;top:auto;bottom:24px;transform:none}
  .lb-btn.prev{left:16px}
  .lb-btn.next{right:16px}
  .lb-close{right:16px;top:14px}
  .lb-cap{padding:12px 16px}
}
@media (prefers-reduced-motion:reduce){.lb{transition:none}}
