/* Experience assets load only on project pages that use them. */
.pap-experience-note { max-width: 74ch; font-size: .82rem; line-height: 1.6; color: #666; }
.pap-panorama-stage { position: relative; aspect-ratio: 16/9; min-height: 300px; overflow: hidden; background: #20201e; }
.pap-panorama-stage > img { width: 100%; height: 100%; object-fit: cover; }
.pap-panorama-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; color: #fff; background: #0005; }
.pap-panorama-cover p { letter-spacing: .2em; }
.pap-panorama-cover h2 { margin: 10px 0 28px; color: inherit; font-size: clamp(1.6rem,4vw,3rem); }
.pap-panorama-stage .pnlm-container { position: absolute; inset: 0; }
.pap-panorama-stage .pnlm-about-msg { display: none; }
.pap-photo-intro { max-width: 700px; margin: 15px 0 30px; }
.pap-photo-intro h2 { margin: 12px 0 20px; font-size: clamp(1.8rem,4vw,3.1rem); line-height: 1.15; }
.pap-eyebrow { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.pap-photo-experience .pap-photo-drop { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: clamp(24px,4vw,42px); border: 1px dashed #bbb; background: #f7f6f2; color: #242421; }
.pap-photo-drop.is-over { outline: 2px solid #303029; background: #eae9e1; }
.pap-photo-drop .button { margin: 0; cursor: pointer; }
.pap-photo-drop > span { font-size: .85rem; }
.pap-photo-experience .pap-photo-drop .button { color: #fff; }
.pap-photo-experience .pap-photo-drop .button-outline { color: #242421; background: transparent; }
.pap-photo-inputs { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pap-photo-experience .pap-person-preview { width: auto; max-width: 180px; max-height: 200px; object-fit: contain; }
.pap-ai-consent { display: flex; align-items: flex-start; gap: 12px; max-width: 72ch; font-size: .85rem; line-height: 1.6; }
.pap-ai-consent input { appearance: auto; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; accent-color: #333; }
.pap-photo-experience .pap-experience-note { color: inherit; opacity: .76; }
.pap-photo-status { min-height: 1.6em; font-size: .9rem; }
.pap-photo-status:empty { margin: 0; }
.pap-photo-actions { margin: 25px 0; }
.pap-photo-experience [hidden] { display: none !important; }
.pap-scene-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; margin: 30px 0; }
.pap-scene-card { min-width: 0; }
.pap-scene-stage { position: relative; overflow: hidden; aspect-ratio: 2/3; background: #ecebe6; }
.pap-scene-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pap-scene-stage [data-ai-result] { position: absolute; inset: 0; }
.pap-scene-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 15px 0; }
.pap-scene-caption h3 { margin: 0; font-size: 1rem; }
.pap-scene-caption button, .pap-scene-dialog header button { padding: 3px 0; border: 0; border-bottom: 1px solid currentColor; background: none; font: inherit; font-size: .8rem; cursor: pointer; }
.pap-scene-caption button:disabled { display: none; }
.pap-card-status { min-height: 1.5em; font-size: .8rem; line-height: 1.5; }
.pap-photo-experience .pap-scene-dialog { width: min(1000px,94vw); max-height: 94svh; overflow: auto; padding: 24px; border: 0; background: #f8f7f3; color: #242421; }
.pap-scene-dialog::backdrop { background: #000b; }
.pap-scene-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.pap-photo-experience .pap-scene-dialog h2 { margin: 0; color: #242421; font-size: 1.4rem; }
.pap-photo-experience .pap-scene-dialog header button { color: #242421; }
.pap-ai-large, .pap-scene-dialog video { display: block; max-width: 100%; max-height: 65svh; width: auto; margin: 0 auto 24px; object-fit: contain; }
.pap-photo-experience [data-scene-download] { display: table; margin: 20px auto 0; }
.pap-photo-experience .button:disabled { opacity: .45; cursor: not-allowed; }
.pap-photo-experience button:focus-visible, .pap-photo-experience label:focus-within { outline: 2px solid #333; outline-offset: 5px; }
.pap-photo-experience .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 900px) {
    .pap-scene-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 550px) {
    .pap-scene-grid { grid-template-columns: 1fr; gap: 20px; }
    .pap-scene-stage { aspect-ratio: 3/4; }
    .pap-panorama-stage { aspect-ratio: 4/3; min-height: 260px; }
    .pap-photo-experience .pap-scene-dialog { padding: 18px; }
    .pap-photo-experience .pap-photo-drop { padding: 24px; }
    .pap-photo-intro h2 { font-size: 2rem; }
}
