/* deMusiax – "Midnight Plum" neon template look
 * Rules: square corners, solid colours on buttons & text (no gradients).
 * Swap the tokens below to try another palette from the template set.
 */
:root {
  --bg: #0A0F14;
  --surface: #141B22;
  --accent: #39FF88;
  --accent-hover: #74FFAB;
  --accent2: #8F5BFF;
  --sunset: #FFB36A;
  --text: #EAF2EF;
  --muted: #95A39D;
  --border: #22303A;
  --cta-ink: #06140C;
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--cta-ink); }

.site { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4.1vw, 56px); }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.topbar__inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.nav a { font-size: 13px; color: var(--muted); font-weight: 650; transition: color .2s; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }
.nav .nav-cta { border: 1px solid var(--border); padding: 10px 17px; color: var(--text); transition: border-color .2s; }
.nav .nav-cta:hover { border-color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  padding: 14px 22px; min-height: 50px;
  font-size: 14px; font-weight: 750;
  border: 1px solid transparent;
  transition: transform .2s, border-color .2s, background-color .2s, color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--cta-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--text); border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 13px; gap: 10px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center;
  gap: clamp(24px, 4.5vw, 72px);
  padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(80px, 10vw, 140px);
}
.eyebrow {
  display: inline-flex; gap: 13px; align-items: center;
  font-weight: 750; letter-spacing: .2em; font-size: 11px; color: var(--accent); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 25px; height: 2px; background: var(--accent); }
h1 { margin: 28px 0 24px; }
.hero-logo { width: min(520px, 100%); height: auto; }
h1 em {
  display: block; margin-top: 22px;
  font-style: normal; color: var(--accent);
  font-size: clamp(34px, 4.6vw, 60px); font-weight: 780; letter-spacing: -.055em; line-height: 1.05;
}
.intro { color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.8; max-width: 515px; margin: 0 0 32px; }
.intro strong { color: var(--text); font-weight: 650; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 45px; color: var(--muted); font-size: 12px; }
.hero-note span { display: inline-flex; align-items: center; gap: 9px; }
.mini-dot { width: 7px; height: 7px; display: inline-block; background: var(--accent); }

/* synthwave art panel */
.art {
  aspect-ratio: 4 / 3.4; position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 53% 40%, color-mix(in srgb, var(--accent2) 24%, transparent), transparent 56%),
    linear-gradient(155deg, color-mix(in srgb, var(--surface) 89%, var(--accent2)), var(--bg) 70%);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .27);
}
.art::before {
  position: absolute; content: ""; inset: 0;
  background-image:
    radial-gradient(circle at 18% 19%, var(--text) 1px, transparent 1.7px),
    radial-gradient(circle at 78% 24%, var(--text) 1px, transparent 1.7px),
    radial-gradient(circle at 70% 13%, var(--text) 1px, transparent 1.7px),
    radial-gradient(circle at 35% 38%, var(--text) 1px, transparent 1.7px);
  opacity: .48;
}
.art-caption {
  position: absolute; z-index: 6; top: 24px; left: 26px; right: 26px;
  display: flex; justify-content: space-between;
  font-weight: 750; font-size: 10px; letter-spacing: .19em; color: var(--muted);
}
.halo { position: absolute; left: 21%; width: 58%; top: 10%; aspect-ratio: 1; border-radius: 50%; background: var(--accent2); opacity: .25; filter: blur(75px); }
.sun {
  position: absolute; z-index: 1; width: 50%; aspect-ratio: 1; top: 14%; left: 25%;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sunset) 0%, var(--accent2) 93%);
  box-shadow: 0 0 60px color-mix(in srgb, var(--accent2) 22%, transparent);
  overflow: hidden;
}
.sun::after {
  content: ""; position: absolute; inset: 42% 0 0;
  background: repeating-linear-gradient(to bottom, transparent 0 11px, color-mix(in srgb, var(--bg) 94%, transparent) 12px 16px);
  opacity: .83;
}
.mount-m, .mount-b { position: absolute; z-index: 2; left: -3%; right: -3%; height: 34%; bottom: 17%; background: var(--bg); }
.mount-b {
  clip-path: polygon(0 90%, 11% 59%, 22% 72%, 38% 31%, 51% 65%, 66% 24%, 79% 65%, 89% 45%, 100% 80%, 100% 100%, 0 100%);
  filter: drop-shadow(0 -2px var(--accent2)); opacity: .8;
}
.mount-m {
  bottom: 10%;
  clip-path: polygon(0 68%, 11% 88%, 31% 35%, 40% 54%, 52% 16%, 66% 67%, 81% 22%, 91% 46%, 100% 34%, 100% 100%, 0 100%);
  background: color-mix(in srgb, var(--bg) 74%, var(--accent2));
}
.horizon {
  position: absolute; z-index: 3; height: 2px; bottom: 25%; left: 0; right: 0;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  box-shadow: 0 0 20px var(--accent2); opacity: .7;
}
.floor {
  position: absolute; z-index: 3; bottom: -12%; left: -40%; right: -40%; height: 42%;
  transform: perspective(270px) rotateX(68deg); transform-origin: center top;
  background:
    repeating-linear-gradient(90deg, transparent 0 63px, color-mix(in srgb, var(--accent2) 48%, transparent) 64px 66px),
    repeating-linear-gradient(0deg, transparent 0 30px, color-mix(in srgb, var(--accent2) 48%, transparent) 31px 33px);
  opacity: .7;
  -webkit-mask-image: linear-gradient(0deg, #000 35%, transparent 100%);
          mask-image: linear-gradient(0deg, #000 35%, transparent 100%);
}
/* the duo, blended into the sunset scene: dark photo areas let the scene through */
.art-photo { position: absolute; inset: 0; z-index: 4; mix-blend-mode: lighten; }
.art-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .92; }
.art-chip {
  position: absolute; right: 19px; bottom: 17px; z-index: 6;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--border);
  padding: 9px 13px; letter-spacing: .12em; font-size: 10px; font-weight: 650; color: var(--text);
  backdrop-filter: blur(12px);
}

