picture { display: contents; }
/* cooperdelo.com / site v4 (2026-09-29, v2 review)
   Warm film look: paper + warm ink, his footage everywhere, grain over everything.
   Druk Wide Bold x Nimbus Sans. One ease: cubic-bezier(.22,1,.44,1). */

@font-face { font-family: "Druk Wide"; src: url("/fonts/DrukWideBold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: "Nimbus Sans"; src: url("/fonts/NimbusSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nimbus Sans"; src: url("/fonts/NimbusSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #16130F;
  --ink-2: #1F1B16;
  --paper: #ECE5D8;
  --paper-2: #E2D9C8;
  --bone: #F4F0E7;
  --silver: #A8A29E;
  --line-d: rgba(244, 240, 231, 0.16);
  --line-l: rgba(22, 19, 15, 0.16);
  --ease: cubic-bezier(.22, 1, .44, 1);
  --display: "Druk Wide", "Nimbus Sans", sans-serif;
  --sans: "Nimbus Sans", sans-serif;
  --gutter: clamp(16px, 2.2vw, 36px);
  --label: 11px;
  --film: sepia(.16) saturate(1.06) contrast(1.05) brightness(1.02);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; font-synthesis: none;
}
em, i, cite, address { font-style: normal; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bone); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.dark { background: var(--ink); color: var(--bone); }
.light { background: var(--paper); color: var(--ink); }

/* ---------- film layer: one static grain tile, vignette, warm halation ---------- */
.grain { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background: url("/assets/grain.png") repeat; background-size: 256px 256px; }
.vignette { position: fixed; inset: 0; z-index: 94; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(30, 18, 8, .28) 100%); }
.film { position: relative; overflow: hidden; background: var(--ink-2); }
.film img, .film video { filter: var(--film); }
.film::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 80% at 50% 50%, transparent 58%, rgba(40, 20, 6, .32) 100%), linear-gradient(180deg, rgba(255, 170, 90, .06), rgba(255, 120, 40, .04)); mix-blend-mode: multiply; }

/* ---------- type ---------- */
.label { font-family: var(--sans); font-weight: 700; font-size: var(--label); letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.dim { opacity: .62; }
[data-fit] { display: inline-block !important; white-space: nowrap; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  padding: 18px var(--gutter) 30px; color: var(--bone); pointer-events: none; transition: color .5s var(--ease);
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 12, 8, .62) 0%, rgba(16, 12, 8, .3) 55%, rgba(16, 12, 8, 0) 100%); transition: opacity .5s var(--ease); }
.nav.on-light { color: var(--ink); }
.nav.on-light::before { opacity: 0; }
.nav .mark, .nav .where, .nav .links a { text-shadow: 0 1px 12px rgba(0, 0, 0, .28); }
.nav.on-light .mark, .nav.on-light .where, .nav.on-light .links a { text-shadow: none; }
.nav > * { pointer-events: auto; }
.nav .mark { font-family: var(--display); font-size: 13px; letter-spacing: 0; text-transform: uppercase; line-height: 1; }
.nav .where { text-align: center; }
.nav .links { display: flex; gap: 22px; justify-content: flex-end; }
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; }
.roll > span { display: block; transition: transform .7s var(--ease); }
.roll > span + span { position: absolute; left: 0; top: 100%; }
a:hover > .roll > span, a:focus-visible > .roll > span { transform: translateY(-100%); }
@media (max-width: 700px) { .nav { grid-template-columns: 1fr auto; } .nav .where { display: none; } .nav .links { gap: 16px; } }

