.header-6e8aad9 {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
}

.date-6e8aad9 {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-style: italic;
    font-family: var(--font-mono);
}

@media (max-width: 768px) {
    .header-6e8aad9 {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

/* Article body uses Inter for readability */
.content-6e8aad9 {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    font-family: var(--font-body);
}

/* Markdown Content Styling */
.content-6e8aad9 h1,
.content-6e8aad9 h2,
.content-6e8aad9 h3,
.content-6e8aad9 h4,
.content-6e8aad9 h5,
.content-6e8aad9 h6 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--color-text);
    font-family: var(--font-mono);
}

.content-6e8aad9 h1 {
    font-size: 2.2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
    color: var(--color-text);
}

.content-6e8aad9 h2 {
    font-size: 1.8rem;
}

.content-6e8aad9 h3 {
    font-size: 1.5rem;
}

.content-6e8aad9 ul,
.content-6e8aad9 ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-6e8aad9 li {
    margin-bottom: 0.6rem;
    padding-left: 0.5rem;
}

.content-6e8aad9 li::marker {
    color: var(--color-primary);
}

.content-6e8aad9 a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 4px;
    transition: all 0.2s;
}

@media (hover: hover) {
    .content-6e8aad9 a:hover {
        background-color: transparent;
        color: var(--color-primary);
        text-decoration-thickness: 2px;
    }
}

.content-6e8aad9 blockquote {
    border-left: 3px solid var(--color-primary);
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background-color: var(--color-background);
    font-style: italic;
    color: var(--color-text-secondary);
}

.content-6e8aad9 pre {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.content-6e8aad9 code {
    font-family: var(--font-mono);
    background-color: var(--color-background);
    padding: 0.2em 0.4em;
    font-size: 0.9em;
    color: var(--color-primary);
    border-radius: 3px;
    border: 1px solid var(--color-border);
}

.content-6e8aad9 pre code {
    background-color: transparent;
    padding: 0;
    font-size: 0.9em;
    color: inherit;
    border: none;
}

.content-6e8aad9 strong {
    color: var(--color-text);
    font-weight: 600;
}

.content-6e8aad9 img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--color-border);
    margin: 1rem 0;
    border-radius: 4px;
}

.content-6e8aad9 hr {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: 2.5rem 0;
}

@media (max-width: 768px) {
    .content-6e8aad9 {
        font-size: 1.05rem;
    }

    .content-6e8aad9 h1 {
        font-size: 1.8rem;
    }

    .content-6e8aad9 h2 {
        font-size: 1.5rem;
    }

    .content-6e8aad9 h3 {
        font-size: 1.3rem;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}



.post_list-91f2f4a {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    counter-reset: blog-post;
}

.article_card-91f2f4a {
    display: flex;
    flex-direction: column;
    border: var(--border-thin);
    padding: 24px;
    transition: all 0.2s ease;
    background-color: var(--color-panel-bg);
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    counter-increment: blog-post;
    height: 100%;
    font-family: var(--font-mono);
}

/* First item spans full width */
.article_card-91f2f4a:nth-child(1) {
    grid-column: 1 / -1;
}

/* If the last item is even, make it full width too */
.article_card-91f2f4a:last-child:nth-child(even) {
    grid-column: 1 / -1;
}

@media (hover: hover) {
    .article_card-91f2f4a:hover {
        border-color: var(--color-primary);
        box-shadow: var(--shadow-hover);
        transform: translateY(-4px);
    }
}

.article_card-91f2f4a:active {
    transition-duration: 0s;
    border-color: var(--color-primary);
}

.article_title-91f2f4a {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text);
    transition: color 0.2s;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

/* Database Indexing */
.article_title-91f2f4a::before {
    content: counter(blog-post, decimal-leading-zero) " // ";
    color: var(--color-primary);
    font-size: 0.8em;
    font-weight: 400;
    opacity: 0.8;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (hover: hover) {
    .article_card-91f2f4a:hover .article_title-91f2f4a {
        color: var(--color-primary);
    }
}

.article_card-91f2f4a:active .article_title-91f2f4a {
    transition-duration: 0s;
    color: var(--color-primary);
}

.date-91f2f4a {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    display: inline-block;
    font-style: italic;
}

.summary-91f2f4a {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--color-text-secondary);
    flex-grow: 1;
}

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

    .article_card-91f2f4a {
        padding: 16px;
    }

    .article_title-91f2f4a {
        font-size: 1rem;
    }
}

.container-cb17011 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    color: var(--color-text);
    font-family: var(--font-main);
}

.page_title-cb17011 {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--color-text);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.page_title-cb17011::before {
    content: "// ";
}

