/*
Theme Name: Robot Needs Home
Theme URI: https://robotneedshome.com
Author: John Helps
Version: 1.0.2
Description: Custom theme for The Robot Needs Home Collective
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */

:root {
    --bg:           #0f0f0f;
    --bg-2:         #161616;
    --bg-3:         #1c1c1c;
    --text:         #f2f0ed;
    --text-muted:   rgba(242, 240, 237, 0.55);
    --accent:       #d63929;
    --accent-light: #e54a3a;
    --border:       rgba(242, 240, 237, 0.1);
    --max-width:    1160px;
    --prose-width:  740px;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%; left: 1rem;
    z-index: 9999;
    background: var(--text);
    color: var(--bg);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: 0 0 4px 4px;
    text-decoration: none;
    transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* =========================================================
   RESET & BASE
   ========================================================= */

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

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.75rem); }

p { color: rgba(242, 240, 237, 0.85); margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* =========================================================
   LAYOUT
   ========================================================= */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.container--prose { max-width: var(--prose-width); }

.section { padding: 5rem 0; }

/* =========================================================
   BUTTONS & LABELS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.7rem 1.75rem;
    border-radius: 3px;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn--primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

.btn--outline {
    border-color: var(--border);
    color: var(--text-muted);
}
.btn--outline:hover {
    border-color: var(--text);
    color: var(--text);
}

.btn--white {
    background: var(--text);
    color: var(--bg);
}
.btn--white:hover { opacity: 0.85; }

.label-tag {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--accent);
    border-radius: 2px;
}

/* =========================================================
   SITE HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 2rem;
}

.site-logo img {
    height: 36px;
    width: auto;
    transition: opacity 0.2s ease;
}
.site-logo:hover img { opacity: 0.7; }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.main-nav a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(242, 240, 237, 0.7);
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    transition: color 0.15s ease, background 0.15s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: var(--text);
    background: rgba(242, 240, 237, 0.07);
}

/* Dropdown */
.main-nav .menu-item-has-children { position: relative; }

.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 4px;
    min-width: 180px;
    padding: 0.5rem 0.35rem 0.35rem;
    display: none;
    flex-direction: column;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children.is-open > .sub-menu {
    display: flex;
}

.main-nav .sub-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 3px;
    font-size: 0.82rem;
    white-space: nowrap;
}

.main-nav .sub-menu a:hover {
    background: rgba(242, 240, 237, 0.06);
    color: var(--text);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =========================================================
   HERO
   ========================================================= */

.site-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.site-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 12s ease;
}

.site-hero__bg.is-loaded { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
    .site-hero__bg { transform: scale(1); transition: none; }
}

.site-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15,15,15,0.25) 0%,
        rgba(15,15,15,0.05) 40%,
        rgba(15,15,15,0.5)  75%,
        rgba(15,15,15,1)    100%
    );
}

.site-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.site-hero__logo {
    width: clamp(220px, 35vw, 440px);
    height: auto;
    filter: none;
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 { margin: 0; }

/* =========================================================
   HOMEPAGE SECTIONS
   ========================================================= */

/* Featured Release */
.featured-section { background: var(--bg); border-top: 1px solid var(--border); }

.featured-release {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 4rem;
    align-items: start;
}

.featured-release__artwork {
    position: sticky;
    top: 5rem;
}

.featured-release__artwork img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.featured-release__label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: block;
}

.featured-release__title { margin-bottom: 0.25rem; font-size: clamp(2rem, 4vw, 3rem); }
.featured-release__artist { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }

.featured-release__meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.featured-release__meta-item {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.featured-release__meta-item span { color: var(--text); margin-left: 0.35rem; }

.featured-release__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* Shows on homepage */
.home-shows { background: var(--bg); border-top: 1px solid var(--border); }

/* Artists grid */
.artists-section { background: var(--bg); border-top: 1px solid var(--border); }

.artists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.artist-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: opacity 0.2s ease;
}

.artist-card:hover { opacity: 0.8; }

.artist-card__photo {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-3);
    border-radius: 2px;
}

.artist-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artist-card:hover .artist-card__photo img { transform: scale(1.04); }

