:root {
  --ink: #333;
  --rule: #b4b4b4;
  --soft: #8a8a8a;
  --placeholder: #e3e3e3;
  --paper: white;
  --gutter: 16px;
  --font: "times-new-roman", Times, "Times New Roman", "thongterm", serif;

  --weight: 400;
  --text: 16px;
  --small: 13px;
  --caption: 13.5px;
  --quote: 15px;
  --top: 64px;
  --indent: 2em;

  --cols: 22.9% 2.3% 22.9% 4.2% 1fr;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--paper); color: var(--ink); }

body {
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  font: var(--weight) var(--text)/normal var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; text-underline-offset: 2px; }
a:hover, a[aria-current] { text-decoration: underline; }

img { display: block; max-width: 100%; }

ol { list-style: none; }

[hidden] { display: none !important; }

.scroll-area {
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.scroll-area::-webkit-scrollbar { display: none; }

.frame {
  position: relative;
  background: var(--placeholder);
  overflow: hidden;
}
.frame.x {
  background:
    linear-gradient(to top right, transparent calc(50% - .5px), #bdbdbd 50%, transparent calc(50% + .5px)),
    linear-gradient(to bottom right, transparent calc(50% - .5px), #bdbdbd 50%, transparent calc(50% + .5px)),
    var(--placeholder);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

.site-head { flex: none; padding: 22px var(--gutter) 0; }

.site-menu-inner,
.site-rules { display: grid; grid-template-columns: var(--cols); }

.site-bar { display: flex; justify-content: space-between; align-items: baseline; }

.site-bar { gap: 22px; }

.slashes {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-align: right;
  letter-spacing: -0.5px;
  text-decoration: none;
  cursor: pointer;
}
.slashes:hover { text-decoration: none; }
.slashes.is-fact { letter-spacing: 0; text-decoration: none; }
.slashes.is-fact:hover { text-decoration: underline; }
.slashes:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.site-name {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-underline-offset: 2px;
}
.site-name:hover,
.is-open .site-name { text-decoration: underline; }
.site-name:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.site-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1);
}
.site-menu-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .45s;
}
.site-head.is-open .site-menu { grid-template-rows: 1fr; }
.site-head.is-open .site-menu-inner {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s .08s, visibility 0s;
}

.site-nav {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 52px;
}

.site-about { grid-column: 5; padding-top: 52px; }
.site-about p:first-child { max-width: 37em; }
.site-about-name { display: block; margin-bottom: 14px; }
.site-contact { text-align: right; margin-top: 14px; }

.site-rules { margin-top: 22px; }
.site-rules span { border-top: 1px solid var(--rule); }
.site-rules span:nth-child(1) { grid-column: 1; }
.site-rules span:nth-child(2) { grid-column: 3; }
.site-rules span:nth-child(3) { grid-column: 5; }

.landing-main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: var(--top) var(--gutter) 0;

  --feature-h: max(320px, calc(100svh - 230px));
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  align-items: center;
}
.feature-btn {
  justify-self: center;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 8px 12px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  text-underline-offset: 2px;
}
.feature-btn:hover { text-decoration: underline; }
.feature-btn:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }

.feature-stage {
  position: relative;
  display: block;
  height: var(--feature-h);
}
.feature-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--feature-h);
  opacity: 0;
  translate: 0 0;
  transition: opacity 1.1s ease, translate 1.1s cubic-bezier(.25, .6, .3, 1);
}
.feature-stage img.is-current { opacity: 1; }
.feature-stage:hover img.is-current { opacity: .55; transition-duration: .3s; }
.feature-stage:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }

.feature-caption {
  display: flex;
  justify-content: center;
  gap: 2.4em;
  margin-top: 16px;
  text-align: center;
}
.feature-caption { transition: opacity .45s ease, translate .45s ease; }
.feature-caption.is-out { opacity: 0; translate: -10px 0; }
.feature-caption.is-in { opacity: 0; translate: 10px 0; transition: none; }
.feature-title { text-underline-offset: 2px; }
.feature-details { color: var(--soft); font-style: italic; }

.work-details { color: var(--soft); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  .feature-stage img, .feature-caption { transition: none; }
}

.intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: opacity 1s ease;
}
.show-intro .intro { display: flex; }
.intro.is-done { opacity: 0; pointer-events: none; }
.intro-cover {
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: .04em;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.intro.is-visible .intro-cover { opacity: 1; }
.intro-cover p { margin: 0; }
.intro-soft { color: var(--soft); }
.intro-title { margin: 1.4em 0 1.2em !important; }
.intro-thai { font-size: 19px; }
@media (max-width: 900px) {
  .intro-cover { font-size: 15px; }
  .intro-thai { font-size: 16px; }
}

.works-page {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--cols);
  grid-template-rows: 100%;
  padding: 0 var(--gutter);
  container-type: size;
}
.works-page > .scroll-area { padding: var(--top) 0 24px; }

.works-list-col { grid-column: 1; display: flex; flex-direction: column; }
.works-list-col > * { flex-shrink: 0; }

.works-copy { margin-top: auto; padding-top: 48px; font-size: var(--small); line-height: 1.75; color: var(--soft); }
.works-copy::before { content: ""; display: block; width: 100px; border-top: 1px solid var(--rule); margin-bottom: 22px; }
@media (max-width: 900px) { .works-list-col.has-work .works-copy { display: none; } }
.works-text-col { grid-column: 3; display: flex; flex-direction: column; }

.col-head { min-height: 110px; }

.cat-toggle {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  text-underline-offset: 2px;
}
.cat-toggle:hover { text-decoration: underline; }
.cat-toggle::after { content: " \2193"; }
.cat-open .cat-toggle::after { content: " \2191"; }
.cat-toggle:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.cat-drop {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.2, .7, .2, 1);
}
.cat-open .cat-drop { grid-template-rows: 1fr; }
.cat-menu {
  min-height: 0;
  overflow: hidden;
  list-style: none;
  padding-left: var(--indent);
  visibility: hidden;
  transition: visibility 0s .35s;
}
.cat-open .cat-menu { visibility: visible; transition: none; }
.cat-menu li:first-child { margin-top: .6em; }
.cat-menu li:last-child { margin-bottom: 6em; }
.cat-menu button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  text-underline-offset: 2px;
}
.cat-menu button:hover,
.cat-menu button[aria-current] { text-decoration: underline; }

.works-list { --pitch: 2em; }
.works-list li { line-height: var(--pitch); }
.works-list .works-year { line-height: calc(var(--pitch) * .825); padding-left: 1em; text-decoration: underline; text-underline-offset: 2px; }
.works-list li + .works-year { margin-top: calc(var(--pitch) * .5); }

@media (min-width: 901px) {
  .works-list { margin-top: calc(var(--pitch) * -.825 - (var(--pitch) - 1.5em) / 2); }
}

.work-body { line-height: 1.5; }
.work-body p + p { margin-top: 3.2em; }
.work-concept { padding-left: var(--indent); }

.work-notes {
  margin-top: auto;
  padding-top: 48px;
  font-size: var(--small);
  line-height: 1.75;
  counter-reset: note;
}
.work-notes::before {
  content: "";
  display: block;
  width: 100px;
  border-top: 1px solid var(--rule);
  margin-bottom: 22px;
}

.work-notes, .info-note, .inv-notes { color: var(--soft); }

.works-images {
  grid-column: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  align-items: start;
  grid-auto-rows: max-content;
  gap: 5px;
}
.works-images .full { grid-column: 1 / -1; }
.works-images .space-after { margin-bottom: 32px; }
.works-images .frame:has(img) { background: none; }
.works-images .frame img { height: auto; }

