/*
Theme Name: Shallowdrown
Theme URI: https://shallowdrown.com
Author: John Helps
Version: 1.0.7
Description: Custom theme for Shallowdrown (built on the Maybeshewill / Details theme).
Text Domain: shallowdrown
*/

/* =========================================================
   TOKENS
   ========================================================= */

:root {
    --bg:          #050506;
    --bg-2:        #0e0d10;
    --bg-3:        #18161a;
    --text:        #f6eef2;
    --text-muted:  rgba(246, 238, 242, 0.66);
    --pink:        #f8379d;          /* sampled from the band logo */
    --pink-light:  #ff6cb8;
    --pink-dim:    rgba(248, 55, 157, 0.35);
    --pink-glow:   rgba(248, 55, 157, 0.18);
    --border:      rgba(246, 238, 242, 0.1);
    --max-width:   1180px;
    --prose-width: 740px;
    --font-sans:   'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-serif:  'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
    --header-h:    72px;
}

/* =========================================================
   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(--pink); color: #000;
    font: 700 0.875rem/1 var(--font-sans);
    padding: 0.8rem 1.25rem; border-radius: 0 0 6px 6px;
    transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

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

/* =========================================================
   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: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
::selection { background: var(--pink); color: #000; }

/* =========================================================
   TYPE
   ========================================================= */

h1, h2, h3, h4 {
    font-family: var(--font-sans);
    font-weight: 800;
    font-stretch: 72%;
    font-variation-settings: "wdth" 72;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 0.98;
    color: var(--text);
}

h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
h2 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); }

p { color: rgba(246, 238, 242, 0.86); margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; }

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

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

.section { padding: 6.5rem 0; position: relative; }

.section-label {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font: 700 0.75rem/1 var(--font-sans);
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 1rem;
}
.section-label::before {
    content: ""; width: 1.6rem; height: 2px; background: var(--pink);
}

.section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap;
    margin-bottom: 2.75rem;
}
.section-header h2 { margin: 0; }

.section-footer { display: flex; margin-top: 2.5rem; }

.page-heading { margin-bottom: 3rem; }
.page-heading h1 { margin-top: 0.25rem; }

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    font: 700 0.8rem/1 var(--font-sans);
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 1rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

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

.btn--outline { border-color: rgba(246, 238, 242, 0.28); color: var(--text); }
.btn--outline:hover { border-color: var(--pink); color: var(--pink); }

.btn--ghost { color: var(--text-muted); padding-left: 0; padding-right: 0; border: 0; }
.btn--ghost:hover { color: var(--pink); }

.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   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,
body:not(.home) .site-header {
    background: rgba(5, 5, 6, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--border);
}

.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-h); gap: 2rem;
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; transition: opacity 0.3s ease, transform 0.3s ease; }
.site-logo img { height: 38px; width: auto; }
.site-logo:hover img { transform: rotate(-2deg) scale(1.04); }
.site-logo img { transition: transform 0.2s ease; }

/* On the homepage the header logo only appears once the hero logo has scrolled away. */
.home .site-header:not(.is-scrolled) .site-logo { opacity: 0; pointer-events: none; transform: translateY(-6px); }

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

.main-nav a {
    display: block;
    font: 700 0.8rem/1 var(--font-sans);
    letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(246, 238, 242, 0.82);
    padding: 0.7rem 0.9rem;
    position: relative;
    transition: color 0.15s ease;
}
.main-nav a::after {
    content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.3rem;
    height: 2px; background: var(--pink);
    transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--text); }
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after { transform: scaleX(1); }

/* Sub-menus (none by default; kept for future menus) */
.main-nav .menu-item-has-children { position: relative; }
.main-nav .sub-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: rgba(5, 5, 6, 0.92); border: 1px solid var(--border);
    border-radius: 8px; min-width: 170px; padding: 0.4rem;
    display: none; flex-direction: column; align-items: stretch; z-index: 200;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children.is-open > .sub-menu { display: flex; }

.nav-toggle {
    display: none; background: none; border: 0; padding: 0.6rem;
    flex-direction: column; gap: 5px; margin-right: -0.6rem;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO (video)
   ========================================================= */

.site-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: #000 center / cover no-repeat;
}

.site-hero__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    max-width: none;
}

