@charset "UTF-8";

/* =========================================================
   ABYSSAL WRAITH
   THE MUSIC ARCHIVE
   ========================================================= */

:root {
  color-scheme: dark;

  --bg: #100e10;
  --bg-deep: #0b090b;
  --panel: #171214;
  --panel-soft: #1d1518;

  --ink: #e7e1d4;
  --ink-soft: #d5cdc2;
  --muted: #aea39e;

  --line: #3b2b2e;
  --line-soft: #2a2022;

  --red: #bd3f4f;
  --red-bright: #e06b79;
  --red-dark: #681d2b;
  --red-glow: rgba(189, 63, 79, 0.2);

  --mono: "Courier New", monospace;
  --serif: Georgia, "Times New Roman", serif;

  --shadow-soft: 0 22px 70px rgba(0, 0, 0, 0.38);
  --shadow-deep: 0 30px 100px rgba(0, 0, 0, 0.55);
}

/* =========================================================
   RESET / BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 78% 14%,
      rgba(105, 24, 42, 0.08),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      #100e10 0%,
      #0d0b0d 100%
    );

  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* grain + faint CRT lines */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.055;

  background-image:
    url("grain.svg"),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.18) 4px
    );

  background-size: auto, 100% 4px;
  mix-blend-mode: screen;
}

body.effects-off::after {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

a:hover {
  color: #ed9ba1;
}

::selection {
  background: #812637;
  color: #fff;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}

.mono,
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

h1,
h2,
p,
figure {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.94;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-170%);
  padding: 12px;
  background: var(--ink);
  color: var(--bg);
  z-index: 2000;
}

.skip-link:focus {
  transform: none;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  min-height: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;

  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 16%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--red),
      transparent
    );

  opacity: 0.45;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 15px;

  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.wordmark small {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.2em;
}

.sigil {
  font-family: var(--serif);
  font-size: 25px;

  letter-spacing: -8px;
  padding-right: 8px;

  border: 1px solid #79515b;

  width: 42px;
  height: 46px;

  text-align: center;
  line-height: 44px;

  border-radius: 50% 50% 0 0;

  position: relative;
  overflow: hidden;

  box-shadow:
    inset 0 0 18px rgba(189, 63, 79, 0.09),
    0 0 18px rgba(189, 63, 79, 0.04);
}

.sigil::after {
  content: "";
  position: absolute;
  inset: -60%;

  background:
    linear-gradient(
      115deg,
      transparent 42%,
      rgba(255,255,255,.08) 49%,
      transparent 56%
    );

  transform: translateX(-60%);
  transition: transform 0.7s ease;
}

.wordmark:hover .sigil::after {
  transform: translateX(60%);
}

.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
}

.site-header nav a {
  position: relative;
  padding-block: 15px;
  color: var(--muted);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.site-header nav a::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: 9px;

  width: 100%;
  height: 1px;

  background: var(--red);

  transform: scaleX(0);
  transform-origin: right;

  transition:
    transform 0.3s ease;
}

.site-header nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.site-header nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 720px;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;

  left: -12%;
  bottom: 5%;

  width: 60%;
  height: 55%;

  background:
    radial-gradient(
      ellipse at center,
      rgba(143, 35, 56, 0.11),
      transparent 68%
    );

  pointer-events: none;
}

.hero-top,
.hero-bottom {
  position: relative;
  z-index: 4;

  display: flex;
  justify-content: space-between;
  gap: 24px;

  color: var(--muted);
}

.hero-top {
  padding-top: 26px;
}

.hero-bottom {
  padding-block: 25px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  z-index: 4;

  padding: 75px 0 60px;

  animation:
    heroArrival 1.05s cubic-bezier(.2,.8,.2,1) both;
}

.hero-copy .eyebrow {
  color: #c1b1aa;
}

