/* ==========================================================
   CAVEMEN CUSTOMS — AUTOMOTIVE
   ========================================================== */

.automotive-page {
    --auto-bg: #0b0d10;
    --auto-dark: #07090b;
    --auto-panel: #101317;
    --auto-line: #252a2f;
    --auto-text: #f1f1f1;
    --auto-muted: #8d949b;
    --auto-orange: #d35400;

    background: var(--auto-bg);
    color: var(--auto-text);
    overflow: hidden;
}

.auto-container {
    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
}


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

.auto-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 140px;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(211, 84, 0, .12),
            transparent 30%
        ),
        linear-gradient(
            115deg,
            #0b0d10 0%,
            #0b0d10 60%,
            #101419 100%
        );
}

.auto-hero::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 18%;
    width: 1px;
    background: rgba(255,255,255,.035);
}

.auto-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--auto-orange),
            transparent
        );
}

.auto-eyebrow {
    color: var(--auto-orange);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.auto-hero h1 {
    margin: 0;

    font-size: clamp(4rem, 9vw, 8.5rem);
    font-weight: 900;
    line-height: .79;
    letter-spacing: -.065em;

    max-width: 1050px;
}

.auto-hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.65);
}

.auto-hero-line {
    width: 80px;
    height: 4px;
    background: var(--auto-orange);
    margin: 42px 0 34px;
}

.auto-hero h2 {
    margin: 0 0 22px;

    font-size: clamp(1.15rem, 2vw, 1.7rem);
    letter-spacing: .18em;
    font-weight: 800;
}

.auto-lead {
    max-width: 680px;
    margin: 0;

    color: #c4c7ca;
    font-size: 1.08rem;
    line-height: 1.8;
}

.auto-sublead {
    max-width: 650px;

    color: var(--auto-muted);
    line-height: 1.8;
}

.auto-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 42px;
}

.auto-scroll {
    position: absolute;
    right: 34px;
    bottom: 55px;

    writing-mode: vertical-rl;

    color: #555c62;
    font-size: .58rem;
    letter-spacing: .25em;
}


/* GENERAL SECTIONS
   ========================================================== */

.auto-section {
    padding: 145px 0;
    position: relative;
}

.auto-dark {
    background: var(--auto-dark);
}

.auto-side-number {
    color: var(--auto-orange);
    font-family: monospace;
    font-size: .78rem;
    letter-spacing: .1em;
    margin-bottom: 20px;
}

.auto-section h2,
.auto-cta h2 {
    margin: 0 0 38px;

    font-size: clamp(3rem, 6.2vw, 6rem);
    line-height: .86;
    letter-spacing: -.055em;
    font-weight: 900;
}

.auto-section h2 span,
.auto-cta h2 span {
    color: var(--auto-orange);
}

.auto-copy p {
    max-width: 650px;

    color: var(--auto-muted);
    line-height: 1.9;
    font-size: 1rem;
}

.auto-large-copy {
    color: #dadcde !important;
    font-size: 1.18rem !important;
    line-height: 1.7 !important;
}


/* INTRO
   ========================================================== */

.auto-intro {
    display: grid;
    grid-template-columns: 130px minmax(0, 760px);
    gap: 40px;
}

.auto-intro .auto-side-number {
    padding-top: 4px;
}


/* TWO COLUMN SECTIONS
   ========================================================== */

.auto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(60px, 8vw, 120px);
    align-items: center;
}


/* IMAGE / PLACEHOLDER
   ========================================================== */

.auto-visual {
    min-width: 0;
}

.auto-placeholder {
    position: relative;

    min-height: 610px;

    border: 1px solid var(--auto-line);

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #12161a,
            #090b0d
        );
}

.auto-placeholder::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            transparent 55%,
            rgba(211,84,0,.10)
        );
}

.auto-placeholder::after {
    content: "";

    position: absolute;
    top: 35px;
    left: 35px;

    width: 55px;
    height: 3px;

    background: var(--auto-orange);
}

.auto-image-label {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 38px;

    z-index: 2;
}

.auto-image-label span {
    display: block;

    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -.03em;
}

.auto-image-label small {
    display: block;

    margin-top: 8px;

    color: var(--auto-muted);
    font-size: .62rem;
    letter-spacing: .2em;
}


/* LIST
   ========================================================== */

.auto-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;

    border-top: 1px solid var(--auto-line);
}

.auto-list li {
    position: relative;

    padding: 14px 10px 14px 30px;

    border-bottom: 1px solid var(--auto-line);

    color: #c8cbce;
    font-size: .9rem;
}

.auto-list li::before {
    content: "+";

    position: absolute;
    left: 2px;

    color: var(--auto-orange);
    font-weight: 800;
}


/* STATEMENTS
   ========================================================== */

.auto-statement {
    display: inline-block;

    margin-top: 40px;
    padding: 13px 0;

    border-top: 1px solid var(--auto-orange);
    border-bottom: 1px solid var(--auto-orange);

    color: #fff;

    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.auto-quote {
    max-width: 610px;

    margin-top: 45px;
    padding: 5px 0 5px 25px;

    border-left: 3px solid var(--auto-orange);

    color: #d5d7d9;

    line-height: 1.8;
}


/* MTDI FEATURE
   ========================================================== */

.auto-mtdi {
    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(211,84,0,.09),
            transparent 35%
        );
}

