/* House identity owns its layout in every auction state. The original emblem
   supplies alpha only; the shared theme supplies its visible ink. */
.house-header { container:house-identity-shell / inline-size; color:var(--ink); background:var(--bg); border-bottom:1px solid var(--line); }
.house-header-inner { max-width:1200px; margin:0 auto; padding:1.3rem clamp(1rem,4vw,2rem);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1.5rem; }
.house-identity { display:flex; flex:1 1 28rem; align-items:center; gap:1.2rem; min-width:0; }
.house-emblem { display:block; flex:0 0 116px; width:116px; }
.house-emblem img { display:block; width:100%; height:auto; filter:brightness(0); }
html.calm:not(.light) .house-emblem img { filter:brightness(0) invert(1); }
@supports ((mask-image:url("")) or (-webkit-mask-image:url(""))) {
  .house-emblem { background:var(--ink); -webkit-mask:var(--house-emblem) center/contain no-repeat;
    mask:var(--house-emblem) center/contain no-repeat; }
  .house-emblem img { opacity:0; }
}
.house-partner-logo { display:block; width:116px; height:auto; padding:.5rem;
  border-radius:8px; background:#fff; flex:0 0 auto; }
.house-heading { min-width:0; }
.house-heading h1 { font-family:var(--serif,Georgia,serif); font-weight:500;
  font-size:clamp(1.6rem,2.5vw,2.1rem); line-height:1.12; margin:0; text-wrap:balance;
  overflow-wrap:anywhere; }
.house-heading p { color:var(--muted); font-size:.92rem; margin:.4rem 0 .2rem; line-height:1.5; }
.house-browse-note { color:var(--ink); font-size:.82rem; font-weight:650; }
.house-utilities { display:flex; flex-direction:column; align-items:flex-end; gap:.35rem; flex:0 1 auto; max-width:100%; }
.house-links { display:flex; align-items:center; flex-wrap:wrap; gap:.8rem; }
.house-links a { display:inline-flex; align-items:center; gap:.3rem; min-height:44px;
  color:var(--ink); font-size:.82rem; font-weight:650; text-decoration:underline; text-underline-offset:.2em; }
.house-links a:hover { color:var(--gold); }
.house-header + #floor.body { padding-top:1rem; }
@media (max-width:800px) {
  .house-header-inner { flex-direction:column; align-items:stretch; gap:.6rem; padding:1rem; }
  .house-identity { flex:0 1 auto; gap:.8rem; }
  .house-emblem { width:84px; flex-basis:84px; }
  .house-partner-logo { width:84px; }
  .house-heading h1 { font-size:clamp(1.35rem,4.5vw,1.7rem); }
  .house-heading p { font-size:.84rem; margin:.35rem 0 .2rem; }
  .house-copy-divider { display:none; }
  .house-pickup { display:block; }
  .house-utilities { flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; }
  .house-links { gap:.5rem; }
  .house-links .hero-sell { display:none; }
}
@media (max-width:360px) {
  .house-emblem { width:68px; flex-basis:68px; }
  .house-partner-logo { width:68px; }
}
@container house-identity-shell (max-width:16rem) {
  .house-identity { flex-direction:column; align-items:flex-start; }
  .house-emblem { flex-basis:auto; }
}
@media (forced-colors:active) {
  .house-emblem { forced-color-adjust:none; background:CanvasText; }
}
@media print {
  .house-header { background:#fff; color:#17231f; }
  .house-emblem { background:#17231f; }
  .house-emblem img { filter:brightness(0) !important; }
  .house-utilities { display:none; }
}
