/* ==========================================================================
 *   FAR BEYOND DRIVEN PALETTE & ROOT ARCHITECTURE
 *   ========================================================================== */
:root {
    --bg-dark-sludge: #0a0b0d;   /* Crushed industrial black dirt */
    --skull-neon-blue: #0044ff;  /* Radiant electric skull aura blue */
    --bruised-blue: #101a2c;     /* Dark metallic skull-flesh undertone */
    --rust-drill-mud: #8a5016;   /* Distressed drill bit / sludge brown */
    --chrome-metal: #e8ecf0;     /* Raw industrial metal lettering */
    --rivet-border: #242c33;     /* Cold rolled iron borders */
}

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

body {
    background-color: var(--bg-dark-sludge);
    /* Album Cover Replica Background Engine */
    background:
    radial-gradient(circle at 50% 35%, rgba(0, 68, 255, 0.22) 0%, rgba(16, 26, 44, 0.6) 40%, transparent 70%),
    linear-gradient(rgba(10, 11, 13, 0.96), rgba(10, 11, 13, 0.99)),
    repeating-linear-gradient(0deg, rgba(138, 80, 22, 0.03) 0px, rgba(138, 80, 22, 0.03) 2px, transparent 2px, transparent 4px);
    color: var(--chrome-metal);
    font-family: 'Oswald', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
 *   SOLID WORKING HEADER & INJECTED NAV SYSTEM
 *   ========================================================================== */
header {
    background: rgba(10, 11, 13, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 4px solid var(--rust-drill-mud);
    box-shadow: 0px 4px 30px rgba(0, 68, 255, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--chrome-metal);
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #000;
    white-space: nowrap;
}

.logo span {
    color: var(--rust-drill-mud);
    font-family: 'Rye', serif;
    font-size: 1.3rem;
    margin-left: 5px;
}

/* BROWSER INTER-FILE NAVIGATION PATTERNS */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    color: #7b8b96;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 0;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--chrome-metal);
    border-bottom-color: var(--skull-neon-blue);
    text-shadow: 0px 0px 12px rgba(0, 68, 255, 0.8);
}

/* RIGHT CHANNEL STORE LINK */
.shoppy-store-btn {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #000;
    background: var(--rust-drill-mud);
    border: 1px solid #000;
    padding: 12px 26px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: -5px 5px 0px var(--skull-neon-blue);
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
}

.shoppy-store-btn:hover {
    background-color: var(--chrome-metal);
    box-shadow: -2px 2px 0px var(--rust-drill-mud);
    transform: translate(3px, -3px);
}


/* ==========================================================================
 *   STRUCTURAL PAGE LAYOUT & TEXT DISPLAY
 *   ========================================================================== */
.page-view {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 30px;
    flex-grow: 1;
    width: 100%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.album-badge {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.85rem;
    color: var(--rust-drill-mud);
    letter-spacing: 6px;
    margin-bottom: 20px;
    border-left: 4px solid var(--skull-neon-blue);
    padding-left: 12px;
}

h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -2px;
}

.highlight {
    color: var(--bg-dark-sludge);
    -webkit-text-stroke: 2px var(--rust-drill-mud);
    display: block;
    font-size: 4.8rem;
    margin-top: 10px;
}

/* FORCE SOLID BLACK FILL WHILE PRESERVING EXACT ORIGINAL FONT SIZE */
.section-title span {
    color: var(--bg-dark-sludge) !important;
    -webkit-text-stroke: 2px var(--rust-drill-mud) !important;
    display: inline-block !important; /* Keeps it on the same line as the header prefix */
    font-size: 1em !important;
}


/* BRUISED PLATE DESCRIPTION BOX */
.product-description {
    background: linear-gradient(145deg, var(--bruised-blue) 0%, #080c12 100%);
    border: 2px solid var(--rivet-border);
    padding: 45px;
    position: relative;
    box-shadow: 15px 15px 0px #000, 0px 0px 35px rgba(0, 68, 255, 0.2);
}

.product-description p {
    font-size: 1.15rem;
    color: #a4b0b8;
    margin-bottom: 24px;
    line-height: 1.6;
}

.product-description strong {
    color: #fff;
    text-transform: uppercase;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
    background: linear-gradient(90deg, rgba(138, 80, 22, 0.25), transparent);
    padding: 8px;
    border-left: 4px solid var(--rust-drill-mud);
}

/* ==========================================================================
 *   FAR BEYOND EXAMPLES GRID & REINFORCED CONTENT BOXES
 *   ========================================================================== */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    width: 100%;
    margin-top: 30px;
}

.example-box {
    background: linear-gradient(145deg, var(--bruised-blue) 0%, #080c12 100%);
    border: 2px solid var(--rivet-border);
    padding: 35px;
    position: relative;
    box-shadow: 10px 10px 0px #000, 0px 0px 25px rgba(0, 68, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Bulletproof responsive video containment deck */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--rivet-border);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    background: #000;
    overflow: hidden;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.example-box h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--chrome-metal);
    border-bottom: 2px solid var(--rust-drill-mud);
    padding-bottom: 10px;
}

.example-box p {
    font-size: 1rem;
    color: #a4b0b8;
    line-height: 1.5;
}

.tech-tag {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.75rem;
    color: var(--skull-neon-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================================================
 *   GLOBAL SYSTEM FOOTER
 *   ========================================================================== */
footer {
    max-width: 1300px;
    margin: auto auto 0 auto;
    padding: 40px 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-family: 'Syncopate', sans-serif;
    color: #434e55;
    border-top: 1px solid var(--rivet-border);
    width: 100%;
}

/* ==========================================================================
 *   UNIVERSAL MOBILE RESPONSIVE ENGINE
 *   ========================================================================== */
@media (max-width: 968px) {
    nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .nav-links {
        gap: 15px 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .shoppy-store-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        box-shadow: 0px 5px 0px var(--skull-neon-blue);
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .examples-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-view {
        padding: 40px 20px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .highlight {
        font-size: 3rem;
    }

    .product-description,
    .example-box {
        padding: 25px;
        box-shadow: 8px 8px 0px #000, 0px 0px 20px rgba(0, 68, 255, 0.15);
    }

    footer {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .example-box {
        padding: 20px;
    }
}

/* ==========================================================================
 *   AUTOMATIC BOX & GRID MAPPER FOR PORTFOLIO PAGES
 *   ========================================================================== */

/* Automatically converts portfolio grids to match the home hero layout */
.grid-portfolio {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

@media (min-width: 969px) {
    .grid-portfolio {
        grid-template-columns: 1fr 1fr; /* Splits into 2 columns on desktop */
    }
}

/* Maps example work cards directly to the perfect home box layout */
.work-card {
    background: linear-gradient(145deg, var(--bruised-blue) 0%, #080c12 100%);
    border: 2px solid var(--rivet-border);
    padding: 45px;
    position: relative;
    box-shadow: 15px 15px 0px #000, 0px 0px 35px rgba(0, 68, 255, 0.2);
}

/* Formats headers and paragraphs to match your exact home font styling */
.work-card h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--chrome-metal);
}

.work-card p {
    font-size: 1.15rem;
    color: #a4b0b8;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Adds the heavy rust-colored left border strip to your meta text tags */
.card-header-meta {
    color: #fff;
    text-transform: uppercase;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
    background: linear-gradient(90deg, rgba(138, 80, 22, 0.25), transparent);
    padding: 8px;
    border-left: 4px solid var(--rust-drill-mud);
}

/* Cleans up and centers the status pills */
.status-pill {
    float: right;
    color: var(--skull-neon-blue);
}

/* Bulletproof responsive video framing inside the box */
.video-container {
    border: 2px solid var(--rivet-border);
    background: #000;
    box-shadow: 0px 0px 20px rgba(0, 68, 255, 0.15);
    line-height: 0;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

.video-container video {
    width: 100%;
    display: block;
}

/* Fixes sections titles to use the uppercase header styling */
.section-title {
    font-family: 'Syncopate', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -2px;
}

.section-title span {
    color: transparent;
    -webkit-text-stroke: 2px var(--rust-drill-mud);
}

/* ==========================================================================
 *   AUTOMATIC BOX & GRID MAPPER FOR FAQ / ABOUT PAGES
 *   ========================================================================== */

/* Converts the FAQ layout area into a single column array of heavy boxes */
.about-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

/* Identifies the bold question tags and converts them into headers */
.about-layout p:nth-of-type(odd) {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, rgba(138, 80, 22, 0.25), transparent);
    padding: 12px 15px;
    border-left: 4px solid var(--rust-drill-mud);
    margin-bottom: -15px; /* Pulls the answer box up close */
    margin-top: 15px;
}

/* Strips any native bold inline tags from rendering text strangely */
.about-layout p:nth-of-type(odd) b {
    font-weight: 700;
}

/* Converts the answer paragraphs into matching bruised metal container plates */
.about-layout p:nth-of-type(even) {
    background: linear-gradient(145deg, var(--bruised-blue) 0%, #080c12 100%);
    border: 2px solid var(--rivet-border);
    padding: 30px;
    position: relative;
    box-shadow: 10px 10px 0px #000, 0px 0px 25px rgba(0, 68, 255, 0.15);
    font-size: 1.1rem;
    color: #a4b0b8;
    line-height: 1.6;
}

/* Mobile responsive padding constraints for small phones */
@media (max-width: 768px) {
    .about-layout p:nth-of-type(even) {
        padding: 20px;
    }
}

/* ==========================================================================
 *   DYNAMIC SCROLL-TO-HIDE MOBILE NAVIGATION HANDLE
 *   ========================================================================== */
@media (max-width: 968px) {
    header {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Class injected via script to tuck the bar away neatly */
    header.nav-hidden {
        transform: translateY(-100%);
    }
}


/* ==========================================================================
 *   THE EXACT AS PC MOBILE RENDERING FIX (ABSOLUTE BOTTOM)
 *   ========================================================================== */
@media (max-width: 968px) {
    h1,
    .section-title {
        font-size: clamp(1.8rem, 7.5vw, 2.2rem) !important; /* Mobile sizing matches perfectly */
        line-height: 1.3 !important;
        letter-spacing: 1px !important; /* Retains the heavy, squished PC aesthetic weight */
        word-break: break-word !important;
    }

    .highlight,
    .section-title span {
        font-size: clamp(1.9rem, 8.5vw, 2.5rem) !important; /* Mobile sizing matches perfectly */
        line-height: 1.3 !important;
        display: inline-block !important;
        letter-spacing: 1px !important;

        /* Fills the inside with your background sludge dirt */
        color: var(--bg-dark-sludge) !important;

        /* KILLS THE TEXT-STROKE THAT CHOKES THE INSIDES OF THE LETTERS */
        -webkit-text-stroke: 0px transparent !important;

        /* RECREATES THE CRUNCHY RUST DESKTOP OUTLINE OUTWARDS ONLY */
        filter: drop-shadow(-1.5px 0px 0px var(--rust-drill-mud))
        drop-shadow(1.5px 0px 0px var(--rust-drill-mud))
        drop-shadow(0px -1.5px 0px var(--rust-drill-mud))
        drop-shadow(0px 1.5px 0px var(--rust-drill-mud)) !important;
    }
}


/* LIGHTNING REPAIR: LOCKS NAV LINKS TO THE LEFT ON PC */
@media (min-width: 969px) {
    .nav-links {
        margin-left: 50px !important;  /* Restores your exact original 50px gap from the logo */
        margin-right: auto !important; /* Acts like a piston, launching the store button to the far right */
    }
}

@media (max-width: 968px) {
    .section-title { font-size: 2.2rem !important; }
    .section-title span { font-size: 1em !important; }
}