h1 {
  font-size: clamp(74px, 9.7vw, 140px);
  letter-spacing: -0.065em;

  margin: 27px 0 29px;

  text-shadow:
    0 3px 35px #100e10,
    0 0 70px rgba(90, 16, 34, 0.08);
}

h1 span {
  padding-left: 92px;
  color: var(--ink-soft);
}

.hero-caption {
  font-family: var(--mono);
  font-size: 13px;

  letter-spacing: 0.28em;

  margin-bottom: 25px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 50px;

  font-size: 12px;

  border: 1px solid #82424a;

  padding: 15px 21px;

  background:
    linear-gradient(
      120deg,
      #2a1319,
      #1d1014
    );

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover {
  background:
    linear-gradient(
      120deg,
      #421923,
      #271117
    );

  color: var(--ink);

  transform: translateY(-2px);

  border-color: var(--red);

  box-shadow:
    0 8px 30px rgba(105, 17, 34, 0.18);
}

/* =========================================================
   HERO WINDOW
   ========================================================= */

.hero-window {
  position: absolute;

  right: 3%;
  top: 62px;

  width: 39%;
  height: 570px;

  border: 1px solid #84434b;
  border-radius: 50% 50% 0 0;

  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(168, 46, 69, 0.4),
      transparent 68%
    ),
    linear-gradient(
      90deg,
      #190f15,
      #542030 49.5%,
      #1c1017 50%
    );

  box-shadow:
    0 0 100px rgba(106, 16, 33, 0.16),
    inset 0 0 60px #0c080c;

  transform-origin: center bottom;
}

.hero-window::before,
.hero-window::after {
  content: "";
  position: absolute;

  inset: 18px;

  border: 1px solid rgba(168, 98, 98, 0.4);
  border-radius: 50% 50% 0 0;
}

.hero-window::after {
  inset: 37px;
  border-color: rgba(168, 98, 98, 0.2);
}

/* subtle internal light */
.hero-window .window-inner::after {
  content: "";
  position: absolute;

  left: 50%;
  top: 8%;

  width: 55%;
  height: 70%;

  transform: translateX(-50%);

  background:
    radial-gradient(
      ellipse at center,
      rgba(210, 92, 110, 0.12),
      transparent 70%
    );

  filter: blur(18px);
}

.window-inner {
  position: absolute;

  left: 50%;
  height: 100%;

  border-left: 4px solid #100e10;
}

.window-line {
  position: absolute;

  left: 0;

  width: 100%;
  height: 1px;

  background: rgba(187, 124, 109, 0.4);

  box-shadow:
    0 5px 0 #100e10;
}

.line-one {
  top: 44%;
}

.line-two {
  top: 71%;
}

.window-circle {
  position: absolute;

  left: 19%;
  top: 13%;

  width: 62%;
  aspect-ratio: 1;

  border: 1px solid rgba(188, 119, 124, 0.4);
  border-radius: 50%;

  box-shadow:
    0 0 0 12px rgba(16, 14, 16, 0.47),
    0 0 0 13px rgba(168, 98, 98, 0.27);
}

body:not(.effects-off) .hero-window {
  animation:
    breathe 9s ease-in-out infinite alternate,
    windowDrift 18s ease-in-out infinite alternate;
}

@keyframes breathe {
  from {
    opacity: 0.78;
    filter: brightness(0.92);
  }

  to {
    opacity: 1;
    filter: brightness(1.08);
  }
}

@keyframes windowDrift {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-6px) scale(1.012);
  }
}

@keyframes heroArrival {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding-block: 86px;
  scroll-margin-top: 20px;

  position: relative;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 24px;

  margin-bottom: 36px;
}

.section-top p {
  margin: 0;
}

.section-top > .mono {
  color: var(--muted);
  font-size: 10px;
}

/* =========================================================
   ALBUM
   ========================================================= */

.album-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;

  gap: 88px;

  align-items: start;
}

.album-art {
  position: relative;
}