/* ---------- custom cursor (only over work and media) ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--bone); color: var(--ink); display: grid; place-items: center; transform: translate3d(-200px, -200px, 0) scale(0); box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .4); }
.cur span { font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .5s var(--ease); }
.cur.on span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cur { display: none; } }

/* ---------- intro (once per session) ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--bone); display: flex; flex-direction: column; justify-content: space-between; padding: 18px var(--gutter) var(--gutter); transition: transform 1.25s var(--ease); }
.intro.lift { transform: translateY(-100%); }
.intro .count { font-family: var(--display); font-size: clamp(64px, 17vw, 300px); line-height: .8; display: flex; overflow: hidden; }
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; align-items: flex-start; flex: none; }
.odo .col { display: flex; flex-direction: column; transition: transform .9s var(--ease); }
.odo .col span { flex: none; height: 1em; line-height: 1; display: block; text-align: center; }
.intro .row { display: flex; justify-content: space-between; align-items: flex-end; }
html.seen .intro, html.rm .intro { display: none; }

/* ---------- reveals: physical, clipped, never an opacity fade ---------- */
.line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.line > span { display: block; transform: translateY(108%); transition: transform 1.3s var(--ease); }
.in .line > span, .line.in > span { transform: none; }
.in .line:nth-child(2) > span { transition-delay: .07s; }
.in .line:nth-child(3) > span { transition-delay: .14s; }
.in .line:nth-child(4) > span { transition-delay: .21s; }
.clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
.clip > img, .clip > video { transform: scale(1.14); transition: transform 2.8s var(--ease); }
.clip.in, .in > .clip { clip-path: inset(0 0 0 0); }
.clip.in > img, .clip.in > video, .in > .clip > img, .in > .clip > video { transform: scale(1); }
.rule { height: 1px; background: currentColor; opacity: .18; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.in .rule, .rule.in { transform: scaleX(1); }
@keyframes float { 0% { transform: translate3d(0, -3px, 0) rotate(-.12deg); } 100% { transform: translate3d(0, 4px, 0) rotate(.12deg); } }
.float { animation: float 7.5s var(--ease) infinite alternate; will-change: transform; }
.float.b { animation-duration: 9s; animation-delay: -3s; }
.float.c { animation-duration: 8.2s; animation-delay: -5s; }

/* ---------- home: title screen (his photo) ---------- */
.title { position: relative; height: 100svh; min-height: 620px; color: var(--bone); overflow: hidden; background: var(--ink); }
.title .bg { position: absolute; inset: 0; }
.title .bg img, .title .hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; filter: var(--film); animation: settle 3.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.16); } to { transform: scale(1); } }
.title .bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 14, 8, .42) 0%, rgba(20, 14, 8, 0) 28%, rgba(20, 14, 8, 0) 50%, rgba(20, 14, 8, .66) 100%); }
.title .copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); top: 88px; display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.title h1 { font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.9vw, 50px); line-height: 1; letter-spacing: -.015em; max-width: 22ch; text-shadow: 0 1px 30px rgba(0, 0, 0, .25); }
.title .meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.title .foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter); }
.title .foot .bar { display: flex; justify-content: space-between; padding-bottom: 10px; }
.wordmark { font-family: var(--display); text-transform: uppercase; line-height: .78; white-space: nowrap; letter-spacing: -.02em; font-size: 8.4vw; margin: 0; padding-bottom: .03em; }
.wordmark [data-fit] { padding-right: .08em; }
.wordmark .line > span { transition-duration: 1.6s; }
.wordmark .m { display: none; }
@media (max-width: 700px) {
  .title { height: 92svh; min-height: 560px; }
  .title .bg img, .title .hero-vid { object-position: 50% 50%; } /* phone montage is already cropped around him */
  .title .copy { top: 72px; bottom: calc(27vw + 30px); flex-direction: column; justify-content: space-between; }
  .title h1 { font-size: 25px; }
  /* pills sit in one row above the wordmark bar so his face stays clear on phones */
  .title .meta { text-align: left; align-items: center; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .wordmark .d { display: none; }
  .wordmark .m { display: block; line-height: .8; }
}

/* ---------- home: work index (paper, rows light up) ---------- */
.index { padding: clamp(88px, 13vh, 150px) var(--gutter); position: relative; }
.index .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: clamp(28px, 5vh, 56px); }
.index .top h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 7.4vw, 132px); line-height: .82; letter-spacing: -.02em; }
.index .head { display: grid; grid-template-columns: 64px minmax(0, 1fr) 240px 90px 56px; gap: 16px; padding-bottom: 14px; opacity: .6; }
.index .head .r, .row .yr { text-align: right; }
.rows { list-style: none; }
.row { position: relative; }
.row a { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 240px 90px 56px; gap: 16px; align-items: center; padding: 24px 0 22px; isolation: isolate; }
.row a::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.row .no { font-variant-numeric: tabular-nums; }
.row .t { font-family: var(--display); text-transform: uppercase; font-size: clamp(20px, 2.5vw, 44px); line-height: .92; letter-spacing: -.01em; transition: transform .9s var(--ease), color .6s var(--ease); }
.row .d, .row .yr { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.row .go { position: relative; justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; overflow: hidden; contain: paint; transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease); }
.row .go svg { grid-area: 1 / 1; width: 16px; height: 16px; transition: transform .8s var(--ease); }
.row .go svg:first-child { transform: translateX(-300%); }
.rows:hover .row .t { color: rgba(22, 19, 15, .34); }
.rows .row a:hover::before, .rows .row a:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.rows .row a:hover, .rows .row a:focus-visible { color: var(--bone); }
.rows .row a:hover .t, .rows .row a:focus-visible .t { color: var(--bone); transform: translateX(16px); }
.rows .row a:hover .go, .rows .row a:focus-visible .go { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.rows .row a:hover .go svg:first-child, .rows .row a:focus-visible .go svg:first-child { transform: translateX(0); }
.rows .row a:hover .go svg:last-child, .rows .row a:focus-visible .go svg:last-child { transform: translateX(300%); }
.row .poster { display: none; }
/* reveal: the li is observed, its link is clipped (IntersectionObserver ignores clipped targets) */
.row > a { clip-path: inset(0 0 100% 0); transform: translateY(24px); transition: clip-path 1.3s var(--ease), transform 1.3s var(--ease), color .6s var(--ease); }
.row.in > a { clip-path: inset(-40% -200px -40% -200px); transform: none; }
.row:nth-child(2) > a { transition-delay: .06s, .06s, 0s; } .row:nth-child(3) > a { transition-delay: .12s, .12s, 0s; } .row:nth-child(4) > a { transition-delay: .18s, .18s, 0s; } .row:nth-child(5) > a { transition-delay: .24s, .24s, 0s; } .row:nth-child(6) > a { transition-delay: .3s, .3s, 0s; }
@media (hover: hover) and (pointer: fine) { .row a, .player { cursor: none; } }

/* cursor-follow preview, parked right of the cursor and clear of the hovered row */
.preview { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; width: 25vw; aspect-ratio: 16 / 9; will-change: transform, width; }
.preview .box { position: absolute; inset: 0; overflow: hidden; background: var(--ink-2); box-shadow: 0 30px 80px -30px rgba(20, 12, 4, .55); clip-path: inset(50% 50% 50% 50%); transform: scale(.6) rotate(-2deg); transition: clip-path 1s var(--ease), transform 1.2s var(--ease); }
.preview.on .box { clip-path: inset(0 0 0 0); transform: scale(1) rotate(0); }
.preview .m { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease); }
.preview .m.on { clip-path: inset(0 0 0 0); z-index: 2; }
.preview .m video, .preview .m img { position: absolute; left: -8%; top: -8%; width: 116%; height: 116%; max-width: none; object-fit: cover; filter: var(--film); transform: translate3d(var(--nx, 0px), var(--ny, 0px), 0) scale(1.1); transition: transform 1.2s var(--ease); }
.preview .m.on video, .preview .m.on img { transform: translate3d(var(--nx, 0px), var(--ny, 0px), 0) scale(1); }
@media (hover: none), (max-width: 900px) { .preview { display: none; } }

