/* ==========================================================================
   B-Proud — Design Tokens
   ========================================================================== */

:root {
  /* Colors — near-black canvas + electric cyan accent (see DESIGN.md) */
  --color-bg: #0a0f11;
  --color-bg: oklch(13% 0.018 220);
  --color-bg-alt: #10171a;
  --color-bg-alt: oklch(18% 0.022 220);
  --color-bg-elevated: #0d1315;
  --color-bg-elevated: oklch(15% 0.025 220);

  --color-accent: #22e0e8;
  --color-accent: oklch(80% 0.15 195);
  --color-accent-deep: #14a8af;
  --color-accent-deep: oklch(64% 0.13 195);
  --color-accent-glow: oklch(80% 0.15 195 / 0.35);

  --color-text: #f2fbfc;
  --color-text: oklch(96% 0.008 220);
  --color-text-muted: #a7b6bb;
  --color-text-muted: oklch(73% 0.018 220);
  --color-border: #223034;
  --color-border: oklch(30% 0.02 220);
  --color-on-accent: #071012;
  --color-on-accent: oklch(15% 0.02 220);

  /* Typography */
  --font-body: "Space Grotesk", "Arial", sans-serif;
  --text-hero: clamp(2.75rem, 9vw, 6rem);
  --text-display: clamp(2.25rem, 5vw, 3.5rem);
  --text-headline: clamp(1.5rem, 3.2vw, 2.25rem);
  --text-title: clamp(1.15rem, 2vw, 1.4rem);
  --text-lead: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-label: 0.8125rem;

  /* Spacing — 4pt scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;
  --dur-entrance: 700ms;

  /* Elevation */
  --shadow-sticky: 0 2px 20px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.45);
  --glow-accent: 0 0 0 1px oklch(80% 0.15 195 / 0.4), 0 0 28px oklch(80% 0.15 195 / 0.35);

  /* Z-index scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in oklch, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sticky);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--space-sm) clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin-inline: auto;
  transition: transform var(--dur-base) var(--ease-out-quart), opacity var(--dur-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-menu a {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-3xs) 0;
  position: relative;
  transition: color var(--dur-base) var(--ease-out-quart);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--color-accent);
  transition: right var(--dur-base) var(--ease-out-quart);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-text);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  right: 0;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-slow) var(--ease-out-quart);
  }

  .nav-menu.open {
    max-height: 400px;
  }

  .nav-menu a {
    padding: var(--space-sm) clamp(1.25rem, 4vw, 3rem);
    border-top: 1px solid var(--color-border);
  }

  .nav-menu a::after {
    display: none;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--text-small);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform var(--dur-base) var(--ease-out-quart),
    box-shadow var(--dur-base) var(--ease-out-quart),
    background-color var(--dur-base) var(--ease-out-quart);
  min-height: 44px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.btn-primary:hover {
  background: var(--color-accent-deep);
  transform: translateY(-2px);
  box-shadow: var(--glow-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero — full-bleed photo, text anchored bottom-left (asymmetric)
   ========================================================================== */

.hero-photo {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* Desktop: keep the full-bleed cover-crop (same treatment as mobile), just
   taller so the crop window reaches further down the portrait source photo —
   enough to keep generous air above the head and just catch the turntable's
   edge at the bottom. Mobile's cover-crop/height above stays untouched. */
@media (min-width: 900px) {
  .hero-photo {
    height: 100vh;
    min-height: 100vh;
  }

  .hero-photo-img {
    object-position: center 25%;
  }
}

.hero-photo-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(13% 0.018 220 / 0.05) 0%, oklch(13% 0.018 220 / 0.35) 45%, oklch(13% 0.018 220 / 0.92) 100%),
    linear-gradient(90deg, oklch(13% 0.018 220 / 0.85) 0%, oklch(13% 0.018 220 / 0.35) 45%, transparent 75%);
}

