/* Shared navigation, accessibility and project presentation. */
[hidden]{display:none!important}
img[loading="lazy"]{opacity:1}
.project-carousel:not(.is-enhanced) .carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}
.project-carousel:not(.is-enhanced) .carousel-slide{position:relative;inset:auto;width:100%;flex:0 0 100%;visibility:visible;opacity:1;scroll-snap-align:start}
.project-carousel:not(.is-enhanced) .carousel-button,.project-carousel:not(.is-enhanced) .carousel-counter{display:none}
.skip-link{position:fixed;left:16px;top:-100px;background:var(--text);color:var(--bg);padding:12px 20px;z-index:1000}
.skip-link:focus{top:16px}
html body.editorial-page .editorial-theme button,html body.editorial-page .editorial-tools .search-toggle{min-width:44px;min-height:44px}
html body.editorial-page .editorial-nav a{padding-block:12px}
.project-detail-main{max-width:var(--max);margin:auto;padding:40px var(--gutter) 70px}
.project-detail-main .project-card{margin-top:24px}
.project-detail-main .project-heading{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:baseline}
.project-detail-main .project-heading h1{font-size:var(--text-h1);margin:0}
.project-detail-main .project-heading p{font-size:var(--text-meta);color:var(--muted)}
.project-detail-nav{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:24px;margin-top:36px;font-size:var(--text-label)}
html body.editorial-page .carousel-slide img{object-fit:contain}
html body.editorial-page .carousel-expand,html body.editorial-page .carousel-button{min-width:44px;min-height:44px}
@media(max-width:540px){.project-detail-nav{flex-direction:column}}
@media(max-width:700px){html body.editorial-page .editorial-nav{flex-wrap:wrap;gap:6px 10px;min-width:0}html body.editorial-page .editorial-nav a{font-size:clamp(12px,3.5vw,14px)}}
