/* 1.3 — image-led field notes. Native Manrope / navy / white / blue. */
body{background:var(--paper)}
.wrap{max-width:1280px}
.header-inner{min-height:100px}
.layout{grid-template-columns:minmax(0,1fr) 244px;grid-template-areas:'feature feature' 'filter filter' 'posts about';gap:32px 48px;padding-block:32px 64px}
.layout>*{min-width:0}
.featured{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:stretch;padding:0;background:var(--canvas);min-width:0}
.featured::after{display:none}
.feature-copy{padding:36px;align-self:center;min-width:0}
.featured h1{font-size:clamp(28px,2.65vw,38px);line-height:1.2;overflow-wrap:anywhere;text-wrap:pretty}
.featured .excerpt{font-size:17px;line-height:1.65;margin-top:20px}
.featured .meta{margin-top:20px}
.featured .post-bottom{flex-wrap:wrap;gap:8px 20px;margin-top:16px}
.featured .feature-action{margin:0;color:var(--blue)}
.feature-preview{float:none;width:auto;min-width:0;margin:0;display:block;align-self:stretch;background:var(--tint)}
.feature-preview a{display:flex;height:100%;min-height:420px}
.feature-preview img{display:block;width:100%;height:100%;min-height:420px;object-fit:cover;border-radius:0;aspect-ratio:4/3}
.visual-fallback{display:flex;width:100%;height:100%;min-height:140px;align-items:center;justify-content:center;background:var(--tint);color:var(--blue);font-weight:750;font-size:16px;line-height:1.4;padding:16px;overflow-wrap:anywhere}
.feature-preview .visual-fallback{min-height:420px;font-size:28px}
.filters{gap:12px;grid-template-columns:minmax(240px,380px) minmax(0,1fr);align-items:center;background:var(--canvas);padding:16px 20px}
.topics{gap:4px 18px}
.search input{border-radius:0;border-color:var(--secondary)}
.posts-heading{margin-bottom:8px}
.post-item{display:grid;grid-template-columns:208px minmax(0,1fr);gap:24px;border:0;padding:24px 0}
.post-copy{min-width:0;align-self:center}
.post-item h3{font-size:23px;line-height:1.3;text-wrap:pretty;overflow-wrap:anywhere}
.post-item h3 a{text-decoration:none}
.post-item h3 a:hover,.post-item h3 a:focus-visible{text-decoration:underline}
.post-item p{font-size:16px;margin-top:10px;line-height:1.65}
.post-item .meta{font-size:14px;margin:0}
.post-media{display:block;align-self:start;background:var(--canvas);overflow:hidden}
.post-media img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.post-bottom{flex-wrap:wrap;gap:4px 16px}
.aside{background:var(--canvas);margin-top:52px;padding:24px}
.project-entry{display:grid;grid-template-columns:208px minmax(0,1fr);gap:32px;padding:32px 0;border:0}
.project-copy{min-width:0}
.project-copy:only-child{grid-column:1/-1}
.project-media{display:block;align-self:start}
.project-media img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.project-copy h2{margin-top:0}
.projects-page{max-width:1160px}
.project-copy .project-facts{margin-block:20px}
.baa-guide-diagram img{background:var(--canvas);object-fit:contain;border:0;border-radius:0}
.reading-cover img{border:0;border-radius:0}
.footer{background:var(--canvas)}
@media(min-width:901px){.featured{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.feature-preview img{aspect-ratio:6/5;max-height:none}}
@media(max-width:1000px){.feature-copy{padding:28px}.layout{column-gap:28px;grid-template-columns:minmax(0,1fr) 220px}.filters{grid-template-columns:1fr}.post-item{grid-template-columns:160px minmax(0,1fr);gap:20px}.post-item h3{font-size:21px}.feature-preview a,.feature-preview img{min-height:390px}}
@media(max-width:900px){.layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'feature' 'filter' 'posts' 'about';gap:28px}.featured{grid-template-columns:minmax(0,1fr)}.feature-copy{padding:28px}.featured h1{font-size:32px}.feature-preview{grid-row:1}.feature-preview a,.feature-preview img{min-height:0}.feature-preview img{aspect-ratio:16/9;height:auto;max-height:360px}.feature-preview .visual-fallback{min-height:240px}.aside{margin-top:0}.project-entry{grid-template-columns:160px minmax(0,1fr);gap:24px}}
@media(max-width:600px){.wrap{padding-inline:18px}.layout{padding-block:18px 40px;gap:24px}.feature-copy{padding:22px}.featured h1{font-size:27px}.featured .excerpt{font-size:16px;margin-top:14px}.featured .meta{margin-top:14px}.featured .post-bottom{margin-top:12px}.feature-preview{display:block}.feature-preview img{max-height:none;aspect-ratio:16/10}.filters{padding:14px;gap:8px}.post-item{grid-template-columns:104px minmax(0,1fr);gap:16px;padding-block:20px}.post-item h3{font-size:19px;line-height:1.35}.post-item p{font-size:15px}.post-item .post-bottom{display:block}.post-item .meta{font-size:13px}.post-media img{aspect-ratio:1/1}.post-media .visual-fallback{min-height:104px;font-size:12px;padding:8px}.project-entry{grid-template-columns:minmax(0,1fr);gap:20px}.project-media{max-width:none}.project-media img{aspect-ratio:16/9}.header nav{column-gap:18px}.brand{flex-shrink:1}.topics{gap:2px 16px}}
@media(prefers-reduced-motion:no-preference){.post-media img,.project-media img{transition:transform .2s ease}.post-media:hover img,.project-media:hover img{transform:scale(1.025)}}

/* Finished cover compositions retain their full frame at every breakpoint. */
.post-media img,.project-media img{object-fit:contain}
.feature-preview a{align-items:center;min-height:0}
.feature-preview img{height:auto;min-height:0;aspect-ratio:3/2;object-fit:contain}
@media(min-width:901px){.feature-preview img{aspect-ratio:3/2}}
@media(max-width:900px){.feature-preview img{aspect-ratio:3/2;max-height:none}}
@media(max-width:600px){.feature-preview img,.post-media img,.project-media img{aspect-ratio:3/2;object-fit:contain}}

/* Mobile reading order follows the existing copy-first DOM. Keep the cover
   intact as secondary evidence, not a cropped or hidden decoration. */
@media(max-width:600px){
 .feature-copy{grid-row:1}
 .feature-preview{grid-row:2}
 .feature-preview a{justify-content:center;height:auto}
 .feature-preview img{width:100%;max-width:270px;max-height:180px;height:auto}
 .feature-preview .visual-fallback{min-height:144px;font-size:20px}
 /* The neutral wrapper remains in the DOM; its children join the card grid.
    No order/tabindex change: title, excerpt, metadata and save stay in order. */
 .post-item{row-gap:12px}
 .post-item .post-copy{display:contents}
 .post-item .post-media{grid-column:1;grid-row:1;align-self:center}
 .post-item .post-copy>h3{grid-column:2;grid-row:1;align-self:center}
 .post-item .post-copy>.post-excerpt{grid-column:1/-1;margin:0;max-width:none}
 .post-item .post-copy>.post-bottom{grid-column:1/-1;display:flex;margin:0;gap:4px 16px}
 .post-item .post-bottom .meta{flex:1 1 200px;min-width:0;max-width:none}
 .post-item h3 a{min-height:44px}
}
.featured .excerpt,.meta,.post-excerpt{text-wrap:pretty}
.meta .post-date{white-space:nowrap}
/* Full compositions must also stay full-frame while hovered. */
.post-media:hover img,.project-media:hover img{transform:none}
