/* ===================================================
   PRAISE BE VINYL — style.css
   Aesthetic: Vintage Vinyl / Dark Speakeasy
   =================================================== */

:root {
    --ink:       #0d0b08;
    --cream:     #e8dfc8;
    --parchment: #c9b99a;
    --gold:      #c9973a;
    --gold-lt:   #e8b84b;
    --rust:      #8b3a2a;
    --vinyl:     #1a1714;
    --mid:       #2a2420;
    --muted:     #6b5f50;
    --white:     #f5f0e8;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-stamp:   'Special Elite', 'Courier New', monospace;
    --font-body:    'Lato', Helvetica, sans-serif;

    --max-w: 1200px;
    --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--ink);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
}

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

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lt); }

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

/* ── HEADER ─────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--vinyl);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 2px 20px rgba(0,0,0,.6);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    height: 56px;
    width: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
    transition: transform .3s;
}
.site-logo:hover { transform: rotate(10deg); }
.logo-link { line-height: 0; }

.header-socials {
    display: flex;
    gap: 16px;
    color: var(--parchment);
}
.header-socials a {
    color: var(--parchment);
    transition: color .2s, transform .2s;
    display: flex;
}
.header-socials a:hover { color: var(--gold-lt); transform: scale(1.15); }

.main-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}
.main-nav a {
    font-family: var(--font-stamp);
    font-size: .9rem;
    letter-spacing: .08em;
    color: var(--parchment);
    text-transform: uppercase;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-lt);
    border-bottom-color: var(--gold);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: .3s;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--vinyl);
    border-top: 1px solid var(--muted);
    padding: 12px 24px 20px;
    gap: 4px;
}
.mobile-nav a {
    font-family: var(--font-stamp);
    color: var(--parchment);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    letter-spacing: .06em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    body.menu-open .mobile-nav { display: flex; }
    .header-socials { display: none; }
}

/* ── HERO ────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--vinyl);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/banner1.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: brightness(0.45);
    transform: scale(1.03);
    transition: transform 8s ease;
}

.hero:hover .hero-bg {
    transform: scale(1.06);
}

/* Vinyl record decorative rings */
.hero-record {
    position: absolute;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(
            circle at 50% 50%,
            transparent 0px, transparent 18px,
            rgba(201,151,58,.06) 18px, rgba(201,151,58,.06) 19px
        ),
        var(--mid);
    opacity: .3;
    animation: spinSlow 40s linear infinite;
}

@keyframes spinSlow {
    to { transform: translateY(-50%) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px;
    max-width: 800px;
}

.hero-eyebrow {
    font-family: var(--font-stamp);
    font-size: .85rem;
    letter-spacing: .25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeUp .8s .2s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp .8s .4s ease forwards;
}

.hero-title span {
    color: var(--gold);
    font-style: italic;
}

.hero-sub {
    font-family: var(--font-stamp);
    font-size: 1.1rem;
    color: var(--parchment);
    max-width: 500px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeUp .8s .6s ease forwards;
}

.hero-cta {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeUp .8s .8s ease forwards;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-stamp);
    font-size: .9rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all .25s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-lt);
    border-color: var(--gold-lt);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,151,58,.4);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border-color: var(--parchment);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-lt);
    transform: translateY(-2px);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── TICKER ──────────────────────────────────────── */

.ticker-wrap {
    background: var(--gold);
    overflow: hidden;
    padding: 10px 0;
    border-top: 1px solid var(--gold-lt);
    border-bottom: 1px solid var(--rust);
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
    font-family: var(--font-stamp);
    font-size: .85rem;
    color: var(--ink);
    padding: 0 32px;
    letter-spacing: .05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-item::before {
    content: '♪';
    font-size: 1rem;
}

@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── SECTION BASE ────────────────────────────────── */

.section {
    padding: 80px 24px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    font-family: var(--font-stamp);
    font-size: .8rem;
    letter-spacing: .25em;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
}

.section-rule {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ── VIDEO CAROUSEL ──────────────────────────────── */

.videos-section {
    background: var(--mid);
    padding: 80px 0;
    border-top: 1px solid rgba(201,151,58,.2);
    border-bottom: 1px solid rgba(201,151,58,.2);
}

.videos-section .section { margin: 0 auto; }

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform .4s ease;
    padding: 4px 2px 20px;
}

.video-card {
    flex: 0 0 calc(33.333% - 14px);
    background: var(--vinyl);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201,151,58,.15);
    transition: transform .25s, border-color .25s, box-shadow .25s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(0,0,0,.5);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--mid);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.video-card:hover .video-thumb img { transform: scale(1.04); }

.play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.3);
    opacity: 0;
    transition: opacity .25s;
}

.video-card:hover .play-btn { opacity: 1; }

.play-btn svg {
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}

.video-info {
    padding: 16px;
}

