/*
  Tumi Music — shared stylesheet for the static social-preview pages
  (root profile, album pages, single-track pages, privacy policy).
  Originally lifted from the buenaventura/index.html page design.
*/

/* ===== CSS Variables ===== */
:root {
  --gold:        rgb(228, 142, 36);
  --gold-dark:   #c07800;
  --orange:      #ff4e00;
  --black:       #000;
  --off-black:   #111;
  --surface:     #f7f4ef;
  --surface-2:   #ede8e0;
  --text:        #1a1a1a;
  --text-muted:  #666;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Raleway', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--surface);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--orange);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

/* ===== Header ===== */
header {
  background-color: var(--black);
  padding: 16px 24px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #222;
}

header img {
  height: clamp(3rem, 8vw, 5rem);
  margin: 0 auto;
}

/* Home page: no hero/album art below the header, so give the logo more presence */
body.home header img {
  height: clamp(6rem, 16vw, 10rem);
}

/* ===== Hero (album / track pages) ===== */
.hero {
  background-color: var(--black);
  color: #fff;
  padding: 60px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(228,142,36,0.12) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(255,78,0,0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero-album-art {
  width: clamp(220px, 55vw, 380px);
  aspect-ratio: 1;
  border: 4px solid rgba(228,142,36,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(228,142,36,0.15);
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-artist {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.5vw, 1.9rem);
  font-style: italic;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-grammy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(228,142,36,0.35);
  padding: 6px 14px;
  border-radius: 2px;
}

.hero-grammy i { font-size: 0.9rem; }

.hero-release {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero-featured {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 500px;
}

.hero-featured strong {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

/* ===== Container ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Section ===== */
section.page-section {
  padding: 64px 0;
}

section.page-section + section.page-section {
  border-top: 1px solid var(--surface-2);
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 32px;
}

.section-heading.is-hidden { display: none; }

/* ===== Streaming ===== */
.streaming-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.streaming-embed {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.streaming-embed .embed-label {
  padding: 10px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.embed-label i.fa-spotify   { color: #1DB954; }
.embed-label i.fa-apple     { color: #fc3c44; }

/* ===== About / body text ===== */
.about-text {
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 720px;
  color: var(--text);
}

.about-text strong { color: var(--black); }
.about-text + .about-text { margin-top: 20px; }

/* ===== Videos ===== */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.videos-grid.single-video {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.video-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

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

.video-info {
  padding: 14px 16px;
  border-top: 2px solid var(--surface-2);
}

.video-track {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.video-feat {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
  letter-spacing: 0.05em;
}

/* ===== Tracklist ===== */
.tracklist {
  list-style: none;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.tracklist li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--surface-2);
  transition: background 0.15s;
}

.tracklist li:last-child { border-bottom: none; }

.track-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  width: 28px;
  flex-shrink: 0;
  text-align: right;
}

.track-details { flex: 1; }

.track-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.track-feat {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.track-isrc {
  display: none;
  font-size: 0.65rem;
  color: #bbb;
  font-family: monospace;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.tracklist li.is-released { background: rgba(228,142,36,0.06); }

.track-status {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

.track-status.out-now {
  color: #fff;
  background: var(--gold);
}

.track-status.soon {
  color: var(--text-muted);
  background: var(--surface-2);
}

/* ===== Biographies ===== */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.bio-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-left: 3px solid var(--gold);
}

.bio-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.bio-card .bio-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.bio-card p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 10px;
}

.bio-card p:last-child { margin-bottom: 0; }

/* ===== Credits ===== */
.credits-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--surface-2);
  border-radius: 4px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.2s;
}

.credits-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.credits-toggle i { transition: transform 0.25s; }
.credits-toggle.open i { transform: rotate(180deg); }

.credits-body {
  display: none;
}

.credits-body.open {
  display: block;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.credit-card {
  background: #fff;
  border-radius: 6px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.credit-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--surface-2);
}

.credit-card h4 span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 2px;
}

.credit-list {
  list-style: none;
  font-size: 0.78rem;
  color: #555;
  line-height: 1.9;
}

.credit-list li { display: flex; gap: 6px; }
.credit-list .role { color: var(--text-muted); flex-shrink: 0; }
.credit-list .name { color: var(--text); font-weight: 500; }

/* ===== Lyrics ===== */
.lyrics-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  overflow: hidden;
}

.lyrics-card .lyrics-credit {
  padding: 20px 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--surface-2);
}

.lyrics-card .lyrics-credit strong { color: var(--text); }

.lyrics-box {
  max-height: 420px;
  overflow-y: auto;
  padding: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}

.lyrics-box p { margin-bottom: 18px; }
.lyrics-box p:last-child { margin-bottom: 0; }
.lyrics-box strong {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

/* ===== Gallery & Lightbox ===== */
.gallery {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}

.gallery img:hover { transform: translateY(-3px); }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 4px;
}

/* ===== Press ===== */
.press-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid transparent;
}

.press-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-2px);
  border-color: var(--surface-2);
  text-decoration: none;
}

.press-icon {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.press-content .press-source {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.press-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.press-content p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.press-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== About Tumi / Social links (dark section) ===== */
.tumi-section {
  background-color: var(--black);
  color: #fff;
}

.tumi-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tumi-section .section-heading { color: #fff; }

.tumi-text {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  margin-bottom: 40px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 560px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #eee;
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.social-links a i { font-size: 1.1rem; width: 20px; text-align: center; }
.social-links a:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
  text-decoration: none;
}

/* ===== Legal / text pages (privacy policy) ===== */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
}

.legal-page p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 14px;
}

.legal-page .legal-updated {
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Footer ===== */
footer {
  background-color: var(--off-black);
  padding: 24px;
  text-align: center;
  border-top: 1px solid #1e1e1e;
}

footer p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 2;
}

footer a {
  color: var(--gold);
}

footer a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .streaming-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .press-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .press-arrow { display: none; }

  .bio-card { padding: 20px 20px; }

  .track-isrc { display: none; }
}

@media (max-width: 480px) {
  section.page-section { padding: 48px 0; }
  .hero { padding: 40px 20px 60px; }
}