.hero-photo-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 640px;
  padding: var(--space-2xl) clamp(1.25rem, 5vw, 4rem) var(--space-3xl);
  animation: hero-enter var(--dur-entrance) var(--ease-out-quart) both;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-name {
  font-size: var(--text-hero);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.hero-tagline {
  font-size: var(--text-lead);
  color: var(--color-text-muted);
  max-width: 36ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-lg);
  right: clamp(1.25rem, 5vw, 4rem);
  z-index: 1;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  animation: scroll-bounce 2s var(--ease-out-quart) infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================================================
   Music-with-cover — release cover art beside the Spotify embed
   ========================================================================== */

.music-with-cover {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: flex-start;
}

.music-cover {
  flex: 0 0 auto;
  width: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.music-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.music-embed-col {
  flex: 1 1 320px;
  min-width: 0;
}

.music-embed-col .embed-wrapper {
  margin-top: 0;
}

/* ==========================================================================
   Bio photo gallery (secondary studio shots)
   ========================================================================== */

.bio-gallery {
  margin-top: var(--space-lg);
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bio-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   Page Header (secondary pages)
   ========================================================================== */

.page-header {
  padding: var(--space-3xl) clamp(1.25rem, 4vw, 3rem) var(--space-2xl);
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: var(--text-display);
  letter-spacing: -0.02em;
}

.page-header p {
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  font-size: var(--text-lead);
  max-width: 60ch;
  margin-inline: auto;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section h2 {
  font-size: var(--text-headline);
  letter-spacing: -0.01em;
}

.section-intro {
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  font-size: var(--text-lead);
  max-width: 65ch;
  line-height: 1.75;
}

.section-body {
  margin-top: var(--space-md);
  max-width: 68ch;
  color: var(--color-text);
}

.section-body p + p {
  margin-top: var(--space-sm);
}

.text-link {
  color: var(--color-accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out-quart);
}

.text-link:hover {
  border-color: currentColor;
}

/* ==========================================================================
   Bio split (photo + text)
   ========================================================================== */

.bio-split {
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bio-split {
    grid-template-columns: minmax(220px, 320px) 1fr;
    align-items: start;
  }
}

.bio-split img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Placeholder blocks
   ========================================================================== */

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  font-size: var(--text-small);
  text-align: center;
  padding: var(--space-sm);
}

.placeholder-portrait {
  aspect-ratio: 4 / 5;
}

.placeholder-wide {
  aspect-ratio: 16 / 9;
}

.hero-photo-placeholder.placeholder {
  border: none;
  border-radius: 0;
  background: color-mix(in oklch, var(--color-bg) 92%, var(--color-accent) 3%);
  color: var(--color-text-muted);
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--space-sm);
  font-size: var(--text-label);
  opacity: 0.6;
}

/* ==========================================================================
   Spotify / embeds
   ========================================================================== */

.embed-wrapper {
  margin-top: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.embed-wrapper iframe {
  display: block;
  width: 100%;
  border: none;
}

.embed-fallback {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--color-accent);
  font-weight: 500;
}

/* ==========================================================================
   Link strip (socials) — horizontal divided strip, not boxed cards
   ========================================================================== */

.link-strip {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-border);
}

.link-strip-item {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  padding: var(--space-lg) var(--space-md) var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease-out-quart);
}

.link-strip-item:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.link-strip-item + .link-strip-item {
  padding-left: var(--space-md);
}

@media (max-width: 700px) {
  .link-strip-item {
    flex-basis: 100%;
  }

  .link-strip-item:not(:last-child) {
    border-right: none;
  }

  .link-strip-item + .link-strip-item {
    padding-left: 0;
  }
}

.link-strip-item h3 {
  font-size: var(--text-title);
}

.link-strip-item p {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.link-strip-item:hover {
  transform: translateX(4px);
}

.link-strip-item:hover h3 {
  color: var(--color-accent);
}

.card-cta {
  display: inline-block;
  margin-top: var(--space-2xs);
  color: var(--color-accent);
  font-weight: 600;
  font-size: var(--text-small);
}

/* ==========================================================================
   Tracklist (releases) — editorial list, not boxed cards
   ========================================================================== */

.tracklist {
  margin-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.track-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--dur-base) var(--ease-out-quart);
}

