/* Detail-page rules only. Homepage stylesheet is unchanged. */
.project-heading{margin:104px 20px 0;background:linear-gradient(#f9f9f9,#fff);border-radius:48px;padding:112px 24px 72px}.project-heading-inner{max-width:960px;margin:auto;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);align-items:center;gap:64px}.project-page .eyebrow{color:var(--body)}.project-page h1{display:block;text-align:left;white-space:normal;font-size:3.75rem;line-height:1.15;padding:0;margin:20px 0 24px;overflow-wrap:break-word}.project-intro{font-size:1.25rem;line-height:1.8;color:var(--body)}.project-meta{background:#fff;border-radius:32px;padding:32px;margin:0;transform:rotate(3deg)}.project-meta div{display:grid;grid-template-columns:85px 1fr;gap:20px;padding:14px 0}.project-meta dt{font-size:0.8125rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--body);line-height:1.6}.project-meta dd{margin:0;font-size:1rem;line-height:1.6;color:var(--body)}.featured-image{margin:0 30px}.featured-image img{width:100%;height:auto;aspect-ratio:1200/720;object-fit:cover;display:block;border-radius:48px}.project-overview{max-width:900px;margin:auto;padding:120px 24px}.project-overview h2{font-size:2.25rem;margin-bottom:24px}.project-overview p{font-size:1.25rem;line-height:1.8;color:var(--body)}.visual-gallery{margin:0 44px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;align-items:start}.visual-gallery figure{margin:0;min-width:0}.gallery-full{grid-column:1/-1}.visual-gallery img{width:100%;height:auto;display:block;border-radius:24px}.visual-gallery figcaption{font-size:0.875rem;line-height:1.6;color:var(--body);margin-top:16px}.next-project{max-width:960px;margin:120px auto;padding:0 24px}.back-link{display:inline-block;font-size:1rem;padding:14px 0;margin-bottom:32px;color:var(--body)}.back-link:hover{color:var(--accent)}.next-link{display:block;border-top:1px solid #e6e8ea;padding:40px 0}.next-title{display:flex;justify-content:space-between;align-items:center;gap:24px;font-family:var(--heading);font-weight:700;font-size:3rem;line-height:1.2;margin:16px 0;transition:color .25s}.next-title>span{transition:transform .25s}.next-link:hover .next-title{color:var(--accent)}.next-link:hover .next-title>span{transform:translate(4px,-4px)}.next-category{font-size:1.125rem;color:var(--body)}.project-page footer .eyebrow{color:var(--ink)}@media(max-width:1199px){.project-heading{padding-top:80px}.project-heading-inner{gap:40px}.project-page h1{font-size:3rem}.project-meta{padding:24px}.project-meta div{grid-template-columns:1fr;gap:6px}.project-overview{padding:80px 44px}.featured-image img{border-radius:32px}.next-title{font-size:2.25rem}}@media(max-width:809px){.project-heading{margin:104px 10px 0;padding:48px 26px}.project-heading-inner{grid-template-columns:1fr;gap:32px}.project-page h1{font-size:2.25rem;margin:16px 0 20px}.project-intro,.project-overview p{font-size:1.125rem;line-height:1.8}.project-meta{transform:none;border-radius:24px;padding:20px 24px}.project-meta div{grid-template-columns:90px minmax(0,1fr);gap:16px}.featured-image{margin:0 20px}.featured-image img{aspect-ratio:1200/840;border-radius:24px}.project-overview{padding:64px 36px}.project-overview h2{font-size:2rem}.visual-gallery{margin:0 26px;grid-template-columns:1fr;gap:28px}.visual-gallery img{border-radius:20px}.gallery-full{grid-column:auto}.next-project{margin:64px auto;padding:0 36px}.next-title{font-size:2rem}.next-link{padding:32px 0}.back-link{margin-bottom:20px}.project-page .project-heading .eyebrow{font-size:0.75rem}}@media(prefers-reduced-motion:reduce){.next-title,.next-title>span{transition:none}}

.case-index{max-width:1100px;margin:0 auto 80px;padding:24px;display:flex;flex-wrap:wrap;gap:12px 28px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.case-index a{font-size:1rem;padding:8px 0;text-decoration:underline;text-underline-offset:5px}.case-section{max-width:1100px;margin:0 auto 100px;padding:0 24px;scroll-margin-top:104px}.case-copy{display:grid;grid-template-columns:1fr 1.6fr;gap:64px;margin-bottom:40px}.case-copy h2{font-size:2.25rem}.case-lead{font-size:1.5rem;line-height:1.5;margin-bottom:24px}.draft-note{font-size:1.0625rem;line-height:1.8;color:var(--body)}.draft-note span{display:block;font-size:0.75rem;letter-spacing:1.5px;font-weight:700;margin-bottom:8px}.asset-slot{margin:0;min-height:320px;padding:60px 32px;border:1px dashed #bbc2be;border-radius:24px;background:#f5f6f5;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:20px}.asset-slot h3{font-size:1.875rem}.asset-slot p{font-size:1rem;line-height:1.7;color:var(--body)}.case-links{max-width:1052px;margin:auto;padding:40px 24px;background:#f9f9f9;border-radius:24px}.case-links h2{font-size:2rem;margin-bottom:24px}.case-links p,.case-links a{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ddd;padding:24px 0;font-size:1.125rem}.case-links span{font-size:1rem;color:var(--body)}@media(max-width:809px){.case-copy{grid-template-columns:1fr;gap:24px}.case-copy h2{font-size:1.875rem}.case-section{margin-bottom:64px}.case-lead{font-size:1.3125rem}.asset-slot{min-height:240px;padding:32px 20px}.asset-slot h3{font-size:1.5rem}.case-index{margin-bottom:48px}.case-links{margin:0 24px}.case-links p{flex-direction:column}}

/* Stash narrative layout; original case-study typography and surfaces. */
.stash-subtitle{font-size:2rem;line-height:1.2;margin-bottom:24px}.stash-page .project-heading-inner{max-width:1100px;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr)}.stash-page .project-meta{transform:none}.stash-page .project-meta div{grid-template-columns:1fr;gap:8px}.stash-link{display:inline-block;margin-top:28px;padding:14px 22px;border:1px solid #ccd3db;border-radius:12px;background:white;font-size:1.0625rem}.stash-link:hover{background:#f0f2f4}.stash-wide{margin:0 30px}.stash-placeholder{margin:0;min-height:320px;border:1px dashed #bac1be;background:#f4f5f4;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:32px;text-align:center}.stash-placeholder span{font-size:0.75rem;letter-spacing:2px;color:#59635f}.stash-placeholder p{font-family:var(--heading);font-size:1.5rem;line-height:1.4;color:var(--body)}.stash-hero-slot{min-height:520px;border-radius:40px}.stash-content{max-width:1100px;margin:auto;padding:100px 24px 0}.stash-story{display:grid;grid-template-columns:1fr 1.6fr;gap:64px;margin-bottom:96px}.stash-case h2{font-size:2.25rem}.stash-story p,.stash-features>p,.stash-feature p,.stash-family>p{font-size:1.1875rem;line-height:1.8;color:var(--body)}.stash-story p+p,.stash-family>p+p{margin-top:24px}.stash-features{margin-bottom:96px}.stash-features>p{max-width:720px;margin-top:24px}.stash-feature{display:grid;grid-template-columns:1fr 1.3fr;gap:56px;align-items:center;margin-top:48px}.stash-feature h3{font-size:1.75rem;margin-bottom:20px}.stash-family{padding:40px;background:#f9f9f9;border-radius:32px;margin-bottom:96px}.stash-family h2{margin-bottom:24px}.stash-family-slot{min-height:280px;margin-top:32px}.stash-support-links{display:flex;gap:28px;margin-top:28px;flex-wrap:wrap}.stash-support-links a{text-decoration:underline;text-underline-offset:5px;font-size:1.0625rem}.stash-lesson{margin-bottom:0}@media(max-width:809px){.stash-page .project-heading-inner,.stash-story,.stash-feature{grid-template-columns:1fr;gap:24px}.stash-subtitle{font-size:1.625rem}.stash-case h2{font-size:1.875rem}.stash-wide{margin:0 20px}.stash-hero-slot{min-height:280px;border-radius:24px}.stash-content{padding:64px 26px 0}.stash-story,.stash-features,.stash-family{margin-bottom:64px}.stash-story p,.stash-features>p,.stash-feature p,.stash-family>p{font-size:1.125rem}.stash-feature{margin-top:36px}.stash-family{padding:28px 22px}.stash-placeholder{min-height:240px;padding:24px}.stash-placeholder p{font-size:1.3125rem}}

.br-comparison,.br-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.br-comparison{margin:-32px 0 96px}.br-comparison .stash-placeholder{min-height:300px}.br-examples{margin-bottom:96px}.br-examples>p,.br-client-grid p{font-size:1.1875rem;line-height:1.8;color:var(--body)}.br-examples>p{margin-top:24px}.br-client-grid{margin:40px 0}.br-client-grid h3{font-size:1.625rem;margin:28px 0 16px}.br-status{list-style:none;padding:0;margin:24px 0 0;border-top:1px solid #ddd}.br-status li{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid #ddd;font-size:1.0625rem}.br-status span{color:var(--body);font-size:0.9375rem}@media(max-width:809px){.br-comparison,.br-client-grid{grid-template-columns:1fr;gap:28px}.br-comparison{margin:0 0 64px}.br-examples{margin-bottom:64px}.br-status li{flex-direction:column;gap:8px}.br-examples>p,.br-client-grid p{font-size:1.125rem}}

.emerald-case .stash-feature h2{margin-bottom:24px}.emerald-case .stash-feature p+p{margin-top:24px}

/* Shared project gallery and optional prototype, used by every template. */
.project-showcase,.project-prototype{max-width:1100px;margin:96px auto;padding:0 24px}.project-showcase h2,.project-prototype h2{font-size:2.25rem;margin-bottom:32px}.showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.showcase-grid figure{margin:0;min-width:0}.showcase-full{grid-column:1/-1}.showcase-grid img{display:block;width:100%;height:auto;border-radius:24px}.showcase-placeholder{min-height:300px;aspect-ratio:4/3;background:#f4f5f4;border:1px dashed #bac1be;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px;gap:18px}.showcase-full .showcase-placeholder{aspect-ratio:16/9}.showcase-placeholder span{font-size:0.75rem;letter-spacing:2px;color:#59635f}.showcase-placeholder p{font-family:var(--heading);font-size:1.5rem;line-height:1.4;color:var(--body)}.showcase-grid figcaption{font-size:1rem;line-height:1.6;color:var(--body);margin-top:16px}.project-prototype .stash-link{margin-top:0}@media(max-width:809px){.project-showcase,.project-prototype{margin:64px auto;padding:0 26px}.project-showcase h2,.project-prototype h2{font-size:1.875rem}.showcase-grid{grid-template-columns:1fr;gap:28px}.showcase-full{grid-column:auto}.showcase-placeholder,.showcase-full .showcase-placeholder{min-height:240px;aspect-ratio:4/3;padding:24px}.showcase-placeholder p{font-size:1.3125rem}}

/* Shared editorial structure: split hero, metadata band, reading column, wide artwork. */
.project-page .project-heading{padding:64px 44px;margin-top:104px}.project-page .project-heading-inner{max-width:1200px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:64px;align-items:center}.case-hero-title{min-width:0}.case-hero-visual{margin:0;min-width:0}.case-hero-visual .stash-hero-slot{min-height:400px;aspect-ratio:5/4}.case-hero-visual img{aspect-ratio:5/4;object-fit:contain;background:#f4f5f4;border-radius:40px}.case-meta-row{max-width:1150px;margin:0 auto;padding:40px 24px}.project-page .case-meta-row .project-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:24px 36px;background:transparent;padding:0;transform:none;border-radius:0}.project-page .case-meta-row .project-meta div{display:block;padding:0}.case-meta-row dt{margin-bottom:10px}.case-opening{max-width:760px;margin:32px auto 80px;padding:0 24px}.case-opening .project-intro+.project-intro{margin-top:24px}.stash-content{max-width:1150px;padding:0 24px}.stash-story{display:block;max-width:712px;margin:0 auto 88px}.stash-story h2{margin-bottom:24px}.stash-features{margin:0 0 88px}.stash-features>h2,.stash-features>p{max-width:712px;margin-left:auto;margin-right:auto}.stash-feature{display:block;margin-top:56px}.stash-feature>div{max-width:712px;margin:0 auto 40px}.stash-feature .stash-placeholder{min-height:420px}.stash-family{padding:0;background:transparent;border-radius:0}.stash-family>h2,.stash-family>p,.stash-family>.stash-support-links{max-width:712px;margin-left:auto;margin-right:auto}.stash-family-slot{margin-top:40px;min-height:420px}.stash-content>.stash-link,.stash-content>.stash-support-links{margin-left:max(0px,calc((100% - 712px)/2))}.br-examples>h2,.br-examples>p,.br-status{max-width:712px;margin-left:auto;margin-right:auto}.project-page .project-overview{max-width:760px;padding:0 24px 88px}.case-copy{display:block;max-width:712px;margin:0 auto 40px}.case-copy h2{margin-bottom:24px}.case-index{max-width:1102px}.project-showcase{max-width:1150px}.project-showcase>h2{max-width:712px;margin-left:auto;margin-right:auto}.project-page .next-project{max-width:1150px}
@media(max-width:1000px){.project-page .project-heading-inner{gap:36px}.project-page .project-heading{padding:48px 28px}.case-hero-visual .stash-hero-slot{min-height:320px}.project-page h1{font-size:3rem}}
@media(max-width:809px){.project-page .project-heading{padding:40px 26px;margin:104px 10px 0}.project-page .project-heading-inner{grid-template-columns:1fr;gap:32px}.project-page h1{font-size:2.25rem}.case-hero-visual .stash-hero-slot{min-height:260px;aspect-ratio:4/3}.case-hero-visual img{aspect-ratio:4/3;border-radius:24px}.case-meta-row{padding:32px 36px}.project-page .case-meta-row .project-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.case-opening{padding:0 36px;margin:24px auto 64px}.stash-content{padding:0 26px}.stash-story,.stash-features,.stash-family{margin-bottom:64px}.stash-feature .stash-placeholder,.stash-family-slot{min-height:260px}.project-page .project-overview{padding:0 36px 64px}.stash-content>.stash-link,.stash-content>.stash-support-links{margin-left:0}}
@media(max-width:420px){.project-page .case-meta-row .project-meta{grid-template-columns:1fr}.case-meta-row{padding:28px 36px}}

.content-fpo{border:1px dashed #bac1be;border-radius:12px;background:#f4f5f4;padding:20px 24px;margin-top:24px}
/* Continuous project strip. The content column and homepage are unchanged. */
.project-showcase{max-width:none;padding:0;margin:0 auto 88px}.project-showcase>h2{padding:0 24px;max-width:760px;margin:0 auto 32px}.gallery-viewport{overflow-x:auto;scrollbar-width:thin}.gallery-track{display:flex;width:max-content;align-items:flex-start}.gallery-group{display:flex;gap:28px;padding:0 28px 16px 0;flex:none}.gallery-group figure{margin:0;width:clamp(280px,40vw,560px);flex:none}.gallery-group .showcase-half{width:clamp(260px,30vw,420px)}.gallery-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:inherit;cursor:zoom-in;border-radius:24px}.gallery-open:focus-visible{outline:3px solid var(--ink);outline-offset:4px}.gallery-open img{display:block;width:100%;height:340px;object-fit:contain;background:#f4f5f4;border-radius:24px}.gallery-open .showcase-placeholder{height:340px;min-height:0;aspect-ratio:auto}.gallery-group figcaption{font-size:1rem;line-height:1.6;padding:16px 8px 0;color:var(--body)}.gallery-moving .gallery-viewport{overflow:hidden}.gallery-moving .gallery-track{animation:gallery-drift var(--gallery-duration) linear infinite;will-change:transform}.project-showcase:hover .gallery-track,.project-showcase:focus-within .gallery-track,.gallery-is-open .gallery-track{animation-play-state:paused}.gallery-is-open{overflow:hidden}@keyframes gallery-drift{to{transform:translateX(calc(-1 * var(--gallery-distance)))}}.gallery-viewer{position:fixed;inset:0;width:min(1200px,94vw);max-width:94vw;max-height:92dvh;margin:auto;padding:64px 24px 24px;border:0;border-radius:24px;background:white;color:var(--ink);overflow:auto}.gallery-viewer::backdrop{background:rgba(0,0,0,.78)}.gallery-close{position:absolute;right:20px;top:16px;padding:10px 16px;border:1px solid #ccd3db;border-radius:10px;background:white;color:var(--ink);cursor:pointer}.gallery-viewer-content img{display:block;max-width:100%;width:auto;max-height:75dvh;height:auto;object-fit:contain;margin:auto}.gallery-viewer-content .showcase-placeholder{min-height:50dvh}.gallery-viewer-content>p{font-size:1rem;line-height:1.6;margin:20px auto 0}.gallery-viewer .showcase-placeholder{aspect-ratio:auto}@media(max-width:809px){.project-showcase{padding:0;margin-bottom:64px}.gallery-group{gap:20px;padding-right:20px}.gallery-open img,.gallery-open .showcase-placeholder{height:260px}.project-showcase>h2{padding:0 36px}.gallery-viewer{padding:64px 16px 20px}}@media(prefers-reduced-motion:reduce){.gallery-moving .gallery-track{animation:none}.gallery-viewport{overflow-x:auto}}

/* Full-height project artwork. */
.gallery-open img,.gallery-open .showcase-placeholder{height:620px}
.gallery-group figure{width: min(1000px, 85vw)}
.gallery-group .showcase-half{width:min(620px,75vw)}
@media(hover:hover) and (pointer:fine){.gallery-open,.gallery-open *{cursor:zoom-in}}

/* Shared overview: introduction and project facts, followed by the gallery. */
.case-overview-layout{max-width:1150px;margin:0 auto;padding:72px 24px 80px;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:72px;align-items:start;scroll-margin-top:120px}
.case-overview-copy,.case-overview-facts{min-width:0}
.project-page .case-overview-copy h2{font-size:2.25rem;line-height:1.2;margin:0 0 24px}
.case-overview-copy p{font-size:1.25rem;line-height:1.8;color:var(--body);margin:0}
.case-overview-copy p+p{margin-top:24px}
.project-page .case-overview-facts .project-meta{display:grid;grid-template-columns:1fr;gap:22px;padding:0;margin:0;background:transparent;transform:none;border-radius:0}
.project-page .case-overview-facts .project-meta div{display:block;padding:0}
.case-overview-facts .project-meta dt{font-size:0.875rem;margin:0 0 6px}
.case-overview-facts .project-meta dd{font-size:1rem;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:809px){.case-overview-layout{grid-template-columns:1fr;gap:40px;padding:48px 36px 64px}.project-page .case-overview-copy h2{font-size:1.875rem}.case-overview-copy p{font-size:1.125rem}.project-page .case-overview-facts .project-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:480px){.project-page .case-overview-facts .project-meta{grid-template-columns:1fr}}

/* Keyboard browsing uses a stationary, manually scrollable gallery. */
.gallery-keyboard .gallery-track{animation:none;transform:none}
.gallery-keyboard .gallery-viewport{overflow-x:auto;scroll-behavior:auto}
.gallery-keyboard .gallery-group-copy,.gallery-keyboard [data-repeat]{display:none}
.gallery-viewport{padding:10px 0}
.gallery-open:focus-visible{outline-offset:-4px}

.project-page .project-heading{margin-top:calc(var(--header-height) + 20px)}
.case-overview-layout{scroll-margin-top:calc(var(--header-height) + 24px)}
.next-title{display:block;overflow-wrap:anywhere}
.gallery-settled .gallery-track{animation:none;transform:none}
.gallery-settled .gallery-viewport{overflow-x:auto}
.gallery-close{position:sticky;display:block;margin:-48px 0 20px auto;top:0;right:auto;min-height:44px;z-index:1}
.gallery-viewer{overflow-wrap:anywhere}
.gallery-viewer-content .showcase-placeholder{height:auto;min-height:180px}
@media(max-width:480px){.gallery-open img,.gallery-open .showcase-placeholder{height:min(620px,75dvh);min-height:240px}.showcase-placeholder{padding:20px}.showcase-placeholder p{font-size:1.25rem}}
.case-hero-visual .stash-hero-slot{width:100%;max-width:100%;min-width:0}.stash-placeholder>*{max-width:100%;overflow-wrap:anywhere}
@media(max-width:480px){.case-hero-visual .stash-hero-slot{aspect-ratio:auto}}

.case-figma-prototype{margin:0 0 96px;min-width:0}.case-figma-prototype h2,.case-figma-prototype>p,.prototype-skip{max-width:712px;margin:0 auto 24px}.case-figma-prototype>p{font-size:1.1875rem;line-height:1.8;color:var(--body)}.prototype-skip{display:block;text-decoration:underline;text-underline-offset:.2em}.case-figma-prototype iframe{display:block;width:100%;height:clamp(450px,65vw,720px);border:1px solid #d6dad8;border-radius:16px;background:#f4f5f4;margin:0 0 24px}.case-figma-prototype iframe:focus-visible{outline:3px solid #2b6d77;outline-offset:4px}@media(max-width:600px){.case-figma-prototype{margin-bottom:64px}.case-figma-prototype iframe{height:500px}.case-figma-prototype>p{font-size:1.125rem}}

/* Image-led gallery: artwork sets its own width at a shared height. */
.project-showcase{--gallery-image-height:620px;--gallery-gap:40px}
.gallery-group{gap:var(--gallery-gap);padding:0 var(--gallery-gap) 24px 0;align-items:flex-start}
.gallery-group figure,.gallery-group .showcase-half{display:grid;grid-template-columns:min-content;width:max-content;min-width:0;flex:none}
.gallery-open{width:max-content;max-width:none;border:0;border-radius:var(--case-image-radius);background:none;box-shadow:none;line-height:0}
.gallery-open img{width:auto;max-width:none;height:var(--gallery-image-height);min-height:0;object-fit:contain;border:0;border-radius:var(--case-image-radius);background:transparent;box-shadow:none}
.gallery-open .showcase-placeholder{width:calc(var(--gallery-image-height) * 1.25);height:var(--gallery-image-height);min-height:0;line-height:1.4;border-radius:8px}
.gallery-group .showcase-full .showcase-placeholder{width:calc(var(--gallery-image-height) * 1.6)}
.gallery-group figcaption{width:0;min-width:100%;padding:18px 0 0;margin:0;text-align:left;line-height:1.55;overflow-wrap:anywhere}
.gallery-caption-title{display:block;font-family:var(--heading);font-size:1rem;font-weight:600;line-height:1.4;color:var(--ink);margin-bottom:6px}
.gallery-caption-copy{display:block;max-width:58ch;font-size:.9375rem;font-weight:400;line-height:1.6;color:var(--body)}
.gallery-viewer-content>p{max-width:65ch;text-align:left}.gallery-viewer-content .gallery-caption-title{margin-bottom:6px}
@media(max-width:809px){.project-showcase{--gallery-gap:24px}.gallery-group figcaption{padding-top:14px}}
@media(max-width:480px){.project-showcase{--gallery-image-height:clamp(280px,65dvh,480px);--gallery-gap:20px}}
.gallery-viewport{padding:10px clamp(24px,4vw,64px) 16px}
/* Persistent, keyboard-accessible gallery controls. */
.gallery-controls{max-width:760px;margin:0 auto 24px;padding:0 24px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.gallery-controls button{min-height:44px;min-width:76px;padding:10px 18px;border:1px solid #b5bdb9;border-radius:999px;background:white;color:var(--ink);font-size:.9375rem;line-height:1.4}
.gallery-controls button:hover{background:#f0f2f1}.gallery-controls button:disabled{opacity:.5;cursor:default}
.gallery-controls .gallery-play{background:var(--ink);color:white;border-color:var(--ink)}
.gallery-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.gallery-controlled .gallery-track{animation:none!important;transform:none!important}.gallery-controlled .gallery-viewport{overflow-x:auto;scroll-behavior:auto}
.gallery-group{position:relative}

/* Shared case-study type, artwork, and onward navigation. */
.project-page{--case-title:clamp(2.25rem,4.4vw,3.75rem);--case-heading:clamp(1.875rem,3vw,2.25rem);--case-subtitle:clamp(1.625rem,2.7vw,2rem);--case-body:clamp(1.125rem,1.8vw,1.25rem);--case-image-radius:24px}
.project-page main h1{font-family:var(--heading);font-size:var(--case-title);font-weight:700;line-height:1.15;letter-spacing:-.025em}
.project-page main h2{font-family:var(--heading);font-size:var(--case-heading);font-weight:700;line-height:1.2;letter-spacing:-.015em}
.project-page main .stash-subtitle{font-size:var(--case-subtitle);line-height:1.3;letter-spacing:-.015em}
.project-page main .eyebrow,.project-page .project-heading .eyebrow,.project-page .project-meta dt{font-family:var(--text);font-size:.875rem;font-weight:700;line-height:1.5;letter-spacing:.06em}
.project-page :is(.case-overview-copy,.project-overview,.stash-story,.stash-feature,.stash-features,.stash-family,.br-examples,.case-figma-prototype)>p,.project-page :is(.stash-story,.stash-feature,.br-client-grid) p,.project-page .project-intro{font-size:var(--case-body);line-height:1.8;color:var(--body)}
.project-page :is(.gallery-open img,.gallery-open,.gallery-viewer-content img,.exxel-story-image img,.featured-image img,.visual-gallery img,.showcase-grid img,.case-figma-prototype iframe){border-radius:var(--case-image-radius)}
.project-page :is(.detail-tour,.br-preview,.stash-demo){border-radius:var(--case-image-radius)}
.case-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 24px;border:1px solid #ccd3db;border-radius:14px;background:#fff;color:var(--ink);font:500 1rem/1.5 var(--text);transition:background .2s,border-color .2s}
.case-button:hover{background:var(--quiet);border-color:var(--ink)}
.prototype-jump{margin-top:28px}
.case-figma-prototype{scroll-margin-top:calc(var(--header-height) + 32px)}
.related-projects{max-width:1200px;margin:112px auto;padding:0 36px}
.related-projects>h2{margin-bottom:36px}
.related-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.related-project{display:block;min-width:0;border-radius:var(--case-image-radius)}
.related-project-image{aspect-ratio:4/3;border-radius:var(--case-image-radius);overflow:hidden;background:#eef0ef}
.related-project-image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s}
.related-project .eyebrow{margin:20px 0 8px;color:var(--body)}
.related-project h3{font:700 clamp(1.375rem,2.2vw,1.75rem)/1.25 var(--heading);letter-spacing:-.015em}
.related-project:hover h3{text-decoration:underline;text-underline-offset:.2em}
.related-project:hover img{transform:scale(1.025)}
.related-projects-action{display:flex;justify-content:center;margin-top:40px}
@media(max-width:809px){.project-page{--case-image-radius:20px}.related-projects{margin:72px auto;padding:0 36px}.related-project-grid{grid-template-columns:1fr;gap:36px}.related-projects>h2{margin-bottom:28px}.related-project .eyebrow{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.case-button,.related-project-image img{transition:none}.related-project:hover img{transform:none}}

/* Compact gallery arrows replace the old text controls. */
.gallery-arrows{max-width:1150px;margin:0 auto 24px;padding:0 36px;display:flex;justify-content:flex-end;gap:12px}
.gallery-arrows button{width:48px;height:48px;display:grid;place-items:center;padding:12px;border:1px solid #ccd3db;border-radius:50%;background:white;color:var(--ink)}
.gallery-arrows button:hover{background:var(--quiet);border-color:var(--ink)}
.gallery-arrows button:disabled{opacity:.4;cursor:default}
.gallery-arrows svg{width:24px;height:24px}
.related-projects>h2{text-align:center}

/* Keep the gallery title and navigation aligned in one shared row. */
.gallery-heading{max-width:1150px;margin:0 auto 32px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.project-showcase .gallery-heading h2{margin:0;min-width:0}
.gallery-heading .gallery-arrows{margin:0;padding:0;flex:0 0 auto}
@media(max-width:600px){.gallery-heading{gap:12px;padding:0 24px;margin-bottom:24px}.project-showcase .gallery-heading h2{font-size:clamp(1.25rem,5vw,1.875rem)}.gallery-heading .gallery-arrows{gap:8px}.gallery-heading .gallery-arrows button{width:44px;height:44px;padding:10px}}
