/*
  Minimal dark music portfolio theme
  Edit the color palette here first. Purple accent is controlled by --accent and --accent-2.
*/
:root {
  --bg: #08070d;
  --surface: #11101a;
  --surface-2: #171525;
  --text: #f5f1ff;
  --muted: #b7aecf;
  --soft: #7f7697;
  --accent: #9d6bff;
  --accent-2: #c084fc;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(157, 107, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 80% 20%, rgba(192, 132, 252, 0.14), transparent 26rem),
    linear-gradient(180deg, #08070d 0%, #0b0a12 50%, #07060a 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 28px rgba(157, 107, 255, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(17, 16, 26, 0.74);
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(157, 107, 255, 0.16);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: 56px;
}

.page-hero {
  padding-bottom: 32px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 840px;
  font-size: clamp(3rem, 7vw, 6.65rem);
  line-height: 0.93;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

p {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #0c0714;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 40px rgba(157, 107, 255, 0.3);
}

.button.secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button.full {
  width: 100%;
  margin-top: 18px;
}

.portrait-card {
  position: relative;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(157,107,255,0.48), transparent 44%, rgba(192,132,252,0.18));
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.panel,
.feature-card,
.list-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.066), rgba(255,255,255,0.026));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.panel {
  padding: 32px;
}

.accent-panel {
  background:
    radial-gradient(circle at top right, rgba(157, 107, 255, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.026));
}

.social-list {
  display: grid;
  gap: 10px;
}

.social-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.social-list a::after {
  content: "↗";
  color: var(--accent-2);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

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

.card-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 260px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.42);
  background: linear-gradient(180deg, rgba(157,107,255,0.12), rgba(255,255,255,0.025));
}

.card-number {
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 800;
}

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin-top: 22px;
  border: 1px dashed rgba(192,132,252,0.45);
  border-radius: var(--radius-md);
  color: var(--soft);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
  padding: 20px;
}

.list-stack {
  display: grid;
  gap: 18px;
}

.list-item {
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.check-list {
  padding-left: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
}

.check-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

.contact-lines {
  margin-top: 20px;
}

.contact-lines p {
  margin-bottom: 8px;
}

.contact-lines a {
  color: var(--accent-2);
}

.site-footer {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--soft);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(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;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    border-radius: 22px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-nav a {
    text-align: center;
  }

  .hero,
  .two-column,
  .card-grid,
  .card-grid.compact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .portrait-card {
    max-width: 440px;
  }

  .list-item {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 28px, var(--max-width));
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4.2rem);
  }

  .panel,
  .feature-card,
  .list-item {
    padding: 22px;
    border-radius: 22px;
  }

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