/* ==========================================================================
   SAMOTA — Black Metal Minimalism / Nocturnal Editorial Stylesheet
   ========================================================================== */

:root {
  --bg-void: #000000;
  --bg-obsidian: #050505;
  --bg-surface: #0a0a0a;
  --ink-pure: #f5f5f5;
  --ink-soft: #b8b8b8;
  --ink-muted: #6c6c6c;
  --ink-ghost: #2f2f2f;
  --line-subtle: rgba(255, 255, 255, 0.09);
  --line-sharp: rgba(255, 255, 255, 0.22);
  --accent-blood: #7a2626;

  --font-gothic: "UnifrakturMaguntia", Georgia, serif;
  --font-medieval: "Cinzel", Georgia, serif;
  --font-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg-void);
  color: var(--ink-pure);
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-void);
  color: var(--ink-pure);
  font-family: var(--font-body);
  overflow-x: clip;
}

::selection {
  background: rgba(245, 245, 245, 0.9);
  color: #000000;
}

/* Custom dark scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: #1e1e1e;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

/* ==========================================================================
   ATMOSPHERIC BACKDROP (DARKENED FOREST + VIGNETTE + FOG + FILM GRAIN)
   ========================================================================== */

.forest-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000000;
}

.forest-image {
  position: absolute;
  inset: -8%;
  background-image: url("assets/forest-bg.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  /* Keeps the website deeply black while letting the darkened forest breathe through */
  opacity: 0.82;
  filter: grayscale(100%) contrast(1.18) brightness(1.15);
  transform: translate3d(0, 0, 0) scale(1.06);
  transition: transform 0.25s linear;
  will-change: transform;
}

.forest-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.72) 64%, rgba(0, 0, 0, 0.96) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0.86) 78%, rgba(0, 0, 0, 0.96) 100%);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.forest-fog {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 32% at 25% 25%, rgba(255, 255, 255, 0.03), transparent 70%),
    radial-gradient(ellipse 55% 28% at 78% 72%, rgba(255, 255, 255, 0.025), transparent 70%);
  animation: fogDrift 26s ease-in-out infinite alternate;
}

@keyframes fogDrift {
  0% {
    transform: translate3d(-1.5%, 0, 0) scale(1);
    opacity: 0.65;
  }
  100% {
    transform: translate3d(2%, -1.5%, 0) scale(1.05);
    opacity: 1;
  }
}

.atmosphere-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: screen;
}

/* Global subtle glitch pulse when triggered */
body.is-glitching main {
  animation: xeroxFlicker 0.34s steps(2, end);
}

@keyframes xeroxFlicker {
  0% {
    filter: contrast(1.4) brightness(0.95);
    transform: translateX(-2px);
  }
  30% {
    filter: invert(0.05) contrast(1.8);
    transform: translateX(3px) skewX(-0.6deg);
  }
  65% {
    filter: contrast(1.25);
    transform: translateX(-1px);
  }
  100% {
    filter: none;
    transform: none;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.95rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink-pure);
}

.brand-gothic {
  font-family: var(--font-gothic);
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: opacity 0.25s ease;
}

.brand-mark:hover .brand-gothic {
  opacity: 0.78;
}

.brand-glitch-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-ghost);
  letter-spacing: 0.08em;
  transform: translateY(-2px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  position: relative;
  font-family: var(--font-medieval);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--ink-pure);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.38s var(--ease-cinematic);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink-pure);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-tools {
  display: flex;
  align-items: center;
}

.drone-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid var(--line-subtle);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.38rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.drone-toggle:hover {
  border-color: var(--line-sharp);
  color: var(--ink-pure);
}

.drone-toggle[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--ink-pure);
  background: rgba(255, 255, 255, 0.04);
}

.drone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-ghost);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.drone-toggle[aria-pressed="true"] .drone-dot {
  background: var(--ink-pure);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  animation: pulseSoft 2.4s ease-in-out infinite;
}

