/* craz3teki — XNXX-style layout, original Burberry palette. */

:root {
  --bg: #0a0a0b;
  --bg-elevated: #141416;
  --text: #e8e6e3;
  --text-muted: #a09e9a;
  /* Burberry palette */
  --burberry-beige: #c4a35a;
  --burberry-tan: #d4b896;
  --burberry-red: #8b1538;
  --burberry-white: #f5f0e8;
  --accent-tan: #c9a962;
  --accent-tan-dim: #a0826d;
  --accent-red: #b71c1c;
  --gold: #d4af37;
  --nav-bg: #0d0d0f;
  --border: #2a2a2e;
  --font-heading: "Bebas Neue", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max-width: 1100px;
  --header-height: 109px; /* header-top (~64px) + border + header-bottom (~44px) so sidebar starts below sticky header */
  --sidebar-width: 250px;
  --sidebar-padding-x: 1.14rem; /* scales with sidebar width (250/220 × 1rem) for consistent content area */
  --site-player-height: 90px; /* reserve exactly this so content isn’t blocked and there’s no extra gap */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1); /* smoother in/out for transitions */
  --duration-fast: 0.22s;
  --duration-normal: 0.4s;
  --duration-slow: 0.55s;
  /* Safe area for notched devices (e.g. iPhone X+) */
  --safe-area-top: env(safe-area-inset-top, 0);
  --safe-area-bottom: env(safe-area-inset-bottom, 0);
  --safe-area-left: env(safe-area-inset-left, 0);
  --safe-area-right: env(safe-area-inset-right, 0);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch; /* smoother momentum scrolling on iOS */
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .skip-link {
    transition: none;
  }
  .hero-image-wrap,
  .hero-title,
  .hero-tagline,
  .section,
  .release-card,
  .releases-grid li,
  .social-link,
  .site-player {
    animation: none !important;
  }

  .release-card-playable:hover,
  .release-card:hover,
  .nav-cta:hover,
  .sidebar-cta:hover {
    transform: none;
  }

  .site-player-toggle:hover,
  .site-player-toggle:active {
    transform: none;
  }

  .site-player {
    transition: none;
  }
}

/* Global motion — softer keyframes for smoother feel */
@keyframes fade-up-soft {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-pop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Skip link: visible on focus for keyboard/screen reader */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--burberry-red);
  color: var(--burberry-white);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: calc(var(--header-height) + 0.5rem);
  left: 1rem;
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: #0a0a0b;
  min-height: 100vh;
  position: relative;
  padding-bottom: var(--site-player-height);
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(196, 163, 90, 0.25);
}

/* Burberry plaid — classic check: beige base, thick black+cream, thin burgundy, thin red (matches reference) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Base: warm beige */
  background-color: #c9a962;
  background-image:
    /* Vertical: thin red, burgundy, cream, black, cream, burgundy, red — 32px repeat */
    repeating-linear-gradient(
      90deg,
      #c9a962 0px,
      #c9a962 14px,
      #b85450 14px,
      #b85450 15px,
      #6b2d3e 15px,
      #6b2d3e 16px,
      #f5f0e8 16px,
      #f5f0e8 19px,
      #1a1a1a 19px,
      #1a1a1a 26px,
      #f5f0e8 26px,
      #f5f0e8 29px,
      #6b2d3e 29px,
      #6b2d3e 30px,
      #b85450 30px,
      #b85450 31px,
      #c9a962 31px,
      #c9a962 32px
    ),
    /* Horizontal: same structure */
    repeating-linear-gradient(
      0deg,
      #c9a962 0px,
      #c9a962 14px,
      #b85450 14px,
      #b85450 15px,
      #6b2d3e 15px,
      #6b2d3e 16px,
      #f5f0e8 16px,
      #f5f0e8 19px,
      #1a1a1a 19px,
      #1a1a1a 26px,
      #f5f0e8 26px,
      #f5f0e8 29px,
      #6b2d3e 29px,
      #6b2d3e 30px,
      #b85450 30px,
      #b85450 31px,
      #c9a962 31px,
      #c9a962 32px
    );
  background-size: 32px 32px, 32px 32px;
}

/* Dark overlay so content stays readable; pattern shows through */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(10, 10, 11, 0.82);
}

body > * {
  position: relative;
  z-index: 1;
}

/* Catalog page: solid black background (no pattern) for cleaner look */
body.page-music::before,
body.page-music::after {
  display: none;
}

body.page-music {
  background: #0a0a0b;
}

/* Homepage: no Burberry plaid on side or bottom — match site with solid dark */
body.page-home::before,
body.page-home::after {
  display: none;
}

body.page-home {
  background: #0a0a0b;
}

/* About and other inner pages: solid dark bottom so footer isn’t on plaid */
body.page-about::before,
body.page-about::after,
body.page-music::before,
body.page-music::after,
body.page-releases::before,
body.page-releases::after,
body.page-socials::before,
body.page-socials::after {
  display: none;
}

body.page-about,
body.page-music,
body.page-releases,
body.page-socials {
  background: #0a0a0b;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--accent-tan);
}

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

/* Header — XNXX-style two-tier (no search) */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: var(--safe-area-top);
  padding-left: var(--safe-area-left);
  padding-right: var(--safe-area-right);
}

.header-top {
  background: var(--nav-bg);
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
}

