/* Centered visual-first case-study opening. */
.original-layout .centered-project-hero{position:relative;padding:56px 4.5% 48px;text-align:center}
.original-layout .centered-project-hero .back-link{position:absolute;top:28px;left:4.5%;margin:0;font-size:.9rem}
.original-layout .centered-project-hero .case-heading{max-width:900px;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center}
.centered-project-hero .eyebrow{display:block;color:#b4bab0;text-transform:uppercase}
.original-layout .centered-project-hero h1{max-width:780px;margin:24px auto 20px;font-size:clamp(2.5rem,3.9vw,3.8rem);line-height:1.08;letter-spacing:-.01em}
.centered-project-hero .project-subtitle{font-family:var(--body);font-size:1.25rem;font-weight:500;line-height:1.4;color:#c3c7bf;width:100%;max-width:740px;margin:0 auto;text-align:center}
.project-cover-stage{position:relative;padding:0 4.5%;isolation:isolate}
.project-cover-stage:before{content:'';position:absolute;z-index:-1;inset:0 0 50%;background:var(--ink)}
.original-layout .project-cover-stage>:is(.case-cover,.pitch-lead-visual,.emd-cover){width:100%;max-width:1360px;margin:0 auto;border-radius:10px;overflow:hidden}
.original-layout .project-cover-stage .case-cover img{width:100%;height:auto;display:block}
.original-layout .project-cover-stage .pitch-lead-visual{padding:24px}
.project-cover-stage .pitch-lead-visual svg{display:block;width:100%;height:480px}
.project-cover-stage .emd-cover img{display:block;width:100%;max-height:540px;object-fit:contain;background:#e4e8dd}
.project-cover-stage figcaption{padding:12px 16px;background:var(--paper);font-size:.9rem;line-height:1.45;text-align:center;color:var(--muted)}
.project-intro{max-width:1060px;margin:0 auto;padding:40px 4.5% 24px;text-align:center}
.project-intro-story{max-width:850px;margin:0 auto 24px;font-size:1.125rem;line-height:1.45;font-weight:500;color:#51594d}
.project-inline-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 20px;margin:0;font-size:1rem;line-height:1.5}
.project-inline-facts>div{display:flex;align-items:baseline;gap:6px}
.project-inline-facts dt{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.project-inline-facts dd{margin:0}
.project-inline-facts>div+div:before{content:'·';color:var(--muted);margin-right:12px}
.project-delivery{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:center;gap:6px 20px;margin:20px 0 0;font-size:.95rem;line-height:1.5}
.project-live-status{font-weight:600;display:inline-flex;align-items:center;gap:8px}
.project-live-status:before{content:'';width:9px;height:9px;flex:none;border-radius:50%;background:var(--lime)}
.project-delivery-note{color:var(--muted)}
@media(max-width:700px){
 .original-layout .centered-project-hero{padding:76px 6% 36px}
 .original-layout .centered-project-hero .back-link{top:18px;left:6%;font-size:.875rem}
 .original-layout .centered-project-hero h1{font-size:clamp(2.2rem,7.8vw,3rem);margin:20px auto 18px;line-height:1.12}
 .centered-project-hero .project-subtitle{font-size:1.125rem;max-width:300px;margin:0 auto}
 .project-cover-stage{padding:0 6%}
 .original-layout .project-cover-stage>:is(.case-cover,.pitch-lead-visual,.emd-cover){border-radius:6px}
 .original-layout .project-cover-stage .pitch-lead-visual{padding:12px}
 .project-cover-stage .pitch-lead-visual svg{height:auto;aspect-ratio:795/570}
 .project-intro{padding:32px 6% 16px}
 .project-intro-story{font-size:1.125rem;line-height:1.5;margin-bottom:16px}
 .project-inline-facts{gap:5px 14px;font-size:.95rem}
 .project-inline-facts>div+div:before{display:none}
 .project-delivery{font-size:.9rem;margin-top:16px;gap:4px 12px}
 .project-cover-stage figcaption{font-size:.85rem;padding:10px 0}
}

/* Keep the complete BFF artwork inside the selected shallow cover composition. */
.project-cover-stage .case-cover:has(img[src="/assets/bff-cover.png"]){aspect-ratio:3/1;background:#d1cbfa}
.original-layout .project-cover-stage .case-cover img[src="/assets/bff-cover.png"]{height:100%;object-fit:contain}

/* Position the BFF cover at the annotated desktop starting point. */
.original-layout .centered-project-hero{padding-top:114px;padding-bottom:114px}
@media(max-width:700px){
 .original-layout .centered-project-hero{padding-top:61.4px;padding-bottom:61.4px}
}

/* Labelled project facts follow the cover edges, with status at the right. */
.project-intro{width:91%;max-width:1360px;padding:40px 24px 88px;margin:0 auto;text-align:left;display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:28px 40px}
.project-intro-story{flex-basis:100%;max-width:850px;margin:0; text-align:left}
.project-inline-facts{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:start;gap:24px 36px;font-size:1rem}
.project-inline-facts>div{display:block}
.project-inline-facts dt{position:static;width:auto;height:auto;margin:0 0 6px;padding:0;overflow:visible;clip-path:none;white-space:normal;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.project-inline-facts>div+div:before{display:none}
.project-delivery{flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin:0;font-size:1rem}
.project-delivery-note{padding-left:17px;font-size:.95rem}
@media(max-width:1000px){.project-intro{gap:28px}.project-inline-facts{gap:20px}.project-delivery{flex-basis:100%}}
@media(max-width:700px){
 .project-intro{width:88%;padding:28px 0 52px;gap:24px}
 .project-inline-facts{grid-template-columns:1fr 1fr;gap:20px 24px;font-size:1rem}
 .project-delivery{font-size:1rem;gap:4px}
 .project-delivery-note{font-size:.95rem}
}

/* Separate the concluding story from the reader response section. */
.original-layout .case-feedback{margin-top:48px}
@media(max-width:700px){.original-layout .case-feedback{margin-top:32px}}

/* A featured next project and one quiet alternative on the green surface. */
.project-continuation{background:var(--lime);color:var(--ink);padding:64px 8% 36px}
.continuation-feature{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 56px;align-items:center;gap:40px;padding-bottom:48px}
.continuation-copy .eyebrow,.continuation-other .eyebrow{display:block;color:#444d32}
.continuation-copy h2{font:400 clamp(3rem,5vw,5rem)/1.1 var(--display);margin:36px 0 18px}
.continuation-copy p{font-size:clamp(1.25rem,2vw,1.8rem);line-height:1.35;margin:0}
.continuation-feature img{display:block;width:100%;aspect-ratio:1.8;object-fit:cover;border-radius:12px}
.continuation-arrow{font-size:3.5rem;line-height:1;transition:transform .2s}
.continuation-feature:hover .continuation-arrow,.continuation-other:hover .continuation-arrow{transform:translate(4px,-4px)}
.continuation-other{display:flex;align-items:center;justify-content:space-between;gap:28px;border-top:1px solid #19241630;padding:32px 0 0}
.continuation-other p{font-size:clamp(1.25rem,2vw,1.8rem);margin:16px 0 0;line-height:1.4}
.continuation-other strong{font:400 1.15em var(--display)}
.continuation-other .continuation-arrow{font-size:2.5rem}
@media(max-width:700px){.project-continuation{padding:40px 6% 32px}.continuation-feature{grid-template-columns:1fr 36px;gap:24px;padding-bottom:32px}.continuation-copy{grid-column:1/-1}.continuation-copy h2{margin:24px 0 12px}.continuation-feature img{grid-column:1}.continuation-arrow{font-size:2.5rem}.continuation-other{padding-top:28px}.continuation-other p span{display:block}.continuation-other p{font-size:1.2rem}}

/* Compact project navigation while keeping the featured/secondary hierarchy. */
.project-continuation{padding:32px 8% 24px}
.continuation-feature{grid-template-columns:minmax(0,1fr) 300px 40px;gap:32px;padding-bottom:28px}
.continuation-copy h2{font-size:clamp(2.5rem,4vw,3.5rem);margin:18px 0 10px}
.continuation-copy p{font-size:1.35rem}
.continuation-feature img{aspect-ratio:2;max-height:150px}
.continuation-arrow{font-size:2.5rem}
.continuation-other{padding-top:20px}
.continuation-other p{font-size:1.25rem;margin-top:8px}
.continuation-other .continuation-arrow{font-size:2rem}
@media(max-width:700px){
 .project-continuation{padding:28px 6% 24px}
 .continuation-feature{grid-template-columns:1fr 28px;gap:16px;padding-bottom:24px}
 .continuation-copy{grid-column:1}
 .continuation-feature img{display:none}
 .continuation-copy h2{margin:12px 0 8px}
 .continuation-copy p{font-size:1.2rem}
 .continuation-other{padding-top:20px}
 .continuation-other p span{display:inline}
}

.continuation-arrow{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0}
.continuation-arrow svg{display:block;width:28px;height:28px}
.continuation-other .continuation-arrow svg{width:22px;height:22px}

/* Keep the preview with its title and align both navigation arrows. */
.project-continuation{padding-bottom:16px}
.continuation-feature{grid-template-columns:minmax(0,.95fr) minmax(0,1fr) 32px;gap:24px;padding-bottom:24px}
.continuation-feature img{width:100%;max-width:360px;height:140px;aspect-ratio:auto;object-fit:cover;object-position:top;border-radius:8px}
.continuation-other{display:grid;grid-template-columns:minmax(0,1fr) 32px;padding:24px 0 8px;gap:24px}
.continuation-other .continuation-arrow svg{width:28px;height:28px}
@media(max-width:700px){.continuation-feature{grid-template-columns:minmax(0,1fr) 32px;gap:16px}.continuation-other{padding-top:24px}.continuation-feature img{display:none}}

/* Shared opening composition for every visible case study. */
.original-layout .project-cover-stage>:is(.case-cover,.emd-cover){aspect-ratio:3/1;background:#e4e8dd}
.original-layout .project-cover-stage>:is(.case-cover,.emd-cover)>img{width:100%;height:100%;max-height:none;object-fit:contain;display:block}
.original-layout .project-cover-stage .case-cover:has(img[src="/assets/bff-cover.png"]){background:#d1cbfa}
.original-layout .project-cover-stage .case-cover:has(img[src="/assets/wepong-hero.png"]){background:#d6e9e6}
/* Shared editorial opening, aligned with the live WePong case study. */
body.original-layout .editorial-project-hero{background:var(--paper);color:var(--ink);--muted:#686e65;--line:#d9ddd5;padding:42px 4.5% 40px;text-align:left}
body.original-layout .editorial-project-hero .back-link{position:static;display:inline-block;margin:0 0 58px;color:var(--muted)}
body.original-layout .editorial-project-hero .case-heading{display:block;max-width:1160px;margin:0;text-align:left}
body.original-layout .editorial-project-hero .eyebrow{color:var(--ink);font-size:12px}
body.original-layout .editorial-project-hero h1{max-width:1050px;font-size:clamp(48px,6vw,88px);line-height:1.08;letter-spacing:-.045em;margin:36px 0 26px;font-weight:400}
body.original-layout .editorial-project-hero .project-introduction{max-width:760px;color:#626960;font-size:19px;line-height:1.65;margin:0}
body.original-layout .editorial-project-hero .case-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin:44px 0 0;padding:26px 0 0;border:0;border-top:1px solid #d9ddd5}
body.original-layout .editorial-project-hero .case-facts dt{color:#5d645a;font-size:12px;font-weight:600;letter-spacing:.06em;margin-bottom:10px}
body.original-layout .editorial-project-hero .case-facts dd{color:var(--ink);font-size:14px;line-height:1.6;margin:0}
.editorial-project-hero .case-facts small{display:block;font-size:13px;color:var(--muted);margin-top:4px}
body.original-layout .editorial-project-hero+.project-cover-stage:before{display:none}
@media(max-width:700px){body.original-layout .editorial-project-hero{padding:28px 6% 32px}body.original-layout .editorial-project-hero .back-link{margin-bottom:38px}body.original-layout .editorial-project-hero h1{font-size:clamp(36px,9vw,50px);margin:26px 0 22px}body.original-layout .editorial-project-hero .project-introduction{font-size:16px}body.original-layout .editorial-project-hero .case-facts{grid-template-columns:1fr 1fr;gap:24px;margin-top:32px}}
body.original-layout .editorial-project-hero h1{max-width:1000px}
body.original-layout.wepong-story .editorial-project-hero h1{max-width:900px}
/* Let each original cover fill the page width at its own proportions. */
body.original-layout .editorial-project-hero+:is(.case-cover,.emd-cover){display:block;width:91%;max-width:none;margin:0 4.5%;padding:0;background:transparent;border:0;border-radius:0;overflow:hidden;aspect-ratio:auto}
body.original-layout .editorial-project-hero+:is(.case-cover,.emd-cover)>img{display:block;width:100%;height:auto;max-height:none;object-fit:initial;border:0;border-radius:0}
@media(max-width:700px){body.original-layout .editorial-project-hero+:is(.case-cover,.emd-cover){width:88%;margin:0 6%}}
/* One shared continuation layout across every case study. */
body.original-layout .project-continuation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 48px;padding:32px 8%}
body.original-layout .project-continuation .continuation-label{grid-column:1/-1;margin:0}
body.original-layout .project-continuation .continuation-feature{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:20px;padding:0;border:0}
body.original-layout .project-continuation .continuation-copy{grid-column:1}
body.original-layout .project-continuation .continuation-copy h2{font-size:clamp(26px,2.5vw,38px);margin:0 0 10px}
body.original-layout .project-continuation .continuation-copy p{font-size:18px;margin:0}
body.original-layout .project-continuation .continuation-arrow{grid-column:2;grid-row:1}
@media(max-width:700px){body.original-layout .project-continuation{grid-template-columns:1fr;padding:28px 6%;gap:24px}}
body.original-layout .project-continuation .continuation-feature{display:block}
body.original-layout .project-continuation .continuation-copy h2{display:flex;align-items:center;gap:12px}
body.original-layout .project-continuation .continuation-copy h2 .continuation-arrow{display:inline-flex;width:26px;height:26px;flex:none}
body.original-layout .project-continuation .continuation-copy h2 .continuation-arrow svg{width:24px;height:24px}
/* A quiet response band before the brighter project navigation. */
body.original-layout .case-feedback{background:#e8ede4;margin:48px 0 0;padding:40px 4.5%;border:0;border-radius:0}
body.original-layout .case-feedback p{color:#56604f}
@media(max-width:700px){body.original-layout .case-feedback{margin-top:32px;padding:32px 6%}}
/* Dark continuation band, shared by all case studies. */
body.original-layout .project-continuation{background:#151716;color:#f5f6f0}
body.original-layout .project-continuation .continuation-label{color:#b4bab0}
body.original-layout .project-continuation .continuation-copy p{color:#b4bab0}
body.original-layout .project-continuation a:hover h2,body.original-layout .project-continuation a:hover .continuation-arrow{color:var(--lime)}
body.original-layout .project-continuation a:focus-visible{outline:2px solid var(--lime);outline-offset:8px}
body.original-layout footer .footer-meta{border-top:1px solid #ffffff1f}
.footer-privacy{margin-top:18px;color:#a4aaa0;font-size:11px;line-height:1.6}
.footer-privacy summary{cursor:pointer;width:fit-content;text-underline-offset:3px}
.footer-privacy summary:hover{color:#f5f6f0}
.footer-privacy summary:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.footer-privacy .privacy-note{margin-top:10px}