/* Intentional hairline fracture under navbar (off-axis subtle mistake) */
.header-fracture {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 18%,
    rgba(255, 255, 255, 0.1) 63%,
    transparent 63.4%,
    transparent 65.5%,
    rgba(255, 255, 255, 0.08) 66%,
    transparent 100%
  );
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 4.5rem;
  text-align: center;
}

.raw-artifact {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.16);
  letter-spacing: 0.05em;
  user-select: none;
}

.raw-artifact--top {
  position: absolute;
  top: 5.5rem;
  left: 1.75rem;
  transform: rotate(-0.4deg);
}

.hero-center {
  max-width: min(720px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ornament {
  color: rgba(255, 255, 255, 0.55);
}

.ornament--top svg {
  width: 220px;
  height: 24px;
  margin-bottom: 2.2rem;
}

.ornament--bottom svg {
  width: 180px;
  height: 28px;
  margin-top: 2.8rem;
}

.hero-welcome {
  margin: 0 0 0.65rem;
  font-family: var(--font-medieval);
  font-size: clamp(0.76rem, 1.4vw, 0.94rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-title {
  position: relative;
  margin: 0;
  font-family: var(--font-gothic);
  font-size: clamp(4.2rem, 12vw, 7.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: var(--ink-pure);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.95);
}

/* Subtle periodic glitch double-exposure */
.glitch-target {
  position: relative;
}

.glitch-target.is-flickering::before,
.glitch-target.is-flickering::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glitch-target.is-flickering::before {
  color: rgba(255, 255, 255, 0.45);
  transform: translate(-2px, 1px);
  clip-path: inset(18% 0 54% 0);
}

.glitch-target.is-flickering::after {
  color: rgba(255, 255, 255, 0.32);
  transform: translate(3px, -1px);
  clip-path: inset(62% 0 12% 0);
}

.hero-sub {
  margin: 1.5rem 0 0;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-family: var(--font-medieval);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-sep {
  font-size: 0.7rem;
  opacity: 0.55;
}

.hero-actions {
  margin-top: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-minimal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 0.72rem 1.75rem;
  font-family: var(--font-medieval);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: #000000;
  background: var(--ink-pure);
  border: 1px solid var(--ink-pure);
  transition: transform 0.35s var(--ease-cinematic), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-minimal:hover {
  background: transparent;
  color: var(--ink-pure);
  transform: translateY(-2px);
}

.btn-minimal--ghost {
  background: rgba(0, 0, 0, 0.65);
  color: var(--ink-pure);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-minimal--ghost:hover {
  background: var(--ink-pure);
  color: #000000;
  border-color: var(--ink-pure);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 46px;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.scroll-cue-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
  animation: scrollPulse 2.6s var(--ease-cinematic) infinite;
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0.85;
  }
  90% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ==========================================================================
   MAIN PRESENTATION / MONOLOGUE (PURE BLACK BG, PURE WHITE TEXT)
   ========================================================================== */

.monologue-section {
  position: relative;
  padding: 5.5rem 1.5rem 7rem;
}

.monologue-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.monologue-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding: 0 0.25rem;
  flex-wrap: wrap;
}

.meta-label {
  font-family: var(--font-medieval);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.meta-mistake {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  transform: rotate(-0.8deg);
  opacity: 0.75;
}

.meta-mistake .struck {
  text-decoration: line-through;
  opacity: 0.55;
  margin-right: 0.3rem;
}

.monologue-frame {
  position: relative;
  background-color: #000000; /* Strict pure black background as requested */
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: clamp(2.2rem, 5vw, 4.4rem) clamp(1.6rem, 5vw, 4.6rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.96);
}

/* Intentional subtle off-grid corner marks */
.frame-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.frame-corner--tl {
  top: -1px;
  left: -1px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-left: 1px solid rgba(255, 255, 255, 0.55);
}

/* Deliberately 3px misaligned bottom-right corner */
.frame-corner--br {
  bottom: -4px;
  right: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-right: 1px solid rgba(255, 255, 255, 0.42);
}

.raw-gutter-glitch {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.5;
  text-align: right;
  color: rgba(255, 255, 255, 0.13);
  pointer-events: none;
  user-select: none;
}

.monologue-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.14rem, 2vw, 1.32rem);
  line-height: 1.98;
  letter-spacing: 0.012em;
  color: #ffffff; /* Pure crisp white text as requested */
  font-weight: 400;
  text-align: left;
  max-width: 64ch;
}

/* Quiet blinking cursor after the trailing comma, reinforcing unfinished feeling */
.unfinished-cursor {
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: -0.14em;
  background-color: rgba(255, 255, 255, 0.78);
  animation: cursorBlink 1.35s steps(1, end) infinite;
}

@keyframes cursorBlink {
  0%,
  52% {
    opacity: 0.85;
  }
  53%,
  100% {
    opacity: 0;
  }
}

.monologue-foot {
  margin-top: 2.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.monologue-foot-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.foot-glitch-err {
  color: rgba(255, 255, 255, 0.22);
  margin-left: 0.35rem;
}

.monologue-next-link {
  font-family: var(--font-medieval);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.monologue-next-link:hover {
  color: var(--ink-pure);
  transform: translateX(4px);
}

/* ==========================================================================
   SECTION DIVIDER
   ========================================================================== */

.section-divider {
  max-width: 960px;
  margin: 1rem auto 2.5rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

/* Subtle intentional 2px vertical misalignment between left & right divider lines */
.divider-line--right {
  transform: translateY(2px);
}

.divider-sigil {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.38);
}

/* ==========================================================================
   ALBUMS CATEGORY SECTION
   ========================================================================== */

.albums-section {
  position: relative;
  padding: 4.5rem 1.5rem 8rem;
}

.albums-container {
  max-width: 1020px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.section-title {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-pure);
}

.section-subtitle {
  margin: 0.7rem 0 0;
  font-family: var(--font-medieval);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Album Showcase Grid */
.album-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: start;
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid var(--line-subtle);
  padding: clamp(1.75rem, 4vw, 3.2rem);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.95);
}

/* Album Cover Sleeve + Interactive 3D Hover */
.album-cover-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  perspective: 1100px;
}

.album-sleeve {
  position: relative;
  cursor: pointer;
  outline: none;
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
}

.album-sleeve:focus-visible .album-sleeve-inner {
  outline: 1px solid var(--ink-pure);
  outline-offset: 4px;
}

.album-sleeve-inner {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: #060606;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.92);
}

.album-cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) brightness(0.95);
  transition: transform 0.8s var(--ease-cinematic), filter 0.5s ease;
}

.album-sleeve:hover .album-cover-img {
  transform: scale(1.035);
  filter: contrast(1.14) brightness(1.02);
}

.album-sleeve-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.18;
}

.album-sleeve-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 38%,
    transparent 70%,
    rgba(0, 0, 0, 0.45) 100%
  );
  opacity: 0.45;
  transition: opacity 0.4s ease;
}

