/* Footer fundamentals are self-contained, including lightweight confirmation pages. */
footer.hdw-footer{color:#edf0e8}
.hdw-footer .hdw-footer-inner{width:var(--hdw-content-width,88%);margin-inline:auto}
.hdw-footer a,.hdw-footer a:visited{color:inherit;text-decoration:none}
.hdw-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.hdw-footer a:focus-visible{outline:2px solid #ebbc67;outline-offset:4px}
.hdw-footer .hdw-footer-main h2{color:#f5e7bf;text-transform:uppercase}
.hdw-footer .hdw-footer-tagline{color:#ebbc67}
.hdw-footer [data-network=instagram]{background:linear-gradient(135deg,#7634b2,#e63883,#edb459);color:white}
.hdw-footer [data-network=threads],.hdw-footer [data-network=x]{background:#fff;color:#152d34}
.hdw-footer [data-network=reddit]{background:#ff5719;color:white}
.hdw-footer [data-network=whatsapp]{background:#16cf73;color:#11382f}
/* Shared brand and footer finish. Loaded after legacy page styles. */
body > header .brand{display:flex;align-items:center;gap:14px;flex:0 0 auto;min-width:0;font-family:Manrope,Arial,sans-serif;font-size:15px;font-weight:600;line-height:1.3;letter-spacing:.015em;text-decoration:none;white-space:nowrap}
body > header .brand-seal{display:flex;align-items:center;justify-content:center;flex:0 0 58px;width:58px;height:66px;background:none}
body > header .brand-seal img,body > header .brand > img{display:block;width:58px;height:66px;object-fit:contain;flex-shrink:0}
body > header .brand > span:last-child{display:block;font-size:15px;font-weight:600;line-height:1.3;letter-spacing:.015em}
body > header .brand > span:last-child > span{display:block;margin-top:5px;font-size:10px;font-weight:600;line-height:1.4;letter-spacing:.07em}
footer.hdw-footer{padding:48px 0 22px!important;background:#142f37;font:400 14px/1.6 Manrope,Arial,sans-serif}
.hdw-footer .hdw-footer-main{display:grid;grid-template-columns:minmax(220px,1.8fr) minmax(130px,1fr) minmax(120px,.95fr) minmax(180px,1.2fr);gap:clamp(22px,3vw,48px);padding:0 0 32px;margin:0;align-items:start}
.hdw-footer .hdw-footer-main > *{min-width:0;margin:0}
.hdw-footer .hdw-footer-brand{display:flex;align-items:center;gap:16px;margin:0;padding:0;font-family:Manrope,Arial,sans-serif}
.hdw-footer .hdw-footer-brand img{display:block;width:58px;height:66px;object-fit:contain;flex:0 0 58px}
.hdw-footer .hdw-footer-brand > span{font-size:clamp(20px,1.7vw,25px);font-weight:600;line-height:1.3;letter-spacing:-.035em}
.hdw-footer .hdw-footer-tagline{margin:18px 0 0;font-size:13px;line-height:1.6}
.hdw-footer .hdw-footer-main h2{font-size:10px;font-weight:600;line-height:1.5;letter-spacing:.09em;margin:5px 0 19px}
.hdw-footer .hdw-footer-main nav{display:block;padding:0;border:0;position:static;min-height:0}
.hdw-footer .hdw-footer-main nav > a,.hdw-footer .hdw-footer-contact > a{display:block;margin:0 0 10px;padding:0;font-size:13px;line-height:1.7}
.hdw-footer .hdw-footer-contact{display:block;grid-column:auto}
.hdw-footer .hdw-footer-contact p{margin:14px 0 0;font-size:12px;line-height:1.7;color:#bdcecc}
.hdw-footer .hdw-footer-bottom{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;margin:0;padding:22px 0 0;border-top:1px solid #ffffff24}
.hdw-footer .hdw-footer-legal{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin:0;padding:0}
.hdw-footer .hdw-footer-legal a{display:block;white-space:nowrap;font-size:11px;line-height:1.6;margin:0;padding:5px 0}
.hdw-footer .hdw-footer-credit{display:grid;justify-items:end;gap:5px;margin:0;width:auto;font-size:10px;line-height:1.65;color:#bdcecc;text-align:right}
.hdw-footer .hdw-footer-credit p{display:block;margin:0;font-size:inherit;line-height:inherit;max-width:none}
.hdw-footer .hdw-footer-credit a{display:inline-flex;align-items:center;gap:5px;vertical-align:middle}
.hdw-footer .hdw-footer-bottom nav[aria-label="Follow HDW Trust"]{display:flex;flex-wrap:nowrap;gap:10px;margin:0;padding:0;align-items:center;justify-content:flex-end}
.hdw-footer .hdw-footer-bottom nav[aria-label="Follow HDW Trust"] a{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;margin:0;padding:0;border-radius:9px}
.hdw-footer .hdw-imagery-note{display:block;margin:16px 0 0;font-size:10px;line-height:1.7;color:#acbfbc;max-width:80ch}
@media(max-width:1150px){
 .hdw-footer .hdw-footer-main{grid-template-columns:minmax(190px,1.5fr) minmax(120px,1fr) minmax(110px,.9fr);gap:26px}
 .hdw-footer .hdw-footer-contact{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1.2fr 1.2fr 1.6fr;gap:18px;align-items:center}
 .hdw-footer .hdw-footer-contact :is(h2,p,a){margin:0}
 .hdw-footer .hdw-footer-bottom{grid-template-columns:1fr auto;gap:16px 24px}
 .hdw-footer .hdw-footer-credit{grid-column:1;grid-row:2;justify-items:start;text-align:left}
 .hdw-footer .hdw-footer-bottom nav[aria-label="Follow HDW Trust"]{grid-column:2;grid-row:1 / 3}
 body > header .brand{gap:11px}body > header .brand > span:last-child{font-size:13px}body > header .brand > span:last-child > span{font-size:9px}
}
@media(max-width:700px){
 .hdw-footer .hdw-footer-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 24px;padding-bottom:26px}
 .hdw-footer .hdw-footer-main > div:first-child{grid-column:1 / -1}
 .hdw-footer .hdw-footer-contact{grid-column:1 / -1;display:block}
 .hdw-footer .hdw-footer-contact h2{margin:0 0 14px}.hdw-footer .hdw-footer-contact > a{margin:0 0 8px}.hdw-footer .hdw-footer-contact p{margin:10px 0 0}
 .hdw-footer .hdw-footer-bottom{grid-template-columns:1fr;gap:15px;padding-top:20px}
 .hdw-footer .hdw-footer-credit{grid-column:1;grid-row:auto;justify-items:start;text-align:left;font-size:10px}
 .hdw-footer .hdw-footer-bottom nav[aria-label="Follow HDW Trust"]{grid-column:1;grid-row:auto;justify-content:flex-start;gap:12px}
 .hdw-footer .hdw-imagery-note{margin-top:17px;font-size:10px;line-height:1.75}
 .hdw-footer .hdw-footer-brand > span{font-size:23px}
}
@media(max-width:600px){body > header .brand{gap:10px}body > header .brand-seal{flex-basis:42px;width:42px;height:48px}body > header .brand-seal img,body > header .brand > img{width:42px;height:48px}body > header .brand > span:last-child{font-size:11px}body > header .brand > span:last-child > span{font-size:8px;letter-spacing:.04em;margin-top:4px}}
@media(max-width:370px){body > header .brand{gap:8px}body > header .brand > span:last-child{font-size:10px}body > header .brand > span:last-child > span{font-size:7px}}

/* The staging notice has its own space and never covers the brand. */
body[data-hdw-staging]{--hdw-staging-offset:34px}
.hdw-staging-note{display:flex;align-items:center;justify-content:center;min-height:var(--hdw-staging-offset);margin:0;padding:6px 16px;box-sizing:border-box;background:#f1d398;color:#102b35;text-align:center;font:12px/1.5 Manrope,Arial,sans-serif}
body[data-hdw-staging] > .site-header:not(.is-fixed){top:var(--hdw-staging-offset)}
.hdw-footer .hdw-footer-credit{font-size:11px}.hdw-footer .hdw-imagery-note{font-size:11px}
@media(max-width:650px){body[data-hdw-staging]{--hdw-staging-offset:48px}}
@media(max-width:370px){body[data-hdw-staging]{--hdw-staging-offset:66px}}

.budget-terms-link{font-size:12px;line-height:1.7;color:#52695f;margin:18px 0 24px}.budget-terms-link a{color:inherit;text-underline-offset:3px}

/* Blog headers use the same readable dark brand bar as other public pages. */
body[data-page^="blog"] > .site-header{position:sticky;top:0!important;background:#142f37;color:#fff;padding-block:14px;min-height:94px}
body[data-page^="blog"] .journal > .journal-hero{padding-block:56px}
body[data-page^="blog"] .journal .journal-hero > .container{transform:none}
@media(max-width:850px){body[data-page^="blog"] > .site-header{min-height:84px;padding-block:14px}body[data-page^="blog"] .journal > .journal-hero{padding-block:36px}}
body.newsletter-preferences{max-width:none;margin:0;padding:0;background:#faf9f3}
.newsletter-preferences > main{width:var(--hdw-content-width);max-width:720px;margin:clamp(40px,8vw,90px) auto;padding:0}

.identity-panel .identity-animation{display:block;width:100%}.identity-panel .identity-animation img{display:block;width:100%;height:auto;object-fit:contain}

body[data-page="404"]{font-family:Manrope,Arial,sans-serif}body[data-page="404"] > .site-header{position:relative;top:auto!important;background:#142f37;color:#fff}
