/* creaydestruye — the contact sheet. White ground; the pictures are the only colour. */
:root {
  --bg: #fbfaf7;
  --ink: #111110;
  --muted: #5c5b57;
  --tone: #f2f1ee;
  --red: #ff3b1f;
  --red-ink: #c4250d;
  --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-ink); }
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; }
/* the wall shows the work clean; the series name appears on hover or focus */
.wall .tag { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s var(--ease); }
.wall .fr { position: relative; }
.wall .fr:hover .tag, .wall .fr:focus-visible .tag { opacity: 1; transform: none; }
.wall-grid { position: absolute; inset: auto 0 0 0; pointer-events: none; }
.cell { pointer-events: auto; background: var(--bg); color: var(--ink); padding: 22px var(--m) 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 12px 48px; box-shadow: 0 -12px 0 var(--bg); }
.cell h1 { grid-row: 1 / span 2; font-size: clamp(44px, 6.4vw, 104px); font-weight: 400; letter-spacing: -0.045em; line-height: .9; }
.cell h1 span { color: var(--red); }
.cell .say { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; font-weight: 500; }
.cell .facts { grid-column: 2; font-size: var(--step-small); color: var(--muted); max-width: 52ch; }
.cell .btn { grid-column: 3; grid-row: 1; justify-self: end; }
.cell nav { grid-column: 3; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; 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; }
.tiles .tile { aspect-ratio: 4 / 5; overflow: hidden; }
.tiles .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 32px; padding: 14svh var(--m) 30px; font-size: var(--step-small); color: var(--muted); }
.foot .logo { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.foot .logo span { color: var(--red); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: center; }
.foot nav a { color: var(--ink); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.foot nav a:hover { color: var(--red-ink); }
.foot nav.r { justify-content: flex-end; align-items: baseline; }
.foot nav.r span { display: inline-flex; min-height: 32px; align-items: center; }

/* ── 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; text-underline-offset: 4px; }
@media (min-width: 761px) {
  .top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); }
  /* on the home page the header sits above the wall, which fills the rest of the screen */
  .top + main .wall { height: calc(100svh - 72px); min-height: 560px; }
}
.s-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 24px; align-items: end; padding: 9vh var(--m) 48px; }
.s-head h1 { grid-column: 1 / span 7; font-size: clamp(3rem, 1rem + 7vw, 6rem); line-height: .92; letter-spacing: -0.035em; }
.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; }
/* a section opens on its strongest piece, large, beside the title */
.s-head:has(.lead) { grid-template-rows: 1fr auto; min-height: min(calc(100svh - 64px), 1080px); padding-top: 24px; }
.s-head:has(.lead) h1 { grid-column: 1 / span 5; grid-row: 1; align-self: end; font-size: clamp(3rem, 1rem + 6vw, 6rem); }
.s-head:has(.lead) .s-say { grid-column: 1 / span 5; grid-row: 2; max-width: 44ch; }
.s-head .lead { all: unset; cursor: zoom-in; grid-column: 6 / -1; grid-row: 1 / span 2; justify-self: end; align-self: stretch; display: flex; justify-content: flex-end; min-height: 0; }
.s-head .lead img { height: min(calc(100svh - 136px), 1000px); width: auto; max-width: 100%; object-fit: contain; object-position: right bottom; transition: filter .3s; }
.s-head .lead:hover img { filter: brightness(1.06); }
.s-head .lead { align-items: flex-end; }
.s-head .lead video { width: min(100%, calc(100svh - 136px), 1000px); height: auto; aspect-ratio: 1; object-fit: cover; }
.s-head a.lead { cursor: pointer; }
.s-head .lead:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
/* the sheet: bigger frames, rows filled edge to edge like a printed contact sheet */
.s-sheet { padding: 0 var(--m); }
.s-sheet .frames { --fh: clamp(200px, 24vw, 440px); gap: 10px; }
.s-sheet .frames > * { flex: 1 1 auto; min-width: 0; max-width: 100%; }
.s-sheet .frames > [style*="--r"] { flex: var(--r) 1 calc(var(--fh) * var(--r)); max-width: min(100%, calc(var(--fh) * var(--r) * 1.45)); }
.s-sheet .frames img { width: 100%; object-fit: cover; }
.s-sheet .frames::after { content: ""; flex: 10 1 0; }
.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: 4 240px; column-gap: 12px; padding: 0 var(--m); }
.vid { break-inside: avoid; margin-bottom: 24px; }
.vid.wide { column-span: all; }
.vid video { width: 100%; height: auto; background: var(--ink); }
.vid figcaption { margin-top: 8px; font-size: var(--step-small); }
.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-template-columns: auto minmax(0, 1fr); }
  .cell .btn { grid-column: 1; grid-row: 3; justify-self: start; }
  .cell nav { grid-column: 2; grid-row: 3; justify-content: flex-start; align-self: center; }
  .cell h1 { grid-row: 1 / span 2; }
  .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 { display: flex; flex-direction: column; align-items: stretch; margin: 0; padding: 20px 16px; gap: 14px; box-shadow: none; }
  .cell nav { justify-content: flex-start; }
  .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, .foot nav.r { 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-head:has(.lead) { min-height: 0; padding-top: 32px; grid-template-rows: none; }
  .s-head:has(.lead) h1, .s-head:has(.lead) .s-say { grid-column: 1 / -1; grid-row: auto; }
  .s-head .lead { grid-column: 1 / -1; grid-row: auto; justify-self: stretch; }
  .s-head .lead img, .s-head .lead video { width: 100%; height: auto; max-height: 75svh; object-position: center; }
  .s-sheet .frames { --fh: 42vw; gap: 6px; }
  .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%; }