.header-tagline {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  color: #fff;
  transition: color var(--duration-normal) var(--ease-in-out-smooth);
}

.logo:hover {
  color: var(--burberry-beige);
}

/* Header bottom: plaid-style grid (no red accent line) */
.header-bottom {
  background:
    /* horizontal grid lines — same weight as vertical */
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 5px,
      rgba(212, 184, 150, 0.28) 5px,
      rgba(212, 184, 150, 0.28) 6px
    ),
    /* vertical grid lines */
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 5px,
      rgba(212, 184, 150, 0.28) 5px,
      rgba(212, 184, 150, 0.28) 6px
    ),
    /* base: dark with slight red tint, not overpowering */
    rgba(28, 22, 24, 0.98);
  border-top: 1px solid rgba(196, 163, 90, 0.25);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  gap: 1rem;
}

/* Sidebar toggle: visible only on homepage where sidebar exists, centered next to Home nav */
.sidebar-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--burberry-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  align-self: center;
  transition: color var(--duration-fast) var(--ease-out-quart), transform var(--duration-fast) var(--ease-out-quart);
}

.sidebar-toggle:hover {
  color: var(--burberry-beige);
}

.sidebar-toggle:focus-visible {
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
}

.sidebar-toggle-icon {
  display: block;
  width: 20px;
  height: 2.5px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  box-shadow: 0 5.75px 0 currentColor, 0 11.5px 0 currentColor;
  transition: background var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  /* Shift up so 3-line graphic aligns with nav link text (box-shadow extends below) */
  margin-top: -11px;
}

.sidebar-toggle-icon::before,
.sidebar-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2.5px;
  margin-top: -1.25px;
  background: currentColor;
  border-radius: 1px;
  opacity: 0;
  transition: opacity var(--duration-fast) ease, transform var(--duration-normal) var(--ease-out-quart);
}

/* Sidebar open: show X (close), keep X centered in button */
.sidebar-toggle[aria-expanded="true"] .sidebar-toggle-icon {
  background: transparent;
  box-shadow: none;
  margin-top: 0;
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle-icon::before,
.sidebar-toggle[aria-expanded="true"] .sidebar-toggle-icon::after {
  opacity: 1;
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle-icon::before {
  transform: rotate(45deg);
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle-icon::after {
  transform: rotate(-45deg);
}

/* Sidebar closed: show hamburger (open) */
.sidebar-toggle[aria-expanded="false"] .sidebar-toggle-icon::before,
.sidebar-toggle[aria-expanded="false"] .sidebar-toggle-icon::after {
  display: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-start;
  min-height: 44px;
}

.header-nav-link {
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burberry-tan);
  padding: 0.5rem 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  transition: color var(--duration-normal) var(--ease-in-out-smooth), border-color var(--duration-normal) var(--ease-in-out-smooth);
}

.header-nav-link:hover,
.header-nav-link.is-active {
  color: var(--burberry-white);
  border-bottom-color: var(--burberry-beige);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--burberry-tan);
  border-bottom: 2px solid var(--burberry-beige);
}

.nav-cta {
  padding: 0.625rem 1.25rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--burberry-red);
  color: var(--burberry-white);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  transition: background var(--duration-normal) var(--ease-out-quart), color var(--duration-normal) var(--ease-out-quart), transform var(--duration-fast) var(--ease-out-quart);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
}

.nav-cta:hover {
  background: var(--burberry-beige);
  color: var(--bg);
  transform: translateY(-1px);
}

/* Left sidebar (XNXX-style): sidebar ends above fixed player, never overlaps it */
.page-layout {
  display: flex;
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-height: calc(100vh - var(--header-height) - var(--site-player-height));
}

.sidebar {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--nav-bg);
  border-right: 1px solid var(--border);
  padding: 1rem var(--sidebar-padding-x) 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  flex-direction: column;
  box-sizing: border-box;
}

.sidebar-category {
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.sidebar-category-title {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem var(--sidebar-padding-x) 0.35rem;
  margin: 0;
  border-bottom: 1px solid var(--border);
}

/* First section ("Music") — ensure label is visible at top of sidebar */
.sidebar-category:first-of-type .sidebar-category-title {
  margin-top: 0;
  padding-top: 0.5rem;
  color: var(--burberry-tan);
  font-size: 0.8125rem;
}

.sidebar-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-item-list li {
  margin: 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem var(--sidebar-padding-x);
  border-left: 3px solid transparent;
  transition: background var(--duration-normal) var(--ease-in-out-smooth), border-color var(--duration-normal) var(--ease-in-out-smooth);
}

.sidebar-item:hover {
  background: rgba(196, 163, 90, 0.06);
  border-left-color: transparent;
}

.sidebar-item-link {
  flex: 1;
  min-width: 0;
  display: block;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-in-out-smooth);
}

.sidebar-item:hover .sidebar-item-link {
  color: var(--burberry-tan);
}

