/* HABLUXE COMMUNITY STAFF DIRECTORY V2 */

.staff-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #f3f8fb;
}

.staff-page-hero {
    position: relative;
    min-height: 224px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    border: 1px solid #36566c;
    border-radius: 15px;
    background:
        radial-gradient(
            circle at 84% 34%,
            rgba(64, 164, 211, .2),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            rgba(25, 45, 62, .99),
            rgba(10, 24, 38, .99)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .055),
        0 16px 36px rgba(0, 0, 0, .2);
    isolation: isolate;
}

.staff-page-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .08;
    background: transparent;
}

.staff-page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #dfb652, #65c8ec, transparent 80%);
}

.staff-page-hero__content {
    align-self: center;
    padding: 28px 32px;
}

.staff-page-hero__eyebrow {
    display: block;
    color: #74c8ed;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.staff-page-hero h1 {
    max-width: 780px;
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: .98;
}

.staff-page-hero__content > p {
    max-width: 700px;
    margin: 11px 0 0;
    color: #9aadb9;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
}

.staff-page-hero__stats {
    max-width: 550px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0 0;
}

.staff-page-hero__stats > div {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #3a5b70;
    border-radius: 9px;
    background: rgba(4, 19, 31, .56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.staff-page-hero__stats dt {
    color: #738b9b;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.staff-page-hero__stats dd {
    margin: 4px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

.staff-page-hero__visual {
    position: relative;
    min-height: 224px;
    overflow: hidden;
}

.staff-page-hero__visual::before {
    content: "";
    position: absolute;
    right: 20px;
    bottom: -74px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(102, 199, 237, .18);
    border-radius: 50%;
    background: rgba(55, 151, 197, .07);
}

.staff-page-hero__featured {
    position: absolute;
    inset: 0;
    display: block;
    color: inherit;
    text-decoration: none;
}

.staff-page-hero__featured-avatar {
    position:relative;
    z-index:2;
    min-height:260px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    overflow:visible;
}

.staff-page-hero__featured-avatar img {
    display:block;
    height:260px;
    max-width:none;
    image-rendering:pixelated;
    filter:drop-shadow(0 14px 18px rgba(0,0,0,.55));
    transform:translateY(12px);
}

    position: absolute;
    right: 175px;
    bottom: 0;
    width: 190px;
    height: 210px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.staff-page-hero__featured-avatar img {
    height: 260px;
    max-width: none;
    image-rendering: pixelated;
    filter: drop-shadow(0 11px 15px rgba(0, 0, 0, .52));
    transition: transform .18s ease, filter .18s ease;
}

.staff-page-hero__featured-avatar:hover img {
    transform: translateY(-4px);
}
.staff-page-hero__featured > img {
    position: absolute;
    right: 95px;
    bottom: -8px;
    height: 200px;
    max-width: none;
    image-rendering: pixelated;
    filter: drop-shadow(0 11px 15px rgba(0, 0, 0, .52));
    transition: transform .18s ease, filter .18s ease;
}

.staff-page-hero__featured:hover > img {
    transform: translateY(-3px);
    filter:
        drop-shadow(0 12px 16px rgba(0, 0, 0, .55))
        drop-shadow(0 0 10px rgba(92, 193, 235, .2));
}

.staff-page-hero__featured-label {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    padding: 6px 8px;
    border: 1px solid rgba(105, 198, 235, .42);
    border-radius: 6px;
    background: rgba(4, 20, 32, .78);
    color: #76c9ed;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.staff-page-hero__featured-copy {
    position: absolute;
    z-index: 2;
    right: 55px;
    bottom: 18px;
    width: 200px;
    padding: 12px 15px;
    border: 1px solid #3d657d;
    border-radius: 9px;
    background: rgba(4, 19, 31, .88);
    backdrop-filter: blur(8px);
}

.staff-page-hero__featured-copy strong,
.staff-page-hero__featured-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-page-hero__featured-copy strong {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.staff-page-hero__featured-copy small {
    margin-top: 4px;
    color: #9db5c7;
    font-size: 11px;
    font-weight: 800;
}

.staff-page-hero__empty-art {
    min-height: 224px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(103, 191, 232, .28);
    font-size: 66px;
}

.staff-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 16px;
}

.staff-departments,
.staff-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.staff-department {
    position: relative;
    overflow: hidden;
    border: 1px solid #304b5e;
    border-left: 3px solid var(--staff-department-color);
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(24, 43, 59, .99),
            rgba(10, 24, 38, .99)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 10px 26px rgba(0, 0, 0, .16);
}

.staff-department__header {
    min-height: 76px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    border-bottom: 1px solid #304b5e;
    background:
        linear-gradient(
            90deg,
            color-mix(
                in srgb,
                var(--staff-department-color) 11%,
                rgba(5, 21, 34, .5)
            ),
            rgba(5, 21, 34, .32)
        );
}

.staff-department__badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid
        color-mix(
            in srgb,
            var(--staff-department-color) 58%,
            #496274
        );
    border-radius: 9px;
    background:
        color-mix(
            in srgb,
            var(--staff-department-color) 18%,
            rgba(5, 21, 34, .72)
        );
}

.staff-department__badge img {
    max-width: 39px;
    max-height: 39px;
    image-rendering: pixelated;
}

.staff-department__badge span {
    color: #fff;
    font-size: 16px;
}

.staff-department__heading {
    min-width: 0;
}

.staff-department__heading > span {
    display: block;
    color: var(--staff-department-color);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.staff-department__heading h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.staff-department__heading p {
    overflow: hidden;
    margin: 4px 0 0;
    color: #7d93a2;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-department__count {
    min-width: 70px;
    padding: 8px 10px;
    border: 1px solid #38576b;
    border-radius: 8px;
    background: rgba(4, 19, 31, .46);
    text-align: center;
}

.staff-department__count strong,
.staff-department__count span {
    display: block;
}

.staff-department__count strong {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.staff-department__count span {
    margin-top: 2px;
    color: #748a99;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.staff-department__body {
    padding:16px;
}

.staff-department__body .staff-member-card {
    width:100%;
}

.staff-department__grid {
    display:grid;
    width:100%;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:18px;
}

.staff-department__grid > * {
    min-width:0;
}

.staff-department__empty {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px dashed
        color-mix(
            in srgb,
            var(--staff-department-color) 28%,
            transparent
        );
    border-radius: 10px;
    background:
        radial-gradient(
            circle at 50% 0,
            color-mix(
                in srgb,
                var(--staff-department-color) 8%,
                transparent
            ),
            transparent 65%
        );
    text-align: center;
}

.staff-department__empty > div {
    color: color-mix(
        in srgb,
        var(--staff-department-color) 72%,
        #7fa0b4
    );
    font-size: 19px;
}

.staff-department__empty h3 {
    margin: 7px 0 0;
    color: #e3ecf1;
    font-size: 11px;
    font-weight: 900;
}

.staff-department__empty p {
    max-width: 430px;
    margin: 5px 0 0;
    color: #748b9a;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
}

.staff-sidebar-card {
    overflow: hidden;
    border: 1px solid #304b5e;
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(24, 43, 59, .99),
            rgba(10, 24, 38, .99)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 10px 26px rgba(0, 0, 0, .16);
}

.staff-sidebar-card__header {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-bottom: 1px solid #304b5e;
    background: rgba(5, 21, 34, .4);
}

.staff-sidebar-card__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3d718c;
    border-radius: 8px;
    background: rgba(56, 154, 201, .1);
    color: #74c7eb;
    font-size: 11px;
    font-weight: 900;
}

.staff-sidebar-card__header > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.staff-sidebar-card__header span {
    display: block;
    color: #718999;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.staff-sidebar-card__header h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.staff-sidebar-card__header > strong {
    min-width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3d7c53;
    border-radius: 999px;
    background: rgba(48, 148, 70, .11);
    color: #82e295;
    font-size: 9px;
    font-weight: 900;
}

.staff-online-list {
    padding: 8px;
}

.staff-online-member {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease;
}

.staff-online-member:hover {
    border-color: #36576c;
    background: rgba(54, 153, 198, .075);
}

.staff-online-member:focus-visible,
.staff-newest-member:focus-visible,
.staff-page-hero__featured:focus-visible {
    outline: 2px solid rgba(255, 220, 115, .92);
    outline-offset: 3px;
}

.staff-online-member__avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid #3b5d72;
    border-radius: 8px;
    background: rgba(4, 19, 31, .58);
}

.staff-online-member__avatar img {
    width: 46px;
    max-width: none;
    margin-top: -2px;
    image-rendering: pixelated;
}

.staff-online-member__identity {
    min-width: 0;
    flex: 1;
}

.staff-online-member__identity strong,
.staff-online-member__identity small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-online-member__identity strong {
    color: #edf4f7;
    font-size: 10px;
    font-weight: 900;
}

.staff-online-member__identity small {
    margin-top: 3px;
    color: #748b9a;
    font-size: 8px;
    font-weight: 800;
}

.staff-online-member__indicator {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #66dc7d;
    box-shadow: 0 0 9px rgba(102, 220, 125, .72);
}

.staff-sidebar-card__empty {
    min-height: 126px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
}

.staff-sidebar-card__empty > span {
    color: #557b92;
    font-size: 17px;
}

.staff-sidebar-card__empty strong {
    margin-top: 6px;
    color: #e1eaf0;
    font-size: 10px;
    font-weight: 900;
}

/* HABLUXE RECENT STAFF ACTIVITY FEED V1 */

.staff-activity-list {
    display:flex;
    flex-direction:column;
    gap:10px;
}

.staff-activity-item {
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px;
    border-radius:10px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.08);
}

.staff-activity-item__icon {
    width:30px;
    height:30px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    background:rgba(88,169,255,.14);
    border:1px solid rgba(88,169,255,.25);
    color:#76c9ed;
    font-size:13px;
}

.staff-activity-item__content {
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:3px;
}

.staff-activity-item__content strong {
    display:block;
    color:white;
    font-size:12px;
    line-height:1.35;
    font-weight:800;
}

.staff-activity-item__content strong span {
    color:#b5c8d8;
    font-weight:600;
}

.staff-activity-item__content small {
    color:#91aabd;
    font-size:10px;
    line-height:1.3;
}

/* END HABLUXE RECENT STAFF ACTIVITY FEED V1 */
/* HABLUXE JOIN TEAM CTA V1 */

.staff-join-cta {
    margin-top:24px;
    min-height:104px;
    display:flex;
    align-items:center;
    gap:22px;
    padding:24px 28px;
    border-radius:16px;
    background:
        linear-gradient(
            135deg,
            rgba(36,70,104,.96),
            rgba(10,22,38,.98)
        );
    border:1px solid rgba(91,190,255,.18);
    box-shadow:
        0 18px 40px rgba(0,0,0,.25);
}

.staff-join-cta__icon {
    width:72px;
    height:72px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:rgba(75,170,255,.16);
    border:1px solid rgba(75,170,255,.35);
    color:#8bdcff;
    font-size:30px;
}

.staff-join-cta__content {
    flex:1;
    min-width:0;
}

.staff-join-cta__content h2 {
    margin:0 0 8px;
    color:#ffffff;
    font-size:20px;
    font-weight:900;
}

.staff-join-cta__content p {
    margin:0;
    color:#c5d7e7;
    font-size:13px;
    line-height:1.55;
}

.staff-join-cta__actions {
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
}

.staff-join-cta__button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 20px;
    border-radius:10px;
    color:#d9ebf7;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.14);
    font-size:13px;
    font-weight:900;
    text-decoration:none;
}

