/* =========================================================================
   HAIDERISTIC 2027 · inner pages (Part 2)
   Loaded after style.css on every page except the homepage. Same tokens,
   same restraint: ink and bone, the sunset only on the primary action,
   one italic word per heading, timecode numerals and the horizon.
   Labels drawn from data-* attributes are decoration only; every fact they
   show is also in the page copy.
   ========================================================================= */

:root { --navs: 64px; }

/* ---------- shared: the grain that lives on footage frames only ---------- */
.sph-frame::after, .pw-hero::after, .lost .noise {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px; animation: grain .9s steps(5) infinite;
}

/* italic word in headings: serif, bone; in hero titles it takes the sunset */
.sp-section h2 em, .rel-t em, .sent h1 em, .wk-hero h1 em { padding-right: .06em; }

/* =========================================================================
   SERVICE HERO · a title card over a real frame
   ========================================================================= */
.sp-hero.sph { padding: var(--navs) 0 0; overflow: visible; }
.sp-hero.sph::before { display: none; }
.sph-frame {
  position: relative; isolation: isolate; overflow: hidden; background: #050505;
  height: clamp(500px, calc(100svh - var(--navs) - 210px), 780px);
}
.js .sph-frame { animation: lb-open 1.3s var(--ease-io) .05s both; }
.sph-media { position: absolute; inset: 0; z-index: 0; }
.sph-media picture, .sph-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.sph-media img { filter: grayscale(.34) sepia(.06) contrast(1.08) brightness(.92); }
.js .sph-media img { animation: bleed 2.4s var(--ease) .25s both; }
.sph-grade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.74) 24%, rgba(10,10,11,.18) 52%, rgba(10,10,11,0) 66%),
    linear-gradient(90deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,.28) 42%, rgba(10,10,11,0) 70%),
    linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 22%);
}
.sph-grade::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: screen; opacity: .8;
  background: radial-gradient(54% 30% at 70% 104%, rgba(255,106,26,.34) 0%, rgba(255,106,26,.1) 46%, rgba(255,106,26,0) 74%);
}
.sph .hud { z-index: 3; }
.sph-still {
  position: absolute; right: var(--pad); bottom: 26px; display: inline-flex; gap: 8px; align-items: baseline;
  font-size: 10.5px; letter-spacing: .14em; color: var(--bone-2); max-width: 40%; text-align: right; justify-content: flex-end; flex-wrap: wrap;
}
.sph-still b { font-weight: 400; color: var(--bone); }
.sph-title {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(30px, 4.4vh, 54px);
  margin-inline: auto; max-width: var(--max);
}
.sph-title .crumb { margin-bottom: 14px; }
.sph-title .crumb a, .sph-title .crumb span { color: var(--bone-2); }
.sph-title .crumb .cur { color: var(--bone); }
.sph .timecode { margin-bottom: clamp(14px, 1.8vh, 22px); color: var(--bone-2); }
.sp-hero.sph h1 {
  font-size: clamp(46px, min(6.3vw, 10.4vh), 124px); line-height: .85; max-width: 13em; color: var(--bone);
  text-shadow: 0 2px 34px rgba(10,10,11,.5);
}
.js .sp-hero.sph h1 { animation: rise .9s var(--ease) .35s both; }
.sp-hero.sph h1 em { filter: drop-shadow(0 2px 18px rgba(10,10,11,.55)); text-shadow: none; }
.sph > .horizon { grid-row: auto; }
.js .sph > .horizon { transform-origin: 30% 50%; animation: draw 1.4s var(--ease-io) .1s both; }
.sph-lead { padding-top: clamp(40px, 4.6vw, 72px); padding-bottom: clamp(8px, 1.4vw, 24px); }
.sph-lead .sp-lead { margin-top: 0; padding-top: 0; border-top: 0; }
.sph-lead .sp-lead-copy .sp-answer { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.55; }
.sph-lead .sp-lead > .quote-block { grid-column: 8 / -1; }
.sph-lead > .sp-lead-copy.bg-intro { margin-top: 0; padding-top: 0; border-top: 0; max-width: 860px; }

/* =========================================================================
   SECTIONS · editorial split: the title holds, the copy runs
   ========================================================================= */
.sp-section, .sp-section--deep { background: transparent; }
.sp-section { padding: clamp(88px, 8.4vw, 148px) 0 0; }
.sp-section:last-of-type { padding-bottom: clamp(88px, 8.4vw, 148px); }
.sp-section .section-head { margin-bottom: clamp(36px, 4vw, 60px); }
.sp-section .section-head h2 { font-size: clamp(44px, 6vw, 108px); max-width: 14em; }
.sp-section .section-head .timecode { color: var(--bone-2); }
.sp-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); align-items: start;
  border-top: 1px solid var(--hair); padding-top: 16px;
}
.sp-side { grid-column: 1 / span 5; position: sticky; top: calc(var(--navs) + 36px); }
.sp-side .section-head { border-top: 0; padding-top: 0; margin-bottom: 0; }
.sp-side .section-head h2 { font-size: clamp(40px, 4.3vw, 78px); line-height: .88; max-width: 9.6em; }
.sp-main { grid-column: 7 / -1; padding-top: clamp(44px, 4.6vw, 70px); min-width: 0; }
.sp-main .sp-prose { max-width: 62ch; }
.sp-main .sp-prose p { font-size: 16.5px; line-height: 1.78; }
.sp-main .sp-prose > p:first-child { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.6; color: var(--bone); }
.sp-prose h3 {
  position: relative; font-stretch: 66%; font-weight: 720; font-size: clamp(26px, 2.1vw, 34px); line-height: 1;
  margin: 44px 0 14px; padding-top: 18px; border-top: 1px solid var(--hair);
}
.sp-prose h3:first-child { margin-top: 0; }
.sp-main > * + * { margin-top: clamp(28px, 3vw, 44px); }
.sp-main .sp-faq + .sp-byline { margin-top: 32px; }
.sp-prose--after { margin-top: clamp(48px, 5vw, 80px); }

/* full-width elements that follow a split */
.sp-grid + .pc-row, .sp-grid + .film-embed, .sp-grid + .process-grid { margin-top: clamp(48px, 5vw, 84px); }
.section-head + .pc-row { margin-top: 0; }

/* =========================================================================
   POSTER CARDS · service pages, related films, thanks and 404
   ========================================================================= */
.pc-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 4.4vw, 72px); }
.pc-row > li { background: none; border: 0; border-radius: 0; min-width: 0; }
.pc-row .pc {
  position: relative; display: block; aspect-ratio: 4 / 5; height: auto; padding: 0; overflow: hidden; isolation: isolate;
  background: var(--g1); border-radius: 2px; container-type: inline-size;
  font: inherit; text-transform: none; transition: none;
}
.pc-row .pc:hover, .pc-row .pc:focus-visible { background: var(--g1); }
.pc-media { position: absolute; inset: 0; z-index: 0; display: block; overflow: hidden; }
.pc-media picture, .pc-media img, .pc-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-media img { filter: saturate(.86) contrast(1.04) brightness(.96); transform: scale(1.02); transition: filter .9s var(--ease), transform 1.6s var(--ease); }
.pc-media video { opacity: 0; transition: opacity .7s var(--ease); }
.pc.is-playing .pc-media video { opacity: 1; }
.pc:hover .pc-media img, .pc:focus-visible .pc-media img, .pc.is-lit .pc-media img { filter: saturate(1.04) contrast(1.05) brightness(1); transform: scale(1.05); }
.pc-row .pc::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; right: 0; bottom: 0; transform: none;
  font-size: 0; color: transparent;
  background: linear-gradient(0deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.5) 30%, rgba(10,10,11,0) 58%), linear-gradient(180deg, rgba(10,10,11,.45) 0%, rgba(10,10,11,0) 22%);
}
.pc-row .pc::before {
  content: ""; position: absolute; z-index: 3; inset: auto 0 0 0; top: auto; height: 2px; background: var(--sun); box-shadow: 0 0 16px rgba(255,106,26,.75);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.pc-row .pc:hover::before, .pc-row .pc:focus-visible::before, .pc-row .pc.is-playing::before { transform: scaleX(1); }
.pc-i {
  position: absolute; z-index: 2; top: 0; left: 0;
  font-family: var(--f-mono); font-size: 10.5px; line-height: 1; letter-spacing: .1em; color: var(--bone);
  background: var(--ink); padding: 9px 11px 8px; font-variant-numeric: tabular-nums;
}
.pc-i[data-n]::before { content: "No. " attr(data-n); }
.pc-rt { position: absolute; z-index: 2; top: 10px; right: 10px; }
.pc-rt::before {
  content: attr(data-rt); display: block;
  font-family: var(--f-mono); font-size: 10px; line-height: 1; letter-spacing: .12em; color: var(--bone);
  padding: 6px 8px 5px; border: 1px solid rgba(241,236,227,.42); background: rgba(10,10,11,.34);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-variant-numeric: tabular-nums;
}
.pc.is-playing .pc-rt::before { border-color: var(--s2); }
.pc-cap { position: absolute; z-index: 2; inset: auto 0 0 0; display: grid; gap: 8px; justify-items: start; padding: clamp(14px, 7cqi, 26px); transition: transform .8s var(--ease); }
.pc:hover .pc-cap, .pc:focus-visible .pc-cap { transform: translateY(-6px); }
.pc-cap .k { display: block; margin: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-mono); font-weight: 400; font-size: 10px; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; color: rgba(241,236,227,.86); }
.pc-t {
  display: block; font-family: var(--f-display); font-stretch: 62%; font-weight: 760; text-transform: uppercase; color: var(--bone);
  font-size: clamp(22px, 12.4cqi, 46px); line-height: .9; letter-spacing: .002em; text-wrap: balance;
}
.pc-c { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }

