:root {
  --bg: #080808;
  --bg-soft: #101010;
  --surface: #151515;
  --surface-soft: #1b1a18;
  --text: #f3f0eb;
  --text-soft: #c7c0b5;
  --text-muted: #8d8578;
  --ink: #111111;
  --paper: #e7e0d4;
  --paper-soft: #d8cdbd;
  --line: rgba(243, 240, 235, 0.14);
  --line-dark: rgba(0, 0, 0, 0.16);
  --accent: #b08d57;
  --accent-soft: #d5b982;
  --blood: #6f1515;
  --blood-soft: #9f2a22;
  --max: 1180px;
  --pad: clamp(1rem, 4vw, 2rem);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 12%, rgba(176, 141, 87, .14), transparent 28%),
    radial-gradient(circle at 8% 72%, rgba(111, 21, 21, .20), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 5px;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--accent);
  color: var(--ink);
  font-size: .8rem;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: .13;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.045) 0 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: .9rem 0;
  background: rgba(8, 8, 8, .68);
  border-bottom: 1px solid rgba(243, 240, 235, .08);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}

.brand-mark {
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgba(243, 240, 235, .14);
  background: #0d0d0d;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(.88);
}

.brand-copy {
  display: grid;
  gap: .12rem;
}

.brand-title {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .015em;
}

.brand-tag {
  color: var(--text-muted);
  font-size: .62rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.4rem);
  color: var(--text-soft);
  font-size: .74rem;
  font-weight: 650;
}

.nav-links a {
  opacity: .78;
  transition: opacity .25s ease, color .25s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-soft);
}

.nav-button {
  border: 1px solid rgba(243, 240, 235, .16);
  border-radius: 999px;
  padding: .62rem .9rem;
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(243, 240, 235, .16);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: .58rem .82rem;
  cursor: pointer;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  color: var(--accent-soft);
  font-size: .72rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.label-panel h2,
.manifesto-card p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.045em;
}

.hero h1 {
  max-width: 9.7ch;
  margin-top: 1.2rem;
  font-size: clamp(4.2rem, 10vw, 9.8rem);
  line-height: .78;
}

.hero-copy p {
  max-width: 43rem;
  margin: 1.6rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.68;
}

.hero-signature {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .86rem 1.08rem;
  font-size: .78rem;
  font-weight: 800;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(243, 240, 235, .18);
  background: rgba(243, 240, 235, .03);
}

.btn-secondary:hover {
  border-color: rgba(243, 240, 235, .36);
  background: rgba(243, 240, 235, .08);
}

.hero-card {
  position: relative;
  border: 1px solid rgba(243, 240, 235, .12);
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.012)),
    #111;
  padding: .8rem;
  box-shadow: 0 2rem 6rem rgba(0,0,0,.38);
}

.hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: contrast(1.08) saturate(.82);
}

.hero-card-badge {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  display: grid;
  gap: .2rem;
  padding: 1rem;
  background: rgba(8, 8, 8, .72);
  border: 1px solid rgba(243, 240, 235, .12);
  backdrop-filter: blur(14px);
}

.hero-card-badge strong {
  color: var(--text);
  font-size: .82rem;
}

.hero-card-badge span {
  color: var(--text-muted);
  font-size: .72rem;
  line-height: 1.4;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head h2,
.label-panel h2 {
  margin-top: .8rem;
  color: var(--text);
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: .88;
}

.section-intro {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.68;
}

.text-panel,
.label-panel {
  border: 1px solid rgba(243, 240, 235, .12);
  background:
    radial-gradient(circle at 85% 20%, rgba(176, 141, 87, .10), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    #111;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.text-panel p {
  max-width: 65rem;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.text-panel p + p {
  margin-top: 1.1rem;
}

.project-grid,
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
  background: rgba(243, 240, 235, .12);
  border: 1px solid rgba(243, 240, 235, .12);
}

.project-card,
.note-card {
  background: #111;
  padding: clamp(1.25rem, 2vw, 1.8rem);
  min-height: 17rem;
  display: grid;
  align-content: space-between;
  gap: 2rem;
}

.project-number {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
}

.project-card h3,
.note-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: .96;
  letter-spacing: -.04em;
}

.project-card p,
.note-card p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: .86rem;
  line-height: 1.62;
}

.signals-section {
  background:
    radial-gradient(circle at 80% 10%, rgba(111, 21, 21, .18), transparent 26%),
    #0d0d0d;
}

.signal-stack {
  display: grid;
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}

.signal-player {
  position: relative;
  display: grid;
  grid-template-columns: minmax(14rem, 20rem) minmax(0, 1fr);
  gap: 1px;
  background: rgba(243, 240, 235, .12);
  border: 1px solid rgba(243, 240, 235, .12);
}

.signal-art {
  position: relative;
  background: #101010;
  overflow: hidden;
}

.signal-art img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(.18) contrast(1.06) saturate(.86);
}

