/* Responsive finishing layer. Keep the main visual system in site.css. */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
iframe {
  max-width: 100%;
}

.hero-bottom {
  align-items: flex-end;
}

.hero-intro {
  min-width: 0;
}

.circle-link {
  flex: 0 0 auto;
  width: 70px;
  min-width: 70px;
  height: 70px;
  aspect-ratio: 1 / 1;
}

.player-frame {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.player-frame iframe {
  width: 100%;
}

.listen-copy,
.about-content {
  min-width: 0;
}

.release-links {
  margin-top: 34px;
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.platform-links .button {
  flex: 0 0 auto;
}

.analytics-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: min(620px, calc(100vw - 36px));
  padding: 16px 18px;
  border: 1px solid var(--orange);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--orange);
}

.analytics-consent strong {
  display: block;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.analytics-consent p {
  max-width: 420px;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.analytics-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.analytics-consent button {
  border: 1px solid var(--ink);
  padding: 10px 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.analytics-consent button:last-child {
  border-color: var(--orange);
  background: var(--orange);
}

.analytics-consent button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 800px) {
  .hero-bottom {
    gap: 18px;
  }

  .circle-link {
    width: 54px;
    min-width: 54px;
    height: 54px;
  }

  .archive-grid {
    gap: 12px;
  }

  .archive-card {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 12px;
  }

  .header-link {
    max-width: 128px;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .hero-bottom {
    align-items: flex-start;
    gap: 14px;
  }

  .hero-intro {
    flex: 1 1 auto;
    font-size: clamp(16px, 4.6vw, 20px);
  }

  .circle-link {
    width: 52px;
    min-width: 52px;
    height: 52px;
  }

  .section-heading h2 {
    font-size: clamp(50px, 15vw, 80px);
  }

  .about-content h2 {
    font-size: clamp(54px, 16vw, 88px);
  }

  .button {
    min-height: 46px;
  }

  .platform-links .button {
    flex: 1 1 135px;
  }

  .analytics-consent {
    right: 12px;
    bottom: 12px;
    display: block;
    max-width: calc(100vw - 24px);
    box-shadow: 5px 5px 0 var(--orange);
  }

  .analytics-consent__actions {
    margin-top: 12px;
  }

  .analytics-consent button {
    flex: 1 1 0;
  }
}