.back_link_container-cb17011 {
    margin-top: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.back_link-cb17011 {
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--color-text-muted);
    transition: all 0.2s;
    font-family: var(--font-mono);
    display: inline-block;
    font-size: 0.9rem;
}

@media (hover: hover) {
    .back_link-cb17011:hover {
        color: var(--color-primary);
        border-bottom: 1px dashed var(--color-primary);
    }
}

.back_link-cb17011:active {
    color: var(--color-primary);
    border-bottom: 1px dashed var(--color-primary);
}



@media (max-width: 768px) {
    .container-cb17011 {
        padding: 20px 16px;
    }

    .page_title-cb17011 {
        font-size: 1.75rem;
    }
}

/* Page Corners Removed */

.home_container-5182da4 {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-main);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* --- SECTION 1: MASTHEAD & NAV --- */

.masthead_container-5182da4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.giant_title-5182da4 {
    font-family: var(--font-mono);
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.8;
    color: var(--color-text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -4px;
}

.nav_row-5182da4 {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    width: 100%;
    justify-content: space-between;
    padding: 0 10px;
}

/* --- SECTION 2: SPLIT LAYOUT --- */

.main_content_grid-5182da4 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    flex-grow: 1;
    min-height: 500px;
}

/* LEFT: BLUEPRINT AREA */
.blueprint_panel-5182da4 {
    border: var(--border-thin);
    background-color: var(--color-panel-bg);
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.blueprint_header-5182da4 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.blueprint_content-5182da4 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.diagram_image-5182da4 {
    width: 100%;
    height: 400px;
    background: url('/assets/mercury-diagram.svg') center/contain no-repeat;
    opacity: 0.9;
    filter: brightness(0);
}

[data-theme="dark"] .diagram_image-5182da4 {
    filter: brightness(0) invert(1);
}

/* RIGHT: INSTRUMENT PANEL */
.instrument_panel-5182da4 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.voltmeter_container-5182da4 {
    background-color: var(--color-panel-bg);
    border: var(--border-thin);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gauge_label-5182da4 {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 10px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
}

.gauge_wrapper-5182da4 {
    position: relative;
    width: 240px;
    height: 140px;
    overflow: hidden;
    margin: 20px 0;
}

.gauge_dial-5182da4 {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 8px solid var(--color-border);
    background: transparent;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.gauge_needle-5182da4 {
    position: absolute;
    top: 120px;
    left: calc(50% - 2px);
    width: 4px;
    height: 100px;
    background-color: var(--color-primary);
    transform-origin: top center;
    z-index: 2;
    transform: rotate(90deg);
}

.gauge_needle-5182da4::after {
    content: "";
    position: absolute;
    top: -6px;
    left: -4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-text);
}

.readout_row-5182da4 {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
    position: relative;
    z-index: 10;
    background-color: var(--color-panel-bg);
}

.digital_group-5182da4 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.digital_label-5182da4 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.digital_readout-5182da4 {
    font-family: var(--font-mono);
    background-color: var(--color-text);
    color: var(--color-primary);
    padding: 8px 12px;
    font-size: 1rem;
    text-align: center;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- SECTION 3: CONTROL DECK (BOTTOM) --- */

.control_deck-5182da4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.control_module-5182da4 {
    background-color: var(--color-panel-bg);
    border: var(--border-thin);
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.control_module-5182da4:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.control_module-5182da4:hover .module_label-5182da4 {
    color: var(--color-primary);
}

.module_label-5182da4 {
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.module_status-5182da4 {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

/* --- SECTION 4: INTRO --- */
.intro_section-5182da4 {
    margin-bottom: 30px;
    padding: 24px;
    text-align: left;
    background-color: var(--color-panel-bg);
    border: var(--border-thin);
    position: relative;
}

.intro_text-5182da4 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0;
}

.intro_text-5182da4 strong {
    color: var(--color-primary);
    font-weight: 700;
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .giant_title-5182da4 {
        font-size: 5rem;
    }

    .main_content_grid-5182da4 {
        grid-template-columns: 1fr;
    }

    .nav_row-5182da4 {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .giant_title-5182da4 {
        font-size: 3.5rem;
        letter-spacing: -2px;
    }

    .home_container-5182da4 {
        padding: 20px;
    }

    .nav_row-5182da4 {
        justify-content: center;
        gap: 10px;
        padding: 0;
    }

    .control_deck-5182da4 {
        grid-template-columns: 1fr;
    }

    .intro_section-5182da4 {
        padding: 15px;
        margin-bottom: 20px;
    }

    .intro_text-5182da4 {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Base Body Styles */
html {
    background-color: var(--color-background);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-main);
    text-shadow: var(--text-shadow-std);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scale up for Desktop */
@media (min-width: 768px) {
    html {
        font-size: 110%;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

::selection {
    background: var(--color-primary);
    color: #ffffff;
    text-shadow: none;
}

/* NAVBAR STYLES */
.nav-ef449aa {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    background-color: transparent;
    font-family: var(--font-mono);
    position: relative;
    z-index: 100;
    width: 100%;
}

.links-ef449aa {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.link-ef449aa {
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    letter-spacing: 1px;
}

@media (hover: hover) {
    .link-ef449aa:hover {
        color: var(--color-primary);
        border-bottom-color: var(--color-primary);
        background-color: transparent;
    }
}

.link-ef449aa:active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}



/* GitHub Icon */
.github_icon-ef449aa {
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-left: 20px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .github_icon-ef449aa:hover {
        color: var(--color-primary);
        background-color: transparent;
        border: 1px solid var(--color-primary);
    }
}

@media (max-width: 768px) {
    .nav-ef449aa {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 10px;
    }

    .links-ef449aa {
        gap: 24px;
        width: 100%;
        justify-content: center;
    }

    .link-ef449aa {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .github_icon-ef449aa {
        margin-left: 0;
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }
}

@media (max-width: 420px) {
    .nav-ef449aa {
        padding: 0.75rem 0.5rem;
    }

    .links-ef449aa {
        gap: 16px;
    }

    .link-ef449aa {
        font-size: 0.75rem;
        padding: 6px 6px;
        letter-spacing: 0.5px;
    }
}

/* FOOTER STYLES */
.footer-ef449aa {
    border-top: 1px solid var(--color-border);
    background-color: transparent;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.footer-ef449aa::after {
    content: "/// END OF LINE ///";
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    opacity: 0.5;
    margin-top: 1rem;
    letter-spacing: 3px;
    font-family: var(--font-mono);
}

.text-ef449aa {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.footer_highlight-ef449aa {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--color-primary);
    font-weight: bold;
}

/* Theme Switcher */
.theme_switcher-ef449aa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .theme_switcher-ef449aa:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
        background-color: transparent;
    }
}

.theme_switcher-ef449aa:active {
    transform: translateY(1px);
}

.header-233421b {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.project_grid-233421b {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(352px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.card-233421b {
    background-color: var(--color-panel-bg);
    border: var(--border-thin);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    height: 100%;
}

.card-233421b:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card_header-233421b {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
}

.card_name-233421b {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-233421b:hover .card_name-233421b {
    color: var(--color-primary);
}

.card_status-233421b {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 8px;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status_online-233421b {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    background-color: rgba(255, 107, 53, 0.1);
}

.card_desc-233421b {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    font-family: var(--font-mono);
}

.tech_stack-233421b {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech_tag-233421b {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    background-color: var(--color-background);
    padding: 4px 8px;
}

.loading-233421b {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-size: 1.2rem;
    text-align: center;
    padding-top: 100px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

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

    .header-233421b {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@font-face {
    font-family: 'Departure Mono';
    src: url('assets/fonts/DepartureMono-1.500/DepartureMono-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* CLEAN CARD THEME - Inspired by ChainGPT Labs */

    /* Primary Accent */
    --color-primary: #ff6b35;

    /* Backgrounds */
    --color-background: #f5f5f5;
    /* Light grey page background */
    --color-panel-bg: #ffffff;
    /* White cards */

    /* Text Colors */
    --color-text: #1a1a1a;
    /* Dark charcoal */
    --color-text-secondary: #4a4a4a;
    /* Medium grey */
    --color-text-muted: #8a8a8a;
    /* Light grey text */

    /* Borders */
    --color-border: #e0e0e0;
    /* Light grey borders */

    /* Fonts */
    --font-mono: 'Departure Mono', monospace;
    --font-main: 'Departure Mono', monospace;
    /* Main font is now Departure Mono */
    --font-body: 'Inter', sans-serif;
    /* Body text for articles */

    /* Shadows & Effects */
    --shadow-hard: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Subtle shadow */
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    /* Hover shadow */

    --text-shadow-std: none;

    /* Borders - Clean & Minimal */
    --border-thin: 1px solid var(--color-border);
    --border-solid: 1px solid var(--color-border);
    --border-dashed: 1px dashed var(--color-border);
    --border-primary: 2px solid var(--color-primary);
}

/* DARK THEME*/
[data-theme="dark"] {
    --color-primary: #ff6b35;

    --color-background: #141414;
    --color-panel-bg: #1c1c1c;

    --color-text: #e0e0e0;
    --color-text-secondary: #b0b0b0;
    --color-text-muted: #707070;


    --color-border: #3a3a3a;



    --shadow-hard: 0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 8px 24px rgba(255, 107, 53, 0.15);

}

/* Smooth transitions for theme changes */
*,
*::before,
*::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}