.sidebar-item-icons {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.sidebar-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  border-radius: 4px;
  transition: color var(--duration-fast) var(--ease-out-quart), background var(--duration-fast) var(--ease-out-quart);
  flex-shrink: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.sidebar-item-icon:hover {
  color: var(--burberry-tan);
  background: rgba(196, 163, 90, 0.12);
}

.sidebar-item-icon svg {
  width: 12px;
  height: 12px;
  display: block;
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
}

.sidebar-item-icon img,
.sidebar-item-icon-img {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

/* Sidebar Music only: 3 icons per row (Spotify, Apple, SoundCloud) — nth-child brand colors */
.sidebar-category:first-of-type .sidebar-item-icons .sidebar-item-icon:nth-child(1) {
  color: #1DB954;
}
.sidebar-category:first-of-type .sidebar-item-icons .sidebar-item-icon:nth-child(1):hover {
  color: #1ed760;
}
.sidebar-category:first-of-type .sidebar-item-icons .sidebar-item-icon:nth-child(2) {
  color: #fff; /* Apple Music — white */
}
.sidebar-category:first-of-type .sidebar-item-icons .sidebar-item-icon:nth-child(2):hover {
  color: var(--burberry-white);
}
.sidebar-category:first-of-type .sidebar-item-icons .sidebar-item-icon:nth-child(3) {
  color: #FF5500;
}
.sidebar-category:first-of-type .sidebar-item-icons .sidebar-item-icon:nth-child(3):hover {
  color: #ff6633;
}
/* SoundCloud: use orange PNG as-is (assets/icons/soundcloud.png) */
.sidebar-category:first-of-type .sidebar-item-icons .sidebar-item-icon:nth-child(3) img {
  filter: none;
}
.sidebar-category:first-of-type .sidebar-item-icons .sidebar-item-icon:nth-child(3):hover img {
  filter: brightness(1.05);
}

/* Sidebar Videos / Socials: one icon per row — actual brand colors */
.sidebar-item-icon-youtube {
  color: #ff0000;
}
.sidebar-item-icon-youtube:hover {
  color: #ff1a1a;
}
.sidebar-item-icon-spotify {
  color: #1DB954;
}
.sidebar-item-icon-spotify:hover {
  color: #1ed760;
}
.sidebar-item-icon-apple {
  color: #fff; /* Apple Music — white */
}
.sidebar-item-icon-apple:hover {
  color: var(--burberry-white);
}
.sidebar-item-icon-instagram {
  color: #E4405F;
}
.sidebar-item-icon-instagram:hover {
  color: #f77737;
}
.sidebar-item-icon-tiktok {
  color: var(--text-muted);
}
.sidebar-item-icon-tiktok:hover {
  color: var(--burberry-tan);
}
.sidebar-item-icon-soundcloud {
  color: #FF5500;
}
.sidebar-item-icon-soundcloud:hover {
  color: #ff6633;
}
.sidebar-item-icon-soundcloud img {
  filter: none; /* use orange SoundCloud PNG as-is */
}
.sidebar-item-icon-soundcloud:hover img {
  filter: brightness(1.05);
}

/* Sidebar items without icons (e.g. Videos) */
.sidebar-item-list li:not(.sidebar-item) .sidebar-item-link {
  padding: 0.45rem var(--sidebar-padding-x);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sidebar-item-list li:not(.sidebar-item) {
  border-left: 3px solid transparent;
}

.sidebar-item-list li:not(.sidebar-item):hover {
  background: rgba(196, 163, 90, 0.06);
}

.sidebar-item-list li:not(.sidebar-item) .sidebar-item-link {
  display: block;
  transition: color var(--duration-normal) var(--ease-in-out-smooth);
}

.sidebar-cta-wrap {
  margin-top: auto;
  padding: 0.5rem 0 1.25rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-category-socials .sidebar-cta-socials {
  display: flex;
  width: 100%;
  margin-top: 0.5rem;
  box-sizing: border-box;
}

.sidebar-category-listen .sidebar-cta {
  margin-top: 0.5rem;
}

.sidebar-socials-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-socials-list li {
  margin: 0;
  border-left: 3px solid transparent;
  transition: background var(--duration-normal) var(--ease-in-out-smooth);
}

.sidebar-socials-list li:hover {
  background: rgba(196, 163, 90, 0.06);
}

.sidebar-socials-list .sidebar-item-link {
  display: block;
  padding: 0.45rem var(--sidebar-padding-x);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color var(--duration-normal) var(--ease-in-out-smooth);
}

.sidebar-socials-list .sidebar-item .sidebar-item-link {
  padding: 0;
}

.sidebar-socials-list li:hover .sidebar-item-link {
  color: var(--burberry-tan);
}

.sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.625rem 1rem;
  background: var(--burberry-red);
  color: var(--burberry-white);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  transition: background var(--duration-normal) var(--ease-out-quart), color var(--duration-normal) var(--ease-out-quart), transform var(--duration-fast) var(--ease-out-quart);
}

.sidebar-cta:hover {
  background: var(--burberry-beige);
  color: var(--bg);
  transform: translateY(-1px);
}

.page-main {
  flex: 1;
  min-width: 0;
  /* Solid background so plaid doesn’t show through and create excess “striped” area */
  background: var(--bg);
}

/* XNXX-style header + sidebar fixed on homepage so both stay visible when scrolling */
@media (min-width: 769px) {
  .page-home .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
  }

  body.page-home {
    padding-top: var(--header-height);
    padding-bottom: 72px; /* desktop player is single row; less gap above player */
  }

  .page-home .page-layout {
    display: block;
  }

  .page-home .sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: calc(var(--header-height) - 6px); /* overlap to remove visible gap under header */
    bottom: 0; /* clear space above player so LISTEN TO TEKI isn’t obstructed */
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    height: auto;
    max-height: none;
    flex-shrink: 0;
    background: var(--bg);
    z-index: 250;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem var(--sidebar-padding-x) 1.5rem;
    padding-bottom: calc(var(--site-player-height) + 1rem);
    box-sizing: border-box;
  }

  .page-home .page-main {
    margin-left: var(--sidebar-width);
    flex: none;
    min-width: 0;
    min-height: calc(100vh - var(--header-height) - 72px);
  }

  .page-home .sidebar-toggle {
    display: inline-flex;
  }

  /* Align player with main column when sidebar is open */
  body.page-home:not(.sidebar-closed) .site-player {
    padding-left: calc(var(--sidebar-width) + 1.75rem);
    padding-right: 1.75rem;
  }
}

/* Sidebar closed by user: hide sidebar, expand content and player, recenter like before */
body.sidebar-closed .sidebar {
  display: none !important;
}

@media (min-width: 769px) {
  body.sidebar-closed.page-home .page-layout {
    width: 100%;
  }

  body.sidebar-closed.page-home .page-main {
    width: 100%;
    margin-left: 0;
    max-width: none;
  }

  body.sidebar-closed.page-home .site-player {
    left: 0;
    width: 100%;
  }

  body.sidebar-closed.page-home .home-hero-video-wrap {
    left: 0;
    right: 0;
  }
}

/* Hero — background stays visible when scrolling (fixed); isolate so sections below never paint over video */
.home-hero-spotlight {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  z-index: 1;
  isolation: isolate;
}

/* Video is a direct child of body so it stays behind sidebar + main (no bleed-through) */
.home-hero-video-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  /* Promote to own layer so fixed background does not move or jitter during scroll */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  isolation: isolate;
}

