/* ============ TOKENS ============ */
:root {
  --bg: #050505;
  --paper: #f2ede0;
  --red: #ff4019;
  --mute: #807d75;
  --card: #161616;
  --line: rgba(242, 237, 224, .14);
  --display: "Big Shoulders Display", "Impact", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(20px, 3.4vw, 48px);
  --bar: clamp(36px, 6.5vw, 90px); /* letterbox bar height */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* small type */
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.mute { color: var(--mute); }
.red { color: var(--red); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px var(--pad);
  mix-blend-mode: difference;
}
.nav__logo { font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 1100px) { .nav__status { display: none; } }
.nav__links { display: flex; gap: 36px; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px;
  background: currentColor; transition: right .35s ease;
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { right: 0; }
.nav__status { color: var(--red); mix-blend-mode: normal; }
.nav__status::before { content: "● "; animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav__toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; }

/* ============ HERO (letterbox) ============ */
.hero {
  position: relative; height: 100vh; min-height: 560px;
  background: var(--card); overflow: hidden;
  display: grid; place-items: center; text-align: center;
}
.hero__media { position: absolute; inset: 0; }
.hero__media::after { /* darken video so titles read */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.25), rgba(0,0,0,.7));
}
.hero__placeholder {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 4px),
    radial-gradient(ellipse at 50% 60%, #262626, #0d0d0d 70%);
}
.bar {
  position: absolute; left: 0; right: 0; z-index: 3; background: var(--bg);
  height: 50%; transition: height 1.6s cubic-bezier(.76, 0, .24, 1) .2s;
}
.bar--top { top: 0; } .bar--bot { bottom: 0; }
.is-open .bar { height: 0; }
.hero__hud {
  position: absolute; z-index: 4; left: var(--pad); right: var(--pad);
  top: 92px;
  display: flex; justify-content: space-between;
  opacity: 0; transition: opacity .6s 1.6s;
}
.is-open .hero__hud { opacity: 1; }
.hero__titles { position: relative; z-index: 2; padding: 0 var(--pad); }
.hero__by {
  font-family: var(--serif); font-style: italic; font-size: clamp(28px, 4vw, 56px);
  opacity: 0; transform: translateY(12px); transition: all 1s ease 1.5s;
}
.hero__name {
  font-family: var(--display); font-weight: 900; line-height: .9;
  font-size: clamp(64px, 13.2vw, 200px); letter-spacing: .4em;
  opacity: 0; filter: blur(12px);
  transition: letter-spacing 2.4s cubic-bezier(.16, 1, .3, 1) 1.7s, opacity 1.4s ease 1.7s, filter 1.4s ease 1.7s;
}
.hero__role { margin-top: 28px; letter-spacing: .3em; opacity: 0; transition: opacity 1s ease 2.8s; }
.is-open .hero__by { opacity: 1; transform: none; }
.is-open .hero__name { opacity: 1; filter: none; letter-spacing: .02em; }
.is-open .hero__role { opacity: 1; }
.hero__scroll {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 28px;
  letter-spacing: .3em; opacity: 0; transition: opacity 1s 3.2s;
}
.is-open .hero__scroll { opacity: 1; }

/* ============ CREDITS ============ */
.credits { padding: clamp(100px, 14vw, 180px) var(--pad); display: grid; gap: 34px; justify-content: center; }
.credit { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 460px); gap: 40px; align-items: baseline; }
.credit__role { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.5vw, 36px); color: var(--mute); text-align: right; }
.credit__name { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 44px); letter-spacing: .04em; text-transform: uppercase; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ NOW SHOWING ============ */
.showing { padding: 40px var(--pad) clamp(100px, 12vw, 160px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 10.4vw, 150px); line-height: .9; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px 24px; }

