/* Featured reference, using the existing homepage works position. */
.home .brand{position:relative;isolation:isolate;background:none;border-radius:0;--logo-edge:4.2vw}
.home .brand::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(-1 * var(--logo-edge));width:calc(100% + var(--logo-edge) + 95px);background:linear-gradient(90deg,#fff 0%,#fff calc(100% - 85px),#fff0 100%);pointer-events:none}
.home .footer-brand{--logo-edge:6vw}
.case-feature{display:block;position:relative;aspect-ratio:1.95;overflow:hidden;border-radius:14px;background:#131313;color:white}
.case-feature>img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;display:block;transition:transform .7s}
.case-feature::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0006,transparent 35%,#0002 50%,#000d)}
.case-feature:hover>img{transform:scale(1.025)}
.case-feature-top,.case-feature-bottom{position:absolute;z-index:1;left:4%;right:4%;display:flex;justify-content:space-between;gap:20px}
.case-feature-top{top:7%;font-size:14px;letter-spacing:.12em}.case-feature-top>span:first-child{font-size:18px;letter-spacing:.03em}
.case-feature-bottom{bottom:7%;align-items:flex-end}.case-feature-bottom strong{font-size:clamp(24px,3.5vw,50px);font-weight:500;line-height:1.12;letter-spacing:-.045em;display:block}.case-feature-description{display:block;font-size:14px;color:#d4d1cf;margin-top:18px}.case-feature-link{font-size:14px;display:flex;align-items:center;gap:16px;white-space:nowrap}
.case-feature-play{position:absolute;inset:0;z-index:1;display:grid;place-content:center}.case-feature-play .icon{width:58px;height:58px;padding:17px;border:1px solid #ffffff65;border-radius:50%;background:#ffffff12;backdrop-filter:blur(8px)}
.case-dialog{padding:0;border:1px solid #ffffff24;border-radius:18px;color:#eee;background:#101113;width:min(1120px,calc(100% - 64px));max-width:none;max-height:92svh;overflow:auto;overscroll-behavior:contain;box-shadow:0 35px 120px #000b;scrollbar-color:#444 #141414}
.case-dialog::backdrop{background:#000c;backdrop-filter:blur(15px)}
.case-dialog[open]{animation:case-appear .25s ease-out}
.case-dialog [hidden]{display:none!important}
.case-dialog-bar{position:sticky;top:0;z-index:5;background:#101113f5;backdrop-filter:blur(12px);height:64px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff17;font-size:14px;letter-spacing:.1em}
.case-dialog-bar i{font-style:normal;color:#d55d40;margin:0 15px}.case-dialog-bar button{display:flex;align-items:center;gap:13px;font-size:14px;min-height:44px;letter-spacing:0}.case-dialog-bar .icon{width:18px;height:18px}
.case-player{aspect-ratio:16/9;position:relative;background:#050505}.case-video-cover{position:absolute;inset:0;width:100%;height:100%;padding:0;text-align:left;overflow:hidden}.case-video-cover>img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;display:block}.case-video-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,#0009)}
.case-video-play{position:absolute;z-index:1;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;font-size:14px;letter-spacing:.15em}.case-video-play .icon{width:82px;height:82px;padding:26px;border:1px solid #fff8;border-radius:50%;background:#ffffff20;backdrop-filter:blur(12px);transition:background .2s}.case-video-cover:hover .case-video-play .icon{background:#d9472bc9}.case-video-caption{position:absolute;z-index:1;left:30px;bottom:25px;font-size:14px}.case-video-frame,.case-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.case-video-meta{padding:18px 30px;display:flex;align-items:center;gap:22px;border-bottom:1px solid #ffffff10;font-size:14px;color:#929399}.case-video-meta p{max-width:580px;margin:0;flex:1}.case-video-meta a,.case-video-meta button{font-size:14px;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}.case-video-status{font-size:14px;padding:15px 30px;margin:0;color:#c8aaa0}
.case-video-disclosure{margin:0;padding:14px 24px;background:#171819;border-bottom:1px solid #ffffff10;color:#b9b4b1;font-size:14px;line-height:1.55}
.case-story{padding:65px 7% 45px}.case-story>.eyebrow{font-size:14px;color:#b76a55}.case-story h2{font-size:clamp(30px,4vw,54px);line-height:1.12;letter-spacing:-.055em}.case-story h2 span{color:#949498}.case-intro{font-size:19px;line-height:1.75;color:#c0c0c4;max-width:790px}.case-facts{display:grid;grid-template-columns:1fr 1fr 1fr;gap:25px;padding:30px 0;margin:30px 0 20px;border-block:1px solid #ffffff1c}.case-facts span{display:block;color:#88888f;font-size:14px;letter-spacing:.1em;margin-bottom:12px}.case-facts strong{font-size:14px;font-weight:500}
.case-chapter{display:grid;grid-template-columns:155px 1fr;gap:30px;padding:45px 0;border-bottom:1px solid #ffffff15}.case-chapter-label{font-size:14px;letter-spacing:.08em;color:#b77561}.case-chapter h3,.case-result h3{font-size:clamp(26px,3vw,37px);line-height:1.15;margin-bottom:25px}.case-chapter p,.case-result p{font-size:15px;line-height:1.9;color:#b3b3ba}.case-chapter p:last-child{margin-bottom:0}.case-result{padding:40px;margin:45px 0;background:radial-gradient(ellipse at 100% 0,#5e2a2035,transparent 70%),#18191c;border:1px solid #ffffff12;border-radius:10px}.case-result h3{margin-top:25px}.case-result strong{font-size:16px;font-weight:500;color:#e5b29c}.case-credits{display:grid;grid-template-columns:155px 1fr;gap:30px;padding:0 0 45px}.case-credits p{font-size:14px;line-height:2;color:#9999a1;margin:0}.case-backstage-heading{border-top:1px solid #ffffff20;padding-top:45px}.case-backstage-heading .eyebrow{font-size:14px}.case-backstage-heading h3{font-size:34px}.case-backstage-heading>p:last-child{font-size:14px;color:#9999a1}.case-backstage{display:grid;grid-template-columns:1fr 1fr;gap:30px 20px}.case-backstage figure{margin:0}.case-backstage figure:last-child{grid-column:1/-1}.case-backstage img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:7px}.case-backstage figure:last-child img{aspect-ratio:16/9}.case-backstage figcaption{font-size:14px;color:#93939b;padding-top:12px}.case-conclusion{padding-top:55px;margin-top:45px;border-top:1px solid #ffffff20;display:flex;align-items:center;justify-content:space-between;gap:25px}.case-conclusion h3{font-size:30px;margin:0}.case-conclusion .button{font-size:14px}
@keyframes case-appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:760px){.home .site-header .brand{--logo-edge:23px}.home .brand::before{width:calc(100% + var(--logo-edge) + 55px);background:linear-gradient(90deg,#fff calc(100% - 45px),#fff0)}.case-feature{aspect-ratio:1.2}.case-feature-description{display:none}.case-feature-link{font-size:0;gap:0}.case-feature-top{font-size:14px}.case-dialog{width:calc(100% - 16px);max-height:96svh;border-radius:10px}.case-story{padding:35px 6%}.case-video-meta{flex-wrap:wrap;padding:15px 20px;gap:12px}.case-video-meta p{flex-basis:100%;max-width:none}.case-video-caption{font-size:14px;left:15px;bottom:12px}.case-video-play{gap:9px;font-size:14px}.case-video-play .icon{width:54px;height:54px;padding:16px}.case-facts{grid-template-columns:1fr;gap:18px}.case-facts span{margin-bottom:4px}.case-chapter,.case-credits{grid-template-columns:1fr;gap:16px}.case-result{padding:24px}.case-intro{font-size:16px}.case-conclusion{flex-wrap:wrap}.case-backstage{gap:25px;grid-template-columns:1fr}.case-dialog-bar{padding:0 20px;height:56px}}
@media(prefers-reduced-motion:reduce){.case-dialog[open]{animation:none}.case-feature>img{transition:none}}
.home .home-footer-links .footer-brand{margin-right:80px}
@media(max-width:760px){.home .home-footer-links .footer-brand{margin-right:45px}}

/* Keep the established three-poster composition; 3R occupies its centre. */
.poster-3r{background:#251713;color:#fff}
.poster-3r-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:42% center;z-index:-2}
.poster-3r:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0006,transparent 30%,#0008 57%,#08090af5)}
.poster-3r-category{display:block;font-size:14px;letter-spacing:.14em;color:#f0b09a;margin-bottom:16px}
.poster-3r .poster-bottom p{color:#ded4cf}
.poster-3r-play{position:absolute;left:50%;top:33%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:64px;border:1px solid #ffffff80;border-radius:50%;background:#ffffff16;backdrop-filter:blur(8px)}
.poster-3r-play .icon{width:24px;height:24px}
.poster-3r:hover .poster-3r-play{background:#c34b32b0}

/* FSK reference: retain the supplied title frame in full. */
.poster-fsk{background:linear-gradient(155deg,#532519,#1a1514 65%,#111214);color:#fff}
.poster-fsk-image{position:absolute;top:18%;left:0;width:100%;height:auto;display:block}
.poster-fsk-play{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%);width:50px;height:50px;display:grid;place-items:center;border:1px solid #ffffff70;border-radius:50%;background:#ffffff12}
.poster-fsk-play .icon{width:21px;height:21px}
.poster-fsk:hover .poster-fsk-play{background:#c34b32b0}
#case-fsk .case-video-cover>img{object-fit:contain}
.fsk-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:24px 0}
.fsk-numbers strong{display:block;font-size:clamp(36px,6vw,66px);font-weight:500;letter-spacing:-.06em;color:#edab8a;line-height:1.1}
.fsk-numbers span{display:block;font-size:14px;color:#a4a4ac;margin-top:10px}
.fsk-backstage figure:first-child{grid-column:1/-1}
.fsk-backstage figure:last-child{grid-column:auto}
.fsk-backstage img,.fsk-backstage figure:last-child img{aspect-ratio:auto;height:auto}
@media(max-width:600px){.fsk-numbers{gap:12px}.fsk-numbers span{font-size:14px}.poster-fsk-image{top:15%;max-height:160px;object-fit:contain}.poster-fsk-play{top:49%}}

/* Editorial hierarchy for the hero statement. */
.home .hero-cinema-title{display:grid;justify-items:center;margin-inline:auto;width:max-content;max-width:94vw;color:#ecebea;font-size:inherit;line-height:.82;letter-spacing:0;text-transform:uppercase}
.home .hero-cinema-title>span{display:block;background:none;background-clip:initial;-webkit-text-fill-color:currentColor}
.home .hero-title-kicker{justify-self:start;margin:0 0 .35em .28em;color:#a3a2a5;font-size:clamp(14px,1.35vw,21px);font-weight:500;line-height:1;letter-spacing:.34em}
.home .hero-title-main{font-size:clamp(72px,10vw,154px);font-weight:650;line-height:.72;letter-spacing:-.085em}
.home .hero-title-signature{justify-self:end;margin:.17em .02em 0 0;color:#df674d;font-family:Georgia,'Times New Roman',serif;font-size:clamp(35px,4.7vw,72px);font-style:italic;font-weight:400;line-height:1;letter-spacing:-.055em}
.home .hero-title-signature>span{margin-right:.28em;color:#b7b6b9;font-family:Manrope,Arial,sans-serif;font-size:max(14px,.34em);font-style:normal;font-weight:500;letter-spacing:.2em;vertical-align:.62em}
:is(.home,.post-type-archive-sk_case) .portfolio-grid{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:16px;padding:20px 0;perspective:none;scroll-margin-top:140px}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .format-poster{min-height:390px;padding:18px;transform:none;border-radius:8px;box-shadow:none;transition:border-color .25s,background .25s;filter:none}
:is(.home,.post-type-archive-sk_case) .portfolio-grid a.format-poster:hover{transform:translateY(-5px);border-color:#e48b69}
.portfolio-grid .poster-top{font-size:14px;letter-spacing:.04em;gap:8px}.portfolio-grid .poster-top .icon{width:16px;height:16px;flex:none}
.portfolio-grid .poster-bottom h3{font-size:clamp(17px,1.5vw,24px);line-height:1.2;letter-spacing:-.035em;margin-bottom:12px}
.portfolio-grid .poster-bottom p{font-size:14px;line-height:1.6;min-height:53px;margin-bottom:16px}.portfolio-grid .poster-bottom p br{display:none}
.portfolio-grid .poster-3r-category{font-size:14px;letter-spacing:.06em;margin-bottom:12px}
.portfolio-grid .poster-action{font-size:14px;padding-top:15px;gap:8px}.portfolio-grid .poster-action .icon{width:17px;height:17px}
.portfolio-pending{background:linear-gradient(145deg,#181b1e,#0f1012);color:#87888d}.portfolio-pending .poster-bottom p{color:#707178}.portfolio-pending .poster-action{color:#73767d}.portfolio-pending .poster-top{color:#797c83}
.portfolio-frame{display:grid;place-items:center;flex:1;min-height:100px;color:#42464c}.portfolio-frame .icon{width:64px;height:64px;stroke-width:.55}
@media(max-width:1100px){:is(.home,.post-type-archive-sk_case) .portfolio-grid{gap:10px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .format-poster{padding:12px;min-height:365px}.portfolio-grid .poster-top{font-size:14px}.portfolio-grid .poster-top .icon{display:none}}
@media(max-width:900px){:is(.home,.post-type-archive-sk_case) .portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .format-poster{min-height:390px;padding:22px}.portfolio-grid .poster-bottom h3{font-size:24px}.portfolio-grid .poster-top{font-size:14px}.portfolio-grid .poster-bottom p{font-size:14px}.portfolio-grid .poster-3r-category{font-size:14px}.portfolio-grid .poster-action{font-size:14px}.portfolio-grid .poster-fsk-image{top:12%;max-height:170px;object-fit:contain}.portfolio-grid .poster-fsk-play{top:45%}}
@media(max-width:540px){.home .hero-cinema-title{max-width:92vw}.home .hero-title-kicker{margin-bottom:.45em;font-size:14px;letter-spacing:.28em}.home .hero-title-main{font-size:max(14px,18.6vw);line-height:.75}.home .hero-title-signature{margin-top:.25em;font-size:max(14px,10.8vw)}:is(.home,.post-type-archive-sk_case) .portfolio-grid{grid-template-columns:1fr;gap:20px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .format-poster{min-height:390px}.portfolio-grid .poster-top .icon{display:block}.portfolio-grid .portfolio-pending{min-height:265px}.portfolio-pending .portfolio-frame{min-height:55px}.portfolio-pending .portfolio-frame .icon{width:38px;height:38px}}
.portfolio-grid .poster-bottom p br::after{content:' '}.portfolio-grid .poster-bottom p br{display:contents}
.portfolio-grid .poster-bottom{min-height:205px;display:flex;flex-direction:column;justify-content:flex-end}.portfolio-grid .poster-bottom .poster-action{margin-top:auto}
.poster-jung,.poster-jasmart,.poster-union-podcasts{background:#111315;color:#fff}
.union-podcasts-dialog .union-podcast-results{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#ffffff18}
.union-podcast-result{min-width:0;background:#101113}
.union-podcast-result .case-video-meta{min-height:80px;padding:15px 18px;gap:12px;flex-wrap:wrap}
.union-podcast-result .case-video-meta a,.union-podcast-result .case-video-meta button{margin-left:auto}
.union-podcast-result .case-video-caption{max-width:90%;line-height:1.5}
.union-podcast-backstage figure:last-child{grid-column:auto}
.union-podcast-backstage .union-podcast-clip{min-width:0}
.union-podcast-clip video{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:7px;background:#050505}
.union-podcast-clip figcaption{display:flex;justify-content:space-between;gap:12px}
.union-podcast-clip figcaption span{color:#b77561}
@media(max-width:760px){.union-podcasts-dialog .union-podcast-results{grid-template-columns:1fr}.union-podcast-result .case-video-meta{padding:14px 18px}}

/* Product photography: one clear reel per result, with backstage beneath. */
.product-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#ffffff18}
.product-video-result{min-width:0;background:#101113}
.product-video-result .case-video-meta{min-height:74px;padding:13px 18px;gap:12px;flex-wrap:wrap}
.product-video-result .case-video-meta a,.product-video-result .case-video-meta button{margin-left:auto}
.product-video-result .case-video-caption{max-width:90%;line-height:1.5}
.product-shooting-backstage figure:last-child{grid-column:auto}
.product-shooting-backstage .product-shooting-clip{min-width:0}
.product-shooting-backstage{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:24px 18px}
.product-shooting-backstage .product-shooting-clip:nth-child(1),.product-shooting-backstage .product-shooting-clip:nth-child(2){grid-column:span 2}
.product-shooting-backstage .product-shooting-clip:nth-child(3){grid-column:4;grid-row:1 / span 2}
.product-shooting-backstage .product-shooting-clip:nth-child(1) video,.product-shooting-backstage .product-shooting-clip:nth-child(2) video{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.product-shooting-backstage .product-shooting-clip:nth-child(3) video{width:100%;height:auto;aspect-ratio:9/16;object-fit:contain}
.product-shooting-clip figcaption{display:flex;justify-content:space-between;gap:12px}
.product-shooting-clip figcaption span{color:#b77561;white-space:nowrap}
.poster-product-shooting{background:#171513;color:#fff}
.poster-marat-k{background:#171513;color:#fff}
.marat-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#ffffff18}
.marat-video-result{min-width:0;background:#101113}
.marat-video-result:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.4fr 1fr}
.marat-video-result .case-video-meta{padding:12px 18px;gap:10px;flex-wrap:wrap}
.marat-video-result .case-video-meta a,.marat-video-result .case-video-meta button{margin-left:auto}
.marat-result-copy{padding:20px 22px;align-self:center}
.marat-result-label{font-size:14px;letter-spacing:.12em;color:#d9876d}
.marat-result-copy h3{font-size:20px;line-height:1.2;margin:12px 0}
.marat-result-copy>p{font-size:14px;line-height:1.6;color:#aeadb1;margin:0 0 14px}
.marat-result-copy .case-video-meta{padding:10px 0;border:0}
.marat-result-copy .case-video-meta a{font-size:14px}
.marat-result-copy .case-video-status{font-size:14px;padding:4px 0}
.marat-k-backstage figure:last-child{grid-column:auto}
.marat-k-backstage .marat-k-clip{min-width:0}
.marat-k-clip video{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:7px;background:#050505}
.marat-k-clip figcaption{display:flex;justify-content:space-between;gap:12px}
.marat-k-clip figcaption span{color:#b77561;white-space:nowrap}
@media(max-width:760px){.marat-results-grid{grid-template-columns:1fr}.marat-video-result:first-child{grid-column:auto;display:block}.marat-result-copy{padding:14px 18px 20px}}
@media(max-width:760px){.product-results-grid{grid-template-columns:1fr}.product-video-result .case-video-meta{padding:14px 18px}}

/* Event coverage: a portfolio of distinct deliverables plus production BTS. */
.events-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#ffffff18}
.events-video-result{min-width:0;background:#101113}
.events-video-result .case-video-cover>img{display:block;width:100%;height:100%;object-fit:cover}
.events-video-result .case-video-meta{padding:10px 14px;gap:10px;flex-wrap:wrap}
.events-video-result .case-video-meta a,.events-video-result .case-video-meta button{margin-left:auto}
.events-video-copy{padding:14px 16px 4px}
.events-video-copy h3{margin:0 0 8px;font-size:15px;line-height:1.3;color:#f4f1ed}
.events-video-copy p{margin:0;color:#aaa9ac;font-size:14px;line-height:1.55}
.events-video-result .case-video-caption{max-width:90%;line-height:1.4}
.events-backstage figure:last-child{grid-column:auto}
.events-backstage .events-clip{grid-column:span 2}
.events-clip video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:7px;background:#050505}
.case-backstage video{display:block;width:auto;height:auto;max-width:100%;max-height:75vh;aspect-ratio:auto;object-fit:contain;border-radius:7px;background:#050505}
.case-backstage figure:has(>video){min-width:0;display:flex;flex-direction:column;align-items:center}
.case-backstage figure:has(>video) video{max-width:100%;max-height:75vh}
.case-backstage figure:has(>video) figcaption{width:100%}
.events-backstage figcaption{font-size:14px;line-height:1.5}
.events-backstage .events-clip figcaption{display:flex;justify-content:space-between;gap:12px}
.events-backstage .events-clip figcaption span{color:#b77561;white-space:nowrap}
.poster-events{background:#151615;color:#fff}
@media(max-width:900px){.events-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.events-results-grid{grid-template-columns:1fr}.events-video-result .case-video-meta{padding:12px 16px}.events-backstage .events-clip{grid-column:auto}.product-shooting-backstage{grid-template-columns:1fr 1fr}.product-shooting-backstage .product-shooting-clip:nth-child(1),.product-shooting-backstage .product-shooting-clip:nth-child(2){grid-column:span 1}.product-shooting-backstage .product-shooting-clip:nth-child(3){grid-column:2;grid-row:1 / span 2}.product-shooting-backstage .product-shooting-clip:nth-child(n+4){grid-column:span 1}}

/* Shared backstage gallery: source video frames, natural orientation, even cards. */
.case-dialog .case-backstage{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(180px,calc((min(1120px,88vw) - 54px)/3.2));align-items:stretch;gap:22px 18px}
.case-dialog .case-backstage>figure{grid-column:span 2!important;grid-row:auto!important;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #ffffff18;border-radius:8px;background:#111315}
.case-dialog .case-backstage>figure img{flex:1;min-height:0;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:0}
.case-dialog .case-backstage>figure video{display:block;flex:1;min-height:0;width:100%;height:100%;max-width:100%;max-height:none;aspect-ratio:16/9;object-fit:contain;border-radius:0;background:#050505}
.case-dialog .case-backstage>figure figcaption{flex:none;padding:11px 13px 13px;font-size:14px;line-height:1.5;color:#aaa9ac}
.case-dialog .case-backstage>figure.backstage-portrait{grid-column:span 1!important;grid-row:span 2!important}
.case-dialog .case-backstage>figure.backstage-portrait video{aspect-ratio:auto}
@media(max-width:900px){.case-dialog .case-backstage{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(155px,calc((100vw - 72px)/1.8));gap:16px}}
@media(max-width:760px){.case-dialog .case-backstage{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(130px,calc((100vw - 45px)/1.8));gap:13px}.case-dialog .case-backstage>figure figcaption{padding:9px 10px 11px;font-size:14px}}
@media(max-width:420px){.case-dialog .case-backstage{grid-template-columns:1fr;grid-auto-rows:auto}.case-dialog .case-backstage>figure,.case-dialog .case-backstage>figure.backstage-portrait{grid-column:1!important;grid-row:auto!important}.case-dialog .case-backstage>figure img,.case-dialog .case-backstage>figure video{width:100%;height:auto;aspect-ratio:16/10}.case-dialog .case-backstage>figure.backstage-portrait video{aspect-ratio:9/16;max-height:70vh}}

/* Keep example videos and backstage media compact and scannable on small screens. */
.case-dialog .events-results-grid,.case-dialog .product-results-grid,.case-dialog .union-podcast-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:none}
.case-dialog .events-video-result,.case-dialog .product-video-result,.case-dialog .union-podcast-result{min-width:0;overflow:hidden;border:1px solid #ffffff19;border-radius:8px;background:#141518}
.case-dialog .events-video-result .case-player,.case-dialog .product-video-result .case-player,.case-dialog .union-podcast-result .case-player{margin:0}
.case-dialog .events-video-result .case-video-cover,.case-dialog .product-video-result .case-video-cover,.case-dialog .union-podcast-result .case-video-cover{aspect-ratio:4/3}
.case-dialog .events-video-copy,.case-dialog .product-video-copy,.case-dialog .union-podcast-copy{padding:9px 10px 2px}
.case-dialog .events-video-copy h3,.case-dialog .product-video-copy h3,.case-dialog .union-podcast-copy h3{font-size:14px;line-height:1.3;margin:0}
.case-dialog .events-video-copy p,.case-dialog .product-video-copy p,.case-dialog .union-podcast-copy p{font-size:14px;line-height:1.4;margin:6px 0 0;color:#aaa}
.case-dialog .events-video-result .case-video-meta,.case-dialog .product-video-result .case-video-meta,.case-dialog .union-podcast-result .case-video-meta{padding:8px 10px;gap:7px;font-size:14px;flex-wrap:wrap}
.case-dialog .events-video-result .case-video-meta a,.case-dialog .product-video-result .case-video-meta a,.case-dialog .union-podcast-result .case-video-meta a{font-size:14px;margin-left:0}
.case-dialog .case-backstage{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:14px}
.case-dialog .case-backstage>figure,.case-dialog .case-backstage>figure.backstage-portrait{grid-column:auto!important;grid-row:auto!important;aspect-ratio:auto}
.case-dialog .case-backstage>figure img{flex:none;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}.case-dialog .case-backstage>figure:has(>video){aspect-ratio:1/1}.case-dialog .case-backstage>figure video{display:block;flex:1;min-height:0;width:100%;height:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;background:#050505}
.case-dialog .case-backstage>figure.backstage-portrait video{aspect-ratio:9/16;object-fit:contain}
.case-dialog .case-backstage>figure figcaption{padding:8px 9px 10px;font-size:14px;line-height:1.4}
@media(max-width:760px){
 .case-dialog .events-results-grid,.case-dialog .product-results-grid,.case-dialog .union-podcast-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}
 .case-dialog .events-video-copy,.case-dialog .product-video-copy,.case-dialog .union-podcast-copy{padding:7px 7px 0}
 .case-dialog .events-video-copy h3,.case-dialog .product-video-copy h3,.case-dialog .union-podcast-copy h3{font-size:14px;line-height:1.25}
 .case-dialog .events-video-copy p,.case-dialog .product-video-copy p,.case-dialog .union-podcast-copy p{font-size:14px;line-height:1.3;margin-top:4px}
 .case-dialog .events-video-result .case-video-meta,.case-dialog .product-video-result .case-video-meta,.case-dialog .union-podcast-result .case-video-meta{padding:6px 7px;font-size:14px}
 .case-dialog .events-video-result .case-video-meta a,.case-dialog .product-video-result .case-video-meta a,.case-dialog .union-podcast-result .case-video-meta a{font-size:14px}
 .case-dialog .case-backstage{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:8px}
 .case-dialog .case-backstage>figure img{aspect-ratio:1/1}.case-dialog .case-backstage>figure:has(>video){aspect-ratio:1/1}.case-dialog .case-backstage>figure video{aspect-ratio:auto;object-fit:contain}
 .case-dialog .case-backstage>figure.backstage-portrait video{aspect-ratio:9/16;object-fit:contain}
 .case-dialog .case-backstage>figure figcaption{padding:7px;font-size:14px;line-height:1.35}
}

/* Three-column video examples should stay legible at phone width. */
@media(max-width:760px){
 .case-dialog .events-video-result .case-video-caption,.case-dialog .product-video-result .case-video-caption,.case-dialog .union-podcast-result .case-video-caption{display:none}
 .case-dialog .events-video-result .case-video-play,.case-dialog .product-video-result .case-video-play,.case-dialog .union-podcast-result .case-video-play{gap:0;font-size:0}
 .case-dialog .events-video-result .case-video-play .icon,.case-dialog .product-video-result .case-video-play .icon,.case-dialog .union-podcast-result .case-video-play .icon{width:34px;height:34px;padding:10px}
 .case-dialog .events-video-copy p,.case-dialog .product-video-copy p,.case-dialog .union-podcast-copy p{display:none}
 .case-dialog .events-video-copy h3,.case-dialog .product-video-copy h3,.case-dialog .union-podcast-copy h3{font-size:14px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .case-dialog .events-video-result .case-video-meta,.case-dialog .product-video-result .case-video-meta,.case-dialog .union-podcast-result .case-video-meta{min-height:0;padding:5px 7px}
 .case-dialog .events-video-result .case-video-meta p,.case-dialog .product-video-result .case-video-meta p,.case-dialog .union-podcast-result .case-video-meta p{display:none}
 .case-dialog .events-video-result .case-video-meta a,.case-dialog .product-video-result .case-video-meta a,.case-dialog .union-podcast-result .case-video-meta a{font-size:0;line-height:1}
 .case-dialog .events-video-result .case-video-meta a::after,.case-dialog .product-video-result .case-video-meta a::after,.case-dialog .union-podcast-result .case-video-meta a::after{content:"Открыть в VK ↗";font-size:14px;color:#e7e4e1}
}

/* Give every active portfolio project the same clear, photo-led composition. */
:is(.home,.post-type-archive-sk_case) .portfolio-grid>a.format-poster:not(.portfolio-pending){
 min-height:420px;padding:0;display:flex;flex-direction:column;overflow:hidden;
 border:1px solid #ffffff20;border-radius:10px;background:#111315;color:#f5f3f1;
 box-shadow:0 12px 32px #0004;transition:transform .25s,border-color .25s,box-shadow .25s
}
:is(.home,.post-type-archive-sk_case) .portfolio-grid>a.format-poster:not(.portfolio-pending):hover{transform:translateY(-5px);border-color:#e48b69;box-shadow:0 18px 38px #0006}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual{position:relative;isolation:isolate;overflow:hidden;width:100%;aspect-ratio:4/3;flex:none;background:#202125}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual>img{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;max-width:none;max-height:none!important;object-fit:cover!important;object-position:center!important;padding:0;transition:transform .55s ease}
:is(.home,.post-type-archive-sk_case) .portfolio-grid>a:hover .poster-visual>img{transform:scale(1.035)}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#08090a55,transparent 30%,transparent 70%,#08090a28);pointer-events:none}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual .poster-top{position:absolute;z-index:2;top:12px;left:13px;right:13px;display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0;color:#fff;font-size:14px;line-height:1.4;letter-spacing:.08em;text-shadow:0 1px 8px #000}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual .poster-top .icon{display:block;width:16px;height:16px;flex:none}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-play{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffffbd;border-radius:50%;background:#090a0a70;backdrop-filter:blur(8px);color:white;transition:background .2s,scale .2s}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-play .icon{width:19px;height:19px}
:is(.home,.post-type-archive-sk_case) .portfolio-grid>a:hover .poster-play{background:#c34b32d9;scale:1.05}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom{position:relative;z-index:2;flex:1;min-height:0;padding:17px 18px 15px;display:flex;flex-direction:column;justify-content:flex-start;background:#111315}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom .poster-3r-category{display:block;margin:0 0 10px;color:#dc866c;font-size:14px;line-height:1.4;letter-spacing:.12em}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom h3{margin:0 0 10px;color:#f5f3f1;font-size:clamp(16px,1.25vw,21px);line-height:1.18;letter-spacing:-.035em}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom p{min-height:0;margin:0;color:#aaa9ac;font-size:14px;line-height:1.5}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom .poster-action{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:16px;color:#e7e4e1;font-size:14px;letter-spacing:.03em}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom .poster-action .icon{width:16px;height:16px}
:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-3r:before,:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-fsk:before,:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-jung:before,:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-jasmart:before,:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-union-podcasts:before{content:none;display:none}
@media(min-width:901px) and (max-width:1200px){:is(.home,.post-type-archive-sk_case) .portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}:is(.home,.post-type-archive-sk_case) .portfolio-grid>a.format-poster:not(.portfolio-pending){min-height:430px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual .poster-top{font-size:14px}}
@media(max-width:900px){:is(.home,.post-type-archive-sk_case) .portfolio-grid>a.format-poster:not(.portfolio-pending){min-height:410px;padding:0}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom{padding:18px 20px 16px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom h3{font-size:23px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom p{font-size:14px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom .poster-3r-category{font-size:14px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom .poster-action{font-size:14px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual .poster-top{font-size:14px}}
@media(max-width:540px){:is(.home,.post-type-archive-sk_case) .portfolio-grid>a.format-poster:not(.portfolio-pending){min-height:0}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual{aspect-ratio:1.55}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom{min-height:205px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom h3{font-size:24px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom p{font-size:14px}}
/* Eight smaller portfolio cards: four across at wide desktop sizes. */
@media(min-width:1201px){:is(.home,.post-type-archive-sk_case) .portfolio-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}:is(.home,.post-type-archive-sk_case) .portfolio-grid>a.format-poster:not(.portfolio-pending){min-height:375px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual{aspect-ratio:1.55}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom{padding:15px 16px 13px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom h3{font-size:clamp(17px,1.15vw,21px)}}
@media(min-width:901px) and (max-width:1200px){:is(.home,.post-type-archive-sk_case) .portfolio-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}:is(.home,.post-type-archive-sk_case) .portfolio-grid>a.format-poster:not(.portfolio-pending){min-height:370px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual{aspect-ratio:1.35}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-visual .poster-top{font-size:14px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom{padding:13px 13px 12px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom h3{font-size:17px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom p{font-size:14px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom .poster-3r-category{font-size:14px}:is(.home,.post-type-archive-sk_case) .portfolio-grid .poster-bottom .poster-action{font-size:14px}}
