/* Shared presentation additions; each site's existing index.html remains the shell source. */
:root{--contact-accent:#f4a836;--contact-paper:#fdf8ef;--contact-text:#232a26}
.contact-link{display:inline-flex;align-items:center;justify-content:center;background:var(--contact-accent);color:var(--contact-text);border-radius:999px;padding:.7rem 1.4rem;font-weight:700;text-decoration:none;min-height:44px}
.site-subpage{min-width:0;overflow-wrap:anywhere}.site-subpage main{width:100%;min-width:0}.contact-page{margin:0 auto!important;max-width:none!important;display:block!important}.contact-page .banner{padding:clamp(3rem,8vw,5rem) clamp(12px,4vw,40px)}
.site-subpage [data-environment]{background:#fff0bf;color:#352300;width:100%;padding:.5rem;text-align:center;font-weight:600}
.product-header{position:relative;width:100%;max-width:68rem;margin:0 auto 2rem;display:flex;flex-direction:column;align-items:center;gap:1.25rem}.product-home{display:flex;flex-direction:column;align-items:center;gap:1rem;color:inherit;text-decoration:none}.product-home h1{font-size:clamp(1.5rem,5vw,2.5rem)}.product-header nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1.5rem}.product-header nav a{color:inherit}.product-header nav .contact-link{color:var(--contact-text)}
.site-subpage:not(.bmsg) .contact-page{max-width:44rem!important}.site-subpage:not(.bmsg) footer{width:100%;padding-top:2rem}.legal-page{display:block!important;text-align:left;max-width:68rem!important;margin:2rem auto!important;padding:clamp(12px,4vw,40px);background:var(--contact-paper);color:var(--contact-text);border-radius:1rem;line-height:1.7}.legal-page h1,.legal-page h2{color:inherit}.legal-page h2{font-size:1.6rem;margin:2rem 0 1rem}.legal-page p,.legal-page ul,.legal-page ol{margin:1rem 0}.legal-page li{margin-left:1.5rem}.legal-page a{color:inherit;text-decoration:underline}.legal-page .notice{border:1px solid currentColor;border-radius:.75rem;padding:1rem;margin-bottom:2rem}.legal-page .table-scroll{max-width:100%;overflow-x:auto}.legal-page table{border-collapse:collapse;width:100%;font-size:.9rem}.legal-page th,.legal-page td{border:1px solid #87929c;padding:.65rem;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.bmsg.site-subpage header{position:relative}.bmsg.site-subpage footer{width:100%}.bmsg.site-subpage .legal-page{width:calc(100% - 2rem)}
[data-delivery-confirmation]{max-width:44rem;margin:2rem auto;padding:2rem;border-radius:1rem;background:var(--contact-paper);color:var(--contact-text);text-align:left}[data-delivery-confirmation] h2,[data-delivery-confirmation] p{color:inherit!important;text-shadow:none!important;margin-bottom:1rem!important}
@media(max-width:560px){.product-header nav{gap:.7rem}.legal-page{padding:1rem}.product-home .logo{max-width:100%}}


body{overflow-wrap:anywhere}main,header,footer,section,.inner{min-width:0;max-width:100%}a,button{max-width:100%}img,svg{max-width:100%}
header{flex-wrap:wrap}header nav{flex-wrap:wrap}.hero-copy{width:100%;min-width:0}.mission .inner>*{min-width:0}.family-grid{grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr))}.strip-grid{min-width:0}.strip-grid>*{min-width:0}.btn,.nav-cta,.contact-link{white-space:normal;text-align:center}.inner{width:100%}
@media(max-width:640px){header .logo{flex-shrink:1;max-width:calc(100% - 60px)}header nav{min-width:0;max-width:calc(100vw - 2.4rem)}}

body.site-subpage{height:auto}