.poster { display: block; }
.poster__frame { position: relative; aspect-ratio: 4 / 5; background: var(--card); overflow: hidden; }
.poster__frame img, .poster__frame video { position: absolute; inset: 0; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1), opacity .4s; }
.poster__frame video.poster__loop { opacity: 1; }
.poster:hover .poster__frame video.ready { opacity: 1; }
.poster:hover .poster__frame img { transform: scale(1.04); }
.poster__reel { position: absolute; top: 14px; left: 16px; z-index: 2; font-size: 12px; color: var(--paper) !important; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.poster__play {
  position: absolute; z-index: 2; inset: auto 16px 14px auto; font-size: 12px; color: var(--paper);
  opacity: 0; transform: translateY(6px); transition: all .4s;
}
.poster:hover .poster__play { opacity: 1; transform: none; }
.poster__frame::after { /* letterbox wipe on hover */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--bg); transition: box-shadow .5s cubic-bezier(.76, 0, .24, 1);
}
.poster:hover .poster__frame::after { box-shadow: inset 0 28px 0 0 var(--bg), inset 0 -28px 0 0 var(--bg); }
.poster__cat { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--red); }
.poster__title { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 3.3vw, 48px); line-height: .95; margin-top: 4px; }

/* ============ END CARD (footer) ============ */
.end { background: var(--paper); color: var(--bg); text-align: center; padding: clamp(120px, 14vw, 200px) var(--pad) 48px; }
.end__q { font-family: var(--serif); font-style: italic; font-size: clamp(40px, 5vw, 72px); }
.end__big {
  display: inline-block; margin-top: 24px;
  font-family: var(--display); font-weight: 900; line-height: .85; font-size: clamp(72px, 15.3vw, 220px);
  transition: color .3s;
}
.end__big:hover { color: var(--red); }
.end__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; margin-top: 64px; font-weight: 500; font-size: 14px; }
.end__links a:hover { color: var(--red); }
.end__fine { margin-top: 48px; font-size: 11px; color: var(--mute); }

/* ============ PROJECT PAGE ============ */
.p-hero { height: 100vh; height: 100svh; }
.p-hero .hero__name { font-size: clamp(56px, 10vw, 160px); }
.p-body { padding: clamp(80px, 10vw, 140px) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1440px; margin: 0 auto; }
.p-summary { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.2; }
.p-credits { display: grid; gap: 14px; align-content: start; }
.p-credits .credit { grid-template-columns: 1fr 1fr; gap: 24px; }
.p-credits .credit__role { font-size: 22px; }
.p-credits .credit__name { font-size: 26px; }
.gallery { padding: 0 var(--pad) 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery figure { background: var(--card); }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery figcaption { padding: 10px 0 0; background: var(--bg); font-size: 12px; color: var(--mute); letter-spacing: .15em; text-transform: uppercase; }
.placeholder-tile { aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--mute); font-size: 12px; letter-spacing: .2em; }
.next { display: block; text-align: center; padding: 120px var(--pad); border-top: 1px solid var(--line); }
.next__title { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 9vw, 140px); line-height: .9; transition: color .3s; }
.next:hover .next__title { color: var(--red); }

