/* Work library polish. The carousel geometry and its JS interactions live elsewhere. */
.work-library .section-intro {
  margin: 13px 0 11px;
  align-items: end;
}
.work-library .section-intro p {
  width: min(31%, 320px);
  max-width: 320px;
  color: #aebcda;
  line-height: 1.45;
}
.work-library .filter-bar {
  gap: 8px;
  margin: 9px 0 6px;
  padding-bottom: 8px;
}
.work-library .filter {
  border-radius: 999px;
  border-color: #27354f;
  padding: 8px 13px;
  background: #111b30;
  color: #c2cce0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: color .2s, border-color .2s, background-color .2s, box-shadow .2s;
}
.work-library .filter:hover {
  border-color: #84a7ff;
  background: #172b53;
  box-shadow: 0 0 15px #5184ff30;
}
.work-library .filter.is-active {
  border-color: #e8eeff;
  background: #f2f5ff;
  color: #101a31;
  box-shadow: 0 3px 14px #688aff24;
}
.work-library .filter-count { margin-left: 5px; opacity: .67; }

.work-library .filmstrip-toolbar {
  height: auto;
  min-height: 34px;
  margin: 14px 0 5px;
  padding-top: 9px;
  border-top: 1px solid #293e63;
}
.work-library .filmstrip-toolbar h3 {
  color: #b7c9e7;
  font: 700 10px/1.2 var(--body);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.work-library .filmstrip-toolbar .work-status {
  color: #91a7c9;
  font-size: 10px;
}
.work-library .filmstrip-shell {
  gap: 0;
  border: 1px solid #263c62;
  border-radius: 9px;
  background: linear-gradient(180deg,#0d1d39,#09152a);
  box-shadow: inset 0 1px #8daeff20,0 9px 24px #0005;
}
.work-library .filmstrip-play {
  flex: 0 0 38px;
  border-right: 1px solid #273e65;
  border-radius: 0;
  background: #102247;
  color: #d9e6ff;
  font-size: 12px;
}
.work-library .video-filmstrip {
  gap: 7px;
  padding: 6px 8px 8px;
  scrollbar-color: #507ff0 #142544;
}
.work-library .video-thumbnail {
  flex: 0 0 clamp(110px, 9.5vw, 145px);
  width: clamp(110px, 9.5vw, 145px);
}
.work-library .thumbnail-image {
  display: block;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #486189;
  border-radius: 5px;
  background: #091428;
}
.work-library .thumbnail-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.work-library .thumbnail-image .thumbnail-backdrop {
  position: absolute;
  z-index: 0;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  filter: blur(7px) brightness(.46) saturate(.8);
}
.work-library .thumbnail-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.work-library .thumbnail-duration {
  position: absolute;
  z-index: 2;
  right: 4px;
  bottom: 4px;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  padding: 2px 4px;
  border: 1px solid #d6e5ff31;
  border-radius: 3px;
  background: #050b16df;
  color: #f8fbff;
  font: 700 9px/1 var(--body);
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 2px 7px #0008;
}
.work-library .video-thumbnail[aria-pressed="true"] .thumbnail-image {
  border-color: #d3e0ff;
  box-shadow: 0 0 0 2px #397bff, 0 0 14px #2c73ff80;
}
.work-library .video-thumbnail:hover .thumbnail-image {
  border-color: #b2c9ff;
  box-shadow: 0 0 0 1px #628fff,0 0 12px #3879ff68;
}

@media (max-width: 760px) {
  .work-library .section-intro p { width: auto; max-width: 420px; }
  .work-library .filter-bar { margin-top: 13px; }
  .work-library .filter { padding: 8px 11px; font-size: 9px; }
  .work-library .filmstrip-toolbar { margin-top: 12px; }
  .work-library .filmstrip-play { flex-basis: 32px; }
  .work-library .video-filmstrip { gap: 6px; padding: 6px 7px 8px; }
  .work-library .video-thumbnail { flex-basis: 87px; width: 87px; }
  .work-library .thumbnail-duration { font-size: 8px; right: 3px; bottom: 3px; }
}

@media (max-width: 390px) {
  .work-library .filter { padding: 7px 9px; }
  .work-library .video-thumbnail { flex-basis: 82px; width: 82px; }
}
