/* =========================================================
   SYNAPSE '26 — GENERAL INSTRUCTIONS
   FINAL CLEAN CSS
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   NAVIGATION
========================================================= */

.instructions-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid #181818;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-inner {
    width: min(1400px, 90%);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    z-index: 1102;
}

.nav-mark {
    width: 22px;
    height: 22px;
    border: 1px solid #ffffff;
    transform: rotate(45deg);
    position: relative;
}

.nav-mark::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid #555555;
}

.nav-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.nav-name span {
    color: #777777;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-left: auto;
}

.nav-links a {
    position: relative;
    color: #777777;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.17em;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: #00a8ff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}

.back-home {
    flex-shrink: 0;
    padding: 12px 18px;
    border: 1px solid #292929;
    color: #aaaaaa;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.16em;
    white-space: nowrap;
    transition: 0.3s ease;
}

.back-home:hover {
    color: #ffffff;
    border-color: #00a8ff;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.20);
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1103;
}

.menu-button span {
    display: block;
    width: 22px;
    height: 1px;
    margin: 3px 0;
    background: #ffffff;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO
========================================================= */

.instructions-hero {
    position: relative;
    text-align: center;
    padding: 200px 5% 90px;
    overflow: hidden;
}

.instructions-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -300px;
    left: -200px;
    background:
        radial-gradient(
            circle,
            rgba(0, 168, 255, 0.07),
            transparent 70%
        );
    pointer-events: none;
}

.instructions-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -300px;
    right: -200px;
    background:
        radial-gradient(
            circle,
            rgba(255, 23, 68, 0.06),
            transparent 70%
        );
    pointer-events: none;
}

.hero-eyebrow {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: #666666;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.4em;
}

.hero-eyebrow span {
    width: 55px;
    height: 1px;
    background: #333333;
}

.instructions-hero h1 {
    position: relative;
    z-index: 2;
    font-family:
        "Arial Black",
        Arial,
        Helvetica,
        sans-serif;
    font-size:
        clamp(55px, 9vw, 120px);
    line-height: 0.82;
    letter-spacing: -0.07em;
}

.instructions-hero h1 span {
    display: block;
    color: #777777;
}

.instructions-hero p {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 30px auto 0;
    color: #666666;
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   INSTRUCTION CARDS
========================================================= */

.instructions-section {
    width: 100%;
    padding: 20px 5% 120px;
}

.instructions-grid {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.instruction-card {
    position: relative;
    padding: 38px;
    min-height: 280px;
    background: #090909;
    border: 1px solid #1b1b1b;
    overflow: hidden;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.instruction-card:hover {
    transform: translateY(-4px);
    border-color: #00a8ff;
    background: #0b0b0b;
}

.instruction-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: #292929;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.instruction-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid #252525;
    color: #00a8ff;
    font-size: 17px;
    background: #070707;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.instruction-card:hover .instruction-icon {
    color: #ff1744;
    border-color: #ff1744;
    transform: rotate(-3deg);
}

.instruction-card h2 {
    margin-bottom: 22px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.instruction-card ul {
    list-style: none;
}

.instruction-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    color: #777777;
    font-size: 12px;
    line-height: 1.7;
}

.instruction-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00a8ff;
}

.instruction-card li:last-child {
    margin-bottom: 0;
}

.final-card {
    border-color: #202020;
}

.final-card:hover {
    border-color: #ff1744;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;
    width: 100%;
    padding: 100px 5% 30px;
    background: #030303;
    color: #ffffff;
    overflow: hidden;
    border-top: 1px solid #181818;
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    left: 50%;
    bottom: -520px;
    transform: translateX(-50%);
    background:
        radial-gradient(
            circle,
            rgba(0, 168, 255, 0.08),
            transparent 70%
        );
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );
    background-size: 70px 70px;
    pointer-events: none;
}

