/* The illustrated room surrounds the interface. Article and fallback content
   use the existing readable palette; only the room controls use ivory ink. */
html[data-page=home]{background:#0c1929}
body{isolation:isolate;background:#0c1929}
.room-world{position:fixed;inset:0;z-index:-3;overflow:hidden;pointer-events:none}
.room-background{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;transition:opacity .42s ease;opacity:0}
.study-ambience{position:absolute;max-width:none;pointer-events:none;contain:strict}
.study-ambience[hidden],.drawer-open .study-ambience,.room-motion-static .study-ambience,.room-traveling .study-ambience{display:none}
[data-room=workroom] .background-workroom,[data-room=hearth] .background-hearth,[data-room=study] .background-study,[data-room=entry] .background-entry{opacity:1}
.room-window-light{position:absolute;inset:0;background:radial-gradient(ellipse at 56% 45%,#bedbd614,transparent 48%);opacity:.45}
[data-mode=personal] .room-window-light{background:radial-gradient(ellipse at 59% 55%,#f3bb7319,transparent 48%)}
.room-atmosphere{position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,#0c181ddd 0%,#0c181d90 28%,#0c181d12 55%,#0c181d12 100%),linear-gradient(0deg,#0b141cd9 0%,transparent 28%,transparent 76%,#0b141c8a 100%)}
[data-mode=personal] .room-atmosphere{background:linear-gradient(90deg,#101c2acf 0%,#101c2a80 28%,#101c2a08 55%,#101c2a08 100%),linear-gradient(0deg,#0c1929d9 0%,transparent 28%,transparent 76%,#0c19298a 100%)}
.site-header{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:5;min-height:112px;border-bottom:1px solid #f4e9d229;--ink:#f1edde;--muted:#d4d8cf;--accent:#dfbc90;--rule:#f4e9d229;--edge:#bac6ba;color:var(--ink)}
.site-header .main-nav{gap:24px}
.mode-room-name{color:#d0d3c8}
.skip-link{z-index:100;background:#142b32;color:#f1edde}
.room-experience{position:relative;min-height:100dvh;--room-ink:#f1edde;--room-muted:#d4d8cf;--room-accent:#dfbc90}
.room-welcome.shell,.room-wayfinding.shell,[data-page=home] .site-header{max-width:none}
.room-welcome{min-height:100dvh;padding-top:max(164px,calc((100dvh - 430px)/2));padding-bottom:116px;pointer-events:none;color:var(--room-ink)}
.room-welcome>*{max-width:450px;pointer-events:auto}
.room-welcome .hero-identity{margin:0 0 27px;width:100%;gap:16px;display:flex;align-items:center}
.room-welcome .identity-image{position:relative;inset:auto;width:60px;height:66px;flex-shrink:0;border:1px solid #e8e4ce59;background:#1b3033;color:#dfbc90;opacity:1}
.room-welcome .portrait-monogram{font-size:46px;font-weight:500}
.room-welcome .greeting-copy p:first-child{font-size:16px;line-height:1.35;color:var(--room-ink)}
.room-welcome .greeting-copy p:last-child{font-size:12px;line-height:1.4;color:var(--room-muted);margin-top:6px}
.room-introduction .eyebrow{color:var(--room-accent);font-size:10px;letter-spacing:.17em}
.room-introduction h1{font-size:clamp(58px,5.2vw,90px);font-weight:420;letter-spacing:-.064em;line-height:1; margin:19px 0 22px;color:var(--room-ink)}
.room-introduction h1 em{font-family:Cormorant,Georgia,serif;font-weight:500;letter-spacing:-.052em}
.room-intro{font-size:18px;line-height:1.65;max-width:310px;color:var(--room-muted)}
.room-intro-link{display:inline-flex;align-items:center;gap:38px;min-height:44px;border-bottom:1px solid var(--room-accent);margin-top:24px;padding-block:9px;font-size:14px;color:var(--room-ink)}
.room-intro-link span{color:var(--room-accent);transition:transform .25s}
.room-intro-link:hover span{transform:translate(2px,-2px)}
.room-hotspots{position:fixed;inset:0;pointer-events:none}
.room-hotspot{position:absolute;display:flex;align-items:center;gap:12px;min-height:64px;min-width:140px;padding:13px 17px;pointer-events:auto;transform:translate(-50%,-50%);border:1px solid #e5ddc842;border-bottom-color:#dfbc9099;background:#14283bc9;color:#f1edde;box-shadow:0 8px 25px #0002;backdrop-filter:blur(6px);transition:background .3s,border-color .3s}
[data-mode=personal] .room-hotspot{background:#14283bce}
.room-hotspot:hover,.room-hotspot:focus-visible{background:#20394bef;border-color:#dfbc90}
.room-hotspot strong{display:block;font-size:15px;font-weight:500;line-height:1.25;white-space:nowrap}
.room-hotspot small{display:block;font-size:10px;line-height:1.4;color:#d4d8cf;margin-top:5px;white-space:nowrap}
.hotspot-number{font-family:Cormorant,Georgia,serif;font-size:17px;color:#dfbc90;align-self:flex-start;line-height:1.25}
.hotspot-arrow{font-size:15px;color:#dfbc90;margin-left:7px;transition:transform .3s}
.room-hotspot:hover .hotspot-arrow{transform:translate(2px,-2px)}
.hotspot-feature{left:var(--hotspot-x,57%);top:var(--hotspot-y,64%)}
.hotspot-door{left:var(--hotspot-x,85%);top:var(--hotspot-y,45%);min-width:180px}

@media(min-width:1101px){.room-introduction[data-mode-view=personal]{max-width:500px}}
@media(min-width:1800px){.room-introduction[data-mode-view=personal]{max-width:620px}}
.hotspot-door .mode-door{width:16px;height:24px;color:#dfbc90;border-color:#c5bc9d}
.room-wayfinding{position:absolute;bottom:calc(68px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:24px;color:var(--room-muted);border-top:1px solid #e8e4ce2e;padding-top:18px}
.room-location{display:flex;align-items:center;gap:10px;min-width:0}
.room-location-dot{height:5px;width:5px;background:#dfbc90;transform:rotate(45deg);flex-shrink:0}
.room-location p{font-size:11px;letter-spacing:.05em;line-height:1.4}
.room-wayfinding .room-location>p{color:var(--room-muted);font-size:11px;max-width:none}
.room-quick-links{display:flex;gap:27px;align-items:center;font-size:12px;color:var(--room-ink)}
.room-quick-links a{display:inline-flex;align-items:center;gap:7px;min-height:44px}
.room-quick-links a>span:last-child{color:var(--room-accent)}
.room-travel-note{position:fixed;z-index:8;bottom:15%;left:50%;transform:translateX(-50%);opacity:0;pointer-events:none;font-family:Cormorant,Georgia,serif;font-size:27px;color:#f1edde;text-shadow:0 2px 18px #000;background:#14283bde;padding:10px 25px;border-block:1px solid #dfbc9050;white-space:nowrap;transition:opacity .16s}
.room-traveling .room-travel-note{opacity:1}
.room-traveling .room-welcome,.room-traveling .room-hotspots{opacity:0;pointer-events:none}
.room-welcome,.room-hotspots{transition:opacity .22s}
.room-drawer{position:relative;margin:0 auto 64px;border:1px solid var(--rule);padding:0;background:var(--paper);color:var(--ink);width:min(1080px,calc(100% - 72px));max-width:none;box-shadow:0 24px 100px #0007}
.room-drawer-header{padding:32px 42px 26px;border-bottom:1px solid var(--rule);display:flex;align-items:center;justify-content:space-between;gap:24px}
.room-drawer-header h2{font-family:Cormorant,Georgia,serif;font-size:35px;line-height:1.1;margin-top:6px;letter-spacing:-.025em}
.room-drawer-header .eyebrow{color:var(--ink)}
.room-close{display:none;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid var(--edge);background:none;font-size:12px;flex-shrink:0}
.room-close>span:first-child{font-size:23px;line-height:1}
.room-fallback-close{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
.room-drawer .shell{width:calc(100% - 84px);max-width:none}
.room-drawer .projects-section{padding:40px 0 46px}
.room-drawer .section-heading{margin-bottom:28px}
.room-drawer .section-heading h2{font-size:39px}
.room-drawer .featured-project{gap:40px;padding-bottom:34px}
.room-drawer .featured-project h3{font-size:56px}
.room-drawer .project-grid{gap:35px 30px}
.room-drawer .project-art{height:250px;padding:18px}
.room-drawer .featured-project .project-art{height:auto}
.room-drawer .about-section{padding-block:52px;border:0;gap:35px}
.room-drawer .contact-section{padding-block:56px}
.room-drawer .contact-section h2{font-size:44px}
.room-drawer .contact-mark{display:none}
.experience-ready .room-drawer{position:fixed;inset:0;margin:auto;width:min(1080px,calc(100% - 72px));max-height:calc(100dvh - 64px);overflow:auto;overscroll-behavior:contain}
.experience-ready .room-drawer::backdrop{background:#091522d9;backdrop-filter:blur(2px)}
.experience-ready .room-drawer[open]{animation:room-panel-enter .3s cubic-bezier(.2,.7,.3,1)}
.experience-ready .room-drawer-header{position:sticky;top:0;z-index:2;background:var(--paper)}
.experience-ready .room-close{display:inline-flex}
.experience-ready .room-fallback-close{display:none}
.experience-ready .room-drawer .section-heading{display:none}
.drawer-open .room-welcome,.drawer-open .room-hotspots,.drawer-open .room-wayfinding{visibility:hidden}
.drawer-open .room-signature,.drawer-open .house-map-control{visibility:hidden}
[data-page=home] .site-footer{--muted:#c3cec3;color:#c3cec3;--accent:#dfbc90}
[data-page=home].experience-ready .site-footer{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);padding:0;min-height:26px;border:0;z-index:3;color:#c3cec3;--muted:#c3cec3;--accent:#dfbc90}
[data-page=home].experience-ready .site-footer p{font-size:10px}
[data-page=home].experience-ready .site-footer .maker-mark{width:18px;height:22px;opacity:.65}
[data-page=project] .site-footer,[data-page=writing] .site-footer{color:#c3cec3;--muted:#c3cec3;--accent:#dfbc90}
[data-page=project] .article-shell,[data-page=writing] .article-shell{margin:148px auto 64px;width:min(1080px,calc(100% - 112px));padding:48px 60px 38px;border:1px solid var(--rule);background:var(--paper);box-shadow:0 24px 100px #0005}
.room-drawer .room-reader.article-shell{width:calc(100% - 84px);max-width:none;margin:0 auto;padding:32px 0 38px;background:none;border:0;box-shadow:none}
.room-drawer .room-reader .article-header{margin-top:20px}
.room-drawer .room-reader .article-header h1{font-size:clamp(44px,5vw,76px)}
.room-drawer .room-reader .project-art-large.has-image{height:auto;min-height:0;aspect-ratio:auto;padding:0}
.room-reader .article-body{max-width:680px}
.room-loading-note{padding:45px 42px;color:var(--muted)}
@keyframes room-panel-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes room-light-settle{from{opacity:.1;transform:translateX(-7px)}to{opacity:.45;transform:translateX(0)}}
.experience-ready .room-window-light{animation:room-light-settle 2.2s ease-out 1}
.room-motion-static .room-world,.room-motion-static .room-background,.room-motion-static .room-window-light,.room-motion-static .room-welcome,.room-motion-static .room-hotspots,.room-motion-static .room-drawer[open]{animation:none!important;transition:none!important}

.room-motion-static *,.room-motion-static *::before,.room-motion-static *::after{animation:none!important;transition:none!important}
@media(min-width:1800px){.room-welcome>*{max-width:520px}.room-introduction h1{font-size:98px}.room-intro{font-size:20px;max-width:350px}.room-hotspot{min-height:70px;padding:16px 21px}.room-hotspot strong{font-size:17px}.room-hotspot small{font-size:11px}}
@media(max-width:1100px){.site-header{gap:24px}.site-header .main-nav{gap:18px}.room-welcome>*{max-width:380px}.room-introduction h1{font-size:60px}.room-hotspot{min-width:120px;padding:12px}.hotspot-door{min-width:168px}.hotspot-about{left:70%;top:33%}.room-quick-links{gap:18px}}
@media(max-width:850px){.site-header .main-nav{display:none}.room-welcome>*{max-width:350px}.room-welcome{padding-top:164px;padding-bottom:140px}.room-introduction h1{font-size:58px}.hotspot-work{left:64%;top:67%}.hotspot-about{left:72%;top:30%}.hotspot-door{left:82%;top:47%}.room-quick-links{gap:15px}.room-quick-links a{font-size:11px}.room-drawer .featured-project{grid-template-columns:1fr;gap:22px}.room-drawer .featured-project .card-copy{grid-column:1;grid-row:1}.room-drawer .featured-project .project-art{grid-column:1;grid-row:2}.room-drawer .featured-project .card-copy>p:not(.project-kind){max-width:100%}.room-drawer .project-notes{grid-template-columns:1fr;gap:24px}}
@media(max-width:600px){
  .site-header{min-height:144px;padding-top:20px;padding-bottom:17px;gap:13px;display:flex;flex-wrap:wrap;align-content:flex-start}
  .site-header .home-link{width:100%;min-height:37px}.site-header .home-name{font-size:26px}.site-header .maker-mark{width:29px;height:34px}.site-header .home-caption{font-size:7px;margin-top:5px}
  .site-header .mode-nav{width:100%}.site-header .mode-caption{display:none}.site-header .mode-control{justify-content:flex-start;gap:19px}.site-header .mode-control a{flex:1;min-height:46px}.site-header .mode-control .mode-divider{margin-right:0}
  .room-background{object-position:72% center}
  .room-atmosphere,[data-mode=personal] .room-atmosphere{background:linear-gradient(90deg,#12231ddb,#12231d7a),linear-gradient(0deg,#112018f0,transparent 62%,#11201860)}
  .room-welcome{padding-top:max(174px,calc((100dvh - 520px)/2));padding-bottom:230px;min-height:100dvh}.room-welcome>*{max-width:100%}.room-welcome .hero-identity{margin-bottom:22px;gap:13px}.room-welcome .identity-image{width:51px;height:57px}.room-welcome .greeting-copy p:first-child{font-size:15px}.room-welcome .greeting-copy p:last-child{font-size:11px}
  .room-introduction .eyebrow{font-size:9px}.room-introduction h1{font-size:clamp(46px,11.7vw,65px);line-height:.98;margin:16px 0 19px}.room-intro{font-size:17px;line-height:1.55;max-width:280px}.room-intro-link{margin-top:17px;font-size:13px;gap:34px}
  .room-hotspots{inset:auto max(20px,env(safe-area-inset-right,0px)) calc(122px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:stretch}.room-hotspot{position:relative;inset:auto;transform:none;min-width:0;min-height:60px;padding:11px 12px;gap:9px}.room-hotspot strong{font-size:14px}.room-hotspot small{font-size:9px}.room-hotspot .hotspot-arrow{margin-left:auto}.hotspot-work .hotspot-number,.hotspot-about .hotspot-number{display:none}.hotspot-door{grid-column:1/-1;min-height:54px}.hotspot-door strong,.hotspot-door small{display:inline}.hotspot-door small{margin:0 0 0 10px}
  .room-wayfinding{bottom:calc(57px + env(safe-area-inset-bottom,0px));padding-top:12px;gap:10px}.room-wayfinding .room-quick-links{display:none}.room-wayfinding .room-location>p{font-size:10px}.room-location-dot{height:4px;width:4px}.room-travel-note{font-size:22px;bottom:22%;padding:8px 16px}
  .room-drawer,.experience-ready .room-drawer{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.room-drawer-header{padding:22px 21px 19px;gap:14px;align-items:flex-start}.room-drawer-header h2{font-size:29px}.room-drawer-header .eyebrow{font-size:9px}.room-close{padding:7px 10px;min-width:44px}.room-close>span:last-child{display:none}
  .room-drawer .shell{width:calc(100% - 42px)}.room-drawer .section-heading h2{font-size:32px}.room-drawer .section-heading .eyebrow{font-size:9px}.room-drawer .projects-section{padding-top:27px}.room-drawer .featured-project h3{font-size:45px}.room-drawer .featured-project .card-copy>p:not(.project-kind){font-size:18px}.room-drawer .project-grid{grid-template-columns:1fr;gap:30px}.room-drawer .project-art{height:auto;min-height:170px;aspect-ratio:1.44;padding:12px}.room-drawer .project-art.mobile-art{aspect-ratio:auto;min-height:0;padding:18px 12px}.room-drawer .card-copy h3{font-size:26px}.room-drawer .card-copy>p:not(.project-kind){font-size:16px}.room-drawer .about-section{display:block;padding-block:32px}.room-drawer .about-copy{margin-top:25px}.room-drawer .contact-section{padding-block:30px}.room-drawer .contact-section h2{font-size:34px}.room-drawer .contact-link{font-size:16px;gap:18px}
  [data-page=project] .article-shell,[data-page=writing] .article-shell{width:calc(100% - 24px);margin:166px auto 32px;padding:27px 21px}.room-drawer .room-reader.article-shell{width:calc(100% - 42px);padding-top:25px}.room-drawer .room-reader .article-header h1{font-size:43px}.room-drawer .room-reader .article-deck{font-size:19px}.room-drawer .room-reader .project-figure{width:100%;margin-inline:0}
  .room-loading-note{padding:30px 21px}
}
@media(max-width:360px){.room-hotspots{inset-inline:20px}.room-hotspot small{font-size:8px}.hotspot-door small{margin-left:7px;font-size:9px}.room-introduction h1{font-size:44px}.room-welcome{padding-bottom:240px}.room-drawer-header h2{font-size:26px}}
@media(max-width:600px) and (max-height:780px){
  .experience-ready .room-welcome{height:100dvh;min-height:0;padding-top:154px;padding-bottom:190px}
  .room-welcome .hero-identity{margin-bottom:14px}.room-welcome .identity-image{width:42px;height:44px}
  .room-introduction h1{font-size:clamp(38px,11.5vw,44px);margin:10px 0 13px}.room-intro{font-size:15px;line-height:1.4}.room-intro-link{display:none}
  .room-hotspots{bottom:calc(100px + env(safe-area-inset-bottom,0px));gap:8px}.room-hotspot{min-height:57px}.hotspot-door{min-height:51px}
}
@media(prefers-reduced-motion:reduce){.room-world,.room-background,.room-window-light,.room-welcome,.room-hotspots,.room-hotspot,.room-travel-note,.room-intro-link span,.hotspot-arrow,.experience-ready .room-drawer[open]{animation:none!important;transition:none!important}.room-world{transform:none!important}}
@media(prefers-reduced-motion:reduce){.study-ambience{display:none!important}}

.shell{width:calc(100% - 2 * max(56px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px)))}
.site-header{padding-top:env(safe-area-inset-top,0px)}
[data-page=home] .site-header .main-nav,.experience-ready .room-intro-link,.room-wayfinding .room-quick-links{display:none}
@media(min-width:1101px) and (min-height:651px) and (min-aspect-ratio:8/5){
  .room-welcome>*{max-width:30vw}.room-introduction[data-mode-view=personal]{max-width:30vw}
}
/* Once furniture is cropped, the labels become a dependable navigation dock. */
@media(max-width:1100px),(max-height:650px),(max-aspect-ratio:8/5){
  .room-hotspots{inset:auto max(36px,env(safe-area-inset-right,0px)) calc(116px + env(safe-area-inset-bottom,0px)) max(36px,env(safe-area-inset-left,0px));display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:12px}
  .room-hotspot{position:relative;inset:auto;transform:none;min-width:0;padding:12px;gap:10px}
  .room-hotspot .hotspot-arrow{margin-left:auto}.hotspot-work .hotspot-number,.hotspot-about .hotspot-number{display:none}
}
@media(max-width:600px){
  .shell{width:calc(100% - 2 * max(20px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px)))}
  .site-header{padding-top:max(20px,env(safe-area-inset-top,0px))}
  .room-hotspots{inset-inline:max(20px,env(safe-area-inset-left,0px)) max(20px,env(safe-area-inset-right,0px));grid-template-columns:1fr 1fr;gap:10px;bottom:calc(122px + env(safe-area-inset-bottom,0px))}
  .room-hotspot{padding:11px 12px;gap:9px}.hotspot-door{grid-column:1/-1}
}
@media(max-width:600px) and (max-height:780px){.room-hotspots{bottom:calc(100px + env(safe-area-inset-bottom,0px));gap:8px}}
/* Phone landscape uses two compact text columns above a single navigation row. */
@media(max-height:650px) and (min-width:601px){
  .shell{width:calc(100% - 2 * max(28px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px)))}
  .site-header{min-height:82px;padding-block:max(12px,env(safe-area-inset-top,0px)) 10px;flex-wrap:nowrap;gap:20px}
  .site-header .home-name{font-size:24px}.site-header .maker-mark{width:28px;height:32px}.site-header .home-caption{font-size:6px}
  .site-header .mode-nav{width:240px;margin:0}.site-header .mode-caption{display:none}.site-header .mode-control{gap:12px}.site-header .mode-control a{font-size:11px;min-height:44px}
  .experience-ready .room-welcome{height:100dvh;min-height:0;padding-top:100px;padding-bottom:128px}
  .room-welcome>*{max-width:860px}.room-welcome .hero-identity{margin-bottom:12px;gap:11px}.room-welcome .identity-image{width:34px;height:36px}.room-welcome .greeting-copy p:first-child{font-size:13px}.room-welcome .greeting-copy p:last-child{display:none}
  .room-introduction{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.room-introduction[hidden]{display:none}
  .room-introduction .eyebrow{display:none}.room-introduction h1{font-size:36px;margin:0;line-height:.96;max-width:100%}.room-intro{font-size:14px;line-height:1.45;max-width:330px;padding:10px 14px;background:#14283bde;color:#f1edde}
  .room-hotspots{inset-inline:max(28px,env(safe-area-inset-left,0px)) max(28px,env(safe-area-inset-right,0px));bottom:calc(61px + env(safe-area-inset-bottom,0px));gap:10px}
  .room-hotspot{min-height:52px;padding:9px 12px}.room-hotspot strong{font-size:13px}.room-hotspot small{font-size:9px}
  .room-wayfinding{bottom:calc(28px + env(safe-area-inset-bottom,0px));padding-top:9px}.room-wayfinding .room-location>p{font-size:9px}
  [data-page=home].experience-ready .site-footer{bottom:calc(4px + env(safe-area-inset-bottom,0px))}.site-footer .maker-mark{display:none}
  .room-travel-note{bottom:calc(68px + env(safe-area-inset-bottom,0px));font-size:22px}
  [data-page=project] .article-shell,[data-page=writing] .article-shell{margin-top:106px}
  .experience-ready .room-drawer{max-height:calc(100dvh - max(24px,env(safe-area-inset-top,0px)) - max(24px,env(safe-area-inset-bottom,0px)))}
}

/* Each scene exposes only the objects and real doorways in its room. */
.room-explore-hint{font-size:11px;color:var(--room-muted)}
.room-hotspots [data-room-out-of-view]{left:50%;top:auto;bottom:calc(128px + env(safe-area-inset-bottom,0px));transform:translateX(-50%)}
/* A quiet destination strip keeps controls clear of the room composition,
   including doorways outside the selected camera’s field of view. */
@media(min-width:1101px) and (min-height:651px) and (min-aspect-ratio:8/5){
  .room-hotspots{inset:auto auto calc(128px + env(safe-area-inset-bottom,0px)) 50%;width:max-content;max-width:calc(100% - 72px);transform:translateX(-50%);display:grid;grid-template-columns:repeat(var(--room-link-count),minmax(0,1fr));gap:14px}
  .room-hotspots .room-hotspot{position:relative;inset:auto;transform:none;min-width:180px}
  .room-hotspots .hotspot-number{display:none}
  .room-hotspots .hotspot-arrow{margin-left:auto}
}
/* Keep a full line of breathing room above the dock on laptop-height screens. */
@media(min-width:1101px) and (min-height:651px) and (max-height:850px) and (min-aspect-ratio:8/5){
  .room-welcome{padding-top:140px}
  .room-welcome .hero-identity{margin-bottom:20px}
  .room-welcome .identity-image{width:48px;height:52px}
  .room-introduction h1{font-size:clamp(42px,calc(9dvh - 18px),58px);margin:14px 0 16px}
  .room-intro{font-size:17px;line-height:1.5}
}
.room-drawer .about-copy>div+div{margin-top:34px}.room-drawer .about-copy h3{font-family:Cormorant,Georgia,serif;font-size:29px;font-weight:500;margin-bottom:14px}.room-drawer .about-copy p+p{margin-top:14px}
.experience-ready .room-drawer:has([data-room-panel=plan]:not([hidden])){--paper:#dfcda6;--ink:#403123;--muted:#443224;--accent:#5b301e;--rule:#b69a6d;--edge:#937348;border-color:#a08050}
.experience-ready .room-drawer:has([data-room-panel=plan]:not([hidden])) .room-drawer-header{background:linear-gradient(90deg,#76502112,transparent 55%),#dfcda6;color:var(--ink);border-bottom-color:#b69a6d}
.experience-ready .room-drawer:has([data-room-panel=plan]:not([hidden])) .room-close:hover{background:#f9edcd61;border-color:#705332}
.experience-ready .room-drawer:has([data-room-panel=plan]:not([hidden])) .room-close:focus-visible{outline:2px solid #403123;outline-offset:3px}
.home-plan{--plan-paper:#dfcda6;--plan-ink:#403123;--plan-muted:#443224;--plan-accent:#5b301e;--plan-rule:#b69a6d;padding:40px 42px 46px;color:var(--plan-ink);background:radial-gradient(ellipse at 2% 12%,#77512124,transparent 48%),radial-gradient(ellipse at 98% 96%,#77431929,transparent 54%),linear-gradient(104deg,transparent 47%,#fff6dc24 49%,#79552d0b 50%,transparent 52%),var(--plan-paper);box-shadow:inset 0 0 50px #70461b16,inset 0 1px 0 #fff1cf66}.home-plan-heading .eyebrow{color:var(--plan-accent)}.home-plan-heading h2{font-family:Cormorant,Georgia,serif;font-size:44px;font-weight:500;line-height:1.1;letter-spacing:-.035em;margin:10px 0 15px;color:var(--plan-ink)}.home-plan-intro{max-width:600px;font-size:16px;line-height:1.6;color:var(--plan-muted)}.home-plan-current{font-size:12px;margin-top:17px;color:var(--plan-muted)}.home-plan-current strong{color:var(--plan-ink);font-weight:500}
.home-plan-layout{position:relative;margin:18px auto 0;max-width:960px;aspect-ratio:780/430;color:var(--plan-ink)}
.home-plan-drawing{position:absolute;inset:0;width:100%;height:100%}.home-plan-grain{opacity:.35}.home-plan-fill{fill:#aa8150;opacity:.025;transition:fill .3s,opacity .3s}
.home-plan[data-plan-current=workroom] .fill-workroom,.home-plan[data-plan-current=hearth] .fill-hearth,.home-plan[data-plan-current=study] .fill-study,.home-plan[data-plan-current=entry] .fill-entry{fill:#9d6737;opacity:.075}
.home-plan-walls{opacity:.84}.home-plan-wall-trace{opacity:.44}.home-plan-doors{opacity:.76}.home-plan-door-swing{opacity:.57}.home-plan-entrance{opacity:.62}.home-plan-carving{opacity:.43}.home-plan-furniture{opacity:.24}.home-plan-compass{opacity:.72}.home-plan-compass text{font:22px Cormorant,Georgia,serif}.home-plan-small-labels{display:none;font:24px Cormorant,Georgia,serif}
.home-plan-rooms{list-style:none;margin:0;padding:0}.home-plan-position{position:absolute;left:var(--plan-x);top:var(--plan-y);width:27%;transform:translate(-50%,-50%)}
.home-plan-room{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;min-height:100px;padding:16px 12px;border:1px solid transparent;transition:background .2s,border-color .2s}
.home-plan-room:hover,.home-plan-room:focus-visible{background:#f9edcd61;border-color:var(--plan-rule)}.home-plan-room:focus-visible{outline:2px solid var(--plan-ink);outline-offset:3px}.home-plan-room-name{font-family:Cormorant,Georgia,serif;font-size:31px;line-height:1.1}.home-plan-room-purpose{font-size:13px;font-weight:500;line-height:1.4}.home-plan-room-description{font-size:11px;line-height:1.6;max-width:190px;color:var(--plan-muted)}.home-plan-room-cue{font-size:10px;line-height:1.3;letter-spacing:.05em;color:var(--plan-accent);margin-top:2px}.home-plan-room[aria-current]{border-color:var(--plan-rule)}
.plan-position-entry{width:14%}.plan-room-entry{padding:6px;min-height:90px;gap:5px}.plan-room-entry .home-plan-room-name{font-size:25px}.plan-room-entry .home-plan-room-purpose{font-size:11px}.plan-room-entry .home-plan-room-description{display:none}.home-plan-outside{position:absolute;bottom:0;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:.03em;white-space:nowrap;color:var(--plan-muted)}
@media(max-width:1100px),(max-height:650px),(max-aspect-ratio:8/5){
  .room-hotspots{grid-template-columns:repeat(var(--room-link-count),minmax(0,1fr));align-items:stretch}
  .room-hotspots [data-room-out-of-view],.room-hotspots .hotspot-door{position:relative;inset:auto;transform:none;grid-column:auto;min-width:0}
  .room-hotspots .hotspot-door strong,.room-hotspots .hotspot-door small{display:block}.room-hotspots .hotspot-door small{margin:5px 0 0}
  .room-hotspots .hotspot-number{display:none}
}
@media(max-width:800px){
  .home-plan{padding:28px 25px 34px}.home-plan-heading h2{font-size:36px}.home-plan-room-name{font-size:24px}.home-plan-room-description{display:none}.home-plan-room{padding:10px 6px;min-height:90px}.home-plan-room-purpose{font-size:11px}.plan-room-entry .home-plan-room-name{font-size:21px}.plan-room-entry .home-plan-room-purpose{font-size:10px}
}
@media(max-width:600px){
  .site-header{min-height:130px;flex-wrap:wrap;align-content:center;gap:0;padding-block:18px 10px}.site-header .home-link{min-height:35px;width:auto}.site-header .home-navigation{margin-top:8px}.room-welcome{padding-top:max(176px,calc((100dvh - 490px)/2));padding-bottom:240px}
  .room-hotspots{grid-template-columns:repeat(2,minmax(0,1fr));bottom:calc(96px + env(safe-area-inset-bottom,0px));gap:10px}.room-hotspots .hotspot-door{min-height:57px}.room-hotspots .mode-door{display:none}.room-hotspots .hotspot-arrow{margin-left:auto}.room-hotspot strong{font-size:13px}.room-hotspot small{font-size:9px;white-space:normal}.room-explore-hint{display:none}.room-travel-note{max-width:calc(100% - 30px);font-size:21px;white-space:normal;text-align:center}
  .home-plan{padding:28px 21px 30px}.home-plan-heading h2{font-size:34px}.home-plan-intro{font-size:15px}.home-plan-layout{aspect-ratio:auto;margin-top:20px}.home-plan-drawing{position:relative;aspect-ratio:780/430;height:auto;display:block}.home-plan-small-labels{display:block}.home-plan-outside{top:calc((100vw - 66px)*430/780 - 4px);bottom:auto;font-size:8px}
  .home-plan-rooms{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.home-plan-position{position:relative;inset:auto;transform:none;width:auto}.home-plan-room,.plan-room-entry{align-items:flex-start;text-align:left;min-height:112px;padding:14px 12px;gap:8px;border-color:var(--plan-rule)}.home-plan-room-name,.plan-room-entry .home-plan-room-name{font-size:25px}.home-plan-room-purpose,.plan-room-entry .home-plan-room-purpose{font-size:12px}.home-plan-room[aria-current]{background:#f9edcd61}
}
@media(max-width:600px) and (max-height:780px){
  .experience-ready .room-welcome{padding-top:156px;padding-bottom:230px}.room-welcome .hero-identity{margin-bottom:13px}.room-introduction h1{font-size:clamp(36px,10.4vw,43px)}.room-intro{font-size:14px;line-height:1.45;max-width:270px}.room-hotspots{bottom:calc(85px + env(safe-area-inset-bottom,0px));gap:8px}.room-hotspot,.room-hotspots .hotspot-door{min-height:54px;padding:9px 11px}
}
@media(max-height:650px) and (min-width:601px){
  .site-header{min-height:82px;flex-wrap:nowrap;gap:20px}.site-header .home-navigation{width:auto;margin-top:0;gap:14px}.site-header .house-nav{gap:17px;font-size:11px}.site-header .home-plan-trigger span{display:none}.room-hotspots{bottom:calc(61px + env(safe-area-inset-bottom,0px));gap:9px}.room-hotspot strong{font-size:12px}.room-hotspots .hotspot-door{min-height:52px}.room-hotspots .mode-door{display:none}.room-explore-hint{display:none}.home-plan-room-description{display:none}
}
@media(prefers-reduced-motion:reduce){.home-plan-fill,.home-plan-room{transition:none}}
@media(min-width:601px) and (min-height:651px){
  .room-drawer:has([data-room-panel=plan]:not([hidden])) .room-drawer-header{padding-block:20px 18px}
  .home-plan{padding-block:24px 20px}.home-plan-heading h2{font-size:36px;margin:9px 0 10px}.home-plan-intro{font-size:14px;line-height:1.5;max-width:720px}.home-plan-current{margin-top:10px;font-size:11px}
  .home-plan-layout{width:min(100%,calc((100dvh - 360px)*780/430),830px);margin-top:10px}.home-plan-room-name{font-size:26px}.home-plan-room{padding:9px 8px;min-height:90px;gap:6px}.home-plan-room-description{font-size:10px;line-height:1.5}.home-plan-room-purpose{font-size:12px}.plan-room-entry{min-height:84px;padding:6px}.plan-room-entry .home-plan-room-name{font-size:22px}.plan-room-entry .home-plan-room-purpose{font-size:10px}
}

/* Keep the left-hand doors legible on the two scenes composed around them. */
@media(min-width:1101px) and (min-height:651px) and (min-aspect-ratio:8/5){
  .room-introduction[data-room-view=hearth],.room-introduction[data-room-view=study]{left:calc(26vw - max(56px,env(safe-area-inset-left,0px)));max-width:min(390px,31vw)}
}
/* On phones, contrast belongs to the text and edges, leaving the room visible. */
@media(max-width:600px){
  .room-atmosphere,[data-mode=personal] .room-atmosphere{background:linear-gradient(0deg,#0c1929b8 0%,#0c192918 20%,transparent 58%,#0c192926 100%)}
  .background-workroom{object-position:56% center}.background-entry{object-position:32% center}
  .room-welcome .room-introduction{max-width:min(280px,calc(100vw - 40px));isolation:isolate;text-shadow:0 2px 12px #071521cc}
  .room-welcome .room-introduction::before{content:"";position:absolute;inset:-18px -16px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 10% 42%,#102438e6 0%,#102438b5 55%,#10243830 78%,transparent 100%)}
  .room-welcome .room-introduction[data-room-view=study]{max-width:220px}
}
