@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@200;300;400;500;600&display=swap');

:root {
    --container: 90%;
    --gap_x: 32px;
    --gap_y: 48px;
    --text: #111;
    --muted: #6B6B6B;
    --border: #E6E6E6;
    --accent: #000;
    --dot: #D9D9D9;
    --dot_active: #AD0C0C;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'Geologica', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

.container {
    position: relative;
    width: 90%;
    margin: auto;
    padding: 0;
}

.page_title {
    margin: 0 0 50px;
    font-weight: 200;
    font-size: 70px;
}

.brand_stack {
    position: fixed;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transform: translateY(0);
    will-change: transform;
    width: 16.5%;
    right: 5%;
    top: 11.25vw;
    transition: all 0.3s ease;
}
.container.content {
    position: relative;
    margin-bottom: 5.2vw;
}


.brand_stack.sticky-fixed {
    position: fixed;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1200px; 
    left: 50%;
    transform: translateX(-50%);
}

.brand_stack.sticky-bottom {
    position: absolute;
    bottom: 2.1vw;
    top: auto;
    right: 0;
    left: auto;
    width: 18.5%;
}

.brand_stack__logo img {
    display: block;
    width: 320px;
    height: auto;
}

.brand_stack__cta {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 15vw;
    background: rgba(145, 145, 145, 1);
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.brand_stack__cta .cta__text {
    white-space: nowrap;
    font-family: 'Geologica', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 1.25vw;
    font-weight: 300;
    line-height: 105%
}

.brand_stack__cta .cta__arrow {
    position: absolute;
    right: 0.75vw;
    bottom: 0.65vw;
    width: 2vw;
    height: 2vw;
    object-fit: contain;
    pointer-events: none;
}

.brand_stack__cta:hover {
    background: rgba(145, 145, 145, 0.7);
}

.cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap_y);
    width: 80%;
}

.row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    column-gap: 1.55vw;
}

.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.55vw;
    align-items: start;
    width: 49%;
    text-decoration: none;
    color: black;
}

.about__avatar {
    width: 100%;
    height: 23vw;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.about__avatar:hover {
    filter: grayscale(0%);
}

.about__info {
    width: 100%;
    height: 23vw;
    display: flex;
    flex-direction: column;
}

.about__name {
    margin: 0 0 0.52vw;
    font-weight: 400;
    font-size: 1.25vw;
    line-height: 105%;
    font-family: 'Geologica', Arial, sans-serif;
    letter-spacing: -0.03em;
}

.about__roles {
    font-weight: 300;
    font-size: 1vw;
    color: black;
    margin: 0;
}

.about__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.62vw;
    width: 100%;
    height: 3.1vw;
    border: 1px solid #111;
    font-weight: 300;
    color: #111;
    background: #fff;
    text-decoration: none;
    transition: all .18s ease;
    font-size: 1.04vw;
    margin-top: auto;
    cursor: pointer;
}

.about__cta:hover img {
    filter: invert(1) brightness(1.15) contrast(1.05);
    mix-blend-mode: normal;
    opacity: 1;
}

.about__cta:hover {
    background: #111;
    color: #fff;
}

.work {
    width: 49%
}

.work_slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.slider__viewport {
    width: 100%;
    overflow: hidden;
}

