/* Guided11: narration replaces existing panel content; no additional homepage sections. */
#project05:not([data-view=exploded]) #g-stage-panel,#project05:not([data-view=exploded]) .g-mobile-explanation{display:none!important}
#project05[data-view=exploded] #c-content{display:none!important}
#g-stage-panel{padding:24px;color:var(--a-ink)}
.g-step-number{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#a17852}
#g-stage-panel h4{font-size:27px;line-height:1.2;letter-spacing:-.5px;margin:11px 0 16px}
#g-stage-panel p{font-size:16px;line-height:1.6;color:#75634e;margin:0 0 18px}
.g-step-look{padding:17px 0;border-top:1px solid var(--a-line);border-bottom:1px solid var(--a-line);margin:23px 0}
.g-step-look strong{font-size:14px;color:#684d33;display:block;margin-bottom:8px}
#g-stage-panel .g-step-look p{font-size:14px;margin:0}
#project05 .g-stage-detail{width:100%;text-align:left;background:#f6ebdb;border-color:#cfad83;color:#85512a;padding:13px;font-size:14px}
#g-stage-panel .g-selection-note{font-size:12px;line-height:1.5;margin:16px 0;color:#947b5e}
#project05 .g-stage-return{border:0;background:transparent;padding:8px 0;color:#96572d;font-size:13px}
.g-illustration-note{display:block;margin-top:17px;padding-top:14px;border-top:1px solid var(--a-line);font-size:11px;line-height:1.5;color:#9b8670}
.g-mobile-explanation{display:none}
#project05 #g-guide-play{flex:none;width:36px;height:34px;padding:5px;font-size:14px;border-color:#d1b38e;background:#fff8eb;color:#956333}
#project05 #g-guide-play[aria-pressed=true]{background:#aa5926;color:white;border-color:#aa5926}
/* Real work is optional and always visually separate from the explanation. */
#project05:not([data-view=study]) .g-photo-launch{display:none!important}
#project05 .g-photo-launch{display:block;margin:0 0 16px;border:1px solid #d8c6ac;background:#fcf7ee;font-size:13px;text-align:left;color:#88613c;padding:10px 12px;width:100%}
#project05 .g-photo-launch[hidden]{display:none!important}
.p5a .g-photo-dialog{width:min(1050px,calc(100vw - 30px));max-height:calc(100svh - 28px);margin:auto;padding:0;border:1px solid #cbb797;border-radius:12px;overflow:auto;background:#fffdf8;color:#40382f;box-shadow:0 20px 90px #19171155}
.g-photo-dialog::backdrop{background:#20251cba;backdrop-filter:blur(3px)}
.g-photo-dialog>header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;background:#fffdf8f7;border-bottom:1px solid #e4d6c2}
.g-photo-dialog header small{font-size:11px;color:#a17d54;text-transform:uppercase;letter-spacing:.04em}
.g-photo-dialog h3{font-size:24px;line-height:1.2;margin:7px 0 0;font-weight:600}
.g-photo-dialog header button{white-space:nowrap}
.g-photo-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:12px 22px;border-bottom:1px solid #e4d6c2}
.g-photo-tabs button{font-size:13px}
.g-photo-tabs button[aria-pressed=true]{background:#f3e2cb;border-color:#b98651;color:#78431f}
.g-photo-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr)}
.g-photo-layout figure{position:relative;margin:0;min-height:340px;height:min(61svh,600px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;background:#edeae3;overflow:hidden;gap:14px}
.g-photo-image{width:100%;height:100%;object-fit:contain}
.g-photo-status{font-size:14px;line-height:1.6;color:#78644a;padding:30px;text-align:center}
.g-photo-copy{padding:25px;font-size:15px;line-height:1.65}
.g-photo-copy>small{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:#a0784e}
.g-photo-visible{font-size:17px;color:#5d503f;margin:11px 0 22px}
.g-photo-limit{font-size:13px;line-height:1.65;padding:14px;border-left:2px solid #bb9364;background:#f7efe3;color:#856c50}
.g-photo-scope{font-size:12px;line-height:1.6;margin:20px 0 0;color:#9b846a}
.g-photo-dialog>footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px;background:#fffdf8f7;border-top:1px solid #e2d3bd;z-index:3}
.g-photo-dialog footer span{font-size:12px;color:#9d8260}
.g-photo-dialog button:focus-visible{outline:3px solid #c9763e;outline-offset:3px}
@media(max-width:1023px){#g-stage-panel{padding:18px}#g-stage-panel h4{font-size:23px}#g-stage-panel p{font-size:14px}}
@media(max-width:760px){
 #project05[data-view=exploded] #a-panel-scroll{display:none!important}
 .g-mobile-explanation{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;flex:none;background:#fffaf2;border-bottom:1px solid #e1d3c0;color:#765537;min-height:37px;font-size:12px}
 #project05 .g-mobile-explanation button{font-size:11px;padding:7px 9px;white-space:nowrap;background:white}
 #project05 #g-guide-play{width:31px;height:30px;font-size:13px}
 #project05 #a-timeline{gap:5px}
 #project05 #a-timeline [data-a-step=next]{font-size:0;padding:7px;width:31px}
 #project05 #a-timeline [data-a-step=next]::after{content:'→';font-size:14px}
 #project05 .g-photo-launch{font-size:12px;padding:9px 11px;margin-bottom:12px}
 .p5a .g-photo-dialog{width:calc(100vw - 16px);max-height:calc(100svh - 16px)}
 .g-photo-dialog>header{padding:12px;gap:8px}.g-photo-dialog header small{font-size:9px}.g-photo-dialog h3{font-size:19px}.g-photo-dialog header button{font-size:11px;padding:8px}
 .g-photo-layout{display:block}.g-photo-layout figure{height:43svh;min-height:200px;padding:8px}
 .g-photo-copy{padding:16px}.g-photo-visible{font-size:15px;margin:8px 0 14px}.g-photo-limit{font-size:12px}.g-photo-scope{font-size:11px;margin-top:12px}
 .g-photo-dialog>footer{padding:10px 12px}.g-photo-dialog footer span{font-size:10px;max-width:125px}.g-photo-dialog footer button{font-size:11px;padding:9px}
 .g-photo-tabs{padding:9px 12px;gap:5px}.g-photo-tabs button{font-size:11px;padding:8px}
}
@media(prefers-reduced-motion:reduce){#g-guide-play{display:none!important}}

/* In a short enlarged view, scroll the content rather than crushing it under the quote. */
@media(max-width:350px),(max-width:1023px) and (max-height:620px){
 .m-focus-slot:has(#project05[data-focus-panel=true]){display:block;overflow:auto;overscroll-behavior:contain}
 #project05.m-focused[data-focus-panel=true]{height:auto!important;min-height:100%!important;overflow:visible}
 #project05.m-focused[data-focus-panel=true] .p5a-workspace{display:block!important;flex:none!important}
 #project05.m-focused[data-focus-panel=true] .p5a-visual{height:250px!important;min-height:250px!important;flex:none!important}
 #project05.m-focused[data-focus-panel=true] .p5a-panel{display:block!important;flex:none}
 #project05.m-focused[data-focus-panel=true] .p5a-panel-body{overflow:visible!important;max-height:none;flex:none}
 #project05.m-focused[data-focus-panel=true] .c-footer{position:static!important}
}