/* a film that lives on YouTube: no poster here, so a typographic frame */
.pc-media--ext {
  background:
    radial-gradient(70% 50% at 50% 108%, rgba(255,106,26,.32) 0%, rgba(255,106,26,.08) 50%, rgba(255,106,26,0) 76%),
    repeating-linear-gradient(0deg, rgba(241,236,227,.035) 0 1px, transparent 1px 4px),
    #0d0d0f;
}
.pc-yt {
  position: absolute; left: 50%; top: 42%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 10px rgba(255,106,26,.12), 0 18px 50px -12px rgba(255,106,26,.6);
  transition: transform .6s var(--ease);
}
.pc-yt::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -5px; border-left: 16px solid var(--on-sun); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.pc--ext:hover .pc-yt, .pc--ext:focus-visible .pc-yt { transform: scale(1.06); }

/* =========================================================================
   EMBEDDED FILMS, SPLIT FILM BLOCKS
   ========================================================================= */
.film-embed--wide { max-width: none; }
.sp-section > .wrap > .film-embed--wide:first-child { margin-top: 0; }
.sp-grid + .film-embed--wide { margin-top: clamp(48px, 5vw, 84px); }
.sp-split .pc-row { margin-top: 0; }
@media (min-width: 961px) {
  .sp-split { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; }
  .sp-split > :first-child { grid-column: 1 / span 8; }
  .sp-split > .film-embed { grid-column: 9 / -1; justify-self: end; width: 100%; max-width: 440px; }
  .sp-split .pc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; height: 100%; }
  .sp-split .pc-row .pc { aspect-ratio: auto; height: 100%; min-height: 260px; }
  .sp-split .sp-prose + .pc-row { margin-top: 40px; height: auto; }
}
@media (max-width: 960px) {
  .sp-split > :first-child, .sp-split > .film-embed { grid-column: 1 / -1; }
  .sp-split > .film-embed--vert { width: 100%; max-width: 420px; justify-self: center; }
}

/* =========================================================================
   PROCESS · the homepage line, on every service page
   ========================================================================= */
.process-grid { position: relative; border-top: 0; padding-top: 58px; gap: 0 var(--gap); container-type: inline-size; }
.process-grid::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(241,236,227,.24) 0%, rgba(241,236,227,.24) 54%, rgba(255,178,63,.7) 68%, #FF6A1A 78%, #FF3D5A 92%, rgba(255,61,90,.2) 100%);
}
.process-grid::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 120px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,178,63,0), #FFB23F 60%, #fff3df); box-shadow: 0 0 14px rgba(255,106,26,.9);
  animation: spark-p 5.5s var(--ease-io) infinite;
}
@keyframes spark-p { 0% { transform: translateX(-120px); opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 78%, 100% { transform: translateX(76cqi); opacity: 0; } }
.process-grid .step::before { content: ""; position: absolute; top: -63px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1px solid var(--bone); }
.process-grid .step:last-child::before { background: var(--s2); border-color: var(--s1); box-shadow: 0 0 0 5px rgba(255,106,26,.15), 0 0 22px rgba(255,106,26,.8); }
.process-grid .step-num { font-size: clamp(84px, 7.6vw, 132px); line-height: .8; color: #6B675F; }
.process-grid .step h3 { margin-top: 24px; font-stretch: 62%; font-weight: 720; font-size: clamp(30px, 2.6vw, 42px); line-height: .95; }
.process-grid .step p { max-width: 30ch; }

/* =========================================================================
   QUESTIONS, KIT, CLIENTS, BYLINE
   ========================================================================= */
.sp-main .sp-faq { max-width: none; }
.sp-faq dt { padding: 28px 0 0 58px; font-stretch: 72%; font-weight: 640; font-size: clamp(21px, 1.75vw, 28px); line-height: 1.2; }
.sp-faq dt::before { top: 34px; color: var(--s2); }
.sp-faq dd { margin-left: 58px; padding-bottom: 28px; font-size: 16px; line-height: 1.72; }
.sp-faq dt { transition: color .3s; }
.sp-byline { font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.4; color: var(--bone-2); }
.sp-byline a { font-family: var(--f-body); font-style: normal; font-size: .8em; }
.sp-main .sp-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(32px, 3.4vw, 48px); }
.sp-kit dd { font-size: clamp(19px, 1.5vw, 23px); }
#clients .clients-row { border-top: 1px solid var(--hair); padding-top: 22px; }
.clients-row [role="listitem"] { transition: color .3s; }
.clients-row [role="listitem"]:hover { color: var(--s1); }

/* =========================================================================
   QUOTE · the dusk panel at the end of every inner page
   ========================================================================= */
.sp-quote { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(96px, 9vw, 160px); padding-bottom: clamp(120px, 12vw, 208px); margin-top: clamp(40px, 4vw, 72px); }
.q-glow {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 86%; pointer-events: none;
  background:
    radial-gradient(52% 58% at 64% 100%, rgba(255,106,26,.22) 0%, rgba(122,42,16,.14) 42%, rgba(10,10,11,0) 76%),
    radial-gradient(20% 20% at 64% 100%, rgba(255,178,63,.22) 0%, rgba(255,178,63,0) 80%);
}
.horizon--q { position: absolute; left: 0; right: 0; bottom: 0; grid-row: auto; opacity: .9; }
.sp-quote .section-head { border-top: 0; padding-top: 0; }
.sp-quote .section-head h2 { font-size: clamp(56px, 7.6vw, 140px); line-height: .84; max-width: 6.4em; }
.sp-quote .section-head h2 em { display: inline-block; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap > .section-head--quote { grid-column: 1 / span 6; }
.wrap > .section-head--quote + .quote-block--end { grid-column: 7 / -1; }
.sp-quote .quote-block { background: rgba(14, 14, 16, .78); box-shadow: 0 40px 120px -40px rgba(0,0,0,.8); }

/* =========================================================================
   THE GUIDE · table and studios
   ========================================================================= */
.bg-answer-box { border-left: 0; padding: 22px 24px; background: rgba(241,236,227,.03); border: 1px solid var(--hair); border-radius: 3px; position: relative; }
.bg-answer-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--sun-v); }
.bg-table { font-size: 14.5px; }
.bg-table tbody tr { transition: background-color .3s; }
.bg-table tbody tr:hover { background: rgba(241,236,227,.025); }
.bg-table td:first-child { font-size: 23px; padding-left: 14px; }
.bg-table th:first-child { padding-left: 14px; }
.bg-table tr.is-us { background: linear-gradient(90deg, rgba(255,106,26,.1), rgba(255,106,26,.02) 60%, rgba(255,106,26,0)); }
.bg-table tr.is-us td:first-child { box-shadow: inset 2px 0 0 var(--s2); }
.bg-list { counter-reset: st; gap: 0; border-top: 1px solid var(--hair); }
.bg-entry {
  counter-increment: st; position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); align-items: start;
  background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: clamp(32px, 3.4vw, 52px) 0;
}
.bg-entry::before {
  content: counter(st, decimal-leading-zero); grid-column: 1 / span 1; grid-row: 1 / span 2;
  font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(44px, 4.4vw, 76px); line-height: .8; color: #6B675F; font-variant-numeric: tabular-nums;
}
.bg-entry > .bg-kind { grid-column: 2 / span 4; grid-row: 1; }
.bg-entry > h3 { grid-column: 2 / span 4; grid-row: 2; font-size: clamp(30px, 3vw, 48px); }
.bg-entry > p, .bg-entry > .bg-facts, .bg-entry > .bg-src { grid-column: 7 / -1; }
.bg-entry > p:first-of-type { grid-row: 1 / span 2; margin-top: 0; }
.bg-entry#haideristic { border-color: var(--hair); }
.bg-entry#haideristic::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--sun); box-shadow: 0 0 14px rgba(255,106,26,.5); }
.bg-entry#haideristic::before { background: var(--sun-v); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* =========================================================================
   /WORK · the archive
   ========================================================================= */
