/* Actual product pages, replacing the reconstructed photographic composition. */
#project-photo .photo-art.photo-v3{width:100%;max-width:100%;height:auto;min-height:390px;aspect-ratio:1.03;background:linear-gradient(140deg,#c8b6aa,#a78a80)}
.motion-ready #project-photo .photo-art{transform:none}
.photo-art.real-preview.photo-v3 .browser-preview.photo-browser{top:50px;bottom:75px;left:0;right:0;width:94%;max-width:none;margin-inline:auto;height:auto;background:#e7ded9;border-radius:8px;overflow:hidden}
.motion-ready #project-photo .browser-preview,#project-photo .photo-frame-line{animation:none;transform:none}
#project-photo .photo-art:after{display:none}
.photo-v3 .preview-toolbar{height:28px;min-height:28px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:9px;background:#f3ebe6;color:#806a60}
.photo-tour-stage{height:calc(100% - 28px);position:relative;overflow:hidden;background:#e9e1dc}
.photo-tour-shot{position:absolute;inset:0;opacity:0;overflow:hidden;animation:photo-page-cycle 24s linear infinite;pointer-events:none}
.photo-shot-1{opacity:1}.photo-shot-2{animation-delay:-18s}.photo-shot-3{animation-delay:-12s}.photo-shot-4{animation-delay:-6s}
.photo-tour-shot>picture{display:block;width:100%;height:100%}
.photo-tour-shot img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:top center;animation:none;transform:none}
.photo-shot-2 img{animation-delay:-18s}.photo-shot-3 img{animation-delay:-12s}
.photo-public-shot img{width:auto;height:100%;max-width:100%;margin-inline:auto;object-fit:contain;animation:none}
.photo-shot-caption{display:none}
.photo-tour-demo{position:absolute;top:0;left:var(--demo-left,0px);display:block;width:1100px;height:var(--demo-height,850px);max-width:none;border:0;background:#f5f3f1;transform:scale(var(--demo-scale,.5));transform-origin:top left;pointer-events:none}
.photo-demo-card{position:relative}.photo-demo-card>.project-open::before{content:"";position:absolute;inset:0;z-index:8;border-radius:13px}
.photo-demo-card>.project-open:focus-visible::before{outline:2px solid var(--lime);outline-offset:5px}
.photo-demo-card:hover .photo-art{filter:brightness(1.025)}
.photo-case-demo{display:block;width:100%;height:680px;max-height:76dvh;border:0;background:#f5f3f1}
dialog.dialog-photo{width:min(1240px,calc(100% - 32px))}
.photo-tour-steps{position:absolute;left:6%;right:6%;bottom:43px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.photo-tour-step{display:flex;align-items:center;gap:7px;min-width:0;padding-top:10px;border-top:2px solid #fff5;color:#4b3934;font-size:10px;line-height:1.3;animation:photo-step-cycle 24s linear infinite}
.photo-tour-step>b{font-size:8px;font-weight:400;opacity:.65}.photo-step-2{animation-delay:-18s}.photo-step-3{animation-delay:-12s}.photo-step-4{animation-delay:-6s}
.photo-v3 .mockup-note{bottom:14px;left:6%;right:6%;max-width:none;font-size:9px;color:#352824;line-height:1.5}
.photo-case-showcase{margin-block:28px 32px}.photo-case-showcase[hidden]{display:none}
.photo-case-showcase>h3{font-size:14px;font-weight:500;margin:0 0 10px}.photo-case-note{font-size:11px;line-height:1.6;color:#aebc9d;margin:0 0 16px}
.photo-case-tour{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:0;border:0;min-width:0;position:relative}
.photo-case-tour>input{position:absolute;width:1px;height:1px;opacity:0;clip-path:inset(50%);overflow:hidden}
.photo-case-tour>label{border:1px solid #4e6038;border-radius:4px;padding:10px 8px;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;line-height:1.5;color:#bdc8ac;cursor:pointer}
.photo-case-tour>input:checked+label{background:var(--lime);border-color:var(--lime);color:#171c0c}.photo-case-tour>input:focus-visible+label{outline:2px solid var(--lime);outline-offset:3px}
.photo-case-viewport{grid-column:1/-1;min-width:0;margin-top:8px}
.photo-case-screen{display:none;margin:0;border:1px solid #415030;border-radius:6px;overflow:hidden;background:#242d1b}
#photo-page-1:checked~.photo-case-viewport .photo-case-1,#photo-page-2:checked~.photo-case-viewport .photo-case-2,#photo-page-3:checked~.photo-case-viewport .photo-case-3,#photo-page-4:checked~.photo-case-viewport .photo-case-4{display:block}
.photo-case-screen picture{display:block;background:#f1f2f5}.photo-case-screen img{display:block;width:100%;height:auto;max-width:100%;margin-inline:auto}
.photo-case-4 picture{background:#3a2b31}.photo-case-4 img{width:min(100%,390px);margin-inline:auto}
.photo-case-screen figcaption{padding:18px;font-size:12px;line-height:1.7;color:#b7c4a4}.photo-case-screen figcaption strong{display:block;color:#e6ecd9;font-size:14px;font-weight:500;margin-bottom:7px}.photo-case-screen figcaption a{display:inline-block;font-size:11px;color:var(--lime);text-decoration:underline;text-underline-offset:4px;margin-top:11px}
.page-hidden .photo-tour-shot,.page-hidden .photo-tour-step,.page-hidden .photo-tour-shot img,.scene-idle .photo-tour-shot,.scene-idle .photo-tour-step,.scene-idle .photo-tour-shot img,.motion-paused .photo-tour-shot,.motion-paused .photo-tour-step,.motion-paused .photo-tour-shot img{animation-play-state:paused!important}
@keyframes photo-page-cycle{0%,21%{opacity:1}25%,96%{opacity:0}100%{opacity:1}}
@keyframes photo-step-cycle{0%,21%{border-color:#fff;color:#2b201e}25%,96%{border-color:#ffffff50;color:#624b43}100%{border-color:#fff;color:#2b201e}}
@keyframes photo-capture-scroll{0%,5%{transform:translateY(0)}18%,25%{transform:translateY(-32%)}25.1%,100%{transform:translateY(0)}}
@media(min-width:641px) and (max-width:850px){.photo-tour-step{font-size:8px;gap:4px}.photo-tour-step>b{font-size:7px}.photo-shot-caption{font-size:9px}.photo-v3 .mockup-note{font-size:8px}}
@media(max-width:640px){.photo-art.real-preview.photo-v3 .browser-preview.photo-browser{top:48px}.photo-tour-step{font-size:9px;gap:5px}.photo-tour-step>b{font-size:7px}.photo-v3 .mockup-note{font-size:8px;bottom:13px}.photo-shot-caption{font-size:9px}.photo-case-tour{gap:6px}.photo-case-tour>label{font-size:10px;padding:10px 5px}.photo-case-screen figcaption{padding:15px;font-size:12px}}
@media(max-width:360px){.photo-tour-step{font-size:8px;gap:4px}.photo-tour-step>b{font-size:6px}.photo-v3 .mockup-note{font-size:8px}.photo-case-tour>label{font-size:9px}}
@media(max-width:640px){
  dialog.dialog-photo{width:100dvw;max-width:100dvw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
  .dialog-photo .dialog-inner{padding:28px 12px;min-width:0}
  .dialog-photo .dialog-close{margin:-15px 0 0 8px}
  .dialog-photo .photo-case-viewport{margin-inline:-12px;width:calc(100% + 24px)}
  .dialog-photo .photo-case-screen{border-inline:0;border-radius:0}
}
@media(prefers-reduced-motion:reduce){.photo-tour-shot,.photo-tour-step{animation:none!important}.photo-tour-shot{opacity:0}.photo-shot-1{opacity:1}.photo-step-1{border-color:#fff;color:#2b201e}}
