/* Adopted left-directory layout, integrated with the persistent site navigation. */
.tier-a-section{padding-top:65px;padding-bottom:90px}.tier-a-section>.section-head{max-width:1504px;margin-left:432px}.tier-a-section .p-a-categories,.tier-a-section .p-a-projects{top:calc(var(--preview-top-height,94px) + 20px)}.tier-a-section .p-a-project-scroll{max-height:calc(100svh - var(--preview-top-height,94px) - 190px)}.directory-more{border:1px dashed #8c7545;margin-top:15px;padding:15px 10px;color:var(--gold)}.directory-more small{line-height:1.9;margin-top:10px;color:var(--muted)}#directoryLightbox{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:#080808f5;border:0;margin:0;padding:55px;color:white}#directoryLightbox::backdrop{background:#000}#directoryLightbox img{width:100%;height:100%;object-fit:contain}#directoryClose{position:absolute;right:20px;top:10px;background:none;border:0;color:white;font:32px Arial}
@media(min-width:1600px){.tier-a-section>.section-head{margin-left:461px}}@media(min-width:1001px) and (max-width:1200px){.tier-a-section>.section-head{margin-left:379px}}@media(max-width:1000px){.tier-a-section>.section-head{margin-left:0}.tier-a-section .p-a-categories,.tier-a-section .p-a-projects{position:static}.tier-a-section .p-a-project-scroll{max-height:none}}
@media(max-width:640px){.tier-a-section{padding-top:40px;padding-bottom:60px}.tier-a-section>.section-head{display:block}.tier-a-section>.section-head>p{margin-top:22px;font-size:13px}#directoryLightbox{padding:55px 15px}}
@media print{.tier-a-section,#directoryLightbox{display:none!important}}
/* Stable selection and a gallery centered within the space beside the directories. */
#directoryRoot{overflow-anchor:none}.tier-a-section .p-media img{height:auto;aspect-ratio:attr(width number)/attr(height number);object-fit:contain}.tier-a-section .p-media video{aspect-ratio:16/9;object-fit:contain}
@media(min-width:1001px){body[data-layout=a] .tier-a-section .p-a-three{grid-template-columns:170px 230px minmax(0,1fr);gap:16px}body[data-layout=a] .tier-a-section .p-a-gallery{justify-self:center;margin:0;width:100%;max-width:1504px}.tier-a-section>.section-head{margin-left:432px;margin-right:0;max-width:none}}
@media(min-width:1600px){body[data-layout=a] .tier-a-section .p-a-three{grid-template-columns:180px 245px minmax(0,1fr);gap:18px}.tier-a-section>.section-head{margin-left:461px}}
@media(min-width:1001px) and (max-width:1200px){body[data-layout=a] .tier-a-section .p-a-three{grid-template-columns:150px 205px minmax(0,1fr);gap:12px}.tier-a-section>.section-head{margin-left:379px}}
/* Center the artwork frame on the viewport, not the leftover area after the sidebars. */
@media(min-width:1001px){body[data-layout=a] .tier-a-section .p-a-gallery{justify-self:start;margin-left:max(0px,calc((100vw - 1504px)/2 - 456px));margin-right:0;width:min(1504px,100%)}.tier-a-section>.section-head{width:min(1504px,calc(100% - 432px));max-width:1504px;margin-left:max(432px,calc((100vw - 1504px)/2 - 24px))}}
@media(min-width:1600px){body[data-layout=a] .tier-a-section .p-a-gallery{margin-left:max(0px,calc((100vw - 1504px)/2 - 489px))}.tier-a-section>.section-head{width:min(1504px,calc(100% - 461px));margin-left:max(461px,calc((100vw - 1504px)/2 - 28px))}}
@media(min-width:1001px) and (max-width:1200px){body[data-layout=a] .tier-a-section .p-a-gallery{margin-left:0}.tier-a-section>.section-head{margin-left:379px;width:calc(100% - 379px)}}
/* On phones the directory becomes a category strip and an expandable project picker. */
@media(max-width:640px){body[data-layout=a] .tier-a-section .p-a-three{display:flex;flex-direction:column;gap:16px}.tier-a-section .p-a-categories,.tier-a-section .p-a-projects,.tier-a-section .p-a-gallery{width:100%;min-height:0}.tier-a-section .p-a-categories{padding:14px 12px}.tier-a-section .p-a-categories>.p-a-panel-title{display:none}.tier-a-section .p-a-categories .p-cats{display:flex!important;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding-bottom:5px;scrollbar-width:thin}.tier-a-section .p-a-categories .p-cats button{flex:0 0 auto;display:flex;flex-wrap:nowrap;gap:7px;padding:8px;font-size:12px;white-space:nowrap}.tier-a-section .p-a-categories .p-category-thumb{width:29px;height:32px}.tier-a-section .p-a-projects{padding:0 12px}.tier-a-section .p-a-projects>.p-a-panel-title,.tier-a-section .p-a-projects>.p-a-category-name,.tier-a-section .p-a-scroll-note{display:none}.tier-a-section .mobile-project-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:none;padding:17px 4px;color:var(--gold);font-size:13px;text-align:left}.tier-a-section .p-a-project-scroll{display:none;height:auto;min-height:0;max-height:none;overflow:visible;padding-bottom:15px}.tier-a-section .p-a-projects.mobile-open .p-a-project-scroll{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tier-a-section .p-a-project{align-items:center;gap:9px;padding:10px 7px;border:1px solid var(--line)}.tier-a-section .p-a-project img{width:45px;height:52px}.tier-a-section .p-a-project>span{font-size:12px}.tier-a-section .p-a-project small{font-size:9px}.tier-a-section .p-a-project.directory-more{grid-column:1/-1;margin:0}.tier-a-section .p-a-gallery{padding:22px 15px}.tier-a-section .p-a-gallery .p-media img{width:100%;height:auto}.tier-a-section .p-a-gallery .p-media .size-sm{grid-column:span 3}}
/* Life-size figure: the final view is centered with a modest increase in size. */
#directoryRoot .p-media button:has(img[src$="sculpt-07/03_full.webp"]){grid-column:1/-1;background:transparent;display:flex;justify-content:center;padding:15px 0}
#directoryRoot .p-media img[src$="sculpt-07/03_full.webp"]{width:min(100%,600px);height:auto;max-height:800px;object-fit:contain}
/* Commemorative portrait: larger, centered presentation. */
#directoryRoot .p-media button:has(img[src$="sculpt-09/01_full.webp"]){grid-column:1/-1;display:flex;justify-content:center;background:transparent;padding:15px 0}
#directoryRoot .p-media img[src$="sculpt-09/01_full.webp"]{width:min(100%,500px);height:auto;max-height:none;object-fit:contain}
/* Escape a long project gallery without changing the selected project. */
.directory-skip{position:fixed;right:clamp(18px,3.2vw,82px);bottom:30px;z-index:45;display:flex;flex-direction:column;gap:6px;padding:15px 18px;background:rgba(25,25,20,.95);border:1px solid #8c7545;border-radius:5px;box-shadow:0 5px 22px #0004;backdrop-filter:blur(12px);transition:border-color .2s,background .2s}.directory-skip[hidden]{display:none}.directory-skip>span{font-size:13px;color:#e0d1b3;line-height:1.6}.directory-skip b{font:21px Arial;color:var(--gold);margin-left:13px}.directory-skip small{font-size:11px;line-height:1.6;color:var(--muted)}.directory-skip:hover{background:#2b281d;border-color:#c2a365}.directory-skip:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
@media(max-width:640px){.directory-skip{right:14px;bottom:max(16px,env(safe-area-inset-bottom));padding:10px 13px;gap:3px}.directory-skip>span{font-size:12px}.directory-skip small{font-size:10px}.directory-skip b{font-size:18px;margin-left:10px}}
@media print{.directory-skip{display:none!important}}
