.authorCasePage .card,.contentDirectionsCredits a,.contentDirectionsGrid article{position:relative;border-radius:16px;transition:transform .3s ease,box-shadow .3s ease,background-color .3s ease}
.contentDirectionsGrid article,.contentDirectionsCredits a{padding:18px;margin:-18px 0 0}
.contentDirectionsCredits{row-gap:36px}
.authorCasePage .card img{transition:filter .4s ease,transform .45s cubic-bezier(.2,.7,.2,1)}
.authorCasePage .button{transition:transform .25s ease,box-shadow .3s ease}
@media(hover:hover) and (pointer:fine){
 .authorCasePage .card:hover,.contentDirectionsCredits a:hover,.contentDirectionsGrid article:hover{transform:translateY(-5px);background:color-mix(in srgb,#dda15e 7%,transparent);box-shadow:0 14px 36px #0000000c,0 0 0 1px #dda15e40}
 .authorCasePage .card:hover img{filter:brightness(1.05);transform:scale(.985)}
 .authorCasePage .button:hover{transform:translateY(-2px);box-shadow:0 8px 24px #dda15e30}
}
.authorCasePage .card:focus-visible,.contentDirectionsCredits a:focus-visible{outline:2px solid #dda15e;outline-offset:5px}
@media(prefers-reduced-motion:reduce){.authorCasePage .card,.authorCasePage .card img,.authorCasePage .button,.contentDirectionsCredits a,.contentDirectionsGrid article{transition:none!important;transform:none!important}}


/* Same inverted surface, icon and timing as the main service catalog. */
.authorCasePage :is(.serviceQuestions details,.workGallery){position:relative;border:0;border-bottom:1px solid var(--case-line);border-radius:22px;margin:6px 0;padding:0;background:transparent;transition:background-color .45s cubic-bezier(.16,1,.3,1),color .3s}
.authorCasePage :is(.serviceQuestions details,.workGallery)>summary{display:flex;align-items:center;justify-content:space-between;gap:24px;list-style:none;padding:28px 16px;cursor:pointer;font-size:clamp(20px,2.1vw,30px);font-weight:650;letter-spacing:-.025em;line-height:1.2;color:inherit}
.authorCasePage :is(.serviceQuestions details,.workGallery)>summary::-webkit-details-marker{display:none}
.authorCasePage :is(.serviceQuestions details,.workGallery)>summary::after{content:'+';display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid currentColor;border-radius:50%;font-size:22px;font-weight:300;opacity:.65;transition:transform .32s cubic-bezier(.16,1,.3,1)}
.authorCasePage :is(.serviceQuestions details,.workGallery)[open]>summary::after{content:'−';transform:rotate(180deg)}
.authorCasePage :is(.serviceQuestions details,.workGallery)[open]{background:#111214;color:#fff}
html.dark .authorCasePage :is(.serviceQuestions details,.workGallery)[open]{background:#f2f3f4;color:#0b0c0f}
.authorCasePage .serviceQuestions details .copy{padding:0 16px 32px;margin:0;color:inherit;opacity:.7;font-size:15px}
.authorCasePage .workGallery{margin:40px 0}.authorCasePage .workGallery .cards{padding:0 16px 24px;margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}.authorCasePage .workGallery .card{color:inherit}.authorCasePage .workGallery .card:last-child{display:block}
@media(hover:hover){.authorCasePage :is(.serviceQuestions details,.workGallery):hover{background:#111214;color:#fff}html.dark .authorCasePage :is(.serviceQuestions details,.workGallery):hover{background:#f2f3f4;color:#0b0c0f}}
@media(max-width:760px){.authorCasePage :is(.serviceQuestions details,.workGallery){border-radius:18px}.authorCasePage :is(.serviceQuestions details,.workGallery)>summary{padding:24px 14px;font-size:21px}.authorCasePage .workGallery .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;padding:0 12px 20px}.authorCasePage .workGallery .card h3{font-size:12px;padding:12px}.authorCasePage .serviceQuestions details .copy{padding:0 14px 24px}}
@media(prefers-reduced-motion:reduce){.authorCasePage :is(.serviceQuestions details,.workGallery),.authorCasePage :is(.serviceQuestions details,.workGallery)>summary::after{transition:none}}

/* Expanded content retains the current theme; no inverted white panels. */
html.dark .authorCasePage :is(.serviceQuestions details,.workGallery),
html.dark .authorCasePage :is(.serviceQuestions details,.workGallery):is([open],:hover,:focus-within){background:var(--case-paper);color:var(--case-ink)}
html:not(.dark) .authorCasePage :is(.serviceQuestions details,.workGallery):is([open],:hover,:focus-within){background:var(--case-paper);color:var(--case-ink)}
.authorCasePage .relatedPreview>.cards>.card:last-child{display:block}
.authorCasePage .relatedPreview .workGallery{margin:20px 0 0;border:0;border-radius:0}
.authorCasePage .relatedPreview .workGallery>summary{width:fit-content;box-sizing:border-box;max-width:100%;padding:12px 18px;border:1px solid var(--case-line);border-radius:999px;font-size:14px;letter-spacing:0;gap:18px}
.authorCasePage .relatedPreview .workGallery>summary::after{width:22px;height:22px;flex-basis:22px;border:0;font-size:20px}
.authorCasePage .relatedPreview .workGallery .cards{padding:24px 0 0}

/* Centered, borderless gallery disclosure. */
.authorCasePage .relatedPreview .workGallery{margin-top:10px}
.authorCasePage .relatedPreview .workGallery>summary{margin-inline:auto;justify-content:center;min-height:44px;padding:12px 18px;border:0;border-radius:8px;background:transparent;font-size:13px;font-weight:500;letter-spacing:.01em;color:var(--case-muted);gap:12px;transition:color .22s ease}
.authorCasePage .relatedPreview .workGallery>summary::after{content:'';display:block;box-sizing:border-box;width:7px;height:7px;flex:0 0 7px;border:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;border-radius:0;transform:translateY(-2px) rotate(45deg);opacity:.8;transition:transform .3s cubic-bezier(.22,1,.36,1)}
.authorCasePage .relatedPreview .workGallery[open]>summary::after{content:'';transform:translateY(2px) rotate(225deg)}
@media(hover:hover){.authorCasePage .relatedPreview .workGallery>summary:hover{color:var(--case-ink)}.authorCasePage .relatedPreview .workGallery:not([open])>summary:hover::after{transform:translateY(1px) rotate(45deg)}}
.authorCasePage .relatedPreview .workGallery>summary:focus-visible{outline:2px solid var(--case-accent);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.authorCasePage .relatedPreview .workGallery>summary,.authorCasePage .relatedPreview .workGallery>summary::after{transition:none}}

/* Three desktop previews, four mobile previews; omit the repeated fourth card below. */
.authorCasePage .relatedPreview>.cards>.card:nth-child(4){display:none}
@media(max-width:760px){.authorCasePage .relatedPreview>.cards>.card:nth-child(4){display:block}.authorCasePage .relatedPreview .workGallery .cards>.card:first-child{display:none}}
