.catalog-shell {
  width: min(var(--frame), calc(100% - 64px));
  margin: auto;
}
.catalog-intro {
  padding: 48px 0 44px;
  text-align: center;
}
.catalog-eyebrow {
  font-size: 13px;
  color: var(--muted);
  font-weight: 450;
}
.catalog-intro h1 {
  font: 650 58px/1.12 var(--sans);
  margin-top: 16px;
}
.catalog-statement {
  font-size: 24px;
  line-height: 1.45;
  font-weight: 450;
  color: var(--muted);
  max-width: 660px;
  margin: 20px auto 0;
  text-wrap: balance;
}
.catalog-statement-focus {
  color: var(--ink);
}
.catalog-intro-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.catalog-intro-meta p {
  font-size: 12px;
  color: var(--muted);
  white-space: pre-line;
  text-align: center;
}
.catalog-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.catalog-section-heading h2 {
  font-size: 22px;
  font-weight: 600;
}
.catalog-meta {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}
.catalog-filters {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 8px;
  background: #eaece8;
}
.catalog-filter {
  border-color: transparent;
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 14px;
  min-height: 36px;
  transition:
    background 180ms,
    color 180ms,
    box-shadow 180ms;
}
.catalog-filter span {
  font-size: 12px;
  color: var(--muted);
}
.catalog-filter[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 1px 4px #252a2414,
    0 0 0 1px #252a2405;
}
.catalog-filter[aria-pressed="true"] span {
  color: inherit;
}
.catalog-search {
  width: 248px;
  max-width: 100%;
}
.catalog-search input {
  width: 100%;
  font-size: 13px;
  background: #eeefeb;
  border-color: transparent;
  transition:
    background 180ms,
    border-color 180ms;
}
.catalog-search input:focus {
  background: white;
  border-color: var(--line);
}
.catalog-archive {
  padding-top: 20px;
  border-top: 0;
  scroll-margin-top: 24px;
}
.catalog-list {
  display: grid;
  gap: 32px;
}
.bookshelf {
  min-width: 0;
}
.shelf-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
}
.shelf-heading h3 {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.shelf-controls {
  display: flex;
  gap: 6px;
}
.shelf-arrow {
  font-size: 20px;
  width: 40px;
  min-height: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
}
.shelf-arrow:disabled {
  opacity: 0.18;
}
.shelf-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #a4b09e transparent;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  border-bottom: 10px solid #e1e3de;
  border-radius: 0 0 4px 4px;
  box-shadow:
    0 12px 15px -10px #29382c38,
    0 2px 2px #ffffff,
    inset 0 -1px #fff;
}
.shelf-track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 34px 18px 0;
  min-width: 100%;
  width: max-content;
  height: 292px;
}
.catalog-row {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-end;
  scroll-snap-align: start;
}
.catalog-record {
  height: var(--book-height);
  width: 60px;
  min-width: 60px;
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 3px 5px 2px 2px;
  background: #344c42;
  color: #f7f8ed;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 320ms;
  transform-origin: bottom center;
  box-shadow:
    inset 1px 0 1px #ffffff45,
    3px 0 0 #d4d5cc,
    5px 1px 4px #172c242b;
}
.catalog-record[data-type="project"] {
  width: 76px;
  min-width: 76px;
}
.catalog-record[data-type="award"] {
  width: 60px;
  min-width: 60px;
}
.catalog-record[data-palette="cobalt"] {
  background: #466171;
}
.catalog-record[data-palette="ink"] {
  background: #34413d;
}
.catalog-record[data-palette="oxide"] {
  background: #955956;
}
.catalog-record[data-palette="plum"] {
  background: #746378;
}
.catalog-record[data-palette="moss"] {
  background: #58694f;
}
.catalog-record[data-palette="sand"] {
  background: #cbd6c2;
  color: #2c3e30;
}
.catalog-record[data-palette="award"] {
  background: #d8d3b4;
  color: #46462b;
}
.book-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 14px 8px 10px;
  border-inline: 2px solid #ffffff16;
  border-radius: inherit;
  background-image: linear-gradient(
    90deg,
    #00000012,
    transparent 18%,
    #ffffff0d 48%,
    transparent 80%,
    #00000012
  );
  box-shadow:
    inset 4px 0 #00000014,
    inset -2px 0 #00000016;
}
.book-number {
  font-size: 12px;
  line-height: 1.3;
  opacity: 1;
}
.book-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: calc(100% - 52px);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  display: block;
  text-align: left;
  margin: 9px auto;
  overflow-wrap: anywhere;
}
.catalog-record[data-type="project"] .book-title {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 400;
}
.book-year {
  font-size: 12px;
  border-top: 1px solid #ffffff45;
  padding-top: 4px;
  width: 100%;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
body.ko .book-title {
  transform: none;
  text-orientation: upright;
}
.catalog-record[data-type="award"] .book-title {
  background: #f8f6e6;
  color: #3d432f;
  border: 1px solid #46462b44;
  padding: 8px 4px;
  height: calc(100% - 52px);
}
.catalog-record:focus-visible {
  outline-offset: 7px;
  z-index: 1;
  transform: translateY(-12px);
}
.catalog-record:active {
  transform: translateY(-3px);
}
@media (hover: hover) {
  .catalog-record:hover {
    transform: translateY(-16px) rotate(-1.5deg);
    box-shadow:
      3px 0 0 #d4d5cc,
      8px 14px 14px #172c2430;
    z-index: 1;
  }
  .catalog-row:has(+ .catalog-row:hover) .catalog-record {
    transform: rotate(-1deg);
  }
  .catalog-row:hover + .catalog-row .catalog-record {
    transform: rotate(1deg);
  }
}
.catalog-record.catalog-face-out {
  width: 150px;
  min-width: 150px;
  margin-inline: 5px;
  box-shadow:
    inset 1px 0 #ffffff45,
    4px 0 #d8d8cf,
    7px 2px 5px #172c2429;
}
.catalog-face-out .book-spine {
  align-items: flex-start;
  padding: 15px 16px 12px 20px;
  border-left: 6px solid #00000024;
  background-image: linear-gradient(
    90deg,
    #00000010,
    transparent 16%,
    #ffffff08
  );
}
.catalog-face-out .book-number {
  font-size: 11px;
  width: 100%;
  padding-bottom: 9px;
  border-bottom: 1px solid #ffffff55;
}
.catalog-record.catalog-face-out .book-title {
  writing-mode: horizontal-tb;
  transform: none;
  font: 500 19px/1.2 var(--sans);
  height: auto;
  margin: auto 0 12px;
  overflow-wrap: normal;
  text-wrap: balance;
}
.catalog-face-out .book-year {
  text-align: left;
  padding-top: 8px;
  border-top: 1px solid #ffffff55;
  width: 100%;
}
.catalog-face-out .pl-project-icon {
  display: block;
  width: 58px;
  height: 58px;
  margin-top: 16px;
}
.catalog-face-out .pl-project-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}
.catalog-face-out .pl-project-icon__cutout {
  fill: none;
}
.shelf-caption {
  min-height: 66px;
  height: 66px;
  padding: 14px 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 13px;
  line-height: 1.5;
}
.shelf-caption > span:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shelf-caption-type {
  font-size: 12px;
  flex: none;
  color: var(--muted);
  min-width: 78px;
}
.catalog-empty {
  padding: 60px 20px;
  text-align: center;
}
.catalog-empty button {
  margin-top: 16px;
}
.catalog-empty[hidden] {
  display: none;
}
.catalog-cv-entry {
  padding: 28px 0;
  border-block: 1px solid var(--line);
  text-align: center;
  margin-top: 24px;
}
.catalog-cv-link {
  font: 550 22px/1.4 var(--sans);
  display: inline-block;
  margin: 0;
  padding: 10px 0;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}
