/* CASE · MUSIC VIDEOS, "Screening room" (case page styles for
   work/music-videos/)
   ------------------------------------------------------------------
   The music case as a screening: ink-dominant, cinematic, set in the
   print language of the new homepage and the About page (condensed
   76-80% Bricolage, square cobalt marks, mono caps, 0-4px corners,
   fields that meet on straight edges).

     hero      ink     the reel on a letterboxed screen that holds still
                       while a hard ink band with the title card rises
                       over it; the three labels set as a nameplate
     02 wall   ink     ten loops as a full-bleed mosaic of screens that
                       assembles as it scrolls in; 16 / 8x#1 / 15M+ set
                       enormous between the rows
     03 bill   paper   the three jobs a release carried, as a programme
     04 board  paper   the lead, "What I owned / Who I hired" as two
                       typeset columns, the five treatment pages pinned
                       up as prints (each opens full size)
     05 stills ink     a filmstrip with sprocket holes: scroll-snap,
                       drag, arrow keys, prev/next
     word      ink     the artist's line, large
     06 book   cobalt  the ask, with a die-cut ticket button
     outro     ink     back / related offer, the next case, the foot

   Progressive enhancement: the default CSS is the finished page.
   Entrances live under html.cm3--armed (added pre-paint when motion is
   allowed, dropped again if the JS never runs). The mosaic assembly is a
   CSS view timeline where supported (no JS needed), an observer-driven
   transition elsewhere. Reduced motion never animates. No #bgBlob, no
   .reveal, no scene slates, no glows. Every class is
   prefixed cm3; the page wears body.cm3.
   ------------------------------------------------------------------ */

body.cm3 {
  --p: var(--paper, #f0ece3);
  --i: var(--ink, #14110c);
  --c: var(--cobalt, #2b34ff);
  --cl: var(--cobalt-light, #7a83ff);
  --soft: var(--ink-soft, #3a342b);
  --mut: var(--muted, #6a6358);            /* 5.3:1 on paper */
  --mut-d: #a39d91;                         /* 7.4:1 on ink */
  --on-ink: rgba(240, 236, 227, 0.78);
  --stock: #fbf8f2;                         /* print / ticket card stock */
  --film: #070605;                          /* film base, a shade under ink */
  --rule: rgba(20, 17, 12, 0.16);
  --rule-d: rgba(240, 236, 227, 0.16);
  --rule-c: rgba(240, 236, 227, 0.45);
  --e: var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
  --snap: cubic-bezier(0.3, 1.45, 0.45, 1);
  --draw: cubic-bezier(0.65, 0, 0.2, 1);
  --lift:
    drop-shadow(0 1px 1px rgba(20, 17, 12, 0.18))
    drop-shadow(0 16px 22px rgba(20, 17, 12, 0.16));
  --notch:
    radial-gradient(circle at 0 50%, #0000 6px, #000 6.5px) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, #0000 6px, #000 6.5px) 100% 0 / 51% 100% no-repeat;
  --navh: 60px;                             /* the solid nav bar (68px once .pill gets 44px targets) */
  --tg: clamp(4px, 0.5vw, 8px);             /* gap between the wall's screens */
  --edge: max(var(--gutter, 24px), calc((100vw - var(--maxw, 1320px)) / 2 + var(--gutter, 24px)));
  background: var(--i);
  color: var(--p);
}

/* ---------- page-level overrides (this page only) ---------- */
body.cm3 .scene-slate,
body.cm3 .bg-blob { display: none !important; }
/* the homepage card morphs into the screen (and back): the case hero
   carries the view-transition name statically, as .project-media does */
body.cm3 #caseHero { view-transition-name: case-hero; }
/* arriving here, the morph keeps print corners (styles.css rounds it 18px) */
::view-transition-old(case-hero),
::view-transition-new(case-hero) { border-radius: 2px; }
body.cm3 ::selection { background: var(--c); color: var(--p); }
body.cm3 :focus-visible { outline: 2px solid var(--cl); outline-offset: 3px; border-radius: 0; }
body.cm3 .cm3-sec--paper :focus-visible { outline-color: var(--c); }
body.cm3 .cm3-cta :focus-visible { outline-color: var(--p); }

.cm3-nw { white-space: nowrap; }          /* a hyphenated word never breaks at its hyphen */
.cm3-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- NAV: one solid ink bar, no blur, no pill tray ---------- */
body.cm3 #nav,
body.cm3 #nav.is-scrolled {
  background: var(--i);
  color: var(--p);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(240, 236, 227, 0.14);
  padding-top: 12px;
  padding-bottom: 12px;
}
body.cm3 #nav .nav__name { color: inherit; }
body.cm3 #nav .nav__name sup { color: var(--cl); }
body.cm3 #nav .nav__lang {
  padding: 3px 6px 2px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: inherit;
  opacity: 0.72;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}
body.cm3 #nav .nav__lang:hover,
body.cm3 #nav .nav__lang:focus-visible { opacity: 1; color: inherit; border-color: currentColor; }
body.cm3 #nav .nav__menu {
  gap: clamp(16px, 2.2vw, 30px);
  padding: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}
body.cm3 #nav .nav__menu .pill--ghost {
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}
body.cm3 #nav .nav__menu .pill--ghost::before {
  inset: auto 0 4px 0;
  height: 1px;
  border-radius: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--e);
}
body.cm3 #nav .nav__menu .pill--ghost:hover::before,
body.cm3 #nav .nav__menu .pill--ghost:focus-visible::before { transform: scaleX(1); }
/* GET IN TOUCH: a die-cut cobalt ticket (fill on ::before so focus rings are never masked) */
body.cm3 #nav .nav__contact {
  position: relative;
  isolation: isolate;
  padding: 0.9em 1.25em;
  border: 0;
  border-radius: 3px;
  background: none;
  box-shadow: none;
  color: var(--p);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}