section.work-top.wk-hero { position: relative; isolation: isolate; padding-top: calc(var(--navs) + clamp(40px, 6vh, 80px)); }
.wk-wall {
  position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: min(104svh, 1040px); overflow: hidden; pointer-events: none;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; padding: 0 12px; align-items: start;
  transform: rotate(-5deg) scale(1.22); transform-origin: 60% 30%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 72%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 72%);
}
.wk-wall::after { content: ""; position: absolute; inset: -20%; background: radial-gradient(70% 60% at 30% 40%, rgba(10,10,11,.9) 0%, rgba(10,10,11,.55) 60%, rgba(10,10,11,.35) 100%); }
.wk-col { display: grid; gap: 12px; }
.wk-col:nth-child(even) { margin-top: -18%; }
.wk-col img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 2px; filter: grayscale(.55) contrast(1.1) brightness(.62); }
@media (prefers-reduced-motion: no-preference) {
  .wk-col { animation: wk-drift 46s ease-in-out infinite alternate; }
  .wk-col:nth-child(even) { animation-duration: 58s; animation-direction: alternate-reverse; }
  @keyframes wk-drift { from { transform: translateY(0); } to { transform: translateY(-16%); } }
}
.wk-hero .section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); align-items: end;
  border-top: 0; padding-top: 0; margin-bottom: 0;
}
.wk-hero .section-head > .timecode { grid-column: 1 / -1; color: var(--bone-2); }
.wk-hero .section-head > h1 {
  grid-column: 1 / -1; margin-top: clamp(18px, 2.4vh, 30px); font-size: clamp(64px, 10.4vw, 196px); line-height: .82; max-width: 9em;
  text-shadow: 0 2px 40px rgba(10,10,11,.6);
}
.wk-hero h1 em { background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 18px rgba(10,10,11,.5)); }
.wk-hero .work-intro { grid-column: 1 / span 6; margin-top: clamp(28px, 3.4vw, 48px); max-width: 64ch; }
.wk-hero .work-intro p { font-size: 16.5px; line-height: 1.7; color: var(--bone-2); }
.wk-stats { grid-column: 8 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--hair-2); }
.wk-stats div { padding: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.wk-stats dd { order: -1; }
.wk-stats div + div { padding-left: var(--gap); border-left: 1px solid var(--hair); }
.wk-stats dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); line-height: 1.45; }
.wk-stats dd { font-family: var(--f-display); font-stretch: 62%; font-weight: 760; font-size: clamp(40px, 3.6vw, 64px); line-height: .85; font-variant-numeric: tabular-nums; }
.wk-stats dd i { font-style: normal; background: var(--sun-v); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* filter bar: channels, with counts */
.wk-hero .filter-bar { margin-top: clamp(48px, 6vw, 96px); top: var(--navs); background: rgba(10,10,11,.88); }
.filters button { display: inline-flex; align-items: center; gap: 8px; }
.filters button[data-c]::after { content: attr(data-c); font-size: 9px; letter-spacing: .08em; color: var(--smoke); transition: color .3s; }
.filters button.on[data-c]::after { color: rgba(10,10,11,.72); }
.fb-end { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
/* round 7: the count comes first in the markup (the archive's words keep their order), the switch shows first */
.fb-end .wk-view { order: -1; }
.wk-view { display: inline-flex; padding: 3px; border: 1px solid var(--hair-2); border-radius: 999px; }
.wk-view button {
  height: 28px; padding: 0 12px; border-radius: 999px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2);
  transition: background-color .3s, color .3s;
}
.wk-view button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }

/* the mosaic */
.reel-grid {
  --cols: 5;
  --cw: calc((min(100vw, var(--max)) - 2 * var(--pad) - (var(--cols) - 1) * var(--gap)) / var(--cols));
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: calc(var(--cw) * 1.62); grid-auto-flow: dense;
}
.reel-grid .work-card { aspect-ratio: auto; height: 100%; }
.reel-grid .work-card.horiz { grid-column: span 2; }
.reel-grid .work-card.pc--feat { grid-column: span 2; grid-row: span 2; }
.work-card .pc-media { position: absolute; inset: 0; z-index: 0; }
.work-card .pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card .tc-tag { z-index: 3; }
.work-card .pc-rt { z-index: 3; }
.work-card .card-meta { z-index: 3; }
.work-card .card-meta .t { font-size: clamp(20px, 12cqi, 40px); }
.work-card.horiz .card-meta .t { font-size: clamp(22px, 6.6cqi, 46px); }
.work-card.pc--feat .card-meta .t { font-size: clamp(30px, 8.6cqi, 76px); }
.work-card.pc--feat .card-meta { padding: clamp(16px, 5cqi, 32px); }
.work-card::after { background: linear-gradient(0deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.42) 30%, rgba(10,10,11,0) 54%), linear-gradient(180deg, rgba(10,10,11,.42) 0%, rgba(10,10,11,0) 20%); z-index: 2; }
.work-card::before { z-index: 4; }
.work-card.is-playing::before { transform: scaleX(1); }
.work-card .card-meta { transition: transform .8s var(--ease); }
.work-card:hover .card-meta, .work-card:focus-visible .card-meta { transform: translateY(-6px); }
/* round 5: the client line under a film's title stays as quiet as it was (smoke, mono, 10px); a soft ink halo keeps it at
   4.5:1 or more over the brightest part of any poster */
.work-card .card-meta .c { text-shadow: 0 0 2px rgba(10,10,11,.7), 0 1px 8px rgba(10,10,11,.85); }

/* index view: the same cards as rows */
.reel-grid.is-index { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--hair); }
.reel-grid.is-index .work-card {
  aspect-ratio: auto; height: auto; overflow: visible; background: none; border-radius: 0; container-type: normal;
  display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 220px) 70px 64px; align-items: center; gap: 0 var(--gap);
  padding: 14px 0; border-bottom: 1px solid var(--hair); transition: background-color .4s;
}
.reel-grid.is-index .work-card:hover, .reel-grid.is-index .work-card:focus-visible { background: rgba(241,236,227,.025); }
.reel-grid.is-index .work-card::after { display: none; }
.reel-grid.is-index .work-card::before { bottom: -1px; height: 1px; z-index: 1; }
.reel-grid.is-index .tc-tag { position: static; grid-column: 1; grid-row: 1; background: none; padding: 0; color: var(--smoke); }
.reel-grid.is-index .card-meta, .reel-grid.is-index .card-meta > div { display: contents; }
.reel-grid.is-index .card-meta .t { grid-column: 2; grid-row: 1; font-size: clamp(24px, 2.4vw, 40px); transition: transform .6s var(--ease); }
.reel-grid.is-index .work-card:hover .card-meta .t { transform: translateX(10px); }
.reel-grid.is-index .card-meta .c { grid-column: 3; grid-row: 1; margin: 0; color: var(--bone-2); }
.reel-grid.is-index .pc-rt { position: static; grid-column: 4; grid-row: 1; justify-self: end; }
.reel-grid.is-index .pc-rt::before { border: 0; background: none; padding: 0; color: var(--smoke); -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 10.5px; }
.reel-grid.is-index .pc-media { position: relative; inset: auto; grid-column: 5; grid-row: 1; width: 64px; aspect-ratio: 3 / 4; border-radius: 2px; justify-self: end; transition: width .6s var(--ease); }
.reel-grid.is-index .work-card:hover .pc-media { width: 64px; }
.reel-grid.is-index .go { display: none; }
.reel-grid.is-index .work-card:hover .card-meta, .reel-grid.is-index .work-card:focus-visible .card-meta { transform: none; }
.reel-grid.is-index .work-card .card-meta { transform: none; }

/* photography: the spread and the contact sheet are at the end of this file (round 3) */
.wk-photos { padding-top: clamp(96px, 9vw, 160px); }
.wk-photos .section-head h2 { font-size: clamp(48px, 6.4vw, 116px); }
.work-cta { display: flex; justify-content: flex-end; }

/* =========================================================================
   FILM PAGES · the screening room (vertical films)
   ========================================================================= */
.proj-v, .proj-w { position: relative; isolation: isolate; }
.proj-v { padding: calc(var(--navs) + clamp(28px, 4.4vh, 56px)) 0 0; }
.pv-amb { position: absolute; z-index: -1; top: 0; right: 0; width: 72%; height: min(110svh, 1100px); overflow: hidden; pointer-events: none; opacity: .62;
  -webkit-mask-image: radial-gradient(60% 56% at 72% 34%, #000 0%, rgba(0,0,0,.5) 50%, transparent 82%); mask-image: radial-gradient(60% 56% at 72% 34%, #000 0%, rgba(0,0,0,.5) 50%, transparent 82%); }
.pv-amb img { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(70px) saturate(.9) brightness(.42); }
.proj-w .pv-amb { top: 0; height: 100%; width: 100%; opacity: .34; }
.pv-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 0 var(--gap); align-items: start; }
.pv-copy { grid-column: 1 / span 7; grid-row: 1; min-width: 0; }
.proj-v h1, .proj-w h1 { margin-top: clamp(16px, 2.2vh, 28px); font-size: clamp(60px, min(9.4vw, 17vh), 176px); line-height: .82; max-width: 7.2em; }
.proj-body h1 .t2, .proj-hero h1 .t2 { color: transparent; background: var(--sun); -webkit-background-clip: text; background-clip: text; padding-right: .08em; }
.proj-v .proj-meta {
  display: grid; grid-template-columns: 1fr; gap: 0; margin-top: clamp(28px, 3.6vh, 48px); max-width: 560px; border-top: 1px solid var(--hair);
}
.proj-v .proj-meta > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--hair); }
.proj-v .proj-meta > div + div { padding-left: 0; border-left: 0; }
.proj-meta .k, .pm-x::before { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); margin: 0; }
.proj-v .proj-meta .v, .pm-x::after { font-family: var(--f-display); font-stretch: 75%; font-weight: 640; text-transform: uppercase; font-size: clamp(16px, 1.3vw, 20px); letter-spacing: .04em; line-height: 1.2; color: var(--bone); }
.pm-x::before { content: attr(data-k); }
.pm-x::after { content: attr(data-v); font-variant-numeric: tabular-nums; }
.pv-screen { grid-column: 8 / -1; grid-row: 1 / span 2; justify-self: end; width: min(100%, calc((100svh - var(--navs) - 150px) * 9 / 16)); min-width: 300px; position: sticky; top: calc(var(--navs) + 24px); }
.pv-hud, .pw-screen .pv-hud {
  display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
  font-family: var(--f-mono); font-size: 10.5px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2);
}
.pv-hud span[data-t]::before { content: attr(data-t); }
.pv-hud .pv-rt { margin-left: auto; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.pv-hud .pv-rec { display: inline-flex; align-items: center; gap: 8px; }
.pv-hud .pv-rec::after { content: "REC"; color: var(--bone); }
.pv-screen .film-frame::before, .pv-screen .film-frame::after { border-color: rgba(241,236,227,.6); }
.pv-screen .hplayer-stage, .pw-screen .hplayer-stage { box-shadow: 0 50px 120px -40px rgba(0,0,0,.9); }
.pv-screen .film-cap, .pw-screen .film-cap { margin-top: 14px; }
.proj-v .proj-story { grid-column: 1 / span 6; grid-row: 2; max-width: 62ch; margin-top: clamp(40px, 5vh, 64px); }
.proj-story { border-top: 1px solid var(--hair); }
.proj-story h2 { font-size: clamp(30px, 2.6vw, 44px); margin-bottom: 18px; }
.proj-story p:first-of-type { color: var(--bone); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; }
.proj-story .proj-rel { margin-top: 28px; }

/* the stills strip: a reel running under the film */
.pv-strip { position: relative; margin-top: clamp(72px, 8vw, 128px); padding: 34px 0; }
.pv-strip::before, .pv-strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='10'%3E%3Crect x='7' y='1.5' width='12' height='7' rx='1.8' fill='none' stroke='%23F1ECE3' stroke-opacity='.5'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: 26px 10px;
}
.pv-strip::before { top: 0; } .pv-strip::after { bottom: 0; }
.pv-stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: fr; }
.pv-still { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--g1); border-radius: 2px; counter-increment: fr; }
/* round 3 fix 2: a still cut from a 4K master sits in a <picture> (AVIF cuts by width); the picture fills the frame, so
   the parallax scale (motion.css, on the picture) never leaves the image with no height */