/* mobile: each row is a tappable card */
.row .meta-m { display: contents; }
@media (max-width: 900px) {
  .index .head { display: none; }
  .rows { display: grid; gap: 30px; }
  .row .rule { display: none; }
  .row a { display: block; padding: 0; }
  .row > a, .row.in > a { clip-path: none; }
  .row a::before { display: none; }
  .row .poster { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
  .row .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .row .poster::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 14, 8, .1) 0%, rgba(20, 14, 8, 0) 40%, rgba(20, 14, 8, .74) 100%); }
  .row .no { position: absolute; z-index: 2; left: 14px; top: 14px; color: var(--bone); }
  .row .t { position: absolute; z-index: 2; left: 14px; right: 72px; bottom: 48px; color: var(--bone) !important; font-size: clamp(22px, 7vw, 32px); }
  .row .go { position: absolute; z-index: 2; right: 14px; bottom: 48px; color: var(--ink); background: var(--bone); border-color: var(--bone); }
  .row .go svg:first-child { transform: translateX(0); } .row .go svg:last-child { display: none; }
  .row .meta-m { display: flex; justify-content: space-between; padding: 12px 2px 0; border-top: 0; }
  .row .d, .row .yr { font-size: 11px; }
  .row a:active .poster img { transform: scale(.97); }
}

/* ---------- home: in frames (editorial collage) ---------- */
.frames { position: relative; padding: clamp(96px, 14vh, 170px) var(--gutter) clamp(120px, 16vh, 200px); overflow: hidden; }
.frames .big { font-family: var(--display); text-transform: uppercase; font-size: clamp(52px, 12.4vw, 220px); line-height: .8; letter-spacing: -.03em; position: relative; z-index: 1; }
.frames .big .line:nth-child(2) { text-align: right; }
.frames .grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(48px, 8vh, 110px); z-index: 2; align-items: start; }
.frames figure { position: relative; will-change: transform; }
.frames figure .film { aspect-ratio: var(--ar, 3 / 2); }
.frames figure img { width: 100%; height: 100%; object-fit: cover; }
.frames figcaption { margin-top: 8px; display: flex; justify-content: space-between; opacity: .72; }
.frames .f1 { grid-column: 1 / 6; margin-top: 10vh; }
.frames .f2 { grid-column: 7 / 13; }
.frames .f3 { grid-column: 3 / 7; margin-top: 6vh; --ar: 4 / 5; }
.frames .f4 { grid-column: 8 / 12; margin-top: 16vh; --ar: 4 / 5; }
.frames .f5 { grid-column: 1 / 8; margin-top: 4vh; }
.frames .f6 { grid-column: 9 / 13; margin-top: 22vh; --ar: 1 / 1; }
.frames .f7 { grid-column: 3 / 11; margin-top: 8vh; }
.frames .f8 { grid-column: 7 / 13; margin-top: 10vh; }
@media (max-width: 800px) {
  .frames .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
  .frames .f1 { grid-column: 1 / 5; margin-top: 0; } .frames .f2 { grid-column: 2 / 7; margin-top: 0; }
  .frames .f3 { grid-column: 1 / 4; margin-top: 0; } .frames .f4 { grid-column: 4 / 7; margin-top: 44px; }
  .frames .f5 { grid-column: 1 / 7; margin-top: 0; } .frames .f6 { grid-column: 1 / 4; margin-top: 0; }
  .frames .f7 { grid-column: 1 / 7; margin-top: 0; } .frames .f8 { grid-column: 2 / 7; margin-top: 0; }
}

