/**
 * DJ Refresh — About (Dark Band).
 * Figma node 44:1258. Black band, photo on the left fading to black at its right edge, text on
 * the right. Figma frame is 1600x440.
 */

.djr-about {
  position: relative;
  background: #000000;
  overflow: hidden;
}

/* ---------- Left photo (fades to black on its right edge) ---------- */

.djr-about__media {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  /* Figma: image is 787 of 1600. */
  width: 49%;
}

.djr-about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

/* Blend the photo's right edge into the black band. Figma: gradient to the left, black at the
   right edge fading to transparent ~32% in. */
.djr-about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, #000000 0%, rgba(0, 0, 0, 0) 34%);
}

/* ---------- Right content ---------- */

.djr-about__inner {
  position: relative; /* above the absolutely-placed photo */
  max-width: 1600px;
  margin: 0 auto;
  min-height: 440px;
  display: flex;
  align-items: center;
}

.djr-about__content {
  /* Sits in the right half, past the photo. Figma: content starts at x867 (~54%), heading 622
     wide, right edge ~111px from the frame edge. */
  margin-left: 54%;
  max-width: 622px;
  padding-inline: clamp(24px, 3vw, 40px) clamp(24px, 7vw, 111px);
  padding-block: clamp(48px, 6vw, 72px);
}

.djr-about__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--djr-red);
}

.djr-about__heading {
  margin-top: 14px;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--djr-white);
}

.djr-about__body {
  margin-top: 20px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.djr-about__actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  flex-wrap: wrap;
}

/* White pill on the dark band (the base .djr-btn provides padding / radius / type). */
.djr-about__cta {
  background: var(--djr-white);
  color: var(--djr-ink);
  text-decoration: none !important;
}

.djr-about__cta:hover,
.djr-about__cta:focus-visible {
  background: var(--djr-red);
  color: var(--djr-white);
}

.djr-about__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--djr-white);
  text-decoration: none !important;
  transition: color 0.18s ease;
}

.djr-about__link:hover,
.djr-about__link:focus-visible {
  color: var(--djr-red);
}

.djr-about__link-arrow {
  transition: transform 0.18s ease;
}

.djr-about__link:hover .djr-about__link-arrow {
  transform: translateX(3px);
}

/* ---------- Mobile (Figma: CDJ — Homepage Mobile 390, "About — Mobile") ----------
 * Photo on top fading to black, text below, full-width CTA, centred link beneath it.
 */
@media (max-width: 768px) {
  .djr-about__media {
    position: relative;
    width: 100%;
    height: 240px;
  }

  /* Photo sits on top; the fade runs bottom-to-black instead of right-to-black. */
  .djr-about__media::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, #000000 100%);
  }

  .djr-about__inner {
    display: block;
    min-height: 0;
  }

  .djr-about__content {
    margin-left: 0;
    max-width: none;
    padding: 24px 24px 40px;
  }

  .djr-about__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
  }

  .djr-about__cta {
    width: 100%;
    justify-content: center;
  }

  .djr-about__link {
    width: 100%;
    justify-content: center;
  }
}
