html {
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background: linear-gradient(90deg, #0b1f37, #151e11) no-repeat fixed;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========================================================== 2. Animations ========================================================== */
@keyframes wytUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ========================================================== 3. Split Layout the two full-height, side-by-side panels ========================================================== */
.split {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.split:hover .panel {
    flex: 0.86;
}

.split .panel:hover {
    flex: 1.3;
}

.panel {
    position: relative;
    flex: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: flex 0.55s cubic-bezier(.22, .61, .36, 1);
}

/* ========================================================== 4. Panel Background (photo + gradient overlay) ========================================================== */
.panel .bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: transform 0.7s ease;
}

.panel:hover .bg {
    transform: scale(1.06);
}

.bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 32, 17, 0.78) 0%, rgba(31, 44, 26, 0.88) 100%);
}

/* ========================================================== 5. Panel Content (logo, heading, copy) ========================================================== */
.panel .content {
    position: relative;
    z-index: 2;
    max-width: 420px;
    padding: 0 30px;
    text-align: center;
    transform: translateY(10px);
    animation: wytUp .8s ease .12s both;
}

.brand img {
    margin: 0 auto 30px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.01em;
    overflow-wrap: break-word;
    color: #fff;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 20px;
    animation: wytUp .8s ease .12s both;
}

.desc {
    font-family: 'Barlow', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 30px;
    animation: wytUp .8s ease .2s both;
}

/* Brand-specific accent color for the small title label */
.construction .title {
    font-size: clamp(13px, 3vw, 15px);
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: oklch(0.72 0.17 52);
    animation: wytUp .7s ease .05s both;
}

.agriculture .title {
    font-size: clamp(13px, 3vw, 15px);
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: oklch(0.7 0.1 116);
    animation: wytUp .7s ease .05s both;
}

/* ========================================================== 6. "Enter Site" Button ========================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    color: #0b1f38;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .14em;
    text-transform: uppercase;
    animation: wytUp .8s ease .28s both;
}

.construction .btn-primary {
    background: oklch(0.72 0.17 52);
}

.agriculture .btn-primary {
    background: oklch(0.7 0.1 116);
}

.btn-primary:hover {
    filter: brightness(1.08);
    color: #0b1f38;
}

.btn-primary .arrow {
    transition: transform 0.25s ease;
}

.panel:hover .btn-primary .arrow {
    transform: translateX(4px);
}

@media (max-width:820px) {
    body {
        background: linear-gradient(#0b1f37, #151e11) no-repeat fixed;
    }
    .split {
        flex-direction: column;
    }

    .panel,
    .split:hover .panel,
    .split .panel:hover {
        flex: none;
    }

    .panel {
        min-height: 50vh;
        padding: 50px 0 50px;
    }
}