/* creaydestruye — the contact sheet. White ground; the pictures are the only colour. */
:root {
  --bg: #ffffff;
  --ink: #111110;
  --muted: #5c5b57;
  --tone: #f2f1ee;
  --red: #ff3b1f;
  --pink: #f0327c;
  --sun: #ffc93c;
  --sea: #1f6fff;
  --face: 'Work Sans', system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --m: clamp(16px, 1.6vw, 24px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.55 var(--face); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-weight: 300; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
p { text-wrap: pretty; }

/* one button shape */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--red); color: var(--ink); font: 500 var(--step-small)/1 var(--face); transition: transform .18s var(--ease), background-color .18s; }
.btn:hover { color: var(--ink); background: #ff5a42; transform: translateY(-2px); }
.btn:active { transform: none; }

/* ── first screen: the work as wallpaper, one cell of text */
.wall { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 0 12px; }
.col { --off: 0px; transform: translateY(var(--off)); }
.col:nth-child(2) { --off: -90px; } .col:nth-child(3) { --off: -40px; } .col:nth-child(4) { --off: -130px; } .col:nth-child(5) { --off: -20px; } .col:nth-child(6) { --off: -70px; }
.col-track { animation: drift 120s linear infinite; }
.col:nth-child(even) .col-track { animation-direction: reverse; animation-duration: 150s; }
.wall:hover .col-track, .wall:focus-within .col-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateY(-50%); } }
.fr { display: block; margin-bottom: 12px; text-decoration: none; color: var(--ink); }
.fr img { width: 100%; height: auto; }
.tag { display: flex; align-items: center; height: 28px; padding: 0 8px; font-size: var(--step-small); font-weight: 500; white-space: nowrap; overflow: hidden; }
.t1 { background: var(--red); } .t2 { background: var(--ink); color: #fff; } .t3 { background: var(--pink); } .t4 { background: var(--sun); }
.fr:hover .tag { text-decoration: underline; }
.wall-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 0 12px; pointer-events: none; }
.cell { grid-column: 3 / span 2; align-self: start; margin-top: 28svh; min-height: 410px; display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--ink); color: #fff; pointer-events: auto; }
.cell h1 { font-size: clamp(32px, 2.9vw, 44px); font-weight: 500; letter-spacing: -0.03em; }
.cell h1 span { color: var(--red); }
.cell .say { font-size: 20px; line-height: 1.35; max-width: 30ch; }
.cell .facts { font-size: var(--step-small); color: #d6d4cf; max-width: 36ch; }
.cell .btn { align-self: flex-start; }
.cell nav { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: var(--step-small); }
.cell nav a { display: inline-flex; min-height: 32px; align-items: center; }

/* ── section heads: a heading and one note on the same line */
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px 24px; align-items: baseline; padding: 0 var(--m); }
.head h2 { grid-column: 1 / span 5; font-size: var(--step-head); }
.head p { grid-column: 7 / span 6; max-width: 54ch; }

/* ── the sheet: every series, every piece, in order */
.sheet { padding: 140px 0 40px; }
.run { padding: 56px var(--m) 0; }
.run-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px 24px; align-items: baseline; margin-bottom: 18px; }
.run-head h3 { grid-column: 1 / span 4; font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.run-head h3 a { text-decoration: none; }
.run-head p { grid-column: 5 / span 6; max-width: 62ch; }
.run-head p b { font-weight: 500; }
.run-head .go { grid-column: 11 / span 2; justify-self: end; font-size: var(--step-small); font-weight: 500; }
.frames { --fh: clamp(112px, 12.5vw, 196px); display: flex; flex-wrap: wrap; gap: 8px; }
.frames button, .frames a { all: unset; cursor: zoom-in; height: var(--fh); background: var(--tone); transition: transform .3s var(--ease), filter .3s; }
.frames a { cursor: pointer; }
.frames img { height: 100%; width: auto; }
.frames button:hover, .frames a:hover { transform: translateY(-4px); filter: brightness(1.06); }
.frames button:focus-visible, .frames a:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ── one work, close: a run of frames with one lifted */
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 160px var(--m) 0; }
.feature-text { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 18px; }
.feature-text h2 { font-size: clamp(2rem, 1.3rem + 1.8vw, 3rem); }
.feature-text .note { margin-top: auto; }
.feature-text .note + .note { margin-top: 0; }
.feature-run { grid-column: 4 / span 9; display: flex; align-items: flex-end; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.feature-run figure { flex: none; scroll-snap-align: start; }
.feature-run img, .feature-run video { height: 30vh; min-height: 200px; width: auto; }
.feature-run .lift video { height: 66vh; min-height: 440px; }
.feature-run figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: var(--step-small); }
.shutter { clip-path: inset(0 0 0 0); }
.shutter.wait { clip-path: inset(100% 0 0 0); }
.shutter.wait video { transform: scale(1.12); }
.shutter, .shutter video { transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease); }