/* ---------- home: about ---------- */
/* image and text sit side by side at the same height: no dead band next to the photo */
.about { padding: clamp(80px, 12vh, 140px) var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: calc(var(--gutter) * 1.5); align-items: stretch; }
.about .pic .film { aspect-ratio: 4 / 5; max-height: 82svh; width: 100%; }
.about .txt { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-width: 0; }
.about .intro-t .label { opacity: .6; margin-bottom: 18px; }
.about-h { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 5.6vw, 104px); line-height: .84; letter-spacing: -.02em; }
.about .lede { margin-top: 22px; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.38; max-width: 36ch; }
.about .pic img { width: 100%; height: 100%; object-fit: cover; }
.about .facts { list-style: none; }
.about .facts li { font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 2vw, 32px); line-height: 1.04; letter-spacing: -.01em; padding: 18px 0; border-top: 1px solid var(--line-l); display: grid; grid-template-columns: 64px 1fr; gap: 16px; }
.about .facts li .label { padding-top: .5em; opacity: .6; }
.about .out { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill svg { width: 14px; height: 14px; flex: none; }
.pill { display: inline-flex; white-space: nowrap; align-items: center; gap: 10px; padding: 14px 18px 13px; border: 1px solid currentColor; border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; transition: background-color .7s var(--ease), color .7s var(--ease), border-color .7s var(--ease); }
.light .pill:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.dark .pill:hover, .contact .pill:hover, .title .pill:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.pill.solid { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.pill.solid:hover { background: transparent !important; color: var(--bone) !important; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 36px; } .about .pic { max-width: 440px; } .about .txt { gap: 28px; } .about .facts li { grid-template-columns: 40px 1fr; font-size: 19px; } }

/* ---------- contact (his gig footage behind) ---------- */
.contact { position: relative; color: var(--bone); padding: clamp(120px, 20vh, 240px) var(--gutter) 22px; overflow: hidden; background: var(--ink); }
.contact .bg { position: absolute; inset: 0; z-index: 0; }
.contact .bg img { width: 100%; height: 100%; object-fit: cover; filter: var(--film) brightness(.7); }
.contact .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 8, .5), rgba(20, 14, 8, .8)); }
.contact > *:not(.bg) { position: relative; z-index: 1; }
.contact .say { margin-bottom: 18px; }
.contact .mail { display: block; font-family: var(--display); text-transform: uppercase; font-size: 5.2vw; line-height: .9; letter-spacing: -.015em; white-space: nowrap; }
.contact .mail .line > span { transition-duration: 1.4s; }
.contact .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.contact .base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-top: clamp(80px, 14vh, 150px); opacity: .82; }
.contact .base nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.contact .base a:hover { opacity: .7; }

/* ---------- case study ---------- */
.case-hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); color: var(--bone); }
.case-hero .media { position: absolute; inset: 0; view-transition-name: case-media; }
.case-hero .media video, .case-hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--film); }
.case-hero .media .zoom { position: absolute; inset: 0; animation: settle 3.2s var(--ease) both; }
.case-hero .media.contain .back { position: absolute; inset: -40px; filter: blur(42px) brightness(.5) saturate(.9); }
.case-hero .media.contain .front { position: absolute; top: 50%; left: 50%; width: min(90vw, calc(78svh * var(--arn, 1))); aspect-ratio: var(--ar); transform: translate(-50%, -50%); overflow: hidden; }
.case-hero .shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(16, 12, 8, .7) 0, rgba(16, 12, 8, 0) 22%), linear-gradient(to top, rgba(16, 12, 8, .8) 0%, rgba(16, 12, 8, .1) 42%, rgba(16, 12, 8, 0) 60%); pointer-events: none; }
.case-hero .title-c { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: end; }
.case-hero .no, .case-hero .down { padding-bottom: .6em; }
.case-hero h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 7.4vw, 136px); line-height: .84; letter-spacing: -.02em; }
@media (max-width: 700px) { .case-hero .title-c { grid-template-columns: 1fr; gap: 10px; } .case-hero h1 { font-size: 10vw; } .case-hero .down { display: none; } .case-hero .media.contain .front { top: 42%; width: min(88vw, calc(62svh * var(--arn, 1))); } }

