/* Collection: an index of authored tools, with original schematic artwork. */
.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.project-grid .collection-card {
  background: #21252f;
  border: 1px solid #ffffff1c;
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
}
.project-grid .collection-card:hover,
.project-grid .collection-card:focus-within {
  background: #252934;
  border-color: #c7bfd063;
  box-shadow: none;
  transform: translateY(-3px);
}
.motion-enabled .project-grid .collection-card:hover {
  transform: translateY(-3px);
}
.project-grid .collection-card .project-art {
  height: 164px;
  background: #1c2029;
  border-bottom: 1px solid #ffffff1b;
}
.project-grid .collection-card .project-art::before,
.project-grid .collection-card .project-art::after {
  content: none;
}
.tool-study {
  display: block;
  width: 100%;
  height: 139px;
  color: var(--card-color, #c6b8e4);
  overflow: visible;
}
.study-drawing {
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.collection-card:hover .study-drawing,
.collection-card:focus-within .study-drawing {
  transform: translateY(-2px) scale(1.035);
}
.study-registration { stroke: #ffffff2c; stroke-width: 1; }
.study-drawing .study-muted { stroke-opacity: .37; }
.study-drawing .study-faint { stroke-opacity: .15; }
.study-drawing .study-solid { fill: currentColor; stroke: none; }
.study-drawing .study-selected { fill: currentColor; fill-opacity: .12; }
.study-drawing .study-panel { fill: #1c2029; }
.study-drawing .study-emphasis { stroke-width: 3; }
.study-caption {
  position: absolute;
  inset: auto 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  letter-spacing: 1.1px;
  line-height: 1.3;
  color: #a1a4b1;
}
.study-caption > span:last-child { color: var(--card-color); }
.project-grid .collection-card .project-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .25s;
}
.project-grid .collection-card .has-cover .project-cover { opacity: 1; }
.project-grid .collection-card .has-cover .tool-study,
.project-grid .collection-card .has-cover .study-caption { visibility: hidden; }
.project-grid .collection-card .card-body {
  padding: 22px 23px 0;
  gap: 0;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.card-index {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: .4px;
  line-height: 1.2;
  color: #9296a6;
}
.project-grid .collection-card .card-tag {
  display: block;
  margin: 0;
  color: var(--card-color);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1.35px;
}
.project-grid .collection-card h3 {
  max-width: 100%;
  min-height: 51px;
  color: #f1efe8;
  font-size: clamp(18px, 1.52vw, 21px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.55px;
  text-wrap: balance;
}
.project-grid .collection-card .card-description {
  color: #a6a9b7;
  font-size: 12px;
  line-height: 1.5;
  margin: 13px 0 24px;
}
.project-grid .collection-card a {
  padding: 14px 0;
  gap: 10px;
  border-top: 1px solid #ffffff17;
  color: #e8e4dc;
  font-size: 12px;
  font-weight: 550;
}
.project-grid .collection-card a .release-source {
  display: inline;
  margin-left: auto;
  color: #9196a7;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  letter-spacing: 1px;
}
.project-grid .collection-card a > span:last-child {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: var(--card-color);
  font-size: 20px;
  font-weight: 400;
}
.project-grid .collection-card a:focus-visible {
  outline: 2px solid #d2c3f1;
  outline-offset: 5px;
}
.catalog-toolbar {
  border-top: 1px solid #ffffff1b;
  padding-top: 21px;
  padding-bottom: 24px;
}
.catalog-toolbar .filters {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 7px;
}
.catalog-toolbar .filter {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #aeb1be;
  padding: 10px 13px;
  font-size: 12px;
}
.catalog-toolbar .filter:hover { color: #f1efe8; background: #ffffff07; }
.catalog-toolbar .filter[aria-pressed="true"] {
  background: #cec0e915;
  border-color: #cec0e938;
  color: #e5dcef;
  box-shadow: none;
}
.catalog-toolbar .filter > span { color: #cfbddf; border-color: #ffffff25; }
.catalog-toolbar .search {
  width: 265px;
  padding: 11px 14px;
  background: #1c2029;
  border: 1px solid #ffffff24;
  border-radius: 8px;
}
.catalog-toolbar .search:focus-within { border-color: #c5b5de; }
.catalog-toolbar .search input { color: #f1efe8; font-size: 12px; }
.catalog-toolbar .search input::placeholder { color: #a1a5b4; }
.catalog-toolbar .search svg { stroke: #aeb1be; }
.catalog-note { color: #a2a7b5; font-size: 11px; line-height: 1.75; }
.catalog-note > span { color: #c6b8e4; }
.project-grid .collection-card.reveal {
  transition: opacity .5s ease, translate .5s cubic-bezier(.2, .7, .2, 1),
    border-color .25s, background .25s, transform .3s;
}
@media (max-width: 980px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .project-grid .collection-card h3 { font-size: 21px; }
}
@media (max-width: 600px) {
  .project-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-grid .collection-card .project-art { height: 150px; }
  .tool-study { height: 127px; }
  .project-grid .collection-card h3 { font-size: 23px; min-height: 0; letter-spacing: -.65px; text-wrap: initial; }
  .project-grid .collection-card .card-body { padding: 21px 21px 0; }
  .project-grid .collection-card .card-description { margin-bottom: 22px; font-size: 13px; }
  .project-grid .collection-card a { font-size: 13px; }
  .catalog-toolbar { padding-top: 17px; gap: 14px; }
  .catalog-toolbar .filters { width: 100%; gap: 3px; }
  .catalog-toolbar .filter { padding: 9px 10px; font-size: 11px; gap: 7px; }
  .catalog-toolbar .search { width: 100%; padding: 13px 14px; }
  .catalog-note { margin-top: 19px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-grid .collection-card:hover,
  .project-grid .collection-card:focus-within,
  .motion-enabled .project-grid .collection-card:hover,
  .collection-card:hover .study-drawing,
  .collection-card:focus-within .study-drawing { transform: none; }
}
.motion-paused .project-grid .collection-card:hover,
.motion-paused .project-grid .collection-card:focus-within,
.motion-paused .collection-card:hover .study-drawing,
.motion-paused .collection-card:focus-within .study-drawing { transform: none; }
