.collection-note {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 25px);
  min-width: 0;
  border: 1px dashed #b7c1b6;
  border-radius: 3px;
  background: #f1f3ec;
  color: #39483e;
  padding: 18px clamp(16px, 3vw, 32px);
}
.work-index .work-cover {
  --leaf-width: 78%;
  --leaf-height: 76%;
  --front-x: -2.4cqw;
  --middle-x: 0.5cqw;
  --middle-y: -1cqw;
  --middle-angle: 1.6deg;
  --back-x: 3.6cqw;
  --back-y: -2.35cqw;
  --back-angle: 3.3deg;
  --fan-spread: 9cqw;
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  aspect-ratio: 1.92;
}
.work-index .cover-portrait,
.work-index .cover-mixed {
  aspect-ratio: 1.40;
  --leaf-width: 53%;
  --leaf-height: 92%;
  --front-fit: cover;
  --front-x: 0cqw;
  --middle-x: -13cqw;
  --back-x: 15cqw;
  --middle-angle: -3deg;
  --back-angle: 4deg;
  --fan-spread: 21cqw;
}
.work-index .cover-booth:has(input[value="1"]:checked) { --leaf-height: 60% }
.work-index .cover-booth:has(input[value="3"]:checked) {
  --leaf-width: 27%; --leaf-height: 84%;
}
.work-cover .cover-print {
  --x: var(--back-x); --y: var(--back-y); --angle: var(--back-angle);
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: var(--leaf-width); height: var(--leaf-height);
  margin: 0; padding: 3px 4px 4px 5px;
  border: 1px solid #c8c2b5; border-radius: 2px 4px 4px 2px;
  background: #fffdf6;
  box-shadow: 0 1px 0 #e8e2d5, 0 2px 0 #c9c1b4, 0 4px 7px #39332822;
  transform-origin: 30% 90%;
  transform: translate(calc(-50% + var(--x)),calc(-50% + var(--y))) rotate(var(--angle));
  transition: transform 220ms ease-out, width 220ms ease-out, height 220ms ease-out;
  cursor: pointer;
}
.cover-print:has(input:checked) + .cover-print,
.work-cover:has(.cover-print:last-child input:checked) .cover-print:first-child {
  --x: var(--middle-x); --y: var(--middle-y); --angle: var(--middle-angle);
  z-index: 2;
}
.work-cover .cover-print:has(input:checked) {
  --x: var(--front-x); --y: 1.6cqw; --angle: -0.65deg; z-index: 3;
}
.work-index .cover-print img {
  display: block; width: 100%; height: 100%; aspect-ratio: auto;
  object-fit: cover; object-position: 50% var(--subject-y, 50%);
  background: #f3f0e9; border-radius: 1px;
}
.work-index .cover-print:has(input:checked) img { object-fit: var(--front-fit, contain) }
/* Focal points on the phone captures: checkout, basket, level goal and pixel boards. */
.cover-portrait .cover-print:first-child { --subject-y: 52% }
.cover-portrait .cover-print:nth-child(2) { --subject-y: 37% }
.cover-portrait .cover-print:nth-child(3) { --subject-y: 42% }
.cover-mixed .cover-print:first-child { --subject-y: 0% }
.cover-mixed .cover-print:nth-child(2) { --subject-y: 9% }
.cover-print input {
  position: absolute; inset: 0; z-index: 1; opacity: 0;
  width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.cover-print:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px }
.work-cover:is([data-open],:has(input:focus-visible)) {
  --front-x: 0cqw;
  --middle-x: calc(0cqw - var(--fan-spread)); --middle-y: -1.3cqw; --middle-angle: -5deg;
  --back-x: var(--fan-spread); --back-y: -1.5cqw; --back-angle: 5deg;
}
@media (hover: hover) {
  .work-index .work-cover:hover {
    --front-x: 0cqw;
    --middle-x: calc(0cqw - var(--fan-spread)); --middle-y: -1.3cqw; --middle-angle: -5deg;
    --back-x: var(--fan-spread); --back-y: -1.5cqw; --back-angle: 5deg;
  }
}
.work-index .work-project-link { display: block; }
.work-project-link h3 { display: inline-block; }
.work-project-link h3::after {
  content: ""; display: inline-block; vertical-align: .14em;
  width: .32em; height: .32em; margin-left: .48em;
  border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg);
  color: var(--accent);
}
@media (max-width: 680px) {
  .work-index article { padding: 10px 0 15px; }
  .work-index article > .work-project-link { display: block; min-height: 0; }
  .work-index article h3 { margin-top: 3px }
}
@media (min-width: 600px) {
  .work-index { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .work-index article {
    display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0;
    padding: 0; border-top: 0;
  }
  .work-index .work-cover { width: 100%; align-self: center }
}
@media (min-width: 600px) and (max-width: 680px) {
  .work-index { gap: 18px 13px }
}
@media (prefers-reduced-motion: reduce) {
  .work-cover .cover-print { transition: none }
}
.personal-index > .collection-note { grid-column: 1 / -1; margin-top: 8px }
.history-case > .collection-note { margin: 32px 0 16px }
.collection-note strong { font-size: 16px; font-weight: 650; line-height: 1.45 }
.collection-note p { margin: 3px 0 0; font-size: 13px; line-height: 1.6; color: #536257 }
.collection-note-art { position: relative; display: block; width: 66px; height: 44px; flex: none; }
.collection-note-art::before, .collection-note-art i {
  position: absolute;
  display: block;
  width: 49px; height: 32px;
  border: 1px solid #a3b2a2; border-radius: 2px;
}
.collection-note-art::before { content: ""; left: 2px; top: 2px; transform: rotate(-7deg); background: #e0e6da }
.collection-note-art i {
  top: 8px; left: 11px; transform: rotate(3deg);
  background: linear-gradient(#c4cfbd,#c4cfbd) 6px 7px / 25px 2px no-repeat,
              linear-gradient(#d0d9ca,#d0d9ca) 6px 13px / 17px 2px no-repeat, #f5f6ee;
}
@media (max-width: 480px) {
  .collection-note { padding: 13px; gap: 10px }
  .collection-note-art { transform: scale(.84); transform-origin: center left; width: 57px }
}

