*{box-sizing:border-box}html{background:#fff;color:#171717;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}body{margin:0}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait}a:focus-visible,button:focus-visible{outline:2px solid #244eb9;outline-offset:5px}img,video{max-width:100%;display:block}button{color:inherit}.site-header{height:66px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;background:#fff;position:relative;z-index:20;border-bottom:1px solid #f1f1f1}.wordmark{font-size:19px;letter-spacing:-.65px;font-weight:500;display:flex;align-items:center;gap:10px}.wordmark-star{font-size:24px;line-height:1;display:inline-block}.site-header nav{display:flex;gap:30px;font-size:14px}.site-header nav a{color:#999;padding:8px 0}.site-header nav a:hover,.site-header nav a.active{color:#111}.site-header nav a.active{box-shadow:0 1px #111}.site-footer{padding:18px 30px;display:flex;justify-content:space-between;font-size:12px;color:#999;gap:12px}.site-footer a:hover{color:#222}.loading{padding:15vh 30px;color:#888}.work-view{height:calc(100svh - 66px);min-height:530px;display:flex;flex-direction:column;overflow:hidden}.spiral-stage{flex:1;min-height:0;position:relative;isolation:isolate;overflow:hidden;touch-action:pan-y;cursor:grab}.spiral-stage.dragging{cursor:grabbing;touch-action:none}.spiral-center{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);z-index:-1;text-align:center;pointer-events:none;white-space:nowrap}.spiral-center h1{margin:0;font-size:clamp(37px,5vw,76px);letter-spacing:-.065em;font-weight:400;line-height:1.04}.spiral-center p{margin:13px 0 0;font-size:13px;color:#a0a0a0;letter-spacing:.025em}.orbit-card{position:absolute;top:0;left:0;display:block;will-change:transform,opacity;backface-visibility:hidden;transform-origin:center;overflow:visible;user-select:none;cursor:pointer}.orbit-card img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#f2f2f2;box-shadow:0 8px 25px #00000006;pointer-events:none}.orbit-label{position:absolute;left:0;right:0;bottom:-29px;display:flex;justify-content:space-between;align-items:center;font-size:13px;opacity:0;transition:opacity .18s;letter-spacing:-.15px;white-space:nowrap}.orbit-label span:last-child{color:#999;font-size:12px}.orbit-card:hover .orbit-label,.orbit-card:focus-visible .orbit-label{opacity:1}.orbit-card:hover img{box-shadow:0 10px 30px #00000012}.work-controls{height:70px;flex-shrink:0;padding:0 30px;display:flex;align-items:center;justify-content:space-between;font-size:13px;gap:20px}.view-tabs{display:flex;gap:15px}.view-tabs button,.motion-control{border:0;background:none;padding:8px 0;font-size:13px;color:#999}.view-tabs button.active{color:#111}.motion-control{display:flex;align-items:center;gap:10px;color:#555;min-width:97px;justify-content:flex-end}.pause-glyph{display:block;width:9px;height:11px;border-inline:2px solid currentColor}.play-glyph{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:8px solid currentColor}.interaction-hint{color:#999;font-size:12px;text-align:center}.index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 14px;padding:12px 16px 35px;overflow-y:auto;flex:1}.index-card img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#f1f1f1}.index-caption{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}.index-caption span:last-child{font-size:13px;color:#999}.empty-view{min-height:calc(100svh - 119px)}.empty-work{padding:20vh 30px;text-align:center;color:#777}.empty-work a{text-decoration:underline}.detail{padding:38px 24px 60px}.eyebrow{font-size:13px;color:#999;margin:0 0 16px}.film{width:100%;height:auto;background:#10111a;object-fit:contain}.film-shell{position:relative;background:#111}.preview-banner{background:#f2f5fc;color:#345078;padding:11px 25px;font-size:13px}.story{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.5fr);gap:12%;margin:70px 5% 80px}.story-copy p{font-size:17px;line-height:1.8;margin:0 0 22px;color:#4d4d4d}.story h2{font-size:14px;font-weight:400;margin:0 0 26px;color:#111}.credits{font-size:14px;line-height:1.8;color:#777}.credit-row{margin:0 0 14px}.credit-row strong{display:block;font-weight:400;color:#222}.studies-heading{display:flex;justify-content:space-between;margin:0 5px 20px;align-items:end}.studies-heading h2{font-size:26px;letter-spacing:-1px;font-weight:400;margin:0}.studies-heading p{font-size:13px;color:#999;margin:0}.study-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;max-width:1016px;margin-inline:auto}.study{margin:0;width:100%;max-width:320px;justify-self:center;overflow:hidden;background:#f3f3f3}.study img,.study video{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}.back-work{margin-top:50px;display:flex;justify-content:center}.back-work a{font-size:14px;padding:14px 23px;border:1px solid #ddd;border-radius:30px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.error-view{padding:20vh 30px;text-align:center}.error-view h1{font-size:32px;font-weight:400}.error-view a{text-decoration:underline}.hidden{display:none!important}@media(min-width:1600px){.site-header{height:70px}.work-view{height:calc(100svh - 70px)}.detail{padding-inline:30px}.story{max-width:1300px;margin-inline:auto}}@media(max-width:700px){.site-header{height:58px;padding:0 18px}.wordmark{font-size:18px}.site-header nav{gap:22px}.work-view{height:calc(100svh - 58px);min-height:500px}.work-controls{padding:0 18px;height:66px;gap:10px}.interaction-hint{max-width:135px;font-size:11px;line-height:1.5}.orbit-label{bottom:-23px;font-size:12px}.orbit-label span:last-child{display:none}.spiral-center h1{font-size:42px}.spiral-center p{font-size:11px}.site-footer{padding:18px;font-size:11px}.index-grid{grid-template-columns:1fr;padding-inline:12px}.detail{padding:30px 12px 40px}.story{grid-template-columns:1fr;gap:25px;margin:38px 6px 44px}.story-copy p{font-size:16px;line-height:1.75}.credits{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.credits h2{grid-column:1/-1;margin-bottom:18px}.study-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.studies-heading h2{font-size:24px}.studies-heading p{font-size:11px}.empty-view{min-height:calc(100svh - 109px)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.orbit-label{transition:none}}

@media(max-width:460px){.study-grid{grid-template-columns:1fr;gap:24px}}

@font-face {
  font-family: Inter;
  src: url('/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --portfolio-font: Inter, system-ui, sans-serif;
  --canvas-top: #f3efe9;
  --canvas-mid: #f0ebe6;
  --canvas-end: #ebe4df;
  --ink: #302a34;
  --ink-body: #514859;
  --ink-muted: #645a69;
  --ink-link: #664273;
  --canvas-raised: #e7dfda;
  --canvas-line: #cdc1c8;
  --overlay: #292435;
  --overlay-ink: #ebe6f3;
  --type-title: clamp(3rem, 5.3vw, 5.25rem);
  --type-section: 1.875rem;
  --type-subsection: 1.3125rem;
  --type-intro: 1.1875rem;
  --type-body: 1.0625rem;
  --type-note: 1rem;
  --type-ui: .875rem;
  --type-meta: .8125rem;
  --type-card: 1.375rem;
  --line-body: 1.65;
  --line-note: 1.55;
}
@media (max-width: 700px) {
  :root {
    --type-title: clamp(2rem, 8.7vw, 2.625rem);
    --type-section: 1.5rem;
    --type-subsection: 1.125rem;
    --type-intro: 1.0625rem;
    --type-body: 1rem;
    --type-note: .9375rem;
    --type-ui: .8125rem;
    --type-meta: .75rem;
    --type-card: 1.1875rem;
  }
}
html { background:var(--canvas-top); color:var(--ink); font-family:var(--portfolio-font); }
a:focus-visible,button:focus-visible { outline-color:var(--ink-link) }
.loading,.empty-work,.error-view,.interaction-hint,.eyebrow {color:var(--ink-muted)}
.visitor-cover-frame{display:block;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden}
.visitor-cover-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.index-image{display:block;position:relative;overflow:hidden}
.detail [hidden] { display:none !important }

.detail-title {
  margin: 0 0 34px;
  text-align: left;
}
.detail-title h1 {
  margin: 0;
  font-size: var(--type-title);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: 1.06;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.detail-summary {
  margin: clamp(9px, 1vw, 15px) 0 0;
  color:var(--ink-body);
  font-size:var(--type-intro);
  line-height:var(--line-note);
  letter-spacing:-.01em;
}
.detail-summary:empty {display:none}
.project-concept {display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.75em 1.5em;margin:1.5em 0 0;text-align:start;color:var(--ink-body);font:400 var(--type-body)/var(--line-body) var(--portfolio-font)}
.project-concept dt {font-weight:600;color:var(--ink)}
.project-concept dd {margin:0}
@media (max-width:600px) {
  .project-concept {grid-template-columns:1fr;gap:.24em}
  .project-concept dd + dt {margin-top:.55em}
}
@media (max-width: 700px) {
  .detail-title {margin-bottom:25px}
}

.detail .story {
  grid-template-columns:minmax(0,1fr);
  row-gap:24px;
  max-width:none;
  margin-inline:0;
}
.detail .studies-heading {
  display:block;
  max-width:1016px;
  margin-inline:auto;
}
.detail .story-copy > p {font:400 var(--type-body)/var(--line-body) var(--portfolio-font);color:var(--ink-body)}
.detail .story h2,.detail .studies-heading h2 {
  color:var(--ink);
  font:550 var(--type-section)/1.15 var(--portfolio-font);
  letter-spacing:-.035em;
  margin:0 0 .5em;
}
.detail .story h2:empty {display:none}
.detail .credits {display:block;color:var(--ink-body);font:400 var(--type-note)/var(--line-note) var(--portfolio-font)}
.detail .credit-row strong {color:var(--ink);font-weight:550}
.project-concept > dd:first-of-type,
.detail :is(.detail-summary,.story-copy > p,.studies-heading > p,.study-heading > p) {
  text-align:justify;
  text-align-last:start;
  text-wrap:pretty;
  overflow-wrap:anywhere;
  hyphens:auto;
}
@media (max-width: 700px) {
  .project-concept > dd:first-of-type,
  .detail :is(.detail-summary,.story-copy > p,.studies-heading > p,.study-heading > p) {text-align:start}
}

/* A project with a composed sequence keeps each row's original proportions. */
.detail.project-sequence {
  width:var(--project-width, min(72%, 1920px)); margin-inline:auto;
  padding:var(--project-top, 60px) var(--project-sides, 0px) 28px;
}
.project-sequence .detail-title {margin-bottom:var(--project-lead,40px)}
.project-sequence .detail-title h1 {text-transform:uppercase}
.project-sequence .eyebrow {display:none}
.project-sequence .film {display:block; max-width:100%}
.project-sequence .story {
  display:block; max-width:none; margin:var(--project-story,40px) 0 var(--project-tail,30px);
}
.project-sequence .story-copy p,.project-sequence .credit-row {margin:0}
.project-sequence .credits {border:0; padding:0; margin-top:24px}
.project-sequence .credit-row strong {display:inline}
.project-sequence .credit-row + .credit-row {margin-top:20px}
.project-sequence .studies-heading {max-width:none}
.project-sequence .study-grid {display:block; max-width:none}
.project-sequence .study-group {display:grid; align-items:start; grid-template-columns:var(--row-widths); gap:var(--project-gap,8px); margin-bottom:10px}
.project-sequence .study-group.collection {margin-bottom:48px}
.project-sequence[data-columns] .study-group {grid-template-columns:repeat(var(--project-columns),minmax(0,1fr))}
.project-sequence .study {max-width:none; background:transparent}
.project-sequence .study img,.project-sequence .study video {display:block; width:100%; height:auto; aspect-ratio:auto}
.study-zoom {display:block; width:100%; padding:0; border:0; background:none; cursor:zoom-in}
.study-zoom:focus-visible {outline:2px solid currentColor; outline-offset:-2px}
.study-number {margin:5px 0 0; font:400 var(--type-meta)/1.35 var(--portfolio-font);color:var(--ink-muted);font-variant-numeric:tabular-nums;text-align:left}
@media (max-width:700px) {
  .study-zoom {min-height:44px; display:grid; align-items:center}
  .study-group.numbered .study-zoom {align-items:end}
}
.project-sequence .back-work {margin-top:18px}
.project-sequence .back-work a {border:0}
.back-work a {color:var(--ink-link);font-size:var(--type-ui)}
.detail .film-caption {margin:9px 0 0;font:400 var(--type-meta)/1.4 var(--portfolio-font);color:var(--ink-muted)}
.film-caption[hidden], .study-heading :empty {display:none}
.study-heading {grid-column:1 / -1; margin:clamp(26px,4vw,66px) 0 4px;text-align:left}
.study-grid > :first-child .study-heading {margin-top:0}
.study-heading h3 {font:550 var(--type-section)/1.15 var(--portfolio-font);letter-spacing:-.035em;margin:0;color:var(--ink)}
.study-heading h4 {font:550 var(--type-subsection)/1.25 var(--portfolio-font);letter-spacing:-.02em;margin:0;color:var(--ink)}
.study-section-title + h4 {margin-top:clamp(14px,1.9vw,28px)}
.study-group:not(:first-child) > .study-heading:has(> h4:first-child) {margin-top:clamp(20px,3vw,44px)}
.detail .studies-heading > p,.study-heading p {font:400 var(--type-note)/var(--line-note) var(--portfolio-font);color:var(--ink-body);margin:9px 0 0}
.detail.process-sequence {width:var(--project-width,min(86%,1500px))}
.process-sequence .study-group {gap:var(--project-gap,clamp(10px,1.2vw,20px));margin-bottom:var(--project-gap,clamp(10px,1.2vw,20px))}
.process-sequence .study-group > figure {margin:0;min-width:0}
@media (width > 700px) {
  .process-sequence .study-group:has(> [data-item="7a45f45f-35f9-407b-9318-1a5851b11113"]:first-of-type
    + [data-item="process-panoramic-assets"] + [data-item="6f227747-9b8e-43cd-adaa-6bc78e36521e"]:last-child) {
    /* Match the boards' combined height, including the gap, to the production sheet. */
    --asset-gap: var(--project-gap, clamp(10px, 1.2vw, 20px));
    --left-asset-width: calc(56.1105% - 1.0171 * var(--asset-gap));
    grid-template-columns: minmax(0, var(--left-asset-width)) minmax(0, 1fr);
    grid-template-areas:
      "heading heading"
      "objects production-sheet"
      "illustration production-sheet";
    & > .study-heading { grid-area: heading; }
    & > figure:nth-of-type(1) { grid-area: objects; }
    & > figure:nth-of-type(2) { grid-area: production-sheet; }
    & > figure:nth-of-type(3) { grid-area: illustration; }
    /* The production sheet's fitted versions share a 1024:1452 aspect ratio. */
    &:has(> [data-item="process-panoramic-assets"] :is(.image-window, img[src*="/panoramic-assets-hd-"])) {
      --left-asset-width: calc(59.5668% - 1.0158 * var(--asset-gap));
    }
  }
  .process-sequence .study-grid:has(> .study-group > [data-item="bbab7008-c743-4935-9fb2-d1fd76980737"]:last-child):has(> .study-group > [data-item="e8af6d54-e96f-44c4-9e5f-2c3a6c745df4"]) {
    --study-column-gap: var(--project-gap, clamp(10px, 1.2vw, 20px));
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, calc(30.25% - .605 * var(--study-column-gap))) minmax(0, 1fr);
    gap: 0 var(--study-column-gap);

    & > .study-group { grid-column: 1 / -1; }
    & > .study-group:has(> [data-item="bbab7008-c743-4935-9fb2-d1fd76980737"]:last-child) { grid-column: 1; }
    & > .study-group:has(> [data-item="e8af6d54-e96f-44c4-9e5f-2c3a6c745df4"]) { grid-column: 2; }
  }
}
.reference-panels {
  display:grid; gap:var(--project-gap,clamp(8px,1.2vw,20px));
  grid-template-columns:minmax(0,1.368fr) minmax(0,2.244fr) minmax(0,2.643fr);
  align-items:start;
}
.reference-panels .reference-preview {display:block;position:relative;overflow:hidden;min-height:0}
.reference-preview img {position:absolute;max-width:none}
.reference-title {display:inline-block;margin-top:8px;color:var(--ink-link);font-size:var(--type-meta);line-height:1.4;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.project-sequence .story-copy p + p {margin-top:.85em}
.process-sequence .credits .credit-row + .credit-row {margin-top:.32em}
.contributor-link {color:var(--ink-link);text-decoration:underline;text-underline-offset:.16em}
@media(max-width:700px) {
  .detail.process-sequence {width:var(--project-width,92%)}
  .process-sequence .study-group.stack-small {grid-template-columns:1fr}
  .process-sequence .study-group.nested-first > header {margin-bottom:0}
}
.project-lightbox[open] {position:fixed; inset:0; padding:0; border:0; margin:auto; width:100%; height:100%; max-width:none; max-height:none; background:var(--overlay); color:var(--overlay-ink); display:grid; place-items:center}
.project-lightbox::backdrop {background:var(--overlay)}
.project-lightbox .original-slide {position:absolute;top:12px;left:12px;padding:12px 14px;min-height:44px;background:var(--overlay);color:var(--overlay-ink);font:500 var(--type-ui)/1.4 var(--portfolio-font);text-decoration:underline;text-underline-offset:.2em}
.project-lightbox img {display:block; max-width:96%; max-height:86vh; width:auto; height:auto; object-fit:contain}
.project-sequence .study img.image-strip, .study img.image-strip, .project-lightbox img.image-strip {
  aspect-ratio:var(--strip-ratio); object-fit:cover; object-position:center var(--strip-position);
}
.project-lightbox img.image-strip {width:min(96vw, calc(86vh * var(--strip-ratio)))}
.image-window {display:block;position:relative;width:100%;aspect-ratio:var(--window-ratio);overflow:hidden}
.project-lightbox > .image-window {width:min(96vw, calc(86vh * var(--window-ratio)))}
.project-sequence .study .image-window > img, .study .image-window > img, .project-lightbox .image-window > img {
  position:absolute;top:var(--window-top);left:var(--window-left);
  width:var(--window-scale);height:auto;max-width:none;max-height:none;aspect-ratio:auto var(--window-source-ratio);
}
.production-sheet-bands {
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;background:#fff;
}
.production-sheet-bands > .production-sheet-band {display:block;flex:none}
.project-lightbox button {position:absolute; border:1px solid #81758d; width:44px; height:44px; color:var(--overlay-ink); background:var(--overlay); cursor:pointer; font:24px/1 var(--portfolio-font)}
.project-lightbox button:focus-visible {outline-color:var(--overlay-ink)}
.project-lightbox button:nth-of-type(1) {top:12px; right:12px}
.project-lightbox button:nth-of-type(2) {bottom:12px; left:calc(50% - 48px)}
.project-lightbox button:nth-of-type(3) {bottom:12px; right:calc(50% - 48px)}
@media(max-width:932px) {
  .detail.project-sequence {width:var(--project-width,90%); padding-top:var(--project-top,44px)}
}
@media(max-width:540px) {
  .project-sequence .detail-title {margin-bottom:var(--project-lead,20px)}
  .project-sequence .story {margin-top:var(--project-story,23px); margin-bottom:var(--project-tail,16px)}
  .project-sequence .study-group.stack-small {grid-template-columns:1fr}
  .project-sequence .study-group.nested-first > :first-child {margin-bottom:33px}
  .project-sequence[data-columns] .study-group {grid-template-columns:repeat(var(--project-columns),minmax(0,1fr))}
}
.detail.custom-layout {
  width:var(--project-width,100%); margin-inline:auto;
  padding-top:var(--project-top,38px); padding-inline:var(--project-sides,24px);
}
.custom-layout .detail-title {margin-bottom:var(--project-lead,34px)}
.custom-layout .story {margin-top:var(--project-story,70px);margin-bottom:var(--project-tail,80px)}
.custom-layout .study-grid {gap:var(--project-gap,28px)}
.custom-layout[data-columns] .study-grid {grid-template-columns:repeat(var(--project-columns),minmax(0,1fr))}
.custom-layout[data-columns] .study {max-width:none}
.detail[data-project="steal-like-an-artist"] .study {align-self:start; background:transparent}
.detail[data-project="steal-like-an-artist"] .study img {width:100%; height:auto; aspect-ratio:auto}
@media(min-width:1600px){.detail.custom-layout{padding-inline:var(--project-sides,30px)}}
@media(max-width:700px){
  .detail.custom-layout{padding-top:var(--project-top,30px);padding-inline:var(--project-sides,12px)}
  .custom-layout .detail-title{margin-bottom:var(--project-lead,25px)}
  .custom-layout .story{margin-top:var(--project-story,38px);margin-bottom:var(--project-tail,44px)}
  .custom-layout .study-grid{gap:var(--project-gap,18px)}
}
@media(max-width:460px){.custom-layout .study-grid{gap:var(--project-gap,24px)}}
.detail[data-project="first-note"] .study-group:has(> [data-item^="fn-breakdown-slide-"]) {
  gap:clamp(7px,1vw,14px);
}
.detail[data-project="first-note"] [data-item^="fn-breakdown-slide-"] .study-zoom {border-radius:6px;overflow:hidden;box-shadow:0 0 0 1px #8885}

:root { --copyright-height: 33px; }
.reel-view {
  --gutter: clamp(20px, 3.4vw, 72px);
  --header-height: 66px;
  --available-height: calc(100svh - var(--header-height) - var(--copyright-height));
  display: flex;
  flex-direction: column;
  min-height: max(355px, var(--available-height));
}
:root { --portfolio-edge: clamp(16px, 2.2vw, 40px); }
.site-header.portfolio-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-inline: var(--portfolio-edge);
  border: 0;
}
.portfolio-header .wordmark {
  justify-self: start;
  min-height: 44px;
  transform: translate(var(--logo-x, 0px), var(--logo-y, 6px));
}
.work-wordmark {
  display: block; width: clamp(62px, 5.8vw, 84px); aspect-ratio: 194 / 63;
  background: var(--logo-image, url('/work-wordmark.gif')) left center / contain no-repeat;
}
@media (prefers-reduced-motion: reduce) {
  .work-wordmark { background-image: var(--logo-still, url('/work-wordmark-still.png')); }
}
@media (max-width: 700px) {
  .portfolio-header .wordmark { transform: translate(var(--logo-x, 0px), var(--logo-y, 4px)); }
}
@media (scripting: enabled) {
  .portfolio-header[data-catalog-logo] .work-wordmark { background-image: none; }
}
.portfolio-header nav {
  justify-self: end;
  align-items: center;
  gap: 2px;
  font-size: var(--type-ui);
  line-height: 1;
  letter-spacing: .012em;
}
.portfolio-header nav a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  white-space: nowrap;
}
.portfolio-header nav a { justify-content: center; color: var(--ink-muted); padding: 0; }
.portfolio-header nav a.active, .portfolio-header nav a:hover {
  color: var(--ink);
  box-shadow: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}
.portfolio-header nav a:last-child { justify-content: flex-end; }
/* Work landing and loading meter */
.with-entry .portfolio-header { position: sticky; top: 0; }
.with-entry .portfolio-header .work-wordmark { background-image: none; isolation: isolate; }
.with-entry .work-wordmark > img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.with-entry #main { scroll-margin-top: 66px; outline: none; }
.with-entry .reel-stage { touch-action: pan-y pinch-zoom; }
.with-entry { scrollbar-gutter: stable; }
.entry-loading { overflow: hidden; }
.entry-meter { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--canvas-top); color: var(--ink); }
.entry-readout { display: grid; justify-items: center; gap: 11px; }
.entry-readout span { font: 500 var(--type-ui)/1 var(--portfolio-font); font-variant-numeric:tabular-nums; letter-spacing:.085em; }
.entry-readout progress { width:68px; height:2px; appearance:none; border:0; background:var(--canvas-line); color:var(--ink); }
.entry-readout progress::-webkit-progress-bar { background:var(--canvas-line); }
.entry-readout progress::-webkit-progress-value { background:var(--ink); }
.entry-readout progress::-moz-progress-bar { background:var(--ink); }
.entry-meter button { position:absolute; top:calc(50% + 36px); border:0; padding:12px; background:none; text-decoration:underline; }
@media (max-width:700px) {
  .with-entry #main { scroll-margin-top: 58px; }
}
@media (min-width:1600px) { .with-entry #main { scroll-margin-top: 70px; } }
@media (max-width: 360px) {
  :root { --portfolio-edge: 12px; }
  .work-wordmark { width: 54px; }
  .portfolio-header nav { gap: 2px; }
}
.reel-foot { margin-inline: var(--gutter); flex: none; }
.reel-heading {
  flex: none;
  margin-inline: calc(var(--portfolio-edge) + var(--logo-x, 0px)) var(--portfolio-edge);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: clamp(13px, 2.5vh, 25px) 4px;
}
.reel-tabs { display: flex; align-items: center; gap: 7px; margin-inline-start:auto; }
.view-divider { width: 1px; height: 10px; background:var(--canvas-line); }
.reel-tabs button {
  border: 0; color:var(--ink-muted); background: transparent; text-transform: uppercase;
  padding: 10px 0; font:500 var(--type-meta)/1 var(--portfolio-font); letter-spacing: .012em;
}
.reel-tabs button.active { color:var(--ink); }
.reel-heading .motion-control { justify-content:flex-end; text-align:end; min-width:44px; min-height:34px; color:var(--ink-muted); font-size:var(--type-meta); }
.reel-heading .motion-control[hidden] { display: none; }
.reel-stage {
  --edge-width: clamp(24px, 5.5vw, 96px);
  --stage-mask: linear-gradient(to right, transparent, #000 var(--edge-width),
    #000 calc(100% - var(--edge-width)), transparent);
  flex: 1; min-height: min(37svh, 245px); position: relative; isolation: isolate; overflow: hidden;
  touch-action: pinch-zoom; user-select: none; cursor: grab;
  -webkit-mask-image: var(--stage-mask); mask-image: var(--stage-mask);
}
.reel-stage:active { cursor: grabbing; }
.reel-card {
  left: 50%; top: 50%; aspect-ratio: 16/9; -webkit-user-drag: none;
  border-radius: clamp(12px, 1.3vw, 22px); overflow: hidden;
}
.reel-card img, .reel-card .visitor-cover-frame { outline: 1px solid #1717150c; outline-offset: -1px; }
.reel-stage::before, .reel-stage::after {
  --edge-blur: blur(clamp(5px, .55vw, 8px));
  --blur-mask: linear-gradient(var(--edge-direction), #000 28%, transparent);
  content: ''; position: absolute; z-index: 110; inset-block: 0; width: var(--edge-width);
  pointer-events: none; -webkit-backdrop-filter: var(--edge-blur); backdrop-filter: var(--edge-blur);
  -webkit-mask-image: var(--blur-mask); mask-image: var(--blur-mask);
}
.reel-stage::before { left: 0; --edge-direction: to right; }
.reel-stage::after { right: 0; --edge-direction: to left; }
@media (min-width:701px) and (min-height:501px) {
  .reel-view:not(.is-grid) .reel-stage {flex:0 1 auto; height:clamp(245px,calc(21vw + 48px),540px); margin-top:auto}
  .reel-view:not(.is-grid) .reel-foot {margin-bottom:auto}
}
@media (max-width:700px) and (min-height:501px) {
  .reel-view:not(.is-grid) .reel-stage {min-height:0; height:clamp(160px,calc(44vw + 38px),310px)}
}
.reel-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; }
.reel-clip.is-playing { opacity: 1; }
.reel-foot {
  display: grid;
  align-items: start;
  text-align: center;
  padding-block: clamp(12px, 2vh, 24px) max(clamp(20px, 3.5vh, 40px), env(safe-area-inset-bottom));
  min-height: clamp(96px, 13vh, 128px);
}
.reel-caption { grid-area:1/1; min-width:0; visibility:hidden; opacity:0; pointer-events:none; }
.reel-caption[aria-hidden="false"] { visibility:visible; opacity:1; transition:opacity .15s ease-out; }
.reel-title { display:inline-block; color:var(--ink); font-size:var(--type-card); font-weight:550; line-height:1.2; letter-spacing:-.025em; }
.reel-summary { color:var(--ink-body); font:400 var(--type-ui)/var(--line-note) var(--portfolio-font); max-width:58ch; margin:5px auto 0; overflow-wrap:anywhere; text-wrap:pretty; }
.reel-summary:empty { display:none; }
.reel-index { align-content: start; flex: none; overflow: visible; padding: 12px var(--gutter) 32px; }
.reel-index .index-caption {font-size:var(--type-ui);line-height:1.35;gap:8px;min-width:0}
.reel-index .index-caption span:last-child {color:var(--ink-muted);font-size:var(--type-meta);text-align:end}
@media (min-width: 1024px) {
  .reel-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (hover: hover) and (pointer: fine) {
  .reel-index .index-card > span:first-child { transition: transform .2s ease; }
  .reel-index .index-card:hover > span:first-child { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .reel-index .index-card > span:first-child { transition: none; }
  .reel-caption[aria-hidden="false"] { transition:none; }
}
@media (min-width: 1600px) { .reel-view { --header-height: 70px; } }
@media (max-width: 700px) {
  .reel-view { --header-height: 58px; }
  .reel-heading { padding-top: 10px; }
  .reel-stage { flex: none; height: clamp(190px, 79vw, 365px); margin-top: auto; }
  .reel-foot { min-height: 98px; margin-bottom: auto; padding-top: 5px; }
  .reel-tabs button { min-height: 40px; }
}
@media (max-height: 500px) and (min-aspect-ratio: 1.4) {
  .reel-view { min-height: max(285px, var(--available-height)); }
  .reel-stage { flex: 1; height: auto; margin-top: 0; }
  .reel-heading { padding-block: 6px; }
  .reel-foot { min-height: 62px; margin-bottom: 0; padding-block: 6px 10px; }
}

.site-footer {
  min-height: var(--copyright-height);
  align-items: center;
  padding-block: 0;
  padding-inline: max(0px, calc(var(--portfolio-edge) + var(--logo-x, 0px))) var(--portfolio-edge);
  background: transparent;
  color:var(--ink-muted);
  font-size:var(--type-meta);
  font-variant-numeric: tabular-nums;
}
.site-copyright { font: inherit; text-wrap: balance; }
.site-footer a:hover {color:var(--ink)}
.site-footer > :last-child { flex: none; margin-inline-start: auto; white-space: nowrap; }
@media (max-width: 440px) {
  .site-footer { column-gap: 6px; }
}

.film-shell .film { height:auto; aspect-ratio:auto; object-fit:contain }
.external-player { position:relative; width:100%; aspect-ratio:16/9; background:var(--overlay) }
.external-player iframe,.external-play { width:100%; height:100%; border:0 }
.external-player.no-poster:not(:has(iframe)) { aspect-ratio:auto; height:clamp(120px,20vw,245px) }
.external-play { display:grid; place-items:center; position:relative; background:transparent; color:var(--overlay-ink); padding:0 }
.external-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:contain }
.external-play-label { position:relative; background:var(--overlay); color:var(--overlay-ink); padding:.8em 1.3em; border-radius:2em; font-size:var(--type-ui) }
.film-links { display:flex; flex-wrap:wrap; gap:8px 20px; padding:10px 0; font-size:var(--type-ui);color:var(--ink-link) }
.film-links a,.credit-sheet span { text-decoration:underline; text-underline-offset:3px }
.credit-lines { display:contents }
.story.image-credits { grid-template-columns:minmax(0,1fr); row-gap:32px }
.image-credits .credits { display:block; min-width:0 }
.credit-sheet { display:block; width:fit-content; max-width:100%; }
.credit-sheet img { width:auto; max-width:100%; height:auto; display:block }
.credit-sheet span { display:inline-block; margin-top:8px; font-size:var(--type-ui);color:var(--ink-link) }
.external-play[hidden],.external-poster[hidden],.credit-sheet[hidden],.credit-lines[hidden],.film-links a[hidden] { display:none }

/* On a project, only the four controls take pointer input above the artwork. */
body:has(#main > .detail:not([hidden])) > .portfolio-header {
  position:sticky; top:0;
  background:transparent;
  mix-blend-mode:difference;
  pointer-events:none;
  --ink:#fff; --ink-muted:#fff; --ink-link:#fff;
  text-shadow:0 0 1px #808080;
}
body:has(#main > .detail:not([hidden])) > .portfolio-header :is(a,button) { pointer-events:auto; transition:none }
body:has(#main > .detail:not([hidden])) > .portfolio-header .theme-dot::before { box-shadow:0 0 0 1px #808080 }
body:has(#main > .detail:not([hidden])) > .portfolio-header .work-wordmark {
  filter:var(--overlay-logo-filter, invert(1)) drop-shadow(0 0 .65px #aaa);
}
body:has(#main > .film-first:not([hidden])) > .portfolio-header { position:fixed; inset:0 0 auto }
body:has(#main > .loading) > .portfolio-header { background:transparent }

/* The visible player retreats into the case study; its controls keep their native size. */
.detail.film-first { padding-block-start:0 }
.film-first .project-opening {
  --film-height:100vh;
  --film-height:100svh;
  --film-progress:0;
  --film-ratio:1.777778;
  --film-end-width:min(var(--film-rest-width), calc(var(--film-height) * .78 * var(--film-ratio)));
  --film-end-height:calc(var(--film-end-width) / var(--film-ratio));
  --film-travel:max(calc(var(--film-height) * .44), calc(var(--film-height) - var(--film-end-height)));
  margin-inline:calc((100% - var(--film-page-width)) / 2);
  height:calc(var(--film-height) + var(--film-travel));
  /* The title follows the lower edge of the settled player, including on portrait phones. */
  margin-block-end:calc(var(--film-end-height) - var(--film-height));
  overflow-anchor:none;
  pointer-events:none;
}
.film-first .film-viewport { position:sticky; top:0; height:var(--film-height) }
.film-first .film-viewport > [data-part="film"] {
  margin-inline:0;
  margin-inline-start:calc((100% - var(--film-rest-width)) / 2 * var(--film-progress));
  width:calc(100% + (var(--film-end-width) - 100%) * var(--film-progress));
  height:calc(100% + (var(--film-end-height) - 100%) * var(--film-progress));
  background:#101010;
  pointer-events:auto;
}
.film-first .film-viewport :is(.film,.external-player) {
  width:100%; height:100%; object-fit:contain; background:#101010;
}
.film-first .film-viewport .film:not(:fullscreen), .film-first .external-poster { object-fit:cover }
.film-surface {
  position:absolute; inset:0; width:100%; height:100%; border:0; padding:0;
  display:grid; place-items:center; background:transparent; color:#fff;
  touch-action:pan-y pinch-zoom;
}
.film-surface span {
  opacity:0; background:rgb(0 0 0 / .75); padding:.6em 1em; border-radius:2em;
}
.film-surface:focus-visible span, .film-needs-play .film-surface span { opacity:1 }
.film-first[data-film-top] .external-player iframe { pointer-events:none }
.film-first .detail-title {
  position:relative;
  padding-top:calc(var(--project-top, 0px) + var(--project-lead, clamp(24px, 3vw, 48px)));
  margin-block:0;
}
@media (prefers-reduced-motion:reduce) {
  .film-first .project-opening { height:var(--film-height); margin-block-end:0 }
  .film-first .film-viewport { position:relative; top:auto }
  .film-first .film-viewport > [data-part="film"] { width:100%; height:100% }
  .film-first .film-viewport .film:not(:fullscreen) { object-fit:contain }
}

/* Project-to-project navigation, below the complete case study. */
.other-projects {
  margin: clamp(64px, 8vw, 128px) auto 0;
  width: 100%; max-width: 1600px;
  color:var(--ink);
}
.other-projects h2 {font-weight:550;font-size:var(--type-section);letter-spacing:-.035em;line-height:1.15}
.other-project-title {font-weight:550;font-size:var(--type-subsection);letter-spacing:-.02em;line-height:1.25}
.other-projects h2 { margin: 0 0 clamp(20px, 2.4vw, 38px) }
.other-projects-list { list-style:none; padding:0; margin:0; border-bottom:1px solid var(--canvas-line) }
.other-projects-list li { margin:0; padding:0; border-top:1px solid var(--canvas-line) }
.other-project-link {
  position: relative; display: grid; align-items: baseline;
  grid-template-columns: 2.5ch minmax(0, 1fr) minmax(0, 19%);
  gap: clamp(12px, 2vw, 36px); padding: clamp(18px, 1.8vw, 30px) clamp(8px, 1.1vw, 20px);
  color: inherit; text-decoration: none; border-radius: 6px;
}
.other-project-number, .other-project-category { font-size:var(--type-meta); line-height:1.4; color:var(--ink-muted) }
.other-project-number { font-variant-numeric: tabular-nums }
.other-project-title { overflow-wrap: anywhere }
.other-project-category { overflow-wrap: anywhere; text-align: right }
.other-project-link:focus-visible { outline:2px solid var(--ink-link); outline-offset:-2px; background:var(--canvas-raised) }
.other-project-preview { display: none }
@media (min-width: 800px) and (hover: hover) and (pointer: fine) {
  .other-project-link {
    --preview-width: 44%;
    grid-template-columns: 2.5ch minmax(0, 1fr) var(--preview-width);
    overflow: hidden;
  }
  .other-project-link:hover { background:var(--canvas-raised) }
  .other-project-preview {
    display: block; position: absolute; inset: 0 0 0 auto; width: var(--preview-width);
    overflow:hidden; pointer-events:none; background:var(--canvas-raised);
    transform: translateX(100%);
    transition: transform 850ms cubic-bezier(.35, 0, .2, 1);
  }
  .other-project-link:is(:hover, :focus-visible) .other-project-preview.loaded {
    transform: translateX(0);
  }
  .other-project-preview .visitor-cover-frame { height: 100%; aspect-ratio: auto; outline: 0 }
  .other-project-preview img { display: block; width: 100%; height: 100%; object-fit: cover }
}
@media (prefers-reduced-motion: reduce) {
  .other-project-preview { transition: none }
}
@media (max-width: 600px) {
  .other-project-link { grid-template-columns: 2ch minmax(0, 1fr); gap: 4px 14px; padding: 15px 4px }
  .other-project-category { grid-column: 2; text-align: left }
  .other-project-category:empty { display: none }
}

/* One sheet of colour behind the public pages; artwork keeps its original colours. */
@property --canvas-top { syntax:"<color>"; inherits:true; initial-value:#f3efe9; }
@property --canvas-mid { syntax:"<color>"; inherits:true; initial-value:#f0ebe6; }
@property --canvas-end { syntax:"<color>"; inherits:true; initial-value:#ebe4df; }
html[data-theme] {
  --theme-time: 540ms;
  background:var(--canvas-top);
  transition:color var(--theme-time) ease-in-out, --canvas-top var(--theme-time) ease-in-out,
    --canvas-mid var(--theme-time) ease-in-out, --canvas-end var(--theme-time) ease-in-out;
}
html[data-theme] body { min-height:100svh; isolation:isolate; }
/* Keep the gradient in viewport coordinates when the sticky header moves. */
html[data-theme] body::before {
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg,var(--canvas-top) 86px,var(--canvas-mid) max(47%,87px),var(--canvas-end)) no-repeat;
}
html[data-theme=dark] {
  color-scheme: dark;
  --overlay-logo-filter:brightness(1);
  --canvas-top: #292746;
  --canvas-mid: #22203a;
  --canvas-end: #191828;
  --ink: #ebe6f3;
  --ink-body: #d1c9dc;
  --ink-muted: #b7acc6;
  --ink-link: #dac2ec;
  --canvas-raised: #34304e;
  --canvas-line: #524965;
}
.portfolio-header .theme-dot {
  position:relative; display:grid; place-items:center; width:32px; height:44px; border:0; padding:0;
  color:var(--ink); background:transparent; border-radius:50%;
}
.portfolio-header .theme-dot[hidden] { display:none; }
.theme-dot::before { content:""; width:10px; height:10px; background:currentColor; border-radius:50%; }
.portfolio-header .theme-dot:focus { outline:none; }
.theme-dot:focus-visible:not([data-pointer-focus])::after {
  content:""; position:absolute; top:calc(50% + 9px); width:12px; border-bottom:2px solid currentColor;
}
@media (pointer:coarse) { .portfolio-header .theme-dot { width:44px; } }
.portfolio-header { background-color:var(--canvas-top); }
html[data-theme] :is(.site-footer,.reel-title,.reel-summary,.reel-tabs button,.motion-control,.other-projects,.theme-dot,.portfolio-header nav a) { transition:color var(--theme-time) ease-in-out; }
.work-wordmark:has(portfolio-mark) { background-image:none; }
portfolio-mark { position:relative; display:block; width:100%; height:100%; aspect-ratio:194/63; overflow:hidden; }
/* Each 272px plate has a 16px black gutter at both ends. The mask therefore
   still samples zero alpha beyond the artwork during fractional downscaling. */
portfolio-mark video { position:absolute; left:0; top:calc(-100% * 16 / 272); width:100%; max-width:none; height:calc(100% * 912 / 272); object-fit:fill; opacity:0; pointer-events:none; }
portfolio-mark.brand-playing video { opacity:1; }
.brand-filter { position:absolute; pointer-events:none; }
.brand-mix { flood-opacity:0; transition:flood-opacity var(--theme-time) ease-in-out; }
[data-theme=dark] .brand-mix { flood-opacity:1; }
.brand-still { position:absolute; inset:0; background:url('/work-entry-theme-still.webp') center top / 100% 200% no-repeat; transition:opacity var(--theme-time) ease-in-out; }
.brand-still.night { background-position:center bottom; opacity:0; }
[data-theme=dark] .brand-still.night { opacity:1; }
[data-theme=dark] .brand-still.day { opacity:0; }
.brand-playing .brand-still { visibility:hidden; }
@media (prefers-reduced-motion:reduce) { html[data-theme] { --theme-time:0ms; } }
