:root {
  color-scheme: dark;
  --bg: #070808;
  --panel: #101312;
  --panel-2: #151817;
  --line: rgba(236, 243, 235, 0.12);
  --text: #eff5ee;
  --muted: #a5afa8;
  --faint: #6f7972;
  --acid: #b8ff3d;
  --red: #ff4d3d;
  --amber: #d8a84b;
  --shadow: rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 8, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-logo {
  width: 220px;
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(184, 255, 61, 0.24));
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid var(--acid);
  background:
    linear-gradient(90deg, transparent 48%, var(--acid) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, var(--red) 48% 52%, transparent 52%);
}

.site-nav {
  display: flex;
  gap: 6px;
}

.site-nav a,
.nav-toggle {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 10px 12px;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a:active,
.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle:active {
  border-color: var(--line);
  color: var(--acid);
  border-color: rgba(184, 255, 61, 0.42);
  background: rgba(184, 255, 61, 0.06);
  box-shadow: 0 0 18px rgba(184, 255, 61, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 28px 72px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.9), rgba(7, 8, 8, 0.42), rgba(7, 8, 8, 0.85)),
    linear-gradient(0deg, rgba(7, 8, 8, 0.92), rgba(7, 8, 8, 0.1) 44%, rgba(7, 8, 8, 0.9)),
    url("assets/modular-terrace-hero.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.eyebrow {
  color: var(--acid);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(52px, 12vw, 138px);
  line-height: 0.86;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-logo {
  display: block;
  width: min(760px, 92vw);
  margin: 0 0 24px;
  filter:
    drop-shadow(0 0 18px rgba(184, 255, 61, 0.24))
    drop-shadow(0 18px 42px rgba(0, 0, 0, 0.72));
}

h2 {
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
}

.hero-copy {
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 16px;
  color: var(--acid);
  font-size: clamp(22px, 4vw, 42px);
  line-height: 1;
  text-transform: uppercase;
}

.hero-actions,
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--acid);
  background: var(--acid);
  color: #11160f;
  font-weight: 800;
}

.button.ghost {
  background: rgba(16, 19, 18, 0.5);
}

.button.danger {
  border-color: rgba(255, 77, 61, 0.45);
  color: #ffd1cc;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker span {
  min-height: 70px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.ticker span:last-child {
  border-right: 0;
}

.section {
  padding: 92px 28px;
}

.artist-route main > section:not(#artistPage) {
  display: none;
}

.artist-route .artist-page {
  min-height: calc(100vh - 72px);
  padding-top: 120px;
}

.section-muted {
  background: #0b0d0c;
}

.section-head,
.grid,
.events-list,
.contact-section,
.admin-section > * {
  width: min(100%, 1120px);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 50px var(--shadow);
  min-width: 0;
}

.card-image {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(184, 255, 61, 0.2), transparent 36%),
    linear-gradient(315deg, rgba(255, 77, 61, 0.18), transparent 40%),
    #171b19;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.08);
}

.card-body {
  padding: 18px;
}

.meta {
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  line-height: 1.5;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.links a {
  border: 1px solid var(--line);
  padding: 8px 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
}

.card-button {
  width: 100%;
  margin-top: 14px;
}

.artist-page {
  border-top: 1px solid var(--line);
  background: #090b0a;
}

.artist-page-content {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.artist-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 24px;
}

.artist-profile-image {
  min-height: 420px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(184, 255, 61, 0.2), transparent 36%),
    linear-gradient(315deg, rgba(255, 77, 61, 0.18), transparent 40%),
    #171b19;
}

.artist-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.08);
}

.artist-profile-copy {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(24px, 5vw, 46px);
}

.artist-profile-copy p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
}

.sound-signature {
  border-left: 2px solid var(--acid);
  margin-top: 20px;
  padding-left: 16px;
  color: var(--text) !important;
}

.soundcloud-embed {
  border: 1px solid var(--line);
  background: rgba(7, 8, 8, 0.72);
  padding: 12px;
}

.soundcloud-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #12151a;
}

.soundcloud-credit {
  margin-top: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.soundcloud-credit a {
  color: var(--muted);
  text-decoration: none;
}

.soundcloud-credit a:hover {
  color: var(--acid);
}

.artist-related {
  margin-top: 42px;
}

.artist-detail-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.94), rgba(7, 8, 8, 0.78)),
    #070808;
}

.artist-detail-page .site-header {
  background: rgba(7, 8, 8, 0.88);
}

.artist-detail-main {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 120px 28px 80px;
}