.artist-card__name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
}

.artist-card__genre {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* =========================================================
   SHOWS
   ========================================================= */

.shows-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
}

.show-item {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.show-item:first-child { border-top: 1px solid var(--border); }

.show-item__date {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
}

.show-item__details { display: flex; flex-direction: column; gap: 0.2rem; }

.show-item__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text);
}

.show-item__support {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.show-item__venue {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.show-item__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.show-item__price {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.show-ticket-btn {
    display: inline-flex;
    align-items: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    border: 1px solid rgba(214, 57, 41, 0.35);
    padding: 0.4rem 1rem;
    border-radius: 3px;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.show-ticket-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* =========================================================
   RELEASES / WOOCOMMERCE
   ========================================================= */

.releases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.release-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: opacity 0.2s ease;
}

.release-card:hover { opacity: 0.8; }

.release-card__artwork {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-3);
    border-radius: 2px;
    position: relative;
}

.release-card__artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.release-card:hover .release-card__artwork img { transform: scale(1.04); }

.release-card__artist {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.release-card__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    line-height: 1.2;
}

.release-card__meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =========================================================
   STREAMING PLAYER
   ========================================================= */

.rnhome-player {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin: 2rem 0;
}

.rnhome-player__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.rnhome-player__main-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    transition: background 0.15s ease, transform 0.1s ease;
}

.rnhome-player__main-btn:hover {
    background: var(--accent-light);
    transform: scale(1.06);
}

.rnhome-player__main-btn svg { width: 18px; height: 18px; }

.rnhome-player__track-info { flex: 1; min-width: 0; }

.rnhome-player__track-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rnhome-player__time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}

.rnhome-player__progress-wrap {
    padding: 0 1.25rem 0.75rem;
}

.rnhome-player__progress {
    position: relative;
    height: 4px;
    background: rgba(242, 240, 237, 0.12);
    border-radius: 2px;
    cursor: pointer;
}

.rnhome-player__progress-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}

.rnhome-player__tracklist {
    border-top: 1px solid var(--border);
}

.rnhome-player__track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    cursor: pointer;
    transition: background 0.1s ease;
    border-bottom: 1px solid var(--border);
}

.rnhome-player__track:last-child { border-bottom: none; }

.rnhome-player__track:hover {
    background: rgba(242, 240, 237, 0.04);
}

.rnhome-player__track.is-active {
    background: rgba(214, 57, 41, 0.08);
}

.rnhome-player__track-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.rnhome-player__track.is-active .rnhome-player__track-num {
    color: var(--accent);
}

.rnhome-player__track-title {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text);
}

.rnhome-player__track.is-active .rnhome-player__track-title {
    color: var(--accent);
    font-weight: 500;
}

.rnhome-player__track-dur {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* Streaming links */
.streaming-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.streaming-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.45rem 1rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text-muted);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.streaming-btn:hover {
    border-color: var(--text);
    color: var(--text);
}

/* =========================================================
   RESOURCE ARTICLES
   ========================================================= */

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.resource-card {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background 0.15s ease;
}

.resource-card:nth-child(2n) { border-right: none; }
.resource-card:hover { background: var(--bg-2); }

.resource-card__category {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
}

.resource-card__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text);
    line-height: 1.25;
    transition: color 0.15s ease;
}

.resource-card:hover .resource-card__title { color: var(--accent); }

.resource-card__excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.resource-card__meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 0.5rem;
}

/* =========================================================
   PAGE LAYOUTS
   ========================================================= */

.inner-page {
    padding: 7rem 0 5rem;
}

.inner-page__header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.inner-page__header h1 { margin: 0; }

