/* ==========================================================================
   A — TITLE SEQUENCE
   Blend Abdullah portfolio mockup. Monochrome + one accent (logo streak blue).
   ========================================================================== */

@font-face {
  font-family: "Futura XBI";
  src: url("/assets/fonts/futura-xbi.ttf") format("truetype");
  font-weight: 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Eurostile";
  src: url("/assets/fonts/eurostile-regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Eurostile";
  src: url("/assets/fonts/eurostile-bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #000;
  --bar: #000;
  --ink: #0b0b0b;
  --fg: #ecebe6;
  --dim: #8d8c87;
  --faint: #45443f;
  --line: rgba(236, 235, 230, .14);
  --accent: #a9d5ff;              /* the cool white-blue of the logo light streaks */

  --f-head: "Futura XBI", "Futura", "Trebuchet MS", sans-serif;
  --f-body: "Eurostile", "Microgramma", "Arial", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Consolas", monospace;

  --g: clamp(16px, 3.2vw, 48px);  /* side gutter */
  --bar-h: 56px;
  --scope: 2.39;
  --fade: 520ms cubic-bezier(.2, .6, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: 15px; line-height: 1.55; letter-spacing: .02em;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; } /* component display rules (e.g. .play-reel flex) must never un-hide */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #000; }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: var(--g); top: -100px; z-index: 100; background: var(--fg); color: #000; padding: 8px 12px; font-weight: 700; letter-spacing: .2em; font-size: 11px; }
.skip:focus { top: 10px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type primitives ---------- */
.head {
  font-family: var(--f-head); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -.04em; line-height: .84; margin: 0;
}
.label {
  font-family: var(--f-body); font-weight: 700; text-transform: uppercase;
  font-size: 11px; letter-spacing: .32em; line-height: 1.4; margin: 0;
}
.credit {
  font-family: var(--f-body); font-weight: 400; text-transform: uppercase;
  font-size: 12px; letter-spacing: .26em; line-height: 1.6;
}
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.dim { color: var(--dim); }
.acc { color: var(--accent); }

/* ---------- film grain (very low opacity, steps not drift) ---------- */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: .07; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.35'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, -2%); } 100% { transform: translate(0, 0); }
}

/* ---------- top bar = the upper letterbox bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--g);
  background: var(--bar); border-bottom: 1px solid transparent;
}
.bar.is-scrolled { border-bottom-color: var(--line); }
.bar-mark { display: flex; align-items: center; gap: 14px; margin-right: auto; white-space: nowrap; }
.bar-ba { display: block; height: 26px; width: auto; align-self: center; margin-left: -6px; }
.bar-name { font-size: 11px; letter-spacing: .38em; text-transform: uppercase; }
.bar-nav { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.bar-nav a { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); padding: 6px 0; white-space: nowrap; }
.bar-nav a .r { font-family: var(--f-mono); letter-spacing: 0; margin-right: 2px; }
.bar-nav a:hover, .bar-nav a[aria-current="page"] { color: var(--fg); }
.bar-nav a[aria-current="page"] .r { color: var(--accent); }
.bar-tc { color: var(--dim); min-width: 15ch; text-align: right; }
.bar-menu { display: none; font-size: 11px; letter-spacing: .32em; padding: 10px 0 10px 12px; }

@media (max-width: 860px) {
  .bar-tc { display: none; }
  .bar-menu { display: block; }
  .bar-name { display: none; }
  .bar-nav {
    display: none; position: fixed; inset: var(--bar-h) 0 0 0; background: #000;
    flex-direction: column; justify-content: center; gap: 4px; padding: var(--g);
  }
  .bar.is-open .bar-nav { display: flex; }
  .bar-nav a {
    font-family: var(--f-head); font-style: italic; font-weight: 900; letter-spacing: -.04em;
    font-size: clamp(28px, 8.4vw, 72px); line-height: 1.02; color: var(--fg); white-space: normal;
  }
  .bar-nav .sl { display: none; }
  .bar-nav a .r { display: block; font-size: 11px; color: var(--dim); font-style: normal; margin-bottom: 4px; }
}

main { padding-top: var(--bar-h); }

/* ---------- letterboxed frame ---------- */
.frame { position: relative; width: 100%; aspect-ratio: var(--scope); overflow: hidden; background: var(--ink); }
.frame > img, .frame > video, .frame .fill {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.frame video { opacity: 0; transition: opacity var(--fade); }
.frame video.is-live, .frame video[data-hero].is-live { opacity: 1; }
.frame-hud {
  position: absolute; inset: 0; pointer-events: none; color: rgba(236,235,230,.78);
  display: grid; grid-template: auto 1fr auto / 1fr 1fr; padding: clamp(10px, 1.4vw, 20px) clamp(12px, 1.6vw, 24px);
}
.frame-hud > :nth-child(2), .frame-hud > :nth-child(4) { text-align: right; }
.frame-hud > :nth-child(3), .frame-hud > :nth-child(4) { grid-row: 3; align-self: end; }
.frame-hud span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-shadow: 0 0 6px rgba(0,0,0,.6); }

/* ---------- section heads (reel / chapter numbering) ---------- */
.chapter {
  display: grid; grid-template-columns: minmax(80px, 1fr) 3fr; gap: 24px; align-items: baseline;
  padding: 0 var(--g); margin-bottom: clamp(28px, 4vw, 56px);
}
.chapter .num { font-family: var(--f-mono); font-size: 11px; color: var(--accent); }
.chapter .label { color: var(--fg); }
.chapter .label + .credit { margin-top: 6px; }
.streak {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, #fff 50%, var(--accent) 70%, transparent);
  opacity: .55;
}

/* ---------- R0: opening titles (home hero) ---------- */
.opening { position: relative; min-height: calc(100svh - var(--bar-h)); display: flex; flex-direction: column; overflow: hidden; }
.opening .frame { max-height: calc(100svh - var(--bar-h) - 170px); margin: 0 auto; }
.opening-title {
  font-size: clamp(64px, 17.6vw, 400px); white-space: nowrap; margin-top: -1.16em; position: relative; z-index: 2;
  pointer-events: none;
}
.opening-title .l1 { display: block; margin-left: -.035em; }
.opening-title .l2 { display: block; margin-left: .62em; }
.opening-foot {
  display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 24px 40px; align-items: end;
  padding: 22px var(--g) 28px; margin-top: auto;
}
.opening-foot .credit { margin: 0; font-size: 11px; }
.play-reel {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px 14px 16px;
  border: 1px solid var(--fg); text-transform: uppercase; font-weight: 700; font-size: 11px; letter-spacing: .32em;
  transition: background-color .2s, color .2s; white-space: nowrap;
}
.play-reel .tri { width: 0; height: 0; border-left: 9px solid var(--accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.play-reel .mono { font-weight: 400; letter-spacing: 0; color: var(--dim); }
.play-reel:hover { background: var(--fg); color: #000; }
.play-reel:hover .tri { border-left-color: #000; }
.play-reel:hover .mono { color: #333; }

@media (max-width: 860px) {
  .opening { min-height: 0; padding-top: 9svh; }
  .opening .frame { max-height: none; }
  .opening-foot { margin-top: 0; }
  .opening-title { margin-top: -.42em; font-size: 18.7vw; }
  .opening-title .l2 { margin-left: .3em; }
  .opening-foot { grid-template-columns: 1fr; padding-top: 28px; }
}

/* ---------- page heads (inner pages) ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 110px) 0 clamp(24px, 3vw, 40px); }
.page-head .head { font-size: clamp(72px, 19vw, 360px); white-space: nowrap; margin-left: calc(var(--g) * -.6); }
.page-head .head.right { text-align: right; margin-right: -.07em; margin-left: 0; }
.page-head-meta {
  display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 0 var(--g); margin-top: clamp(20px, 3vw, 36px); align-items: start;
}
.page-head-meta p { margin: 0; max-width: 56ch; }
.lede { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; letter-spacing: .03em; }
@media (max-width: 700px) { .page-head-meta { grid-template-columns: 1fr; } }

/* ---------- R1: end-credits roll ---------- */
.roll { position: relative; padding-top: clamp(80px, 10vw, 160px); }
.roll-stage { position: relative; }
.roll-viewport { position: sticky; top: var(--bar-h); height: calc(100svh - var(--bar-h)); overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.roll-ghost { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; pointer-events: none; }
.roll-ghost img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: .22; }
.roll-ghost.is-on { opacity: 1; }
.roll-track { position: relative; will-change: transform; padding: 0 var(--g); }
.roll.is-static .roll-viewport { position: relative; height: auto; -webkit-mask-image: none; mask-image: none; top: 0; }
.roll.is-static .roll-track { transform: none !important; padding-bottom: 40px; }

.cblock { text-align: center; margin: 0 auto; max-width: 980px; }
.cblock-top { padding: 12vh 0 9vh; }
.cblock-top .credit { margin: 0; color: var(--dim); font-size: 11px; }
.cblock-top .name { font-family: var(--f-head); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(30px, 4.4vw, 64px); line-height: 1; margin: 18px 0 14px; }
.clist { list-style: none; margin: 0; padding: 0; }
.crow {
  display: grid; grid-template-columns: 1fr minmax(28px, 72px) 1fr; align-items: baseline; gap: 14px;
  padding: 11px 0; text-transform: uppercase;
}
.crow .role { text-align: right; font-size: 11px; letter-spacing: .26em; color: var(--dim); }
.crow .lead { border-bottom: 1px dotted var(--faint); transform: translateY(-4px); }
.crow .show { text-align: left; font-weight: 700; font-size: clamp(13px, 1.25vw, 17px); letter-spacing: .2em; }
.crow .show small { display: block; font-weight: 400; font-size: 10px; letter-spacing: .3em; color: var(--dim); margin-top: 2px; }
.crow a { display: contents; }
.crow:hover .show, .crow:focus-within .show { color: var(--accent); }
.crow:hover .lead { border-bottom-color: var(--accent); }
.cblock-end { padding: 10vh 0 14vh; }
.cblock-end .credit { color: var(--dim); font-size: 11px; margin: 0 0 6px; }
@media (max-width: 560px) {
  .crow { grid-template-columns: 1fr 18px 1fr; gap: 8px; }
  .crow .role { font-size: 9px; letter-spacing: .18em; }
  .crow .show { font-size: 12px; letter-spacing: .12em; }
}

/* ---------- R2: scenes (full-bleed projects with title cards) ---------- */
.scenes { padding-top: clamp(80px, 10vw, 160px); }
.scene { display: block; position: relative; color: var(--fg); }
.scene .frame { aspect-ratio: var(--scope); }
.scene .frame::after { /* bottom legibility falloff, black only */
  content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,.78)); pointer-events: none;
}
.scene .frame img, .scene .frame video { object-position: var(--pos, 50% 50%); }
.scene .frame::before { /* top falloff for the credit block, black only */
  content: ""; position: absolute; inset: 0 0 62% 0; z-index: 1; background: linear-gradient(rgba(0,0,0,.55), transparent); pointer-events: none;
}
.scene-card { position: absolute; inset: auto 0 0 0; z-index: 2; overflow: hidden; padding: 0 0 clamp(10px, 1.6vw, 26px); pointer-events: none; }
.scene-title { font-size: clamp(48px, 10.5vw, 200px); white-space: nowrap; margin-left: -.06em; line-height: .8; }
.scene--alt .scene-title { text-align: right; margin-left: 0; margin-right: -.1em; }
.scene-credits {
  position: absolute; z-index: 2; top: clamp(12px, 1.6vw, 22px); right: var(--g); margin: 0; text-align: right;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase; line-height: 1.9; max-width: min(46ch, 60%);
}
.scene-credits b { font-weight: 700; color: var(--dim); margin-right: .8em; }
.scene--alt .scene-credits { right: auto; left: var(--g); text-align: left; }
.scene--alt .scene-tag { left: auto; right: var(--g); }
.scene-tag { position: absolute; z-index: 2; top: clamp(12px, 1.6vw, 22px); left: var(--g); display: flex; gap: 18px; }
.scene-tag .mono { font-size: 10px; text-shadow: 0 0 6px rgba(0,0,0,.6); }
.scene .frame img { transition: opacity var(--fade); }
.cut { padding: clamp(28px, 4vw, 64px) var(--g); text-align: right; font-family: var(--f-mono); font-size: 11px; color: var(--dim); letter-spacing: .2em; }
@media (max-width: 760px) {
  .scene .frame { aspect-ratio: 4 / 5; }
  .scene-title { font-size: 17vw; }
  .scene-credits, .scene--alt .scene-credits { left: var(--g); right: var(--g); top: 44px; text-align: left; max-width: none; font-size: 9px; }
  .scene--alt .scene-tag { right: auto; left: var(--g); }
}

/* ---------- R3: billing block ---------- */
.billing { padding: clamp(100px, 12vw, 200px) var(--g) clamp(60px, 8vw, 120px); text-align: center; }
.billing p { margin: 0 auto; max-width: 1100px; text-transform: uppercase; }
.billing .names { font-weight: 700; font-size: clamp(14px, 1.9vw, 26px); letter-spacing: .16em; line-height: 1.9; }
.billing .names span { white-space: nowrap; }
.billing .names i { font-style: normal; font-weight: 400; color: var(--faint); margin: 0 .5em; }
.billing .credit { color: var(--dim); font-size: 11px; margin-bottom: 26px; }

/* ---------- contact block ---------- */
.contact { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 160px) 0 clamp(60px, 7vw, 100px); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; padding: 0 var(--g); }
.contact .head.huge { font-size: clamp(80px, 16vw, 300px); white-space: nowrap; margin-left: calc(var(--g) * -1 - .05em); margin-bottom: clamp(30px, 4vw, 60px); }
.contact .bio p { margin: 0 0 1em; max-width: 52ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.65; }
.contact-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-lines li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-lines .label { color: var(--dim); font-size: 10px; }
.contact-lines a { font-size: clamp(15px, 1.4vw, 20px); letter-spacing: .06em; }
.contact-lines a:hover { color: var(--accent); }
.email-big { display: inline-block; font-family: var(--f-head); font-style: italic; font-weight: 900; letter-spacing: -.03em; font-size: clamp(22px, 3.4vw, 52px); line-height: 1.05; text-transform: uppercase; word-break: break-all; margin-bottom: 28px; }
.email-big:hover { color: var(--accent); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-lines li { grid-template-columns: 90px 1fr; } }

/* ---------- end slate (footer) ---------- */
.slate { border-top: 1px solid var(--line); padding: clamp(50px, 7vw, 110px) var(--g) 36px; text-align: center; }
.slate .label { color: var(--dim); font-size: 10px; }
.slate-mark { width: min(880px, 100%); aspect-ratio: 3459 / 720; margin: 26px auto 36px; overflow: hidden; }
.slate-mark img { width: 111.01%; max-width: none; margin-left: -9.83%; margin-top: -17.63%; }
.slate-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.slate-meta a:hover { color: var(--fg); }

/* ---------- WORK: cue sheet + monitor ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px 4px; padding: 0 var(--g); margin-bottom: 28px; }
.filters button {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase; padding: 10px 12px; border: 1px solid transparent; color: var(--dim);
}
.filters button .mono { font-size: 10px; letter-spacing: 0; margin-right: 6px; }
.filters button sup { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0; margin-left: 4px; vertical-align: super; }
.filters button:hover { color: var(--fg); }
.filters button[aria-pressed="true"] { color: var(--fg); border-color: var(--fg); }
.filters button[aria-pressed="true"] .mono { color: var(--accent); }

.cuesheet { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 48px); padding: 0 var(--g) 120px; align-items: start; }
.cue-head, .cue { display: grid; grid-template-columns: 44px minmax(0, 2.4fr) minmax(0, 1.4fr) 48px 52px; gap: 14px; align-items: baseline; }
.cue-head { padding: 0 0 10px; border-bottom: 1px solid var(--line); color: var(--dim); }
.cue-head span { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; }
.cue-list { list-style: none; margin: 0; padding: 0; }
.cue { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--fg); position: relative; }
.cue .n, .cue .y, .cue .d { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.cue .t { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.cue .c { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cue .d { text-align: right; }
.cue-thumb { display: none; }
.cue:hover .t, .cue:focus-visible .t, .cue.is-cued .t { color: var(--accent); }
.cue.is-cued .n { color: var(--accent); }
.cue-count { margin: 18px 0 0; color: var(--dim); }

.monitor { position: sticky; top: calc(var(--bar-h) + 24px); }
.monitor .frame { aspect-ratio: 16 / 9; background: #050505; }
.monitor .frame img, .monitor .frame video { object-fit: contain; }
.monitor-card { padding: 18px 0 0; }
.monitor-card .head { font-size: clamp(28px, 3vw, 46px); line-height: .92; margin: 8px 0 14px; }
.monitor-card dl { display: grid; grid-template-columns: 72px 1fr; gap: 6px 14px; margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.monitor-card dt { color: var(--dim); font-size: 9px; letter-spacing: .3em; font-weight: 700; padding-top: 2px; }
.monitor-card dd { margin: 0; }

@media (max-width: 1023px) {
  .cuesheet { grid-template-columns: 1fr; }
  .monitor { display: none; }
  .cue-head { display: none; }
  .cue { grid-template-columns: 112px minmax(0, 1fr) 40px; grid-template-areas: "th t y" "th c d"; gap: 2px 14px; align-items: center; }
  .cue .n { display: none; }
  .cue .t { grid-area: t; font-size: 12px; align-self: end; }
  .cue .c { grid-area: c; align-self: start; white-space: normal; }
  .cue .y { grid-area: y; text-align: right; align-self: end; }
  .cue .d { grid-area: d; align-self: start; }
  .cue-thumb { display: block; grid-area: th; width: 112px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink); }
}

/* ---------- AI: justified reels ---------- */
.ai-hero .frame { max-height: calc(100svh - var(--bar-h) - 80px); margin: 0 auto; }
.ai-hero { position: relative; overflow: hidden; }
.ai-hero .head { font-size: clamp(48px, 14vw, 380px); white-space: nowrap; margin: -1.1em 0 0 -.04em; position: relative; z-index: 2; pointer-events: none; }
.ai-hero .head > span { display: block; }
.ai-hero .head .l2 { margin-left: .35em; }
.groupnav { display: flex; flex-wrap: wrap; gap: 4px 26px; padding: 0 var(--g); }
.groupnav a { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); padding: 8px 0; }
.groupnav a .mono { color: var(--accent); margin-right: 6px; font-size: 10px; letter-spacing: 0; }
.groupnav a:hover { color: var(--fg); }

.reel-group { padding-top: clamp(70px, 9vw, 140px); scroll-margin-top: var(--bar-h); }
.reel-group .chapter { margin-bottom: 26px; }
.reel-group .chapter .head { font-size: clamp(34px, 5.6vw, 92px); grid-column: 2; }
.reel-group .chapter .num { grid-row: 1 / 3; }
.reel-group .chapter .credit { grid-column: 2; margin: 10px 0 0; color: var(--dim); font-size: 11px; }

.justify { --row: clamp(220px, 23.5vw, 400px); display: flex; flex-wrap: wrap; gap: clamp(10px, 1.2vw, 18px); padding: 0 var(--g); align-items: flex-start; }
.justify::after { content: ""; flex: 9999 1 0; }
.tile { flex: var(--a) 1 calc(var(--a) * var(--row)); min-width: 0; display: block; text-align: left; color: var(--fg); padding: 0; align-self: flex-start; }
.tile .frame { aspect-ratio: var(--a); background: var(--ink); }
.tile .frame img { transition: opacity var(--fade), filter var(--fade); }
.tile:hover .frame img { filter: brightness(.9); }
.tile-play {
  position: absolute; z-index: 2; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 7px 9px;
  background: rgba(0,0,0,.66); font-size: 9px; letter-spacing: .28em; font-weight: 700; text-transform: uppercase; opacity: 0; transition: opacity .25s;
}
.tile-play::before { content: ""; border-left: 7px solid var(--accent); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.tile:hover .tile-play, .tile:focus-visible .tile-play { opacity: 1; }
.tile-tc { position: absolute; z-index: 2; left: 10px; top: 8px; font-family: var(--f-mono); font-size: 10px; color: rgba(236,235,230,.85); text-shadow: 0 0 6px #000; }
.tile-text { display: block; padding: 12px 2px 6px; }
.tile-sub { display: block; font-size: 9px; letter-spacing: .3em; font-weight: 700; text-transform: uppercase; color: var(--accent); }
.tile-title { display: block; font-family: var(--f-head); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.02; margin: 6px 0 5px; }
.tile-line { display: block; font-size: 12px; line-height: 1.45; color: var(--dim); letter-spacing: .03em; max-width: 46ch; }
@media (max-width: 860px) { .justify { --row: 300px; } }
@media (max-width: 560px) { .justify { --row: 236px; } .tile-play { opacity: 1; } .tile-line { font-size: 11px; } }

/* ---------- PROJECT ---------- */
.proj-hero { position: relative; overflow: hidden; }
.proj-hero .frame { max-height: calc(100svh - var(--bar-h) - 120px); margin: 0 auto; }
.proj-hero .head { font-size: clamp(54px, 13.5vw, 260px); white-space: nowrap; margin: -.45em 0 0 -.05em; position: relative; z-index: 2; pointer-events: none; }
.proj-credits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: clamp(30px, 4vw, 56px) var(--g); border-bottom: 1px solid var(--line); }
.proj-credits dt { font-size: 9px; letter-spacing: .32em; font-weight: 700; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.proj-credits dd { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.proj-body { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 64px); padding: clamp(60px, 8vw, 120px) var(--g); }
.proj-body .player { background: var(--ink); width: 100%; aspect-ratio: 16 / 9; }
.proj-body .player.is-vertical { aspect-ratio: 9 / 16; max-height: 85vh; width: auto; margin: 0 auto; }
.proj-notes p { margin: 0 0 1em; max-width: 40ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.65; }
.contact-sheet { padding: 0 var(--g) clamp(60px, 8vw, 120px); }
.sheet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: #000; }
.sheet li { position: relative; }
.sheet button { display: block; width: 100%; position: relative; }
.sheet .frame { aspect-ratio: 16 / 9; }
.sheet .frame img, .sheet canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet canvas { opacity: 0; transition: opacity .4s; }
.sheet canvas.is-ready { opacity: 1; }
.sheet .mono { position: absolute; left: 8px; bottom: 6px; z-index: 2; font-size: 10px; text-shadow: 0 0 6px #000; }
.sheet button:hover .mono { color: var(--accent); }
.sheet-note { margin: 14px 0 0; color: var(--dim); }
.next-scene { display: block; position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: clamp(50px, 6vw, 90px) 0 clamp(40px, 5vw, 70px); }
.next-scene .label { padding: 0 var(--g); color: var(--dim); }
.next-scene .head { font-size: clamp(54px, 11vw, 200px); white-space: nowrap; margin: 14px 0 0 calc(var(--g) * -.5); transition: color .2s; }
.next-scene:hover .head { color: var(--accent); }
@media (max-width: 860px) {
  .proj-credits { grid-template-columns: 1fr 1fr; }
  .proj-body { grid-template-columns: 1fr; }
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- ABOUT ---------- */
.disc { list-style: none; margin: 0; padding: 0 var(--g); border-top: 1px solid var(--line); }
.disc li { display: grid; grid-template-columns: 70px minmax(0, 5fr) minmax(0, 6fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.disc .mono { color: var(--accent); }
.disc h3 { margin: 0; font-family: var(--f-head); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(22px, 2.8vw, 42px); line-height: 1; }
.disc p { margin: 0; color: var(--dim); max-width: 52ch; }
.disc a { text-transform: uppercase; font-size: 10px; letter-spacing: .3em; color: var(--fg); display: inline-block; margin-top: 10px; }
.disc a:hover { color: var(--accent); }
@media (max-width: 760px) { .disc li { grid-template-columns: 1fr; gap: 8px; } }
.about-bio { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; padding: clamp(50px, 7vw, 110px) var(--g); }
.about-bio .big p { margin: 0 0 .8em; font-size: clamp(18px, 2vw, 28px); line-height: 1.45; letter-spacing: .01em; max-width: 34em; }
@media (max-width: 760px) { .about-bio { grid-template-columns: 1fr; } }
.static-credits { padding: clamp(60px, 8vw, 120px) var(--g); }

/* ---------- lightbox ---------- */
.lb { padding: 0; border: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: #000; color: var(--fg); overflow: hidden; }
.lb::backdrop { background: #000; }
.lb[open] { display: grid; grid-template-rows: var(--bar-h) minmax(0, 1fr) auto; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--g); }
.lb-close { display: inline-flex; gap: 12px; align-items: center; font-size: 11px; letter-spacing: .32em; font-weight: 700; padding: 10px 0; }
.lb-close kbd { font-family: var(--f-mono); font-size: 10px; color: var(--dim); border: 1px solid var(--faint); padding: 1px 5px; letter-spacing: 0; }
.lb-close:hover { color: var(--accent); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(52px, 6vw, 110px); }
.lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: 100%; background: #000; }
.lb-stage video.is-wide { width: 100%; height: auto; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: clamp(44px, 5vw, 80px); height: 120px; display: flex; align-items: center; justify-content: center; color: var(--dim); }
.lb-nav:hover { color: var(--accent); }
.lb-nav span { font-family: var(--f-mono); font-size: 11px; writing-mode: vertical-rl; letter-spacing: .3em; }
.lb-prev { left: 0; } .lb-next { right: 0; }
.lb-prev span { transform: rotate(180deg); }
.lb-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 30px; align-items: end; padding: 16px var(--g) 22px; }
.lb-card .head { font-size: clamp(24px, 3.4vw, 54px); line-height: .95; }
.lb-card .credit { margin: 6px 0 0; color: var(--dim); font-size: 10px; }
.lb-card .mono { color: var(--dim); text-align: right; }
.lb.is-single .lb-nav { display: none; }
@media (max-width: 700px) {
  .lb-stage { padding: 0; }
  .lb-nav { top: auto; bottom: -58px; transform: none; height: 44px; width: 60px; z-index: 2; }
  .lb-nav span { writing-mode: horizontal-tb; }
  .lb-prev span { transform: none; }
  .lb-card { grid-template-columns: 1fr; padding-bottom: 64px; }
  .lb-card .mono { text-align: left; }
}

/* ---------- cursor tag ---------- */
.cursor-tag {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; opacity: 0;
  font-size: 9px; letter-spacing: .3em; font-weight: 700; text-transform: uppercase;
  padding: 6px 8px; background: var(--fg); color: #000; transform: translate3d(-100px, -100px, 0); white-space: nowrap;
}
.cursor-tag.is-on { opacity: 1; }

/* ---------- reveal: fades only, never slides ---------- */
.js .reveal { opacity: 0; transition: opacity 900ms ease; }
.js .reveal.is-in { opacity: 1; }
.js body { animation: fadeup 700ms ease both; }
@keyframes fadeup { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .js body { animation: none; }
  .js .reveal { opacity: 1; transition: none; }
  .frame video, .roll-ghost, .tile-play, .scene .frame img { transition: none; }
  .cursor-tag { display: none; }
}
@media (hover: none) { .cursor-tag { display: none; } }

/* ==========================================================================
   Round 2 — FUI shows, ghost crossfade, IMDb badge
   ========================================================================== */
button.frame { display: block; width: 100%; padding: 0; text-align: left; }
button.frame .frame-hud { display: grid; }

/* credit-row hover: two layers crossfading through the show's hover_images */
.roll-ghost img { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; }
.roll-ghost img.is-front { opacity: .24; }
.static-credits { position: relative; }
.static-credits .roll-ghost { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.static-credits [data-credits], .static-credits .chapter { position: relative; z-index: 1; }

/* show cards (fui.html index + work.html?filter=fui) */
.showgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px) clamp(12px, 1.4vw, 20px); padding: 0 var(--g) clamp(80px, 9vw, 140px); }
.showcard { display: block; color: var(--fg); }
.showcard:first-child { grid-column: span 2; grid-row: span 2; }
.showcard:first-child .frame { aspect-ratio: auto !important; height: calc(100% - 92px); min-height: 260px; }
.showcard-text { display: grid; gap: 4px; padding-top: 12px; }
.showcard-text .mono { font-size: 10px; }
.showcard-title { font-family: var(--f-head); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(20px, 2.1vw, 34px); line-height: 1; }
.showcard:first-child .showcard-title { font-size: clamp(28px, 4vw, 64px); }
.showcard .credit { font-size: 10px; margin: 2px 0 0; }
.showcard:hover .showcard-title, .showcard:focus-visible .showcard-title { color: var(--accent); }
@media (max-width: 1023px) { .showgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .showgrid { grid-template-columns: 1fr; }
  .showcard:first-child { grid-column: auto; grid-row: auto; }
  .showcard:first-child .frame { aspect-ratio: 16 / 9 !important; height: auto; min-height: 0; }
}

/* show page */
.fui-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: clamp(28px, 3vw, 44px) var(--g) 0; }
.fui-actions a.label:hover { color: var(--accent); }
.screen { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 56px); padding: clamp(56px, 7vw, 110px) var(--g) 0; align-items: start; }
.screen + .screen { border-top: 0; }
.screen-card { position: sticky; top: calc(var(--bar-h) + 24px); }
.screen-card .head { font-size: clamp(26px, 2.8vw, 46px); line-height: .95; margin: 10px 0 14px; overflow-wrap: anywhere; }
.screen-card .credit { font-size: 10px; margin: 0; }
.screen-media .frame { background: #050505; }
.screen-media .frame img, .screen-media .frame video { object-fit: contain; }
.screen-media .frame:hover .tile-play, .screen-media .frame:focus-visible .tile-play { opacity: 1; }
.strip { list-style: none; margin: 3px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.strip button { display: block; width: 100%; position: relative; background: var(--ink); }
.strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .2s; }
.strip button:hover img { opacity: .75; }
.strip .mono { position: absolute; left: 6px; bottom: 4px; font-size: 9px; text-shadow: 0 0 6px #000; }
.strip button:hover .mono { color: var(--accent); }
.shownav { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(80px, 10vw, 160px); border-top: 1px solid var(--line); }
.shownav-link { display: grid; gap: 12px; padding: clamp(36px, 5vw, 70px) var(--g); overflow: hidden; }
.shownav-link + .shownav-link { border-left: 1px solid var(--line); text-align: right; }
.shownav-link .head { font-size: clamp(30px, 5vw, 86px); white-space: nowrap; }
.shownav-link:hover .head { color: var(--accent); }
@media (max-width: 760px) {
  .screen { grid-template-columns: 1fr; gap: 14px; }
  .screen-card { position: static; }
  .shownav { grid-template-columns: 1fr; }
  .shownav-link + .shownav-link { border-left: 0; border-top: 1px solid var(--line); }
  .shownav-link .head { white-space: normal; }
}

/* project: secondary "full spot" action */
.proj-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.play-reel.is-quiet { border-color: var(--faint); color: var(--dim); }
.play-reel.is-quiet:hover { color: #000; }

/* IMDb badge + external link mark */
.imdb { display: inline-flex; align-items: center; gap: 12px; }
.imdb-badge {
  display: inline-block; background: #f5c518; color: #000; border-radius: 4px; padding: 3px 7px 2px;
  font-family: Impact, "Arial Black", var(--f-body); font-weight: 900; font-size: 15px; letter-spacing: 0; line-height: 1.1;
}
.imdb:hover .imdb-badge { background: #fff; }
.ext { font-family: var(--f-mono); font-size: .8em; color: var(--dim); }

@media (prefers-reduced-motion: reduce) { .roll-ghost img { transition: none; } }

/* AI: short groups (3 pieces) sit beside their title so the page stays balanced */
@media (min-width: 1024px) {
  .reel-group.is-compact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
  .reel-group.is-compact .chapter { display: block; padding: 0 0 0 var(--g); margin: 0; position: sticky; top: calc(var(--bar-h) + 28px); }
  .reel-group.is-compact .chapter .num { display: block; margin-bottom: 14px; }
  .reel-group.is-compact .chapter .head { font-size: clamp(34px, 4.2vw, 68px); }
  .reel-group.is-compact .justify { padding-left: 0; }
}

/* FUI show page: AS SEEN ON SCREEN */
.onscreen { padding: clamp(56px, 7vw, 110px) 0 0; }
.onscreen-lead { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 48px); align-items: end; padding: 0 var(--g); }
.onscreen-card .head { font-size: clamp(28px, 3.2vw, 52px); line-height: .95; margin: 10px 0 12px; }
.onscreen-card .credit { font-size: 10px; margin: 0 0 22px; }
.onscreen-rest { list-style: none; margin: clamp(16px, 2vw, 28px) 0 0; padding: 0 var(--g); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.onscreen-rest:empty { display: none; }
.onscreen-rest .credit { font-size: 10px; margin: 10px 0 0; }
.onscreen .frame { background: #050505; }
.onscreen .frame:hover .tile-play, .onscreen .frame:focus-visible .tile-play { opacity: 1; }
@media (max-width: 1023px) { .onscreen-rest { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .onscreen-lead { grid-template-columns: 1fr; } }

/* ABOUT: toolkit as a credit block */
.toolkit { padding: clamp(60px, 7vw, 110px) var(--g) 0; text-align: center; }
.toolkit .credit { color: var(--dim); font-size: 11px; margin: 0 0 30px; }
.toolkit { padding-bottom: clamp(30px, 4vw, 60px); }
.tools { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 28px; }
.tools li { display: flex; align-items: center; justify-content: flex-start; gap: 12px; text-align: left; text-transform: uppercase; font-size: 11px; letter-spacing: .24em; }
.tools img { width: 28px; height: 28px; object-fit: contain; filter: grayscale(1) brightness(1.6) contrast(.9); opacity: .7; }
@media (max-width: 700px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tools li { justify-content: flex-start; font-size: 10px; letter-spacing: .16em; } }

/* stills gallery (project.html, Unreal stills) */
.gallery-grid { list-style: none; margin: clamp(16px, 2vw, 28px) 0 0; padding: 0 var(--g); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(8px, 1vw, 14px); }
.gallery-grid li { aspect-ratio: 16 / 9; overflow: hidden; background: #050505; }
.gallery-grid a { display: block; position: relative; height: 100%; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.9); }
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: scale(1.035); filter: none; }
.gallery-grid .mono { position: absolute; left: 10px; bottom: 8px; font-size: 10px; color: #fff; opacity: .7; text-shadow: 0 1px 2px #000; }

/* about: career timeline + reference quote */
.timeline { padding: clamp(48px, 6vw, 96px) 0 0; }
.tl { list-style: none; margin: clamp(18px, 2vw, 30px) 0 0; padding: 0 var(--g); border-top: 1px solid var(--line, rgba(255,255,255,.14)); }
.tl li { display: grid; grid-template-columns: minmax(110px, 1.2fr) minmax(0, 2fr) minmax(0, 4fr); gap: clamp(12px, 2vw, 32px); align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line, rgba(255,255,255,.14)); }
.tl .mono { font-size: 11px; letter-spacing: .12em; opacity: .7; }
.tl b { font-weight: 600; letter-spacing: .02em; }
.tl span:last-child { opacity: .62; }
.tl-quote { margin: clamp(36px, 5vw, 72px) var(--g) 0; max-width: 34ch; margin-left: auto; padding-right: var(--g); }
.tl-quote p { font-size: clamp(22px, 2.4vw, 38px); line-height: 1.15; margin: 0 0 14px; }
@media (max-width: 760px) { .tl li { grid-template-columns: 1fr; gap: 4px; } .tl-quote { margin-left: var(--g); } }

/* ===================== DESIGN PASS (review round 1) ===================== */
/* 1. The bleeding giant word lives only on the Home hero. Inner pages get a title card. */
.page-head { text-align: center; padding: clamp(56px, 8vw, 120px) var(--g) clamp(28px, 3.4vw, 48px); }
.page-head .head, .page-head .head.right {
  font-size: clamp(44px, 7.6vw, 128px); white-space: normal; margin: 0 auto; text-align: center; line-height: .92;
  display: inline-block; padding: .28em .5em .22em; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.page-head .page-head-meta { text-align: left; margin-top: clamp(28px, 3vw, 44px); }
.proj-hero .head {
  font-size: clamp(40px, 6.4vw, 112px); white-space: normal; text-align: center; line-height: .92;
  margin: clamp(22px, 2.6vw, 40px) var(--g) 0;
}
.ai-hero .head { font-size: clamp(44px, 8vw, 140px); white-space: normal; margin: clamp(22px, 2.6vw, 40px) var(--g) 0; text-align: center; }
.ai-hero .head > span { display: inline; }
.ai-hero .head .l2 { margin-left: .25em; }
.next-scene .head { font-size: clamp(40px, 6.4vw, 112px); white-space: normal; margin: 14px var(--g) 0; }
.contact .head.huge { font-size: clamp(48px, 8vw, 140px); white-space: normal; margin-left: 0; padding: 0 var(--g); }
.scene-title { font-size: clamp(40px, 7vw, 132px); white-space: normal; margin: 0 var(--g); line-height: .86; }
.scene--alt .scene-title { margin: 0 var(--g); }
/* Home hero: still bleeds, but the full name stays on screen */
.opening-title { font-size: clamp(60px, 15.4vw, 360px); }
.opening-title .l2 { margin-left: .34em; }

/* 2. Readable labels: 11px floor (12px on phones); --faint never carries text */
.frame-hud span, .crow .show small, .scene-credits, .scene-tag .mono, .contact-lines .label, .slate .label, .slate-meta,
.filters button, .filters button .mono, .cue-head span, .cue .c, .monitor-card dt, .groupnav a, .groupnav a .mono,
.tile-play, .tile-sub, .proj-credits dt, .sheet .mono, .disc a, .lb-card .credit, .showcard-text .mono, .showcard .credit,
.screen-card .credit, .strip .mono, .onscreen-card .credit, .onscreen-rest .credit, .gallery-grid .mono, .lb-close kbd { font-size: 11px; }
.filters button sup { font-size: 10px; }
.crow .role { font-size: 11px; }
@media (max-width: 760px) {
  .frame-hud span, .scene-credits, .cue .c, .tile-sub, .proj-credits dt, .onscreen-rest .credit, .screen-card .credit, .slate-meta, .crow .role { font-size: 12px; }
  /* scene credits move off the footage onto a black band under the frame */
  .scene { display: flex; flex-direction: column; }
  .scene-card { position: static; order: 2; padding-top: 10px; }
  .scene-credits, .scene--alt .scene-credits { position: static; order: 3; padding: 12px var(--g) 0; letter-spacing: .18em; }
  .scene-title { font-size: 12vw; }
}

/* 3. Home pacing: tighter gaps, CUT TO reads as a transition card */
.cut {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  margin: clamp(14px, 1.6vw, 24px) var(--g); padding: 12px 0; text-align: left;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .22em; color: var(--fg);
}
.cut span:first-child { color: var(--accent); }
.cut a { margin-left: auto; color: var(--fg); }

/* 4. AI rows: portrait tiles never collapse; no timecode chips on tiles */
.reel-group .tile { min-width: min(100%, 210px); }
.reel-group .tile-tc { display: none; }

/* 6. IMDb badge in the site's palette */
.imdb-badge { background: transparent !important; color: var(--fg) !important; border: 1px solid currentColor; }
.imdb:hover .imdb-badge { background: var(--fg) !important; color: #000 !important; }

/* 7. Billing block balances its lines */
.billing .names { text-wrap: balance; }

/* work list: what Blend did on each project */
@media (min-width: 1024px) { .cue-head, .cue { grid-template-columns: 44px minmax(0, 2.2fr) minmax(0, 1.1fr) minmax(0, 1.3fr) 48px 52px; } }
.cue .r { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cue .r b { font-weight: 700; color: var(--accent); }
@media (max-width: 1023px) {
  /* narrow: client and role share one line, "CLIENT / VFX / EDIT" */
  .cue { grid-template-columns: 112px auto minmax(0, 1fr) 40px; grid-template-areas: "th t t y" "th c r d"; }
  .cue .c { max-width: 18ch; }
  .cue .c:empty { display: none; }
  .cue .c:empty + .r { grid-column: 2 / 4; }
  .cue .r { grid-area: r; align-self: start; font-size: 11px; }
  .cue .c:not(:empty) + .r::before { content: "/ "; color: var(--faint); }
}
