/* ===== FONTS ===== */
@font-face {
  font-family: "Supreme";
  src: url("../fonts/Supreme_Complete/Fonts/WEB/fonts/Supreme-Variable.woff2") format("woff2"),
    url("../fonts/Supreme_Complete/Fonts/WEB/fonts/Supreme-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Supreme";
  src: url("../fonts/Supreme_Complete/Fonts/WEB/fonts/Supreme-VariableItalic.woff2") format("woff2"),
    url("../fonts/Supreme_Complete/Fonts/WEB/fonts/Supreme-VariableItalic.woff") format("woff");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Variable.woff2") format("woff2"),
    url("../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Variable.woff") format("woff");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-VariableItalic.woff2") format("woff2"),
    url("../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-VariableItalic.woff") format("woff");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

/* ===== PAGE TRANSITIONS ===== */
main {
  opacity: 0;
  transition: opacity 0.3s ease;
}

main.page-ready {
  opacity: 1;
}

main.page-leaving {
  opacity: 0;
}

/* ===== DESIGN VARIABLES ===== */
:root {
  /* Navigation */
  --nav-font-size: 18px;
  --nav-font-weight: 900;
  --nav-gap: 15px;
  --nav-letter-spacing: 0.1em;
  --logo-height: 60px;
  --logo-height-mobile: 80px;
  /* ↑ adjust logo size */

  /* Social icons */
  --social-icon-size: 22px;
  /* ↑ adjust icon size */
  --nav-social-gap-tablet: 5px;
  /* ↑ spacing between nav and social icons on tablet (≤1024px) */
  --nav-social-gap-mobile: 5px;
  /* ↑ spacing between nav and social icons on mobile (≤768px) */

  /* Horizontal page padding (per breakpoint) */
  --page-pad-desktop: 40px;
  /* ↑ desktop horizontal padding */
  --page-pad-tablet: 60px;
  /* ↑ tablet horizontal padding (≤1024px) */
  --page-pad-mobile: 50px;
  /* ↑ mobile horizontal padding (≤768px) */

  /* Headers (BIO, PRESS, etc.) */
  --header-font-size: 2rem;
  --header-letter-spacing: 0.15em;
  --header-margin-bottom: 28px;
  --header-weight: 700;

  /* Bio Page */
  --bio-font-size: 1.15rem;
  --bio-line-height: 1.8;
  --bio-paragraph-gap: 16px;
  --bio-max-width: 1000px;
  --bio-weight: 500;

  /* Press Page */
  --press-item-padding: 22px 0;
  --press-max-width: 860px;
  --press-title-size: 1.2rem;

  /* Home Page */
  --home-video-max-width: 1500px;
  --home-video-height-offset: 200px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

body {
  background: #000;
  color: #fff;
  font-family: "Satoshi", Avenir, Montserrat, sans-serif;
  font-weight: 400;
  min-height: 100vh;
}

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

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

/* ===== PAGE TRANSITION ===== */
@keyframes pg-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

main {
  animation: pg-in 0.2s ease-out both;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 90px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 999;
  transition: all 0.3s ease;
}

/* Social icons: Dual layout logic 
   1. On Desktop: Fixed at bottom of viewport.
   2. On Tablet/Mobile: Flow inside header stack.
*/

.social-bar {
  position: fixed;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 90px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 30px;
  z-index: 1001;
  pointer-events: none;
  background: transparent;
}

.social-bar a {
  pointer-events: auto;
  display: flex;
  align-items: center;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-bar a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.social-bar svg {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  fill: currentColor;
}

.site-header .social-bar {
  display: none !important;
  /* Hidden in header on desktop */
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: var(--logo-height);
  width: auto;
}

@media (max-width: 768px) {
  .logo img {
    height: var(--logo-height-mobile);
    /* controlled by --logo-height in :root */
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 22px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 10000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  width: calc(100% - 32px);
  max-width: 420px;
  animation: bannerSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s, transform 0.3s;
}

@keyframes bannerSlideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.cookie-banner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner button {
  background: #fff;
  color: #000;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: transform 0.2s, background 0.2s;
}

.cookie-banner .btn-reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-banner button:hover {
  background: #ccc;
  transform: translateY(-1px);
}

.cookie-banner .btn-reject:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 18px;
  }

  .cookie-banner button {
    width: 100%;
  }
}

/* ===== DESKTOP NAV ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  list-style: none;
}

.main-nav a {
  position: relative;
  color: #fff;
  opacity: 1;
  font-size: var(--nav-font-size);
  letter-spacing: var(--nav-letter-spacing);
  font-weight: var(--nav-font-weight);
  padding-bottom: 6px;
  display: inline-block;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-nav a:hover::after {
  width: 100%;
}

/* LEGACY MOBILE MENU REMOVED */

/* ===== SOCIAL BAR ===== */
.social-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px 24px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 100;
  pointer-events: none;
}

.social-bar a {
  color: #fff;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  transition: color 0.3s ease;
  pointer-events: all;
}

.social-bar a:hover {
  color: #888;
}

.social-bar svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ===== PAGE LAYOUTS (UNIFIED) ===== */
.page-home,
.page-music,
.page-info,
.page-press,
.page-signup {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--page-pad-desktop) 80px;
  box-sizing: border-box;
}

/* ===== HOME PAGE ===== */
.page-home {
  padding-top: 100px;
  /* Slight adjustment for home */
}

.page-home .yt-facade {
  /* Fill available height, then cap by width */
  width: min(90%, calc((100dvh - var(--home-video-height-offset)) * (16 / 9)));
  max-width: var(--home-video-max-width);
  max-height: calc(100dvh - var(--home-video-height-offset));
}

.yt-facade {
  position: relative;
  width: 100%;
  max-width: 1800px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #0a0a0a;
  pointer-events: all;
}

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

.yt-facade .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 54px;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.2s, border-color 0.2s;
}