.album-sleeve:hover .album-sleeve-sheen {
  opacity: 0.8;
}

.cover-wip-ribbon {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.36rem 0.72rem;
  background: rgba(0, 0, 0, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-pure);
  backdrop-filter: blur(4px);
}

.cover-expand-hint {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-cinematic);
}

.cover-expand-hint span {
  font-family: var(--font-medieval);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-pure);
}

.album-sleeve:hover .cover-expand-hint,
.album-sleeve:focus-visible .cover-expand-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Intentional slight misaligned ghost border behind the album cover */
.sleeve-mistake-shadow {
  position: absolute;
  inset: 7px -7px -7px 9px;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  z-index: -1;
  pointer-events: none;
}

.cover-caption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.caption-err {
  color: rgba(255, 255, 255, 0.24);
}

/* Album Metadata Column */
.album-details-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.status-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.44rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-pure);
  margin-bottom: 1.9rem;
}

.status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-pure);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
  animation: pulseSoft 2s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.field-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.3rem;
}

.band-heading {
  margin-bottom: 1.25rem;
}

.band-name {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--ink-pure);
}

.album-heading {
  margin-bottom: 1.5rem;
}

.album-title {
  margin: 0;
  font-family: var(--font-medieval);
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-pure);
}

.album-rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent);
  margin-bottom: 1.5rem;
}

