.brand87-languages{display:inline-flex;align-items:center;gap:2px}
.brand87-languages a{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:43px;padding:4px 7px;border-radius:999px;font-size:.88rem;color:var(--text);text-decoration:none}
.brand87-languages a[aria-current]{background:var(--soft);color:var(--accent,#62c5cd)}
.brand87-languages span{font:1rem/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.brand87-languages a:focus-visible,.b87-case a:focus-visible,.b87-case summary:focus-visible{outline:2px solid #47bac7;outline-offset:3px}
.brand87-filters{padding:8px 0;border-block:1px solid var(--line)}
.brand87-filters>summary,.b87-fold>summary{cursor:pointer;padding:9px 2px;font-weight:650}
.brand87-filters>summary svg{width:1.1em;vertical-align:middle;margin-inline-end:.4em}
.ocean main.project-index .project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.3vw,34px)}
.ocean main.project-index .project-card .project-media{aspect-ratio:1.75}
.ocean main.project-index .project-card .project-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.b87-case{padding-block:1.4rem 3rem;max-width:1280px;line-height:1.7}
.b87-case h1,.b87-case h2,.b87-case h3,.b87-case p{margin:0}
.b87-case :is(a,summary){scroll-margin-top:7rem}
.b87-case :is(section,article,[id]){scroll-margin-top:7rem;min-width:0}
.b87-case :is(.b87-part,.b87-art,.b87-filmarea,.b87-heading,.b87-end){margin-block-start:clamp(20px,3vw,44px)}
.b87-case h2,.b87-filmarea h2{font-size:clamp(1.3rem,2.3vw,2rem);margin-bottom:.7em;line-height:1.45}
.b87-hero{position:relative;isolation:isolate;min-height:320px;display:flex;align-items:center;border-radius:7px;overflow:hidden;background:var(--soft)}
.b87-hero-photo{position:absolute;inset-block:0;inset-inline-end:0;z-index:-1;width:56%;height:100%;object-fit:cover;mask-image:linear-gradient(to left,black 65%,transparent)}
[dir=rtl] .b87-hero-photo{mask-image:linear-gradient(to right,black 65%,transparent)}
.b87-copy{max-width:51%;padding:clamp(20px,3.4vw,52px)}
.b87-hero.grand{min-height:380px}.b87-kicker{display:flex;align-items:center;gap:10px;color:var(--accent,#68ccd3);font-size:.89rem;font-weight:650}.b87-kicker:before{content:"";display:inline-block;width:26px;border-top:2px solid}
.b87-copy h1{font-size:clamp(2.3rem,5vw,5.1rem);line-height:1.25;margin-block:.15em .2em}
.b87-copy h2{font-size:clamp(1.15rem,2.1vw,1.65rem);margin:0}
.b87-copy p,.b87-card p,.b87-part>p{color:var(--muted);margin-block:.55rem}
.b87-actions,.b87-tabs,.b87-end{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-block:1.1rem}
.b87-link,.b87-actions>a{display:inline-flex;align-items:center;gap:.55rem;border:1px solid var(--line);border-radius:2rem;padding:7px 14px;text-decoration:none;font-size:.95rem}
.b87-case .grand .b87-actions a:first-child{background:#8de2e8;color:#142427}
.b87-link svg,.b87-card h3 svg{width:1.15em;height:1.15em}
.b87-tabs{border-block-end:1px solid var(--line);padding-block:1rem}.b87-tabs a{font-size:.9rem}
.b87-cards,.b87-boards,.b87-pages{display:grid;gap:clamp(12px,1.55vw,24px);grid-template-columns:repeat(3,minmax(0,1fr))}
.b87-card a{display:block;color:inherit;text-decoration:none}.b87-card a>img,.b87-spread{width:100%;aspect-ratio:1.95;object-fit:cover;border-radius:5px}
.b87-card h3{margin-block:.5rem .15rem;display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:clamp(1rem,1.6vw,1.35rem)}
.b87-card p{font-size:.94rem;margin:0}
.b87-spread{display:flex;align-items:center;justify-content:center;gap:2px;background:linear-gradient(105deg,#3d4845,#aaa99d);direction:ltr;overflow:hidden}
.b87-spread img{width:26%;height:74%;object-fit:cover;box-shadow:0 4px 9px #0005}
.b87-spread img:first-child{height:86%;transform:rotate(-4deg);margin-right:4px}
.b87-boards{grid-template-columns:repeat(2,minmax(0,1fr))}
.b87-boards img,.b87-pages img{width:100%;height:auto;display:block}
.b87-pages{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1rem}
.b87-part{border-top:1px solid var(--line);padding-top:1.3rem}.b87-part figure{margin:1rem 0}
.b87-part>p{max-width:80ch}.b87-interface{display:block;max-width:100%;max-height:570px;object-fit:contain}
.b87-fold{margin:1rem 0;border-block-end:1px solid var(--line);padding:.35rem}.b87-fold img{max-width:100%}
.brand-reels{--reel-height:clamp(230px,30vw,440px);display:flex;gap:clamp(8px,1.3vw,20px);flex-wrap:wrap;align-items:flex-start}
.brand-reels .b87-reel{width:calc(var(--ratio,0.5625) * var(--reel-height));max-width:100%;margin:0;padding:0}
.brand-reels .b87-reel h3{font-size:clamp(.92rem,1.3vw,1.2rem);line-height:1.45;margin:.5rem 0 0}
.brand-reels .case-player{margin:0;width:100%}
.brand-reels .case-player-stage{aspect-ratio:var(--ratio,.5625);background:transparent;border-radius:6px}
.brand-reels .case-player .case-player-stage video,.brand-reels .case-player .case-player-stage video.portrait-reel{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain}
.b87-jewels{display:grid;grid-template-columns:minmax(200px,.92fr) minmax(0,2.5fr);gap:clamp(14px,3vw,44px);align-items:center}
.b87-jewels .b87-hero{min-height:0;background:transparent}.b87-jewels .b87-copy{max-width:100%;padding:0}.b87-jewels h1{font-size:clamp(2.1rem,4vw,3.9rem)}
.b87-jewels .brand-reels{flex-wrap:nowrap}.b87-jewels .b87-reel{width:0;min-width:0;flex:var(--ratio) 1 0}
.b87-jewels .b87-filmarea{margin:0}.b87-end{border-top:1px solid var(--line);padding-top:1.5rem}
@media(max-width:850px){.ocean main.project-index .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.b87-jewels{display:block}.b87-jewels .b87-filmarea{margin-top:16px}.b87-copy{padding:20px}}
@media(max-width:640px){.b87-case .b87-hero{display:flex;flex-direction:column;align-items:stretch;min-height:0}.b87-copy{max-width:none}.b87-hero-photo,[dir=rtl] .b87-hero-photo{position:relative;order:2;width:100%;height:210px;mask-image:none;z-index:0}.b87-case .b87-cards,.b87-boards{grid-template-columns:1fr}.b87-pages{grid-template-columns:1fr 1fr}.b87-case .b87-jewels .b87-hero{padding:0}.brand-reels{--reel-height:200px}.brand-reels .case-play{width:37px;height:37px}.b87-end .button{max-width:100%}.ocean main.project-index .project-card h3{font-size:1.04rem}.site-header .brand87-languages{gap:0}.site-header .brand87-languages a{min-width:32px;min-height:44px;padding:3px;gap:2px;font-size:.74rem}.site-header .brand87-languages span{font-size:.81rem}.site-header .header-actions{gap:2px}.site-header .header-inner{gap:4px}.site-header .brand img{max-width:115px}}
@media(max-width:380px){.site-header .brand87-languages a{min-width:29px}.site-header .icon-button{min-width:34px}.site-header .brand img{max-width:92px}}
/* Uploaded clips without a fixed format acquire their intrinsic geometry on metadata load. */
:is(.b87-part,.film-presentation) .case-player:has(video) .case-player-stage{width:fit-content;max-width:100%;margin-inline:auto}
:is(.b87-part,.film-presentation) .case-player-stage video{display:block;aspect-ratio:auto;width:auto;max-width:100%;height:auto;max-height:70vh}
.b87-part .case-player,.b87-part>audio{margin-block:1rem;max-width:100%}

/* Fashion editorials: keep faces within the cover and the full outfits in the gallery. */
.b88-fashion .b87-hero-photo,.project-photo[src$="/cover88.webp"]{object-position:50% 29%}
.b88-fashion .b88-client-mark{display:block;box-sizing:border-box;width:auto;max-width:9rem;height:3rem;object-fit:contain;background:#fbfaf7;border-radius:4px;padding:.4rem .65rem;margin-block:.7rem 0}
.b88-fashion .b87-art .case-slides{max-width:42rem;margin-inline-start:0}
.b88-fashion .b87-art .case-slide-open{background:transparent;justify-items:start;border-radius:0}
.b88-fashion .b87-art .case-slide-open img{display:block;object-fit:contain;width:auto;max-width:100%;height:auto;max-height:min(68vh,630px);border-radius:5px}
.b88-fashion .b87-art .case-zoom{inset-inline-start:.5rem;inset-inline-end:auto}
@media(max-width:640px){.b88-fashion .b87-hero-photo{height:auto;aspect-ratio:16/10;object-position:50% 25%}.b88-fashion .b87-art .case-slide-open{justify-items:center}}

/* For these three landscape editorials preserve the complete garment at all viewport sizes. */
.ocean .project-card .project-media:has(.project-photo[src$="/cover88.webp"]){aspect-ratio:3/2}
.ocean .project-card .project-photo[src$="/cover88.webp"]{object-fit:contain;object-position:center}
.b88-fashion .b87-hero-photo{object-fit:contain;object-position:center}
@media(max-width:640px){.b88-fashion .b87-hero-photo{aspect-ratio:3/2}}
.b87-case .case-document iframe{display:block;width:100%;max-width:100%;min-width:0;height:clamp(260px,60vh,640px);box-sizing:border-box;border:1px solid var(--line);margin-block:.8rem}
@media(max-width:359px){.brand87-languages{gap:0}.brand87-languages a{min-width:34px;padding-inline:2px;gap:2px}}