.video-title {
    font-family: var(--font-display);
    font-size: .95rem;
    color: var(--cream);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-date {
    font-family: var(--font-stamp);
    font-size: .75rem;
    color: var(--muted);
    letter-spacing: .04em;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.carousel-btn {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    font-size: 1.1rem;
}
.carousel-btn:hover {
    background: var(--gold);
    color: var(--ink);
}
.carousel-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    cursor: pointer;
    transition: background .2s, transform .2s;
    border: none;
}
.carousel-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

.yt-link-wrap {
    text-align: center;
    margin-top: 40px;
}

/* Video modal */
.video-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.video-modal-overlay.open { display: flex; }

.video-modal {
    width: 100%;
    max-width: 900px;
    background: var(--vinyl);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gold);
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,.5);
    border: none;
    color: var(--cream);
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background .2s;
}
.video-modal-close:hover { background: var(--rust); }

.video-embed {
    aspect-ratio: 16 / 9;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── ABOUT STRIP ─────────────────────────────────── */

.about-strip {
    padding: 80px 24px;
    background:
        linear-gradient(135deg, rgba(139,58,42,.08) 0%, transparent 50%),
        var(--ink);
}

.about-strip-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-strip-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matt-photo-frame {
    position: relative;
    width: 340px;
    height: 420px;
    flex-shrink: 0;
}

.matt-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
    position: relative;
    z-index: 2;
    filter: sepia(15%) contrast(1.05);
    box-shadow:
        0 0 0 3px var(--gold),
        0 0 0 8px var(--ink),
        0 0 0 10px rgba(201,151,58,.3),
        12px 16px 40px rgba(0,0,0,.7);
}

.matt-photo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201,151,58,.25);
    z-index: 1;
    animation: spinSlow 30s linear infinite;
}

.matt-photo-ring--outer {
    width: 480px;
    height: 480px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: dashed;
    animation-direction: normal;
    border-color: rgba(201,151,58,.12);
}

.matt-photo-ring--inner {
    width: 380px;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-direction: reverse;
    animation-duration: 20s;
    border-color: rgba(201,151,58,.18);
}

.matt-photo-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--ink);
    font-family: var(--font-stamp);
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 5px 20px;
    border-radius: 2px;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.about-strip-text .section-label { text-align: left; }
.about-strip-text .section-title { text-align: left; font-size: 2.5rem; }
.about-strip-text .section-rule  { margin: 20px 0; }

.about-strip-text p {
    color: var(--parchment);
    margin-bottom: 20px;
    font-size: .95rem;
}

/* ── ABOUT PAGE ──────────────────────────────────── */

.about-hero {
    background: var(--mid);
    padding: 80px 24px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(201,151,58,.2);
}

.about-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px;
}

.about-body p {
    color: var(--parchment);
    margin-bottom: 24px;
    font-size: 1rem;
}

.about-body p:last-child { margin-bottom: 0; }

.about-body .sign-off {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gold);
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(201,151,58,.3);
}

/* ── FOOTER ──────────────────────────────────────── */

.site-footer {
    background: var(--vinyl);
    border-top: 2px solid var(--gold);
    padding: 48px 24px 32px;
    text-align: center;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.footer-logo img {
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    opacity: .8;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.footer-links a {
    font-family: var(--font-stamp);
    font-size: .8rem;
    letter-spacing: .1em;
    color: var(--parchment);
    text-transform: uppercase;
}
.footer-links a:hover { color: var(--gold-lt); }

.footer-copy {
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.6;
}

.footer-tagline {
    font-family: var(--font-stamp);
    color: var(--gold);
    font-size: .75rem;
}

/* ── LOADING STATE ───────────────────────────────── */

.loading-placeholder {
    display: flex;
    gap: 20px;
    width: 100%;
}

.skeleton-card {
    flex: 0 0 calc(33.333% - 14px);
    background: var(--mid);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201,151,58,.1);
}

.skeleton-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(90deg, var(--mid) 25%, rgba(255,255,255,.04) 50%, var(--mid) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-line {
    height: 14px;
    background: var(--mid);
    border-radius: 3px;
    margin: 16px 16px 8px;
    background: linear-gradient(90deg, var(--mid) 25%, rgba(255,255,255,.04) 50%, var(--mid) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite .1s;
}

.skeleton-line.short { width: 60%; margin-top: 0; }

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

/* ── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 900px) {
    .video-card { flex: 0 0 calc(50% - 10px); }
    .about-strip-inner { grid-template-columns: 1fr; gap: 60px; }
    .about-strip-image { display: flex; }
    .matt-photo-frame { width: 260px; height: 320px; }
    .matt-photo-ring--outer { width: 360px; height: 360px; }
    .matt-photo-ring--inner { width: 290px; height: 290px; }
}

@media (max-width: 580px) {
    .video-card { flex: 0 0 85vw; }
    .hero-title  { font-size: 3rem; }
}
