
/* =========================================
   WICK INDUSTRIES — MAIN STYLESHEET
   ========================================= */

/* 1. Design system */

:root {
    --background: #111111;
    --surface: #1b1b1b;
    --surface-light: #242424;
    --orange: #ff7a18;
    --orange-light: #ff984d;
    --text: #f4f4f4;
    --text-muted: #b8b8b8;
    --border: #383838;

    --content-width: 1100px;
}

/* 2. Global reset */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

/* 3. Accessibility */

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--orange-light);
    outline-offset: 5px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 1000;
    background: var(--orange);
    color: #111111;
    padding: 12px 18px;
    font-weight: bold;
}

.skip-link:focus {
    top: 20px;
}

/* 4. Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(17, 17, 17, 0.96);
    border-bottom: 1px solid var(--border);
}

.navbar {
    max-width: var(--content-width);
    min-height: 80px;
    margin: auto;
    padding: 15px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    color: var(--orange);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
}

.logo span {
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--orange);
}

/* 5. Hero section */

.hero {
    min-height: 650px;
    padding: 120px 25px;

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

    text-align: center;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 122, 24, 0.09),
            transparent 65%
        );
}

.eyebrow {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 25px 0;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--orange);
}

.hero-description {
    max-width: 650px;
    color: var(--text-muted);
    font-size: 1.15rem;
}

.primary-button {
    display: inline-block;
    margin-top: 35px;
    padding: 15px 25px;

    background: var(--orange);
    color: #111111;

    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;

    border: 2px solid var(--orange);
    transition: background 0.2s ease, color 0.2s ease;
}

.primary-button:hover {
    background: transparent;
    color: var(--orange);
}

.hero-status {
    margin-top: 45px;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.status-indicator {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 8px;
    border-radius: 50%;
    background: #55c878;
}

/* 6. General section layout */

.section-container {
    max-width: var(--content-width);
    margin: auto;
    padding: 100px 25px;
}

.section-container h2 {
    margin: 18px 0 30px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.section-container > p:not(.eyebrow) {
    max-width: 800px;
    margin-top: 15px;
    color: var(--text-muted);
}

/* 7. Departments */

.departments {
    border-top: 1px solid var(--border);
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.department-card {
    min-height: 260px;
    padding: 30px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--orange);

    transition: transform 0.2s ease, border-color 0.2s ease;
}

.department-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
}

.card-number {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.department-card h3 {
    margin: 25px 0 15px;
    font-size: 1.25rem;
}

.department-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 8. Contact section */

.contact {
    border-top: 1px solid var(--border);
}

/* 9. Footer */

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 30px 25px;
    border-top: 1px solid var(--border);

    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* 10. Mobile and tablet layouts */

@media (max-width: 750px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 550px;
        padding: 90px 20px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

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

    .section-container {
        padding: 75px 20px;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
    }
}

/* 11. Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

