/* The same studio experience in the illustrated gallery and studio pages. */
.home-studio{margin:0;padding:clamp(42px,6vw,86px) 6%;border-top:1px solid var(--line,#d2d0c8);border-bottom:1px solid var(--line,#d2d0c8);background:#ebe6da;color:#252723}
.home-studio-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(30px,6vw,90px);max-width:1440px;margin:auto}
.home-studio .eyebrow{color:#805442;font-size:10px;line-height:1.7;letter-spacing:.16em;text-transform:uppercase;margin:0 0 22px}
.home-studio h2{font:clamp(36px,4.5vw,66px)/1.08 var(--serif,Georgia,serif);letter-spacing:-.035em;margin:0 0 24px}
.home-studio h2 em{font-weight:400}
.home-studio p{font-size:15px;line-height:1.8;margin:0;max-width:560px}
.home-studio .studio-location{font-size:12px;margin:22px 0 0;color:#5b5d52}
.studio-features{margin:0;display:grid;gap:24px;align-content:start}
.studio-features>div{padding-bottom:24px;border-bottom:1px solid #c8c0b1}
.studio-features>div:last-child{border-bottom:0;padding-bottom:0}
.studio-features dt{font-size:17px;font-weight:600;line-height:1.4;margin-bottom:8px}
.studio-features dd{margin:0;font-size:14px;line-height:1.8;color:#55574e}
.home-studio .studio-inquiry{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;max-width:100%;min-height:48px;margin-top:28px;padding:10px 0;border-bottom:1px solid #805442;color:#343c2e;font-size:14px;font-weight:600;text-decoration:none}
.studio-inquiry span{font-size:22px}
.studio-inquiry:focus-visible{outline:2px solid #805442;outline-offset:6px}
.studio-inquiry:hover{color:#805442}
@media(max-width:700px){.home-studio{padding:42px 6%}.home-studio-layout{grid-template-columns:1fr;gap:34px}.home-studio h2{font-size:clamp(34px,8vw,46px)}.home-studio p{font-size:15px}.studio-features{gap:20px}.studio-features>div{padding-bottom:20px}}

/* Leave room below the final gallery section for the persistent Discman. */
.photo-studies-section + .home-studio{padding-bottom:max(160px,6vw)}

studio-photo-room{display:block;max-width:1440px;margin:48px auto 0;color:#252723}
.studio-room-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:8px}
.home-studio .studio-room-heading h3{font:clamp(27px,3vw,42px)/1.15 var(--serif,Georgia,serif);letter-spacing:-.025em;margin:0}
.home-studio .studio-room-heading p{font-size:12px;line-height:1.6;color:#5b5d52;max-width:260px}
.studio-room-stage{position:relative;padding:24px 0;touch-action:pan-y;isolation:isolate}
.studio-room-scene{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.studio-room-photo{display:block;min-width:0;margin:0;padding:8px;background:#f8f5ec;color:inherit;border:1px solid #ddd5c7;box-shadow:0 8px 22px #30281918;cursor:zoom-in}
.studio-room-photo img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:var(--photo-position,50% 50%);pointer-events:none;user-select:none}
.studio-room-controls{display:none}
.is-ready .studio-room-stage{height:clamp(420px,48vw,590px);overflow:hidden;perspective:1300px;background:radial-gradient(ellipse at 50% 50%,#fffaf188 0%,#e2d9c942 48%,transparent 73%);cursor:grab}
.is-ready .studio-room-stage::after{content:"";position:absolute;z-index:-1;width:66%;height:28%;left:17%;bottom:2%;border-radius:50%;background:radial-gradient(ellipse,#57472d1a,transparent 67%);transform:rotateX(60deg)}
.is-ready .studio-room-scene{pointer-events:none;position:absolute;inset:0;display:block;transform-style:preserve-3d;transform:translateX(var(--drag,0px)) rotateX(var(--look-y,0deg)) rotateY(var(--look-x,0deg));transition:transform .45s ease}
.is-ready .studio-room-photo{pointer-events:auto;--step:245px;position:absolute;left:50%;top:50%;width:clamp(240px,28vw,330px);padding:9px 9px 22px;transform:translate(-50%,-50%) translateX(calc(var(--offset)*var(--step))) translateZ(var(--depth)) rotateY(var(--turn)) rotateZ(var(--tilt));transform-style:preserve-3d;backface-visibility:hidden;box-shadow:14px 30px 30px #40321f20,0 3px 8px #40321f17;transition:transform .9s cubic-bezier(.22,.72,.2,1),filter .9s,box-shadow .9s;filter:brightness(.88);cursor:pointer}
.is-ready .studio-room-photo[hidden]{display:none}
.is-ready .studio-room-photo[data-offset="0"]{filter:none;box-shadow:12px 30px 35px #40321f28,0 3px 8px #40321f12;cursor:zoom-in}
.studio-room-photo:focus-visible,.studio-room-controls button:focus-visible,.studio-room-viewer button:focus-visible{outline:2px solid #805442;outline-offset:5px}
.is-ready .studio-room-controls{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;gap:18px;max-width:500px;margin:0 auto}
.studio-room-controls button{display:grid;place-items:center;width:48px;height:48px;border:1px solid #bdb3a1;border-radius:50%;background:transparent;color:#423c31;font-size:22px;cursor:pointer}
.studio-room-controls button:hover{background:#f8f4e9}
.studio-room-caption{text-align:center;min-width:0}
.home-studio .studio-room-caption p{margin:0;font-size:15px;line-height:1.5}
.studio-room-caption small{display:block;margin:4px 0 8px;font-size:10px;letter-spacing:.14em;color:#726652}
.studio-room-controls .studio-room-enlarge{display:inline-block;width:auto;height:auto;min-height:36px;border:0;border-radius:0;border-bottom:1px solid #8b7860;font-family:inherit;font-size:12px;line-height:1.5;padding:4px 0}
.is-dragging .studio-room-stage{cursor:grabbing}
.is-dragging .studio-room-scene{transition:none}
.studio-room-viewer{position:fixed;inset:0;width:min(96vw,1100px);max-width:96vw;max-height:95dvh;padding:16px;border:1px solid #a79b87;background:#f5f1e6;color:#252723;overflow:auto}
.studio-room-viewer::backdrop{background:#171916df;backdrop-filter:blur(5px)}
.studio-room-viewer button{display:block;min-width:80px;min-height:44px;margin:0 0 12px auto;border:1px solid #bdb3a1;background:transparent;color:inherit;cursor:pointer}
.studio-room-viewer figure{margin:0}
.studio-room-viewer img{display:block;margin:0 auto;max-width:100%;width:auto;height:auto;max-height:calc(90dvh - 115px);object-fit:contain}
.studio-room-viewer figcaption{text-align:center;font-size:14px;line-height:1.6;padding:14px 0 0}
@media(max-width:700px){
 studio-photo-room{margin-top:36px}
 .studio-room-heading{display:block}
 .home-studio .studio-room-heading p{margin-top:12px;max-width:none}
 .is-ready .studio-room-stage{height:clamp(365px,108vw,480px);margin:0 -6.8%;perspective:1000px}
 .is-ready .studio-room-photo{--step:195px;width:clamp(215px,65vw,295px);padding:7px 7px 17px}
 .is-ready .studio-room-controls{gap:12px}
 .studio-room-scene{grid-template-columns:1fr 1fr;gap:14px}
}
@media(prefers-reduced-motion:reduce){
 .is-ready .studio-room-scene,.is-ready .studio-room-photo{transition:none;animation:none}
 .is-ready .studio-room-scene{transform:none}
 .is-ready .studio-room-photo{transform:translate(-50%,-50%) translateX(calc(var(--offset)*var(--step))) scale(.88);filter:none}
 .is-ready .studio-room-photo[data-offset="0"]{transform:translate(-50%,-50%)}
}

.studio-room-landscape img{aspect-ratio:4/3}
