/* ============================================
   Nik Behrendt – About Page
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 100%);
    padding: 20px 0;
}

.back-link {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s ease;
    margin-right: 12px;
}

.back-link:hover {
    color: #ffffff;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* --- Main Content --- */
.about-main {
    flex: 1;
    padding-top: 120px;
    padding-bottom: 40px;
}

/* --- Hero Section --- */
.about-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 40px;
}

.about-portrait {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 40px;
    border: 2px solid rgba(255,255,255,0.1);
}

.about-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(0.2);
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #ffffff;
}

.about-tagline {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.about-location {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

/* --- Content Sections --- */
.about-section {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 40px;
}

.about-section h2 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.about-section > p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255,255,255,0.75);
}

/* --- Equipment Grid --- */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.equipment-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 28px 24px;
    transition: border-color 0.3s ease;
}

.equipment-card:hover {
    border-color: rgba(255,255,255,0.15);
}

.equipment-icon {
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.equipment-card h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 14px;
}

.equipment-card ul {
    list-style: none;
}

.equipment-card li {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}

/* --- Client Carousel --- */
.about-section-wide {
    max-width: none;
    padding: 0;
}

.about-section-wide h2 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.client-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    cursor: grab;
    touch-action: pan-y;
}

.client-carousel.dragging {
    cursor: grabbing;
}

.client-track {
    display: flex;
    gap: 48px;
    width: max-content;
    will-change: transform;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 16px 24px;
    height: 85px;
}

.client-logo img {
    max-width: 160px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.client-logo img[src$=".svg"] {
    filter: none;
    opacity: 0.5;
}

.client-logo:hover img {
    opacity: 0.9;
}

/* --- CTA Section --- */
.about-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.cta-button {
    display: inline-block;
    padding: 14px 36px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff;
    border-radius: 0;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.cta-secondary {
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
}

.cta-secondary:hover {
    color: #ffffff;
}

/* --- Footer --- */
.site-footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer p {
    font-size: 12px;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}

/* --- Responsive --- */
@media (max-width: 778px) {
    .about-hero {
        padding: 0 20px;
    }

    .about-section {
        padding: 0 20px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .about-hero h1 {
        font-size: 36px;
        letter-spacing: 5px;
    }

    .about-portrait {
        width: 220px;
        height: 220px;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .about-portrait {
        width: 180px;
        height: 180px;
        margin-bottom: 30px;
    }

    .about-main {
        padding-top: 100px;
    }

    .about-section > p {
        font-size: 15px;
    }
}
