/* ============================================================
   ROOTS — Eddie James | Fresh Wine Records
   Aged parchment, bronze/sepia, hymnal aesthetic.
   ============================================================ */

:root {
  /* ROOTS palette pulled from the album cover */
  --parchment:      #ddd0a8;   /* aged paper tan */
  --parchment-lite: #ebe2c5;   /* lighter paper */
  --parchment-deep: #b8a577;   /* darker paper */
  --cream:          #f6efdb;   /* light cream */
  --bronze:         #6b4a25;   /* deep bronze headline */
  --bronze-lite:    #8d6a3d;   /* medium bronze */
  --sepia:          #4a2f16;   /* dark ink */
  --moss:           #4d5936;   /* muted moss green accent */
  --ink:            #2a1c0d;   /* body text (deep sepia black) */
  --ink-soft:       #58432b;   /* secondary text */
  --line:           #a58a5c;   /* divider lines */
  --line-soft:      rgba(107, 74, 37, 0.25);
  --shadow:         rgba(60, 40, 15, 0.15);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --max-w: 1200px;
  --narrow-w: 820px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--parchment);
  /* Subtle paper grain */
  background-image:
    radial-gradient(circle at 20% 20%, rgba(120, 90, 50, 0.06), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(140, 100, 60, 0.05), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(80, 55, 25, 0.04), transparent 35%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--narrow-w); margin: 0 auto; padding: 0 32px; }

/* ============ TOP NAV ============ */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20, 12, 4, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 175, 130, 0.12);
  transition: background 0.3s;
}
.topnav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topnav-brand {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #e8dcbc;
  text-decoration: none;
  white-space: nowrap;
}
.topnav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.topnav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: #d9c99b;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.topnav-links a:hover { color: #f4e6b8; }
.topnav-cta {
  padding: 8px 18px;
  border: 1px solid #b09055;
  border-radius: 999px;
  color: #f4e6b8 !important;
}
.topnav-cta:hover { background: #b09055; color: #1e1408 !important; }

@media (max-width: 720px) {
  .topnav-brand { font-size: 10px; }
  .topnav-links { gap: 14px; }
  .topnav-links a:not(.topnav-cta) { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
  padding: 120px 32px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.72) contrast(1.05);
  z-index: 1;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 12, 4, 0.45) 0%, rgba(20, 12, 4, 0.15) 40%, rgba(20, 12, 4, 0.55) 85%, rgba(20, 12, 4, 0.8) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(20, 12, 4, 0.4) 100%);
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: #e8d5a3;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero-eyebrow .dash {
  width: 40px;
  height: 1px;
  background: #b09055;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(96px, 18vw, 240px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  color: #f4e6b8;
  text-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.hero-sub {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.42em;
  color: #d9c99b;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  padding: 0 40px;
}
.hero-sub::before, .hero-sub::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: #b09055;
}
.hero-sub::before { left: 0; }
.hero-sub::after { right: 0; }
.hero-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: #ede1bb;
  margin: 0 auto 48px;
  max-width: 620px;
}
.hero-btn {
  display: inline-block;
  padding: 16px 44px;
  background: transparent;
  color: #f4e6b8;
  border: 1.5px solid #d9b96a;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.3s;
  cursor: pointer;
}
.hero-btn:hover {
  background: #d9b96a;
  color: #1e1408;
  transform: translateY(-2px);
}

/* ============ SHARED SECTION ============ */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--bronze-lite);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.section-eyebrow.left { justify-content: flex-start; }
.section-eyebrow .dash {
  width: 36px;
  height: 1px;
  background: var(--line);
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  color: var(--bronze);
  margin: 0 0 24px;
  text-align: center;
  letter-spacing: 0.005em;
}
.section-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

/* ============ LISTEN NOW ============ */
.listen {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
}
.listen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.stream-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 72px;
}
.stream-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--sepia);
  color: var(--cream);
  border: none;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.25s;
  box-shadow: 0 2px 12px var(--shadow);
}
.stream-btn:hover {
  background: var(--bronze);
  color: #f4e6b8;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow);
}
.stream-btn svg { flex-shrink: 0; }

@media (max-width: 720px) {
  .stream-buttons { grid-template-columns: repeat(2, 1fr); }
}

/* Album art */
.album-art {
  margin-top: 40px;
}
.album-art-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px;
  background: linear-gradient(135deg, var(--cream), var(--parchment-lite));
  box-shadow: 0 20px 60px rgba(60, 40, 15, 0.28), 0 6px 18px rgba(60, 40, 15, 0.15);
}
.album-art-wrap img {
  display: block;
  width: 100%;
  height: auto;
}
.album-caption {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--bronze-lite);
  text-transform: uppercase;
}

/* ============ ABOUT ============ */
.about-album {
  padding: 100px 0;
  background: var(--parchment-lite);
  position: relative;
}
.about-album::before, .about-album::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.about-album::before { top: 0; }
.about-album::after { bottom: 0; }

