:root {
  --bg: #080808;
  --surface: #111111;
  --text: #eee8dc;
  --text-soft: #aaa39a;
  --text-muted: #756f68;
  --accent: #7b1e24;
  --accent-soft: #b08d57;
  --accent-pale: #c6a66b;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.42);
  --shadow-warm: 0 18px 48px rgba(123, 30, 36, 0.2);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1180px;
}

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

::selection {
  background: var(--accent);
  color: var(--text);
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 15% 5%, rgba(123, 30, 36, 0.16), transparent 32rem),
    radial-gradient(circle at 85% 15%, rgba(176, 141, 87, 0.08), transparent 28rem),
    linear-gradient(180deg, #080808 0%, #0c0c0c 42%, #070707 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  background:
    repeating-radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.16) 0,
      rgba(255, 255, 255, 0.16) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: screen;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 8, 0.78);
  border-bottom: 1px solid rgba(238, 232, 220, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent-pale);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  border-color: rgba(238, 232, 220, 0.08);
  box-shadow: 0 12px 28px rgba(123, 30, 36, 0.24);
}

.btn-primary:hover {
  background: #8d2630;
  box-shadow: 0 16px 34px rgba(123, 30, 36, 0.32);
}

.btn-secondary {
  background: rgba(238, 232, 220, 0.03);
  color: var(--text);
  border-color: rgba(238, 232, 220, 0.14);
}

.btn-secondary:hover {
  border-color: rgba(176, 141, 87, 0.58);
  color: var(--accent-pale);
  background: rgba(176, 141, 87, 0.08);
}

/* Hero */

.hero {
  padding: 5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(123, 30, 36, 0.18);
  border: 1px solid rgba(176, 141, 87, 0.18);
  color: var(--accent-pale);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6.6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero p {
  max-width: 58ch;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
}

.hero-signature {
  display: block;
  margin-top: 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--accent-soft);
  opacity: 0.88;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(238, 232, 220, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.48)),
    radial-gradient(circle at 20% 10%, rgba(176, 141, 87, 0.12), transparent 16rem);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #121212;
  filter: saturate(0.78) contrast(1.06);
}

.hero-card-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.85rem 1rem;
  background: rgba(8, 8, 8, 0.76);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(238, 232, 220, 0.14);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.hero-card-badge strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.hero-card-badge span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

/* Sections */

.section {
  padding: 2rem 0 4rem;
}

#about,
#projects,
#releases,
#statement,
#contact {
  scroll-margin-top: 110px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-kicker {
  margin-bottom: 0.6rem;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section h2,
.label-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 60ch;
  color: var(--text-soft);
}

/* Panels */

.text-panel,
.label-panel,
.listen-box,
.note-card {
  background:
    linear-gradient(180deg, rgba(238, 232, 220, 0.035), rgba(238, 232, 220, 0.015)),
    var(--surface);
  border: 1px solid rgba(238, 232, 220, 0.1);
  box-shadow: var(--shadow);
}

.text-panel,
.label-panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.text-panel p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.text-panel p:last-child {
  margin-bottom: 0;
}

.label-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(123, 30, 36, 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(238, 232, 220, 0.04), rgba(238, 232, 220, 0.015)),
    var(--surface);
}

/* Projects */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  background: rgba(238, 232, 220, 0.035);
  border: 1px solid rgba(238, 232, 220, 0.1);
  border-radius: var(--radius-md);
}

.project-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -42px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(176, 141, 87, 0.16);
  border-radius: 999px;
}

.project-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.8rem;
  background: rgba(123, 30, 36, 0.78);
  border: 1px solid rgba(176, 141, 87, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.project-card h3,
.note-card h3 {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem;
  line-height: 1.1;
}

.project-card p,
.note-card p,
.listen-box p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

/* Releases */

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.release-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border: 1px solid rgba(238, 232, 220, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.release-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.release-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 80% 12%, rgba(123, 30, 36, 0.18), transparent 16rem);
  opacity: 0.9;
}

