/* ---------------------------------------------------------
   Mazungue — Technical Blue Theme (Clean, Modern, Structured) 021626a
   --------------------------------------------------------- */

/* 1. Base layout and typography */
html {
    font-size: 18px;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    color: #1c2733; /* Deep technical blue-gray */
    line-height: 1.7;

    /* Cool technical background */
    background: #e6ebf0;

    /* Subtle grid texture */
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 22px 22px, 22px 22px;

    /* Soft vignette for focus */
    box-shadow: inset 0 0 140px rgba(0,0,0,0.10);

    /* Needed for stacking context */
    position: relative;
    z-index: 0;
}

/* Vertical trace line (now behind everything) */
body::before {
    content: "";
    position: absolute; /* important: NOT fixed */
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0,0,0,0.15),
        transparent
    );
    pointer-events: none;

    /* Push behind the body content */
    z-index: -1;
}


/* Subtle top fade / top frame */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    pointer-events: none;
    z-index: 0;

    background: linear-gradient(
        to bottom,
        rgba(13, 27, 42, 0.18), /* ← our technical blue fade */
        rgba(13, 27, 42, 0)     /* ← fades to transparent */
    );
}





/* 2. Main container */
main {
    position: relative;
    z-index: 1; /* ensures panel sits above trace line */

    max-width: 720px;
    margin: 100px auto;
    padding: 60px 50px;

    /* Stronger technical blue gradient */
    background: linear-gradient(
        to bottom,
        #dce9f7 0%,
        #bcd3ee 40%,
        #8fb6e0 100%
    );

    /* PCB-inspired subtle grid + vertical wash */
    background-image:
        linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.20), rgba(0,0,0,0.10));
    background-size:
        20px 20px,
        20px 20px,
        100% 100%;

    border-radius: 16px;

    /* Depth + focus + blue glow */
    box-shadow:
        0 14px 32px rgba(0,0,0,0.22),
        0 4px 12px rgba(0,0,0,0.14),
        inset 0 0 50px rgba(255,255,255,0.18),
        inset 0 0 80px rgba(0,0,0,0.08),
        0 0 40px rgba(58,123,213,0.25); /* blue glow */
}

/* 3. Title block */


.site-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: indianred;
    display: inline-block;
    position: relative;
    /* tighter block so spacing changes are visible */
    padding-bottom: 10px;
    margin-bottom: 6px; /* pulls subtitle closer */
}

/* Lower trace (blue) */
.site-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0; /* sits at the very bottom */
    width: 100%;
    height: 3px;
    background: #3a7bd5;
    border-radius: 2px;
}

/* Upper trace (dark) */
.site-title::after {
    content: "";
    position: absolute;
    left: 0;
    /* THIS is the spacing you can now see clearly */
    bottom: 4px; /* try 3px, 5px, 6px — now it will be visible */

    width: 100%;
    height: 2px;
    background: #0d1b2a;
    opacity: 0.85;
    border-radius: 2px;
}

/* zun tilting -----------*/

.site-title i {
    font-style: italic;
    font-weight: 550;
}

.site-title i {
    letter-spacing: -0.5px;
}

.site-title i {
    color: indianred; /* deep technical blue */
    opacity: 0.99;
}

.site-title i {
    transform: skewX(-1deg);
    display: inline-block;
}

/* -----------------*/

/* Subtitle tightened to match the technical block */
.site-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    color: #4a5562;
    margin-top: 0; /* was 12px — avoids wider vertical shift */
    margin-bottom: 8px;;
    letter-spacing: 0.2px;
}



hr {
    border: none;
    border-top: 1px solid #c5d0db;
    /* tighten the vertical rhythm */
    margin: 24px 0;
}



/* ----------------- Lists ----------------------- */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 20px;
}

/* Leading backslash marker */
li::before {
    content: "\\";
    position: absolute;
    left: 0;
    top: 0.05em;
    font-family: "JetBrains Mono", monospace;
    font-size: 1.2rem;
    font-weight: 600;    
    color: #3a7bd5; /*matches link color */

    transform: skewX(-8deg); /*Slight angle but not too much. (PCB routing feel)*/
    opacity: 0.9;
}

/* Trailing tilde */
li a::after {
    content: " ~";
    font-family: "JetBrains Mono", monospace;
    font-size: 1rem;
    opacity: 0.7;
    color: #0d1b2a;
}


li a:hover::after {
    opacity: 0.25;  /* fades ~ */

}

/* --------------- Links ---------------------------- */
a {
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    color: #2f6db0; /* Calm technical blue */
    padding: 6px 0;
    display: inline-block;
    letter-spacing: 0.3px;
    font-weight: 500;
}

a:hover,
a:focus {
    color: #1f4d7a;
    text-decoration: underline;
}

/* 7. Mobile tap targets */
@media (hover: none) {
    a {
        padding: 14px 0;
    }
}




/* Footer container */
.landing-footer {
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.55;
    letter-spacing: 0.3px;
}

/* Centered signature text */
.footer-signature {
    display: inline-block;
    font-family: "Inter", sans-serif;
}

/* W3C badge: bottom-right, faded */
.css-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: opacity 0.2s ease;
}

.css-badge:hover {
    opacity: 0.8;
}
