.library-site {
  --library-purple: #70558a;
  --library-plum: #302a36;
  --library-muted: #655c6c;
}
.library-site main > .library-page {
  width: 88%;
  max-width: 77.5rem;
  margin: 0 auto;
}
.library-page {
  color: var(--library-plum);
}
.library-page :is(h1, h2, h3) {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.library-page p {
  text-wrap: pretty;
}
.library-page .library-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--library-muted);
}
.library-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 3rem;
  padding: 0.75rem 1.4375rem;
  border: 1px solid #70558a;
  border-radius: 0.625rem;
  color: #fff !important;
  background: #70558a;
  font:
    600 0.875rem/1.5 Open Sans,
    Arial,
    sans-serif;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.library-primary:hover {
  background: #5c4176;
  transform: translateY(-2px);
}
.library-primary span {
  font-size: 1.25rem;
  line-height: 1;
}
.library-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.4375rem;
  border-bottom: 1px solid #ded5e6;
  color: #70558a !important;
  font-size: 0.875rem;
  font-weight: 600;
}
.library-inline-link:hover {
  border-color: #70558a;
}
.library-gallery {
  padding-top: 2.5rem;
  padding-bottom: 5.5rem;
}
.library-back,
.library-breadcrumb {
  color: #75677f !important;
  font-size: 0.75rem;
}
.library-gallery-header h1 {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  margin: 1rem 0 1.125rem;
}
.gallery-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 3rem;
  border-bottom: 1px solid #ded5e6;
  padding-bottom: 0.875rem;
}
.gallery-filters {
  display: flex;
  align-items: center;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
  gap: 1.75rem;
  padding: 0.25rem;
  scrollbar-color: #b9a4cb transparent;
}
.gallery-filters button {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 0;
  padding: 0.6875rem 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: #665672;
  cursor: pointer;
  transition: color 0.18s ease;
}
.gallery-filters button.active {
  color: #70548a;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 2px;
}
.gallery-search {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid #ded5e6;
  padding: 0.625rem 0.8125rem;
  border-radius: 0.5625rem;
  min-width: 13.125rem;
}
.gallery-search svg {
  width: 1.0625rem;
  height: 1.0625rem;
  flex: none;
  color: #70558a;
}
.gallery-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 1rem !important;
  color: #302a36;
}
.gallery-search:focus-within {
  outline: 2px solid #70558a;
  outline-offset: 0.1875rem;
}
.gallery-search input:focus-visible {
  outline: none !important;
}
.gallery-count {
  font-size: 0.6875rem;
  color: #75677f;
  margin: 1.25rem 0 1.625rem !important;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.25rem 1.75rem;
}
.video-card {
  min-width: 0;
  display: block;
}
.video-card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0.8125rem;
  background: #f1edf5;
  border: 1px solid #e5deeb;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.video-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.video-card:hover .video-card-image {
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.8125rem 1.75rem -0.875rem #70558a60;
}
.video-card:hover .video-card-image img {
  transform: scale(1.025);
}
.video-card-play {
  position: absolute;
  left: 50%;
  bottom: auto;
  background: #fff;
  color: #70558a;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.6875rem;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition:
    opacity 0.16s ease-out,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0.375rem 1.25rem #302a3638;
  pointer-events: none;
}
.video-duration {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  background: #302a36e6;
  color: #fff;
  font-size: 0.625rem;
  line-height: 1;
  padding: 0.375rem 0.5rem;
  border-radius: 0.3125rem;
  font-variant-numeric: tabular-nums;
}
.video-card-brand {
  margin: 1.1875rem 0 0.6875rem;
  height: 2rem;
  display: flex;
  align-items: center;
}
.video-card-brand .product-logo {
  height: 2rem !important;
}
.video-card-brand .product-logo img {
  max-height: 1.875rem;
}
.video-card-brand .logo-voce img {
  max-height: 2.25rem;
}
.video-card h2 {
  font-size: 1.5rem;
  line-height: 1.18;
  margin-bottom: 0.625rem;
}
.video-card > p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #756a7c;
}
.gallery-empty {
  padding: 5.3125rem 0 6.875rem;
  text-align: center;
}
.gallery-empty h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.gallery-empty p {
  color: #756a7c;
  margin-bottom: 1.5rem;
}
.library-watch {
  padding: 2rem 0 5rem;
}
.library-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.library-breadcrumb a:hover {
  color: #70558a;
  text-decoration: underline;
}
.watch-heading {
  padding: 1.75rem 0 2rem;
}
.watch-heading h1 {
  font-size: clamp(2rem, 3.3vw, 2.875rem);
  margin: 1.125rem 0 0.75rem;
  max-width: 30ch;
  line-height: 1.12;
  text-wrap: balance;
}
.watch-heading > p {
  color: #655c6c;
  font-size: 0.8125rem;
}
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18.125rem;
  gap: 2rem;
  align-items: start;
}
.watch-main {
  min-width: 0;
}
.hxt-video-player {
  background: #302639;
  color: #fff;
  border-radius: 0.8125rem;
  overflow: visible;
  width: 100%;
  position: relative;
}
.video-screen {
  position: relative;
  aspect-ratio: 16/9;
  background: #18131c;
  border-radius: 0.8125rem 0.8125rem 0 0;
  overflow: hidden;
}
.video-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.video-screen video::cue {
  background: #18131cdd;
  color: #fff;
  font:
    1rem/1.4 Open Sans,
    Arial,
    sans-serif;
}
.video-surface-toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.hxt-video-player .video-surface-toggle:focus-visible {
  outline-offset: -0.25rem;
}
.video-start-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8.375rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid #ffffff60;
  border-radius: 6.25rem;
  background: #302639e8;
  color: #fff;
  box-shadow: 0 0.1875rem 1.25rem #302a3633;
  font-size: 0.75rem !important;
  transition:
    background 0.2s,
    transform 0.2s;
}
.video-surface-toggle:hover .video-start-button {
  background: #70558a;
  transform: scale(1.04);
}
.video-controls {
  padding: 0.1875rem 0.75rem 0.5rem;
  border-radius: 0 0 0.8125rem 0.8125rem;
}
.video-status {
  margin: 0;
  padding: 0.25rem 1rem 0.75rem;
  font-size: 0.75rem;
  color: #f8f5fb;
}
.video-seek {
  display: flex;
  align-items: center;
  height: 1.75rem;
  position: relative;
}
.video-seek input {
  appearance: none;
  cursor: pointer;
  width: 100%;
  height: 1.75rem;
  border-radius: 0.5rem;
  margin: 0;
  background: transparent;
  position: relative;
}
.video-seek input::-webkit-slider-thumb {
  appearance: none;
  width: 0.6875rem;
  height: 0.6875rem;
  border-radius: 50%;
  background: #e4d8ef;
}
.video-seek input::-moz-range-thumb {
  width: 0.6875rem;
  height: 0.6875rem;
  border: 0;
  border-radius: 50%;
  background: #e4d8ef;
}
.video-control-row {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 2.75rem;
}
.media-button {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.5rem;
  color: #f8f5fb;
  background: transparent;
  flex: none;
  padding: 0;
  cursor: pointer;
}
.media-button:disabled {
  opacity: 0.45;
  cursor: default;
}
.media-button:hover:not(:disabled),
.media-button.enabled {
  background: #ffffff1a;
}
.media-button.enabled {
  color: #f1dcff;
  background: #ffffff1a;
  box-shadow: inset 0 -2px #c8b4dd;
}
.media-button svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  flex: none;
}
.video-clock {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  margin-left: 0.5rem;
  white-space: nowrap;
}
.video-clock > span {
  opacity: 0.8;
}
.video-control-spacer {
  flex: 1;
}
.video-volume {
  display: flex;
  align-items: center;
}
.video-volume input {
  width: 2.875rem;
  accent-color: #c8b4dd;
  height: 0.1875rem;
  cursor: pointer;
}
.video-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.125rem;
  padding: 1.25rem;
  text-align: center;
  background: #302639e8;
  font-size: 0.875rem;
}
.video-error button {
  border: 1px solid #b8a3c8;
  padding: 0.5rem 1.125rem;
  border-radius: 0.5rem;
  background: transparent;
  color: #fff;
}
.video-waiting {
  pointer-events: none;
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  padding: 0.375rem 0.75rem;
  background: #302639e6;
  border-radius: 0.5rem;
  font-size: 0.75rem;
}
.hxt-video-player:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0;
  background: #151019;
}
.hxt-video-player:fullscreen .video-screen {
  flex: 1;
  aspect-ratio: auto;
  min-height: 0;
}
.hxt-video-player:fullscreen .video-controls {
  flex: none;
}
.hxt-video-player:fullscreen .video-control-row {
  min-height: 3rem;
}
.hxt-video-player :focus-visible {
  outline-color: #dfc8f2 !important;
}
.watch-tabs {
  display: flex;
  gap: 1.75rem;
  border-bottom: 1px solid #e5deeb;
  margin-top: 1.375rem;
}
.watch-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.875rem 0;
  background: transparent;
  color: #756a7c;
  font-size: 0.875rem !important;
  min-height: 3rem;
}
.watch-tabs button.active {
  color: #70558a;
  font-weight: 600;
  border-color: #70558a;
}
.watch-overview {
  padding: 1.5rem 0 0;
}
.watch-overview > p {
  color: #655c6c;
  font-size: 0.9375rem;
  max-width: 66ch;
  line-height: 1.8;
}
.watch-overview h2 {
  font-size: 1.5rem;
  margin: 1.75rem 0 0.75rem;
}
.video-chapters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 1.5rem;
}
.video-chapters button {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.125rem;
  padding: 0.875rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  font-size: 0.875rem !important;
  border-bottom: 1px solid #e5deeb;
  min-height: 3.25rem;
}
.video-chapters button:hover {
  background: #f8f5fb;
}
.video-chapters button span:first-child {
  width: 2.75rem;
  color: #75677f;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.video-chapters button span:last-child {
  margin-left: auto;
  color: #70558a;
}
.watch-related {
  border-left: 0;
  padding-left: 0;
}
.related-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  padding: 0 0 1.125rem;
}
.related-title h2 {
  font-size: 1.5625rem;
}
.related-title a {
  font-size: 0.75rem;
  color: #70558a;
  white-space: nowrap;
  padding: 0.5rem 0;
}
.related-video {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.875rem;
  margin-bottom: 1.25rem;
  align-items: start;
}
.related-video > div {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #f3eef7;
  border: 1px solid #e5deeb;
}
.related-video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-video > div > span {
  position: absolute;
  bottom: 0.1875rem;
  right: 0.1875rem;
  padding: 1px 0.1875rem;
  border-radius: 2px;
  background: #302a36d9;
  color: #fff;
  font-size: 0.5625rem;
  font-variant-numeric: tabular-nums;
}
.related-video small {
  display: block;
  color: #75677f;
  font-size: 0.6875rem;
  margin-bottom: 0.25rem;
}
.related-video strong {
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 500;
  display: block;
}
.related-video:hover strong {
  color: #70558a;
  text-decoration: underline;
}
.watch-transcript {
  padding-top: 1.5rem;
}
.transcript-hint {
  font-size: 0.6875rem;
  color: #75677f;
  margin: 0.8125rem 0 1.25rem !important;
}
.transcript-passages {
  max-height: 28.75rem;
  overflow: auto;
  scrollbar-width: thin;
  padding-right: 0.625rem;
}
.transcript-passages button {
  display: grid;
  grid-template-columns: 2.625rem 1fr;
  gap: 0.9375rem;
  width: 100%;
  border: 0;
  border-radius: 0.4375rem;
  padding: 0.875rem 0.625rem;
  text-align: left;
  background: transparent;
  font-size: 0.875rem !important;
  color: #655c6c;
  line-height: 1.7;
}
.transcript-passages button time {
  color: #75677f;
  font-size: 0.75rem;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.transcript-passages button:hover,
.transcript-passages button.current {
  background: #f5f0f9;
  color: #70558a;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.library-site {
  -webkit-font-smoothing: antialiased;
}
html body .library-site .hxt-header .portfolio-nav > .nav-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  border-radius: 0.6875rem;
  background: #70548a;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}
html body .library-site .hxt-header .portfolio-nav > .nav-contact-cta:hover {
  background: #5d4276;
}
html body .library-site .hxt-header :is(.nav-group summary, .nav-direct) {
  font-size: 0.875rem;
}
.library-page ::selection {
  color: #302a36;
  background: #e8dcf1;
}
.library-page input {
  caret-color: #70558a;
}
.library-page input::placeholder {
  color: #75677f;
  opacity: 1;
}
.library-page :is(a, button) {
  -webkit-tap-highlight-color: transparent;
}
.library-gallery-header h1 {
  margin-top: 2.25rem;
}
.gallery-tools {
  margin-top: 2rem;
}
.gallery-search {
  flex: 1 1 13.125rem;
  max-width: 20rem;
}
.video-seek input::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    #c8b4dd 0 var(--played),
    #6d6174 var(--played) 100%
  );
  height: 0.1875rem;
  border-radius: 0.5rem;
}
.video-seek input::-webkit-slider-thumb {
  margin-top: -0.25rem;
}
.video-seek input::-moz-range-track {
  background: #6d6174;
  height: 0.1875rem;
}
.video-seek input::-moz-range-progress {
  background: #c8b4dd;
  height: 0.1875rem;
}
.transcript-passages {
  scrollbar-color: #b8a3c8 #f8f5fb;
}
.transcript-passages button span {
  overflow-wrap: anywhere;
}
.video-card:is(:hover, :focus-visible) .video-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.video-card-play svg {
  display: block;
  transform: translate(1.5px);
}
.video-speed {
  position: relative;
  flex: none;
}
.speed-trigger {
  width: 3.875rem;
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.speed-trigger svg {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0.8;
}
.speed-trigger[aria-expanded="true"] {
  background: #ffffff1a;
}
.speed-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: 11.5rem;
  padding: 0.5rem;
  max-height: min(20rem, 60svh);
  overflow-y: auto;
  border-radius: 0.75rem;
  background: #fff;
  color: #302a36;
  box-shadow: 0 0.75rem 2.25rem #18131c55;
  z-index: 20;
  scrollbar-width: thin;
  scrollbar-color: #b8a3c8 #f8f5fb;
}
.speed-menu-title {
  display: block;
  padding: 0.5rem 0.625rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #655c6c;
}
.speed-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.625rem;
  min-height: 2.5rem;
  border: 0;
  border-radius: 0.4375rem;
  background: transparent;
  color: #302a36;
  font-size: 0.8125rem;
  text-align: left;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.speed-menu button:is(:hover, :focus-visible),