.pv-still picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; filter: saturate(.88) contrast(1.03) brightness(.97); transition: filter .8s var(--ease), transform 1.4s var(--ease); }
.pv-still:hover img, .pv-still img:focus-visible { filter: none; transform: scale(1.03); }
.pv-still::after {
  content: "FR " counter(fr, decimal-leading-zero); position: absolute; z-index: 2; left: 0; top: 0; pointer-events: none;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--bone); background: var(--ink); padding: 8px 10px 7px;
}
.pv-stills--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-stills--wide .pv-still { aspect-ratio: 16 / 9; }
.pv-stills--wide .pv-still:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }

/* wide films: a title card, then the screen */
.proj-hero.pw-hero { min-height: 0; height: clamp(520px, calc(100svh - 120px), 860px); padding: 0 0 clamp(40px, 6vh, 72px); margin-top: var(--navs); display: flex; align-items: flex-end; }
.js .pw-hero { animation: lb-open 1.3s var(--ease-io) .05s both; }
.pw-hero .hero-media img { filter: grayscale(.3) sepia(.06) contrast(1.08) brightness(.86); }
.js .pw-hero .hero-media img { animation: bleed 2.4s var(--ease) .25s both; }
.pw-hero .hero-media::after { background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.06) 34%, rgba(10,10,11,.5) 66%, rgba(10,10,11,.96) 100%), linear-gradient(90deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,0) 60%); }
.pw-hero .hud { z-index: 3; }
.pw-hero > .horizon { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; grid-row: auto; }
.pw-hero .crumb a, .pw-hero .crumb span { color: var(--bone-2); }
.pw-hero h1 { text-shadow: 0 2px 34px rgba(10,10,11,.5); max-width: 9em; }
.pw-hero .proj-meta { grid-template-columns: repeat(5, minmax(0, 1fr)); border-top-color: var(--hair-2); }
.pw-hero .proj-meta > .pm-x { padding: 16px 0 0 var(--gap); border-left: 1px solid var(--hair); display: flex; flex-direction: column; gap: 8px; }
.pw-hero .pm-x::after { font-family: var(--f-body); font-stretch: 100%; font-weight: 400; text-transform: none; font-size: 15px; letter-spacing: 0; }
.proj-w { padding-top: clamp(48px, 5vw, 84px); }
.pw-screen { margin-top: 0; }
.pw-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); }
.pw-grid .proj-story { grid-column: 1 / span 7; max-width: 64ch; margin-top: clamp(56px, 6vw, 96px); }

/* previous and next, each with its poster */
.proj-nav { position: relative; }
.pn { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(180px, 16vw, 260px); display: flex; flex-direction: column; justify-content: flex-start; padding-top: clamp(40px, 4vw, 64px); }
.pn.prev .lab::after { content: " project"; }
.pn-media { position: absolute; z-index: -1; top: 0; bottom: 0; width: 46%; overflow: hidden; pointer-events: none; opacity: .28; transition: opacity .8s var(--ease); }
.pn.prev .pn-media { left: auto; right: var(--gap); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.pn.next .pn-media { left: var(--gap); -webkit-mask-image: linear-gradient(270deg, transparent, #000 70%); mask-image: linear-gradient(270deg, transparent, #000 70%); }
.pn-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.8); transition: filter .8s var(--ease), transform 1.4s var(--ease); }
.pn:hover .pn-media, .pn:focus-within .pn-media { opacity: .62; }
.pn:hover .pn-media img, .pn:focus-within .pn-media img { filter: none; transform: scale(1.04); }
.pn .big { font-size: clamp(30px, 3.8vw, 64px); }
.pn .big:hover { color: var(--bone); }
.pn .big { background-image: var(--sun); background-repeat: no-repeat; background-size: 0 1px; background-position: 0 100%; transition: background-size .7s var(--ease), transform .5s var(--ease); }
.pn .big:hover, .pn .big:focus-visible { background-size: 100% 1px; }

/* keep watching */
.rel { padding: clamp(88px, 8vw, 136px) 0 clamp(88px, 8vw, 136px); }
.rel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(26px, 3vw, 44px); }
.rel-t {
  font-family: var(--f-display); font-stretch: 64%; font-weight: 720; text-transform: uppercase; font-size: clamp(44px, 6vw, 108px); line-height: .86; letter-spacing: -.008em;
}
.rel-t em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.012em; font-size: 1.06em; }
.rel-row { margin-top: clamp(32px, 3.6vw, 56px); }
.rel--end { padding-top: clamp(40px, 4vw, 64px); }
.rel--end .rel-t { font-size: clamp(36px, 4.4vw, 72px); }

/* =========================================================================
   THANKS AND 404
   ========================================================================= */
