:root {
    --pico-background-color: #0a0a0a;
    --pico-card-background-color: #111;
    --pico-primary: #cc2200;
    --pico-primary-hover: #e62800;
    --pico-primary-focus: rgba(204, 34, 0, 0.25);
    --pico-color: #e8e8e8;
    --pico-muted-color: #888;
    --pico-border-color: #222;
    --pico-font-family: 'Inter', system-ui, sans-serif;
    --pico-font-size: 16px;
    --pico-line-height: 1.6;
    --font-display: 'Barlow Condensed', sans-serif;
}

/* ─── Typography ─────────────────────────────────────── */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
    color: #fff;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
}

/* ─── Header ─────────────────────────────────────────── */

header {
    background: #111;
    border-bottom: 2px solid #cc2200;
    position: sticky;
    top: 0;
    z-index: 200;
}

.header-inner {
    padding-top: 0;
    padding-bottom: 0;
}

.header-inner nav {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

a.brand {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

a.brand:hover {
    color: #cc2200 !important;
}

nav ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaa;
    text-decoration: none;
    transition: color 0.15s;
}

nav ul li a:hover {
    color: #fff;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-top: 2px solid #cc2200;
    border-radius: 0 0 4px 4px;
    padding: 0.25rem 0;
    min-width: 180px;
    z-index: 100;
    flex-direction: column !important;
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
}

.mobile-menu-toggle {
    display: none !important;
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .mobile-menu-toggle label {
        font-size: 1.5rem;
        cursor: pointer;
        color: #fff;
        padding: 0 0.25rem;
    }

    #mobile-menu:checked ~ .mobile-nav {
        display: block;
        border-top: 1px solid #222;
        padding: 0.5rem 0;
    }

    .mobile-nav ul {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .mobile-nav ul li {
        list-style: none;
    }

    .mobile-nav ul li a {
        display: block;
        padding: 0.6rem 0;
        font-size: 0.85rem;
        color: #aaa;
        border-bottom: 1px solid #1a1a1a;
    }

    .mobile-nav ul li a:hover {
        color: #fff;
    }

    .mobile-tool-link {
        padding-left: 1.5rem !important;
        font-size: 0.8rem !important;
        color: #666 !important;
    }
}

/* ─── Main content ───────────────────────────────────── */

main {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

/* ─── Home page ──────────────────────────────────────── */

.home-hero {
    text-align: center;
    margin-bottom: 1.5rem;
}

.home-tagline {
    color: #888;
    font-size: 1.1rem;
    margin-top: -0.25rem;
}

.home-photo {
    margin-bottom: 2.5rem;
    height: 350px;
    background-size: cover;
    background-color: #111;
    border-radius: 6px;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
}

.home-section {
    background: #111;
    border-radius: 6px;
    padding: 1.5rem;
}

.home-section h2 {
    border-bottom: 1px solid #222;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}

.home-section-text {
    color: #bbb;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.home-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.home-link-btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    background: #cc2200;
    color: #fff;
    transition: background 0.15s;
}

.home-link-btn:hover {
    background: #e62800;
}

.home-link-btn-outline {
    background: transparent;
    border: 1px solid #cc2200;
    color: #cc2200;
}

.home-link-btn-outline:hover {
    background: #cc2200;
    color: #fff;
}

.home-see-all {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #cc2200;
    text-decoration: none;
    margin-top: 0.5rem;
}

.home-see-all:hover {
    color: #e62800;
}

.home-section article {
    border-left: 2px solid #222;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.75rem;
    background: #161616;
}

.home-section article:hover {
    border-color: #cc2200;
}

.home-section article h2 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.home-section .home-links {
    flex-direction: column;
}

/* ─── Article cards ──────────────────────────────────── */

article {
    border-left: 3px solid #cc2200;
    padding: 1rem 1rem 1rem 1.25rem;
    margin-bottom: 1.25rem;
    background: #111;
    border-radius: 0 4px 4px 0;
    transition: background 0.15s, border-color 0.15s;
}

article:hover {
    background: #161616;
    border-color: #e62800;
}

article h2 {
    margin-bottom: 0.2rem;
    font-size: 1.4rem;
}

article h2 a {
    color: #fff;
    text-decoration: none;
}

article h2 a:hover {
    color: #cc2200;
}

article p {
    color: #888;
    font-size: 0.875rem;
    margin: 0;
}

/* ─── Forms ──────────────────────────────────────────── */

textarea {
    width: 100%;
    font-family: monospace;
    font-size: 0.85rem;
}

/* ─── Buttons ────────────────────────────────────────── */

button[type="submit"] {
    background: #cc2200;
    border-color: #cc2200;
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

button[type="submit"]:hover {
    background: #e62800;
    border-color: #e62800;
}

.back-link {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    margin-bottom: 1rem;
}

.back-link:hover {
    color: #cc2200;
}