.speed-menu button[aria-checked="true"] {
  background: #f0eaf5;
  color: #5c4176;
}
.speed-menu button svg {
  width: 1.0625rem;
  height: 1.0625rem;
}
.hxt-video-player .speed-menu :focus-visible {
  outline-color: #70558a !important;
  outline-offset: -2px !important;
}
.gallery-filters button:hover {
  color: #8b36c2;
  text-shadow: 0 0 0.5px currentColor;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 2px;
}
.gallery-filters button:focus-visible {
  outline: 2px solid #70548a;
  outline-offset: 0.1875rem;
}
.library-primary > svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}
@media (max-width: 1100px) {
  .gallery-tools {
    gap: 1rem;
  }
  .gallery-filters {
    gap: 1.75rem;
  }
  .watch-layout {
    grid-template-columns: minmax(0, 1fr) 15.625rem;
    gap: 1.5rem;
  }
  .watch-related {
    padding-left: 0;
  }
  .related-video {
    grid-template-columns: 5.375rem minmax(0, 1fr);
    gap: 0.625rem;
  }
  .video-volume input {
    display: none;
  }
}
@media (max-width: 850px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-search {
    min-width: 11.875rem;
  }
  .watch-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .watch-related {
    border-left: 0;
    border-top: 1px solid #e5deeb;
    padding: 1.875rem 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.625rem;
  }
  .related-title,
  .related-video {
    grid-template-columns: 6.25rem 1fr;
  }
  .related-video strong {
    font-size: 0.8125rem;
  }
  .related-title {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .library-page .library-lead {
    font-size: 1rem;
  }
  .library-gallery {
    padding-top: 1.625rem;
    padding-bottom: 3.75rem;
  }
  .library-gallery-header h1 {
    font-size: 2.75rem;
  }
  .gallery-tools {
    margin-top: 2rem;
    align-items: stretch;
  }
  .gallery-filters {
    width: 100%;
    order: 1;
    gap: 1.75rem;
  }
  .gallery-search {
    width: 100%;
    min-height: 2.875rem;
  }
  .gallery-search input {
    font-size: 1rem !important;
  }
  .gallery-filters button {
    font-size: 0.875rem !important !important;
    min-height: 2.75rem;
  }
  .gallery-count {
    font-size: 0.625rem;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .video-card h2 {
    font-size: 1.625rem;
  }
  .video-card > p {
    font-size: 0.875rem;
  }
  .library-watch {
    padding-top: 1.5rem;
  }
  .watch-heading {
    padding: 1.5rem 0;
  }
  .watch-heading h1 {
    font-size: 2.0625rem;
    text-wrap: balance;
  }
  .watch-layout {
    gap: 2.1875rem;
  }
  .video-controls {
    padding: 0.25rem 0.4375rem 0.4375rem;
  }
  .video-control-row {
    gap: 0;
    flex-wrap: nowrap;
  }
  .media-button {
    width: 2.375rem;
    height: 2.75rem;
  }
  .video-clock {
    margin-left: 2px;
    font-size: 0.6875rem;
  }
  .video-volume,
  .pip-control,
  .skip-control {
    display: none;
  }
  .video-control-spacer {
    min-width: 0.25rem;
  }
  .video-start-button {
    min-height: 2.75rem;
  }
  .video-chapters {
    gap: 0;
  }
  .video-chapters button {
    padding: 0.875rem 0;
    font-size: 0.875rem !important;
  }
  .watch-related {
    display: block;
  }
  .related-video {
    grid-template-columns: 6.875rem 1fr;
    gap: 1rem;
  }
  .related-video small {
    font-size: 0.625rem;
  }
  .related-video strong {
    font-size: 0.875rem;
  }
  .speed-trigger {
    width: 3.5rem;
  }
  .speed-menu button {
    min-height: 2.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .library-page *,
  .library-page *:before,
  .library-page *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 700px) {
  .gallery-search {
    max-width: none;
  }
  .media-button {
    width: 2.375rem;
    height: 2.75rem;
  }
  .video-clock {
    font-size: 0.6875rem;
    margin-left: 2px;
  }
  .video-control-row {
    flex-wrap: nowrap;
  }
  .video-chapters {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .watch-heading {
    padding: 1.5rem 0;
  }
  .watch-heading h1 {
    font-size: 2.0625rem;
    text-wrap: balance;
  }
  .speed-trigger {
    width: 3.5rem;
  }
  .speed-menu button {
    min-height: 2.75rem;
  }
  .video-chapters button {
    padding: 0.875rem 0;
    font-size: 0.875rem !important;
  }
}
.photo-library {
  padding: 4rem 0 4.375rem;
  text-align: center;
}
.photo-library h1 {
  font-size: clamp(2.875rem, 5.2vw, 4.75rem);
  margin: 1rem 0 1.25rem;
  text-align: center;
}
.photo-stage {
  position: relative;
  margin-top: 2.8125rem;
  isolation: isolate;
}
.photo-stage:before {
  content: "";
  position: absolute;
  inset: 6.875rem -2.5rem 0;
  z-index: -1;
  background-image:
    linear-gradient(#70558a10 1px, transparent 1px),
    linear-gradient(90deg, #70558a10 1px, transparent 1px);
  background-size: 3rem 3rem;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 5%,
    #000,
    transparent
  );
  mask-image: radial-gradient(ellipse 70% 70% at 50% 5%, #000, transparent);
  pointer-events: none;
}
.photo-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 50rem;
  height: 20.3125rem;
  margin: 0 auto;
  padding-top: 0.75rem;
}
.photo-slot {
  position: relative;
  display: block;
  height: 16.25rem;
  min-width: 0;
  transform: translateY(var(--drop));
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.photo-arrival {
  position: absolute;
  display: block;
  left: calc(50% - 6.875rem);
  width: 13.75rem;
  height: 13.75rem;
  z-index: var(--layer);
  pointer-events: none;
}
.photo-drag {
  display: block;
  width: 100%;
  height: 100%;
}
.photo-surface {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.625rem;
  border-radius: 0.9375rem;
  background: #fff;
  box-shadow:
    0 0.75rem 1.5rem -0.5rem #302a3638,
    0 2px 0.3125rem #302a3618;
  transform: rotate(var(--tilt));
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-surface > img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  flex: none;
  object-fit: cover;
  border-radius: 0.5rem;
  -webkit-user-drag: none;
}
.photo-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0.8125rem 0.3125rem 0;
  gap: 0.4375rem;
}
.photo-info .product-logo {
  height: 2.0625rem !important;
}
.photo-info .product-logo img {
  width: auto !important;
  height: 2.0625rem !important;
  max-height: none !important;
  max-width: 9.0625rem !important;
}
.photo-info :is(.logo-e1, .logo-eidm) img {
  height: 1.375rem !important;
}
.photo-info strong {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #655c6c;
  font-weight: 500;
}
.photo-duration {
  position: absolute;
  top: 5.625rem;
  right: 1.0625rem;
  background: #302a36dd;
  color: #fff;
  font-size: 0.625rem;
  line-height: 1;
  border-radius: 0.25rem;
  padding: 0.3125rem 0.375rem;
  font-variant-numeric: tabular-nums;
}
.photo-slot:focus-visible {
  outline: none !important;
}
.photo-slot:focus-visible .photo-arrival {
  z-index: 61;
}
.photo-slot:focus-visible .photo-surface {
  transform: rotate(0) translateY(-0.5rem);
  transition: none;
  outline: 2px solid #70558a;
  outline-offset: 0.375rem;
}
@media (hover: hover) and (pointer: fine) {
  .photo-slot {
    cursor: grab;
  }
  .photo-slot:active {
    cursor: grabbing;
  }
  .photo-slot.is-active .photo-surface {
    transform: rotate(0) translateY(-0.5625rem) scale(1.08);
  }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .photo-row {
    width: 37.5rem;
  }
  .photo-arrival {
    width: 11.875rem;
    height: 13rem;
    left: calc(50% - 5.9375rem);
  }
  .photo-duration {
    top: 4.5625rem;
  }
  .photo-info strong {
    font-size: 0.625rem;
  }
}
@media (max-width: 700px) {
  .photo-library {
    padding: 2.5rem 0 3.125rem;
  }
  .photo-library h1 {
    font-size: 2.875rem;
    max-width: 12ch;
    margin: 1rem auto 1.25rem;
  }
  .photo-library h1 em {
    display: block;
  }
  .photo-stage {
    margin: 1.75rem -0.5rem 0;
  }
  .photo-stage:before {
    display: none;
  }
  .photo-row {
    --photo-card-width: clamp(6.5rem, 33vw, 11.25rem);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: calc(100% - var(--photo-card-width) + 2.75rem);
    height: clamp(11.875rem, 56vw, 18.125rem);
    gap: 0;
    padding: 0.75rem 0 0;
    overflow: visible;
  }
  .photo-slot {
    height: 100%;
    transform: translateY(calc(var(--drop) * 0.55));
  }
  .photo-arrival {
    width: var(--photo-card-width);
    height: calc(var(--photo-card-width) * 1.18);
    left: calc(50% - var(--photo-card-width) / 2);
  }
  .photo-surface {
    padding: 0.375rem;
    border-radius: 0.625rem;
  }
  .photo-surface > img {
    border-radius: 0.3125rem;
  }
  .photo-info {
    padding: 0.5rem 2px 0;
    gap: 0.375rem;
  }
  .photo-info .product-logo {
    height: 1.625rem !important;
  }
  .photo-info .product-logo img {
    height: 1.625rem !important;
    max-width: calc(var(--photo-card-width) - 1.25rem) !important;
  }
  .photo-info :is(.logo-e1, .logo-eidm) img {
    height: 1.125rem !important;
  }
  .photo-info strong {
    font-size: 0.5625rem;
    line-height: 1.4;
  }
  .photo-duration {
    top: calc((var(--photo-card-width) - 0.75rem) * 9 / 16 - 0.75rem);
    right: 0.625rem;
    padding: 0.1875rem 0.25rem;
    font-size: 0.5rem;
  }
  .photo-library > .library-primary {
    margin-top: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-surface {
    transition: none;
  }
}
