* {
    box-sizing: border-box;
}

:root {
    --brand: #00a9bd;
    --brand-deep: #00869a;
    --brand-pale: #eaf8fa;
    --page-bg: #f4fbfc;
    --line: #b9dfe4;
    --ink: #1d4c56;
    --muted: #58727a;
    --accent: #f3df25;
    --accent-deep: #c9af00;
    --white: #ffffff;

    /* Aliases used by the page-specific stylesheets. */
    --sky: var(--brand);
    --sky-dark: var(--brand-deep);
    --sky-soft: var(--brand-pale);
    --gold: #ad8218;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.navbar {
    width: 100%;
    background: var(--brand);
    border-bottom: 0;
    box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 30px;
}

.nav-logo,
.nav-link {
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
}

.nav-logo {
    font-size: 22px;
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    position: relative;
    font-size: 15px;
    opacity: 0.82;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link.active {
    opacity: 1;
}

.nav-link.active::after {
    position: absolute;
    right: 0;
    bottom: -17px;
    left: 0;
    height: 3px;
    content: "";
    background: var(--accent);
}

.bass-clef {
    margin-right: 3px;
}

.site-footer {
    padding: 16px 20px;
    border-top: 0;
    color: var(--white);
    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    background: var(--brand-deep);
    box-shadow: inset 0 2px 0 var(--accent);
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 650px) {
    .nav-container {
        padding: 14px 18px;
    }

    .nav-logo {
        font-size: 18px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-link {
        font-size: 13px;
    }

    .nav-link.active::after {
        bottom: -15px;
    }

    .bass-clef {
        display: none;
    }
}
