.house-hero {
  --house-gutter:clamp(24px,4.3vw,82px);
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  padding-block-start:var(--announcement-height,0px);
  background:var(--es-canvas);
  color:#211a16;
}
.house-copy {
  position:relative;
  z-index:2;
  grid-area:1 / 1;
  align-self:center;
  justify-self:start;
  inline-size:min(25%,34rem);
  margin-inline-start:var(--house-gutter);
  min-width:0;
  padding-block:calc(var(--hc-header-height,66px) + 14px) 24px;
}
.house-copy h1 {
  max-width:11ch;
  margin:0;
  color:inherit;
  font:clamp(41px,4.85vw,102px)/.99 var(--serif);
  letter-spacing:-.064em;
  overflow-wrap:anywhere;
  text-wrap:pretty;
}
.house-copy h1 em { display:block; margin-block-start:.025em; color:var(--es-on-white-link); }
.house-copy p {
  max-width:35ch;
  margin:clamp(16px,1.6vw,28px) 0 clamp(19px,2.25vw,36px);
  color:#473a31;
  font-size:clamp(14px,1.24vw,22px);
  line-height:1.47;
  overflow-wrap:anywhere;
}
.house-copy .btn.house-cta {
  min-height:48px;
  padding:10px 18px 10px 20px;
  gap:17px;
  border-radius:999px;
  font-weight:650;
}
.house-hero svg { width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.house-tour {
  grid-area:1 / 1;
  min-width:0;
  scroll-margin-top:calc(var(--hc-header-height,66px) + var(--announcement-height,0px));
}
.house-scene {
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:100%;
  aspect-ratio:2 / 1;
  overflow:hidden;
}
.house-scene picture { display:block; position:absolute; inset:0; }
.house-image { display:block; width:100%; height:100%; object-fit:cover; object-position:right center; filter:brightness(1.035) saturate(.93); }
.house-scene::before,.house-scene::after { content:""; position:absolute; z-index:1; pointer-events:none; }
.house-scene::before { inset:0; background:linear-gradient(90deg,#faf3e885,#faf3e83b 24%,transparent 38%); }
.house-scene::after { inset:auto 0 0; height:clamp(22px,4vw,76px); background:linear-gradient(transparent,var(--es-canvas)); }
.house-rooms { position:absolute; z-index:2; inset:0; pointer-events:none; }
.house-room {
  position:absolute;
  left:var(--house-x);
  top:var(--house-y);
  translate:-50% -50%;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(6px,.62vw,11px);
  width:clamp(126px,15vw,251px);
  min-height:46px;
  padding:6px 10px 6px 7px;
  border:1px solid #fffcf0c4;
  border-radius:13px;
  background:#fbf6ebef;
  color:#282018;
  box-shadow:0 5px 15px #25180b32;
  font-size:clamp(11px,1.02vw,16px);
  font-weight:680;
  line-height:1.17;
  pointer-events:auto;
  transition:transform .24s ease,background-color .24s ease,box-shadow .24s ease;
}
.house-room-icon { width:clamp(21px,2vw,33px); aspect-ratio:1; display:grid; place-items:center; border-radius:9px; background:#e8ddcd; }
.house-room-icon svg { width:clamp(12px,1.15vw,18px); }
.house-room > svg { width:clamp(11px,1.12vw,17px); opacity:.83; }
.house-room-label { overflow-wrap:anywhere; }
.house-room small { display:block; margin-top:2px; font-size:clamp(8px,.7vw,11px); line-height:1.15; font-weight:500; color:#655242; }
.house-room:hover { transform:translateY(-2px); background:#fffaf3; box-shadow:0 9px 20px #25180b51; }
.house-room:focus-visible { outline:2px solid #291d14; outline-offset:2px; background:#fffaf3; }
.house-tour:focus-visible { outline-offset:-4px; }
.house-tour:focus-visible .house-room { border-color:#8a6347; }

.home-page-content [data-home-reveal] { opacity:var(--home-visible,1); transition:opacity .64s cubic-bezier(.2,.72,.24,1); }
.home-page-content [data-home-reveal]:focus-within { opacity:1; }
.home-arrival .home-page-content > :first-child { animation:home-arrives 1.16s cubic-bezier(.22,.69,.2,1) both; }
.home-arrival .house-copy { animation:home-copy-arrives 1.08s .09s cubic-bezier(.22,.69,.2,1) both; }
@keyframes home-arrives { from { opacity:.28; } to { opacity:1; } }
@keyframes home-copy-arrives { from { opacity:0; translate:0 16px; } to { opacity:1; translate:0 0; } }

@media(max-width:1000px) and (min-width:761px) {
  .house-hero { --house-gutter:24px; }
  .house-copy h1 { font-size:clamp(40px,4.85vw,48px); }
  .house-copy p { margin-block:12px 17px; }
  .house-room { width:clamp(117px,15vw,150px); padding-inline:5px 7px; }
}
@media(max-width:760px) {
  .house-hero {
    --house-sky:#f2eae1;
    display:block;
    padding-block-start:calc(var(--announcement-height,0px) + var(--hc-header-height,66px));
    background:var(--house-sky);
  }
  .house-copy {
    justify-self:stretch;
    inline-size:100%;
    margin:0;
    text-align:center;
    padding:clamp(24px,6vw,42px) 16px clamp(14px,3.6vw,26px);
  }
  .house-copy h1 { max-width:13ch; margin-inline:auto; font-size:clamp(40px,10vw,64px); text-wrap:balance; }
  .house-copy h1 em { display:inline; }
  .house-copy p { margin:11px auto 16px; }
  .house-copy .btn.house-cta { min-height:44px; }
  .house-scene { aspect-ratio:5 / 6; }
  .house-scene::before {
    inset:0 0 auto;
    height:clamp(18px,5vw,36px);
    background:linear-gradient(var(--house-sky),transparent);
  }
  .house-room {
    left:var(--house-mx);
    top:var(--house-my);
    width:clamp(105px,37%,175px);
    min-height:42px;
    gap:4px;
    padding-inline:5px 6px;
    border-radius:10px;
    font-size:clamp(10px,2.75vw,14px);
  }
  .house-room small { font-size:clamp(8px,2.05vw,10px); }
  .house-room-icon { border-radius:5px; }
}
@media(prefers-reduced-motion:reduce) {
  .house-room { transition:none; }
  .house-room:hover { transform:none; }
  .home-page-content [data-home-reveal] { opacity:1; transition:none; }
  .home-arrival .home-page-content > :first-child,.home-arrival .house-copy { animation:none; }
}
