/* Consistent vector details and small, purposeful interactions across JB pages. */
.ui-arrow{display:inline-block;width:18px;height:18px;min-width:18px;flex-shrink:0;vertical-align:-.22em;overflow:visible;transition:transform .22s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.btn>.ui-arrow,.btn>[aria-hidden="true"],.campaign-actions a>[aria-hidden="true"],.mega-link>[aria-hidden="true"]{display:inline-flex;align-items:center;justify-content:center;line-height:1;flex-shrink:0}
.btn .ui-arrow,.campaign-primary .ui-arrow,.campaign-secondary .ui-arrow{width:18px;height:18px;min-width:18px;vertical-align:middle}
.text-link{gap:8px;text-underline-offset:5px;text-decoration-thickness:1px}
.text-link .ui-arrow{width:17px;height:17px;min-width:17px}
.calm-card-related .ui-arrow,.regional-related-links .ui-arrow,.footer .ui-arrow{width:15px;height:15px;min-width:15px}
.campaign-enquiry-phone .ui-arrow{width:22px;height:22px}
.mega-link>span:has(>.ui-arrow){width:28px;height:28px;border-radius:50%;background:#f3f5f1;color:#6c756e}
:where(a,button,summary,input,select,textarea):focus-visible{outline:2px solid #c45112;outline-offset:4px}
.btn,.campaign-primary,.campaign-secondary,.calm-service,.calm-project-card,.calm-resource-grid>a,.mega-link,.commercial-brand-card{transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background-color .22s ease}
.btn:active,.campaign-primary:active,.campaign-secondary:active{transform:translateY(1px)}
summary{position:relative;padding-right:32px}
summary:after{content:'';position:absolute;top:50%;right:6px;width:7px;height:7px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:translateY(-65%) rotate(45deg);font-size:0;transition:transform .22s ease}
details[open]>summary:after{content:'';transform:translateY(-25%) rotate(225deg)}
summary::-webkit-details-marker{display:none}
.page-progress{position:fixed;inset:0 0 auto;height:2px;z-index:9999;pointer-events:none;background:transparent}
.page-progress span{display:block;width:100%;height:100%;background:#f27627;transform:scaleX(0);transform-origin:0 50%}
.motion-ready .reveal{transition:opacity .55s ease var(--reveal-delay,0ms),transform .55s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms)}
.motion-ready .campaign-visual img{animation:jb-photo-enter 1s cubic-bezier(.2,.7,.2,1) both}
.motion-ready .campaign-story{animation:jb-story-enter .65s .12s ease both}
.calm-project-card{overflow:hidden}
.calm-project-card>img,.calm-case-feature>img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
@keyframes jb-photo-enter{from{transform:scale(1.025);opacity:.85}to{transform:scale(1);opacity:1}}
@keyframes jb-story-enter{from{transform:translateY(9px);opacity:.2}to{transform:translateY(0);opacity:1}}
@media(hover:hover) and (pointer:fine){
 a:hover .ui-arrow-right,button:hover .ui-arrow-right,a:focus-visible .ui-arrow-right,button:focus-visible .ui-arrow-right{transform:translateX(3px)}
 a:hover .ui-arrow-external,a:focus-visible .ui-arrow-external{transform:translate(2px,-2px)}
 a:hover .ui-arrow-left,button:hover .ui-arrow-left{transform:translateX(-3px)}
 a:hover .ui-arrow-down,button:hover .ui-arrow-down{transform:translateY(3px)}
 .calm-service:hover,.calm-project-card:hover{transform:translateY(-3px);border-color:#c6cfc6;box-shadow:0 9px 25px #17231d0a}
 .calm-project-card:hover>img,.calm-case-feature:hover>img{transform:scale(1.025)}
 .calm-resource-grid>a:hover{transform:translateY(-2px);border-color:#b24a16}
 .mega-link:hover{border-color:#c4cec3;background:#f8faf6}
 .text-link:hover{text-decoration:underline}
}
.motion-paused .campaign-visual img,.motion-paused .campaign-story{animation:none!important;opacity:1!important;transform:none!important}
.motion-paused .reveal{transition:none!important;opacity:1!important;transform:none!important}
@media(prefers-reduced-motion:reduce){
 .ui-arrow,.btn,.campaign-primary,.campaign-secondary,.calm-service,.calm-project-card,.calm-resource-grid>a,.mega-link,.commercial-brand-card,.calm-project-card>img,.calm-case-feature>img,summary:after{transition:none!important}
 .motion-ready .campaign-visual img,.motion-ready .campaign-story,.motion-ready .reveal{animation:none!important;transition:none!important;opacity:1!important;transform:none!important}
 a:hover .ui-arrow,button:hover .ui-arrow,.calm-service:hover,.calm-project-card:hover,.calm-resource-grid>a:hover,.calm-project-card:hover>img,.calm-case-feature:hover>img{transform:none!important}
}
@media print{.page-progress{display:none}.motion-ready .campaign-visual img,.motion-ready .campaign-story{animation:none!important;opacity:1!important;transform:none!important}}

/* Use symbols where the action has a clear meaning; ordinary links stay uncluttered. */
.ui-symbol{display:inline-block;width:20px;height:20px;min-width:20px;vertical-align:middle;flex-shrink:0;pointer-events:none}
.btn>.ui-symbol,.campaign-actions .ui-symbol{width:18px;height:18px;min-width:18px}
.mega-link{justify-content:flex-start}
.mega-link>.ui-symbol{color:#657168}
.menu-chevron{display:block;width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:3px;transition:transform .2s ease}
[aria-expanded="true"]>.menu-chevron{transform:translateY(2px) rotate(225deg)}
.call-card{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:9px 15px;border-radius:999px;text-decoration:none;white-space:nowrap;min-height:48px;border:1px solid #d8e0d7;background:#fff;color:#17231d;line-height:1;transition:background-color .2s ease,border-color .2s ease}
.call-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;background:#fff0e2;border-radius:50%;color:#b74a12}
.call-icon .ui-symbol{position:static;width:17px;height:17px;min-width:17px}
.call-details{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.call-details small{font-size:9px;font-weight:500;line-height:1;letter-spacing:.04em;color:#5d685e}
.call-details strong{font-size:15px;font-weight:650;line-height:1;letter-spacing:0;color:#17231d}
.calm-site .phone-box,.phone-box.call-card{min-height:48px;min-width:0;background:#fff;border-color:#e4e8de;border-radius:999px;font-size:15px;padding:7px 14px;gap:9px}
.phone-box.call-card svg{position:static;left:auto;width:17px;height:17px}
.calm-site .utility-inner{padding-top:6px;padding-bottom:6px}
.header .nav-call-card{display:none}
.calm-home .campaign-enquiry-phone.call-card{font-size:initial;letter-spacing:normal;gap:13px;margin-top:22px;padding:12px 19px;min-height:64px}
.campaign-enquiry-phone .call-icon{width:34px;height:34px}
.campaign-enquiry-phone .call-details small{font-size:10px}
.campaign-enquiry-phone .call-details strong{font-size:21px}
.mobile-dock .dock-quote{background:#fff;color:#a64717}
.campaign-actions{gap:12px}
.campaign-primary,.campaign-secondary{gap:10px}
@media(hover:hover) and (pointer:fine){.call-card:hover{background:#fff8f0;border-color:#dfba9b}}
@media(max-width:1000px){
 .header .nav-call-card{display:inline-flex;margin-left:auto;gap:7px;min-height:43px;padding:7px 10px;border-color:#434c44;background:#f7f8f3}
 .header .header-quote{display:none}
 .nav-call-card .call-icon{width:23px;height:23px}
 .nav-call-card .call-icon .ui-symbol{width:14px;height:14px;min-width:14px}
 .nav-call-card .call-details{gap:4px}
 .nav-call-card .call-details small{font-size:8px}
 .nav-call-card .call-details strong{font-size:12px}
}
@media(max-width:700px){
 .header .nav{gap:8px}
 .header .brand strong{font-size:13px}
 .header .brand small{font-size:8px}
 .header .brand img{width:40px;height:44px}
 .header .brand{gap:7px}
 .header .menu-btn{width:38px;min-width:38px;height:42px;padding:7px}
 .header .nav-call-card{margin-left:auto;padding:7px 9px;gap:6px}
 .campaign-actions .ui-symbol{width:16px;height:16px;min-width:16px}
 .campaign-primary,.campaign-secondary{gap:7px}
 .calm-home .campaign-enquiry-phone.call-card{padding:11px 17px;min-height:60px}
 .campaign-enquiry-phone .call-details strong{font-size:20px}
}
@media(max-width:360px){.header .brand>span{display:none}.header .brand img{width:42px;height:46px}.header .nav-call-card{padding:8px 12px;gap:8px}.nav-call-card .call-details strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.call-card,.menu-chevron{transition:none!important}}

/* White surfaces, with the orange quick-link bar below the main navigation. */
:root{--paper:#fff;--soft:#fff;--calm-paper:#fff}
body,.menu-search-band,.quote-card,.step-status,.regional-hero-note,.regional-related-links>a,.regional-local,.area-directory-grid>a,.boat-photo-gallery img,.equipment-jump-links a,.area-specialist-grid article,.service-path-summary article,.jb-home-trust,.calm-proof-strip,.calm-case-feature,.calm-guide-hero{background:#fff}
.calm-home .calm-services,.calm-home .calm-planning,.calm-home .calm-faq,.calm-home .campaign-enquiry,.calm-home .calm-area-links>a[id],.calm-home .curated-stair-photo,.calm-home .curated-stair-photo img{background:#fff}
.guide-body .jb-home-card,.guide-body .jb-home-benefits article,.regional-article .regional-related-links>a,.regional-article .gear-items article,.guide-body figure img{background:#fff}
.campaign-enquiry .quote-card{box-shadow:none;background:#fff}
.step-status{border:1px solid #e2e6df}
.header .utility{display:block;background:var(--orange);border-top:1px solid #ffffff22;border-bottom:1px solid #d84f08}
.header .utility-inner{min-height:54px;padding-top:5px;padding-bottom:5px}
.header .utility nav a{background:transparent;color:#17191a;font-weight:650}
.header .phone-box.call-card{min-height:42px;padding:5px 11px;background:#fff;border-color:#fff}
.header .phone-box .call-details strong{font-size:14px}
.call-icon{width:35px;height:35px;border-radius:11px;background:linear-gradient(145deg,#ff8b36,#ef5a0a);color:#fff;border:2px solid #fff;box-shadow:0 0 0 1px #ef5a0a30,0 3px 7px #5e2d101a;transform:rotate(-7deg)}
.call-icon .ui-symbol-phone{width:20px;height:20px;min-width:20px;transform:rotate(7deg);fill:currentColor;stroke:none}
.phone-box.call-card .call-icon .ui-symbol-phone{width:19px;height:19px}
.campaign-enquiry-phone .call-icon{width:43px;height:43px;border-radius:13px}
.campaign-enquiry-phone .call-icon .ui-symbol-phone{width:24px;height:24px;min-width:24px}
.header .nav-call-card{background:#fff;border-color:#fff}
.mobile-dock .dock-phone{color:#fff}
.mobile-dock .dock-phone .ui-symbol-phone{width:23px;height:23px}
@media(max-width:1000px){
 .header .utility-inner{width:100%;min-height:39px;padding:0 18px;gap:0}
 .header .utility .phone-box{display:none}
 .header .utility nav{display:flex;flex:1;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;min-width:0}
 .header .utility nav::-webkit-scrollbar{display:none}
 .header .utility nav a{flex-shrink:0;min-height:38px;padding:9px 11px;font-size:10px;line-height:1.4}
 .header .nav-call-card .call-icon{width:29px;height:29px;border-radius:9px}
 .header .nav-call-card .call-icon .ui-symbol-phone{width:17px;height:17px;min-width:17px}
 .header .nav-call-card{padding:6px 9px;gap:7px}
}
@media(max-width:700px){
 .header .utility-inner{padding-left:11px;padding-right:11px}
 .header .utility nav a{font-size:10px;padding-left:10px;padding-right:10px}
 .header .nav-call-card{gap:6px;padding:5px 8px}
 .header .nav-call-card .call-icon{width:27px;height:27px}
 .campaign-enquiry #quick-quote{scroll-margin-top:140px}
 .calm-home [id],.guide-body>section{scroll-margin-top:140px}
}

/* A single continuous orange service carousel sits immediately after each hero. */
.header .nav-call-card{display:inline-flex;margin-left:auto;gap:8px;padding:7px 12px;background:#fff;border-color:#fff;min-height:44px}
.header .header-quote{display:none}
.header .nav-call-card .call-icon{width:30px;height:30px;border-radius:10px}
.header .nav-call-card .call-details strong{font-size:13px}
.header .nav-call-card .call-details small{font-size:9px}
.service-carousel{background:var(--orange);border-top:1px solid #ff9c5b;border-bottom:1px solid #d74c06;color:#17191a}
.service-carousel-layout{display:flex;align-items:center;gap:20px;min-height:54px}
.service-carousel-window{overflow:hidden;min-width:0;flex:1;mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent)}
.service-carousel-track{display:flex;width:max-content;animation:jb-services-roll 34s linear infinite}
.service-carousel-group{display:flex;align-items:center;gap:30px;flex-shrink:0;padding-right:30px;white-space:nowrap}
.service-carousel-group a{display:inline-flex;align-items:center;gap:30px;min-height:50px;color:#17191a;font-family:var(--header);font-size:12px;font-weight:650;letter-spacing:.01em;line-height:1.5}
.service-carousel-group a:after{content:'';width:4px;height:4px;background:#17191a80;border-radius:50%;flex-shrink:0}
.service-carousel-group a:hover{text-decoration:underline;text-underline-offset:5px}
.service-carousel button{flex-shrink:0;min-height:34px;padding:7px 11px;border:1px solid #17191a45;border-radius:999px;background:transparent;color:#17191a;font-size:10px;font-weight:600;line-height:1.5}
.motion-paused .service-carousel-track{animation-play-state:paused}
.service-carousel-window:has(a:focus-visible) .service-carousel-track{animation:none;transform:none}
.service-carousel-window:has(a:focus-visible){overflow-x:auto;mask-image:none}
.service-carousel-window:has(a:focus-visible) .carousel-copy{display:none}
@media(hover:hover) and (pointer:fine){.service-carousel:hover .service-carousel-track{animation-play-state:paused}}
@keyframes jb-services-roll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:1000px){.header .nav-call-card{padding:6px 10px;gap:7px}.header .nav-call-card .call-details strong{font-size:12px}.header .nav-call-card .call-details small{font-size:8px}.header .nav-call-card .call-icon{width:28px;height:28px}}
@media(max-width:700px){
 .header .nav-call-card{padding:5px 8px;gap:6px}
 .service-carousel-layout{width:calc(100% - 32px);min-height:50px;gap:12px}
 .service-carousel-group{gap:24px;padding-right:24px}
 .service-carousel-group a{gap:24px;font-size:11px;min-height:48px}
 .service-carousel button{font-size:9px;padding:6px 9px;min-height:32px}
}
@media(prefers-reduced-motion:reduce){.service-carousel-track{animation:none!important;transform:none!important}.service-carousel-window{overflow-x:auto;mask-image:none}.carousel-copy{display:none}}
@media print{.service-carousel-track{animation:none;transform:none}.carousel-copy,.service-carousel button{display:none}}

/* Keep mobile fields readable without triggering iPhone focus zoom. */
@media(max-width:700px){
 html{scroll-padding-top:96px;scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom))}
 .calm-home [id],.guide-body>section,.regional-article>section,
 .area-directory,.gear-group,.jb-area-home section[id],
 .campaign-enquiry #quick-quote,.quote-card#quick-quote{scroll-margin-top:0}
 .calm-home .campaign-enquiry .quote-card input,
 .calm-home .campaign-enquiry .quote-card select,
 .calm-home .campaign-enquiry .quote-card textarea,
 .menu-search-inner form input,
 .portfolio .filter-top input,
 .portfolio .filter-top select{font-size:16px}
 .calm-home .campaign-enquiry .quote-card input,
 .calm-home .campaign-enquiry .quote-card select{min-height:50px}
}
