/* ========================================
   BASE
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #111;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(0, 0, 0, 0.025),
            transparent 45%
        ),
        #fff;
}

img {
    display: block;
    max-width: 100%;
}


/* ========================================
   PAGE
======================================== */

.page {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}


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

.site-header {
    position: relative;

    padding:
        clamp(2rem, 5vw, 4rem)
        5vw
        clamp(3rem, 7vw, 6rem);

    text-align: center;
}

.back {
    position: absolute;

    top: clamp(1.5rem, 3vw, 2.5rem);
    left: 5vw;

    color: #777;

    font-size: 0.65rem;
    font-weight: 700;

    letter-spacing: 0.16em;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.back:hover {
    color: #111;
    transform: translateX(-0.25rem);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand {
    font-size: clamp(1rem, 1.5vw, 1.3rem);

    font-weight: 700;

    letter-spacing: 0.28em;
}

h1 {
    margin:
        clamp(1rem, 2vw, 1.5rem)
        0
        0;

    font-size: clamp(0.75rem, 1vw, 1rem);

    font-weight: 700;

    letter-spacing: 0.22em;
}

.accent {
    width: clamp(1.8rem, 3vw, 2.5rem);
    height: 2px;

    background: #b51218;
}


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

.hero {
    width: min(94vw, 110rem);

    margin: 0 auto;

    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;

    object-fit: contain;
}


/* ========================================
   GENERAL SECTION
======================================== */

.section {
    width: min(86vw, 70rem);

    margin:
        clamp(5rem, 10vw, 9rem)
        auto;
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.section-heading .accent {
    margin-bottom: 1.25rem;
}

h2 {
    margin: 0;

    font-size: clamp(0.75rem, 1vw, 1rem);

    font-weight: 700;

    letter-spacing: 0.2em;
}


/* ========================================
   FLEET
======================================== */

.fleet-grid {
    margin-top: clamp(3rem, 5vw, 4rem);

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.fleet-item {
    min-height: clamp(8rem, 13vw, 11rem);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.fleet-item + .fleet-item {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.fleet-item strong {
    font-size: clamp(2rem, 4vw, 3.5rem);

    font-weight: 300;

    line-height: 1;
}

.fleet-item span {
    margin-top: 1rem;

    font-size: clamp(0.55rem, 0.7vw, 0.7rem);

    font-weight: 700;

    letter-spacing: 0.15em;

    color: #777;
}


/* ========================================
   IMAGE SECTIONS
======================================== */

.image-section {
    width: min(92vw, 100rem);

    margin:
        clamp(4rem, 8vw, 8rem)
        auto;
}

.image-section img {
    width: 100%;
    height: auto;
}


/* ========================================
   WAREHOUSING
======================================== */

.warehouse-grid {
    margin-top: clamp(3rem, 5vw, 4rem);

    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.warehouse-item {
    padding:
        clamp(2rem, 4vw, 4rem);

    text-align: center;
}

.warehouse-item + .warehouse-item {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.warehouse-item strong {
    display: block;

    font-size: clamp(3rem, 7vw, 6rem);

    font-weight: 300;

    line-height: 1;
}

.warehouse-item span {
    display: block;

    margin-top: 1.25rem;

    font-size: clamp(0.55rem, 0.7vw, 0.7rem);

    font-weight: 700;

    letter-spacing: 0.15em;

    color: #777;
}


/* ========================================
   CONTACT
======================================== */

.contact {
    padding:
        clamp(4rem, 8vw, 7rem)
        5vw
        clamp(5rem, 10vw, 9rem);

    text-align: center;
}

.email {
    display: inline-block;

    margin-top: 2rem;

    color: #111;

    font-size: clamp(0.75rem, 1vw, 1rem);

    letter-spacing: 0.08em;

    text-decoration: none;

    border-bottom: 1px solid rgba(0, 0, 0, 0.25);

    padding-bottom: 0.3rem;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.email:hover {
    color: #b51218;
    border-color: #b51218;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    padding:
        1.5rem
        5vw
        2rem;

    text-align: center;

    font-size: 0.6rem;

    line-height: 1.8;

    letter-spacing: 0.08em;

    color: #888;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 800px) {

    .back {
        position: static;

        display: block;

        margin-bottom: 3rem;
    }

    .site-header {
        padding-top: 2rem;
    }

    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fleet-item:nth-child(3) {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .fleet-item:nth-child(4) {
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .warehouse-grid {
        grid-template-columns: 1fr;
    }

    .warehouse-item + .warehouse-item {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
}


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

@media (max-width: 500px) {

    .hero {
        width: 100%;
    }

    .section {
        width: 86vw;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
    }

    .fleet-item {
        min-height: 7rem;
    }

    .fleet-item + .fleet-item {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .image-section {
        width: 100%;
    }
}
