/* Living colour (2026-11-12, moved from /lab/ idea 2), on /cinematic-websites/: "The films" section is dark and slowly takes
   on the colour of the film most in view. js/living-colour.js plays one short muted clip per card while it is on screen. */

/* the intro above the films: no big empty gap before the dark section */
.cw-intro{padding-bottom:clamp(36px,5vw,64px)}
.cw-intro .answer-box{margin-bottom:0}

.lc,.tier-sec.lc{--lc:#1b1a18;position:relative;overflow:hidden;isolation:isolate;background:var(--lc);color:#ECE8E1;padding:clamp(56px,7vw,104px) 0}
.lc.lc-anim{transition:background-color 1.6s linear}
.lc-glow{position:absolute;inset:-20% -10%;z-index:-1;pointer-events:none;opacity:.55;color:rgba(255,255,255,.05);
  background:radial-gradient(55% 50% at 50% 40%,currentColor,transparent 72%)}
.lc.lc-anim .lc-glow{transition:color 1.6s linear}
.lc .rule{border-top-color:rgba(236,232,225,.45);color:rgba(236,232,225,.72)}
.lc .tier-intro{margin:18px 0 clamp(28px,3.4vw,44px);color:rgba(236,232,225,.86)}
.lc .mat{background:rgba(255,255,255,.05);outline-color:rgba(236,232,225,.16);transition:outline-color var(--t-2)}
.lc .ind-wall a:hover .mat,.lc .ind-wall a:focus-visible .mat{outline-color:rgba(236,232,225,.75)}
.lc .ind-wall a:focus-visible{outline-color:#F6F3EE}
.lc .ind-n{color:#F6F3EE}
.lc .ind-p{color:rgba(236,232,225,.86)}
.lc .ind-i{color:rgba(236,232,225,.66)}
.lc-m{position:relative;display:block;overflow:hidden;background:#0d0d0c}
.lc-v{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s var(--ease);pointer-events:none}
.lc-v.on{opacity:1}
/* seven films: the last one sits in the middle of its row */
@media (min-width:901px){.lc-wall>li:last-child:nth-child(3n+1){grid-column:2}}
@media (min-width:561px) and (max-width:900px){.lc-wall>li:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 12px)}}
@media (prefers-reduced-motion:reduce){.lc.lc-anim,.lc.lc-anim .lc-glow,.lc-v{transition:none}}
