/* =========================================================
   LARRY SCOTT aka YAHKNO MAXIMILLIAN
   Shared stylesheet for all four pages
   Palette: near-black, charcoal, blood red, gold, white, gray
   ========================================================= */

:root {
    --black: #0a0a0a;
    --charcoal: #111111;
    --red: #d32f2f;
    --red-dark: #b71c1c;
    --gold: #f4c430;
    --gold-light: #ffd75a;
    --white: #ffffff;
    --gray: #aaaaaa;
    --line: #2a2a2a;

    --display: 'Arial Narrow', 'Roboto Condensed', 'sans-serif-condensed', Impact, 'Arial Black', sans-serif;
    --body: 'Courier New', Courier, monospace;
    --wrap: 1080px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--black);
    color: var(--white);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
}

main { display: block; }

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

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 0.5em;
    overflow-wrap: anywhere;
}

p { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Accessibility helpers ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 10px;
    top: -80px;
    z-index: 100;
    padding: 12px 18px;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 10px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
audio:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 14px 16px 6px;
    background-color: var(--charcoal);
    border-bottom: 2px solid var(--red);
}

.logo {
    font-family: var(--display);
    font-weight: 900;
    font-size: 26px;
    letter-spacing: 0.14em;
    color: var(--gold);
    text-decoration: none;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    color: var(--white);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover { color: var(--gold); }

.site-nav a[aria-current="page"] {
    color: var(--gold);
    border-bottom-color: var(--red);
}

@media (min-width: 700px) {
    .site-header {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 28px;
    }
    .site-nav a { padding: 8px 14px; font-size: 14px; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 26px;
    font-family: var(--body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background-color: var(--red); color: var(--white); }
.btn-primary:hover { background-color: var(--red-dark); }

.btn-gold { background-color: var(--gold); color: #000; }
.btn-gold:hover { background-color: var(--gold-light); }

.btn-ghost {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}
.btn-ghost:hover { background-color: var(--gold); color: #000; }

/* Placeholder / unavailable buttons */
.btn-disabled,
.btn:disabled {
    background-color: transparent;
    border: 2px dashed #555;
    color: var(--gray);
    cursor: not-allowed;
}
.btn-disabled:hover,
.btn:disabled:hover { background-color: transparent; color: var(--gray); }

/* ---------- Hero (home) ---------- */
.hero {
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - 120px);
    min-height: calc(100svh - 120px);
    padding: 56px 20px 44px;
    background:
        linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.82) 65%, #0a0a0a 100%),
        url('hero-bg.jpg') center / cover no-repeat;
    border-bottom: 2px solid var(--red);
}

.hero-inner {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
}

.hero-name {
    margin: 0 0 18px;
    font-size: clamp(40px, 13vw, 112px);
    font-weight: 900;
    text-shadow: 2px 3px 6px #000;
}

.hero-name span { display: block; }
.hero-name .aka { color: var(--red); }

.hero-headline {
    margin: 0 0 8px;
    font-family: var(--display);
    font-size: clamp(22px, 5vw, 36px);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold);
    text-shadow: 1px 2px 4px #000;
}

.hero-sub {
    max-width: 34em;
    margin: 0 0 26px;
    color: #e8e8e8;
    text-shadow: 1px 1px 3px #000;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
}

@media (min-width: 600px) {
    .hero-buttons { flex-direction: row; max-width: none; }
    .hero-buttons .btn { min-width: 220px; }
}

/* ---------- Featured release (home) ---------- */
.featured {
    padding: 56px 0;
    background-color: var(--charcoal);
    border-bottom: 1px solid var(--line);
}

.featured-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.featured-art img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto;
    border: 2px solid var(--red);
    box-shadow: 8px 8px 0 var(--red);
}

.featured-label {
    margin: 0 0 6px;
    font-size: 20px;
    color: var(--gold);
}

.featured-title {
    margin: 0 0 6px;
    font-size: clamp(34px, 8vw, 56px);
    font-weight: 900;
}

.featured-meta {
    margin: 0 0 20px;
    color: var(--gray);
    font-size: 14px;
}

.featured-info .btn { margin-top: 20px; }

@media (min-width: 800px) {
    .featured-grid {
        grid-template-columns: minmax(0, 420px) 1fr;
        gap: 64px;
    }
}

/* ---------- Philosophy (home) ---------- */
.philosophy { padding: 64px 0 40px; }

.philosophy h2 {
    margin-bottom: 28px;
    font-size: clamp(34px, 8vw, 64px);
    font-weight: 900;
}

.principles { margin: 0 0 28px; }

.principle {
    margin-bottom: 20px;
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--red);
}

