/* musAIc Connect – Paul Powell Music. Mobile-first, no frameworks. */
:root {
  --bg: #0b0f1a;
  --bg-alt: #10162a;
  --card: #151c33;
  --card-2: #1b2442;
  --line: #26304f;
  --text: #e8ecf6;
  --muted: #a3adc7;
  --teal: #2dd4bf;
  --violet: #a78bfa;
  --pink: #f472b6;
  --amber: #fbbf24;
  --spotify: #1ed760;
  --youtube: #ff3b3b;
  --radius: 18px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: #5eead4; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--amber); color: #111; padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 26, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.brand b { background: linear-gradient(90deg, var(--teal), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-list { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav-list a { display: block; padding: .45rem .6rem; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 600; border-radius: 999px; }
.nav-list a:hover { color: var(--text); background: var(--card); }
.nav-list .nav-cta { color: #0b0f1a; background: var(--teal); }
.nav-list .nav-cta:hover { color: #0b0f1a; background: #5eead4; }
@media (max-width: 520px) {
  .header-inner { justify-content: center; padding-top: .5rem; padding-bottom: .4rem; gap: .25rem; }
  .nav-list { flex-wrap: wrap; justify-content: center; }
  .nav-list a { padding: .35rem .55rem; font-size: .88rem; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(167, 139, 250, .28), transparent 60%),
    radial-gradient(50rem 28rem at -10% 110%, rgba(45, 212, 191, .22), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::after { /* subtle equalizer bars */
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px; opacity: .14; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 14px);
  -webkit-mask: linear-gradient(to top, #000, transparent); mask: linear-gradient(to top, #000, transparent);
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .75rem; }
.hero h1 { font-size: clamp(2.6rem, 11vw, 5.2rem); font-weight: 800; margin-bottom: 1rem; }
.grad { background: linear-gradient(90deg, var(--teal), var(--violet) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.08rem, 2.8vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 auto 2rem; }
.cta-row { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; max-width: 360px; margin: 0 auto; }
@media (min-width: 600px) { .cta-row { flex-direction: row; justify-content: center; max-width: none; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1.02rem;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-spotify { background: var(--spotify); color: #08130c; box-shadow: 0 8px 24px rgba(30, 215, 96, .25); }
.btn-spotify:hover { color: #08130c; }
.btn-youtube { background: #fff; color: #111; box-shadow: 0 8px 24px rgba(255, 255, 255, .12); }
.btn-youtube svg { color: var(--youtube); }
.btn-youtube:hover { color: #111; }
.hero-meta { margin: 1.5rem 0 0; font-size: .95rem; }
.hero-meta a { color: var(--muted); }

/* Sections */
.section { padding: 4rem 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 1.75rem; max-width: 640px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.small-link { margin: 1rem 0 0; font-weight: 600; }

/* Listen */
.embed-card { padding: .5rem; }
.spotify-embed { display: block; width: 100%; border: 0; border-radius: 12px; }

/* Video helpers */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Watch */
.featured { padding: .75rem; display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.featured-text { padding: 0 .5rem .5rem; }
.featured-text h3 { font-size: 1.6rem; }
.featured-text p:last-child { margin: 0; font-weight: 600; }
@media (min-width: 900px) {
  .featured { grid-template-columns: 2fr 1fr; align-items: center; padding: 1rem; }
  .featured-text { padding: 1rem; }
}
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.vcard { display: block; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .15s ease, border-color .15s ease; height: 100%; }
.vcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.vcard span { display: block; padding: .65rem .8rem .8rem; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.vcard:hover { transform: translateY(-3px); border-color: var(--teal); color: var(--text); }

/* Vibes */
.vibe-grid { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .vibe-grid { grid-template-columns: repeat(2, 1fr); } }
.vibe { padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; position: relative; overflow: hidden; }
.vibe::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent, var(--teal)); }
.vibe h3 { color: var(--accent, var(--teal)); margin: 0; font-size: 1.35rem; }
.vibe p { color: var(--muted); margin: 0; }
.vibe > a { font-weight: 600; color: var(--accent, var(--teal)); margin-top: auto; }
.vibe-motivational { --accent: var(--amber); }
.vibe-romantic { --accent: var(--pink); }
.vibe-fun { --accent: var(--teal); }
.vibe-dance { --accent: var(--violet); }

/* About */
.about { display: grid; gap: 2rem; align-items: center; }
.about-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid var(--card-2); box-shadow: 0 0 0 3px var(--teal), 0 20px 40px rgba(0,0,0,.4); margin: 0 auto; }
.about p { color: #cfd6e8; font-size: 1.05rem; max-width: 680px; }
.placeholder-note { color: var(--amber) !important; font-style: italic; font-size: .95rem !important; }
@media (min-width: 760px) { .about { grid-template-columns: 240px 1fr; } .about-photo { width: 240px; height: 240px; } }

/* Follow */
.follow-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1rem; max-width: 900px; }
@media (min-width: 680px) { .follow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .follow-grid { grid-template-columns: repeat(4, 1fr); max-width: 1100px; } }
.follow { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.follow svg { width: 36px; height: 36px; flex: none; }
.follow span { display: flex; flex-direction: column; line-height: 1.3; }
.follow small { color: var(--muted); font-size: .88rem; }
.follow:hover { transform: translateY(-3px); color: var(--text); }
.follow.spotify svg { color: var(--spotify); } .follow.spotify:hover { border-color: var(--spotify); }
.follow.youtube svg { color: var(--youtube); } .follow.youtube:hover { border-color: var(--youtube); }
.follow.x svg { color: #fff; } .follow.x:hover { border-color: #fff; }
.follow.aethr svg { color: #b48cff; } .follow.aethr:hover { border-color: #b48cff; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; text-align: center; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0; }

/* Custom Songs (draft) */
.occasion-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.occasion-list li { background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.tier-grid { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 820px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }
.tier { padding: 1.25rem; position: relative; overflow: hidden; }
.tier::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--teal); }
.tier-featured { border-color: var(--violet); } .tier-featured::before { background: var(--violet); }
.tier .price { font-size: 2rem; font-weight: 800; margin: .25rem 0 .75rem; }
.tier ul, .order-box ol { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.order-box { padding: 1.25rem 1.5rem; }
.order-box ol li { margin-bottom: .4rem; }
.order-cta { margin: 1.25rem 0 1rem; max-width: none; }
@media (min-width: 600px) { .order-cta { justify-content: flex-start; } }
.btn-x { background: #000; color: #fff; border: 1px solid #fff; }
.btn-x:hover { color: #fff; }
.ai-note { color: var(--muted); font-size: .9rem; margin: 0; }
.btn-paypal { background: #ffc439; color: #111; }
.btn-paypal:hover { color: #111; }

/* Click-to-load YouTube thumbnails */
.yt-lite { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play { position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); background: var(--youtube); border-radius: 14px; opacity: .92; transition: opacity .15s; }
.yt-play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-lite:hover .yt-play, .yt-lite:focus-visible .yt-play { opacity: 1; }

/* Custom Songs page FAQ */
.faq-list { display: grid; gap: .75rem; }
.faq-item { padding: 1rem 1.25rem; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { color: var(--muted); margin: .6rem 0 0; }

/* Lyric Videos */
.lyric-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .lyric-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .lyric-grid { grid-template-columns: repeat(3, 1fr); } }
.lyric-card { padding: .75rem; display: flex; flex-direction: column; gap: .6rem; }
.lyric-card h3 { margin: 0 .25rem .25rem; font-size: 1.1rem; }

.gift-list { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.gift-list li { margin-bottom: .6rem; }

/* Featured song (home page) */
.featured-song { padding: 1rem; display: grid; gap: 1.25rem; align-items: center; }
.featured-cover { width: 100%; max-width: 360px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; margin: 0 auto; }
.featured-song-text h3 { font-size: 1.8rem; }
.featured-song-text .cta-row { margin: 1.25rem 0 .5rem; max-width: none; }
@media (min-width: 760px) {
  .featured-song { grid-template-columns: 300px 1fr; padding: 1.25rem; gap: 2rem; }
  .featured-song .cta-row { justify-content: flex-start; }
}

/* Stories Behind the Songs */
.story { padding: 1.25rem; display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
.story h2 { font-size: clamp(1.6rem, 4.5vw, 2.1rem); }
.story-body { max-width: 680px; }
.story-body p { color: #cfd6e8; font-size: 1.05rem; }
.story-body blockquote { margin: 0 0 1rem; padding-left: 1rem; border-left: 3px solid var(--pink); color: var(--text); font-style: italic; }
.story .cta-row { margin: 1.25rem 0 0; max-width: none; }
@media (min-width: 600px) { .story .cta-row { justify-content: flex-start; } }
@media (min-width: 900px) { .story { padding: 1.75rem; } }