.about-body p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 24px;
  text-align: left;
}
.about-body em {
  font-style: italic;
  color: var(--bronze);
}
.dropcap {
  float: left;
  font-family: var(--serif);
  font-size: 76px;
  line-height: 0.85;
  font-weight: 600;
  color: var(--bronze);
  padding: 4px 14px 0 0;
  margin-top: 4px;
}
.about-close {
  text-align: center !important;
  font-style: italic;
  color: var(--bronze) !important;
  font-size: 22px !important;
  margin-top: 32px !important;
}

/* ============ TRACKS ============ */
.tracks {
  padding: 120px 0 100px;
  text-align: center;
}
.tracks-help {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--bronze-lite);
  text-transform: uppercase;
  margin: 0 0 48px;
}
.tracklist {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
  border-top: 1px solid var(--line-soft);
}
.track {
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.25s;
}
.track[open] { background: rgba(246, 239, 219, 0.5); }
.track summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 8px 24px 8px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.2s;
}
.track summary::-webkit-details-marker { display: none; }
.track summary:hover { background: rgba(246, 239, 219, 0.6); }
.track summary:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

.track-num {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--bronze-lite);
  min-width: 52px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.track-body { flex: 1; min-width: 0; }
.track-title {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--sepia);
  line-height: 1.2;
  letter-spacing: 0.005em;
}
.track-subtitle {
  font-size: 18px;
  font-style: italic;
  color: var(--bronze-lite);
  font-weight: 400;
}
.track-lead {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-top: 6px;
  text-transform: uppercase;
}
.track-toggle {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--bronze-lite);
  font-weight: 400;
  transition: transform 0.3s;
  min-width: 24px;
  text-align: center;
}
.track[open] .track-toggle { transform: rotate(45deg); }

.lyrics {
  padding: 12px 8px 40px 76px;
  color: var(--ink);
}
.lyrics-meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bronze-lite);
  text-transform: uppercase;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.lyrics-block {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 28px;
  white-space: pre-line;
}
.lyrics-label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 8px;
  white-space: normal;
}

@media (max-width: 640px) {
  .track summary { padding: 20px 8px; gap: 14px; }
  .track-num { font-size: 22px; min-width: 40px; }
  .track-title { font-size: 20px; }
  .track-subtitle { font-size: 15px; }
  .track-lead { font-size: 11px; }
  .lyrics { padding: 8px 8px 32px 8px; }
  .lyrics-block { font-size: 16px; }
}

/* ============ VIDEOS ============ */
.videos {
  padding: 100px 0;
  background: var(--parchment-lite);
  position: relative;
  text-align: center;
}
.videos::before, .videos::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.videos::before { top: 0; }
.videos::after { bottom: 0; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.video-card {
  background: var(--cream);
  padding: 10px;
  box-shadow: 0 12px 40px var(--shadow);
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
@media (max-width: 720px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ============ BIO ============ */
.bio {
  padding: 120px 0;
}
.bio-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.bio-photo {
  position: relative;
}
.bio-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: sepia(0.15) contrast(1.02);
  box-shadow: 0 20px 60px var(--shadow);
}
.bio-photo::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px; right: 14px; bottom: 14px;
  border: 1px solid var(--bronze-lite);
  z-index: -1;
}
.bio-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.95;
  color: var(--bronze);
  margin: 12px 0 12px;
  letter-spacing: 0.005em;
}
.bio-name span {
  display: block;
}
.bio-title {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--bronze-lite);
  text-transform: uppercase;
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.bio-text p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 20px;
}
.bio-links {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.bio-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--bronze);
  text-decoration: none;
  border-bottom: 1px solid var(--bronze-lite);
  padding-bottom: 4px;
  transition: color 0.2s;
}
.bio-links a:hover { color: var(--sepia); }

@media (max-width: 820px) {
  .bio-grid { grid-template-columns: 1fr; gap: 40px; }
  .bio-photo::before { display: none; }
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--sepia), #1e130a);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(217, 185, 106, 0.08), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(217, 185, 106, 0.06), transparent 50%);
  pointer-events: none;
}
.final-cta-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 400;
  color: #f4e6b8;
  margin: 0 0 24px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}
.final-cta-sub {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  color: #d9c99b;
  margin: 0 auto 40px;
  max-width: 560px;
  position: relative;
  z-index: 2;
}

/* ============ FOOTER ============ */
.footer {
  padding: 60px 0 40px;
  background: #1a1108;
  color: #a58a5c;
  text-align: center;
}
.footer-mark {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #d9c99b;
  margin-bottom: 20px;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.8;
  color: #86704a;
  margin: 0 0 24px;
}
.footer-links {
  font-family: var(--sans);
  font-size: 12px;
  color: #86704a;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.footer-links a {
  color: #d9c99b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.footer-links a:hover { border-bottom-color: #d9c99b; }