/* ── shows, books and press, as a table */
.shows { padding: 160px var(--m) 0; }
.shows h2 { font-size: clamp(2.5rem, 1rem + 5vw, 6rem); line-height: .95; }
.shows h2 span { display: block; padding-left: calc((100% - 11 * 24px) / 12 * 2 + 48px); }
.table { width: 100%; margin-top: 72px; border-collapse: collapse; font-size: var(--step-body); }
.table td { padding: 14px 12px; vertical-align: top; }
.table tr:nth-child(odd) td { background: var(--tone); }
.table td:first-child { width: 10%; font-variant-numeric: tabular-nums; }
.table td:nth-child(2) { width: 36%; font-weight: 500; }
.table td:nth-child(3) { width: 36%; }
.table td:last-child { text-align: right; color: var(--muted); }
.table .gap td { background: none; padding: 10px; }
.table a { text-decoration: underline; }

/* ── other projects: Vicenia and the rest, as two-ended rows */
.more { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 160px var(--m) 0; align-items: start; }
.more-film { grid-column: 1 / span 5; background: var(--pink); }
.more-film video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.more-text { grid-column: 7 / span 6; display: grid; gap: 20px; }
.more-text h2 { font-size: var(--step-head); }
.more-text .lead { font-size: var(--step-lead); line-height: 1.35; }
.rows { list-style: none; margin-top: 24px; max-width: 560px; }
.rows li a, .rows li > span { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; text-decoration: none; }
.rows .dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; margin-right: 8px; vertical-align: -2px; }
.rows small { font-size: var(--step-small); color: var(--muted); text-align: right; }
.rows a:hover small { color: var(--red); }

/* ── about: what the pictures are about, on four tinted tiles */
.about { padding: 160px var(--m) 0; }
.about h2 { font-size: var(--step-head); }
.about-say { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.about-say .big { grid-column: 1 / span 7; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.15; font-weight: 300; letter-spacing: -0.02em; }
.about-say .bio { grid-column: 8 / span 5; display: grid; gap: 14px; align-content: start; }
.wink { color: var(--red); font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 64px; }
.tiles a { text-decoration: none; }
.tile { aspect-ratio: 4 / 5; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; transition: filter .4s; }
.tiles a:hover .tile img { filter: none; mix-blend-mode: normal; }
.tiles a:nth-child(1) .tile { background: var(--red); } .tiles a:nth-child(2) .tile { background: var(--sun); }
.tiles a:nth-child(3) .tile { background: var(--pink); } .tiles a:nth-child(4) .tile { background: var(--sea); }
.tiles b { display: block; margin-top: 10px; font-weight: 500; font-size: var(--step-body); }
.tiles span { font-size: var(--step-small); color: var(--muted); }

/* ── contact: a sentence, a picture, two links */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 160px var(--m) 120px; align-items: start; }
.contact h2 { grid-column: 1 / span 5; font-size: clamp(1.625rem, 1rem + 1.6vw, 2.25rem); line-height: 1.12; letter-spacing: -0.02em; }
.contact .pic { grid-column: 8 / span 2; width: 160px; aspect-ratio: 1; object-fit: cover; }
.contact-links { grid-column: 10 / span 3; display: grid; gap: 10px; }
.contact-links b { font-weight: 500; font-size: 18px; margin-bottom: 10px; }
.contact-links a { font-size: 18px; text-decoration: underline; overflow-wrap: anywhere; }
.contact-links span { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }

/* ── footer: one quiet line */
.foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 16px; padding: 14svh var(--m) 30px; font-size: var(--step-small); color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: center; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover { color: var(--red); }
.foot .r { justify-self: end; }

/* ── series pages */
.top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px 24px; align-items: baseline; padding: 20px var(--m); font-size: var(--step-small); }
.top .logo { grid-column: 1 / span 3; font-weight: 500; font-size: 18px; text-decoration: none; letter-spacing: -0.02em; }
.top .logo span { color: var(--red); }
.top nav { grid-column: 5 / span 8; display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: flex-end; }
.top nav a { text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.top nav a[aria-current] { text-decoration: underline; }
.s-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 24px; align-items: end; padding: 12vh var(--m) 48px; }
.s-head h1 { grid-column: 1 / span 7; font-size: clamp(3rem, 1rem + 7vw, 8rem); line-height: .92; }
.s-head .s-say { grid-column: 8 / span 5; display: grid; gap: 10px; }
.s-head .s-say b { font-weight: 500; }
.s-head .q { font-style: italic; }
.s-sheet { padding: 0 var(--m); }
.s-sheet .frames { --fh: clamp(170px, 24vw, 360px); }
.s-next { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 120px var(--m) 0; }
.s-next a { display: grid; gap: 6px; text-decoration: none; }
.s-next a + a { text-align: right; }
.s-next small { font-size: var(--step-small); color: var(--muted); }
.s-next strong { font-weight: 300; font-size: var(--step-head); letter-spacing: -0.035em; line-height: 1; }
.vids { columns: 3 300px; column-gap: 24px; padding: 0 var(--m); }
.vid { break-inside: avoid; margin-bottom: 32px; }
.vid.wide { column-span: all; }
.vid video { width: 100%; height: auto; background: var(--ink); }
.vid figcaption { margin-top: 10px; }
.e404 { min-height: 80svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding: 60px var(--m); }
.e404 h1 { grid-column: 1 / span 6; font-size: clamp(3rem, 1rem + 6vw, 7rem); }
.e404 div { grid-column: 8 / span 5; display: grid; gap: 18px; justify-items: start; }
.e404 video { grid-column: 8 / span 5; width: 100%; max-width: 360px; }

