/* ============================================
   BLUE BRIO — bluebriomusic.com
   Design palette + typography locked from mockup
   ============================================ */

:root {
  --midnight: #0E0B07;
  --midnight-soft: #14110C;
  --cream: #E8D9B8;
  --paper: #D9C7A0;
  --gold: #C9A24D;
  --gold-soft: #B8924E;
  --oxblood: #7A2828;
  --charcoal: #3A3735;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --script: 'Pinyon Script', cursive;

  --max-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================
   NAV
   ============================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(14, 11, 7, 0.65);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(201, 162, 77, 0.12);
  transition: background .3s ease;
}

.nav-logo img {
  width: clamp(80px, 10vw, 120px);
  height: auto;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity .2s, color .2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-social a {
  color: var(--cream);
  opacity: 0.7;
  transition: opacity .2s, color .2s;
  display: inline-flex;
  align-items: center;
}

.nav-social a:hover {
  opacity: 1;
  color: var(--gold);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 var(--gutter);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(14,11,7,0.4) 0%, rgba(14,11,7,0.75) 70%, rgba(14,11,7,0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: 8rem 0 6rem;
}

.hero-logo {
  width: clamp(280px, 40vw, 480px);
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 24px rgba(201,162,77,0.25));
}

.hero-tagline {
  font-family: var(--sans);
  font-size: clamp(0.75rem, 1.1vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(201,162,77,0.3);
}

.hero-description {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.95;
  margin-bottom: 2.25rem;
  max-width: 460px;
}

/* Torn paper transition to about section */
.hero-tear {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 4;
  background: var(--cream);
  clip-path: polygon(
    0 100%,
    0 45%, 3% 55%, 6% 40%, 9% 60%, 12% 48%, 15% 65%, 18% 42%, 21% 58%,
    24% 50%, 27% 62%, 30% 38%, 33% 55%, 36% 48%, 39% 60%, 42% 42%, 45% 58%,
    48% 50%, 51% 65%, 54% 40%, 57% 55%, 60% 48%, 63% 62%, 66% 38%, 69% 58%,
    72% 50%, 75% 65%, 78% 42%, 81% 55%, 84% 48%, 87% 62%, 90% 40%, 93% 55%,
    96% 50%, 100% 60%,
    100% 100%
  );
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--midnight);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.85rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--cream);
  color: var(--midnight);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 600px;
}

.about-image {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-text {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  color: var(--midnight);
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.about-text p {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 1.1rem;
}

.about-text p:last-of-type { margin-bottom: 0; }

.about-quiet {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(58,55,53,0.2);
  color: var(--oxblood) !important;
}

/* ============================================
   MUSIC
   ============================================ */
.music {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  background: var(--midnight);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.music-intro .section-label {
  color: var(--gold);
}

.music-headline {
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.music-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream);
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 320px;
}

.music-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.spotify-feature {
  background: #121212;
  border-radius: 12px;
  min-height: 452px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.spotify-feature::before {
  content: 'Loading…';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.5;
  text-transform: uppercase;
  z-index: 0;
}

.spotify-feature iframe {
  display: block;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.song-card {
  display: block;
  transition: transform .3s ease;
}

.song-card:hover {
  transform: translateY(-4px);
}

.song-spotify-embed iframe {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.song-card-yt {
  background: linear-gradient(135deg, var(--oxblood) 0%, #5a1d1d 100%);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 452px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform .3s ease, box-shadow .3s ease;
}

.song-card-yt:hover {
  box-shadow: 0 12px 40px rgba(201,162,77,0.2);
}

.song-yt-wrap {
  text-align: center;
}

.yt-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.song-yt-wrap h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.yt-cta {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================
   SYNC / CONTACT
   ============================================ */
.sync {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  overflow: hidden;
  text-align: center;
}

.sync-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.05);
  z-index: 1;
}

.sync-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(14,11,7,0.7) 0%, rgba(14,11,7,0.92) 80%);
  z-index: 2;
}

.sync-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
}

.sync-label {
  color: var(--gold) !important;
  margin-bottom: 1.5rem;
}

.sync-headline {
  color: var(--cream);
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.sync-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.sync-email {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 2.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(201,162,77,0.3);
  transition: color .2s, border-color .2s;
}

.sync-email:hover {
  color: var(--cream);
  border-bottom-color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--midnight);
  border-top: 1px solid rgba(201,162,77,0.15);
  padding: 2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--cream);
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  transition: opacity .2s, color .2s;
}

.footer-links a:hover { opacity: 1; color: var(--gold); }

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--cream);
  opacity: 0.6;
  transition: opacity .2s, color .2s;
}

.footer-social a:hover {
  opacity: 1;
  color: var(--gold);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .site-nav {
    padding: 1rem var(--gutter);
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding: 7rem 0 5rem;
    max-width: 100%;
  }

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

  .about-image {
    max-height: 60vh;
    min-height: 360px;
  }

  .about-image img {
    object-position: center top;
  }

  .music {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .music-headline {
    font-size: 2.5rem;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
}

@media (max-width: 480px) {
  .hero-logo { width: 280px; }
  .hero-tagline { font-size: 0.7rem; letter-spacing: 0.25em; }
  .hero-description { font-size: 1rem; }
  .about-text { padding: 3rem 1.5rem; }
  .section-headline { font-size: 2.25rem; }
  .sync-headline { font-size: 2.25rem; }
  .sync-email { font-size: 0.95rem; }
}

/* ============================================
   SUBTLE TEXTURE / GRAIN
   ============================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 0%, transparent 50%, rgba(201,162,77,0.15) 100%);
}






