/* Page sequence, clear photography and a publication-led community. */
.agency-home #about{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:0;padding:0;background:#171e20;isolation:isolate;align-items:stretch}
.agency-home #about:before{display:none}
.agency-home #about .about-photo{position:relative;margin:0;min-width:0;align-self:center;overflow:hidden}
.agency-home #about .about-photo>img{width:100%;height:auto;display:block;object-fit:contain}
.agency-home #about .about-heading{position:absolute;top:26px;left:6%;right:6%;color:var(--paper)}
.agency-home #about .about-heading .eyebrow{font-size:9px;color:#ffb77f}
.agency-home #about h2{font-size:clamp(25px,3.1vw,48px);margin-top:12px;line-height:1.15;max-width:90%}
.agency-home #about h2 br{display:none}
.agency-home #about .body-copy{padding:clamp(24px,3vw,48px);margin:0;max-width:none;background:#171e20;border-radius:0;backdrop-filter:none;align-self:center;color:var(--paper)}
.agency-home #about .body-copy p{font-size:14px;line-height:1.8}
.agency-home #team{padding-block:64px}
.agency-home #services{padding-top:64px;padding-bottom:64px}
.partner-logo:has(img[src$="logo-buffalo.webp"]),.partner-logo:has(img[src$="logo-royals.png"]){padding:0}
.partner-logo img[src$="logo-buffalo.webp"]{width:140px;height:140px;max-width:none;max-height:none;flex:none;object-fit:contain}
.partner-logo img[src$="logo-royals.png"]{width:auto;height:90px;max-height:90px;max-width:120px;object-fit:contain}
/* Copy sits below imagery, so the photo can do its job. */
.story-card.story-card{display:flex;flex-direction:column;border:0;box-shadow:none}
.story-card .story-photo,.portfolio-featured .story-photo{aspect-ratio:3/2;border:0;flex:none}
.story-card .story-photo>img{object-position:50% 50%;transform:none}
.story-card:hover .story-photo>img{transform:scale(1.025)}
.story-card .story-photo:after{background:linear-gradient(#0002,transparent 35%)}
.story-card>.story-caption{position:static;display:flex;flex-direction:column;gap:9px;padding:24px 24px 0;color:var(--paper);min-height:160px}
.story-card>.story-caption h3{font-size:clamp(23px,2vw,32px)!important;line-height:1.18;margin:0;letter-spacing:-.035em}
.story-card>.story-caption p{font-size:12px;line-height:1.6;margin:0}
.story-card>.story-caption .story-link{margin-top:auto;width:max-content;font-size:11px}
.story-card .story-summary{padding-top:20px}
.story-card .story-results{margin-top:auto}
a.portfolio-card[href$="/hitz.html"] .portfolio-photo>img:not(.hover-photo){object-position:50% 12%!important}
.case-page .case-hero-image{height:auto;aspect-ratio:3/2;max-height:760px;overflow:hidden}
.case-page .case-hero-image img{object-position:center!important;transform:none}
.case-page .case-hero-image img[src$="hitz-main.webp"]{object-position:50% 18%!important}
.case-page .case-gallery{align-items:start}
.case-page .case-gallery figure{height:auto;aspect-ratio:auto;border:0}
.case-page .case-gallery img{height:auto;object-fit:contain;transform:none;object-position:center!important}
.case-page .case-wide-image img{max-height:none;object-fit:contain;height:auto}
#case-snapshot .snapshot-photo img{height:auto;max-height:540px;object-fit:contain!important;background:#171e20}
@media(max-width:900px){
 .agency-home #about{grid-template-columns:1fr}
 .agency-home #about .about-photo{width:100%}
 .agency-home #about .about-heading{top:22px;left:22px;right:22px}
 .agency-home #about h2{font-size:clamp(24px,5vw,42px)}
 .agency-home #about .body-copy{padding:28px 22px 36px;margin:0}
 .agency-home #services,.agency-home #team{padding-block:40px}
 .story-card>.story-caption{min-height:150px;padding:22px 20px 0}
 .story-card>.story-caption h3{font-size:25px!important}
 .story-card .story-photo,.portfolio-featured .story-photo{aspect-ratio:4/3}
 .case-page .case-hero-image{height:auto;aspect-ratio:4/3;margin-inline:22px}
 .partner-logo img[src$="logo-buffalo.webp"]{width:110px;height:110px}
 .partner-logo img[src$="logo-royals.png"]{height:74px;max-height:74px;max-width:100px}
}
.story-card>.story-caption .story-link{align-self:flex-start}
@media(max-width:900px){
 .agency-home #about .about-photo{display:flex;flex-direction:column}
 .agency-home #about .about-heading{position:static;order:-1;padding:24px 22px 16px;background:#171e20}
 .agency-home #about h2{font-size:26px;max-width:none}
 .story-card>.story-caption{min-height:0;gap:10px}
 .story-card>.story-caption .story-link{margin-top:4px}
}
.story-card .arc-card-photo{display:grid;place-items:center;background:radial-gradient(ellipse at 70% 20%,#526052,#252723 65%)}
.story-card .arc-card-photo>img{width:35%;height:55%;object-fit:contain;filter:brightness(0) invert(1);transform:none}
.arc-project-hero{margin:0 4.5%;padding:70px 7%;display:grid;grid-template-columns:1fr 1fr;gap:12%;align-items:center;background:#252723;color:#f7f4ee;border-radius:10px}
.arc-project-hero>img{width:65%;max-height:300px;margin:auto;filter:brightness(0) invert(1)}
.arc-project-hero h2{margin:20px 0;font-size:clamp(30px,4vw,54px)}
.arc-project-hero p{line-height:1.8}.arc-project-hero .eyebrow{color:#ffb77f}
@media(min-width:901px){header nav{gap:20px;font-size:11px}}
@media(max-width:780px){.arc-project-hero{grid-template-columns:1fr;padding:40px 24px;gap:35px}.arc-project-hero>img{height:180px}.arc-project-hero h2{font-size:30px}}
/* Consistent, landscape case previews and an accessible project photo reel. */
#case-snapshot .snapshot-photo{aspect-ratio:3/2;overflow:hidden}
#case-snapshot .snapshot-photo img{display:block;width:100%;height:100%;max-height:none;object-fit:cover!important;transform:none}
.case-page .case-photo-reel{margin:48px 0 64px;min-width:0}
.case-photo-reel .reel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.case-photo-reel h2{font-size:clamp(24px,3vw,36px);margin:0}
.case-photo-reel .reel-controls{display:flex;align-items:center;gap:12px}
.case-photo-reel button{border:1px solid #24272255;background:transparent;color:inherit;border-radius:999px;padding:10px 16px;min-height:44px;cursor:pointer;font:inherit;font-size:12px}
.case-photo-reel button:disabled{opacity:.3;cursor:default}
.case-photo-reel .reel-count{font-size:12px;min-width:44px;text-align:center}
.case-page .case-photo-reel .reel-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#cc783d transparent;padding-bottom:16px;overscroll-behavior-x:contain}
.case-page .case-photo-reel figure{flex:0 0 76%;height:clamp(280px,47vw,560px);margin:0;scroll-snap-align:start;overflow:hidden;border:0;background:#e8e5dc;border-radius:8px}
.case-page .case-photo-reel figure.portrait{flex-basis:38%}
.case-page .case-photo-reel img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important;transform:none}
.case-page .next-case{display:grid;grid-template-columns:1.15fr 1fr;grid-template-rows:1fr auto auto auto 1fr;gap:12px 28px;min-height:330px;padding:0 28px 0 0;overflow:hidden;background:#242722}
.case-page .next-case:after,.case-page .next-case:before{display:none}
.case-page .next-case>img{position:static!important;grid-column:1;grid-row:1/6;width:100%;height:100%;max-height:460px;object-fit:contain!important;object-position:center!important;transform:none!important;opacity:1;filter:none;background:#171e20}
.case-page .next-case>.eyebrow{grid-column:2;grid-row:2;margin:0;position:static}
.case-page .next-case>h3{grid-column:2;grid-row:3;margin:0;position:static;font-size:clamp(24px,2.5vw,40px)}
.case-page .next-case>.next-label{grid-column:2;grid-row:4;position:static;margin:0}
@media(max-width:600px){
 .case-photo-reel .reel-heading{align-items:flex-start;flex-direction:column;gap:14px}
 .case-page .case-photo-reel{margin:32px 0 40px}
 .case-page .case-photo-reel figure{flex-basis:90%;height:300px}
 .case-page .case-photo-reel figure.portrait{flex-basis:68%}
 .case-page .next-case{display:flex;flex-direction:column;align-items:stretch;padding:0 0 24px;gap:14px;min-height:0}
 .case-page .next-case>img{height:260px;max-height:none;aspect-ratio:3/2;flex:none}
 .case-page .next-case>.eyebrow,.case-page .next-case>h3,.case-page .next-case>.next-label{margin-inline:24px}
}

.case-photo-reel .reel-track{position:relative}

/* Next-project photographs fill a consistent, generous panel. */
.case-page .next-case{grid-column:1/-1;grid-template-columns:1.25fr 1fr;min-height:0}
.case-page .next-case>img{height:clamp(260px,28vw,440px);min-height:0;max-height:none;object-fit:cover!important;object-position:50% 50%!important}
.case-page .next-case>img[src$="hitz-main.webp"]{object-position:50% 15%!important}
.case-page .next-case>img[src$="cricket-7.webp"]{object-position:50% 45%!important}
@media(max-width:600px){.case-page .next-case>img{height:auto;min-height:0;aspect-ratio:3/2}.case-page .next-case>img[src$="hitz-main.webp"]{object-position:50% 12%!important}}

/* Keep the complete behind-the-scenes moment visible on smaller screens. */
@media(max-width:780px){
 #featured-project [data-feature="1"] .feature-image{position:relative;inset:auto;z-index:0;height:auto;aspect-ratio:3/2}
 #featured-project [data-feature="1"] .feature-image img{position:static;display:block;width:100%;height:auto;object-fit:contain;object-position:center!important}
 #featured-project [data-feature="1"]:after{display:none}
 #featured-project [data-feature="1"] .feature-copy{padding-top:24px}
}

/* Player footage and intelligence share one card without obscuring either. */
.signal-motion-card .signal-media-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,42%);gap:24px;align-items:stretch;margin:20px 0 26px}
.signal-motion-card .signal-media-row .impact-metrics{display:grid;grid-template-columns:1fr;padding:4px 0;gap:18px;align-content:space-evenly;border:0}
.signal-motion-card .signal-media-row .impact-metrics>div{padding:0;border:0;min-width:0}
.signal-motion-card .signal-media-row .impact-metrics strong,.signal-motion-card .signal-media-row .impact-metrics>div:first-child strong{font-size:clamp(34px,3.7vw,56px);letter-spacing:-.04em;line-height:1.05}
.signal-motion-card .signal-media-row .impact-metrics span{display:block;min-height:0;margin-top:6px;font-size:12px}
.signal-motion-card .signal-player-film{position:relative;inset:auto;z-index:1;opacity:1;aspect-ratio:9/16;max-height:350px;justify-self:end;width:100%;border-radius:8px;background:#171d19;overflow:hidden}
.signal-motion-card .signal-player-film:after{display:none}
.signal-motion-card .signal-player-film video{width:100%;height:100%;object-fit:contain}
.signal-footage-label{position:absolute;bottom:0;left:0;right:0;padding:18px 8px 9px;background:linear-gradient(transparent,#000b);color:white;font-size:9px;text-align:center;letter-spacing:.04em}
.signal-motion-card .signal-story{min-height:110px}
@media(max-width:780px){.signal-motion-card .signal-media-row{gap:16px;grid-template-columns:minmax(0,1fr) 44%}.signal-motion-card .signal-player-film{max-height:280px}.signal-motion-card .signal-media-row .impact-metrics strong,.signal-motion-card .signal-media-row .impact-metrics>div:first-child strong{font-size:38px}.signal-motion-card .signal-media-row .impact-metrics span{font-size:10px}.signal-footage-label{font-size:8px}.signal-motion-card .signal-story{min-height:0}}
@media(prefers-reduced-motion:reduce){.signal-motion-card .signal-player-film{display:none}.signal-motion-card .signal-media-row{grid-template-columns:1fr}.signal-motion-card .signal-media-row .impact-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}

.signal-motion-card .signal-player-film[hidden]{display:none}.signal-motion-card .signal-media-row:has(.signal-player-film[hidden]){grid-template-columns:1fr}

/* A single editorial canvas: footage fades into the statistics, with no inset boxes. */
.signal-motion-card .signal-media-row{position:relative;display:block;min-height:340px;margin:22px -30px 24px;padding:0 30px;isolation:isolate}
.signal-motion-card .signal-media-row .impact-metrics{position:relative;z-index:2;width:43%;min-height:340px;gap:24px;align-content:center;background:none}
.signal-motion-card .signal-media-row .impact-metrics>div{background:none!important;box-shadow:none;border:0}
.signal-motion-card .signal-player-film{position:absolute;inset:0 0 0 auto;width:64%;height:100%;max-height:none;aspect-ratio:auto;border-radius:0;background:transparent;z-index:0;mask-image:linear-gradient(90deg,transparent,#000 25%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 25%)}
.signal-motion-card .signal-player-film video{object-fit:cover;object-position:center}
.signal-motion-card .signal-player-film:after{display:block;content:'';position:absolute;inset:0;background:linear-gradient(0deg,#252723 0%,transparent 18%,transparent 85%,#252723 100%)}
.signal-motion-card .signal-footage-label{display:none}
.signal-motion-card .signal-media-row:has(.signal-player-film[hidden]) .impact-metrics{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));min-height:150px}
.signal-motion-card .signal-media-row:has(.signal-player-film[hidden]){min-height:150px}
.arc-project-hero.arc-photography{padding:0;gap:0;overflow:hidden}
.arc-project-hero.arc-photography>img{width:100%;height:100%;max-height:620px;object-fit:cover;object-position:50% 52%;filter:none}
.arc-project-hero.arc-photography>div{padding:40px}
.arc-photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:48px 4.5%}
.arc-photo-pair img{width:100%;height:auto;border-radius:8px}
@media(max-width:780px){
.signal-motion-card .signal-media-row{margin-inline:-20px;padding-inline:20px;min-height:300px}
.signal-motion-card .signal-media-row .impact-metrics{min-height:300px;width:42%;gap:24px}
.signal-motion-card .signal-player-film{width:65%;max-height:none}
.arc-project-hero.arc-photography>img{height:auto;max-height:none;aspect-ratio:3/2}
.arc-project-hero.arc-photography>div{padding:28px 24px}
.arc-photo-pair{gap:12px}
}

/* T20: compact chapters and photos sized to their actual proportions. */
.t20-case .case-chapter{grid-template-columns:minmax(180px,.6fr) minmax(0,1.7fr);gap:5%;padding:36px 0}
.t20-case .chapter-body{max-width:none}.t20-case .chapter-body p{line-height:1.75;margin-bottom:12px}
.t20-case .chapter-body ul{padding-left:20px;margin:12px 0 22px;line-height:1.8}
.t20-case .case-photo-reel{margin:30px 0 34px}
.t20-case .case-photo-reel figure,.t20-case .case-photo-reel figure.portrait{flex:0 0 auto;width:auto;height:clamp(280px,34vw,440px);aspect-ratio:var(--photo-ratio);background:transparent}
.t20-case .case-photo-reel img{width:100%;height:100%;object-fit:cover!important}
@media(max-width:780px){.t20-case .case-chapter{grid-template-columns:1fr;gap:16px;padding:26px 0}.t20-case .case-photo-reel figure,.t20-case .case-photo-reel figure.portrait{height:300px}}

/* Larger, clearer header navigation across the cricket site. */
@media(min-width:781px){
 header nav{gap:clamp(14px,1.8vw,28px);font-size:18px}
 header nav>a{font-size:inherit;white-space:nowrap;font-weight:700}
 header nav>a.pill{font-size:16px}
}
@media(min-width:781px) and (max-width:1100px){
 header{gap:18px}
 header nav{gap:14px;font-size:14px}
 header nav>a.pill{font-size:14px;padding-inline:18px}
}
@media(max-width:780px){
 header.open nav>a:not(.pill){font-size:22px!important}
}