body.cm3 #nav .nav__contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 3px;
  background: var(--c);
  -webkit-mask: var(--notch);
          mask: var(--notch);
  transition: background-color 0.25s var(--e), transform 0.4s var(--snap);
}
body.cm3 #nav .nav__contact:hover { background: none; box-shadow: none; transform: none; color: var(--i); }
body.cm3 #nav .nav__contact:hover::before { background: var(--p); transform: scale(1.03); }
@media (max-width: 768px) {
  body.cm3 { --navh: 68px; }
}
@media (max-width: 620px) {
  body.cm3 #nav .nav__menu { gap: 12px; }
  body.cm3 #nav .nav__menu .pill--ghost { font-size: 0.6rem; letter-spacing: 0.12em; padding: 8px 0; }
  body.cm3 #nav .nav__contact { padding: 0.85em 0.95em; font-size: 0.58rem; letter-spacing: 0.1em; }
}

/* ---------- shared pieces ---------- */
.cm3-main { display: block; }
.cm3-wrap {
  position: relative;
  z-index: 1;
  max-width: var(--maxw, 1320px);
  margin: 0 auto;
  padding: 0 var(--gutter, 24px);
}
.cm3-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: var(--c);
}
.cm3-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-ink);
}
.cm3-label::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule-d);
}
.cm3-h2 {
  margin: clamp(18px, 2.2vw, 30px) 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(2.75rem, 7vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-wrap: balance;
  font-feature-settings: "kern" 1;
}
.cm3-hi { color: var(--cl); }

.cm3-sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: clamp(80px, 9vw, 136px) 0;
}
.cm3-sec--paper { background: var(--p); color: var(--i); }
.cm3-sec--ink { background: var(--i); color: var(--p); }
.cm3-sec--paper .cm3-label { color: var(--i); }
.cm3-sec--paper .cm3-label::after { background: var(--rule); }
.cm3-sec--paper .cm3-hi { color: var(--c); }
.cm3-sec--paper ::selection { background: var(--c); color: var(--p); }

/* film grain on the cobalt field (the About / Gap tile) */
.cm3-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 0 1'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.4' intercept='-0.7'/%3E%3CfeFuncG type='linear' slope='2.4' intercept='-0.7'/%3E%3CfeFuncB type='linear' slope='2.4' intercept='-0.7'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.11;
  mix-blend-mode: hard-light;
}

/* ================================================================
   HERO: the screen + the title band
   ================================================================ */
.cm3-hero {
  /* the title card: line 1 "UNIVERSAL" fills the measure, line 2
     "SONY ■ WARNER" fills it too (font sizes in cqw of the h1).
     --k1/--k2 are the lines' widths in em, measured in the browser. */
  --k1: 3.36;
  --k2: 5.17;
  --cw: calc(min(100vw, var(--maxw, 1320px)) - 2 * var(--gutter, 24px));
  --peek: calc(64px + 0.8 * var(--cw) / var(--k1));           /* strip + line 1 */
  /* the screen fills what the title card leaves, never thinner than 2.9:1 */
  --screen-h: max(calc(100vw / 2.9), 46svh, calc(100svh - var(--navh) - var(--peek)));
  position: relative;
  background: var(--i);
  padding-top: var(--navh);
}
.cm3-screen {
  position: sticky;
  top: var(--navh);
  z-index: 0;
  height: var(--screen-h);
  overflow: hidden;
  background: #000;
}
.cm3-screen__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 44%;
}
/* lights down: an ink veil deepens as the band rises (scroll timeline only) */
.cm3-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--i);
  opacity: 0;
  pointer-events: none;
}

/* Play: reduced motion or a refused autoplay leaves the poster up; a small
   print-language button on the screen's foot starts the reel */
.cm3-play {
  position: absolute;
  z-index: 2;
  right: var(--edge);
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(240, 236, 227, 0.5);
  border-radius: 2px;
  background: rgba(20, 17, 12, 0.72);
  color: var(--p);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s var(--e), border-color 0.25s var(--e);
}
.cm3-play[hidden] { display: none; }
.cm3-play__sq {
  width: 10px;
  height: 10px;
  border: 1px solid var(--c);
  background: var(--c);
  transition: background-color 0.2s var(--e), border-color 0.2s var(--e);
}
.cm3-play:hover { background: var(--i); border-color: var(--p); }
.cm3-play:hover .cm3-play__sq { background: var(--cl); border-color: var(--cl); }

.cm3-band {
  position: relative;
  z-index: 1;
  background: var(--i);
  padding-bottom: clamp(72px, 8vw, 120px);
}
.cm3-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 0;
  padding: 22px 0 14px;
  border-bottom: 1px solid rgba(240, 236, 227, 0.4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink);
}
.cm3-strip__tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--p);
}

.cm3-title {
  container-type: inline-size;
  margin: 0;
  padding: 0.1em 0 0;
  border-bottom: clamp(5px, 0.62vw, 9px) solid var(--p);
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  line-height: 0.8;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  font-feature-settings: "kern" 1;
  color: var(--p);
}
/* tracking in em of each line's own size; -0.018em keeps a hairline
   between glyphs (abutting edges antialias into a dark seam) */
