/*
Theme Name: Coal Dust Union
Theme URI: https://coaldustunion.com
Author: Coal Dust Union
Description: Minimal custom classic theme for Coal Dust Union.
Version: 1.0
Text Domain: coaldustunion
*/

/* =========================
   ROOT VARIABLES
========================= */

:root {

    --cdu-denim: #243f60;
    --cdu-denim-dark: #1b314b;
    --cdu-denim-light: #35557c;

    --cdu-gold: #b88a3b;
    --cdu-rust: #9f5f2c;

    --cdu-cream: #efe4cf;
    --cdu-beige: #d8ccb8;

    --cdu-charcoal: #11151a;
    --cdu-border: rgba(239, 228, 207, 0.12);

    --cdu-max-width: 1400px;

    --cdu-transition: 0.25s ease;

}

/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {

    background: var(--cdu-denim);
    color: var(--cdu-cream);

    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;

    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;

    color: var(--cdu-cream);

}

h1 {
    font-size: clamp(3rem, 6vw, 5.4rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--cdu-beige);
}

a {

    color: var(--cdu-gold);
    text-decoration: none;

    transition: var(--cdu-transition);

}

a:hover {
    opacity: 0.8;
}

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

.cdu-container {

    width: 100%;
    max-width: var(--cdu-max-width);

    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;

}

section {
    padding: 100px 0;
}

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

.cdu-button {

    display: inline-block;

    background: var(--cdu-gold);
    color: var(--cdu-charcoal);

    padding: 16px 28px;

    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;

    border: 2px solid var(--cdu-gold);

    transition: var(--cdu-transition);

}

.cdu-button:hover {

    background: transparent;
    color: var(--cdu-gold);

}

/* =========================
   TEST SECTION
========================= */

.cdu-test {

    min-height: 100vh;

    display: flex;
    align-items: center;

    background: linear-gradient(
        180deg,
        var(--cdu-denim) 0%,
        var(--cdu-denim-dark) 100%
    );

}
/* =========================
   HEADER — MOCKUP STYLE
========================= */

.cdu-site-header {
    width: 100%;
    background: #1f2e3d;
    border-bottom: 1px solid rgba(231, 225, 212, 0.18);
    position: relative;
    top: auto;
    z-index: 1000;
}

.cdu-header-inner {
    max-width: 1180px;
    min-height: 128px;
    display: grid;
    grid-template-columns: 360px 1fr;
    align-items: center;
    gap: 36px;
}

.cdu-logo {
    display: block;
    width: 225px;
    height: 116px;
    color: #e7e1d4;
}

.cdu-logo-svg {
    display: block;
    width: 225px;
    height: 116px;
    overflow: visible;
}

.cdu-logo-arc-text {
    fill: #e7e1d4;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 32px;
    letter-spacing: 4px;
}

.cdu-logo-union {
    fill: #e7e1d4;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 6px;
}

.cdu-logo-rule {
    stroke: #c89a3c;
    stroke-width: 2;
}

.cdu-logo-tagline {
    fill: #e7e1d4;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.cdu-logo-star {
    fill: #c89a3c;
    font-size: 13px;
}

.cdu-main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 46px;
}

.cdu-main-nav a {
    color: #f0e5d2;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.15px;
}

.cdu-main-nav a:first-child {
    color: #c89a3c;
    position: relative;
}

.cdu-main-nav a:first-child::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 38px;
    height: 2px;
    background: #c89a3c;
}

.cdu-main-nav a:hover {
    color: #c89a3c;
    opacity: 1;
}

.cdu-header-button {
    display: none;
}

/* =========================
   MOBILE HEADER
========================= */

@media (max-width: 900px) {

    .cdu-header-inner {
        min-height: auto;
        padding-top: 22px;
        padding-bottom: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cdu-main-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 18px;
    }

    .cdu-header-button {
        display: none;
    }

}

@media (max-width: 600px) {

    .cdu-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .cdu-logo-main {
        font-size: 1.7rem;
    }

    .cdu-main-nav {
        gap: 14px;
    }

    .cdu-main-nav a {
        font-size: 0.76rem;
    }

}
/* =========================
   HOMEPAGE — MOCKUP REPRODUCTION
========================= */

.cdu-homepage {
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.05), transparent 22%),
        linear-gradient(180deg, #314e6b 0%, #1f2e3d 100%);
    border-left: 1px solid rgba(231, 225, 212, 0.18);
    border-right: 1px solid rgba(231, 225, 212, 0.18);
}

.cdu-homepage .cdu-container {
    max-width: 1180px;
}

.cdu-hero {
    min-height: 600px;
    padding: 58px 0 28px;
    border-bottom: none;
    display: flex;
    align-items: center;
}

.cdu-hero-inner {
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 34px;
    align-items: center;
}

.cdu-kicker {
    margin-bottom: 14px;
    color: #c89a3c;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.cdu-hero h1 {
    max-width: 560px;
    font-size: clamp(3.2rem, 5vw, 4.75rem);
    line-height: 0.96;
    letter-spacing: 1.4px;
    color: #e7e1d4;
}

.cdu-hero-text {
    max-width: 560px;
    margin-top: 24px;
    margin-bottom: 0;
    color: #f0e5d2;
    font-size: 1.04rem;
    line-height: 1.72;
}