.footer-top {
    position: relative;
    z-index: 2;
    width: min(1400px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        1.7fr 1fr 1fr 0.8fr;
    gap: 70px;
    padding-bottom: 80px;
    border-bottom: 1px solid #171717;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    font-family:
        "Arial Black",
        Arial,
        Helvetica,
        sans-serif;
    font-size:
        clamp(38px, 5vw, 65px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.footer-logo span {
    color: #666666;
    font-weight: 300;
}

.footer-brand p {
    max-width: 320px;
    margin-top: 25px;
    color: #555555;
    font-size: 9px;
    line-height: 1.9;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-heading {
    margin-bottom: 12px;
    color: #555555;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.35em;
}

.footer-column a {
    position: relative;
    color: #888888;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    transition: color 0.3s ease;
}

.footer-column a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-column a:hover::after {
    width: 100%;
}

.footer-social a {
    color: #ffffff;
}

.footer-social span {
    color: #444444;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.footer-wordmark {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 65px;
    text-align: center;
    font-family:
        "Arial Black",
        Arial,
        Helvetica,
        sans-serif;
    font-size:
        clamp(75px, 16vw, 240px);
    line-height: 0.75;
    font-weight: 900;
    letter-spacing: -0.08em;
    color: transparent;
    -webkit-text-stroke:
        1px rgba(255,255,255,0.10);
    user-select: none;
}

.footer-wordmark span {
    color: #333333;
    -webkit-text-stroke: 0;
    font-weight: 300;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    width: min(1400px, 100%);
    margin: 55px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #3f3f3f;
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.22em;
}



@media (max-width: 1100px) and (min-width: 601px) {

    .navbar-inner {
        width: 92%;
        gap: 18px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 7px;
        letter-spacing: 0.12em;
    }

    .back-home {
        padding: 10px 13px;
        font-size: 6px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .footer-top {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 55px 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 800px) {

    .instructions-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .navbar-inner {
        width: 90%;
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 100px 9% 50px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        background: #050505;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition:
            opacity 0.35s ease,
            transform 0.35s ease,
            visibility 0.35s ease;
        z-index: 1100;
        overflow-y: auto;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        color: #888888;
        font-size: 18px;
        letter-spacing: 0.08em;
        transform: translateX(-20px);
        opacity: 0;
        transition:
            color 0.25s ease,
            transform 0.4s ease,
            opacity 0.4s ease;
    }

    .nav-links.active a {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-links a::after {
        display: none;
    }

    .back-home {
        display: none;
    }

    .menu-button {
        display: flex;
    }


    .instructions-nav {
        height: 75px;
        padding: 0 5%;
    }

    .nav-name {
        font-size: 14px;
    }

    .nav-mark {
        width: 18px;
        height: 18px;
    }

    .back-home {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .instructions-hero {
        padding:
            130px 5% 65px;
    }

    .hero-eyebrow {
        font-size: 6px;
        letter-spacing: 0.25em;
    }

    .hero-eyebrow span {
        width: 25px;
    }

    .instructions-hero h1 {
        font-size: 48px;
    }

    .instructions-hero p {
        font-size: 10px;
    }

    .instructions-section {
        padding:
            10px 4% 80px;
    }

    .instruction-card {
        padding:
            28px 24px;
        min-height: auto;
    }

    .instruction-icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .instruction-card h2 {
        font-size: 12px;
    }

    .instruction-card li {
        font-size: 11px;
    }

    .site-footer {
        padding:
            75px 7% 25px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 55px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-logo {
        font-size: 48px;
    }

    .footer-brand p {
        font-size: 8px;
        max-width: 280px;
    }

    .footer-wordmark {
        margin-top: 45px;
        font-size: 24vw;
    }

    .footer-bottom {
        margin-top: 40px;
        font-size: 6px;
        line-height: 1.5;
        letter-spacing: 0.15em;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .footer-logo {
        font-size: 42px;
    }

    .footer-wordmark {
        font-size: 23vw;
    }

}