/* Brand name belongs in the hero; the navigation keeps only the symbol. */
.header-shell .brand{min-height:100px!important}
.reference-hero #reference-title{font-size:clamp(60px,6.4vw,112px)!important;letter-spacing:-.06em!important;line-height:1!important;margin-bottom:20px!important;white-space:nowrap}
.reference-copy>.reference-brand-claim{font-family:'DM Sans',sans-serif;font-size:clamp(24px,2.15vw,36px);font-weight:700;line-height:1.15;letter-spacing:-.035em;color:#fff;margin-bottom:26px}
/* Compact client signature row, without surrounding cards. */
.reform-home .clients-strip{padding-top:46px!important;padding-bottom:46px!important;background:#050505}
.reform-home .clients-panel{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,2fr);gap:50px;align-items:center}
.reform-home .clients-head{display:block;margin:0!important}
.reform-home .clients-head .eyebrow{font-size:11px;letter-spacing:.13em;margin-bottom:13px}
.reform-home .clients-head h2{font-family:'DM Sans',sans-serif;font-size:clamp(24px,2.1vw,34px)!important;line-height:1.12!important;letter-spacing:-.035em;margin:0!important}
.reform-home .clients-head p{font-size:13px;line-height:1.5;color:#bbb!important;margin:15px 0 0;max-width:270px}
.reform-home .client-logo-grid.two-clients{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}
.reform-home .client-logo-card,.reform-home .client-logo-card:hover{min-height:150px;padding:20px 24px!important;border-left:1px solid #373737!important;gap:18px!important}
.reform-home .client-logo-card img{max-width:210px;width:auto;height:78px;max-height:78px;object-fit:contain;transition:transform .2s ease}
.reform-home .client-logo-card:hover img{transform:translateY(-3px)}
.reform-home .client-logo-card small{font-size:10px;letter-spacing:.1em;display:flex;align-items:center;gap:16px}
.reform-home .client-logo-card small span{color:#ff9500;font-size:20px;line-height:1}
@media(max-width:1100px){.reform-home .clients-panel{grid-template-columns:1fr 1.8fr;gap:24px}.reform-home .client-logo-card img{max-width:170px;height:66px}.reform-home .client-logo-card{padding:16px!important}.reform-home .client-logo-card small{font-size:9px;letter-spacing:.03em;gap:8px}}
@media(max-width:760px){
 .header-shell .brand{min-height:100px!important}
 .reference-hero #reference-title{font-size:clamp(48px,13vw,80px)!important}
 .reference-copy>.reference-brand-claim{font-size:25px;max-width:300px}
 .reform-home .clients-strip{padding-top:34px!important;padding-bottom:34px!important}
 .reform-home .clients-panel{grid-template-columns:1fr;gap:25px}
 .reform-home .clients-head h2 br{display:none}
 .reform-home .clients-head p{max-width:none;margin-top:10px}
 .reform-home .client-logo-card,.reform-home .client-logo-card:hover{padding:18px 10px!important;min-height:130px;border-top:1px solid #373737!important;border-left:0!important}
 .reform-home .client-logo-card+.client-logo-card{border-left:1px solid #373737!important}
 .reform-home .client-logo-card img{max-width:140px;height:58px;max-height:58px}
 .reform-home .client-logo-card small{font-size:8px;gap:5px;letter-spacing:0}
}
/* White news card with black typography. */
.reference-news{background:#fff;color:#000}
.reference-news>a,.reference-news-top,.reference-news-body h2,.reference-news-body p,.reference-news-read{color:#000!important}
/* Quiet office backdrop; overlays darken only the photo, never the content. */
.reference-hero{background-color:#050505;background-image:linear-gradient(90deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.76) 55%,rgba(0,0,0,.82) 100%),none;background-size:cover;background-position:center 52%;background-repeat:no-repeat}
@media(max-width:760px){.reference-hero{background-image:linear-gradient(rgba(0,0,0,.84),rgba(0,0,0,.87)),none;background-position:45% center}}
/* Smaller news card with a separate reviews panel directly below. */
.reference-feature-stack{width:100%;max-width:460px;justify-self:end;display:grid;gap:18px}
.reference-feature-stack .reference-news{max-width:none;padding:9px 15px 12px;justify-self:stretch}
.reference-feature-stack .reference-news img{height:170px;object-position:50% 35%}
.reference-feature-stack .reference-news-body h2{font-size:20px!important;line-height:1.12!important}
.reference-feature-stack .reference-news-body p{font-size:12px;line-height:1.4}
.reference-feature-stack .reference-news-top,.reference-feature-stack .reference-news-read{font-size:12px}
.reference-feature-stack .reference-corner-end{display:none}
.reference-google-reviews{padding:21px 22px 20px;background:#fff;color:#555;text-align:center;border:1px solid #eee;position:relative;overflow:hidden}
.reference-google-reviews::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.45;background:radial-gradient(circle at 5% 10%,transparent 23px,#f0f1f3 24px,#f0f1f3 27px,transparent 28px),radial-gradient(circle at 95% 85%,transparent 38px,#f0f1f3 39px,#f0f1f3 43px,transparent 44px)}
.google-word{position:relative;font:500 43px/1 Arial,Helvetica,sans-serif;letter-spacing:-3px;display:inline-flex}
.google-word span:nth-child(1),.google-word span:nth-child(4){color:#4285f4}.google-word span:nth-child(2),.google-word span:nth-child(6){color:#ea4335}.google-word span:nth-child(3){color:#fbbc05}.google-word span:nth-child(5){color:#34a853}
.reference-google-reviews p{position:relative;font:700 17px/1.3 Arial,Helvetica,sans-serif;color:#666;margin:4px 0 16px;max-width:none}
.google-review-stars{color:#f9ab00;font-size:16px;letter-spacing:0}
.reference-google-reviews>a{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;background:#080f48;color:#fff!important;border-radius:30px;min-height:41px;padding:10px 15px;font:700 14px/1.3 Arial,Helvetica,sans-serif;text-decoration:none}
.reference-google-reviews>a:hover{background:#17256b}.reference-google-reviews>a:focus-visible{outline:3px solid #ff9500;outline-offset:4px}
@media(max-width:1100px){.reference-feature-stack{max-width:410px}.reference-feature-stack .reference-news img{height:150px}}
@media(max-width:760px){.reference-feature-stack{max-width:none;justify-self:stretch;gap:16px}.reference-feature-stack .reference-news img{height:155px}.reference-google-reviews{padding:20px}.google-word{font-size:40px}}
/* Reviews sit directly over the hero photograph. */
.reference-google-reviews{background:transparent;border:0;padding:16px 0 5px;overflow:visible}
.reference-google-reviews::before{content:none;display:none}
.reference-google-reviews .google-original-logo{display:block;width:135px;height:auto;margin:0 auto 5px}
.reference-google-reviews p{color:#fff;margin-bottom:16px}
.reference-google-reviews>a{background:#fff;color:#050505!important;border:1px solid #fff;transition:background .18s,border-color .18s}
.reference-google-reviews>a:hover{background:#f2f2f2;border-color:#f2f2f2;color:#050505!important}
/* Photo-led news card: full-bleed image above a white text panel. */
.reference-feature-stack .reference-news{padding:0;border:4px solid #ff9500;background:transparent;overflow:hidden}
.reference-feature-stack .reference-news>a{position:relative}
.reference-feature-stack .reference-news-top{position:absolute;inset:0 0 auto;z-index:1;margin:0;padding:13px 15px 30px;background:linear-gradient(rgba(0,0,0,.76),transparent);color:#fff!important}
.reference-feature-stack .reference-news-top>span:last-child{color:#ff9500}
.reference-feature-stack .reference-news img{height:230px;width:100%;object-fit:cover;object-position:50% 28%}
.reference-feature-stack .reference-news-body{background:#fff;color:#000;padding:14px 15px 16px}
.reference-feature-stack .reference-news-body h2{margin:0 0 8px!important}
.reference-feature-stack .reference-news-body p{margin:0 0 12px}
@media(max-width:1100px){.reference-feature-stack .reference-news img{height:210px}}
@media(max-width:760px){.reference-feature-stack .reference-news img{height:220px}.reference-feature-stack .reference-news-body{padding:14px}}
/* Compact caption panel beneath the news photograph. */
.reference-feature-stack .reference-news-body{padding:11px 13px 12px}
.reference-feature-stack .reference-news-body h2{font-size:18px!important;line-height:1.1!important;margin:0 0 6px!important}
.reference-feature-stack .reference-news-body p{font-size:11px;line-height:1.3;margin:0 0 7px}
.reference-feature-stack .reference-news-read{font-size:11px;line-height:1.2}
@media(max-width:760px){.reference-feature-stack .reference-news-body{padding:11px 12px}}
/* Plain black hero background. */
.reference-hero{background:#000!important}
/* Subtle brand light behind the headline, fading into black. */
.reference-hero{background:radial-gradient(ellipse 48% 66% at 24% 38%,rgba(255,149,0,.12) 0%,rgba(255,149,0,.055) 38%,rgba(255,149,0,.012) 66%,transparent 86%),#030303!important}
@media(max-width:760px){.reference-hero{background:radial-gradient(ellipse 95% 36% at 38% 22%,rgba(255,149,0,.11) 0%,rgba(255,149,0,.035) 52%,transparent 90%),#030303!important}}
/* Solid brand split following the supplied diagonal reference. */
.reference-hero{position:relative;isolation:isolate;background:#000!important}
.reference-hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:#ff9500;clip-path:polygon(70% 0,100% 0,100% 100%,40% 100%)}
.reference-hero>.reference-shell,.reference-hero>.reference-local{position:relative;z-index:1}
.reference-feature-stack .reference-news{outline:2px solid #000;outline-offset:0}
.reference-google-reviews p{color:#000!important}
.reference-google-reviews .google-review-stars{color:#000}
.reference-google-reviews>a{border-color:#000}
.reference-hero>.reference-local{color:#111}
@media(max-width:760px){.reference-hero::before{clip-path:polygon(100% 20%,100% 100%,12% 100%)}.reference-hero>.reference-local{color:#111}}
/* Geometric alternative: one oversized broken frame echoing the logo. */
.reference-hero{background:#000!important;overflow:hidden}
.reference-hero::before{inset:70px auto auto -80px;width:660px;height:390px;box-sizing:border-box;background:none;clip-path:none;border:4px solid #ff9500;opacity:1;transform:none}
.reference-hero::after{content:"";position:absolute;z-index:0;pointer-events:none;left:-84px;top:70px;width:670px;height:390px;background:linear-gradient(#000,#000) 42% 0/95px 5px no-repeat,linear-gradient(#000,#000) 100% 55%/12px 75px no-repeat,linear-gradient(#000,#000) 70% 100%/110px 5px no-repeat}
.reference-hero .reference-copy{position:relative;background:#000;box-shadow:0 0 0 20px #000}
.reference-hero .reference-corner-start{display:none}
.reference-google-reviews p{color:#fff!important}
.reference-google-reviews .google-review-stars{color:#f9ab00}
.reference-google-reviews>a{border-color:#fff}
.reference-feature-stack .reference-news{outline:none}
.reference-hero>.reference-local{color:#777}
@media(min-width:1600px){.reference-hero::before{left:-100px;width:850px;height:420px;top:85px}.reference-hero::after{left:-104px;width:860px;height:420px;top:85px}}
@media(max-width:760px){.reference-hero::before{left:-45px;top:30px;width:88%;height:345px;border-width:3px;clip-path:none}.reference-hero::after{left:-49px;top:30px;width:calc(88% + 10px);height:345px}.reference-hero .reference-copy{box-shadow:0 0 0 14px #000}.reference-hero>.reference-local{color:#777}}
/* White diagonal split underneath the retained orange logo-inspired frame. */
.reference-hero>.hero-white-split{position:absolute;inset:0;display:block;background:#fff;clip-path:polygon(70% 0,100% 0,100% 100%,40% 100%);z-index:0;pointer-events:none}
.reference-hero::before,.reference-hero::after{z-index:1}
.reference-hero>.reference-shell,.reference-hero>.reference-local{z-index:2}
.reference-google-reviews p{color:#050505!important}
.reference-google-reviews>a{border-color:#050505}
.reference-hero .reference-services{background:#000;padding:18px 20px 12px}
.reference-hero>.reference-local{color:#555}
@media(max-width:760px){.reference-hero>.hero-white-split{clip-path:polygon(100% 20%,100% 100%,12% 100%)}.reference-hero .reference-services{padding-left:14px;padding-right:14px}}
/* Keep the diagonal edge uninterrupted by rectangular content backgrounds. */
.reference-hero .reference-copy{background:transparent;box-shadow:none}
.reference-hero .reference-services{background:transparent;padding:18px 0 8px}
.reference-hero .reference-services a{color:#fff;position:relative}
.reference-hero .reference-services a:last-child{color:#050505}
@media(max-width:760px){.reference-hero .reference-services{padding:14px 0 7px}.reference-hero .reference-services a{color:#050505}}
.reference-hero .reference-services a,.reference-hero .reference-services a:last-child{color:#fff!important;mix-blend-mode:difference}
/* Size the decorative frame from the content instead of fixed viewport coordinates. */
.reference-hero::before,.reference-hero::after{content:none!important;display:none!important}
.reference-hero .reference-copy{position:relative;background:transparent;box-shadow:none;isolation:isolate}
.reference-hero .reference-copy::before{content:"";position:absolute;inset:-30px -32px -30px -32px;z-index:-1;pointer-events:none;background:linear-gradient(#ff9500,#ff9500) left top/43% 4px no-repeat,linear-gradient(#ff9500,#ff9500) right top/43% 4px no-repeat,linear-gradient(#ff9500,#ff9500) left bottom/44% 4px no-repeat,linear-gradient(#ff9500,#ff9500) right bottom/44% 4px no-repeat,linear-gradient(#ff9500,#ff9500) left top/4px 44% no-repeat,linear-gradient(#ff9500,#ff9500) left bottom/4px 44% no-repeat,linear-gradient(#ff9500,#ff9500) right top/4px 44% no-repeat,linear-gradient(#ff9500,#ff9500) right bottom/4px 44% no-repeat}
.reference-hero .reference-grid{column-gap:clamp(80px,7vw,135px)}
.reference-hero #reference-title{font-size:clamp(60px,5.7vw,104px)!important;max-width:100%!important}
.reference-hero .reference-services{margin-top:62px}
@media(max-width:1100px){.reference-hero .reference-grid{column-gap:65px}.reference-hero #reference-title{font-size:clamp(45px,5.6vw,62px)!important}.reference-hero .reference-copy::before{inset:-24px -20px}}
@media(max-width:760px){.reference-hero .reference-copy::before{inset:-20px -14px}.reference-hero .reference-grid{row-gap:55px}.reference-hero #reference-title{font-size:clamp(42px,12vw,70px)!important}.reference-hero .reference-services{margin-top:32px}}
/* Decorative lines stop precisely at the black/white diagonal. */
.reference-hero .reference-copy::before{clip-path:var(--frame-black-clip,none)}
.reference-hero .reference-services{position:relative;border-top:0}
.reference-hero .reference-services::before{content:"";position:absolute;top:0;left:0;height:1px;width:var(--services-black-width,60%);max-width:100%;background:#ff9500;pointer-events:none}
.reference-hero .reference-services a+a{border-left:0}
/* Match the clients section to the solid black page palette. */
.reform-home .clients-strip,.reform-home .clients-panel{background:#000!important}
/* Open frame with clean square ends, kept clear of the white diagonal. */
.reference-hero .reference-copy::before{clip-path:none;background:linear-gradient(#ff9500,#ff9500) left top/43% 4px no-repeat,linear-gradient(#ff9500,#ff9500) right top/43% 4px no-repeat,linear-gradient(#ff9500,#ff9500) left top/4px 44% no-repeat,linear-gradient(#ff9500,#ff9500) left bottom/4px 44% no-repeat,linear-gradient(#ff9500,#ff9500) left bottom/var(--frame-bottom-width,65%) 4px no-repeat}

#home-projects-title{scroll-margin-top:150px}
@media(max-width:760px){.reference-hero>.hero-white-split{clip-path:polygon(100% var(--mobile-split-start,55%),100% 100%,12% 100%)}.reference-hero .reference-services{background:#fff;margin-left:-21px;margin-right:-21px;padding:16px 16px 12px;width:calc(100% + 42px);box-sizing:border-box}.reference-hero .reference-services::before{display:none}.reference-hero .reference-services a{color:#000!important;mix-blend-mode:normal}.reference-hero .reference-local{display:none}}
