:root {
    --nav-h: 80px;
    --bg-dark: #000000;
    --bg-anthracite: #1a1a1a;
    --white: #ffffff;
    --pt-serif: "PT Serif", serif;
    --satoshi: 'Satoshi', sans-serif;
    --cubic: cubic-bezier(0.23, 1, 0.32, 1);
    --container-w: 1200px;
    --side-gutter: 25px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body,
html {
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: var(--satoshi);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 10000;
    display: flex;
    align-items: center;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--side-gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.6;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}


/* Состояние активной ссылки */
.nav-links a.active {
    opacity: 1;
    position: relative;
}

/* Линия под текстом */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    /* Расстояние от текста до линии */
    left: 0;
    width: 100%;
    height: 2px;
    /* Толщина линии */
    background-color: var(--white);
}

/* Burger Button */
.burger-btn {
    display: none;
    /* По умолчанию скрыт на десктопе */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

.burger-btn span {
    width: 28px;
    height: 2px;
    background-color: var(--white);
    transition: 0.4s var(--cubic);
}

/* Состояние крестика */
.burger-btn.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.6s var(--cubic);
}

.mobile-menu.is-active {
    right: 0;
}

.mobile-menu a {
    font-family: var(--pt-serif);
    font-size: 32px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s var(--cubic);
}

/* Анимация появления ссылок в меню */
.mobile-menu.is-active a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 991px) {
    .nav-links {
        display: none;
        /* Прячем обычные ссылки */
    }

    .burger-btn {
        display: flex;
        /* Показываем бургер */
    }
}

/* ===== COMPACT LUXURY FOOTER ===== */
.footer {
    background-color: var(--bg-anthracite);
    color: var(--white);
    padding: 60px 0 30px;
    /* Уменьшенные вертикальные отступы */
    font-family: var(--satoshi);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--side-gutter);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* Левый блок */
.footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-address {
    font-style: normal;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 20px;
}

.footer-contacts-links {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.3s var(--cubic);
}

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

/* Правый блок (Навигация) */
.footer-nav-wrapper ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.footer-nav-wrapper a {
    color: var(--white);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: 0.3s var(--cubic);
}

.footer-nav-wrapper a:hover {
    opacity: 1;
}

/* Разделитель и Копирайт */
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Социальные иконки */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity 0.3s var(--cubic), transform 0.3s var(--cubic);
}

.footer-socials a:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav-wrapper ul {
        flex-direction: column;
        gap: 12px;
    }

    .footer-contacts-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}



/* ==========================================================================
   STUFF SECTION — REFINED EDITORIAL TEAM HIERARCHY
   ========================================================================== */

:root {
    --accent-gold: #b89a68;
}

.stuff-section {
    position: relative;
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: calc(var(--nav-h) + 70px) var(--side-gutter) 160px;
}

/* Header */
.stuff-header {
    text-align: center;
    margin-bottom: 90px;
}

.stuff-eyebrow {
    font-family: var(--satoshi);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    display: inline-block;
}

/* Group Headers (Directors / Shisha Bosses) */
.stuff-group-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}

.stuff-group-label {
    font-family: var(--satoshi);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.stuff-group-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 100%);
}

/* Base Person Link */
.person {
    display: block;
    position: relative;
    text-decoration: none;
    color: var(--white);
    outline: none;
    cursor: pointer;
    overflow: hidden;
}

.person:focus-visible {
    outline: 1px solid var(--accent-gold);
    outline-offset: 4px;
}

/* Person Media Container */
.person-media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #080808;
}

.person-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) contrast(1.04) saturate(0.96);
    transition: transform 0.9s var(--cubic), filter 0.9s var(--cubic);
    will-change: transform, filter;
}

/* Specific Image Crop Positioning */
.person-img--rasul {
    object-position: center 20%;
}

.person-img--ruslan {
    object-position: center 15%;
}

.person-img--shami {
    object-position: center 15%;
}

.person-img--uluxan {
    object-position: center 15%;
}

.person-img--cavidan {
    object-position: center 20%;
}

.person-img--vusal {
    object-position: center 15%;
}

.person-img--ceyhun {
    object-position: center 15%;
}

/* Inside-Image Overlay for Typography */
.person-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
    transition: transform 0.8s var(--cubic);
}

.person-role {
    font-family: var(--satoshi);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-gold);
    transition: opacity 0.4s ease;
}

.person-name {
    font-family: var(--pt-serif);
    font-weight: 400;
    color: var(--white);
    margin: 0;
    transition: color 0.4s ease;
}

.person-line {
    display: block;
    background-color: var(--accent-gold);
    transition: width 0.8s var(--cubic), opacity 0.8s ease;
}

/* ==========================================================================
   LEVEL 1 — DIRECTORS (UNIFIED SPREAD COMPOSITION)
   ========================================================================== */

.stuff-group--directors {
    margin-bottom: 140px;
}

