
body.agency-case{--ink:#edf3ff;--muted:#a7b5cb;--accent:#aaccff;background:#071326!important;color:var(--ink)!important}
.agency-case main,.agency-case main section,.agency-case .case-head{background:transparent!important;color:var(--ink)!important}
.agency-case .frame,.agency-case .artwork-frame,.agency-case .review-inner{width:min(88%,1400px)!important;max-width:1400px!important;margin-inline:auto}
.agency-case .site-header,.agency-case .masthead{background:#071326eF!important;border-bottom:1px solid #ffffff18!important;backdrop-filter:blur(16px)}
.agency-case main :is(.hero,.case-hero,.research-hero,.case-head){padding:5rem 0 2rem!important;position:relative;overflow:hidden;background:radial-gradient(ellipse at 90% 0%,color-mix(in srgb,var(--accent) 12%,transparent),transparent 65%)!important}
.agency-case h1{font-size:clamp(3.4rem,8.5vw,9rem)!important;line-height:.98!important;letter-spacing:-.065em!important;max-width:16ch!important;font-weight:650!important;color:var(--ink)!important;margin-block:2rem!important}
.agency-case h1 em{color:var(--accent)!important;font-weight:400}
.agency-case h2{font-size:clamp(2.2rem,4.5vw,5rem)!important;line-height:1.06!important;letter-spacing:-.045em!important;color:var(--ink)!important;max-width:22ch}
.agency-case h3{color:var(--ink)!important;font-size:1.4rem;line-height:1.2}
.agency-case p,.agency-case li{color:var(--muted)!important;font-size:clamp(1rem,1.3vw,1.15rem);line-height:1.75}
.agency-case .eyebrow{color:var(--accent)!important;letter-spacing:.13em!important;font-size:.8rem!important}
.agency-case a{color:inherit!important}
.agency-case :is(.hero-grid,.case-hero-grid,.research-hero .research-pair){display:block!important}
.agency-case :is(.hero-grid,.case-hero-grid,.research-hero .research-pair)>figure{display:none}
.agency-case :is(.hero-grid,.case-hero-grid,.research-hero .research-pair)>div{max-width:100%!important}
.agency-case :is(.facts,.case-facts,.research-facts){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:2rem!important;border-top:1px solid #ffffff25!important;padding:2rem 0!important;margin:3rem 0 0!important}
.agency-case :is(.facts,.case-facts,.research-facts)>div{background:none!important;border:0!important;padding:0!important}
.agency-case dt{color:var(--muted)!important;font-size:.8rem!important;text-transform:uppercase;letter-spacing:.08em}
.agency-case dd{color:var(--ink)!important;margin:.5rem 0 0!important;font-size:1rem!important}
.agency-case main section:not(.hero):not(.case-hero):not(.research-hero){padding-block:clamp(3rem,7vw,7rem)!important;border-top:1px solid #ffffff20!important}
.agency-case :is(.split,.pair,.project-client-grid,.research-pair){gap:5vw!important;align-items:start!important}
.agency-case :is(.copy,.reading){max-width:72ch}
.agency-case :is(.visuals,.artwork-grid,.slides){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2rem!important}
.agency-case figure{margin:1.5rem 0!important;background:transparent!important;overflow:hidden}
.agency-case main img{border-radius:8px;max-width:100%;height:auto;transition:transform .5s ease;cursor:zoom-in}
.agency-case main figure img{object-fit:contain!important;max-height:42rem!important}
.agency-case figcaption{color:var(--muted)!important;font-size:.88rem!important;line-height:1.6!important;text-align:left!important;margin-top:1rem!important;padding:0!important;background:none!important}
.agency-case :is(.stat,.measurement-grid>*,.research-stats>*,.phase,.review-row){background:#ffffff05!important;border:1px solid #ffffff18!important;border-radius:12px;padding:1.5rem!important}
.agency-case :is(.stats,.research-stats) strong{color:var(--accent)!important}
.agency-case .review-row{margin-top:1rem}
.agency-case .agency-cover{width:100%;padding:3vw;background:color-mix(in srgb,var(--accent) 10%,#0b1b33);overflow:hidden;position:relative}
.agency-case .agency-cover img{display:block;width:100%;height:clamp(260px,45vw,670px);object-fit:contain;border-radius:0}
.agency-nav{position:sticky;top:0;z-index:40;display:flex;gap:1.8rem;overflow:auto;padding:1.1rem 6%;background:#071326f5;border-block:1px solid #ffffff20;scrollbar-width:none;backdrop-filter:blur(14px)}
.agency-nav a{white-space:nowrap;text-decoration:none;font-size:.85rem;color:#a7b5cb!important;transition:color .2s}
.agency-nav a[aria-current]{color:var(--accent)!important}
.agency-progress{position:fixed;top:0;left:0;width:100%;height:3px;background:var(--accent);transform:scaleX(0);transform-origin:left;z-index:100;pointer-events:none}
.agency-case main section{scroll-margin-top:5rem}
.agency-case .agency-reveal{transition:opacity .65s ease,translate .65s cubic-bezier(.2,.7,.2,1)}
.agency-case .agency-reveal.pending{opacity:.25;translate:0 24px}
.agency-case .agency-next{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:4rem 6%;border-top:1px solid #ffffff25;text-decoration:none;background:#102746;transition:background .3s}
.agency-case .agency-next:hover{background:#193b62}
.agency-next small{color:var(--muted);display:block;margin-bottom:1rem}
.agency-next strong{font-size:clamp(2rem,5vw,5rem);font-weight:500;letter-spacing:-.04em}
.agency-lightbox{border:1px solid #ffffff20;background:#071326;color:white;padding:3.5rem 1rem 1rem;width:min(96vw,1500px);max-width:96vw;max-height:95dvh}
.agency-lightbox::backdrop{background:#020713ed;backdrop-filter:blur(12px)}
.agency-lightbox img{width:100%;max-height:77dvh;object-fit:contain}
.agency-lightbox button{position:absolute;right:1rem;top:.7rem;border:1px solid #ffffff50;background:transparent;color:white;border-radius:2rem;padding:.5rem 1rem;cursor:pointer}
.agency-lightbox p{font-size:.9rem;color:#bac9de}
@media(hover:hover){.agency-case figure a:hover img{transform:scale(1.025)}}
@media(max-width:760px){.agency-case h1{font-size:clamp(3rem,12vw,5rem)!important}.agency-case :is(.split,.pair,.project-client-grid,.research-pair,.visuals,.artwork-grid,.slides){display:grid!important;grid-template-columns:1fr!important}.agency-case :is(.facts,.case-facts,.research-facts){grid-template-columns:1fr 1fr!important;gap:1.5rem!important}.agency-nav{gap:1.3rem}.agency-case .agency-next{display:block}.agency-case main :is(.hero,.case-hero,.research-hero,.case-head){padding-top:3rem!important}}
@media(prefers-reduced-motion:reduce){.agency-case *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.agency-case .agency-reveal.pending{opacity:1;translate:none}}

html:has(.agency-case){scroll-behavior:smooth}
.agency-case :focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.agency-case .project-client-media{background:#f2f6fc!important;padding:2rem!important;border-radius:14px}
.agency-case .project-client-media--dark{background:#10243c!important}
.agency-case main section:nth-of-type(even){background:linear-gradient(115deg,#10233d55,transparent)!important}
.agency-case .agency-cover{animation:agency-enter 1s ease both}
@keyframes agency-enter{from{opacity:.3;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){html:has(.agency-case){scroll-behavior:auto}}
