/* Amrit Basra — shared site stylesheet
   One file, linked from every page. Edit here, it updates everywhere. */

:root {
    --color-text: #FFFFFF;
    --color-text-secondary: #B3B3B3;
    --color-accent: #1DB954;
    --color-bg: #0a0a0a;
    --radius-full: 9999px;
    --duration-normal: 250ms;
    --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: var(--color-text);
    background: #0a0a0a;
    scroll-behavior: smooth;
}

body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

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

a { color: inherit; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-accent);
    color: #000;
    padding: 10px 16px;
    z-index: 100;
    font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Site header / nav ---------- */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 20;
}
.site-header .logo {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 15px;
}
.site-nav a:hover { color: var(--color-accent); }

/* ---------- Generic page container ---------- */
.page-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 64px;
}

/* ---------- Buttons (streaming links etc.) ---------- */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--duration-normal) var(--ease-standard);
    border: none;
    cursor: pointer;
    width: 100%;
}
.link-button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.link-button svg { width: 24px; height: 24px; flex-shrink: 0; }

.spotify { background: #1DB954; color: #000; }
.spotify:hover { background: #1ed760; transform: translateY(-2px); }
.apple { background: #FFFFFF; color: #000; }
.apple:hover { background: #F5F5F5; transform: translateY(-2px); }
.youtube { background: #CC0000; color: #FFF; }
.youtube:hover { background: #E63535; transform: translateY(-2px); }

.links-container { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Track page layout ---------- */
.track-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    padding: 24px 0 8px;
}
.track-hero .album-art {
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}
.track-hero .details { width: 100%; max-width: 420px; }
.track-title { font-size: 42px; font-weight: 900; text-transform: uppercase; letter-spacing: -1px; margin-bottom: 2px; }
.track-artist { font-size: 16px; color: var(--color-text-secondary); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.track-footnote { margin-top: 20px; font-size: 12px; color: var(--color-text-secondary); text-align: center; }
.track-footnote a { color: var(--color-text-secondary); text-decoration: underline; }

@media (min-width: 900px) {
    .track-hero {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 56px;
        padding: 32px 0 40px;
    }
    .track-hero .album-art { flex: 1 1 0; max-width: 440px; margin: 0 auto 0 0; }
    .track-hero .details { flex: 1 1 0; max-width: 440px; }
    .track-title { font-size: 44px; }
    .link-button { justify-content: flex-start; padding: 17px 26px; }
}

/* ---------- Music grid ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform var(--duration-normal) var(--ease-standard), border-color var(--duration-normal) var(--ease-standard);
}
.card:hover, .card:focus-visible { transform: translateY(-4px); border-color: rgba(255,255,255,0.22); }
.card .art { aspect-ratio: 1/1; background: #1a1a1a; overflow: hidden; }
.card .art img { width: 100%; height: 100%; object-fit: cover; }
.card .meta { padding: 12px 14px 14px; }
.card .card-title { font-size: 15px; font-weight: 700; }
.card .card-sub { margin-top: 4px; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--color-text-secondary); }

@media (min-width: 620px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* ---------- Prose (About / Privacy) ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: 34px; font-weight: 900; margin-bottom: 20px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.prose p { margin-bottom: 16px; color: var(--color-text-secondary); line-height: 1.7; }
.prose a { color: var(--color-accent); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 40px; }
.contact-grid label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.contact-grid input, .contact-grid textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.25);
    background: #161616;
    color: #fff;
    font-family: inherit;
    margin-bottom: 18px;
}
.contact-grid input::placeholder, .contact-grid textarea::placeholder { color: #9a9a9a; }
.contact-grid button {
    background: #fff;
    color: #000;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
}
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 28px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--color-text-secondary);
}
.site-footer a { text-decoration: none; color: var(--color-text-secondary); }
.site-footer a:hover { color: var(--color-text); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 16px; }
.footer-social svg { width: 20px; height: 20px; }

/* ---------- Full-bleed gradient bands (Home / Music / About only) ---------- */
html.rich-bg, html.rich-bg body { background: #0a0a0a; }
.band { width: 100%; box-shadow: 0 1px 0 rgba(255,255,255,0.12), 0 -1px 0 rgba(0,0,0,0.35); }
.band--top { background: linear-gradient(180deg, #0a0a0a 0%, #6b6b6b 55%, #d9d9d9 100%); }
.band--listen { background: #3a3a3a; }
.band--bio { background: linear-gradient(90deg, #e6e6e6 0%, #3a3a3a 55%, #121212 100%); }
.band--bio.reverse { background: linear-gradient(90deg, #121212 0%, #3a3a3a 45%, #e6e6e6 100%); }
.band--media { background: linear-gradient(135deg, #cfcfcf 0%, #4a4a4a 55%, #0a0a0a 100%); }
.band--contact { background: linear-gradient(135deg, #cfcfcf 0%, #4a4a4a 50%, #2a2a2a 100%); }

/* Text sitting directly on a gradient band needs its own backdrop —
   the site-wide secondary-gray color assumes a solid black background
   and disappears wherever the gradient turns light. */
.band .prose,
.band .contact-grid > div:first-child {
    background: rgba(8, 8, 8, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 28px 32px;
}
.band .prose p,
.band .contact-grid > div:first-child p { color: #d8d8d8; }

.social-row { display: flex; gap: 22px; justify-content: center; }
.social-row svg { width: 32px; height: 32px; }
.social-row a { color: var(--color-text); }

.bio-row { display: flex; flex-direction: column; gap: 32px; align-items: center; padding: 56px 0; }
.bio-row.reverse { flex-direction: column-reverse; }
.bio-photo { position: relative; width: 100%; max-width: 340px; height: 340px; border-radius: 16px; overflow: hidden; }
.bio-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bio-row .prose { text-align: left; max-width: 560px; }
.bio-row .prose p { font-style: italic; }
@media (min-width: 900px) {
    .bio-row { flex-direction: row; align-items: center; gap: 56px; padding: 72px 0; }
    .bio-row.reverse { flex-direction: row-reverse; }
    .bio-photo { width: 340px; }
}

.media-row { display: grid; gap: 24px; padding: 48px 0; }
.media-row iframe { width: 100%; border-radius: 12px; border: none; }
.yt-facade { position: relative; cursor: pointer; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background: #000; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.25); }
.yt-play-btn { width: 68px; height: 48px; border-radius: 14px; background: #CC0000; display: flex; align-items: center; justify-content: center; }
.yt-play-btn::after { content: ""; width: 0; height: 0; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 18px solid #fff; margin-left: 4px; }
@media (min-width: 900px) { .media-row { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- Homepage hero (Listen Now) ---------- */
.hero-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 12px 0 8px;
}
.hero-art {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1/1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    background: #222;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-details { width: 100%; max-width: 320px; }
.page-hero-title { font-size: 48px; font-weight: 900; text-transform: uppercase; letter-spacing: -1px; margin-bottom: 20px; }
@media (min-width: 700px) { .page-hero-title { font-size: 68px; } }

.hero-title { font-size: 48px; font-weight: 900; text-transform: uppercase; letter-spacing: -1px; margin-bottom: 18px; }

@media (min-width: 900px) {
    .hero-wrap { flex-direction: row; justify-content: center; align-items: center; text-align: left; gap: 56px; padding: 20px 0 8px; }
    .hero-art { flex: 0 1 440px; max-width: 440px; margin: 0; }
    .hero-details { flex: 0 1 440px; max-width: 440px; }
    .hero-title { font-size: 50px; margin-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .link-button, .card { transition: none; }
    .link-button:hover, .card:hover { transform: none; }
}

/* Track pages: keep the footer at the bottom of the screen and centre the cover + links between header and footer */
main:has(.track-hero) { display: flex; align-items: center; }
main:has(.track-hero) .page-wrap { padding-top: 24px; padding-bottom: 24px; }
@media (min-width: 900px) {
    .track-hero { padding: 8px 0; }
}

/* ---------- Video + lyrics on track pages ---------- */
.track-extra { max-width: 760px; margin: 40px auto 0; display: grid; gap: 28px; text-align: left; }
.track-extra h2 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.track-extra .yt-facade { width: 100%; }
.lyrics { border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; background: rgba(255,255,255,0.03); }
.lyrics summary { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.lyrics summary::-webkit-details-marker { display: none; }
.lyrics summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--color-text-secondary); }
.lyrics[open] summary::after { content: "\2212"; }
.lyrics summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 12px; }
.lyrics-inner { padding: 0 20px 22px; }
.lyrics-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.lyrics-tabs[hidden], .lyrics-text[hidden] { display: none; }
.lyrics-tabs button { background: transparent; color: var(--color-text); border: 1px solid rgba(255,255,255,0.3); border-radius: 9999px; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.lyrics-tabs button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.lyrics-text { white-space: pre-line; color: #d8d8d8; line-height: 1.9; font-size: 16px; }
/* Hide the whole lyrics box until at least one version has text in it */
.lyrics:not(:has(.lyrics-text:not(:empty))) { display: none; }

/* ---------- Press kit (EPK) ---------- */
.epk-grid { display: grid; gap: 24px; padding: 40px 0; }
@media (min-width: 900px) { .epk-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.epk-card { background: rgba(8,8,8,0.7); border-radius: 16px; padding: 28px 32px; }
.epk-card h2, .epk-h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.epk-h2 { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.facts dt { color: var(--color-text-secondary); font-size: 14px; }
.facts dd { color: #eee; }
.facts a, .epk-card a { color: var(--color-accent); }
.plain { list-style: none; display: grid; gap: 10px; color: #d8d8d8; }
.plain.links { grid-template-columns: 1fr 1fr; }
.releases { list-style: none; }
.releases li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.releases span { color: var(--color-text-secondary); }

@media (max-width: 480px) {
    .site-header { padding: 16px; }
    .site-nav { gap: 16px; }
}
