:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #151515;
  --panel-soft: #1d1d1d;
  --text: #f7f7f2;
  --muted: #a8a8a0;
  --line: #2b2b2b;
  --blue: #69b8ff;
  --orange: #c4713f;
  --teal: #62a6a8;
  --violet: #762078;
  --yellow: #efff00;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.has-modal {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 18px max(16px, calc((100vw - 1120px) / 2));
  background: rgb(5 5 5 / 92%);
  border-bottom: 1px solid #3a3a3a;
  box-shadow: 0 10px 28px rgb(0 0 0 / 34%);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: min(360px, 46vw);
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.main-nav a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  padding: 0 14px;
  text-decoration: none;
}

.main-nav a:hover,
.button:hover {
  border-color: var(--orange);
}

.button--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #070707;
  font-weight: 700;
}

.hero,
.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 112px);
  padding: 28px 0 64px;
}

.hero__copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.1;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.colour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  border: 4px solid #050505;
  background: #050505;
  box-shadow: 0 0 0 1px var(--line);
}

.tile {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  width: 100%;
  background: #f2f2ee;
  border: 4px solid #050505;
  color: #050505;
  font: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, filter 160ms ease, transform 160ms ease;
}

button.tile {
  padding: 0;
}

.tile > span {
  grid-area: 1 / 1;
}

.colour-grid .tile:hover,
.colour-grid .tile:focus-visible {
  border-color: #050505;
  background-color: #d8f0f2;
  filter: brightness(1.22) saturate(1.24);
  transform: translateY(-2px);
}

.tile--orange:hover,
.tile--orange:focus-visible {
  background-color: #e43b0a;
}

.tile--violet:hover,
.tile--violet:focus-visible {
  background-color: var(--violet);
}

.tile--yellow:hover,
.tile--yellow:focus-visible {
  background-color: var(--yellow);
}

.tile--blue:hover,
.tile--blue:focus-visible {
  background-color: #244ecb;
}

.tile--cyan:hover,
.tile--cyan:focus-visible {
  background-color: #86c8e0;
}

.tile--teal:hover,
.tile--teal:focus-visible {
  background-color: var(--teal);
}

.tile--black:hover,
.tile--black:focus-visible {
  background-color: #000;
}

.tile--grey:hover,
.tile--grey:focus-visible {
  background-color: #aaa;
}

.tile span {
  display: block;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  background: rgb(0 0 0 / 78%);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.tile:hover span,
.tile:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.tile--orange {
  background: #e43b0a;
}

.tile--violet {
  background: var(--violet);
}

.tile--yellow {
  background: var(--yellow);
}

.tile--blue {
  background: #244ecb;
}

.tile--cyan {
  background: #86c8e0;
}

.tile--teal {
  background: var(--teal);
}

.tile--black {
  background: #000;
}

.tile--grey {
  background: #aaa;
}

.tile--bottom-right {
  grid-column: 4;
}

.section {
  scroll-margin-top: 40px;
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.section__heading {
  max-width: 680px;
}

.catalogue-tools {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(360px, 1fr);
  align-items: end;
  column-gap: 14px;
  row-gap: 20px;
  margin: 28px 0 14px;
}

.search-field {
  display: grid;
  gap: 6px;
  max-width: 420px;
}

.search-field span,
.select-field span {
  color: var(--muted);
  font-size: 13px;
}

.search-field input,
.select-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: var(--text);
  font: inherit;
  padding: 0 12px;
}

.sort-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.select-field {
  display: grid;
  gap: 6px;
  min-width: min(220px, 100%);
}

.select-field select:disabled {
  color: var(--muted);
  opacity: 0.68;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalogue-tools > .filter-group {
  grid-column: 1 / -1;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--orange);
}

.filter-button.is-active {
  background: var(--orange);
  color: #070707;
  font-weight: 700;
}

.catalogue-count,
.empty-state {
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.release-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  min-height: 188px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 160ms ease;
}

.release-card[hidden] {
  display: none;
}

.release-card:hover,
.release-card:focus-within {
  border-color: var(--orange);
}

.release-card__cover-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.release-card__cover-link .cover {
  transition: filter 160ms ease, transform 160ms ease;
}

.release-card__cover-link:hover .cover,
.release-card__cover-link:focus-visible .cover {
  filter: saturate(1.08) contrast(1.05);
  transform: translateY(-1px);
}

.release-card__title-link {
  color: inherit;
  text-decoration: none;
}

.release-card__title-link:hover,
.release-card__title-link:focus-visible {
  color: var(--orange);
}
.release-card__meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.release-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 8px;
  border: 1px solid var(--line);
  padding: 0 10px;
  color: var(--blue);
  text-decoration: none;
}

