/* Reference layout: gold headings, off-white full-width editorial copy. */
body.segim-ref-site main .segim-ref-title{display:block!important;grid-column:1/-1;width:100%!important;max-width:none!important;box-sizing:border-box;color:#d9ac32!important;font-size:clamp(27px,2.8vw,38px)!important;font-weight:500!important;line-height:1.3!important;letter-spacing:-.02em;text-align:left!important;text-wrap:pretty;margin:0 0 24px!important;overflow-wrap:break-word}
body.segim-ref-site main h3.segim-ref-title{font-size:clamp(24px,2.25vw,30px)!important}
body.segim-ref-site main .segim-ref-h1{display:block;max-width:100%!important;box-sizing:border-box;color:#d9ac32!important;font-size:clamp(30px,3.5vw,48px)!important;line-height:1.2!important;font-weight:500!important;text-wrap:balance;overflow-wrap:break-word;margin-bottom:24px!important}
body.segim-ref-site main .segim-ref-hero-title{display:block;width:100%;max-width:none!important;color:#d9ac32!important;font-size:clamp(23px,2.4vw,32px)!important;font-weight:500!important;line-height:1.35!important;margin:0 0 24px!important;text-wrap:pretty}
body.segim-ref-site main p.segim-ref-copy{display:block!important;grid-column:1/-1;width:100%!important;max-width:none!important;box-sizing:border-box;color:#f2f0e9!important;font-size:16px!important;line-height:1.8!important;font-weight:400!important;text-align:left!important;text-wrap:pretty;margin:0 0 24px!important}
body.segim-ref-site main p.segim-ref-copy strong{color:inherit!important}
body.segim-ref-site main .segim-ref-kicker{display:block;grid-column:1/-1;color:#d9ac32!important;font-size:11px!important;font-weight:700!important;letter-spacing:.1em;line-height:1.5;margin:0 0 20px!important}
body.segim-ref-site main .segim-ref-intro{display:block!important;width:100%;max-width:none!important;box-sizing:border-box;text-align:left!important}
@media(max-width:760px){body.segim-ref-site main .segim-ref-title{font-size:27px!important;margin-bottom:18px!important}body.segim-ref-site main h3.segim-ref-title{font-size:24px!important}body.segim-ref-site main .segim-ref-h1{font-size:30px!important;line-height:1.24!important}body.segim-ref-site main .segim-ref-hero-title{font-size:23px!important;margin-bottom:20px!important}body.segim-ref-site main p.segim-ref-copy{line-height:1.75!important;margin-bottom:22px!important}body.segim-ref-site main .segim-ref-kicker{margin-bottom:14px!important}}
body.segim-ref-site main .service-hero p.hkls-subheadline.segim-ref-copy{max-width:none!important;width:100%!important}

/* Keep the homepage headline fully inside the hero at every width. */
body.segim-ref-site main .hero h1.home-seo-title.segim-ref-h1{grid-column:1/-1!important;justify-self:stretch!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;text-wrap:balance!important;height:auto!important;max-height:none!important;overflow:visible!important;padding-right:12px!important;font-size:clamp(30px,3.1vw,44px)!important;line-height:1.25!important}body.segim-ref-site main .hero{min-width:0!important} @media(max-width:760px){body.segim-ref-site main .hero h1.home-seo-title.segim-ref-h1{font-size:30px!important;padding-right:0!important}}

/* Keep video captions legible with the shared off-white text palette. */
body.segim-site-final .facade-project-video .video-description{background:#252a2c!important;color:#f2f0e9!important;border-left-color:#d9ac32!important}