.watch { padding: clamp(64px, 10vh, 120px) var(--gutter); }
.player { position: relative; max-width: 1480px; margin: 0 auto; aspect-ratio: var(--ar, 16 / 9); background: #000; overflow: hidden; }
.player.tall, .player.square { width: min(100%, calc(84svh * var(--arn, 1))); }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player .cover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16, 12, 8, .2); }
.player .cover .btn { display: flex; align-items: center; gap: 14px; padding: 18px 26px 17px 20px; border-radius: 999px; background: var(--bone); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; transition: transform .8s var(--ease); }
.player .cover .btn svg { width: 14px; height: 14px; }
.player:hover .cover .btn { transform: scale(1.06); }
.player.playing .cover { display: none; }
.watch .under { max-width: 1480px; margin: 14px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.player.square + .under, .player.tall + .under { max-width: none; }

.case-body { padding: clamp(72px, 12vh, 140px) var(--gutter); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: calc(var(--gutter) * 2); align-items: start; }
.case-body .say { font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.9vw, 50px); line-height: 1.02; letter-spacing: -.015em; }
.credits { width: 100%; border-collapse: collapse; }
.credits th, .credits td { text-align: left; vertical-align: top; padding: 13px 0 12px; border-top: 1px solid var(--line-l); }
.credits tr:last-child th, .credits tr:last-child td { border-bottom: 1px solid var(--line-l); }
.credits th { width: 96px; font-weight: 700; font-size: var(--label); letter-spacing: .06em; text-transform: uppercase; opacity: .6; padding-top: 16px; }
.credits td { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.35; }
.credits td a { border-bottom: 1px solid currentColor; }
.credits td a:hover { opacity: .6; }
@media (max-width: 900px) { .case-body { grid-template-columns: 1fr; gap: 40px; } }

.stills { padding: 0 var(--gutter) clamp(80px, 12vh, 140px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); row-gap: calc(var(--gutter) * 1.4); align-items: start; }
.stills figure .film { aspect-ratio: var(--ar, 16 / 9); }
.stills figure img, .stills figure video { width: 100%; height: 100%; object-fit: cover; }
.stills figure.wide { grid-column: 1 / -1; }
.stills figure.drop { margin-top: 10vh; }
.stills figcaption { margin-top: 10px; opacity: .7; }
@media (max-width: 700px) { .stills { grid-template-columns: 1fr; } .stills figure.drop { margin-top: 0; } }