body > .home-hero-video-wrap {
  z-index: 0;
}

/* Desktop: fixed video only in main area when sidebar open */
@media (min-width: 769px) {
  body.page-home .home-hero-video-wrap {
    left: var(--sidebar-width);
  }
}

/* Homepage: page-layout (sidebar + main) above video; main transparent so video shows in hero only */
body.page-home .page-layout {
  position: relative;
  z-index: 1;
}

body.page-home .page-main {
  background: transparent;
}

body.page-home .home-hero-spotlight {
  background: transparent;
}

/* Sidebar and sections below hero: solid black so video never shows through */
body.page-home .sidebar {
  background-color: #0a0a0b;
}

body.page-home .section-about,
body.page-home .section-videos {
  background-color: #0a0a0b;
  position: relative;
  z-index: 0;
  contain: paint; /* prevent background from painting over hero/video area above */
}

body.page-home .site-player {
  background: #0a0a0b;
}

/* Player spans full viewport width and sits over the sidebar on all breakpoints */
.home-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.home-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 6, 0.72) 0%,
    rgba(5, 5, 6, 0.65) 40%,
    rgba(5, 5, 6, 0.78) 100%
  );
  backdrop-filter: blur(2px);
}

.home-hero-spotlight-content {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 2rem 1.25rem 3rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

/* Burberry-style plaid stripe */
.hero-stripe {
  height: 12px;
  margin-bottom: 2rem;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 3px,
      var(--burberry-beige) 3px,
      var(--burberry-beige) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 12px,
      transparent 15px,
      #1a1a1a 15px,
      #1a1a1a 16px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 24px,
      transparent 27px,
      var(--burberry-red) 27px,
      var(--burberry-red) 28px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 3px,
      var(--burberry-beige) 3px,
      var(--burberry-beige) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 12px,
      transparent 15px,
      #1a1a1a 15px,
      #1a1a1a 16px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 24px,
      transparent 27px,
      var(--burberry-red) 27px,
      var(--burberry-red) 28px
    ),
    linear-gradient(135deg, var(--burberry-beige) 0%, var(--burberry-tan) 50%, var(--burberry-beige) 100%);
  background-size: 32px 32px, 32px 32px, 32px 32px, 32px 32px, 32px 32px, 32px 32px, 100% 100%;
}

