:root {
  color-scheme: dark;
  --af-bg: #180f11;
  --af-bg-soft: #24191a;
  --af-bg-raised: #302322;
  --af-ink: #ecede6;
  --af-site-canvas: #ecede6;
  --af-site-ink: #180f11;
  --af-muted: #c2c9b1;
  --af-dim: #9aa57d;
  --af-line: rgba(236, 237, 230, 0.16);
  --af-line-strong: rgba(236, 237, 230, 0.28);
  --af-gold: #9aa57d;
  --af-teal: #c2c9b1;
  --af-coral: #e64336;
  --af-velvet-scarf: #e2dbfc;
  --af-motion-fast: 360ms;
  --af-motion-medium: 620ms;
  --af-motion-slow: 860ms;
  --af-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --af-card-ease: var(--af-motion-ease);
  --af-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --af-radius: 2px;
  --af-page-pad: clamp(1rem, 4vw, 4rem);
  --af-ease: var(--af-motion-ease);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--af-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(24, 15, 17, 0.94), rgba(24, 15, 17, 1) 38%, rgba(24, 15, 17, 0.98) 100%),
    var(--af-site-canvas);
  color: var(--af-ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

html.af-modal-open,
body.af-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.af-app {
  min-height: 100vh;
  overflow: clip;
}

.af-main {
  min-height: 100vh;
}

.af-hero {
  --hero-overlay-tail: clamp(5.5rem, 12vw, 9rem);
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(30rem, 68vh, 44rem);
  padding: clamp(3rem, 7vw, 5rem) var(--af-page-pad) clamp(3rem, 5vw, 5rem);
}

.af-hero::before,
.af-hero::after {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
}

.af-hero::before {
  z-index: 0;
  background: var(--hero-image) center right / cover no-repeat;
  transform: scale(1.015);
}

.af-hero::after {
  z-index: 1;
  bottom: calc(0px - var(--hero-overlay-tail));
  background:
    linear-gradient(90deg, rgba(24, 15, 17, 0.98) 0%, rgba(24, 15, 17, 0.8) 38%, rgba(24, 15, 17, 0.16) 74%),
    linear-gradient(0deg, #180f11 0%, rgba(24, 15, 17, 0.96) 18%, rgba(24, 15, 17, 0.58) 46%, rgba(24, 15, 17, 0) 72%),
    linear-gradient(180deg, rgba(24, 15, 17, 0.5), rgba(24, 15, 17, 0.08) 24%);
}

.af-hero__content {
  position: relative;
  z-index: 10;
  width: min(40rem, 100%);
  transform: translateY(10px);
  opacity: 0;
  animation: af-hero-in var(--af-motion-slow) var(--af-motion-ease) 120ms forwards;
}

.af-hero__brand {
  --hero-logo-inset: clamp(1rem, 2.2vw, 2rem);

  position: absolute;
  z-index: 20;
  top: var(--hero-logo-inset);
  left: var(--hero-logo-inset);
  width: clamp(12rem, 24vw, 18rem);
  max-width: calc(100% - (2 * var(--af-page-pad)));
  pointer-events: none;
}

.af-hero__brand-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.af-hero__content--carousel {
  opacity: 1;
  transform: none;
  animation: none;
}

.af-hero__slide-copy {
  opacity: 0;
  transform: translateY(12px);
  animation: af-hero-slide-in var(--af-motion-slow) var(--af-motion-ease) 80ms forwards;
}

.af-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  color: var(--af-gold);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.af-kicker::before {
  content: "";
  width: 0.56rem;
  aspect-ratio: 1;
  border-radius: 0;
  background: currentColor;
  box-shadow: 0 0 24px currentColor;
}

.af-hero__title {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.8rem, 7.1vw, 5.9rem);
  line-height: 0.96;
  font-weight: 400;
}

.af-hero__subtitle {
  max-width: 34rem;
  margin: 0.9rem 0 0;
  color: rgba(236, 237, 230, 0.86);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.35;
  font-weight: 400;
}

.af-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin: 1.1rem 0 0;
  color: rgba(236, 237, 230, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.af-hero__description {
  max-width: 38rem;
  margin: 1.35rem 0 0;
  color: rgba(236, 237, 230, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
}

.af-hero__actions,
.af-modal__actions {
  position: relative;
  z-index: 11;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.af-hero__actions .af-button {
  position: relative;
  z-index: 12;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.af-hero--state {
  min-height: 28rem;
}

.af-button,
.af-icon-button {
  appearance: none;
  border: 0;
  color: var(--af-ink);
  font: inherit;
  cursor: pointer;
}

.af-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0 1.2rem;
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  transition:
    transform var(--af-motion-fast) var(--af-motion-ease),
    background var(--af-motion-fast) ease,
    border-color var(--af-motion-fast) ease,
    color var(--af-motion-fast) ease;
}

.af-button svg,
.af-icon-button svg,
.af-media-card__play svg {
  width: 1.08rem;
  height: 1.08rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.af-button--primary {
  background: var(--af-dim);
  color: var(--af-site-ink);
}

.af-button--accent {
  background: rgba(154, 165, 125, 0.18);
  color: var(--af-muted);
  border: 1px solid rgba(194, 201, 177, 0.38);
}

.af-button--secondary {
  background: rgba(236, 237, 230, 0.06);
  border: 1px solid var(--af-line);
}

.af-button:hover {
  transform: translateY(-1px);
}

.af-button:disabled {
  cursor: default;
  opacity: 0.62;
}

.af-button:disabled:hover {
  transform: none;
}

.af-button:active {
  transform: translateY(0) scale(0.98);
}

.af-browse {
  --browse-hero-fade: clamp(5.5rem, 12vw, 9rem);
  position: relative;
  z-index: 5;
  margin-top: -1rem;
  padding: 0 var(--af-page-pad) 5rem;
}

.af-browse::before {
  position: absolute;
  z-index: -1;
  content: "";
  top: calc(0px - var(--browse-hero-fade));
  right: 0;
  left: 0;
  height: calc(var(--browse-hero-fade) + 3rem);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 15, 17, 0) 0%, rgba(24, 15, 17, 0.88) 42%, #180f11 100%);
}

.af-shelf-stack,
.af-audio-region,
.af-extra-shelves {
  display: grid;
  gap: clamp(1.9rem, 4vw, 3.1rem);
}

.af-extra-shelves {
  max-height: 600rem;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition:
    max-height var(--af-motion-medium) var(--af-motion-ease),
    opacity var(--af-motion-medium) ease,
    transform var(--af-motion-medium) var(--af-motion-ease);
}

.af-extra-shelves.is-collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.45rem);
}

.af-audio-region {
  position: relative;
  margin-top: clamp(2.6rem, 6vw, 5rem);
  margin-inline: calc(var(--af-page-pad) * -1);
  padding: clamp(2rem, 5vw, 4rem) var(--af-page-pad);
  overflow: clip;
  background: linear-gradient(180deg, rgba(236, 237, 230, 0.98) 0%, rgba(213, 219, 199, 0.96) 52%, rgba(194, 201, 177, 0.92) 100%);
  background-color: var(--af-site-canvas);
  border-block: 1px solid rgba(24, 15, 17, 0.16);
  box-shadow: inset 0 1px 0 rgba(24, 15, 17, 0.05);
}

.af-audio-region::before {
  content: none;
}

.af-audio-region > .af-shelf {
  position: relative;
}

.af-audio-region__header {
  position: relative;
  display: grid;
  gap: 0.35rem;
}

.af-audio-region__header .af-kicker {
  margin: 0;
  color: var(--af-site-ink);
}

.af-audio-region__title {
  margin: 0;
  color: var(--af-site-ink);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 400;
  line-height: 1.05;
}

.af-playlist-filter {
  display: grid;
  justify-items: center;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  min-width: 0;
  width: min(100%, calc(100vw - (var(--af-page-pad) * 2)));
  max-width: 96rem;
  margin: clamp(0.2rem, 1.2vw, 0.9rem) auto clamp(0.4rem, 1.4vw, 1.1rem);
  padding-block: clamp(0.55rem, 1.6vw, 1.15rem);
  text-align: center;
}

.af-playlist-filter__copy {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.af-playlist-filter__heading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 0;
}

.af-playlist-filter__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.04;
}

.af-playlist-filter__toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 2rem;
  padding: 0.18rem 0.62rem;
  border: 1px solid rgba(236, 237, 230, 0.16);
  border-radius: 999px;
  color: rgba(236, 237, 230, 0.72);
  background: rgba(236, 237, 230, 0.055);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    color var(--af-motion-fast) ease,
    background var(--af-motion-fast) ease,
    border-color var(--af-motion-fast) ease,
    transform var(--af-motion-fast) var(--af-motion-ease);
}

.af-playlist-filter__toggle svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(180deg);
  transition: transform var(--af-motion-medium) var(--af-motion-ease);
}

.af-playlist-filter[data-is-collapsed="true"] .af-playlist-filter__toggle svg {
  transform: rotate(0deg);
}

.af-playlist-filter__toggle:hover {
  color: var(--af-ink);
  background: rgba(236, 237, 230, 0.12);
  border-color: rgba(236, 237, 230, 0.3);
}

.af-playlist-filter__toggle:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(24, 15, 17, 0.8),
    0 0 0 5px rgba(226, 219, 252, 0.8);
}

.af-playlist-filter__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.af-playlist-filter__options-wrap {
  --collection-bg-color: #180f11;
  position: relative;
  width: min(100%, calc(100vw - (var(--af-page-pad) * 2)));
  max-width: 96rem;
  min-width: 0;
  margin-top: 0.1rem;
  overflow: hidden;
}

.af-playlist-filter__options-wrap::before,
.af-playlist-filter__options-wrap::after {
  content: none;
}

.af-playlist-filter__options {
  display: flex;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.15rem clamp(3.25rem, 8vw, 6rem) 0.55rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: clamp(3.25rem, 8vw, 6rem);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-overflow-scrolling: touch;
}

.af-playlist-filter__options::-webkit-scrollbar {
  display: none;
}

.af-shelf__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.af-playlist-filter .af-filter-button {
  min-height: 2.75rem;
  padding-inline: 1.15rem;
  font-size: 0.9rem;
}

.af-playlist-filter__options .af-filter-button--secondary {
  flex: 0 0 auto;
  min-height: 2.35rem;
  padding-inline: 1rem;
  border-radius: 999px;
  scroll-snap-align: start;
  color: rgba(236, 237, 230, 0.76);
  background: rgba(236, 237, 230, 0.045);
  opacity: 0;
  transform: translateY(0.45rem);
  animation: af-option-in var(--af-motion-medium) var(--af-motion-ease) forwards;
  animation-delay: var(--option-delay, 0ms);
}

.af-filter-button,
.af-shelf__action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(236, 237, 230, 0.18);
  border-radius: 0;
  color: rgba(236, 237, 230, 0.82);
  background: rgba(236, 237, 230, 0.06);
  font: inherit;
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background var(--af-motion-fast) ease,
    border-color var(--af-motion-fast) ease,
    color var(--af-motion-fast) ease,
    transform var(--af-motion-fast) var(--af-motion-ease);
}