.album-art::before {
  content: "";
  position: absolute;

  inset: 7% -7% -7% 7%;

  background:
    radial-gradient(
      circle,
      rgba(81, 122, 155, 0.13),
      transparent 70%
    );

  filter: blur(35px);

  pointer-events: none;
}

.album-art img {
  display: block;

  width: 100%;
  height: auto;

  border: 1px solid var(--line);

  position: relative;

  box-shadow:
    var(--shadow-soft);

  transition:
    transform 0.5s cubic-bezier(.2,.7,.2,1),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
}

.album-art:hover img {
  transform: scale(1.015);

  border-color: #69464c;

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(70, 100, 130, 0.08);
}

.art-caption {
  display: flex;
  justify-content: space-between;

  gap: 12px;

  margin-top: 14px;

  color: var(--muted);

  font-size: 9px;
}

.album-content h2 {
  font-size: clamp(42px, 4.5vw, 64px);
  letter-spacing: -0.045em;

  margin-bottom: 18px;
}

.subheading {
  color: var(--muted);

  font-size: 13px;
  line-height: 1.8;
}

.pending-note {
  font-size: 12px;
  color: #c6a69f;

  padding-top: 13px;
}

/* =========================================================
   TRACKLIST
   ========================================================= */

.tracklist {
  list-style: none;

  padding: 0;
  margin: 0;

  counter-reset: track;
}

.tracklist li {
  display: flex;
  align-items: center;

  gap: 20px;

  padding: 11px 0;

  border-bottom: 1px solid var(--line);

  counter-increment: track;

  font-size: 12px;

  position: relative;

  transition:
    padding-left 0.25s ease,
    background 0.25s ease;
}

.tracklist li::before {
  content: counter(track, decimal-leading-zero);

  font:
    10px var(--mono);

  color: #bd7179;

  width: 22px;

  flex-shrink: 0;
}

.tracklist li::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -1px;

  width: 0;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--red),
      transparent
    );

  transition:
    width 0.35s ease;
}

.tracklist li:hover {
  padding-left: 8px;

  background:
    linear-gradient(
      90deg,
      rgba(189, 63, 79, 0.045),
      transparent
    );
}

.tracklist li:hover::after {
  width: 46%;
}

.tracklist li span {
  color: var(--ink);

  transition:
    color 0.25s ease;
}

.tracklist li:hover span {
  color: #f0dfe0;
}

.album-listen {
  margin-top: 26px;
}

/* =========================================================
   TRANSMISSION
   ========================================================= */

.availability {
  color: #b7a19c;

  font-size: 10px;
  letter-spacing: 0.1em;

  margin: 23px 0 0;
}

.transmission {
  border-block: 1px solid var(--line);

  background:
    radial-gradient(
      circle at 82% 50%,
      rgba(135, 37, 55, 0.08),
      transparent 34%
    ),
    linear-gradient(
      110deg,
      #271318,
      #100e10 80%
    );

  overflow: hidden;
}

.transmission::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.018) 45%,
      transparent 53%
    );

  pointer-events: none;
}

.transmission-grid {
  display: grid;

  grid-template-columns: 1.15fr 1fr;

  align-items: center;

  gap: 90px;
}

.transmission h2 {
  font-size: clamp(62px, 7vw, 96px);
  letter-spacing: -0.04em;

  margin-bottom: 28px;
}

.transmission h2 em {
  font-weight: 400;
  color: #d4bfb3;
}

.crimson {
  color: #dc7c89;
}

.transmission figure {
  margin: 0;

  max-width: 430px;
  width: 100%;

  justify-self: end;

  position: relative;
}