.principle h3 {
    margin: 0 0 6px;
    font-size: 24px;
    color: var(--gold);
}

.principle p { margin: 0; color: #dddddd; max-width: 44em; }

.chapters { max-width: 46em; color: var(--gray); }

@media (min-width: 800px) {
    .principles {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    .principle { margin-bottom: 0; }
}

/* ---------- Support + merch band (home) ---------- */
.fund {
    margin-top: 24px;
    padding: 56px 0;
    background-color: var(--charcoal);
    border-top: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
}

.fund-grid { display: grid; gap: 40px; }

.fund h2 { font-size: clamp(28px, 6vw, 40px); color: var(--white); }
.fund p { color: #dddddd; }
.fund .btn { margin-top: 6px; }

@media (min-width: 800px) {
    .fund-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
}

/* ---------- Shared page heading (music, merch, about) ---------- */
.page-head {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 48px 20px 8px;
    text-align: center;
}

.page-head h1 {
    margin: 0 0 6px;
    font-size: clamp(40px, 11vw, 80px);
    font-weight: 900;
}

.section-subtitle {
    margin: 0 0 32px;
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 0.04em;
}

.music-section,
.merch-section,
.about-section { padding: 0 20px 24px; }

/* ---------- Music page ---------- */
.music-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 520px;
    margin: 0 auto;
}

@media (min-width: 760px) {
    .music-grid {
        grid-template-columns: 1fr 1fr;
        max-width: var(--wrap);
        gap: 36px;
    }
}

.track-card {
    padding-bottom: 22px;
    background-color: var(--charcoal);
    border: 1px solid var(--line);
}

.track-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-bottom: 3px solid var(--red);
}

.track-body { padding: 20px 20px 0; }

.track-card h2 {
    margin: 0 0 4px;
    font-size: 28px;
    font-weight: 900;
}

.track-card p {
    margin: 0 0 16px;
    color: var(--gray);
    font-size: 14px;
}

.stream-only { color: var(--gray); font-size: 13px; font-style: italic; }

/* ---------- Custom audio player ---------- */
.custom-player {
    margin: 0;
    padding: 16px;
    background-color: var(--black);
    border: 1px solid var(--line);
    border-left: 3px solid var(--red);
    text-align: left;
    transition: border-left-color 0.2s;
}

.custom-player.is-playing { border-left-color: var(--gold); }

.player-label {
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.play-btn {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background-color: var(--red);
    color: var(--white);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s, transform 0.15s;
}

.play-btn:hover { background-color: var(--red-dark); }
.play-btn:active { transform: scale(0.96); }

.progress-container { flex: 1; min-width: 0; }

.progress-bar {
    width: 100%;
    height: 28px;
    margin: 0;
    accent-color: var(--red);
    cursor: pointer;
}

.time-display {
    margin-top: 2px;
    color: var(--gray);
    font-size: 13px;
}

/* ---------- Support message (music page) ---------- */
.support-message {
    max-width: 520px;
    margin: 48px auto 0;
    padding: 28px 20px;
    background-color: var(--charcoal);
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 3px solid var(--red);
    text-align: center;
}

.support-message h3 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 900;
    color: var(--gold);
}

.support-message p { margin: 0 0 20px; color: #dddddd; }

/* ---------- Merch page ---------- */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px));
    justify-content: center;
    gap: 28px;
    max-width: var(--wrap);
    margin: 0 auto;
}

