/* ═══════════════════════════════════════════════════════════

       LISTEN SECTION
    ═══════════════════════════════════════════════════════════ */
#listen {
  position: relative;
  overflow: hidden;
  padding: calc(var(--section-pad-y) + var(--diag-h)) var(--section-pad-x) var(--section-pad-y);
}



.listen__inner {
  position: relative;
  z-index: 2;
  /* content above decorative cover art */
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: center;
}

/* Left column: heading block */
.listen__header {
  position: relative;
}

.listen__accent {
  color: var(--color-purple);
}

.listen__desc {
  margin-top: 1.6rem;
  font-size: .82rem;
  color: var(--color-steel);
  line-height: 1.95;
  max-width: 340px;
}

/* Right column: embed + CTA */
.listen__embed {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* Decorative frame wrapping the Spotify iframe */
.listen__embed-frame {
  position: relative;
  border: var(--border-dim);
  box-shadow: var(--shadow-purple);
  overflow: hidden;
  /* Offset "cut-corner" accent */
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

/* Clip-path on the iframe container means the iframe sits flush */
.listen__embed-frame iframe {
  display: block;
  border-radius: 0;
}

/* Thin purple accent line on the left edge */
.listen__embed-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-purple);
  z-index: 1;
  pointer-events: none;
}

/* Cut-corner decorative triangle (top-right) */
.listen__embed-frame::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent var(--color-purple) transparent transparent;
  z-index: 2;
  pointer-events: none;
}

.listen__cta-row {
  display: flex;
  justify-content: flex-start;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .listen__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .listen__desc {
    max-width: 100%;
  }

  .listen__cover-art {
    width: clamp(240px, 50vw, 380px);
    left: -10%;
    opacity: 0.08;
  }
}

@media (max-width: 600px) {
  #listen {
    padding: calc(var(--section-pad-y) + var(--diag-h)) 1.4rem var(--section-pad-y);
  }

  .listen__cover-art {
    display: none;
    /* too small to add value, avoid clutter */
  }
}