/* ── the viewer */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(17,17,16,.97); color: #fff; display: none; }
.lb.on { display: grid; grid-template-rows: auto 1fr; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px var(--m); font-size: var(--step-small); }
.lb-bar a { color: #fff; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px 24px; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 90px); object-fit: contain; }
.lb button { all: unset; cursor: pointer; padding: 12px 14px; min-width: 24px; text-align: center; color: #fff; font-size: var(--step-small); font-weight: 500; }
.lb button:hover { color: var(--red); }
.lb .prev, .lb .next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb .prev { left: 4px; } .lb .next { right: 4px; }

/* ── entrances: content is always visible; it only travels in */
.rise { transform: translateY(24px); transition: transform .9s var(--ease); }
.rise.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  .rise { transform: none; }
  .shutter.wait { clip-path: none; }
  .shutter.wait video { transform: none; }
}

@media (max-width: 1100px) {
  .cell { grid-column: 2 / span 3; }
  .head h2 { grid-column: 1 / -1; } .head p { grid-column: 1 / span 9; }
  .run-head h3 { grid-column: 1 / span 6; } .run-head .go { grid-column: 7 / -1; }
  .run-head p { grid-column: 1 / span 10; grid-row: 2; }
  .feature-text { grid-column: 1 / -1; } .feature-text .note { margin-top: 0; }
  .feature-run { grid-column: 1 / -1; }
  .more-film { grid-column: 1 / span 5; } .more-text { grid-column: 6 / -1; }
  .about-say .big, .about-say .bio { grid-column: 1 / -1; }
  .contact h2 { grid-column: 1 / -1; } .contact .pic { grid-column: 1 / span 3; } .contact-links { grid-column: 5 / -1; }
}
@media (max-width: 760px) {
  .wall { height: auto; min-height: 0; overflow: visible; display: flex; flex-direction: column; }
  .wall-grid { order: -1; }
  .wall-grid { position: relative; display: block; padding: 0; }
  .cell { margin: 0; min-height: 40svh; padding: 20px 16px; gap: 14px; }
  .cell h1 { font-size: 9vw; }
  .cell .say { font-size: 17px; }
  .cell .btn { align-self: stretch; }
  .cols { position: relative; height: 92svh; overflow: hidden; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 8px 0; }
  .col:nth-child(n+3) { display: none; }
  .col:nth-child(1) { --off: 0px; } .col:nth-child(2) { --off: -60px; }
  .fr { margin-bottom: 8px; }
  .sheet { padding-top: 96px; }
  .head p, .run-head p { grid-column: 1 / -1; }
  .frames { gap: 6px; }
  .feature, .shows, .more, .about { padding-top: 112px; }
  .feature-run { margin: 0 calc(-1 * var(--m)); padding: 0 var(--m); }
  .feature-run img { height: 34vw; min-height: 0; }
  .feature-run .lift video { height: 70svh; min-height: 0; }
  .shows h2 { font-size: 11vw; } .shows h2 span { padding-left: 0; }
  .table, .table tbody, .table tr, .table td { display: block; width: auto !important; }
  .table tr { padding: 12px; } .table tr:nth-child(odd) { background: var(--tone); } .table td { padding: 0; background: none !important; text-align: left !important; }
  .table td:first-child:empty { display: none; }
  .table td:first-child { font-size: 22px; font-weight: 300; margin-bottom: 6px; }
  .more-film, .more-text { grid-column: 1 / -1; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact { padding: 112px var(--m) 80px; }
  .contact h2 { font-size: 24px; }
  .contact .pic { grid-column: 1 / span 4; width: 96px; }
  .contact-links { grid-column: 5 / -1; }
  .foot { grid-template-columns: 1fr; padding-top: 10svh; padding-bottom: 24px; gap: 8px; }
  .foot nav { justify-content: flex-start; } .foot .r { justify-self: start; }
  .top .logo { grid-column: 1 / -1; } .top nav { grid-column: 1 / -1; justify-content: flex-start; }
  .s-head { padding-top: 48px; } .s-head h1, .s-head .s-say { grid-column: 1 / -1; }
  .s-next { grid-template-columns: 1fr; } .s-next a + a { text-align: left; }
  .e404 h1, .e404 div, .e404 video { grid-column: 1 / -1; }
  .lb-stage { padding: 0 8px 16px; }
  .lb .prev, .lb .next { top: auto; bottom: 8px; transform: none; }
}

/* entrances for frames, which reset their own styles */
.frames > .rise { transform: translateY(24px); transition: transform .9s var(--ease), filter .3s; }
.frames > .rise.in { transform: none; }
.frames > .rise.in:hover { transform: translateY(-4px); }
.e404 div video { width: 100%; }