.af-filter-button:hover,
.af-shelf__action:hover,
.af-filter-button.is-active {
  color: var(--af-ink);
  background: rgba(236, 237, 230, 0.14);
  border-color: rgba(236, 237, 230, 0.32);
}

.af-filter-button:active,
.af-shelf__action:active {
  transform: scale(0.98);
}

.af-shelf {
  --card-width: clamp(16.25rem, 24vw, 23rem);
  --card-ratio: 16 / 9;
  --shelf-edge-pad: var(--af-page-pad);
  min-width: 0;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--af-motion-slow) ease,
    transform var(--af-motion-slow) var(--af-motion-ease);
  transition-delay: var(--shelf-delay, 0ms);
}

.af-shelf.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.af-shelf[data-media-type="audio"] {
  --card-width: clamp(10.5rem, 15vw, 14.25rem);
  --card-ratio: 1 / 1;
}

.af-shelf__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.af-shelf__copy {
  min-width: 0;
}

.af-shelf__title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
  font-weight: 400;
}

.af-shelf__subtitle {
  margin: 0.3rem 0 0;
  color: var(--af-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.af-audio-region .af-filter-button,
.af-audio-region .af-shelf__action,
.af-related-audio-zone .af-shelf__action {
  color: var(--af-site-ink);
  background: rgba(24, 15, 17, 0.06);
  border-color: rgba(24, 15, 17, 0.18);
}

.af-audio-region .af-filter-button:hover,
.af-audio-region .af-shelf__action:hover,
.af-related-audio-zone .af-shelf__action:hover {
  background: rgba(24, 15, 17, 0.12);
  border-color: rgba(24, 15, 17, 0.28);
}

.af-shelf__rail {
  display: flex;
  gap: clamp(0.75rem, 1.4vw, 1rem);
  width: calc(100% + (var(--shelf-edge-pad) * 2));
  max-width: calc(100vw + (var(--shelf-edge-pad) * 2));
  min-width: 0;
  margin-inline: calc(var(--shelf-edge-pad) * -1);
  padding: 0.85rem var(--shelf-edge-pad) 1.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: var(--af-page-pad);
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.af-shelf__rail::-webkit-scrollbar {
  display: none;
}

.af-shelf__rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.af-data-state {
  margin: clamp(1.25rem, 3vw, 2rem) 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(236, 237, 230, 0.14);
  border-radius: 5px;
  background: rgba(236, 237, 230, 0.06);
  color: rgba(236, 237, 230, 0.78);
}

.af-audio-region .af-data-state,
.af-related-audio-zone .af-data-state {
  border-color: rgba(24, 15, 17, 0.14);
  background: rgba(24, 15, 17, 0.05);
  color: #4e5543;
}

.af-data-state__title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.af-data-state__message {
  max-width: 54rem;
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

.af-data-state__list {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.55;
}

.af-cache-status {
  margin: 0.45rem 0 0;
  color: rgba(236, 237, 230, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.af-audio-region .af-cache-status {
  color: rgba(24, 15, 17, 0.48);
}

.af-media-card {
  flex: 0 0 var(--card-width);
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.af-media-card[aria-disabled="true"] {
  cursor: default;
  opacity: 0.58;
  pointer-events: none;
}

.af-media-card__frame {
  position: relative;
  aspect-ratio: var(--card-ratio);
  overflow: hidden;
  border-radius: 6px;
  background: var(--af-bg-raised);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  transform-origin: center;
  transition:
    transform var(--af-motion-medium) var(--af-motion-ease),
    box-shadow var(--af-motion-medium) var(--af-motion-ease),
    outline-color var(--af-motion-medium) ease;
  outline: 1px solid rgba(236, 237, 230, 0.09);
  will-change: transform;
}

.af-media-card__frame::after {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  border: 2px solid var(--af-velvet-scarf);
  border-radius: inherit;
  opacity: 0;
  box-shadow: 0 0 22px rgba(226, 219, 252, 0.18);
  transition: opacity var(--af-motion-medium) var(--af-motion-ease);
}

.af-media-card__artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  transition: filter var(--af-motion-medium) var(--af-motion-ease);
}

.af-media-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.52) 100%),
    rgba(0, 0, 0, 0.04);
  opacity: 0;
  transition: opacity var(--af-motion-medium) ease;
}

.af-media-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 999px;
  color: var(--af-site-ink);
  background: rgba(236, 237, 230, 0.94);
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.84);
  transition:
    opacity var(--af-motion-medium) ease,
    transform var(--af-motion-medium) var(--af-motion-ease);
}

.af-media-card__body {
  display: grid;
  gap: 0.2rem;
  min-height: 3rem;
}

.af-media-card__title {
  margin: 0;
  color: rgba(236, 237, 230, 0.94);
  font-size: 0.92rem;
  line-height: 1.28;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.af-media-card__subtitle {
  margin: -0.05rem 0 0;
  color: rgba(236, 237, 230, 0.68);
  font-size: 0.78rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.af-media-card__meta {
  margin: 0;
  color: rgba(236, 237, 230, 0.55);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.af-media-card[data-media-type="audio"] .af-media-card__frame {
  border-radius: 6px;
  outline-color: rgba(24, 15, 17, 0.16);
}

.af-media-card[data-media-type="audio"] .af-media-card__play {
  color: var(--af-site-ink);
  background: rgba(194, 201, 177, 0.9);
}

.af-audio-region .af-shelf__title,
.af-audio-region .af-media-card__title {
  color: var(--af-site-ink);
}

.af-audio-region .af-shelf__subtitle,
.af-audio-region .af-media-card__subtitle,
.af-audio-region .af-media-card__meta {
  color: #4e5543;
}

.af-media-card:hover .af-media-card__frame,
.af-media-card:focus-visible .af-media-card__frame {
  transform: translateY(-4px) scale(1.035);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.38);
  outline-color: rgba(226, 219, 252, 0.48);
}

.af-media-card:hover .af-media-card__frame::after,
.af-media-card:focus-visible .af-media-card__frame::after {
  opacity: 1;
}

.af-media-card:hover .af-media-card__artwork,
.af-media-card:focus-visible .af-media-card__artwork {
  filter: saturate(1.04) brightness(0.96);
}

.af-media-card:hover .af-media-card__shade,
.af-media-card:hover .af-media-card__play,
.af-media-card:focus-visible .af-media-card__shade,
.af-media-card:focus-visible .af-media-card__play {
  opacity: 1;
}

.af-media-card:hover .af-media-card__play,
.af-media-card:focus-visible .af-media-card__play {
  transform: translate(-50%, -50%) scale(1);
}

.af-media-card:active .af-media-card__frame {
  transform: translateY(-1px) scale(1.012);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.af-media-card.is-opening-modal .af-media-card__frame {
  opacity: 0.68;
  transform: translateY(-6px) scale(1.045);
}

.af-media-card.is-opening-modal .af-media-card__shade,
.af-media-card.is-opening-modal .af-media-card__play {
  opacity: 1;
}

.af-view-more {
  display: flex;
  justify-content: center;
  margin: clamp(1rem, 3vw, 2rem) 0 clamp(2.4rem, 5vw, 4.4rem);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--af-motion-slow) ease,
    transform var(--af-motion-slow) var(--af-motion-ease);
}

.af-view-more[hidden] {
  display: none;
}

.af-view-more.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.af-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: clamp(2.25rem, 4vw, 3.5rem) clamp(0.7rem, 2vw, 1.5rem);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  scrollbar-color: var(--af-dim) rgba(236, 237, 230, 0.12);
  scrollbar-width: thin;
  transition: opacity var(--af-motion-slow) var(--af-motion-ease);
}

.af-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.af-modal::-webkit-scrollbar {
  width: 14px;
}

.af-modal::-webkit-scrollbar-track {
  background: rgba(236, 237, 230, 0.08);
}

.af-modal::-webkit-scrollbar-thumb {
  background: var(--af-dim);
  border: 4px solid rgba(24, 15, 17, 0.88);
}

.af-modal::-webkit-scrollbar-thumb:hover {
  background: var(--af-muted);
}

.af-modal__backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateZ(0);
  transition: opacity var(--af-motion-slow) var(--af-motion-ease);
}

.af-modal.is-open .af-modal__backdrop {
  opacity: 1;
}

.af-modal__shell {
  position: relative;
  z-index: 1;
  width: min(82rem, 100%);
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--af-line);
  border-radius: 5px;
  background:
    linear-gradient(160deg, rgba(154, 165, 125, 0.16), transparent 28rem),
    linear-gradient(180deg, #24191a, #180f11);
  box-shadow: var(--af-shadow);
  opacity: 0;
  transform: translateY(28px) scale(0.975);
  transition:
    opacity var(--af-motion-slow) var(--af-motion-ease),
    transform var(--af-motion-slow) var(--af-motion-ease);
}

.af-modal.is-open .af-modal__shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.af-modal__close {
  position: fixed;
  z-index: 4;
  top: clamp(0.75rem, 2vw, 1.25rem);
  right: max(clamp(0.75rem, 2vw, 1.25rem), calc((100vw - 82rem) / 2 - 3.25rem));
}

.af-icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 6, 7, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background var(--af-motion-fast) ease,
    border-color var(--af-motion-fast) ease,
    box-shadow var(--af-motion-fast) ease,
    transform var(--af-motion-fast) var(--af-motion-ease);
}

.af-icon-button:hover {
  background: rgba(8, 6, 7, 0.82);
  border-color: rgba(255, 255, 255, 0.28);
  transform: scale(1.04);
}

.af-icon-button:focus-visible {
  outline: 0;
  background: rgba(8, 6, 7, 0.88);
  box-shadow:
    0 0 0 3px rgba(236, 237, 230, 0.2),
    0 12px 30px rgba(0, 0, 0, 0.32);
}

.af-icon-button:active {
  transform: scale(0.96);
}

.af-modal__content {
  padding: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--af-motion-medium) ease 120ms,
    transform var(--af-motion-medium) var(--af-motion-ease) 120ms;
}

.af-modal.is-open .af-modal__content {
  opacity: 1;
  transform: translateY(0);
}

.af-cms-template-page {
  display: block;
  min-width: 0;
}

.af-modal__copy {
  min-width: 0;
}

.af-modal__primary {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(24rem, 1.38fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.af-modal__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--af-gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.af-modal__title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.9rem);
  line-height: 1.04;
}