/* product page: screens in motion */
.screens { padding: clamp(72px, 12vh, 140px) var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.screens figure .film, .phones figure .film { background: #0a0908; }
.screens figure .film { aspect-ratio: 1 / 1; }
.screens figure video { width: 100%; height: 100%; object-fit: cover; }
.screens figure:nth-child(even) { margin-top: 12vh; }
.screens figcaption, .phones figcaption { margin-top: 10px; opacity: .7; }
.phones { padding: 0 var(--gutter) clamp(72px, 12vh, 140px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.phones figure .film { aspect-ratio: 4 / 5; }
.phones img { width: 100%; height: 100%; object-fit: cover; }
.phones figure:nth-child(2) { margin-top: 12vh; }
@media (max-width: 800px) { .screens, .phones { grid-template-columns: 1fr 1fr; gap: 14px; } .screens figure:nth-child(even), .phones figure:nth-child(2) { margin-top: 0; } }

.next { position: relative; display: block; padding: 22px var(--gutter) clamp(60px, 10vh, 110px); overflow: hidden; }
.next .label { display: flex; justify-content: space-between; }
.next .t { display: block; margin-top: 26px; font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 7vw, 124px); line-height: .84; letter-spacing: -.02em; transition: transform 1.2s var(--ease); max-width: 70%; }
.next .thumb { position: absolute; right: var(--gutter); bottom: clamp(60px, 10vh, 110px); width: min(26vw, 380px); aspect-ratio: 16 / 9; transform: rotate(2deg); transition: transform 1.2s var(--ease); }
.next .thumb img { width: 100%; height: 100%; object-fit: cover; }
.next:hover .t { transform: translateX(22px); }
.next:hover .thumb { transform: rotate(0) scale(1.04); }
@media (max-width: 800px) { .next .t { max-width: none; } .next .thumb { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 22px; transform: none; } }

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: 1.05s; animation-timing-function: cubic-bezier(.22, 1, .44, 1); }
::view-transition-old(root) { animation: 1.05s cubic-bezier(.22, 1, .44, 1) both vt-out; }
::view-transition-new(root) { animation: 1.05s cubic-bezier(.22, 1, .44, 1) both vt-in; }
@keyframes vt-out { to { transform: translateY(-9vh) scale(.97); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); transform: translateY(14vh); } to { clip-path: inset(0 0 0 0); transform: none; } }
::view-transition-old(case-media), ::view-transition-new(case-media) { animation: none; mix-blend-mode: normal; height: 100%; object-fit: cover; overflow: clip; }
::view-transition-old(case-media) { display: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .line > span, .row > a { transform: none !important; }
  .clip, .row > a { clip-path: none !important; }
  .clip > img, .clip > video { transform: none !important; }
  .rule { transform: none !important; }
  .preview, .cur, .grain { display: none !important; }
  @view-transition { navigation: none; }
}

.about .pic img { object-position: 62% 50%; }

/* ---------- product renders ---------- */
.renders { padding: clamp(72px, 12vh, 140px) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); row-gap: calc(var(--gutter) * 1.6); align-items: start; }
.renders figure .film { aspect-ratio: var(--ar, 16 / 10); background: #1a1511; }
.renders figure img, .renders figure video { width: 100%; height: 100%; object-fit: cover; }
.renders figure.wide { grid-column: 1 / -1; }
.renders figure.drop { margin-top: 12vh; }
.renders figure.turn { grid-column: 1 / -1; width: min(100%, 720px); justify-self: center; }
.renders figure.turn .film { aspect-ratio: 1 / 1; }
.renders figcaption { margin-top: 10px; opacity: .7; }
.renders .film img, .renders .film video { filter: none; }
.case-hero.pv .media img { filter: none; }
/* phones: frame the iPhone in the hero render instead of a slice of the laptop screen */
@media (max-width: 700px) { .case-hero.pv .media img { object-position: 88% 50%; } }
@media (max-width: 700px) { .renders { grid-template-columns: 1fr; } .renders figure.drop { margin-top: 0; } }

/* ---------- resume ---------- */
.r-hero { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); min-height: 100svh; }
.r-pic { position: relative; min-height: 60svh; }
.r-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.r-copy { padding: 110px var(--gutter) var(--gutter); display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.r-copy h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(44px, 5.8vw, 112px); line-height: .82; letter-spacing: -.03em; }
.r-sub { font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 1.8vw, 28px); line-height: 1.05; max-width: 22ch; }
.r-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.r-h { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 6.6vw, 118px); line-height: .84; letter-spacing: -.02em; margin-bottom: clamp(24px, 4vh, 48px); }
.r-edu, .r-list { padding: clamp(80px, 12vh, 140px) var(--gutter) 0; }
.r-edu:last-of-type { padding-bottom: clamp(80px, 12vh, 140px); }
.r-edu .credits { max-width: 980px; }
.rrows { list-style: none; border-top: 1px solid var(--line-l); }
.rrow { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr); gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-l); }
.rrow .no { padding-top: .6em; opacity: .6; }
.rrow h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 2.6vw, 44px); line-height: .92; letter-spacing: -.01em; }
.rrow .role { margin-top: 10px; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; opacity: .75; }
.rrow .when { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rrow .when span { opacity: .6; }
.rrow ul { list-style: none; display: grid; gap: 8px; }
.rrow li { font-size: 16px; line-height: 1.4; padding-left: 18px; position: relative; }
.rrow li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: currentColor; }
.rrow .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.rrow .more svg { width: 14px; height: 14px; }
.r-strip { margin-top: clamp(80px, 12vh, 140px); padding: clamp(40px, 6vh, 80px) var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.r-strip figure { aspect-ratio: 4 / 5; }
.r-strip img { width: 100%; height: 100%; object-fit: cover; }
.r-strip figure:nth-child(1) img { object-position: 30% 40%; }
.r-strip figure:nth-child(2) img { object-position: 80% 30%; }
.r-strip figure:nth-child(3) img { object-position: 60% 40%; }
.r-strip figure:nth-child(2) { margin-top: 8vh; }
@media (max-width: 800px) {
  .r-hero { grid-template-columns: 1fr; min-height: 0; }
  .r-pic { min-height: 58svh; }
  .r-copy { padding-top: 32px; }
  .rrow { grid-template-columns: 32px 1fr; }
  .rrow .det { grid-column: 2; }
  .r-strip { grid-template-columns: 1fr 1fr; }
  .r-strip figure:nth-child(2) { margin-top: 0; }
  .r-strip figure:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

/* ================= motion v1 (2026-09-30) =================
   Contact sheet: the link you click becomes the panel (clip morph + shared-text flight).
   Work index: rows make room for the hovered row; the preview peels out of the row line.
   Frames: scroll flies the camera through the collage (depth scale + inner counter-zoom).
   Transform/opacity only inside components, one ease, no overshoot, grain stays static. */
html { scrollbar-gutter: stable; }
@keyframes bob { from { translate: 0 -2px; rotate: -.12deg; } to { translate: 0 2.5px; rotate: .12deg; } }
@keyframes bob2 { from { translate: -1.5px 1.5px; } to { translate: 2px -2px; } }

/* work index: neighbours make room for the hovered row */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) { .rows .row { transition: translate .9s var(--ease); } }
/* the preview is a line that opens: it starts on the row's centre line and peels out of it; folded shut it leaves paint */
.preview .box { clip-path: inset(50% 0 50% 0); transform: scale(.94); visibility: hidden; transition: clip-path 1s var(--ease), transform 1.2s var(--ease), visibility 0s 1.1s; }
.preview.on .box { clip-path: inset(0 0 0 0); transform: scale(1); visibility: visible; transition-delay: 0s; }

/* frames: every frame floats on its own, on top of the scroll-driven depth */
.frames figure .film { animation: bob2 8s var(--ease) infinite alternate; }
.frames .f2 .film, .frames .f5 .film { animation-duration: 9.4s; animation-delay: -3s; }
.frames .f3 .film, .frames .f7 .film { animation-direction: alternate-reverse; animation-duration: 7.2s; animation-delay: -5s; }
.frames .f4 .film, .frames .f6 .film { animation-duration: 10.2s; animation-delay: -1.5s; }
.frames .big { transform-origin: 50% 0; will-change: transform; }

/* ---------- contact sheet ---------- */
.cs { position: fixed; inset: 0; z-index: 90; }
.cs[hidden] { display: none; }
.cs-scrim { position: absolute; inset: 0; background: rgba(12, 9, 6, .64); clip-path: circle(0 at 50% 50%); }
.cs-panel { position: absolute; width: min(1180px, calc(100vw - 32px)); max-height: calc(100svh - 32px); background: var(--ink); color: var(--bone); border-radius: 16px; overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: none; clip-path: inset(50% 50% 50% 50% round 16px); outline: none; }
.cs-panel::-webkit-scrollbar { display: none; }
.cs-carry { position: fixed; left: 0; top: 0; z-index: 3; margin: 0; white-space: nowrap; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.cs-in { position: relative; padding: 16px clamp(18px, 2.6vw, 38px) 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(28px, 4vw, 64px); }
.cs [data-p] { animation: bob2 8.4s var(--ease) infinite alternate; } /* translate only (a tilt steps long rules); duration, delay and direction set per part in site.js */
.cs [data-p].b2 { animation-direction: alternate-reverse; }
.cs:not(.open) [data-p], .cs:not(.open) .cs-track, .cs:not(.open) .cs-fr { animation-play-state: paused; }

.cs-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line-d); }
.cs-top .cs-geo { margin-left: auto; opacity: .62; }
.cs-x { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 9px; border: 1px solid var(--line-d); border-radius: 999px; transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease); }
.cs-x svg { width: 11px; height: 11px; transition: transform .8s var(--ease); }
.cs-x:focus-visible { background: var(--bone); color: var(--ink); border-color: var(--bone); }
@media (hover: hover) { .cs-x:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); } .cs-x:hover svg { transform: rotate(90deg); } }

