@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-Black.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: dark;
  --ink: #050506;
  --panel: #0b0d0e;
  --panel-raised: #101416;
  --paper: #f4f5f5;
  --mist: rgba(244, 245, 245, 0.68);
  --line: rgba(244, 245, 245, 0.15);
  --line-strong: rgba(244, 245, 245, 0.28);
  --cyan: #39e6f2;
  --amber: #f2a33c;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(57, 230, 242, 0.07), transparent 26rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--display);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-180%);
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.release-header {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.release-header p {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 8px;
  color: var(--mist);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.release-header p span,
.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(57, 230, 242, 0.7);
}

main {
  min-height: calc(100vh - 60px);
}

.art-plane {
  position: relative;
  min-height: 64vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #020303;
}

.art-plane::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.05) 35%, rgba(5, 5, 6, 0.9) 100%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(244, 245, 245, 0.025) 4px);
  content: "";
  pointer-events: none;
}

.art-plane img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: contrast(1.08) saturate(0.86);
}

.art-scan {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 16px rgba(57, 230, 242, 0.52);
  animation: release-scan 7s linear infinite;
}

.art-copy {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 42px;
  left: 20px;
}

.art-copy p,
.eyebrow,
.service-rack small,
.smart-routing p,
.smart-routing span,
footer {
  font-family: var(--mono);
  text-transform: uppercase;
}

.art-copy p {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.art-copy strong {
  display: block;
  font-size: clamp(50px, 16vw, 82px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.78;
  text-transform: uppercase;
}

.listen-plane {
  padding: 32px 20px 24px;
}

.release-intro {
  margin-bottom: 28px;
}

.eyebrow {
  display: flex;
  margin: 0 0 16px;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 15vw, 76px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.78;
  text-transform: uppercase;
}

.artist {
  margin: 16px 0 0;
  color: var(--amber);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.release-description {
  max-width: 34rem;
  margin: 20px 0 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.55;
}

.service-rack {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.service-rack a {
  display: grid;
  min-height: 68px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 42px 1fr 24px;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, padding 160ms ease;
}

.service-rack a:hover {
  padding-right: 12px;
  padding-left: 12px;
  border-color: rgba(57, 230, 242, 0.58);
  background: var(--panel-raised);
}

.service-code {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-code--spotify {
  color: #56e88c;
}

.service-code--apple {
  color: #ff708f;
}

.service-code--youtube {
  color: #ff6262;
}

.service-code--deezer {
  color: #bfa4ff;
}

.service-code--amazon {
  color: #55c8ff;
}

.service-code--pandora {
  color: #70a6ff;
}

.service-rack a > span:nth-child(2) {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.service-rack strong {
  color: var(--paper);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.service-rack small {
  color: rgba(244, 245, 245, 0.76);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.service-rack b {
  color: var(--cyan);
  font-size: 15px;
  font-weight: 400;
  text-align: right;
}

.smart-routing {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(57, 230, 242, 0.42);
  background: rgba(57, 230, 242, 0.035);
}

.smart-routing p {
  margin: 0 0 5px;
  color: var(--paper);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.smart-routing span {
  color: var(--mist);
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.smart-routing > a {
  flex: 0 0 auto;
  padding: 12px 14px;
  border: 1px solid var(--paper);
  color: var(--paper);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

footer {
  display: flex;
  margin-top: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(244, 245, 245, 0.54);
  font-size: 8px;
  letter-spacing: 0.1em;
}

footer a {
  color: var(--paper);
  text-underline-offset: 4px;
}

footer p {
  margin: 0;
  text-align: right;
}

@keyframes release-scan {
  0%,
  18% {
    top: 4%;
    opacity: 0;
  }

  24% {
    opacity: 0.78;
  }

  68% {
    top: 92%;
    opacity: 0.7;
  }

  74%,
  100% {
    top: 92%;
    opacity: 0;
  }
}

@media (min-width: 860px) {
  .release-header {
    padding: 0 32px;
  }

  main {
    display: grid;
    min-height: calc(100vh - 60px);
    grid-template-columns: minmax(380px, 0.9fr) minmax(520px, 1.1fr);
  }

  .art-plane {
    position: sticky;
    top: 0;
    height: calc(100vh - 60px);
    min-height: 660px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .art-copy {
    right: 38px;
    bottom: 54px;
    left: 38px;
  }

  .listen-plane {
    display: flex;
    max-width: 860px;
    min-height: calc(100vh - 60px);
    padding: clamp(46px, 6vw, 84px);
    flex-direction: column;
    justify-content: center;
  }

  .service-rack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .service-rack a:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .art-scan {
    display: none;
    animation: none;
  }

  .service-rack a {
    transition: none;
  }
}