/* ---- the film ---- */
.film { padding: clamp(80px, 10vw, 140px) var(--pad) 0; max-width: 1600px; margin: 0 auto; }
.film__head { display: flex; justify-content: space-between; margin-bottom: 16px; }
.film__frame { position: relative; aspect-ratio: 16 / 9; background: var(--card); overflow: hidden; }
.film__frame video { object-fit: contain; background: #000; }
.film__play {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; cursor: pointer;
}
.film__btn {
  width: clamp(72px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; padding-left: .2em;
  border: 1px solid var(--paper); font-size: clamp(22px, 2.6vw, 36px);
  transition: background .3s, color .3s, transform .4s cubic-bezier(.16, 1, .3, 1);
}
.film__frame:hover .film__btn { background: var(--red); border-color: var(--red); transform: scale(1.08); }

/* ---- process ---- */
.process { padding: clamp(60px, 8vw, 120px) var(--pad) clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.stage { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.stage:first-of-type { border-top: 0; }
.stage__label { position: sticky; top: 110px; align-self: start; }
.stage__label h3 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 3vw, 48px); line-height: .95; margin: 0 0 14px; text-transform: uppercase; }
.stage__label p { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.25; color: var(--mute); }
.frames { display: grid; gap: 16px; min-width: 0; }
.frames--grid3 { grid-template-columns: repeat(3, 1fr); }
.frames--grid2 { grid-template-columns: repeat(2, 1fr); }
.frames--wide { grid-template-columns: 1fr; }
.frame__img { position: relative; aspect-ratio: 16 / 9; background: var(--card); overflow: hidden; }
.frames--grid3 .frame__img { aspect-ratio: 4 / 5; }
.frame__img .placeholder-tile { position: absolute; inset: 0; aspect-ratio: auto; }
.frame figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
/* film strip */
.frames--strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 26px 10px; background: #000;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 10px, var(--card) 10px 22px, transparent 22px 32px),
    repeating-linear-gradient(90deg, transparent 0 10px, var(--card) 10px 22px, transparent 22px 32px);
  background-size: 100% 10px, 100% 10px;
  background-position: 0 8px, 0 calc(100% - 8px);
  background-repeat: repeat-x;
  scrollbar-width: thin; scrollbar-color: var(--red) #000;
}
.frames--strip .frame { flex: 0 0 clamp(220px, 26vw, 340px); scroll-snap-align: start; }
.frames--strip figcaption { color: var(--paper); }

/* ============ PLAYGROUND ============ */
.pg-head { padding: calc(var(--bar) + 120px) var(--pad) 64px; }
.pg-head h1 { font-family: var(--display); font-weight: 900; font-size: clamp(72px, 14vw, 210px); line-height: .85; }
.pg-head p { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 38px); margin-top: 16px; color: var(--mute); }
.pg-grid { padding: 0 var(--pad) 140px; columns: 4 260px; column-gap: 16px; }
.pg-item { break-inside: avoid; margin-bottom: 16px; background: var(--card); position: relative; overflow: hidden; }
.pg-item img, .pg-item video { height: auto; }
.pg-item .tag { position: absolute; left: 10px; bottom: 8px; font-size: 11px; letter-spacing: .15em; text-shadow: 0 1px 4px #000; }
.pg-item.empty { display: grid; place-items: center; color: var(--mute); font-size: 11px; letter-spacing: .2em; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 56px 16px; }
  .nav__links { gap: 22px; }
}
@media (max-width: 760px) {
  .nav { mix-blend-mode: normal; background: linear-gradient(var(--bg), transparent); }
  .nav__toggle { display: block; }
  .nav__status { display: none; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; background: var(--bg);
    flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    font-family: var(--display); font-weight: 900; font-size: 44px; letter-spacing: .04em;
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .nav.open .nav__links { opacity: 1; pointer-events: auto; }
  .credit { grid-template-columns: 1fr; gap: 2px; text-align: center; }
  .credit__role { text-align: center; }
  .grid { grid-template-columns: 1fr; }
  .p-body, .gallery { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .stage__label { position: static; }
  .frames--grid2 { grid-template-columns: 1fr 1fr; }
  .frames--grid3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .frames--grid3 figcaption span:last-child { display: none; }
  .hero__hud .mono:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01s !important; transition-delay: 0s !important; animation: none !important; }
}

/* ============ MISSING-FILE PLACEHOLDER ============ */
.ph {
  width: 100%; aspect-ratio: var(--r, 16 / 9);
  display: grid; place-items: center; text-align: center;
  color: var(--mute); font-size: 11px; letter-spacing: .2em;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 4px),
    radial-gradient(ellipse at 50% 55%, #222, #111 75%);
}
.hero__media .ph, .film__frame .ph, .frame__img .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.film__frame .ph > span { position: absolute; top: 16px; left: 16px; }
.p-summary p + p { margin-top: .8em; }
.gallery figure { position: relative; }
.gallery--portrait { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .gallery--portrait { grid-template-columns: 1fr 1fr; } }
.hero__media .ph > span { display: none; }
.process--single .stage { grid-template-columns: 1fr; padding-top: 0; }
.process--single .stage__label { display: none; }
.frames--grid3w { grid-template-columns: repeat(3, 1fr); }
.frames--strip .frame { flex-basis: clamp(280px, 38vw, 560px); }
@media (max-width: 760px) { .frames--grid3w { grid-template-columns: 1fr 1fr; } }
.frames--moodboard { display: block; columns: 4 200px; column-gap: 16px; }
.frames--moodboard .frame { break-inside: avoid; margin-bottom: 16px; }
.frames--moodboard .frame__img { aspect-ratio: auto; }
.frames--moodboard .frame__img img { height: auto; }
.frames--moodboard figcaption:has(span:first-child:empty) { display: none; }
.frames--natural { grid-template-columns: 1fr 1fr; }
.frames--natural .frame__img { aspect-ratio: auto; }
.frames--natural .frame__img img { height: auto; }
.frames--natural .frame__img[style] img { height: 100%; }
.frame--wide { grid-column: 1 / -1; }
.frames--pair { grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px; }
.frame__img--scroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--red) var(--card); border-radius: 18px; }
.frame__img--scroll img { height: auto; }
.frames--pair .frame__img { border-radius: 18px; }
.process--nohead .stage:first-of-type { padding-top: 0; }
.sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; cursor: pointer;
  padding: 8px 14px; border-radius: 100px; border: 1px solid var(--paper);
  background: rgba(5,5,5,.6); color: var(--paper); font-size: 11px; letter-spacing: .15em;
  backdrop-filter: blur(6px); transition: background .25s, border-color .25s;
}
.sound::before { content: "♪ "; }
.sound[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.gallery--portrait { padding-top: 0; }
.gallery--portrait figure img { aspect-ratio: var(--r); height: auto; }
.p-hero .hero__media img { object-position: center 25%; }
.credit--link { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.credit--link .credit__name { color: var(--red); transition: letter-spacing .4s; }
.credit--link:hover .credit__name { letter-spacing: .08em; }
.process--featured { border-top: 0; padding-top: 0; }
.process--featured .stage { border-top: 0; padding-top: 0; }

/* ============ PLAYGROUND DESKTOP ============ */
.desk {
  position: relative; margin: 0 var(--pad) 120px; min-height: 80vh;
  background-image: radial-gradient(rgba(242,237,224,.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.file {
  position: absolute; transform: rotate(var(--rot, 0deg)); cursor: grab; touch-action: pan-y; user-select: none;
  background: #1b1b1b; border: 1px solid rgba(242,237,224,.18); border-radius: 8px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.55); transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.file:hover { transform: rotate(var(--rot)) scale(1.03); box-shadow: 0 26px 60px rgba(0,0,0,.7); }
.file.is-grab { cursor: grabbing; transform: rotate(0deg) scale(1.05); transition: none; }
.file__bar { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; background: #262626; font-size: 10px; letter-spacing: .06em; color: var(--mute); white-space: nowrap; }
.file__name { overflow: hidden; text-overflow: ellipsis; }
.file__dots { display: flex; gap: 5px; flex: none; }
.file__dots i { width: 8px; height: 8px; border-radius: 50%; background: #444; }
.file__dots i:first-child { background: var(--red); }
.file__media { position: relative; background: #000; }
.file__media img, .file__media video { pointer-events: none; }

.lb { position: fixed; inset: 0; z-index: 200; background: rgba(5,5,5,.98); display: none; place-items: center; }
.lb.open { display: grid; }
.lb__stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 70px 80px; }
.lb__stage img, .lb__stage video { width: auto; height: auto; max-width: calc(100vw - 160px); max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); object-fit: contain; }
.lb__close { position: absolute; top: 22px; right: var(--pad); background: none; border: 0; color: var(--paper); cursor: pointer; letter-spacing: .2em; font-size: 12px; }
.lb__close:hover { color: var(--red); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid rgba(242,237,224,.3); color: var(--paper); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 18px; }
.lb__nav:hover { background: var(--red); border-color: var(--red); }
.lb__prev { left: 20px; } .lb__next { right: 20px; }
.lb__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 760px) { .lb__stage { padding: 60px 12px; } .lb__stage img, .lb__stage video { max-width: calc(100vw - 24px); max-height: calc(100svh - 150px); } .lb__nav { top: auto; bottom: 14px; transform: none; } }
.ig-cta { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin: 0 var(--pad) 56px; padding: 14px 26px; border: 1px solid var(--red); border-radius: 100px; transition: background .3s, color .3s; }
.ig-cta__join { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); }
.ig-cta__handle { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: .02em; color: var(--red); transition: color .3s; }
.ig-cta:hover { background: var(--red); }
.ig-cta:hover .ig-cta__handle { color: var(--bg); }
.film__frame--custom { width: min(100%, calc(84vh * 9 / 16)); width: min(100%, calc(84svh * 9 / 16)); margin: 0 auto; border-radius: 6px; }
.film__frame--custom video { object-fit: cover; }

/* first project = full-width feature */
.grid .poster:first-child { grid-column: 1 / -1; }
.grid .poster:first-child .poster__frame { aspect-ratio: 21 / 9; }
.grid .poster:first-child .poster__title { font-size: clamp(48px, 7vw, 110px); line-height: .9; }
.grid .poster:first-child .poster__cat { font-size: 30px; }
@media (max-width: 760px) { .grid .poster:first-child .poster__frame { aspect-ratio: 4 / 5; } }

/* ============ ABOUT ============ */
.about { padding: calc(var(--bar) + 120px) var(--pad) 40px; max-width: 1440px; margin: 0 auto; }
.about__title { font-family: var(--display); font-weight: 900; font-size: clamp(80px, 15vw, 230px); line-height: .85; margin-top: 12px; }
.about__body { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 860px); justify-content: space-between; gap: 64px; margin-top: 64px; align-items: start; }
.about__text { display: grid; }
.about__photo { background: #fff; padding: 14px 14px 0; rotate: -3deg; box-shadow: 0 24px 50px rgba(0,0,0,.6); transition: rotate .5s cubic-bezier(.16,1,.3,1), scale .5s cubic-bezier(.16,1,.3,1), opacity 1s, transform 1s cubic-bezier(.16,1,.3,1); }
.about__photo:hover { rotate: 0deg; scale: 1.02; }
.about__photo img { height: auto; aspect-ratio: 1; object-fit: cover; }
.about__photo figcaption { color: #111; font-size: 12px; letter-spacing: .08em; padding: 14px 4px 16px; text-align: center; }
@media (max-width: 900px) { .about__body { grid-template-columns: 1fr; } .about__photo { width: min(320px, 80%); } }
.about__bio p { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.25; }
.about__bio p + p { margin-top: .8em; }
.about__cv { justify-self: start; margin-top: 40px; padding: 12px 22px; border: 1px solid var(--red); border-radius: 100px; color: var(--red); transition: background .3s, color .3s; }
.about__cv:hover { background: var(--red); color: var(--bg); }
.about-credits { padding: clamp(80px, 10vw, 140px) 0 clamp(100px, 12vw, 160px); }
.about-credits__label { text-align: center; }
.about-credits .credits { padding-top: 40px; padding-bottom: 0; }
.about-reel { padding: clamp(80px, 10vw, 140px) var(--pad) 0; max-width: 1440px; margin: 0 auto; display: grid; justify-items: center; }
.about-reel .film__head { width: min(100%, calc(84vh * 9 / 16)); }
.about-reel__link { display: grid; justify-items: center; gap: 6px; margin-top: 32px; text-align: center; }
.about-reel__title { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 4.5vw, 64px); line-height: .95; transition: color .3s, letter-spacing .4s; }
.about-reel__link:hover .about-reel__title { color: var(--red); letter-spacing: .03em; }

/* home hero: rotating project loops */
.hero__clip { position: absolute; inset: 0; opacity: 0; }
.hero__clip.on { opacity: 1; }
.hero__now { pointer-events: auto; transition: color .3s; }
.hero__now:hover { color: var(--red); }
.hero__titles, .hero__hud, .hero__scroll { text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.6); }
.hero__hud { color: var(--paper); }

/* ============ INTRO: CLAPPERBOARD ============ */
html.intro body > :not(.loader) { opacity: 0; }
body > * { transition: opacity .6s ease; }
.loader {
  position: fixed; inset: 0; z-index: 500; background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 36px; cursor: pointer;
  transition: opacity .6s ease .1s, transform .8s cubic-bezier(.76,0,.24,1);
}
.loader.is-flash::after { content: ""; position: fixed; inset: 0; background: var(--paper); animation: flash .22s steps(2) forwards; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.loader.is-out { opacity: 0; transform: translateY(-4%); pointer-events: none; }

.clap { --line: var(--paper); width: min(560px, 86vw); position: relative; padding-top: 4px; }
.clap__stick, .clap__bar {
  height: clamp(40px, 7vw, 58px); border: 3px solid var(--line);
  background: repeating-linear-gradient(-55deg, var(--paper) 0 26px, #0b0b0b 26px 52px);
}
.clap__stick {
  transform-origin: 0 100%; transform: rotate(-24deg);
  transition: transform .14s cubic-bezier(.6,0,1,.6);
  animation: clapIdle 1.6s ease-in-out infinite alternate;
}
@keyframes clapIdle { from { transform: rotate(-24deg); } to { transform: rotate(-17deg); } }
.clap__bar { border-top: 0; background: repeating-linear-gradient(55deg, var(--paper) 0 26px, #0b0b0b 26px 52px); }
.loader.is-clap .clap__stick { animation: none; transform: rotate(0deg); }
.loader.is-clap .clap { animation: thud .25s ease-out .12s; }
@keyframes thud { 0% { transform: translateY(0); } 40% { transform: translateY(5px) rotate(.4deg); } 100% { transform: none; } }

.clap__board { border: 3px solid var(--line); border-top: 0; background: #0d0d0d; }
.clap__row { display: flex; align-items: baseline; gap: 14px; padding: 12px 16px; border-top: 2px solid rgba(242,237,224,.7); }
.clap__row:first-child { border-top: 0; }
.clap__row--3, .clap__row--2 { display: grid; padding: 0; }
.clap__row--3 { grid-template-columns: repeat(3, 1fr); }
.clap__row--2 { grid-template-columns: 1fr 1.3fr; }
.clap__row--3 > div, .clap__row--2 > div { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; }
.clap__row--3 > div + div, .clap__row--2 > div + div { border-left: 2px solid rgba(242,237,224,.7); }
.clap__k { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); flex: none; }
.clap__v { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.6vw, 30px); letter-spacing: .04em; line-height: 1; }
.clap__row--prod .clap__v { font-size: clamp(16px, 2.3vw, 26px); }
.clap__tc { color: var(--red); font-variant-numeric: tabular-nums; }
.loader__status { display: flex; justify-content: space-between; width: min(560px, 86vw); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.loader__pct { color: var(--paper); font-variant-numeric: tabular-nums; }
.loader__skip { color: var(--mute); }
@media (max-width: 520px) { .clap__row--prod { flex-direction: column; gap: 4px; } }