.cm3-title__line { display: block; letter-spacing: -0.018em; }
.cm3-title__line > span { display: block; }
.cm3-title__line--1 {
  font-size: calc(100cqw / var(--k1));
  margin-left: -0.03em;
}
.cm3-title__line--2 {
  font-size: calc(100cqw / var(--k2));
  padding: 0.02em 0 0.05em;
}
.cm3-title__line--2 > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cm3-title__line--2 > span > span:first-child { margin-left: -0.03em; }
.cm3-title__sq {
  flex: 0 0 auto;
  width: 0.34em;
  height: 0.34em;
  margin-top: -0.04em;
  background: var(--c);
}

.cm3-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 40px);
  row-gap: clamp(28px, 3vw, 44px);
  margin-top: clamp(32px, 4vw, 56px);
}
.cm3-intro__sub {
  grid-column: 1 / span 9;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 78%;
  font-size: clamp(2.1rem, 4.7vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.cm3-intro__lead {
  grid-column: 1 / span 6;
  margin: 0;
  padding-top: 18px;
  border-top: 2px solid var(--p);
  font-family: var(--font-display);
  font-weight: 560;
  font-stretch: 92%;
  font-size: clamp(1.15rem, 1.55vw, 1.42rem);
  line-height: 1.34;
  letter-spacing: -0.008em;
  color: var(--p);
  text-wrap: pretty;
}
.cm3-intro__col { display: contents; }
.cm3-intro__col p:first-child { grid-column: 7 / span 3; }
.cm3-intro__col p:last-child { grid-column: 10 / span 3; }
.cm3-intro__col p {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule-c);
  font-family: var(--font-display);
  font-weight: 420;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--on-ink);
}

/* ================================================================
   02 THE WALL
   ================================================================ */
.cm3-wall {
  position: relative;
  overflow-x: hidden;               /* fallback */
  overflow-x: clip;                 /* the assembly starts off-grid */
  background: var(--i);
  color: var(--p);
  padding: clamp(24px, 3vw, 48px) 0 clamp(96px, 10vw, 160px);
}
.cm3-wall .cm3-h2 { max-width: 15em; }

.cm3-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--tg);
  padding: 0 var(--tg);
  margin-top: clamp(44px, 5vw, 80px);
}
.cm3-tile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 1px rgba(240, 236, 227, 0.07);
}
.cm3-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.cm3-tile--big { aspect-ratio: auto; }

/* A: one big screen left, two stacked right */
.cm3-mosaic--a .cm3-tile { grid-column: 9 / span 4; }
.cm3-mosaic--a .cm3-tile--big { grid-column: 1 / span 8; grid-row: 1 / span 2; }
/* B: mirrored */
.cm3-mosaic--b .cm3-tile { grid-column: 1 / span 4; }
.cm3-mosaic--b .cm3-tile:nth-child(1) { grid-row: 1; }
.cm3-mosaic--b .cm3-tile:nth-child(2) { grid-row: 2; }
.cm3-mosaic--b .cm3-tile--big { grid-column: 5 / span 8; grid-row: 1 / span 2; }
/* C: a row of four */
.cm3-mosaic--c .cm3-tile { grid-column: span 3; }

/* the figures between the rows */
.cm3-fig {
  --fs: min(40vw, 540px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "n txt";
  align-items: end;
  column-gap: clamp(24px, 3.4vw, 56px);
  margin-top: clamp(40px, 5vw, 76px);
  margin-bottom: clamp(8px, 1vw, 16px);
}
.cm3-fig__n {
  grid-area: n;
  margin: 0;
  padding-top: 0.04em;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: var(--fs);
  line-height: 0.78;
  letter-spacing: -0.012em;           /* digits never touch: no merged 1s */
  font-variant-numeric: lining-nums;
  white-space: nowrap;
  color: var(--p);
  clip-path: inset(-0.2em -0.3em 0 -0.3em);   /* the rise mask; no side clipping */
}
.cm3-fig__n > span { display: block; }
.cm3-fig__n small {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0.04em 0 0.02em;
  color: var(--on-ink);
  vertical-align: 0.9em;
}
.cm3-fig__n em { font-style: normal; color: var(--cl); }
.cm3-fig__txt {
  grid-area: txt;
  align-self: end;
  padding: 16px 0 0.2em;
  border-top: 2px solid var(--p);
  max-width: 30rem;
}
.cm3-fig__k {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p);
}
.cm3-fig__v {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.4;
  color: var(--on-ink);
  text-wrap: pretty;
}
/* each figure at its own scale: 16 towers, 8x#1 and 15M+ run wide */
.cm3-fig--16 { --fs: min(48vw, 660px); }
.cm3-fig--8 { --fs: min(37vw, 500px); }
.cm3-fig--15 { --fs: min(34vw, 468px); }
/* 8x#1 mirrors: text left, figure right */
.cm3-fig--8 {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "txt n";
}
.cm3-fig--8 .cm3-fig__txt { justify-self: start; }
/* 15M+: the two supporting facts as stubs under the text */
.cm3-fig--15 {
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "n txt" "n more";
}
.cm3-fig__more {
  grid-area: more;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0.2em;
  padding: 0;
  list-style: none;
  max-width: 34rem;
}
.cm3-fig__more li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px 14px 16px;
  border: 1px solid var(--rule-d);
  border-radius: 2px;
}
.cm3-fig__more b {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--cl);
}
.cm3-fig__more span {
  font-family: var(--font-display);
  font-weight: 440;
  font-size: 0.9rem;
  line-height: 1.42;
  color: var(--on-ink);
}
.cm3-fig--15 .cm3-fig__n { align-self: end; }