.sent, .lost { min-height: calc(100svh - 40px); }
.sent::before, .lost::before { display: none; }
.end-sky {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 64%; pointer-events: none;
  background:
    radial-gradient(50% 44% at 50% 100%, rgba(255,106,26,.26) 0%, rgba(122,42,16,.16) 44%, rgba(10,10,11,0) 78%),
    linear-gradient(180deg, rgba(10,10,11,0) 0%, rgba(29,12,6,.5) 70%, rgba(59,22,9,.4) 100%);
}
.horizon--end { position: absolute; left: 0; right: 0; bottom: 0; grid-row: auto; }
.sent h1 em { color: transparent; background: var(--sun); -webkit-background-clip: text; background-clip: text; }
.sent .mark { animation: none; }
.sent .next { background: rgba(14,14,16,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 0 24px; border: 1px solid var(--hair); border-radius: 3px; }
.sent .next > div:nth-last-child(-n+2) { border-bottom: 0; }
.lost { background: radial-gradient(70% 60% at 50% 46%, #141416 0%, var(--ink) 70%); }
.lost .noise { position: absolute; inset: 0; z-index: 0; opacity: .1; }
.lost .hud { position: absolute; inset: calc(var(--navs) + 10px) 0 0 0; z-index: 1; }
.lost .wrap { position: relative; z-index: 2; }
.lost .code { letter-spacing: -.02em; filter: drop-shadow(0 0 40px rgba(255,106,26,.25)); }
.js .lost .code { animation: flicker 3.2s steps(1) 1s infinite; }
@keyframes flicker { 0%, 100% { opacity: .9; } 46% { opacity: .9; } 47% { opacity: .35; } 48% { opacity: .9; } 72% { opacity: .9; } 73% { opacity: .55; } 74% { opacity: .9; } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1280px) {
  .reel-grid { --cols: 4; }
}
@media (max-width: 1180px) {
  .wk-hero .work-intro { grid-column: 1 / span 7; }
  .wk-stats { grid-column: 1 / -1; margin-top: 32px; max-width: 640px; }
  .pv-copy, .proj-v .proj-story { grid-column: 1 / span 7; }
  .pc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-split .pc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-grid.is-index .work-card { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 180px) 60px 56px; }
}
@media (max-width: 960px) {
  .sp-side { grid-column: 1 / -1; position: static; }
  .sp-main { grid-column: 1 / -1; padding-top: 32px; }
  .sph-lead .sp-lead > .quote-block { grid-column: 1 / -1; }
  .reel-grid { --cols: 3; }
  .wrap > .section-head--quote, .wrap > .section-head--quote + .quote-block--end { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 56px var(--gap); padding-top: 58px; }
  .process-grid::after { display: none; }
  .process-grid .step:nth-child(n+3)::before { display: none; }
  .bg-entry > .bg-kind, .bg-entry > h3 { grid-column: 2 / -1; }
  .bg-entry > p, .bg-entry > .bg-facts, .bg-entry > .bg-src { grid-column: 2 / -1; }
  .bg-entry > p:first-of-type { grid-row: auto; margin-top: 16px; }
  .bg-facts { grid-template-columns: 1fr 1fr; }
  .pv-grid { grid-template-columns: minmax(0, 1fr); }
  .pv-copy { display: contents; }
  .pv-copy > .crumb { order: 1; } .pv-copy > .timecode { order: 2; } .pv-copy > h1 { order: 3; }
  .pv-screen { order: 4; grid-column: 1; grid-row: auto; position: static; justify-self: center; width: min(100%, calc(78svh * 9 / 16)); min-width: 0; margin-top: 32px; }
  .pv-copy > .proj-meta { order: 5; max-width: none; }
  .proj-v .proj-story { order: 6; grid-column: 1; grid-row: auto; }
  .pw-hero .proj-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pw-hero .proj-meta > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .pw-grid .proj-story { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --navs: 60px; }
  /* service hero: the frame, then the title under it */
  .sph-frame { height: auto; overflow: visible; background: var(--ink); display: flex; flex-direction: column; }
  .sph-media { position: relative; inset: auto; aspect-ratio: 16 / 10; width: 100%; overflow: hidden; }
  .sph-grade, .sph .hud { bottom: auto; height: calc(100vw * 10 / 16); }
  .sph-frame::after { bottom: auto; height: calc(100vw * 10 / 16); }
  .sph-grade { background: linear-gradient(0deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.2) 22%, rgba(10,10,11,0) 36%), linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 32%); }
  .sph .hud-tl, .sph .hud-tr { top: 16px; }
  .sph .crn.bl, .sph .crn.br { display: none; }
  .sph-still { bottom: 12px; right: var(--pad); max-width: 70%; font-size: 10px; }
  .sph-title { position: relative; bottom: auto; padding-top: 18px; }
  .sp-hero.sph h1 { font-size: clamp(38px, 11.4vw, 58px); line-height: .88; }
  .sph > .horizon { display: none; }
  .sph-lead { padding-top: 26px; padding-bottom: 64px; }
  .sph-lead .sp-lead-copy .sp-answer { font-size: 17.5px; }
  .sp-section { padding-top: 76px; }
  .sp-section .section-head h2 { font-size: clamp(40px, 12vw, 60px); }
  .sp-side .section-head h2 { font-size: clamp(40px, 12vw, 60px); }
  .sp-main .sp-prose > p:first-child { font-size: 17.5px; }
  .sp-main .sp-prose p { font-size: 15.5px; }
  .sp-main .sp-kit { grid-template-columns: 1fr 1fr; }
  .pc-row, .sp-split .pc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc-t { font-size: clamp(19px, 12.4cqi, 30px); }
  .pc-cap .k { font-size: 10px; letter-spacing: .1em; }
  .pc-i { font-size: 9.5px; padding: 7px 8px 6px; }
  .pc-rt { top: 7px; right: 7px; }
  .pc-rt::before { font-size: 9px; padding: 5px 6px 4px; }
  .pc-yt { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .process-grid { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-left: 28px; }
  .process-grid::before { top: 0; bottom: 0; left: 0; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(241,236,227,.24) 0%, rgba(241,236,227,.24) 55%, rgba(255,178,63,.7) 68%, #FF6A1A 76%, #FF3D5A 90%, rgba(255,61,90,.2) 100%); }
  .process-grid .step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 16px; padding: 0 0 40px; }
  .process-grid .step-num { grid-row: 1 / 3; font-size: 64px; }
  .process-grid .step h3, .process-grid .step p { grid-column: 2; }
  .process-grid .step h3 { margin-top: 4px; }
  .process-grid .step::before, .process-grid .step:nth-child(n+3)::before { display: block; top: 8px; left: -33px; }
  .sp-faq dt { padding-left: 40px; font-size: 20px; }
  .sp-faq dt::before { top: 32px; }
  .sp-faq dd { margin-left: 40px; font-size: 15px; }
  .sp-quote .section-head h2 { font-size: clamp(52px, 15vw, 80px); }
  .bg-table td:first-child { padding-left: 0; font-size: 22px; }
  .bg-table tr.is-us { padding: 18px 14px; box-shadow: inset 2px 0 0 var(--s2); }
  .bg-table tr.is-us td:first-child { box-shadow: none; }
  .bg-entry { display: block; }
  .bg-entry::before { display: block; font-size: 44px; margin-bottom: 14px; }
  .bg-facts { grid-template-columns: 1fr; }

  /* /work */
  section.work-top.wk-hero { padding-top: calc(var(--navs) + 28px); }
  .wk-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); height: 560px; transform: rotate(-6deg) scale(1.3); }
  .wk-col:nth-child(n+5) { display: none; }
  .wk-hero .section-head > h1 { font-size: clamp(54px, 16vw, 84px); }
  .wk-hero .work-intro { grid-column: 1 / -1; margin-top: 22px; }
  .wk-hero .work-intro p { font-size: 15.5px; }
  .wk-stats { margin-top: 26px; }
  .wk-stats dd { font-size: 40px; }
  .wk-stats dt { font-size: 10px; letter-spacing: .1em; }
  .wk-hero .filter-bar { margin-top: 36px; position: static; }
  .fb-end { width: 100%; justify-content: space-between; }
  .reel-grid { --cols: 2; --gap: 10px; }
  .reel-grid .work-card.pc--feat { grid-column: span 2; grid-row: span 2; }
  .reel-grid .work-card.horiz { grid-column: span 2; }
  .work-card .card-meta .t { font-size: clamp(18px, 12cqi, 30px); }
  .work-card .card-meta .c { font-size: 10px; letter-spacing: .1em; }
  .work-card .pc-rt { top: 6px; right: 6px; }
  .work-card .pc-rt::before { font-size: 9.5px; padding: 4px 5px 3px; }
  .reel-grid .work-card:not(.pc--feat):not(.horiz) .pc-rt { display: none; }
  .reel-grid.is-index .work-card { grid-template-columns: minmax(0, 1fr) 54px; grid-template-rows: auto auto auto; gap: 4px 12px; padding: 12px 0; }
  .reel-grid.is-index .tc-tag { grid-column: 1; grid-row: 1; font-size: 10px; }
  .reel-grid.is-index .card-meta .t { grid-column: 1; grid-row: 2; font-size: 24px; }
  .reel-grid.is-index .card-meta .c { grid-column: 1; grid-row: 3; font-size: 10px; }
  .reel-grid.is-index .pc-rt { display: none; }
  .reel-grid.is-index .pc-media, .reel-grid.is-index .work-card:hover .pc-media { grid-column: 2; grid-row: 1 / 4; width: 54px; }

  /* film pages */
  .proj-v { padding-top: calc(var(--navs) + 22px); }
  .pv-amb { width: 100%; opacity: .5; }
  .proj-v h1, .proj-w h1 { font-size: clamp(52px, 15.4vw, 84px); }
  .pv-screen { margin-top: 26px; }
  .pv-stills { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .pv-still::after { font-size: 9.5px; padding: 5px 6px 4px; }
  .pv-strip { margin-top: 56px; padding: 24px 0; }
  .pv-stills--wide { grid-template-columns: 1fr 1fr; }
  .proj-hero.pw-hero { height: auto; min-height: 0; display: block; padding: 0 0 28px; }
  .pw-hero .hero-media { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .pw-hero .hero-media::after { background: linear-gradient(0deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,0) 40%), linear-gradient(180deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,0) 30%); }
  .pw-hero .hud { bottom: auto; height: calc(100vw * 10 / 16); }
  .pw-hero::after { bottom: auto; height: calc(100vw * 10 / 16); }
  .pw-hero .crn.bl, .pw-hero .crn.br { display: none; }
  .pw-hero .wrap { padding-top: 18px; }
  .pw-hero > .horizon { display: none; }
  .pw-hero .proj-meta { grid-template-columns: 1fr 1fr; }
  .pw-hero .proj-meta > div:nth-child(3), .pw-hero .proj-meta > div:nth-child(5) { padding-left: 0; border-left: 0; }
  .pw-hero .proj-meta > div:nth-child(4) { padding-left: var(--gap); border-left: 1px solid var(--hair); }
  .pw-hero .proj-meta > div:nth-child(n+3) { border-top: 1px solid var(--hair); margin-top: 14px; }
  .proj-w { padding-top: 28px; }
  .pn { min-height: 150px; }
  .pn-media { width: 52%; }
  .pn.prev .pn-media { right: 0; }
  .pn.next .pn-media { left: auto; right: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
  .rel-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .rel-t { font-size: clamp(42px, 12.6vw, 64px); }

  .sent .next { padding: 0 18px; }
  .sent .next > div:nth-last-child(2) { border-bottom: 1px solid var(--hair); }
  .lost .hud { inset: calc(var(--navs) + 4px) 0 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wk-col { animation: none !important; }
  .process-grid::after { display: none; }
  .sph-frame::after, .pw-hero::after, .lost .noise { animation: none; }
  .js .lost .code { animation: none; }
}

/* =========================================================================
   PASS 2 · refinements after the first screenshots
   ========================================================================= */
section.work-top.wk-hero { overflow-x: clip; }
.filters { gap: 6px; }
.filters button { height: 32px; padding: 0 12px; font-size: 10px; letter-spacing: .09em; gap: 7px; }
.filters button[data-c]::after { font-size: 9.5px; letter-spacing: .04em; }
@media (min-width: 961px) {
  .wk-hero .filter-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.wk-wall::after { background: radial-gradient(70% 60% at 30% 40%, rgba(10,10,11,.92) 0%, rgba(10,10,11,.62) 60%, rgba(10,10,11,.42) 100%); }
.pv-amb { opacity: .78; }
.pv-amb img { filter: blur(70px) saturate(1.15) brightness(.5); }
.pw-grid .proj-story { grid-column: 1 / -1; max-width: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); padding-top: 18px; }
.pw-grid .proj-story > h2 { grid-column: 1 / span 5; grid-row: 1 / span 6; font-size: clamp(40px, 4.4vw, 78px); line-height: .88; }
.pw-grid .proj-story > p { grid-column: 7 / -1; max-width: 62ch; }
@media (max-width: 960px) {
  .pw-grid .proj-story > h2, .pw-grid .proj-story > p { grid-column: 1 / -1; grid-row: auto; }
  .pw-grid .proj-story > h2 { font-size: clamp(30px, 8vw, 44px); }
}

/* rows of one, two or three films take the width the way a cinema screen would */
@media (min-width: 721px) {
  .pc-row:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
  .pc-row > li:only-child .pc { aspect-ratio: 21 / 9; }
  .pc-row > li:only-child .pc-t { font-size: clamp(32px, 4.8cqi, 84px); }
  .pc-row > li:only-child .pc-cap { padding: clamp(20px, 3cqi, 44px); }
  .pc-row > li:only-child .pc-media img { object-position: 50% 56%; }
  .pc-row > li:only-child .pc-yt { top: 46%; width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .pc-row > li:only-child .pc-yt::before { margin: -11px 0 0 -6px; border-left-width: 20px; border-top-width: 11px; border-bottom-width: 11px; }
  .pc-row:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-row:has(> li:nth-child(2):last-child) .pc { aspect-ratio: 16 / 10; }
  .pc-row:has(> li:nth-child(2):last-child) .pc-t { font-size: clamp(28px, 7cqi, 64px); }
  .pc-row:has(> li:nth-child(2):last-child) .pc-media img { object-position: 50% 62%; }
  .pc-row:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-split .pc-row:has(> li:nth-child(3):last-child), .sp-split .pc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-split .pc-row .pc { aspect-ratio: 4 / 5; }
}
@media (max-width: 720px) {
  .pc-row > li:only-child { grid-column: 1 / -1; }
  .pc-row > li:only-child .pc { aspect-ratio: 16 / 10; }
}
.reel-grid .work-card.horiz, .reel-grid .work-card.pc--feat { aspect-ratio: auto; width: auto; }
.reel-grid.is-index .work-card.horiz, .reel-grid.is-index .work-card.pc--feat { grid-column: auto; grid-row: auto; }
.bg-entry { grid-template-rows: auto 1fr; }
.bg-entry > h3 { align-self: start; margin-top: 10px; }
@media (min-width: 961px) {
  .wk-hero .filter-bar { column-gap: 16px; }
  .filters { gap: 5px; }
  .filters button { padding: 0 10px; letter-spacing: .07em; gap: 5px; }
}
@media (max-width: 720px) { .sph .hud-tr { display: none; } }
/* the frame credit runs up the right edge like an edge code on a film strip */
@media (min-width: 721px) {
  .sph-still {
    right: clamp(14px, calc(var(--pad) - 30px), 26px); bottom: auto; top: 50%; max-width: none;
    writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); white-space: nowrap; flex-wrap: nowrap;
  }
}
.sp-section .section-head h2.h2-long { font-size: clamp(38px, 4.4vw, 76px); max-width: 18em; }


/* =========================================================================
   FIX ROUND 1 · inner pages
   ========================================================================= */
/* catalogue numbers: the archive numbers its films, everywhere the same way */
.work-card .tc-tag::before { content: "No. "; }
.reel-grid.is-index .tc-tag::before { content: "No. "; }
.proj-v .pv-copy > .timecode .tc-num::before, .pw-hero .timecode .tc-num::before { content: "No. "; }
/* numbered section kickers read as timecode, as on the homepage */
.tc-num.tc-n::before { content: "00:"; }

/* service hero: the HUD stays legible on bright frames */
.sph-grade::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 100% 0%, rgba(10,10,11,.72), rgba(10,10,11,0) 70%), linear-gradient(270deg, rgba(10,10,11,.62) 0, rgba(10,10,11,.3) 4%, rgba(10,10,11,0) 10%); }
.sph .hud-tr, .sph-still { text-shadow: 0 1px 12px rgba(10,10,11,.85); }
.sph-media img { filter: grayscale(.22) sepia(.05) contrast(1.06) brightness(.94); }

