/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #d4c5b0;
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 300;
}

/* ===== CSS VARIABLES ===== */
:root {
    --gold: #c8a86e;
    --gold-light: #e0c992;
    --gold-dark: #9a7555;
    --bg-dark: #0a0a0a;
    --bg-card: #131313;
    --bg-card-hover: #1a1a1a;
    --text-primary: #d4c5b0;
    --text-muted: #8a7e70;
    --border: #2a2420;
    --max-width: 1100px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: 'Cinzel', Georgia, serif;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* ===== NOISE TEXTURE OVERLAY ===== */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ===== STICKY NAV ===== */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
}
.nav-brand {
    font-family: 'Cinzel', Georgia, serif;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    font-weight: 400;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
    background: rgba(200, 168, 110, 0.08);
}
.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 32px; height: 32px;
    position: relative;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--gold);
    position: absolute; left: 4px;
    transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 8px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: visible;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(200,168,110,0.05) 0%, transparent 65%);
    pointer-events: none;
}
.hero-logo {
    width: 340px;
    height: auto;
    margin-top: -20px;
    margin-bottom: 32px;
    filter: drop-shadow(0 0 30px rgba(200,168,110,0.2)) drop-shadow(0 0 80px rgba(200,168,110,0.08));
    animation: fadeInUp 1s ease-out;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
    font-weight: 900;
    animation: fadeInUp 1s ease-out 0.2s both;
}
.hero-tagline {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: var(--text-muted);
    max-width: 500px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.04em;
    animation: fadeInUp 1s ease-out 0.4s both;
}
.hero-location {
    font-size: 0.75rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 8px;
    animation: fadeInUp 1s ease-out 0.5s both;
}
.hero-cta {
    margin-top: 44px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}
.btn-primary {
    background: var(--gold);
    color: #0a0a0a;
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200,168,110,0.25);
}
.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--gold);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--gold-dark);
    background: rgba(200,168,110,0.06);
    transform: translateY(-2px);
}
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.scroll-indicator svg {
    width: 24px; height: 24px;
    stroke: var(--text-muted);
    stroke-width: 2;
    fill: none;
}

/* ===== SECTIONS ===== */
section { padding: 100px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
    font-weight: 500;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 16px;
    font-weight: 700;
}
.section-divider {
    width: 50px;
    height: 1px;
    background: var(--gold-dark);
    margin-bottom: 48px;
}

/* ===== MUSIC SECTION ===== */
#music { background: #0d0d0d; }
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.album-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.album-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.album-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.album-info { padding: 24px; }
.album-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.album-year {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}
.stream-links { display: flex; flex-wrap: wrap; gap: 10px; }
.stream-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(200,168,110,0.06);
    border: 1px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}
.stream-btn:hover {
    background: rgba(200,168,110,0.14);
    border-color: var(--gold-dark);
    color: var(--gold);
}
.stream-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ===== ABOUT SECTION ===== */
#about { background: var(--bg-dark); }
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.about-text p {
    margin-bottom: 20px;
    font-size: 1.02rem;
    line-height: 1.85;
    font-weight: 300;
}
.about-text p:first-child::first-letter {
    font-size: 3.2rem;
    float: left;
    line-height: 1;
    margin-right: 10px;
    margin-top: 6px;
    font-family: 'Cinzel', Georgia, serif;
    color: var(--gold);
    font-weight: 700;
}
.about-right {}
.about-photo {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}
.members-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.member-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    transition: border-color 0.2s;
}
.member-card:hover { border-color: var(--gold-dark); }
.member-name {
    font-family: 'Cinzel', Georgia, serif;
    color: var(--gold);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.member-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* ===== GALLERY SECTION ===== */
#gallery { background: #0d0d0d; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--bg-card);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.15);
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.5) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}
.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: auto;
}
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 12px 16px;
    font-size: 0.75rem;
    color: #fff;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s;
    z-index: 2;
    font-weight: 400;
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Fan Ink subsection */
.gallery-subtitle {
    font-family: 'Cinzel', serif;
    color: var(--gold-dark);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 48px;
    margin-bottom: 20px;
    font-weight: 600;
}
.fan-ink-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.96);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}
.lightbox-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.16); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== FLYERS SECTION ===== */
#flyers { background: var(--bg-dark); }
.flyers-intro {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.75;
    font-weight: 300;
}
.flyers-scroll-wrapper {
    position: relative;
}
.flyers-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) transparent;
}
.flyers-scroll::-webkit-scrollbar { height: 6px; }
.flyers-scroll::-webkit-scrollbar-track { background: transparent; }
.flyers-scroll::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}
.flyer-card {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}
.flyer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.flyer-card img {
    width: 100%;
    height: auto;
    display: block;
}
.flyers-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: rgba(10,10,10,0.85);
    border: 1px solid var(--border);
    color: var(--gold);
    font-size: 1.4rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}
.flyers-nav:hover {
    background: rgba(200,168,110,0.12);
    border-color: var(--gold-dark);
}
.flyers-nav-prev { left: -22px; }
.flyers-nav-next { right: -22px; }
@media (max-width: 768px) {
    .flyers-nav { display: none; }
    .flyer-card { width: 180px; }
}

/* ===== STORE SECTION ===== */
#store { background: var(--bg-dark); }
.store-intro {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.75;
    font-weight: 300;
}
.store-grid {
    display: grid;
    /* Fixed 320px track width caps us at 3 columns on the 1100px
       inner width (3×320 + 2×24 = 1008). min(…,100%) lets the track
       shrink to the container on narrow phones so we never get a
       horizontal scrollbar. */
    grid-template-columns: repeat(auto-fill, min(320px, 100%));
    gap: 24px;
    justify-content: start;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.product-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #111;
}
.product-info { padding: 20px 24px 24px; }
.product-info h3 { font-size: 1.05rem; margin-bottom: 8px; }
.product-info .coming-soon {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
    font-weight: 300;
}
.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 4px;
    background: var(--gold);
    color: #0a0a0a;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.2s;
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
}
.product-btn:hover { background: var(--gold-light); }
.product-btn.disabled {
    background: var(--border);
    color: var(--text-muted);
    pointer-events: none;
}

/* ===== FOOTER ===== */
footer {
    background: #050505;
    border-top: 1px solid var(--border);
    padding: 60px 24px;
    text-align: center;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-brand {
    font-family: 'Cinzel', Georgia, serif;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.footer-streams {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.footer-streams a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: all 0.2s;
    font-weight: 400;
}
.footer-streams a:hover {
    color: var(--gold);
    border-color: var(--gold-dark);
}
.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 300;
}
.footer-copy a { color: var(--gold-dark); text-decoration: none; }

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--gold);
    color: #0a0a0a;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 8px;
}
/* Focus indicators for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
/* Remove outline for mouse clicks but keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}
.nav-links a:focus-visible,
.btn:focus-visible,
.stream-btn:focus-visible,
.footer-streams a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
/* Minimum touch target size for interactive elements */
.gallery-item, .flyer-card {
    min-height: 44px;
    min-width: 44px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px; left: 0; width: 100%;
        background: rgba(10,10,10,0.98);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .about-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-logo { width: 220px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.wide { grid-column: span 2; }
    .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
    .fan-ink-grid { grid-template-columns: repeat(3, 1fr); }
    section { padding: 72px 20px; }
    .albums-grid { grid-template-columns: 1fr; }
    .lightbox-nav { display: none; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .fan-ink-grid { grid-template-columns: repeat(3, 1fr); }
}
