/* Navy & Gold: touch, narrow screens and short landscape windows. */
html{scroll-padding-top:calc(var(--header-height,146px) + 20px);-webkit-text-size-adjust:100%}
main,section,.section-head>*,.form>*,.calc-row>*,.calc-settings>*,.career-grid>*,.value-grid>*{min-width:0}
input,select,textarea{max-width:100%;box-sizing:border-box}
img{max-width:100%}
h1,h2,h3,.btn,.eyebrow{overflow-wrap:break-word}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible{outline:3px solid #d8b780;outline-offset:4px}
@media(max-width:1100px){nav.open{overflow-y:auto;max-height:calc(100dvh - 110px);overscroll-behavior:contain}nav a{min-height:44px;display:flex;align-items:center}.menu{min-height:44px}.servicebar button{min-height:44px}}
@media(max-width:700px){input,select,textarea,.calc-row select{font-size:16px!important}.hero .actions{align-items:stretch}.hero .actions a{min-height:44px;display:inline-flex;align-items:center}.slide-info{flex-wrap:wrap;gap:14px}.slide-info>div{min-width:0}.arrows{flex-shrink:0}.hero .arrows button{min-width:44px;min-height:44px}.review-dock{position:static!important;transform:none!important;width:auto!important;max-width:none!important;margin:16px 5%!important;padding:12px!important;flex-wrap:wrap;gap:12px!important}.review-dock a,.review-dock button{min-height:44px;display:inline-flex;align-items:center}body{padding-bottom:env(safe-area-inset-bottom,0px)}.calc-row{grid-template-columns:repeat(2,minmax(0,1fr))}.calc-row label:first-child{grid-column:1/-1}.calc-row .calc-remove{min-width:44px;min-height:44px}dialog{width:92vw;max-width:92vw;max-height:88dvh;overflow-y:auto;padding:24px 18px}dialog h2{font-size:30px}.faq summary{min-height:44px}.hero .hero-subheading{line-height:1.6}}
@media(max-width:360px){.hero h1{font-size:40px}.hero .eyebrow{font-size:8px;letter-spacing:1px}.checks{grid-template-columns:1fr}.hero .actions{flex-direction:column}.hero .actions a{justify-content:center}.hero-assurance{line-height:1.7}}
@media(max-height:550px) and (orientation:landscape){.review-dock{position:static!important;transform:none!important;width:auto!important;margin:16px 5%}nav.open{max-height:calc(100dvh - 72px)}}

/* Footer-only white brand treatment on the navy surface. */
html[data-theme=navy] .footer-brand{background:transparent;border:0}
html[data-theme=navy] .footer-brand img{filter:brightness(0) invert(1);background:transparent;border:0;border-radius:0;padding:0;object-fit:contain}

/* Fit the artwork itself, excluding the PNG's transparent outer margins. */
html[data-theme=navy] header .brand{position:relative;display:block;flex:0 0 230px;width:230px;height:105px;overflow:hidden;background:#fff}
html[data-theme=navy] header .official-logo{position:absolute;width:110.122%;max-width:none;height:auto;left:-5.410%;top:-21.073%;padding:0;margin:0;object-fit:initial;filter:none;border:0;background:transparent}
html[data-theme=navy] .top{height:125px}
@media(min-width:1101px) and (max-width:1280px){html[data-theme=navy] nav{gap:15px}html[data-theme=navy] .top{gap:18px}html[data-theme=navy] header .brand{flex-basis:205px;width:205px;height:94px}}
@media(max-width:1100px){html[data-theme=navy] .top{height:112px}html[data-theme=navy] header .brand{flex-basis:205px;width:205px;height:94px}html[data-theme=navy] nav{top:calc(112px + env(safe-area-inset-top,0px));max-height:calc(100dvh - 122px)}}
@media(max-width:480px){html[data-theme=navy] .top{height:100px;gap:12px}html[data-theme=navy] header .brand{flex-basis:180px;width:180px;height:82px}html[data-theme=navy] nav{top:calc(100px + env(safe-area-inset-top,0px));max-height:calc(100dvh - 110px)}}
@media(max-width:360px){html[data-theme=navy] header .brand{flex-basis:164px;width:164px;height:75px}html[data-theme=navy] .menu{padding:8px 10px}}
@media(max-height:550px) and (orientation:landscape){html[data-theme=navy] .top{height:76px}html[data-theme=navy] header .brand{flex-basis:145px;width:145px;height:66px}html[data-theme=navy] nav{top:calc(76px + env(safe-area-inset-top,0px));max-height:calc(100dvh - 86px)}}

/* A shared centreline for the logo, navigation and contact action. */
html[data-theme=navy] .top{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:10px 5%;height:125px;border-bottom:1px solid #dce4eb}
html[data-theme=navy] header .brand{align-self:center;flex-shrink:0}
html[data-theme=navy] #main-navigation{font-size:13px;font-weight:500;line-height:1.35;letter-spacing:.1px;gap:20px;align-items:center;margin:0;padding:0}
html[data-theme=navy] #main-navigation a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 0;white-space:nowrap;color:#10334f;text-decoration:none}
html[data-theme=navy] #main-navigation a:hover{color:#087f92}
html[data-theme=navy] #main-navigation .navcta{padding:12px 20px;border:1px solid #10334f;min-height:46px;margin-left:4px}
html[data-theme=navy] #main-navigation .navcta:hover{background:#10334f;color:#fff}
@media(min-width:1351px){html[data-theme=navy] #main-navigation{position:static;display:flex;flex-wrap:nowrap}html[data-theme=navy] .menu{display:none}}
@media(max-width:1350px){html[data-theme=navy] .top{height:112px;gap:18px}html[data-theme=navy] header .brand{width:205px;flex-basis:205px;height:94px}html[data-theme=navy] .menu{display:block;min-height:46px;padding:10px 16px;font-size:14px}html[data-theme=navy] #main-navigation{display:none;position:absolute;top:calc(112px + env(safe-area-inset-top,0px));left:0;right:0;max-height:calc(100dvh - 122px);overflow-y:auto;padding:18px 5%;background:#fff;border-bottom:1px solid #dce4eb;gap:4px 18px;font-size:14px}html[data-theme=navy] #main-navigation.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme=navy] #main-navigation a{justify-content:flex-start;white-space:normal;padding:10px 12px}html[data-theme=navy] #main-navigation .navcta{margin:4px 0;padding:12px}}
@media(max-width:480px){html[data-theme=navy] .top{height:100px;gap:12px}html[data-theme=navy] header .brand{width:180px;flex-basis:180px;height:82px}html[data-theme=navy] #main-navigation{top:calc(100px + env(safe-area-inset-top,0px));max-height:calc(100dvh - 110px)}html[data-theme=navy] #main-navigation.open{grid-template-columns:1fr}}
@media(max-width:360px){html[data-theme=navy] header .brand{width:164px;flex-basis:164px;height:75px}html[data-theme=navy] .menu{padding:8px 10px}}
@media(max-height:550px) and (orientation:landscape){html[data-theme=navy] .top{height:76px;padding-top:5px;padding-bottom:5px}html[data-theme=navy] header .brand{width:145px;flex-basis:145px;height:66px}html[data-theme=navy] #main-navigation{top:calc(76px + env(safe-area-inset-top,0px));max-height:calc(100dvh - 86px)}}

/* Services navigation: one readable, evenly spaced row. */
html[data-theme=navy] .servicebar{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:24px;padding:4px 5%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#d8b78066 #0d1e2c;border-top:0;border-bottom:1px solid #d8b78030}
html[data-theme=navy] .servicebar button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:52px;padding:10px 0;font-size:13px;font-weight:500;line-height:1.4;letter-spacing:.1px;color:#e7edf2;transition:color .2s}
html[data-theme=navy] .servicebar button:hover,html[data-theme=navy] .servicebar button:focus-visible{color:#e7c895}
@media(min-width:1600px){html[data-theme=navy] .servicebar button{font-size:14px}html[data-theme=navy] .servicebar{gap:30px}}
@media(max-width:1100px){html[data-theme=navy] .servicebar{justify-content:flex-start;gap:28px;padding-left:5%;padding-right:5%}html[data-theme=navy] .servicebar button{font-size:14px;min-height:52px}}
@media(max-width:480px){html[data-theme=navy] .servicebar{gap:25px}html[data-theme=navy] .servicebar button{font-size:13px;min-height:48px}}

/* Primary contact action in the white navigation header. */
html[data-theme=navy] #main-navigation .navcta{background:#10334f;color:#fff;border:1px solid #10334f;border-radius:0}
html[data-theme=navy] #main-navigation .navcta:hover{background:#174b6b;color:#fff;border-color:#174b6b}