/* 4:5 still under a sticky heading */
.sp-still { position: relative; margin: clamp(32px, 3.4vw, 52px) 0 0; max-width: 420px; }
.sp-still a { display: block; }
.sp-still-m { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--g1); }
.sp-still-m img, .sp-still-m picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-still-m img { filter: saturate(.88) contrast(1.03) brightness(.96); transition: filter .9s var(--ease), transform 1.6s var(--ease); }
.sp-still a:hover img, .sp-still a:focus-visible img { filter: none; transform: scale(1.03); }
.sp-still-m::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.sp-still a:hover .sp-still-m::after, .sp-still a:focus-visible .sp-still-m::after { transform: scaleX(1); }
.sp-still figcaption { margin-top: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.sp-still figcaption b { font-weight: 400; color: var(--bone); }
@media (max-width: 960px) { .sp-still { max-width: 360px; } }
@media (max-width: 720px) { .sp-still { max-width: none; margin-top: 26px; } .sp-still-m { aspect-ratio: 16 / 11; } }

/* clients: a clean ledger, no dangling separators */
.clients-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.clients-row .dot { display: none; }
.clients-row [role="listitem"] { padding: 16px 0 14px; border-bottom: 1px solid var(--hair); font-size: clamp(22px, 2.2vw, 36px); line-height: 1.05; }
@media (max-width: 720px) { .clients-row { grid-template-columns: 1fr 1fr; } .clients-row [role="listitem"] { font-size: 21px; padding: 12px 0 10px; } }

/* YouTube and vlog films that live on the creator's channel: real thumbnails, 16:9 */
.pc-row .pc.pc--ext { aspect-ratio: 16 / 9; }
.pc-media--ext img { filter: saturate(.92) contrast(1.04) brightness(.9); }
.pc--ext .pc-yt { top: 36%; width: 54px; height: 54px; margin: -27px 0 0 -27px; z-index: 2; }
.pc--ext .pc-yt::before { margin: -8px 0 0 -4px; border-left-width: 14px; border-top-width: 8px; border-bottom-width: 8px; }
.pc-row .pc--ext::after { background: linear-gradient(0deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.45) 34%, rgba(10,10,11,0) 64%); }
@media (min-width: 961px) {
  .pc-row.pc-row--ext { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pc-row--ext > li .pc { aspect-ratio: 16 / 9; }
  .pc-row--ext .pc-t { font-size: clamp(20px, 6cqi, 32px); }
}

/* the YouTube facade: the poster until asked, then the player */
.film-embed--wide .film-frame { aspect-ratio: 16 / 9; background: #050505; }
.film-embed--wide .film-frame > iframe, .film-frame .yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.yt-facade { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: #050505; border-radius: 2px; }
.no-js-only { display: none; }
html:not(.js) .yt-facade { display: none; }
html:not(.js) .no-js-only { display: block; }
.yt-facade picture, .yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-facade img { filter: saturate(.9) contrast(1.05) brightness(.86); transform: scale(1.01); transition: filter .9s var(--ease), transform 1.6s var(--ease); }
.yt-facade:hover img, .yt-facade:focus-visible img { filter: saturate(1.02) contrast(1.05) brightness(.95); transform: scale(1.035); }
.yt-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.86) 0%, rgba(10,10,11,.2) 34%, rgba(10,10,11,0) 56%), linear-gradient(180deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,0) 24%); pointer-events: none; }
.yt-facade .hp-big { position: absolute; z-index: 3; }
.yt-facade:hover .hp-big { transform: scale(1.06); }
.yt-facade:focus-visible { outline: 2px solid var(--s2); outline-offset: 4px; }
.yt-hud { position: absolute; z-index: 3; left: clamp(16px, 2.4vw, 32px); right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 30px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; text-align: left; pointer-events: none; }
.yt-hud-t { display: grid; gap: 10px; }
.yt-hud-t b { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 76px); line-height: .86; color: var(--bone); }
.yt-hud-t span, .yt-hud-r { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); }
.yt-hud-r { text-align: right; }
.yt-hud-r i { font-style: normal; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yt-tl { position: absolute; z-index: 3; top: 16px; left: clamp(16px, 2.4vw, 32px); display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); pointer-events: none; }
@media (max-width: 720px) {
  .yt-facade .hp-big { width: 58px; height: 58px; }
  .yt-hud { bottom: 12px; }
  .yt-hud-t b { font-size: 26px; }
  .yt-hud-r { display: none; }
  .yt-tl { top: 10px; font-size: 10px; }
}

