/* Scoped project presentation shared by the public site and the design preview. */
.project-index{padding:clamp(36px,6vw,80px) clamp(20px,5vw,76px);background:var(--white,#faf6f2);color:var(--black,#211e1d)}
.project-index>h2{font:750 clamp(2rem,3.8vw,3.8rem)/1.1 Inter,Arial,sans-serif;letter-spacing:-1.5px;margin:0 0 16px;max-width:24ch}
.project-index>p{max-width:64ch;color:#62534a;margin:0 0 28px;font-size:1rem}
.project-index .project-index-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.project-index .project-index-card{display:block;min-width:0}
.project-index .project-index-card>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#211e1d}
.project-index .project-index-copy{padding:14px 0 0}
.project-index .project-index-copy h3{font:700 clamp(1.15rem,2vw,1.5rem)/1.25 Inter,Arial,sans-serif;letter-spacing:-.3px;margin:0 0 6px}
.project-index .project-index-copy p{font-size:.875rem;color:#62534a;line-height:1.5;margin:0}
.project-index .project-index-card:hover h3{text-decoration:underline;text-underline-offset:4px}
.project-story{padding:clamp(44px,7vw,96px) clamp(20px,5vw,76px);background:var(--white,#faf6f2);color:var(--black,#211e1d);border-top:1px solid #d5c9bc;scroll-margin-top:20px;min-width:0}
.project-story .story-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:24px 60px;align-items:end;max-width:1240px;margin:0 auto 30px}
.project-story h2{font:750 clamp(2rem,3.8vw,3.8rem)/1.1 Inter,Arial,sans-serif;letter-spacing:-1.4px;margin:8px 0 0;text-wrap:balance}
.project-story .kicker{color:var(--gold-ink,#80601f);font-size:.875rem;margin:0;letter-spacing:1.3px}
.project-story .story-description{font-size:1rem;line-height:1.7;color:#62534a;max-width:64ch;margin:0}
.project-story .story-gallery{max-width:1240px;margin:0 auto;min-width:0;touch-action:pan-y}
.project-story .story-slide{margin:0;min-width:0;background:#211e1d}
.project-story .story-slide+ .story-slide{margin-top:24px}
.project-story .story-gallery[data-gallery-ready] .story-slide{margin-top:0}
.project-story .story-slide[hidden]{display:none!important}
.project-story .story-slide>img{display:block;width:100%;height:clamp(330px,55vw,660px);max-height:660px;object-fit:contain;background:#211e1d;transform:none}
.project-story .story-slide figcaption{display:block;position:static;margin:0;padding:16px 22px;background:#211e1d;color:#faf6f2;font:500 1rem/1.6 Inter,Arial,sans-serif;letter-spacing:0;text-transform:none}
.project-story .story-slide figcaption span{display:inline-block;margin-right:12px;color:#e4bd63;font-weight:700}
.project-story .story-controls{display:grid;grid-template-columns:auto minmax(95px,1fr) auto auto;align-items:center;gap:12px;padding:16px 0}
.project-story .story-controls button,.project-story .story-lightbox button{font:650 .9375rem/1.3 Inter,Arial,sans-serif;min-height:46px;border:1px solid #80601f;padding:10px 18px;background:transparent;border-radius:3px;color:#292524;cursor:pointer}
.project-story .story-controls button:hover:not(:disabled){background:#e4bd63;color:#211e1d}
.project-story .story-controls button:disabled,.project-story .story-lightbox button:disabled{opacity:.4;cursor:default}
.project-story .story-controls .story-enlarge{background:#211e1d;border-color:#211e1d;color:#faf6f2}
.project-story .story-controls .story-count{font-size:.9375rem;line-height:1.4;text-align:center;margin:0;color:#62534a;font-variant-numeric:tabular-nums}
.project-story .story-thumbnails{display:flex;gap:12px;padding:4px 4px 14px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#80601f #eee4d9}
.project-story .story-thumbnails[hidden]{display:none}
.project-story .story-thumb{flex:0 0 124px;min-width:0;margin:0;padding:3px;border:2px solid transparent;background:transparent;color:#62534a;cursor:pointer;border-radius:3px;text-align:left;font-family:Inter,Arial,sans-serif}
.project-story .story-thumb img{display:block;width:100%;height:84px;object-fit:cover;background:#211e1d;opacity:.8}
.project-story .story-thumb span{display:block;padding:6px 2px 0;font-size:.875rem;line-height:1.3;font-weight:600}
.project-story .story-thumb[aria-current=true]{border-color:#80601f;color:#211e1d}
.project-story .story-thumb[aria-current=true] img,.project-story .story-thumb:hover img{opacity:1}
.project-story button:focus-visible,.project-story summary:focus-visible,.project-index a:focus-visible{outline:3px solid #80601f;outline-offset:3px}
.project-story .story-film{max-width:1240px;margin:26px auto 0;border-top:1px solid #cfc1b2;border-bottom:1px solid #cfc1b2;min-width:0}
.project-story .story-film summary{padding:22px 4px;cursor:pointer;font-size:1rem;font-weight:700;color:#49352b;line-height:1.5}
.project-story .story-film summary::marker{color:#80601f}
.project-story .story-film video{display:block;width:100%;height:auto;max-height:660px;object-fit:contain;aspect-ratio:16/9;background:#211e1d;margin:0 0 24px}
.project-story .story-film p{font-size:.9375rem;color:#62534a;margin:0 0 20px}
.project-story .story-lightbox{width:min(1200px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:16px 20px;background:#171514;color:#faf6f2;border:1px solid #80601f;border-radius:4px;overscroll-behavior:contain}
.project-story .story-lightbox::backdrop{background:#090807ed}
.project-story .story-lightbox-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}
.project-story .story-lightbox-header p{font-size:1rem;font-weight:650;margin:0}
.project-story .story-lightbox figure{margin:0}
.project-story .story-lightbox figure img{display:block;width:100%;height:auto;max-height:calc(100dvh - 220px);object-fit:contain}
.project-story .story-lightbox figcaption{font-size:.9375rem;line-height:1.5;padding:14px 0;color:#e9ded2}
.project-story .story-lightbox figcaption>span{display:block;margin:0 0 4px;color:#e4bd63;font-size:.875rem;font-weight:700;line-height:1.4}
.project-story .story-lightbox button{border-color:#d1ab60;color:#faf6f2;flex:none}
.project-story .story-lightbox button:hover:not(:disabled){background:#e4bd63;color:#211e1d}
.project-story .story-lightbox-controls{display:flex;align-items:center;justify-content:center;gap:24px}
.project-story .story-lightbox-controls span{font-size:.9375rem;font-variant-numeric:tabular-nums}
@media(max-width:850px){
 .project-index .project-index-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}
 .project-story .story-heading{grid-template-columns:minmax(0,1fr);gap:18px}
 .project-story .story-slide>img{height:clamp(360px,65vw,600px)}
}
@media(max-width:540px){
 .project-index{padding:36px 20px 42px}
 .project-index .project-index-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .project-index .project-index-card>img{aspect-ratio:4/3}
 .project-story{padding:40px 20px}
 .project-story .story-heading{margin-bottom:24px}
 .project-story h2{font-size:2rem;letter-spacing:-.8px}
 .project-story .story-slide>img{height:auto;max-height:560px;min-height:260px;object-fit:contain}
 .project-story .story-slide figcaption{padding:14px 16px;font-size:.9375rem}
 .project-story .story-controls{grid-template-columns:auto minmax(70px,1fr) auto;gap:10px}
 .project-story .story-controls button{padding:10px 12px}
 .project-story .story-controls .story-enlarge{grid-column:1/-1;width:100%}
 .project-story .story-controls .story-count{font-size:.875rem}
 .project-story .story-thumb{flex-basis:108px}
 .project-story .story-thumb img{height:76px}
 .project-story .story-film summary{padding:20px 0}
 .project-story .story-lightbox{padding:12px;width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}
 .project-story .story-lightbox-header{gap:10px}
 .project-story .story-lightbox-header p{font-size:.9375rem}
 .project-story .story-lightbox button{padding:10px 12px}
 .project-story .story-lightbox-controls{gap:18px}
}
@media(prefers-reduced-motion:reduce){.project-story,.project-story *{scroll-behavior:auto}}

.project-story .story-return{max-width:1240px;margin:26px auto 0;font-size:.9375rem}.project-story .story-return a{text-decoration:underline;text-underline-offset:4px}.project-story .story-slide img[src^="project-photos/"]{max-height:630px}.project-index .story-count-label{margin-top:8px;font-weight:600;color:#80601f}

.project-story .story-return{display:flex;flex-wrap:wrap;align-items:center;gap:18px 28px}.project-story .story-return .story-quote{display:inline-flex;align-items:center;min-height:48px;padding:12px 20px;background:#e4bd63;color:#211e1d;font-weight:700;text-decoration:none;border-radius:3px}.project-story .story-quote:hover{background:#f0cd80}.project-index .project-index-card>img{aspect-ratio:4/5}
