/* Harmony — shared stylesheet
 * Mobile-first, semantic, no frameworks.
 * Design tokens, base reset, components and utilities. */

:root {
  --bg: #f7f5ef;
  --bg-soft: #efebe0;
  --surface: #ffffff;
  --border: #e5e0d3;
  --fg: #1f2a26;
  --fg-muted: #5d6964;
  --primary: #2a5a4a;
  --primary-fg: #fbfaf5;
  --accent: #d8a24a;
  --accent-fg: #2a1f10;
  --secondary: #ece6d6;
  --shadow-soft: 0 10px 40px -15px rgba(42, 90, 74, 0.25);
  --gradient-hero: linear-gradient(135deg, #2a5a4a 0%, #4a8b86 50%, #d8a24a 100%);
  --gradient-soft: linear-gradient(180deg, #f7f5ef 0%, #ece6d6 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --maxw: 72rem;
  --font-display: "Lora", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--gradient-soft);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.1;
}
p { color: var(--fg-muted); }

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}
main { flex: 1; }
section { padding: 4rem 0; }
.section-border { border-top: 1px solid var(--border); }
.bg-soft { background: rgba(247, 245, 239, 0.5); }
.bg-secondary { background: rgba(236, 230, 214, 0.5); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 245, 239, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
  line-height: 1;
}
.brand-name-foot {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
}
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.primary-nav ul {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
.primary-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(31, 42, 38, 0.7);
  transition: color 0.2s;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--fg); }
@media (min-width: 768px) {
  .primary-nav ul { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--secondary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Eyebrow / tags */
.eyebrow {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(122, 91, 38, 0.85);
  margin-bottom: 1rem;
  white-space: nowrap;
}
/* h3 visually styled like eyebrow */
h3.as-h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0 0 1rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(247, 245, 239, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}
.pill::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: var(--radius-full);
  background: var(--accent);
}

/* Hero */
.hero { padding: 4rem 0; }
.hero .hero-title {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
  max-width: 18ch;
  color: var(--fg);
}
.hero p.lede {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.65;
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) {
  .hero { padding: 7rem 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
}
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--secondary);
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section heading */
.section-head { max-width: 36rem; margin-bottom: 3rem; }
.section-head--spaced { margin-top: 4rem; }
.section-head h2,
.section-head .section-title,
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
  font-size: clamp(1.875rem, 4vw, 3rem);
}
.section-head p { margin-top: 0.75rem; font-size: 1.1rem; color: var(--fg-muted); }

/* Cards grid */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-soft); }
.card h3 { font-size: 1.5rem; margin-top: 0.75rem; }
.card .card-artist-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
  margin-top: 0.75rem;
}
.card p { font-size: 0.9rem; line-height: 1.6; margin-top: 0.75rem; }
.card p.card-artist-name + p { flex: 1; }
.card .read-more {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s;
}
.card:hover .read-more { transform: translateX(4px); }

/* Two-column content */
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.two-col p { margin-top: 1rem; font-size: 1.05rem; line-height: 1.65; }
.feature-list { display: flex; flex-direction: column; gap: 1rem; }
.feature-list li {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.feature-list strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg);
}
.feature-list p { margin-top: 0.25rem; font-size: 0.9rem; }

/* Sibling links */
.siblings { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 700px) { .siblings { grid-template-columns: 1fr 1fr; } }
.sibling {
  display: block;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow 0.2s, color 0.2s;
}
.sibling:hover { box-shadow: var(--shadow-soft); }
.sibling .tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.sibling .name {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--fg);
}
.sibling:hover .name { color: var(--primary); }

/* Footer */
.site-footer {
  margin-top: 6rem;
  background: rgba(236, 230, 214, 0.5);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-grid .footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg);
  font-weight: 600;
}
.footer-grid ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid a { font-size: 0.9rem; color: var(--fg-muted); }
.footer-grid a:hover { color: var(--fg); }
.footer-grid .about p {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.copyright {
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--fg-muted);
  padding: 1.5rem 0;
}

/* Inline link */
.inline-link { color: var(--primary); font-weight: 500; }
.inline-link:hover { text-decoration: underline; }

/* Strong intro paragraph */
.strong-p { color: var(--fg); font-size: 1.1rem; line-height: 1.65; }
.two-col p + p { margin-top: 1rem; }