.release-card__link:hover {
  border-color: var(--orange);
}

.release-card p a,
.release-section p a,
.artist-profile__description a {
  color: var(--blue);
}

.artist-profile__description p {
  margin-bottom: 12px;
}

.artist-profile__description p:last-child {
  margin-bottom: 0;
}

.cover {
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid #000;
  background: #333;
}

.cover--image {
  background: #0b0b0b;
  overflow: hidden;
}

.cover--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover--rgbw {
  background:
    linear-gradient(90deg, transparent 47%, #0b0b0b 47% 53%, transparent 53%),
    linear-gradient(transparent 47%, #0b0b0b 47% 53%, transparent 53%),
    conic-gradient(from 45deg, #f6f6f6, #e33d12, #f6f6f6, #111, #f6f6f6, #6eb7c4, #f6f6f6);
}

.cover--moon {
  background: radial-gradient(circle at 62% 35%, #fff 0 16%, transparent 17%),
    linear-gradient(135deg, #171717, #7a2c7b 45%, #120d18);
}

.cover--line {
  background: repeating-linear-gradient(135deg, #111 0 8px, #d6d6ce 8px 12px);
}

.cover--dark {
  background: radial-gradient(circle at 72% 26%, #5f5f5f, transparent 25%),
    linear-gradient(135deg, #030303, #242424);
}

.cover--drone {
  background: repeating-radial-gradient(circle at 50% 50%, #121212 0 12px, #353535 12px 14px);
}

.cover--elmo {
  background:
    linear-gradient(90deg, transparent 48%, #090909 48% 54%, transparent 54%),
    linear-gradient(#e14712 0 35%, #f3f1e8 35% 68%, #63a9b0 68%);
}

.section--split {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 36px;
}

.artist-list {
  display: grid;
  gap: 8px;
}

.artist-profile {
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.artist-profile[open] {
  border-color: #3a3a3a;
}

.artist-profile summary {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  list-style: none;
  transition: background-color 180ms ease;
}

.artist-profile summary:hover {
  background: #151515;
}

.artist-profile:hover,
.artist-profile:focus-within {
  border-color: var(--orange);
}

.artist-profile summary::-webkit-details-marker {
  display: none;
}

.artist-profile summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: 700;
}

.artist-profile[open] summary::before {
  content: "-";
  color: var(--orange);
}

.artist-profile summary span {
  min-width: 0;
  font-weight: 700;
}

.artist-profile summary small {
  margin-left: auto;
  font-weight: 700;
}

.artist-profile small {
  color: var(--muted);
  text-align: right;
}

.artist-profile__body {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  padding: 0 16px 16px;
  will-change: height, opacity;
}

.artist-image {
  aspect-ratio: 1;
  border: 1px solid #050505;
  background: var(--panel-soft);
}

.artist-image--photo {
  overflow: hidden;
}

.artist-image--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-image--jovica {
  background: radial-gradient(circle at 30% 35%, #69b8ff 0 18%, transparent 19%),
    linear-gradient(135deg, #151515, #3b4652);
}

.artist-image--lounasan {
  background: linear-gradient(135deg, #101010, #1d5963 48%, #c4713f);
}

.artist-image--moebius {
  background: conic-gradient(from 90deg, #e43b0a, #efff00, #62a6a8, #762078, #e43b0a);
}

.artist-image--onsturicheit {
  background: repeating-linear-gradient(45deg, #111 0 10px, #c4713f 10px 18px, #762078 18px 24px);
}

.artist-image--sjoko {
  background: radial-gradient(circle, #f2f2ee 0 12%, transparent 13%),
    repeating-conic-gradient(#111 0 12deg, #e43b0a 12deg 24deg);
}

.artist-profile__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.artist-profile__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
}

.artist-profile__stats div {
  padding: 10px;
  background: #0d0d0d;
  border: 1px solid var(--line);
}

.artist-profile__stats dt {
  color: var(--muted);
  font-size: 12px;
}

.artist-profile__stats dd {
  margin: 2px 0 0;
}

.artist-profile__links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 0 10px;
  color: var(--blue);
  text-decoration: none;
}

.artist-profile__links a:hover {
  border-color: var(--orange);
}

.media-wall {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: minmax(180px, 22vw);
  gap: 8px;
  margin-top: 28px;
}

.media-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
}

.media-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 220ms ease, filter 220ms ease;
}

.media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 8%), rgb(0 0 0 / 82%));
}

.media-tile:hover::before,
.media-tile:focus-visible::before {
  filter: saturate(1.22) contrast(1.08);
  transform: scale(1.03);
}

.media-tile--large {
  grid-row: span 2;
}

.media-tile--has-image::before {
  display: none;
}

.media-tile__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.media-tile:hover .media-tile__image,
.media-tile:focus-visible .media-tile__image {
  filter: saturate(1.22) contrast(1.08);
  transform: scale(1.03);
}

.media-tile--rgbw::before {
  background:
    linear-gradient(90deg, transparent 48%, #050505 48% 53%, transparent 53%),
    linear-gradient(transparent 48%, #050505 48% 53%, transparent 53%),
    conic-gradient(from 45deg, #f1f1ea, #e43b0a, #f1f1ea, #050505, #f1f1ea, #62a6a8, #f1f1ea);
}

.media-tile--moon::before {
  background:
    radial-gradient(circle at 62% 36%, #f7f7f2 0 10%, transparent 11%),
    linear-gradient(135deg, #111, #762078 48%, #121212);
}

.media-tile--dark::before {
  background:
    radial-gradient(circle at 74% 22%, #777 0 8%, transparent 22%),
    repeating-linear-gradient(135deg, #050505 0 12px, #252525 12px 15px);
}

.media-tile--signal::before {
  background:
    linear-gradient(rgb(0 0 0 / 20%), rgb(0 0 0 / 20%)),
    repeating-linear-gradient(90deg, #e43b0a 0 18px, #f1f1ea 18px 36px, #62a6a8 36px 54px, #101010 54px 72px);
}

.media-tile__play {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 42%);
  background: rgb(0 0 0 / 54%);
}

.media-tile__play::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 12px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--text);
}

.media-tile__play--image::before {
  left: 12px;
  top: 12px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--text);
  border-top-color: var(--text);
  border-right-color: var(--text);
  border-bottom-color: var(--text);
  border-left-color: var(--text);
}

.media-tile__play--image::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 14px;
  width: 6px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--text);
}

.media-tile__text {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 18px;
}

.media-tile__text strong {
  font-size: clamp(17px, 2.4vw, 28px);
  line-height: 1;
}

.media-tile__text small {
  color: #d8d8d0;
  font-size: 14px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 82%);
}

.video-modal__panel {
  position: relative;
  width: min(980px, 100%);
  background: #070707;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgb(0 0 0 / 70%);
}

.video-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.video-modal__header h2 {
  margin: 0;
  font-size: 20px;
}

.video-modal__close {
  min-height: 36px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  cursor: pointer;
}

.video-modal__close:hover {
  border-color: var(--orange);
}

.video-modal__frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-modal__frame img {
  display: block;
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
}

.video-modal__caption {
  margin: 0;
  padding: 12px 14px 16px;
  color: var(--muted);
}


.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 32px;
  align-items: center;
}

.about__copy {
  max-width: 760px;
}

.about__remembrance {
  margin-left: 0;
  margin-top: 25px;
}

.about__remembrance img {
  display: block;
  width: 250px;
  height: auto;
  border: 4px solid #050505;
  box-shadow: 0 0 0 1px var(--line);
}

.about__image {
  margin: 0;
}

.about__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 4px solid #050505;
  box-shadow: 0 0 0 1px var(--line);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.6fr);
  gap: 32px;
  align-items: start;
  min-height: calc(100vh - 120px);
  margin-bottom: 80px;
}

.contact__panels {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.button--disabled {
  color: var(--muted);
  cursor: default;
  opacity: 0.62;
}

.contact-card__label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.contact-card__address {
  margin-bottom: 18px;
  font-size: 22px;
  line-height: 1.2;
}

.contact-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.release-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 20px 0 28px;
  border: 1px solid var(--line);
  padding: 0 12px;
  color: var(--blue);
  text-decoration: none;
}

.back-link:hover {
  border-color: var(--orange);
}

.release-hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.release-cover {
  width: 100%;
  max-width: 360px;
}

.release-hero__content h1 {
  margin-bottom: 18px;
  font-size: 70px;
  line-height: 1.08;
}

.release-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.release-facts div {
  padding: 12px;
  background: #0d0d0d;
  border: 1px solid var(--line);
}

.release-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.release-facts dd {
  margin: 3px 0 0;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.release-section {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.service-link-list {
  display: grid;
  gap: 20px;
}

.service-link-group {
  display: grid;
  gap: 10px;
}

.service-link-group h3 {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-link-group__items {
  display: grid;
  gap: 8px;
}

.service-link {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px;
  background: #e7e4dc;
  border: 1px solid var(--line);
  color: #151515;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.service-link:hover {
  border-color: var(--orange);
  transform: translateY(-1px);
}

.service-link strong {
  color: #151515;
  font-size: 16px;
}

.service-link small {
  color: #686156;
  font-size: 12px;
}

.service-link--primary {
  border-color: var(--orange);
}

.service-link--primary small {
  color: #4c3b22;
}

.service-link--disabled {
  background: #1a1a1a;
  color: var(--muted);
  opacity: 1;
}

.service-link--disabled strong {
  color: var(--muted);
}

.service-link--disabled small {
  color: #7d7a73;
}

.service-link__brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.service-link__brand > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.service-link__logo {
  flex: 0 0 112px;
  width: 112px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
}

.service-link__logo--fallback {
  display: inline-grid;
  flex: 0 0 112px;
  width: 112px;
  height: 30px;
  place-items: center;
  background: #1b1a18;
  color: #fff;
  font-weight: 700;
}

.service-link__action {
  flex: 0 0 auto;
  min-width: 86px;
  padding: 9px 14px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.service-link--disabled .service-link__action {
  background: #2b2925;
  color: #8f8b83;
}

.services-modal[hidden] {
  display: none;
}

.services-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
}

.services-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 82%);
}

.services-modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  background: #070707;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgb(0 0 0 / 70%);
}

.services-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.services-modal__header h2 {
  margin: 0;
  font-size: 24px;
}

.services-modal__close {
  min-height: 36px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  cursor: pointer;
}

.services-modal__close:hover {
  border-color: var(--orange);
}

#services-modal-content {
  padding: 18px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 12;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: #e7e4dc;
  color: #151515;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease, border-color 150ms ease;
  cursor: pointer;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--orange);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.has-modal .back-to-top {
  opacity: 0;
  pointer-events: none;
}

.release-section h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.related-group {
  display: grid;
  gap: 12px;
}

.related-group + .related-group {
  margin-top: 28px;
}

.related-group h3 {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.related-releases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.related-releases a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 136px;
  border: 1px solid var(--line);
  padding: 12px;
  color: var(--blue);
  text-decoration: none;
  background: var(--panel);
  transition: border-color 160ms ease;
}

.related-releases a > span {
  display: grid;
  gap: 4px;
}

.related-releases strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
  transition: color 160ms ease;
}

.related-releases small {
  color: var(--muted);
}

.related-releases__cover {
  width: 112px;
  transition: filter 160ms ease, transform 160ms ease;
}

.related-releases a:hover,
.related-releases a:focus-visible {
  border-color: var(--orange);
}

.related-releases a:hover .related-releases__cover,
.related-releases a:focus-visible .related-releases__cover {
  filter: saturate(1.08) contrast(1.05);
  transform: translateY(-1px);
}

.related-releases a:hover strong,
.related-releases a:focus-visible strong {
  color: var(--orange);
}

@media (max-width: 840px) {
  .site-header,
  .hero,
  .catalogue-tools,
  .section--split,
  .about,
  .contact {
    display: block;
  }

  .sort-tools {
    margin-top: 14px;
  }

  .main-nav {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .brand__logo {
    width: min(360px, 100%);
  }

  .hero {
    min-height: auto;
  }

  .colour-grid {
    margin-top: 34px;
    grid-template-columns: repeat(4, minmax(58px, 1fr));
  }

  .release-grid,
  .media-wall {
    grid-template-columns: 1fr;
  }

  .media-wall {
    grid-auto-rows: minmax(190px, auto);
  }

  .media-tile--large {
    grid-row: span 1;
  }

  .about__image {
    margin-top: 24px;
  }

  .contact__panels {
    margin-top: 24px;
  }

  .release-hero {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .release-hero__content {
    order: -1;
  }

  .release-cover {
    width: min(280px, 100%);
  }

  .service-link-list {
    gap: 16px;
  }

  .service-link {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .service-link__brand {
    align-items: flex-start;
  }

  .service-link__action {
    width: 100%;
  }

  .related-releases {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .release-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .artist-profile__body {
    grid-template-columns: 1fr;
  }

  .artist-profile__stats {
    grid-template-columns: 1fr;
  }

  .artist-profile summary {
    flex-wrap: wrap;
  }

  .artist-profile small {
    flex-basis: 100%;
    margin-left: 38px;
    text-align: left;
  }

  .release-facts {
    grid-template-columns: 1fr;
  }

  .related-releases a {
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 108px;
  }

  .related-releases__cover {
    width: 84px;
  }
}
