/* =========================================================
   SIBSOKNSK — VISUAL V3
   ========================================================= */


/* WORDPRESS ADMIN BAR */

body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {

    body.admin-bar .site-header {
        top: 46px;
    }

}


/* HEADER REFINEMENT */

@media (min-width: 901px) {

    .header-inner {
        min-height: 96px;
        gap: 28px;
    }

    .desktop-menu {
        gap: 23px;
    }

    .main-nav a {
        font-size: 11px;
        letter-spacing: .075em;
    }

    .header-cta {
        padding: 14px 19px;
        white-space: nowrap;
    }

}


/* =========================================================
   HERO V3
   ========================================================= */

.hero-v3 {
    min-height: 100svh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    isolation: isolate;
    background:
        linear-gradient(
            105deg,
            #090a0b 0%,
            #101113 48%,
            #151617 100%
        );
}

.hero-v3::after {
    content: none;
}

.hero-v3-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    opacity: .35;
    background-image:
        linear-gradient(
            rgba(255,255,255,.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );
    background-size:
        110px 110px,
        110px 110px;
    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 35%,
            #000 100%
        );
}

.hero-v3-glow {
    position: absolute;
    z-index: -2;
    width: 800px;
    height: 800px;
    right: -170px;
    top: 2%;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(
            circle,
            rgba(204,170,111,.19) 0,
            rgba(176,138,80,.07) 35%,
            transparent 68%
        );
    filter: blur(12px);
}

.hero-v3-layout {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 64px), var(--max));
    padding-top: 150px;
    padding-bottom: 115px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, .95fr);
    gap: clamp(55px,7vw,120px);
    align-items: center;
}

.hero-v3-copy {
    min-width: 0;
}

.hero-v3-kicker-row {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    max-width: 680px;
    align-items: center;
}

.hero-v3-index {
    color: #6d6b67;
    font-size: 10px;
    letter-spacing: .2em;
    white-space: nowrap;
}

.hero-v3 h1 {
    max-width: 790px;
    margin:
        clamp(28px,3vw,43px)
        0
        clamp(30px,3vw,42px);
    font-size:
        clamp(
            70px,
            7.1vw,
            118px
        );
    line-height: .87;
    font-weight: 500;
    letter-spacing: -.058em;
}

.hero-v3 h1 span {
    color: var(--gold-light);
}

.hero-v3 .hero-description {
    max-width: 570px;
    margin: 0;
    color: #aaa69f;
    font-size: clamp(16px,1.25vw,19px);
    line-height: 1.65;
}

.hero-v3 .hero-actions {
    margin-top: 42px;
}


/* HERO VISUAL */

.hero-visual {
    position: relative;
    min-height: clamp(500px,66vh,720px);
    overflow: hidden;
    align-self: center;
    width: 100%;
    max-width: 650px;
    justify-self: end;
    border:
        1px solid
        rgba(255,255,255,.1);
    background: #151617;
    box-shadow:
        0 45px 100px rgba(0,0,0,.28);
}

.hero-visual-media {
    position: absolute;
    inset: 0;
}

.hero-visual-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual-fallback {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 68% 31%,
            rgba(216,181,119,.27),
            transparent 22%
        ),
        linear-gradient(
            145deg,
            #242527 0%,
            #141517 48%,
            #0b0c0d 100%
        );
}

.hero-visual-fallback::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 69px,
            rgba(255,255,255,.09) 70px
        );
}

.hero-visual-fallback::after {
    content: "";
    position: absolute;
    inset:
        9%
        8%;
    border:
        1px solid
        rgba(202,171,116,.22);
    transform:
        translate(18%,8%)
        rotate(-5deg);
}

.architecture {
    position: absolute;
    bottom: -8%;
    border:
        1px solid
        rgba(211,181,126,.22);
    background:
        linear-gradient(
            180deg,
            rgba(207,175,117,.08),
            rgba(255,255,255,.015)
        );
    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.025);
}

.architecture-a {
    left: 13%;
    width: 21%;
    height: 73%;
    transform:
        skewY(-7deg);
}

.architecture-b {
    left: 38%;
    width: 27%;
    height: 91%;
    transform:
        translateY(8%)
        skewY(5deg);
}

.architecture-c {
    right: 9%;
    width: 22%;
    height: 62%;
    transform:
        translateY(-3%)
        skewY(-4deg);
}

.visual-ring {
    position: absolute;
    border-radius: 50%;
    border:
        1px solid
        rgba(206,174,116,.22);
}

.visual-ring-a {
    width: 440px;
    height: 440px;
    right: -180px;
    top: 3%;
}

.visual-ring-b {
    width: 260px;
    height: 260px;
    left: -100px;
    bottom: 6%;
}

.visual-monogram {
    position: absolute;
    top: 50%;
    left: 50%;
    color:
        rgba(209,177,120,.19);
    font-size:
        clamp(230px,24vw,410px);
    font-weight: 700;
    line-height: 1;
    transform:
        translate(-42%,-50%);
    user-select: none;
}