a.track-row:hover {
  color: var(--color-accent);
}

.track-year {
  font-size: var(--text-title);
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
  width: 4ch;
}

.track-info h3 {
  font-size: var(--text-title);
}

.track-info p {
  margin-top: var(--space-3xs);
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.track-cta {
  margin-left: auto;
  align-self: center;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

/* ==========================================================================
   Fact list (bio facts) — stat-line rows, not boxed cards
   ========================================================================== */

.fact-list {
  margin-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.fact-label {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.fact-value {
  font-weight: 700;
  font-size: var(--text-title);
  text-align: right;
}

/* ==========================================================================
   Empty states (agenda) — typographic band, not a bordered box
   ========================================================================== */

.empty-state {
  margin-top: var(--space-lg);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.empty-state p:first-child {
  color: var(--color-text);
  font-weight: 700;
  font-size: var(--text-headline);
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.empty-state p + p {
  margin-top: var(--space-2xs);
  color: var(--color-text-muted);
  font-size: var(--text-lead);
}

/* ==========================================================================
   Booking process steps
   ========================================================================== */

.steps {
  margin-top: var(--space-lg);
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  display: flex;
  gap: var(--space-sm);
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-small);
}

.step p {
  color: var(--color-text-muted);
  font-size: var(--text-small);
  margin-top: var(--space-3xs);
}

.step h3 {
  font-size: 1rem;
}

/* ==========================================================================
   Contact block (boekingen)
   ========================================================================== */

.contact-block {
  margin-top: var(--space-lg);
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-block {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-primary {
  background: color-mix(in oklch, var(--color-accent) 10%, var(--color-bg-alt));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-primary h3 {
  font-size: var(--text-title);
}

.contact-actions {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.contact-pending {
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-pending h3 {
  font-size: var(--text-title);
  color: var(--color-text-muted);
}

.contact-field {
  margin-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: var(--text-small);
  padding-block: var(--space-2xs);
  border-bottom: 1px solid var(--color-border);
}

.contact-field dt {
  color: var(--color-text-muted);
}

.contact-field dd {
  margin: 0;
  font-style: italic;
  color: var(--color-text-muted);
}

.contact-note {
  margin-top: var(--space-md);
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

/* ==========================================================================
   CTA band — asymmetric, oversized ghost wordmark
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) clamp(1.25rem, 5vw, 4rem);
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.cta-band::before {
  content: "B-PROUD";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(0.75rem, 4vw, 3rem);
  overflow: hidden;
  font-size: clamp(2rem, 9vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: color-mix(in oklch, var(--color-on-accent) 12%, transparent);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 700px) {
  .cta-band::before {
    align-items: flex-end;
    padding-bottom: clamp(0.5rem, 5vw, 1.5rem);
  }
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-inline: auto;
}

.cta-band h2 {
  font-size: var(--text-headline);
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.cta-band p {
  margin-top: var(--space-2xs);
  font-size: var(--text-lead);
  opacity: 0.85;
}

.cta-band .btn-primary {
  margin-top: var(--space-lg);
  background: var(--color-on-accent);
  color: var(--color-accent);
}

.cta-band .btn-primary:hover {
  background: color-mix(in oklch, var(--color-on-accent) 85%, white 15%);
  box-shadow: none;
}

/* ==========================================================================
   Footer — two-column, brand + links
   ========================================================================== */

.site-footer {
  padding: var(--space-2xl) clamp(1.25rem, 4vw, 3rem) var(--space-lg);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 700px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-brand p {
  margin-top: var(--space-2xs);
  color: var(--color-text-muted);
  font-size: var(--text-small);
  max-width: 32ch;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 700px) {
  .footer-links {
    align-items: flex-end;
    text-align: right;
  }
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.social-links a {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--dur-base) var(--ease-out-quart);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.social-links a:hover {
  color: var(--color-accent);
}

.site-footer p.copyright {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}