/* reels that travel: the copy, and the two numbers that prove it */
@media (min-width: 961px) {
  .yt-reels { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); align-items: end; }
  .yt-reels > .sp-prose { grid-column: 1 / span 6; }
  .yt-reels > .yt-plays { grid-column: 8 / -1; }
}
.yt-plays { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair-2); }
.yt-plays li + li { border-left: 1px solid var(--hair); }
.yt-plays a { position: relative; display: grid; gap: 10px; padding: 22px clamp(14px, 2vw, 28px) 6px; height: 100%; }
.yt-plays li:first-child a { padding-left: 0; }
.yt-plays a::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.yt-plays a:hover::after, .yt-plays a:focus-visible::after { transform: scaleX(1); }
.yt-plays .pf-num { font-size: clamp(56px, 6vw, 104px); }
.yt-plays .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.yt-plays .v { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 1.5vw, 23px); letter-spacing: .03em; }
@media (max-width: 960px) { .yt-plays { margin-top: 36px; } }

/* /work: the archive closes on a full row and a proper end card */
@media (min-width: 1281px) { .reel-grid .work-card.pc--feat5 { grid-column: span 2; grid-row: span 2; } }
@media (min-width: 721px) and (max-width: 960px) { .reel-grid .work-card.horiz.pc--narrow3 { grid-column: span 1; } }
.work-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px 32px; flex-wrap: wrap; margin-top: clamp(28px, 3vw, 44px); padding: 26px 0; border-block: 1px solid var(--hair); }
.work-cta .wc-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.work-cta .wc-k b { font-weight: 400; color: var(--bone); }
.work-cta .link-plain { font-family: var(--f-display); font-stretch: 64%; font-weight: 720; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 42px); line-height: 1; letter-spacing: 0; padding-bottom: 8px; }

/* phones: rows of two keep their captions readable and their last card full width */
@media (max-width: 720px) {
  .pc-row .pc::after { background: linear-gradient(0deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.78) 42%, rgba(10,10,11,0) 72%), linear-gradient(180deg, rgba(10,10,11,.45) 0%, rgba(10,10,11,0) 22%); }
  .pc-row > li:last-child:nth-child(odd):not(:only-child) { grid-column: 1 / -1; }
  .pc-row > li:last-child:nth-child(odd):not(:only-child) .pc { aspect-ratio: 16 / 10; }
  .pc-row .pc.pc--ext { aspect-ratio: 16 / 9; }
  .pc-row:has(.pc--ext) { grid-template-columns: 1fr; }
  .filter-bar button, .filters button { min-height: 40px; }
  .wk-view button { height: 34px; }
  .work-cta .link-plain { white-space: normal; }
}
/* the split film block: cards fill the two rows beside the player exactly */
@media (min-width: 961px) { .sp-split .pc-row .pc { aspect-ratio: auto; } }
/* film pages: the Type value links to the service behind it; the rail head carries two links */
.pm-link { border-bottom: 1px solid var(--hair-2); transition: border-color .3s, color .3s; }
.pm-link:hover, .pm-link:focus-visible { border-color: var(--s2); color: var(--s1); }
.rel-links { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 32px; }
@media (max-width: 720px) { .rel-links { justify-content: flex-start; gap: 4px 24px; } }

/* =========================================================================
   ROUND 2 INTEGRATION · the creators wall on the YouTube page, the archive's trader films
   ========================================================================= */
.ytw { margin-top: clamp(96px, 10vw, 168px); }
.ytw .cw-head { margin-top: clamp(28px, 3.2vw, 48px); }
.ytc--films .pc-row { margin-top: clamp(28px, 3vw, 44px); }
.proj-story .proj-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 22px; color: var(--smoke); }
@media (max-width: 720px) { .ytw .cw-grid > li:first-child:nth-last-child(odd) { grid-column: 1 / -1; } }   /* an odd number of films: the most watched leads full width, so the rows close (round 5: 16 films, two across) */
.rel--new { padding-bottom: clamp(24px, 3vw, 48px); }

/* =========================================================================
   ROUND 2 · FIX ROUND 1 (inner pages)
   ========================================================================= */
/* the quote heading rides beside the quote block instead of leaving its column empty */
@media (min-width: 961px) { .wrap > .section-head--quote { position: sticky; top: calc(var(--navs) + 36px); } }
/* /work: a focused card is never tucked under the sticky filter bar */
html:has(.filter-bar) { scroll-padding-top: 168px; }
/* the film-page caption keeps its arrow with the words before it */
.film-cap a { display: inline-block; text-wrap: balance; }
/* two-up cards on phones: the meta wraps to a second line instead of an ellipsis */
/* round 7 fix: up to 1279px a card label wraps instead of losing the client name to an ellipsis */
@media (max-width: 1279px) { .pc-cap .k { white-space: normal; overflow: visible; text-overflow: clip; } }
/* tablets: four cards make two rows of two, never three and one */
@media (min-width: 721px) and (max-width: 1180px) {
  .rel-row:has(> li:nth-child(4):last-child), .pc-row:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* wide film pages below 1024px: the film arrives in the first screen (smaller still, one-line credits) */
@media (max-width: 1023px) {
  .proj-hero.pw-hero { height: auto; min-height: 0; display: block; padding: 0 0 12px; }
  .pw-hero .hero-media { position: relative; inset: auto; aspect-ratio: 21 / 9; max-height: 26svh; width: 100%; }
  .pw-hero .hud, .pw-hero::after { bottom: auto; height: min(calc(100vw * 9 / 21), 26svh); }
  .pw-hero .crn.bl, .pw-hero .crn.br, .pw-hero > .horizon { display: none; }
  .pw-hero .wrap { padding-top: 14px; }
  .pw-hero .crumb { margin-bottom: 6px; }
  .pw-hero h1 { font-size: clamp(40px, 11vw, 72px); }
  .pw-hero .proj-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--hair); }
  .pw-hero .proj-meta > div, .pw-hero .proj-meta > .pm-x { display: flex; flex-direction: row; align-items: baseline; gap: 7px; padding: 0 !important; margin: 0 !important; border: 0 !important; }
  .pw-hero .proj-meta .k, .pw-hero .pm-x::before { font-size: 9.5px; letter-spacing: .12em; }
  .pw-hero .proj-meta .v, .pw-hero .pm-x::after { font-family: var(--f-mono); font-stretch: 100%; font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
  .proj-w { padding-top: 6px; }
}
@media (pointer: coarse) { .filter-bar button, .filters button { min-height: 44px; } }
/* film pages: the 'About this film' heading rides beside its copy */
@media (min-width: 961px) { .pw-grid .proj-story > h2 { position: sticky; top: calc(var(--navs) + 36px); align-self: start; } }

/* =========================================================================
   ROUND 2 · FIX ROUND 2 (QA round 2)
   ========================================================================= */
/* poster cards: a deeper scrim under the caption, so a label never sits on a bright grille or chrome */
.pc-row .pc::after {
  background: linear-gradient(0deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.78) 26%, rgba(10,10,11,.42) 44%, rgba(10,10,11,0) 64%),
              linear-gradient(180deg, rgba(10,10,11,.45) 0%, rgba(10,10,11,0) 22%);
}
.pc-cap .k { text-shadow: 0 1px 10px rgba(10,10,11,.8); }

/* /work: the filter bar gets a firmer edge while it is stuck over the cards */
.filter-bar { transition: top .6s var(--ease), box-shadow .4s, border-color .4s; }
.filter-bar.is-stuck { border-bottom-color: var(--hair-2); box-shadow: 0 18px 30px -24px rgba(0,0,0,.95); }

/* YouTube page: the two reels sit on one line, their figures level */
.yt-plays .v { white-space: nowrap; }

/* tap targets: the type link, previous and next, and the film captions are 44px tall on touch, drawn as before */
.pm-link { border-bottom: 0; text-decoration: underline; text-decoration-color: var(--hair-2); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .3s, color .3s; }
.pm-link:hover, .pm-link:focus-visible { text-decoration-color: var(--s2); }
@media (pointer: coarse), (max-width: 720px) {
  .pm-link { display: inline-flex; align-items: center; min-height: 44px; margin-block: -14px; }
  .pn .big { display: inline-flex; align-items: center; min-height: 44px; }
  .film-cap a { display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 5px; }
}

/* short phones: the service hero still gives way, so the title and the sticky bar never meet */
@media (max-width: 720px) and (max-height: 700px) {
  .sph-media { aspect-ratio: auto; height: 30svh; }
  .sph-grade, .sph .hud, .sph-frame::after { height: 30svh; }
}
/* film pages: Haider's own caption, set as a quoted line in the serif italic */
.proj-story q.cap-q { quotes: "\201C" "\201D"; font-family: var(--f-serif); font-style: italic; font-size: 1.18em; letter-spacing: -.005em; color: var(--bone); }
/* vertical film pages on phones: the credits table keeps single hairlines (the two-column rule is for wide pages) */
@media (max-width: 720px) { .proj-v .proj-meta > div:nth-child(n+3) { margin-top: 0; border-top: 0; } }
/* ROUND 3 · vertical film pages on phones: before the first play the disc sits in the upper part of the frame, so the
   sticky WhatsApp and Call bar never covers it on short screens (375x667, 390x664) */
@media (max-width: 720px) {
  .pv-screen .hplayer--vert:not(.is-started) .hp-big { top: 30%; bottom: auto; margin: 0 auto; }
}

/* =========================================================================
   ROUND 3 · /work photographs ('Between takes.'): a spread, then a contact sheet
   Built from tools/data/photos.json. Every frame keeps its photograph's own ratio (--ar), so nothing is
   cropped; the dominant frame is never shown wider than its file at 1.5x (--nw is the file's width).
   Motion uses the house engine: the spread drifts at three depths (scrub), the dominant frame is wiped in,
   the sheet's frames develop from soft to sharp (focus) and its sprocket edges run with the scroll.
   ========================================================================= */