.hero-visual-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            transparent 35%,
            rgba(4,5,5,.11) 55%,
            rgba(4,5,5,.76) 100%
        );
}

.hero-visual-caption {
    position: absolute;
    z-index: 4;
    right: 34px;
    bottom: 34px;
    left: 34px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: flex-end;
}

.hero-visual-caption span {
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
}

.hero-visual-caption small {
    max-width: 250px;
    color: #8e8b85;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: .13em;
    text-align: right;
}

.hero-visual-corner {
    position: absolute;
    z-index: 4;
    top: 27px;
    right: 27px;
    color:
        rgba(255,255,255,.38);
    font-size: 9px;
    letter-spacing: .25em;
}


/* HERO FOOTER */

.hero-v3-footer {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 28px;
    left: 0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    border-top:
        1px solid
        rgba(255,255,255,.1);
    color: #696762;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #7c7972;
    transition:
        color .2s ease;
}

.hero-scroll:hover {
    color: var(--gold-light);
}

.hero-scroll i {
    position: relative;
    width: 43px;
    height: 1px;
    display: block;
    overflow: hidden;
    background:
        rgba(255,255,255,.17);
}

.hero-scroll i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold-light);
    transform:
        translateX(-100%);
    animation:
        sibsok-scroll-line
        2.8s
        ease
        infinite;
}

@keyframes sibsok-scroll-line {

    0% {
        transform:
            translateX(-100%);
    }

    45%,
    55% {
        transform:
            translateX(0);
    }

    100% {
        transform:
            translateX(100%);
    }

}


/* =========================================================
   SERVICES V3
   ========================================================= */

.services-section {
    position: relative;
}

.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 24%;
    height: 1px;
    background:
        rgba(0,0,0,.3);
}

.services-section .section-heading {
    margin-bottom: 82px;
}

.services-section .section-heading h2 {
    max-width: 780px;
}

.service-card-copy {
    max-width: 820px;
}

.service-card {
    min-height: 170px;
}

.service-card:hover {
    padding-left: 18px;
    padding-right: 18px;
}


/* =========================================================
   STATEMENT V3
   ========================================================= */

.statement-section {
    position: relative;
    overflow: hidden;
}

.statement-section::after {
    content: "СИБСОКНСК";
    position: absolute;
    right: -2%;
    bottom: -4%;
    color:
        rgba(255,255,255,.018);
    font-size:
        clamp(90px,14vw,240px);
    font-weight: 700;
    letter-spacing: -.06em;
    pointer-events: none;
}


/* =========================================================
   PROJECT PLACEHOLDER V3
   Real project photographs will replace this later.
   ========================================================= */

.project-placeholder {
    min-height: 610px;
    background:
        radial-gradient(
            circle at 73% 22%,
            rgba(190,156,96,.18),
            transparent 24%
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 119px,
            rgba(255,255,255,.025) 120px
        ),
        linear-gradient(
            145deg,
            #202123,
            #0e0f10
        );
}


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

@media (max-width: 1180px) {

    .hero-v3-layout {
        grid-template-columns:
            minmax(0,1fr)
            minmax(350px,.75fr);
        gap: 50px;
    }

    .hero-v3 h1 {
        font-size:
            clamp(
                65px,
                7.5vw,
                98px
            );
    }

    .hero-visual {
        min-height: 560px;
    }

}


@media (max-width: 900px) {

    .hero-v3 {
        min-height: auto;
    }

    .hero-v3-layout {
        width:
            min(
                calc(100% - 36px),
                var(--max)
            );
        padding-top: 130px;
        padding-bottom: 115px;
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .hero-v3-kicker-row {
        max-width: none;
    }

    .hero-v3 h1 {
        max-width: 740px;
        font-size:
            clamp(
                58px,
                14vw,
                92px
            );
    }

    .hero-v3 .hero-description {
        max-width: 590px;
    }

    .hero-visual {
        justify-self: stretch;
        max-width: none;
        min-height:
            min(
                112vw,
                650px
            );
    }

    .hero-v3-footer {
        position: relative;
        bottom: auto;
        margin-top: -72px;
        margin-bottom: 28px;
    }

}


@media (max-width: 560px) {

    .hero-v3-layout {
        padding-top: 110px;
        padding-bottom: 100px;
        gap: 48px;
    }

    .hero-v3-kicker-row {
        align-items: flex-start;
    }

    .hero-v3-index {
        font-size: 8px;
    }

    .hero-v3 h1 {
        margin-top: 30px;
        font-size:
            clamp(
                50px,
                16vw,
                75px
            );
    }

    .hero-v3 .hero-actions {
        flex-direction: column;
        margin-top: 35px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .hero-visual-caption {
        right: 22px;
        bottom: 24px;
        left: 22px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-visual-caption small {
        text-align: left;
    }

    .hero-v3-footer > span {
        display: none;
    }

    .hero-v3-footer {
        justify-content: flex-end;
    }

}


@media (prefers-reduced-motion: reduce) {

    .hero-scroll i::after {
        animation: none;
        transform: none;
    }

}