.works-images .frame.mat { padding: 7% 6%; }
.works-images .half.mat { padding: 12% 10%; }
.works-images .frame.mat-black { background: #000; }
.works-images .frame.mat-white { background: #fff; }
.works-images .frame.mat-grey {
  background: radial-gradient(ellipse 80% 70% at 50% 42%, #f1f1f0, #e2e2e1 70%, #dcdcdb);
  padding: 14% 12%;
}
.works-images .half.mat-grey { padding: 20% 16%; }

.works-images .fit.mat { display: flex; justify-content: center; padding: 48px; }
.works-images .fit.mat-grey { padding: 72px; }
.works-images .fit.mat img { max-height: calc(100cqh - var(--top) - 24px - 96px); width: auto; max-width: 100%; }
.works-images .fit.mat-grey img { max-height: calc(100cqh - var(--top) - 24px - 144px); }
.works-images .full.empty { aspect-ratio: 4 / 3; }
.works-images .zoomable { cursor: zoom-in; }
.works-images .zoomable:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.works-images .fit img {
  width: auto;
  max-width: 100%;
  max-height: calc(100cqh - var(--top) - 24px);
}
.works-images .frame.video { background: none; overflow: visible; }
.video-box { background: #000; }
.video-box iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-link { display: inline-block; margin-top: 8px; font-size: var(--small); }
.works-images .half.empty { aspect-ratio: 3 / 4; }

.info-page {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--cols);
  grid-template-rows: 100%;
  padding: 0 var(--gutter);
}

.info-side {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  padding: var(--top) 0 24px;
}
.info-tabs { display: flex; flex-direction: column; align-items: flex-start; }
.info-tabs a + a { margin-top: 2.6em; }

.info-note { margin-top: auto; font-size: var(--small); line-height: 1.75; max-width: 30em; }
.info-note::before {
  content: "";
  display: block;
  width: 100px;
  border-top: 1px solid var(--rule);
  margin-bottom: 22px;
}

.info-rows {
  grid-column: 3 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-content: start;
  padding: var(--top) 0 64px;
}
.info-row { display: contents; }
.info-label { grid-column: 1; font: inherit; }
.info-body { grid-column: 3; padding-bottom: 72px; }
.info-row:last-child .info-body { padding-bottom: 0; }

.info-rows { --info-sub: 8em; }
.info-body { display: grid; grid-template-columns: var(--info-sub) 1fr; align-items: start; scroll-margin-top: var(--top); }
.info-body.is-full { display: block; }
.info-sub { padding-right: 1em; }
.info-body.is-full .info-contact { padding-left: var(--info-sub); }

.info-body { padding-bottom: 48px; }
.info-row.is-section:not(:first-child) > * { margin-top: 48px; }
.info-venue { white-space: pre-line; }

.info-content > .info-intro:first-child { margin-top: 0; }
.info-entry > .info-lines:first-child { margin-top: 0; padding-left: 0; }

.info-intro { margin-top: 1.4em; max-width: 37em; padding-left: calc(var() * 1)}

.info-invite { margin-top: 1.6em; max-width: 37em; }

.info-contact { margin-top: 1.6em; padding-left: calc(var(--indent) * 1.1); }
.info-contact a:hover { text-decoration: underline; }
.info-cv { margin-top: 1.6em; }
.info-cv a { text-decoration: underline; text-underline-offset: 2px; }
.info-cv.info-portfolio { margin-top: .2em; }

.info-entry + .info-entry { margin-top: 3%; }
.info-lines { margin-top: 0.2em; padding-left: var(--indent); }

.info-venue { color: var(--soft); }
.info-desc { margin-top: 1%; padding-left: calc(var(--indent) * 1.1); max-width: 37em; }

.info-link { text-decoration: none; }
.info-link:hover { text-decoration: underline; }

.inv-page {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--cols);
  grid-template-rows: 100%;
  padding: 0 var(--gutter);
}

.inv-side {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  padding: var(--top) 0 24px;
}
.inv-page { position: relative; }

.inv-tools {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  z-index: 99999;
  display: flex;
  gap: 1.5em;
  font-size: var(--small);
  line-height: 1.75;
}

.inv-view, .inv-shuffle {
  padding: 0;
  font: inherit;
  color: #6e6e6e;
  background: none;
  border: 0;
  cursor: pointer;
  text-underline-offset: 2px;
}
.inv-view:hover, .inv-shuffle:hover { color: var(--ink); text-decoration: underline; }

.inv-board.is-shuffling .inv-item { transition: left .7s cubic-bezier(.2, .7, .2, 1), top .7s cubic-bezier(.2, .7, .2, 1); }
.inv-item:not(.inv-quote) { cursor: zoom-in; }
.inv-item.is-dragging { cursor: grabbing; }

.viewer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px var(--gutter) 40px;
  background: rgba(255, 255, 255, .96);
  cursor: zoom-out;
}
.viewer[hidden] { display: none; }
.viewer-close {
  position: absolute;
  top: 20px;
  right: var(--gutter);
  padding: 4px 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-underline-offset: 2px;
}
.viewer-close:hover { text-decoration: underline; }
.viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  padding: 24px var(--gutter);
  font: inherit;
  font-size: 20px;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.viewer.is-multi .viewer-nav { display: block; }
.viewer-prev { left: 0; }
.viewer-next { right: 0; }
.viewer-nav:hover { color: var(--soft); }
.viewer-close:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.viewer-body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}
.viewer-body img,
.viewer-body video {
  display: block;
  max-width: min(100%, 1400px);
  max-height: calc(100svh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.viewer-body figcaption { margin-top: 14px; font-size: var(--caption); color: #6e6e6e; text-align: center; }

.inv-notes {
  margin-top: auto;
  font-size: var(--small);
  line-height: 1.75;
  counter-reset: note;
}
.inv-notes::before {
  content: "";
  display: block;
  width: 100px;
  border-top: 1px solid var(--rule);
  margin-bottom: 22px;
}

.inv-board {
  grid-column: 3 / -1;
  position: relative;
  margin: var(--top) 0 64px;
}

.inv-item {
  position: absolute;
  margin: 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.inv-item.is-dragging { cursor: grabbing; }
.inv-item:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.inv-item img, .inv-item video { display: block; width: 100%; height: auto; pointer-events: none; }
.inv-item figcaption { margin-top: 10px; font-size: var(--caption); }
.inv-item.has-link figcaption::after { content: " \2197"; }

.inv-quote blockquote {
  background: var(--placeholder);
  padding: 36px 34px;
  font-size: var(--quote);
  line-height: 1.35;
}

@media (max-width: 900px) {
  :root { --gutter: 16px; --cols: 1fr; --top: 28px; }
  body { height: auto; display: block; overflow: visible; }

  .site-head {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--paper);
    max-height: 100svh;
    overflow-y: auto;
  }
  .site-about, .site-nav { grid-column: 1; }
  .site-about { padding-top: 32px; }
  .site-rules span:nth-child(n) { grid-column: 1; }
  .site-rules span:nth-child(n + 2) { display: none; }

  .landing-main { padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 64px); }
  .landing-main { --feature-h: 56svh; }
  .feature-row { grid-template-columns: 44px 1fr 44px; }
  .feature-btn { padding: 12px 0; font-size: 24px; }
  .feature-caption { flex-direction: column; gap: 2px; padding: 0 44px; }

  .works-page { display: block; padding-bottom: 24px; container-type: normal; }
  .scroll-area { height: auto; overflow: visible; }
  .works-page > .scroll-area { padding-bottom: 0; }
  .col-head { min-height: 0; margin-bottom: 24px; }
  .works-list-col { margin-bottom: 40px; }

  .works-page > .works-list-col { padding-top: calc(var(--top) + 40px); }
  .works-list-col .col-head { margin-bottom: 104px; }
  .works-list-col.list-collapsed .col-head { margin-bottom: 0; }
  .works-text-col { margin-bottom: 40px; }

  .works-page { display: flex; flex-direction: column; }
  .works-page > *, .works-text-col > * { min-width: 0; max-width: 100%; }
  .works-text-col:not([hidden]) { display: contents; }
  .works-list-col { order: 1; }
  .works-text-col .col-head { order: 2; }
  .works-text-col .work-body { order: 3; margin-bottom: 40px; }
  .works-images { order: 4; }
  .works-text-col .work-notes { order: 5; margin-top: 40px; }

  .works-list-col.list-collapsed .works-list { display: none; }
  .works-list-col.list-collapsed { margin-bottom: 8px; }
  .works-images { gap: 12px; }

  .info-page { display: block; padding-bottom: 40px; }
  .info-side { padding: 32px 0 0; }
  .info-tabs { flex-direction: row; gap: 1.6em; }
  .info-tabs a + a { margin-top: 0; }
  .info-rows { display: block; padding: 40px 0 0; }
  .info-row { display: block; }

  .info-label { margin-bottom: 16px; text-decoration: underline; }
  .info-label:empty { display: none; }
  .info-body { display: block; padding-bottom: 32px; }
  .info-row:last-child .info-body { padding-bottom: 0; }
  .info-sub { margin-bottom: 4px; padding-right: 0; }
  .info-sub:empty { display: none; }
  .info-body.is-full .info-contact { padding-left: calc(var(--indent) * 1.1); }
  .info-row.is-section:not(:first-child) > .info-label { margin-top: 32px; }
  .info-row.is-section:not(:first-child) > .info-body { margin-top: 0; }
  .info-page { display: flex; flex-direction: column; }
  .info-side { display: contents; }

  .inv-page { display: flex; flex-direction: column; padding-bottom: 40px; }
  .inv-side { display: contents; }
  .inv-label { order: 1; padding-top: var(--top); }
  .inv-tools { position: static; order: 2; align-self: flex-end; margin: -24px 0 32px; }
  .inv-view { display: none; }
  .inv-board { order: 2; display: flex; flex-direction: column; gap: 40px; margin: 32px 0 48px; }
  .inv-notes { order: 3; margin-top: 0; }
  .inv-item { position: static; cursor: auto; touch-action: auto; width: min(100%, 78%) !important; }
  .inv-item:nth-child(even) { align-self: flex-end; }
  .inv-cutout { width: 40% !important; }
  .inv-quote { width: 100% !important; }

  .info-tabs { order: 1; padding-top: var(--top); }
  .info-rows { order: 2; }
  .info-note { order: 3; padding-top: 0; margin-top: 48px; }
}

.st-grid {
  --st-gap: 8px;
  --st-row-gap: 96px;
  grid-column: 3 / -1;
  display: flex;
  flex-direction: column;
  gap: var(--st-row-gap);
  padding: var(--top) 0 88px;
}
.st-row { display: flex; align-items: flex-start; gap: var(--st-gap); }

.st-cell { flex: 1 1 0; min-width: 0; margin: 0; }
.st-cell[role="button"] { cursor: zoom-in; }
.st-cell.has-link { cursor: pointer; }
.st-cell:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }

.st-media img, .st-media video {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .2s;
}
.st-cell[role="button"]:hover .st-media img,
.st-cell[role="button"]:hover .st-media video { opacity: .85; }
.st-cutout .st-media { padding: 0 18%; }

.st-quote blockquote {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  padding: 0 12%;
  background: var(--placeholder);
  font-size: var(--quote);
  line-height: 1.35;
}

.st-cell figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: var(--small);
  color: #6e6e6e;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .st-grid { order: 2; gap: 40px; padding: 32px 0 48px; }
  .st-row { display: contents; }
  .st-spacer { display: none; }
  .st-cell { flex: none !important; width: 78%; }
  .st-cell.st-alt { align-self: flex-end; }
  .st-cutout { width: 40%; }
  .st-cutout .st-media { padding: 0; }
  .st-quote { width: 100%; }
  .st-quote blockquote { aspect-ratio: auto; padding: 36px 34px; }
  .st-cell figcaption { text-align: left; }
}