.wk-photos { padding-top: clamp(104px, 10vw, 176px); }
.ph { position: relative; }
.ph-f { position: relative; margin: 0; }
.ph-m { position: relative; display: block; aspect-ratio: var(--ar); overflow: hidden; background: var(--g1); border-radius: 2px; }
.ph-m picture, .ph-m img { display: block; width: 100%; height: 100%; }
.ph-m img { object-fit: cover; cursor: zoom-in; filter: saturate(.92) contrast(1.03); transition: filter .8s var(--ease); }
.ph-m:hover img, .ph-m img:focus-visible { filter: none; }
.ph-m img:focus-visible { outline: 2px solid var(--s2); outline-offset: -2px; }
.ph-m:has(img:focus-visible) { outline: 2px solid var(--s2); outline-offset: 5px; }
.ph-m:has(img:focus-visible) img { outline: 0; }
.ph-n { display: block; font-family: var(--f-mono); font-size: 10.5px; line-height: 1; letter-spacing: .14em; color: var(--smoke); font-variant-numeric: tabular-nums; }
.ph-n::before { content: attr(data-n); }

/* the spread: the dominant frame on the left page; the title, two offset frames and the plate list on the right */
.ph-spread { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.ph-spread > .ph-head { grid-column: 7 / -1; grid-row: 1; margin: 0; padding-top: 0; border-top: 0; }
.ph-spread > .ph-head h2 { font-size: clamp(56px, 6.8vw, 124px); line-height: .84; margin-top: clamp(18px, 2vw, 28px); }
.ph-f--lead { grid-column: 1 / span 5; grid-row: 1 / span 3; width: 100%; max-width: calc(var(--nw) * 1px / 1.5); }
@media (min-resolution: 2dppx) { .ph-f--lead { max-width: calc(var(--nw) * 1px / 2); } }
.ph-f--a { grid-column: 7 / span 4; grid-row: 2; margin-top: clamp(40px, 4.4vw, 76px); }
.ph-f--b { grid-column: 11 / span 2; grid-row: 2 / span 2; margin-top: clamp(112px, 10vw, 184px); }
.ph-plates { grid-column: 7 / span 4; grid-row: 3; margin-top: clamp(36px, 3.6vw, 60px); border-top: 1px solid var(--hair); }
/* the tall lead and the detail frame spill into a flexible last row, so the title and the Artura rows keep their own
   height and the plate list sits right under the Artura (no hole on the right page) */
@media (min-width: 1024px) { .ph-spread { grid-template-rows: auto auto 1fr; } }
.ph-f .ph-n { position: absolute; left: 0; bottom: 100%; padding-bottom: 12px; }
.ph-f--lead .ph-n { color: var(--s1); padding-bottom: 34px; }   /* clear of the crop marks */
/* crop marks off the four corners of the dominant frame, as on a print proof */
.ph-f--lead::after {
  content: ""; position: absolute; inset: -22px; pointer-events: none;
  --c: rgba(241, 236, 227, .46);
  background:
    linear-gradient(var(--c), var(--c)) 0 22px / 14px 1px, linear-gradient(var(--c), var(--c)) 22px 0 / 1px 14px,
    linear-gradient(var(--c), var(--c)) 100% 22px / 14px 1px, linear-gradient(var(--c), var(--c)) calc(100% - 22px) 0 / 1px 14px,
    linear-gradient(var(--c), var(--c)) 0 calc(100% - 22px) / 14px 1px, linear-gradient(var(--c), var(--c)) 22px 100% / 1px 14px,
    linear-gradient(var(--c), var(--c)) 100% calc(100% - 22px) / 14px 1px, linear-gradient(var(--c), var(--c)) calc(100% - 22px) 100% / 1px 14px;
  background-repeat: no-repeat;
}
.ph-plates li { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 12px 0 11px; border-bottom: 1px solid var(--hair);
  font-family: var(--f-mono); font-size: 10.5px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); }
.ph-plates li::before { content: attr(data-n); color: var(--smoke); font-variant-numeric: tabular-nums; }
.ph-plates li:first-child::before { color: var(--s1); }
.ph-plates li::after { content: attr(data-t); }

/* the contact sheet: rows of one height, every frame its own width, numbered underneath; sprocket edges above and below */
.ph-roll { position: relative; margin-top: clamp(96px, 9vw, 168px); padding: 46px 0 40px; overflow: clip; }
.ph-roll::before, .ph-roll::after {
  content: ""; position: absolute; left: -160px; right: -160px; height: 9px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(241, 236, 227, .13) 0 12px, transparent 12px 30px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ph-roll::before { top: 0; }
.ph-roll::after { bottom: 0; }
.ph-sheet { --rh: clamp(150px, 21vw, 360px); display: flex; flex-wrap: wrap; gap: 40px var(--gap); }
.ph-sheet::after { content: ""; flex: 99999 1 0px; }
/* round 7 fix: on a phone the rows are one or two frames wide, so the last row fills the width like the rest (at 360 the
   last frame stood alone at 104 px with 224 px of empty space beside it) */
@media (max-width: 430px) { .ph-sheet::after { display: none; } }
@media (min-width: 1024px) {
  .ph-sheet::after { display: none; }
  .ph-c { max-width: calc(var(--a) * var(--rh) * 1.4); }
}
/* grow factors x100: a row's factors must add up to 1 or more, or a lone upright frame on a narrow phone takes only
   part of the free width and leaves a hole (round 6 QA, 320 and 360); the proportions, and so every row from 375 up,
   are unchanged */
.ph-c { position: relative; flex: calc(var(--a) * 100) 1 calc(var(--a) * var(--rh)); min-width: 0; }
.ph-c .ph-n { margin-top: 12px; transition: color .4s; }
/* a frame picked out, as with a grease pencil on a proof (hover; keyboard focus draws the focus ring) */
.ph-c .ph-m { outline: 1px solid transparent; outline-offset: 5px; transition: outline-color .4s var(--ease); }
.ph-c:hover .ph-m { outline-color: rgba(255, 106, 26, .7); }
.ph-c:hover .ph-n, .ph-c:focus-within .ph-n { color: var(--s1); }

/* motion (motion.js sets html.m-on only with motion allowed; without it every frame sits still) */
.ph-f--lead { --dr: 40px; }
.ph-f--a { --dr: 110px; }
.ph-f--b { --dr: 170px; }
.ph-plates { --dr: 64px; }
.m-on .ph-spread > [data-m~="scrub"] { translate: 0 calc((.5 - var(--p)) * var(--dr)); }
.m-on .ph-roll::before { translate: calc(var(--p) * -150px) 0; }
.m-on .ph-roll::after { translate: calc(var(--p) * 150px - 150px) 0; }
@media (prefers-reduced-motion: no-preference) {
  /* the dominant frame settles inside its wipe without growing past its own pixels */
  .js .ph-f--lead [data-m~="wipe"]:not(.m-in) > picture { scale: 1.04; }
  .js .ph-f--lead [data-m~="wipe"] { transition-duration: 1.2s; }
}

@media (min-width: 721px) and (max-width: 1023px) {
  .ph-spread > .ph-head { grid-column: 1 / -1; grid-row: 1; margin-bottom: 56px; }
  .ph-f--lead { grid-column: 1 / span 7; grid-row: 2 / span 2; }
  .ph-f--a { grid-column: 8 / -1; grid-row: 2; margin-top: 48px; }
  .ph-f--b { grid-column: 9 / -1; grid-row: 3; margin-top: 44px; }
  .ph-plates { display: none; }
  .ph-f--b { --dr: 90px; }
}
@media (max-width: 720px) {
  .ph-spread { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ph-spread > .ph-head { grid-column: 1 / -1; grid-row: 1; }
  .ph-spread > .ph-head h2 { font-size: clamp(48px, 15vw, 76px); }
  .ph-f--lead { grid-column: 2 / -1; grid-row: 2; margin-top: 48px; }
  .ph-f--lead::after { inset: -14px; background-size: 9px 1px, 1px 9px, 9px 1px, 1px 9px, 9px 1px, 1px 9px, 9px 1px, 1px 9px;
    background-position: 0 14px, 14px 0, 100% 14px, calc(100% - 14px) 0, 0 calc(100% - 14px), 14px 100%, 100% calc(100% - 14px), calc(100% - 14px) 100%; }
  .ph-f--lead .ph-n { left: auto; right: calc(100% + 12px); bottom: auto; top: 0; padding: 0; writing-mode: vertical-rl; transform: rotate(180deg); }
  .ph-f--a { grid-column: 1 / -1; grid-row: 3; margin-top: 52px; }
  .ph-f--b { grid-column: 1 / span 3; grid-row: 4; margin-top: 44px; }
  .ph-plates { grid-column: 4 / -1; grid-row: 4; align-self: end; margin: 0 0 0 4px; }
  .ph-plates li { grid-template-columns: 28px minmax(0, 1fr); font-size: 9.5px; letter-spacing: .1em; padding: 10px 0 9px; }
  .ph-f--lead { --dr: 16px; } .ph-f--a { --dr: 36px; } .ph-f--b { --dr: 52px; } .ph-plates { --dr: 24px; }
  .ph-roll { margin-top: 80px; padding: 34px 0 30px; }
  .ph-sheet { --rh: 150px; gap: 30px 10px; }
  .ph-c .ph-n { margin-top: 9px; font-size: 9.5px; }
}
