.mast, .foot { background: #161616; }
#main img, .film-player video { filter: grayscale(1); }
#main .marquee-art img, #main dialog img,
#main a:focus-visible img, #main .lutang-scene:focus-within img,
.film-player video:is(:focus-visible, .has-played, :fullscreen) { filter: none; }
@media (hover: hover) and (pointer: fine) {
  #main img:hover, #main a:hover img, #main .lutang-scene:hover img,
  .film-player video:hover { filter: none; }
}
@media (prefers-reduced-motion: no-preference) {
  #main img, .film-player video { transition: filter 240ms ease; }
}
:focus-visible { outline: 2px solid var(--link-red); }
.bar a:focus-visible, .foot a:focus-visible { outline-color: #ff5364; }
.marquee-art { aspect-ratio: 2.35; }
.marquee-caption { padding-block: 12px; }
.home-position { border-bottom: 1px solid var(--line); }
.mast .navcta { color: white; background: transparent; border-color: #666; }
.portfolio-grid, .work-index, .event-grid, .artwork-wall {
  display: block;
  column-count: 3;
  column-gap: clamp(14px, 1.7vw, 30px);
}
.portfolio-piece, .work-index .case-tile, .event-grid .event-card, .artwork-wall > a {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  break-inside: avoid;
  margin: 0 0 clamp(22px, 2.5vw, 44px);
}
.portfolio-art, .work-index .artbox, .work-index [data-format="portrait"] .artbox, .event-grid .event-art {
  width: 100%; height: auto; aspect-ratio: auto;
}
.portfolio-art img, .work-index .artbox img, .event-grid .event-art img, .artwork-wall img {
  display: block; width: 100%; height: auto; max-height: none; object-fit: contain;
}
.work-index .case-cap h2, .event-grid .case-cap h2, .portfolio-caption h3 {
  font-weight: 500;
}
.works-page .collection-title > .under, .event-index .collection-title > .under { justify-self: start; }
.event-index .collection-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 28px; }
.event-index .collection-title h1 { margin-right: auto; }
.case-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 35px;
  padding-block: clamp(30px, 3.5vw, 64px) clamp(22px, 2.7vw, 48px);
}
.case-heading .back { display: inline-block; color: var(--muted); margin-bottom: 8px; }
.case-heading > p { max-width: 26em; color: var(--muted); }
.artwork-wall { column-count: 2; column-gap: clamp(10px, 1.3vw, 24px); }
.artwork-wall:has(> a:nth-child(6)) { column-count: 3; }
.artwork-wall > a { margin-bottom: clamp(10px, 1.3vw, 24px); cursor: zoom-in; }
.project-films, .project-details { margin-top: clamp(32px, 4vw, 70px); border-top: 1px solid var(--line); }
.project-films > h2, .project-details > summary {
  padding-block: 18px; font-weight: 500;
}
.project-details > summary { cursor: pointer; }
.project-details .reader { padding-block: clamp(18px, 2.7vw, 45px); border: 0; }
.project-credit {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .25em 1.4em;
  margin-block: 0; padding-block: 1rem 1.25rem; font-size: var(--type-caption); line-height: 1.55;
}
.project-credit dt { color: var(--muted); }
.project-credit dd { margin: 0; }
.case-article .lutang-study { margin-bottom: 24px; }
.film-player { max-width: 1160px; }
.film-player video { display: block; width: 100%; height: auto; max-height: 69svh; object-fit: contain; background: #141414; }
.film-pick, .film-caption { margin-top: 13px; color: var(--muted); }
.film-pick { display: flex; align-items: baseline; gap: 18px; }
.film-pick select { width: auto; max-width: calc(100% - 54px); min-height: 42px; padding: 5px 24px 5px 8px; font: inherit; color: var(--ink); background: var(--paper); border: 0; border-bottom: 1px solid var(--control-line); border-radius: 0; }
.film-collection { padding-bottom: var(--space); }
.film-collection .film-player { margin-inline: auto; }
@media (max-width: 900px) {
  .portfolio-grid, .work-index, .event-grid, .artwork-wall:has(> a:nth-child(6)) { column-count: 2; }
}
@media (max-width: 600px) {
  .marquee-art { aspect-ratio: 1.45; }
  .portfolio-grid { column-count: 1; }
  .case-heading { display: block; }
  .case-heading > p { margin-top: 12px; }
  .event-index .collection-title { gap: 10px 16px; }
  .work-index .case-cap, .event-grid .case-cap { padding-top: 7px; }
  .portfolio-head { align-items: flex-start; }
  .portfolio-head nav { flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; }
  .artwork-wall, .work-index, .event-grid { column-gap: 10px; }
}
@media (max-width: 340px) {
  .work-index, .event-grid, .artwork-wall, .artwork-wall:has(> a:nth-child(6)) { column-count: 1; }
}

/* Chinese type scale. The fluid steps interpolate between 390px and 1440px. */
:root {
  --type-caption: .875rem;
  --type-control: 1rem;
  --type-body: clamp(1rem, .95357rem + .19048vw, 1.125rem);
  --type-item: clamp(1.25rem, 1.20357rem + .19048vw, 1.375rem);
  --type-section: clamp(1.5625rem, 1.49286rem + .28571vw, 1.75rem);
  --type-title: clamp(2rem, 1.72143rem + 1.14286vw, 2.75rem);
  --type-display: clamp(2.5rem, 2.12857rem + 1.52381vw, 3.5rem);
}
body { font-size: var(--type-body); line-height: 1.75; }
.home-position h1, .profile-voice h1, .collection-title h1 {
  font-size: var(--type-display); line-height: 1.18; letter-spacing: -.035em;
}
.case-heading h1, .essay .item-intro h1, .item-intro h1, .intake h1 {
  font-size: var(--type-title); line-height: 1.24; letter-spacing: -.025em;
}
.profile-proof h2, .profile-principles h2, .method-sequence h2,
.portfolio-head h2, .strategy-heading h2, .strategy-cases > h2,
.service-list h2, .prose :is(h2,h3), .project-films > h2, .resource-body h2,
.related-events > h2, .brief-result > h2, .lutang-study .lutang-notes > h2 {
  font-size: var(--type-section); line-height: 1.38; letter-spacing: -.015em;
}
.marquee-name h2, .portfolio-caption h3, .work-index .case-cap h2, .event-grid .case-cap h2,
.journal-entry h3, .strategy-cases h3, .method-sequence h3, .profile-principles dt,
.profile-signature h2, .project-details > summary, .rows summary, .prose h3 {
  font-size: var(--type-item); line-height: 1.45; letter-spacing: -.01em;
}
.profile-lead, .case-article .prose .project-intro, .article-deck {
  font-size: var(--type-item); line-height: 1.65; max-width: 30em;
}
.home-purpose p, .collection-title > p, .service-list p, .profile-purpose, .profile-principles dd,
.strategy-cases p, .method-sequence p, .prose p, .prose li, .journal-entry > p, .resource-body > p,
.profile-proof-copy > p:not(.identity-byline), .lutang-study .lutang-reading, .brief-result pre {
  font-size: var(--type-body); line-height: 1.75; max-width: 34em;
}
.prose table { font-size: var(--type-body); line-height: 1.6; }
.case-article .prose p:not(.project-intro), .essay .prose p { max-width: 34em; }
.cup-stage { grid-template-columns: minmax(0, 1fr); }
.cup-stage img { width: 100%; min-width: 0; height: auto; object-fit: contain; }
.size-test fieldset { min-width: 0; }
.size-options { flex-wrap: wrap; }
.portfolio-caption p, .work-index .case-cap p, .event-grid .case-cap p, .case-heading > p,
.marquee-kind, .marquee-name > span, .tag, .resource-type, .resource-actions span,
.byline, .reader aside p, .reader aside a, .board-link, .foot-icp, .foot nav a,
.identity-byline, .desktop a, .back, .case-heading .back, .marquee .marquee-kind,
.film-caption, .profile-signature figcaption p, .reader aside div > p:first-child, .reader aside time,
.journal-entry > span, .kicker, .draft-note, #brief-form small, .size-test legend, .prose p em,
.lutang-study .lutang-source, .case-article .lutang-study[data-state] .lutang-detail {
  font-size: var(--type-caption); line-height: 1.55;
}
.intake label, #brief-form :is(input, select, textarea), .film-pick, .button, .download,
.navcta, .mobile > summary, .mobile nav a, .catalog-controls :is(input,button), .textlink,
.resource-preview summary, .size-options label, .lutang-study .lutang-options button,
.reader aside .button, .portfolio-head nav a, .under {
  font-size: var(--type-control); line-height: 1.55;
}
.case-heading > *, .portfolio-head > *, .collection-title > *, .item-titles > * { min-width: 0; }
.case-heading h1, .project-details, .prose, .case-cap, .item-intro h1, .home-purpose {
  overflow-wrap: anywhere;
}
.intake .lead a { max-width: 100%; overflow-wrap: anywhere; }
.home-position h1 .identity-phrase { max-width: 100%; }
@media (max-width: 48em) {
  .bar .desktop, .bar .navcta { display: none; }
  .bar .mobile { display: block; margin-left: auto; }
  .bar .brand { max-width: 60%; }
  .bar .brand img { max-width: 100%; }
}

/* A case's images share one black viewing surface. The grid reserves the controls' own space. */
:root:has(#board[open]), body:has(#board[open]) { overflow: hidden; }
#board {
  position: fixed; inset: 0; margin: 0; padding: 0; border: 0;
  width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none;
  overflow: hidden; color-scheme: dark; background: #000; color: #f5f5f5;
}
#board[open] { display: grid; grid-template: auto minmax(0, 1fr) auto / minmax(0, 1fr); }
#board::backdrop { background: #000; }
#board :focus-visible { outline: 2px solid #fff; outline-offset: -3px; box-shadow: none; }
.board-top, .board-tools {
  padding-left: max(clamp(12px, 2.5vw, 42px), env(safe-area-inset-left));
  padding-right: max(clamp(12px, 2.5vw, 42px), env(safe-area-inset-right));
}
.board-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: max(.25rem, env(safe-area-inset-top));
}
#board-name { min-width: 0; font-size: var(--type-control); line-height: 1.45; font-weight: 450; letter-spacing: normal; overflow-wrap: anywhere; }
#board #board-name:focus { outline: none; box-shadow: none; }
#board button, .board-more summary, .board-more a {
  min-width: 44px; min-height: 44px; padding: 0 min(.45rem, 8px); border: 0; border-radius: 0;
  background: transparent; color: #d6d6d6; font-size: var(--type-control); line-height: 1.5;
}
#board button:hover, #board summary:hover, .board-more a:hover { color: #fff; }
#board button:disabled { color: #838383; cursor: default; }
.board-icon { display: inline-grid; place-items: center; flex: none; }
.board-dots { width: 3px; height: 3px; border-radius: 50%; background: currentColor; box-shadow: -6px 0, 6px 0; }
.board-cross, .board-chevron { display: inline-block; width: 18px; height: 18px; position: relative; }
.board-cross::before, .board-cross::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.board-cross::after { transform: translateY(-50%) rotate(-45deg); }
.board-chevron { width: 11px; height: 11px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
#board-prev .board-chevron { transform: rotate(-135deg); }
.board-stage {
  position: relative; min-height: 0; min-width: 0; overflow: auto;
  overscroll-behavior: contain; touch-action: pan-y pinch-zoom;
}
.board-sheet {
  width: 100%; height: 100%; display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center;
}
#board-art {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;
  user-select: none; -webkit-user-drag: none;
}
.board-stage[data-can-zoom] #board-art { cursor: zoom-in; }
.board-stage[data-zoomed] { touch-action: pan-x pan-y pinch-zoom; }
.board-stage[data-zoomed] .board-sheet {
  width: max(100%, var(--art-width)); height: max(100%, var(--art-height));
}
.board-stage[data-zoomed] #board-art { width: var(--art-width); height: var(--art-height); max-width: none; max-height: none; cursor: grab; }
.board-stage[data-zoomed] #board-art:active { cursor: grabbing; }
.board-stage[aria-busy="true"] #board-art, .board-stage[data-failed] #board-art { visibility: hidden; }
.board-message {
  position: absolute; inset: 0; display: grid; align-content: center; justify-items: center;
  padding: 1rem; text-align: center; color: #ccc; font-size: var(--type-control);
}
.board-message button { text-decoration: underline; text-underline-offset: 4px; }
.board-tools {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-bottom: max(.25rem, env(safe-area-inset-bottom));
}
#board-zoom { justify-self: start; }
.board-pages { display: flex; align-items: center; justify-content: center; gap: min(.35rem, 6px); grid-column: 2; }
#board-count { min-width: 2.4em; text-align: center; color: #d6d6d6; font-size: var(--type-caption); font-variant-numeric: tabular-nums; }
.board-more { position: relative; grid-column: 3; justify-self: end; }
.board-more summary { cursor: pointer; font-weight: 600; }
.board-more > div {
  position: absolute; right: 0; bottom: 100%; min-width: max-content; padding: .25rem .75rem;
  display: grid; background: #191919; border: 1px solid #444;
}
.board-more a { display: flex; align-items: center; }
.board-more button { text-align: left; }
.board-screen-note { padding: .5rem; max-width: 12em; color: #ccc; font-size: var(--type-caption); }
@media (max-width: 380px) {
  .board-tools { grid-template-columns: auto 1fr auto; }
  .board-pages { gap: 0; }
}
