/* ===== Dec 1 tweaks ===== */
/* phones: the light/dark button back at the bottom right, outside the menu */
@media (max-width:900px){
  .theme-float{display:flex !important;position:fixed;right:16px;bottom:16px;z-index:30;background:#1E3B34;box-shadow:0 8px 22px rgba(0,0,0,.3)}
  header .nav .nav-theme{display:none !important}
}
/* phones: no cable for now */
@media (max-width:767px){ .cbl{display:none !important} }

/* the three quote steps in deep green (light mode too); the section itself stays as it is */
#contact .step,.contact .step{background:rgba(38,64,54,.5) !important;border-color:rgba(217,190,142,.3) !important}
body.dark #contact .step,body.dark .contact .step{background:rgba(14,32,27,.45) !important}

/* laptops: no intro paragraph under the headline, and a slightly shorter Home */
@media (min-width:901px){
  #home .intro{display:none !important}
  #main-view > section#home{min-height:calc(92vh - 92px) !important}
}

/* phones: services in sage green with gold names — the 3D ring, the simple boxes and the pop-up */
@media (max-width:767px),(max-height:499px){
  .hall-card,body.dark .hall-card{background:#3E5042 !important}
  .hall-card .hall-name{color:#E3CFA2 !important}
  .services .svc,body.dark .services .svc{background:#3E5042 !important;box-shadow:10px 12px 22px rgba(40,52,43,.18),0 0 0 1px rgba(217,190,142,.18) !important}
  .services .svc-name,body.dark .services .svc-name{color:#E3CFA2 !important}
  .services .svc-label,body.dark .services .svc-label{color:#F6F3EA !important}
  .services .svc-desc,body.dark .services .svc-desc{color:#E4E7DE !important}
  .services .svc-plus,body.dark .services .svc-plus{border-color:rgba(246,243,234,.5) !important;color:#F6F3EA !important;background:transparent !important}
  .services .svc.open .svc-plus{background:#D9BE8E !important;border-color:#D9BE8E !important;color:#262C22 !important}
  .hall-pop-card,body.dark .hall-pop-card{background:#3E5042 !important}
  .hall-pop-body h3,body.dark .hall-pop-body h3{color:#E3CFA2 !important}
  .hall-pop-body p,body.dark .hall-pop-body p{color:#EDEFE8 !important}
}
.hall-stage::before,.hall-stage::after{display:none !important}
/* laptops: About is sage now, so its cable is the faint light colour (like Home and Contact) */
@media (min-width:901px){ #about .cbl .cbl-body{stroke:#FFFFFF !important;opacity:.2 !important} }

/* Home: no dark fade over the photo (a soft shadow keeps the writing readable) */
#home.hero::before,body.dark #home.hero::before{background:none !important}
#home .hero-copy{text-shadow:0 0 22px rgba(0,0,0,.65),0 2px 6px rgba(0,0,0,.6),0 1px 2px rgba(0,0,0,.6)}
#home .hero-logo{filter:drop-shadow(0 0 14px rgba(0,0,0,.55)) drop-shadow(0 2px 3px rgba(0,0,0,.5))}
#home .hero-tag{font-weight:700 !important}
/* laptops: smaller headline, bigger LNF Events and tagline */
@media (min-width:901px){
  #home h1{font-size:50px !important}
  #home .hero-logo{width:560px !important;max-width:100%}
  #home .hero-tag{font-size:16px !important;letter-spacing:4px !important}
}
/* a soft shadow only right behind the writing, so it stays readable while the photo stays clear */
#home .hero-copy{position:relative}
#home .hero-copy::before{content:"";position:absolute;left:50%;top:50%;width:min(1100px,130%);height:135%;transform:translate(-50%,-50%);z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(8,16,13,.55) 0%,rgba(8,16,13,.32) 45%,rgba(8,16,13,0) 72%)}
/* phone Services ring: bigger cards, smaller buttons, shorter page */
@media (max-width:767px){
  #main-view>section#services{padding:52px 0 36px !important}
  #services .hall-stage{height:372px}
  #services .hall{padding-top:0;margin-top:-10px}
  #services .hall-card{width:296px;height:412px;left:-148px;top:-206px}
  #services .hall-card img{height:312px}
  #services .hall-ui{margin-top:0;gap:14px}
  #services .hall-arrow{width:38px;height:38px}
  #services .hall-arrow svg{width:17px;height:17px}
  #services .hall-toggle{min-height:34px;padding:0 12px;font-size:12px}
}
/* Home: "View our services" green with gold writing */
#home .hero-copy .btn-gold[href="#services"]{background:#3E5042;color:#D9BE8E;border:1.5px solid #D9BE8E}
#home .hero-copy .btn-gold[href="#services"]:hover{background:#4D6352;color:#E8D3A8}
/* phone: contact tooltips stay centred under the icons after a tap */
@media (hover:none),(max-width:767px){
  .cb:hover .tip,.cb:focus-within .tip{transform:none !important}
}
/* LNF stamp at the top of Services, beside the heading */
.svc-mark{position:absolute;top:-34px;right:-10px;width:300px;height:300px;pointer-events:none;z-index:0;opacity:.16;
  filter:brightness(0) invert(31%) sepia(14%) saturate(700%) hue-rotate(80deg)}
body.dark .svc-mark{filter:none;opacity:.09}
#services .svc-wrap>*:not(.svc-mark){position:relative;z-index:1}
@media (max-width:767px){.svc-mark{width:150px;height:150px;top:-26px;right:-8px}}
@media (min-width:768px){.svc-mark{width:180px;height:180px;top:-36px;right:auto;left:620px}}
/* stamp: big, tilted left, on the right edge, bottom faded away */
.svc-mark,#services .svc-mark{left:auto !important;right:calc((100% - 100vw)/2 - 120px) !important;top:-70px !important;width:470px !important;height:470px !important;
  transform:rotate(-22deg);opacity:.11;
  -webkit-mask-image:linear-gradient(to bottom,#000 30%,rgba(0,0,0,.4) 52%,transparent 66%);mask-image:linear-gradient(to bottom,#000 30%,rgba(0,0,0,.4) 52%,transparent 66%)}
body.dark #services .svc-mark{opacity:.07}
@media (max-width:767px){#services .svc-mark{width:270px !important;height:270px !important;top:-50px !important;right:calc((100% - 100vw)/2 - 80px) !important}}
/* new team photo on Home: show the people, less highway */
@media (min-width:901px){#home.hero{background-position:center 52% !important}}
/* laptop: Home page longer so the photo stays a moment before About slides over it (writing unchanged) */
@media (min-width:901px){
  #main-view > section#home{box-sizing:border-box;min-height:calc(100vh - 92px + 200px) !important;padding-bottom:200px !important}
}
/* laptop: contact details show on hover (were clipped and hidden behind the step boxes) — now open below the buttons */
@media (hover:hover) and (min-width:768px){
  .contact-btns .cb{clip-path:none !important;position:relative;z-index:2}
  .contact-btns .cb:hover,.contact-btns .cb:focus-within{z-index:5}
  .contact-btns .tip{bottom:auto !important;top:calc(100% + 12px)}
  .contact-btns .tip::after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:rgba(247,245,241,.97)}
}
/* laptop Home: calmer spacing — logo, tagline, smaller line, then buttons with room */
@media (min-width:901px){
  #home .hero-copy{gap:0 !important}
  #home .hero-brand{margin:0 0 26px}
  #home .hero-tag{margin-top:14px !important}
  #home h1{font-size:40px !important;line-height:1.15 !important;margin:0 !important}
  #home .hero-copy .actions{margin-top:44px !important;gap:16px}
}
@media (hover:hover) and (min-width:768px){.contact-btns .tip{white-space:nowrap !important}.contact-btns .tip wbr{display:none}}
/* Our work page: always fills the screen, footer sits at the very bottom (no empty band under it) */
#gallery-view .gallery{min-height:calc(100vh - var(--bar-h,92px) - var(--foot-h,90px)) !important;min-height:calc(100svh - var(--bar-h,92px) - var(--foot-h,90px)) !important;box-sizing:border-box}
:root{--bar-h:93px;--foot-h:92px}
@media (max-width:900px){:root{--bar-h:63px}}
/* phone turned sideways: whole Home fits on the screen, buttons included */
@media (max-height:500px) and (orientation:landscape){
  #home .hero-logo{width:320px !important}
  #home .hero-copy{gap:8px !important}
  #home .hero-tag{font-size:11px !important}
  #home h1{font-size:22px !important}
  #home .actions{margin-top:6px !important}
  #home .actions .btn{min-height:40px;padding-top:0;padding-bottom:0}
  #main-view > section#home{min-height:calc(100vh - 62px) !important;padding-top:14px !important;padding-bottom:14px !important;justify-content:center !important}
}
/* phone footer: room for the round light/dark button so it never covers the writing */
@media (max-width:767px){
  footer .foot{flex-direction:column;text-align:center;gap:10px;padding-bottom:64px}
}
@media (max-height:500px) and (orientation:landscape){#home .actions{justify-content:center !important;flex-wrap:nowrap}#home .actions .btn{flex:0 0 auto !important;width:auto !important;padding-left:26px;padding-right:26px}}
/* big phones sideways (full menu shows): leave room on the right for the mascot so he doesn't sit on "Request a quote" */
@media (min-width:768px) and (max-height:499px){header .wrap.bar{padding-right:64px !important}}
@media (max-height:500px) and (orientation:landscape){#main-view > section#home{min-height:calc(100vh - var(--bar-h,62px)) !important}}
@media (max-height:500px) and (orientation:landscape) and (max-width:900px){:root{--bar-h:62px}}
/* ===== Home photo: even soft shade, no shadows on the writing ===== */
#home.hero::before,body.dark #home.hero::before{background:rgba(10,20,17,.34) !important}
#home .hero-copy,#home h1,#home .hero-tag,#home .intro,#home .actions .btn{text-shadow:none !important}
#home .hero-logo{filter:none !important}
#home .actions .btn{box-shadow:none !important}
#home .hero-copy::before{display:none !important}
/* phone: its own crop of the team photo */
@media (max-width:767px){
  #home.hero{background-position:center top !important}
}
/* phone: About on plain green (slideshow off for now) */
@media (max-width:767px){
  #about .slideshow{display:none !important}
  #about.about{background:var(--sg) var(--lv-dark) center/cover no-repeat !important}
  #about .section-title,#about .about-title{text-shadow:none !important}
}
/* phone footer: logo and writing on one line, small */
@media (max-width:767px){
  footer .foot{flex-direction:row !important;justify-content:flex-start;text-align:left;gap:10px;padding:14px 64px 14px 20px !important;font-size:12.5px}
  footer .foot .foot-mark{width:36px;height:36px}
}
#home.hero::before,body.dark #home.hero::before{background:rgba(10,20,17,.40) !important}
@media (max-width:767px){footer .foot{flex-wrap:nowrap !important}footer .foot>span{flex-wrap:nowrap}footer .foot .foot-mark{flex:none}}
@media (max-width:380px){footer .foot{font-size:11.5px;padding-left:14px !important;padding-right:58px !important}}
/* phone: Home writing in the middle of the photo */
@media (max-width:767px){
  #main-view > section#home,#home.hero{justify-content:center !important}
  #home .hero-grid{padding-bottom:0 !important}
}
/* phone footer: centred, slimmer */
@media (max-width:767px){
  footer .foot{justify-content:center !important;padding:10px 16px !important;gap:8px;font-size:11.5px}
  footer .foot>span{justify-content:center}
  footer .foot .foot-mark{width:32px !important;height:32px !important}
  footer{padding-top:0 !important;padding-bottom:0 !important}
}
/* phone: light/dark button sits just above the slim footer so it never covers the writing */
@media (max-width:767px){.theme-float{transition:opacity .25s,transform .25s}body.foot-in .theme-float{opacity:0;transform:scale(.8);pointer-events:none}}
/* phone: contact details always shown under the icons (even on phones that report a mouse) */
@media (max-width:767px){
  .contact-btns .tip{position:static !important;opacity:1 !important;visibility:visible !important;transform:none !important;background:transparent !important;box-shadow:none !important;color:#CFDAD5 !important;padding:8px 0 0 !important}
  .contact-btns .tip::after{display:none !important}
  .contact-btns .tip b{color:#D9BE8E !important}
}
/* phone: About page with straight top corners (no white gaps) */
@media (max-width:767px){#main-view > #about{border-radius:0 !important}}
/* laptop: top "Request a quote" button green with white writing */
header .bar-cta.btn-gold{background:#3E5042 !important;color:#FFFFFF !important;border-color:#3E5042 !important}
header .bar-cta.btn-gold:hover{background:#4D6352 !important;color:#FFFFFF !important}
body.dark header .bar-cta.btn-gold{background:#55705B !important;border:1px solid rgba(255,255,255,.35) !important}
body.dark header .bar-cta.btn-gold:hover{background:#628068 !important}
/* phone: Home fills the whole screen under the top bar */
@media (max-width:767px){
  #main-view > section#home,#home.hero{min-height:calc(100vh - var(--hdr-h,63px)) !important;min-height:calc(100svh - var(--hdr-h,63px)) !important}
}
/* laptop: slimmer footer */
@media (min-width:768px){
  footer{padding-top:0 !important;padding-bottom:0 !important}
  footer .foot{padding-top:12px !important;padding-bottom:12px !important;gap:10px;font-size:13.5px}
  footer .foot .foot-mark{width:36px !important;height:36px !important}
}
:root{--foot-h:60px}
@media (max-width:767px){:root{--foot-h:52px}}
