:root {
  --bg: #0f0f14;
  /* nearly black */
  --bg-soft: #151522;
  --text: #e6e6ef;
  --muted: #9aa0b4;
  --primary: #7c3aed;
  /* violet-600 */
  --primary-800: #4c1d95;
  /* dark */
  --accent: #a78bfa;
  /* violet-300 */
  --card: #131320;
  --border: #222236;
  --orange: #ff5e1a;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 1200px at 0% 0%, rgba(124, 58, 237, .08), transparent 60%),
    radial-gradient(1200px 1200px at 100% 0%, rgba(167, 139, 250, .06), transparent 60%),
    var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 56px 0
}

.section__title {
  font-size: 28px;
  margin: 0 0 20px 0
}

.lead {
  font-size: 18px;
  opacity: .9
}

.small {
  font-size: 12px
}

.muted {
  color: var(--muted)
}

.mt-2 {
  margin-top: 12px
}

.mt-3 {
  margin-top: 20px
}

.center {
  text-align: center
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 20, .7);
  backdrop-filter: saturate(130%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .5px
}

.nav {
  display: flex;
  gap: 10px;
  align-items: center
}

.nav__link {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px
}

.nav__link:hover {
  background: var(--bg-soft)
}

.nav__link.is-active {
  background: var(--primary);
  color: #fff
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text)
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 1px
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 56px;
    right: 4%;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 10px;
    flex-direction: column
  }

  .nav.is-open {
    display: flex
  }

  .nav-toggle {
    display: block
  }
}

/* Hero */
/* Showcase Hero (custom) */
.showcase {
  position: relative;
  padding: 56px 0 60px 0;
  overflow: hidden
}

.showcase__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 1000px at 80% 20%, rgba(255, 94, 26, .08), transparent 60%),
    radial-gradient(1200px 1200px at 10% 10%, rgba(124, 58, 237, .11), transparent 65%),
    url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22512%22 height=%22512%22 viewBox=%220 0 512 512%22%3E%3Cdefs%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence baseFrequency=%220.75%22 numOctaves=%222%22 seed=%222%22/%3E%3CfeColorMatrix type=%22saturate%22 values=%220%22/%3E%3CfeComponentTransfer%3E%3CfeFuncA type=%22table%22 tableValues=%220 0.08%22/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3C/defs%3E%3Crect width=%22512%22 height=%22512%22 filter=%22url(%23n)%22/%3E%3C/svg%3E') repeat;
  opacity: 0.25;
}

.showcase__inner {
  position: relative
}

.showcase__stage {
  position: relative;
  height: 64vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center
}

.showcase__title {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  font-size: clamp(46px, 10vw, 120px);
  letter-spacing: .02em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.98);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
  text-align: center
}

.showcase__photo {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: min(520px, 60vw);
  width: 100%;
  transform: translate(-50%, -50%) rotate(-6deg);
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 60px rgba(0, 0, 0, .6);
  z-index: 0;
  filter: contrast(1.05) saturate(1.05);
  transition: left .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s
}

.showcase__photo--top {
  z-index: 1
}

.showcase__photo--bottom {
  z-index: 0;
  opacity: 0
}

/* Split on hover of the whole section */
.showcase:hover .showcase__photo--top {
  left: 88%;
  transform: translate(-50%, -50%) rotate(0deg)
}

.showcase:hover .showcase__photo--bottom {
  left: 12%;
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 1
}

.showcase:hover .showcase__title {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1)
}

.showcase__photo--alpha {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  isolation: isolate;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)) drop-shadow(0 6px 18px rgba(0, 0, 0, .35)) contrast(1.05) saturate(1.05)
}

.showcase__photo--straight {
  transform: translate(-50%, -50%) rotate(0deg)
}

.showcase__meta {
  position: absolute;
  left: 8%;
  bottom: 10%;
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  z-index: 2
}

.showcase__tagline {
  letter-spacing: .3em
}

.showcase__since {
  opacity: .9
}