.artist-profile.standalone {
  margin-top: 26px;
}

.artist-profile.standalone h1 {
  font-size: clamp(54px, 10vw, 116px);
}

.artist-detail-page .artist-profile-image,
.artist-detail-page .card-image {
  background:
    linear-gradient(135deg, rgba(184, 255, 61, 0.18), transparent 36%),
    linear-gradient(315deg, rgba(255, 77, 61, 0.16), transparent 40%),
    url("assets/modular-terrace-hero.png") center / cover no-repeat;
}

.roster-hero {
  margin-top: 42px;
  max-width: 820px;
}

.roster-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.artist-menu {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.release-roster {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.release-artist-block {
  border: 1px solid var(--line);
  background: rgba(7, 8, 8, 0.46);
}

.release-artist-block .artist-menu-item {
  border: 0;
  border-bottom: 1px solid var(--line);
}

.release-row {
  padding: 18px;
}

.release-card-compact {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  align-items: stretch;
  box-shadow: none;
}

.release-card-compact .card-image {
  aspect-ratio: 1 / 1;
}

.release-card-compact .card-body {
  display: grid;
  align-content: center;
  padding: 24px;
}

.artist-menu-item {
  --artist-art: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 72px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: center;
  min-height: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(16, 19, 18, 0.78);
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.artist-solvar {
  --artist-art: url("assets/artist-silex.webp");
}

.artist-alt-vanta {
  --artist-art: url("assets/artist-alt-vanta.webp");
}

.artist-almazul {
  --artist-art: url("assets/artist-almazul.webp");
}

.artist-silex {
  --artist-art: url("assets/artist-solvar.webp");
}

.artist-menu-item > * {
  position: relative;
  z-index: 1;
}

.artist-menu-item::before,
.artist-menu-item::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%;
  right: -12%;
  bottom: -72%;
  height: 88%;
  background:
    radial-gradient(circle at 12% 72%, rgba(255, 255, 255, 0.55) 0 3px, transparent 4px),
    radial-gradient(circle at 24% 42%, rgba(255, 255, 255, 0.4) 0 2px, transparent 3px),
    radial-gradient(circle at 44% 78%, rgba(255, 255, 255, 0.5) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 48%, rgba(255, 255, 255, 0.32) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 70%, rgba(255, 255, 255, 0.45) 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(184, 255, 61, 0.96), rgba(74, 255, 92, 0.82), rgba(184, 255, 61, 0.96));
  background-size: 240px 120px, 180px 110px, 260px 130px, 210px 115px, 230px 120px, 100% 100%;
  border-radius: 46% 54% 0 0 / 34% 42% 0 0;
  opacity: 0;
  transform: translateY(42%) rotate(-1.5deg);
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), opacity 260ms ease;
  box-shadow:
    0 -12px 26px rgba(184, 255, 61, 0.24),
    inset 0 12px 28px rgba(255, 255, 255, 0.22),
    inset 0 -22px 38px rgba(19, 92, 16, 0.24);
}

.artist-menu-item::after {
  bottom: -78%;
  height: 78%;
  background:
    radial-gradient(circle at 18% 88%, rgba(255, 255, 255, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 38% 62%, rgba(255, 255, 255, 0.38) 0 4px, transparent 5px),
    radial-gradient(circle at 58% 82%, rgba(255, 255, 255, 0.42) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 58%, rgba(255, 255, 255, 0.3) 0 2px, transparent 3px),
    rgba(184, 255, 61, 0.4);
  background-size: 170px 160px, 220px 150px, 190px 140px, 210px 170px, 100% 100%;
  filter: blur(8px);
  transform: translateY(50%) rotate(1.8deg);
  transition-duration: 680ms;
}

.artist-menu-item:hover {
  border-color: var(--acid);
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.82), rgba(7, 8, 8, 0.46)),
    var(--artist-art) center / cover no-repeat,
    rgba(24, 29, 26, 0.72);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(184, 255, 61, 0.18),
    0 0 34px rgba(184, 255, 61, 0.16),
    inset 0 0 28px rgba(184, 255, 61, 0.08);
}

.artist-menu-item:hover::before,
.artist-menu-item:hover::after {
  opacity: 1;
  transform: translateY(-8%) rotate(-1.5deg);
  animation: radioactiveWave 2.7s ease-in-out infinite, radioactiveBubbles 2.2s linear infinite;
}

.artist-menu-item:hover::after {
  transform: translateY(-16%) rotate(1.8deg);
  animation: radioactiveWaveSoft 3.4s ease-in-out infinite reverse, radioactiveBubbles 1.8s linear infinite;
}

