/* ==========================================================================
   Frontier Nexus — theme tokens (Light / Dark / Auto)
   ========================================================================== */

* { box-sizing: border-box; }

:root {
    --gh-font-heading: 'Source Serif 4', Georgia, serif;
    --gh-font-body: 'Work Sans', -apple-system, sans-serif;

    /* --accent-light-raw / --accent-dark-raw / --navy / --hero-overlay are
       injected by default.hbs from Ghost's custom theme settings. Everything
       below maps those (plus fixed neutrals) onto the tokens every rule in
       this file actually uses. */

    --accent: var(--accent-light-raw, #367CDD);
    --bg: #FFFFFF;
    --bg-alt: #F7FAFD;
    --card-bg: #FFFFFF;
    --border: #E4E9F0;
    --heading: var(--navy, #0B2545);
    --article-text: #2C3B4D;
    --body-text: #5B6B80;
    --meta: #8695A8;
    --logo: #47566B;
    --header-bg: rgba(255, 255, 255, 0.92);
    --subscribe-text: #FFFFFF;
    --tag-bg: #EAF1FB;
    --avatar-border: #C7D3E2;
    --avatar-bg: #F4F7FB;
    --hover-strong: var(--navy, #0B2545);
    --btn-hover-bg: var(--navy, #0B2545);
    --selection-bg: #DCE9FB;

    /* Code blocks — "Tomorrow" palette for light mode */
    --code-bg: #F7F7F7;
    --code-fg: #4D4D4C;
    --code-comment: #8E908C;
    --code-string: #718C00;
    --code-constant: #F5871F;
    --code-keyword: #8959A8;
    --code-function: #4271AE;
    --code-variable: #C82829;
    --code-operator: #3E999F;
    --code-inline-bg: var(--tag-bg);
    --code-inline-fg: var(--heading);
}

/* Auto: follows the OS/browser preference, unless the person has explicitly
   forced a theme (data-theme="light"), in which case this is skipped. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --accent: var(--accent-dark-raw, #5B9DF0);
        --bg: #0A1120;
        --bg-alt: #0D1526;
        --card-bg: #101830;
        --border: #1B2740;
        --heading: #F3F6FB;
        --article-text: #D7E0EC;
        --body-text: #9FB0C7;
        --meta: #7488A3;
        --logo: #C3CEE0;
        --header-bg: rgba(10, 17, 32, 0.85);
        --subscribe-text: #08101F;
        --tag-bg: #142544;
        --avatar-border: #33455F;
        --avatar-bg: #101830;
        --hover-strong: #FFFFFF;
        --btn-hover-bg: #3E7FD1;
        --selection-bg: #1F3A63;

        /* Code blocks — "Tomorrow Night" palette for dark mode */
        --code-bg: #1D1F21;
        --code-fg: #C5C8C6;
        --code-comment: #969896;
        --code-string: #B5BD68;
        --code-constant: #DE935F;
        --code-keyword: #B294BB;
        --code-function: #81A2BE;
        --code-variable: #CC6666;
        --code-operator: #8ABEB7;
        --code-inline-bg: var(--tag-bg);
        --code-inline-fg: var(--heading);
    }
}

/* Manual override: wins regardless of OS preference */
:root[data-theme="dark"] {
    --accent: var(--accent-dark-raw, #5B9DF0);
    --bg: #0A1120;
    --bg-alt: #0D1526;
    --card-bg: #101830;
    --border: #1B2740;
    --heading: #F3F6FB;
    --article-text: #D7E0EC;
    --body-text: #9FB0C7;
    --meta: #7488A3;
    --logo: #C3CEE0;
    --header-bg: rgba(10, 17, 32, 0.85);
    --subscribe-text: #08101F;
    --tag-bg: #142544;
    --avatar-border: #33455F;
    --avatar-bg: #101830;
    --hover-strong: #FFFFFF;
    --btn-hover-bg: #3E7FD1;
    --selection-bg: #1F3A63;

    /* Code blocks — "Tomorrow Night" palette for dark mode */
    --code-bg: #1D1F21;
    --code-fg: #C5C8C6;
    --code-comment: #969896;
    --code-string: #B5BD68;
    --code-constant: #DE935F;
    --code-keyword: #B294BB;
    --code-function: #81A2BE;
    --code-variable: #CC6666;
    --code-operator: #8ABEB7;
    --code-inline-bg: var(--tag-bg);
    --code-inline-fg: var(--heading);
}

body {
    margin: 0;
    font-family: var(--gh-font-body);
    color: var(--body-text);
    background: var(--bg);
    transition: background-color 0.15s ease, color 0.15s ease;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--hover-strong); }
::selection { background: var(--selection-bg); }
img { max-width: 100%; display: block; }

.site-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main { flex: 1 0 auto; }

/* ==========================================================================
   Theme toggle — single button, cycles Light → Dark → Auto on each click
   ========================================================================== */

.theme-toggle-btn {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--meta);
    cursor: pointer;
    flex: 0 0 auto;
}
.theme-toggle-btn:hover { color: var(--heading); }

.theme-icon { display: none; color: inherit; }
.theme-toggle-btn[data-state="light"] .icon-sun { display: block; }
.theme-toggle-btn[data-state="dark"] .icon-moon { display: block; }
.theme-toggle-btn[data-state="system"] .icon-system { display: block; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    width: 100%;
    box-sizing: border-box;
    padding: 22px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--header-bg);
    backdrop-filter: blur(6px);
    z-index: 10;
}

