body.am.trade-page .phead{background:#091a2d;isolation:isolate;position:relative;padding-block:88px 70px}
body.am .trade-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center;z-index:-3}
body.am.trade-page .phead:before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(6,20,34,.97),rgba(7,22,39,.86) 38%,rgba(7,22,39,.18) 100%),linear-gradient(0deg,#091a2d,transparent 42%)}
body.am.trade-page .phead .wrap{position:relative;z-index:1}
body.am.trade-page .phead h1{max-width:13ch;font-size:clamp(56px,6.7vw,98px);text-wrap:balance}
body.am.trade-page .phead .lede{max-width:33em}
body.am .trade-visual-label{position:absolute;right:5%;top:20px;font-size:9px;color:#d7e0e8;letter-spacing:.6px;padding:5px 8px;background:#091a2d70;z-index:2}
body.am .trade-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:0;background:#10283f;border-top:1px solid #ffffff24;padding:0 5%}
body.am .trade-nav a{color:#b9c9d7;font-size:11px;padding:19px 23px;border-bottom:3px solid transparent;text-decoration:none}
body.am .trade-nav a:hover,body.am .trade-nav a[aria-current=page]{color:white;border-bottom-color:#e03540}
body.am.trade-about .phead,body.am.trade-service-areas .phead{background:radial-gradient(ellipse at 90% 40%,#22445d 0,#091a2d 68%)}
body.am.trade-about .phead:before,body.am.trade-service-areas .phead:before{background:linear-gradient(90deg,#091a2d88,transparent)}
body.am .photo img{object-position:center;max-height:560px;object-fit:cover}
@media(max-width:700px){body.am.trade-page .phead{padding-block:68px 38px}body.am.trade-page .phead h1{font-size:clamp(48px,10.7vw,72px);max-width:14ch}body.am .trade-hero-photo{object-position:70% center}body.am.trade-page .phead:before{background:linear-gradient(90deg,#061422ed,#071627b8),linear-gradient(0deg,#091a2d,transparent 50%)}body.am .trade-visual-label{font-size:8px;top:13px}body.am .trade-nav{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:0 5%;scrollbar-width:thin}body.am .trade-nav a{flex:0 0 auto;padding:17px 15px;font-size:10px}body.am .photo img{max-height:330px}}

/* Larger service tabs, including Handyman and Commercial. */
body.am .trade-nav{padding:0 3%;gap:3px}
body.am .trade-nav a{font-size:15px;font-weight:600;letter-spacing:.1px;padding:22px 20px;min-height:66px;display:flex;align-items:center;white-space:nowrap;border-bottom-width:4px}
body.am .trade-nav a:hover{background:#ffffff08}
body.am.trade-handyman .phead,body.am.trade-commercial .phead{background:radial-gradient(ellipse at 95% 45%,#244a65 0,#091a2d 65%)}
body.am.trade-commercial .svc-list{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){body.am .trade-nav{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:0 4%}body.am .trade-nav a{font-size:14px;padding:20px 18px;min-height:62px;flex:0 0 auto}}
@media(max-width:560px){body.am .trade-nav a{font-size:14px;min-height:60px;padding:18px 17px}body.am.trade-commercial .svc-list{grid-template-columns:1fr}}
body.am.trade-commercial .phead h1,body.am.trade-handyman .phead h1{max-width:20ch;text-wrap:initial}
@media(max-width:560px){body.am.trade-commercial .phead h1,body.am.trade-handyman .phead h1{max-width:16ch;font-size:clamp(43px,10vw,56px)}}

/* Seven header links: keep the larger tabs on wide screens, tighten them only on mid-size screens */
@media(min-width:941px) and (max-width:1279px){header.site.am-header nav{gap:0;font-size:13px}header.site.am-header nav a:not(.am-book){padding:12px 9px}header.site.am-header nav a:not(.am-book)::after{left:9px;right:9px}header.site.am-header .am-book{margin-left:8px;padding:14px 18px;font-size:14px}}

/* Hide the image caption label */
body.am .trade-visual-label{display:none}