.transmission figure::before {
  content: "";

  position: absolute;

  inset: -18px;

  border: 1px solid rgba(111, 64, 72, 0.25);

  pointer-events: none;

  opacity: 0;

  transform: scale(0.98);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.transmission figure:hover::before {
  opacity: 1;
  transform: scale(1);
}

.transmission img,
.transmission-art {
  display: block;

  width: 100%;
  height: auto;

  aspect-ratio: 1 / 1;

  object-fit: cover;

  border: 1px solid var(--line);

  box-shadow:
    var(--shadow-soft);

  transition:
    transform 0.5s cubic-bezier(.2,.7,.2,1),
    filter 0.4s ease;
}

.transmission figure:hover img {
  transform: scale(1.018);

  filter:
    brightness(1.03)
    contrast(1.03);
}

figcaption {
  color: var(--muted);

  margin-top: 13px;

  font-size: 9px !important;
}

/* =========================================================
   RECORDS
   ========================================================= */

.records h2 {
  font-size: 64px;
  letter-spacing: -0.05em;

  margin-bottom: 35px;
}

.record-row {
  display: flex;
  align-items: center;

  gap: 28px;

  border-top: 1px solid var(--line);

  padding: 24px 0;

  position: relative;

  overflow: hidden;

  transition:
    padding-left 0.3s ease,
    background 0.3s ease;
}

.record-row::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(189, 63, 79, 0.08),
      transparent 40%
    );

  transform: translateX(-110%);

  transition:
    transform 0.45s cubic-bezier(.2,.8,.2,1);
}

.record-row:hover {
  padding-left: 12px;

  color: var(--ink);
}

.record-row:hover::before {
  transform: translateX(0);
}

.record-row:last-child {
  border-bottom: 1px solid var(--line);
}

.record-index,
.record-row img,
.record-name,
.record-arrow {
  position: relative;
  z-index: 2;
}

.record-index {
  color: #bd7179;
}

.record-row img {
  object-fit: cover;

  border: 1px solid transparent;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.record-row:hover img {
  transform: scale(1.06);

  border-color: #6f444c;
}

.record-name {
  font-family: var(--serif);

  font-size: 26px;
  line-height: 1.3;
}

.record-name small {
  display: block;

  font-family: var(--mono);

  font-size: 10px;

  color: var(--muted);

  margin-top: 9px;
}

.record-arrow {
  margin-left: auto;

  font-size: 28px;

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.record-row:hover .record-arrow {
  transform:
    translate(4px, -4px);

  color: var(--red-bright);
}

/* =========================================================
   ABOUT
   ========================================================= */

.about {
  border-top: 1px solid var(--line);
}

.about::after {
  content: "AW";

  position: absolute;

  right: 3%;
  bottom: 2%;

  font-family: var(--serif);

  font-size: clamp(140px, 22vw, 300px);

  letter-spacing: -0.1em;

  color: rgba(255,255,255,.012);

  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;

  margin-top: 35px;

  position: relative;
  z-index: 2;
}

.about h2 {
  font-size: 56px;
  letter-spacing: -0.04em;
}

.about-text {
  font-family: var(--serif);

  font-size: 26px;
  line-height: 1.5;

  position: relative;
}

.about-text::before {
  content: "";

  position: absolute;

  left: -26px;
  top: 6px;

  width: 1px;
  height: calc(100% - 12px);

  background:
    linear-gradient(
      var(--red),
      transparent
    );

  opacity: 0.5;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line);

  padding-block: 25px;

  display: flex;
  justify-content: space-between;

  gap: 25px;

  color: var(--muted);
}

.site-footer .mono {
  font-size: 9px;
}

.site-footer > div {
  display: flex;
  align-items: center;

  gap: 24px;

  font-size: 11px;
}

#effects-toggle {
  background: transparent;

  border: 1px solid var(--line);

  padding: 7px 10px;

  color: var(--muted);

  cursor: pointer;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

#effects-toggle:hover {
  color: var(--ink);
  border-color: var(--muted);

  background:
    rgba(255,255,255,.025);
}

[hidden] {
  display: none !important;
}

/* =========================================================
   LEGACY PLACEHOLDER SUPPORT
   ========================================================= */

.artwork-unavailable {
  width: 100%;

  aspect-ratio: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--line);

  background: #151013;

  color: var(--muted);

  text-align: center;

  padding: 24px;
}