.site-logo {
    font-family: 'Orbitron', var(--gh-font-heading);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.7px;
    color: var(--logo);
}
.site-logo-img { max-height: 32px; }

/* If a dark-mode logo is set (Design → theme settings), both images render
   in the HTML and CSS shows only the one matching the active theme — the
   theme choice is decided client-side, so Handlebars can't pick between
   them at render time. With no dark logo uploaded, .site-logo-img-dark
   never exists in the DOM and the light logo just stays visible always. */
.site-logo-img-dark { display: none; }

:root[data-theme="dark"] .site-logo-img-light { display: none; }
:root[data-theme="dark"] .site-logo-img-dark { display: inline-block; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .site-logo-img-light { display: none; }
    :root:not([data-theme="light"]) .site-logo-img-dark { display: inline-block; }
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--logo);
}
.site-nav a:hover { color: var(--hover-strong); }

/* Ghost's {{navigation}} helper outputs <ul class="nav"><li>...</li></ul>, not
   plain <a> tags — .site-nav being flex only lays out the <ul> as one item,
   so its own list defaults (bullets, block-stacked <li>s) need resetting here. */
.site-nav .nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav .nav li { margin: 0; padding: 0; }
.site-nav .nav li.nav-current > a { color: var(--heading); }

/* Hamburger toggle — hidden on desktop, shown only under the breakpoint below */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    flex: 0 0 auto;
}
.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--heading);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
    .nav-toggle { display: flex; }

    .site-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--card-bg);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(11, 37, 69, 0.08);
        padding: 8px 0;
    }
    .site-header.nav-open .site-nav-links { display: flex; }

    .site-nav .nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .site-nav .nav li { width: 100%; }
    .site-nav .nav li a {
        display: block;
        padding: 14px 24px;
        border-bottom: 1px solid var(--border);
    }

    .theme-toggle-btn { margin: 12px 24px 0 24px; }
    .btn-subscribe {
        margin: 12px 24px 4px 24px;
        text-align: center;
    }
}

.btn-subscribe {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--subscribe-text) !important;
    background: var(--accent);
    padding: 10px 20px;
    border-radius: 6px;
}
.btn-subscribe:hover { background: var(--btn-hover-bg); color: var(--subscribe-text) !important; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-bg {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    min-height: 320px;
    background-color: #0B1A2E;
    background-image: linear-gradient(0deg, rgba(4,10,20,0.68) 0%, rgba(4,10,20,0.5) 50%, rgba(4,10,20,0.66) 100%), linear-gradient(160deg, #0B2545 0%, #1E5AA8 55%, #4A8FE0 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-inner {
    width: 100%;
    box-sizing: border-box;
    padding: 48px 64px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--tag-bg);
    border: 1px solid transparent;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

/* The hero always sits on a photo, so its eyebrow stays white/translucent
   in both themes rather than following the tag-bg token. */
.hero-inner .eyebrow {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
}

.hero-bg h1 {
    font-family: var(--gh-font-heading);
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    max-width: 780px;
}

.hero-bg p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Content wrap / section heading
   ========================================================================== */

.content-wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 64px 96px 64px;
    max-width: 1120px;
    margin: 0 auto;
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 40px 0 32px 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.section-heading h2 {
    font-family: var(--gh-font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--heading);
    margin: 0;
}

/* ==========================================================================
   Masonry post grid + post card
   ========================================================================== */

.masonry {
    column-count: 3;
    column-gap: 28px;
}

@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 600px) { .masonry { column-count: 1; } }

.post-card {
    display: block;
    break-inside: avoid;
    margin-bottom: 28px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-bg);
    color: inherit;
    transition: box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.post-card:hover {
    box-shadow: 0 12px 28px rgba(11, 37, 69, 0.1);
    transform: translateY(-2px);
    color: inherit;
}

.post-card-image {
    width: 100%;
    height: 260px;
    background: linear-gradient(160deg, #0B2545, #1E5AA8);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    box-sizing: border-box;
}

.placeholder-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.post-card-body { padding: 22px; }

.post-card-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.post-card-title {
    font-family: var(--gh-font-heading);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--heading);
    margin: 0 0 10px 0;
}

.post-card-excerpt {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--body-text);
    margin: 0 0 16px 0;
}