.auto-mtdi h2 {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.auto-mtdi-content {
    width: min(720px, 100%);
    margin: 50px auto 80px;
}

.auto-mtdi-content p {
    color: var(--auto-muted);
    line-height: 1.85;
}

.auto-spec-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);

    border-top: 1px solid var(--auto-line);
    border-bottom: 1px solid var(--auto-line);
}

.auto-spec-row > div {
    padding: 35px 20px;
}

.auto-spec-row > div + div {
    border-left: 1px solid var(--auto-line);
}

.auto-spec-row strong {
    display: block;

    font-size: 1.15rem;
    letter-spacing: .08em;
}

.auto-spec-row span {
    display: block;

    margin-top: 8px;

    color: var(--auto-muted);

    font-size: .58rem;
    letter-spacing: .18em;
}


/* PROJECTS
   ========================================================== */

.auto-project-intro {
    max-width: 650px;

    color: var(--auto-muted);
    line-height: 1.8;

    margin-bottom: 65px;
}

.auto-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.auto-card {
    position: relative;

    min-height: 390px;
    padding: 30px;

    border: 1px solid var(--auto-line);

    background:
        linear-gradient(
            150deg,
            #111519,
            #090b0d
        );

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.auto-card:hover {
    transform: translateY(-7px);

    border-color: var(--auto-orange);

    background:
        linear-gradient(
            150deg,
            #15191d,
            #0a0c0e
        );
}

.auto-card-number {
    color: var(--auto-orange);
    font-family: monospace;
    font-size: .7rem;
}

.auto-card-content {
    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 30px;
}

.auto-card-type {
    color: var(--auto-orange);

    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .2em;
}

.auto-card h3 {
    margin: 12px 0;

    font-size: 1.65rem;
    letter-spacing: -.03em;
}

.auto-card p {
    margin: 0;

    color: var(--auto-muted);

    font-size: .88rem;
    line-height: 1.6;
}


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

.auto-cta {
    padding: 170px 0 100px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(211,84,0,.13),
            transparent 38%
        ),
        #0b0d10;
}

.auto-cta h2 {
    margin-bottom: 35px;
}

.auto-cta p {
    color: var(--auto-muted);

    margin: 0 auto 40px;
}

.auto-signoff {
    margin-top: 100px;

    color: #50565b;

    font-size: .58rem;
    letter-spacing: .16em;
}

.auto-signoff span {
    color: var(--auto-orange);
    padding: 0 10px;
}


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

@media (max-width: 900px) {

    .auto-container {
        width: min(100% - 36px, 1200px);
    }

    .auto-hero {
        min-height: 80vh;
        padding: 100px 0;
    }

    .auto-scroll {
        display: none;
    }

    .auto-section {
        padding: 95px 0;
    }

    .auto-grid,
    .auto-intro {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .auto-grid-reverse .auto-visual {
        order: 2;
    }

    .auto-placeholder {
        min-height: 450px;
    }

    .auto-cards {
        grid-template-columns: 1fr;
    }

    .auto-card {
        min-height: 260px;
    }

    .auto-spec-row {
        grid-template-columns: 1fr;
    }

    .auto-spec-row > div + div {
        border-left: 0;
        border-top: 1px solid var(--auto-line);
    }

}


@media (max-width: 560px) {

    .auto-container {
        width: calc(100% - 28px);
    }

    .auto-hero {
        padding: 80px 0;
    }

    .auto-hero h1 {
        font-size: clamp(3.3rem, 17vw, 5rem);
    }

    .auto-section {
        padding: 75px 0;
    }

    .auto-section h2,
    .auto-cta h2 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .auto-placeholder {
        min-height: 330px;
    }

    .auto-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .auto-cta {
        padding: 100px 0 70px;
    }

    .auto-signoff {
        line-height: 2;
    }

}

/* AUTOMOTIVE IMAGES */
.auto-placeholder.fabrication {
    background:
        linear-gradient(to top, rgba(5,7,9,.88) 0%, rgba(5,7,9,.18) 48%, rgba(5,7,9,.03) 100%),
        url("images/automotive/fabrication.webp");
    background-size: cover;
    background-position: center;
}

.auto-placeholder.jetta {
    background:
        linear-gradient(to top, rgba(5,7,9,.88) 0%, rgba(5,7,9,.12) 48%, rgba(5,7,9,.02) 100%),
        url("images/automotive/jetta-mtdi.webp");
    background-size: cover;
    background-position: center;
}

.auto-placeholder.pump {
    background:
        linear-gradient(to top, rgba(5,7,9,.88) 0%, rgba(5,7,9,.12) 48%, rgba(5,7,9,.02) 100%),
        url("images/automotive/bosch-ve-pump.webp");
    background-size: cover;
    background-position: center;
}