/* Mobile overflow safety + side padding */
html, body { overflow-x: hidden; max-width: 100%; }
.container { min-width: 0; }
p, h1, h2, h3, h4 { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .card { padding: 1.25rem; }
  .footer-grid { padding-left: 0.25rem; padding-right: 0.25rem; }
  .footer-grid .about p { max-width: 100%; }
}

/* Artist card icons */
.card-artist { position: relative; }
.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  overflow: hidden;
}
.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
  display: block;
}
.card-icon-leaf  { background: rgba(125, 155, 118, 0.18); }
.card-icon-star  { background: rgba(216, 162, 74, 0.20); }
.card-icon-piano { background: rgba(42, 90, 74, 0.12); }

/* Featured / video sections */
.featured-block { margin-bottom: 3rem; }
.featured-head { margin-bottom: 1.25rem; }
.featured-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.4rem, 2.6vw, 1.875rem);
  margin-top: 0.4rem;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Two-track grid */
.track-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .track-grid { grid-template-columns: 1fr 1fr; } }
.track-card { display: flex; flex-direction: column; gap: 0.9rem; }
.track-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.4rem, 2.6vw, 1.875rem);
}
.track-card p { font-size: 0.95rem; line-height: 1.6; }

/* More to explore */
.explore-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .explore-grid { grid-template-columns: repeat(3, 1fr); } }
.explore-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
  color: inherit;
}
.explore-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }

/* Circular artist avatar (Spotify/YouTube style) */
.explore-thumb-circle {
  width: 180px;
  height: 180px;
  max-width: 60%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-full);
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.explore-thumb-circle img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.explore-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  margin-top: 0.4rem;
}
.explore-card p { font-size: 0.9rem; margin-top: 0.5rem; }

/* Platform links list */
.platform-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.platform-links li { display: inline-flex; }
.platform-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg);
  transition: background 0.2s, color 0.2s;
}
.platform-links a:hover { background: var(--primary); color: var(--primary-fg); }

/* Playlist layout */
.playlist-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .playlist-layout {
    grid-template-columns: 1.7fr 1fr;
  }
}

/* Player */
.playlist-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.playlist-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lista estilo YouTube */
.playlist-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 520px;
  overflow-y: auto;
  background: #181818;
  padding: 0.85rem;
  border-radius: var(--radius-lg);
  min-width: 0;
}

.track {
  display: flex;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s;
  min-width: 0;
}
.track:hover { background: #2a2a2a; }
.track.active { background: #3a3a3a; }

.track img {
  width: 110px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.track-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.track-title {
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
.track-meta {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 0.15rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--fg);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}
.faq-question:hover { background: rgba(236, 230, 214, 0.4); }
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
}
.faq-answer p { font-size: 0.95rem; line-height: 1.65; }
.faq-answer p + p { margin-top: 0.75rem; }
.rich-list {
  margin-top: 0.5rem;
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: disc;
  padding-left: 1.25rem;
}
.rich-list li {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
.rich-list li::marker { color: var(--accent); }

/* Smaller eyebrow heading for artist cards (Nature Sounds, Lullabies, Relaxing Piano) */
h3.card-eyebrow-sm {
  font-size: 0.95rem;
}

/* === Brand wordmark (Mussity logo) === */
.brand-wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-wordmark img {
  height: 6.5rem;
  width: auto;
  display: block;
}
.brand-wordmark-foot img {
  height: 5.5rem;
}
.brand-wordmark-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 5.6vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: #2a5a4a;
  display: inline-block;
  /* Optical centering against the adjacent note glyph */
  transform: translateY(-0.08em);
}
.brand-wordmark-foot .brand-wordmark-text {
  font-size: clamp(1.6rem, 4.4vw, 3rem);
  transform: translateY(-0.08em);
}

/* === "Listen now." styled like hero title (overrides .section-head p) === */
.section-head p.listen-now-title,
p.listen-now-title {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: clamp(2.2rem, 7vw, 4.10rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: #2a5a4a;
  margin-top: 0;
}

/* === More breathing room between track-card title and its video === */
.track-card { gap: 1.25rem; }

/* === Explore thumbnails: fill the circle (100%) === */
.explore-thumb-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
