/* Desktop remains expanded; mobile uses native scrolling and progressive detail. */
@media(min-width:768px){.mobile-home-detail{display:contents}.mobile-home-detail>summary{display:none}}
@media(max-width:767px){
 html{scroll-behavior:auto!important}
 html body.complete-home{--dark-section-space:30px;--chapter-space:30px}
 html:root body.complete-home[class][class] #main>section:not(.hero),html:root body.complete-home[class][class] #main>#support-routes{padding-block:30px!important;min-height:0!important}
 html:root body.complete-home[class][class] .hero{min-height:620px!important;height:auto!important;height:max(620px,100svh)!important}
 html:root body.complete-home[class][class] :is(.reveal-item,.typewriter,.hero-heading,.hero-heading h1,.hero-lead){opacity:1!important;filter:none!important;transform:none!important;translate:none!important;animation:none!important;transition:none!important}
 html:root body.complete-home[class][class] :is(.overview-field-photo,.proof-photo,.intro-field-photo,.intro-photo){min-height:0!important;height:auto!important}
 html:root body.complete-home[class][class] :is(.overview-field-photo,.proof-photo,.intro-field-photo,.intro-photo) img{height:220px!important;min-height:0!important;object-fit:cover}
 html:root body.complete-home[class][class] :is(.proof-grid,.intro-grid,.dark-overview-copy,.why-grid,.ss-radar-inner){gap:20px!important;min-width:0}
 html:root body.complete-home[class][class] :is(.section-inner,.proof-inner,.ss-radar-inner){min-width:0;max-width:100%}
 html:root body.complete-home[class][class] .process-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:86%;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px!important;padding-bottom:12px;min-width:0}
 html:root body.complete-home[class][class] .process-card{scroll-snap-align:start;min-width:0;padding:22px!important}
 html:root body.complete-home[class][class] .support-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html:root body.complete-home[class][class] .support-card{min-height:100px!important;padding:16px!important}
 html:root body.complete-home[class][class] .support-card h3{font-size:16px!important;line-height:1.3!important}
 html:root body.complete-home[class][class] .ss-radar-kicker{display:none}
 html:root body.complete-home[class][class] .mobile-home-detail{display:block;width:100%;min-width:0;border-block-start:1px solid #8caf9b;padding:0;margin:0}
 html:root body.complete-home[class][class] .mobile-home-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:56px;padding:14px 0;font-size:17px;font-weight:600;color:inherit}
 .mobile-home-detail>summary::-webkit-details-marker{display:none}
 .mobile-home-detail>summary::after{content:'+';font-size:24px;transition:transform .18s ease;flex-shrink:0}
 .mobile-home-detail[open]>summary::after{transform:rotate(45deg)}
 html:root body.complete-home[class][class] .mobile-home-detail:not([open])>:not(summary){display:none!important}
 html:root body.complete-home[class][class] .mobile-home-detail[open]>:not(summary){margin-block:12px 20px!important}
 html:root body.complete-home[class][class] .dark-county-reference:not([open])>:not(summary){display:none!important}
 html:root body.complete-home[class][class] :is(.full-faq summary,.svc-accordion>summary){padding-block:16px!important;min-height:52px!important}
 html:root body.complete-home[class][class] :is(.home-field-motion img,.home-field-motion){--field-progress:1!important;clip-path:none!important;filter:none!important}
 html:root body.complete-home[class][class] :is(input,select,textarea){font-size:16px!important}
 html:root body.complete-home[class][class] [id]{scroll-margin-top:100px}
 html:root body.complete-home[class][class] .dynamic-navigation{overscroll-behavior:contain;max-height:calc(100svh - 100px)!important}
}
@media(prefers-reduced-motion:reduce){.mobile-home-detail>summary::after{transition:none}}

@media(max-width:767px){
 html:root body.complete-home[class][class] #main>section:not(.hero){padding-block:28px!important}
 html:root body.complete-home[class][class] #main :is(.heading-lg,.source-headline,.proof-head h2,.dark-coverage-heading h2){font-size:32px!important;line-height:1.12!important;margin-bottom:20px!important}
 html:root body.complete-home[class][class] #main .trust-track{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 html:root body.complete-home[class][class] #main .trust-item{padding:10px 0!important;min-height:0!important;font-size:14px!important;gap:8px!important}
 html:root body.complete-home[class][class] #main .trust-item svg{width:22px!important;height:22px!important}
 html:root body.complete-home[class][class] #main .dark-intro-field img{height:200px!important;object-fit:cover}
 html:root body.complete-home[class][class] #main .support-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html:root body.complete-home[class][class] #main .support-card{min-height:100px!important;padding:14px!important}
 html:root body.complete-home[class][class] #main .support-card h3{font-size:16px!important}
 html:root body.complete-home[class][class] #main .process-timeline-line{display:none!important}
 html:root body.complete-home[class][class] #main .process-grid{scrollbar-width:thin}
 html:root body.complete-home[class][class] #main .mobile-home-detail summary{scroll-margin-top:100px}
}