.slider__track {
    display: flex;
    transition: transform .35s ease;
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.slide img {
    display: block;
    width: 100%;
    height: 23vw;
    object-fit: cover;
}

.work_slider .nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    background: rgba(0, 0, 0, .2);
    border: 0;
    padding: 0;
    cursor: pointer;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.work_slider:hover .nav {
    opacity: 1;
    visibility: visible;
}

.work_slider .nav.prev {
    left: 0;
}

.work_slider .nav.next {
    right: 0;
}

.work_slider .nav::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.work_slider .nav.prev::before {
    transform: rotate(-135deg);
}

.work_slider .nav.next::before {
    transform: rotate(45deg);
}

.slider__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.slider__dots .dot {
    width: 0.6vw;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #ccc;
    border: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.slider__dots .dot.is_active {
    background: var(--brand);
}

.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2.1vw;
  margin-bottom: 5.2vw;
}
.more {
    width: 18.5%;
    appearance: none;
    border: 1px solid black;
    background: var(--btn-bg);
    color: black;
    font-size: 1vw;
    font-weight: 300;
    font-family: 'Geologica', serif;
    height: 3.1vw;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.more:hover {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}
.title-min{
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'Geologica', serif;

}

.title-glav{
    color: #6B6B6B;
    text-decoration: none;
}

@media (max-width: 1400px) {
    .brand_stack
    {
        top: 12.15vw;
    }
}



@media (min-width: 768px) and (max-width: 1024px) {
    :root {
        --gap_x: 24px;
        --gap_y: 5.9vw;
    }
    
    .container.content
    {
        margin-bottom: 10.4vw;
    }

    .container {
        width: calc(100% - 40px);
        margin-inline: auto;
    }

    .content
    {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .page_title {
        font-size: 56px;
        margin: 0 0 32px;
        line-height: 1.05;
    }

    .brand_stack {
        display: none;
    }

    .cards {
        width: 100%;
    }

    .row {
        display: flex;
        align-items: stretch;
        gap: 2.6vw;
    }

    .about {
        display: flex;
        align-items: flex-start;
        column-gap: 2.6vw;  
        width: 50%;
    }

    .about__avatar {
        width: 50%;
        height: 30.5vw;
        object-fit: cover;
    }

    .about__info {
        display: flex;
        flex-direction: column;
        min-width: 0;
        height: 30.5vw;
    }

    .about__name {
        font-size: 2.9vw;
        margin: 0 0 1.3vw;
    }

    .about__roles {
        font-size: 2.3vw;
    }

    .about__cta {
        height: 5.2vw;
        font-size: 1.85vw;
    }

    .about__cta::after {
        content: "ПОРТФОЛИО";
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text);
        font-size: 16px;
        font-weight: 300;
        pointer-events: none;
    }

    .work
    {
        width: 50%;
    }

     .work_slider .nav{
        display: none;
    }

    .work_slider__slide img {
        height: 30.5vw;
        object-fit: cover;
    }

    .work_slider .nav {
        display: none
    }

    .work_slider__dots {
        padding-top: 8px;
        gap: 6px;
    }

    .dot {
        width: 1.6vw;
    }

    .dot.is_active {
        background: var(--brand);
        aspect-ratio: 1 / 1;
    }

    .more {
        width: calc(50% - (var(--gap) / 2));
        appearance: none;
        border: 1px solid var(--text);
        background: #fff;
        font-weight: 300;
        font-family: Geologica, Arial, sans-serif;
        cursor: pointer;
        transition: all .18s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-main);
        text-transform: uppercase;
        grid-column: 2 / 2;
        height: 4vw;
        font-size: 1.3vw;
    }
    .actions
    {
        margin-top: 3.1vw;
    }
}
@media (max-width: 767px) {
    :root {
        --gap_x: 16px;
        --gap_y: 24px;
    }

    .container.content
    {
        margin-bottom: 12.8vw;
    }

    .container {
        width: 90%;
    }

    .content
    {
        margin-bottom: 0;
        padding: 0;
    }

    .page_title {
        margin: 0 0 24px;
        font-size: 32px;
        line-height: 105%
    }

    .brand_stack {
        display: none;
    }

    .cards {
        gap: 7.7vw;
        width: 100%;
    }

    .row {
        flex-direction: column;
        gap: 5.6vw;
    }

    .about {
        gap: 5.6vw;
        align-items: stretch;
        flex-direction: row;
        width: 100%;
    }

    .about__avatar {
        height: 55vw;
        width: 100%;
        object-fit: cover;
    }

    .about__info {
        display: flex;
        flex-direction: column;
        min-width: 0;
        height: 55vw;
    }

    .about__name {
        font-size: 5vw;
        margin: 0 0 1.1vw;
    }

    .about__roles {
        font-size: 4.5vw;
        margin: 0;
    }

    .about__cta {
        position: relative;
        margin-top: auto;
        align-self: flex-start;
        width: 100%;
        font-size: 4vw;
        padding: 0 6vw;
        height: 11vw;
        gap: 2vw;
    }

    .work {
        width: 100%;
    }

    .work_slider .nav {
        display: none;
    }

    .slide img {
        height: 61vw;
    }

    .slider__dots {
        gap: 6px;
        padding-top: 8px;
    }

    .slider__dots .dot {
        width: 10px;
        height: 10px;
    }

    .slider__dots .dot.is_active {
        width: 12px;
        height: 12px;
    }


    .more {
        width: 100%;
        height: 11vw;
        font-size: 3.5vw;
    }

    .actions {
        margin: 5.5vw 0 16.7vw;
    }

    .nav {
        display: none;
    }
}