.signal-body {
  position: relative;
  display: grid;
  align-content: center;
  padding: clamp(1.15rem, 2.3vw, 1.8rem);
  background:
    radial-gradient(circle at 88% 16%, rgba(176, 141, 87, .10), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    #111;
}

.signal-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.signal-play {
  appearance: none;
  width: 3.35rem;
  height: 3.35rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(243, 240, 235, .68);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.12rem;
  line-height: 1;
  padding: 0 0 0 .08rem;
  transition:
    transform .25s var(--ease),
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    opacity .25s ease;
}

.signal-play:hover {
  transform: scale(1.04);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.signal-play.is-playing {
  padding-left: 0;
}

.signal-play[aria-disabled="true"] {
  opacity: .56;
  cursor: wait;
}

.signal-play[aria-disabled="true"]:hover {
  background: transparent;
  border-color: rgba(243, 240, 235, .68);
  color: var(--text);
  transform: none;
}

.signal-meta {
  min-width: 0;
}

.signal-label {
  margin: 0 0 .34rem;
  color: var(--text-muted);
  font-size: .68rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.signal-meta h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: .88;
  letter-spacing: -.045em;
}

.signal-project {
  margin: .5rem 0 0;
  color: var(--accent-soft);
  font-size: .72rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  margin-top: .62rem;
}

.signal-tags span {
  display: inline-flex;
  border: 1px solid rgba(243, 240, 235, .16);
  border-radius: 999px;
  padding: .35rem .58rem;
  color: var(--text-muted);
  font-size: .62rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.waveform {
  position: relative;
  height: clamp(4.2rem, 7vw, 6rem);
  display: flex;
  align-items: center;
  gap: 3px;
  padding: .55rem .65rem;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  background: rgba(243, 240, 235, .055);
  border: 1px solid rgba(243, 240, 235, .07);
}

.waveform span {
  flex: 1;
  min-width: 2px;
  height: var(--h);
  background: linear-gradient(
    to top,
    var(--accent) 0%,
    var(--accent) var(--progress, 0%),
    rgba(243, 240, 235, .20) var(--progress, 0%),
    rgba(243, 240, 235, .20) 100%
  );
  opacity: .96;
  transition: opacity .18s ease;
}

.waveform:hover span {
  opacity: 1;
}

.signal-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .85rem;
  color: var(--text-muted);
  font-size: .74rem;
  line-height: 1.3;
}

.signal-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.signal-footer a {
  color: var(--accent-soft);
  font-size: .78rem;
  font-weight: 800;
  transition: color .25s ease;
}

.signal-footer a:hover {
  color: var(--text);
}

.signal-footer span {
  color: rgba(243, 240, 235, .68);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.soundcloud-embed-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: .01;
  pointer-events: none;
}

.manifesto-band {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,.94), rgba(8,8,8,.72)),
    radial-gradient(circle at 72% 40%, rgba(176, 141, 87, .18), transparent 28%);
}

.manifesto-card {
  border-top: 1px solid rgba(243, 240, 235, .16);
  border-bottom: 1px solid rgba(243, 240, 235, .16);
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.manifesto-card p {
  max-width: 15ch;
  color: var(--text);
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: .82;
}

.manifesto-card span {
  display: inline-flex;
  margin-top: 1.5rem;
  color: var(--accent-soft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.listen-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--paper);
  color: var(--ink);
}

.listen-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--line-dark);
  background: var(--paper-soft);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.listen-box h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: .92;
  letter-spacing: -.04em;
}

.listen-box p {
  max-width: 42rem;
  margin: .75rem 0 0;
  color: #5d554b;
  font-size: .95rem;
  line-height: 1.58;
}

.listen-box .btn-primary {
  background: var(--ink);
  color: var(--text);
  border-color: var(--ink);
}

.listen-box .btn-primary:hover {
  background: var(--blood);
  border-color: var(--blood);
}

.label-notes {
  background: var(--paper);
  color: var(--ink);
}

.label-notes .section-kicker {
  color: var(--blood);
}

.label-notes .section-head h2 {
  color: var(--ink);
}

.label-notes .section-intro {
  color: #5d554b;
}

.label-notes .notes-grid {
  background: var(--line-dark);
  border-color: var(--line-dark);
}

.label-notes .note-card {
  background: var(--paper);
}

.label-notes .note-card h3 {
  color: var(--ink);
}

.label-notes .note-card p {
  color: #5d554b;
}

.sigil-ornament {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  width: min(18rem, 42vw);
  color: rgba(176, 141, 87, .11);
  pointer-events: none;
}

.site-footer {
  padding: 1.4rem 0;
  background: #080808;
  border-top: 1px solid rgba(243, 240, 235, .08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: .76rem;
  font-weight: 700;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}

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

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .signal-player {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 7.5rem;
  }

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

  .signal-art img {
    height: auto;
    min-height: auto;
  }

  .project-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .listen-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 1rem;
    padding: var(--pad);
    background: rgba(8, 8, 8, .97);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    font-family: var(--serif);
    font-size: clamp(2.4rem, 12vw, 5rem);
    line-height: .9;
    letter-spacing: -.055em;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-button {
    font-family: var(--sans);
    font-size: .9rem;
    letter-spacing: 0;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 102;
  }

  .brand-tag {
    display: none;
  }

  .signal-top {
    align-items: flex-start;
  }

  .signal-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .signal-footer span {
    align-self: flex-end;
  }

  .waveform {
    height: 4.4rem;
    gap: 2px;
    padding: .45rem .5rem;
  }

  .sigil-ornament {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

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