:root{--navy:#092d46;--dark:#061e31;--blue:#0098d7;--green:#61bc45;--ink:#153047;--muted:#5c7080;--line:#dce7ed;--soft:#f3f8fa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,Segoe UI,Arial,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.container{width:min(1160px,calc(100% - 44px));margin:auto}.top{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #e8eef2;box-shadow:0 2px 12px #001b3008}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px}.brand img{width:202px;height:auto;display:block}.links{display:flex;gap:24px;align-items:center;font-weight:650;font-size:14px}.links a:hover,.links a.active{color:#078fc6}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:7px;background:var(--green);color:#082b22;font-weight:750;border:1px solid var(--green);cursor:pointer;transition:.2s}.btn:hover{transform:translateY(-2px);filter:brightness(1.04)}.btn.blue{background:var(--blue);color:white;border-color:var(--blue)}.btn.outline{background:transparent;border-color:#aac5d3;color:white}.menu{display:none;background:none;border:0;font-size:27px}.hero{position:relative;overflow:hidden;background:linear-gradient(90deg,#071e31 0%,#092e48 54%,#092e48aa 100%);color:white}.hero:before{content:"";position:absolute;inset:0 0 0 38%;background:url('map.svg') center/cover no-repeat;opacity:.87}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071e31 0%,#071e31e8 34%,#071e3155 67%,transparent 100%)}.hero .container{position:relative;z-index:1;padding:106px 0 112px}.eyebrow{font-size:12px;letter-spacing:.17em;text-transform:uppercase;color:#1da5d8;font-weight:800}.hero .eyebrow{color:#6dd3f1}.hero h1{font-size:clamp(42px,5.7vw,74px);line-height:1.08;letter-spacing:-.045em;max-width:780px;margin:18px 0 22px}.accent{color:#91d65a}.hero p{max-width:580px;font-size:18px;color:#d8e9ef}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hero-metrics{display:flex;gap:32px;margin-top:56px;flex-wrap:wrap;color:#d6ebf0;font-size:13px}.hero-metrics strong{display:block;color:white;font-size:17px}.section{padding:85px 0}.section.soft{background:var(--soft)}.section h2{font-size:clamp(30px,3.5vw,44px);line-height:1.17;letter-spacing:-.035em;margin:10px 0 18px}.lead{font-size:18px;color:var(--muted);max-width:760px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:36px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #1030470a;transition:transform .2s}.card:hover{transform:translateY(-5px)}.card .art{height:170px;background:linear-gradient(120deg,#10395480,#10395410),url('map.svg') center/cover}.card:nth-child(2) .art{background-position:60% 35%;filter:hue-rotate(25deg)}.card:nth-child(3) .art{background-position:90% 60%;filter:hue-rotate(-30deg)}.card .body{padding:24px}.card h3{font-size:22px;line-height:1.2;margin:0 0 12px}.card p{color:var(--muted);font-size:15px}.textlink{color:#007eaf;font-weight:800}.textlink:hover{text-decoration:underline}.pill{display:inline-block;border-radius:100px;background:#e6f7e2;color:#267f29;font-size:11px;letter-spacing:.05em;font-weight:800;padding:5px 10px;margin-bottom:14px}.split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.map-panel{position:relative;min-height:380px;border-radius:14px;background:#092d46 url('map.svg') center/cover;overflow:hidden;box-shadow:0 22px 40px #0a344028}.map-panel .overlay{position:absolute;bottom:20px;left:20px;right:20px;background:#fffffff2;border-radius:10px;padding:17px;color:var(--ink)}.map-panel .overlay small{color:var(--muted)}.checks{padding:0;list-style:none}.checks li{padding:11px 0;border-bottom:1px solid var(--line)}.checks li:before{content:'✓';color:#389e34;font-weight:900;margin-right:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}.stat{padding:22px;background:white;border:1px solid var(--line);border-radius:10px}.stat strong{font-size:28px;color:#008fc5;display:block}.stat span{font-size:14px;color:var(--muted)}.band{background:#092e46;color:white;padding:70px 0}.band h2{font-size:36px;margin:8px 0}.band p{color:#d6e7ed}.footer{background:#071d2e;color:#d2e2ea;padding:45px 0}.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer a{display:block;padding:4px 0}.footer a:hover{color:#8cce60}.footer h4{color:white;margin:0 0 12px}.footer small{color:#9bb2bf}.pagehead{background:linear-gradient(90deg,#071e31dd,#071e3166),url('map.svg') center/cover;color:white;padding:80px 0}.pagehead h1{font-size:clamp(38px,5vw,62px);letter-spacing:-.04em;line-height:1.1;margin:14px 0}.pagehead p{font-size:18px;max-width:720px;color:#e0eff4}.twocol{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:32px}.feature{padding:26px;background:#fff;border:1px solid var(--line);border-radius:12px}.feature h3{margin:0 0 8px}.feature p{color:var(--muted);margin:0}.filterbar{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.filterbar button{border:1px solid #c9dce5;border-radius:30px;padding:8px 17px;background:white;cursor:pointer}.filterbar button.selected{background:var(--navy);color:white}.note{background:#fff9e9;border-left:4px solid #e8b73d;padding:15px 18px;color:#65542e;font-size:14px;margin-top:20px}.form{display:grid;gap:13px;max-width:620px}.form label{font-weight:700;font-size:14px}.form input,.form textarea{width:100%;padding:12px;border:1px solid #b9cbd5;border-radius:7px;margin-top:5px}.form textarea{min-height:130px}.map-controls{display:flex;gap:8px;flex-wrap:wrap}.map-controls button{background:white;border:1px solid #d5e5ec;border-radius:6px;padding:8px 12px;cursor:pointer}.map-controls button.selected{background:#cceee0;border-color:#62bc45}.map-panel[data-layer='boundaries']{filter:hue-rotate(0)}.map-panel[data-layer='demographics']{filter:hue-rotate(75deg)}.map-panel[data-layer='projects']{filter:hue-rotate(175deg)}@media(max-width:800px){.menu{display:block}.links{display:none;position:absolute;top:81px;left:0;right:0;background:white;flex-direction:column;align-items:stretch;padding:24px;box-shadow:0 12px 20px #1233}.links.open{display:flex}.cards,.stats{grid-template-columns:1fr}.split,.twocol,.footgrid{grid-template-columns:1fr}.hero:before{inset:0;opacity:.5}.hero .container{padding:75px 0}.hero h1{font-size:44px}.section{padding:58px 0}.brand img{width:172px}}

/* Homepage hero customization — supplied Citygate map and inset video */
body[data-page="home"] .hero{background-color:#071e31;background-image:url('homepage-map.jpg');background-position:center center;background-size:100% auto;background-repeat:no-repeat;min-height:630px}
body[data-page="home"] .hero:before{display:none}
body[data-page="home"] .hero:after{background:linear-gradient(90deg,rgba(5,25,41,.91) 0%,rgba(5,25,41,.78) 34%,rgba(5,25,41,.35) 66%,rgba(5,25,41,.18) 100%)}
body[data-page="home"] .hero>.container{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);column-gap:48px;align-items:center;padding:100px 0 105px}
body[data-page="home"] .hero>.container>.eyebrow,body[data-page="home"] .hero>.container>h1,body[data-page="home"] .hero>.container>p,body[data-page="home"] .hero>.container>.actions,body[data-page="home"] .hero>.container>.hero-metrics{grid-column:1}
body[data-page="home"] .hero h1{font-size:clamp(40px,4.5vw,64px)}
.hero-video{grid-column:2;grid-row:1 / span 5;background:rgba(7,31,49,.94);border:1px solid rgba(160,213,232,.35);border-radius:16px;padding:12px;box-shadow:0 25px 65px rgba(0,0,0,.4);min-width:0}
.hero-video .video-heading{color:#d8f0f6;font-weight:750;letter-spacing:.09em;font-size:11px;padding:8px 7px 12px;display:flex;align-items:center;gap:9px}
.video-dot{width:8px;height:8px;background:#72c64e;border-radius:50%;display:inline-block}
.hero-video video{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#03101b;display:block;border-radius:9px}
.hero-video .video-caption{display:flex;justify-content:space-between;gap:10px;color:white;padding:12px 6px 4px;font-size:13px}
.hero-video .video-caption span{color:#b8d3e1;font-size:12px}
@media(max-width:900px){body[data-page="home"] .hero>.container{grid-template-columns:1fr;padding:65px 0;gap:0}.hero-video{grid-column:1;grid-row:auto;margin-top:32px;max-width:650px}body[data-page="home"] .hero:after{background:linear-gradient(90deg,rgba(5,25,41,.88),rgba(5,25,41,.5))}}

/* Revision 2: preserve the full map width rather than cropping it to fill the hero. */
@media(max-width:900px){body[data-page="home"] .hero{background-size:auto 100%;background-position:57% center}}

/* Revision 3: explicit two-column layout. Video is never a full-bleed background. */
body[data-page="home"] .hero { background-image: url('homepage-map.jpg'); background-size: 100% auto; background-position: center center; }
body[data-page="home"] .hero .hero-layout { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items:center; gap:42px; padding:100px 0; }
body[data-page="home"] .hero-copy { min-width:0; }
body[data-page="home"] .hero-copy h1 { font-size:clamp(39px,4.2vw,64px); }
body[data-page="home"] .hero-copy p { max-width:570px; }
body[data-page="home"] .hero-video { position:relative; grid-column:auto; grid-row:auto; width:100%; max-width:100%; min-width:0; align-self:center; border:2px solid #b1d7e8; border-radius:12px; padding:9px; background:rgba(5,23,38,.93); overflow:hidden; }
body[data-page="home"] .hero-video video { display:block; position:static; width:100%; max-width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; border-radius:5px; }
@media(max-width:900px){body[data-page="home"] .hero .hero-layout {grid-template-columns:1fr; gap:26px; padding:65px 0;}body[data-page="home"] .hero-video{max-width:680px;margin:0;}body[data-page="home"] .hero{background-size:auto 100%;}}

/* Revision 4: clean inset, right offset and two-line headline. */
body[data-page="home"] .hero-video { transform:translateX(15%); border:1px solid #000; border-radius:0; padding:0; background:#000; box-shadow:none; }
body[data-page="home"] .hero-video video { border-radius:0; width:100%; display:block; }
body[data-page="home"] .hero-copy h1 { font-size:clamp(34px,3.65vw,55px); letter-spacing:-.045em; }
body[data-page="home"] .hero-copy h1 .accent { white-space:nowrap; }
@media (max-width:900px) {body[data-page="home"] .hero-video { transform:none; }body[data-page="home"] .hero-copy h1 {font-size:clamp(32px,6vw,50px);} }

/* Revision 5 — real image carousel replacing video. Change width and translateX below. */
body[data-page="home"] .hero-carousel{position:relative;grid-column:auto;grid-row:auto;min-width:0;width:120%;max-width:none;justify-self:end;transform:translateX(45%);border:1px solid #000;background:#000;box-shadow:none;aspect-ratio:16/9;overflow:hidden}
body[data-page="home"] .carousel-viewport{position:absolute;inset:0;overflow:hidden}
body[data-page="home"] .carousel-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .65s ease}
body[data-page="home"] .carousel-slide.active{opacity:1}
body[data-page="home"] .carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(0,0,0,.42);color:white;font-size:23px;width:35px;height:48px;cursor:pointer;opacity:0;transition:opacity .2s}
body[data-page="home"] .carousel-prev{left:0}body[data-page="home"] .carousel-next{right:0}
body[data-page="home"] .hero-carousel:hover .carousel-arrow,body[data-page="home"] .carousel-arrow:focus-visible{opacity:1}
body[data-page="home"] .carousel-dots{position:absolute;bottom:11px;left:0;right:0;display:flex;justify-content:center;gap:9px}
body[data-page="home"] .carousel-dots button{width:8px;height:8px;border-radius:50%;border:1px solid white;background:rgba(0,0,0,.35);padding:0;cursor:pointer}
body[data-page="home"] .carousel-dots button.active{background:white}
@media(max-width:1100px) and (min-width:901px){body[data-page="home"] .hero-carousel{width:100%;transform:translateX(8%)}}
@media(max-width:900px){body[data-page="home"] .hero-carousel{width:100%;max-width:100%;transform:none;justify-self:stretch;margin:0}}
@media(prefers-reduced-motion:reduce){body[data-page="home"] .carousel-slide{transition:none}}

/* Revision 6: four service cards and sixteen user-provided slides. */
body[data-page="home"] .service-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
body[data-page="home"] .carousel-dots{gap:6px;bottom:8px;flex-wrap:wrap;padding:0 15px;}
body[data-page="home"] .carousel-dots button{width:7px;height:7px;flex:0 0 7px;}
@media(max-width:700px){body[data-page="home"] .service-cards{grid-template-columns:1fr;}body[data-page="home"] .hero-carousel{width:100%;transform:none;}}

/* Revision 10 — video replaces carousel, preserving approved Carousel Example positioning. */
body[data-page="home"] .hero-carousel.hero-media { display:block; }
body[data-page="home"] .hero-carousel.hero-media video { display:block; width:100%; height:100%; object-fit:contain; background:#000; }
@media(max-width:900px){body[data-page="home"] .hero-carousel.hero-media{width:100%;transform:none;}}

/* Revision 11: keep the video beside the headline, never below or oversized. */
@media (min-width: 901px) {
 body[data-page="home"] .hero .container.hero-layout {
   display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
   align-items:center !important; column-gap:36px;
 }
 body[data-page="home"] .hero .hero-copy {grid-column:1;grid-row:1;min-width:0;}
 body[data-page="home"] .hero .hero-carousel.hero-media {
   grid-column:2 !important;grid-row:1 !important;align-self:center !important;
   justify-self:center !important;position:relative !important;
   width:100% !important;max-width:520px !important;
   margin:0 !important;transform:none !important;
   aspect-ratio:16/9 !important;overflow:hidden !important;
   border:1px solid #000 !important; padding:0 !important;
 }
}
body[data-page="home"] .hero .hero-carousel.hero-media video {
 position:absolute !important;inset:0;width:100% !important;height:100% !important;
 max-width:100% !important;object-fit:contain !important;display:block;
}
@media(max-width:900px){
 body[data-page="home"] .hero .container.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) !important;gap:24px;}
 body[data-page="home"] .hero .hero-carousel.hero-media{width:100% !important;max-width:520px !important;transform:none !important;justify-self:center;aspect-ratio:16/9;position:relative;overflow:hidden;}
}

/* Revision 12: requested 650px video inset, centered beside headline. */
@media (min-width: 901px) {
 body[data-page="home"] .hero .container.hero-layout {
  width:min(1380px,calc(100% - 60px));
  grid-template-columns:minmax(0,1fr) minmax(0,650px) !important;
  column-gap:36px;align-items:center !important;
 }
 body[data-page="home"] .hero .hero-carousel.hero-media {
  width:100% !important;max-width:650px !important;
  grid-column:2 !important;grid-row:1 !important;
  justify-self:center !important;align-self:center !important;
  margin:0 !important;transform:none !important;
  aspect-ratio:16/9 !important;
 }
}
@media (min-width:901px) and (max-width:1250px) {
 body[data-page="home"] .hero .container.hero-layout {
  grid-template-columns:minmax(0,1fr) minmax(0,52%) !important;
 }
}
@media (max-width:900px) {
 body[data-page="home"] .hero .hero-carousel.hero-media {
  width:100% !important;max-width:650px !important;
  margin-inline:auto !important;
 }
}

/* Revision 14: product imagery and filterable client gallery */
.product-card .product-image{display:block;width:100%;aspect-ratio:564/295;object-fit:cover;object-position:center;background:#092d46}
.client-section{background:#fff}
.client-filters{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0 28px}
.client-filters button{font:inherit;font-size:13px;font-weight:650;padding:11px 15px;border:1px solid #b8cbd8;border-radius:8px;background:white;color:#17435d;cursor:pointer}
.client-filters button.selected,.client-filters button:hover{background:#086ca3;color:white;border-color:#086ca3}
.client-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.client-logo{position:relative;display:flex;align-items:center;justify-content:center;min-height:145px;padding:15px;background:#fff;border:1px solid #e0e8ed;border-radius:10px;box-shadow:0 2px 12px #17374a0c}
.client-logo img{width:100%;height:125px;object-fit:contain}
.client-tooltip{position:absolute;bottom:8px;left:50%;transform:translate(-50%,6px);max-width:95%;background:#092d46;color:white;padding:6px 9px;border-radius:5px;font-size:12px;text-align:center;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;z-index:2;white-space:normal}
.client-logo:hover .client-tooltip{opacity:1;transform:translate(-50%,0)}
.gallery-link-wrap{text-align:center;margin-top:32px}
@media(max-width:1000px){.client-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.client-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.client-logo{min-height:115px;padding:10px}.client-logo img{height:100px}.client-tooltip{position:static;opacity:1;transform:none;background:transparent;color:#17435d;font-size:11px;padding:5px 0 0}.client-logo{flex-direction:column}}

/* Revision 16: Focused Expertise and compact client gallery */
#solutions{background:var(--soft)}
.service-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.expertise-card .expertise-image{display:block;width:100%;height:119px;object-fit:cover;object-position:center}
.expertise-card .body{padding:18px}
.expertise-card .pill{font-size:115%;position:relative;left:-15px;display:inline-block}
.client-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
.client-logo{min-height:78px;padding:7px;border-radius:7px}
.client-logo img{height:62px;max-width:100%;object-fit:contain}
@media(max-width:1100px){.service-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.client-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){.service-cards{grid-template-columns:1fr}.client-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Revision 17: two-row sliding client gallery with half-width logo boxes */
.client-grid.client-marquee{display:flex;flex-direction:column;gap:8px;overflow:hidden}
.client-marquee-row{width:100%;overflow:hidden;position:relative}
.client-marquee-track{display:flex;width:max-content;animation:clientSlide var(--scroll-duration,60s) linear infinite;will-change:transform}
.client-marquee-track.reverse{animation-direction:reverse}
.client-marquee-row:hover .client-marquee-track,.client-marquee-row:focus-within .client-marquee-track{animation-play-state:paused}
.client-marquee-group{display:flex;gap:8px;padding-right:8px;flex:none}
.client-marquee .client-logo{flex:0 0 72px;width:72px;min-height:74px;height:74px;padding:5px;box-sizing:border-box}
.client-marquee .client-logo img{width:100%;height:58px;object-fit:contain}
.client-marquee .client-tooltip{min-width:110px;max-width:200px;width:max-content;white-space:normal}
@keyframes clientSlide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:700px){.client-marquee .client-logo{width:64px;flex-basis:64px;height:66px;min-height:66px}.client-marquee .client-logo img{height:50px}.client-marquee .client-tooltip{position:absolute;bottom:5px;left:50%;opacity:0;background:#092d46;color:#fff;padding:5px;transform:translate(-50%,6px);font-size:10px}.client-marquee .client-logo:hover .client-tooltip{opacity:1;transform:translate(-50%,0)}}
@media(prefers-reduced-motion:reduce){.client-marquee-track{animation:none}.client-marquee-row{overflow-x:auto}}

/* Revision 18: unobtrusive manual arrows for the two-row client marquee */
.client-marquee-shell{position:relative}
.client-marquee-controls{pointer-events:none;position:absolute;inset:0;display:flex;justify-content:space-between;align-items:center;z-index:3}
.client-marquee-arrow{pointer-events:auto;display:flex;align-items:center;justify-content:center;width:32px;height:48px;border:1px solid #c4d4df;border-radius:6px;background:rgba(255,255,255,.94);color:#164b6c;font-size:21px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.client-marquee-arrow.left{margin-left:0}.client-marquee-arrow.right{margin-right:0}
.client-marquee-arrow:hover,.client-marquee-arrow:focus-visible{background:#086ca3;color:white;outline:2px solid transparent}
@media(max-width:600px){.client-marquee-arrow{width:27px;height:40px;font-size:16px}}

/* Revision 19: smaller, centrally positioned client navigation controls */
.client-marquee-controls{top:0;bottom:0;align-items:center}
.client-marquee-arrow{height:34px}
@media(max-width:600px){.client-marquee-arrow{height:28px}}
/* Focused Expertise: 10% darker than the former #f3f8fa section background */
#solutions{background:#dbe0e1}

/* Revision 20: Capabilities hero and four service cards */
.capabilities-hero{background:linear-gradient(90deg,rgba(1,29,51,.42),transparent 65%),url('capabilities-banner.png') center center/cover no-repeat;color:white;min-height:360px;display:flex;align-items:center}
.capabilities-hero-inner{padding-top:68px;padding-bottom:68px}
.capabilities-hero h1{color:white;font-size:clamp(2.6rem,5vw,4.5rem);line-height:1.1;margin:12px 0 18px}
.capabilities-hero p{color:#e5f3fb;max-width:640px;font-size:clamp(1.05rem,1.7vw,1.3rem)}
.capabilities-hero .eyebrow{color:#a9e9d9}
.capabilities-intro .container{max-width:1100px}
.capabilities-intro p{max-width:1000px;line-height:1.75;font-size:1.08rem}
.capabilities-services{background:#d0dce3}
.capabilities-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px}
.capabilities-cards .card{background:#b6c9d4;border:1px solid #91aebf}
.capabilities-cards .card .body{background:#b6c9d4}
.capabilities-cards .card .art{height:120px}
@media(max-width:700px){.capabilities-hero{min-height:290px}.capabilities-cards{grid-template-columns:1fr}}

/* Revision 21: restore original six capability feature panels with Revision 20 colors */
.capabilities-services .twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px}
.capabilities-services .feature{background:#b6c9d4;border:1px solid #91aebf;border-radius:14px;padding:26px}
.capabilities-services .feature h3{margin-top:0}
@media(max-width:700px){.capabilities-services .twocol{grid-template-columns:1fr}}

/* Revision 22: approved Capabilities title color and compact vertical spacing */
.capabilities-hero h1{color:#91d65a}
.capabilities-intro{padding-top:42px;padding-bottom:42px}
.capabilities-services{padding-top:42px}
@media(max-width:700px){.capabilities-intro{padding-top:30px;padding-bottom:30px}.capabilities-services{padding-top:30px}}

/* Revision 23: align intro text with hero and Core Capabilities container */
.capabilities-intro .container{max-width:none}

/* Revision 24: Citygate GIS hero eyebrow color */
.capabilities-hero .eyebrow{color:#1da5d8}

/* Revision 25: K–12 page matches approved Capabilities page layout and colors */
.k12-hero{background-image:linear-gradient(90deg,rgba(1,29,51,.62),rgba(1,29,51,.08) 65%),url('k12-banner.jpg')}
.k12-hero .eyebrow{color:#1da5d8}
.k12-hero h1{color:#91d65a}
.k12-services .twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px}
.k12-services .feature{background:#b6c9d4;border:1px solid #91aebf;border-radius:14px;padding:26px}
.k12-services .feature h3{margin-top:0}
.k12-actions{margin-top:28px}
@media(max-width:700px){.k12-services .twocol{grid-template-columns:1fr}}

/* Revision 26: K-12 report and application example links */
.k12-services .example-link{margin-top:12px;margin-bottom:0}
.k12-services .example-link a{color:#006b99;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.k12-services .example-link a:hover{color:#00496c}

/* Revision 27: compact inline K–12 example links */
.k12-services a.example-link{display:inline;margin-left:9px;color:#006b99;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.k12-services a.example-link:hover{color:#00496c}

/* Revision 28: Legislative Services, matching the approved Capabilities/K–12 styling */
.legislative-hero{background-image:linear-gradient(90deg,rgba(1,29,51,.60),rgba(1,29,51,.04) 68%),url('legislative-banner.jpg')}
.legislative-platform{background:#eef3f5;padding-top:42px;padding-bottom:42px}
.legislative-platform p{max-width:970px;line-height:1.7}
.legislative-platform-diagram{display:block;width:100%;max-width:1050px;height:auto;margin:24px auto 0;border-radius:14px;box-shadow:0 7px 26px rgba(15,54,76,.10)}
.legislative-services .twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px}
.legislative-services .feature{background:#b6c9d4;border:1px solid #91aebf;border-radius:14px;padding:26px}
.legislative-services .feature h3{margin-top:0}
.legislative-actions{margin-top:28px}
@media(max-width:700px){.legislative-services .twocol{grid-template-columns:1fr}.legislative-platform{padding-top:30px;padding-bottom:30px}}

/* Revision 29: supplied enterprise redistricting platform graphic */
.legislative-platform-diagram{max-width:1200px;border-radius:0;box-shadow:none}

/* Revision 30: Prioritization page follows Legislative page design */
.prioritization-hero{background-image:linear-gradient(90deg,rgba(1,29,51,.23),rgba(1,29,51,0) 65%),url('prioritization-banner.jpg')}
.prioritization-hero h1{max-width:870px}
.prioritization-highlight{background:#eef3f5;padding-top:42px;padding-bottom:42px}
.prioritization-highlight p{max-width:1010px;line-height:1.7}
.prioritization-services .twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px}
.prioritization-services .feature{background:#b6c9d4;border:1px solid #91aebf;border-radius:14px;padding:26px}
.prioritization-services .feature h3{margin-top:0}
.prioritization-actions{margin-top:28px}
@media(max-width:700px){.prioritization-services .twocol{grid-template-columns:1fr}.prioritization-highlight{padding-top:30px;padding-bottom:30px}}

/* Revision 32: Company history and innovation timeline */
.about-hero{background-image:linear-gradient(90deg,rgba(1,29,51,.25),rgba(1,29,51,0) 68%),url('about-history-banner.png')}
.about-hero h1{max-width:850px}
.about-history{background:#d0dce3;padding-top:52px;padding-bottom:72px}
.about-history-lead{max-width:850px;line-height:1.7}
.history-timeline{position:relative;margin-top:36px;padding-left:20px}
.history-timeline:before{content:'';position:absolute;top:12px;bottom:12px;left:101px;width:3px;background:#128ab8;border-radius:4px}
.history-item{display:grid;grid-template-columns:80px minmax(0,1fr) 180px;gap:30px;align-items:center;margin:0 0 18px;position:relative}
.history-date{font-size:1.38rem;font-weight:800;color:#07567e;text-align:right;position:relative}
.history-date:after{content:'';position:absolute;right:-29px;top:50%;width:13px;height:13px;transform:translate(50%,-50%);background:#1da5d8;border:3px solid #e8f1f5;border-radius:50%;z-index:1}
.history-content{background:#b6c9d4;border:1px solid #91aebf;border-radius:12px;padding:19px 22px;min-height:106px}
.history-content h3{margin:0 0 7px;font-size:1.12rem;color:#123b56}
.history-content p{margin:0;line-height:1.55}
.history-photo-placeholder{border:2px dashed #8da8b6;border-radius:12px;min-height:104px;display:flex;align-items:center;justify-content:center;text-align:center;color:#57788a;font-size:.82rem;line-height:1.4;background:rgba(255,255,255,.25)}
.about-future{background:#eef3f5}.about-future p{max-width:950px;line-height:1.75}.about-future .btn{margin-top:15px}
@media(max-width:760px){.history-timeline{padding-left:0}.history-timeline:before{left:65px}.history-item{grid-template-columns:55px minmax(0,1fr);gap:22px}.history-date{font-size:1.03rem}.history-date:after{right:-20px}.history-photo-placeholder{grid-column:2;min-height:62px}.history-content{padding:15px}}

/* Revision 33: About hero legibility and 1986 history photo hover */
.about-hero h1{color:#397e2b;text-shadow:0 1px 2px rgba(255,255,255,.45),0 0 10px rgba(255,255,255,.4)}
.history-photo{position:relative;min-width:0;z-index:2}
.history-photo:hover,.history-photo:focus-within{z-index:30}
.history-image-trigger{display:block;position:relative;width:100%;border:1px solid #91aebf;border-radius:12px;padding:0;background:#edf3f6;cursor:zoom-in;box-shadow:0 2px 8px rgba(13,52,76,.10);font:inherit;text-align:center}
.history-image-small{display:block;width:100%;height:112px;object-fit:contain;border-radius:11px 11px 0 0}
.history-image-hint{display:block;padding:4px 5px;color:#285a73;font-size:.72rem;font-weight:600}
.history-image-preview{position:absolute;right:0;top:0;width:min(610px,80vw);padding:8px;background:#f8fbfc;border:2px solid #317e9e;border-radius:12px;box-shadow:0 14px 35px rgba(0,30,51,.3);opacity:0;visibility:hidden;pointer-events:none;transform:scale(.96);transform-origin:top right;transition:opacity .14s,transform .14s,visibility .14s;z-index:40}
.history-image-preview img{display:block;width:100%;height:auto;border-radius:6px}
.history-image-trigger:hover .history-image-preview,.history-image-trigger:focus .history-image-preview{opacity:1;visibility:visible;transform:scale(1)}
@media(max-width:760px){.history-image-small{height:150px}.history-image-preview{left:0;right:auto;width:min(610px,78vw);transform-origin:top left}}

/* Revision 34: edge-to-edge history thumbnails and 1987 milestone */
.history-image-trigger{overflow:visible;line-height:0;background:transparent}
.history-image-small{width:100%;height:142px;object-fit:cover;object-position:center;border-radius:11px}
.history-image-hint{display:none}
@media(max-width:760px){.history-photo{grid-column:2}.history-image-small{height:160px}}

/* Revision 35: history thumbnails match the height of their adjacent text panels */
.history-item{align-items:stretch}
.history-date{align-self:center}
.history-photo{align-self:stretch;display:flex;min-height:0}
.history-image-trigger{height:100%;min-height:0;display:block;flex:1}
.history-image-small{width:100%;height:100%;min-height:0;object-fit:cover;object-position:center;border-radius:11px}
@media(max-width:760px){.history-photo{min-height:120px}.history-image-small{height:100%}}

/* Revision 36: make timeline row sizing depend on text, not thumbnail intrinsic dimensions.
   Thumbnails fill the available row area and crop without increasing row height. */
@media (min-width:761px){
  .history-item{align-items:stretch}
  .history-content{box-sizing:border-box;min-height:130px}
  .history-photo{position:relative;display:block;align-self:stretch;min-height:0;min-width:0}
  .history-image-trigger{position:absolute;inset:0;width:100%;height:100%;min-height:0;overflow:visible}
  .history-image-small{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center;border-radius:11px}
  .history-photo-placeholder{box-sizing:border-box;min-height:0;height:100%}
}
@media (max-width:760px){
  .history-item{align-items:stretch}
  .history-photo{position:relative;display:block;min-height:130px}
  .history-image-trigger{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
  .history-image-small{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
}

/* Revision 38: restore capabilities heading green */
.about-hero h1{color:#91d65a;text-shadow:0 2px 4px rgba(0,18,31,.65)}

/* Revision 39: Contact page panoramic header and single-column form */
.contact-hero{background:linear-gradient(90deg,rgba(2,24,45,.50) 0%,rgba(2,24,45,.20) 43%,transparent 70%),url('contact-banner.png') center center/cover no-repeat;color:white;min-height:320px;display:flex;align-items:center}
.contact-hero-inner{padding-top:64px;padding-bottom:64px}
.contact-hero .eyebrow{color:#1da5d8}
.contact-hero h1{color:#91d65a;font-size:clamp(2.4rem,4.5vw,4.1rem);line-height:1.12;margin:12px 0 18px;max-width:690px}
.contact-hero p{color:#f0f7fa;max-width:630px;font-size:clamp(1rem,1.5vw,1.18rem);text-shadow:0 1px 5px rgba(0,0,0,.6)}
.contact-form-layout{max-width:620px;margin-inline:auto}
@media(max-width:760px){.contact-hero{min-height:350px;background-position:42% center}.contact-hero-inner{padding-top:48px;padding-bottom:48px}}

/* Revision 40: contact banner update and bring form heading up one line */
.contact-hero + .section{padding-top:34px}

/* Revision 42: initial Project Gallery design */
.project-gallery-hero{position:relative;isolation:isolate;min-height:340px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(2,26,48,.96) 0%,rgba(3,38,66,.88) 43%,rgba(4,38,62,.3) 100%),url('homepage-map.jpg') center 48%/cover no-repeat;color:white;overflow:hidden}
.project-gallery-hero:after{content:'';position:absolute;inset:auto 0 0;height:70px;background:linear-gradient(0deg,rgba(0,36,67,.5),transparent);z-index:-1}
.project-gallery-hero-content{position:relative;padding-top:60px;padding-bottom:60px}
.project-gallery-hero h1{font-size:clamp(2.4rem,5vw,4rem);margin:.4rem 0 .8rem;color:#91d65a}
.project-gallery-hero p{max-width:670px;font-size:1.17rem;line-height:1.65;color:#f1f7fc;margin:0}
.gallery-intro{max-width:850px;margin-bottom:30px}
.project-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch}
.project-case-card{border:1px solid #d8e4ec;border-radius:17px;background:#fff;overflow:hidden;box-shadow:0 9px 28px rgba(9,48,76,.09);display:flex;flex-direction:column}
.project-case-art{height:220px;position:relative;display:flex;align-items:end;padding:20px;background-size:cover;background-position:center}
.project-case-art:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(1,26,48,.83),rgba(1,31,57,.08))}
.project-case-art-police{background-image:url('homepage-map.jpg')}.project-case-art-mdsha{background-image:url('capabilities-banner.png')}
.project-case-art-label{position:relative;z-index:1;font-weight:700;color:#fff;font-size:.95rem;letter-spacing:.02em}
.project-case-body{padding:26px;display:flex;flex-direction:column;flex:1;align-items:flex-start}
.project-case-body h3{font-size:1.45rem;line-height:1.3;margin:14px 0 12px}
.project-case-body p{line-height:1.7;margin:0 0 25px;flex:1}
.project-gallery-note{margin-top:24px;color:#526c7d;font-size:.94rem}
@media(max-width:760px){.project-case-grid{grid-template-columns:1fr}.project-gallery-hero{min-height:290px}.project-case-art{height:190px}}

/* Revision 43: approved GIS software-development header and compact gallery thumbnails */
.project-gallery-hero{background:linear-gradient(90deg,rgba(2,26,48,.78) 0%,rgba(3,38,66,.55) 38%,rgba(4,38,62,0) 62%),url('project-gallery-banner.png') center center/cover no-repeat}
.project-case-art{height:110px;padding:12px 20px}
.project-case-art-new{background-image:url('homepage-map.jpg')}
@media(max-width:760px){.project-case-art{height:95px}}

/* Revision 44: Project Gallery card and location badge colors */
.project-case-card{background:#b8d1f1ad}
.project-case-body .pill{background:#08851242;color:#048326a8}

/* Revision 46: layered sequential homepage video */
body[data-page="home"] .hero-carousel.hero-media{position:relative;}
body[data-page="home"] .hero-carousel.hero-media video.segment-buffer{position:absolute;inset:0;opacity:0;pointer-events:none;}

/* Revision 49: technology and Esri partner graphics */
.capabilities-tech-intro{display:grid;grid-template-columns:minmax(0,1fr) 96.6px;gap:36px;align-items:center}
.capabilities-tech-intro .esri-partner-logo{display:block;width:100%;height:auto;max-height:154px;object-fit:contain;justify-self:center}
.capabilities-tech-title{text-align:center;margin:24px 0 12px;font-size:1.35rem;color:inherit}
.capabilities-tech-banner{display:block;width:62.5%;height:auto;margin:0 auto}
@media(max-width:600px){.capabilities-tech-intro{grid-template-columns:1fr;gap:12px}.capabilities-tech-intro .esri-partner-logo{width:70px}.capabilities-tech-banner{margin-top:0}}

/* Keep enlarged history photos within the viewport on narrow screens. */
@media(max-width:760px){.history-image-preview{left:auto;right:0;transform-origin:top right}}

/* Contact delivery feedback. */
.contact-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.contact-status{margin:0;padding:14px 16px;border:1px solid #c2d8e4;border-radius:8px;background:#edf6fc;color:#153047;font-size:15px;line-height:1.6}
.contact-status[hidden]{display:none}
.contact-status.is-success{border-color:#8cc79b;background:#edf9ee;color:#174d2b}
.contact-status.is-error{border-color:#d4a0a0;background:#fff1f1;color:#8c2525}
.form [aria-invalid="true"]{border-color:#b83939}
.form button:disabled{cursor:wait;opacity:.7;transform:none}

/* Contact details between the hero and inquiry form. */
.contact-details-strip {
  --contact-strip-color: #0b4272;
  background: var(--contact-strip-color);
  border-bottom: 1px solid var(--dark);
  color: white;
}
.contact-details-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-block: 12px;
}
.contact-details-strip a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.contact-details-strip a + a {
  border-left: 1px solid rgb(255 255 255 / 24%);
  padding-left: 24px;
}
.contact-details-strip a:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-details-strip a:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
  border-radius: 3px;
}
.contact-details-icon {
  display: block;
  width: 30px;
  height: 30px;
  padding: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--contact-strip-color);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-details-strip + .section{padding-top:34px}
@media (max-width: 600px) {
  .contact-details-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    gap: 8px;
  }
  .contact-details-strip a + a {
    border-left: 0;
    padding-left: 0;
  }
}

/* Preserve the original project presentation within the v2 navigation. */
.project-detail-page{padding:40px 0 72px;font-family:'Open Sans',sans-serif;font-size:16px;font-weight:400;line-height:1.42857143;color:#333}
.project-detail-page .project-detail-container{width:auto;max-width:none;margin:0 auto;padding:0 15px}
.project-detail-grid{display:flex;flex-wrap:wrap;margin:0 -15px}
.project-detail-main,.project-detail-side{position:relative;min-height:1px;width:100%;padding:0 15px}
.project-detail-back{margin:28px 0 0;font-family:Inter,Segoe UI,Arial,sans-serif}
.project-detail-page .page-meta{position:relative;border-bottom:1px solid #d7dee0;color:#6f7678;font-size:14px;line-height:20px;padding:15px 0}
.project-detail-page .entry-meta-content{display:inline-block;height:60px;margin:0}
.project-detail-page h1{font-family:inherit;font-size:38.5px;font-weight:500;line-height:60px;color:#6f7678;margin:0}
.project-detail-page .page-content{border-bottom:2px solid #3498db;padding:35px 0 40px;margin:0 0 28px}
.project-detail-page .text-muted{color:#777}
.project-detail-page .project-details{margin:0 0 20px}
.project-detail-page .project-details dt{font-weight:700;text-align:left}
.project-detail-page .project-details dd{margin:0}
.project-detail-page .project-details dd:before,.project-detail-page .project-details dd:after{display:table;content:' '}
.project-detail-page .project-details dd:after{clear:both}
.project-detail-page p{color:#869093;font-size:15px;line-height:25px;margin:0 0 10px}
.project-detail-page .project-description{font-size:18px;font-weight:700;color:#777}
.project-detail-page .page-content img{display:inline;max-width:100%;height:auto;margin:0;vertical-align:middle}
.project-detail-page .single-page-sidebar{padding:20px 0 0 30px}
.project-detail-page .widget_esri_partner{background:#f1f1f1;border:1px solid #e9e9e9;padding:15px 15px 20px}
.project-detail-page .widget-title{font-family:inherit;color:#6f7678;font-size:20px;font-weight:500;line-height:22px;text-align:center;text-transform:capitalize;margin:0;padding:0 0 15px}
.project-detail-page .widget_esri_partner a{color:#337ab7}
.project-detail-page .widget_esri_partner img{display:block;max-width:100%;width:auto;height:250px;margin:0 auto}
.project-detail-page .widget .btn{display:block;width:100%;background:#5cb85c;border:1px solid #4cae4c;border-radius:3px;color:#fff;font-size:12px;font-weight:400;line-height:18px;text-align:center;margin:8px 0 5px;padding:1px 5px}
.project-detail-page .widget .btn:hover{background:#449d44;border-color:#398439;transform:none;box-shadow:none}
@media(min-width:768px){.project-detail-page .project-detail-container{width:750px}.project-detail-main{width:75%}.project-detail-side{width:25%}.project-detail-page .project-details dt{float:left;clear:left;width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(min-width:992px){.project-detail-page .project-detail-container{width:970px}}
@media(min-width:1200px){.project-detail-page .project-detail-container{width:1170px}}
@media(max-width:991px){.project-detail-side{display:none}}
