/* Shared components for the 25 inner pages built after Milestone 1 (home +
   creative-productions). Builds on base.css tokens/type/header/footer/
   placeholder patterns. Two hero treatments cover the two kinds of page
   content actually exist for: a cinematic placeholder hero for film/
   production pages (where DESIGN_SYSTEM calls for wide on-set imagery that
   hasn't been supplied yet) and a clean text hero for strategy/marketing/
   company pages (where no photography is implied by the source content —
   adding one would be inventing an asset, not filling a gap). */

/* ---- Dark cinematic hero (film/production pages) ---- */
.hero-dark{position:relative;min-height:480px;display:flex;align-items:flex-end;overflow:hidden}
/* ---- Concept-preview images (temporary, non-final — see asset handover review) ---- */
.concept-media{background:none}
.concept-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.concept-tag{
  position:absolute;bottom:10px;right:10px;z-index:3;
  background:rgba(14,18,20,.82);color:#eef3f5;
  font-size:9px;letter-spacing:.14em;text-transform:uppercase;
  padding:5px 9px;border:1px solid rgba(255,255,255,.25);
}

.hero-dark .placeholder-media{position:absolute;inset:0}
.hero-dark::after{
  content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(24,30,33,.15) 0%,rgba(18,23,26,.78) 78%,rgba(14,18,20,.92) 100%);
}
.hero-dark .wrap{position:relative;z-index:2;color:#fff;padding-top:110px;padding-bottom:58px}
.hero-dark .eyebrow{color:#9fd4e4}
.hero-dark h1{font-family:var(--serif);font-weight:400;letter-spacing:-.045em;font-size:clamp(38px,5vw,66px);line-height:1.08;margin:16px 0 18px;max-width:720px;color:#fff}
.hero-dark h1 em{color:#5fc2db;font-style:normal;font-weight:400}
.hero-dark p{font-size:15px;line-height:1.75;color:#d6dee1;max-width:460px;margin:0 0 26px}

/* ---- Photo-split hero: same treatment as the homepage hero. Plain left
   column for copy, photo confined to a right-hand panel that fades into
   the page via a white edge gradient — not a full-bleed overlay, so text
   never sits on top of the image. Used in place of hero-dark wherever a
   page's hero photo needs to sit beside the headline instead of behind it. ---- */
.hero-photo{position:relative;min-height:570px;display:flex;align-items:center;overflow:hidden}
.hero-photo-media{position:absolute;inset:0 0 0 42%;overflow:hidden}
.hero-photo-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-photo-media::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.7) 13%,transparent 48%)}
.hero-photo .wrap{position:relative;width:100%;padding-top:75px;padding-bottom:80px}
.hero-photo h1{font-family:var(--serif);font-weight:400;letter-spacing:-1.8px;font-size:clamp(40px,5vw,66px);line-height:1.08;margin:16px 0 18px;max-width:640px}
.hero-photo h1 em{color:var(--blue-text);font-style:normal;font-weight:400}
.hero-photo p{font-size:15px;line-height:1.8;color:var(--muted);max-width:440px;margin:0 0 26px}

/* ---- Trial variant: full-bleed photo behind the whole hero, text laid
   directly over it with a dark reading scrim instead of the white-fade
   split panel above. Toggle by adding "hero-full" alongside "hero-photo"
   on the section. ---- */
.hero-photo.hero-full .hero-photo-media{inset:0}
.hero-photo.hero-full .hero-photo-media::after{
  background:linear-gradient(90deg,rgba(18,22,25,.66) 0%,rgba(18,22,25,.42) 30%,rgba(18,22,25,.12) 55%,transparent 75%);
}
.hero-photo.hero-full .wrap{color:#fff}
.hero-photo.hero-full .eyebrow{color:#a6d9e7}
.hero-photo.hero-full h1{color:#fff}
.hero-photo.hero-full h1 em{color:#9ad4e4}
.hero-photo.hero-full p{color:#d9dfe2}
.hero-photo.hero-full .outline{border-color:rgba(255,255,255,.6);color:#fff}
.hero-photo.hero-full .outline:hover{border-color:#fff}
.hero-photo.hero-full .concept-tag{z-index:3}

@media(max-width:850px){
  .hero-photo{min-height:750px;align-items:flex-start}
  .hero-photo-media{inset:390px 0 0 0}
  .hero-photo-media::after{background:linear-gradient(180deg,#fff,transparent 25%)}
  .hero-photo.hero-full .hero-photo-media{inset:0}
  .hero-photo.hero-full .hero-photo-media::after{background:linear-gradient(180deg,rgba(18,22,25,.18) 0%,rgba(18,22,25,.55) 55%,rgba(18,22,25,.78) 100%)}
  .hero-photo .wrap{padding-top:58px;padding-bottom:350px}
  .hero-photo.hero-full .wrap{padding-bottom:58px}
  .hero-photo h1{font-size:44px;max-width:550px}

  /* Ad Films / Digital Marketing only: both were supplied with a
     dedicated mobile hero photo (…-hero-mobile.webp), framed with a
     blank band across its top for the heading + CTA, same idea as the
     homepage hero. Matched to the homepage's own mobile box height
     (620px) so the photo is fully visible without scrolling, same as
     the homepage — the previous 750px box here was taller than the
     viewport on most phones and forced a scroll to see the rest of the
     photo. Scoped to .hero-adfilms / .hero-digmkt (added only on these
     two pages' hero sections) so every other .hero-photo.hero-full
     page above is untouched. */
  .hero-adfilms,.hero-digmkt{min-height:620px}
  .hero-adfilms .hero-photo-media img,.hero-digmkt .hero-photo-media img{object-position:center top !important}
  .hero-adfilms .hero-photo-media::after,.hero-digmkt .hero-photo-media::after{background:linear-gradient(180deg,rgba(10,14,17,.45) 0%,rgba(10,14,17,.22) 28%,rgba(10,14,17,.05) 42%,transparent 58%)}
  .hero-adfilms .wrap,.hero-digmkt .wrap{position:absolute;top:0;left:0;right:0;padding-bottom:24px}
  .hero-adfilms .eyebrow,.hero-digmkt .eyebrow{font-size:14px;margin-bottom:8px;text-shadow:0 1px 6px rgba(0,0,0,.4)}
  .hero-adfilms h1,.hero-digmkt h1{line-height:1.16;max-width:100%;text-shadow:0 2px 10px rgba(0,0,0,.35)}
  .hero-adfilms p,.hero-digmkt p{display:none}
  /* CTA sized close to the site's own default button (14px/20px padding,
     13px type — see .btn,.outline in base.css), just a touch roomier
     for a mobile tap target, not blown up to force the block down to
     any particular depth. More translucent than before too, so the
     photo reads through clearly rather than the button looking like a
     solid chip. */
  .hero-adfilms .actions,.hero-digmkt .actions{margin-top:14px}
  .hero-adfilms .actions a,.hero-digmkt .actions a{padding:14px 22px;font-size:14px}
  .hero-adfilms .actions .btn,.hero-digmkt .actions .btn{background:rgba(22,126,159,.4);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.3)}
  .hero-adfilms .actions .outline,.hero-digmkt .actions .outline{background:rgba(10,14,17,.16);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

  /* Ad Films' headline is shorter and wraps less than Digital
     Marketing's, so it gets its own (larger) type scale rather than
     sharing one size that overfills one page and underfills the
     other — sized by eye for each photo, not to hit a fixed percentage. */
  .hero-adfilms .wrap{padding-top:52px}
  .hero-adfilms h1{font-size:44px;margin:18px 0 20px}
  /* Digital Marketing: the next person's head starts a little higher up
     in this photo than in the other two, so the block is pulled up and
     tightened to clear it rather than running into it. */
  .hero-digmkt .wrap{padding-top:28px}
  .hero-digmkt h1{font-size:38px;margin:10px 0 12px}

  /* ---- Remaining 26 inner pages: same dedicated-mobile-hero recipe as
     Ad Films / Digital Marketing above, each scoped to its own page class
     so no other hero-full page is touched. All 26 were supplied with a
     purpose-shot mobile hero photo (…-hero-mobile.webp) with a quiet band
     for the heading; anchored top like the others. ---- */
  .hero-creativeprod,.hero-corpvideo,.hero-explainer,.hero-musicvideos,.hero-featurefilms,
  .hero-prodservices,.hero-prodmgmt,.hero-crewequip,.hero-ottbiz,.hero-tvcommercial,.hero-filmmktg,
  .hero-seoai,.hero-ppc,.hero-socialmedia,.hero-webdev,.hero-ecommerce,.hero-amazonads,
  .hero-consulting,.hero-bot,.hero-managedsvc,.hero-mktgintel,.hero-qualleads,
  .hero-about,.hero-contact,.hero-ourwork,.hero-industries{min-height:620px}

  .hero-creativeprod .hero-photo-media img,.hero-corpvideo .hero-photo-media img,.hero-explainer .hero-photo-media img,.hero-musicvideos .hero-photo-media img,.hero-featurefilms .hero-photo-media img,
  .hero-prodservices .hero-photo-media img,.hero-prodmgmt .hero-photo-media img,.hero-crewequip .hero-photo-media img,.hero-ottbiz .hero-photo-media img,.hero-tvcommercial .hero-photo-media img,.hero-filmmktg .hero-photo-media img,
  .hero-seoai .hero-photo-media img,.hero-ppc .hero-photo-media img,.hero-socialmedia .hero-photo-media img,.hero-webdev .hero-photo-media img,.hero-ecommerce .hero-photo-media img,.hero-amazonads .hero-photo-media img,
  .hero-consulting .hero-photo-media img,.hero-bot .hero-photo-media img,.hero-managedsvc .hero-photo-media img,.hero-mktgintel .hero-photo-media img,.hero-qualleads .hero-photo-media img,
  .hero-about .hero-photo-media img,.hero-contact .hero-photo-media img,.hero-ourwork .hero-photo-media img,.hero-industries .hero-photo-media img{object-position:center top !important}

  .hero-creativeprod .hero-photo-media::after,.hero-corpvideo .hero-photo-media::after,.hero-explainer .hero-photo-media::after,.hero-musicvideos .hero-photo-media::after,.hero-featurefilms .hero-photo-media::after,
  .hero-prodservices .hero-photo-media::after,.hero-prodmgmt .hero-photo-media::after,.hero-crewequip .hero-photo-media::after,.hero-ottbiz .hero-photo-media::after,.hero-tvcommercial .hero-photo-media::after,.hero-filmmktg .hero-photo-media::after,
  .hero-seoai .hero-photo-media::after,.hero-ppc .hero-photo-media::after,.hero-socialmedia .hero-photo-media::after,.hero-webdev .hero-photo-media::after,.hero-ecommerce .hero-photo-media::after,
  .hero-consulting .hero-photo-media::after,.hero-bot .hero-photo-media::after,.hero-managedsvc .hero-photo-media::after,.hero-mktgintel .hero-photo-media::after,.hero-qualleads .hero-photo-media::after,
  .hero-about .hero-photo-media::after,.hero-contact .hero-photo-media::after,.hero-ourwork .hero-photo-media::after,.hero-industries .hero-photo-media::after{background:linear-gradient(180deg,rgba(10,14,17,.45) 0%,rgba(10,14,17,.22) 28%,rgba(10,14,17,.05) 42%,transparent 58%)}

  .hero-creativeprod .wrap,.hero-corpvideo .wrap,.hero-explainer .wrap,.hero-musicvideos .wrap,.hero-featurefilms .wrap,
  .hero-prodservices .wrap,.hero-prodmgmt .wrap,.hero-crewequip .wrap,.hero-ottbiz .wrap,.hero-tvcommercial .wrap,.hero-filmmktg .wrap,
  .hero-seoai .wrap,.hero-ppc .wrap,.hero-socialmedia .wrap,.hero-webdev .wrap,.hero-ecommerce .wrap,.hero-amazonads .wrap,
  .hero-consulting .wrap,.hero-bot .wrap,.hero-managedsvc .wrap,.hero-mktgintel .wrap,.hero-qualleads .wrap,
  .hero-about .wrap,.hero-contact .wrap,.hero-ourwork .wrap,.hero-industries .wrap{position:absolute;top:0;left:0;right:0;padding-bottom:24px}

  .hero-creativeprod .eyebrow,.hero-corpvideo .eyebrow,.hero-explainer .eyebrow,.hero-musicvideos .eyebrow,.hero-featurefilms .eyebrow,
  .hero-prodservices .eyebrow,.hero-prodmgmt .eyebrow,.hero-crewequip .eyebrow,.hero-ottbiz .eyebrow,.hero-tvcommercial .eyebrow,.hero-filmmktg .eyebrow,
  .hero-seoai .eyebrow,.hero-ppc .eyebrow,.hero-socialmedia .eyebrow,.hero-webdev .eyebrow,.hero-ecommerce .eyebrow,.hero-amazonads .eyebrow,
  .hero-consulting .eyebrow,.hero-bot .eyebrow,.hero-managedsvc .eyebrow,.hero-mktgintel .eyebrow,.hero-qualleads .eyebrow,
  .hero-about .eyebrow,.hero-contact .eyebrow,.hero-ourwork .eyebrow,.hero-industries .eyebrow{font-size:14px;margin-bottom:8px;text-shadow:0 1px 6px rgba(0,0,0,.4)}

  .hero-creativeprod h1,.hero-corpvideo h1,.hero-explainer h1,.hero-musicvideos h1,.hero-featurefilms h1,
  .hero-prodservices h1,.hero-prodmgmt h1,.hero-crewequip h1,.hero-ottbiz h1,.hero-tvcommercial h1,.hero-filmmktg h1,
  .hero-seoai h1,.hero-ppc h1,.hero-socialmedia h1,.hero-webdev h1,.hero-ecommerce h1,.hero-amazonads h1,
  .hero-consulting h1,.hero-bot h1,.hero-managedsvc h1,.hero-mktgintel h1,.hero-qualleads h1,
  .hero-about h1,.hero-contact h1,.hero-ourwork h1,.hero-industries h1{line-height:1.16;max-width:100%;text-shadow:0 2px 10px rgba(0,0,0,.35)}

  .hero-creativeprod p,.hero-corpvideo p,.hero-explainer p,.hero-musicvideos p,.hero-featurefilms p,
  .hero-prodservices p,.hero-prodmgmt p,.hero-crewequip p,.hero-ottbiz p,.hero-tvcommercial p,.hero-filmmktg p,
  .hero-seoai p,.hero-ppc p,.hero-socialmedia p,.hero-webdev p,.hero-ecommerce p,.hero-amazonads p,
  .hero-consulting p,.hero-bot p,.hero-managedsvc p,.hero-mktgintel p,.hero-qualleads p,
  .hero-about p,.hero-contact p,.hero-ourwork p,.hero-industries p{display:none}

  .hero-creativeprod .actions,.hero-corpvideo .actions,.hero-explainer .actions,.hero-musicvideos .actions,.hero-featurefilms .actions,
  .hero-prodservices .actions,.hero-prodmgmt .actions,.hero-crewequip .actions,.hero-ottbiz .actions,.hero-tvcommercial .actions,.hero-filmmktg .actions,
  .hero-seoai .actions,.hero-ppc .actions,.hero-socialmedia .actions,.hero-webdev .actions,.hero-ecommerce .actions,.hero-amazonads .actions,
  .hero-consulting .actions,.hero-bot .actions,.hero-managedsvc .actions,.hero-mktgintel .actions,.hero-qualleads .actions,
  .hero-about .actions,.hero-contact .actions,.hero-ourwork .actions,.hero-industries .actions{margin-top:14px}

  .hero-creativeprod .actions a,.hero-corpvideo .actions a,.hero-explainer .actions a,.hero-musicvideos .actions a,.hero-featurefilms .actions a,
  .hero-prodservices .actions a,.hero-prodmgmt .actions a,.hero-crewequip .actions a,.hero-ottbiz .actions a,.hero-tvcommercial .actions a,.hero-filmmktg .actions a,
  .hero-seoai .actions a,.hero-ppc .actions a,.hero-socialmedia .actions a,.hero-webdev .actions a,.hero-ecommerce .actions a,.hero-amazonads .actions a,
  .hero-consulting .actions a,.hero-bot .actions a,.hero-managedsvc .actions a,.hero-mktgintel .actions a,.hero-qualleads .actions a,
  .hero-about .actions a,.hero-contact .actions a,.hero-ourwork .actions a,.hero-industries .actions a{padding:14px 22px;font-size:14px}

  .hero-creativeprod .actions .btn,.hero-corpvideo .actions .btn,.hero-explainer .actions .btn,.hero-musicvideos .actions .btn,.hero-featurefilms .actions .btn,
  .hero-prodservices .actions .btn,.hero-prodmgmt .actions .btn,.hero-crewequip .actions .btn,.hero-ottbiz .actions .btn,.hero-tvcommercial .actions .btn,.hero-filmmktg .actions .btn,
  .hero-seoai .actions .btn,.hero-ppc .actions .btn,.hero-socialmedia .actions .btn,.hero-webdev .actions .btn,.hero-ecommerce .actions .btn,.hero-amazonads .actions .btn,
  .hero-consulting .actions .btn,.hero-bot .actions .btn,.hero-managedsvc .actions .btn,.hero-mktgintel .actions .btn,.hero-qualleads .actions .btn,
  .hero-about .actions .btn,.hero-contact .actions .btn,.hero-ourwork .actions .btn,.hero-industries .actions .btn{background:rgba(22,126,159,.4);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.3)}

  .hero-creativeprod .actions .outline,.hero-corpvideo .actions .outline,.hero-explainer .actions .outline,.hero-musicvideos .actions .outline,.hero-featurefilms .actions .outline,
  .hero-prodservices .actions .outline,.hero-prodmgmt .actions .outline,.hero-crewequip .actions .outline,.hero-ottbiz .actions .outline,.hero-tvcommercial .actions .outline,.hero-filmmktg .actions .outline,
  .hero-seoai .actions .outline,.hero-ppc .actions .outline,.hero-socialmedia .actions .outline,.hero-webdev .actions .outline,.hero-ecommerce .actions .outline,.hero-amazonads .actions .outline,
  .hero-consulting .actions .outline,.hero-bot .actions .outline,.hero-managedsvc .actions .outline,.hero-mktgintel .actions .outline,.hero-qualleads .actions .outline,
  .hero-about .actions .outline,.hero-contact .actions .outline,.hero-ourwork .actions .outline,.hero-industries .actions .outline{background:rgba(10,14,17,.16);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

  /* Four "earlier batch" photos (Corporate Video, Explainer Videos, Music
     Videos, Feature Films) have little to no blank band — busy content
     starts almost immediately below the top edge. A taller, stronger wash
     keeps the heading legible without the subheading's extra room; text
     block kept short to clear the busy area with margin, per-photo. */
  .hero-corpvideo .hero-photo-media::after,.hero-explainer .hero-photo-media::after,.hero-musicvideos .hero-photo-media::after,.hero-featurefilms .hero-photo-media::after{
    background:linear-gradient(180deg,rgba(8,12,15,.82) 0%,rgba(8,12,15,.62) 32%,rgba(8,12,15,.22) 52%,transparent 68%);
  }
  .hero-corpvideo h1,.hero-musicvideos h1,.hero-featurefilms h1{font-size:34px;margin:14px 0 16px}
  .hero-explainer h1{font-size:36px;margin:14px 0 16px}

  /* Amazon Advertising: bright light-blue ecosystem diagram rather than
     photography — the generic wash above isn't dark enough over the logo
     bubbles, so it keeps its own stronger, more uniform overlay. */
  .hero-photo.hero-full.hero-amazonads .hero-photo-media::after{background:linear-gradient(180deg,rgba(8,12,15,.78) 0%,rgba(8,12,15,.7) 45%,rgba(8,12,15,.82) 100%)}
}
@media(max-width:480px){
  .hero-photo{min-height:780px}
  .hero-photo-media{top:440px}
  .hero-photo h1{font-size:38px}
  .hero-adfilms,.hero-digmkt,
  .hero-creativeprod,.hero-corpvideo,.hero-explainer,.hero-musicvideos,.hero-featurefilms,
  .hero-prodservices,.hero-prodmgmt,.hero-crewequip,.hero-ottbiz,.hero-tvcommercial,.hero-filmmktg,
  .hero-seoai,.hero-ppc,.hero-socialmedia,.hero-webdev,.hero-ecommerce,.hero-amazonads,
  .hero-consulting,.hero-bot,.hero-managedsvc,.hero-mktgintel,.hero-qualleads,
  .hero-about,.hero-contact,.hero-ourwork,.hero-industries{min-height:660px}
  .hero-adfilms h1{font-size:34px}
  .hero-digmkt h1{font-size:37px}
  .hero-corpvideo h1,.hero-musicvideos h1,.hero-featurefilms h1{font-size:29px}
  .hero-explainer h1{font-size:31px}
}

/* ---- Light text hero (strategy/marketing/company pages) ---- */
.hero-light{padding:96px 0 64px;border-bottom:1px solid var(--line)}
.hero-light h1{font-family:var(--serif);font-weight:400;letter-spacing:-.04em;font-size:clamp(34px,4.6vw,58px);line-height:1.1;margin:16px 0 18px;max-width:720px}
.hero-light h1 em{color:var(--blue-text);font-style:normal;font-weight:400}
.hero-light p{font-size:16px;line-height:1.75;color:var(--muted);max-width:500px;margin:0 0 26px}

/* ---- Service / feature grid (2, 3 or 4 columns) ---- */
.svc-grid{display:grid;border-left:1px solid var(--line);border-top:1px solid var(--line);margin-top:30px}
.svc-grid--2{grid-template-columns:repeat(2,1fr)}
.svc-grid--3{grid-template-columns:repeat(3,1fr)}
.svc-grid--4{grid-template-columns:repeat(4,1fr)}
.svc-grid--5{grid-template-columns:repeat(5,1fr)}
/* Graduated on its own (rather than collapsing straight to one column
   under 850px like the other svc-grid sizes) so a 5-up row stays a row
   -- just narrower -- down to genuinely small phone widths. */
@media(max-width:1200px){.svc-grid--5{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.svc-grid--5{grid-template-columns:repeat(2,1fr)}}
@media(max-width:420px){.svc-grid--5{grid-template-columns:1fr}}
.svc-card{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 24px;min-height:168px;display:flex;flex-direction:column;background:inherit}
.svc-card h3,.svc-card h4{font-family:var(--serif);font-size:22px;font-weight:400;letter-spacing:-.015em;margin:0 0 8px}
.svc-card p{font-size:13px;color:var(--muted);line-height:1.6;margin:0;max-width:260px}
.bg-charcoal .svc-card,.bg-charcoal-alt .svc-card{border-color:var(--on-dark-line)}
.bg-charcoal .svc-card h3,.bg-charcoal-alt .svc-card h3{color:#fff}
.bg-charcoal .svc-card p,.bg-charcoal-alt .svc-card p{color:var(--on-dark-muted)}
.bg-charcoal .svc-grid,.bg-charcoal-alt .svc-grid{border-color:var(--on-dark-line)}
.svc-card .svc-link{margin-top:auto;padding-top:14px;font-size:12px}

/* ---- One sample video per category, placed under a svc-grid row.
   Responsive 16:9 embed, one per column, same order as the row above. ---- */
.work-video-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:18px}
.work-video{margin:0}
.video-embed{position:relative;width:100%;padding-top:56.25%;background:#15181a;overflow:hidden}
.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.work-video figcaption{font-size:12px;color:var(--muted);line-height:1.4;margin-top:10px}
/* Same column counts as .svc-grid--5 above, so the video row keeps
   lining up under the category row at every width. */
@media(max-width:1200px){.work-video-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.work-video-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:420px){.work-video-grid{grid-template-columns:1fr}}

/* Short bullet takeaways inside a svc-card, in place of a paragraph.
   Reuses the same small blue dot marker as .timeline-row's step dots. */
.svc-card .takeaways{list-style:none;margin:0;padding:0;font-size:13px;color:var(--muted);line-height:1.5;max-width:260px}
.svc-card .takeaways li{position:relative;padding-left:15px;margin-bottom:7px}
.svc-card .takeaways li:last-child{margin-bottom:0}
.svc-card .takeaways li::before{content:'';position:absolute;left:0;top:7px;width:5px;height:5px;border-radius:50%;background:var(--blue-text)}
.bg-charcoal .svc-card .takeaways,.bg-charcoal-alt .svc-card .takeaways{color:var(--on-dark-muted)}

/* ---- Generic "break the monotony" highlight for one card in an
   otherwise-uniform svc-grid row. Opt-in via .svc-card--feature so the
   many plain svc-grids across the site (explore-next, etc.) are
   untouched. Icons/number labels inside these cards are set with inline
   styles per card, so callers also need to swap those by hand. ---- */
.svc-card--feature{
  background:linear-gradient(135deg,#1f8fb3 0%,#0d5f7a 100%);color:#fff;
  border-color:transparent;position:relative;z-index:1;
  box-shadow:0 14px 32px rgba(10,40,50,.3);
}
.svc-card--feature h3,.svc-card--feature h4{color:#fff}
.svc-card--feature p{color:rgba(255,255,255,.85)}
.svc-card--feature .svc-link,.svc-card--feature .link{color:#fff}
.svc-card--feature .takeaways{color:rgba(255,255,255,.85)}
.svc-card--feature .takeaways li::before{background:#fff}

/* ---- Case-study results: client name, one-line context, then a short
   list of figures. Numbers are inline-bold within plain body text --
   deliberately NOT a separate stat/infographic treatment, so they read
   as a sentence rather than a dashboard tile. Shared by the standalone
   .case-card (Work page) and the .reveal disclosure (Industries page). ---- */
.case-grid{display:grid;grid-template-columns:repeat(3,1fr);border-left:1px solid var(--line);border-top:1px solid var(--line);margin-top:30px}
.case-card{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 26px;background:inherit}
.case-card .case-tag{font-size:11px;letter-spacing:.08em;color:var(--blue-text);text-transform:uppercase;margin:0 0 10px}
.case-card h3{font-family:var(--serif);font-size:22px;font-weight:400;letter-spacing:-.015em;margin:0 0 8px}
.case-card .case-brief{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 18px;max-width:280px}
.case-stats{list-style:none;margin:0;padding:16px 0 0;border-top:1px solid var(--line);font-size:13px;color:var(--muted);line-height:1.7;max-width:280px}
.case-stats li{margin-bottom:4px}
.case-stats li:last-child{margin-bottom:0}
.case-stats strong{font-weight:700;color:var(--blue-text)}
@media(max-width:900px){
  .case-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .case-grid{grid-template-columns:1fr}
}

/* ---- Click-to-reveal case study nested inside a svc-card, reusing the
   FAQ's plus/rotate disclosure so the interaction is already familiar. ---- */
.svc-card .reveal{margin-top:auto;padding-top:16px}
.svc-card .reveal summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.02em;font-weight:700;color:var(--blue-text)}
.svc-card .reveal summary::-webkit-details-marker{display:none}
.svc-card .reveal summary::after{content:'+';font:300 20px/1 var(--sans);color:var(--blue-text);flex-shrink:0;transition:transform .15s ease}
.svc-card .reveal[open] summary::after{transform:rotate(45deg)}
.svc-card .reveal summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.svc-card .reveal-body{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.svc-card .reveal-body h4{font-family:var(--serif);font-size:17px;font-weight:400;margin:0 0 6px}
.svc-card .reveal-body .case-brief{font-size:12.5px;color:var(--muted);line-height:1.6;margin:0 0 14px;max-width:260px}
.svc-card .reveal-body .case-stats{font-size:12.5px;max-width:260px}

/* ---- Step / process row (3 or 4 columns) ---- */
.step-row{display:grid;border-top:1px solid var(--line);margin-top:30px}
.step-row--2{grid-template-columns:repeat(2,1fr)}
.step-row--3{grid-template-columns:repeat(3,1fr)}
.step-row--4{grid-template-columns:repeat(4,1fr)}
.step-row--5{grid-template-columns:repeat(5,1fr)}
.step-row .step{padding:22px 20px 6px 0;border-right:1px solid var(--line);margin-right:20px}
.step-row .step:last-child{border-right:0;margin-right:0}
.step-row .num{font-size:11px;color:var(--blue-text);font-weight:700;letter-spacing:2px}
.step-row .step h3{font-family:var(--serif);font-size:21px;font-weight:400;margin:16px 0 6px}
.step-row .step p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.bg-charcoal .step-row,.bg-charcoal-alt .step-row{border-color:var(--on-dark-line)}
.bg-charcoal .step-row .step,.bg-charcoal-alt .step-row .step{border-color:var(--on-dark-line)}
.bg-charcoal .step-row h3,.bg-charcoal-alt .step-row h3{color:#fff}
.bg-charcoal .step-row p,.bg-charcoal-alt .step-row p{color:var(--on-dark-muted)}
.bg-charcoal .step-row .num,.bg-charcoal-alt .step-row .num{color:#9ad4e4}

/* ---- Same "break the monotony" move for step-row: one step gets a
   filled, raised card instead of repeating the plain outlined column.
   Declared after the base .step-row rules above (same specificity, so
   source order decides) so the feature colours actually win. Border-
   color is neutralised unconditionally since step-row borders switch
   from right-hand to bottom-hand once the grid collapses on mobile. ---- */
.step-row .step--feature{
  background:linear-gradient(135deg,#1f8fb3 0%,#0d5f7a 100%);color:#fff;
  border-color:transparent;padding-left:18px;padding-right:18px;border-radius:4px;
}
.step-row .step--feature .num{color:rgba(255,255,255,.75)}
.step-row .step--feature h3{color:#fff}
.step-row .step--feature p{color:rgba(255,255,255,.88)}
@media(min-width:851px){
  .step-row .step--feature{
    position:relative;margin:-18px 20px -1px 0;padding-top:40px;padding-bottom:26px;z-index:1;
    box-shadow:0 20px 40px rgba(10,40,50,.3);
  }
}
@media(max-width:850px){
  .step-row .step--feature{padding-top:18px;padding-bottom:18px;margin-bottom:6px}
}

/* ---- Media / project tile grid (reuses honest-placeholder pattern) ---- */
.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:30px}
.media-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.media-tile{aspect-ratio:16/9;position:relative;overflow:hidden;border:1px solid #3c4950}
.media-tile.light{border-color:var(--line)}
.media-item h3{font-family:var(--serif);font-size:23px;font-weight:400;margin:14px 0 5px;letter-spacing:-.015em}
.media-item p{font-size:13px;color:var(--muted);line-height:1.6;margin:0;max-width:320px}
.bg-charcoal .media-item h3,.bg-charcoal-alt .media-item h3{color:#fff}
.bg-charcoal .media-item p,.bg-charcoal-alt .media-item p{color:var(--on-dark-muted)}

/* ---- Simple two-column link list ---- */
.link-list{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;column-gap:38px;margin-top:26px}
.link-list a{border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-family:var(--serif);font-size:21px;padding:17px 0;color:var(--ink)}
.link-list a span:last-child{color:var(--blue-text);font:15px var(--sans)}
.bg-charcoal .link-list,.bg-charcoal-alt .link-list{border-color:var(--on-dark-line)}
.bg-charcoal .link-list a,.bg-charcoal-alt .link-list a{border-color:var(--on-dark-line);color:#fff}

/* ---- Film logline (a single, distinct pull-out line above the synopsis) ---- */
.logline{font-family:var(--serif);font-size:23px;font-style:italic;color:var(--blue-text);margin:10px 0 22px;max-width:680px;line-height:1.45}
.bg-charcoal .logline,.bg-charcoal-alt .logline{color:var(--on-dark)}

/* ---- Cast list (name prominent, character secondary) ---- */
.cast-list{border-top:1px solid var(--line);margin-top:26px;max-width:680px}
.cast-row{border-bottom:1px solid var(--line);display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;padding:20px 0}
.cast-name{font-family:var(--serif);font-size:26px;font-weight:400;letter-spacing:-.01em;color:var(--ink)}
.cast-role{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}
.bg-charcoal .cast-list,.bg-charcoal-alt .cast-list{border-color:var(--on-dark-line)}
.bg-charcoal .cast-row,.bg-charcoal-alt .cast-row{border-color:var(--on-dark-line)}
.bg-charcoal .cast-name,.bg-charcoal-alt .cast-name{color:#fff}
.bg-charcoal .cast-role,.bg-charcoal-alt .cast-role{color:var(--on-dark-muted)}

/* ---- Closing CTA band ---- */
.close-cta{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:end}
.close-cta h2{font-family:var(--serif);font-weight:400;letter-spacing:-.03em;font-size:clamp(30px,3.6vw,46px);line-height:1.12;margin:0;max-width:580px}
.close-cta .blue-period{color:var(--blue-text)}
.close-cta-side p{font-size:14px;line-height:1.7;max-width:320px;margin-bottom:20px}
.bg-charcoal .close-cta h2,.bg-charcoal-alt .close-cta h2{color:#fff}
.bg-charcoal .close-cta .blue-period,.bg-charcoal-alt .close-cta .blue-period{color:#5fc2db}
.bg-charcoal .close-cta-side p,.bg-charcoal-alt .close-cta-side p{color:var(--on-dark-muted)}
.bg-white .close-cta p,.bg-paper .close-cta p{color:var(--muted)}

/* ---- Review-state notice (used where source content says "not yet live/verified") ---- */
.review-note{border:1px solid var(--line);background:var(--paper);padding:16px 20px;font-size:12px;line-height:1.7;color:var(--muted);margin-top:18px;max-width:640px}
.bg-charcoal .review-note,.bg-charcoal-alt .review-note{background:rgba(255,255,255,.04);border-color:var(--on-dark-line);color:var(--on-dark-muted)}

/* ---- Important note: a client-facing caveat (terms, scope limits, what
   isn't guaranteed) rather than an internal "not live yet" marker — so it
   needs its own, more visible treatment instead of blending into
   .review-note. Amber accent reads as "read this carefully" without
   looking like an error. ---- */
.important-note{
  position:relative;border:1px solid #e7cb8f;border-left:3px solid #b8860b;background:#fdf8ee;
  padding:16px 22px 16px 24px;margin-top:18px;max-width:640px;
}
.important-note .important-note-label{display:block;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;font-weight:700;color:#8a630f;margin-bottom:6px}
.important-note p,.important-note li{font-size:13px;line-height:1.7;color:#5a4a26;margin:0}
.important-note li::marker{color:#b8860b}
.bg-charcoal .important-note,.bg-charcoal-alt .important-note{background:rgba(184,134,11,.1);border-color:rgba(231,203,143,.35);border-left-color:#d4a62f}
.bg-charcoal .important-note .important-note-label,.bg-charcoal-alt .important-note .important-note-label{color:#e3bb5c}
.bg-charcoal .important-note p,.bg-charcoal-alt .important-note p,.bg-charcoal .important-note li,.bg-charcoal-alt .important-note li{color:#e8dcc0}
.bg-charcoal .important-note li::marker,.bg-charcoal-alt .important-note li::marker{color:#e3bb5c}

/* =======================================================================
   Distinctive editorial components — added for the V3 Visual Refinement
   pass (design/v3-visual-refinement). These give individual pages their
   own art-directed composition instead of the hero/grid/CTA default above.
   Still built only from approved tokens (type, blue, white/paper/charcoal)
   and the same honest-placeholder pattern as everything else.
   ======================================================================= */

/* ---- Editorial alternating image/text rows (asymmetric storytelling) ---- */
.editorial-row{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding:34px 0;border-top:1px solid var(--line)}
.editorial-row:first-child{border-top:0;padding-top:4px}
.editorial-row.reverse .editorial-row-media{order:2}
.editorial-row.reverse .editorial-row-text{order:1}
.editorial-row-media{aspect-ratio:4/3;position:relative;overflow:hidden;border:1px solid var(--line)}
.editorial-row-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.editorial-row-text .num{font-size:11px;color:var(--blue-text);font-weight:700;letter-spacing:.14em}
.editorial-row-text h3{font-family:var(--serif);font-size:27px;font-weight:400;margin:14px 0 8px;letter-spacing:-.015em}
.editorial-row-text p{font-size:14px;line-height:1.7;color:var(--muted);max-width:380px;margin:0}
.bg-charcoal .editorial-row,.bg-charcoal-alt .editorial-row{border-color:var(--on-dark-line)}
.bg-charcoal .editorial-row-text h3,.bg-charcoal-alt .editorial-row-text h3{color:#fff}
.bg-charcoal .editorial-row-text p,.bg-charcoal-alt .editorial-row-text p{color:var(--on-dark-muted)}

/* ---- Editorial rows as a row of cards: same content, laid out as three
   stacked image-over-text cards side by side instead of alternating
   image/text columns. Opt-in via .editorial-rows--cards on the wrapper
   so the alternating layout used elsewhere (2D Animation) is untouched. ---- */
.editorial-rows--cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.editorial-rows--cards .editorial-row{
  display:flex;flex-direction:column;gap:0;padding:0;border:1px solid var(--line);border-top:1px solid var(--line);
  border-radius:10px;overflow:hidden;background:#fff;align-items:stretch;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.editorial-rows--cards .editorial-row:first-child{padding-top:0}
.editorial-rows--cards .editorial-row:hover{border-color:#b7c6cc;box-shadow:0 16px 34px rgba(18,24,27,.08);transform:translateY(-3px)}
.editorial-rows--cards .editorial-row.reverse .editorial-row-media,
.editorial-rows--cards .editorial-row.reverse .editorial-row-text{order:0}
.editorial-rows--cards .editorial-row-media{aspect-ratio:4/3;border:0;border-bottom:1px solid var(--line)}
.editorial-rows--cards .editorial-row-text{padding:22px 24px 26px}
.editorial-rows--cards .editorial-row-text p{max-width:none}
@media(max-width:850px){
  .editorial-rows--cards{grid-template-columns:1fr}
}

/* ---- Production Insight: a sourced industry stat per service page. The
   reveal button sits in flow directly under the question text — not
   beside it at the top, and not over the stat — so it lands near where a
   reader's eye already is once they finish the question/intro copy.
   Right-aligned, not left: reading left to right ends at the right edge
   of the last line, not back at the left margin where a new line would
   start, so the button sits there instead. Clicking it then reads as
   continuing on, not jumping back to a trigger skipped past. Each
   page's own device — a clapperboard, a VU meter, a render ring — both
   looks and MOVES like that real object; the stat's own reveal motion is
   built to match the same physical action, not a shared effect reskinned
   per page. Chrome (the circular badge, idle pulse) is one system across
   pages; the icon's motion, the text's reveal motion, and whether the
   number counts up at all are each picked per variant to fit its object.
   Driven by the shared JS in main.js purely from markup — no per-page JS.
   Hidden unless JS enhances the page, so with no JS the stat is simply
   visible, as it always was. ---- */
.pi-insight-split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.pi-insight-question{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.pi-insight-question-text{min-width:0}
.pi-insight-question h2{margin-top:12px}
.pi-insight-question p{font-size:15px;line-height:1.7;color:var(--muted);max-width:420px;margin-top:14px}
.pi-insight-answer{margin-top:24px;position:relative}
.pi-insight-num-prefix{font-family:var(--serif);font-weight:700;font-size:clamp(56px,6vw,84px);color:var(--blue-text);letter-spacing:-.02em}
.pi-insight-num{display:inline-block;font-family:var(--serif);font-weight:700;font-size:clamp(56px,6vw,84px);color:var(--blue-text);letter-spacing:-.02em;line-height:1}
.pi-insight-label{margin:18px 0 0;font-size:16px;color:var(--ink);line-height:1.6;max-width:440px}
.pi-insight-source{margin-top:24px;font-size:13px;color:var(--muted)}
.pi-insight-source a{color:var(--blue-text);font-weight:bold}

/* Lighter, unnumbered variant used where the insight is folded into an
   existing review-note section rather than given its own numbered section. */
.pi-insight-fold{margin-top:28px;padding-top:28px;border-top:1px solid var(--line)}
.pi-insight-fold .pi-insight-split{gap:40px}
.pi-insight-fold .eyebrow{margin-bottom:10px}

.pi-insight-answer-blur{pointer-events:none}
.pi-insight-answer-blur[data-state="revealed"]{pointer-events:auto}

/* Each variant's text reveal is built from the same device it's paired
   with, not a single shared blur pulled across every page: an iris wipes
   open in a circle, a render ring sweeps down like a fill, a clapperboard
   cuts instantly, a TV glitches into signal, and so on. Reduced-motion
   (below) overrides every one of these to a plain, instant-enough fade. */

/* -- Iris (ad-films): circular aperture wipe -- */
.pi-fx--iris{transition:clip-path .55s cubic-bezier(.22,.61,.36,1)}
.pi-fx--iris[data-state="hidden"]{clip-path:circle(0% at 42% 38%)}
.pi-fx--iris[data-state="revealed"]{clip-path:circle(150% at 42% 38%)}

/* -- Waveform (corporate video): bars render in left to right, one at a
   time, the way a level meter fills in -- not a smooth wipe, a stepped
   one, so it reads as discrete bars rather than a dissolve. -- */
.pi-fx--waveform{transition:clip-path .6s steps(7,end)}
.pi-fx--waveform[data-state="hidden"]{clip-path:inset(0 100% 0 0)}
.pi-fx--waveform[data-state="revealed"]{clip-path:inset(0 0 0 0)}

/* -- Lightbulb (explainer videos): dims, then switches on -- */
.pi-fx--bulb{transition:opacity .5s ease,filter .5s ease}
.pi-fx--bulb[data-state="hidden"]{opacity:.35;filter:brightness(.55) saturate(.7)}
.pi-fx--bulb[data-state="revealed"]{opacity:1;filter:brightness(1) saturate(1)}

/* -- Clapperboard (live-action): the stat is one slate that claps shut.
   The real content (below) just snaps to visible/invisible, near-instant
   — the actual motion is two decorative duplicate layers, clipped to the
   top and bottom half of the same block, that swing in from above and
   below and land together, exactly like a slate's two halves meeting.
   They're aria-hidden/inert; the real content underneath stays the one
   thing assistive tech and no-JS visitors ever see. -- */
.pi-fx--clapper{transition:opacity .08s linear}
.pi-fx--clapper[data-state="hidden"]{opacity:0}
.pi-fx--clapper[data-state="revealed"]{opacity:1}

.pi-clap-stage{position:relative}
.pi-clap-half{position:absolute;inset:0;pointer-events:none;opacity:0;transition:transform .3s cubic-bezier(.3,1.6,.4,1),opacity .1s linear}
.pi-clap-half--top{clip-path:inset(0 0 50% 0);transform-origin:top center}
.pi-clap-half--bottom{clip-path:inset(50% 0 0 0);transform-origin:bottom center}
.pi-insight-answer-blur.pi-fx--clapper[data-state="hidden"] ~ .pi-clap-half--top{transform:translateY(-46px)}
.pi-insight-answer-blur.pi-fx--clapper[data-state="hidden"] ~ .pi-clap-half--bottom{transform:translateY(46px)}
.pi-insight-answer-blur.pi-fx--clapper[data-state="revealed"] ~ .pi-clap-half{opacity:1;transform:translateY(0)}
.cp-reduced-motion ~ .pi-clap-half{display:none}

/* -- Flipbook (2D animation): the page turns over to reveal it -- */
.pi-fx--flipbook{transition:transform .5s cubic-bezier(.22,.61,.36,1),opacity .3s ease;transform-origin:left center;perspective:700px}
.pi-fx--flipbook[data-state="hidden"]{transform:rotateY(-38deg);opacity:.4}
.pi-fx--flipbook[data-state="revealed"]{transform:rotateY(0deg);opacity:1}

/* -- Render ring (AI video): sweeps in top to bottom, like a render fill -- */
.pi-fx--render{transition:clip-path .6s cubic-bezier(.22,.61,.36,1)}
.pi-fx--render[data-state="hidden"]{clip-path:inset(100% 0 0 0)}
.pi-fx--render[data-state="revealed"]{clip-path:inset(0 0 0 0)}

/* -- Countdown (film marketing): pops to size as the clock hits zero -- */
/* (countdown text-reveal rule now lives further down, next to its hand) */

/* -- Scrubber (OTT distribution): the playhead passes over it left to
   right and the text appears as the playhead clears it -- a progressive
   wipe synced to the dot crossing, not a slide-in. -- */
.pi-fx--scrubber{transition:clip-path .5s cubic-bezier(.22,.61,.36,1)}
.pi-fx--scrubber[data-state="hidden"]{clip-path:inset(0 100% 0 0)}
.pi-fx--scrubber[data-state="revealed"]{clip-path:inset(0 0 0 0)}

/* -- TV tuning (TV commercial release): static settles into signal -- */
@keyframes piTvSettle{
  0%{opacity:.15;transform:translateX(-3px)}
  25%{opacity:.55;transform:translateX(3px)}
  45%{opacity:.3;transform:translateX(-1px)}
  65%{opacity:.85;transform:translateX(1px)}
  85%{opacity:.6;transform:translateX(0)}
  100%{opacity:1;transform:translateX(0)}
}
.pi-fx--tv[data-state="hidden"]{opacity:.2}
.pi-fx--tv[data-state="revealed"]{animation:piTvSettle .55s steps(2,end) forwards}

/* -- VU meter (music/album): levels rise from the baseline -- */
.pi-fx--vu{transition:clip-path .55s cubic-bezier(.3,1.5,.4,1)}
.pi-fx--vu[data-state="hidden"]{clip-path:inset(0 0 100% 0)}
.pi-fx--vu[data-state="revealed"]{clip-path:inset(0 0 0% 0)}

/* -- Stamp (production services India): presses down and lands -- */
.pi-fx--stamp{transition:transform .22s cubic-bezier(.3,1.7,.4,1),opacity .14s linear}
.pi-fx--stamp[data-state="hidden"]{opacity:0;transform:scale(1.08) rotate(-6deg)}
.pi-fx--stamp[data-state="revealed"]{opacity:1;transform:scale(1) rotate(0deg)}

/* Reduced motion: every variant above collapses to the same plain,
   near-instant fade, regardless of its metaphor. */
.pi-insight-answer-blur.cp-reduced-motion{transition:opacity .2s linear !important;clip-path:none !important;transform:none !important;filter:none !important;animation:none !important}
.pi-insight-answer-blur.cp-reduced-motion[data-state="hidden"]{opacity:.6}
.pi-insight-answer-blur.cp-reduced-motion[data-state="revealed"]{opacity:1}

.pi-reveal-btn{display:none}
.pi-reveal-btn.is-enhanced{
  display:flex;flex-direction:column;align-items:center;gap:8px;flex:none;
  align-self:flex-end;
  background:none;border:none;padding:0;cursor:pointer;
  color:var(--blue-text);font:bold 8.5px var(--sans);letter-spacing:.05em;text-transform:uppercase;
  transition:opacity .35s ease;
}
/* The blue label text is tuned for light surfaces (5.1:1+ on white/paper)
   and all but disappears on the charcoal sections — the curtain button
   is the first reveal trigger to sit on one, so give dark backgrounds
   their own accessible label colour. */
.bg-charcoal .pi-reveal-btn.is-enhanced,.bg-charcoal-alt .pi-reveal-btn.is-enhanced{color:#fff}
.pi-reveal-device{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:60px;height:60px;border-radius:50%;
  background:radial-gradient(circle at 34% 28%,#74c8e2 0%,#269cc2 22%,#167e9f 55%,#0b4a5e 85%,#072f3a 100%);
  box-shadow:inset -3px -4px 7px rgba(0,0,0,.35),inset 2px 2px 5px rgba(255,255,255,.3),0 10px 26px rgba(10,40,50,.35);
  color:rgba(255,255,255,.92);transition:transform .2s ease,filter .3s ease;
}
.pi-reveal-device svg{width:58%;height:58%;overflow:visible}
.pi-reveal-btn:hover .pi-reveal-device{transform:scale(1.045)}
.pi-reveal-btn:focus-visible{outline:2px solid var(--blue-text);outline-offset:6px;border-radius:50%}

@keyframes piDevicePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
.pi-reveal-btn.is-enhanced[aria-expanded="false"] .pi-reveal-device{animation:piDevicePulse 2.4s ease-in-out infinite}
.pi-reveal-btn.is-enhanced[aria-expanded="true"] .pi-reveal-device{filter:brightness(.85) saturate(.85)}
.pi-reveal-btn.is-enhanced[aria-expanded="true"]{opacity:.7}
.pi-reveal-btn.is-enhanced[aria-expanded="true"]:hover{opacity:1}
@media(prefers-reduced-motion:reduce){
  .pi-reveal-btn.is-enhanced[aria-expanded="false"] .pi-reveal-device{animation:none}
}
@media(max-width:800px){
  .pi-reveal-device{width:48px;height:48px}
}

/* -- Iris (ad-films): aperture blade opens -- */
.pi-iris-blade{fill:currentColor;transform-box:fill-box;transform-origin:center;transform:scale(.4);transition:transform .45s cubic-bezier(.22,.61,.36,1)}
.pi-reveal-btn--iris[aria-expanded="true"] .pi-iris-blade{transform:scale(1)}

/* -- Waveform (corporate video): level bars rise -- */
.pi-wave-bar{transform-box:fill-box;transform-origin:bottom;transform:scaleY(.22);transition:transform .35s ease;transition-delay:var(--d,0s)}
.pi-reveal-btn--waveform[aria-expanded="true"] .pi-wave-bar{transform:scaleY(1)}

/* -- Lightbulb (explainer videos): idea switches on -- */
.pi-bulb-body{transition:fill-opacity .35s ease}
.pi-reveal-btn--bulb[aria-expanded="true"] .pi-bulb-body{fill:currentColor;fill-opacity:.9}
.pi-bulb-rays{transition:opacity .35s ease}
.pi-reveal-btn--bulb[aria-expanded="true"] .pi-bulb-rays{opacity:1}

/* -- Clapperboard (live-action): slate claps shut -- */
.pi-clap-top{transform-box:fill-box;transform-origin:left center;transform:rotate(-16deg);transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
.pi-reveal-btn--clapper[aria-expanded="true"] .pi-clap-top{transform:rotate(0deg)}

/* -- Flipbook (2D animation): page corner flips over -- */
.pi-flip-page{transform-box:fill-box;transform-origin:center;transform:scaleX(1);transition:transform .4s cubic-bezier(.22,.61,.36,1)}
.pi-reveal-btn--flipbook[aria-expanded="true"] .pi-flip-page{transform:scaleX(-1)}

/* -- Render ring (AI video): progress ring fills -- */
.pi-render-ring{transition:stroke-dashoffset .6s cubic-bezier(.22,.61,.36,1)}
.pi-reveal-btn--render[aria-expanded="true"] .pi-render-ring{stroke-dashoffset:0}

/* -- Countdown (film marketing): clock hand sweeps a full circle, and the
   number flips over like the hinged leaf of a split-flap countdown clock
   as the hand completes its sweep -- not a zoom, a hinge-flip. -- */
.pi-countdown-hand{transform-box:fill-box;transform-origin:center;transform:rotate(0deg);transition:transform .7s cubic-bezier(.3,.9,.4,1)}
.pi-reveal-btn--countdown[aria-expanded="true"] .pi-countdown-hand{transform:rotate(360deg)}

.pi-fx--countdown{transition:transform .5s cubic-bezier(.3,.9,.4,1),opacity .3s ease;transform-origin:center bottom;perspective:600px}
.pi-fx--countdown[data-state="hidden"]{transform:rotateX(-90deg);opacity:0}
.pi-fx--countdown[data-state="revealed"]{transform:rotateX(0deg);opacity:1}

/* -- Scrubber (OTT distribution): playhead slides across -- */
.pi-scrub-fill{transform-box:fill-box;transform-origin:left center;transform:scaleX(0);transition:transform .5s cubic-bezier(.22,.61,.36,1)}
.pi-scrub-dot{transform-box:fill-box;transform-origin:left center;transform:translateX(0);transition:transform .5s cubic-bezier(.22,.61,.36,1)}
.pi-reveal-btn--scrubber[aria-expanded="true"] .pi-scrub-fill{transform:scaleX(1)}
.pi-reveal-btn--scrubber[aria-expanded="true"] .pi-scrub-dot{transform:translateX(22px)}

/* -- TV tuning (TV commercial release): static resolves into a clean signal -- */
.pi-tv-lines line{stroke-dasharray:2 3;opacity:.5;transition:stroke-dasharray .4s ease,opacity .4s ease}
.pi-reveal-btn--tv[aria-expanded="true"] .pi-tv-lines line{stroke-dasharray:0 0;opacity:1}

/* -- VU meter (music/album): needle swings into the red -- */
.pi-vu-needle{transform-box:fill-box;transform-origin:bottom center;transform:rotate(-50deg);transition:transform .5s cubic-bezier(.3,1.5,.4,1)}
.pi-reveal-btn--vu[aria-expanded="true"] .pi-vu-needle{transform:rotate(45deg)}

/* -- Stamp (production services India): approval stamp lands -- */
.pi-stamp-mark{transform-box:fill-box;transform-origin:center;transform:scale(1.3) rotate(-8deg);opacity:.5;transition:transform .3s cubic-bezier(.3,1.6,.4,1),opacity .3s ease}
.pi-stamp-mark path{transition:stroke-dashoffset .35s ease .15s}
.pi-reveal-btn--stamp[aria-expanded="true"] .pi-stamp-mark{transform:scale(1) rotate(0deg);opacity:1}
.pi-reveal-btn--stamp[aria-expanded="true"] .pi-stamp-mark path{stroke-dashoffset:0}

/* ====================================================================
   Digital Marketing insight stats: eight more variants, one per DM
   service page, each paired with a device from that discipline's own
   world (a lens, a bid gauge, a cart) rather than reusing a creative
   one. Same shared markup/JS as the production-insight set above. ---- */

/* -- Lens (SEO & AI search): zooms from a distance into sharp focus,
   then catches a glint once the result is in view -- */
.pi-fx--lens{transition:transform .5s cubic-bezier(.22,.61,.36,1),opacity .4s ease}
.pi-fx--lens[data-state="hidden"]{transform:scale(.6) rotate(-3deg);opacity:.35}
.pi-fx--lens[data-state="revealed"]{transform:scale(1) rotate(0deg);opacity:1}
.pi-lens-glint{transition:opacity .3s ease .25s}
.pi-reveal-btn--lens[aria-expanded="true"] .pi-lens-glint{opacity:1}

/* -- Bid gauge (PPC): the needle swings up as the auction is won -- */
.pi-fx--gauge{transition:clip-path .5s cubic-bezier(.22,.61,.36,1)}
.pi-fx--gauge[data-state="hidden"]{clip-path:inset(0 0 100% 0)}
.pi-fx--gauge[data-state="revealed"]{clip-path:inset(0 0 0% 0)}
.pi-gauge-needle{transform-box:fill-box;transform-origin:bottom center;transform:rotate(-50deg);transition:transform .5s cubic-bezier(.3,1.5,.4,1)}
.pi-reveal-btn--gauge[aria-expanded="true"] .pi-gauge-needle{transform:rotate(50deg)}

/* -- Heart (social media): a like lands and the heart fills solid -- */
.pi-fx--heart{transition:opacity .3s ease,transform .3s cubic-bezier(.3,1.6,.4,1)}
.pi-fx--heart[data-state="hidden"]{opacity:.4;transform:scale(.97)}
.pi-fx--heart[data-state="revealed"]{opacity:1;transform:scale(1)}
.pi-heart-shape{transform-box:fill-box;transform-origin:center;transition:fill-opacity .3s ease,transform .3s cubic-bezier(.3,1.7,.4,1)}
.pi-reveal-btn--heart[aria-expanded="true"] .pi-heart-shape{fill:currentColor;fill-opacity:1;transform:scale(1.1)}

/* -- Funnel (qualified leads): the field narrows down to the one that
   qualifies, which drops through -- */
.pi-fx--funnel{transition:clip-path .55s cubic-bezier(.22,.61,.36,1)}
.pi-fx--funnel[data-state="hidden"]{clip-path:polygon(50% 0,50% 0,50% 0,50% 0)}
.pi-fx--funnel[data-state="revealed"]{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}
@keyframes piFunnelDrop{0%{opacity:0;transform:translateY(0)}30%{opacity:1}100%{opacity:0;transform:translateY(11px)}}
.pi-funnel-drop{opacity:0}
.pi-reveal-btn--funnel[aria-expanded="true"] .pi-funnel-drop{animation:piFunnelDrop .6s ease forwards}

/* -- Load bar (web development): the page finishes loading -- */
.pi-fx--loadbar{transition:clip-path .5s cubic-bezier(.22,.61,.36,1)}
.pi-fx--loadbar[data-state="hidden"]{clip-path:inset(0 100% 0 0)}
.pi-fx--loadbar[data-state="revealed"]{clip-path:inset(0 0 0 0)}
.pi-loadbar-fill{transition:width .5s cubic-bezier(.22,.61,.36,1)}
.pi-reveal-btn--loadbar[aria-expanded="true"] .pi-loadbar-fill{width:18px}

/* -- Cart (e-commerce): tips from a hurried, half-abandoned angle to
   sitting upright, the way it looks once checkout actually completes -- */
.pi-fx--cart{transition:opacity .3s ease,transform .35s cubic-bezier(.3,1.5,.4,1)}
.pi-fx--cart[data-state="hidden"]{opacity:.45;transform:translateX(-6px)}
.pi-fx--cart[data-state="revealed"]{opacity:1;transform:translateX(0)}
.pi-cart-body{transform-box:fill-box;transform-origin:bottom center;transform:rotate(-14deg) translateX(-1px);transition:transform .4s cubic-bezier(.3,1.6,.4,1)}
.pi-reveal-btn--cart[aria-expanded="true"] .pi-cart-body{transform:rotate(0deg) translateX(0)}

/* -- Search bar (Amazon advertising): the query resolves and the match
   is confirmed, rather than just appearing -- */
.pi-fx--searchbar{transition:clip-path .5s cubic-bezier(.22,.61,.36,1)}
.pi-fx--searchbar[data-state="hidden"]{clip-path:inset(0 100% 0 0)}
.pi-fx--searchbar[data-state="revealed"]{clip-path:inset(0 0 0 0)}
.pi-search-check{transition:stroke-dashoffset .35s ease .15s}
.pi-reveal-btn--searchbar[aria-expanded="true"] .pi-search-check{stroke-dashoffset:0}

/* -- Puzzle (managed services): two separate pieces slide together and
   overlap, the way scattered channels come under one plan -- */
.pi-fx--puzzle{transition:opacity .35s ease,transform .4s cubic-bezier(.3,1.5,.4,1)}
.pi-fx--puzzle[data-state="hidden"]{opacity:.4;transform:scale(.96)}
.pi-fx--puzzle[data-state="revealed"]{opacity:1;transform:scale(1)}
.pi-puzzle-piece{transform-box:fill-box;transform-origin:center;transform:translate(5px,-5px);opacity:.55;transition:transform .4s cubic-bezier(.3,1.6,.4,1),opacity .3s ease}
.pi-reveal-btn--puzzle[aria-expanded="true"] .pi-puzzle-piece{transform:translate(0,0);opacity:1}

@media(max-width:800px){
  .pi-insight-split{grid-template-columns:1fr;gap:28px}
}

/* ====================================================================
   Curtain reveal (homepage "By the Numbers"): one trigger opens all
   four stats at once, rather than four separate reveal buttons — the
   agency's own numbers are one story, not four unrelated facts, so a
   single "raise the curtain" moment suits it better than repeating the
   per-stat reveal pattern four times. Same progressive-enhancement
   contract as the rest of the system: with no JS, data-state is never
   set, so the curtain panels sit off-stage and the numbers are plain,
   fully visible text. Only once main.js runs does it close the
   curtain and wait for a click. ---- */
.curtain-trigger-wrap{display:flex;justify-content:center;margin:14px 0 0}

.pi-reveal-btn--curtain .pi-rope-line{transition:transform .3s cubic-bezier(.3,1.6,.4,1);transform-origin:top center}
.pi-reveal-btn--curtain .pi-rope-tassel{transform-box:fill-box;transform-origin:center;transition:transform .3s cubic-bezier(.3,1.6,.4,1)}
.pi-reveal-btn--curtain[aria-expanded="true"] .pi-rope-line{transform:scaleY(1.16)}
.pi-reveal-btn--curtain[aria-expanded="true"] .pi-rope-tassel{transform:translateY(4px)}

.stage-curtain{position:relative;margin-top:16px;min-height:190px;overflow:hidden;background:#0d1113;border:1px solid var(--on-dark-line)}
.stage-curtain-panel{
  position:absolute;top:0;bottom:0;width:50%;z-index:2;
  background:repeating-linear-gradient(90deg,#171d20 0 16px,#1d2427 16px 32px);
  box-shadow:inset 0 0 70px rgba(0,0,0,.55);
  transition:transform .8s cubic-bezier(.65,0,.35,1);
}
.stage-curtain-panel--left{left:0;transform:translateX(-100%);border-right:1px solid rgba(154,212,228,.25)}
.stage-curtain-panel--right{right:0;transform:translateX(100%);border-left:1px solid rgba(154,212,228,.25)}
.stage-curtain[data-state="hidden"] .stage-curtain-panel--left{transform:translateX(0)}
.stage-curtain[data-state="hidden"] .stage-curtain-panel--right{transform:translateX(0)}

.stage-curtain-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--on-dark-line)}
.stage-stat{
  background:#12181b;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:30px 18px;min-height:190px;
  opacity:1;transform:none;
}
.stage-curtain[data-state="hidden"] .stage-stat{opacity:.15;transform:translateY(10px) scale(.96)}
.stage-curtain[data-state="revealed"] .stage-stat{
  opacity:1;transform:translateY(0) scale(1);
  transition:opacity .5s ease,transform .5s cubic-bezier(.22,.61,.36,1);
  transition-delay:calc(.45s + var(--d,0) * 110ms);
}
.stage-stat-num{display:block;font-family:var(--serif);font-weight:700;font-size:clamp(32px,3.6vw,46px);color:#9ad4e4;letter-spacing:-.02em;line-height:1}
.stage-stat-label{margin-top:12px;font-size:13px;color:var(--on-dark-muted);line-height:1.5;max-width:165px}

.stage-curtain.cp-reduced-motion .stage-curtain-panel,
.stage-curtain.cp-reduced-motion .stage-stat{transition:opacity .2s linear !important;transform:none !important}
.stage-curtain.cp-reduced-motion[data-state="hidden"] .stage-curtain-panel{transform:none !important;opacity:1}
.stage-curtain.cp-reduced-motion[data-state="revealed"] .stage-curtain-panel{opacity:0}
.stage-curtain.cp-reduced-motion[data-state="hidden"] .stage-stat{opacity:.15}
.stage-curtain.cp-reduced-motion[data-state="revealed"] .stage-stat{opacity:1}

@media(max-width:800px){
  .stage-curtain-stats{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .stage-curtain-stats{grid-template-columns:1fr}
  .stage-stat{min-height:170px;padding:28px 18px}
}

/* ---- Client marquee (homepage "Start a conversation"): a continuous
   CSS-only scroll of client names, paired with a heading that frames
   them as relationships rather than a logo wall. Pure CSS so it never
   depends on JS, and it never truly hides anything — the track is a
   doubled list scrolling through a fixed viewport, not content that
   appears/disappears. Pauses on hover/focus so a name can be read. ---- */
#contact .split{align-items:center}
.client-marquee-block{display:flex;flex-direction:column;justify-content:center;min-width:0}
.client-marquee-heading{font-family:var(--serif);font-weight:400;font-size:clamp(19px,1.9vw,23px);line-height:1.3;color:#fff;margin:0 0 22px}
.client-marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.client-marquee-track{display:flex;align-items:center;gap:52px;width:max-content;animation:clientMarquee 20s linear infinite}
.client-marquee:hover .client-marquee-track,.client-marquee:focus-within .client-marquee-track{animation-play-state:paused}
.client-wordmark{font-family:var(--serif);font-size:21px;font-weight:400;color:var(--on-dark-muted);white-space:nowrap;opacity:.8;transition:opacity .2s ease,color .2s ease}
.client-wordmark:hover{opacity:1;color:#fff}
.client-marquee-caption{margin:16px 0 0;font-size:11.5px;color:rgba(203,209,212,.65)}
@keyframes clientMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
  .client-marquee-track{animation:none;flex-wrap:wrap;width:auto}
  .client-marquee-track [aria-hidden="true"]{display:none}
}
@media(max-width:850px){
  .client-marquee-block{margin-top:8px}
}

/* ---- Section break: a single full-width image used as a visual pause
   between two content sections, not paired with text. Wide aspect ratio,
   object-fit:cover, an optional short caption below. ---- */
.section-break{margin:0}
.section-break-media{width:100%;aspect-ratio:21/9;overflow:hidden;border:1px solid var(--line)}
.section-break-media img{display:block;width:100%;height:100%;object-fit:cover}
.section-break-caption{margin-top:14px;font-size:14px;line-height:1.6;color:var(--muted);max-width:560px}
@media(max-width:700px){.section-break-media{aspect-ratio:4/3}}

/* ---- Diagram grid: two uncropped reference images side by side with a caption ---- */
.diagram-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:32px}
.diagram-card{border:1px solid var(--line)}
.diagram-card img{display:block;width:100%;height:auto}
.diagram-card figcaption{padding:16px 20px 20px;font-size:14px;line-height:1.7;color:var(--muted)}
@media(max-width:800px){.diagram-grid{grid-template-columns:1fr}}

/* ---- Asymmetric feature grid: one large card + two stacked smaller ones ---- */
.asym-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:26px;margin-top:32px}
.asym-grid-stack{display:flex;flex-direction:column;gap:26px}
.asym-card{border:1px solid var(--line);display:flex;flex-direction:column}
.asym-card-media{aspect-ratio:16/10;position:relative;overflow:hidden}
.asym-card.large .asym-card-media{aspect-ratio:16/11}
.asym-card-body{padding:22px 24px}
.asym-card-body .num{font-size:10px;letter-spacing:.14em;color:var(--blue-text)}
.asym-card-body h3{font-family:var(--serif);font-size:23px;font-weight:400;margin:10px 0 8px;letter-spacing:-.015em}
.asym-card.large .asym-card-body h3{font-size:28px}
.asym-card-body p{font-size:13px;color:var(--muted);line-height:1.6;margin:0}
.bg-charcoal .asym-card,.bg-charcoal-alt .asym-card{border-color:var(--on-dark-line)}
.bg-charcoal .asym-card-body h3,.bg-charcoal-alt .asym-card-body h3{color:#fff}
.bg-charcoal .asym-card-body p,.bg-charcoal-alt .asym-card-body p{color:var(--on-dark-muted)}
.bg-charcoal .asym-card-body .num,.bg-charcoal-alt .asym-card-body .num{color:#9ad4e4} /* 7.1:1 on charcoal — var(--blue-text) is tuned for light backgrounds only */

/* ---- Staggered 3-card grid (brighter, more playful rhythm than asym-grid) ---- */
.stagger-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:34px}
.stagger-card{border:1px solid var(--line);display:flex;flex-direction:column}
.stagger-card:nth-child(2){margin-top:34px}
.stagger-card:nth-child(3){margin-top:-8px}
.stagger-card-media{aspect-ratio:4/3;position:relative;overflow:hidden}
.stagger-card-body{padding:20px 22px}
.stagger-card-body .num{font-size:10px;letter-spacing:.14em;color:var(--blue-text)}
.stagger-card-body h3{font-family:var(--serif);font-size:21px;font-weight:400;margin:10px 0 6px;letter-spacing:-.015em}
.stagger-card-body p{font-size:13px;color:var(--muted);line-height:1.6;margin:0}

/* ---- Horizontal timeline with connecting line + alternating stills ---- */
.timeline-row{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:50px;padding-top:32px}
.timeline-row::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:var(--line)}
.timeline-row .tl-step{position:relative}
.timeline-row .tl-step::before{content:'';position:absolute;top:-33px;left:0;width:9px;height:9px;border-radius:50%;background:var(--blue-text)}
.timeline-row .tl-media{aspect-ratio:4/3;position:relative;overflow:hidden;border:1px solid var(--line);margin-bottom:16px}
.timeline-row .tl-step:nth-child(2n) .tl-media{margin-top:30px}
.timeline-row .num{font-size:11px;color:var(--blue-text);font-weight:700;letter-spacing:2px}
.timeline-row h3{font-family:var(--serif);font-size:20px;font-weight:400;margin:10px 0 6px}
.timeline-row p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.bg-charcoal .timeline-row::before,.bg-charcoal-alt .timeline-row::before{background:var(--on-dark-line)}
.bg-charcoal .timeline-row h3,.bg-charcoal-alt .timeline-row h3{color:#fff}
.bg-charcoal .timeline-row p,.bg-charcoal-alt .timeline-row p{color:var(--on-dark-muted)}

/* ---- Full-bleed image CTA band (distinct from the flat close-cta band) ---- */
.img-cta{position:relative;min-height:380px;display:flex;align-items:center;overflow:hidden}
.img-cta .placeholder-media{position:absolute;inset:0}
.img-cta::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(14,18,20,.92) 0%,rgba(14,18,20,.6) 55%,rgba(14,18,20,.3) 100%)}
.img-cta .wrap{position:relative;z-index:2;display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center;padding:64px 0}
.img-cta h2{font-family:var(--serif);font-weight:400;letter-spacing:-.03em;font-size:clamp(32px,4vw,50px);line-height:1.12;margin:0;color:#fff;max-width:560px}
.img-cta .blue-period{color:#5fc2db}
.img-cta-side p{font-size:14px;line-height:1.7;color:var(--on-dark-muted);max-width:320px;margin-bottom:20px}

/* ---- CTA with a contained image panel (brighter alternative to img-cta) ---- */
.cta-split{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.cta-split-media{aspect-ratio:4/3;position:relative;overflow:hidden;border:1px solid var(--on-dark-line)}
.cta-split h2{font-family:var(--serif);font-weight:400;letter-spacing:-.03em;font-size:clamp(30px,3.6vw,46px);line-height:1.12;margin:0 0 16px;color:#fff;max-width:420px}
.cta-split .blue-period{color:#5fc2db}
.cta-split-text p{font-size:14px;line-height:1.7;color:var(--on-dark-muted);max-width:360px;margin-bottom:20px}

/* ---- Amazon Ads hero: same full-bleed hero-photo.hero-full pattern as other
   pages, with a stronger overlay since the source graphic is bright/light
   rather than the darker photography used on most hero-full pages.
   min-width-scoped so it doesn't fight the mobile-specific override below. ---- */
@media(min-width:851px){
  /* The ecosystem diagram's ring of logos runs nearly edge-to-edge
     vertically, so the sitewide 570px hero height crops a large band
     off the top and bottom -- reading as "zoomed in" rather than a
     clean full-bleed photo crop. Taller box = less of the ring lost. */
  .hero-photo.hero-full.hero-amazonads{min-height:760px}
  .hero-photo.hero-full.hero-amazonads .hero-photo-media::after{background:linear-gradient(90deg,rgba(8,12,15,.92) 0%,rgba(8,12,15,.85) 35%,rgba(8,12,15,.5) 52%,rgba(8,12,15,.14) 66%,transparent 80%)}
}

/* ---- Single editorial image+text split (one row, not repeated) ---- */
.split-feature{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.split-feature-media{aspect-ratio:5/4;position:relative;overflow:hidden;border:1px solid var(--line)}
.split-feature.reverse .split-feature-media{order:2}
.split-feature.reverse .split-feature-text{order:1}

@media(max-width:850px){
  .hero-dark{min-height:420px}
  .hero-dark .wrap{padding-top:86px;padding-bottom:44px}
  .svc-grid--2,.svc-grid--3,.svc-grid--4{grid-template-columns:1fr}
  .step-row--2,.step-row--3,.step-row--4,.step-row--5{grid-template-columns:1fr 1fr}
  .step-row .step:nth-child(2n){border-right:0}
  .media-grid,.media-grid--3{grid-template-columns:1fr;gap:26px}
  .link-list{grid-template-columns:1fr}
  .close-cta{grid-template-columns:1fr;gap:26px}

  .editorial-row,.editorial-row.reverse{grid-template-columns:1fr;gap:22px}
  .editorial-row.reverse .editorial-row-media{order:0}
  .editorial-row.reverse .editorial-row-text{order:0}
  .asym-grid{grid-template-columns:1fr;gap:20px}
  .stagger-grid{grid-template-columns:1fr;gap:20px}
  .stagger-card:nth-child(2),.stagger-card:nth-child(3){margin-top:0}
  .timeline-row{grid-template-columns:1fr 1fr;row-gap:36px}
  .timeline-row .tl-step:nth-child(2n) .tl-media{margin-top:0}
  .img-cta .wrap{grid-template-columns:1fr;padding:48px 0;gap:24px}
  .cta-split{grid-template-columns:1fr;gap:24px}
  .split-feature,.split-feature.reverse{grid-template-columns:1fr;gap:22px}
  .split-feature.reverse .split-feature-media{order:0}
  .split-feature.reverse .split-feature-text{order:0}
}
@media(max-width:480px){
  .step-row--2,.step-row--3,.step-row--4,.step-row--5{grid-template-columns:1fr}
  .step-row .step{border-right:0;border-bottom:1px solid var(--line);margin-right:0;padding-bottom:18px}
  .timeline-row{grid-template-columns:1fr}
}

/* Existing WordPress project videos: responsive, swipeable portfolio carousel. */
.video-carousel{margin-top:28px;max-width:100%;min-width:0}
.video-carousel__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px)/2.82);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-inline:contain;scrollbar-width:none;padding:0 0 10px}
.video-carousel__track::-webkit-scrollbar{display:none}
.video-card{min-width:0;scroll-snap-align:start}
.video-card__link{display:block;text-decoration:none;color:inherit}
.video-card__visual{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#151b20;border-radius:4px}
.video-card__visual img{display:block;width:100%;height:100%;object-fit:cover}
.video-card__play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:rgba(0,0,0,.72);color:white;font-size:19px;transition:background .2s}
.video-card__link:hover .video-card__play,.video-card__link:focus-visible .video-card__play{background:#177a96}
/* Click-to-embed: video-embed.js swaps the thumbnail/play-button for a real
   YouTube iframe on click instead of navigating away, so the video plays
   in place on the page (see main.js for the swap itself). The <a> and its
   href stay in the markup as a working fallback (middle-click, no-JS,
   screen readers) — this only intercepts a plain left-click. */
.video-card__visual iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-card__close{position:absolute;top:8px;right:8px;z-index:2;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(0,0,0,.72);color:#fff;font-size:15px;line-height:1;cursor:pointer;transition:background .2s}
.video-card__close:hover,.video-card__close:focus-visible{background:#177a96}
.video-card__link.is-playing{cursor:default}
.video-card__link.is-playing:hover .video-card__play,.video-card__link.is-playing:focus-visible .video-card__play{background:rgba(0,0,0,.72)}
.video-card__title{display:block;font-size:19px;font-weight:600;margin-top:14px}
.video-card p{margin:6px 0 0;font-size:14px;line-height:1.6}
.video-carousel__controls{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.video-carousel__arrow{width:42px;height:42px;cursor:pointer;border:1px solid #87949b;border-radius:50%;background:transparent;color:inherit;font:inherit;font-size:22px}
.video-carousel__arrow:disabled{opacity:.3;cursor:default}
.video-carousel__note{margin-top:16px;font-size:13px;opacity:.75}
@media(max-width:900px){.video-carousel__track{grid-auto-columns:calc((100% - 16px)/1.78);gap:16px}}
@media(max-width:600px){.video-carousel__track{grid-auto-columns:86%;gap:14px}.video-card__title{font-size:17px}}
@media(prefers-reduced-motion:reduce){.video-carousel__track{scroll-behavior:auto}}

/* Expand-on-play: once a card's video starts (.video-card__link.is-playing,
   set by main.js), the playing card grows to roughly double width so the
   video itself gets a noticeably bigger stage instead of staying boxed in
   at the thumbnail's original size. aspect-ratio:16/9 on .video-card__visual
   (above) means height follows width automatically — nothing else to resize.
   :has() reaches up from the inner .video-card__link (where the class is
   actually added) to the .video-card grid item (where grid-column lives).

   Carousel only, and only at 900px+ (tablet/desktop): below that the track
   already shows one card at ~86% of the viewport (see the 600px rule above)
   — there's no spare width for "bigger" to mean anything, it would just
   force extra horizontal scrolling to see the rest of the enlarged card, so
   on phones the player simply plays at its normal carousel size. */
@media(min-width:901px){
  .video-carousel__track .video-card:has(.video-card__link.is-playing){grid-column:span 2}
}
.video-card:has(.video-card__link.is-playing) .video-card__visual{box-shadow:0 10px 30px rgba(0,0,0,.35)}

/* One large card per view instead of 3-up — used for the Ad Films "Process"
   steps, where each image has its own baked-in heading/body text that needs
   real size to read. Same scroll-snap/arrow wiring as the video carousels,
   just a wider column so one card (plus a peek of the next) fills the view. */
.video-carousel--single .video-carousel__track{grid-auto-columns:min(560px,86%)}
.process-step-card{scroll-snap-align:center}
.process-step-card picture{display:block;border-radius:8px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.14)}
.process-step-card img{display:block;width:100%;height:auto}

/* A single, non-scrolling trailer card (one video, not a carousel) —
   same .video-card markup/click-to-embed behaviour, just capped in width. */
.video-single{max-width:560px;margin-top:28px}

/* Industry filter (Our Work page) — pill buttons above a filterable grid of
   .video-card items (same click-to-embed markup/behaviour as the carousels
   above, just laid out in a grid instead of a scroll track so cards can be
   shown/hidden in place). */
.industry-filter{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 28px}
.industry-filter__btn{font:600 13px/1 var(--sans);padding:10px 18px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}
.industry-filter__btn:hover{border-color:var(--blue-text)}
.industry-filter__btn.is-active{background:var(--blue-text);border-color:var(--blue-text);color:#fff}
.industry-filter__btn:focus-visible{outline:2px solid var(--blue-text);outline-offset:3px}
.industry-video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px 24px}
.industry-video-grid .video-card[hidden]{display:none}
@media(max-width:1200px){.industry-video-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.industry-video-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:420px){.industry-video-grid{grid-template-columns:1fr}}

/* Expand-on-play for the Industries grid: unlike the carousel above, this is
   an ordinary (non-scrolling) grid, so "span 2" is safe at every breakpoint
   — the browser clamps a span automatically when a row has fewer columns
   than that, so at 2-column (700px) a playing card simply fills the whole
   row (still "a little larger", not broken), and at 1-column (420px) a
   span of 2 is clamped straight back down to 1, i.e. no visible change —
   exactly right, since there's nothing left to grow into on a single
   column. No breakpoint-specific override needed, unlike the carousel. */
.industry-video-grid .video-card:has(.video-card__link.is-playing){grid-column:span 2}

/* Image-led hero review: high-contrast readable text on responsive imagery. */
.hero-light.hero-image-review{position:relative;isolation:isolate;display:flex;align-items:center;min-height:490px;padding:100px 0 72px;background:#18262c;color:#fff;overflow:hidden}
.hero-image-review::before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--review-hero-image);background-position:var(--review-hero-position,center);background-size:cover;background-repeat:no-repeat}
.hero-image-review::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(11,19,24,.94) 0%,rgba(11,19,24,.82) 37%,rgba(11,19,24,.40) 72%,rgba(11,19,24,.22) 100%)}
.hero-image-review .wrap{position:relative;z-index:1}
.hero-image-review h1{color:#fff;max-width:760px;text-wrap:balance;text-shadow:0 1px 3px rgba(0,0,0,.15)}
.hero-image-review h1 em{color:#8bd9ef}
.hero-image-review p{color:#eef4f6}
.hero-image-review .eyebrow{color:#a6e1f1}
.hero-image-review a:not(.btn){color:#fff}
.hero-dark .concept-media img{object-position:var(--review-hero-position,center)}
@media(max-width:700px){.hero-light.hero-image-review{min-height:490px;padding:96px 0 64px}.hero-image-review::before{background-position:var(--review-hero-mobile-position,65% center)}.hero-image-review::after{background:linear-gradient(90deg,rgba(11,19,24,.93),rgba(11,19,24,.78) 65%,rgba(11,19,24,.55))}.hero-image-review h1{font-size:clamp(34px,9vw,48px)}}

/* Shared FAQ accordion (details/summary, no JS) — used on every service page. */
.faq-list{border-top:1px solid var(--line);margin-top:30px;max-width:760px}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;font-family:var(--serif);font-size:19px;color:var(--ink)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.faq-item summary::after{content:'+';font:300 26px/1 var(--sans);color:var(--blue-text);flex-shrink:0;transition:transform .15s ease}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-answer{padding:0 0 24px;max-width:620px}
.faq-answer p{font-size:14px;line-height:1.75;color:var(--muted);margin:0}
.faq-answer a{color:var(--blue-text)}
/* Grouped variant for longer FAQ sets (hub pages): each group is itself collapsible
   (nested details), so the page shows only group labels until one is opened. */
.faq-list.is-grouped{border-top:0}
.faq-group{border-top:1px solid var(--line)}
.faq-group:last-child{border-bottom:1px solid var(--line)}
.faq-group > summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;font:600 13px/1 var(--sans);letter-spacing:.04em;text-transform:uppercase;color:var(--blue-text)}
.faq-group > summary::-webkit-details-marker{display:none}
.faq-group > summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.faq-group > summary::after{content:'+';font:300 26px/1 var(--sans);color:var(--blue-text);flex-shrink:0;transition:transform .15s ease}
.faq-group[open] > summary::after{transform:rotate(45deg)}
.faq-group-body{border-top:1px solid var(--line);padding-bottom:8px}
.faq-group-body .faq-item:last-child{border-bottom:0}
@media(max-width:700px){.faq-item summary{font-size:17px}}

/* "Book a call" invite card — sitewide. Originally built homepage-only
   (assets/css/meeting-popup.css, still loaded there) for a timer/scroll
   trigger; duplicated here (same classes, same --meet-* variables from
   meeting-widget.css, which is already loaded on every page) so the new
   cross-page engagement nudge in main.js can show the identical card on
   ANY page, not just the homepage. Keeping both copies is deliberate, not
   a cleanup debt: the homepage keeps loading its own file unchanged, and
   every other page gets this copy — if the two drift, update both. */
.meet-popup{position:fixed;left:20px;bottom:20px;z-index:950;width:300px;max-width:calc(100vw - 40px);background:#fff;border-radius:var(--meet-radius);box-shadow:var(--meet-shadow);padding:20px 20px 18px;opacity:0;transform:translateY(16px);pointer-events:none;visibility:hidden;transition:opacity .3s ease,transform .3s ease,visibility .3s}
.meet-popup.is-visible{opacity:1;transform:translateY(0);pointer-events:auto;visibility:visible}
.meet-popup-close{position:absolute;top:10px;right:10px;width:24px;height:24px;border:none;background:none;color:var(--meet-muted);font-size:18px;line-height:1;cursor:pointer;border-radius:50%}
.meet-popup-close:hover{background:#F1F3F5;color:var(--meet-ink)}
.meet-popup-icon{width:34px;height:34px;border-radius:9px;background:rgba(38,156,194,.12);display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.meet-popup-icon svg{width:18px;height:18px;fill:var(--meet-blue)}
.meet-popup-title{margin:0 0 6px;font-size:15px;font-weight:600;color:var(--meet-ink)}
.meet-popup-text{margin:0 0 14px;font-size:13px;line-height:1.5;color:var(--meet-muted);padding-right:10px}
.meet-popup-cta{display:inline-flex;align-items:center;justify-content:center;width:100%;border:none;border-radius:8px;background:var(--meet-blue);color:#fff;font-size:14px;font-weight:600;font-family:inherit;padding:11px 14px;cursor:pointer;transition:opacity .15s ease}
.meet-popup-cta:hover{opacity:.9}
@media(max-width:480px){.meet-popup{left:12px;width:calc(100vw - 24px);bottom:12px;padding:18px 16px 16px}}