.release-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #121212;
  filter: saturate(0.78) contrast(1.08) brightness(0.86);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.release-card:hover img {
  transform: scale(1.03);
  filter: saturate(0.92) contrast(1.1) brightness(0.94);
}

/* Player */

.player-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 15% 15%, rgba(123, 30, 36, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(238, 232, 220, 0.035), rgba(238, 232, 220, 0.015)),
    var(--surface);
  border: 1px solid rgba(238, 232, 220, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.player-artwork {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  border: 1px solid rgba(238, 232, 220, 0.1);
  box-shadow: var(--shadow);
}

.player-artwork::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 80% 10%, rgba(176, 141, 87, 0.14), transparent 12rem);
  pointer-events: none;
}

.player-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.86);
}

.player-content h2 {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.player-content p {
  max-width: 58ch;
  margin: 0;
  color: var(--text-soft);
}

.player-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.4rem 0;
}

#soundcloud-player {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  filter: saturate(0.8) brightness(0.9);
}

/* Manifesto */

.manifesto-band {
  padding: 1rem 0 4rem;
}

.manifesto-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 4vw, 3rem);
  color: var(--text);
  background:
    radial-gradient(circle at 10% 90%, rgba(123, 30, 36, 0.3), transparent 16rem),
    linear-gradient(135deg, #111111, #060606);
  border: 1px solid rgba(238, 232, 220, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.manifesto-card::before {
  content: "";
  position: absolute;
  left: -52px;
  bottom: -52px;
  width: 180px;
  height: 180px;
  background: rgba(123, 30, 36, 0.22);
  border-radius: 999px;
  filter: blur(2px);
}

.manifesto-card::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(176, 141, 87, 0.24);
  border-radius: 999px;
}

.manifesto-card p {
  position: relative;
  max-width: 38ch;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3.2vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.manifesto-card span {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Listen */

.listen-section {
  padding: 0 0 5rem;
}

.listen-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
}

.listen-box h3 {
  margin: 0 0 0.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
}

/* Notes */

.label-notes {
  padding-top: 1rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.note-card {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-lg);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.note-card:hover {
  transform: translateY(-2px);
  border-color: rgba(176, 141, 87, 0.24);
  box-shadow: var(--shadow-warm);
}

.note-card::after {
  content: "✖";
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-soft);
  font-size: 0.68rem;
  opacity: 0.42;
}

/* Footer Sigil */

.sigil-ornament {
  width: 230px;
  margin: 3rem auto 1.5rem;
  color: var(--accent-soft);
  opacity: 0.58;
  text-align: center;
}

.sigil-ornament svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter:
    drop-shadow(0 0 12px rgba(176, 141, 87, 0.18))
    drop-shadow(0 0 28px rgba(123, 30, 36, 0.1));
}

.painful-crackle path {
  stroke-width: 0.75;
}

.painful-crackle path:nth-child(1),
.painful-crackle path:nth-child(2),
.painful-crackle path:nth-child(3) {
  stroke-width: 1;
}

/* Footer */

.site-footer {
  padding: 0 0 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(238, 232, 220, 0.1);
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.footer-inner a:hover {
  color: var(--accent-pale);
}

/* Accessibility */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Tablet */

@media (max-width: 960px) {
  .hero-grid,
  .section-head,
  .project-grid,
  .listen-box,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-card {
    max-width: 640px;
  }

  .nav {
    padding: 0.5rem 0;
  }

  .nav-links {
    gap: 0.7rem;
  }

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

  .release-feature {
    grid-column: span 2;
    grid-row: auto;
  }
}

/* Mobile */

@media (max-width: 640px) {
  .site-header {
    position: relative;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-actions,
  .hero-actions .btn,
  .listen-box .btn {
    width: 100%;
  }

  .listen-box {
    align-items: start;
  }

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

  .release-feature {
    grid-column: auto;
    grid-row: auto;
  }

  .brand-title {
    font-size: 1.45rem;
  }

  .brand-tag {
    font-size: 0.72rem;
  }

  .sigil-ornament {
    width: 180px;
    opacity: 0.5;
  }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}