/* Animation page, /animation/, 30 November 2026. Loaded after site-2026-1130.css and only on that page.
   Flat colour only: no gradients, no shadows, square corners. Uses the palette in styles.css.
   The reel player itself (frame, play button, is-playing state) comes from site-2026.css and script.js. */

/* Hero: flat black and not full screen height, so the two films start near the fold. */
.anim-hero{background:#080909;padding:clamp(140px,14vw,190px) max(var(--pad),env(safe-area-inset-right)) clamp(36px,4.5vw,64px) max(var(--pad),env(safe-area-inset-left))}
.anim-hero .eyebrow{display:flex;align-items:center;gap:15px;margin:0}
.anim-hero h1{font-size:clamp(46px,6.4vw,104px);letter-spacing:-.065em;line-height:.94;margin:34px 0 0;font-weight:400;text-wrap:balance}
.anim-hero h1 em{font-family:Georgia,serif;font-weight:400;font-style:italic;letter-spacing:-.04em;color:var(--orange)}
.anim-hero-line{max-width:62ch;margin:30px 0 0;color:#b7bbb6;font-size:17px;line-height:1.65}
.anim-hero .hero-actions{margin-top:30px}

/* Work: two upright films side by side as one centred pair, stacked on phones. Each frame is sized so the whole film
   fits in the window. Each grid track is capped at the film width, so the pair is separated only by the grid gap. */
.anim-work{padding-top:clamp(36px,4.5vw,64px)}
.anim-work .section-head h2,.anim-make .section-head h2{margin:1em 0}
.anim-films{display:grid;grid-template-columns:repeat(2,minmax(0,440px));grid-template-columns:repeat(2,minmax(0,min(440px,max(260px,calc((100svh - 150px) * 9 / 16)))));justify-content:center;gap:clamp(48px,6vw,96px);margin-top:clamp(32px,4vw,56px)}
.anim-film{min-width:0;width:min(100%,440px);width:min(100%,440px,max(260px,calc((100svh - 150px) * 9 / 16)))}
.anim-film .reel{width:100%;margin:0;border-radius:0;box-shadow:none}
.anim-film-copy{margin-top:26px}
.anim-film .case-label{margin-bottom:16px}
.anim-film h3{font-size:clamp(30px,3.2vw,48px);letter-spacing:-.05em;line-height:1;margin:0 0 14px;font-weight:500}
.anim-film-line{color:#c9ccc7;font-size:16px;line-height:1.65;margin:0 0 20px}
.anim-credits{margin:22px 0 0;font:400 12px/1.75 'DM Mono',monospace;letter-spacing:.02em;color:var(--muted)}

/* Player controls on this page: square, like the rest of the page. Play and pause sits bottom right (site-2026.css),
   sound sits bottom left. Both are hidden in the HTML and shown by script.js, so they never appear without it. */
.anim-film .reel-toggle{border-radius:0}
.reel-sound{position:absolute;left:12px;bottom:12px;z-index:2;display:flex;align-items:center;gap:10px;min-height:44px;padding:0 14px 0 12px;border:1px solid rgba(255,255,255,.45);background:rgba(8,9,9,.62);color:var(--white);font:500 11px/1 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.12em;cursor:pointer;transition:background .3s,border-color .3s,color .3s}
.reel-sound[hidden]{display:none}
.reel-sound svg{width:18px;height:18px;flex:none;fill:currentColor}
.reel-sound:hover{background:var(--orange);border-color:var(--orange);color:#080909}
.reel-sound[aria-pressed="true"]{background:#F4F4F6;border-color:#F4F4F6;color:#080909}
.reel-sound[aria-pressed="true"]:hover{background:var(--orange);border-color:var(--orange)}
.reel-icon-sound,.reel.has-sound .reel-icon-muted{display:none}
.reel.has-sound .reel-icon-sound{display:block}

/* What we make: the light tile section from the homepage. Plain lines, no arrows, because these tiles are not links. */
.anim-make .service-list{margin-top:clamp(36px,4vw,56px)}

/* Text contrast at WCAG AA (4.5 to 1 for small text) on this page. The site wide greys for the tile numbers (#777 on
   paper, 3.7 to 1) and the small footer labels (#777 and #626662 on #070808, 4.5 and 3.4 to 1) are lifted just enough
   to pass. Same footer content, same layout. */
.anim-make .service-list span{color:#666}
.anim-page .footer-grid h3{color:#7e817d}
.anim-page .footer-bottom{color:#828682}

/* Call to action: dark panel with the orange rule used on the Business Suite. */
.anim-cta{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(30px,6vw,90px);align-items:end;background:#0d0f0f;border-top:4px solid var(--orange)}
.anim-cta h2{font-size:clamp(44px,6vw,92px);letter-spacing:-.065em;line-height:.94;margin:0;font-weight:400;text-wrap:balance}
.anim-cta h2 em{font-family:Georgia,serif;font-weight:400;color:var(--orange)}
.anim-cta p{color:#c9ccc7;font-size:17px;line-height:1.65;margin:0 0 28px;max-width:44ch}
.anim-cta>*{min-width:0}

@media(max-width:900px){
.anim-cta{grid-template-columns:1fr}
}
@media(max-width:760px){
.anim-films{grid-template-columns:1fr}
.anim-hero-line,.anim-cta p{font-size:16px}
}
@media(max-width:480px){
.anim-hero h1{font-size:clamp(38px,11.2vw,50px)}
.anim-cta h2{font-size:clamp(38px,11.2vw,50px)}
.anim-cta .btn-solid{width:100%}
}
