/* Home opening, scoped to preserve all remaining sections and project pages. */
.home-reference .header{position:absolute;inset:0 0 auto;height:142px;background:transparent;border:0;color:#fff}
.home-reference .header .wrap{width:92%;max-width:1680px;align-items:flex-start}
.home-reference .header .brand{width:164px;height:115px}
.home-reference .header .brand img{width:345px;left:-92px;top:-106px;height:auto}
.home-reference .nav{padding-top:14px;gap:32px;align-items:center}
.home-reference .nav a{font-family:var(--sans);font-size:18px;color:#fff;line-height:1.5}
.home-reference .nav a:first-child{border-bottom:1px solid #d58965;padding-bottom:5px}
.home-reference .nav .contact-link{border:0;padding-bottom:0}
.home-reference .nav .hero-chat{background:#a95132;border-radius:40px;padding:10px 24px;font-size:17px;text-decoration:none}
.home-reference .hero-reference{position:relative;display:flex;align-items:center;min-height:650px;height:min(780px,90svh);max-height:none;padding:145px 0 50px;isolation:isolate;overflow:hidden;background:#333b36;color:#fff}
.hero-reference .hero-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:-2}
.hero-reference .hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,21,26,.63) 0%,rgba(12,20,20,.37) 42%,rgba(10,15,12,.13) 75%),linear-gradient(180deg,rgba(7,12,15,.32),transparent 45%)}
.hero-reference .hero-reference-copy{width:76%;max-width:1450px;margin:auto}
.home-reference .hero-reference h1{font:400 clamp(3rem,4.3vw,5.25rem)/1.1 var(--serif);letter-spacing:-.018em;max-width:850px}
.hero-reference h1 em{font-weight:400;font-style:italic;color:#e49a78}
.hero-reference .hero-reference-copy p{font-size:21px;line-height:1.6;margin-top:25px}
.hero-reference .button{margin-top:28px;padding:12px 25px;background:#a95132;border:1px solid #a95132;border-radius:40px;font-size:18px;color:#fff}
.hero-reference .button:hover,.home-reference .hero-chat:hover{background:#874129;color:#fff;border-color:#874129}
@media(min-width:1700px){.home-reference .hero-reference{height:830px;min-height:720px}.hero-reference .hero-reference-copy{width:76%}}
@media(max-width:1100px){.home-reference .nav{gap:20px}.home-reference .nav a{font-size:16px}.home-reference .nav .hero-chat{padding:9px 16px;font-size:16px}.home-reference .header .brand{width:145px;height:105px}.home-reference .header .brand img{width:310px;left:-83px;top:-96px}.home-reference .hero-reference{min-height:600px;height:76svh}.hero-reference .hero-reference-copy{width:82%}}
@media(max-width:700px){.home-reference .header{height:110px}.home-reference .header .wrap{width:90%;align-items:center}.home-reference .header .brand{width:125px;height:86px;transform:none}.home-reference .header .brand img{width:260px;left:-70px;top:-81px}.home-reference .menu{color:white}.home-reference .nav{top:110px;background:#28362f;padding:22px 7% 28px;gap:0;align-items:stretch}.home-reference .nav a{font-size:20px;padding:12px 0}.home-reference .nav a:first-child{padding-bottom:12px}.home-reference .nav .hero-chat{text-align:center;margin-top:12px;padding:12px 20px}.home-reference .hero-reference{height:85svh;min-height:620px;padding:155px 0 60px;align-items:center}.hero-reference .hero-background{object-position:48% center}.hero-reference .hero-shade{background:linear-gradient(90deg,rgba(10,21,26,.72),rgba(10,20,22,.42)),linear-gradient(180deg,rgba(8,15,18,.25),transparent)}.hero-reference .hero-reference-copy{width:86%;margin:auto}.home-reference .hero-reference h1{font-size:clamp(2.6rem,10vw,3.6rem);line-height:1.14}.hero-reference .hero-reference-copy p{font-size:19px;margin-top:26px}.hero-reference .button{font-size:17px;margin-top:28px}.home-reference .header .nav .contact-link{padding:12px 0}}
@media(prefers-reduced-motion:reduce){.hero-reference *{transition:none}}
