:root {
  --bg: #06070b;
  --bg-elevated: #0e1118;
  --bg-card: #12151e;
  --line: rgba(94, 203, 255, 0.22);
  --text: #e8edf5;
  --muted: #9aa6b8;
  --accent: #00d4ff;
  --accent-soft: rgba(0, 212, 255, 0.14);
  --ember: #d1612d;
  --ember-soft: rgba(209, 97, 45, 0.18);
  --cream: #f2f0e6;
  --gold: #ffd34d;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 4px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(circle at 20% 0%, rgba(0, 212, 255, 0.08), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(209, 97, 45, 0.06), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(255, 211, 77, 0.04), transparent 50%);
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 11, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
}

.site-brand__text strong {
  font-size: 0.82rem;
  color: var(--white);
}

.site-brand__text span {
  color: var(--muted);
}

.site-brand__logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--ember-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0c10;
  background: var(--white);
  border: 1px solid var(--white);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.site-nav__link:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.site-nav__link.is-active {
  background: #0a0c10;
  color: var(--white);
  border-color: #0a0c10;
}

.site-nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 0;
  cursor: pointer;
}

.site-nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__credit a {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  background: var(--white);
  color: #0a0c10;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__social a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__social a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #3dd9ff);
  color: #031018;
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.25);
}

.btn--ember {
  background: linear-gradient(135deg, var(--ember), #e8874f);
  color: #1a0a04;
  box-shadow: 0 12px 40px rgba(209, 97, 45, 0.28);
}

.btn--ghost {
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Home: single viewport, no extra scroll sections */
body[data-page="home"] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body[data-page="home"] main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body[data-page="home"] .site-footer {
  margin-top: 0;
  flex-shrink: 0;
}

/* Hero (home) */
.hero {
  position: relative;
  flex: 1;
  min-height: calc(100vh - var(--header-h) - 5rem);
  max-height: calc(100vh - var(--header-h) - 5rem);
  display: grid;
  align-items: end;
  padding: 1.25rem 0 1.5rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 7, 11, 0.92) 0%, rgba(6, 7, 11, 0.55) 48%, rgba(6, 7, 11, 0.35) 100%);
}

.hero__panel {
  position: relative;
  z-index: 1;
  max-width: 400px;
  padding: 1rem 1.2rem;
  background: rgba(10, 12, 18, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero__panel h1 {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.hero__panel p {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.hero__actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.7rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__meta-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__meta a {
  color: var(--white);
  text-decoration: none;
}

/* Page hero */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  color: var(--white);
}

.page-hero__lead {
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section--tight {
  padding-top: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.25rem;
  min-height: 100%;
}

.card h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.card__index {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* About */
.about-layout {
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
}

.about-section {
  padding: 2rem 0 0.75rem;
}

.about-portrait {
  position: relative;
  border: 1px solid var(--line);
  padding: 0.35rem;
  background: linear-gradient(145deg, var(--accent-soft), transparent);
}

.about-portrait--compact {
  max-width: 260px;
}

.about-portrait img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.about-portrait__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.35rem 0.5rem;
}

.about-copy .eyebrow {
  margin-top: 0;
}

.about-copy h2 {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.about-copy p {
  margin-bottom: 0.65rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* Listen */
.section--listen {
  padding-bottom: 0.75rem;
}

.listen-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.listen-embed {
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
  line-height: 0;
}

.listen-embed iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
}

.listen-grid {
  display: grid;
  grid-template-columns: 0.9fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.listen-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 220px;
}

.listen-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.7rem;
}

.listen-card__cta {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.listen-card--profile {
  padding: 0;
  overflow: hidden;
}

.listen-card--profile img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.listen-card--profile .listen-card__overlay {
  padding: 1rem;
  margin-top: -4rem;
  position: relative;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

/* Releases */
.release-list {
  display: grid;
  gap: 0.75rem;
}

.release-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.release-item h3 {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
}

.release-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

.spotify-embed {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Labels */
.label-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.page-hero--compact {
  padding-bottom: 1rem;
}

.label-pill {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--text);
}

.label-pill--link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.label-pill--link:hover {
  border-color: var(--accent);
  color: var(--white);
  text-decoration: none;
}

.label-pill__arrow {
  font-size: 0.75em;
  opacity: 0.85;
}

.studio-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
}

.studio-layout {
  align-items: stretch;
}

.studio-feature {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  line-height: 0;
  min-height: 0;
}

.studio-feature img {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
  vertical-align: top;
}

/* Studio */
.studio-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.studio-gallery img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.gear-list {
  columns: 2;
  gap: 2rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

/* Plugins */
.section--plugins {
  padding-bottom: 0.5rem;
}

body[data-page="free-plugins"] .site-footer {
  margin-top: 0.75rem;
}

.plugin-grid {
  gap: 0.85rem;
  align-items: stretch;
}

.plugins-footer-note {
  margin-top: 0.65rem;
  padding-bottom: 0;
}

.plugins-footer-note .eyebrow {
  margin-bottom: 0;
}

.plugin-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plugin-card--compact {
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  min-height: 0;
}

.plugin-card__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.3;
}

.plugin-card__text h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--white);
}

.plugin-card__version,
.plugin-card__blurb {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--muted);
}

.plugin-card__blurb {
  color: var(--text);
}

.btn--compact {
  padding: 0.6rem 0.85rem;
  font-size: 0.68rem;
  margin-top: 0.15rem;
}

.plugin-card__shot {
  border: 1px solid var(--line);
  background: #0a0d14;
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.plugin-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plugin-card__shot--placeholder {
  background: linear-gradient(135deg, #0f1522, #1a2438);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Home sections */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-strip .card {
  transition: border-color 0.2s ease;
}

.feature-strip .card:hover {
  border-color: rgba(0, 212, 255, 0.55);
}

@media (max-width: 960px) {
  .page-hero__grid,
  .grid-2,
  .grid-3,
  .feature-strip,
  .studio-gallery,
  .listen-layout,
  .listen-grid {
    grid-template-columns: 1fr;
  }

  .listen-embed iframe {
    min-height: 450px;
  }

  .listen-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 720px) {
  .page-hero__lead {
    white-space: normal;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-portrait--compact {
    max-width: 220px;
  }
  .site-nav__toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .listen-grid {
    grid-template-columns: 1fr;
  }

  .gear-list {
    columns: 1;
  }
}