.yt-facade:hover .play-btn {
  background: rgba(0, 0, 0, 0.8);
  border-color: #fff;
}

.play-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== MUSIC PAGE ===== */
/* Inherits from unified layout */
.page-music h1 {
  font-size: 2rem;
  letter-spacing: -0.05em;
  margin-bottom: 36px;
}

.album-art {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  cursor: pointer;
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}



/* ===== ALBUM ART OVERLAY ===== */
.album-art-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.album-art:hover .album-art-overlay,
.album-art.touch-active .album-art-overlay {
  opacity: 1;
}

.album-art:hover img,
.album-art.touch-active img {
  transform: scale(1.04);
  filter: brightness(0.45);
}

.album-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.album-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.album-action:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.album-action svg {
  width: 24px;
  height: 24px;
}

.release-info {
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.release-info span {
  font-weight: 900;
}

.release-info a {
  font-weight: 400;
  color: #fff;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
}

.release-info a:hover {
  color: #fff;
  border-color: #fff;
}

/* ===== SOUNDCLOUD INLINE PLAYER ===== */
.sc-player {
  width: 100%;
  max-width: 460px;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  position: relative;
}

.sc-player.open {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}

.sc-player iframe {
  width: 100%;
  height: 166px;
  border: 0;
  border-radius: 10px;
  display: block;
}

.sc-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  width: 24px;
  height: 24px;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.sc-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.listen-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.listen-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.listen-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.listen-links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ===== INFO PAGE ===== */
/* Inherits from unified layout */
.page-info-inner {
  max-width: var(--bio-max-width);
  margin: 0 auto;
}

.page-info h1,
.page-press h1,
.page-signup h1,
.page-music h1 {
  font-size: var(--header-font-size) !important;
  letter-spacing: var(--header-letter-spacing) !important;
  margin-bottom: var(--header-margin-bottom);
  text-align: center;
  font-weight: var(--header-weight);
}

.bio-text {
  display: flex;
  flex-direction: column;
  gap: var(--bio-paragraph-gap);
  text-align: center;
}

.bio-text p {
  font-size: var(--bio-font-size);
  font-weight: var(--bio-weight);
  line-height: var(--bio-line-height);
  letter-spacing: 0.01em;
  color: #fff;
  text-align: left;
}

.bio-text .bio-credit {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  color: #666;
  line-height: 1.78;
  letter-spacing: 0.01em;
}

/* ===== PRESS PAGE ===== */
/* Inherits from unified layout */
.page-press-inner {
  max-width: var(--press-max-width);
  margin: 0 auto;
}

.page-press h1 {
  font-size: var(--header-font-size);
  letter-spacing: var(--header-letter-spacing);
  margin-bottom: 30px;
  text-align: center;
  font-weight: var(--header-weight);
}

.press-list {
  list-style: none;
}

.press-item {
  display: grid;
  grid-template-columns: 100px 1fr 140px;
  align-items: first baseline;
  gap: 40px;
  padding: var(--press-item-padding);
  color: #fff;
  transition: opacity 0.2s;
}

.press-item:hover {
  opacity: 0.7;
}

.press-year {
  /* ── DESKTOP font settings ── */
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.press-title {
  /* ── DESKTOP font settings ── */
  font-size: var(--press-title-size);
  /* --press-title-size is set at top of file */
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.press-type {
  /* ── DESKTOP font settings ── */
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0;
  text-align: left;
  color: #fff;
}

.press-item:hover .press-type {
  color: #fff;
}

/* ===== SIGN-UP PAGE ===== */
.page-signup {
  /* Inherits from unified layout */
  text-align: center;
}

.page-signup h1 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 28px;
}

.ck-form {
  display: flex;
  gap: 0;
}

.ck-form input[type="email"] {
  padding: 12px 18px;
  font-size: 0.9rem;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-right: none;
  color: #fff;
  border-radius: 4px 0 0 4px;
  width: 260px;
  font-family: inherit;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s;
}

.ck-form input[type="email"]::placeholder {
  color: #666;
}

.ck-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.ck-form button {
  padding: 12px 22px;
  font-size: 0.85rem;
  font-weight: 900;
  font-family: inherit;
  letter-spacing: 0.04em;
  background: #2a2a2a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.ck-form button:hover {
  background: #3a3a3a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-nav {
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    position: relative;
    height: auto;
    flex-direction: column;
    padding: 28px var(--page-pad-tablet) 24px;
    gap: 32px;
    /* Increased gap between Logo and Nav */
  }

  :root {
    --social-icon-size: 28px;
    /* Tablet matches mobile icon size now */
  }

  .logo img {
    height: var(--logo-height-mobile);
  }

  .main-nav {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
  }

  .main-nav a {
    font-size: 16px;
    /* Slightly smaller for mobile flow */
  }

  .site-header .social-bar {
    display: flex !important;
    /* Show in header on tablet/mobile */
    position: static;
    width: 100%;
    justify-content: center;
    pointer-events: auto;
    background: none;
    margin-top: calc(var(--nav-social-gap-tablet) - 32px);
    /* ↑ extra offset on top of the header gap */
  }

  body>.social-bar {
    display: none !important;
    /* Hide fixed bottom bar on tablet/mobile */
  }

  .page-home,
  .page-music,
  .page-info,
  .page-press,
  .page-signup {
    justify-content: flex-start;
    padding: 30px var(--page-pad-tablet) 80px;
    min-height: auto;
    /* Prevent over-scrolling when header is relative */
  }

  .press-item {
    grid-template-columns: 60px 1fr 100px;
    gap: 15px;
  }

  /* ── TABLET font settings (max-width: 1024px) ── */
  .press-year {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .press-title {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .press-type {
    font-size: 1rem;
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 22px var(--page-pad-mobile) 20px;
    gap: 18px;
  }

  .page-home,
  .page-music,
  .page-info,
  .page-press,
  .page-signup {
    padding-left: var(--page-pad-mobile);
    padding-right: var(--page-pad-mobile);
  }

  .main-nav {
    gap: 14px 22px;
  }

  .main-nav a {
    font-size: 16px;
  }

  .streaming-card {
    padding: 14px;
  }

  .listen-links {
    gap: 8px;
  }

  .listen-links a {
    width: calc(50% - 4px);
    padding: 9px 10px;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
  }

  .press-item {
    grid-template-columns: 50px 1fr 60px;
    gap: 14px;
  }

  /* ── MOBILE font settings (max-width: 768px) ── */
  .press-year {
    font-size: 1rem;
    font-weight: 700;
  }

  .press-title {
    font-size: 1rem;
    font-weight: 700;
  }

  .press-type {
    font-size: 0.9rem;
    font-weight: 700;
  }

  .ck-form {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .ck-form input[type="email"] {
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    width: 100%;
    max-width: 280px;
  }

  .ck-form button {
    border-radius: 4px;
    width: 100%;
    max-width: 280px;
  }

  .site-header .social-bar {
    gap: 20px;
    margin-top: calc(var(--nav-social-gap-mobile) - 18px);
    /* ↑ extra offset on top of the header gap */
  }

  .logo img {
    height: var(--logo-height-mobile);
  }
}