.artist-menu-item span {
  color: var(--acid);
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.artist-menu-item strong {
  font-size: clamp(24px, 5vw, 46px);
  line-height: 0.95;
}

.artist-menu-item em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.artist-menu-item:hover span {
  color: #071006;
  transform: translateX(4px);
}

.artist-menu-item:hover strong,
.artist-menu-item:hover em {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

@keyframes radioactiveWave {
  0% {
    border-radius: 44% 56% 0 0 / 30% 44% 0 0;
    background-position: 0 40px, 30px 70px, 80px 50px, 140px 76px, 180px 46px, 0 0;
  }
  50% {
    border-radius: 58% 42% 0 0 / 48% 30% 0 0;
    background-position: 70px -20px, 110px 8px, 10px -14px, 190px 10px, 120px -26px, 0 0;
  }
  100% {
    border-radius: 44% 56% 0 0 / 30% 44% 0 0;
    background-position: 140px -90px, 210px -70px, 120px -110px, 40px -84px, 260px -100px, 0 0;
  }
}

@keyframes radioactiveWaveSoft {
  0% {
    border-radius: 52% 48% 0 0 / 42% 32% 0 0;
    background-position: 0 80px, 50px 66px, 90px 88px, 130px 70px, 0 0;
  }
  50% {
    border-radius: 40% 60% 0 0 / 28% 46% 0 0;
    background-position: 90px 8px, 140px -20px, 20px 10px, 210px -8px, 0 0;
  }
  100% {
    border-radius: 52% 48% 0 0 / 42% 32% 0 0;
    background-position: 180px -90px, 260px -120px, 130px -80px, 40px -106px, 0 0;
  }
}

@keyframes radioactiveBubbles {
  0% {
    background-position-y: 100px, 80px, 120px, 90px, 110px, 0;
  }
  100% {
    background-position-y: -120px, -160px, -130px, -180px, -150px, 0;
  }
}

.events-list {
  display: grid;
  gap: 12px;
}

.event-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.event-date {
  color: var(--acid);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
}

.contact-panel a {
  display: inline-block;
  margin: 8px 0 16px;
  color: var(--acid);
  font-size: 20px;
  font-weight: 800;
}

.small {
  color: var(--faint);
  font-size: 13px;
  line-height: 1.45;
}

.admin-login,
.admin-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
}

.hidden {
  display: none !important;
}

.form-inline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #070808;
  color: var(--text);
  padding: 12px;
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--acid);
}

.file-button {
  position: relative;
}

#importFile {
  display: none;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.tab {
  border: 1px solid var(--line);
  background: #070808;
  color: var(--muted);
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
}

.tab.active {
  border-color: var(--acid);
  color: var(--acid);
}

.admin-form {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.admin-form.active {
  display: grid;
}

.admin-form h3,
.admin-form button,
.admin-form label:has(textarea) {
  grid-column: 1 / -1;
}

.content-manager {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.admin-lists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-list {
  border: 1px solid var(--line);
  background: #070808;
  padding: 14px;
}

.admin-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.admin-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.mini-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.mini-delete {
  border: 1px solid rgba(255, 77, 61, 0.35);
  background: transparent;
  color: #ffd1cc;
  padding: 5px 8px;
  cursor: pointer;
}

.empty {
  border: 1px dashed var(--line);
  padding: 24px;
  color: var(--faint);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header {
    padding: 0 16px;
  }

  .brand-logo {
    width: 172px;
    max-height: 48px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 10px 16px 18px;
    background: rgba(7, 8, 8, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .ticker span:nth-child(2) {
    border-right: 0;
  }

  .grid,
  .artist-profile,
  .contact-section,
  .admin-lists {
    grid-template-columns: 1fr;
  }

  .artist-profile-image {
    min-height: 300px;
  }

  .artist-detail-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .artist-detail-page .artist-nav {
    position: static;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding: 0;
    border-bottom: 0;
    background: transparent;
  }

  .artist-detail-page .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .artist-detail-page .artist-detail-main {
    padding-top: 150px;
  }

  .artist-menu-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .section-head {
    display: block;
  }

  .event-row {
    grid-template-columns: 1fr;
  }

  .form-inline,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 12px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-logo {
    width: min(420px, 94vw);
    margin-bottom: 20px;
  }

  .hero-actions,
  .admin-toolbar {
    display: grid;
  }

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

  .ticker span {
    border-right: 0;
  }
}