/* the home page already shows the name large; the header keeps only the menu there */
@media (min-width: 761px) { .top:has(+ main .wall) .logo { visibility: hidden; } }
@media (max-width: 760px) { .top:has(+ main .wall) .logo { display: none; } }


/* ══ home: a plane of the work that never stops drifting. Columns run at their own speeds; the wheel and the hand push it; a touched piece flies out of the plane and becomes the screen. ══ */
html:has(body.home), body.home { height: 100%; overflow: hidden; }
body.home { background: #050505; color: #f3f1ea; font-size: 13px; line-height: 1.35; font-weight: 500; }
body.home ::selection { background: var(--red); color: #050505; }
.wall { position: fixed; inset: 0; overflow: hidden; touch-action: none; cursor: grab; transition: opacity .6s ease, filter .6s ease, transform .9s cubic-bezier(.7,0,.2,1); }
.wall.drag { cursor: grabbing; }
.wall.away { opacity: .18; filter: blur(14px); transform: scale(.92); pointer-events: none; }
.wall.swap { opacity: 0; transform: scale(1.25); filter: blur(20px); }
.tile { all: unset; position: absolute; left: 0; top: 0; overflow: hidden; background: #141414; cursor: pointer; will-change: transform; }
.tile > video, .tile > img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(var(--z, 1.18)); transition: transform 1.1s cubic-bezier(.2,.8,.2,1), filter .5s; }
.tile .cap { position: absolute; left: 10px; bottom: 8px; right: 10px; font-size: 13px; text-shadow: 0 1px 10px rgba(0,0,0,.8); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.tile:hover .cap, .kbd .tile:focus-visible .cap { opacity: 1; transform: none; }
.tile:hover > video, .tile:hover > img { --z: 1.02; }
.wall:has(.tile:hover) .tile:not(:hover) > * { filter: brightness(.55) grayscale(.5); }
.kbd .tile:focus-visible { outline: 2px solid #f3f1ea; outline-offset: 3px; }
.fly { position: fixed; z-index: 10; overflow: hidden; background: #000; pointer-events: none; transition: left .9s var(--fx), top .9s var(--fx), width .9s var(--fx), height .9s var(--fx), opacity .4s ease; --fx: cubic-bezier(.76,0,.18,1); }
.fly.on { pointer-events: auto; cursor: zoom-out; }
.fly > video, .fly > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .9s var(--fx); }
.fly.fit > video, .fly.fit > img { object-fit: contain; }
.fly > .old { opacity: 0; transform: scale(1.06); }
.line { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; height: 60px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 0 var(--m); font-size: 13px; background: linear-gradient(rgba(5,5,5,0), rgba(5,5,5,.94) 42%); }
.line a, .line button { all: unset; cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; }
.line a:hover, .line button:hover { color: var(--red); }
.line :focus-visible { outline: 2px solid #f3f1ea; outline-offset: 3px; }
.line .logo { font-size: 15px; letter-spacing: -0.02em; justify-self: start; }
.line .logo span { color: var(--red); display: inline-block; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.line .logo:hover span { transform: rotate(90deg); }
.line .now { text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.line .now b { font-weight: 500; }
.line .now i { font-style: normal; font-weight: 400; color: #a9a69d; margin-left: 10px; }
.line .now u { text-decoration: none; font-variant-numeric: tabular-nums; margin-left: 10px; }
.line .now.flip b, .line .now.flip i { display: inline-block; animation: flip .45s cubic-bezier(.2,.8,.2,1); }
@keyframes flip { from { opacity: 0; transform: translateY(70%); } }
.line .acts { justify-self: end; display: flex; gap: 0 18px; white-space: nowrap; }
.line [hidden] { display: none; }
.pointer { position: fixed; z-index: 30; left: 0; top: 0; pointer-events: none; font-size: 12px; background: #f3f1ea; color: #050505; padding: 5px 9px; border-radius: 999px; opacity: 0; scale: .6; transition: opacity .2s, scale .3s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.pointer.on { opacity: 1; scale: 1; }
@media (hover: none) { .pointer { display: none; } .tile .cap { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .line { height: 104px; padding-top: 18px; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-content: center; gap: 2px 12px; }
  .line .now { grid-column: 1 / -1; grid-row: 1; text-align: left; }
  .line .logo { grid-row: 2; }
  .line .acts { grid-row: 2; gap: 0 14px; }
}
body.home .wall { height: auto; min-height: 0; overflow: hidden; display: block; }

/* ══ reading pages (sobre, casos, 404): the same black room, and nothing arrives still ══ */
html:has(body.read) { background: #050505; }
body.read { --bg: #050505; --ink: #f3f1ea; --muted: #a9a69d; --tone: #151515; --red-ink: #ff5a42; background: var(--bg); color: var(--ink); }
body.read ::selection { background: var(--red); color: #050505; }
body.read .btn, body.read .btn:hover { color: #050505; }
body.read .fm-film { background: #000; }
body.read .fm-play svg { fill: #050505; }
body.read .tiles .tile img { mix-blend-mode: normal; filter: grayscale(1) brightness(.8); }
body.read .tiles a:hover .tile img { filter: none; }
body.read .top { background: color-mix(in srgb, #050505 88%, transparent); }
body.read .top .logo span, body.read .foot .logo span { display: inline-block; transition: transform .5s var(--ease); }
body.read .top .logo:hover span, body.read .foot .logo:hover span { transform: rotate(90deg); }
body.read main a:not(.btn):not(.lead) { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .2s; }
body.read main a:not(.btn):not(.lead):hover { background-size: 0 1px; background-position: 100% 100%; }
/* words of a title rise one after another */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.in .w > span, .w.in > span { transform: none; }
/* pictures uncover from below and settle */
.uncover { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.76,0,.18,1); }
.uncover > img, .uncover > video, img.uncover, video.uncover { transition: transform 1.6s var(--ease), clip-path 1.2s cubic-bezier(.76,0,.18,1); }
.uncover:not(.in) > img, .uncover:not(.in) > video, img.uncover:not(.in), video.uncover:not(.in) { transform: scale(1.18); }
.uncover.in { clip-path: inset(0 0 0 0); }
/* text and rows slide in */
.slide { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.slide.in { opacity: 1; transform: none; }
/* leaving a page: a black curtain closes; arriving: it opens */
.curtain { position: fixed; inset: 0; z-index: 200; background: #050505; pointer-events: none; transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.76,0,.18,1); }
.curtain.shut { transform: scaleY(1); transform-origin: top; }
@media (prefers-reduced-motion: reduce) {
  .w > span, .uncover, .slide { transform: none !important; clip-path: none !important; opacity: 1 !important; }
}
.shows h2 span { white-space: nowrap; }