.cs-mail { grid-column: 1 / -1; padding: clamp(22px, 4vh, 40px) 0 0; }
.cs-k { display: inline-block; opacity: .62; margin-bottom: 14px; }
.cs-addr { display: block; font-family: var(--display); text-transform: uppercase; font-size: 48px; line-height: .9; letter-spacing: -.015em; font-kerning: none; white-space: nowrap; user-select: text; }
.cs-lw { display: block; overflow: hidden; padding: .22em 0 .06em; margin: -.22em 0 -.06em; }
.cs-lw > span { display: inline-block; will-change: transform; }
.contact .mail { font-kerning: none; }
.cs-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0 clamp(22px, 4vh, 38px); border-bottom: 1px solid var(--line-d); }
.cs .pill:focus-visible { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.cs .pill.solid:focus-visible { background: transparent; color: var(--bone); }
@media (hover: hover) { .cs .pill:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); } .cs .pill.solid:hover { background: transparent; color: var(--bone); } }
.cs-copy .sw { position: relative; display: inline-block; overflow: hidden; height: 1.2em; line-height: 1.2; vertical-align: top; }
.cs-copy .sw > span { display: block; transition: transform .8s var(--ease); }
.cs-copy .sw > span + span { position: absolute; left: 0; top: 100%; }
.cs-copy.done .sw > span { transform: translateY(-100%); }
.cs-copy svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease) .15s; }
.cs-copy.done svg path { stroke-dashoffset: 0; }

