/* A restrained, work-first alternative. Styles load on /v4 only. */
.v4-hero { --headline-base:clamp(28px,3vw,44px); --reel-base:clamp(240px,calc(100svh - 290px),640px); --reel-floor:168px; padding-top:12px; padding-bottom:22px; }
.v4-intro { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; padding:10px 0 26px; }
.v4-intro h1 { font-size:calc(var(--headline-base) * var(--headline-scale,1)); min-width:0; overflow-wrap:anywhere; line-height:1.1; font-weight:450; letter-spacing:-.045em; margin:0; }
.v4-intro p { color:var(--muted); font-size:13px; line-height:1.65; margin:0 0 2px; }
.v4-reel { margin:0; }
.v4-stage { height:max(var(--reel-floor),calc(var(--reel-base) + var(--headline-base) * 2.2 * (1 - var(--headline-scale,1)))); background:#1c1e1d; border-radius:var(--work-radius); overflow:hidden; }
.v4-stage img, .v4-stage video { display:block; width:100%; height:100%; object-fit:cover; }
.v4-caption { display:flex; justify-content:space-between; align-items:center; gap:20px; min-height:48px; font-size:11px; color:var(--muted); }
.v4-caption a { margin-inline-start:auto; display:inline-flex; align-items:center; gap:15px; min-height:44px; color:var(--ink); }
.site-v4 .selected-work { padding-top:32px; }
.site-v4 .work-heading { margin-bottom:25px; }
/* Center the introduction column while preserving its left-aligned typography. */
.site-v4 .home-statement {
 width:100%;
 max-width:calc(1100px + var(--pad) * 2);
 margin-inline:auto;
 text-align:left;
}
@media(max-width:849px){
 .site-v4 .studio-intro-break { display:none; }
}
@media(max-width:700px){
 .v4-hero { padding-top:3px; padding-bottom:12px; }
 .v4-intro { display:block; padding:8px 0 20px; }
 .v4-hero { --headline-base:29px; --reel-base:clamp(220px,calc(100svh - 330px),440px); --reel-floor:156px; }
 .v4-intro p { margin-top:13px; font-size:11px; }

 .v4-caption { font-size:9px; gap:10px; }
 .v4-caption a { gap:7px; }
 .site-v4 .selected-work { padding-top:24px; }
}
/* The page background cuts a quiet staircase into the reel. */
.v4-stage { position:relative; isolation:isolate; border-bottom-left-radius:0; border-bottom-right-radius:0; }
.v4-disciplines { position:absolute; z-index:5; inset:auto 0 0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:end; color:var(--ink); pointer-events:none; }
.v4-discipline-item { display:flex; justify-content:center; align-items:flex-start; gap:7px; min-width:0; min-height:36px; padding:13px 14px 10px; background:var(--paper); }
.v4-discipline-item:nth-child(2) { min-height:52px; }
.v4-discipline-item:nth-child(3) { min-height:68px; }
.v4-discipline-item:nth-child(4) { min-height:84px; }
.v4-discipline-arrow { font-size:15px; line-height:1; flex-shrink:0; }
.v4-discipline-name { font-size:11px; line-height:1.4; font-weight:400; overflow-wrap:anywhere; }
@media(max-width:700px) {
 .v4-discipline-item { gap:4px; padding:11px 6px 8px; min-height:42px; }
 .v4-discipline-item:nth-child(2) { min-height:54px; }
 .v4-discipline-item:nth-child(3) { min-height:66px; }
 .v4-discipline-item:nth-child(4) { min-height:78px; }
 .v4-discipline-arrow { font-size:12px; }
 .v4-discipline-name { font-size:10px; }
}

/* Two synchronized film strips, traveling in opposite directions. */
.partnership:has(.client-reel) {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.partnership:has(.client-reel) > div:first-child p {
  max-width: 56ch;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  text-wrap: balance;
  margin-bottom: 0;
}
.client-reel { min-width: 0; container-type: inline-size; }
.client-reel-window { box-shadow: 0 1px var(--line); }
.client-reel-row {
  overflow: hidden; border-top: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 10% 90%, transparent);
}
.client-reel-track { display: flex; width: max-content; }
.client-reel-track ul { display: flex; margin: 0; padding: 0; list-style: none; }
.client-reel-cell {
  display: flex; flex: none; align-items: center; justify-content: center; gap: .4em;
  width: clamp(10.5rem, 28cqw, 23rem); min-height: clamp(5.5rem, 14cqw, 9rem);
  padding: .75rem; border-right: 1px solid #f1f1ef15; color: var(--ink);
}
.client-reel-cell img {
  display: block;
  width: min(100%, 13rem);
  height: clamp(2.8rem, 8cqw, 4.5rem);
  object-fit: contain;
  filter: grayscale(1);
}
.client-mark { font-size: clamp(1.05rem, 2.7cqw, 2rem); font-weight: 650; letter-spacing: -.04em; white-space: nowrap; }
.client-mark svg { width: 1.25em; height: 1.25em; flex: none; }
:is(.client-mark--0,.client-mark--3,.client-mark--5,.client-mark--9) span { font-family: Georgia, serif; font-weight: 500; }
:is(.client-mark--1,.client-mark--8) span { font-family: ui-monospace, monospace; letter-spacing: -.08em; }
:is(.client-mark--2,.client-mark--6) span { font-style: italic; }
:is(.client-mark--4,.client-mark--7) span { letter-spacing: .07em; }

.client-reel.is-ready .client-reel-track {
  animation: client-reel-slide 30s linear -2s infinite both;
  animation-play-state: paused;
}
.client-reel.is-ready .client-reel-row:nth-child(2) .client-reel-track { animation-direction: reverse; animation-delay: -7s; animation-duration: 34s; }
.client-reel.is-ready.is-moving .client-reel-track { animation-play-state: running; }
.client-reel.is-ready.is-moving:focus-within .client-reel-track { animation-play-state: paused; }
@media (hover: hover) {
  .client-reel.is-ready.is-moving:hover .client-reel-track { animation-play-state: paused; }
}
@keyframes client-reel-slide { to { transform: translateX(-50%); } }

/* All marks remain visible when there is no motion. */
.client-reel:not(.is-ready) .client-reel-track, .client-reel:not(.is-ready) .client-reel-track ul { width: 100%; }
.client-reel:not(.is-ready) .client-reel-track ul { flex-wrap: wrap; justify-content: center; }
.client-reel:not(.is-ready) .client-reel-repeat { display: none; }
.client-reel:not(.is-ready) .client-reel-row { mask-image: none; }
.client-reel:not(.is-ready) .client-reel-cell { width: 33.333%; border: 0; gap: .25em; }
@media (prefers-reduced-motion: reduce) {
  .client-reel .client-reel-track { animation: none !important; }
}
@media (max-width: 840px) {
  .partnership:has(.client-reel) { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 440px) {
  .client-reel:not(.is-ready) .client-reel-cell { width: 50%; }
}
