/* A single crystal edge around a calm, photo-led showroom. */
.detail-dialog{width:1160px;padding:7px;border-radius:28px;background:linear-gradient(135deg,#ffffffeb,#dfe7e0b8 44%,#ffffffdf 72%,#d5dfd1b3);box-shadow:0 28px 90px #2027224d,inset 0 1px 5px #ffffffe6}
.detail-dialog[open]{animation:none}
.detail-surface{border-radius:21px;background:#f6f3ed}
.detail-showroom{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:34px;padding:28px 30px 30px;align-items:start}
.detail-copy{padding:28px 0 0}
.detail-copy h2{font-family:Cormorant,Georgia,serif;font-size:50px;line-height:1.04;font-weight:400;margin:0;text-wrap:balance}
#detail-summary>p{font-size:17px;line-height:1.7;color:#6b685f;margin-top:25px}
#detail-summary .pill{margin-top:28px;background:#626c52;min-height:50px;justify-content:center;max-width:100%;font-size:16px;padding:12px 24px}
#detail-cover{padding:0;min-width:0}
.showroom-stage{position:relative;width:100%;aspect-ratio:4/3;isolation:isolate;background:#eae5dc;border-radius:15px;overflow:hidden}
.showroom-stage.is-cutout{background:radial-gradient(ellipse at 50% 20%,#fffdf7,#e9e2d6)}
.showroom-expand{position:absolute;inset:0;width:100%;height:100%;padding:0;background:transparent}
.showroom-expand>img{width:100%;height:100%;object-fit:contain}
.showroom-expand>span{position:absolute;left:16px;bottom:16px;padding:7px 12px;font-size:13px;line-height:1.4;border-radius:18px;color:#4d5847;background:#fffef8ed;border:1px solid #fff9}
.showroom-caption{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-top:17px;color:#6c695f;font-size:14px;line-height:1.5}
.showroom-count{font-size:12px;letter-spacing:.13em;flex-shrink:0;padding-top:2px}
.showroom-thumbs{display:flex;gap:10px;overflow-x:auto;padding:4px 3px 7px;margin-top:13px;scrollbar-width:thin;scrollbar-color:#b8bdad transparent}
.showroom-thumbs>button{flex:0 0 84px;height:68px;border-radius:9px;padding:3px;background:transparent;border:1px solid transparent;opacity:.72}
.showroom-thumbs>button>img{width:100%;height:100%;object-fit:cover;border-radius:6px}
.showroom-thumbs>button[aria-pressed=true]{border-color:#657452;opacity:1;background:#fffdf7}
.showroom-thumbs>button:hover{opacity:1}
.showroom-status{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.showroom-hotspots{position:absolute;pointer-events:none;z-index:1}
.detail-hotspot{position:absolute;transform:translate(-50%,-50%);width:40px;height:40px;padding:0;border-radius:50%;border:1px solid #fff;box-shadow:0 3px 14px #292e3040;background:#fbfaf3e8;color:#526247;pointer-events:auto;font-size:24px;line-height:1}
.detail-hotspot:hover,.detail-hotspot[aria-expanded=true]{background:#526247;color:#fff;border-color:#526247}
.hotspot-note{position:absolute;z-index:2;left:14px;right:14px;bottom:14px;padding:20px 40px 20px 16px;background:#faf9f3f7;border:1px solid #ffffffc9;border-radius:13px;box-shadow:0 6px 26px #292e3026;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.hotspot-note[hidden]{display:none}
.hotspot-close{position:absolute;right:6px;top:5px;width:36px;height:36px;padding:0;background:transparent;font-size:26px;line-height:1}
.hotspot-description{display:grid;grid-template-columns:90px minmax(0,1fr);gap:18px;align-items:center}
.hotspot-description>img{width:90px;height:94px;object-fit:contain}
.hotspot-description h3{font-family:Cormorant,Georgia,serif;font-size:28px;font-weight:400;margin:0 0 7px;line-height:1.1}
.hotspot-description p{font-size:14px;line-height:1.55;margin:0;color:#6b685f}
.detail-dialog .detail-body{padding:0 30px 30px}
.detail-dialog .detail-body:empty{display:none}
.detail-dialog .detail-body .gallery-heading{font-size:29px;border-top:1px solid #dddacf;padding-top:25px;margin-top:0}
.detail-dialog .project-card{padding:0 0 12px;border:0;background:transparent;border-radius:0;box-shadow:none}
.detail-dialog .project-card .project-photo{height:185px;border-radius:10px}
.detail-dialog .project-card>span:not(.project-photo){padding:15px 0 5px;font-size:27px}
.detail-dialog .project-card>small{padding:0}
.detail-dialog .project-card:hover{background:transparent;border:0;box-shadow:none}
.detail-dialog .project-card:hover .project-photo{box-shadow:0 0 0 2px #bec7ad}
.detail-dialog:not(.has-showroom) .detail-showroom{grid-template-columns:minmax(0,1fr);padding-bottom:24px}
.detail-dialog:not(.has-showroom) .detail-copy{padding-top:10px}
.detail-dialog .service-presentation{margin-top:20px}
.mobile-reading .detail-copy h2{font-size:54px}
.mobile-reading #detail-summary>p{font-size:22px;line-height:1.6}
.mobile-reading #detail-summary .pill{font-size:21px;min-height:58px}
.mobile-reading .showroom-caption{font-size:18px}
.mobile-reading .showroom-count,.mobile-reading .showroom-expand>span{font-size:17px}
.mobile-reading .showroom-thumbs>button{flex-basis:98px;height:80px}
.mobile-reading .detail-hotspot{width:52px;height:52px;font-size:28px}
.mobile-reading .hotspot-description p{font-size:19px}
.mobile-reading .hotspot-description h3{font-size:32px}
@media(max-width:760px){.detail-showroom{grid-template-columns:minmax(0,1fr);padding:20px;gap:16px}.detail-copy{padding-top:0}.detail-copy h2{font-size:40px}.detail-dialog .detail-body{padding:0 20px 24px}}
@media(prefers-reduced-motion:reduce){.detail-dialog[open]{animation:none}}
/* Embedded browsers use the logical desktop canvas before body zoom. */
.embedded-desktop .detail-dialog,.embedded-desktop .image-dialog{max-height:calc(92 * var(--desktop-fit-vh))}
