/* The apartment case: source photographs, two capture points, one plan. */
.apartment-origin{margin:40px 0 36px;padding:30px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.origin-heading{display:flex;justify-content:space-between;gap:38px;align-items:end;margin-bottom:20px}.origin-heading h3{font-size:27px;letter-spacing:-.045em;line-height:1.2;margin:8px 0 0}.origin-heading>p{font-size:13px;line-height:1.75;max-width:430px;color:var(--muted,#62636a);margin:0}
.source-photos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.source-photo{position:relative;padding:0;border:0;background:#e4e2df;cursor:zoom-in;overflow:hidden;aspect-ratio:4/3;border-radius:4px}.source-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}.source-photo:hover img{transform:scale(1.035)}.source-photo:focus-visible{outline:3px solid #9a647f;outline-offset:4px}.source-photo>span{position:absolute;bottom:9px;left:9px;color:white;font-size:10px;background:#25262bcc;border-radius:20px;padding:5px 8px}
.origin-process{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:25px}.origin-process>div{display:flex;gap:12px;align-items:start}.origin-process .step-dot{display:grid;place-items:center;width:27px;height:27px;flex-shrink:0;border:1px solid #cbb4c0;border-radius:50%;font-size:10px;color:#80516b}.origin-process strong{font-size:12px;font-weight:650;line-height:1.5}.origin-process p{font-size:11px;color:#65656d;line-height:1.6;margin:4px 0 0}
.demo-section>.hero-visual{width:100%;margin:0;clip-path:none}.tour-shell{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;position:relative;isolation:isolate}.tour-shell .viewer{height:620px;min-width:0;border-radius:6px}.tour-shell .viewer-fallback{object-fit:cover}.tour-shell .viewer-bottom{left:24px;right:24px;bottom:24px}.tour-shell .viewer-location p{font-size:23px}.tour-shell .viewer-location .eyebrow{font-size:9px}.tour-shell .viewer-location .degree{font-size:13px}.tour-shell .viewer-center-hint{font-size:12px}.tour-shell .viewer-top{left:24px;right:24px;top:22px}.viewer.is-loading:after{content:attr(data-loading-label);position:absolute;inset:auto 20px 95px;background:#25262bd9;border-radius:100px;color:white;font-size:12px;padding:11px 18px;text-align:center;z-index:12;pointer-events:none}.viewer[aria-busy=true] canvas{opacity:0;transition:none}
.tour-plan{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:#fbfaf6;border:1px solid #ddd8d3;border-radius:6px;padding:20px 16px 13px;min-width:0}.plan-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.plan-heading h3{font-size:14px;margin:0;letter-spacing:-.02em}.plan-heading>span{font-size:10px;color:#80516b}.plan-map{position:relative;width:100%;max-width:225px;aspect-ratio:479.258358 / 915.84;align-self:center;margin:12px 0}.plan-map>img{display:block;width:100%;height:100%;object-fit:contain}.plan-point{--pin-size:40px;position:absolute;width:var(--pin-size);height:var(--pin-size);margin:calc(var(--pin-size) / -2) 0 0 calc(var(--pin-size) / -2);border:0;border-radius:50%;background:transparent;display:grid;place-items:center;cursor:pointer;color:white;z-index:2;isolation:isolate}.plan-point:before{content:'';position:absolute;inset:7px;border-radius:50%;background:#72717a;border:2px solid white;box-shadow:0 2px 7px #25262b33;z-index:-1;transition:background .2s,transform .2s}.plan-point>span{font-size:12px;font-weight:700;line-height:1}.plan-point[aria-pressed=true]:before{background:#9a647f;box-shadow:0 0 0 5px #9a647f29,0 2px 8px #25262b26;transform:scale(1.12)}.plan-point:hover:before{background:#80516b}.plan-point:focus-visible{outline:2px solid #80516b;outline-offset:1px}.plan-instruction{font-size:11px;line-height:1.5;margin:0;color:#65656d}.plan-scale{font-size:9px;color:#8b8583;margin:8px 0 0}
.capture-selector{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-top:18px}.capture-selector>.view-label{font-size:10px;letter-spacing:.08em;max-width:210px;line-height:1.6}.capture-selector .view-buttons{display:flex;gap:10px;flex:1;justify-content:end}.capture-selector .view-buttons>button{border:1px solid #d2ced0;background:transparent;padding:11px 15px;display:flex;align-items:center;gap:10px;border-radius:5px;font:inherit;cursor:pointer;min-height:54px;min-width:185px;text-align:left}.capture-selector .view-buttons>button[aria-pressed=true]{background:#25262b;border-color:#25262b;color:white}.capture-selector .view-buttons img{width:52px;height:36px;object-fit:cover;border-radius:2px}.capture-selector .view-buttons strong{font-size:12px;font-weight:600}.capture-selector .view-buttons small{display:block;font-size:9px;opacity:.66;margin-top:4px}.plan-toggle{display:none}.tour-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.tour-shell:fullscreen,.tour-shell.immersive{background:#17181c;width:100vw;height:100dvh;padding:16px;box-sizing:border-box;grid-template-columns:minmax(0,1fr) 250px;gap:16px;max-width:none;margin:0}.tour-shell:fullscreen .viewer,.tour-shell.immersive .viewer{height:calc(100dvh - 32px)}.tour-shell:fullscreen .tour-plan,.tour-shell.immersive .tour-plan{max-height:calc(100dvh - 32px)}.tour-shell:fullscreen .plan-map,.tour-shell.immersive .plan-map{max-height:calc(100dvh - 165px);max-width:225px;flex:1;width:auto}.tour-shell.immersive{position:fixed;inset:0;z-index:1000}
#source-photo-dialog{padding:0;border:0;background:#17181c;color:white;width:min(1120px,94vw);max-width:94vw;border-radius:8px;overflow:auto}#source-photo-dialog::backdrop{background:#101115dc;backdrop-filter:blur(8px)}.photo-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px}.photo-dialog-top p{margin:0;font-size:12px}.photo-dialog-top button,.photo-dialog-bottom button{color:white;border:1px solid #ffffff44;background:transparent;border-radius:50%;width:44px;height:44px;font-size:22px;cursor:pointer}#source-photo-full{display:block;width:100%;max-height:72dvh;object-fit:contain;background:#101115}.photo-dialog-bottom{display:flex;align-items:center;justify-content:center;gap:20px;padding:12px}.photo-dialog-bottom>span{font-size:12px;min-width:65px;text-align:center}
@media(min-width:1600px){.tour-shell{grid-template-columns:minmax(0,1fr) 290px}.tour-shell .viewer{height:680px}.plan-map{max-width:244px}}
@media(max-width:1000px){.tour-shell{grid-template-columns:minmax(0,1fr) 220px;gap:10px}.tour-plan{padding:15px 12px}.tour-shell .viewer{height:540px}.capture-selector .view-buttons>button{min-width:160px}.capture-selector .view-buttons small{max-width:130px}.origin-heading{align-items:start}.source-photos{gap:8px}.origin-process{gap:15px}}
@media(max-width:760px){.apartment-origin{margin:27px 0;padding:24px 0}.origin-heading{display:block;margin-bottom:17px}.origin-heading h3{font-size:24px}.origin-heading>p{font-size:12px;margin-top:13px;max-width:none}.source-photos{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:3px 2px 12px;scrollbar-width:thin}.source-photo{width:58vw;max-width:270px;flex-shrink:0;scroll-snap-align:start}.origin-process{grid-template-columns:1fr;gap:15px;margin-top:18px}.origin-process>div{gap:11px}.origin-process strong{font-size:12px}.origin-process p{font-size:11px;margin-top:1px}.origin-process .step-dot{width:25px;height:25px}.tour-shell{display:block}.tour-shell .viewer{height:500px;border-radius:5px}.tour-shell .viewer-top{left:15px;right:15px;top:15px}.tour-shell .viewer-bottom{left:15px;right:15px;bottom:16px;gap:12px}.tour-shell .viewer-location{width:auto}.tour-shell .viewer-location p{font-size:19px;gap:13px}.tour-shell .viewer-controls{margin-left:auto}.tour-shell .viewer-center-hint{font-size:11px;top:43%}.tour-shell .viewer-tag{font-size:8px}.tour-plan{display:none;position:absolute;z-index:20;right:12px;bottom:87px;width:195px;max-height:calc(100% - 110px);padding:13px 12px 10px;box-shadow:0 10px 40px #15141b33;box-sizing:border-box;overflow:auto}.tour-shell.plan-open .tour-plan{display:flex}.plan-map{width:148px;flex-shrink:0;margin:8px 0;max-width:148px}.plan-heading h3{font-size:12px}.plan-heading>span{font-size:9px}.plan-instruction{font-size:10px}.plan-scale{font-size:8px;margin-top:5px}.plan-point{--pin-size:44px}.plan-toggle{display:inline-flex;position:absolute;z-index:15;top:64px;right:15px;background:#fffffff0;border:1px solid #25262b26;border-radius:30px;color:#25262b;padding:9px 13px;gap:7px;align-items:center;cursor:pointer;font:600 11px Manrope,sans-serif;min-height:39px}.plan-toggle[aria-expanded=true]{background:#25262b;color:white}.plan-toggle svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.5}.capture-selector{display:block;margin-top:13px}.capture-selector>.view-label{display:block;max-width:none;font-size:9px;margin-bottom:9px}.capture-selector .view-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.capture-selector .view-buttons>button{min-width:0;padding:9px 10px;gap:8px;min-height:60px}.capture-selector .view-buttons img{width:37px;height:35px}.capture-selector .view-buttons strong{font-size:10px}.capture-selector .view-buttons small{font-size:8px;line-height:1.4}.tour-shell:fullscreen,.tour-shell.immersive{padding:0;display:block}.tour-shell:fullscreen .viewer,.tour-shell.immersive .viewer{height:100dvh;border-radius:0}.tour-shell:fullscreen .tour-plan,.tour-shell.immersive .tour-plan{max-height:calc(100dvh - 110px)}.tour-shell:fullscreen .plan-map,.tour-shell.immersive .plan-map{width:148px;max-width:148px;flex:none;max-height:none}.viewer.is-loading:after{font-size:11px;bottom:90px}.photo-dialog-top{padding:12px}.photo-dialog-top p{font-size:11px}#source-photo-full{max-height:65dvh}.photo-dialog-bottom{padding:10px}}
@media(prefers-reduced-motion:reduce){.source-photo img,.plan-point:before{transition:none}}

.demo-section>.hero-visual { max-width:none }
@media(min-width:761px) {
  .demo-section .tour-shell .viewer { height:clamp(490px,44vw,760px);max-height:82vh }
  .demo-section .tour-shell:fullscreen .viewer,.demo-section .tour-shell.immersive .viewer {height:calc(100dvh - 32px);max-height:none}
}
.difference-grid .editorial-image>img {height:auto;aspect-ratio:1.44;object-fit:contain;display:block;filter:none}

/* Keep the plan and full-screen controls reachable above the mobile map. */
.tour-disclosure { display:none }
@media (max-width:760px) {
  .tour-disclosure:not([hidden]) {
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    width:100%; min-height:44px; margin-bottom:8px; padding:8px 13px;
    color:var(--graphite); background:transparent; border:1px solid var(--line);
    border-radius:6px; font:600 14px Manrope,sans-serif;
  }
  .tour-disclosure svg { width:18px; height:18px }
  .tour-disclosure[aria-expanded=true] svg { transform:rotate(180deg) }
  .tour-disclosure[aria-expanded=true] [data-i18n="openTour"],
  .tour-disclosure[aria-expanded=false] [data-i18n="collapseTour"],
  .tour-disclosure[aria-expanded=false] ~ :is(.tour-shell,.capture-selector) { display:none }
  .tour-shell .plan-toggle { min-height:44px; top:64px }
  .tour-shell .tour-plan,
  .tour-shell:fullscreen .tour-plan,
  .tour-shell.immersive .tour-plan {
    top:116px; bottom:auto; max-height:calc(100% - 128px); overflow-y:auto;
  }
  .tour-shell:is(:fullscreen,.immersive) #fullscreen {
    background:#25262be8; border-color:#ffffffa0; width:44px; height:44px;
  }
}
