
/* AUTOMOTIVE LAB */

.automotive-page {
    background: #101113;
}

.auto-hero {
    position: relative;
    height: calc(100svh - 90px);
    min-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 7%;
}

.auto-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: autoZoom 1.8s ease-out both;
}

@keyframes autoZoom {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}

.auto-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 9, 11, 0.92) 0%,
        rgba(8, 9, 11, 0.45) 55%,
        rgba(8, 9, 11, 0.15) 100%
    );
}

.auto-hero-content {
    position: relative;
    z-index: 2;
    animation: autoReveal 1s 0.2s both;
}

@keyframes autoReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auto-hero h1 {
    font-size: clamp(52px, 9vw, 145px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -5px;
}

.auto-hero h1 span,
.auto-section-heading h2 span {
    color: var(--gold);
}

.auto-subtitle {
    margin-top: 25px;
    font-size: clamp(16px, 2vw, 23px);
    color: #d3d0cb;
}

.auto-explore {
    display: inline-block;
    margin-top: 55px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gold);
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2px;
    transition: 0.3s;
}

.auto-explore:hover {
    color: #fff;
}

.auto-hero-bottom {
    position: absolute;
    bottom: 35px;
    left: 7%;
    right: 7%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #c4c0b8;
    font-size: 10px;
    letter-spacing: 2px;
}

.auto-works {
    padding: 130px 7%;
}

.auto-section-heading {
    margin-bottom: 70px;
}

.auto-section-heading h2 {
    font-size: clamp(35px, 5vw, 75px);
    letter-spacing: -2px;
    line-height: 1.1;
}

.auto-section-heading > p:last-child {
    max-width: 600px;
    margin-top: 25px;
    color: var(--muted);
    line-height: 1.8;
}

.auto-feature-image {
    position: relative;
    height: clamp(300px, 50vw, 650px);
    overflow: hidden;
    background: #24252a;
}

.auto-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8);
    transition: transform 0.7s, filter 0.7s;
}

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

.auto-feature-index {
    position: absolute;
    top: 25px;
    left: 30px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
}

.auto-feature-details {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 35px 0;
    border-bottom: 1px solid var(--border);
}

.auto-feature-details .eyebrow {
    margin-bottom: 15px;
}

.auto-feature-details h3 {
    font-size: clamp(35px, 5vw, 70px);
    letter-spacing: -2px;
}

.auto-feature-tagline {
    margin-top: 12px;
    color: #b8b4ae;
    font-size: 15px;
}

.auto-feature-status {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
}

.auto-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 35px 7%;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
}

.auto-footer a {
    color: var(--gold);
}

@media (max-width: 700px) {
    .auto-hero {
        height: calc(100svh - 75px);
        min-height: 500px;
        padding: 5%;
    }

    .auto-hero h1 {
        font-size: clamp(40px, 11vw, 75px);
        letter-spacing: -2px;
    }

    .auto-hero-bottom {
        left: 5%;
        right: 5%;
        flex-direction: column;
    }

    .auto-works {
        padding: 90px 5%;
    }

    .auto-feature-details,
    .auto-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auto-hero-image,
    .auto-hero-content {
        animation: none;
    }
}

.auto-feature {
    display: block;
    color: inherit;
    text-decoration: none;
}

.auto-feature:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}