.cs-links { list-style: none; padding: 6px 0 0; }
.cs-row a { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 44px; gap: 14px 22px; align-items: center; padding: 15px 0 14px; border-bottom: 1px solid var(--line-d); isolation: isolate; }
.cs-row a::before { content: ""; position: absolute; inset: 0 -14px; z-index: -1; border-radius: 10px; background: var(--bone); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.cs-row a:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.cs-row a:focus-visible { color: var(--ink); }
@media (hover: hover) { .cs-row a:hover::before { transform: scaleY(1); transform-origin: top; } .cs-row a:hover { color: var(--ink); } .cs-row a:hover .cs-go { background: var(--ink); color: var(--bone); border-color: var(--ink); } }
.cs-row a:focus-visible { outline-offset: 2px; }
.cs-row .cs-no { opacity: .55; }
.cs-row .cs-name { font-family: var(--display); text-transform: uppercase; font-size: clamp(18px, 1.9vw, 30px); line-height: .95; letter-spacing: -.01em; will-change: transform; }
.cs-row .cs-h { opacity: .62; text-align: right; }
.cs-row .cs-go { justify-self: end; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; will-change: transform; transition: background-color .6s var(--ease), color .6s var(--ease); }
.cs-row .cs-go svg { width: 14px; height: 14px; }
.cs-row a:focus-visible .cs-go { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.cs-side { padding: 20px 0 0; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.cs-time { display: flex; flex-direction: column; gap: 10px; }
.cs-time .label { display: flex; justify-content: space-between; gap: 12px; opacity: .62; }
.cs-clock { font-family: var(--display); font-size: clamp(30px, 3.5vw, 54px); line-height: 1; display: flex; align-items: flex-start; letter-spacing: -.01em; }
.cs-clock .odo .col { transition: transform .9s var(--ease); }
.cs-clock .odo .col.snap { transition: none; }
.cs-clock .sep { display: inline-block; width: .34em; text-align: center; opacity: .5; }
.cs-note { display: flex; flex-direction: column; gap: 10px; }
.cs-note label { opacity: .62; }
.cs-note textarea { width: 100%; min-height: 92px; resize: vertical; background: rgba(244, 240, 231, .05); color: var(--bone); border: 1px solid var(--line-d); border-radius: 12px; padding: 14px 16px; font: 400 16px/1.4 var(--sans); transition: border-color .6s var(--ease), background-color .6s var(--ease); }
.cs-note textarea::placeholder { color: rgba(244, 240, 231, .4); }
.cs-note textarea:focus { outline: none; border-color: var(--bone); background: rgba(244, 240, 231, .08); }
.cs-send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cs-send .label { opacity: .55; }

/* the contact sheet itself: his frames on a strip of film, drifting past */
.cs-sheet { grid-column: 1 / -1; position: relative; margin: clamp(26px, 4vh, 40px) calc(clamp(18px, 2.6vw, 38px) * -1) 0; padding: 20px 0; background: #0c0a08; overflow: hidden; }
.cs-sheet::before, .cs-sheet::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(244, 240, 231, .16) 9px 17px, transparent 17px 26px); }
.cs-sheet::before { top: 6px; } .cs-sheet::after { bottom: 6px; }
.cs-track { display: flex; gap: 10px; width: max-content; animation: sheet 70s linear infinite; }
@keyframes sheet { to { transform: translateX(-50%); } }
.cs-fr { flex: none; position: relative; animation: bob2 7.8s var(--ease) infinite alternate; }
.cs-fr:nth-child(2n) { animation-duration: 9.1s; animation-delay: -3.3s; }
.cs-fr:nth-child(3n) { animation-name: bob; animation-duration: 8.6s; animation-delay: -5.1s; }
.cs-fr .film { display: block; width: 168px; aspect-ratio: 3 / 2; border-radius: 2px; }
.cs-fr img { width: 100%; height: 100%; object-fit: cover; }
.cs-fr .label { display: flex; justify-content: space-between; margin-top: 6px; font-size: 9px; opacity: .5; }

@media (max-width: 760px) {
  .cs-panel { width: auto; max-height: none; border-radius: 18px; }
  .cs-in { grid-template-columns: minmax(0, 1fr); padding: 14px 18px 0; }
  .cs-top { gap: 10px 16px; }
  .cs-top .cs-geo { display: none; }
  .cs-top .cs-x { margin-left: auto; }
  .cs-row a { grid-template-columns: 26px minmax(0, 1fr) 40px; padding: 14px 0 13px; }
  .cs-row .cs-h { grid-column: 2; grid-row: 2; text-align: left; margin-top: -6px; }
  .cs-row .cs-go { grid-column: 3; grid-row: 1 / span 2; }
  .cs-row a::before { inset: 0 -8px; }
  .cs-side { padding-top: 26px; }
  .cs-fr .film { width: 132px; }
}
html.rm .cs-panel, html.rm .cs-scrim { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .cs-panel, .cs-scrim { clip-path: none !important; }
  .cs-track { transform: none !important; }
  .rows .row { translate: none !important; }
}