.site-hero__overlay {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(5,5,6,0.05) 0%, rgba(5,5,6,0.55) 75%),
        linear-gradient(to bottom, rgba(5,5,6,0.55) 0%, rgba(5,5,6,0.15) 30%, rgba(5,5,6,0.35) 70%, var(--bg) 100%);
}

.site-hero__content {
    display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
    text-align: center; padding: 0 1.25rem;
    margin-top: 2rem;
}

.site-hero__logo {
    width: clamp(280px, 62vw, 820px);
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.55));
    animation: logo-in 0.9s cubic-bezier(.2,.9,.3,1.3) both 0.15s;
}

.site-hero__tagline {
    font: 700 0.8rem/1.4 var(--font-sans);
    letter-spacing: 0.3em; text-transform: uppercase;
    color: rgba(246, 238, 242, 0.88);
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
    animation: fade-up 0.8s ease both 0.6s;
}

.site-hero__cta { animation: fade-up 0.8s ease both 0.8s; }

.site-hero__scroll {
    position: absolute; bottom: 1.75rem; left: 50%;
    width: 2px; height: 46px; margin-left: -1px;
    background: linear-gradient(to bottom, var(--pink), transparent);
    animation: drip 2.4s ease-in-out infinite;
}

/* Pause control (WCAG 2.2.2 — moving content longer than 5s can be paused) */
.site-hero__pause {
    position: absolute; right: 1.25rem; bottom: 1.25rem;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(5,5,6,0.5); border: 1px solid rgba(246,238,242,0.25);
    color: var(--text); display: grid; place-items: center;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.site-hero__pause:hover { border-color: var(--pink); color: var(--pink); }
.site-hero__pause svg { width: 14px; height: 14px; fill: currentColor; }
.site-hero__pause .icon-play { display: none; }
.site-hero.is-paused .site-hero__pause .icon-play { display: block; }
.site-hero.is-paused .site-hero__pause .icon-pause { display: none; }
.site-hero.no-video .site-hero__pause { display: none; }

@keyframes logo-in {
    from { opacity: 0; transform: scale(0.86) rotate(-3deg); }
    to   { opacity: 1; transform: none; }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}
@keyframes drip {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
    60%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .site-hero__logo, .site-hero__tagline, .site-hero__cta { animation: none; }
    .site-hero__scroll { animation: none; }
}

/* =========================================================
   FEATURED RELEASE (Ghost)
   ========================================================= */

.feature-release {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 30%, rgba(248,55,157,0.20), transparent 55%),
        radial-gradient(circle at 90% 90%, rgba(248,55,157,0.10), transparent 45%),
        var(--bg);
    border-top: 1px solid var(--border);
}

.feature-release__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.feature-release__art {
    position: relative;
    display: block;
}
.feature-release__art img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(246,238,242,0.06);
    transition: transform 0.4s ease;
}
.feature-release__art::before {
    content: ""; position: absolute; inset: 8% -6% -6% 8%;
    background: var(--pink); border-radius: 4px; z-index: -1;
    filter: blur(60px); opacity: 0.35;
}
.feature-release__art:hover img { transform: rotate(-1deg) scale(1.01); }

.feature-release__title {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: clamp(4rem, 11vw, 8.5rem);
    line-height: 0.9;
    margin: 0.2rem 0 1rem;
}

.feature-release__meta {
    font: 700 0.8rem/1.4 var(--font-sans);
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.6rem;
}

.feature-release__quote { margin: 0 0 2rem; max-width: 34rem; }

.feature-release__buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Streaming icon row */
.stream-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.4rem; }
.stream-links a {
    font: 700 0.75rem/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-muted); padding: 0.35rem 0; border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.stream-links a:hover { color: var(--pink); border-color: var(--pink); }

/* =========================================================
   PRESS QUOTE
   ========================================================= */

.press-quote {
    border: 0;
    padding: 0 0 0 1.4rem;
    border-left: 3px solid var(--pink);
    margin: 2.5rem 0;
}
.press-quote p,
.wp-block-quote.is-style-press p {
    font-family: var(--font-serif); font-style: italic;
    font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.4;
    color: var(--text);
}
.press-quote cite,
.press-quote footer {
    display: block; margin-top: 0.9rem; font-style: normal;
    font: 700 0.75rem/1.4 var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--pink);
}
.press-quote cite a:hover { text-decoration: underline; }