.af-modal__subtitle {
  margin: 0.85rem 0 0;
  color: rgba(236, 237, 230, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.4;
}

.af-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 1rem 0 0;
  color: var(--af-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.af-modal__description {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: rgba(236, 237, 230, 0.75);
}

.af-modal__description-window {
  max-height: 5.35rem;
  overflow: hidden;
  line-height: 1.7;
  transition: max-height var(--af-motion-medium) var(--af-motion-ease);
}

.af-modal__description[data-description-expanded="true"] .af-modal__description-window {
  max-height: clamp(10rem, 28vh, 16rem);
  overflow-y: auto;
  padding-right: 0.55rem;
  overscroll-behavior: contain;
  scrollbar-color: rgba(194, 201, 177, 0.65) rgba(236, 237, 230, 0.08);
  scrollbar-width: thin;
}

.af-modal__description-window::-webkit-scrollbar {
  width: 8px;
}

.af-modal__description-window::-webkit-scrollbar-track {
  background: rgba(236, 237, 230, 0.08);
  border-radius: 999px;
}

.af-modal__description-window::-webkit-scrollbar-thumb {
  background: rgba(194, 201, 177, 0.65);
  border-radius: 999px;
}

.af-modal__description-text {
  margin: 0;
  white-space: pre-line;
}

.af-modal__description-toggle {
  appearance: none;
  display: inline-flex;
  margin-top: 0.7rem;
  padding: 0;
  border: 0;
  color: var(--af-gold);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    color var(--af-motion-fast) ease,
    opacity var(--af-motion-fast) ease;
}

.af-modal__description-toggle:hover {
  color: var(--af-muted);
}

.af-modal__description-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 2px 0 rgba(236, 237, 230, 0.5);
}

.af-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.af-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0 0.68rem;
  border-radius: 0;
  color: rgba(236, 237, 230, 0.78);
  background: rgba(236, 237, 230, 0.07);
  border: 1px solid rgba(236, 237, 230, 0.1);
  font-size: 0.72rem;
  font-weight: 500;
}

.af-modal__visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--af-radius);
  aspect-ratio: 16 / 9;
  background: #120b0d;
  outline: 1px solid rgba(236, 237, 230, 0.12);
}

.af-modal__visual img,
.af-modal__visual iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.af-modal__visual iframe {
  display: block;
}

.af-modal__player-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #070506;
}

.af-modal__player-poster,
.af-modal__player-shell .af-modal__player--youtube {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.af-modal__player-poster {
  object-fit: cover;
}

.af-modal__play-overlay {
  appearance: none;
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: clamp(3rem, 6vw, 4.25rem);
  aspect-ratio: 1;
  border: 1px solid rgba(236, 237, 230, 0.28);
  border-radius: 999px;
  color: var(--af-site-ink);
  background: rgba(236, 237, 230, 0.92);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(226, 219, 252, 0.2);
  cursor: pointer;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition:
    opacity var(--af-motion-medium) var(--af-motion-ease),
    transform var(--af-motion-medium) var(--af-motion-ease),
    background var(--af-motion-medium) var(--af-motion-ease),
    box-shadow var(--af-motion-medium) var(--af-motion-ease);
}

.af-modal__play-overlay svg {
  width: clamp(1.15rem, 2vw, 1.45rem);
  height: clamp(1.15rem, 2vw, 1.45rem);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(1px);
}

.af-modal__play-overlay:hover,
.af-modal__play-overlay:focus-visible {
  background: rgba(236, 237, 230, 0.98);
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(226, 219, 252, 0.28);
  transform: translate(-50%, -50%) scale(1.045);
}

.af-modal__play-overlay:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(18, 11, 13, 0.92),
    0 0 0 5px rgba(226, 219, 252, 0.9),
    0 22px 62px rgba(0, 0, 0, 0.42);
}

.af-modal__player-shell.is-playing .af-modal__play-overlay,
.af-modal__player-shell[data-player-state="playing"] .af-modal__play-overlay {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

.af-modal__player-shell .af-modal__player--youtube {
  z-index: 1;
  background: #070506;
}

.af-modal__visual--audio {
  aspect-ratio: auto;
  padding: clamp(0.85rem, 1.5vw, 1.1rem);
  border-radius: 18px;
}

.af-modal__audio-layout {
  display: grid;
  grid-template-columns: minmax(5.75rem, 7.5rem) minmax(0, 1fr);
  gap: clamp(0.9rem, 2vw, 1.25rem);
  align-items: center;
  width: 100%;
}

.af-modal__audio-layout--custom {
  grid-template-columns: 1fr;
}

.af-modal__audio-layout--spotify {
  grid-template-columns: 1fr;
}

.af-modal__audio-layout--custom .af-custom-audio {
  grid-column: 1 / -1;
}

.af-modal__audio-artwork-frame {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background: #070506;
  box-shadow:
    inset 0 0 0 1px rgba(236, 237, 230, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.32);
}

.af-modal__audio-artwork-frame .af-modal__audio-artwork {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.af-modal__spotify-shell {
  display: grid;
  align-items: stretch;
  min-width: 0;
  min-height: 352px;
  overflow: hidden;
  border-radius: 14px;
  background: #070506;
  box-shadow: inset 0 0 0 1px rgba(236, 237, 230, 0.08);
}

.af-modal__visual .af-modal__player--spotify {
  width: 100%;
  height: 352px;
  min-height: 352px;
  max-height: 352px;
  border-radius: 12px;
  object-fit: initial;
}

.af-custom-audio {
  --audio-progress: 0%;
  display: grid;
  grid-template-columns: minmax(5.5rem, 7.5rem) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: center;
  min-width: 0;
  min-height: 14rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(24, 15, 17, 0.96), rgba(7, 5, 6, 0.98)),
    #070506;
  box-shadow: inset 0 0 0 1px rgba(236, 237, 230, 0.08);
}

.af-custom-audio audio {
  display: none;
}

.af-modal__visual .af-custom-audio__artwork {
  width: min(7.5rem, 22vw);
  height: min(7.5rem, 22vw);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.af-custom-audio__content {
  min-width: 0;
}

.af-custom-audio__kicker {
  margin: 0 0 0.25rem;
  color: rgba(236, 237, 230, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.af-custom-audio__title {
  margin: 0;
  color: var(--af-cream);
  font-size: clamp(0.98rem, 1.5vw, 1.2rem);
  line-height: 1.15;
}

.af-custom-audio__controls {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.9rem;
}

.af-custom-audio__button {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  color: #070506;
  background: var(--af-cream);
  cursor: pointer;
  transition:
    transform var(--af-motion-medium) var(--af-motion-ease),
    background var(--af-motion-medium) var(--af-motion-ease);
}

.af-custom-audio__button:hover {
  transform: scale(1.04);
  background: #ffffff;
}

.af-custom-audio__button:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(7, 5, 6, 0.9),
    0 0 0 5px rgba(226, 219, 252, 0.9);
}

.af-custom-audio__button svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.af-custom-audio__timeline {
  min-width: 0;
}

.af-custom-audio__seek {
  appearance: none;
  width: 100%;
  height: 0.32rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--af-cream) 0 var(--audio-progress), rgba(236, 237, 230, 0.2) var(--audio-progress) 100%);
  cursor: pointer;
}

.af-custom-audio__seek::-webkit-slider-thumb {
  appearance: none;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: var(--af-cream);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.34);
}

.af-custom-audio__seek::-moz-range-thumb {
  width: 0.9rem;
  height: 0.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--af-cream);
}

.af-custom-audio__time {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  color: rgba(236, 237, 230, 0.52);
  font-size: 0.74rem;
  font-weight: 700;
}

.af-modal__audio {
  display: none;
  margin-top: 1rem;
}

.af-modal__audio.is-visible {
  display: block;
}

.af-modal__audio audio {
  width: min(100%, 32rem);
  accent-color: var(--af-teal);
}

.af-modal__related {
  margin-top: clamp(2rem, 5vw, 4rem);
  min-width: 0;
}

.af-audio-modal__shelves {
  margin-top: clamp(1.3rem, 3vw, 2.4rem);
}

.af-modal__section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.af-audio-modal__shelves .af-modal__section-title {
  margin-bottom: 0.35rem;
}

.af-modal__related .af-shelf {
  opacity: 1;
  transform: none;
}

.af-modal__related .af-shelf__rail {
  --shelf-edge-pad: clamp(1rem, 3vw, 2rem);
  max-width: calc(100% + (var(--shelf-edge-pad) * 2));
}

.af-related-audio-zone {
  position: relative;
  margin-top: clamp(1.6rem, 4vw, 3rem);
  margin-inline: calc(clamp(1rem, 3vw, 2rem) * -1);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(236, 237, 230, 0.98), rgba(194, 201, 177, 0.92)),
    var(--af-site-canvas);
  border-block: 1px solid rgba(24, 15, 17, 0.16);
}

.af-audio-modal__shelves .af-related-audio-zone {
  margin-top: 0.55rem;
  padding-top: clamp(0.9rem, 2vw, 1.25rem);
}

.af-related-audio-zone::before {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(24, 15, 17, 0.04), transparent 22%, transparent 78%, rgba(24, 15, 17, 0.04));
}

.af-related-audio-zone .af-shelf {
  position: relative;
}

.af-related-audio-zone .af-shelf__title,
.af-related-audio-zone .af-media-card__title {
  color: var(--af-site-ink);
}

.af-related-audio-zone .af-shelf__subtitle,
.af-related-audio-zone .af-media-card__subtitle,
.af-related-audio-zone .af-media-card__meta {
  color: #4e5543;
}

@keyframes af-hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes af-option-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .af-hero {
    --hero-overlay-tail: 7rem;
    min-height: 40rem;
    padding-bottom: 5.25rem;
  }

  .af-hero::before {
    background-position: 68% center;
  }

  .af-hero::after {
    background:
      linear-gradient(90deg, rgba(24, 15, 17, 0.98), rgba(24, 15, 17, 0.55)),
      linear-gradient(0deg, #180f11 0%, rgba(24, 15, 17, 0.94) 24%, rgba(24, 15, 17, 0.35) 64%, rgba(24, 15, 17, 0.08) 100%);
  }

  .af-hero__title {
    max-width: 9ch;
  }

  .af-modal {
    padding: 3.75rem 0 0;
    place-items: stretch;
  }

  .af-modal__shell {
    width: 100%;
    border-radius: 5px;
    border-inline: 0;
  }

  .af-modal__close {
    top: 0.65rem;
    right: 0.65rem;
  }

  .af-modal__primary {
    grid-template-columns: 1fr;
  }

  .af-playlist-filter__heading {
    flex-wrap: wrap;
    row-gap: 0.55rem;
  }

  .af-modal__visual {
    order: -1;
  }

}