/* ================================================================
   03 THE BILL (paper)
   ================================================================ */
.cm3-bill { padding-bottom: clamp(40px, 5vw, 72px); }
.cm3-bill__list {
  margin: clamp(40px, 5vw, 72px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--i);
}
.cm3-bill__row {
  display: grid;
  grid-template-columns: clamp(64px, 7vw, 112px) minmax(0, 1.25fr) minmax(0, 1fr);
  column-gap: clamp(16px, 2.4vw, 40px);
  align-items: start;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--rule);
}
.cm3-bill__row > * { margin-top: 0; }
.cm3-bill__no { padding-top: 0.06em; }
.cm3-bill__c { padding-top: 0.3em; }
.cm3-bill__row:last-child { border-bottom-color: var(--i); }
.cm3-bill__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--c);
  font-variant-numeric: tabular-nums lining-nums;
}
.cm3-bill__t {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(2.1rem, 4.6vw, 4.5rem);
  line-height: 0.88;
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.cm3-bill__c {
  margin: 0;
  max-width: 42ch;
  font-family: var(--font-display);
  font-weight: 440;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--soft);
}

/* ================================================================
   04 THE PRODUCTION BOARD (paper)
   ================================================================ */
.cm3-board { padding-top: clamp(56px, 6vw, 96px); }
.cm3-board__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 40px);
  row-gap: 40px;
  margin-top: clamp(36px, 4.4vw, 64px);
  align-items: start;
}
.cm3-board__lead {
  grid-column: 1 / span 5;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 520;
  font-stretch: 94%;
  font-size: clamp(1.1rem, 1.45vw, 1.32rem);
  line-height: 1.42;
  color: var(--i);
  text-wrap: pretty;
}
.cm3-roles {
  grid-column: 7 / span 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 40px);
}
.cm3-roles__k {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--i);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cm3-roles__k::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--c);
}
.cm3-roles__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cm3r;
}
.cm3-roles__list li {
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr);
  align-items: baseline;
  padding: 12px 0 11px;
  border-bottom: 1px solid var(--rule);
  counter-increment: cm3r;
  font-family: var(--font-display);
  font-weight: 760;
  font-stretch: 82%;
  font-size: clamp(1.18rem, 1.7vw, 1.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.cm3-roles__list li::before {
  content: counter(cm3r, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.1em;
  color: var(--c);
  transform: translateY(-0.15em);
}

/* the pinned prints */
.cm3-pinned { margin-top: clamp(64px, 8vw, 120px); }
.cm3-pinned__k {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cm3-pinned__k::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: var(--c);
}
.cm3-pinned__k::after {
  content: "";
  order: 1;
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule);
}
.cm3-pinned__hint { order: 2; color: var(--mut); letter-spacing: 0.16em; }

.cm3-prints {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(18px, 2.4vw, 40px);
  row-gap: clamp(28px, 3.4vw, 56px);
  margin: clamp(34px, 4vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}
.cm3-print { position: relative; min-width: 0; }
.cm3-print--1 { grid-column: 1 / span 7; grid-row: 1; --rot: -1.4deg; align-self: start; }
.cm3-print--2 { grid-column: 8 / span 5; grid-row: 1; --rot: 1.7deg; align-self: start; margin-top: clamp(24px, 4vw, 64px); }
.cm3-print--3 { grid-column: 1 / span 4; grid-row: 2; --rot: 1.2deg; margin-top: clamp(-8px, -0.5vw, 0px); }
.cm3-print--4 { grid-column: 5 / span 4; grid-row: 2; --rot: -1.1deg; margin-top: clamp(16px, 2.6vw, 40px); }
.cm3-print--5 { grid-column: 9 / span 4; grid-row: 2; --rot: 1.9deg; margin-top: 0; }

.cm3-print__open {
  position: relative;
  display: block;
  padding: clamp(8px, 0.8vw, 12px) clamp(8px, 0.8vw, 12px) 0;
  border-radius: 2px;
  background: var(--stock);
  color: var(--i);
  transform: rotate(var(--rot, 0deg));
  filter: var(--lift);
  transition: transform 0.55s var(--snap), filter 0.4s var(--e);
}
.cm3-print__pin {
  position: absolute;
  z-index: 2;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  background: var(--c);
  box-shadow: 0 2px 2px rgba(20, 17, 12, 0.3);
}
.cm3-print__img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--i);
}
.cm3-print__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cm3-print__cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 2px 13px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut);
}
.cm3-print__cap::after {
  content: "↗";
  flex: 0 0 auto;
  color: var(--c);
  font-size: 0.9rem;
  letter-spacing: 0;
  transition: transform 0.3s var(--e);
}
@media (hover: hover) {
  .cm3-print__open:hover {
    transform: rotate(0deg) translateY(-6px);
    filter:
      drop-shadow(0 2px 2px rgba(20, 17, 12, 0.18))
      drop-shadow(0 26px 30px rgba(20, 17, 12, 0.2));
  }
  .cm3-print__open:hover .cm3-print__cap { color: var(--i); }
  .cm3-print__open:hover .cm3-print__cap::after { transform: translate(2px, -2px); }
}
.cm3-print__open:focus-visible { outline-offset: 6px; }

/* ================================================================
   05 STILLS — the filmstrip
   ================================================================ */