/* Homepage: hero stripe solid to match site (no plaid) */
.page-home .hero-stripe {
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
  background-size: auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-visualizer-wrap {
  position: relative;
  width: min(300px, 75vw);
  aspect-ratio: 1;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-visualizer-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 340px;
  margin-left: -170px;
  margin-top: -170px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-visualizer-wrap .hero-image-wrap {
  position: relative;
  z-index: 1;
  width: min(280px, 70vw);
  margin-bottom: 0;
}

.hero-image-wrap {
  width: min(280px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 4px solid var(--burberry-beige);
  box-shadow: 0 0 0 3px var(--burberry-red);
  margin-bottom: 1rem;
  animation: hero-pop 1.1s var(--ease-out-expo) both;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--burberry-beige);
  margin: 0 0 0.25rem;
  animation: fade-up-soft 0.85s var(--ease-out-expo) 0.1s both;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0;
  animation: fade-up-soft 0.85s var(--ease-out-expo) 0.2s both;
}

/* Sections */
.section {
  padding: 3rem 1.25rem;
  animation: fade-up-soft 0.95s var(--ease-out-expo) both;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(
    90deg,
    var(--burberry-beige),
    var(--burberry-red),
    var(--burberry-beige)
  ) 1;
}

.section-inner-narrow {
  max-width: 640px;
}

/* Page shells */
.page-home-main,
.page-music,
.page-releases,
.page-about,
.page-socials {
  /* ensure consistent bottom breathing room above the fixed player */
  padding-bottom: 3.5rem;
}

/* About */
.section-about {
  background: var(--bg-elevated);
}

.about-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.about-content p {
  margin: 0 0 1rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content em {
  font-style: italic;
  color: var(--burberry-tan);
}

.spotlight-cta,
.about-cta {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.spotlight-cta a,
.about-cta a {
  color: var(--burberry-tan);
  font-weight: 600;
  text-underline-offset: 3px;
}

.spotlight-cta a:hover,
.about-cta a:hover {
  color: var(--burberry-beige);
  text-decoration: underline;
}

.section-music {
  background: transparent;
}

/* Music page: play bar + discography */
.page-music {
  padding-bottom: 2rem;
}

.music-play-bar {
  padding: 1.5rem 1.25rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.music-play-bar .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.spotify-wrap-inline {
  max-width: 600px;
  margin: 0 auto;
}

.music-play-bar .section-note {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.section-discography {
  padding-top: 2rem;
}

.discography-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0 0 0.5rem;
}

.discography-filter,
.discography-sort {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spotlight-heading {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burberry-tan);
  margin: 0 0 1rem;
}

.all-music-heading {
  margin-top: 2.5rem;
  margin-bottom: 0.25rem;
}

.discography-subheading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--burberry-tan);
  margin: 2rem 0 0.75rem;
}

.discography-subheading:first-of-type {
  margin-top: 0;
}

.releases-intro {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.all-music-note {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.all-music-note a {
  color: var(--burberry-tan);
}

.releases-grid-discography {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
}

/* Staggered entrance for release cards — smoother, longer ease */
.releases-grid li {
  animation: slide-up 0.65s var(--ease-out-expo) both;
}

.releases-grid li:nth-child(1) { animation-delay: 0.04s; }
.releases-grid li:nth-child(2) { animation-delay: 0.08s; }
.releases-grid li:nth-child(3) { animation-delay: 0.12s; }
.releases-grid li:nth-child(4) { animation-delay: 0.16s; }
.releases-grid li:nth-child(5) { animation-delay: 0.2s; }
.releases-grid li:nth-child(6) { animation-delay: 0.24s; }
.releases-grid li:nth-child(7) { animation-delay: 0.28s; }
.releases-grid li:nth-child(8) { animation-delay: 0.32s; }
.releases-grid li:nth-child(9) { animation-delay: 0.36s; }
.releases-grid li:nth-child(10) { animation-delay: 0.4s; }
.releases-grid li:nth-child(11) { animation-delay: 0.44s; }
.releases-grid li:nth-child(12) { animation-delay: 0.48s; }
.releases-grid li:nth-child(13) { animation-delay: 0.52s; }
.releases-grid li:nth-child(14) { animation-delay: 0.56s; }
.releases-grid li:nth-child(15) { animation-delay: 0.6s; }

.release-card-playable {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.release-card-playable:hover {
  background: transparent;
  border: none;
  box-shadow: none;
}

.release-cover-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.release-card-playable:hover .release-cover-wrap {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .release-cover-wrap {
    transition: none;
  }
  .release-card-playable:hover .release-cover-wrap {
    transform: none;
  }
}

.release-card-playable .release-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-card-playable .release-meta {
  margin-top: auto; /* keep meta text aligned along bottom even when titles wrap */
}

.release-play-btn {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--burberry-red);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transition: opacity var(--duration-normal) var(--ease-smooth), transform var(--duration-normal) var(--ease-smooth);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .release-play-btn {
    transition: none;
  }
}

.release-play-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border: 0;
  border-left: 14px solid var(--burberry-white);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 2px;
}

.release-card-playable:hover .release-play-btn,
.release-card-playable:focus .release-play-btn,
.release-card-playable:focus-within .release-play-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.release-card-playable:focus-visible {
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
  border-radius: 4px;
}

.release-card-playable .release-label {
  padding: 0.75rem 1rem 0.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.3;
  min-height: 2.6em; /* reserve space for up to 2 lines so all cards align */
  flex: 1; /* take remaining space so meta stays at bottom when cards stretch */
}

.release-meta {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.spotify-wrap {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.spotify-embed {
  display: block;
  border-radius: 8px;
  min-height: 152px;
}

.spotify-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 1.5rem;
}

.spotify-fallback[hidden] {
  display: none;
}

.spotify-wrap.is-fallback .spotify-embed {
  visibility: hidden;
  position: absolute;
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  background: var(--burberry-red);
  color: var(--burberry-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  background: var(--burberry-beige);
  color: var(--bg);
}

.section-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.section-note a {
  color: var(--burberry-tan);
}

/* Music videos + Follow on — solid black, no pattern */
.section-videos {
  background: #0a0a0b;
}

/* Homepage: footer sits right under Follow on / Listen on Spotify — no gap where video shows */
.page-home .section-videos {
  padding-bottom: 0.5rem;
}
.page-home .page-main {
  padding-bottom: 0; /* no extra gap above fixed player */
}

.videos-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.video-item {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.video-item:hover {
  border-color: var(--burberry-beige);
}

.video-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Home: platform links under videos */
.home-platform-links {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.home-platform-links-label {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.home-platform-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.home-platform-link:hover {
  color: var(--burberry-red);
}

.home-listen-spotify {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.6rem 1.25rem;
  min-height: 44px;
  box-sizing: border-box;
  background: var(--burberry-red);
  color: var(--burberry-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background var(--duration-fast) var(--ease-out-quart), transform var(--duration-fast) var(--ease-out-quart);
}

.home-listen-spotify:hover {
  background: var(--burberry-dark-red, #8b1a1a);
  transform: translateY(-1px);
}

/* Site player: BORN4THIS — always on top when scrolling */
.site-player {
  position: fixed;
  left: var(--safe-area-left);
  right: var(--safe-area-right);
  bottom: 0;
  padding-bottom: var(--safe-area-bottom);
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.75rem;
  background: #0a0a0b;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease-smooth);
}

/* Small close (X) button — top-right of player, PC and mobile */
.site-player-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration-fast) var(--ease-smooth), background var(--duration-fast) var(--ease-smooth);
}

.site-player-close:hover {
  color: var(--burberry-white);
  background: rgba(255, 255, 255, 0.1);
}

.site-player-close:focus-visible {
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
}

/* Player closed: slide down off-screen; body padding cleared */
body.site-player-closed .site-player {
  transform: translateY(100%);
  pointer-events: none;
}

body.site-player-closed.page-home {
  padding-bottom: var(--safe-area-bottom);
}

@media (min-width: 769px) {
  body.site-player-closed.page-home {
    padding-bottom: var(--safe-area-bottom);
  }
}

@media (max-width: 768px) {
  body.site-player-closed {
    padding-bottom: var(--safe-area-bottom);
  }
}

/* Reopen player: small pill fixed bottom-right when player is closed */
.site-player-reopen {
  position: fixed;
  bottom: calc(0.5rem + var(--safe-area-bottom));
  right: calc(0.75rem + var(--safe-area-right));
  z-index: 199;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--burberry-tan);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  transition: color var(--duration-fast) var(--ease-smooth), background var(--duration-fast) var(--ease-smooth), transform var(--duration-fast) var(--ease-smooth);
}

.site-player-reopen:hover {
  color: var(--burberry-beige);
  background: var(--nav-bg);
  transform: scale(1.06);
}

.site-player-reopen:focus-visible {
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
}

.site-player-reopen[hidden] {
  display: none !important;
}

/* Right spacer so center column is true center (play button on red line) */
.site-player::after {
  content: "";
}

/* Homepage: player spans full width and goes over the sidebar */

.site-player-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
  justify-self: start;
}

.site-player-cover {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  margin-right: 0.75rem;
}

.site-player-meta-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 200px;
  max-width: 420px;
}

.site-player-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.site-player-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--burberry-beige);
  background: var(--burberry-red);
  color: var(--burberry-white);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-out-quart), background var(--duration-normal) var(--ease-out-quart), border-color var(--duration-normal) var(--ease-out-quart);
}

.site-player-toggle:hover {
  transform: scale(1.08);
}

.site-player-toggle:active {
  transform: scale(0.96);
}

.site-player-toggle:focus-visible {
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
}

/* Play icon: filled triangle pointing right */
.site-player-toggle-icon {
  position: relative;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 16px solid currentColor;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

/* Pause icon: two vertical bars */
.site-player-toggle[data-state="playing"] .site-player-toggle-icon {
  margin-left: 0;
  width: 20px;
  height: 22px;
  border: none;
  background: transparent;
}

.site-player-toggle[data-state="playing"] .site-player-toggle-icon::before,
.site-player-toggle[data-state="playing"] .site-player-toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  left: 0;
  background: currentColor;
  border-radius: 2px;
}

.site-player-toggle[data-state="playing"] .site-player-toggle-icon::after {
  left: auto;
  right: 0;
}

.site-player-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0; /* allow flex child to shrink if needed */
}

.site-player-progress-input {
  flex: 1 1 auto;
  min-width: 120px;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  transition: background var(--duration-fast) var(--ease-out-quart);
}

.site-player-progress-input::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--burberry-red);
  transition: transform var(--duration-fast) var(--ease-out-quart);
}