/* =========================================================
   NEWS
   ========================================================= */

.news-section { border-top: 1px solid var(--border); }

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

.news-card { display: flex; flex-direction: column; gap: 0.85rem; }
.news-card__thumb {
    aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3);
    border-radius: 4px;
}
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.5s ease; }
.news-card:hover .news-card__thumb img { transform: scale(1.04); }
.news-card__thumb--empty {
    display: grid; place-items: center;
    background: radial-gradient(circle at 30% 30%, rgba(248,55,157,0.35), transparent 60%), var(--bg-3);
}
.news-card__thumb--empty img { width: 55%; height: auto; object-fit: contain; opacity: 0.85; }
.news-card__meta {
    font: 700 0.72rem/1 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink);
}
.news-card__title {
    font: 800 1.45rem/1.05 var(--font-sans); font-stretch: 72%; font-variation-settings: "wdth" 72;
    text-transform: uppercase; color: var(--text);
    transition: color 0.15s ease;
}
.news-card:hover .news-card__title { color: var(--pink); }
.news-card__excerpt { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

.news-empty { color: var(--text-muted); }

/* =========================================================
   GIGS
   ========================================================= */

.shows-section { border-top: 1px solid var(--border); background: var(--bg-2); }

.shows-list { display: flex; flex-direction: column; }

.show-item {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--border);
}
.show-item:first-child { border-top: 1px solid var(--border); }

.show-body {
    flex: 1 1 auto; min-width: 0;
    display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 2rem;
}

.show-poster {
    flex: 0 0 auto; width: 64px; display: block; line-height: 0;
    border-radius: 3px; overflow: hidden; border: 1px solid var(--border);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.show-poster:hover, .show-poster:focus-visible { border-color: var(--pink); transform: scale(1.04); }
.show-poster img { width: 100%; height: auto; }

.show-poster--placeholder {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 3 / 4; background: #000; padding: 0 0.4rem; cursor: default;
}
.show-poster--placeholder:hover { border-color: var(--border); transform: none; }

.show-date {
    display: flex; flex-direction: column; line-height: 1;
    font-family: var(--font-sans); text-transform: uppercase;
}
.show-date__day {
    font-weight: 800; font-size: 2.6rem; font-stretch: 72%; font-variation-settings: "wdth" 72;
    color: var(--pink);
}
.show-date__rest { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.16em; color: var(--text-muted); margin-top: 0.35rem; }

.show-details { display: flex; flex-direction: column; gap: 0.3rem; }
.show-venue {
    font: 800 1.5rem/1.05 var(--font-sans); font-stretch: 72%; font-variation-settings: "wdth" 72;
    text-transform: uppercase; color: var(--text);
}
.show-location { font-size: 0.9rem; color: var(--text-muted); }
.show-note { font-size: 0.9rem; color: var(--text); }
.show-note::before { content: "★ "; color: var(--pink); }

.show-ticket-btn {
    display: inline-flex; align-items: center; justify-content: center;
    font: 700 0.75rem/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase;
    padding: 0.85rem 1.4rem; border-radius: 999px;
    background: var(--pink); color: #000; border: 2px solid var(--pink);
    white-space: nowrap; transition: background 0.15s ease;
}
.show-ticket-btn:hover { background: var(--pink-light); border-color: var(--pink-light); }
.show-ticket-tba {
    font: 700 0.72rem/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-muted); border: 1px dashed rgba(246,238,242,0.25);
    padding: 0.8rem 1.2rem; border-radius: 999px; white-space: nowrap;
}

.shows-no-dates { padding: 2rem 0; color: var(--text-muted); }