.post-card-meta { font-size: 13px; color: var(--meta); }

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.pagination .page-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--meta);
}

.pagination a {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}
.pagination a:hover { color: var(--hover-strong); }

/* ==========================================================================
   Tag archive header
   ========================================================================== */

.archive-header {
    width: 100%;
    box-sizing: border-box;
    padding: 64px 64px 24px 64px;
    max-width: 1120px;
    margin: 0 auto;
}
.archive-header h1 {
    font-family: var(--gh-font-heading);
    font-size: 38px;
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 12px 0;
}
.archive-header p { font-size: 16px; color: var(--body-text); max-width: 640px; margin: 0; }

/* ==========================================================================
   Single post
   ========================================================================== */

.post-full-header {
    width: 100%;
    box-sizing: border-box;
    padding: 56px 64px 0 64px;
    max-width: 900px;
    margin: 0 auto;
}

.back-link { font-size: 14px; font-weight: 600; color: var(--meta); }

.post-full-tags { display: flex; gap: 8px; align-items: center; margin: 24px 0 20px 0; }

.tag-pill {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--subscribe-text);
    background: var(--accent);
    padding: 3px 9px;
    border-radius: 100px;
}

.post-full-title {
    font-family: var(--gh-font-heading);
    font-size: 40px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 28px 0;
}

