/* About + gallery: retain the existing Motor Parts + red/steel visual system. */
.mp-story{--space-sm:.75rem;--space-md:1.5rem;--space-lg:3rem;--space-xl:4rem;--text-small:.875rem;--text-body:1rem;--text-heading:clamp(1.6rem,3vw,2.35rem);--text-title:clamp(2rem,4vw,3.2rem)}
.mp-story [hidden]{display:none!important}
.mp-story figure{margin:0}
.mp-story img{display:block;width:100%;height:auto}
.mp-story a:focus-visible,.mp-story button:focus-visible,.mp-lightbox button:focus-visible{outline:3px solid var(--amber);outline-offset:4px}
.mp-story .mp-section{padding-block:var(--space-xl)}
.mp-story h1{font-size:var(--text-title)}
.mp-story h2{font-size:var(--text-heading)}
.mp-story .mp-muted{color:var(--muted)}
.mp-story .mp-link{color:var(--red);font-weight:800;text-decoration:underline;text-underline-offset:4px}
.mp-hero{margin-top:var(--space-md);background:var(--steel);color:var(--white)}
.mp-hero .wrap{display:grid;grid-template-columns:1fr 1.05fr;gap:var(--space-lg);align-items:center;padding-block:var(--space-lg)}
.mp-hero .kicker{color:var(--amber)}
.mp-hero h1{margin-bottom:var(--space-md)}
.mp-hero h2{font-size:1.2rem;margin-top:var(--space-md)}
.mp-hero p{color:#e3e8ef}
.mp-hero figure{border-bottom:4px solid var(--red)}
.mp-hero img{aspect-ratio:4/3;object-fit:cover;border-radius:8px 8px 0 0}
.mp-hero figcaption{padding:var(--space-sm) var(--space-md);background:var(--ink);font-size:var(--text-small)}
.mp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-sm);margin-top:var(--space-md)}
.mp-hero .mp-text-link{font-weight:700;text-decoration:underline;text-underline-offset:4px}
.mp-story-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:var(--space-lg);align-items:center}
.mp-process{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-sm)}
.mp-process img{aspect-ratio:4/5;object-fit:cover;border-radius:6px}
.mp-process figure:first-child img{object-position:47% center}
.mp-process figcaption{padding-top:var(--space-sm);font-size:var(--text-small);color:var(--muted)}
.mp-proofline{display:flex;flex-wrap:wrap;gap:var(--space-sm) var(--space-md);margin-top:var(--space-md);padding-top:var(--space-md);border-top:1px solid var(--line);font-size:var(--text-small);font-weight:800}
.mp-featured{background:var(--white)}
.mp-section-heading{display:flex;justify-content:space-between;gap:var(--space-md);align-items:end;margin-bottom:var(--space-md)}
.mp-section-heading p{max-width:630px;margin-bottom:0;color:var(--muted)}
.mp-section-heading>a{flex-shrink:0}
.mp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-md)}
.mp-photo{min-width:0}
.mp-photo a{display:block;overflow:hidden;border-radius:6px;background:var(--line)}
.mp-photo img{aspect-ratio:4/5;object-fit:cover;transition:transform .2s ease}
.mp-photo a:hover img{transform:scale(1.025)}
.mp-photo figcaption{padding-top:var(--space-sm);font-size:var(--text-small);font-weight:700;line-height:1.4}
.mp-photo figcaption span{display:block;color:var(--muted);font-weight:400;font-size:.75rem;margin-top:.25rem}
.mp-gallery-note{font-size:var(--text-small);color:var(--muted);margin:var(--space-md) 0 0}
.mp-callout .wrap{display:flex;align-items:center;justify-content:space-between;gap:var(--space-lg)}
.mp-callout p{max-width:700px;margin-bottom:0}
.mp-callout .mp-actions{flex-shrink:0;margin:0}
.mp-gallery-intro{max-width:780px;padding-bottom:var(--space-md)}
.mp-gallery-intro p{color:var(--muted)}
.mp-gallery-tools{padding-block:var(--space-md);border-top:1px solid var(--line)}
.mp-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:var(--space-sm)}
.mp-filters button{border:1px solid var(--line);border-radius:5px;padding:.65rem .9rem;min-height:44px;background:var(--white);color:var(--steel);font:inherit;font-size:var(--text-small);font-weight:700;cursor:pointer}
.mp-filters button[aria-pressed=true]{background:var(--steel);color:var(--white);border-color:var(--steel)}
.mp-filters button:hover{border-color:var(--red)}
.mp-gallery-count{margin:0;color:var(--muted);font-size:var(--text-small)}
.mp-load-row{margin-top:var(--space-lg);text-align:center}
.mp-load-row p{color:var(--muted);font-size:var(--text-small);margin-top:var(--space-sm)}
.mp-lightbox{width:min(1000px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:1rem;border:1px solid #525d6c;border-radius:8px;background:var(--ink);color:var(--white);overflow:auto}
.mp-lightbox::backdrop{background:rgba(9,13,19,.94)}
.mp-lightbox .mp-lb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem}
.mp-lightbox button{min-width:44px;min-height:44px;border:1px solid #647080;border-radius:5px;background:var(--steel);color:var(--white);font:inherit;font-weight:700;cursor:pointer;padding:.5rem .85rem}
.mp-lightbox .mp-lb-controls{display:flex;gap:.5rem}
.mp-lightbox img{display:block;width:100%;height:65dvh;object-fit:contain}
.mp-lightbox p{font-size:.95rem;margin:.75rem 0 .25rem}
.mp-lightbox small{color:#c9d1dc}
body.mp-photo-open{overflow:hidden}
@media(max-width:850px){
 .mp-hero .wrap{gap:var(--space-md);grid-template-columns:1fr 1fr}
 .mp-story-grid{gap:var(--space-md)}
 .mp-callout .wrap{display:block}
 .mp-callout .mp-actions{margin-top:var(--space-md)}
}
@media(max-width:640px){
 .mp-story{--space-xl:2.5rem;--space-lg:2rem;--space-md:1.25rem}
 .mp-hero .wrap,.mp-story-grid{grid-template-columns:1fr}
 .mp-hero .wrap{padding-block:var(--space-lg)}
 .mp-hero h1{max-width:14ch}
 .mp-section-heading{display:block}
 .mp-section-heading>a{display:inline-block;margin-top:var(--space-md)}
 .mp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem .75rem}
 .mp-photo figcaption{font-size:.8125rem}
 .mp-lightbox img{height:56dvh}
 .mp-lightbox{padding:.75rem}
 .mp-lightbox .mp-lb-toolbar{gap:.5rem}
 .mp-lightbox .mp-lb-toolbar>span{font-size:.8rem}
}
@media(prefers-reduced-motion:reduce){.mp-photo img{transition:none}}