.site-player-progress-input:hover::-webkit-slider-thumb {
  transform: scale(1.15);
}

.site-player-progress-input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--burberry-red);
  border: none;
  transition: transform var(--duration-fast) var(--ease-out-quart);
}

.site-player-progress-input:hover::-moz-range-thumb {
  transform: scale(1.15);
}

.site-player-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.site-player-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-player-track {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.site-player-artist {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.site-player-loop {
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out-quart), color var(--duration-fast) var(--ease-out-quart), transform var(--duration-fast) var(--ease-out-quart);
}

.site-player-loop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-player-loop-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.site-player-loop:hover {
  transform: scale(1.05);
  color: var(--burberry-white);
}

.site-player-loop:focus-visible {
  color: var(--burberry-white);
}

.site-player-loop.is-active {
  border-color: var(--burberry-beige);
  color: var(--burberry-beige);
}

.site-player-volume {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-player-volume-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--burberry-white);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out-quart), color var(--duration-fast) var(--ease-out-quart), transform var(--duration-fast) var(--ease-out-quart);
}

.site-player-volume-toggle:hover {
  transform: scale(1.05);
  color: var(--burberry-white);
}

.site-player-volume-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-player-volume-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Volume slider opens to the right of the speaker so it doesn’t overlap other buttons */
.site-player-volume-popup {
  position: absolute;
  left: 50%;
  right: auto;
  top: auto;
  bottom: 100%;
  transform: translateX(-50%) translateY(0);
  margin-left: 0;
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: none;
  align-items: center;
  max-width: min(220px, 85vw);
  box-sizing: border-box;
}