.staff-join-cta__button--primary {
    background:rgba(60,145,240,.65);
    border-color:rgba(100,190,255,.75);
    color:#ffffff;
}

.staff-join-cta__button:hover {
    transform:translateY(-1px);
}

@media(max-width:900px) {
    .staff-join-cta {
        flex-direction:column;
        align-items:flex-start;
    }

    .staff-join-cta__actions {
        width:100%;
    }

    .staff-join-cta__button {
        flex:1;
    }
}

/* END HABLUXE JOIN TEAM CTA V1 */

.staff-sidebar-card__empty p {
    margin: 5px 0 0;
    color: #748a99;
    font-size: 8px;
    font-weight: 700;
}

.staff-newest-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: inherit;
    text-decoration: none;
    transition: background .16s ease;
}

.staff-newest-member:hover {
    background: rgba(54, 153, 198, .075);
}

.staff-newest-member__avatar {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid #3b5d72;
    border-radius: 9px;
    background: rgba(4, 19, 31, .58);
}

.staff-newest-member__avatar img {
    width: 51px;
    max-width: none;
    margin-top: -2px;
    image-rendering: pixelated;
}

.staff-newest-member > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.staff-newest-member strong,
.staff-newest-member small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-newest-member strong {
    color: #edf4f7;
    font-size: 10px;
    font-weight: 900;
}