.cm3-reel { padding-bottom: clamp(64px, 7vw, 104px); }
.cm3-reel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 24px;
}
.cm3-reel__ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 0.3em;
}
.cm3-reel__ctrl[hidden] { display: none; }
.cm3-reel__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(240, 236, 227, 0.5);
  border-radius: 2px;
  background: transparent;
  color: var(--p);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--e), border-color 0.25s var(--e), color 0.25s var(--e);
}
.cm3-reel__btn:hover { background: var(--p); border-color: var(--p); color: var(--i); }
.cm3-reel__btn:disabled { opacity: 0.32; cursor: default; background: transparent; color: var(--p); border-color: rgba(240, 236, 227, 0.5); }
.cm3-reel__count {
  min-width: 6.2em;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--on-ink);
  font-variant-numeric: tabular-nums;
}
.cm3-reel__count b { font-weight: 500; color: var(--p); }

.cm3-film {
  position: relative;
  margin-top: clamp(36px, 4vw, 56px);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.cm3-film::-webkit-scrollbar { display: none; }
.cm3-film.is-drag { cursor: grabbing; scroll-snap-type: none; }
.cm3-film.is-drag * { user-select: none; }
.cm3-film:focus-visible { outline: 2px solid var(--cl); outline-offset: 4px; }
.cm3-film__track {
  /* sprocket holes, top and bottom, printed on the film base */
  --hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='32'%3E%3Crect x='8' y='10' width='12' height='13' rx='2.5' fill='%23f0ece3'/%3E%3C/svg%3E");
  display: flex;
  width: max-content;
  margin: 0;
  padding: 32px var(--edge);
  list-style: none;
  background:
    var(--hole) 0 0 / 28px 32px repeat-x,
    var(--hole) 0 100% / 28px 32px repeat-x,
    var(--film);
}
.cm3-frame {
  flex: 0 0 auto;
  width: clamp(280px, 62vw, 960px);
  padding: 0 7px;
  scroll-snap-align: start;
}
.cm3-frame:first-child { padding-left: 0; }
.cm3-frame:last-child { padding-right: 0; }
.cm3-frame figure { margin: 0; }
.cm3-frame__pic {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  transition: opacity 0.5s var(--e);
}
.cm3-frame__pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}
.cm3-frame figcaption {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut-d);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cm3-frame figcaption b { font-weight: 500; color: var(--cl); }
.cm3-film.has-js .cm3-frame:not(.is-active) .cm3-frame__pic { opacity: 0.45; }

/* ================================================================
   THE WORD (ink)
   ================================================================ */
.cm3-word { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(96px, 10vw, 160px); }
.cm3-quote {
  position: relative;
  margin: 0;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(240, 236, 227, 0.4);
}
.cm3-quote__q { margin: 0; }
.cm3-quote__q p {
  margin: 0;
  max-width: 17em;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 78%;
  font-size: clamp(2.6rem, 6.9vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.032em;
  text-indent: -0.36em;
  text-wrap: pretty;
}
.cm3-quote__who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-top: clamp(28px, 3vw, 44px);
}
.cm3-quote__who::before {
  content: "";
  align-self: center;
  width: clamp(28px, 4vw, 60px);
  height: 12px;
  background: var(--c);
}
.cm3-quote__name {
  font-family: var(--font-display);
  font-weight: 760;
  font-stretch: 86%;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.cm3-quote__role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mut-d);
}

/* ================================================================
   06 BOOKING (cobalt)
   ================================================================ */
.cm3-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  background: var(--c);
  color: var(--p);
  padding: clamp(80px, 9vw, 136px) 0 clamp(88px, 9vw, 140px);
}
.cm3-cta .cm3-label { color: var(--p); }
.cm3-cta .cm3-mark { background: var(--i); }
.cm3-cta .cm3-label::after { background: var(--rule-c); }
.cm3-cta ::selection { background: var(--p); color: var(--i); }
.cm3-cta__title {
  margin: clamp(18px, 2.2vw, 30px) 0 0;
  max-width: 11em;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(3rem, 8.6vw, 8.4rem);
  line-height: 0.85;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.cm3-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 28px;
  align-items: end;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 20px;
  border-top: 2px solid var(--p);
}
.cm3-cta__copy {
  margin: 0;
  max-width: 44ch;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.5;
}
.cm3-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 28px;
  margin: 0;
}
.cm3-cta__alt {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.4s var(--e);
}
.cm3-cta__alt:hover { background-size: 0 1px; background-position: 100% 100%; }

/* the die-cut ticket: card stock, side notches, a perforated stub */
.cm3-ticket {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: stretch;
  min-height: 64px;
  border-radius: 3px;
  color: var(--i);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s var(--e);
}
.cm3-ticket::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 3px;
  background: var(--stock);
  -webkit-mask: var(--notch);
          mask: var(--notch);
  transition: background-color 0.25s var(--e), transform 0.4s var(--snap);
}
.cm3-ticket__t { display: flex; align-items: center; padding: 0 26px 0 30px; }
.cm3-ticket__stub {
  display: flex;
  align-items: center;
  padding: 0 24px 0 22px;
  border-left: 2px dashed rgba(20, 17, 12, 0.34);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0;
  transition: transform 0.35s var(--e), border-color 0.25s var(--e);
}
.cm3-ticket:hover { color: var(--p); }
.cm3-ticket:hover::before { background: var(--i); transform: scale(1.03); }
.cm3-ticket:hover .cm3-ticket__stub { border-left-color: rgba(240, 236, 227, 0.4); transform: translateX(4px); }
.cm3-ticket:focus-visible { outline-offset: 5px; }

