/* Fluid layout: full-width sections, proportional media and reflowing content. */
.reference-home{padding:0}.reference-home .header,.reference-home main,.reference-home .footer{max-width:none;width:100%}
.wrap,.header-inner{width:100%;max-width:1440px}.reference-inner{width:calc(100% - clamp(32px,10vw,160px));max-width:1440px}
main,.wrap,.reference-card,.split>div,.grid>*,.form-grid>*,.reference-careers>div{min-width:0}
.brand{flex-shrink:0}.brand img{height:auto;display:block;max-width:100%}
.module-grid img{height:auto;aspect-ratio:1 / 1;object-fit:cover}
.reference-hero{height:auto;min-height:398px}.hero-overlay{padding:clamp(24px,4vw,56px) clamp(16px,4vw,64px)}
.hero-slides{min-height:185px}.hero-slide{min-width:0}.reference-hero .hero-slide h1,.reference-hero .hero-slide h2{font-size:clamp(24px,3.3vw,44px);overflow-wrap:break-word}
.reference-hero .hero-slide p{font-size:clamp(16px,1.65vw,19px)}
.prose,.field,.clients-carousel{max-width:100%;min-width:0}.prose{overflow-wrap:break-word}input,select,textarea{max-width:100%}
@media(min-width:761px) and (max-width:1050px){.header-inner,.reference-home .header-inner{flex-wrap:wrap;justify-content:center;padding:12px 24px}.nav{justify-content:center}.reference-careers{grid-template-columns:1fr 1fr}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.reference-home .header-inner{justify-content:space-between}.brand img{width:160px;height:auto}.reference-hero{min-height:0}.hero-slides{min-height:0}.hero-overlay{padding:32px 20px}.reference-careers{grid-template-columns:1fr}.reference-cards{width:100%;max-width:480px}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.module-grid a{font-size:clamp(12px,3vw,16px)}.reference-careers p{text-align:left}.reference-ribbon{overflow-wrap:break-word}.footer-grid{grid-template-columns:1fr}.page-heading h1{font-size:clamp(28px,7vw,42px)}}
@media(max-width:360px){.module-grid{grid-template-columns:1fr}.brand img{width:140px}.client-logo-item{min-width:110px}.reference-contact{padding-left:16px;padding-right:16px}}

.reference-services .reference-inner{max-width:none}.reference-services .reference-cards{max-width:none}
.reference-card{padding:28px;min-height:0;border:1px solid #d5e6e0;box-shadow:0 4px 14px #27596c12}
.reference-card .service-icon{width:132px;margin:0 auto 22px}
.reference-card h3{margin:0 0 14px;min-height:48px;align-items:center;font-size:20px;line-height:1.2}
.reference-card p{font-size:16px;line-height:1.55;margin:0 0 18px}
.service-highlights{padding:0;margin:0 0 24px;list-style:none;font-size:15px;line-height:1.5}
.service-highlights li{position:relative;padding:8px 0 8px 20px;border-bottom:1px solid #e3eeea}
.service-highlights li::before{content:'';position:absolute;left:0;top:17px;width:6px;height:6px;border-radius:50%;background:#008368}
.service-discover{margin-top:auto;padding-top:16px;display:flex;justify-content:space-between;gap:12px;color:#008368;font-size:15px;font-weight:700;border-top:1px solid #cbded9}
.reference-card:hover .service-discover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1050px){.reference-card{padding:22px}.reference-card h3{font-size:18px}}
@media(max-width:760px){.reference-card .service-icon{width:120px;margin-bottom:18px}.reference-card h3{min-height:0}}

.reference-card .service-icon{background:#27596c;color:#fff;border-color:#27596c;box-shadow:0 5px 12px #27596c26}

/* More legible primary navigation on white header. */
.header .nav a{font-size:15px;font-weight:700;letter-spacing:.015em}.header .nav{gap:24px}
@media(min-width:761px) and (max-width:1100px){.header .nav a{font-size:13px}.header .nav{gap:16px}.header-inner,.reference-home .header-inner{flex-wrap:wrap;justify-content:center;padding-top:12px;padding-bottom:12px}}
@media(max-width:760px){.header .nav a{font-size:16px;padding:6px 0}.header .nav{gap:12px}}

[data-hero-carousel]{touch-action:pan-y pinch-zoom;cursor:grab}.hero-slides{user-select:none}[data-hero-carousel].hero-dragging{cursor:grabbing}.hero-dragging .hero-slide.is-active{transform:translateX(var(--hero-drag,0px));transition:none}
