/* Homepage-only overlay, with the existing solid navigation as the fallback. */
body.home{--home-masthead:132px}
.home-masthead{position:fixed;inset:0 0 auto;z-index:30;--masthead-surface:#faf9f5;--masthead-ink:#202827;--masthead-line:#20282718;--masthead-contact:#202827;--masthead-light:0;--masthead-dark:1;background:var(--masthead-surface);box-shadow:0 2px 22px #20282712;transition:background .25s ease,box-shadow .25s ease,color .25s ease}
.home-masthead.is-ready:not(.is-scrolled):not(:focus-within):not(:has([aria-expanded=true])){--masthead-surface:#142017a6;--masthead-ink:#fff;--masthead-line:#ffffff30;--masthead-contact:transparent;--masthead-light:1;--masthead-dark:0;box-shadow:none}
.home-masthead .header{position:relative;top:auto;background:transparent;color:var(--masthead-ink);border-color:var(--masthead-line);backdrop-filter:none;box-shadow:none;transition:color .25s ease,border-color .25s ease}
.home-masthead .topline{background:var(--masthead-contact);transition:background .25s ease}
.home-masthead .topline-place,.home-masthead .topline-history{color:#eef1eb}
.home-masthead .brand{position:relative}
.home-masthead .brand img{transition:opacity .25s ease}
.home-masthead .brand .brand-dark{opacity:var(--masthead-dark)}
.home-masthead .brand .brand-light{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:left center;opacity:var(--masthead-light)}
.home-masthead .nav a,.home-masthead .header-phone{color:var(--masthead-ink)}
.home-masthead .menu-toggle span{background:var(--masthead-ink);transition:background .25s ease}
.home-masthead .nav a:hover{text-decoration:none}
.home .home-opening{min-height:100svh;padding-top:var(--home-masthead,132px)}
.home #mobile-menu{top:var(--home-masthead,132px)}
.home #companies,.home #enquiry,.home #showroom-tour,.home #footer-reputation-title{scroll-margin-top:0}
@media(max-width:1000px){body.home{--home-masthead:120px}}
@media(max-width:700px){body.home{--home-masthead:116px}}
/* Give phone photography room to breathe, ending in the directory's warm white. */
@media(max-width:700px){
 .home .home-opening{
  min-height:max(740px,calc(100svh + 80px));
  padding-bottom:112px;
 }
 .home .home-opening::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:112px;
  background:linear-gradient(180deg,#f3f2ec00 0%,#f3f2ec18 22%,#f3f2ec70 52%,#f3f2ecd9 80%,#f3f2ec 100%);
  pointer-events:none;
 }
 .home .home-opening-copy{
  flex:0 0 auto;
  justify-content:flex-start;
  padding:clamp(56px,10svh,100px) 24px 64px;
 }
 .home .home-opening .eyebrow{
  max-width:285px;
  font-size:9px;
  line-height:1.7;
  letter-spacing:.1em;
  margin-bottom:16px;
 }
 .home .home-opening h1{
  font-size:clamp(36px,9.7vw,42px);
  line-height:1.08;
  max-width:340px;
 }
 .home .home-opening-copy>p:not(.eyebrow){
  max-width:310px;
  font-size:14px;
  line-height:1.6;
  margin-top:16px;
 }
 .home .home-opening .hero-actions{
  max-width:290px;
  gap:8px;
  margin-top:20px;
 }
 .home .home-opening .hero-actions .button{
  min-height:46px;
  padding:11px 15px;
  font-size:14px;
  line-height:1.5;
 }
 .home .home-opening .hero-actions svg{width:18px;height:18px}
 .home .home-opening .hero-work-link{
  min-height:44px;
  margin-top:8px;
  font-size:12px;
  gap:16px;
 }
 .home .home-opening .hero-work-link svg{width:20px;height:20px}
 .home .home-opening .home-opening-foot{
  margin: auto 24px 24px;
  gap:22px;
  align-items:center;
 }
 .home .home-opening-foot>a{
  min-height:48px;
  flex:0 1 145px;
  max-width:145px;
  font-size:13px;
  line-height:1.5;
  gap:14px;
 }
 .home .home-opening-foot>a span{font-size:24px}
 .home .home-opening-foot>a svg{width:22px;height:22px}
}
@media(prefers-reduced-motion:reduce){.home-masthead,.home-masthead .header,.home-masthead .topline,.home-masthead .brand img,.home-masthead .menu-toggle span{transition:none}}
@media print{.home-masthead{display:none}.home .home-opening{padding-top:0;min-height:0}}