.inner-page__header .sub {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Artist profile */
.artist-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.artist-profile__photo {
    position: sticky;
    top: 5rem;
    border-radius: 2px;
    overflow: hidden;
}

.artist-profile__photo img { width: 100%; border-radius: 2px; }

.artist-profile__links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.artist-releases { margin-top: 4rem; }
.artist-releases h3 { margin-bottom: 2rem; }

/* Single resource article */
.resource-article { padding: 7rem 0 5rem; }

.resource-article .container { max-width: var(--prose-width); }

.resource-article__header { margin-bottom: 3rem; }

.resource-article__meta {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.resource-article__content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: rgba(242, 240, 237, 0.88);
}

.resource-article__content h2,
.resource-article__content h3 {
    margin: 2.5rem 0 1rem;
}

.resource-article__content p { margin-bottom: 1.5rem; }

.resource-article__content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.resource-article__content ul,
.resource-article__content ol {
    margin: 0 0 1.5rem 1.5rem;
    color: rgba(242, 240, 237, 0.88);
}

.resource-article__content li { margin-bottom: 0.4rem; }

.resource-article__content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* =========================================================
   WOOCOMMERCE OVERRIDES
   ========================================================= */

.woocommerce-page {
    padding-top: 7rem;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product {
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

.woocommerce ul.products li.product a img {
    border-radius: 2px;
    transition: transform 0.5s ease;
}

.woocommerce ul.products li.product a:hover img { transform: scale(1.03); }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: var(--text) !important;
    padding: 0.75rem 0 0.25rem !important;
}

.woocommerce ul.products li.product .price {
    color: var(--text-muted) !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 0.85rem !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--accent) !important;
    color: #fff !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 3px !important;
    border: none !important;
    transition: background 0.15s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--accent-light) !important;
    color: #fff !important;
}

.woocommerce .single-product div.product .product_title {
    font-family: 'Barlow Condensed', sans-serif !important;
    text-transform: uppercase !important;
    font-size: clamp(1.75rem, 4vw, 3rem) !important;
    letter-spacing: 0.04em !important;
    color: var(--text) !important;
}

.woocommerce .single-product div.product .price {
    color: var(--text-muted) !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 1.1rem !important;
}

.woocommerce .single-product div.product .woocommerce-product-details__short-description {
    color: rgba(242, 240, 237, 0.85) !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */

.newsletter-bar {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 4rem 0;
}

.newsletter-bar .inner {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-bar h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 0.5rem;
}

.newsletter-bar p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 420px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    background: rgba(242, 240, 237, 0.06);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 0.7rem 1rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form button {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 0.7rem 1.25rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.newsletter-form button:hover { background: var(--accent-light); }
.newsletter-notice { margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-muted); }
.newsletter-notice.success { color: #6fcf97; }
.newsletter-notice.error   { color: #eb5757; }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-copy a { color: var(--text-muted); transition: color 0.15s ease; }
.footer-copy a:hover { color: var(--text); }

/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {
    display: flex;
    gap: 0.35rem;
    margin-top: 4rem;
    justify-content: center;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.pagination a:hover { border-color: var(--text); color: var(--text); }
.pagination .current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .artists-grid,
    .releases-grid { grid-template-columns: repeat(3, 1fr); }
    .featured-release { grid-template-columns: 280px 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .artists-grid { grid-template-columns: repeat(2, 1fr); }
    .releases-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-release { grid-template-columns: 1fr; }
    .featured-release__artwork { position: static; }
    .resources-grid { grid-template-columns: 1fr; }
    .resource-card { border-right: none !important; }
    .artist-profile { grid-template-columns: 1fr; }
    .artist-profile__photo { position: static; max-width: 280px; }
    .show-item { grid-template-columns: 100px 1fr; }
    .show-item__actions { grid-column: 2; }
}

@media (max-width: 640px) {
    .container { padding-left: 1.25rem; padding-right: 1.25rem; }
    .section { padding: 3.5rem 0; }
    .main-nav { display: none; }
    .nav-toggle { display: flex; }

    .main-nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(15, 15, 15, 0.97);
        backdrop-filter: blur(14px);
        border-top: 1px solid var(--border);
        padding: 1rem 1.25rem 1.5rem;
    }

    .main-nav.is-open ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .main-nav.is-open a {
        padding: 0.75rem 0.5rem;
        font-size: 1.1rem;
    }

    .main-nav .sub-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .newsletter-form { flex-direction: column; }
    .newsletter-form button { width: 100%; }

    .show-item { grid-template-columns: 1fr; gap: 0.6rem; }
}
