@font-face {
  font-family: "ibm plex mono";
  src: url("/fonts/ibm-plex-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "ibm plex mono", monospace;
  background: #000;
  color: #ff202e;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: #000;
}

.terminal {
  min-height: 100vh;
  padding: 3rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgb(255 32 46 / 35%);
}

.cursor {
  display: inline-block;
  margin-left: 0.08em;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.releases {
  width: 100%;
  margin-top: 4rem;
}

.releases h2 {
  margin: 0 0 1rem;
  color: #ff202e;
  font-size: 1rem;
  font-weight: 400;
  text-transform: lowercase;
}

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

.release {
  min-width: 0;
}

.release-artwork-link {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 250px;
  perspective: 700px;
}

.release-artwork-link:hover,
.release-artwork-link:focus-visible {
  z-index: 1;
}

.release-artwork {
  display: block;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1;
  object-fit: cover;
  background: #080303;
  transform-origin: center bottom;
  animation: artwork-in 700ms ease-out both;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.release-artwork-link::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: #ff202e;
  content: "";
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: color;
  transform-origin: center bottom;
  transition: opacity 220ms ease, transform 220ms ease;
}

.release-artwork-link:hover .release-artwork,
.release-artwork-link:focus-visible .release-artwork {
  transform: translate3d(0, -14px, 30px) rotateX(8deg) scale(1.04);
  box-shadow: 0 18px 30px rgb(255 32 46 / 40%);
}

.release-artwork-link:hover::after,
.release-artwork-link:focus-visible::after {
  opacity: 0.45;
  transform: translate3d(0, -14px, 30px) rotateX(8deg) scale(1.04);
}

@keyframes artwork-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.release-info {
  max-width: 250px;
  padding-top: 0.65rem;
}

.release-info h3,
.release-info p {
  margin: 0;
  overflow-wrap: anywhere;
}

.release-info h3 {
  font-size: 0.9rem;
  font-weight: 600;
}

.release-info p {
  margin-top: 0.35rem;
  color: #a84a50;
  font-size: 0.75rem;
}

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

.release a:hover,
.release a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 50rem) {
  .release-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 30rem) {
  .terminal {
    padding: 1.5rem;
  }

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

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

  .release-artwork {
    animation: none;
    transition: none;
  }

  .release-artwork-link::after {
    transition: none;
  }
}

body {
  background:
    radial-gradient(ellipse at 15% 0%, rgb(120 0 12 / 20%), transparent 42%),
    #000;
}

.release {
  padding: 0.65rem;
  border: 1px solid rgb(255 32 46 / 20%);
  border-radius: 0.35rem;
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 5%),
    rgb(255 32 46 / 3%) 35%,
    #050202 75%
  );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 7%),
    0 8px 24px rgb(0 0 0 / 45%);
}

.release-artwork-link::after {
  background:
    linear-gradient(
      135deg,
      rgb(255 255 255 / 42%),
      transparent 28%,
      transparent 60%,
      rgb(255 32 46 / 36%)
    );
  mix-blend-mode: screen;
  opacity: 0.14;
}

.release-artwork-link:hover::after,
.release-artwork-link:focus-visible::after {
  opacity: 0.6;
}

.release-artwork {
  outline: 1px solid rgb(255 255 255 / 8%);
  outline-offset: -1px;
}

.terminal {
  position: relative;
}

.social-links {
  position: absolute;
  top: 2rem;
  right: 3rem;
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  display: grid;
  width: 2.75rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 32 46 / 45%);
  border-radius: 0.5rem;
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 13%),
    rgb(255 32 46 / 10%) 45%,
    #080303 80%
  );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 22%),
    0 0.4rem 1rem rgb(0 0 0 / 55%);
  color: #ff202e;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 0 0.6rem rgb(255 32 46 / 60%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-4px);
  border-color: #ff202e;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 35%),
    0 0.6rem 1.3rem rgb(255 32 46 / 22%);
}

@media (max-width: 30rem) {
  .social-links {
    top: 1rem;
    right: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-links a {
    transition: none;
  }
}

.social-links svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.social-links .soundcloud-icon {
  width: 1.55rem;
  height: auto;
}


/* per-song pages */
.song-page {
  width: min(100%, 72rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 3rem 4rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: #ff525d;
  font-size: 0.85rem;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: #fff;
}

.song-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(1rem, 4vw, 3rem);
  border: 1px solid rgb(255 32 46 / 30%);
  border-radius: 0.6rem;
  background: linear-gradient(145deg, rgb(255 255 255 / 7%), #080303 55%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 1rem 3rem rgb(0 0 0 / 60%);
}

.song-artwork {
  display: block;
  width: 100%;
  max-width: 32rem;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgb(255 255 255 / 12%);
  box-shadow: 0 1rem 2.5rem rgb(255 32 46 / 18%);
}

.song-kicker {
  color: #ff525d;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.song-details h1 {
  margin: 0.5rem 0 1.5rem;
  font-size: clamp(2rem, 6vw, 4.5rem);
  overflow-wrap: anywhere;
}

.song-meta {
  margin: 0.5rem 0;
  color: #c76a70;
  font-size: 0.9rem;
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.platform-links a {
  padding: 0.75rem 1rem;
  border: 1px solid rgb(255 32 46 / 45%);
  border-radius: 0.35rem;
  background: linear-gradient(145deg, rgb(255 255 255 / 12%), #100306 70%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 0.4rem 1rem rgb(0 0 0 / 45%);
  color: #ff525d;
  font-size: 0.8rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.platform-links a:hover,
.platform-links a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0.6rem 1.2rem rgb(255 32 46 / 22%);
}

@media (max-width: 42rem) {
  .song-page {
    padding: 1.5rem;
  }

  .song-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .song-artwork {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-links a {
    transition: none;
  }
}

.song-description {
  white-space: pre-wrap;
}


.site-footer {
  padding: 2rem 1rem;
  color: var(--red);
  font-family: inherit;
  font-size: 0.85rem;
  text-align: center;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.2em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

