/*
Theme Name: The Devin Label
Theme URI: https://thedevinlabel.com
Author: The Devin Label
Description: A minimal, editorial one-page label theme: fullscreen artist hero with video play button, SONGS / ABOUT quick links, artist roster grid, and a clean footer. Fully editable via Appearance > Customize and the built-in Artists post type.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thedevinlabel
Tags: one-column, custom-background, custom-colors, custom-logo, featured-images
*/

/* ============ CSS variables (accent is set from the Customizer) ============ */
:root {
    --accent: #141414;
    --bg: #ffffff;
    --text: #141414;
    --muted: #8a8a8a;
    --line: #e4e4e4;
    --overlay: rgba(0, 0, 0, 0.25);
    --font-main: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.screen-reader-text {
    position: absolute; width: 1px; height: 1px;
    clip: rect(1px, 1px, 1px, 1px); overflow: hidden;
}

/* ============ Header ============ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 32px;
    mix-blend-mode: difference; /* keeps logo + burger readable over any image */
}
.site-header.is-solid { mix-blend-mode: normal; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); }

.brand { display: flex; align-items: center; }
.brand img { max-height: 48px; width: auto; }
.brand-text {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: .04em;
    line-height: 1.05;
    color: #fff;
    text-transform: uppercase;
}
.brand-text small { display: block; font-size: 10px; letter-spacing: .28em; font-weight: 600; }

.nav-toggle {
    background: none; border: 0; cursor: pointer; padding: 10px;
    display: flex; flex-direction: column; gap: 6px;
}
.nav-toggle span {
    display: block; width: 28px; height: 2px; background: #fff;
    transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Slide-in menu panel */
.nav-panel {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw);
    background: var(--accent); color: #fff; z-index: 99;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.77,0,.18,1);
    padding: 120px 44px 44px; overflow-y: auto;
}
.nav-panel.is-open { transform: translateX(0); }
.nav-panel .menu { list-style: none; margin: 0; padding: 0; }
.nav-panel .menu li { border-bottom: 1px solid rgba(255,255,255,.14); }
.nav-panel .menu a {
    display: block; padding: 16px 0;
    font-size: 22px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.nav-panel .menu a:hover { opacity: .7; }
.nav-panel-social { margin-top: 36px; display: flex; gap: 18px; }
.nav-panel-social a { opacity: .85; }
.nav-panel-social a:hover { opacity: 1; }
.nav-panel-social svg { width: 22px; height: 22px; fill: #fff; }
body.nav-open { overflow: hidden; }
.nav-scrim {
    position: fixed; inset: 0; background: rgba(0,0,0,.45);
    z-index: 98; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 100vh;
    background-color: #cfd6dd;
    background-size: cover;
    background-position: center 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.10), transparent 30%, transparent 70%, rgba(0,0,0,.18));
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.hero-tagline {
    color: #fff; font-size: 14px; letter-spacing: .32em; text-transform: uppercase;
    margin: 22px 0 0; text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hero-play {
    width: 92px; height: 92px; border-radius: 50%;
    border: 2px solid #fff; background: rgba(0,0,0,.18);
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: transform .25s ease, background .25s ease;
    backdrop-filter: blur(2px);
}
.hero-play:hover { transform: scale(1.07); background: rgba(0,0,0,.35); }
.hero-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 5px; }

/* SONGS / ABOUT quick links bar — mirrors the ENG / FAMILY SITE row */
.hero-quicklinks {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    display: flex; background: #fff; border-top: 1px solid var(--line);
}
.quicklink {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px;
    padding: 20px 16px; font-size: 14px; letter-spacing: .18em;
    color: #6d6d6d; transition: color .2s ease, background .2s ease;
}
.quicklink + .quicklink { border-left: 1px solid var(--line); }
.quicklink:hover { color: var(--text); background: #f6f6f6; }
.quicklink svg { width: 12px; height: 12px; fill: currentColor; }
.quicklink .chev { transition: transform .25s ease; }
.quicklink:hover .chev { transform: translateY(3px); }

/* ============ Artists section ============ */
.artists { padding: 90px 6vw 100px; }
.section-heading {
    font-size: clamp(26px, 4vw, 44px); font-weight: 800; letter-spacing: .02em;
    text-transform: uppercase; margin: 0 0 8px;
}
.section-sub {
    color: var(--muted); font-size: 14px; letter-spacing: .2em;
    text-transform: uppercase; margin: 0 0 48px;
}
.artist-grid {
    display: grid; gap: 28px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.artist-card { position: relative; overflow: hidden; background: #ececec; }
.artist-card a { display: block; }
.artist-card img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
    filter: grayscale(35%);
    transition: transform .5s ease, filter .5s ease;
}
.artist-card:hover img { transform: scale(1.04); filter: grayscale(0%); }
.artist-info {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 18px 20px;
    background: linear-gradient(to top, rgba(0,0,0,.62), transparent);
    color: #fff;
}
.artist-name { font-size: 19px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.artist-role { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.artists-empty {
    border: 1px dashed var(--line); padding: 48px; text-align: center; color: var(--muted);
}
.artists-empty code { background: #f4f4f4; padding: 2px 8px; }

/* ============ Video modal ============ */
.video-modal {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,.9);
    display: none; align-items: center; justify-content: center; padding: 4vw;
}
.video-modal.is-open { display: flex; }
.video-modal iframe, .video-modal video { width: min(1100px, 92vw); aspect-ratio: 16/9; border: 0; }
.video-modal-close {
    position: absolute; top: 24px; right: 28px;
    background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer;
}

/* ============ Generic content ============ */
.content-wrap { max-width: 820px; margin: 0 auto; padding: 150px 24px 90px; }
.content-wrap h1 { font-size: clamp(30px, 5vw, 52px); text-transform: uppercase; letter-spacing: .02em; }
.entry-content a { text-decoration: underline; }

/* ============ Footer ============ */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 70px 6vw 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.footer-brand img { max-height: 64px; }
.footer-brand-text { font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.footer-brand-text small { display: block; font-size: 11px; letter-spacing: .3em; font-weight: 600; color: var(--muted); }
.footer-address { color: var(--muted); font-size: 14px; line-height: 1.9; white-space: pre-line; }
.footer-socials { display: flex; gap: 16px; margin-top: 18px; }
.footer-socials a {
    width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); }
.footer-socials svg { width: 17px; height: 17px; fill: var(--text); transition: fill .2s ease; }
.footer-socials a:hover svg { fill: #fff; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-menu a:hover { color: var(--text); }
.footer-copyright {
    margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line);
    font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase;
}

@media (max-width: 640px) {
    .site-header { padding: 16px 20px; }
    .hero-play { width: 72px; height: 72px; }
    .quicklink { font-size: 12px; letter-spacing: .1em; padding: 16px 10px; }
    .artists { padding: 64px 5vw 70px; }
}