.post-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.avatar, .avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex: 0 0 auto;
    object-fit: cover;
}
.avatar-placeholder {
    border: 2px dashed var(--avatar-border);
    background: var(--avatar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.avatar-placeholder span { font-size: 8px; font-weight: 600; color: var(--meta); }

.author-name { font-size: 14px; font-weight: 600; color: var(--heading); }
.post-meta { font-size: 13px; color: var(--meta); }

.post-full-cover {
    width: 100%;
    max-width: 900px;
    height: 420px;
    margin: 0 auto 48px auto;
    border-radius: 12px;
    background: linear-gradient(160deg, #0B2545, #1E5AA8);
    background-size: cover;
    background-position: center;
}

.gh-content {
    width: 100%;
    box-sizing: border-box;
    padding: 0 64px 24px 64px;
    max-width: 900px;
    margin: 0 auto;
}

.gh-content p { font-size: 18px; line-height: 1.8; color: var(--article-text); margin: 0 0 24px 0; }
.gh-content h2 { font-family: var(--gh-font-heading); font-size: 26px; font-weight: 600; color: var(--heading); margin: 40px 0 18px 0; }
.gh-content h3 { font-family: var(--gh-font-heading); font-size: 21px; font-weight: 600; color: var(--heading); margin: 32px 0 14px 0; }
.gh-content blockquote {
    margin: 32px 0;
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--accent);
    font-family: var(--gh-font-heading);
    font-size: 22px;
    line-height: 1.5;
    font-style: italic;
    color: var(--heading);
}
.gh-content ul, .gh-content ol { padding-left: 22px; margin: 0 0 24px 0; }
.gh-content li { font-size: 18px; line-height: 1.8; color: var(--article-text); margin-bottom: 8px; }
.gh-content img { border-radius: 8px; margin: 8px 0 32px 0; }
.gh-content figcaption { font-size: 14px; color: var(--meta); text-align: center; margin-top: -20px; margin-bottom: 32px; }
.gh-content a { text-decoration: underline; }

/* Koenig editor image-width cards — break out of the 900px text column */
.gh-content .kg-width-wide {
    width: 1200px;
    max-width: calc(100vw - 128px);
    margin-left: 50%;
    transform: translateX(-50%);
}
.gh-content .kg-width-full {
    width: 100vw;
    max-width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}
.gh-content .kg-width-full img,
.gh-content .kg-width-wide img { border-radius: 0; margin-bottom: 0; }

/* ==========================================================================
   Code blocks (Prism.js) — "Tomorrow" in light mode, "Tomorrow Night" in
   dark, following the same theme automatically. Prism only adds/removes
   .token classes; every color here is ours, not a loaded Prism theme file.
   ========================================================================== */

.gh-content pre[class*="language-"] {
    background: var(--code-bg);
    color: var(--code-fg);
    margin: 8px 0 32px 0;
    padding: 20px 24px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 15px;
    line-height: 1.65;
}
.gh-content pre[class*="language-"] code[class*="language-"] {
    background: none;
    padding: 0;
    color: inherit;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    text-shadow: none;
}

/* Inline `code` — not inside a fenced block */
.gh-content :not(pre) > code {
    background: var(--code-inline-bg);
    color: var(--code-inline-fg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9em;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata { color: var(--code-comment); font-style: italic; }

.token.punctuation { color: var(--code-fg); opacity: 0.75; }

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted { color: var(--code-constant); }

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted { color: var(--code-string); }

.token.operator,
.token.entity,
.token.url {
    color: var(--code-operator);
    background: none;
}

.token.atrule,
.token.attr-value,
.token.keyword { color: var(--code-keyword); }

.token.function,
.token.class-name { color: var(--code-function); }

.token.regex,
.token.important,
.token.variable { color: var(--code-variable); }

.token.important,
.token.bold { font-weight: 700; }
.token.italic { font-style: italic; }
.token.entity { cursor: help; }

.post-full-tags-list {
    width: 100%;
    box-sizing: border-box;
    padding: 0 64px 48px 64px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-pill-outline {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent) !important;
    background: var(--tag-bg);
    padding: 6px 14px;
    border-radius: 100px;
}

.author-bio {
    width: 100%;
    box-sizing: border-box;
    padding: 32px 64px;
    max-width: 900px;
    margin: 0 auto 48px auto;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.avatar-lg, .avatar-placeholder-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex: 0 0 auto;
    object-fit: cover;
}
.avatar-placeholder-lg {
    border: 2px dashed var(--avatar-border);
    background: var(--avatar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.avatar-placeholder-lg span { font-size: 10px; font-weight: 600; color: var(--meta); }
.author-bio p { font-size: 15px; line-height: 1.6; color: var(--body-text); margin: 6px 0 10px 0; }
.author-bio a { font-size: 14px; font-weight: 600; }

/* ==========================================================================
   Related posts
   ========================================================================== */

.related-posts { padding-top: 16px; }
.related-posts h2 {
    font-family: var(--gh-font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 24px 0;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
@media (max-width: 800px) { .related-grid { grid-template-columns: 1fr; } }

.related-card { display: block; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; color: inherit; background: var(--card-bg); }
.related-image { width: 100%; height: 140px; background: linear-gradient(160deg, #14335C, #2C6FCB); background-size: cover; background-position: center; }
.related-body { padding: 18px; }
.related-body h3 { font-family: var(--gh-font-heading); font-size: 16px; font-weight: 600; color: var(--heading); margin: 0 0 8px 0; }
.related-meta { font-size: 12.5px; color: var(--meta); }

/* ==========================================================================
   Pages / About page
   ========================================================================== */

.page-full-header {
    width: 100%;
    box-sizing: border-box;
    padding: 56px 64px 0 64px;
    max-width: 900px;
    margin: 0 auto;
}
.page-full-title {
    font-family: var(--gh-font-heading);
    font-size: 42px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 24px 0;
}

.about-intro {
    width: 100%;
    box-sizing: border-box;
    padding: 80px 64px 0 64px;
    max-width: 880px;
    margin: 0 auto;
}
.headshot-row { display: flex; justify-content: center; margin-bottom: 20px; }
.headshot, .headshot-placeholder {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    flex: 0 0 auto;
    object-fit: cover;
}
.headshot-placeholder {
    border: 2px dashed var(--avatar-border);
    background: var(--avatar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.headshot-placeholder span {
    font-family: var(--gh-font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--meta);
    text-align: center;
    line-height: 1.3;
}
.about-content { padding-top: 8px; }

/* ==========================================================================
   Author archive page
   ========================================================================== */

.author-intro {
    width: 100%;
    box-sizing: border-box;
    padding: 72px 64px 48px 64px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.author-intro .eyebrow { display: inline-block; }
.author-intro .page-full-title { margin: 0 0 16px 0; }
.author-intro-bio {
    font-size: 17px;
    line-height: 1.7;
    color: var(--body-text);
    margin: 0;
}

/* ==========================================================================
   Error page
   ========================================================================== */

.error-page { text-align: center; padding-top: 96px; }
.error-page h1 { font-family: var(--gh-font-heading); font-size: 32px; color: var(--heading); }
.btn-primary {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--subscribe-text) !important;
    background: var(--accent);
    padding: 12px 24px;
    border-radius: 6px;
    margin-top: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    width: 100%;
    box-sizing: border-box;
    padding: 40px 64px;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}
.site-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.site-footer-logo { font-family: var(--gh-font-heading); font-size: 16px; color: var(--heading); }
.site-footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer-nav a { font-size: 14px; color: var(--logo); }
.site-footer-nav .nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer-nav .nav li { margin: 0; padding: 0; }
.site-footer-copyright { font-size: 13px; color: var(--meta); }