.site-player-volume-popup.is-open {
  display: flex;
}

.site-player-volume-input {
  width: 96px;
  height: 4px;
  appearance: none;
  border-radius: 999px;
  background: var(--border);
}

.site-player-volume-input::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--burberry-beige);
}

.site-player-volume-input::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--burberry-beige);
  border: none;
}

@media (max-width: 768px) {
  .site-player {
    padding-inline: 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .site-player::after {
    display: none;
  }

  .site-player-meta {
    flex-shrink: 0;
    justify-content: flex-start;
  }

  .site-player-center {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }

  .site-player-actions {
    width: 100%;
    justify-content: center;
  }

  .site-player-controls {
    margin-left: 0; /* keep loop/play/volume centered, don't push right */
  }
}

@media (max-width: 600px) {
  .home-hero-video {
    transform: scale(1);
  }

  .hero {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .section {
    padding: 2.25rem 1rem;
  }

  .site-player {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .site-player::after {
    display: none;
  }

  .site-player-meta {
    justify-content: center;
  }

  .site-player-center {
    max-width: 100%;
    align-items: stretch;
  }

  .site-player-actions {
    justify-content: center;
  }

  .site-player-controls {
    margin-left: 0; /* centered with .site-player-actions justify-content: center */
  }

  .site-player-progress {
    margin-top: 0.25rem;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }
}

/* Platform chooser modal */
.platform-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}

.platform-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.platform-modal {
  background: var(--bg-elevated);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 1.5rem 1.75rem 1.75rem;
  max-width: 360px;
  width: calc(100% - 2rem);
  max-height: calc(100vh - 2rem - var(--safe-area-top) - var(--safe-area-bottom));
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  position: relative;
}

.platform-modal-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burberry-tan);
}

.platform-modal-track {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.platform-modal-cover-wrap {
  margin: 0 0 1rem;
  display: flex;
  justify-content: center;
}

.platform-modal-cover {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.platform-modal-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platform-modal-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--burberry-tan);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-modal-option[data-primary-option="true"] {
  background: var(--burberry-red);
  color: var(--burberry-white);
  border-color: var(--burberry-red);
}

.platform-modal-option:hover {
  border-color: var(--burberry-beige);
  color: var(--burberry-beige);
}

.platform-modal-option:focus-visible {
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
}

.platform-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.platform-modal-close:hover {
  color: var(--burberry-beige);
  border-color: var(--burberry-beige);
}

.platform-modal-close:focus-visible {
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .platform-modal-backdrop {
    transition: none;
  }
}

/* Releases grid */
.releases-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

/* Equal-height cards: grid item stretches and card fills it so all cards in a row match height */
.releases-grid li {
  display: flex;
  min-height: 0;
}
.releases-grid li > .release-card,
.releases-grid li > a.release-card-playable {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.release-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color var(--duration-normal) var(--ease-smooth), background var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth), transform var(--duration-normal) var(--ease-smooth);
}

.release-card-playable:hover,
.release-card:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .release-card,
  .release-card-playable .release-cover-wrap {
    transition: none;
  }
}

.release-card:hover {
  border-color: var(--burberry-beige);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--burberry-red);
}

.release-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-elevated);
}

.release-cover-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burberry-white);
  background: radial-gradient(circle at 20% 0%, #f5f0e8 0, #c4a35a 25%, #8b1538 60%, #0a0a0b 100%);
}

.release-label {
  display: block;
  padding: 0.75rem 1rem 0.25rem;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  min-height: 2.6em; /* fixed space for up to 2 lines so all cards same size */
  flex-shrink: 0;
}

.release-meta {
  display: block;
  padding: 0 1rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Socials */
.section-socials {
  background: var(--bg-elevated);
}

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

.socials-intro {
  margin: 0 0 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.socials-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.socials-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.socials-group-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burberry-tan);
}

.socials-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  padding: 0.85rem 1rem;
  min-height: 56px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text);
  transition: border-color var(--duration-normal) var(--ease-out-quart), box-shadow var(--duration-normal) var(--ease-out-quart), transform var(--duration-normal) var(--ease-out-quart), background var(--duration-normal) var(--ease-out-quart);
}

.social-link-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.social-link:hover .social-link-icon {
  color: var(--burberry-tan);
}

/* Socials page: platform icons in their actual brand colors */
.social-link-icon-spotify {
  color: #1DB954;
}
.social-link:hover .social-link-icon-spotify {
  color: #1ed760;
}
.social-link-icon-youtube {
  color: #ff0000;
}
.social-link:hover .social-link-icon-youtube {
  color: #ff1a1a;
}
.social-link-icon-apple {
  color: #fff;
}
.social-link:hover .social-link-icon-apple {
  color: var(--burberry-white);
}
.social-link-icon-instagram {
  color: #E4405F;
}
.social-link:hover .social-link-icon-instagram {
  color: #f77737;
}
.social-link-icon-soundcloud {
  color: #FF5500;
}
.social-link:hover .social-link-icon-soundcloud {
  color: #ff6633;
}
.social-link-icon-tiktok {
  color: var(--text-muted);
}
.social-link:hover .social-link-icon-tiktok {
  color: var(--burberry-tan);
}
.social-link-icon-discord {
  color: #5865F2;
}
.social-link:hover .social-link-icon-discord {
  color: #7289da;
}
/* SoundCloud: use orange PNG as-is (assets/icons/soundcloud.png) */
.social-link-icon-soundcloud img {
  filter: none;
}
.social-link:hover .social-link-icon-soundcloud img {
  filter: brightness(1.05);
}