.artwork-unavailable .mono {
  font-size: 10px;
}

.unavailable-mark {
  font-family: var(--serif);

  font-size: 60px;

  color: #82424a;

  line-height: 1.6;
}

.artwork-unavailable p {
  font-size: 13px;

  margin: 0 0 12px;
}

.record-art-unavailable {
  width: 88px;
  height: 88px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border: 1px solid var(--line);

  color: var(--muted);

  background: #151013;
}

/* =========================================================
   LARGE SCREENS
   ========================================================= */

@media (min-width: 1500px) {
  .hero {
    min-height: 800px;
  }

  .hero-window {
    height: 640px;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .site-header nav {
    gap: 18px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-window {
    width: 49%;
    right: 0;

    height: 490px;

    top: 90px;

    opacity: 0.65;
  }

  h1 span {
    padding-left: 45px;
  }

  .hero-copy {
    padding-block: 85px 70px;
  }

  .album-grid,
  .transmission-grid,
  .about-grid {
    gap: 36px;
  }

  .hero-top {
    font-size: 9px;
  }

  .hero-bottom {
    font-size: 9px;
  }

  .album-content h2 {
    font-size: 42px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;

    gap: 8px;

    padding-top: 22px;
    padding-bottom: 8px;
  }

  .wordmark {
    font-size: 11px;
  }

  .site-header nav {
    width: 100%;

    justify-content: space-between;

    gap: 10px;

    font-size: 11px;
  }

  .site-header nav a {
    padding-block: 12px;
  }

  .hero {
    min-height: 625px;
  }

  .hero-top {
    font-size: 8px;

    padding-top: 19px;
  }

  .hero-top span:last-child {
    display: none;
  }

  .hero-window {
    top: 70px;

    width: 76%;
    height: 455px;

    right: -3%;

    opacity: 0.6;
  }

  .hero-copy {
    padding: 85px 0 65px;
  }

  .hero-copy .eyebrow {
    font-size: 9px;

    letter-spacing: 0.09em;
  }

  h1 {
    font-size: clamp(64px, 17vw, 100px);

    margin-top: 22px;
  }

  h1 span {
    padding-left: 23px;
  }

  .hero-caption {
    font-size: 10px;

    letter-spacing: 0.2em;
  }

  .hero-bottom {
    font-size: 8px;

    gap: 12px;

    flex-wrap: wrap;
  }

  .section {
    padding-block: 52px;
  }

  .section-top {
    margin-bottom: 27px;

    align-items: flex-start;
  }

  .section-top > .mono {
    font-size: 8px;

    text-align: right;
  }

  .eyebrow {
    font-size: 10px;
  }

  .album-grid,
  .transmission-grid,
  .about-grid {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .album-art {
    max-width: 440px;
  }

  .album-content h2 {
    font-size: 52px;
  }

  .tracklist li {
    padding-block: 11px;
  }

  .transmission h2 {
    font-size: 68px;
  }

  .transmission figure {
    justify-self: stretch;

    max-width: none;

    margin-top: 10px;
  }

  .records h2 {
    font-size: 50px;
  }

  .record-row {
    gap: 14px;

    padding-block: 19px;
  }

  .record-row img {
    width: 60px;
    height: 60px;
  }

  .record-index {
    font-size: 9px;
  }

  .record-name {
    font-size: 18px;
  }

  .record-name small {
    font-size: 9px;
  }

  .record-arrow {
    font-size: 22px;
  }

  .record-art-unavailable {
    width: 60px;
    height: 60px;
  }

  .about-grid {
    gap: 0;
  }

  .about h2 {
    font-size: 48px;
  }

  .about-text {
    font-size: 24px;
  }

  .about-text::before {
    display: none;
  }

  .site-footer {
    flex-direction: column;

    gap: 17px;
  }

  .site-footer > div {
    justify-content: space-between;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  body::after {
    display: none;
  }
}