/* ---------- sections ---------- */
.section { padding: 0 0 114px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow-small { color: var(--accent); font-size: 11px; letter-spacing: .17em; font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.055em; line-height: 1.13; margin: 13px 0 0; font-weight: 780; }
.section-explainer { max-width: 330px; font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0; }

/* ---------- link cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  display: flex; flex-direction: column; min-height: 220px; padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  transition: background-color .2s, border-color .2s, transform .2s;
}
.feature-card:hover {
  background: color-mix(in srgb, var(--surface) 91%, var(--text));
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  transform: translateY(-3px);
}
.feature-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  margin-bottom: 32px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-title { font-size: 18px; font-weight: 750; letter-spacing: -.03em; margin: 0 0 6px; }
.feature-body { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
.card-link { margin-top: auto; padding-top: 23px; color: var(--accent); font-size: 12px; font-weight: 760; text-decoration: underline; text-underline-offset: 4px; }
.feature-card--accent { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); }

/* ---------- gigs ---------- */
.gigs { display: flex; flex-direction: column; gap: 12px; }
.gig {
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 28px;
  padding: 22px 26px 22px 22px;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
.gig:hover { border-color: color-mix(in srgb, var(--accent) 42%, var(--border)); transform: translateY(-2px); }
.gig-date { display: flex; flex-direction: column; padding-right: 22px; border-right: 1px solid var(--border); line-height: 1; }
.gig-day { font-size: 40px; font-weight: 780; letter-spacing: -.06em; }
.gig-mon { margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--accent); }
.gig-info h3 { font-size: 22px; font-weight: 750; letter-spacing: -.04em; line-height: 1.2; }
.gig-info p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.gig-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.gig--past { opacity: .6; }
.gig--past .gig-mon { color: var(--muted); }

.gigs-empty {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface); border: 1px solid var(--border);
}
.gigs-empty strong { display: block; font-size: 24px; font-weight: 780; letter-spacing: -.045em; }
.gigs-empty p { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 520px; }

.past { margin-top: 22px; }
.past summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); padding: 8px 0; list-style: none; transition: color .2s; }
.past summary:hover { color: var(--text); }
.past summary::-webkit-details-marker { display: none; }
.past summary::before { content: "+ "; color: var(--accent); }
.past[open] summary::before { content: "– "; }
.past .gigs { margin-top: 12px; }