.social-link-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.social-link-icon img,
.social-link-icon-img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.social-link-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.social-link-primary {
  border-color: var(--burberry-beige);
  background: linear-gradient(135deg, #151316, #1d181f);
}

.social-link-body .social-link-label {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-link-body .social-link-sub {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.social-link:hover {
  border-color: var(--burberry-beige);
  box-shadow: 0 0 0 1px var(--burberry-red);
  transform: translateY(-1px);
  background: var(--bg-elevated);
}

.social-link:focus-visible {
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
}

/* Footer — solid black, no pattern; CRAZ3TEKI and © 2026 stay under Follow on; z-index below sidebar so fixed sidebar stays on top when scrolled */
.footer {
  margin-top: 0;
  width: 100%;
  background: #0a0a0b;
  position: relative;
  z-index: 0;
}

/* Homepage: extend footer background into reserved area so no visible gap above player */
.page-home .footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  transform: translateY(100%);
  background: #0a0a0b;
  pointer-events: none;
}

@media (max-width: 768px) {
  .page-home .footer::after {
    height: var(--site-player-height);
  }
}

/* No visible bar above player — height 0 so content scrolls naturally to footer/player */
.bottom-black-bar {
  position: fixed;
  bottom: var(--site-player-height);
  left: var(--safe-area-left);
  right: var(--safe-area-right);
  height: 0;
  pointer-events: none;
}

.footer-plaid {
  display: none; /* no pattern on footer — whole bottom is black */
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  padding-bottom: calc(2rem + var(--safe-area-bottom));
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-center {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35em;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--burberry-tan);
}

.footer-year {
  margin: 0;
  font-size: 0.875rem;
  color: var(--burberry-tan);
}

.footer-credit {
  font-size: 0.8125rem;
  color: var(--burberry-tan);
  opacity: 1;
  text-decoration: underline;
  margin-bottom: 1.25rem;
  text-underline-offset: 0.2em;
  transition: color var(--duration-fast) var(--ease-out-quart);
}
.footer-credit:hover {
  color: var(--burberry-beige);
  opacity: 1;
}
.footer-credit:focus-visible {
  outline: 2px solid var(--burberry-beige);
  outline-offset: 2px;
}

/* Responsive: mobile layout and tap targets */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(120px + var(--safe-area-bottom)); /* stacked player + safe area */
  }

  /* Homepage mobile: hamburger left of Home; sidebar is a slide-out drawer (closed by default) */
  .page-home .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
  }

  body.page-home {
    padding-top: var(--header-height);
  }

  .page-home .sidebar-toggle {
    display: inline-flex;
  }

  .page-home .sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(280px, 85vw);
    max-width: 280px;
    padding-top: var(--header-height);
    padding-bottom: calc(var(--site-player-height) + 1rem);
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease-smooth);
    z-index: 250;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
  }

  .page-home:not(.sidebar-closed) .sidebar {
    transform: translateX(0);
  }

  /* When sidebar is open, lift entire layout above the fixed player so sidebar draws over it */
  body.page-home:not(.sidebar-closed) .page-layout {
    z-index: 260;
  }

  .page-home .sidebar-backdrop {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 240;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-smooth);
  }

  .page-home:not(.sidebar-closed) .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-inner,
  .section-inner,
  .section-inner-narrow,
  .footer-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-top {
    padding: 0.4rem 0.75rem;
    gap: 0.5rem;
    min-height: 44px;
  }

  .header-tagline {
    font-size: 0.75rem;
  }

  .header .logo {
    font-size: 1.35rem;
    flex-shrink: 0;
  }

  .header-bottom {
    padding: 0 0.75rem;
    min-height: 40px;
  }

  .header-nav {
    flex: 1;
    min-width: 0;
    padding: 0.25rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .header-nav-link {
    font-size: 0.7rem;
    padding: 0.5rem 0.5rem;
    min-height: 44px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.35rem;
  }

  .section {
    padding: 1.5rem 0;
  }

  .releases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .release-card-playable .release-label,
  .release-card .release-label {
    font-size: 0.8rem;
  }

  .release-meta {
    font-size: 0.7rem;
  }

  .spotlight-heading,
  .socials-group-title {
    font-size: 0.9rem;
  }

  .about-content {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .about-content p {
    margin-bottom: 1.25rem;
  }

  .socials-intro {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .header-nav-link {
    padding: 0.5rem 0.4rem;
    font-size: 0.65rem;
  }

  .releases-grid {
    gap: 0.75rem;
  }

  .section-inner,
  .section-inner-narrow {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .platform-modal {
    padding: 1.25rem 1.25rem 1.5rem;
    width: calc(100% - 1.5rem);
  }

  .platform-modal-option {
    padding: 0.85rem 1rem;
  }

  .home-platform-link {
    padding: 0.5rem 0.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Very small screens: prevent overflow and keep tap targets */
@media (max-width: 380px) {
  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

  .section-title {
    font-size: 1.1rem;
  }
}

@media (min-width: 769px) {
  .section-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