.merch-card {
    padding-bottom: 24px;
    background-color: var(--charcoal);
    border: 1px solid var(--line);
    text-align: center;
}

.merch-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-bottom: 3px solid var(--gold);
}

.merch-card h2 {
    margin: 18px 16px 4px;
    font-size: 26px;
    font-weight: 900;
}

.merch-card .price {
    margin: 0 0 18px;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 800;
    color: var(--gold);
}

/* ---------- About page ---------- */
.about-content {
    display: grid;
    gap: 32px;
    max-width: var(--wrap);
    margin: 0 auto;
    align-items: start;
}

.about-img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border: 2px solid var(--red);
    box-shadow: 8px 8px 0 var(--red);
}

.bio { text-align: left; }

.bio h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 6vw, 42px);
    font-weight: 900;
    color: var(--gold);
}

.bio p {
    max-width: 60ch;
    color: #e2e2e2;
    line-height: 1.8;
}

.bio .highlight {
    margin-top: 28px;
    padding-left: 16px;
    border-left: 3px solid var(--red);
    color: var(--white);
    font-style: italic;
    font-weight: 700;
}

@media (min-width: 800px) {
    .about-content {
        grid-template-columns: minmax(0, 380px) 1fr;
        gap: 64px;
    }
    .about-img { position: sticky; top: 24px; }
}

.contact-box {
    max-width: var(--wrap);
    margin: 56px auto 0;
    padding: 28px 20px;
    background-color: var(--charcoal);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    text-align: center;
}

.contact-box h2 { margin: 0 0 8px; font-size: 28px; color: var(--gold); }
.contact-box p { color: #cccccc; margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 56px;
    padding: 28px 20px 32px;
    background-color: var(--charcoal);
    border-top: 2px solid var(--red);
    color: var(--gray);
    font-size: 14px;
    text-align: center;
}

.site-footer p { margin: 0; }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-nav a {
    padding: 10px 12px;
    color: var(--white);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

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

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}


/* =========================================================
   SAFETY NET: styles older page markup that still uses
   plain <header>, <nav>, <footer>, .support-section, etc.
   (Pages using the new markup are not affected.)
   ========================================================= */

body > header:not(.site-header) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 14px 16px 6px;
    background-color: var(--charcoal);
    border-bottom: 2px solid var(--red);
}

@media (min-width: 700px) {
    body > header:not(.site-header) {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 28px;
    }
}

nav:not(.site-nav):not(.footer-nav) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    color: var(--white);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}
nav a:hover { color: var(--gold); }

body > footer:not(.site-footer) {
    margin-top: 56px;
    padding: 28px 20px 32px;
    background-color: var(--charcoal);
    border-top: 2px solid var(--red);
    color: var(--gray);
    font-size: 14px;
    text-align: center;
}

/* Old merch card button / link */
.merch-card > a:not(.btn),
.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 0 20px;
    padding: 14px 26px;
    background-color: var(--red);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
}
.merch-card > a:not(.btn):hover,
.buy-btn:hover { background-color: var(--red-dark); }

/* Old support section */
.support-section {
    margin-top: 40px;
    padding: 56px 20px;
    background-color: var(--charcoal);
    border-top: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    text-align: center;
}

.support-section h2 {
    font-size: clamp(28px, 7vw, 44px);
    font-weight: 900;
    color: var(--white);
}

.support-text {
    max-width: 34em;
    margin: 0 auto 24px;
    color: #dddddd;
    line-height: 1.8;
}

.cashapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    background-color: var(--gold);
    color: #000;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
}
.cashapp-btn:hover { background-color: var(--gold-light); }

.cashapp-tag {
    margin: 16px 0 0;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.12em;
}

.merch-section > h2,
.about-section > h2 {
    margin-top: 40px;
    font-size: clamp(36px, 10vw, 64px);
    font-weight: 900;
    text-align: center;
}
