/* Approved image-led identity. Keep the original artwork proportions at every size. */
body .site-header .brand img {
  width:64px!important; height:auto!important; aspect-ratio:256/171;
  flex:none; max-width:100%; object-fit:contain!important; object-position:center;
  transform:none!important; clip-path:none!important; filter:none!important;
}
.dm-canonical-crest { display:block; width:80px; height:auto; aspect-ratio:256/171; object-fit:contain; }
.footer-brand .dm-canonical-crest { width:96px; margin:0 0 14px; }
.masthead>a>.dm-canonical-crest { width:72px; margin-bottom:8px; }
.statement-footer-brand .dm-canonical-crest { width:80px; margin:0 auto 14px; }
.invite-card .invite-logo { width:auto; height:auto; border:0; border-radius:0; }
.invite-card .invite-logo img { width:128px; height:auto; max-width:100%; margin:0 auto 20px; border:0; object-fit:contain; }
.member-portrait.logo { height:auto; aspect-ratio:256/171; object-fit:contain; padding:0; border-radius:0; }
body .feature-brand-title {
  position:relative; display:block; width:min(200px,100%); max-width:100%;
  margin:8px 0 14px!important; padding:0!important; line-height:1!important;
  color:#f6ead0; border:0!important; text-shadow:none; overflow:visible;
}
body .feature-brand-title.feature-brand-hero { width:min(340px,100%); margin:12px 0 20px!important; }
body .feature-brand-title .feature-brand-label {
  position:absolute!important; width:1px!important; height:1px!important;
  padding:0!important; margin:-1px!important; overflow:hidden!important;
  clip:rect(0,0,0,0)!important; clip-path:inset(50%)!important;
  white-space:nowrap!important; border:0!important;
}
body .feature-brand-title img.feature-brand-image {
  position:static!important; display:block!important; width:100%!important; height:auto!important;
  max-width:100%!important; aspect-ratio:1; object-fit:contain!important; object-position:center!important;
  margin:0!important; padding:0!important; transform:none!important; clip-path:none!important;
  opacity:1!important; mix-blend-mode:normal!important; filter:none!important;
}
body .feature-brand-title.feature-brand-fallback img { display:none!important; }
body .feature-brand-title.feature-brand-fallback .feature-brand-label {
  position:static!important; width:auto!important; height:auto!important; margin:0!important;
  clip:auto!important; clip-path:none!important; white-space:normal!important; overflow:visible!important;
}
/* The emblems lead each door; supporting character illustrations remain intact. */
.phase1-home .home-fugazi-copy,.phase1-home .home-breakers-copy { display:flex; flex-wrap:wrap; align-items:center; gap:0 20px; }
.phase1-home .home-fugazi-copy>small { width:100%; }
.phase1-home .home-fugazi-copy>p,.phase1-home .home-breakers-copy>p { flex:1 1 140px; }
.phase1-home .home-fugazi-copy .feature-brand-title,.phase1-home .home-breakers-copy .feature-brand-title { width:170px; flex:none; }
.phase1-home .home-standoff-door .feature-brand-title { width:190px; }
.phase1-home .home-rat-feature { min-height:510px; }
.phase1-home .home-rat-feature>header .feature-brand-title { width:175px; }
.phase1-home .home-rat-art { height:60%; }
.family-destination-grid .feature-brand-title,.family-next-section .feature-brand-title,.fantasy-next-move .feature-brand-title,.standoff-future .feature-brand-title { width:160px; }
.standoff-title .feature-brand-title { width:min(310px,100%); }
/* Money Lab uses the same visible, accessible global header as every other room. */
body.phase1-money-lab>.site-header { display:block!important; z-index:1000; }
body.phase1-money-lab .moneylab-v3-wordmark { grid-template-columns:60px minmax(0,1fr); gap:0 10px; }
body.phase1-money-lab .moneylab-v3-wordmark>.dm-canonical-crest { width:60px; height:auto; grid-column:1; grid-row:1/3; align-self:center; }
body.phase1-money-lab .moneylab-v3-wordmark>strong { grid-column:2; font-size:20px; }
body.phase1-money-lab .moneylab-v3-wordmark>small { grid-column:2; }
body.phase1-money-lab :is(#labSetup,#labAssumptions,#moneyLabV3Result) { scroll-margin-top:92px; }
@media(max-width:600px){
  body .site-header .brand img { width:48px!important; height:auto!important; }
  body .feature-brand-title.feature-brand-hero { width:min(240px,100%); }
  .phase1-home .home-fugazi-copy .feature-brand-title,.phase1-home .home-breakers-copy .feature-brand-title { width:145px; }
  .phase1-home .home-fugazi-copy,.phase1-home .home-breakers-copy { gap:0 12px; }
  .phase1-home .home-standoff-door .feature-brand-title { width:160px; }
  .phase1-home .home-rat-feature>header .feature-brand-title { width:160px; }
  .phase1-home .home-rat-feature { min-height:510px; }
  .phase1-home .home-rat-art { height:55%; }
  body.phase1-money-lab :is(#labSetup,#labAssumptions,#moneyLabV3Result) { scroll-margin-top:78px; }
}
/* Keep the new wordmarks from turning compact home doors into oversized posters. */
.phase1-home .home-fugazi-art { width:min(370px,calc(100% - 32px)); }
.phase1-home .home-family-grid>.breakers-door>.home-breakers-copy { flex-direction:row; }
.quant-credit { margin:0 0 8px; font-size:12px; color:#aaa; letter-spacing:.04em; }

/* New possessive wordmark keeps its square transparent footprint legible in the approved Home composition. */
.phase1-home .breakers-door .home-breakers-copy:has(img[src*="bernies-ball-breakers-"]){width:min(45%,260px)!important}
.phase1-home .breakers-door .home-breakers-copy:has(img[src*="bernies-ball-breakers-"]) h2.feature-brand-title,.phase1-home .breakers-door .home-breakers-copy img[src*="bernies-ball-breakers-"]{width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain}
