﻿/* VIRASAT — Royal Architect's Vision Board */

#home #home-services.vr-vision-board {
    position: relative;
    isolation: isolate;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 65px 55px;
    padding: 85px 65px 75px;
    margin: 45px 0;
    border: 14px solid #53351e;
    border-radius: 5px;

    background:
        radial-gradient(
            ellipse at 85% 0%,
            rgba(255,208,126,.45),
            transparent 55%
        ),
        url("../assets/architect-cork.svg"),
        linear-gradient(125deg,#987047,#684326);

    box-shadow:
        0 0 0 2px #ad8955,
        0 0 0 7px #392719,
        0 0 0 9px #765632,
        inset 0 0 70px #39200f99,
        0 35px 65px #0007;
}

#home .vr-board-heading {
    grid-column: 1 / -1;
    position: relative;
    justify-self: center;
    z-index: 3;
    padding: 12px 32px;
    margin-bottom: 5px;
    color: #e7c995;
    background: linear-gradient(#52331e,#352215);
    border: 1px solid #bc965b;
    outline: 3px double #795b36;
    font-family: Georgia,serif;
    font-size: 13px;
    letter-spacing: 4px;
    text-align: center;
    box-shadow: 0 5px 12px #0005;
}

#home .vr-board-threads {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

#home .vr-service-document {
    position: relative !important;
    z-index: 2;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-width: 0;
    min-height: 310px;
    gap: 0 !important;
    padding: 30px 23px 23px !important;
    border: 1px solid #ac8c5d !important;
    border-radius: 1px !important;
    color: #38271b !important;
    text-decoration: none !important;

    background:
        radial-gradient(
            ellipse at center,
            #f2e5c8,
            #d5b98b
        ) !important;

    box-shadow:
        inset 0 0 28px #8c60302b,
        3px 6px 0 #b6996b,
        8px 14px 18px #29170e66;

    transform: rotate(var(--vr-angle,0deg));
    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        box-shadow .45s ease;
}

#home .vr-service-document::before {
    content: "";
    position: absolute;
    top: 9px;
    left: calc(50% - 6px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 30% 25%,
            #fff0b9,
            #ba9352 35%,
            #6d4723 85%
        );
    box-shadow: 2px 4px 4px #39200f88;
    z-index: 5;
}

#home .vr-service-document::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 19px;
    height: 19px;
    background:
        linear-gradient(
            135deg,
            #b18c56 0 49%,
            #80562e 50% 52%,
            transparent 53%
        );
}

#home .vr-document-art {
    position: relative;
    height: 155px;
    margin-bottom: 17px;
    border: 3px double #9b794e;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0 19px,
            #99764718 20px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0 19px,
            #99764718 20px
        ),
        #e7d3ac;
    overflow: hidden;
}

#home .vr-document-art svg {
    width: 100%;
    height: 100%;
    padding: 12px;
    color: #795331;
}

#home .vr-document-index {
    display: block;
    font-family: Georgia,serif;
    font-size: 10px;
    letter-spacing: 2.5px;
    color: #8b6139;
    margin-bottom: 10px;
}

#home .vr-document-title {
    display: block;
    font-family: Georgia,serif;
    font-size: clamp(21px,2vw,32px);
    line-height: 1.15;
    font-weight: 500;
    color: #38271b;
    margin-bottom: 12px;
}

#home .vr-document-note {
    font-family: Georgia,serif;
    font-style: italic;
    font-size: 14px;
    line-height: 1.5;
    color: #795739;
    margin-bottom: 18px;
}

#home .vr-document-action {
    display: block;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #a4875b;
    font-family: Georgia,serif;
    font-size: 13px;
    color: #624025;
}

#home .vr-board-signature {
    grid-column: 1 / -1;
    position: relative;
    z-index: 3;
    justify-self: center;
    color: #f0d9ad;
    font-family: Georgia,serif;
    font-size: 14px;
    font-style: italic;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 1px 2px 4px #35200e;
}

@media (hover:hover) {
    #home .vr-service-document:hover {
        transform: rotate(0deg) translateY(-12px) scale(1.035);
        box-shadow:
            inset 0 0 25px #8c603022,
            8px 24px 35px #29170e88;
        z-index: 5;
    }
}

#home .vr-service-document:focus-visible {
    outline: 3px solid #e8c680;
    outline-offset: 5px;
}

@media (max-width: 1100px) {
    #home #home-services.vr-vision-board {
        grid-template-columns: repeat(2,minmax(0,1fr));
        padding: 45px 30px;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    #home #home-services.vr-vision-board {
        grid-template-columns: minmax(0,1fr);
        padding: 30px 16px;
        border-width: 8px;
        gap: 30px;
    }

    #home .vr-service-document {
        transform: none;
        min-height: 0;
        padding: 28px 18px 20px !important;
    }

    #home .vr-board-heading {
        padding: 12px 15px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    #home .vr-document-title {
        font-size: 28px;
    }

    #home .vr-board-threads {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #home .vr-service-document {
        transition: none;
    }
}
