/* Projects dropdown: matches the existing charcoal, cream and fine gold navigation. */
.projects-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.projects-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding-inline: 0;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-weight: normal;
    line-height: inherit;
    cursor: pointer;
}
.projects-dropdown-toggle:hover,
.projects-dropdown-toggle.is-current,
.projects-dropdown-toggle[aria-expanded="true"] {
    color: #fff3dd;
    border-bottom-color: var(--gold, #b99a6c);
}
.projects-chevron {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid var(--gold, #b99a6c);
    border-bottom: 1px solid var(--gold, #b99a6c);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}
.projects-dropdown-toggle[aria-expanded="true"] .projects-chevron {
    transform: translateY(2px) rotate(225deg);
}
.projects-dropdown-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    min-width: 228px;
    padding: 8px 0;
    background: #242122;
    border: 1px solid var(--line, #ae936e);
    box-shadow: 0 12px 28px #0008;
}
/* Explicitly preserve hidden state even with site-wide display rules. */
.projects-dropdown-links[hidden] { display: none !important; }
.projects-dropdown-link {
    display: block;
    padding: 11px 17px;
    color: var(--cream, #f1eadc);
    font: 15px/1.3 Georgia, 'Times New Roman', serif;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.projects-dropdown-link:hover,
.projects-dropdown-link:focus-visible,
.projects-dropdown-link.is-current {
    background: #3b3430;
    color: #e8c48f;
}
@media (max-width: 720px) {
    .projects-dropdown { display: block; width: 100%; }
    .projects-dropdown-toggle {
        display: flex;
        width: 100%;
        font-size: 16px;
        padding: 11px 8px;
        border-bottom: 1px solid #51463a;
        text-align: center;
    }
    .projects-dropdown-links {
        position: static;
        min-width: 0;
        width: 100%;
        padding: 2px 0 8px;
        border: 0;
        border-bottom: 1px solid #51463a;
        box-shadow: none;
        background: #252122;
    }
    .projects-dropdown-link { font-size: 15px; padding: 11px 16px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .projects-chevron, .projects-dropdown-link { transition: none; }
}
