/* Khalil Doak-Anthony — site styles */

:root {
  --bg: #100e0c;
  --ink: #f0ebe3;
  --muted: #b3a89c;
  --line: #2e2923;
  --line-strong: #3f382f;
  --fill: #1b1815;
  --gold: #c4a574;
  --gold-soft: #d6bf9a;
  --paper: #f4efe6;
  --max: 72rem;
  --measure: 38rem;
  --header-pad: 1.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Instrument Sans", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 90% 46% at 50% -12%, #1c1712 0%, var(--bg) 58%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Header
   ------------------------------------------------------------------ */

#site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.95rem 1.75rem 0;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.wordmark:hover {
  color: var(--gold-soft);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.45rem;
  list-style: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-bottom: 0.12rem;
  border-bottom: 1px solid transparent;
}

nav a:hover {
  color: var(--ink);
}

nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* Main
   ------------------------------------------------------------------ */

main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.75rem 6rem;
}

@media (min-width: 50.01rem) {
  body[data-page="home"] main {
    display: flex;
    align-items: center;
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }

  body[data-page="home"] .home {
    width: 100%;
  }
}

.page-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.75rem;
}

/* Home
   ------------------------------------------------------------------ */

.home {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.2fr);
  gap: 2.5rem 4.25rem;
  align-items: center;
}

.home-copy {
  max-width: 32rem;
}

.hero-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-surname {
  white-space: nowrap;
}

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.5vw, 2.05rem);
  color: var(--gold);
  margin-bottom: 0;
  letter-spacing: 0.015em;
  line-height: 1.15;
}

.home-intro {
  margin-top: 1.35rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 30rem;
}

.home-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.home-contact a {
  color: var(--muted);
  text-decoration: none;
}

.home-contact a:hover {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.home-figure,
.image-item {
  margin: 0;
}

.home-figure img,
.image-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(85vh, 54rem);
  object-fit: contain;
  background: transparent;
}

.home-figure img {
  width: 100%;
  max-height: min(78vh, 46rem);
  box-shadow: var(--shadow-soft);
}

figcaption,
.media-note,
.media-desc {
  margin-top: 0.8rem;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.55;
}

/* Images
   ------------------------------------------------------------------ */

.image-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  align-items: start;
}

.image-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-item.is-wide {
  grid-column: 1 / -1;
}

.image-item img {
  width: 100%;
  height: auto;
  max-height: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.image-item figcaption {
  width: 100%;
  text-align: left;
}

.image-group + .image-group {
  margin-top: 5.5rem;
}

.group-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.85rem;
}

.media-list + .group-title {
  margin-top: 4rem;
}

.media-list + .media-list {
  margin-top: 3.5rem;
}

/* Motion & Sounds
   ------------------------------------------------------------------ */

.media-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 52rem;
}

.media-item + .media-item {
  padding-top: 0;
}

.media-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.55rem;
  text-wrap: balance;
}

.sound-item .media-desc {
  margin-top: 0;
  margin-bottom: 1.05rem;
}

.listen-links {
  margin: -1.15rem 0 3rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.listen-links a {
  color: var(--ink);
  text-underline-offset: 0.16em;
  text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent);
}

.listen-links a:hover {
  color: var(--gold-soft);
}

.media-action a {
  color: var(--gold);
  text-underline-offset: 0.16em;
}

.media-action a:hover {
  color: var(--gold-soft);
}

.group-intro {
  color: var(--muted);
  margin: -0.85rem 0 2.15rem;
  max-width: 40rem;
}

video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(80vh, 54rem);
  object-fit: contain;
  background: #000;
  box-shadow: var(--shadow-soft);
}