/* Past shows gallery */
.past-shows { margin-top: 5rem; padding-top: 3.5rem; border-top: 1px solid var(--border); }
.past-shows h2 { margin: 0 0 2rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.past-shows-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.5rem; }
.past-show { margin: 0; }
.past-show-link {
    display: block; line-height: 0; border-radius: 4px; overflow: hidden;
    border: 1px solid var(--border); background: var(--bg-2);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.past-show-link:hover, .past-show-link:focus-visible { border-color: var(--pink); transform: translateY(-3px); }
.past-show-link img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.past-show-cap { margin-top: 0.7rem; line-height: 1.35; }
.past-show-venue { display: block; font-weight: 700; font-size: 0.9rem; }
.past-show-meta { display: block; font-size: 0.8rem; color: var(--text-muted); }

/* =========================================================
   VIDEO (optional YouTube feature)
   ========================================================= */

.video-section { border-top: 1px solid var(--border); background: var(--bg-2); }
.video-embed {
    position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden;
    box-shadow: 0 0 0 1px var(--border), 0 30px 80px rgba(0,0,0,0.5);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

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

.newsletter-section {
    position: relative;
    background: var(--pink);
    color: #000;
    padding: 5.5rem 0;
    overflow: hidden;
}
.newsletter-section::before {
    /* jagged top edge — echoes the logo's spiky burst */
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 22px;
    background: var(--bg-2);
    clip-path: polygon(0 0,100% 0,100% 40%,97% 100%,94% 30%,90% 90%,86% 20%,82% 100%,78% 35%,74% 85%,70% 25%,66% 100%,62% 30%,58% 90%,54% 20%,50% 100%,46% 35%,42% 85%,38% 25%,34% 100%,30% 30%,26% 90%,22% 20%,18% 100%,14% 35%,10% 85%,6% 25%,3% 100%,0 40%);
}
.newsletter-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center;
}
.newsletter-section h2 { color: #000; margin-bottom: 0.75rem; }
.newsletter-section p { color: rgba(0,0,0,0.78); }
.newsletter-form { display: flex; gap: 0.6rem; }
.newsletter-form input[type="email"] {
    flex: 1 1 auto; min-width: 0;
    font: 500 1rem/1 var(--font-sans);
    padding: 1rem 1.3rem; border-radius: 999px;
    border: 2px solid #000; background: rgba(255,255,255,0.18); color: #000;
}
.newsletter-form input::placeholder { color: rgba(0,0,0,0.55); }
.newsletter-form input:focus { outline: none; background: #fff; }
.newsletter-form button {
    font: 700 0.8rem/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase;
    padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid #000;
    background: #000; color: var(--pink); transition: background 0.15s ease, color 0.15s ease;
}
.newsletter-form button:hover { background: transparent; color: #000; }
.newsletter-section :focus-visible { outline-color: #000; }
.newsletter-notice { min-height: 1.4em; margin-top: 0.8rem; font-weight: 600; font-size: 0.95rem; }
.newsletter-notice.error { color: #2a0013; }
.newsletter-small { font-size: 0.8rem; margin-top: 0.6rem; }

/* =========================================================
   MERCH (hidden until a store URL is set in the Customizer)
   ========================================================= */

.merch-section { border-top: 1px solid var(--border); text-align: center; }
.merch-section p { max-width: 34rem; margin: 0 auto 1.8rem; }

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

.site-footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2.5rem; background: var(--bg); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-logo img { width: 200px; height: auto; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-links h3 {
    font: 700 0.72rem/1 var(--font-sans); letter-spacing: 0.2em; color: var(--pink); margin-bottom: 1rem;
    text-transform: uppercase;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.92rem; color: var(--text-muted); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--pink); }
.footer-bottom {
    margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-credit {
    font-size: 0.8rem; line-height: 1.7; color: var(--text-muted); transition: color 0.15s ease;
}
.footer-credit__end { white-space: nowrap; }   /* keeps the logo with the last word when the line wraps */
.footer-credit img {
    display: inline-block; width: auto; height: 28px; margin: -8px 0 -6px 0.6rem; vertical-align: middle;
    opacity: 0.85; transition: opacity 0.15s ease;
}
.footer-credit:hover { color: var(--pink); }
.footer-credit:hover img { opacity: 1; }
.footer-copy a { text-decoration: underline; text-decoration-color: rgba(246,238,242,0.25); text-underline-offset: 3px; }
.footer-copy a:hover { color: var(--pink); }

/* =========================================================
   INNER PAGES
   ========================================================= */

.news-page, .shows-page, .generic-page, .single-post-wrap, .discography-page, .release-single {
    padding: calc(var(--header-h) + 4rem) 0 6rem;
}

.page-hero { position: relative; height: 62vh; min-height: 380px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background: center 30% / cover no-repeat; }
.page-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(5,5,6,0.35) 0%, rgba(5,5,6,0.1) 40%, var(--bg) 100%);
}
.generic-page.has-hero { padding-top: 0; margin-top: -7rem; position: relative; z-index: 2; }

.page-content, .post-content { font-size: 1.1rem; }
.page-content > * + *, .post-content > * + * { margin-top: 1.3rem; }
.page-content p, .post-content p { margin-bottom: 0; }
.page-content a, .post-content a {
    color: var(--pink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.page-content a:hover, .post-content a:hover { color: var(--pink-light); }
.page-content h2, .post-content h2 { margin-top: 3rem; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-content h3, .post-content h3 { margin-top: 2.2rem; }
.page-content ul, .post-content ul { list-style: none; padding-left: 0; }
.page-content ul li, .post-content ul li { position: relative; padding-left: 1.2rem; }
.page-content ul li::before, .post-content ul li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 6px; background: var(--pink); }
.page-content figure, .post-content figure { margin-top: 2rem; }
.page-content figcaption, .post-content figcaption,
.wp-element-caption { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; text-align: left; }
.page-content .lead, .page-content > p:first-child { font-size: 1.3rem; line-height: 1.55; color: var(--text); }

.wp-block-quote {
    border-left: 3px solid var(--pink); padding-left: 1.4rem; margin: 2.5rem 0;
}
.wp-block-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.4; color: var(--text); }
.wp-block-quote cite {
    display: block; margin-top: 0.9rem; font: 700 0.75rem/1.4 var(--font-sans); font-style: normal;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink);
}
.wp-block-quote cite a { color: var(--pink); }

/* Photo galleries: a tidy cropped grid (3 across, 2 on phones). */
.page-content .wp-block-gallery,
.post-content .wp-block-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.page-content .wp-block-gallery figure.wp-block-image,
.post-content .wp-block-gallery figure.wp-block-image {
    width: auto !important; margin: 0 !important; position: relative; overflow: hidden; border-radius: 3px;
}
.page-content .wp-block-gallery figure.wp-block-image img,
.post-content .wp-block-gallery figure.wp-block-image img {
    width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.5s ease;
}
.page-content .wp-block-gallery figure.wp-block-image:hover img { transform: scale(1.03); }
.wp-block-gallery figure.wp-block-image figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.5rem 0.6rem 0.45rem;
    font-size: 0.68rem; color: rgba(246,238,242,0.85); background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.page-content .wp-block-image:not(.wp-block-gallery .wp-block-image) img { max-height: 85vh; width: auto; }

/* Wide blocks may break out of the prose column */
.page-content .alignwide { width: min(100vw - 4rem, 1100px); margin-left: 50%; transform: translateX(-50%); }

.single-post-wrap .post-header { margin-bottom: 2rem; }
.post-header__meta { font: 700 0.75rem/1 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink); }
.post-header__title { margin-top: 0.8rem; font-size: clamp(2.2rem, 6vw, 4.5rem); }
.post-hero-img { margin-bottom: 2.5rem; }
.post-hero-img img { width: 100%; border-radius: 4px; }
.post-back { margin-top: 3rem; }

.news-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }

.pagination { display: flex; gap: 0.4rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination .page-numbers {
    min-width: 42px; height: 42px; padding: 0 0.8rem; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: 999px; font-weight: 700; font-size: 0.85rem;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--pink); color: #000; border-color: var(--pink); }

/* =========================================================
   DISCOGRAPHY
   ========================================================= */

.release-list { display: flex; flex-direction: column; gap: 5rem; }

.release {
    display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.release:nth-child(even) .release__art { order: 2; }

.release__art img {
    width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(246,238,242,0.06);
}
.release__type {
    font: 700 0.75rem/1 var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink);
}
.release__title {
    font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none;
    font-size: clamp(2.8rem, 7vw, 5rem); line-height: 0.95; letter-spacing: -0.01em;
    margin: 0.5rem 0 1.25rem;
}
.release__title a:hover { color: var(--pink); }
.release__desc { color: var(--text-muted); margin-bottom: 1.5rem; }
.release__desc p { color: var(--text-muted); }

.tracklist { counter-reset: track; margin: 0 0 1.8rem; border-top: 1px solid var(--border); }
.tracklist li {
    counter-increment: track; display: flex; gap: 1rem; align-items: baseline;
    padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-weight: 500;
}
.tracklist li::before {
    content: counter(track, decimal-leading-zero);
    font: 700 0.75rem/1 var(--font-sans); letter-spacing: 0.1em; color: var(--pink); min-width: 1.6rem;
}
.release__buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* =========================================================
   LIGHTBOX (gig posters)
   ========================================================= */

.sd-lightbox {
    position: fixed; inset: 0; z-index: 9999; display: none;
    align-items: center; justify-content: center; padding: 4vh 1.5rem;
    background: rgba(5, 5, 6, 0.95);
}
.sd-lightbox.is-open { display: flex; }
.sd-lb-fig { margin: 0; max-width: min(90vw, 760px); max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.sd-lb-img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.sd-lb-cap { font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.sd-lb-close, .sd-lb-prev, .sd-lb-next {
    position: absolute; background: transparent; border: 0; color: var(--text);
    opacity: 0.8; line-height: 1; padding: 0.5rem;
}
.sd-lb-close:hover, .sd-lb-prev:hover, .sd-lb-next:hover { opacity: 1; color: var(--pink); }
.sd-lb-close { top: 1.1rem; right: 1.3rem; font-size: 2.4rem; }
.sd-lb-prev, .sd-lb-next { top: 50%; transform: translateY(-50%); font-size: 3rem; }
.sd-lb-prev { left: 0.6rem; }
.sd-lb-next { right: 0.6rem; }

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

@media (max-width: 960px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid > :nth-child(3) { display: none; }
    .show-body { grid-template-columns: 110px 1fr; grid-template-rows: auto auto; gap: 0.5rem 1.5rem; }
    .show-ticket-btn, .show-ticket-tba { grid-column: 2; justify-self: start; margin-top: 0.4rem; }
    .newsletter-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 760px) {
    :root { --header-h: 64px; }
    body { font-size: 1rem; }
    .container { padding: 0 1.25rem; }
    .section { padding: 4.5rem 0; }

    .main-nav { display: none; }
    .nav-toggle { display: flex; }

    .site-header:has(.main-nav.is-open) { background: rgba(5,5,6,0.96); }
    .home .site-header:has(.main-nav.is-open) .site-logo { opacity: 1; pointer-events: auto; transform: none; }

    .main-nav.is-open {
        display: block; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(5,5,6,0.96); border-top: 1px solid var(--border);
        padding: 1rem 1.25rem 2rem; min-height: calc(100svh - var(--header-h));
    }
    .main-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav.is-open a {
        font-size: 2.2rem; font-weight: 800; letter-spacing: 0.02em;
        font-stretch: 72%; font-variation-settings: "wdth" 72;
        padding: 0.9rem 0; border-bottom: 1px solid var(--border);
    }
    .main-nav.is-open a::after { display: none; }
    .main-nav.is-open .current-menu-item > a, .main-nav.is-open .current_page_item > a { color: var(--pink); }
    .main-nav .sub-menu { position: static; transform: none; background: none; border: 0; display: flex; }

    .site-logo img { height: 32px; }
    .site-hero__tagline { letter-spacing: 0.2em; font-size: 0.72rem; }

    .feature-release__grid { grid-template-columns: 1fr; }
    .feature-release__art { max-width: 420px; }

    .news-grid { grid-template-columns: 1fr; }
    .news-grid > :nth-child(3) { display: flex; }
    .news-page-grid { grid-template-columns: 1fr; }

    .show-item { align-items: flex-start; gap: 1rem; }
    .show-body { grid-template-columns: 1fr; gap: 0.5rem; }
    .show-ticket-btn, .show-ticket-tba { grid-column: 1; }
    .show-date { flex-direction: row; align-items: baseline; gap: 0.6rem; }
    .show-date__day { font-size: 1.9rem; }
    .show-date__rest { margin-top: 0; }

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

    .release { grid-template-columns: 1fr; }
    .release:nth-child(even) .release__art { order: 0; }
    .release__art { max-width: 460px; }

    .footer-links { gap: 2rem; }
    .past-shows-gallery { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1rem; }
    .sd-lb-prev { left: 0; font-size: 2.4rem; }
    .sd-lb-next { right: 0; font-size: 2.4rem; }
    .page-content .alignwide { width: calc(100vw - 2.5rem); }
    .page-content .wp-block-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
    .page-content .wp-block-gallery figure.wp-block-image:first-child { grid-column: 1 / -1; }
    .page-content .wp-block-gallery figure.wp-block-image:first-child img { aspect-ratio: 3 / 2; }
}
