/* The building is the service navigation: roof, apartment, entrance, basement. */
.house-hero { min-height: min(820px, calc(100svh - 82px)); grid-template-columns: 1fr 1.06fr; gap: 20px; padding: 40px 0 55px; }
.house-hero .hero-copy { max-width: 590px; }
.house-hero .hero-copy > .eyebrow { margin-bottom: 35px; }
.core-label { display: inline-flex; gap: 11px; margin-bottom: 22px; color: var(--blue-deep); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.core-label span { color: #9a7a44; }
.house-hero h1 { font-size: clamp(47px,5.9vw,82px); }
.house-hero .hero-lede { max-width: 435px; font-size: 15px; }
.house-hero .hero-note { margin-top: 35px; }
.hero-house { position: relative; display: flex; min-width: 0; align-items: center; justify-content: center; min-height: 590px; }
.hero-house img { position: relative; z-index: 1; width: 100%; max-height: min(690px,82svh); object-fit: contain; transition: transform .5s ease; }
.hero-house:hover img { transform: translateY(-5px); }
.drawing-orbit { position: absolute; width: 96%; aspect-ratio: 1; border: 1px solid #173f5410; border-radius: 50%; background: radial-gradient(circle,#d7e3df70 0%,#e2e8df36 55%,transparent 70%); }
.drawing-orbit::after { position: absolute; inset: 12%; content: ''; border: 1px dashed #173f541a; border-radius: 50%; }
.drawing-kicker { position: absolute; z-index: 2; top: 6px; left: 12px; color: #6a7a7a; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.drawing-note { position: absolute; z-index: 2; bottom: 10px; left: 15px; display: flex; align-items: center; gap: 12px; font-size: 11px; }
.drawing-note i { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; color: var(--blue); }
.drawing-signature { position: absolute; right: -12px; top: 45%; font-size: 8px; letter-spacing: .17em; writing-mode: vertical-rl; color: #7b8886; }
.focus-strip { display: grid; grid-template-columns: 1fr 1fr; padding: 40px max(5vw,calc((100vw - var(--max))/2)); background: var(--blue-deep); color: var(--white); }
.focus-strip > a { padding: 8px 10% 8px 0; }
.focus-strip > a + a { padding-left: 12%; padding-right: 0; border-left: 1px solid #ffffff2b; }
.focus-number { color: #cbb88e; font-size: 9px; letter-spacing: .15em; }
.focus-strip h2 { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 12px 0 8px; font-size: clamp(27px,3vw,42px); font-weight: 500; letter-spacing: -.045em; }
.focus-strip h2 span { font-family: Arial,sans-serif; font-size: 26px; color: #cbb88e; transition: transform .3s; }
.focus-strip a:hover h2 span { transform: translate(5px,-5px); }
.focus-strip p { margin: 0; font-size: 12px; color: #ffffffab; }
.house-section { padding-top: 115px; padding-bottom: 70px; }
.house-section .section-heading { margin-bottom: 60px; }
.house-journey { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; column-gap: clamp(30px,6vw,85px); align-items: start; max-width: var(--max); margin: auto; }
.house-stage { position: sticky; top: 96px; display: flex; flex-direction: column; height: min(850px,calc(100svh - 112px)); min-height: 480px; background: var(--paper); }
.floor-nav { display: grid; grid-template-columns: repeat(4,1fr); flex: 0 0 auto; border-bottom: 1px solid var(--line); }
.floor-nav a { display: flex; align-items: center; gap: 6px; padding: 13px 2px 16px; border-bottom: 2px solid transparent; color: #6a787f; font-size: 10px; transition: color .25s,border-color .25s; }
.floor-nav a span { font-size: 8px; color: #8e9694; }
.floor-nav a b { font-weight: 500; }
.floor-nav a[aria-current] { border-color: var(--blue); color: var(--ink); }
.floor-nav a[aria-current] b { font-weight: 700; }
.floor-nav a[aria-current] span { color: #9a7a44; }
.house-scene { position: relative; display: flex; align-items: center; justify-content: center; flex: 1; min-height: 0; isolation: isolate; }
.house-scene::before { position: absolute; z-index: -1; inset: 10%; content: ''; border-radius: 50%; background: radial-gradient(ellipse,#d5e0d959,transparent 70%); }
.house-scene > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.house-scene .house-layer { transition: transform .8s cubic-bezier(.2,.7,.2,1),opacity .65s ease; transform-origin: center; }
.house-scene .house-layer.is-highlighted { opacity: 1; }
.stage-footer { display: flex; justify-content: space-between; gap: 12px; flex: 0 0 auto; padding: 15px 0 7px; border-top: 1px solid var(--line); font-size: 9px; color: #728080; }
.stage-label { letter-spacing: .09em; font-weight: 600; color: var(--blue-deep); }
.stage-footer i { margin-left: 5px; font-style: normal; }
.floor-story { display: flex; flex-direction: column; justify-content: center; min-height: 87svh; padding: 65px 0; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.floor-story:first-child { border-top: 0; }
.floor-marker { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; color: #637676; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.floor-marker i { width: 28px; height: 1px; background: var(--gold); }
.floor-story .eyebrow { min-height: 16px; gap: 8px; margin-bottom: 18px; font-size: 9px; }
.priority-dot { width: 6px; height: 6px; border-radius: 50%; background: #a98b55; }
.floor-story h3 { margin: 0 0 22px; font-size: clamp(32px,3.6vw,49px); font-weight: 500; line-height: 1.13; letter-spacing: -.055em; }
.floor-story h3 em { color: var(--blue); font-style: normal; }
.floor-story-copy > p:not(.eyebrow) { max-width: 410px; margin-bottom: 25px; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.floor-story ul { display: grid; gap: 0; margin: 0 0 26px; padding: 0; list-style: none; font-size: 12px; color: #40545d; }
.floor-story li { display: flex; align-items: baseline; gap: 13px; padding: 11px 0; border-top: 1px solid #173f5414; }
.floor-story li::before { color: #44878e; content: '↗'; font-size: 11px; }
.story-link { display: inline-flex; align-items: center; gap: 16px; min-height: 42px; border-bottom: 1px solid #173f5455; font-size: 12px; font-weight: 700; }
.story-link span { color: var(--blue); font-size: 19px; }
.story-link:hover { border-color: var(--blue); color: var(--blue-deep); }
.house-endnote { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: var(--max); margin: 60px auto 0; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.house-endnote > span { color: var(--blue); font-size: 36px; }
.house-endnote p { flex: 1; margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.house-endnote strong { color: var(--ink); font-weight: 500; }
.house-section + .about { padding-top: 45px; }
@media(min-width:1600px) { .house-stage { top: 110px; } }
@media(max-width:1000px) {
  .house-hero { gap: 5px; grid-template-columns: 1fr 1fr; }
  .hero-house { min-height: 490px; }
  .house-hero h1 { font-size: 58px; }
  .house-hero .hero-copy > .eyebrow { margin-bottom: 25px; }
  .house-hero .hero-lede { font-size: 14px; }
  .house-journey { column-gap: 28px; grid-template-columns: 1fr 1fr; }
  .floor-nav a { flex-direction: column; align-items: flex-start; font-size: 9px; }
  .floor-story h3 { font-size: 35px; }
  .floor-story-copy > p:not(.eyebrow) { font-size: 13px; }
}
@media(max-width:760px) {
  .primary-nav { visibility: hidden; }
  .primary-nav.is-open { visibility: visible; }
  .house-hero { padding: 44px 0 30px; gap: 22px; }
  .house-hero .hero-copy { max-width: none; }
  .house-hero .hero-copy > .eyebrow { margin-bottom: 23px; }
  .core-label { margin-bottom: 17px; font-size: 11px; }
  .house-hero h1 { font-size: clamp(46px,11vw,70px); }
  .house-hero .hero-lede { font-size: 14px; }
  .house-hero .hero-note { margin-top: 26px; font-size: 9px; }
  .hero-house { min-height: 0; height: min(590px,132vw); }
  .hero-house img { height: 100%; width: 100%; max-height: none; }
  .drawing-kicker { left: 0; top: 5px; font-size: 8px; }
  .drawing-note { left: 0; bottom: 5px; font-size: 10px; }
  .drawing-signature { right: -8px; font-size: 7px; }
  .focus-strip { padding: 28px 5vw; }
  .focus-strip > a { padding: 5px 8% 5px 0; }
  .focus-strip > a + a { padding-left: 8%; }
  .focus-number { font-size: 7px; letter-spacing: .08em; }
  .focus-strip h2 { font-size: clamp(20px,5.8vw,30px); gap: 8px; }
  .focus-strip h2 span { font-size: 18px; }
  .focus-strip p { font-size: 10px; line-height: 1.6; }
  .house-section { padding-top: 74px; padding-bottom: 45px; }
  .house-section .section-heading { margin-bottom: 30px; }
  .house-journey { display: block; }
  .house-stage { z-index: 5; top: 70px; height: 36svh; min-height: 220px; max-height: 340px; padding: 0; border-bottom: 1px solid var(--line); box-shadow: 0 14px 18px -14px #173f5420; }
  .floor-nav a { align-items: center; padding: 10px 1px; font-size: 9px; gap: 3px; }
  .house-scene { overflow: hidden; }
  .house-scene > svg { width: 100%; height: 100%; }
  .house-scene .house-layer { transition-duration: .4s; }
  .stage-footer { padding: 8px 0; font-size: 8px; }
  .floor-story { min-height: 64svh; padding: 34px 0 50px; scroll-margin-top: calc(max(220px,36svh) + 18px); }
  .floor-marker { margin-bottom: 24px; font-size: 9px; }
  .floor-story h3 { font-size: clamp(33px,8.3vw,47px); margin-bottom: 18px; }
  .floor-story .eyebrow { font-size: 8px; }
  .floor-story-copy > p:not(.eyebrow) { max-width: none; font-size: 13px; line-height: 1.75; }
  .floor-story ul { font-size: 11px; margin-bottom: 18px; }
  .floor-story li { padding: 9px 0; }
  .story-link { font-size: 11px; }
  .house-endnote { margin-top: 16px; gap: 17px; align-items: flex-start; flex-wrap: wrap; padding: 29px 0; }
  .house-endnote > span { font-size: 25px; }
  .house-endnote p { flex: 1; min-width: 75%; font-size: 12px; }
  .house-endnote .text-link { margin-left: 42px; }
}
@media(prefers-reduced-motion:reduce) { .house-scene .house-layer { transition: none; } }

/* Opaque mobile stage: story text passes below the house, never above it. */
@media(max-width:760px){
 .house-stage{isolation:isolate;background:var(--paper);}
 .house-stage::before{content:"";position:absolute;z-index:-1;top:-80px;bottom:0;left:-6vw;right:-6vw;background:var(--paper);pointer-events:none;}
 .floor-stories{position:relative;z-index:0;clip-path:inset(var(--story-clip-top,0px) 0 0 0);}
}
