:root {
    --font-brand: 'Montserrat Alternates', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-editorial: 'Marcellus', Georgia, serif;
    --bs-body-font-family: var(--font-brand);
}

body { font-family: var(--font-brand); }
h1, h2, h3, h4, .btn, .nav-link, .kicker { font-family: var(--font-brand); }
.landing-hero h1 {
    font-family: var(--font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
}

.brand {
    gap: 0 !important;
    font-family: var(--font-brand);
    font-size: inherit !important;
    letter-spacing: normal !important;
}
.brand-wordmark {
    display: inline-flex;
    align-items: center;
    gap: .08rem;
    white-space: nowrap;
}
.brand-copy {
    display: inline-block;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1;
}
.brand-planet {
    display: block;
    width: 2.15rem;
    height: 2.15rem;
    flex: 0 0 auto;
    margin: 0 .08rem;
    filter: drop-shadow(0 0 10px #22d3ee42);
}

/* Keep the AstroLab wordmark readable even if an older site stylesheet is cached. */
.site-header {
    background: #071426f5 !important;
    border-bottom-color: #ffffff16 !important;
}
.site-header .navbar-brand { margin-right: 1.25rem; }
.site-header .brand-copy {
    color: #f7f9fc !important;
    opacity: 1 !important;
    text-shadow: 0 1px 1px #0005;
}
.site-header .brand:hover .brand-copy,
.site-header .brand:focus .brand-copy { color: #fff !important; }

.footer-brand-link {
    display: inline-flex;
    width: max-content;
    margin-bottom: .2rem;
}
.footer-brand-link .brand-copy {
    color: #f7f9fc;
    font-size: .92rem;
}
.footer-brand-link .brand-planet {
    width: 1.85rem;
    height: 1.85rem;
}
.site-footer .brand { text-decoration: none; }
.site-footer .brand:hover .brand-copy,
.site-footer .brand:focus .brand-copy { color: #fff; }
.brand-asset-note { font-family: var(--font-editorial); }

@media (max-width: 420px) {
    .brand-copy {
        font-size: .93rem;
        letter-spacing: .12em;
    }
    .brand-planet {
        width: 1.9rem;
        height: 1.9rem;
    }
    .site-header .navbar-brand { margin-right: .6rem; }
}
