/* Shared public header: one logo size and matching 44px controls in both languages. */
.header{position:sticky!important;top:0!important;left:auto!important;right:auto!important;z-index:100!important;padding:8px 0!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #d8e0e5!important;pointer-events:auto!important}
.header .nav{position:relative!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;width:min(1200px,calc(100% - 32px))!important;max-width:1200px!important;min-height:62px!important;margin:0 auto!important;padding:8px 12px!important;border:1px solid #d8e0e5!important;border-radius:10px!important;background:#fff!important;box-shadow:0 4px 18px #10273d0d!important;transform:none!important;overflow:visible!important}
.header .nav .brand{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;width:116px!important;height:44px!important;margin:0!important;padding:0!important;gap:0!important;text-decoration:none!important}
.header .nav .brand .site-logo{display:block!important;box-sizing:border-box!important;width:116px!important;min-width:116px!important;max-width:116px!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0!important;object-fit:contain!important;background:#fff!important;border:0!important;border-radius:0!important}
.header .nav .nav-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin:0 0 0 auto!important;padding:0!important}
.header .nav .nav-actions .lang,.header .nav .nav-actions .menu{display:inline-flex!important;box-sizing:border-box!important;flex:0 0 44px!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0!important;border:1px solid #bcc9d3!important;border-radius:8px!important;background:#fff!important;color:#10273d!important;font:800 14px/1 'DM Sans',Arial,sans-serif!important;text-decoration:none!important;cursor:pointer;box-shadow:none!important;transform:none!important}
.header .nav .nav-actions .lang:hover,.header .nav .nav-actions .menu:hover,.header .nav .nav-actions .menu[aria-expanded=true]{background:#f3f6f8!important;border-color:#10273d!important}
.header .nav .menu svg{display:block;width:22px;height:22px;flex:none}
.header .nav .links{display:none!important;box-sizing:border-box!important;position:absolute!important;inset:auto 0 auto auto!important;top:calc(100% + 8px)!important;z-index:200!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;width:min(380px,calc(100vw - 32px))!important;min-width:0!important;max-height:calc(100dvh - 112px)!important;margin:0!important;padding:12px!important;overflow-y:auto!important;border:1px solid #d8e0e5!important;border-radius:12px!important;background:#fff!important;box-shadow:0 16px 36px #10273d26!important}
.header .nav .links.open{display:flex!important}
.header .nav .links a{display:flex!important;box-sizing:border-box!important;align-items:center!important;min-height:44px!important;margin:0!important;padding:11px 12px!important;border-radius:6px!important;color:#10273d!important;font:700 16px/1.4 'DM Sans',Arial,sans-serif!important;text-align:left!important;text-decoration:none!important;white-space:normal!important;transform:none!important}
.header .nav .links a:hover{background:#f0f4f7!important}
.header .nav .links .header-cta{display:flex!important;justify-content:center!important;margin-top:8px!important;padding:12px!important;background:#10273d!important;color:#fff!important;border:1px solid #10273d!important;font-size:14px!important}
.header .nav .links .header-cta:hover{background:#1b405d!important;color:#fff!important}
@media(max-width:550px){.header .nav{width:calc(100% - 24px)!important;gap:12px!important;padding:8px!important}.header .nav .links{width:min(380px,calc(100vw - 24px))!important}}
/* The staff office uses the same logo and control height without changing its tools. */
.top .brand .site-logo{display:block;width:116px!important;height:44px!important;max-height:44px!important;object-fit:contain;padding:0!important}
.top .button{box-sizing:border-box;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0 12px!important;display:inline-flex;align-items:center;justify-content:center;line-height:1.2!important}

/* Keep one booking action in navigation: the highlighted CTA. The plain contact link pointed to the same booking section. */
.header .nav .links > a[href='/#booking']:not(.header-cta),
.header .nav .links > a[href='/fr/#booking']:not(.header-cta){display:none!important}


/* Jim Soucy / Site-wide editorial system — 2026-11-12
   Shared across all public EN/FR pages. Staff dashboard intentionally excluded. */
:root{--js-ink:#10273d;--js-navy:#0c2537;--js-gold:#dba64d;--js-cream:#f8f7f3;--js-line:#dbe2e6;--js-muted:#43596a}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body{background:var(--js-cream)!important;color:var(--js-ink);overflow-x:clip}
#main-content{isolation:isolate}
#main-content > .section{position:relative}
#main-content > .section:not(.hero):not(.inverse):not(.assurance):not(.premium-inspection-journey){background:#f8f7f3!important}
#main-content > .section:not(.hero):not(.inverse):not(.assurance):nth-of-type(even){background:#f0f3f3!important}
#main-content > .section .wrap{max-width:1200px}
#main-content h1,#main-content h2,#main-content h3{overflow-wrap:break-word}
#main-content > .section:first-child:not(.hero),#main-content > .section:first-child.inverse{
  padding:clamp(90px,10vw,145px) 0 clamp(74px,8vw,125px)!important;
  background:#10273d!important;color:#fff!important
}
#main-content > .section:first-child:not(.hero)::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 90% 20%,rgba(219,166,77,.18),transparent 40%),
  linear-gradient(135deg,rgba(4,18,31,.5),transparent 55%);
}
#main-content > .section:first-child:not(.hero)>.wrap{position:relative;z-index:1}
#main-content > .section:first-child:not(.hero) h1{
  color:#fff!important;font-family:Manrope,'DM Sans',sans-serif!important;
  font-size:clamp(2.9rem,5.5vw,5.8rem)!important;line-height:1.06!important;
  letter-spacing:-.065em!important;max-width:1000px;
}
#main-content > .section:first-child:not(.hero) .eyebrow,
#main-content > .section:first-child:not(.hero) .section-index{color:#efc181!important}
#main-content > .section:first-child:not(.hero) p{color:#e1e9ed!important;max-width:750px;line-height:1.82}
#main-content > .section:first-child:not(.hero) .btn.dark,
#main-content > .section:first-child:not(.hero) a.btn{background:#e4b369!important;color:#10273d!important;border-color:#e4b369!important}
#main-content > .section .section-head{gap:clamp(20px,5vw,65px)}
#main-content > .section h2{letter-spacing:-.055em}
#main-content > .section p{line-height:1.8}
#main-content :is(.fact-card,.service,.inspection-overview){border:1px solid var(--js-line);border-radius:7px!important}
#main-content :is(.fact-card,.service){box-shadow:0 8px 28px rgba(13,38,57,.055);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
@media(hover:hover){#main-content :is(a.service,.fact-card):hover{border-color:#d1ad72;box-shadow:0 16px 36px rgba(13,38,57,.12)}}
#main-content .section a:not(.btn):not(.service){text-underline-offset:4px}
#main-content .fact-grid{gap:20px}
#main-content .fact-card{background:#fff!important;padding:clamp(22px,3vw,34px)}
#main-content .fact-card h3{color:#142e43!important}
#main-content .fact-card p{color:#41596a!important}
#main-content .city-coverage{display:flex;flex-wrap:wrap;gap:11px}
#main-content .city-coverage span{
  border:1px solid #c7d5dc;border-radius:4px;background:#fff!important;
  padding:12px 16px;color:#153247;font-size:.9rem;font-weight:700
}
#main-content .steps .step{padding:24px 4px;border-top:2px solid #dba64d}
#main-content .steps .step h3{line-height:1.18}
#main-content .booking-visual{position:relative;overflow:hidden;border:1px solid rgba(234,191,123,.45);border-radius:7px;min-height:370px}
#main-content .booking-visual>img{display:block;width:100%;height:450px;object-fit:cover;background:#183a4c}
#main-content .booking-visual-copy{
  position:absolute;bottom:clamp(15px,3vw,36px);left:clamp(15px,3vw,36px);right:clamp(15px,3vw,36px);
  max-width:600px;background:rgba(10,37,55,.95)!important;padding:clamp(20px,3vw,32px);border-left:4px solid #dba64d
}
#main-content .booking-visual-copy h3,#main-content .booking-visual-copy p{color:#fff!important}
#main-content .booking-visual-copy .btn{background:#dba64d!important;color:#10273d!important}
#main-content .photo{overflow:hidden;min-height:500px;border-radius:6px}
#main-content .photo img{object-fit:cover;object-position:center}
#main-content .photo-caption{background:rgba(12,37,55,.95)!important}
#main-content .photo-caption strong,#main-content .photo-caption small{color:#fff!important}
#main-content .story .about-note{margin-top:20px}
#main-content .story h1{font-size:clamp(2.9rem,5vw,5.1rem)!important;letter-spacing:-.06em}
#main-content.legal{width:min(1040px,calc(100% - 36px));margin:40px auto 85px;padding:clamp(25px,5vw,65px)!important;
  background:#fff!important;border:1px solid #dde5e7;border-radius:9px;box-shadow:0 20px 50px rgba(12,35,53,.08)}
#main-content.legal h1{font-size:clamp(2.7rem,4.5vw,4.8rem)!important;letter-spacing:-.06em;margin:15px 0 20px}
#main-content.legal h2{font-size:clamp(1.45rem,2.3vw,2rem)!important;margin-bottom:12px}
#main-content.legal section{padding:24px 0!important;border-bottom:1px solid #e0e6ea;background:transparent!important}
#main-content.legal section:last-child{border:0}
#main-content.legal p,#main-content.legal li{line-height:1.8;color:#3c5362}
#main-content.legal a{color:#125477!important;text-decoration:underline}
#main-content > nav[aria-label*="Explore"],#main-content > nav[aria-label*="inspection"]{
  width:min(1140px,calc(100% - 36px));max-width:1140px!important;
  margin:35px auto 65px!important;border:1px solid #dbe2e6!important;
  background:#f0f3f4!important;border-radius:7px!important;padding:30px!important;
}
#main-content > nav h2{font-size:clamp(1.45rem,2.4vw,2rem)!important;color:#142c40}
#main-content > nav a{font-weight:700;text-underline-offset:5px}
#main-content > nav a:hover{color:#99641b}
#main-content .assurance{background:#10273d!important;color:#fff!important}
#main-content .assurance h2,#main-content .assurance h3{color:#fff!important}
#main-content .assurance .fact-card h3{color:#10273d!important}
#main-content .assurance .fact-card p{color:#43596a!important}
#main-content :is(.premium-faq,.premium-inspection-journey){background:#f8f7f3!important}
#main-content:has(.premium-faq-layout) details{border-color:#d6e1e4}
#main-content > .section:has(article[data-t^="faqQuestion"]){background:#f8f7f3!important}
#main-content > .section article:has(>h2[data-t^="faqQuestion"]){
  background:#fff;padding:25px 30px!important;border:1px solid #e0e6e9!important;
  border-left:4px solid #dba64d!important;border-radius:5px;margin:0 0 14px!important;
}
#main-content > .section article:has(>h2[data-t^="faqQuestion"]) h2{font-size:clamp(1.15rem,1.9vw,1.55rem)!important;color:#142c40}
#main-content > .section article:has(>h2[data-t^="faqQuestion"]) p{color:#405767!important}
.header .nav .brand .site-logo{object-fit:contain}
.footer{background:#0b2335!important}
.footer .jim-footer{max-width:1200px;margin:0 auto}
.footer a:focus-visible{outline:3px solid #e4b369;outline-offset:4px}
a:focus-visible,button:focus-visible{outline:3px solid #c18a36!important;outline-offset:3px!important}
@media(max-width:800px){
 #main-content > .section:first-child:not(.hero){padding:75px 0!important}
 #main-content .booking-visual>img{height:500px}
 #main-content .booking-visual-copy{position:relative;bottom:auto;left:auto;right:auto;max-width:none}
 #main-content .booking-visual{min-height:0}
 #main-content .photo{min-height:380px}
 #main-content > nav[aria-label*="Explore"],#main-content > nav[aria-label*="inspection"]{padding:22px!important}
}
@media(max-width:550px){
 #main-content > .section:first-child:not(.hero) h1{font-size:clamp(2.45rem,10vw,3.6rem)!important}
 #main-content .section{padding:64px 0}
 #main-content .booking-visual>img{height:260px}
 #main-content .fact-card{padding:21px}
 #main-content > .section article:has(>h2[data-t^="faqQuestion"]){padding:22px 20px!important}
 #main-content.legal{width:calc(100% - 24px);margin:20px auto 50px;padding:24px 18px!important}
 #main-content > nav[aria-label*="Explore"],#main-content > nav[aria-label*="inspection"]{margin:20px auto 45px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#main-content :is(.fact-card,.service){transition:none!important}}


/* Contrast/accessibility repair 2026-11-13.
   The booking panel uses a navy background; older global light-section rules
   were overriding its heading and paragraph colours. Scope by surfaces. */
:root{--contrast-ink:#10273d;--contrast-muted:#405366;--contrast-gold:#f0bd74;--contrast-light:#e5edf4}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-side,
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-side .booking-icon{
 background-color:#10273d!important;color:#ffffff!important
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-side :is(h1,h2,h3,strong){
 color:#ffffff!important;opacity:1!important;visibility:visible!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-side :is(p,.small,.about-note,span:not(.eyebrow)){
 color:#e5edf4!important;opacity:1!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-side .eyebrow{
 color:#f0bd74!important;opacity:1!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-side a{
 color:#f0bd74!important;opacity:1!important;text-decoration-thickness:1px;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-side a:hover{
 color:#ffe1b5!important;text-decoration:underline;text-underline-offset:4px;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form{
 background:#ffffff!important;color:#10273d!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form :is(h2,h3,legend,label,.slot-heading,strong){
 color:#10273d!important;opacity:1!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form :is(p,.small,.booking-datetime-help,.summary){
 color:#405366!important;opacity:1!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form :is(input,select,textarea){
 background-color:#ffffff!important;color:#10273d!important;
 border:1px solid #8394a3!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form :is(input,textarea)::placeholder{color:#53687a!important;opacity:1}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form .booking-datetime{
 background:#f1f5f6!important;border:1px solid #9aafba!important;color:#10273d!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form .booking-datetime :is(label,span,p,legend){color:#10273d!important}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form .slot{
 background:#ffffff!important;color:#10273d!important;border-color:#8b9eac!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form .slot:has(input:checked){
 background:#10273d!important;color:#ffffff!important;border-color:#dba64d!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form .slot:has(input:checked) :is(label,span){color:#ffffff!important}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form .notice{
 background:#fff5e6!important;border-color:#c8955c!important;color:#433019!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form .notice :is(a,span,p){color:#553313!important}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form a{
 color:#175473!important;text-decoration:underline;text-underline-offset:3px;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form button[type="submit"]{
 background:#10273d!important;color:#ffffff!important;border-color:#10273d!important;
}
#main-content > .section.booking-featured:not(.hero):not(.inverse):not(.assurance) .booking-form button[type="submit"]:hover{
 background:#204562!important;color:#ffffff!important;
}
/* Dark editorial surfaces: ensure text is not inherited from pale page cards. */
#main-content > section.inverse:not(.booking-featured) :is(h1,h2,h3),
#main-content > section.assurance :is(h1,h2,h3){
 color:#ffffff!important;
}
#main-content > section.inverse:not(.booking-featured) :is(p,li,.small),
#main-content > section.assurance > .wrap :is(p,li,.small){
 color:#e5edf4!important;
}
#main-content > section.assurance .fact-card :is(h2,h3,strong){color:#10273d!important}
#main-content > section.assurance .fact-card :is(p,li,.small){color:#405366!important}
#main-content .premium-report-visual :is(strong,h3,p){color:#ffffff!important}
#main-content .premium-report-visual :is(span,small){color:#f0bd74!important}
#main-content .booking-visual-copy :is(h3,p,span){color:#ffffff!important}
#main-content .hero-reimagined-copy :is(h1,strong){color:#ffffff!important}
#main-content .hero-reimagined-copy :is(.hero-reimagined-description,.hero-reimagined-meta span){color:#e5edf4!important}
#main-content .hero-reimagined-copy :is(.hero-reimagined-kicker,.hero-reimagined-meta strong){color:#f0bd74!important}
#main-content .hero-reimagined-art :is(.hero-art-top,.hero-art-bottom,.hero-art-caption strong){color:#ffffff!important}
#main-content .hero-reimagined-art .hero-art-caption :is(span,small){color:#f0bd74!important}
/* Light editorial surfaces. */
#main-content > section:not(.hero):not(.inverse):not(.assurance):not(.booking-featured) .section-head :is(h1,h2,h3),
#main-content > section:not(.hero):not(.inverse):not(.assurance):not(.booking-featured) .story :is(h1,h2,h3){
 color:#10273d!important;
}
#main-content > section:not(.hero):not(.inverse):not(.assurance):not(.booking-featured) .section-head p,
#main-content > section:not(.hero):not(.inverse):not(.assurance):not(.booking-featured) .story p{
 color:#405366!important;
}
/* Footer legibility and accessible focus. */
.footer .jim-footer-refined :is(h2,.jim-footer-top h3){color:#ffffff!important}
.footer .jim-footer-refined :is(.jim-footer-contact-intro,.jim-footer-local,.jim-footer-top p){color:#e5edf4!important}
.footer .jim-footer-refined .jim-footer-links a,.footer .jim-footer-refined .jim-footer-legal-row a{color:#e5edf4!important}
.footer .jim-footer-refined :is(.jim-footer-email,.jim-footer-map h4,.jim-footer-map a){color:#f0bd74!important}
.footer .jim-footer-refined .jim-footer-cta{background:#e8b976!important;color:#10273d!important}
.footer .jim-footer-refined .jim-footer-cta:hover{background:#f4cd97!important;color:#10273d!important}
.header a:focus-visible,.header button:focus-visible,.footer a:focus-visible,
#main-content a:focus-visible,#main-content button:focus-visible,
#main-content :is(input,select,textarea):focus-visible{
 outline:3px solid #d49a43!important;outline-offset:3px!important;
}
/* Avoid hidden state on dynamic headings from old reveal animation helpers. */
#main-content .booking-featured :is(.booking-side,.booking-side h2,.booking-side p){
 opacity:1!important;visibility:visible!important;
}