.audio-shell {
  display: block;
  width: 100%;
  background: var(--fill);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

audio {
  display: block;
  width: 100%;
  height: 2.5rem;
  accent-color: var(--gold);
}

.embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-audio {
  aspect-ratio: auto;
  height: 166px;
  background: transparent;
}

.embed-bandcamp,
.embed-bandcamp-album {
  aspect-ratio: auto;
  height: 120px;
  background: transparent;
}

.embed-spotify-track {
  aspect-ratio: auto;
  height: 152px;
  background: transparent;
}

.embed-spotify-album {
  aspect-ratio: auto;
  height: 352px;
  background: transparent;
}

.embed-fallback {
  background: var(--fill);
  border: 1px solid var(--line);
  padding: 1.6rem 1.45rem;
  min-height: 7.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.embed-fallback-service {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.embed-fallback p:last-child {
  color: var(--ink);
  font-size: 1rem;
}

/* Thoughts
   ------------------------------------------------------------------ */

.thought-list {
  max-width: 42rem;
}

.thought-section {
  margin: 0 0 4.25rem;
}

.thought-section .thought-list {
  margin-top: 0.25rem;
}

.thought-item {
  padding: 1.65rem 0 1.7rem;
  border-top: 1px solid var(--line);
}

.thought-item:last-child {
  border-bottom: 1px solid var(--line);
}

.thought-date {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.thought-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
  text-wrap: balance;
}

.thought-title a {
  text-decoration: none;
}

.thought-title a:hover {
  color: var(--gold-soft);
}

.thought-excerpt {
  color: var(--muted);
  margin-bottom: 0.7rem;
  max-width: 38rem;
}

.thought-action a {
  font-size: 0.9375rem;
  color: var(--gold);
  text-underline-offset: 0.16em;
}

.thought-action a:hover {
  color: var(--gold-soft);
}

.thought-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  list-style: none;
  margin: 0 0 0.55rem;
  padding: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Reading / scores
   ------------------------------------------------------------------ */

.reading {
  max-width: var(--measure);
}

.back-link {
  margin-bottom: 2.15rem;
  font-size: 0.9375rem;
}

.back-link a {
  color: var(--muted);
  text-decoration: none;
}

.back-link a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.article-header {
  margin-bottom: 2.15rem;
}

.article-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.article-body {
  font-size: 1.125rem;
  line-height: 1.72;
}

.article-body p + p {
  margin-top: 1.2rem;
}

.reading .media-action {
  margin-top: 1.9rem;
}

.score-credit {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0.55rem 0 0;
  max-width: 44rem;
  line-height: 1.55;
}

.reading.score-reading {
  max-width: 56rem;
}

.score-audio {
  margin: 1.35rem 0 1.85rem;
}

.score-page {
  margin: 1.45rem 0;
}

button.score-paper {
  display: block;
  width: 100%;
  margin: 0;
  padding: 1.1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: zoom-in;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

button.score-paper:hover {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

button.score-paper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.score-fragment {
  margin: 2.4rem 0 0;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}

.score-fragment-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.score-caption {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.6rem;
  margin: 2.25rem 0 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.25rem;
  margin: 1.7rem 0 0.6rem;
}

.article-body ul {
  margin: 1rem 0 1.25rem 1.3rem;
}

.article-body li + li {
  margin-top: 0.5rem;
}

.article-body figure {
  margin: 1.75rem 0;
}

.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

/* Lightbox
   ------------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.75rem 4rem;
  background: rgba(8, 6, 5, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 3.25rem);
  object-fit: contain;
  background: #fff;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  padding: 0.45rem 0.75rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
}

.lightbox-close {
  top: 0.85rem;
  right: 0.85rem;
}

.lightbox-prev {
  left: 0.7rem;
}

.lightbox-next {
  right: 0.7rem;
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible,
button.score-paper:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Footer
   ------------------------------------------------------------------ */

#site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 1.85rem 1.75rem 2.15rem;
  background: color-mix(in srgb, var(--bg) 70%, #000);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 2rem;
  align-items: baseline;
  font-size: 0.9375rem;
  color: var(--muted);
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}

#site-footer a {
  text-decoration: none;
  color: var(--muted);
}

#site-footer a:hover {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

/* Motion (optional, reduced-motion safe)
   ------------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  .home-copy,
  .home-figure {
    animation: rise 0.9s var(--ease) both;
  }

  .home-figure {
    animation-delay: 0.12s;
  }

  nav a,
  .wordmark,
  .thought-title a,
  .thought-action a,
  .media-action a,
  .listen-links a,
  .back-link a,
  .home-contact a,
  #site-footer a,
  button.score-paper,
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s var(--ease);
  }

  .image-item img,
  .home-figure img {
    transition: box-shadow 0.4s var(--ease), filter 0.4s var(--ease);
  }

  .image-item img:hover {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  }

  button.score-paper:hover {
    transform: translateY(-2px);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }

  .lightbox:not([hidden]) img {
    animation: fade-in 0.35s var(--ease) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Breakpoints
   ------------------------------------------------------------------ */

@media (max-width: 64rem) {
  .home {
    gap: 2.25rem 2.5rem;
  }

  .hero-name {
    font-size: clamp(2.6rem, 8vw, 4.4rem);
  }
}

@media (max-width: 50rem) {
  .home {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .home-copy {
    max-width: none;
  }

  .home-figure img {
    max-height: min(70vh, 36rem);
  }
}

@media (max-width: 40rem) {
  #site-header {
    padding: 0.85rem 1.15rem 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  nav ul {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
    width: 100%;
  }

  nav a {
    font-size: 0.8125rem;
    letter-spacing: 0;
    padding-bottom: 0.2rem;
  }

  main {
    padding: 2.25rem 1.15rem 4.25rem;
  }

  .page-title {
    margin-bottom: 2rem;
  }

  .image-list {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .image-item.is-wide {
    grid-column: auto;
  }

  .media-list {
    gap: 2.75rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.3rem;
  }

  #site-footer {
    padding: 1.5rem 1.15rem 1.85rem;
  }

  .lightbox {
    padding: 3.5rem 0.85rem 1.25rem;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 0.7rem;
  }

  .audio-shell {
    border-radius: 1rem;
    padding: 0.4rem 0.55rem;
  }

  button.score-paper {
    padding: 0.65rem;
  }
}


/* Related links on individual thought pages; section-title links */
.related {
  margin-top: 2.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.related .group-title {
  margin-bottom: 0.7rem;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.related-list a {
  color: inherit;
  text-decoration: none;
}

.related-list a:hover,
.related-list a:focus-visible {
  color: var(--gold);
}

.group-title a {
  color: inherit;
  text-decoration: none;
}

.group-title a:hover,
.group-title a:focus-visible {
  color: var(--gold);
}

.media-note a {
  color: inherit;
}

.media-note a:hover,
.media-note a:focus-visible {
  color: var(--gold);
}


/* Khalil Doak-Anthony Radio — corner widget on quiet pages */
.site-radio {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}

body.has-site-radio {
  padding-bottom: 5.75rem;
}

body.has-site-radio #site-footer {
  margin-bottom: 5.5rem;
}

.site-radio-copy {
  min-width: 0;
  flex: 1;
}

.site-radio-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.site-radio-track {
  margin: 0.18rem 0 0;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-radio-controls {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.site-radio-btn {
  appearance: none;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}

.site-radio-btn:hover,
.site-radio-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.site-radio-play {
  width: 2.1rem;
  height: 2.1rem;
  font-size: 0.7rem;
}

@media (max-width: 640px) {
  .site-radio {
    right: 0.7rem;
    bottom: 0.7rem;
    padding: 0.6rem 0.7rem 0.6rem 0.85rem;
    gap: 0.6rem;
  }

  .site-radio-name {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-radio {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--fill);
  }
}


/* Recordings catalog
   ------------------------------------------------------------------ */

.catalog {
  margin-top: 4.5rem;
  max-width: 52rem;
}

.catalog-group + .catalog-group {
  margin-top: 3.5rem;
}

.catalog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog-item {
  padding: 1.15rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.catalog-item:first-child {
  border-top: 1px solid var(--line);
}

.catalog-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
}

.catalog-note,
.catalog-credit {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.55;
}

.catalog-links {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46rem;
}

.catalog-links a {
  color: var(--muted);
  text-underline-offset: 0.14em;
  text-decoration-color: color-mix(in srgb, var(--gold) 45%, transparent);
}

.catalog-links a:hover {
  color: var(--gold-soft);
}

.catalog-item .embed-facade,
.catalog-item .embed {
  margin-top: 0.85rem;
}

/* Click-to-load embeds
   ------------------------------------------------------------------ */

.embed-facade {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  position: relative;
  background: #1a1612;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
  font: inherit;
}

.embed-facade-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.embed-facade-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.4rem;
  height: 3.4rem;
  margin: -1.7rem 0 0 -1.7rem;
  border-radius: 50%;
  background: rgba(16, 14, 12, 0.72);
  border: 1px solid var(--gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.embed-facade-play::after {
  content: "";
  position: absolute;
  left: 1.28rem;
  top: 1.05rem;
  border-style: solid;
  border-width: 0.62rem 0 0.62rem 1.05rem;
  border-color: transparent transparent transparent var(--gold);
}

.embed-facade-service {
  position: absolute;
  top: 0.7rem;
  left: 0.85rem;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.embed-facade-caption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.7rem;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--ink);
}

.embed-facade:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.embed-spotify-track.embed-facade,
.embed-spotify-album.embed-facade,
.embed-bandcamp.embed-facade,
.embed-bandcamp-album.embed-facade {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  height: auto;
  aspect-ratio: auto;
  padding: 1rem 1.15rem 1rem 4.4rem;
  border: 1px solid var(--line);
  background: var(--fill);
}

.embed-spotify-track.embed-facade .embed-facade-play,
.embed-spotify-album.embed-facade .embed-facade-play,
.embed-bandcamp.embed-facade .embed-facade-play,
.embed-bandcamp-album.embed-facade .embed-facade-play {
  left: 0.85rem;
  top: 50%;
  margin: -1.15rem 0 0 0;
  width: 2.3rem;
  height: 2.3rem;
}

.embed-spotify-track.embed-facade .embed-facade-play::after,
.embed-spotify-album.embed-facade .embed-facade-play::after,
.embed-bandcamp.embed-facade .embed-facade-play::after,
.embed-bandcamp-album.embed-facade .embed-facade-play::after {
  left: 0.86rem;
  top: 0.7rem;
  border-width: 0.44rem 0 0.44rem 0.72rem;
}

.embed-spotify-track.embed-facade .embed-facade-service,
.embed-spotify-album.embed-facade .embed-facade-service,
.embed-bandcamp.embed-facade .embed-facade-service,
.embed-bandcamp-album.embed-facade .embed-facade-service {
  position: static;
  display: block;
}

.embed-spotify-track.embed-facade .embed-facade-caption,
.embed-spotify-album.embed-facade .embed-facade-caption,
.embed-bandcamp.embed-facade .embed-facade-caption,
.embed-bandcamp-album.embed-facade .embed-facade-caption {
  position: static;
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
}

.embed-spotify-track.embed-facade,
.embed-spotify-album.embed-facade,
.embed-bandcamp.embed-facade,
.embed-bandcamp-album.embed-facade {
  flex-wrap: wrap;
  gap: 0 0.7rem;
}
