/*
Theme Name: Pharmacose Transmission
Theme URI: https://pharmacose.com
Author: Pharmacose
Description: Transmission aesthetic theme for Pharmacose — Ascension's Constraint
Version: 1.0
*/

/* ============================================================
   IMPORTS + RESET
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #050505;
    background-image: url('/wp-content/uploads/2026/04/bg-texture.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #c0c0c0;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    min-height: 100vh;
    position: relative;
}

/* Scanline overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.12) 3px,
        rgba(0,0,0,0.12) 4px
    );
    pointer-events: none;
    z-index: 999;
}

/* Dark overlay over texture */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(5, 5, 5, 0.78);
    pointer-events: none;
    z-index: 0;
}

.site-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   ELEMENTOR OVERRIDE — kill leftover styles
============================================================ */
img {
    border-radius: 0 !important;
}

.release-card__art img,
.release-card__art a img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.3;
}

h1 { font-size: 2.4rem; letter-spacing: 10px; }
h2 { font-size: 1.6rem; letter-spacing: 6px; }
h3 { font-size: 1.2rem; letter-spacing: 4px; }

p { margin-bottom: 1.4em; color: #c0c0c0; }
a { color: #c0c0c0; text-decoration: none; transition: color 0.2s; }
a:hover { color: #ffffff; }

.tag-red {
    color: #cc1111;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.tag-dim {
    color: #555;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
}

hr.divider {
    border: none;
    border-top: 1px solid #1a1a1a;
    margin: 40px 0;
}

/* ============================================================
   LAYOUT
============================================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

.container--narrow {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    border-bottom: 1px solid #111;
    background: rgba(5,5,5,0.92);
    backdrop-filter: blur(4px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 40px;
}

.site-logo {
    font-size: 18px;
    letter-spacing: 8px;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
}

.site-logo span {
    color: #cc1111;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
}

.site-nav a {
    font-size: 13px;
    letter-spacing: 4px;
    color: #888;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}

.site-nav a:hover,
.site-nav .current-menu-item a,
.site-nav .current_page_item a {
    color: #ffffff;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid #333;
    color: #888;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 6px 12px;
    cursor: pointer;
}

/* ============================================================
   MAIN CONTENT AREA
============================================================ */
.site-main {
    flex: 1;
    padding-top: 60px; /* offset fixed header */
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 32px;
    position: relative;
}

.hero__status {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cc1111;
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.hero__status-text {
    font-size: 10px;
    letter-spacing: 4px;
    color: #cc1111;
    text-transform: uppercase;
}

.hero__content {
    max-width: 800px;
}

.hero__title {
    font-size: 4rem;
    letter-spacing: 16px;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero__sub {
    font-size: 12px;
    letter-spacing: 4px;
    color: #555;
    margin-bottom: 48px;
    text-transform: uppercase;
}

.hero__divider {
    width: 60px;
    height: 1px;
    background: #cc1111;
    margin: 0 auto 48px;
}

.hero__tagline {
    font-size: 15px;
    color: #888;
    letter-spacing: 2px;
    line-height: 2.2;
    margin-bottom: 60px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-block;
    padding: 13px 36px;
    border: 1px solid #888;
    color: #ffffff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    cursor: pointer;
    background: transparent;
}

.btn:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.04);
    color: #ffffff;
}

.btn--red {
    border-color: #cc1111;
    color: #cc1111;
}

.btn--red:hover {
    background: rgba(204,17,17,0.08);
    border-color: #ff2222;
    color: #ff2222;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ============================================================
   LATEST RELEASE SECTION
============================================================ */
.latest-release {
    padding: 100px 0;
    border-top: 1px solid #111;
}

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

.section-header h2 {
    margin-bottom: 12px;
}

.release-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.release-card__art img {
    width: 100%;
    display: block;
}

.release-card__info .tag-red {
    margin-bottom: 8px;
}

.release-card__title {
    font-size: 2.4rem;
    letter-spacing: 8px;
    margin-bottom: 10px;
    color: #ffffff;
}

.release-card__meta {
    font-size: 13px;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 32px;
}

.release-card__quote {
    border-left: 2px solid #cc1111;
    padding-left: 20px;
    margin-bottom: 40px;
}

.release-card__quote p {
    font-size: 16px;
    line-height: 2.2;
    color: #e0e0e0;
}

/* ============================================================
   MUSIC GRID
============================================================ */
.music-section {
    padding: 100px 0;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2px;
    margin-top: 60px;
}

.music-item {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid #111;
}

.music-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s, filter 0.4s;
    filter: saturate(0.6);
    height: auto;
    aspect-ratio: unset;
}

.music-item:hover img {
    transform: scale(1.04);
    filter: saturate(1);
}

.music-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,5,5,0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

.music-item:hover .music-item__overlay {
    opacity: 1;
}

.music-item__info {
    padding: 20px;
    border-top: 1px solid #111;
}

.music-item__title {
    font-size: 13px;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 4px;
}

.music-item__year {
    font-size: 10px;
    letter-spacing: 2px;
    color: #444;
}

/* ============================================================
   STORY / TEXT PAGES
============================================================ */
.text-section {
    padding: 100px 0;
}

.text-section__content {
    max-width: 740px;
    margin: 0 auto;
}

.text-section__content p {
    font-size: 15px;
    line-height: 2.2;
    color: #c0c0c0;
    margin-bottom: 1.8em;
}

.text-section__content h2 {
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: #ffffff;
    margin: 60px 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1a1a1a;
}

.lore-block {
    border-left: 2px solid #cc1111;
    padding: 24px 28px;
    margin: 40px 0;
    background: rgba(204,17,17,0.03);
}

.lore-block p {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 2.4;
    margin: 0;
}

/* ============================================================
   SINGLE RELEASE PAGE
============================================================ */
.release-single {
    padding: 80px 0 100px;
}

.release-single__inner {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 32px;
}

.release-single__art {
    width: 100%;
    max-width: 480px;
    display: block;
    margin: 0 auto 48px;
}

.release-single__title {
    font-size: 2.4rem;
    letter-spacing: 10px;
    text-align: center;
    margin-bottom: 12px;
}

.release-single__meta {
    font-size: 11px;
    letter-spacing: 4px;
    color: #888;
    text-align: center;
    margin-bottom: 48px;
}

.release-single__quote {
    border-left: 2px solid #cc1111;
    padding-left: 24px;
    margin-bottom: 48px;
}

.release-single__quote p {
    font-size: 15px;
    line-height: 2.4;
    color: #e0e0e0;
}

.broadcast-label {
    font-size: 18px;
    letter-spacing: 6px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 28px;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    border-top: 1px solid #111;
    padding: 60px 40px 40px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.site-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-broadcast {
    text-align: center;
    margin-bottom: 32px;
}

.footer-broadcast__label {
    font-size: 12px;
    letter-spacing: 5px;
    color: #555;
    text-transform: uppercase;
    display: block;
    margin-bottom: 32px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.footer-social a {
    font-size: 13px;
    letter-spacing: 4px;
    color: #888;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom__copy {
    font-size: 12px;
    letter-spacing: 2px;
    color: #555;
}

.footer-bottom__signal {
    font-size: 12px;
    letter-spacing: 3px;
    color: #cc1111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom__signal::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cc1111;
    animation: pulse 1.4s ease-in-out infinite;
    display: inline-block;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-section {
    padding: 100px 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid #222;
    color: #c0c0c0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 14px 18px;
    margin-bottom: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #444;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #333;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 11px;
}

.contact-form input[type="submit"],
.contact-form button[type="submit"],
.wpcf7-submit {
    width: auto;
    background: transparent;
    border: 1px solid #888;
    color: #ffffff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 13px 36px;
    cursor: pointer;
    margin-bottom: 0;
    transition: border-color 0.2s, background 0.2s;
}

.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover,
.wpcf7-submit:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.04);
}

/* ============================================================
   404
============================================================ */
.error-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 32px;
}

.error-code {
    font-size: 6rem;
    letter-spacing: 16px;
    color: #1a1a1a;
    display: block;
    margin-bottom: 24px;
}

.error-msg {
    font-size: 12px;
    letter-spacing: 4px;
    color: #cc1111;
    margin-bottom: 8px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {

    /* ── HEADER / NAV ── */
    .site-header__inner {
        padding: 0 20px;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: 60px; left: 0; right: 0;
        background: rgba(5,5,5,0.97);
        border-bottom: 1px solid #111;
        padding: 24px;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav-toggle {
        display: block;
    }

    /* ── TYPOGRAPHY ── */
    h1 { font-size: 1.8rem; letter-spacing: 4px; }
    h2 { font-size: 1.3rem; letter-spacing: 3px; }
    h3 { font-size: 1.1rem; letter-spacing: 2px; }

    /* ── LAYOUT ── */
    .container {
        padding: 0 20px;
    }

    .container--narrow {
        padding: 0 20px;
    }

    /* ── HERO ── */
    .hero {
        padding: 60px 20px;
        min-height: 90vh;
    }

    .hero__title {
        font-size: 2.2rem;
        letter-spacing: 6px;
    }

    .hero__sub {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .hero__tagline {
        font-size: 13px;
        letter-spacing: 1px;
        line-height: 2;
        margin-bottom: 40px;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    /* ── LATEST RELEASE ── */
    .latest-release {
        padding: 60px 0;
    }

    .release-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .release-card__title {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }

    /* ── MUSIC GRID ── */
    .music-section {
        padding: 60px 0;
    }

    .music-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2px;
    }

    /* ── STORY / TEXT PAGES ── */
    .text-section {
        padding: 60px 0;
    }

    .text-section__content p {
        font-size: 14px;
        line-height: 2;
    }

    .lore-block {
        padding: 20px;
        margin: 30px 0;
    }

    /* ── SINGLE RELEASE ── */
    .release-single {
        padding: 40px 0 60px;
    }

    .release-single__inner {
        padding: 0 20px;
    }

    .release-single__title {
        font-size: 1.6rem;
        letter-spacing: 5px;
    }

    /* ── CONTACT ── */
    .contact-section {
        padding: 60px 0;
    }

    .contact-form input[type="submit"],
    .contact-form button[type="submit"],
    .wpcf7-submit {
        width: 100%;
        text-align: center;
    }

    /* ── FOOTER ── */
    .site-footer {
        padding: 40px 20px 32px;
    }

    .footer-social {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom__copy {
        font-size: 10px;
    }

    /* ── PAGE HEADER (generic pages) ── */
    .single-page header {
        margin-bottom: 32px !important;
    }

    .single-page h1 {
        font-size: 1.4rem !important;
        letter-spacing: 4px !important;
    }
}

/* Extra small — phones under 400px */
@media (max-width: 400px) {
    .hero__title {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    .music-grid {
        grid-template-columns: 1fr;
    }

    .footer-social a {
        font-size: 12px;
        letter-spacing: 3px;
    }
}
