html { scroll-behavior: smooth; }
.content p { margin-bottom: .8rem; }
.content a { color: #54A0FF; }
.content img { border-radius: .5rem; margin: .7rem 0; max-width: 100%; height: auto; }
.content img,
.content a img {
    cursor: zoom-in;
}
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.image-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}
.image-lightbox-backdrop,
.image-lightbox-content,
.image-lightbox-content img {
    will-change: transform, opacity;
}
.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 7, 16, 0.86);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.image-lightbox-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(94vw, 1200px);
    height: min(88vh, 920px);
    margin: 6vh auto;
    padding: 0.75rem;
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.image-lightbox-content img {
    display: block;
    max-width: min(92vw, 1160px);
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 0.8rem;
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.55);
    transform: scale(0.985);
    transition: transform 0.22s ease;
}
.image-lightbox.is-open .image-lightbox-backdrop {
    opacity: 1;
}
.image-lightbox.is-open .image-lightbox-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.image-lightbox.is-open .image-lightbox-content img {
    transform: scale(1);
}
.image-lightbox.is-portrait .image-lightbox-content img {
    max-width: min(62vw, 760px);
    max-height: 84vh;
}
.image-lightbox-content figcaption {
    margin-top: 0.75rem;
    color: #dbe8f7;
    text-align: center;
    font-size: 0.95rem;
    max-width: min(94vw, 900px);
}
.image-lightbox-close {
    position: fixed;
    z-index: 3;
    right: 1rem;
    top: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(160, 180, 204, 0.55);
    border-radius: 999px;
    background: rgba(10, 22, 40, 0.72);
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.image-lightbox-close:hover {
    background: rgba(46, 134, 222, 0.35);
    border-color: rgba(84, 160, 255, 0.9);
    transform: scale(1.03);
}
.image-lightbox-close:focus-visible {
    outline: 2px solid #54A0FF;
    outline-offset: 2px;
}
.nav-link-active {
    color: #2E86DE !important;
    background-color: rgba(46, 134, 222, 0.10);
}
.site-nav {
    --nav-bg-alpha: 0;
    --nav-line-alpha: 0;
    --nav-blur: 0px;
    background-color: rgba(10, 22, 40, var(--nav-bg-alpha));
    border-bottom: 1px solid rgba(30, 58, 95, var(--nav-line-alpha));
    backdrop-filter: blur(var(--nav-blur));
    -webkit-backdrop-filter: blur(var(--nav-blur));
    transition: background-color 0.14s linear, border-color 0.14s linear, backdrop-filter 0.14s linear, -webkit-backdrop-filter 0.14s linear;
}
.hero-bg-image {
    min-width: 800px;
    object-position: 35% center;
}
.hero-reveal > * {
    opacity: 0;
    transform: translateY(18px);
    animation: heroFadeUp 0.7s ease-out forwards;
}
.hero-reveal > *:nth-child(1) { animation-delay: 0.08s; }
.hero-reveal > *:nth-child(2) { animation-delay: 0.18s; }
.hero-reveal > *:nth-child(3) { animation-delay: 0.28s; }
.hero-reveal > *:nth-child(4) { animation-delay: 0.38s; }
.hero-scroll-cue {
    animation: heroArrowBounce 1.8s ease-in-out infinite, heroArrowBlink 1.8s ease-in-out infinite;
}
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes heroArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
@keyframes heroArrowBlink {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}
.members-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.member-card { width: 100%; }
.desktop-nav {
    display: none;
}
.mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #A0B4CC;
    border: 1px solid rgba(30, 58, 95, 0.55);
    border-radius: 0.6rem;
    background: rgba(10, 22, 40, 0.6);
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.mobile-nav-toggle:hover {
    color: #fff;
    border-color: rgba(84, 160, 255, 0.7);
    background: rgba(30, 58, 95, 0.55);
}
.mobile-nav-toggle:focus-visible {
    outline: 2px solid #54A0FF;
    outline-offset: 2px;
}
.mobile-nav-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, visibility 0s linear 0.3s;
}
.mobile-nav-panel.is-open {
    max-height: 85vh;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}
.mobile-nav-inner {
    border-top: 1px solid rgba(30, 58, 95, 0.6);
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.9rem 0.9rem 1rem;
}
.mobile-nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 0.95rem;
    border-radius: 0.65rem;
    color: #A0B4CC;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-family: 'Oswald', sans-serif;
    transition: color 0.25s ease, background-color 0.25s ease;
}
.mobile-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.mobile-nav-link.nav-link-active {
    color: #2E86DE !important;
    background: rgba(46, 134, 222, 0.14) !important;
}
.mobile-nav-facebook {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.4rem;
    margin-left: 0.15rem;
    color: #A0B4CC;
    font-size: 0.85rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}
.mobile-nav-facebook:hover {
    color: #54A0FF;
}
.okapele-img {
    float: left;
    max-width: 320px;
    width: 100%;
    min-width: 220px;
    margin: 0 2rem 1.2rem 0;
    border-radius: 1rem;
    box-shadow: 0 4px 24px 0 #0004;
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
}
.okapele-img:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 32px 0 #0006;
}
@media (max-width: 1100px) {
    .desktop-nav { display: none; }
    .mobile-nav-toggle { display: inline-flex; }
}
@media (min-width: 1101px) {
    .desktop-nav { display: flex; }
    .mobile-nav-toggle { display: none !important; }
    .mobile-nav-panel { display: none !important; }
}
@media (min-width: 640px) {
    .member-card { width: calc(50% - 0.5rem); }
}
@media (min-width: 1024px) {
    .members-grid { flex-wrap: nowrap; }
    .member-card { width: 230px; max-width: 230px; }
}
@media (max-width: 640px) {
    .image-lightbox-content {
        width: 96vw;
        height: 86vh;
        margin: 7vh auto;
        padding: 0.25rem;
    }

    .image-lightbox-content figcaption {
        font-size: 0.88rem;
    }

    .image-lightbox-content img {
        max-width: 94vw;
        max-height: 78vh;
    }

    .image-lightbox.is-portrait .image-lightbox-content img {
        max-width: 90vw;
        max-height: 78vh;
    }
}
