html {
    background-color: black;
}

body {
    background-color: black;
    color: #FF8C00;
    font-family: "Iosevka Charon Mono", monospace;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.02em;
    max-width: 90%;
    margin: 40px auto;
    font-weight: 700;
    font-style: normal;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* FIX: let the nav drop to a new row when cramped, instead of colliding with the tagline */
    gap: 0.5rem 1.5rem;
    /* space between brand and nav (row-gap column-gap) when they wrap */
}

/* Brand block = the name line + the tagline beneath it */
.brand p {
    margin: 0;
    /* remove default <p> gaps so name + tagline sit tight */
}

.tagline {
    font-size: 0.7em;
    font-weight: 400;
    /* lighter than the bold name above it */
    color: #cc7000;
    /* dimmer orange so the tagline recedes a touch */
    letter-spacing: 0.04em;
    margin-top: 0.15em;
    max-width: 56ch;
    /* wide enough to keep ".NET Realm" on one line, still capped so it won't sprawl into the menu */
}

.secondary-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.secondary-header nav {
    width: 100%;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    /* FIX: whole menu items wrap to a new line if the row runs out of room */
    gap: 1.5rem;
}

.menu li {
    white-space: nowrap;
    /* FIX: keeps "Technical Guides" on ONE line instead of breaking in two */
}

.secondary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.5rem;
}

.secondary-menu li {
    white-space: nowrap;
}

.secondary-menu a {
    text-decoration: none;
    color: #FF8C00;
}

.secondary-menu a:hover {
    text-decoration: underline;
}

.menu a {
    text-decoration: none;
    color: #FF8C00;
}

.menu a:hover {
    text-decoration: underline;
}

.hrule {
    height: 2px;
    background-color: #FF8C00;
    border: none;
}

/* Footer: sits at the bottom of every page */
.site-footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 2px solid #FF8C00;
    font-size: 0.75em;
    font-weight: 400;
    color: #cc7000;
    text-align: center;
}

.site-footer p {
    margin: 0.25em 0;
}

.site-footer a {
    color: #FF8C00;
}

/* ---- Home: Mission / Vision / origin manifesto ---- */
.manifesto {
    max-width: 68ch;
    margin: 2.5rem auto 1rem;
    font-weight: 400;
    /* lighter than the bold chrome — easier on the eyes for real prose */
}

.manifesto .origin {
    color: #cfc9bd;
    /* muted off-white: a quiet, personal preamble, set apart from the Mission/Vision lines */
    font-style: italic;
    margin: 0 0 2.5rem;
}

.statement {
    margin: 2.25rem 0;
}

.statement-label {
    font-size: 1.44em;   /* doubled from 0.72em — now looms over the statement line */
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #cc7000;
    /* matches the tagline / footer accent */
    margin: 0 0 0.75rem;
    text-align: center;
    /* center the MISSION / VISION labels over the column */
}

.statement-lead {
    font-size: 1.15em;
    font-weight: 700;
    color: #e9e4d8;   /* off-white, matches the Notes body text (--w-fg) */
    /* the one-line statement stays bold — it's the punch */
    margin: 0 0 1.1rem;
}

.statement p {
    margin: 0 0 1.1rem;
}

.statement p:last-child {
    margin-bottom: 0;
}

/* Narrow screens: stack the header so the tagline and menu can never collide */
@media (max-width: 640px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu,
    .secondary-menu {
        justify-content: flex-start;
        gap: 0.75rem 1.25rem;
    }
}

@font-face {
    font-display: block;
    font-family: 'Iosevka Charon Mono';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/iosevka-charon-mono-v1-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: block;
    font-family: 'Iosevka Charon Mono';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/iosevka-charon-mono-v1-latin-700.woff2') format('woff2');
}