/* Blend the background artwork while keeping the tracklist and controls fully opaque. */
.river {
  --paper: #051d27;
  --scene-fade: clamp(4rem, 9vw, 10rem);
}
.album-scene, .listen-scene, .studio-scene {
  position: relative;
  isolation: isolate;
}
.album-scene::before, .listen-scene::before, .studio-scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--paper), #051d27a6 35%, #051d272e 75%, transparent) top / 100% var(--scene-fade) no-repeat,
    linear-gradient(to top, var(--paper), #051d27a6 35%, #051d272e 75%, transparent) bottom / 100% var(--scene-fade) no-repeat;
}
.river footer { border-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* The crescent sits close to the top edge of the original panorama. */
.river .opening {
  position: relative;
  isolation: isolate;
  background: #051d27;
  min-height: max(47vw, 39rem);
  display: flex;
  flex-direction: column;
}
.river header {
  justify-content: flex-start;
  gap: clamp(2rem, 6vw, 7rem);
  border-bottom-color: #efe4c72e;
}
.river header { padding-block: 1rem; }
.instrument-mark { width: 10.9rem; height: auto; display: block; }
.river nav a { padding-block: .7rem; text-decoration: none; }
.river nav a:is(:hover, :focus-visible, :active, .pressed) {
  color: #ffe0ab;
  text-decoration: underline solid #e7bd79 1px;
  text-underline-offset: .32em;
  text-decoration-skip-ink: none;
}
.river-scenery {
  mask-image: linear-gradient(to top, transparent, #0005 calc(var(--scene-fade) * .35), #000d calc(var(--scene-fade) * .75), black var(--scene-fade));
  container-type: size;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.river-panorama {
  position: absolute;
  width: max(100cqw, 200cqh);
  aspect-ratio: 2;
  left: 84%;
  transform: translateX(-84%);
  background: url(assets/river.webp) center / cover;
}
.river-scenery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #001621ad, transparent 70%),
              linear-gradient(0deg, #01141e7a, transparent 25%);
}
.river .hero { flex: 1; }
.river .service { --cut: #f7edda; }
.all-platforms {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .94rem;
  text-decoration-color: #f4eddf99;
}
.scene-wrap {
  width: min(100%, 105rem);
  margin-inline: auto;
  padding: clamp(3.8rem, 6vw, 7rem) var(--gutter);
}
.album-scene {
  background: linear-gradient(90deg, #071b2030, #041a1ede 84%),
              url(assets/ghat.webp) left center / cover no-repeat, #051d21;
}
.album-layout, .listen-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.4rem, 8vw, 9rem);
  align-items: center;
}
.sleeve-art {
  margin: 0;
  width: min(82%, 22rem);
  justify-self: center;
}
.sleeve-art img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 12px 35px #0010148c, 0 0 0 1px #f6dcaf51;
}
.sleeve-art figcaption {
  width: fit-content;
  margin-top: .9rem;
  background: #061a1bd4;
  border-radius: .14rem;
  padding: .1rem .45rem;
  font-size: .875rem;
  color: #f4ead9;
}
.album-notes { max-width: 45rem; }
.track-caption { color: #e3d8c5; margin-top: .65rem; }
.chant-list { list-style: none; margin: 1.45rem 0 0; padding: 0; }
.chant-list a {
  display: grid;
  grid-template-columns: 1.65rem 1fr auto 1rem;
  gap: .65rem;
  align-items: baseline;
  padding: .71rem .2rem;
  border-top: 1px solid #c4d0c34a;
  text-decoration: none;
}
.chant-list a:hover, .chant-list a:focus-visible { background: #f5e4b817; }
.chant-list .n, .duration { font-size: .875rem; font-variant-numeric: tabular-nums; }
.chant-list .n, .chant-list .play { color: #e9c488; }
.chant-list small { font-size: .875rem; color: #d7d9cf; display: inline-block; margin-left: .25rem; }
.track-intro { align-self: start; text-shadow: 0 1px 14px #061419; }
.listen-scene {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: radial-gradient(ellipse at 23% 52%, #74504366, transparent 39%),
              linear-gradient(120deg, #102d36, #061c25 70%);
}
.listen-layout { max-width: 86rem; }
.catalog { max-width: 39rem; }
.catalog h2 { margin-block: .65rem 1.6rem; }
.catalog .services { margin-top: .9rem; }
.catalog .service, .social-link {
  background: #08252aeb;
  color: var(--ink);
  --cut: #08252a;
  border: 1px solid #a5b4a77a;
}
.downloads { display: flex; align-items: center; gap: .95rem; flex-wrap: wrap; margin-top: .85rem; color: #ece3d1; font-size: .9rem; }
.downloads a { padding-block: .35rem; }
.studio-scene {
  background: linear-gradient(90deg, #05181df5 0%, #071c20d9 35%, #071c2055 62%, transparent 84%),
              url(assets/strings.webp) 70% center / cover no-repeat, #06191c;
}
.studio-copy { max-width: 35rem; }
.studio-copy h2 { font-size: clamp(3.1rem, 5.25vw, 5.8rem); margin: .7rem 0 1.5rem; }
.studio-copy h2 em { color: #f6ddb1; }
.studio-copy > p:not(.meta) { line-height: 1.67; margin-top: .95rem; }
.film-link, .social-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
}
.film-link { margin-block: 1rem .35rem; text-decoration: none; }
.film-link:hover { text-decoration: underline; }
.film-play {
  border: 1px solid #e9c48896;
  color: #f1d39c;
  display: grid;
  place-content: center;
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  font-size: .8rem;
}
.social-heading { color: #edcea0; font-size: .94rem; }
.socials { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .65rem; }
.social-link { border-radius: 2rem; padding: .45rem .95rem; font-size: .94rem; text-decoration: none; }
.social-link svg { width: 1.05rem; height: 1.05rem; }
@media (min-width: 651px) and (max-width: 950px) {
  .album-layout, .listen-layout { grid-template-columns: .55fr 1fr; gap: 2rem; }
  .sleeve-art { width: 92%; }
  .studio-copy { max-width: 56%; }
}
@media (max-width: 650px) {
  .river header { justify-content: space-between; gap: .6rem; background: #08232b; }
  .river header nav { gap: .9rem; }
  .instrument-mark { width: clamp(6.5rem, 33vw, 9rem); }
  .river .opening { min-height: 0; background: #051d27; }
  .river .opening { --photo-height: clamp(14rem, 67vw, 21rem); --masthead: 4.6rem; }
  .river header { min-height: var(--masthead); padding-block: .6rem; }
  .river-panorama { width: calc(2 * var(--photo-height)); left: 88%; top: var(--masthead); transform: translateX(-88%); }
  .river-scenery::after {
    top: var(--masthead);
    height: var(--photo-height);
    background: linear-gradient(0deg, #051d27, transparent 10%);
  }
  .river .hero { min-height: auto; padding-block: calc(var(--photo-height) + .1rem) 1.25rem; }
  .river .hero .services { margin-top: .9rem; }
  .river .hero .service { padding-inline: .65rem; }
  .album-layout, .listen-layout { display: block; }
  .track-intro { margin-bottom: 1.4rem; }
  .album-scene { background-position: 17% center; background-image: linear-gradient(180deg,#041b2070 0%,#041b20df 42%,#041b20e8 100%),url(assets/ghat.webp); }
  .scene-wrap { padding-block: 3.2rem; }
  .sleeve-art { display: flex; gap: 1rem; align-items: end; width: 100%; margin-bottom: 1.6rem; }
  .sleeve-art img { width: min(29vw, 8.5rem); }
  .sleeve-art figcaption { margin: 0; }
  .chant-list small { display: block; margin: 0; }
  .chant-list a { grid-template-columns: 1.4rem 1fr auto .85rem; gap: .55rem; }
  .studio-scene {
    background-position: center, 88% top;
    background-size: 100% 100%, auto 23rem;
    background-image: linear-gradient(180deg,#06191c00 3%,#06191c33 16%,#06191cee 39%,#06191c 52%),url(assets/strings.webp);
  }
  .studio-scene .scene-wrap { padding-top: 13rem; }
  .studio-copy h2 { margin-bottom: 1rem; }
}
@media (max-width: 370px) {
  .river header nav { gap: .55rem; }
  .river header { padding-inline: 1rem; }
  .river .hero .service { font-size: .8rem; padding-inline: .55rem; }
}