.staff-newest-member small {
    margin-top: 3px;
    color: #748b9a;
    font-size: 8px;
    font-weight: 800;
}

.staff-newest-member > span:last-child {
    color: #73c7eb;
    font-size: 13px;
}

.staff-sidebar__discord {
    color-scheme: dark;
}

.staff-sidebar__discord > div {
    overflow: hidden;
    border: 1px solid #304b5e !important;
    border-radius: 12px !important;
    background:
        linear-gradient(
            145deg,
            rgba(24, 43, 59, .99),
            rgba(10, 24, 38, .99)
        ) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 10px 26px rgba(0, 0, 0, .16);
}

.staff-page-empty {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px solid #304b5e;
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(24, 43, 59, .99),
            rgba(10, 24, 38, .99)
        );
    text-align: center;
}

.staff-page-empty > div {
    color: #69bee5;
    font-size: 27px;
}

.staff-page-empty h2 {
    margin: 10px 0 0;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.staff-page-empty p {
    max-width: 500px;
    margin: 8px 0 0;
    color: #768d9c;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.55;
}

@media (min-width: 1280px) {
    .staff-page {
        position: relative;
        left: 50%;
        width: calc(100vw - 40px);
        max-width: 1500px;
        transform: translateX(-50%);
    }
}

@media (min-width: 1800px) {
    .staff-page {
        max-width: 1560px;
    }
}

@media (max-width: 1040px) {
    .staff-page-hero {
        grid-template-columns: minmax(0, 1fr) 245px;
    }

    .staff-page-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }


.staff-page-hero__featured > img {
        right: 48px;
    }
}