.album-specs {
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.72rem;
}

.spec-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: baseline;
}

.spec-row dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.spec-row dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.flicker-char {
  display: inline-block;
  animation: charFlicker 4.5s steps(1, end) infinite;
}

@keyframes charFlicker {
  0%,
  88%,
  92%,
  100% {
    opacity: 1;
  }
  89%,
  91% {
    opacity: 0.12;
  }
}

/* Tracklist WIP box */
.tracklist-box {
  border: 1px solid var(--line-subtle);
  background: #030303;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.6rem;
}

.tracklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-subtle);
  font-family: var(--font-medieval);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tracklist-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--ink-muted);
}

.tracklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.tracklist li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 1.02rem;
}

.track-num {
  font-family: var(--font-medieval);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.track-name {
  color: var(--ink-pure);
}

.track-name.is-dim {
  color: var(--ink-muted);
  font-style: italic;
}

.track-time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
}

.track-corrupt {
  opacity: 0.42;
  transform: translateX(3px); /* Intentional slight off-axis row */
}

.track-corrupt .track-name {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.album-notice {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

.album-notice strong {
  color: var(--ink-pure);
  font-weight: 500;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line-subtle);
  background: rgba(0, 0, 0, 0.94);
  padding: 2rem 1.75rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-gothic);
  font-size: 1.35rem;
  color: var(--ink-pure);
}

.footer-sep {
  color: var(--ink-ghost);
}

.footer-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.glitch-trigger {
  background: transparent;
  border: none;
  padding: 0.25rem 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: color 0.25s ease;
}

.glitch-trigger:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: min(88vw, 680px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  animation: modalFade 0.32s var(--ease-cinematic);
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close {
  background: transparent;
  border: 1px solid var(--line-sharp);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42rem 0.85rem;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.lightbox-close:hover {
  color: var(--ink-pure);
  border-color: var(--ink-pure);
}

.lightbox-figure {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.98);
}

.lightbox-caption {
  text-align: center;
  font-family: var(--font-medieval);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.lightbox-band {
  font-family: var(--font-gothic);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--ink-pure);
}

.lightbox-wip {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

/* ==========================================================================
   SCROLL & LOAD REVEAL ANIMATIONS
   ========================================================================== */

.reveal-on-load {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  animation: heroReveal 1.25s var(--ease-cinematic) 0.15s forwards;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.85s var(--ease-cinematic),
    transform 0.85s var(--ease-cinematic),
    filter 0.85s var(--ease-cinematic);
}

.js-reveal-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(2px);
}

.js-reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 860px) {
  .album-showcase {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .album-cover-column {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .raw-artifact--top {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 0.75rem 0.85rem;
    gap: 0.45rem;
  }

  .site-nav {
    gap: 0.7rem;
  }

  .nav-link {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .brand-gothic {
    font-size: 1.22rem;
  }

  .brand-glitch-tag {
    display: none;
  }

  .drone-toggle {
    padding: 0.28rem 0.45rem;
    font-size: 0.58rem;
    gap: 0.28rem;
    white-space: nowrap;
  }

  .hero-sub {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }

  .raw-gutter-glitch {
    display: none;
  }

  .monologue-frame {
    padding: 1.8rem 1.35rem;
  }

  .spec-row {
    grid-template-columns: 78px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .forest-fog,
  .scroll-cue-line,
  .unfinished-cursor,
  .status-pulse,
  .flicker-char,
  .reveal-on-load {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
