/* Shared Project Detail structure; Capture-only presentation overrides. */
:root{--font-primary:'General Sans',Arial,sans-serif;--color-text:#2D2520;--color-surface:#fff;--case-media-width:900px;--case-navigation-active:#F5F5F5}
html{scroll-behavior:auto;scroll-padding-top:60px}
body.page>main{width:calc(100% - 80px)!important;max-width:900px;margin:56px auto 0}
.capture-banner{margin:36px 0 0;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:16px}
.capture-banner img{display:block;width:100%;height:auto;aspect-ratio:16/9}
.metadata{margin-top:56px}.contribution{margin-top:40px}
.case-edge-navigation[data-capture-rail]{left:18px;top:clamp(150px,23vh,240px);width:156px}
.case-edge-navigation[data-capture-rail] .case-edge-label{display:block;margin:0 0 12px 12px;font-size:12px;font-weight:400;color:#737373}
.case-edge-navigation[data-capture-rail] .case-edge-track:before,.case-edge-navigation[data-capture-rail] .case-edge-dot{display:none}
.case-edge-navigation[data-capture-rail] .case-edge-window{height:min(460px,calc(100svh - 280px))}
.case-edge-navigation[data-capture-rail] .case-edge-track{padding:0;gap:2px}
.case-edge-navigation[data-capture-rail] .case-edge-link{padding:0 12px;font-size:13px;height:44px;min-height:44px;opacity:1;white-space:normal;border-radius:6px;text-decoration:none}
.case-edge-navigation[data-capture-rail] .case-edge-link[aria-current]{background:var(--case-navigation-active);color:#2D2520;font-weight:500}
.case-edge-navigation[data-capture-rail] .case-edge-link:hover{background:#F8F8F8;text-decoration:none}
.case-edge-navigation[data-capture-rail] .case-edge-link:focus-visible{outline:2px solid #654B3B;outline-offset:-2px}
.more-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:28px}
.more-project-card{display:block;position:relative;padding:16px;color:inherit;text-decoration:none;border-radius:20px;isolation:isolate}
.more-project-card:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:20px;background:linear-gradient(135deg,#FAFAFA,#F2F2F2);box-shadow:inset 0 0 0 1px #E8E8E8;opacity:0;transition:opacity .2s}
.more-project-card:hover:before,.more-project-card:focus-visible:before{opacity:1}
.more-project-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:16px}
.more-project-card .project-label{font-size:12px;line-height:1.5;color:#737373;margin:20px 0 10px}
.more-project-card h3{font-size:22px;line-height:1.3;letter-spacing:-.5px;font-weight:500;margin:0}
@media(max-width:1260px){html{scroll-padding-top:110px}.case-edge-navigation[data-capture-rail]{position:sticky;top:0;left:auto;width:100%;padding:12px 28px 8px;background:#FFFFFFF5;backdrop-filter:blur(12px);margin:0;z-index:30}.case-edge-navigation[data-capture-rail] .case-edge-label{margin:0 0 6px 0}.case-edge-navigation[data-capture-rail] .case-edge-window{height:44px;mask-image:none}.case-edge-navigation[data-capture-rail] .case-edge-track{flex-direction:row;width:max-content;gap:6px;padding:0}.case-edge-navigation[data-capture-rail] .case-edge-link{white-space:nowrap;padding:0 12px}.case-edge-navigation[data-capture-rail] .case-edge-link[data-distance]{opacity:1}body.page>main{width:calc(100% - 56px)!important;margin-top:36px}}
@media(max-width:940px){.metadata{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:600px){.more-project-grid{grid-template-columns:1fr}.more-project-card{padding:16px}.more-project-card h3{font-size:22px}}
@media(max-width:480px){body.page>main{width:calc(100% - 44px)!important;margin-top:32px}.case-edge-navigation[data-capture-rail]{padding:10px 22px 8px}.metadata{grid-template-columns:1fr}.capture-banner{margin-top:32px;border-radius:16px}}
@media(prefers-reduced-motion:reduce){.more-project-card:before{transition:none}}

/* Preserve exact screen aspect ratio; ring does not shrink the iframe viewport. */
.phone{border:0;box-shadow:0 0 0 1px #D8CBBE,0 8px 28px #35251B09}
.process-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:66.667%;max-width:600px;margin:36px auto}
.process-photo-pair .process-photo{width:100%;max-width:none;margin:0;min-width:0}
.process-photo-pair img{width:100%;height:auto;display:block}
.process-photo-pair figcaption{font-size:13px;line-height:1.5;margin-top:12px}
.embedded-prototype{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,390px);gap:48px;align-items:start;margin-top:48px}
.embedded-prototype .prototype-controls{min-width:0;padding-top:24px}
.embedded-prototype .prototype-controls h3{margin:0 0 20px}
.embedded-prototype .prototype-controls p{font-size:17px;line-height:1.6;margin:0 0 24px}
.prototype-controls label{display:block;font-size:14px;font-weight:500;margin-bottom:10px}
.prototype-controls select,.prototype-controls button{font:inherit;font-size:15px;min-height:48px;width:100%;color:#2D2520;background:#fff;border:1px solid #9B897B;border-radius:12px;padding:12px 16px}
.prototype-controls select{appearance:none;padding-right:48px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23654B3B' stroke-width='1.7'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.prototype-controls button{margin-top:12px;cursor:pointer}
.prototype-controls :is(button,select):focus-visible{outline:3px solid #8B6042;outline-offset:3px}
.embedded-prototype .prototype-controls .prototype-note{font-size:13px;color:#6F6056;margin-top:20px}
.embedded-prototype .prototype-controls .prototype-status{font-size:13px;color:#6F6056;min-height:21px}
.embedded-phone{width:100%;max-width:390px;aspect-ratio:390/844;overflow:hidden;border-radius:24px;box-shadow:0 0 0 1px #D8CBBE,0 8px 28px #35251B09;background:#FBF7F2;margin:auto}
.embedded-phone iframe{display:block;border:0;width:100%;height:100%}
.inline-credits{margin-top:64px;border-top:1px solid #DED1C5;padding-top:20px}
.inline-credits summary{cursor:pointer;font-size:14px;min-height:44px;display:list-item}
.inline-credits p{font-size:14px;line-height:1.6;margin:16px 0}
@media(max-width:760px){.embedded-prototype{grid-template-columns:1fr;gap:24px;margin-top:32px}.embedded-prototype .prototype-controls{padding-top:0;max-width:390px;width:100%;margin:auto}.process-photo-pair{width:100%;gap:16px}.process-photo-pair figcaption{font-size:12px}}
