*, *::before, *::after {
    font-family: 'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.shadow-brutal {
    box-shadow: 8px 8px 0 #292524;
}

.shadow-brutal-sm {
    box-shadow: 4px 4px 0 #292524;
}

.border-3 {
    border-width: 3px;
}

.hover-card:hover {
    box-shadow: 0 20px 40px rgba(69, 26, 3, 0.15);
    transform: translateY(-8px);
}

[data-aos] {
    pointer-events: none;
}
[data-aos].aos-animate {
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.file\:mr-4::file-selector-button {
    margin-right: 1rem;
}
.file\:py-2::file-selector-button {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.file\:px-4::file-selector-button {
    padding-left: 1rem;
    padding-right: 1rem;
}
.file\:border-0::file-selector-button {
    border-width: 0;
}
.file\:bg-amber-600::file-selector-button {
    background-color: #d97706;
}
.file\:text-white::file-selector-button {
    color: #fff;
}
.file\:font-bold::file-selector-button {
    font-weight: 700;
}
.hover\:file\:bg-amber-700:hover::file-selector-button {
    background-color: #b45309;
}

/* Fixed header (seafoam theme) — prevent content underlap on mobile */
body.has-fixed-header main {
    padding-top: 4rem;
}

@media (max-width: 767px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    main img,
    main video,
    main iframe {
        max-width: 100%;
        height: auto;
    }

    /* Touch-friendly tap targets for nav and buttons */
    #mobile-menu a,
    #mobile-menu-btn,
    header nav a,
    main button,
    main input[type="submit"],
    main .btn {
        min-height: 44px;
    }

    #mobile-menu a {
        display: flex;
        align-items: center;
    }

    /* Career / contact forms: full width on small screens */
    main form input,
    main form textarea,
    main form select {
        width: 100%;
        max-width: 100%;
        font-size: 16px; /* prevents iOS zoom on focus */
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    main .max-w-7xl,
    main .max-w-5xl,
    main .max-w-4xl,
    main .max-w-3xl {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