.refs { margin-top: 56px; }
.refs-list {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  border-top: 1px solid var(--border);
}
.refs-list li { display: flex; flex-direction: column; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--border); }
.refs-list strong { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.refs-list span { font-size: 13px; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 250px); gap: 16px; }
.gallery-item { overflow: hidden; display: block; border: 1px solid var(--border); background: var(--surface); transition: border-color .2s; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover { border-color: color-mix(in srgb, var(--accent) 42%, var(--border)); }
.gallery-item:hover img { transform: scale(1.04); }

/* ---------- about ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.work-item {
  min-height: 260px; padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.work-item:nth-child(2) { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface) 90%, var(--accent2))); }
.work-label { font-size: 11px; letter-spacing: .17em; font-weight: 800; color: var(--accent); }
.work-bottom { max-width: 460px; }
.work-bottom h3 { font-size: 26px; letter-spacing: -.05em; margin: 0 0 10px; }
.work-bottom p { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0; }
.banner { position: relative; margin: 18px 0 0; border: 1px solid var(--border); overflow: hidden; }
.banner img { width: 100%; }
.banner figcaption {
  position: absolute; left: 19px; top: 17px; right: 19px; width: fit-content;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--border);
  padding: 9px 13px; font-size: 13px; font-weight: 650; color: var(--text);
  backdrop-filter: blur(12px);
}

/* ---------- booking ---------- */
.contact {
  margin-bottom: 102px; padding: clamp(30px, 5vw, 65px);
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--accent2)));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.contact h2 { margin-top: 8px; }
.contact p { color: var(--muted); font-size: 14px; max-width: 560px; }
.contact .btn { flex: none; }

/* ---------- footer ---------- */
.footer {
  padding-top: 30px; padding-bottom: 38px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 12px;
}
.footer a { text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { color: var(--accent); }

/* ---------- legal pages ---------- */
.legal { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(64px, 9vw, 120px); }
.legal > * { max-width: 760px; }
.legal-title { margin: 13px 0 36px; font-size: clamp(40px, 6vw, 72px); font-weight: 790; letter-spacing: -.07em; line-height: 1.05; }
.legal-card { padding: 28px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 16px; }
.legal-label { margin: 0 0 14px; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--accent); }
.legal-card address, .legal-card p { margin: 0; font-style: normal; font-size: 17px; line-height: 1.8; color: var(--text); }
.legal-text h2 { margin: 0 0 10px; font-size: 20px; font-weight: 750; letter-spacing: -.03em; line-height: 1.3; }
.legal-text h2:not(:first-child) { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.legal-text p { font-size: 15px; line-height: 1.8; color: var(--muted); hyphens: auto; }
.legal-text p + p { margin-top: 14px; }
.footer a[aria-current="page"] { color: var(--text); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 95%, transparent); padding: 24px; cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; width: auto; border: 1px solid var(--border); }
.lightbox-close {
  position: absolute; top: 14px; right: 18px; font-size: 40px; line-height: 1;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.lightbox-close:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: auto; }
  .gallery-item:first-child, .gallery-item:last-child { grid-column: span 2; }
}
@media (max-width: 650px) {
  .topbar__inner { height: 68px; }
  .brand img { height: 20px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta { padding: 8px 12px; font-size: 12px; }
  .hero { padding-top: 44px; padding-bottom: 76px; }
  .hero-note { gap: 15px; }
  .sun { top: 16%; width: 60%; left: 20%; }
  .actions .btn { flex: 1 1 100%; }
  .section { padding-bottom: 76px; }
  .section-title { display: block; }
  .section-explainer { margin-top: 18px; }
  .card-grid, .work-grid { grid-template-columns: 1fr; }
  .card-grid { gap: 10px; }
  .feature-card {
    min-height: 0; padding: 16px 18px;
    display: grid; grid-template-columns: 44px 1fr auto; column-gap: 16px; align-items: center;
    grid-template-areas: "icon title link" "icon body link";
  }
  .feature-icon { grid-area: icon; margin: 0; }
  .feature-title { grid-area: title; margin: 0; font-size: 16px; }
  .feature-body { grid-area: body; font-size: 13px; }
  .card-link { grid-area: link; margin: 0; padding: 0; }
  .gig { grid-template-columns: 72px 1fr; gap: 18px; padding: 18px; }
  .gig-date { padding-right: 16px; }
  .gig-day { font-size: 32px; }
  .gig-info h3 { font-size: 19px; }
  .gig-actions { grid-column: 1 / -1; justify-content: stretch; }
  .gig-actions .btn { flex: 1; }
  .banner figcaption { position: static; width: auto; border: 0; border-top: 1px solid var(--border); backdrop-filter: none; background: var(--surface); }
  .contact { display: block; }
  .contact .btn { margin-top: 20px; width: 100%; }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