/* Keep the audience/coverage boundary stable while iOS scrolls and decodes icons. */
@media(max-width:767px){
 html:root body.complete-home[class][class] #main #who-we-serve .support-grid{grid-auto-rows:auto!important;align-items:stretch;gap:12px!important}
 html:root body.complete-home[class][class] #main #who-we-serve .support-card{display:grid!important;grid-template-rows:56px auto!important;align-content:center!important;justify-items:center!important;gap:12px!important;min-height:164px!important;height:auto!important;transform:none!important;translate:none!important;opacity:1!important;filter:none!important;animation:none!important;transition:none!important}
 html:root body.complete-home[class][class] #main #who-we-serve .support-card .icon{width:56px!important;height:56px!important;min-height:56px!important}
 html:root body.complete-home[class][class] #main #who-we-serve .support-card .ico3d{width:56px!important;height:56px!important;aspect-ratio:1;transform:none!important;animation:none!important;transition:none!important}
 html:root body.complete-home[class][class] #main #who-we-serve .support-card h3{min-height:0!important;line-height:1.35!important;text-wrap:wrap!important;transform:none!important}
 html:root body.complete-home[class][class] #main #coverage .dark-coverage-heading{transform:none!important;opacity:1!important;animation:none!important;transition:none!important}
}
/* Gallery playback occupies a complete row below the photo selector. */
html:root body.complete-home[class][class] #why-spillsafe .gallery-navigation{flex-direction:column!important;align-items:stretch!important}
html:root body.complete-home[class][class] #why-spillsafe .gallery-number-strip{width:100%!important;box-sizing:border-box}
html:root body.complete-home[class][class] #why-spillsafe .gallery-navigation .gallery-toggle{display:flex!important;align-items:center;justify-content:center;align-self:stretch!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-height:48px!important;box-sizing:border-box;margin:0!important;grid-column:1/-1!important}
/* The homepage radar uses a square drawing, independently of its caption. */
@media(max-width:767px){
 html:root body.complete-home[class][class] #main #radar .radar-visual{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;padding:18px 12px!important;margin-top:22px!important;min-width:0!important;box-sizing:border-box}
 html:root body.complete-home[class][class] #main #radar .radar-orbit{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:100%!important;max-width:240px!important;min-width:0!important;margin:0 auto!important;padding:0!important;gap:10px!important;height:auto!important;aspect-ratio:auto!important}
 html:root body.complete-home[class][class] #main #radar .radar-orbit-drawing{position:relative!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1 / 1!important;flex:0 0 auto!important;margin:0!important;padding:0!important;box-sizing:border-box}
 html:root body.complete-home[class][class] #main #radar .radar-orbit-drawing .ring-one{width:32%!important;height:32%!important;max-height:none!important}
 html:root body.complete-home[class][class] #main #radar .radar-orbit-drawing .ring-two{width:62%!important;height:62%!important;max-height:none!important}
 html:root body.complete-home[class][class] #main #radar .radar-orbit-drawing .ring-three{width:90%!important;height:90%!important;max-height:none!important}
 html:root body.complete-home[class][class] #main #radar .radar-orbit-drawing:not(.rx) .orbit-sweep{inset:5%!important;transform-origin:center!important}
 html:root body.complete-home[class][class] #main #radar .orbit-caption{position:static!important;inset:auto!important;width:100%!important;font-size:14px!important;line-height:1.5!important;text-align:center!important;margin:0!important;padding:0!important}
 html:root body.complete-home[class][class] #main #radar .radar-preview{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box}
 html:root body.complete-home[class][class] #main #radar .radar-preview-header{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;text-align:center;gap:8px!important;padding:14px 10px!important}
 html:root body.complete-home[class][class] #main #radar .radar-preview-header>span{max-width:none!important;font-size:13px!important;letter-spacing:0!important;padding:4px 8px!important}
 html:root body.complete-home[class][class] #main #radar .radar-preview-tabs{gap:4px!important;padding:6px!important}
 html:root body.complete-home[class][class] #main #radar .radar-preview-tabs button{min-width:0!important;padding:10px 6px!important;font-size:14px!important}
}
html:root body.complete-home[class][class][class] #main #why-spillsafe .gallery-navigation .gallery-toggle{width:100%!important;max-width:none!important;align-self:stretch!important;flex:0 0 auto!important;margin-inline:0!important;box-sizing:border-box!important}

/* Mobile support choices: native swipe, equal-height cards, next-card preview. */
@media(max-width:767px){
 html:root body.complete-home[class][class] #support-routes .route-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:88%!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;scroll-padding-inline:0;overscroll-behavior-x:contain;align-items:stretch!important;padding-bottom:12px!important;scrollbar-width:thin;scrollbar-color:#a8cdb5 #1b2721;min-width:0!important;max-width:100%!important}
 html:root body.complete-home[class][class] #support-routes .route-link{scroll-snap-align:start;box-sizing:border-box!important;min-width:0!important;width:100%!important;height:auto!important;margin:0!important;padding:20px!important;grid-template-rows:auto auto 1fr!important;align-content:start!important;gap:12px!important}
 html:root body.complete-home[class][class] #support-routes .route-link small{font-size:13px!important;line-height:1.4!important}
 html:root body.complete-home[class][class] #support-routes .route-link strong{font-size:21px!important;line-height:1.2!important}
 html:root body.complete-home[class][class] #support-routes .route-link p{grid-column:1/-1!important;margin:0!important;font-size:16px!important;line-height:1.5!important}
}

