/* ==============================================
   VEKTOR FORGE — GLOBAL STYLESHEET
   Shared across all public pages
   Last updated: 2026-05-15

   SECTIONS:
   1.  Reset
   2.  CSS Tokens (variables)
   3.  Base (html, body)
   4.  Navigation
   5.  Buttons
   6.  Section Headers
   7.  CTA Banner
   8.  Footer
   9.  Layout — Glow Rails
   10. Layout — Z-Index and Centering
   11. Responsive — Navigation + Footer (max-width: 768px)
   12. Responsive — Navigation (max-width: 480px)
============================================== */


/* =============================================
   1. RESET
============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* =============================================
   2. CSS TOKENS
============================================= */
:root {
    --bg: #0d0d0d;
    --surface: #161616;
    --surface2: #1e1e1e;
    --border: #2a2a2a;
    --text: #F0F0F0;
    --muted: #888888;
    --ember: #E8410A;
    --ember-dim: #b33208;
    --white: #ffffff;
    --font-head: 'Archivo Black', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}


/* =============================================
   3. BASE
============================================= */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}


/* =============================================
   4. NAVIGATION
============================================= */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.70);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 24px 48px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.nav-logo {
    display: flex;
    justify-content: center;
}

.nav-logo img {
    height: 150px;
    width: auto;
}

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

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-links a.active {
    color: var(--ember);
}

.nav-links a.btn-cta {
    color: var(--white);
}

.nav-links a.nav-home {
    display: flex;
    align-items: center;
    line-height: 1;
}


/* =============================================
   5. BUTTONS
============================================= */
.btn-cta {
    background: var(--ember);
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 22px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cta:hover {
    background: var(--ember-dim);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 22px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
    border-color: var(--text);
}

.btn-cta-dark {
    background: var(--bg);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}

.btn-cta-dark:hover {
    background: #222;
}


/* =============================================
   6. SECTION HEADERS
   Used on: all pages with .section-header divs
============================================= */
.section-header {
    margin-bottom: 56px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.1;
}

.section-header p {
    margin-top: 14px;
    font-size: 16px;
    color: var(--muted);
    max-width: 540px;
}


/* =============================================
   7. CTA BANNER
   Used on: all pages
============================================= */
.cta-banner {
    background: var(--ember);
    padding: 80px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-banner h2 {
    font-family: var(--font-head);
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    max-width: 560px;
}

.cta-banner h2 strong {
    font-weight: 700;
    display: block;
}


/* =============================================
   8. FOOTER
   Used on: all pages
============================================= */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 48px 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 260px;
}

.footer-col h5 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--ember);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--muted);
}

.footer-bottom .made-local {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.made-local span {
    color: var(--ember);
    font-weight: 700;
}


/* =============================================
   9. LAYOUT — GLOW RAILS
   Fixed ember glow strips on left and right edges
============================================= */
.glow-left,
.glow-right {
    position: fixed;
    top: 0;
    width: 180px;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.glow-left {
    left: 0;
    background: linear-gradient(to right, rgba(232, 65, 10, 0.2) 0%, rgba(232, 65, 10, 0.07) 55%, transparent 100%);
}

.glow-right {
    right: 0;
    background: linear-gradient(to left, rgba(232, 65, 10, 0.2) 0%, rgba(232, 65, 10, 0.07) 55%, transparent 100%);
}


/* =============================================
   10. LAYOUT — Z-INDEX AND CENTERING
   Centers content at max 1184px on wide screens
============================================= */
section,
footer {
    position: relative;
    z-index: 1;
}

.cta-banner,
footer {
    padding-left: max(48px, calc(50vw - 592px));
    padding-right: max(48px, calc(50vw - 592px));
}


/* =============================================
   11. RESPONSIVE — NAVIGATION + FOOTER (max-width: 768px)
============================================= */
@media (max-width: 768px) {
    .glow-left,
    .glow-right {
        width: 60px;
    }

    nav {
        padding: 16px 24px;
        flex-direction: column;
        gap: 12px;
    }

    .nav-logo img {
        height: 80px;
    }

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-banner,
    footer {
        padding-left: 24px;
        padding-right: 24px;
    }
}


/* =============================================
   12. RESPONSIVE — NAVIGATION (max-width: 480px)
============================================= */
@media (max-width: 480px) {
    .nav-links {
        gap: 8px;
    }

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