.stuff-directors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px; /* Razor-thin gap forming a unified editorial spread */
    background-color: rgba(255, 255, 255, 0.02);
}

.person--director .person-media {
    aspect-ratio: 4 / 5;
}

.person--director .person-overlay {
    padding: 44px 40px;
    gap: 8px;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.92) 0%, 
        rgba(0, 0, 0, 0.55) 45%, 
        rgba(0, 0, 0, 0) 100%
    );
}

.person--director .person-role {
    font-size: 10.5px;
    letter-spacing: 0.28em;
    opacity: 0.95;
}

.person--director .person-name {
    font-size: clamp(36px, 3.8vw, 56px);
    line-height: 1.05;
}

.person--director .person-line {
    width: 32px;
    height: 1.5px;
    opacity: 0.85;
    margin-top: 4px;
}

/* Director Hover */
.person--director:hover .person-img {
    transform: scale(1.02);
    filter: brightness(1.02) contrast(1.06) saturate(1.05);
}

.person--director:hover .person-overlay {
    transform: translateY(-4px);
}

.person--director:hover .person-line {
    width: 52px;
    opacity: 1;
}

/* ==========================================================================
   LEVEL 2 — SHISHA BOSSES (SECONDARY GALLERY)
   ========================================================================== */

.stuff-group--bosses {
    margin-bottom: 40px;
}

.stuff-bosses {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 20px;
    row-gap: 24px;
}

.stuff-bosses .person--boss {
    grid-column: span 2;
}

/* Center second row of 2 bosses on desktop (3 + 2 layout) */
.stuff-bosses .person--boss:nth-child(4) {
    grid-column: 2 / span 2;
}

.stuff-bosses .person--boss:nth-child(5) {
    grid-column: 4 / span 2;
}

.person--boss .person-media {
    aspect-ratio: 3 / 4;
}

.person--boss .person-overlay {
    padding: 26px 22px;
    gap: 5px;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.88) 0%, 
        rgba(0, 0, 0, 0.48) 45%, 
        rgba(0, 0, 0, 0) 100%
    );
}

.person--boss .person-role {
    font-size: 9px;
    letter-spacing: 0.22em;
    opacity: 0.9;
}

.person--boss .person-name {
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.15;
}

.person--boss .person-line {
    width: 22px;
    height: 1px;
    opacity: 0.75;
    margin-top: 2px;
}

/* Boss Hover */
.person--boss:hover .person-img {
    transform: scale(1.025);
    filter: brightness(1.02) contrast(1.05) saturate(1.05);
}

.person--boss:hover .person-overlay {
    transform: translateY(-3px);
}

.person--boss:hover .person-line {
    width: 36px;
    opacity: 1;
}

/* ==========================================================================
   RESPONSIVE ADAPTATION
   ========================================================================== */

@media (max-width: 1024px) {
    .stuff-section {
        padding: calc(var(--nav-h) + 50px) var(--side-gutter) 110px;
    }

    .stuff-header {
        margin-bottom: 70px;
    }

    .stuff-group--directors {
        margin-bottom: 100px;
    }

    .stuff-directors {
        gap: 4px;
    }

    .person--director .person-overlay {
        padding: 32px 28px;
    }

    .stuff-bosses {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 16px;
        row-gap: 20px;
    }

    .stuff-bosses .person--boss {
        grid-column: span 1;
    }

    .stuff-bosses .person--boss:nth-child(4) {
        grid-column: span 1;
    }

    /* Center 5th boss on tablet */
    .stuff-bosses .person--boss:nth-child(5) {
        grid-column: 1 / span 2;
        max-width: calc(50% - 8px);
        margin: 0 auto;
        width: 100%;
    }

    .person--boss .person-overlay {
        padding: 22px 18px;
    }
}

@media (max-width: 680px) {
    .stuff-section {
        padding: calc(var(--nav-h) + 30px) 20px 80px;
    }

    .stuff-header {
        margin-bottom: 50px;
    }

    .stuff-group--directors {
        margin-bottom: 70px;
    }

    .stuff-group-header {
        margin-bottom: 24px;
        gap: 14px;
    }

    .stuff-directors {
        grid-template-columns: 1fr;
        gap: 12px;
        background-color: transparent;
    }

    .person--director .person-media {
        aspect-ratio: 4 / 5;
    }

    .person--director .person-name {
        font-size: 32px;
    }

    .person--director .person-overlay {
        padding: 28px 24px;
        gap: 6px;
    }

    .stuff-bosses {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .stuff-bosses .person--boss,
    .stuff-bosses .person--boss:nth-child(4),
    .stuff-bosses .person--boss:nth-child(5) {
        grid-column: span 1;
        max-width: 100%;
        margin: 0;
    }

    .person--boss .person-media {
        aspect-ratio: 4 / 5;
    }

    .person--boss .person-name {
        font-size: 22px;
    }

    .person--boss .person-overlay {
        padding: 20px 18px;
        gap: 4px;
    }
}