.catalog-cv-entry > p:last-child {
  font-size: 14px;
  color: var(--muted);
}
.catalog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 28px 0;
  font-size: 12px;
  color: var(--muted);
}
.catalog-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--ink);
}
html.catalog-reading {
  overflow: hidden;
}
#work-detail {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(1040px, calc(100% - 48px));
  height: min(880px, calc(100dvh - 48px));
  max-width: none;
  max-height: none;
  border: 1px solid #dddfd8;
  border-inline: 5px solid #365142;
  border-radius: 6px 8px 8px 6px;
  padding: 0;
  background: #fbfbf8;
  color: var(--ink);
  box-shadow: 0 25px 90px #1a2c2540;
  overflow: hidden;
}
#work-detail:not([open]) {
  display: none;
}
#work-detail[open] {
  display: flex;
  flex-direction: column;
}
.catalog-reader::backdrop {
  background: #20282255;
  backdrop-filter: blur(5px);
}
.book-in-flight {
  visibility: hidden;
}
.book-flight {
  display: none;
}
#work-detail.book-opening {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: none !important;
}
#work-detail.book-opening::backdrop {
  background: #e4e5dd66;
  backdrop-filter: blur(2px);
}
.book-opening > .catalog-reader-toolbar,
.book-opening > .catalog-reader-body,
.book-opening > .catalog-reader-footer {
  visibility: hidden;
  pointer-events: none;
}
.book-opening .book-flight {
  display: block;
  position: fixed;
  inset: 0;
}
#work-detail.book-handoff {
  background: rgb(251 251 248 / var(--reader-reveal));
  border-color: rgb(54 81 66 / var(--reader-reveal));
}
.book-handoff > .catalog-reader-toolbar,
.book-handoff > .catalog-reader-body,
.book-handoff > .catalog-reader-footer {
  visibility: visible;
  opacity: var(--reader-reveal);
}
.book-handoff .book-flight-skip {
  opacity: calc(1 - var(--reader-reveal));
}
.book-flight-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.book-flight-skip {
  position: absolute;
  z-index: 2;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: max(24px, env(safe-area-inset-right));
  background: #fafbf6;
  border-color: #ccd1c5;
  font-size: 13px;
  min-height: 44px;
}
.catalog-record.book-flight-placeholder {
  position: fixed;
  margin: 0;
  transform: none !important;
  pointer-events: none;
}
.catalog-reader-toolbar,
.catalog-reader-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.kf21-flyby {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  contain: strict;
}
.kf21-flyby[data-local="true"] {
  position: absolute;
}
.catalog-flyby-replay .pl-project-icon {
  width: 26px;
  height: 26px;
}
.catalog-flyby-replay[hidden],
body.reader .catalog-flyby-replay {
  display: none;
}
@media (prefers-reduced-motion: reduce), print {
  .kf21-flyby,
  .catalog-reader .catalog-flyby-replay {
    display: none;
  }
}
.catalog-reader-controls {
  display: flex;
  flex: none;
  gap: 8px;
}
.catalog-reader-controls > button {
  flex: none;
  white-space: nowrap;
}
@media (max-width: 360px) {
  .catalog-reader-toolbar > .catalog-meta > .pl-project-icon {
    display: none;
  }
}
.catalog-reader-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.catalog-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 24px;
}
.catalog-reader-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
  overflow-wrap: anywhere;
}
.catalog-reader-body h2 {
  font: 550 27px/1.3 var(--sans);
  text-wrap: pretty;
}
.catalog-reader-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}
.catalog-reader-summary {
  font-size: 17px;
  line-height: 1.6;
  margin-top: 24px;
}
.catalog-reader-summary:empty {
  display: none;
}
.catalog-contents {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 24px 0 0;
}
.catalog-contents a {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 4px;
  min-height: 30px;
  display: flex;
  align-items: center;
}
.catalog-contents a:hover {
  text-decoration: underline;
}
.catalog-opening {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.catalog-opening-index,
.catalog-opening-page {
  position: relative;
  min-width: 0;
  min-height: 560px;
  padding: 34px 40px 66px;
  background: #fbfbf8;
}
.catalog-opening-index {
  border-right: 1px solid #d8dcd4;
  box-shadow: inset -14px 0 18px -18px #333b33;
}
.catalog-opening-page {
  box-shadow: inset 12px 0 18px -19px #333b33;
}
.catalog-page-label {
  font-size: 11px;
  color: #606b64;
  margin-bottom: 38px;
}
.catalog-opening-name {
  font: normal 32px/1.25 var(--display);
}
.catalog-folio {
  position: absolute;
  bottom: 22px;
  left: 40px;
  right: 40px;
  text-align: center;
  font: 12px var(--sans);
  color: #606b64;
}
.catalog-chapters {
  max-width: 740px;
  padding: 12px 40px 48px;
  margin: auto;
}
.catalog-mobile-contents {
  display: none;
}
.catalog-reader-section {
  padding-top: 30px;
  scroll-margin-top: 24px;
}
.catalog-reader-section h3 {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 8px;
}
.catalog-reader-section p {
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
}
.catalog-reader-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.catalog-reader-actions a {
  font-size: 13px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.catalog-copy {
  font-size: 12px;
}
.reader .shelf-track {
  height: auto;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}
.reader .catalog-row {
  display: block;
  width: 100%;
}
.reader .catalog-record,
.reader .catalog-record[data-type] {
  width: 100%;
  height: auto;
  min-height: 48px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border-bottom: 1px solid var(--line);
  transform: none;
}
.reader .book-spine {
  flex-direction: row;
  border: 0;
  box-shadow: none;
  gap: 20px;
  padding: 14px 4px;
  background-image: none;
}
.reader .catalog-face-out {
  margin: 0;
}
.reader .pl-project-icon {
  display: none;
}
.reader .book-title,
.reader .catalog-record[data-type] .book-title {
  writing-mode: horizontal-tb;
  transform: none;
  height: auto;
  flex: 1;
  background: none;
  border: 0;
  font: 15px/1.5 var(--sans);
  padding: 0;
  margin: 0;
  text-align: left;
}
.reader .book-year {
  width: auto;
  border: 0;
}
.reader .shelf-controls,
.reader .shelf-caption {
  display: none;
}
.reader .shelf-viewport {
  border-bottom: 0;
  box-shadow: none;
}
@media (max-width: 760px) {
  .catalog-shell {
    width: calc(100% - 40px);
  }
  .catalog-intro {
    padding: 30px 0;
  }
  .catalog-intro h1 {
    font-size: 42px;
  }
  .catalog-statement {
    font-size: 19px;
    max-width: 360px;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .catalog-search {
    width: 100%;
  }
  .catalog-filter {
    font-size: 12px;
    padding: 8px 9px;
    gap: 6px;
  }
  .catalog-section-heading h2 {
    font-size: 19px;
  }
  .shelf-track {
    justify-content: flex-start;
    padding-inline: 10px;
    height: 292px;
  }
  .shelf-caption {
    font-size: 12px;
    gap: 12px;
    height: 74px;
    min-height: 74px;
  }
  .shelf-caption-type {
    min-width: 66px;
  }
  .catalog-cv-link {
    font-size: 22px;
  }
  .catalog-cv-entry {
    padding-block: 34px;
  }
  .catalog-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  #work-detail {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .catalog-reader-toolbar,
  .catalog-reader-footer {
    padding: 12px 20px;
  }
  .catalog-reader-footer {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .catalog-reader-body {
    padding: 0;
  }
  .catalog-opening {
    grid-template-columns: 1fr;
  }
  .catalog-opening-index {
    display: none;
  }
  .catalog-opening-page {
    padding: 28px 26px 66px;
    min-height: 480px;
    box-shadow: none;
  }
  .catalog-chapters {
    padding: 0 26px 38px;
  }
  .catalog-mobile-contents {
    display: block;
    padding: 18px 26px;
    border-bottom: 1px solid var(--line);
  }
  .catalog-mobile-contents summary {
    font-size: 14px;
    cursor: pointer;
    min-height: 28px;
  }
  .catalog-mobile-contents .catalog-contents a {
    min-height: 44px;
  }
  .catalog-reader-body h2 {
    font-size: 27px;
  }
  .catalog-reader-summary {
    font-size: 17px;
  }
  .catalog-reader-section p {
    font-size: 16px;
  }
  .catalog-contents {
    gap: 4px 14px;
  }
}
.catalog-reader-toolbar > .catalog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalog-reader-toolbar .pl-project-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
}
.catalog-reader-toolbar .pl-project-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.catalog-reader-toolbar .pl-project-icon__cutout {
  fill: var(--paper);
}
@media (max-width: 760px) {
  .catalog-intro {
    padding: 22px 0;
  }
  .catalog-intro > .catalog-eyebrow {
    display: none;
  }
  .catalog-intro h1 {
    margin-top: 0;
  }
  .catalog-statement {
    margin-top: 10px;
    line-height: 1.5;
  }
  .catalog-intro-meta {
    margin-top: 14px;
  }
  .catalog-intro-meta p {
    text-align: center;
    font-size: 12px;
  }
  .catalog-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }
  .catalog-filter {
    flex-direction: column;
    gap: 2px;
    padding: 6px 2px;
    line-height: 1.35;
  }
  .catalog-archive {
    padding-top: 20px;
  }
  .catalog-toolbar {
    margin-bottom: 0;
  }
}
@media print {
  #work-library,
  #work-detail {
    display: none !important;
  }
}
