/* GMC local film showcase. The established identity and hero stay intact. */
.gmc-showcase{--surface:#061c26}
.gmc-showcase .header #menu-toggle{width:44px;height:44px;padding:10px;background:#043042d9;border:1px solid #ffffff40;border-radius:50%}
.desktop-nav{display:flex;align-items:center;gap:32px;margin-left:auto;margin-right:40px;font-size:13px;text-transform:uppercase;letter-spacing:.06em}
.desktop-nav a,.desktop-nav button{padding:10px 0;text-shadow:0 1px 8px #000}
.desktop-nav button{text-transform:inherit;letter-spacing:inherit}
.desktop-nav a:hover,.desktop-nav button:hover{color:var(--lemon)}
.menu-open .desktop-nav{visibility:hidden}

.gmc-showcase .takeoff-intro{position:relative;isolation:isolate;max-width:1100px;padding:100px 40px 68px}
.gmc-showcase .takeoff-intro::before{content:'';position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;pointer-events:none;background:linear-gradient(#061c26d1,#061c26d1),url('assets/intro-umbro-production.webp') 52% 37%/cover no-repeat}
.gmc-showcase .takeoff-intro>p:not(.eyebrow){max-width:950px;font-size:clamp(22px,2.25vw,34px);line-height:1.4}
.gmc-showcase .takeoff-intro>p:nth-of-type(3){font-size:19px;max-width:680px;color:#fff9;margin-top:28px}
.campaign-work{padding:36px var(--edge) 56px;max-width:1680px;margin:0 auto}
.work-heading{display:block;margin-bottom:24px}
.work-details{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:20px}
.work-preview-controls{flex:none}

.work-heading h2{font-size:clamp(64px,8.8vw,148px);letter-spacing:-.055em;line-height:.93;font-weight:600}
.work-heading h2 em{font-style:normal;color:var(--lemon);white-space:nowrap}
.work-intro{margin:0;font-size:19px;line-height:1.5;font-weight:300;color:#ffffffb3}

#preview-motion-toggle{padding:10px 14px;border:1px solid #ffffff50;border-radius:2px;font-size:12px;letter-spacing:0;min-height:44px}
#preview-motion-toggle:hover{border-color:var(--lemon);color:var(--lemon)}
#preview-motion-toggle:disabled{cursor:default;opacity:.65}
.campaign-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px}
.campaign{min-width:0}
#tecknuovo-project .campaign-media{aspect-ratio:16/9}
#tecknuovo-project .film-index{left:auto;right:clamp(14px,2.2vw,28px)}
.campaign-media{width:100%;padding:0;position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:var(--deep);text-align:left}
.campaign-media>img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.campaign-preview{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none}
.campaign-media.is-preview-playing>.campaign-preview{opacity:1}
.campaign-media.is-preview-playing>img{opacity:0}
.campaign-media:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0004,transparent 35%,transparent 55%,#0008);pointer-events:none}
.campaign-media:hover>img{transform:scale(1.025)}
.campaign-media:focus-visible{outline-offset:7px;outline:3px solid var(--lemon)}
.film-index{position:absolute;z-index:2;left:28px;top:24px;font-size:12px;letter-spacing:.08em;text-shadow:0 1px 8px #000}

.film-duration{position:absolute;z-index:2;right:28px;bottom:36px;font-size:13px;letter-spacing:.06em}

.pending-media{background:var(--lemon);color:var(--deep)}
.pending-media:after{background:none}
.pending-media .film-index{text-shadow:none}
.pending-wordmark{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:clamp(40px,5.3vw,84px);font-weight:700;letter-spacing:-.04em;line-height:1}
.pending-wordmark>span{font-size:.2em;letter-spacing:.25em;margin-top:14px}
.pending-wordmark>img{width:55%;max-width:520px;height:auto}
.pending-status{position:absolute;left:28px;right:28px;bottom:26px;font-size:13px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #04304250;padding-top:14px}
.pending-status>span{font-size:20px}.preview-note{font-size:13px;color:#ffffff9c;margin-top:12px}
.gmc-showcase .takeoff-services{padding:80px 40px;border-top:1px solid #ffffff30;max-width:1600px;margin:auto}
.gmc-showcase .takeoff-services .section-title{color:var(--lemon);font-size:clamp(42px,5vw,72px)}
/* The process photograph becomes an atmospheric layer; copy stays opaque. */
#process{position:relative;isolation:isolate;overflow:hidden;background:#061c26}
#process::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#04304240,#0430421a),url('assets/process-preview.webp') 58% center/cover no-repeat;opacity:.22}
#process .process-layout{display:block}
#process .process-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 32px}
#process .process-list li{min-width:0}
@media(max-width:1000px){#process .process-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#process .process-list{grid-template-columns:1fr;gap:28px}#process::before{background-position:center,62% center}}
#campaign-dialog{width:min(1280px,96vw);background:#061c26}
#campaign-dialog .dialog-header{position:sticky;top:0;z-index:2;background:var(--surface);padding:10px 24px;min-height:64px}
#campaign-dialog .dialog-header h2{font-size:18px;line-height:1.2;margin:0}
#campaign-dialog .dialog-header>button{min-height:44px}
#campaign-film{display:block;width:100%;max-height:calc(90svh - 130px);background:#000;object-fit:contain}
#campaign-note,#campaign-error{padding:16px 24px;font-size:14px;color:#ffffffb3;margin:0}
#campaign-error>a{color:var(--lemon);text-decoration:underline;text-underline-offset:3px}
@media(min-width:801px){.work-heading h2{white-space:nowrap}}
@media(max-width:800px){
  .desktop-nav{display:none}
  .gmc-showcase .takeoff-intro{padding:60px 24px 36px}
  .gmc-showcase .takeoff-intro>p:not(.eyebrow){font-size:23px}
  .gmc-showcase .takeoff-intro>p:nth-of-type(3){font-size:17px}
  .campaign-work{padding:28px 24px 40px}.work-heading{margin-bottom:20px}
  .work-details{display:block;margin-top:18px}.work-preview-controls{margin-top:12px}
  .work-heading h2{font-size:clamp(64px,13vw,102px)}
  .work-intro{font-size:17px}.campaign-grid{grid-template-columns:1fr;gap:16px}

  #preview-motion-toggle{font-size:11px;padding:10px}
  .film-index{left:18px;top:16px;font-size:10px}
  .film-duration{right:18px;bottom:29px;font-size:11px}
  
  .pending-wordmark{font-size:65px}.pending-status{left:18px;right:18px;bottom:16px;font-size:12px;padding-top:10px}
  .gmc-showcase .takeoff-services{padding:48px 24px}
  #campaign-dialog .dialog-header{padding:16px}#campaign-dialog .dialog-header h2{font-size:16px}
}
@media(max-width:380px){
  .campaign-work{padding-left:18px;padding-right:18px}.work-heading h2{font-size:60px}
  
  .film-index{top:12px;left:14px}
  .film-duration{bottom:25px;right:14px}.pending-wordmark{font-size:58px}
}
@media(prefers-reduced-motion:reduce){.campaign-media>img{transition:none}.campaign-media:hover>img{transform:none}}

/* The original client marks move below the film at a constant linear pace. */
.client-carousel{padding:20px 0;background:#043042;border-bottom:1px solid #ffffff25}

.client-viewport{overflow:hidden;outline-offset:-3px}
.client-track{display:flex;width:max-content;animation:client-travel var(--brand-duration,90s) linear infinite;will-change:transform}
.client-set{display:flex;align-items:center;flex:none;gap:64px;list-style:none;margin:0;padding:0 32px}
.client-set li{width:var(--logo-width,180px);min-height:80px;display:grid;place-items:center;flex:none}
.client-set img{width:100%;max-width:100%;height:var(--logo-height,64px);object-fit:contain;filter:brightness(0) invert(1)}

[data-motion="paused"] .client-track{animation-play-state:paused}
@keyframes client-travel{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

#impact blockquote>p,.dg-quote .quote-text{font-style:italic}
#testimonials{position:relative;isolation:isolate;overflow:hidden;background:#061c26}
.quote-atmosphere{position:absolute;inset:0;z-index:-1;pointer-events:none}
.quote-atmosphere video{width:100%;height:100%;object-fit:cover;opacity:.28;filter:grayscale(1)}
.quote-atmosphere:after{content:'';position:absolute;inset:0;background:linear-gradient(115deg,#04304299,#061c2673 55%,#375d7740)}
#testimonials .quote-top{align-items:center}
#testimonials .quote-top .eyebrow{margin:0}
#quote-count{font-size:12px;color:#ffffffb3}
.quote-stage{display:grid;max-width:1080px;margin:44px auto 0}
#testimonials .client-quote{grid-area:1/1;margin:0;opacity:0;visibility:hidden;pointer-events:none;min-width:0}
#testimonials .client-quote.is-active{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .5s ease}
#testimonials .quote-text{font-size:clamp(25px,2.5vw,38px);font-weight:300;line-height:1.45}
#testimonials .quote-person{margin-top:28px;font-size:17px}
#testimonials .quote-person span{font-size:14px;margin-top:5px;color:#ffffffbd}
#testimonials .client-quote:focus-visible{outline:2px solid var(--lemon);outline-offset:14px}
#testimonials.is-static .quote-stage{display:block}
#testimonials.is-static .client-quote{margin-bottom:42px}
#testimonials.is-static .client-quote:last-child{margin-bottom:0}
@media(max-width:800px){
  .client-carousel{padding:16px 0}

  .client-set{gap:40px;padding-inline:20px}
  .client-set li{width:var(--logo-width-mobile,150px);min-height:64px}
  .client-set img{height:var(--logo-height-mobile,52px)}
  
  #testimonials .quote-top{display:flex;gap:16px}
  #testimonials .quote-text{font-size:25px}
  .quote-stage{margin-top:30px}
}
@media(max-width:380px){#testimonials .quote-text{font-size:23px}}
@media(prefers-reduced-motion:reduce){
  .client-track{animation:none;transform:none;width:100%;will-change:auto}
  .client-set{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:24px;padding:0 var(--edge)}
  .client-set li{width:auto}
  .client-set[aria-hidden="true"]{display:none}
  .client-viewport{overflow:visible}
}

/* Shared rhythm for equivalent relationships; hero and media proportions stay intact. */
.gmc-showcase{--section-space:48px;--content-space:24px;--copy-space:16px;--caption-space:16px;--card-row-space:32px}
.gmc-showcase .takeoff-intro,.gmc-showcase .campaign-work,.gmc-showcase .takeoff-services,.gmc-showcase .story-section{padding-top:var(--section-space);padding-bottom:var(--section-space)}
.gmc-showcase .takeoff-intro>.eyebrow{margin:0 0 var(--copy-space)}
.gmc-showcase .takeoff-intro>p:not(.eyebrow){margin:0 auto var(--copy-space)}
.gmc-showcase .takeoff-intro>p:nth-of-type(3){margin-top:0;margin-bottom:var(--content-space)}
.gmc-showcase .takeoff-intro .text-link{margin-top:0}
.gmc-showcase .work-heading{margin-bottom:var(--content-space)}
.gmc-showcase .work-details{margin-top:var(--copy-space)}
.gmc-showcase .service-carousel{margin:var(--content-space) auto var(--copy-space)}
.gmc-showcase #service-track{min-height:112px}
.gmc-showcase .story-heading{display:flex;flex-direction:column;gap:var(--copy-space);margin-bottom:var(--content-space)}
.gmc-showcase .story-heading>h2,.gmc-showcase .story-heading>p{margin:0}
.gmc-showcase #process{margin-top:0}
.gmc-showcase #process .process-list{row-gap:var(--content-space)}
.gmc-showcase .case-study{gap:var(--content-space) var(--section-space)}
.gmc-showcase .case-copy h2{margin:var(--copy-space) 0}
.gmc-showcase .case-copy>img{margin-top:var(--content-space)}
.gmc-showcase .case-study blockquote footer,.gmc-showcase #testimonials .quote-person{margin-top:var(--copy-space)}
.gmc-showcase .quote-stage{margin-top:var(--content-space)}
.gmc-showcase .team-grid{row-gap:var(--card-row-space)}
.gmc-showcase .team-caption{padding-top:var(--caption-space)}
.gmc-showcase .footer{margin-top:0;padding-top:var(--section-space)}
@media(max-width:800px){.gmc-showcase{--section-space:32px;--content-space:20px;--copy-space:12px;--caption-space:12px;--card-row-space:24px}.gmc-showcase #service-track{min-height:90px}}

/* Fixed line masks reveal the tagline without moving its lettering. */
.hero-tagline{line-height:1.05}
.hero-tagline>.hero-reveal-line{overflow:visible;padding:.06em 0}
.hero-tagline>.hero-reveal-line+span{margin-top:-.08em}
.hero-reveal-line>span{display:block;animation:hero-masked-reveal .95s cubic-bezier(.2,.65,.3,1) both;animation-delay:120ms;animation-play-state:paused}
.hero-reveal-line+span>span{animation-delay:620ms}
.hero-tagline[data-reveal="playing"] .hero-reveal-line>span{animation-play-state:running}
@keyframes hero-masked-reveal{from{opacity:0;transform:scale(.98);filter:blur(3px)}to{opacity:1;transform:none;filter:none}}
@media(prefers-reduced-motion:reduce){.hero-reveal-line>span{animation:none!important;opacity:1!important;clip-path:none!important}}

/* Decorative, static client wallpaper is confined to the team section. */
.gmc-showcase #team{position:relative;isolation:isolate}
.gmc-showcase #team::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;z-index:-1;pointer-events:none;background:url("assets/clients/team-wallpaper.svg?v=outline-24") repeat;background-size:960px 700px;opacity:.1}
@media(max-width:800px){.gmc-showcase #team::before{background-size:600px 437.5px;opacity:.08}}

/* Balance the two screenshot-targeted headings and their content gaps. */
.gmc-showcase .work-heading{text-align:center}
.gmc-showcase .work-heading h2{line-height:1.05}
.gmc-showcase #team .story-heading{gap:var(--content-space)}
.gmc-showcase #team .story-heading>h2,.gmc-showcase #team .story-heading>p{text-wrap:balance}

/* Centre the heading blocks between their neighbouring sections. */
.gmc-showcase .work-heading{display:grid;place-items:center;text-align:center;margin-bottom:var(--section-space)}
.gmc-showcase .work-heading>div{width:100%}
.gmc-showcase .work-heading h2{margin:0;text-align:center}
.gmc-showcase #team .story-heading{align-items:center;text-align:center;margin-left:auto;margin-right:auto;margin-bottom:var(--section-space)}
.gmc-showcase #team .story-heading>h2,.gmc-showcase #team .story-heading>p{width:100%;text-align:center}

/* One-time text accents, with no moving mask or layout changes. */
.text-motion-ready [data-text-state="waiting"]{opacity:0}
.text-motion-ready [data-text-state="playing"]{animation:text-soft-fade .55s ease-out both;animation-delay:var(--text-delay,0ms)}
.text-motion-ready [data-text-motion="heading"][data-text-state="playing"]{animation-name:text-heading-rise;animation-duration:.65s}
html[data-text-motion="paused"] [data-text-state="playing"]{animation-play-state:paused}
@keyframes text-soft-fade{from{opacity:0}to{opacity:1}}
@keyframes text-heading-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.text-motion-ready [data-text-state]{opacity:1!important;transform:none!important;animation:none!important}}
@media print{.text-motion-ready [data-text-state]{opacity:1!important;transform:none!important;animation:none!important}}

/* Media enters softly as each row reaches the viewport. */
.text-motion-ready [data-text-motion="asset"][data-text-state="playing"]{animation-name:asset-scroll-entry;animation-duration:.7s;animation-timing-function:cubic-bezier(.2,.65,.3,1)}
@keyframes asset-scroll-entry{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
.text-motion-ready .campaign-media:focus-visible{opacity:1!important;transform:none!important;animation:none!important}

/* Clear campaign names with a restrained GMC accent. */
.gmc-showcase .film-index{display:inline-flex;align-items:center;gap:10px;font-size:clamp(15px,1.2vw,21px);font-weight:600;line-height:1.15;letter-spacing:-.015em;text-shadow:0 1px 3px #0009,0 2px 12px #0006}
.gmc-showcase .film-index::before{content:"";width:12px;height:2px;background:var(--lemon);flex:none}
@media(max-width:800px){.gmc-showcase .film-index{font-size:14px;gap:8px}.gmc-showcase .film-index::before{width:10px}}



.gmc-showcase .work-heading h2{font-size:clamp(54px,7.5vw,126px)}
@media(max-width:800px){.gmc-showcase .work-heading h2{font-size:clamp(54px,11.2vw,88px)}}
@media(max-width:380px){.gmc-showcase .work-heading h2{font-size:51px}}

/* One continuous client wallpaper behind the site's content and media. */
.gmc-showcase{position:relative;isolation:isolate}
.gmc-showcase::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("assets/clients/team-wallpaper.svg?v=outline-24") repeat;background-size:960px 700px;opacity:.1}
.gmc-showcase #team::before{content:none}
@media(max-width:800px){.gmc-showcase::before{background-size:600px 437.5px;opacity:.08}}

/* Remove the decorative client wallpaper throughout the site. */
.gmc-showcase::before,.gmc-showcase #team::before{content:none;background:none}

.gmc-showcase .takeoff-intro>p:last-child{margin-bottom:0}

/* The existing full-width ticker sits directly over the intro photograph. */
.gmc-showcase #about{padding-bottom:24px}
.gmc-showcase #about>p{margin-bottom:0}
.gmc-showcase #about .client-carousel{position:relative;left:50%;transform:translateX(-50%);width:100vw;margin-top:32px;padding:0;background:transparent;border:0}
@media(max-width:800px){.gmc-showcase #about .client-carousel{margin-top:24px}}

/* Let the pictured process and case-study backgrounds reach both viewport edges. */
.gmc-showcase #process,.gmc-showcase #impact,.gmc-showcase #testimonials{width:100%;max-width:none;padding-left:max(var(--edge),calc((100% - 1360px)/2));padding-right:max(var(--edge),calc((100% - 1360px)/2))}

/* Original GMC showreel softened into the existing testimonial atmosphere. */
.quote-atmosphere{overflow:hidden}
.quote-atmosphere video{object-fit:cover;transform:scale(1.08);opacity:1;filter:saturate(1.4) brightness(1)}
.quote-atmosphere:after{background:linear-gradient(115deg,#043042ad,#073b4c8f 55%,#043042ad)}
@media(max-width:800px){.quote-atmosphere video{filter:saturate(1.4) brightness(1)}}

/* Campaign identities use verified logo artwork, preserving aspect ratios. */
.film-brand{position:absolute;z-index:2;left:28px;top:24px;display:block;width:140px;height:42px;pointer-events:none}
.film-brand img{width:100%;height:100%;object-fit:contain;object-position:left center;filter:brightness(0) invert(1) drop-shadow(0 1px 4px #0006)}
@media(max-width:800px){.film-brand{left:18px;top:16px;width:100px;height:30px}}
@media(max-width:380px){.film-brand{left:14px;top:12px;width:90px;height:28px}}

/* Eight team members form two compact rows on desktop. */
.gmc-showcase .team-grid{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px}
@media(max-width:1100px){.gmc-showcase .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.gmc-showcase .team-grid{grid-template-columns:minmax(0,1fr)}}

.film-brand{opacity:.6}

.gmc-showcase .client-heading{margin:0 24px 24px;text-align:center;font-size:clamp(20px,2vw,28px);font-weight:600;line-height:1.15;letter-spacing:-.025em;color:#fff}
@media(max-width:800px){.gmc-showcase .client-heading{margin-bottom:20px}}

/* The decorative quote counter is omitted from the visible layout. */
#testimonials #quote-count{display:none}

.gmc-showcase .work-heading h2{white-space:normal;text-wrap:balance}

/* Keep quotes legible over the full-colour testimonial film. */
#testimonials .quote-text,#testimonials .quote-person,#testimonials .quote-top{text-shadow:0 2px 10px #000b}

/* Keep the top of the film visible so heads sit lower within the testimonial crop. */
.quote-atmosphere video{object-position:50% 25%;transform-origin:center top}