.showcase__actions {
  position: absolute;
  left: 8%;
  top: 12%;
  display: flex;
  gap: 12px;
  z-index: 2
}

.showcase--actions-bottom-center .showcase__actions {
  left: 50%;
  top: auto;
  bottom: 2%;
  transform: translateX(-50%)
}

.showcase--actions-bottom-center .showcase__actions .btn {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35)
}

.showcase--actions-right .showcase__actions {
  left: auto;
  right: 10%;
  top: 50%;
  transform: translateY(-50%)
}

.showcase--actions-top-left .showcase__actions {
  left: 8%;
  top: 12%;
  right: auto;
  bottom: auto;
  transform: none
}

.showcase--actions-bottom-right .showcase__actions {
  left: auto;
  right: 10%;
  top: auto;
  bottom: 12%;
  transform: none
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600
}

.btn--primary {
  background: var(--primary);
  color: #fff
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text)
}

/* Play circle */
.play-circle {
  position: absolute;
  right: 10%;
  bottom: 2%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--orange);
  cursor: pointer;
  z-index: 2
}

.play-circle__svg {
  width: 100%;
  height: 100%;
  display: block
}

.play-circle__ring {
  fill: none;
  stroke: rgba(255, 94, 26, .4);
  stroke-width: 2
}

.play-icon polygon {
  fill: #fff
}

.pause-icon rect {
  fill: #fff;
  shape-rendering: geometricPrecision
}

.pause-icon {
  display: none
}

.play-icon,
.pause-icon {
  transform-origin: 60px 60px
}

.play-circle.is-playing .play-icon {
  display: none
}

.play-circle.is-playing .pause-icon {
  display: block
}

.play-circle__text text {
  font-family: Inter, system-ui, sans-serif
}

.play-circle:hover {
  color: #fff
}

@media (max-width: 900px) {
  .showcase__stage {
    height: 58vh
  }

  .showcase__photo {
    max-width: min(78vw, 440px)
  }

  .showcase:hover .showcase__photo--top {
    left: 82%;
    transform: translate(-50%, -50%) rotate(0deg)
  }

  .showcase:hover .showcase__photo--bottom {
    left: 18%;
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1
  }

  .showcase__actions {
    top: auto;
    bottom: 16%;
    left: 6%
  }

  .showcase--actions-bottom-center .showcase__actions {
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%)
  }

  .showcase--actions-right .showcase__actions {
    right: 6%;
    left: auto;
    top: auto;
    bottom: 12%;
    transform: none
  }

  .showcase--actions-bottom-right .showcase__actions {
    right: 6%;
    left: auto;
    bottom: 10%
  }

  .play-circle {
    right: 6%;
    bottom: 6%
  }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.gallery__item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card)
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: grayscale(.1) contrast(1.05)
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr
  }

  .showcase__photo {
    max-width: min(78vw, 440px)
  }
}

/* Tracks */
.tracks {
  display: grid;
  gap: 12px
}

.track {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 12px
}

.track__title {
  font-weight: 600
}

.track__audio {
  width: 100%;
  margin-top: 8px
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 12px
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr
  }
}

/* Social */
.social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.social__link {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none
}

.social__link:hover {
  background: var(--primary);
  color: #fff
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  background: rgba(15, 15, 20, .7)
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 20px 0
}

.footer__col a {
  display: block;
  color: var(--text);
  text-decoration: none;
  margin: 2px 0
}

.footer__col a:hover {
  color: #fff
}

@media (max-width: 760px) {
  .footer__inner {
    grid-template-columns: 1fr
  }
}

/* Forms */
.form {
  display: grid;
  gap: 12px
}

.input,
.textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
}

.textarea {
  min-height: 120px
}

.input:focus,
.textarea:focus {
  outline: 2px solid var(--primary)
}

/* Pages */
.page-title {
  margin: 0 0 10px 0
}

.page-subtitle {
  margin: 0 0 20px 0;
  color: var(--muted)
}

/* Utility */
.hidden {
  display: none
}