/* ================================================================
   OUTRO (ink): back / related offer, next case, foot
   ================================================================ */
.cm3-outro {
  position: relative;
  background: var(--i);
  color: var(--p);
  padding-top: clamp(28px, 3vw, 44px);
}
.cm3-footnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule-d);
}
.cm3-footnav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink);
  transition: color 0.2s var(--e);
}
.cm3-footnav a:hover { color: var(--cl); }

.cm3-next {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 30vw, 420px) auto;
  align-items: center;
  column-gap: clamp(24px, 3.4vw, 56px);
  padding: clamp(48px, 6vw, 96px) 0;
  border-bottom: 1px solid var(--rule-d);
}
.cm3-next__txt { display: grid; gap: clamp(14px, 1.6vw, 22px); min-width: 0; }
.cm3-next__k {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-ink);
}
.cm3-next__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(3rem, 8.4vw, 8.2rem);
  line-height: 0.84;
  letter-spacing: -0.036em;
  text-wrap: balance;
  transition: color 0.3s var(--e);
}
.cm3-next__print {
  position: relative;
  display: block;
  padding: 10px 10px 30px;
  border-radius: 2px;
  background: var(--stock);
  transform: rotate(2deg);
  transition: transform 0.55s var(--snap);
}
.cm3-next__print img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.cm3-next__go {
  display: grid;
  place-items: center;
  width: clamp(56px, 5.6vw, 84px);
  height: clamp(56px, 5.6vw, 84px);
  background: var(--c);
  color: var(--p);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 2rem);
  transition: transform 0.35s var(--e), background-color 0.25s var(--e), color 0.25s var(--e);
}
@media (hover: hover) {
  .cm3-next:hover .cm3-next__title { color: var(--cl); }
  .cm3-next:hover .cm3-next__print { transform: rotate(0deg) translateY(-6px); }
  .cm3-next:hover .cm3-next__go { transform: translateX(8px); background: var(--p); color: var(--i); }
}
.cm3-next:focus-visible { outline-offset: 8px; }

.cm3-foot {
  padding: 22px 0 32px;
  color: rgba(240, 236, 227, 0.72);
}
.cm3-foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cm3-foot__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--p);
}
.cm3-foot a:hover { color: var(--p); }

/* ================================================================
   LIGHTBOX (treatment pages full size; JS only)
   ================================================================ */