.info-intro, .info-invite, .info-lines, .info-desc, .info-heading,
.work-intro, .work-concept, .work-reflect, .work-details { white-space: pre-line; }

.process-show { grid-column: 1 / -1; margin-top: 56px; }
.process-head { margin-bottom: 12px; color: var(--soft); }
.process-stage { display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: zoom-in; aspect-ratio: 16 / 9; }
.process-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.process-bar { display: flex; align-items: center; justify-content: space-between; margin: 10px 0; color: var(--soft); font-size: var(--small); }
.process-bar button { font: inherit; font-size: 16px; color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.process-bar button:hover { color: var(--soft); }
.process-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.process-strip::-webkit-scrollbar { display: none; }
.process-thumb { flex: 0 0 calc((100% - 6px * 6) / 7); padding: 0; border: 0; background: #000; cursor: pointer; opacity: .4; transition: opacity .2s; }
.process-thumb:hover, .process-thumb[aria-current] { opacity: 1; }
.process-thumb img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .process-thumb { flex-basis: calc((100% - 6px * 4) / 5); } }

@media (min-width: 901px) {
  .inv-page.is-scroll { overflow-y: auto; grid-template-rows: auto; align-items: start; scrollbar-width: none; }
  .inv-page.is-scroll::-webkit-scrollbar { display: none; }
  .inv-page.is-scroll .inv-side { position: sticky; top: 0; height: var(--page-h, 80vh); }
  .inv-page.is-scroll .inv-board { height: 260vh; }
  .inv-page.is-scroll .inv-tools { position: fixed; }
}

.fn-ref {
  font: inherit;
  font-size: .8em;
  line-height: 0;
  color: var(--soft);
  background: none;
  border: 0;
  padding: 0 0 0 1px;
  cursor: pointer;
}
.fn-ref:hover { color: var(--ink); text-decoration: underline; }
sup { line-height: 0; }
@keyframes fn-flash { from { color: var(--ink); } to { color: var(--soft); } }
.work-notes li.is-flash { animation: fn-flash 1.6s ease-out; }

.works-text-col > *, .works-images { transition: opacity .25s, visibility .25s; }
.works-page:has(.cat-open) .works-text-col > *,
.works-page:has(.cat-open) .works-images { opacity: 0; visibility: hidden; }
@media (max-width: 900px) {
  .works-page:has(.cat-open) .works-text-col > *,
  .works-page:has(.cat-open) .works-images { display: none; }
}