/* Contact navigation and compact, consistent policy typography. */
a.contact-link{background:#f9a82d;color:#172333!important;border-radius:999px;padding:.7rem 1.4rem;font-weight:600;text-decoration:none}
.legal-page section{padding:0;margin:1.25rem 0;min-height:0;background:transparent}
.legal-page h1,.legal-page h2,.legal-page h3,.legal-page h4{font-family:inherit;font-weight:700;line-height:1.25;text-shadow:none;letter-spacing:normal}
.legal-page h1{font-size:2.25rem;margin:1rem 0 1.25rem}
.legal-page h2{font-size:1.5rem;margin:1.25rem 0 .65rem}
.legal-page h3{font-size:1.2rem;margin:1rem 0 .5rem}
.legal-page h4{font-size:1rem;margin:1rem 0 .5rem}
.legal-page p,.legal-page ul,.legal-page ol{margin:.65rem 0}
.legal-page .notice{margin-bottom:1rem}

.bmsg.contact-view{background:linear-gradient(to bottom,rgba(253,248,239,.88),rgba(253,248,239,.68) 80px,rgba(16,24,40,.68) 140px),url('images/connect.jpg') center top/cover no-repeat}
.bmsg.contact-view header{background:transparent;box-shadow:none;backdrop-filter:none}
.bmsg.contact-view .banner{background:transparent;padding-top:2rem}
.bmsg.contact-view .banner-img,.bmsg.contact-view .banner-scrim{display:none}
.bmsg.contact-view [data-contact-form]{background:#fdf8ef;color:#232a26}
.bmsg.contact-view [data-contact-form] button{background:#f9a82d;color:#172333}

/* Keep the existing header backdrop; match the contact content base to the footer. */
.bmsg.contact-view .contact-page{background:transparent}

/* Keep the photo visible and the footer close to the contact card. */
.bmsg.contact-view .banner{padding-bottom:1rem}
.bmsg.contact-view [data-contact-form]{margin-bottom:0}
.bmsg.contact-view footer{padding-top:1rem;padding-bottom:1rem}
.bmsg.contact-view [data-contact-form] button[type=submit]{margin-top:.8rem}
.bmsg.contact-view [data-contact-form] [role=status]{min-height:0}
.bmsg.contact-view [data-challenge]:empty{margin:0}
.bmsg.contact-view [data-contact-form] .contact-note{font-size:.8rem;line-height:1.5}

/* Legal text begins directly below the existing header. */
.bmsg.site-subpage .legal-page{margin-top:0!important;padding-top:0}
.bmsg.site-subpage .legal-page>:first-child{margin-top:0}

/* Show the full photo width, anchored on the people at the bottom. */
.bmsg.contact-view .contact-page{background-color:#182233;background-image:linear-gradient(rgba(16,24,40,.68),rgba(16,24,40,.68)),url('images/connect.jpg');background-size:100% 100%,100% auto;background-position:center bottom;background-repeat:no-repeat}

/* Cream introduction blends into the full-width bottom-aligned photo. */
.bmsg.contact-view .contact-page{background-color:#fdf8ef;background-image:linear-gradient(to bottom,#fdf8ef 0%,rgba(253,248,239,.96) 20%,rgba(253,248,239,.25) 55%,rgba(16,24,40,.45) 100%),url('images/connect.jpg')}
.bmsg.contact-view .banner>.inner>h2,.bmsg.contact-view .banner>.inner>p{color:#1c2a44;text-shadow:none}
.bmsg.contact-view [data-contact-form]{padding-top:12px;padding-bottom:12px}
.bmsg.contact-view [data-contact-form]>label:first-of-type{margin-top:0}
.bmsg.contact-view [data-contact-form]>[role=status]{margin-bottom:0!important}

.bmsg.contact-view{min-height:100vh;display:flex;flex-direction:column;background:#fdf8ef}
.bmsg.contact-view header{background:#fdf8ef;flex-shrink:0}
.bmsg.contact-view .contact-page{flex:1}
.bmsg.contact-view footer{flex-shrink:0}
.bmsg.contact-view [data-delivery-confirmation]{width:100%;max-width:616px;margin:1.5rem auto 0;padding:24px;text-align:left;box-sizing:border-box}
.bmsg.contact-view [data-delivery-confirmation] h2{font-size:1.65rem;line-height:1.3;margin:0 0 1rem!important}
.bmsg.contact-view [data-delivery-confirmation] p{max-width:none;margin:0 0 .75rem!important;text-align:left;font-size:1rem;line-height:1.5;overflow-wrap:anywhere}
.bmsg.contact-view [data-delivery-confirmation] p:last-child{margin-bottom:0!important}
