/* Opening brand film, followed by the project introduction. */
.brand-film-hero{position:relative;isolation:isolate;margin:12px 12px 0;overflow:hidden;border-radius:24px;background:#111}
.brand-film-hero video{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:calc(100svh - 24px);object-fit:contain;background:#111}
.brand-film-hero::after{content:"";position:absolute;inset:0 0 auto;height:110px;background:linear-gradient(180deg,rgba(0,0,0,.42),transparent);pointer-events:none}
.brand-film-hero+.case-top{padding:56px 5vw 32px}
.brand-film-hero+.case-top .case-eyebrow{margin:0}
@media(max-width:767px){
 .brand-film-hero{margin:8px 8px 0;border-radius:18px}
 .brand-film-hero video{max-height:none}
 .brand-film-hero+.case-top{padding:36px 24px 24px}
}

/* Brand application galleries. */
#brand-mockups.brand-top-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:1056px;padding-bottom:64px}
#brand-mockups.brand-top-pair figure{margin:0;overflow:hidden;border-radius:16px}
#brand-mockups.brand-top-pair img{width:100%;height:100%!important;aspect-ratio:3/2!important;max-height:none;object-fit:cover;background:transparent}
.brand-bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:300px 340px;gap:18px;max-width:1000px;margin:0 auto 72px}
.case-story .brand-bento-card{margin:0;min-width:0;min-height:0;overflow:hidden;border-radius:16px;display:flex;flex-direction:column;background:#e5e0da}
.case-story .brand-bento-card img{display:block;flex:1;min-height:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;border-radius:0;background:transparent}
.brand-bento-cap{grid-column:1/6;grid-row:1}
.brand-bento-bottle{grid-column:6/13;grid-row:1}
.brand-bento-tshirt{grid-column:1/8;grid-row:2}
.brand-bento-artwork{grid-column:8/13;grid-row:2}
.case-story .brand-bento-cap img{object-position:50% 49%}
.case-story .brand-bento-artwork img{object-fit:cover;object-position:center top;background:#f9d515}
@media(max-width:767px){
#brand-mockups.brand-top-pair{gap:12px;padding:0 20px 48px}
.brand-bento{grid-template-rows:230px 260px;gap:12px}
}
@media(max-width:480px){
#brand-mockups.brand-top-pair{grid-template-columns:1fr}
.brand-bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:210px 270px}
.brand-bento-cap{grid-column:1;grid-row:1}.brand-bento-bottle{grid-column:2;grid-row:1}
.brand-bento-tshirt{grid-column:1;grid-row:2}.brand-bento-artwork{grid-column:2;grid-row:2}
.case-story .brand-bento-bottle img{object-position:55% center}
.case-story .brand-bento-tshirt img{object-position:35% center}
}

/* Social posts retain their complete artwork and original proportions. */
.brand-social{max-width:1000px;margin:0 auto 72px;scroll-margin-top:110px}
.brand-social h2{font-size:clamp(28px,3vw,42px);line-height:1.2;letter-spacing:-.04em;text-transform:none;margin:0 0 16px}
.brand-social-description{max-width:none;width:100%;margin:0 0 32px;font-size:17px;line-height:1.7}
.brand-social-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;align-items:center}
.brand-social .brand-social-card{grid-column:span 2;margin:0;min-width:0;overflow:hidden;border-radius:16px}
.brand-social .brand-social-card--photo{grid-column:span 3}
.brand-social .brand-social-card img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;border-radius:0;background:transparent}
@media(max-width:767px){
 .brand-social{margin-bottom:38px;scroll-margin-top:90px}
 .brand-social-description{font-size:16px}
 .brand-social h2{margin-bottom:16px}
 .brand-social-description{margin-bottom:24px}
 .brand-social-grid{grid-template-columns:1fr;gap:16px}
 .brand-social .brand-social-card{grid-column:auto;border-radius:12px}
}

/* Campaign film demonstrates the connected visual system. */
.case-story .brand-system-film{max-width:1000px;margin:0 auto 48px;overflow:hidden;border-radius:16px;background:#111;scroll-margin-top:110px}
.brand-system-film video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
@media(max-width:767px){.case-story .brand-system-film{margin-bottom:32px;border-radius:12px;scroll-margin-top:90px}}

/* Recognition assets share the existing application gallery width. */
.brand-recognition-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1000px;margin:0 auto 18px;scroll-margin-top:110px}
.case-story .brand-recognition-extras figure{margin:0;min-width:0;overflow:hidden;border-radius:16px}
.brand-recognition-icons{grid-column:1/-1;background:#fff}
.case-story .brand-recognition-icons img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:1254/198;object-fit:contain;background:#fff;border-radius:0}
.brand-recognition-motion{background:#f5d513}
.brand-recognition-motion video,.case-story .brand-recognition-sticker img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;border-radius:0}
@media(max-width:767px){.brand-recognition-extras{gap:12px;margin-bottom:12px;scroll-margin-top:90px}.case-story .brand-recognition-extras figure{border-radius:12px}}
@media(max-width:480px){.brand-recognition-extras{grid-template-columns:1fr}}

/* Carry the next-project background around the complete rounded footer. */
#contact.footer{background:#000;padding:24px 12px 12px}
#contact .footer__tile{border-radius:var(--border-radius-l,24px)}
@media(max-width:767px){
 #contact.footer{padding:18px 8px 8px}
 #contact .footer__tile{border-radius:18px}
}

/* Custom footwear photographs retain their full portrait composition. */
.brand-footwear{max-width:1000px;margin:0 auto 72px;scroll-margin-top:110px}
.brand-footwear h2{font-size:clamp(28px,3vw,42px);line-height:1.2;letter-spacing:-.04em;margin:0 0 24px}
.brand-footwear-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.case-story .brand-footwear figure{margin:0;min-width:0;overflow:hidden;border-radius:16px}
.case-story .brand-footwear img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:3/4;object-fit:contain;background:transparent;border-radius:0}
@media(max-width:767px){.brand-footwear{margin-bottom:38px;scroll-margin-top:90px}.brand-footwear-grid{grid-template-columns:1fr;gap:16px}.case-story .brand-footwear figure{border-radius:12px}}
