@media (prefers-reduced-motion: reduce) {
    .animate-ping,
    .animate-pulse {
        animation: none;
    }

    .hero-slide {
        transition: none;
    }
}

html {
    scroll-behavior: smooth;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.flat-depth {
    box-shadow: 0px 4px 20px rgba(72, 120, 40, 0.08);
    border: 1px solid rgba(72, 120, 40, 0.1);
}

.flat-depth-hover:hover {
    box-shadow: 0px 8px 30px rgba(72, 120, 40, 0.12);
    transform: translateY(-2px);
}

.hardware-bg-overlay {
    background: linear-gradient(to right, rgba(7, 10, 6, 0.95) 40%, rgba(7, 10, 6, 0.7) 100%);
}

.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1400ms ease, transform 5000ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.logo-slot {
    height: 108px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-stack {
    animation: logo-rise-2 12s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.logo-slot:nth-child(2) .logo-stack {
    animation-delay: 2s;
}

.logo-slot:nth-child(3) .logo-stack {
    animation-delay: 4s;
}

@media (prefers-reduced-motion: reduce) {
    .logo-stack {
        animation: none;
    }
}

.logo-mark {
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.logo-mark img {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@keyframes logo-rise-2 {
    0%,
    45% {
        transform: translateY(0);
    }

    50%,
    95% {
        transform: translateY(-108px);
    }

    100% {
        transform: translateY(-216px);
    }
}

.topo-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='500' height='500' viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 Q 125 50 250 100 T 500 100 M0 200 Q 125 150 250 200 T 500 200 M0 300 Q 125 250 250 300 T 500 300 M0 400 Q 125 350 250 400 T 500 400' fill='none' stroke='%23487828' stroke-width='0.5' stroke-opacity='0.1'/%3E%3C/svg%3E");
    background-size: 500px 500px;
}

.global-reach-bg {
    background-color: #f7faf3;
    background-image: radial-gradient(rgba(72, 120, 40, 0.24) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

.technical-grid-bg {
    background-color: #F3F6EF;
    background-image:
        radial-gradient(rgba(72, 120, 40, 0.34) 0.5px, transparent 0.5px),
        radial-gradient(rgba(72, 120, 40, 0.2) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.12) 72px, #000 176px, #000 calc(100% - 120px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.12) 72px, #000 176px, #000 calc(100% - 120px), transparent 100%);
}

.footer-pattern {
    background-image: radial-gradient(rgba(72, 120, 40, 0.24) 0.75px, transparent 0.75px);
    background-size: 22px 22px;
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 640px) {
    .brand-logo {
        height: 50px;
        max-width: 220px;
    }
}