.cdu-hero-actions {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.cdu-button {
    background: #c89a3c;
    color: #162332;
    border: 1px solid #c89a3c;
    padding: 17px 28px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1.3px;
}

.cdu-button-secondary {
    background: transparent;
    color: #c89a3c;
    min-width: 230px;
    text-align: center;
}

.cdu-button:hover,
.cdu-button-secondary:hover {
    background: #e7e1d4;
    border-color: #e7e1d4;
    color: #162332;
    opacity: 1;
}

.cdu-hero-panel {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border: none;
    background: #1f2e3d;
}

.cdu-hero-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(31,46,61,0.18), rgba(31,46,61,0.08)),
        linear-gradient(180deg, rgba(31,46,61,0.12), rgba(31,46,61,0.32)),
        url('https://images.unsplash.com/photo-1516257984-b1b4d707412e?q=80&w=1400&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.78;
    filter: grayscale(1) sepia(0.18) saturate(0.72) contrast(1.15) brightness(0.72);
}

/* =========================
   BRAND SECTION
========================= */

.cdu-brand-preview {
    background:
        linear-gradient(180deg, rgba(31,46,61,0.98), rgba(31,46,61,1));
    padding: 24px 0 24px;
    border-bottom: 1px solid rgba(231, 225, 212, 0.16);
}

.cdu-section-title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.cdu-section-title span {
    height: 1px;
    background: #c89a3c;
    opacity: 0.75;
}

.cdu-section-title h2 {
    font-size: 2.65rem;
    color: #e7e1d4;
    white-space: nowrap;
}

.cdu-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cdu-brand-card {
    overflow: hidden;
    border: 1px solid #c89a3c;
    background: rgba(22, 35, 50, 0.92);
    min-height: 0;
    padding: 0;
}

.cdu-brand-image {
    height: 145px;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.75) sepia(0.35) saturate(0.85) contrast(1.12) brightness(0.75);
    border-bottom: 1px solid rgba(200,154,60,0.65);
}

.cdu-brand-image-one {
    background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?q=80&w=1200&auto=format&fit=crop');
}

.cdu-brand-image-two {
    background-image: url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?q=80&w=1200&auto=format&fit=crop');
}

.cdu-brand-image-three {
    background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?q=80&w=1200&auto=format&fit=crop');
}

.cdu-brand-card-body {
    padding: 24px 36px 26px;
}

.cdu-brand-card h3 {
    margin-bottom: 8px;
    color: #e7e1d4;
    font-size: 2.45rem;
    line-height: 0.9;
    text-align: center;
    letter-spacing: 2px;
}

.cdu-card-star {
    margin: 10px 0 14px;
    color: #c89a3c;
    text-align: center;
    font-size: 0.9rem;
}

.cdu-brand-card p {
    color: #f0e5d2;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.cdu-brand-card a {
    color: #c89a3c;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

/* =========================
   FOUNDATION ROW
========================= */

.cdu-foundation-row {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 80px;
    align-items: center;
    margin-top: 24px;
}

.cdu-foundation-copy h2 {
    font-size: 2.65rem;
    line-height: 0.98;
    margin-bottom: 22px;
}

.cdu-foundation-copy h2::after {
    content: "";
    display: block;
    width: 92px;
    height: 2px;
    background: #c89a3c;
    margin-top: 20px;
}

.cdu-foundation-copy p {
    color: #f0e5d2;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.cdu-foundation-box {
    border: 1px solid #c89a3c;
    padding: 24px 36px 28px;
    background: rgba(22,35,50,0.62);
}

.cdu-foundation-box h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #c89a3c;
    font-size: 2rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.cdu-foundation-box h3::before,
.cdu-foundation-box h3::after {
    content: "";
    height: 1px;
    width: 90px;
    background: #c89a3c;
}

.cdu-foundation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 34px;
}

.cdu-foundation-grid p {
    margin: 0;
    color: #f0e5d2;
    font-size: 0.95rem;
    line-height: 1.35;
}

/* =========================
   BOTTOM CTA
========================= */

.cdu-bottom-cta {
    padding: 26px 0;
    background:
        linear-gradient(90deg, rgba(31,46,61,1), rgba(49,78,107,0.92), rgba(31,46,61,1));
    border-top: 1px solid rgba(231,225,212,0.14);
    border-bottom: 1px solid rgba(231,225,212,0.14);
}

.cdu-bottom-cta-inner {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    gap: 34px;
    align-items: center;
}

.cdu-footer-mark {
    border-right: 1px solid #c89a3c;
    padding-right: 26px;
    text-align: center;
}

.cdu-footer-mark strong {
    display: block;
    color: #e7e1d4;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 0.95;
    letter-spacing: 2px;
}

.cdu-footer-mark small {
    display: block;
    margin-top: 8px;
    color: #e7e1d4;
    font-size: 0.58rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cdu-bottom-cta h2 {
    font-size: 2.2rem;
    line-height: 1.05;
}

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

@media (max-width: 1000px) {

    .cdu-hero-inner,
    .cdu-foundation-row,
    .cdu-bottom-cta-inner {
        grid-template-columns: 1fr;
    }

    .cdu-hero-panel {
        min-height: 380px;
    }

    .cdu-brand-grid {
        grid-template-columns: 1fr;
    }

    .cdu-footer-mark {
        border-right: none;
        border-bottom: 1px solid #c89a3c;
        padding-right: 0;
        padding-bottom: 18px;
        max-width: 220px;
    }

}

@media (max-width: 600px) {

    .cdu-container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .cdu-hero {
        padding-top: 52px;
    }

    .cdu-hero h1 {
        font-size: 3rem;
    }

    .cdu-hero-panel {
        min-height: 300px;
    }

    .cdu-section-title {
        gap: 14px;
    }

    .cdu-section-title h2 {
        font-size: 2.1rem;
    }

    .cdu-brand-card-body {
        padding: 24px;
    }

    .cdu-foundation-grid {
        grid-template-columns: 1fr;
    }

    .cdu-foundation-box h3::before,
    .cdu-foundation-box h3::after {
        width: 36px;
    }

}