/* Akbal — design tokens and styles.
   Dark is the brand's home; light follows the OS or the toggle.
   Use the variables below; don't hard-code colours in rules. */

:root {
  /* Neon accents, pushed from the logo colours (#939 purple, #33c blue, #9c3 green). */
  --neon-violet: #b26bff;
  --neon-magenta: #ff4fd8;
  --neon-cyan: #3fe0ff;
  --neon-orange: #ff8a3d;

  --bg: #07060d;
  --bg-alt: #0d0b17;
  --surface: #14111f;
  --line: #2a2440;
  --text: #ece9f5;
  --muted: #a7a1bd;
  --accent: var(--neon-violet);
  --accent-2: var(--neon-cyan);
  --on-accent: #0a0612;
  --glow-strength: 1;

  --font-display: "Chakra Petch", "Avenir Next Condensed", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 11vw, 136px);

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f4fb;
    --bg-alt: #ece8f6;
    --surface: #ffffff;
    --line: #d9d3ea;
    --text: #15111f;
    --muted: #574f6e;
    --accent: #7a2fc4;
    --accent-2: #0a7590;
    --on-accent: #ffffff;
    --glow-strength: 0;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f4fb;
  --bg-alt: #ece8f6;
  --surface: #ffffff;
  --line: #d9d3ea;
  --text: #15111f;
  --muted: #574f6e;
  --accent: #7a2fc4;
  --accent-2: #0a7590;
  --on-accent: #ffffff;
  --glow-strength: 0;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  padding: 10px 14px; background: var(--accent); color: var(--on-accent);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* Logo: two layers, coloured from the outside. */
.logo-shape { fill: var(--logo-shape, var(--text)); }
.logo-cut { fill: var(--logo-cut, var(--bg)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; }
.logo { width: 92px; height: auto; display: block; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font: 500 13px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); padding: 8px 0; position: relative;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text);
  cursor: pointer; transition: border-color .2s, color .2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.icon-moon { display: none; }
/* Show the icon of the mode you'd switch to. */
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .icon-sun { display: none; }
  :root:not([data-theme="dark"]) .icon-moon { display: block; }
}

/* ---------- Hero (always dark: it sits on the artwork) ---------- */
.hero {
  --text: #f1eefa; --muted: #c4bdda; --line: #3a3156;
  --accent: var(--neon-violet); --accent-2: var(--neon-cyan); --on-accent: #0a0612;
  --logo-shape: #ffffff; --logo-cut: #07060d;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 860px);
  display: flex; align-items: center;
  background: #07060d; color: var(--text);
  margin-top: -65px; padding: 140px 0 96px;
}
.hero-media {
  position: absolute; inset: 0 0 0 auto; width: min(64%, 1100px); z-index: -2;
  background: url("../assets/img/hero-city.webp") center / cover no-repeat;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #07060d 0%, rgba(7,6,13,.75) 22%, rgba(7,6,13,0) 60%),
    linear-gradient(0deg, #07060d 0%, rgba(7,6,13,0) 28%);
}
.hero::before { /* faint grid, a nod to the neon-grid floors in the artwork */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(178,107,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(178,107,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero-inner { max-width: var(--wrap); }
.eyebrow {
  font: 500 13px/1 var(--font-display); letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow span { white-space: nowrap; }
.eyebrow .sep { color: var(--accent); margin: 0 .6em; }
.hero h1 { margin: 28px 0 32px; }
.hero-logo {
  display: block; width: clamp(240px, 46vw, 560px); height: auto;
  filter: drop-shadow(0 0 22px rgba(178,107,255,.45)) drop-shadow(0 0 2px rgba(255,255,255,.4));
}
.lead { max-width: 34ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  font: 600 14px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent), 0 8px 28px -8px color-mix(in srgb, var(--accent) calc(var(--glow-strength) * 90%), transparent);
}
.btn-primary:hover { box-shadow: 0 0 0 1px var(--accent), 0 10px 36px -6px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.kicker {
  font: 500 12px/1 var(--font-display); letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h2 { font-size: clamp(36px, 6vw, 64px); margin-top: 16px; text-transform: uppercase; }
.section-lead { max-width: 56ch; margin-top: 18px; color: var(--muted); font-size: 18px; }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--font-display); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2);
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

/* Feature release */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
}
.feature-art {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px color-mix(in srgb, var(--neon-violet) calc(var(--glow-strength) * 70%), transparent);
}
.feature h3 { font-size: clamp(40px, 6vw, 72px); text-transform: uppercase; margin-top: 18px; }
.by { font: 500 15px/1 var(--font-display); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 14px 0 24px; }
.feature-body > p:last-of-type { max-width: 44ch; color: var(--muted); }

/* Older releases */
.releases { list-style: none; padding: 0; margin: clamp(56px, 8vw, 96px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.release {
  display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 24px; align-items: start;
  padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s;
}
.release:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.release img { width: 148px; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.release h3 { font-size: 26px; text-transform: uppercase; margin: 10px 0 12px; }
.tracks { margin: 0; padding: 0; list-style: none; counter-reset: t; color: var(--muted); font-size: 15px; }
.tracks li { counter-increment: t; display: flex; gap: 12px; padding: 4px 0; }
.tracks li::before { content: counter(t, decimal-leading-zero); font: 500 12px/1.9 var(--font-display); color: var(--accent); }

/* Cast */
.cast { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member {
  position: relative; overflow: hidden; border-radius: var(--radius); background: #07060d;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .3s, transform .3s;
}
.member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s; }
.member::after {
  content: ""; position: absolute; inset: 40% 0 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(7,6,13,.92), rgba(7,6,13,0));
}
.member-meta { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #f1eefa; }
.member h3 { font-size: 24px; text-transform: uppercase; letter-spacing: .06em; }
.member p { font: 500 12px/1 var(--font-display); letter-spacing: .24em; text-transform: uppercase; color: var(--glow); margin-top: 8px; }
.member:hover { box-shadow: 0 0 0 1px var(--glow), 0 18px 50px -18px var(--glow); }
.member:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .member img, .member { transition: none; } .member:hover img { transform: none; } }

/* Booking */
.booking { padding-top: 0; }
.booking-inner {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px;
  padding-top: var(--section-y); border-top: 1px solid var(--line);
}
.booking-note {
  font: 500 14px/1.4 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding: 14px 18px; border: 1px dashed var(--line); border-radius: var(--radius);
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo-sm { width: 64px; --logo-shape: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .releases { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .header-row { flex-wrap: wrap; height: auto; padding: 12px 0 0; row-gap: 6px; }
  .theme-toggle { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 12px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
  .nav a { padding: 12px 0; font-size: 12px; letter-spacing: .12em; }
  .hero { margin-top: -105px; padding: 330px 0 56px; min-height: 0; align-items: flex-end; }
  .eyebrow { font-size: 12px; letter-spacing: .2em; }
  .hero-media { width: 100%; opacity: .7; }
  .hero-media::after {
    background:
      linear-gradient(0deg, #07060d 8%, rgba(7,6,13,.55) 55%, rgba(7,6,13,.2) 100%);
  }
  .hero::before { display: none; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .release { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .release img { width: 96px; }
  .release h3 { font-size: 22px; }
}
@media (max-width: 420px) {
  .cast { gap: 12px; }
  .member-meta { left: 12px; bottom: 12px; }
  .member h3 { font-size: 18px; }
  .member p { font-size: 10px; letter-spacing: .18em; }
  .btn { flex: 1 1 auto; }
}
