/* =========================================================
   WOLF JACKSON - SHARED GLOBAL STYLES
   ========================================================= */


/* ---------------------------------------------------------
   ROOT VARIABLES
   --------------------------------------------------------- */

:root {
    --bg: #070707;
    --bg-soft: #0d0d0d;
    --ink: #f4f1eb;
    --muted: #a7a29a;
    --line: rgba(255, 255, 255, .12);
    --accent: #b7231f;
    --accent-hi: #e73e35;
    --max: 1400px;
}


/* ---------------------------------------------------------
   BASE / RESET
   --------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
                 BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* ---------------------------------------------------------
   FILM GRAIN
   --------------------------------------------------------- */

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .06;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
    mix-blend-mode: screen;
}


/* ---------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------- */

.shell {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.eyebrow {
    font-size: .76rem;
    letter-spacing: .23em;
    text-transform: uppercase;
    color: #c8c2b8;
    font-weight: 700;
}


/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: transparent;
    color: #fff;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
    transition: .2s ease;
    cursor: pointer;
}

.btn.primary {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

.btn.red {
    background: var(--accent);
    border-color: var(--accent);
}

.btn:hover {
    transform: translateY(-2px);
    border-color: #fff;
}

.btn.primary:hover {
    background: #dcd8d1;
}


/* ---------------------------------------------------------
   HEADER / NAVIGATION
   --------------------------------------------------------- */

.nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 50;
    transition: .3s ease;
    border-bottom: 1px solid transparent;
}

.nav.scrolled,
.nav.solid {
    background: rgba(7, 7, 7, .88);
    backdrop-filter: blur(16px);
    border-color: var(--line);
}

.nav-inner {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    /* Added extra top space so logo does not touch viewport edge */
    padding-top: 35px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img.logo {
    width: 142px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
}

.nav-links a {
    opacity: .78;
    transition: .2s;
}

.nav-links a:hover {
    opacity: 1;
    color: #fff;
}

.nav-cta {
    border: 1px solid rgba(255, 255, 255, .28);
    padding: 12px 17px;
    border-radius: 999px;
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}


/* ---------------------------------------------------------
   CARDS / FORMS
   --------------------------------------------------------- */

.card {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #0b0b0b, #111);
    padding: 30px;
}

.field {
    margin-bottom: 18px;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

label {
    display: block;
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 8px;
}

input,
select,
textarea {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, .17);
    color: #fff;
    padding: 14px 15px;
    outline: none;
    border-radius: 3px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(255, 255, 255, .55);
}

textarea {
    resize: vertical;
}

.flash {
    padding: 14px 16px;
    border: 1px solid var(--line);
    margin-bottom: 18px;
    background: #111;
}

.flash.error {
    border-color: #6b2929;
    background: #2b0d0d;
}

.flash.success {
    border-color: #365b3a;
    background: #0d2110;
}

.muted {
    color: var(--muted);
    line-height: 1.65;
}

.small {
    font-size: .84rem;
    color: #777;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pill {
    border: 1px solid var(--line);
    padding: 8px 11px;
    border-radius: 999px;
    font-size: .7rem;
    color: #aaa;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.site-footer {
    padding: 55px 0 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: end;
}

.footer-logo {
    width: 180px;
}

.socials {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.socials a {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #a7a29a;
}

.copyright {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #666;
    font-size: .76rem;
}


/* ---------------------------------------------------------
   MOBILE / TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .shell {
        width: min(calc(100% - 26px), var(--max));
    }

    .nav-inner {
        height: 70px;
        padding-top: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #080808;
        border-bottom: 1px solid var(--line);
        padding: 26px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .brand img.logo {
        width: 124px;
    }

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

    .socials {
        justify-content: flex-start;
    }

    .copyright {
        flex-direction: column;
    }
}


@media (max-width: 760px) {

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

    .card {
        padding: 22px;
    }
}