/* Secondary routes are a compact, consistent navigation grid. */
html:root body.complete-home[class][class] #support-routes .journey-support{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-top:16px!important;padding-top:0!important;border-top:0!important;align-items:stretch!important}
html:root body.complete-home[class][class] #support-routes .journey-support>a{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:auto!important;min-width:0!important;min-height:64px!important;margin:0!important;padding:16px!important;box-sizing:border-box!important;border:1px solid #3c5044!important;border-radius:12px!important;background:#18211c!important;color:#e8f3eb!important;font-size:16px!important;line-height:1.35!important;font-weight:500!important;text-decoration:none!important;transition:background .18s ease,border-color .18s ease!important}
html:root body.complete-home[class][class] #support-routes .journey-support>a:hover{background:#22342a!important;border-color:#91b99e!important}
html:root body.complete-home[class][class] #support-routes .journey-support>a:focus-visible{outline:2px solid #a8dbb8;outline-offset:3px}
html:root body.complete-home[class][class] #support-routes .journey-support .journey-guide strong{font:inherit!important;color:inherit!important}
html:root body.complete-home[class][class] #support-routes .journey-support .journey-guide>span{display:none!important}
html:root body.complete-home[class][class] #support-routes .journey-support>a::after{content:"";display:block;width:18px;height:18px;flex:0 0 18px;background:#a8dbb8;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:900px){html:root body.complete-home[class][class] #support-routes .journey-support{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){html:root body.complete-home[class][class] #support-routes .journey-support>a{padding:14px!important;min-height:88px!important;gap:8px!important}html:root body.complete-home[class][class] #support-routes .journey-support .journey-guide strong{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){html:root body.complete-home[class][class] #support-routes .journey-support>a{transition:none!important}}

@media(max-width:360px){html:root body.complete-home[class][class] #support-routes .journey-support>a{padding:12px!important;gap:6px!important}html:root body.complete-home[class][class] #support-routes .journey-support>a::after{width:14px;height:14px;flex-basis:14px}}

/* Native gallery swipe with quiet playback control; no numbered navigation. */
html:root body.complete-home[class][class] #why-spillsafe .swipe-field-gallery{display:block!important;position:relative;min-width:0!important}
html:root body.complete-home[class][class] #why-spillsafe .field-swipe-track{display:flex!important;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:18px;aspect-ratio:4/3;min-width:0;touch-action:pan-x pan-y}
.field-swipe-track::-webkit-scrollbar{display:none}
html:root body.complete-home[class][class] #why-spillsafe .field-swipe-track img{display:block!important;position:relative!important;inset:auto!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;height:100%!important;min-width:0!important;object-fit:cover!important;scroll-snap-align:start;opacity:1!important;transform:none!important;animation:none!important;filter:none!important;clip-path:none!important;border-radius:0!important}
html:root body.complete-home[class][class] #why-spillsafe .field-swipe-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
html:root body.complete-home[class][class] #why-spillsafe .field-swipe-caption{margin:0!important;font-size:14px!important;line-height:1.4!important;min-width:0}
html:root body.complete-home[class][class] #why-spillsafe .field-swipe-toggle{flex:0 0 auto;min-height:44px;padding:8px 12px!important;width:auto!important;border:1px solid #8fac9a;border-radius:999px;background:transparent;color:#234334;font-size:14px!important}

/* Reserve caption space so photo changes never move the following section. */
html:root body.complete-home[class][class] #why-spillsafe .field-swipe-caption{min-height:40px;display:flex;align-items:center}
html:root body.complete-home[class][class] #why-spillsafe .field-swipe-track img{transition:none!important;backface-visibility:hidden}

/* Keep horizontal gestures inside their row and settle cards on a clean edge. */
@media(max-width:767px){
 html:root body.complete-home[class][class] :is(#support-routes .route-grid,#documented-work .proof-links,.process-grid,.field-swipe-track){box-sizing:border-box!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:none!important;scroll-snap-type:x mandatory!important;touch-action:pan-x pan-y pinch-zoom;isolation:isolate}
 html:root body.complete-home[class][class] :is(#support-routes .route-link,#documented-work .proof-link,.process-card,.field-swipe-track img){scroll-snap-align:start!important;scroll-snap-stop:always;transform:none!important;translate:none!important;animation:none!important}
 html:root body.complete-home[class][class] :is(#support-routes .route-link,#documented-work .proof-link,.process-card):hover{transform:none!important;translate:none!important}
}