@media (max-width: 560px) {
  :root {
    --af-page-pad: 1rem;
  }

  .af-hero {
    min-height: 35rem;
  }

  .af-hero__actions,
  .af-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .af-button {
    width: 100%;
  }

  .af-shelf {
    --card-width: min(78vw, 20rem);
  }

  .af-shelf[data-media-type="audio"] {
    --card-width: min(46vw, 12.25rem);
  }

  .af-shelf__header {
    align-items: start;
    display: grid;
  }

  .af-shelf__actions {
    justify-content: flex-start;
  }

  .af-modal__audio-layout {
    grid-template-columns: 1fr;
  }

  .af-modal__audio-artwork-frame {
    width: min(9rem, 44vw);
  }

  .af-custom-audio {
    grid-template-columns: 1fr;
  }

  .af-modal__visual .af-custom-audio__artwork {
    width: min(7rem, 42vw);
    height: min(7rem, 42vw);
  }

  .af-playlist-filter {
    max-width: 100%;
  }

  .af-playlist-filter__buttons {
    justify-content: center;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* v1.1.1 premium first-paint + featured carousel refinements */
.af-hero {
  overflow: hidden;
}

.af-hero::before {
  transition:
    opacity var(--af-motion-slow) var(--af-motion-ease),
    transform 8s var(--af-motion-ease);
}

.af-hero__content--carousel {
  min-height: 20rem;
}

.af-hero__slide-copy {
  opacity: 0;
  transform: translateY(12px);
  animation: af-hero-slide-in 720ms var(--af-motion-ease) 140ms forwards;
}

.af-hero__content--carousel .af-hero__title {
  max-width: 12ch;
}

.af-hero__content--carousel .af-hero__subtitle {
  max-width: 32rem;
  margin-top: 0.85rem;
}

.af-hero__content--carousel .af-hero__description,
.af-hero__content--carousel .af-hero__meta {
  display: none;
}

.af-hero__pagination {
  position: absolute;
  z-index: 12;
  right: max(var(--af-page-pad), 4vw);
  bottom: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  gap: 0.48rem;
}

.af-hero__dot {
  position: relative;
  width: clamp(2.15rem, 4vw, 3.25rem);
  height: 0.42rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(236, 237, 230, 0.24);
}

.af-hero__dot span {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: inherit;
  background: rgba(236, 237, 230, 0.92);
}

.af-hero__dot.is-active span {
  animation: af-hero-progress 12s linear forwards;
}

.af-hero__dot:focus-visible {
  outline: 2px solid var(--af-velvet-scarf);
  outline-offset: 4px;
}

.af-shelf__rail {
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

.af-media-card,
.af-filter-button,
.af-button,
.af-modal__shell,
.af-modal__content,
.af-playlist-filter__options,
.af-playlist-filter__buttons {
  transition-timing-function: var(--af-motion-ease);
}

.af-media-card__title,
.af-media-card__subtitle,
.af-media-card__meta,
.af-shelf__title,
.af-shelf__subtitle,
.af-modal__title,
.af-modal__subtitle,
.af-modal__meta {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

@keyframes af-hero-slide-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes af-hero-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 820px) {
  .af-hero__pagination {
    left: var(--af-page-pad);
    right: auto;
    bottom: 2rem;
  }
}

/* v1.1.3 sticky segmented collection control + hero meta restoration */
.af-hero__content--carousel .af-hero__meta {
  display: flex;
}

.af-playlist-filter {
  --sticky-header-offset: 80px;
  position: sticky;
  top: var(--sticky-header-offset);
  z-index: 40;
  isolation: isolate;
  transition:
    padding var(--af-motion-medium) var(--af-motion-ease),
    background-color var(--af-motion-medium) var(--af-motion-ease),
    box-shadow var(--af-motion-medium) var(--af-motion-ease),
    backdrop-filter var(--af-motion-medium) var(--af-motion-ease);
}

.af-playlist-filter.is-sticky {
  padding-block: 0.85rem 0.7rem;
  background: color-mix(in srgb, var(--af-bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 18px 52px rgba(0,0,0,.22);
}

.af-playlist-filter__control-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 0;
}

.af-playlist-filter__buttons {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(6.25rem, 1fr));
  gap: 0;
  padding: 0.28rem;
  border: 1px solid rgba(236,237,230,.12);
  border-radius: 999px;
  background: rgba(236,237,230,.055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 16px 42px rgba(0,0,0,.18);
  overflow: hidden;
}

.af-playlist-filter__active-pill {
  position: absolute;
  inset-block: 0.28rem;
  left: 0.28rem;
  width: calc((100% - 0.56rem) / 3);
  border-radius: 999px;
  background: rgba(226,219,252,.92);
  box-shadow: 0 10px 30px rgba(226,219,252,.16);
  transform: translateX(calc(var(--active-filter-index, 0) * 100%));
  transition: transform var(--af-motion-medium) var(--af-motion-ease);
  pointer-events: none;
  z-index: 0;
}

.af-playlist-filter__buttons .af-filter-button {
  position: relative;
  z-index: 1;
  min-height: 2.48rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(236,237,230,.74);
  transition:
    color var(--af-motion-medium) var(--af-motion-ease),
    transform var(--af-motion-medium) var(--af-motion-ease);
}

.af-playlist-filter__buttons .af-filter-button.is-active {
  color: var(--af-site-ink);
}

.af-playlist-filter__buttons .af-filter-button:hover {
  transform: none;
  color: var(--af-ink);
}

.af-playlist-filter__buttons .af-filter-button.is-active:hover {
  color: var(--af-site-ink);
}

.af-playlist-filter__toggle--utility {
  color: var(--af-site-ink);
  background: rgba(194, 201, 177, .92);
  border-color: rgba(194, 201, 177, .45);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  animation: af-option-in var(--af-motion-medium) var(--af-motion-ease) forwards;
}

.af-playlist-filter__toggle--utility:hover {
  color: var(--af-site-ink);
  background: rgba(226,219,252,.94);
  border-color: rgba(226,219,252,.6);
}

.af-playlist-filter__options-wrap {
  width: min(100vw, 112rem);
  max-width: none;
  transition:
    opacity var(--af-motion-medium) var(--af-motion-ease),
    transform var(--af-motion-medium) var(--af-motion-ease),
    max-height var(--af-motion-medium) var(--af-motion-ease),
    margin var(--af-motion-medium) var(--af-motion-ease);
}

.af-playlist-filter.is-sticky:not(:hover):not(.is-secondary-open) .af-playlist-filter__options-wrap {
  opacity: 0;
  transform: translateY(-0.5rem);
  max-height: 0;
  margin-top: 0;
  pointer-events: none;
}

.af-playlist-filter.is-sticky:hover .af-playlist-filter__options-wrap,
.af-playlist-filter.is-sticky.is-secondary-open .af-playlist-filter__options-wrap {
  opacity: 1;
  transform: translateY(0);
  max-height: 5rem;
  pointer-events: auto;
}

.af-playlist-filter__options {
  padding-inline: clamp(5rem, 12vw, 12rem);
  scroll-padding-inline: clamp(5rem, 12vw, 12rem);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

@media (max-width: 760px) {
  .af-playlist-filter {
    --sticky-header-offset: 64px;
  }
  .af-playlist-filter__control-row {
    width: 100%;
    flex-wrap: wrap;
  }
  .af-playlist-filter__buttons {
    width: min(100%, 26rem);
    grid-template-columns: repeat(3, 1fr);
  }
  .af-playlist-filter__options {
    padding-inline: 2rem;
    scroll-padding-inline: 2rem;
  }
}

/* v1.1.4 UI refinement pass */
.af-hero::before {
  background-position: center center;
  filter: saturate(1.03) contrast(1.02);
}

.af-hero__content--carousel .af-kicker,
.af-hero__content--carousel .af-hero__meta {
  display: flex;
}

.af-hero__content--carousel .af-hero__slide-copy {
  max-width: min(42rem, 100%);
}

.af-hero__content--carousel .af-hero__title {
  max-width: 12.5ch;
}

.af-hero__pagination {
  right: clamp(1.25rem, 3.5vw, 3rem);
  bottom: clamp(1.25rem, 3vw, 2.4rem);
}

@media (max-width: 820px) {
  .af-hero__pagination {
    left: auto;
    right: var(--af-page-pad);
    bottom: 1.35rem;
  }
}

.af-browse::before {
  top: calc(0px - var(--browse-hero-fade) - 2rem);
  height: calc(var(--browse-hero-fade) + 5rem);
  background: linear-gradient(180deg, rgba(24, 15, 17, 0) 0%, rgba(24, 15, 17, 0.54) 36%, rgba(24, 15, 17, 0.92) 68%, #180f11 100%);
}

.af-media-card__frame::after {
  border-width: 4px;
  box-shadow: 0 0 28px rgba(226, 219, 252, 0.22);
}

.af-media-card:hover .af-media-card__frame,
.af-media-card:focus-visible .af-media-card__frame {
  transform: translateY(-3px) scale(1.032);
}

.af-media-card__artwork {
  transform: none !important;
}

.af-modal__backdrop {
  backdrop-filter: blur(8px) saturate(1.04);
  -webkit-backdrop-filter: blur(8px) saturate(1.04);
  will-change: opacity;
  transition: opacity var(--af-motion-slow) var(--af-motion-ease);
}

.af-modal__shell {
  transition:
    opacity var(--af-motion-slow) var(--af-motion-ease) 40ms,
    transform var(--af-motion-slow) var(--af-motion-ease) 40ms;
}

.af-shelf__rail {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: var(--af-page-pad);
  padding-right: var(--af-page-pad);
  scroll-padding-inline: var(--af-page-pad);
}

.af-playlist-filter__buttons {
  background: rgba(236,237,230,.035);
  border-color: rgba(236,237,230,.16);
}

.af-playlist-filter__active-pill {
  background: rgba(236,237,230,.9);
  box-shadow: 0 14px 34px rgba(0,0,0,.18), 0 0 0 1px rgba(226,219,252,.36);
}

.af-playlist-filter__buttons .af-filter-button:not(.is-active):hover {
  color: rgba(236,237,230,.96);
}

.af-playlist-filter__options {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.af-audio-region .af-shelf__actions::before,
.af-related-audio-zone .af-shelf__actions::before {
  content: "Follow";
  align-self: center;
  color: rgba(24, 15, 17, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* v1.1.5 premium motion + selector stability fixes */
:root {
  --af-motion-fast: 420ms;
  --af-motion-medium: 720ms;
  --af-motion-slow: 980ms;
  --af-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.af-hero {
  overflow: hidden;
}

.af-hero__pagination {
  position: absolute;
  z-index: 18;
  left: auto !important;
  right: var(--af-page-pad) !important;
  bottom: clamp(1.4rem, 3vw, 2.8rem) !important;
  width: auto;
  transform: none;
}

.af-browse {
  margin-top: -2.8rem;
  padding-top: 2.2rem;
}

.af-browse::before {
  top: calc(0px - var(--browse-hero-fade) - 5rem) !important;
  height: calc(var(--browse-hero-fade) + 9rem) !important;
  background:
    linear-gradient(180deg,
      rgba(24, 15, 17, 0) 0%,
      rgba(24, 15, 17, 0.18) 24%,
      rgba(24, 15, 17, 0.58) 52%,
      rgba(24, 15, 17, 0.9) 78%,
      #180f11 100%) !important;
}

.af-modal {
  opacity: 1;
  visibility: hidden;
  transition: visibility 0s linear var(--af-motion-slow);
}

.af-modal.is-open {
  visibility: visible;
  transition-delay: 0s;
}

.af-modal__backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(0px) saturate(1);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  opacity: 0;
  transition:
    opacity var(--af-motion-slow) var(--af-motion-ease),
    backdrop-filter var(--af-motion-slow) var(--af-motion-ease),
    -webkit-backdrop-filter var(--af-motion-slow) var(--af-motion-ease);
}

.af-modal.is-open .af-modal__backdrop {
  opacity: 1;
  backdrop-filter: blur(9px) saturate(1.04);
  -webkit-backdrop-filter: blur(9px) saturate(1.04);
}

.af-modal__shell {
  transition:
    opacity var(--af-motion-slow) var(--af-motion-ease),
    transform var(--af-motion-slow) var(--af-motion-ease);
}

.af-playlist-filter {
  top: var(--sticky-header-offset);
  transform: translateY(0);
  transition:
    opacity var(--af-motion-medium) var(--af-motion-ease),
    transform var(--af-motion-medium) var(--af-motion-ease),
    padding var(--af-motion-medium) var(--af-motion-ease),
    background-color var(--af-motion-medium) var(--af-motion-ease),
    box-shadow var(--af-motion-medium) var(--af-motion-ease),
    backdrop-filter var(--af-motion-medium) var(--af-motion-ease);
}

.af-playlist-filter.is-past-collections {
  opacity: 0;
  transform: translateY(-1rem);
  pointer-events: none;
}

.af-playlist-filter__copy,
.af-playlist-filter__control-row {
  transform: none !important;
}

.af-playlist-filter__heading {
  min-height: clamp(2.05rem, 3.2vw, 3rem);
}

.af-playlist-filter__buttons {
  flex-wrap: nowrap !important;
  width: min(92vw, 31rem);
  min-width: min(92vw, 31rem);
}

.af-playlist-filter[data-has-selection="false"] .af-playlist-filter__active-pill {
  opacity: 0;
  transform: translateX(0) scaleX(0.92);
}

.af-playlist-filter__active-pill {
  opacity: 1;
  transition:
    transform var(--af-motion-medium) var(--af-motion-ease),
    opacity var(--af-motion-medium) var(--af-motion-ease),
    background-color var(--af-motion-medium) var(--af-motion-ease);
}

.af-playlist-filter__buttons .af-filter-button {
  white-space: nowrap;
  transform: none !important;
  line-height: 1;
}

.af-playlist-filter__buttons .af-filter-button:not(.is-active):hover {
  color: var(--af-ink);
}

.af-playlist-filter__options-wrap {
  width: 100vw !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.af-shelf__rail {
  width: calc(100vw - 1px) !important;
  max-width: calc(100vw - 1px) !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: var(--af-page-pad) !important;
  padding-right: var(--af-page-pad) !important;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
}

.af-modal .af-shelf {
  --shelf-edge-pad: 0px;
}

.af-modal .af-shelf__rail {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  scroll-padding-inline: 0 !important;
}

.af-media-card__frame::after {
  border-width: 4px;
}

.af-media-card__frame,
.af-media-card__shade,
.af-media-card__play,
.af-filter-button,
.af-button,
.af-icon-button {
  transition-duration: var(--af-motion-medium) !important;
  transition-timing-function: var(--af-motion-ease) !important;
}

@media (prefers-reduced-motion: reduce) {
  .af-modal__backdrop,
  .af-modal__shell,
  .af-playlist-filter,
  .af-media-card__frame {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

/* v1.1.6 segmented control + full-bleed shelf correction */
.af-playlist-filter__control-row {
  position: relative;
  width: 100%;
  justify-content: center;
  padding-inline: clamp(4.25rem, 9vw, 8rem);
}

.af-playlist-filter__buttons {
  width: auto;
  min-width: 0;
  grid-template-columns: repeat(3, 6.8rem);
  flex: 0 0 auto;
}

.af-playlist-filter__active-pill {
  opacity: 0;
  width: calc((100% - 0.56rem) / 3);
  transform: translateX(calc(var(--active-filter-index, 0) * 100%));
  transition:
    transform var(--af-motion-slow) var(--af-motion-ease),
    opacity var(--af-motion-medium) var(--af-motion-ease),
    background-color var(--af-motion-medium) var(--af-motion-ease);
}

.af-playlist-filter[data-has-selection="true"] .af-playlist-filter__active-pill {
  opacity: 1;
}

.af-playlist-filter__buttons .af-filter-button {
  min-width: 0;
  padding-inline: 1rem;
  white-space: nowrap;
}

.af-playlist-filter__toggle--utility {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  z-index: 3;
}

.af-playlist-filter__toggle--utility:hover {
  transform: translateY(-50%);
}

.af-playlist-filter__options-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.af-playlist-filter__options {
  padding-inline: max(var(--af-page-pad), clamp(3.5rem, 8vw, 7rem));
  scroll-padding-inline: max(var(--af-page-pad), clamp(3.5rem, 8vw, 7rem));
}

/* Full-bleed collection shelves should match Latest Sermons behavior. */
.af-extra-shelves .af-shelf__rail,
.af-shelf-stack .af-shelf__rail,
.af-audio-region > .af-shelf .af-shelf__rail {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: var(--af-page-pad);
  padding-right: var(--af-page-pad);
  scroll-padding-inline: var(--af-page-pad);
}

/* Modal shelves should bleed to the modal content edges, not the viewport. */
.af-modal__related .af-shelf__rail,
.af-audio-modal__shelves .af-shelf__rail,
.af-related-audio-zone .af-shelf__rail {
  --modal-shelf-pad: clamp(1rem, 3vw, 2rem);
  width: calc(100% + (var(--modal-shelf-pad) * 2));
  max-width: none;
  margin-left: calc(var(--modal-shelf-pad) * -1);
  margin-right: calc(var(--modal-shelf-pad) * -1);
  padding-left: var(--modal-shelf-pad);
  padding-right: var(--modal-shelf-pad);
  scroll-padding-inline: var(--modal-shelf-pad);
}

@media (max-width: 760px) {
  .af-playlist-filter__control-row {
    padding-inline: 0;
    gap: 0.65rem;
  }

  .af-playlist-filter__buttons {
    grid-template-columns: repeat(3, minmax(5.7rem, 1fr));
    width: min(100%, 22rem);
  }

  .af-playlist-filter__toggle--utility {
    position: static;
    transform: none;
  }

  .af-playlist-filter__toggle--utility:hover {
    transform: none;
  }
}

/* v1.1 release-candidate stabilization */
:root {
  --af-motion-fast: 368ms;
  --af-motion-medium: 644ms;
  --af-motion-slow: 874ms;
  --af-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.af-hero::before {
  background: none !important;
}

.af-hero__bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.015);
}

.af-hero__bg--current {
  background-image: var(--hero-image);
  opacity: 0;
  animation: af-hero-bg-current var(--af-motion-slow) var(--af-motion-ease) forwards;
}

.af-hero__bg--previous {
  background-image: var(--hero-prev-image);
  opacity: 1;
  animation: af-hero-bg-previous var(--af-motion-slow) var(--af-motion-ease) forwards;
}

.af-hero__slide-copy {
  transform: none !important;
  animation: af-hero-copy-fade var(--af-motion-slow) var(--af-motion-ease) forwards !important;
}

.af-playlist-filter__hover-pill {
  position: absolute;
  inset-block: 0.28rem;
  left: 0.28rem;
  width: calc((100% - 0.56rem) / 3);
  border: 1px solid rgba(226, 219, 252, 0.42);
  border-radius: 999px;
  opacity: 0;
  transform: translateX(calc(var(--hover-filter-index, 0) * 100%));
  transition:
    opacity var(--af-motion-medium) var(--af-motion-ease),
    transform var(--af-motion-medium) var(--af-motion-ease),
    border-color var(--af-motion-medium) var(--af-motion-ease);
  pointer-events: none;
  z-index: 0;
}

.af-playlist-filter.is-hovering-filter .af-playlist-filter__hover-pill {
  opacity: 1;
}

.af-playlist-filter__active-pill {
  z-index: 0;
}

.af-modal__backdrop,
.af-modal__shell,
.af-modal__content,
.af-modal__visual {
  transition-duration: 620ms !important;
  transition-timing-function: var(--af-motion-ease) !important;
}

.af-modal__shell {
  transform: translateY(22px) scale(0.96);
}

.af-modal__content {
  transition-delay: 0ms !important;
}

.af-modal__visual {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 620ms var(--af-motion-ease),
    transform 620ms var(--af-motion-ease);
}

.af-modal.is-open .af-modal__visual {
  opacity: 1;
  transform: translateY(0);
}

.af-shelf__rail {
  scroll-snap-type: x proximity !important;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

@keyframes af-hero-bg-current {
  to {
    opacity: 1;
  }
}

@keyframes af-hero-bg-previous {
  to {
    opacity: 0;
  }
}

@keyframes af-hero-copy-fade {
  to {
    opacity: 1;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 900px), (pointer: coarse) {
    .af-modal__backdrop,
    .af-modal.is-open .af-modal__backdrop,
    .af-modal__close,
    .af-playlist-filter,
    .af-playlist-filter.is-past-collections {
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }

    .af-modal__backdrop,
    .af-modal.is-open .af-modal__backdrop {
      background: rgba(0, 0, 0, 0.72);
    }

    .af-modal__shell {
      box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45) !important;
    }

    .af-media-card__frame,
    .af-modal__visual,
    .af-modal__spotify-shell,
    .af-custom-audio {
      box-shadow: none !important;
    }

    .af-modal__backdrop,
    .af-modal__shell,
    .af-modal__content,
    .af-modal__visual {
      transition-property: opacity, transform !important;
    }
  }
}

/* v1.1.7 visual polish: modal controls, seams, and rail alignment */
:root {
  --af-app-top-offset: 50px;
  --sticky-header-offset: 80px;
}

.af-app {
  padding-top: var(--af-app-top-offset);
}

.af-hero,
.af-hero::before,
.af-hero__bg {
  background-position: center top !important;
}

.af-hero__bg {
  background-position: center top !important;
}

.af-browse {
  position: relative;
}

.af-shelf-stack {
  position: relative;
}

.af-shelf-stack::before {
  position: absolute;
  z-index: -1;
  content: "";
  top: clamp(-4.5rem, -8vw, -2.5rem);
  left: calc(var(--af-page-pad) * -1);
  right: calc(var(--af-page-pad) * -1);
  height: clamp(7rem, 15vw, 12rem);
  pointer-events: none;
  background:
    linear-gradient(180deg, #180f11 0%, rgba(24, 15, 17, 0.9) 28%, rgba(24, 15, 17, 0.46) 66%, rgba(24, 15, 17, 0) 100%);
}

.af-modal {
  padding-top: calc(var(--af-app-top-offset) + clamp(1rem, 2.2vw, 2rem));
}

.af-modal__shell {
  overflow: clip;
}

.af-modal__content {
  padding-top: clamp(3.75rem, 5vw, 4.5rem);
}

.af-modal__close {
  position: absolute !important;
  top: clamp(0.75rem, 1.6vw, 1rem) !important;
  right: clamp(0.75rem, 1.6vw, 1rem) !important;
  z-index: 8;
  width: 44px;
  height: 44px;
}

.af-modal__close-label {
  display: none;
}

.af-modal__close:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(24, 15, 17, 0.74),
    0 0 0 5px rgba(226, 219, 252, 0.7);
}

@media (min-width: 821px) {
  .af-modal__close {
    top: 0 !important;
    right: 0 !important;
    width: 52px;
    height: 52px;
    border-top: 0;
    border-right: 0;
    border-radius: 0 5px 0 5px;
    background: rgba(8, 6, 7, 0.72);
  }

  .af-modal__close:hover,
  .af-modal__close:active {
    transform: none;
  }
}

.af-modal__backdrop {
  transition:
    opacity 620ms var(--af-motion-ease),
    backdrop-filter 620ms var(--af-motion-ease),
    -webkit-backdrop-filter 620ms var(--af-motion-ease) !important;
}

.af-modal__shell,
.af-modal__content,
.af-modal__visual {
  transition-delay: 0ms !important;
}

.af-modal.is-open .af-modal__backdrop {
  transition-delay: 0ms !important;
}

.af-playlist-filter {
  width: min(100%, calc(100vw - (var(--af-page-pad) * 2)));
  max-width: 96rem;
  min-height: 0;
  top: var(--sticky-header-offset) !important;
  margin-inline: auto;
  contain: layout style;
}

.af-playlist-filter.is-sticky {
  background: rgba(24, 15, 17, 0.82);
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(236, 237, 230, 0.06);
}

.af-playlist-filter__copy,
.af-playlist-filter__heading,
.af-playlist-filter__control-row,
.af-playlist-filter__buttons {
  transform: none !important;
}

.af-playlist-filter__copy {
  width: 100%;
  justify-items: center;
}

.af-playlist-filter__heading {
  width: 100%;
  justify-content: center;
}

.af-playlist-filter__control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  width: 100%;
  padding-inline: 0 !important;
  gap: 0;
}

.af-playlist-filter__buttons {
  grid-column: 2;
  grid-template-columns: repeat(3, 6.8rem) !important;
  width: auto !important;
  min-width: 0 !important;
  justify-self: center;
  flex: none;
}

.af-playlist-filter__toggle--utility {
  grid-column: 3;
  justify-self: end;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  animation: none !important;
}

.af-playlist-filter__toggle--utility:hover {
  transform: none !important;
}

.af-playlist-filter__active-pill,
.af-playlist-filter__hover-pill {
  will-change: transform, opacity;
}

.af-playlist-filter__buttons .af-filter-button {
  min-width: 0;
  width: 100%;
  transform: none !important;
}

.af-playlist-filter__options-wrap {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.af-extra-shelves .af-shelf__rail,
.af-shelf-stack .af-shelf__rail,
.af-audio-region > .af-shelf .af-shelf__rail {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: var(--af-page-pad) !important;
  padding-right: var(--af-page-pad) !important;
  scroll-padding-inline: var(--af-page-pad) !important;
}

.af-modal__related {
  overflow: hidden;
}

.af-modal__related .af-shelf__rail,
.af-audio-modal__shelves .af-shelf__rail {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  scroll-padding-inline: 0 !important;
}

.af-related-audio-zone .af-shelf__rail {
  width: calc(100% + (clamp(1rem, 3vw, 2rem) * 2)) !important;
  max-width: none !important;
  margin-left: calc(clamp(1rem, 3vw, 2rem) * -1) !important;
  margin-right: calc(clamp(1rem, 3vw, 2rem) * -1) !important;
  padding-left: clamp(1rem, 3vw, 2rem) !important;
  padding-right: clamp(1rem, 3vw, 2rem) !important;
  scroll-padding-inline: clamp(1rem, 3vw, 2rem) !important;
}

.af-cms-template-page--video > .af-modal__related {
  overflow: visible;
}

.af-cms-template-page--video > .af-modal__related .af-modal__section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.af-cms-template-page--video > .af-modal__related .af-shelf__rail {
  --modal-related-pad: clamp(1rem, 3vw, 2rem);
  width: calc(100% + (var(--modal-related-pad) * 2)) !important;
  max-width: none !important;
  margin-left: calc(var(--modal-related-pad) * -1) !important;
  margin-right: calc(var(--modal-related-pad) * -1) !important;
  padding-left: var(--modal-related-pad) !important;
  padding-right: var(--modal-related-pad) !important;
  scroll-padding-inline: var(--modal-related-pad) !important;
}

.af-cms-template-page--audio > .af-audio-modal__shelves {
  overflow: visible;
}

.af-cms-template-page--audio > .af-audio-modal__shelves .af-modal__section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.af-cms-template-page--audio > .af-audio-modal__shelves .af-related-audio-zone {
  --modal-audio-related-pad: clamp(1rem, 3vw, 2rem);
  margin-left: calc(var(--modal-audio-related-pad) * -1) !important;
  margin-right: calc(var(--modal-audio-related-pad) * -1) !important;
  margin-bottom: calc(clamp(1rem, 3vw, 2rem) * -1);
  padding-left: var(--modal-audio-related-pad) !important;
  padding-right: var(--modal-audio-related-pad) !important;
  padding-bottom: var(--modal-audio-related-pad);
}

.af-cms-template-page--audio > .af-audio-modal__shelves .af-related-audio-zone .af-shelf__rail {
  --modal-audio-rail-pad: clamp(1rem, 3vw, 2rem);
  width: calc(100% + (var(--modal-audio-rail-pad) * 2)) !important;
  max-width: none !important;
  margin-left: calc(var(--modal-audio-rail-pad) * -1) !important;
  margin-right: calc(var(--modal-audio-rail-pad) * -1) !important;
  padding-left: var(--modal-audio-rail-pad) !important;
  padding-right: var(--modal-audio-rail-pad) !important;
  scroll-padding-inline: var(--modal-audio-rail-pad) !important;
}

.af-media-card__frame {
  border-radius: 8px;
  transition:
    transform 480ms var(--af-motion-ease),
    box-shadow 480ms var(--af-motion-ease),
    outline-color 480ms var(--af-motion-ease) !important;
}

.af-media-card__frame::after {
  border-color: #e2dbfc !important;
  border-width: 4px !important;
  transition: opacity 480ms var(--af-motion-ease) !important;
}

.af-media-card__artwork {
  transform: none !important;
  transition: filter 480ms var(--af-motion-ease) !important;
}

.af-media-card:hover .af-media-card__frame,
.af-media-card:focus-visible .af-media-card__frame {
  transform: translateY(-3px) scale(1.034);
}

.af-audio-region .af-shelf__actions::before,
.af-related-audio-zone .af-shelf__actions::before {
  content: "Follow";
}

@media (max-width: 820px) {
  .af-modal {
    padding: calc(var(--af-app-top-offset) + env(safe-area-inset-top, 0px)) 0 0;
    place-items: stretch;
  }

  .af-modal__shell {
    width: 100%;
    min-height: calc(100vh - var(--af-app-top-offset));
    overflow: visible;
    border-radius: 5px 5px 0 0;
  }

  .af-modal__content {
    padding-top: clamp(1rem, 4vw, 1.4rem);
  }

  .af-modal__close {
    position: sticky !important;
    top: 0 !important;
    right: auto !important;
    display: flex;
    width: 100%;
    height: 52px;
    min-height: 52px;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 0;
    border-inline: 0;
    border-top: 0;
    background: rgba(24, 15, 17, 0.94);
    color: var(--af-ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .af-modal__close svg {
    width: 1rem;
    height: 1rem;
  }

  .af-modal__close-label {
    display: inline;
    font-size: 0.92rem;
    font-weight: 700;
  }

  .af-playlist-filter {
    top: calc(64px + env(safe-area-inset-top, 0px)) !important;
    width: 100%;
  }

  .af-playlist-filter__control-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .af-playlist-filter__buttons {
    grid-column: 1;
    grid-template-columns: repeat(3, minmax(5.7rem, 1fr)) !important;
    width: min(100%, 22rem) !important;
    justify-self: center;
  }

  .af-playlist-filter__toggle--utility {
    grid-column: 1;
    justify-self: center;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 900px), (pointer: coarse) {
    .af-playlist-filter.is-sticky,
    .af-modal__backdrop,
    .af-modal.is-open .af-modal__backdrop {
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }
  }
}

/* v1.1.8 polish: hero feathering, bounded sticky collections, full-bleed rails */
.af-main,
.af-app {
  min-height: 0;
}

.af-browse {
  padding-bottom: 0 !important;
}

.af-audio-region {
  margin-bottom: 0 !important;
}

.af-hero__bg {
  background-position: center top !important;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 76%, transparent 100%);
}

.af-hero::after {
  bottom: calc(0px - var(--hero-overlay-tail));
  background:
    linear-gradient(180deg, #180f11 0%, rgba(24, 15, 17, 0.8) 5%, rgba(24, 15, 17, 0.12) 18%, rgba(24, 15, 17, 0) 34%),
    linear-gradient(90deg, rgba(24, 15, 17, 0.98) 0%, rgba(24, 15, 17, 0.78) 38%, rgba(24, 15, 17, 0.16) 76%),
    linear-gradient(0deg, #180f11 0%, rgba(24, 15, 17, 0.96) 18%, rgba(24, 15, 17, 0.48) 48%, rgba(24, 15, 17, 0) 76%) !important;
}

.af-extra-shelves {
  position: relative;
  overflow: visible !important;
  z-index: 20;
}

.af-extra-shelves.is-collapsed {
  overflow: hidden !important;
}

.af-collection-shelves {
  display: grid;
  gap: clamp(1.9rem, 4vw, 3.1rem);
  min-width: 0;
}

.af-extra-shelves .af-playlist-filter {
  position: sticky;
  top: var(--sticky-header-offset) !important;
  z-index: 45;
  margin-bottom: clamp(1.3rem, 3vw, 2.2rem);
}

.af-extra-shelves .af-playlist-filter.is-sticky {
  background: rgba(24, 15, 17, 0.8);
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
}

.af-playlist-filter__control-row {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 3rem;
  padding-inline: clamp(7.5rem, 13vw, 11rem) !important;
}

.af-playlist-filter__buttons {
  flex: 0 0 auto !important;
  justify-self: auto !important;
}

.af-playlist-filter__toggle--utility {
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  width: auto;
  transform: translateY(-50%) !important;
  transition:
    color var(--af-motion-fast) var(--af-motion-ease),
    background var(--af-motion-fast) var(--af-motion-ease),
    border-color var(--af-motion-fast) var(--af-motion-ease) !important;
}

.af-playlist-filter__toggle--utility:hover {
  transform: translateY(-50%) !important;
}

.af-extra-shelves .af-shelf__header {
  padding-inline: 0;
}

.af-extra-shelves .af-shelf__rail {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: var(--af-page-pad) !important;
  padding-right: var(--af-page-pad) !important;
  scroll-padding-inline: var(--af-page-pad) !important;
}

@media (max-width: 820px) {
  .af-playlist-filter__control-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 0;
    padding-inline: 0 !important;
    gap: 0.65rem;
  }

  .af-playlist-filter__toggle--utility {
    position: static !important;
    justify-self: center;
    transform: none !important;
  }

  .af-playlist-filter__toggle--utility:hover {
    transform: none !important;
  }

  .af-hero__bg {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 73%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 73%, transparent 100%);
  }
}

/* v1.1.9 polish: stronger hero feathering + Safari-stable collection toolbar */
.af-hero {
  background: #180f11;
}

.af-hero__bg {
  background-position: center top !important;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 64%, transparent 100%) !important;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 64%, transparent 100%) !important;
}

.af-hero::after {
  background:
    linear-gradient(180deg, #180f11 0%, rgba(24, 15, 17, 0.96) 5%, rgba(24, 15, 17, 0.42) 16%, rgba(24, 15, 17, 0) 32%),
    linear-gradient(90deg, rgba(24, 15, 17, 0.98) 0%, rgba(24, 15, 17, 0.78) 38%, rgba(24, 15, 17, 0.16) 76%),
    linear-gradient(0deg, #180f11 0%, rgba(24, 15, 17, 0.98) 22%, rgba(24, 15, 17, 0.66) 44%, rgba(24, 15, 17, 0.08) 74%, rgba(24, 15, 17, 0) 100%) !important;
}

.af-playlist-filter {
  position: sticky;
  isolation: isolate;
  overflow: visible;
  contain: none;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.af-playlist-filter::before {
  position: absolute;
  z-index: -1;
  content: "";
  top: 0;
  left: 50%;
  width: 100vw;
  height: calc(100% + clamp(2.5rem, 6vw, 4.75rem));
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(24, 15, 17, 0.94) 0%, rgba(24, 15, 17, 0.78) 48%, rgba(24, 15, 17, 0.38) 74%, rgba(24, 15, 17, 0) 100%);
  backdrop-filter: blur(18px) saturate(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
  transition: opacity var(--af-motion-medium) var(--af-motion-ease);
}

.af-playlist-filter.is-sticky::before {
  opacity: 1;
}

.af-playlist-filter.is-sticky {
  background: transparent !important;
  box-shadow: none !important;
}

.af-playlist-filter__copy {
  position: relative;
  z-index: 1;
}

.af-playlist-filter__control-row {
  position: relative !important;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 3rem;
  padding-inline: 0 !important;
  gap: 0;
}

.af-playlist-filter__buttons {
  grid-column: 2;
  justify-self: center !important;
  width: auto !important;
  min-width: 0 !important;
  flex: none !important;
}

.af-playlist-filter__toggle--utility {
  grid-column: 3;
  justify-self: end;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  animation: none !important;
  transition:
    color var(--af-motion-fast) var(--af-motion-ease),
    background var(--af-motion-fast) var(--af-motion-ease),
    border-color var(--af-motion-fast) var(--af-motion-ease) !important;
}

.af-playlist-filter__toggle--utility:hover {
  transform: none !important;
}

.af-playlist-filter[data-has-selection="false"] .af-collection-shelves,
.af-extra-shelves:not(.is-expanded) .af-collection-shelves {
  display: none;
}

@supports (-webkit-touch-callout: none) {
  @media (min-width: 821px) {
    .af-playlist-filter__control-row {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .af-playlist-filter__buttons {
      grid-column: 2;
      justify-self: center !important;
    }

    .af-playlist-filter__toggle--utility {
      grid-column: 3;
      justify-self: end;
    }
  }

  @media (max-width: 900px), (pointer: coarse) {
    .af-playlist-filter::before {
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }
  }
}

@media (max-width: 820px) {
  .af-playlist-filter__control-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.65rem;
  }

  .af-playlist-filter__buttons,
  .af-playlist-filter__toggle--utility {
    grid-column: 1;
  }
}

/* Safari desktop fix: keep collection header out of full-bleed calculations */
@media (min-width: 821px) {
  .af-extra-shelves,
  .af-extra-shelves > .af-playlist-filter {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }

  .af-extra-shelves > .af-playlist-filter .af-playlist-filter__options-wrap {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }
}

/* Hero seam fix: extend visual layers without moving content */
:root {
  --af-hero-base: #180f11;
  --af-intro-photo-trim: 1.25rem;
}

html,
body,
.af-app,
.af-main {
  background-color: var(--af-hero-base);
}

.af-main {
  position: relative;
  isolation: isolate;
  background-color: transparent;
}

.af-main::before,
.af-main::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.af-main::before {
  z-index: 0;
  top: calc(-1 * var(--af-app-top-offset, 0px));
  height: calc(clamp(46rem, 104vh, 68rem) - var(--af-intro-photo-trim));
  background: var(--hero-image) center top / cover no-repeat;
}

.af-main::after {
  z-index: 1;
  top: calc(-1 * var(--af-app-top-offset, 0px));
  height: clamp(58rem, 126vh, 82rem);
  background:
    linear-gradient(180deg, rgba(24, 15, 17, 0.18) 0%, rgba(24, 15, 17, 0) 15%),
    linear-gradient(90deg, rgba(24, 15, 17, 0.98) 0%, rgba(24, 15, 17, 0.78) 38%, rgba(24, 15, 17, 0.16) 76%),
    linear-gradient(180deg, rgba(24, 15, 17, 0) 0%, rgba(24, 15, 17, 0.08) 50%, rgba(24, 15, 17, 0.58) 72%, var(--af-hero-base) 92%, var(--af-hero-base) 100%);
}

.af-hero,
.af-browse {
  position: relative;
  z-index: 2;
}

.af-browse {
  background-color: transparent;
}

.af-browse::before,
.af-browse::after,
.af-shelf-stack::before {
  content: none !important;
}

.af-hero {
  --hero-overlay-tail: clamp(14rem, 24vw, 18rem);
  --hero-visual-bottom-extension: clamp(10rem, 18vw, 15rem);
  overflow: visible !important;
  background: transparent !important;
}

.af-hero__content,
.af-hero__pagination {
  position: relative;
}

.af-hero__bg {
  top: calc(-1 * var(--af-app-top-offset, 0px)) !important;
  right: 0;
  bottom: calc(-1 * var(--hero-visual-bottom-extension)) !important;
  left: 0;
  height: auto !important;
  background-position: center top !important;
  -webkit-mask-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.82) 0%,
      #000 5%,
      #000 55%,
      rgba(0, 0, 0, 0.9) 72%,
      rgba(0, 0, 0, 0.58) 90%,
      rgba(0, 0, 0, 0.18) 98%,
      transparent 100%
    ) !important;
  mask-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.82) 0%,
      #000 5%,
      #000 55%,
      rgba(0, 0, 0, 0.9) 72%,
      rgba(0, 0, 0, 0.58) 90%,
      rgba(0, 0, 0, 0.18) 98%,
      transparent 100%
    ) !important;
  opacity: 0 !important;
}

.af-hero::after {
  top: calc(-1 * var(--af-app-top-offset, 0px)) !important;
  bottom: calc(-1 * var(--hero-overlay-tail)) !important;
  background:
    linear-gradient(180deg, rgba(24, 15, 17, 0.32) 0%, rgba(24, 15, 17, 0.08) 11%, rgba(24, 15, 17, 0) 23%),
    linear-gradient(90deg, rgba(24, 15, 17, 0.98) 0%, rgba(24, 15, 17, 0.78) 38%, rgba(24, 15, 17, 0.16) 76%),
    linear-gradient(0deg, var(--af-hero-base) 0%, rgba(24, 15, 17, 0.98) 15%, rgba(24, 15, 17, 0.78) 38%, rgba(24, 15, 17, 0.42) 66%, rgba(24, 15, 17, 0.12) 91%, rgba(24, 15, 17, 0) 100%) !important;
}

.af-browse::before {
  top: calc(0px - var(--browse-hero-fade) - 13rem) !important;
  height: calc(var(--browse-hero-fade) + 19rem) !important;
  background:
    linear-gradient(
      180deg,
      rgba(24, 15, 17, 0) 0%,
      rgba(24, 15, 17, 0.1) 16%,
      rgba(24, 15, 17, 0.44) 48%,
      rgba(24, 15, 17, 0.86) 78%,
      var(--af-hero-base) 100%
    ) !important;
}

@media (max-width: 820px) {
  .af-hero__bg {
    bottom: -10rem !important;
    height: auto !important;
    -webkit-mask-image:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.86) 0%,
        #000 5%,
        #000 50%,
        rgba(0, 0, 0, 0.82) 70%,
        rgba(0, 0, 0, 0.48) 90%,
        rgba(0, 0, 0, 0.16) 98%,
        transparent 100%
      ) !important;
    mask-image:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.86) 0%,
        #000 5%,
        #000 50%,
        rgba(0, 0, 0, 0.82) 70%,
        rgba(0, 0, 0, 0.48) 90%,
        rgba(0, 0, 0, 0.16) 98%,
        transparent 100%
      ) !important;
  }
}

/* Hero foreground fix: move text down while keeping pagination anchored right */
.af-hero__content {
  translate: 0 -10px;
}

.af-hero__pagination {
  position: absolute !important;
  z-index: 18;
  left: auto !important;
  right: var(--af-page-pad) !important;
  bottom: clamp(0px, calc(9vw - 75px), 45px) !important;
  width: auto;
  margin: 0;
  transform: none !important;
}

.af-shelf-stack,
.af-extra-shelves,
.af-view-more,
.af-audio-region {
  position: relative;
  z-index: 1;
}

/* Collection sticky background: full-viewport gradient field, no blur edge */
.af-playlist-filter,
.af-playlist-filter.is-sticky,
.af-extra-shelves .af-playlist-filter.is-sticky {
  --collection-sticky-bg-extension: clamp(3.5rem, 7vw, 6rem);
  --collection-sticky-bg-open-extension: clamp(8rem, 16vw, 12rem);
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.af-playlist-filter::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: calc(-1 * var(--sticky-header-offset, 80px));
  left: 50%;
  width: 100vw;
  height: calc(var(--sticky-header-offset, 80px) + 100% + var(--collection-sticky-bg-extension));
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(
      to bottom,
      #12090c 0%,
      rgba(18, 9, 12, 0.96) 18%,
      rgba(18, 9, 12, 0.82) 45%,
      rgba(18, 9, 12, 0.55) 72%,
      rgba(18, 9, 12, 0.15) 92%,
      rgba(18, 9, 12, 0) 100%
    ) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition:
    height 520ms var(--af-motion-ease),
    opacity 520ms var(--af-motion-ease);
}

.af-playlist-filter.is-sticky::before {
  opacity: 1;
}

.af-playlist-filter.is-sticky:hover,
.af-playlist-filter.is-sticky:focus-within,
.af-playlist-filter.is-sticky.is-secondary-open {
  --collection-sticky-bg-extension: var(--collection-sticky-bg-open-extension);
}

.af-playlist-filter__copy,
.af-playlist-filter__control-row,
.af-playlist-filter__options-wrap {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .af-playlist-filter__toggle--utility {
    align-self: center;
    transform: translateY(-0.38rem) !important;
  }

  .af-playlist-filter__toggle--utility:hover {
    transform: translateY(-0.38rem) !important;
  }
}

@media (max-width: 560px) {
  .af-hero__actions {
    justify-items: start;
    justify-content: start;
  }

  .af-hero__actions .af-button {
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto;
    justify-self: start;
    align-self: flex-start;
  }
}

@media (max-width: 767px) {
  .af-hero {
    min-height: clamp(28.75rem, 68vh, 38.75rem);
  }

  .af-hero__pagination {
    bottom: calc(clamp(0px, calc(9vw - 75px), 45px) + 28px) !important;
  }
}

@media (max-width: 767px) {
  .af-shelf[data-shelf-id="latest-sermons"] .af-shelf__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .af-shelf[data-shelf-id="latest-sermons"] .af-shelf__copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .af-shelf[data-shelf-id="latest-sermons"] .af-shelf__actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.4rem;
  }

  .af-shelf[data-shelf-id="latest-sermons"] .af-shelf__action {
    width: auto;
    min-height: 2rem;
    padding-inline: 0.65rem;
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.76rem;
  }

  .af-shelf[data-shelf-id="latest-sermons"] .af-shelf__action[data-action-kind="youtube"] {
    font-size: 0;
  }

  .af-shelf[data-shelf-id="latest-sermons"] .af-shelf__action[data-action-kind="youtube"]::after {
    content: "Subscribe";
    font-size: 0.76rem;
  }

  .af-shelf[data-shelf-id="latest-sermons"] .af-shelf__action[data-action-kind="youtube-notifications"] {
    width: 2rem;
    padding-inline: 0;
    font-size: 0;
  }

  .af-shelf[data-shelf-id="latest-sermons"] .af-shelf__action[data-action-kind="youtube-notifications"]::after {
    content: "";
    width: 0.95rem;
    height: 0.95rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.268 21a2 2 0 0 0 3.464 0'/%3E%3Cpath d='M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.268 21a2 2 0 0 0 3.464 0'/%3E%3Cpath d='M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

@media (max-width: 767px) {
  .af-playlist-filter[data-has-selection="true"] {
    --collection-mobile-gap: 0px;
    --collection-mobile-collapse-bottom-gap: 5px;
    display: flex;
    flex-direction: column;
  }

  .af-playlist-filter[data-has-selection="true"] .af-playlist-filter__control-row {
    display: contents !important;
  }

  .af-playlist-filter[data-has-selection="true"] .af-playlist-filter__copy {
    order: 1;
  }

  .af-playlist-filter[data-has-selection="true"] .af-playlist-filter__buttons {
    order: 2;
    align-self: center;
    justify-self: center !important;
  }

  .af-playlist-filter[data-has-selection="true"] .af-playlist-filter__options-wrap {
    order: 3;
    margin-top: var(--collection-mobile-gap) !important;
  }

  .af-playlist-filter[data-has-selection="true"] .af-playlist-filter__toggle--utility {
    order: 4;
    align-self: center !important;
    justify-self: center !important;
    margin: var(--collection-mobile-gap) auto var(--collection-mobile-collapse-bottom-gap) !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
  }

  .af-playlist-filter[data-has-selection="true"] .af-playlist-filter__toggle--utility:hover {
    transform: none !important;
  }

  .af-extra-shelves .af-playlist-filter[data-has-selection="true"] {
    margin-bottom: 0 !important;
  }
}

/* Branded streaming footer */
:root {
  --af-footer-bg: #180f11;
  --af-footer-cta-bg: #9aa57d;
  --af-footer-nav-bg: #4e5543;
  --af-footer-text: var(--af-ink);
  --af-footer-muted: rgba(236, 237, 230, 0.76);
  --af-footer-cta-text: #180f11;
  --af-footer-cta-muted: rgba(24, 15, 17, 0.78);
  --af-footer-accent: #c2c9b1;
  --af-footer-mono: "Inconsolata", "Courier New", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.af-site-footer {
  position: relative;
  z-index: 6;
  overflow: clip;
  margin-inline: calc(var(--af-page-pad) * -1);
  color: var(--af-footer-text);
  background: var(--af-footer-bg);
  isolation: isolate;
}

.af-site-footer__cta,
.af-site-footer__nav,
.af-site-footer__legal {
  padding-inline: var(--af-page-pad);
}

.af-site-footer__cta {
  color: var(--af-footer-cta-text);
  background: var(--af-footer-cta-bg);
  padding-block: clamp(4.5rem, 10vw, 9rem) clamp(3rem, 6vw, 5rem);
}

.af-site-footer__cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.36fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  max-width: 88rem;
  margin: 0 auto;
}

.af-site-footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--af-footer-cta-text);
  font-family: var(--af-footer-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.af-site-footer__eyebrow::before {
  content: "";
  width: 0.55rem;
  aspect-ratio: 1;
  background: currentColor;
}

.af-site-footer__title {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 9vw, 8.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.af-site-footer__copy {
  max-width: 48rem;
  margin: clamp(1.35rem, 3vw, 2.25rem) 0 0;
  color: var(--af-footer-cta-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.af-site-footer__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: rgba(24, 15, 17, 0.08);
}

.af-site-footer__button {
  justify-content: space-between;
  min-height: 3.2rem;
  padding-inline: 1rem;
  text-align: left;
  font-family: var(--af-footer-mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.af-site-footer__button--reading {
  min-height: 4.25rem;
  padding-block: 0.65rem;
}

.af-site-footer__button-label {
  flex: 1;
  line-height: 1.3;
}

.af-site-footer__cta .af-button--primary {
  background: var(--af-footer-cta-text);
  color: var(--af-footer-cta-bg);
}

.af-site-footer__cta .af-button--secondary {
  color: var(--af-footer-cta-text);
  background: transparent;
  border: 1px solid rgba(24, 15, 17, 0.36);
}

.af-site-footer__text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 2.75rem;
  padding-inline: 0.25rem;
  color: var(--af-footer-cta-muted);
  font-family: var(--af-footer-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition:
    color var(--af-motion-fast) ease,
    transform var(--af-motion-fast) var(--af-motion-ease);
}

.af-site-footer__text-link:hover {
  color: var(--af-footer-cta-text);
  transform: translateX(0.18rem);
}

.af-site-footer__nav {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto;
  gap: clamp(2rem, 6vw, 6rem);
  margin: 0;
  padding-inline: max(var(--af-page-pad), calc((100vw - 88rem) / 2 + var(--af-page-pad)));
  padding-block: clamp(2.2rem, 5vw, 4rem);
  background: var(--af-footer-nav-bg);
}

.af-site-footer__brand {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.af-site-footer__logo {
  display: inline-flex;
  align-items: center;
  width: min(100%, 26rem);
  padding: 0.3rem 0;
}

.af-site-footer__logo-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.af-site-footer__purpose,
.af-site-footer__tagline,
.af-site-footer__copyright {
  margin: 0;
}

.af-site-footer__purpose {
  max-width: 17rem;
  color: var(--af-footer-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.af-site-footer__tagline {
  color: rgba(236, 237, 230, 0.46);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.af-site-footer__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(10rem, 12rem));
  gap: clamp(1.4rem, 3vw, 2.7rem);
  width: fit-content;
  margin-left: auto;
}

.af-site-footer__group-title {
  margin: 0 0 0.9rem;
  color: var(--af-footer-accent);
  font-family: var(--af-footer-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .af-site-footer__brand {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  .af-site-footer__purpose {
    margin-top: auto;
  }

  .af-site-footer__group-title {
    margin-bottom: 1.35rem;
  }
}

.af-site-footer__link-list {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.af-site-footer__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  color: var(--af-footer-muted);
  font-size: 0.95rem;
  line-height: 1.2;
  transition:
    color var(--af-motion-fast) ease,
    transform var(--af-motion-fast) var(--af-motion-ease);
}

.af-site-footer__link::after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0.34rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--af-motion-fast) var(--af-motion-ease);
}

.af-site-footer__link:hover {
  color: var(--af-footer-text);
  transform: translateX(0.16rem);
}

.af-site-footer__link:hover::after {
  transform: scaleX(1);
}

.af-site-footer__logo:focus-visible,
.af-site-footer__link:focus-visible,
.af-site-footer__copyright:focus-visible,
.af-site-footer__back-to-top:focus-visible,
.af-site-footer__text-link:focus-visible,
.af-site-footer .af-button:focus-visible {
  outline: 2px solid var(--af-footer-accent);
  outline-offset: 4px;
}

.af-site-footer__legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding-inline: max(var(--af-page-pad), calc((100vw - 88rem) / 2 + var(--af-page-pad)));
  padding-block: 1.1rem 1.4rem;
  color: rgba(236, 237, 230, 0.6);
  background: var(--af-footer-bg);
  font-family: var(--af-footer-mono);
  font-size: 0.82rem;
}

.af-site-footer__legal .af-site-footer__link {
  font-family: var(--af-footer-mono);
}

.af-site-footer__copyright {
  width: fit-content;
  color: inherit;
  transition: color var(--af-motion-fast) ease;
}

.af-site-footer__copyright:hover {
  color: var(--af-footer-text);
}

.af-site-footer__back-to-top {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.45rem;
  min-height: 2rem;
  color: var(--af-footer-muted);
  transition:
    color var(--af-motion-fast) ease,
    transform var(--af-motion-fast) var(--af-motion-ease);
}

.af-site-footer__back-to-top-icon {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform var(--af-motion-fast) var(--af-motion-ease);
}

.af-site-footer__back-to-top:hover {
  color: var(--af-footer-text);
  transform: translateY(-0.08rem);
}

.af-site-footer__back-to-top:hover .af-site-footer__back-to-top-icon {
  transform: translateY(-0.14rem);
}

.af-site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  justify-content: flex-end;
  justify-self: end;
}

html[data-platform="tv"] .af-site-footer {
  display: none;
}

@media (max-width: 1023px) {
  .af-site-footer__cta-inner,
  .af-site-footer__nav {
    grid-template-columns: 1fr;
  }

  .af-site-footer__actions {
    max-width: 32rem;
  }

  .af-site-footer__groups {
    grid-template-columns: repeat(2, minmax(10rem, 1fr));
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .af-site-footer__cta,
  .af-site-footer__nav,
  .af-site-footer__legal {
    padding-inline: clamp(28px, calc(52.5vw - 140px), 49px);
  }

  .af-site-footer__cta {
    padding-block: 3.5rem 28px;
  }

  .af-site-footer__nav {
    gap: 0;
    padding-top: 3.3rem;
  }

  .af-site-footer__title {
    font-size: clamp(2.8rem, 17vw, 4.8rem);
  }

  .af-site-footer__actions {
    padding: 0.85rem;
  }

  .af-site-footer__button {
    width: 100%;
    min-height: 3.35rem;
  }

  .af-site-footer__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .af-site-footer__brand {
    justify-items: center;
    gap: 0;
    margin-bottom: 3.75rem;
    text-align: center;
  }

  .af-site-footer__logo {
    width: min(100%, 23rem);
    margin-bottom: 3rem;
    margin-inline: auto;
  }

  .af-site-footer__purpose {
    margin-top: 0;
    margin-bottom: 1.05rem;
  }

  .af-site-footer__tagline {
    margin-bottom: 0;
  }

  .af-site-footer__group-title {
    margin-bottom: 1.35rem;
  }

  .af-site-footer__link-list {
    gap: 0.28rem;
  }

  .af-site-footer__legal {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.68rem, 3vw, 0.78rem);
  }

  .af-site-footer__copyright,
  .af-site-footer__back-to-top {
    min-height: 2.75rem;
    white-space: nowrap;
  }

  .af-site-footer__copyright {
    display: inline-flex;
    align-items: center;
  }

  .af-site-footer__back-to-top {
    justify-self: end;
  }

  .af-site-footer__legal-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .af-hero__content--carousel .af-hero__slide-copy {
    max-width: min(24rem, 84vw);
  }

  .af-hero__content--carousel .af-hero__title {
    max-width: min(11.8ch, 84vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .af-site-footer__text-link,
  .af-site-footer__link,
  .af-site-footer__copyright,
  .af-site-footer__back-to-top,
  .af-site-footer__back-to-top-icon,
  .af-site-footer__link::after {
    transition: none;
  }

  .af-site-footer__text-link:hover,
  .af-site-footer__link:hover,
  .af-site-footer__back-to-top:hover,
  .af-site-footer__back-to-top:hover .af-site-footer__back-to-top-icon {
    transform: none;
  }
}