@media (max-width: 900px) {
    .staff-page-layout {
        grid-template-columns: 1fr;
    }

    .staff-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .staff-sidebar__discord {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .staff-page-hero {
        grid-template-columns: 1fr;
    }

    .staff-page-hero__visual {
        min-height: 190px;
    }


.staff-page-hero__featured > img {
        right: 50%;
        bottom: -22px;
        height: 190px;
        transform: translateX(50%);
    }

    .staff-page-hero__featured:hover > img {
        transform: translateX(50%) translateY(-3px);
    }

    .staff-page-hero__content {
        padding: 24px 22px;
    }

    .staff-sidebar {
        grid-template-columns: 1fr;
    }

    .staff-sidebar__discord {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .staff-page-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .staff-page-hero__stats > div {
        padding: 9px;
    }

    .staff-department__header {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .staff-department__badge {
        width: 44px;
        height: 44px;
    }

    .staff-department__count {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .staff-department__heading p {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .staff-page-hero__featured > img,
    .staff-online-member,
    .staff-newest-member {
        transition: none;
    }

    .staff-page-hero__featured:hover > img {
        transform: none;
    }

    @media (max-width: 720px) {
        .staff-page-hero__featured:hover > img {
            transform: translateX(50%);
        }
    }
}
/* HABLUXE STAFF HQ SHELL V1 */

/* Premium dashboard spacing */
.staff-page {
    gap: 24px;
}

/* Hero refinement */
.staff-page-hero {
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 18px 45px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.staff-page-hero h1 {
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -.03em;
}

.staff-page-hero__content > p {
    max-width: 560px;
    font-size: 14px;
    line-height: 1.7;
}

/* Stats feel like live dashboard tiles */
.staff-page-hero__stats > div {
    min-height: 82px;
    border-radius: 12px;
    backdrop-filter: blur(12px);
}

/* Department sections */
.staff-department {
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 12px 30px rgba(0,0,0,.18);
}

.staff-department__header {
    min-height: 82px;
}

/* Sidebar feels like community hub */
.staff-sidebar-card {
    border-radius: 16px;
    box-shadow:
        0 12px 30px rgba(0,0,0,.18);
}

/* Better public team hierarchy */
.staff-department__heading h2 {
    font-size: 18px;
}

.staff-department__heading p {
    font-size: 13px;
}


/* HABLUXE STAFF DEPARTMENT TABS V1 */

.staff-department-tabs {
    display:flex;
    align-items:stretch;
    gap:0;
    margin:0 0 18px;
    overflow:hidden;
    border:1px solid rgba(65,125,170,.55);
    border-radius:12px;
    background:
        linear-gradient(
            180deg,
            rgba(12,28,46,.96),
            rgba(7,18,33,.96)
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 10px 26px rgba(0,0,0,.18);
}

.staff-department-tabs button {
    flex:1;
    min-height:48px;
    padding:0 18px;
    border:0;
    border-right:1px solid rgba(65,125,170,.25);
    background:transparent;
    color:#c7d9e8;
    font-size:13px;
    font-weight:800;
    letter-spacing:.02em;
    cursor:pointer;
    transition:
        background .18s ease,
        color .18s ease;
}

.staff-department-tabs button:last-child {
    border-right:0;
}

.staff-department-tabs button:hover {
    background:rgba(52,130,190,.12);
    color:#ffffff;
}

.staff-department-tabs button.is-active {
    color:#ffffff;
    background:
        linear-gradient(
            180deg,
            rgba(35,112,165,.45),
            rgba(19,65,105,.45)
        );
    box-shadow:
        inset 0 -3px 0 #f5c84c;
}

@media(max-width:900px) {
    .staff-department-tabs {
        overflow-x:auto;
    }

    .staff-department-tabs button {
        flex:0 0 auto;
    }
}
/* HABLUXE STAFF HERO MOCKUP V2 */

.staff-page-hero {
    display:grid;
    grid-template-columns:minmax(0,1.6fr) minmax(340px,.95fr);
    gap:20px;
    padding:18px;
    border:1px solid #2f5974;
    border-radius:18px;
    background:
        radial-gradient(circle at top left, rgba(34,84,119,.22), transparent 42%),
        linear-gradient(145deg, rgba(10,31,49,.98), rgba(5,18,31,.98));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 18px 38px rgba(0,0,0,.22);
}

.staff-page-hero__content {
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    padding:8px 8px 8px 10px;
}

.staff-page-hero__eyebrow {
    display:inline-flex;
    align-self:flex-start;
    padding:6px 12px;
    border:1px solid rgba(98,190,235,.24);
    border-radius:999px;
    background:rgba(10,31,47,.75);
    color:#67c7ef;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.staff-page-hero h1 {
    margin:16px 0 12px;
    color:#ffffff;
    font-size:34px;
    line-height:1.05;
    letter-spacing:-.03em;
}

.staff-page-hero__lead,
.staff-page-hero__content > p {
    max-width:760px;
    margin:0;
    color:#c2d5e2;
    font-size:16px;
    line-height:1.55;
}

.staff-page-hero__stats {
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:14px;
    margin-top:22px;
}

.staff-page-hero__stat {
    min-width:0;
    padding:16px 16px 14px;
    border:1px solid rgba(75,120,151,.45);
    border-radius:14px;
    background:linear-gradient(180deg, rgba(12,33,50,.96), rgba(8,24,39,.96));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.staff-page-hero__stat dt {
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    color:#a9c5d9;
    font-size:11px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.staff-page-hero__stat-icon {
    width:26px;
    height:26px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:rgba(34,89,127,.28);
    color:#7cd4ff;
    font-size:14px;
}

.staff-page-hero__stat dd {
    margin:12px 0 4px;
    color:#ffffff;
    font-size:40px;
    line-height:1;
    font-weight:900;
    letter-spacing:-.04em;
}

.staff-page-hero__stat small {
    display:block;
    color:#8fb0c4;
    font-size:13px;
    font-weight:700;
}

.staff-page-hero__visual {
    position:relative;
    min-height:100%;
    display:flex;
    align-items:stretch;
}

.staff-page-hero__visual::before {
    content:none;
}

.staff-page-hero__featured {
    position:relative;
    inset:auto;
    width:100%;
    display:grid;
    grid-template-columns:120px minmax(0,1fr);
    align-items:center;
    gap:16px;
    padding:18px 20px 18px 18px;
    border:1px solid rgba(67,118,149,.45);
    border-radius:18px;
    background:
        radial-gradient(circle at top right, rgba(63,104,139,.16), transparent 40%),
        linear-gradient(150deg, rgba(8,28,44,.98), rgba(5,18,31,.98));
    color:inherit;
    text-decoration:none;
    overflow:hidden;
}

.staff-page-hero__featured::after {
    content:"";
    position:absolute;
    right:-35px;
    top:22px;
    width:170px;
    height:170px;
    border:1px solid rgba(92,193,235,.13);
    border-radius:50%;
    background:rgba(68,144,188,.07);
    pointer-events:none;
}

.staff-page-hero__featured-label {
    position:absolute;
    top:16px;
    left:18px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    padding:6px 11px;
    border:1px solid rgba(98,190,235,.24);
    border-radius:999px;
    background:rgba(10,31,47,.78);
    color:#67c7ef;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.staff-page-hero__featured-avatar {
    position:relative;
    z-index:2;
    min-height:260px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    overflow:visible;
}

.staff-page-hero__featured-avatar img {
    display:block;
    height:260px;
    max-width:none;
    image-rendering:pixelated;
    filter:drop-shadow(0 14px 18px rgba(0,0,0,.55));
    transform:translateY(12px);
}

    position:relative;
    z-index:1;
    min-height:230px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding-top:34px;
}

.staff-page-hero__featured-avatar img {
    height:220px;
    max-width:none;
    image-rendering:pixelated;
    filter:drop-shadow(0 14px 18px rgba(0,0,0,.55));
}

.staff-page-hero__featured-content {
    position:relative;
    z-index:1;
    min-width:0;
    padding-top:18px;
}

.staff-page-hero__featured-content strong {
    display:block;
    color:#ffffff;
    font-size:26px;
    line-height:1.1;
    font-weight:900;
    letter-spacing:-.03em;
}

.staff-page-hero__featured-role {
    display:block;
    margin-top:8px;
    color:#ffcf4a;
    font-size:14px;
    font-weight:900;
    letter-spacing:.02em;
    text-transform:uppercase;
}

.staff-page-hero__featured-bio {
    margin:14px 0 18px;
    color:#c7d9e5;
    font-size:15px;
    line-height:1.5;
}

.staff-page-hero__featured-meta {
    display:grid;
    gap:10px;
    margin:0;
}

.staff-page-hero__featured-meta div {
    display:grid;
    grid-template-columns:110px minmax(0,1fr);
    gap:10px;
    align-items:start;
}

.staff-page-hero__featured-meta dt {
    color:#b4cad9;
    font-size:13px;
    font-weight:800;
}

.staff-page-hero__featured-meta dd {
    margin:0;
    color:#ffffff;
    font-size:14px;
    font-weight:700;
}

@media (max-width: 1180px) {
    .staff-page-hero {
        grid-template-columns:1fr;
    }

    .staff-page-hero__stats {
        grid-template-columns:repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .staff-page-hero__stats {
        grid-template-columns:1fr;
    }

    .staff-page-hero__featured {
        grid-template-columns:1fr;
        text-align:left;
    }

    .staff-page-hero__featured-avatar {
    position:relative;
    z-index:2;
    min-height:260px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    overflow:visible;
}

.staff-page-hero__featured-avatar img {
    display:block;
    height:260px;
    max-width:none;
    image-rendering:pixelated;
    filter:drop-shadow(0 14px 18px rgba(0,0,0,.55));
    transform:translateY(12px);
}

        justify-content:flex-start;
    }

    .staff-page-hero__featured-meta div {
        grid-template-columns:1fr;
        gap:4px;
    }
}
/* HABLUXE STAFF FEATURED MEMBER CARD V2 */

.staff-page-hero__featured {
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    min-height:260px;
    overflow:hidden;
}

.staff-page-hero__featured-avatar {
    min-height:260px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    background:
        linear-gradient(
            180deg,
            rgba(45,75,112,.35),
            rgba(10,24,42,.8)
        );
}

.staff-page-hero__featured-avatar img {
    height:290px;
    width:auto;
    max-width:none;
    transform:translateY(12px);
}

.staff-page-hero__featured-content {
    padding:28px 24px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.staff-page-hero__featured-content strong {
    font-size:28px;
    line-height:1.1;
    color:#fff;
}

.staff-page-hero__featured-role {
    margin-top:6px;
    color:#58a9ff;
    font-size:15px;
    font-weight:900;
}

.staff-page-hero__featured-bio {
    margin:14px 0;
    color:#b5c8d8;
    font-size:13px;
    line-height:1.5;
}

.staff-page-hero__featured-meta {
    display:grid;
    gap:8px;
}

.staff-page-hero__featured-meta div {
    display:grid;
    grid-template-columns:90px 1fr;
}

.staff-page-hero__featured-meta dt {
    color:#7d93a2;
}

.staff-page-hero__featured-meta dd {
    margin:0;
    color:#fff;
    font-weight:800;
}

/* HABLUXE STAFF FEATURED MEMBER CARD V3 POLISH */

.staff-page-hero__featured {
    grid-template-columns:190px minmax(0,1fr);
    min-height:300px;
    background:
        linear-gradient(
            145deg,
            rgba(15,36,55,.98),
            rgba(5,18,31,.98)
        );
}

.staff-page-hero__featured-avatar {
    min-height:300px;
    position:relative;
}

.staff-page-hero__featured-avatar::after {
    content:"";
    position:absolute;
    left:25px;
    right:25px;
    bottom:25px;
    height:90px;
    border-radius:50%;
    background:rgba(88,169,255,.16);
    filter:blur(22px);
}

.staff-page-hero__featured-avatar img {
    position:relative;
    z-index:1;
    height:330px;
    transform:translateY(18px);
    filter:
        drop-shadow(0 18px 20px rgba(0,0,0,.6));
}

.staff-page-hero__featured-content {
    padding:32px 30px;
}

.staff-page-hero__featured-content strong {
    font-size:30px;
    letter-spacing:-.03em;
}

.staff-page-hero__featured-role {
    font-size:16px;
    text-transform:uppercase;
}

.staff-page-hero__featured-bio {
    max-width:330px;
    margin:16px 0 22px;
}

.staff-page-hero__featured-meta {
    gap:10px;
}

.staff-page-hero__featured-meta div {
    padding:8px 10px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:8px;
    background:rgba(255,255,255,.035);
}

.staff-page-hero__featured-meta dt {
    font-size:11px;
    text-transform:uppercase;
}

.staff-page-hero__featured-meta dd {
    font-size:12px;
}

/* HABLUXE STAFF HERO SIDE CARDS V1 */

.staff-page-hero__visual {
    display:flex;
    flex-direction:column;
    gap:12px;
}

.staff-hero-side-card {
    width:100%;
    border:1px solid #304b5e;
    border-radius:12px;
    background:
        linear-gradient(
            145deg,
            rgba(24,43,59,.98),
            rgba(10,24,38,.98)
        );
    overflow:hidden;
}

.staff-hero-side-card .staff-sidebar-card__header {
    min-height:58px;
    padding:10px 12px;
}

.staff-hero-side-card .staff-online-list {
    padding:8px 12px 12px;
}

.staff-hero-side-card .staff-online-member {
    padding:8px 0;
}

.staff-hero-side-card .staff-newest-member {
    margin:10px 12px 12px;
}


/* HABLUXE STAFF PAGE REAL BACKGROUND V2 */

body:has(.staff-departments) .site-bg {
    background:
        linear-gradient(
            180deg,
            rgba(3,10,20,.35),
            rgba(3,10,20,.82)
        ),
        url("/assets/images/habluxe/cms/HeroNightUse.png")
        center top / cover fixed !important;
}

body:has(.staff-departments) .page-content,
body:has(.staff-departments) .community-page,
body:has(.staff-departments) .staff-page,
body:has(.staff-departments) .page-layout {
    background:transparent !important;
}

body:has(.staff-departments)::before {
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:0;
    background:
        linear-gradient(
            90deg,
            rgba(3,10,20,.55),
            transparent 25%,
            transparent 75%,
            rgba(3,10,20,.55)
        ),
        linear-gradient(
            180deg,
            rgba(5,12,24,.15),
            rgba(5,12,24,.65)
        );
}

.staff-page-hero,
.staff-department-tabs,
.staff-departments,
.staff-sidebar,
.staff-join-cta,
footer {
    position:relative;
    z-index:1;
}
.staff-page-hero,
.staff-department-tabs,
.staff-departments,
.staff-sidebar,
.staff-join-cta,
footer {
    position:relative;
    z-index:1;
}