*{box-sizing:border-box}body{margin:0;background:#f7f5ef;color:#2b322e;font:1rem/1.5 system-ui,sans-serif}main{max-width:1370px;margin:auto;padding:clamp(14px,3.2vw,52px)}header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.4rem}header p{margin:.35rem 0;color:#525b52}h1,h2{font-family:Georgia,serif;font-weight:400;margin:0;line-height:1.1}h1{font-size:clamp(2.4rem,5.4vw,5rem);letter-spacing:-.065em}h1 em{color:#78553e}h2{font-size:1.9rem}header a{color:inherit;text-underline-offset:.3em;font-size:.93rem}.workspace{display:grid;grid-template-columns:minmax(0,3.6fr) minmax(215px,1fr);border:1px solid #d0ccbf;border-radius:12px;overflow:hidden;background:#faf9f5}.board{background:#eae8e0;min-width:0;position:relative}.views,.rotation{display:flex;align-items:center;justify-content:center;gap:.35rem;padding:.7rem;flex-wrap:wrap}.views{position:relative;z-index:1}button{font:inherit;color:inherit;cursor:pointer}.views button,.rotation button,#close{border:1px solid #aaa99f;background:#f9f8f1;border-radius:5px;padding:.45rem .72rem;min-height:42px}.views button[aria-pressed=true]{background:#2e433b;color:white;border-color:#2e433b}button:focus-visible,a:focus-visible{outline:3px solid #995b3d;outline-offset:2px}#stage{height:clamp(330px,43vw,555px);position:relative}#view,#still{display:block;width:100%;height:100%;object-fit:contain}#view{touch-action:pan-y;cursor:grab}#view:active{cursor:grabbing}[hidden]{display:none!important}.rotation{font-size:.9rem;color:#444e47}.rotation button{font-size:1.25rem;line-height:1}.rotation span{min-width:10rem;text-align:center}.workspace aside{padding:clamp(1rem,2.3vw,2rem);border-inline-start:1px solid #d0ccbf}.label{margin:0 0 .75rem;font-size:.83rem;letter-spacing:.12em;text-transform:uppercase;color:#626d60}.samples{display:grid;gap:.65rem}.samples span{display:flex;align-items:center;gap:.7rem}.samples i{width:1.8rem;height:1.15rem;border:1px solid #0002;border-radius:2px}.note{margin-top:1.5rem;border-top:1px solid #d5d0c1;padding-top:1rem;font-size:.9rem}.references{margin:2rem 0}.references h2{margin-bottom:1rem}#gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.75rem}#gallery button{border:0;background:none;padding:0;text-align:left}#gallery img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;margin-bottom:.35rem;border-radius:4px}.photo-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem}.photo-head h2{font-size:1.4rem}dialog{border:0;background:#faf9f5;color:inherit;padding:.35rem;max-width:94vw;max-height:94vh}dialog::backdrop{background:#222b24bb}dialog img{display:block;max-width:100%;max-height:77vh;object-fit:contain;margin:auto}
@media(max-width:750px){.workspace{display:block}.workspace aside{border-inline-start:0;border-top:1px solid #d0ccbf}.samples{display:flex;flex-wrap:wrap;column-gap:1rem}#gallery{grid-template-columns:repeat(3,1fr)}header{flex-wrap:wrap}.views{gap:.25rem}.views button{font-size:.9rem;padding:.45rem .5rem}}
.rotation a{color:inherit;margin-inline-start:.7rem;text-underline-offset:.22em}

.return-house { display: inline-block; margin-bottom: .85rem; color: inherit; text-underline-offset: .25em }

.room-pins {position:absolute;inset:0;pointer-events:none}
.room-pin {position:absolute;width:44px;height:44px;padding:0;transform:translate(-50%,-50%);border:0;background:transparent;pointer-events:auto;display:grid;place-items:center;border-radius:50%;color:white}
.room-pin::before {content:'+';display:grid;place-items:center;width:24px;height:24px;background:#314c40;border:2px solid white;border-radius:50%;box-shadow:0 1px 5px #0007;font:500 19px/1 system-ui}
.room-pin:hover,.room-pin:focus-visible {z-index:1}
.room-pin:hover::before,.room-pin:focus-visible::before {background:#744d35}
.room-tooltip {position:absolute;bottom:calc(100% - 4px);padding:.25rem .55rem;background:#293e35;border-radius:4px;color:white;font-size:.88rem;white-space:nowrap;pointer-events:none;opacity:0}
.room-pin:focus-visible .room-tooltip {opacity:1}
@media(hover:hover){.room-pin:hover .room-tooltip {opacity:1}}

/* Keep the signature below the interactive room markers. Exported stills carry their own signature. */
.firma-visor { display:none; position:absolute; inset:0; pointer-events:none; background:url("firma.svg") repeat; background-size:clamp(175px,23vw,285px) auto }
#view:not([hidden]) + .firma-visor { display:block; z-index:1 }
