/* Single source for the supplied text-free architectural background. */
:root{--bim-hero-background-image:url('/hero/images/cover-mountain-house.png')}

/* Static architectural cover. All copy and controls remain ordinary HTML. */
.bim-site-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;height:80px;padding:0 40px;color:#f2f4f7;font-family:inherit}
.bim-brand{display:inline-flex;align-items:center;gap:13px;color:inherit;text-decoration:none;white-space:nowrap;font-size:24px;line-height:1;letter-spacing:.035em;font-weight:500}
.bim-brand svg,.bim-brand img{width:32px;height:32px;flex:none}
.bim-nav{display:flex;align-items:center;gap:36px;margin-left:85px}
.bim-nav a{display:inline-flex;gap:7px;align-items:center;color:inherit;text-decoration:none;font-size:15px;padding:12px 0}
.bim-nav a:hover{opacity:.72}.bim-chevron{font-size:12px;opacity:.85}
.bim-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 25px;border-radius:999px;border:1px solid transparent;background:#3d65ff;color:white;text-decoration:none;font:inherit;font-size:15px;line-height:1.2;cursor:pointer;white-space:nowrap}
.bim-button:hover{background:#5275ff}.bim-button-secondary{background:#ffffff12;border-color:#ffffff25;backdrop-filter:blur(12px)}.bim-button-secondary:hover{background:#ffffff20}
.bim-site-header .bim-button{min-height:44px;padding:0 23px;font-size:14px}
.bim-button:focus-visible,.bim-brand:focus-visible,.bim-nav a:focus-visible,.bim-menu-toggle:focus-visible{outline:2px solid #e9f0ff;outline-offset:5px}
.bim-menu-toggle{display:none;width:44px;height:44px;background:transparent;border:1px solid #ffffff35;color:inherit;border-radius:50%;font-size:22px}
.bim-hero{position:relative;isolation:isolate;margin-top:-80px;height:100svh;min-height:680px;overflow:hidden;color:#f5f6f8;background:radial-gradient(ellipse at 78% 35%,#485c76 0%,#2a3e54 35%,#172a3b 72%,#132332 100%)}
.bim-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;margin:0 auto;padding:clamp(126px,15vh,170px) 24px 0;max-width:1160px;pointer-events:none}
.bim-hero-copy h1{margin:0;color:#f6f6f8;font-family:inherit;font-size:clamp(34px,3.25vw,61px);font-weight:600;line-height:1.13;letter-spacing:.025em;text-wrap:balance}
.bim-hero-copy p{max-width:730px;margin:10px 0 0;font-size:clamp(17px,1.28vw,24px);line-height:1.3;font-weight:400;color:#ebeff5;text-wrap:balance}
.bim-hero-actions{display:flex;justify-content:center;gap:13px;margin-top:27px;pointer-events:auto}
/* The background is decorative; all text and controls stay above it. */
.bim-hero-background{position:absolute;inset:0;z-index:0;pointer-events:none;background-image:var(--bim-hero-background-image);background-size:cover;background-position:center bottom;background-repeat:no-repeat}
/* A gentle upper scrim protects the HTML copy without flattening the form below. */
.bim-hero-background::after{content:"";position:absolute;inset:0;background:linear-gradient(#13233238,transparent 45%)}
@media(max-width:760px){
  /* Reserve the upper area for the copy. Crop the image inside the lower area,
     retaining its original aspect ratio and anchoring the form to the floor. */
  .bim-hero-background{top:44%;background-position:58% bottom;mask-image:linear-gradient(transparent,#000 20%);-webkit-mask-image:linear-gradient(transparent,#000 20%)}
}
.bim-contact{width:min(560px,calc(100vw - 32px));max-height:90svh;overflow:auto;padding:40px;border:1px solid #ffffff24;border-radius:20px;background:#1d3044;color:#f5f6f9;font-family:inherit}
.bim-contact::backdrop{background:#0e1c2bc4;backdrop-filter:blur(12px)}
.bim-contact h2{font-size:30px;line-height:1.15;font-weight:480;margin:0 35px 12px 0}.bim-contact>p{color:#c7d2de;font-size:15px;line-height:1.5;margin:0 0 26px}
.bim-contact label{display:grid;gap:8px;font-size:14px;margin:16px 0}.bim-contact input,.bim-contact textarea{width:100%;padding:12px 14px;border-radius:10px;border:1px solid #aebdce55;background:#ffffff08;color:#fff;font:inherit;resize:vertical}
.bim-contact input:focus-visible,.bim-contact textarea:focus-visible{outline:2px solid #9fb4ff;outline-offset:2px}
.bim-contact-close{position:absolute;right:18px;top:12px;width:36px;height:36px;background:none;color:inherit;border:0;font-size:28px;cursor:pointer}
.bim-contact [role=status]{font-size:14px;line-height:1.5;color:#cdd9eb;margin-top:16px}
/* The rest of the page keeps its existing theme switching and interactions. */
body.bim-home [data-section=nav]{z-index:50}
body.bim-home #theme-switch-scroller:not(.dark-neutral-theme) .bim-site-header{color:var(--text-default);background:var(--background-default)}
@media(min-width:1800px){.bim-hero-copy{padding-top:103px}.bim-hero-actions{margin-top:27px}}
@media(max-width:1100px){.bim-site-header{padding:0 24px;gap:16px}.bim-nav{margin-left:0;gap:22px}.bim-brand{font-size:22px;letter-spacing:.035em}.bim-hero-copy{padding-top:134px}.bim-hero-copy h1{font-size:clamp(34px,4.2vw,48px)}}
@media(max-width:760px){.bim-site-header{padding:0 20px;height:76px;gap:14px}.bim-brand{font-size:22px}.bim-site-header>.bim-button{display:none}.bim-menu-toggle{display:inline-flex;align-items:center;justify-content:center}.bim-nav{display:none;position:absolute;top:72px;left:16px;right:16px;padding:20px 24px;background:#1c3045;box-shadow:0 20px 45px #07152450;border:1px solid #ffffff20;border-radius:16px;flex-direction:column;align-items:stretch;gap:3px;color:#f4f6fa}.bim-nav[data-open=true]{display:flex}.bim-nav a{font-size:17px;min-height:44px;justify-content:space-between}.bim-hero{margin-top:-76px;min-height:720px;height:100svh}.bim-hero-copy{padding:126px 22px 0}.bim-hero-copy h1{font-size:clamp(32px,7.8vw,46px);line-height:1.12;letter-spacing:.025em;max-width:560px}.bim-hero-copy p{font-size:17px;line-height:1.45;margin-top:19px;max-width:490px}.bim-hero-actions{gap:10px;margin-top:25px}.bim-button{font-size:14px;min-height:47px;padding:0 20px}.bim-contact{padding:32px 24px}}
@media(max-width:360px){.bim-hero-actions{flex-direction:column;width:100%;max-width:250px}.bim-hero-copy{padding-top:112px}.bim-hero-copy h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){.bim-hero{scroll-behavior:auto}}

@media(min-width:1101px){.bim-site-header{display:grid;grid-template-columns:220px 1fr 220px}.bim-nav{justify-self:center;margin-left:0;gap:44px}.bim-nav a{font-size:16px}.bim-site-header>.bim-button{justify-self:end;font-size:15px}}
@media(min-width:761px){.bim-hero-actions .bim-button{font-size:16px;min-height:50px;padding:0 27px}}

/* Preserve the supplied blue in the source SVG; use its white variant on dark backgrounds. */
.bim-brand-mark{object-fit:contain;filter:brightness(0) invert(1)}
body.bim-home #theme-switch-scroller:not(.dark-neutral-theme) .bim-site-header .bim-brand-mark{filter:none}
body.bim-home #theme-switch-scroller .bim-site-header[data-mega-open=true] .bim-brand-mark{filter:brightness(0) invert(1)}

.bim-brand>span{display:block;line-height:1}

.modex-photo-credit{position:absolute;right:14px;bottom:8px;z-index:2;font-size:10px;line-height:1.3;color:#d9dde3;text-shadow:0 1px 3px #000;background:#17202b99;padding:3px 6px;border-radius:3px}.modex-photo-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