.cm3-lb {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--p);
  overflow: hidden;
}
.cm3-lb::backdrop { background: rgba(10, 9, 7, 0.94); }
.cm3-lb__frame {
  position: absolute;
  inset: 72px var(--gutter, 20px) 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.cm3-lb__img {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 40px);
  width: auto;
  height: auto;
  padding: clamp(6px, 0.8vw, 12px);
  border-radius: 2px;
  background: var(--stock);
  object-fit: contain;
}
.cm3-lb__cap {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink);
  text-align: center;
}
.cm3-lb__close {
  position: absolute;
  top: 16px;
  right: var(--gutter, 20px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(240, 236, 227, 0.5);
  border-radius: 2px;
  background: var(--i);
  color: var(--p);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.cm3-lb__close span { font-size: 1.1rem; line-height: 0.6; }
.cm3-lb__close:hover { background: var(--p); color: var(--i); }
body.cm3:has(.cm3-lb[open]) { overflow: hidden; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1099px) {
  .cm3-intro__sub { grid-column: 1 / -1; max-width: 16em; }
  .cm3-intro__lead { grid-column: 1 / -1; max-width: 44em; }
  .cm3-intro__col p:first-child { grid-column: 1 / span 6; }
  .cm3-intro__col p:last-child { grid-column: 7 / span 6; }
  .cm3-board__lead { grid-column: 1 / -1; max-width: 60ch; }
  .cm3-roles { grid-column: 1 / -1; }
  .cm3-cta__grid { grid-template-columns: minmax(0, 1fr); }
  .cm3-cta__actions { justify-content: flex-start; }
}

@media (max-width: 899px) {
  .cm3-fig,
  .cm3-fig--8,
  .cm3-fig--15 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "n" "txt" "more";
    row-gap: 22px;
  }
  .cm3-fig--15 { grid-template-rows: auto; }
  .cm3-fig--8 .cm3-fig__n { justify-self: end; }
  .cm3-fig__txt { max-width: 34rem; }
  .cm3-fig--16 { --fs: 58vw; }
  .cm3-fig--8 { --fs: 44vw; }
  .cm3-fig--15 { --fs: 40vw; }

  .cm3-bill__row {
    grid-template-columns: clamp(52px, 11vw, 80px) minmax(0, 1fr);
    grid-template-areas: "no t" "no c";
    row-gap: 12px;
  }
  .cm3-bill__no { grid-area: no; }
  .cm3-bill__t { grid-area: t; }
  .cm3-bill__c { grid-area: c; }

  .cm3-prints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm3-print--1 { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
  .cm3-print--2,
  .cm3-print--3,
  .cm3-print--4,
  .cm3-print--5 { grid-column: auto; grid-row: auto; margin: 0; }
  .cm3-print--3 { --rot: 1.2deg; }
  .cm3-print--4 { --rot: -1.3deg; }
  .cm3-print--5 { --rot: 1deg; }

  .cm3-next { grid-template-columns: minmax(0, 1fr) auto; row-gap: 28px; }
  .cm3-next__txt { grid-column: 1 / -1; }
  .cm3-next__print { grid-column: 1; max-width: 360px; }
  .cm3-next__go { grid-column: 2; align-self: end; }
}

@media (max-width: 699px) {
  body.cm3 { --tg: 4px; }
  .cm3-frame figcaption { white-space: normal; text-overflow: clip; }   /* whole captions on phones */
  .cm3-hero { --screen-h: 58svh; }
  .cm3-strip__mid { display: none; }
  .cm3-intro { margin-top: 28px; }
  .cm3-intro__sub { font-size: clamp(1.9rem, 8.6vw, 2.5rem); }
  .cm3-intro__lead { grid-column: 1 / -1; }
  .cm3-intro__col p:first-child,
  .cm3-intro__col p:last-child { grid-column: 1 / -1; }

  .cm3-label { letter-spacing: 0.16em; }    /* "03 / Video · Social · Out-of-home" on one line at 390 */
  .cm3-h2 { font-size: clamp(2.5rem, 11.6vw, 3.4rem); }

  .cm3-mosaic--a .cm3-tile,
  .cm3-mosaic--b .cm3-tile,
  .cm3-mosaic--c .cm3-tile { grid-column: span 6; grid-row: auto; }
  .cm3-mosaic--b .cm3-tile:nth-child(n) { grid-row: auto; }   /* beats the desktop :nth-child rows */
  .cm3-mosaic--a .cm3-tile--big,
  .cm3-mosaic--b .cm3-tile--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .cm3-mosaic--b .cm3-tile--big { order: 3; }

  .cm3-fig--16 { --fs: 72vw; }
  .cm3-fig--8 { --fs: 56vw; }
  .cm3-fig--15 { --fs: 52vw; }             /* 15M+ and its drift stay inside the gutter */
  .cm3-fig__more { grid-template-columns: minmax(0, 1fr); }

  .cm3-bill__t { font-size: clamp(2rem, 9.4vw, 2.7rem); }
  .cm3-bill__no { font-size: 2rem; }

  .cm3-roles { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .cm3-roles__list li { font-size: 1.3rem; }
  .cm3-pinned__hint { display: none; }
  .cm3-prints { column-gap: 14px; row-gap: 22px; }
  .cm3-print__cap { font-size: 0.56rem; letter-spacing: 0.1em; padding: 9px 1px 10px; }
  .cm3-print__cap::after { display: none; }

  .cm3-reel__head { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .cm3-frame { width: 84vw; padding: 0 5px; }
  .cm3-film__track { padding-block: 26px; background-size: 22px 26px, 22px 26px, auto; }

  .cm3-quote__q p { font-size: clamp(2.2rem, 10.4vw, 3.2rem); text-indent: 0; }

  .cm3-cta__title { font-size: clamp(2.9rem, 13.6vw, 4rem); }
  .cm3-ticket { min-height: 58px; font-size: 0.74rem; }
  .cm3-ticket__t { padding: 0 18px 0 22px; }
  .cm3-ticket__stub { padding: 0 18px 0 16px; }

  .cm3-footnav { flex-direction: column; }
  .cm3-foot__row { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   MOTION
   ================================================================ */
@keyframes cm3Rise { from { transform: translateY(104%); } to { transform: none; } }
@keyframes cm3Up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cm3Assemble {
  from { transform: translate(var(--dx, 0), var(--dy, 0)) scale(var(--s, 0.8)); opacity: 0.12; }
  to { transform: none; opacity: 1; }
}
@keyframes cm3Dim { from { opacity: 0; } to { opacity: 0.62; } }
@keyframes cm3Drift { from { translate: 5% 0; } to { translate: -4% 0; } }
@keyframes cm3DriftR { from { translate: -5% 0; } to { translate: 4% 0; } }

/* hero title card: plays on load */
.cm3--armed .cm3-title__line { clip-path: inset(-0.2em -0.3em 0 -0.3em); }
.cm3--armed .cm3-title__line > span { animation: cm3Rise 1.1s var(--e) 0.1s both; }
.cm3--armed .cm3-title__line--2 > span { animation-delay: 0.2s; }
.cm3--armed .cm3-strip { animation: cm3Up 0.8s var(--e) both; }
.cm3--armed .cm3-play { animation: cm3Up 0.8s var(--e) 0.5s both; }
.cm3--armed .cm3-intro > * { animation: cm3Up 0.9s var(--e) 0.45s both; }

/* sections: the JS adds .is-in when each one enters */
.cm3--armed .cm3-sec .cm3-label,
.cm3--armed .cm3-wall .cm3-label,
.cm3--armed .cm3-cta .cm3-label,
.cm3--armed .cm3-sec .cm3-h2,
.cm3--armed .cm3-wall .cm3-h2,
.cm3--armed .cm3-cta__title,
.cm3--armed .cm3-quote__q p {
  transition: opacity 0.8s var(--e), transform 1s var(--e);
}
.cm3--armed :is(.cm3-sec, .cm3-wall, .cm3-cta):not(.is-in) .cm3-label { opacity: 0; }
.cm3--armed :is(.cm3-sec, .cm3-wall):not(.is-in) .cm3-h2,
.cm3--armed .cm3-cta:not(.is-in) .cm3-cta__title,
.cm3--armed .cm3-word:not(.is-in) .cm3-quote__q p { opacity: 0; transform: translateY(0.35em); }

/* the enormous figures rise out of their own baseline */
.cm3--armed .cm3-fig__n > span { transition: transform 1.1s var(--e); }
.cm3--armed .cm3-fig:not(.is-in) .cm3-fig__n > span { transform: translateY(104%); }
.cm3--armed .cm3-fig__txt { transition: opacity 0.8s var(--e) 0.25s, transform 0.9s var(--e) 0.25s; }
.cm3--armed .cm3-fig:not(.is-in) .cm3-fig__txt { opacity: 0; transform: translateY(14px); }
.cm3--armed .cm3-fig__more li { transition: opacity 0.8s var(--e), transform 0.9s var(--e); transition-delay: 0.4s; }
.cm3--armed .cm3-fig__more li + li { transition-delay: 0.5s; }
.cm3--armed .cm3-fig:not(.is-in) .cm3-fig__more li { opacity: 0; transform: translateY(14px); }

/* bill rows */
.cm3--armed .cm3-bill__row { transition: opacity 0.8s var(--e), transform 1s var(--e); }
.cm3--armed .cm3-bill__row:nth-child(2) { transition-delay: 0.08s; }
.cm3--armed .cm3-bill__row:nth-child(3) { transition-delay: 0.16s; }
.cm3--armed .cm3-bill:not(.is-in) .cm3-bill__row { opacity: 0; transform: translateX(-28px); }

/* roles: typeset line by line */
.cm3--armed .cm3-roles__list li { transition: opacity 0.6s var(--e), transform 0.8s var(--e); }
.cm3--armed .cm3-board:not(.is-in) .cm3-roles__list li { opacity: 0; transform: translateY(10px); }
.cm3--armed .cm3-roles__list li:nth-child(2) { transition-delay: 0.05s; }
.cm3--armed .cm3-roles__list li:nth-child(3) { transition-delay: 0.1s; }
.cm3--armed .cm3-roles__list li:nth-child(4) { transition-delay: 0.15s; }
.cm3--armed .cm3-roles__list li:nth-child(5) { transition-delay: 0.2s; }
.cm3--armed .cm3-roles__list li:nth-child(6) { transition-delay: 0.25s; }

/* prints: pinned up one by one (the pin lands last) */
.cm3--armed .cm3-print { transition: opacity 0.7s var(--e), transform 0.9s var(--snap); }
.cm3--armed .cm3-pinned:not(.is-in) .cm3-print { opacity: 0; transform: translateY(40px) rotate(calc(var(--rot, 0deg) * -2)); }
.cm3--armed .cm3-print--2 { transition-delay: 0.08s; }
.cm3--armed .cm3-print--3 { transition-delay: 0.16s; }
.cm3--armed .cm3-print--4 { transition-delay: 0.24s; }
.cm3--armed .cm3-print--5 { transition-delay: 0.32s; }
.cm3--armed .cm3-print__pin { transition: transform 0.45s var(--snap) 0.5s, opacity 0.2s linear 0.5s; }
.cm3--armed .cm3-pinned:not(.is-in) .cm3-print__pin { opacity: 0; transform: translateY(-18px) scale(1.6); }

/* filmstrip: the strip pulls in from the right. The scroller moves, not
   the track: a transform on the track shifts its snap points, so the strip
   would re-snap to frame 02 and scroll along with the entrance. */
.cm3--armed .cm3-film { transition: transform 1.3s var(--e), opacity 0.8s var(--e); }
.cm3--armed .cm3-reel:not(.is-in) .cm3-film { transform: translateX(14%); opacity: 0; }

/* the next case */
.cm3--armed .cm3-next__print { transition: transform 0.9s var(--snap), opacity 0.7s var(--e); }
.cm3--armed .cm3-outro:not(.is-in) .cm3-next__print { opacity: 0; transform: rotate(8deg) translateY(30px); }

/* THE WALL ASSEMBLY
   1. scroll-driven (Chrome 115+, Safari 26+): each screen travels from
      its off-grid spot to its cell while its row scrolls in. No JS.
   2. elsewhere, when armed: the JS adds .is-in per row and the screens
      transition in, staggered. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body.cm3 .cm3-mosaic { view-timeline: --cm3row block; }
    body.cm3 .cm3-tile {
      animation: cm3Assemble linear both;
      animation-timeline: --cm3row;
      animation-range: entry var(--r0, 0%) cover 44%;
    }
    /* figures drift a little against the scroll */
    body.cm3 .cm3-fig__n {
      animation: cm3Drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    body.cm3 .cm3-fig--8 .cm3-fig__n { animation-name: cm3DriftR; }
    /* lights down in the screening room as the band rises */
    body.cm3 .cm3-screen::after {
      animation: cm3Dim linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90svh;
    }
  }
}
@supports not (animation-timeline: view()) {
  .cm3--armed .cm3-tile { transition: transform 1.2s var(--e), opacity 0.9s var(--e); }
  .cm3--armed .cm3-tile:nth-child(2) { transition-delay: 0.08s; }
  .cm3--armed .cm3-tile:nth-child(3) { transition-delay: 0.16s; }
  .cm3--armed .cm3-tile:nth-child(4) { transition-delay: 0.24s; }
  .cm3--armed .cm3-mosaic:not(.is-in) .cm3-tile { transform: translate(var(--dx, 0), var(--dy, 0)) scale(var(--s, 0.8)); opacity: 0.12; }
}

/* belt and braces: never animate for reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.cm3 *,
  body.cm3 *::before,
  body.cm3 *::after { animation: none !important; transition: none !important; }
  .cm3-film { scroll-behavior: auto; }
}
