/* Bridge Builder final imagery and depth pass. */
header, footer {
  background: linear-gradient(100deg, #0b203d 0%, #03070d 26%, #000 68%);
}
header { border-bottom: 1px solid #8caee82b; }
footer {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 20px;
  text-align: center;
  border-top: 1px solid #8caee830;
}
footer .original-brand { justify-self: center; align-items: center; width: 100%; margin: 0 auto; }
footer > div { justify-content: center; align-items: center; flex-wrap: wrap; width: 100%; }
footer p, footer small { text-align: center; }
footer .original-brand img { width: 250px; }
.hero { padding-bottom: 24px; column-gap: 5vw; }
.hero-art.original-art {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  align-self: center;
  overflow: hidden;
  opacity: 1;
  margin: 14px 0 24px;
  border-radius: 14px;
  border: 1px solid #c9d8ed44;
  background: #10223a;
  box-shadow: 12px 16px 0 -5px #34516f, 24px 30px 34px #000b, 0 0 30px #9abbdf20;
  transform: perspective(1200px) rotateY(-3deg);
}
.hero-art.original-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
.hero-art.original-art::after {
  background: linear-gradient(0deg, #071222d9 0%, transparent 25%);
}
.hero-art .art-caption { left: 24px; right: 18px; bottom: 22px; line-height: 1.6; }
.music-image, .home-portrait, .about-photo img {
  border-radius: 12px;
  box-shadow: 12px 18px 32px #0007;
}
.music-image img, .song-reader-launch img { border-radius: 12px; }
.book-stage img, .small-book-cover img {
  box-shadow: 7px 10px 17px #10203b45;
}
.catalog-preview-card img, .product-card img { box-shadow: 0 7px 15px #10203b18; }
.category-shelf .card-art img { height: 100%; filter: none; mix-blend-mode: normal; opacity: .94; }
.category-shelf .card-art::after { background: linear-gradient(0deg, #141c2940, transparent 55%); }
.song-directory-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 0 18px 22px;
  overflow: hidden;
  gap: 16px 12px;
}
.song-directory-art { grid-column: 1 / -1; display: block; margin: 0 -18px; }
.song-directory-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid #8caee82b;
}
.song-directory-card h3 { font-size: 25px; }
@media (max-width: 650px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); overflow: visible; padding: 26px 22px 30px; gap: 16px; }
  .hero-copy { padding-bottom: 16px; }
  .hero-art.original-art {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 12px);
    max-width: 420px;
    height: auto;
    margin: 12px auto 30px;
    opacity: 1;
    transform: none;
    box-shadow: 8px 12px 0 -3px #34516f, 15px 22px 26px #000b;
  }
  .hero-art.original-art img { height: auto; max-height: none; }
  .hero .song-library-hero { display: flex; justify-content: space-between; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .hero p { max-width: 100%; }
  footer > div { flex-direction: row; flex-wrap: wrap; }
  .music-image, .home-portrait { box-shadow: 7px 12px 24px #0006; }
  .song-directory { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art.original-art { transform: none; }
}

/* Supplied song covers remain uncropped in every song presentation. */
.song-directory-art { background: #000; }
.song-directory-art img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
.card-art:has(img[src*="/song-art/"]) {
  display: block;
  height: 290px;
  background: #000;
}
.card-art:has(img[src*="/song-art/"])::after { display: none; }
.card-art img[src*="/song-art/"] {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
.video-player.native-preview[data-song-poster] {
  position: relative;
  aspect-ratio: 4 / 5;
  height: auto;
  min-height: 0;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}
.video-player.native-preview[data-song-poster][data-playing="true"] { aspect-ratio: 16 / 9; }
.video-player.native-preview[data-song-poster] iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.song-video-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
  cursor: pointer;
}
.song-video-poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.song-video-play {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 24px);
  padding: 12px 18px;
  background: #080f1de8;
  border: 1px solid #8caee8;
  border-radius: 6px;
  font: 600 14px/1.4 Arial, sans-serif;
  white-space: nowrap;
}
.song-player-panel:has([data-song-poster]):not(:has([data-playing="true"])) { position: static; }
.song-page-art { max-width: 520px; margin: 24px 0 32px; background: #000; border-radius: 10px; overflow: hidden; }
.song-page-art img { display: block; width: 100%; height: auto; }
.featured-inline .song-reader-launch { background: #000; }
.featured-inline .song-reader-launch img { aspect-ratio: 4 / 5; object-fit: contain; filter: none; opacity: 1; }
@media(max-width:650px) {
  .song-video-play { font-size: 13px; padding: 10px 14px; }
  .card-art:has(img[src*="/song-art/"]) { height: 340px; }
}

.song-reader-launch:has(img[src*="/song-art/"]) {aspect-ratio:4/5;background:#000;}
.song-reader-launch img[src*="/song-art/"] {object-fit:contain;opacity:1;filter:none;mix-blend-mode:normal;}
