/* VIRASAT - Legacy Journal & Founders Gallery */

#home .vr-legacy-section {
    padding: clamp(45px,7vw,100px) clamp(20px,6vw,90px);
    background: #e9dfcd;
    color: #392b20;
}

#home .vr-legacy-heading {
    text-align: center;
    margin-bottom: 45px;
}

#home .vr-legacy-heading h2 {
    font-size: clamp(40px,6vw,80px);
    line-height: 1.1;
    color: #392b20;
    font-weight: 400;
}

#home .vr-legacy-heading p {
    font: italic 17px/1.6 Georgia,serif;
    color: #77614e;
}

#home .vr-legacy-book {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: auto;
    padding: 14px;
    border: 3px solid #594332;
    border-radius: 8px 12px 12px 8px;
    background: #3d2c20;
    box-shadow:
        0 5px 0 #21170f,
        0 10px 0 #6a5038,
        0 28px 45px #39271855;
}

#home .vr-legacy-page {
    position: relative;
    min-width: 0;
    padding: clamp(24px,4vw,50px);
    background:
        radial-gradient(ellipse at center,
            #f8efdc,#e0cdb0);
    border: 1px solid #b8a080;
    box-shadow: inset 0 0 35px #76563822;
}

#home .vr-legacy-left {
    border-radius: 3px 0 0 5px;
    box-shadow:
        inset -18px 0 28px -20px #47301f;
}

#home .vr-legacy-right {
    border-radius: 0 5px 5px 0;
    box-shadow:
        inset 18px 0 28px -20px #47301f;
}

#home .vr-journal-label {
    display: block;
    font: 11px Georgia,serif;
    letter-spacing: 3px;
    color: #80654d;
    margin-bottom: 22px;
}

#home .vr-legacy-page h3 {
    color: #392b20;
    font: 400 clamp(28px,3vw,42px)/1.2 Georgia,serif;
    margin: 0 0 20px;
}

#home .vr-stat-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin: 30px 0;
}

#home .vr-stat {
    padding: 22px 10px;
    border: 3px double #ad9477;
    text-align: center;
    background: #ffffff22;
}

#home .vr-stat strong {
    display: block;
    font: 400 clamp(32px,4vw,55px) Georgia,serif;
    color: #654731;
}

#home .vr-stat span {
    display: block;
    margin-top: 9px;
    font-size: 12px;
    color: #68513f;
}

#home .vr-journal-arch {
    display: block;
    width: 150px;
    height: 110px;
    margin: 20px auto;
    color: #927557;
    opacity: .7;
}

#home .vr-journal-note {
    text-align: center;
    font: italic 15px/1.7 Georgia,serif;
    color: #725940;
}

#home .vr-review-card {
    padding: 24px;
    border: 1px solid #e1ddd6;
    border-radius: 10px;
    background: #fff;
    color: #333;
    box-shadow: 0 8px 24px #39271818;
    font-family: Arial,sans-serif;
}

#home .vr-review-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

#home .vr-review-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    color: white;
    font-size: 20px;
}

#home .vr-review-person strong {
    display: block;
    font-size: 15px;
    color: #262626;
}

#home .vr-review-person small {
    color: #777;
    font-size: 11px;
}

#home .vr-review-stars {
    margin: 18px 0 12px;
    color: #d99a28;
    font-size: 20px;
    letter-spacing: 2px;
}

#home .vr-review-card p {
    font: 14px/1.75 Arial,sans-serif;
    color: #444;
    min-height: 95px;
    margin: 0 0 15px;
}

#home .vr-review-disclosure {
    display: block;
    font-size: 10px;
    color: #777;
}

#home .vr-review-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
}

#home .vr-review-controls button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #92785e;
    border-radius: 50%;
    background: transparent;
    color: #59412d;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s,color .2s;
}

#home .vr-review-controls button:hover {
    background: #59412d;
    color: #fff;
}

#home .vr-review-counter {
    font: 13px Georgia,serif;
    color: #80654d;
    letter-spacing: 2px;
}

#home .vr-review-card.vr-turning {
    animation: vrJournalTurn .4s ease both;
}

@keyframes vrJournalTurn {
    from {
        opacity: 0;
        transform: perspective(900px)
            rotateY(-8deg) translateX(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Founders Gallery */

#about .vr-founder-gallery {
    position: relative;
    padding: 45px clamp(15px,3vw,40px);
    margin: 50px 0;
    background:
        radial-gradient(ellipse at top,
            #514033,#261d17);
    border: 5px double #80664d;
    box-shadow:
        inset 0 0 60px #0004,
        0 20px 40px #0002;
}

#about .vr-founder-gallery-heading {
    text-align: center;
    color: #eadcc7;
    margin-bottom: 35px;
}

#about .vr-founder-gallery-heading h2 {
    font: 400 clamp(32px,4vw,58px)/1.15 Georgia,serif;
    color: #eadcc7;
}

#about .vr-founder-gallery-heading span {
    font-size: 10px;
    letter-spacing: 3px;
    color: #c3ab8c;
}

#about .vr-founder-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 28px;
    align-items: stretch;
}

#about .vr-founder-profile {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#about .vr-hanging-portrait {
    position: relative;
    width: min(100%,250px);
    padding-top: 72px;
    margin-bottom: 24px;
    transform-origin: 50% 7px;
    will-change: transform;
    touch-action: pan-y;
}

#about .vr-hanging-string {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    overflow: visible;
}

#about .vr-portrait-wood {
    position: relative;
    padding: 12px;
    background:
        repeating-linear-gradient(
            93deg,
            transparent 0 4px,
            #ffffff07 5px,
            transparent 8px
        ),
        linear-gradient(
            135deg,#725139,#35241a,#674832);
    border: 4px ridge #806044;
    box-shadow:
        0 0 0 1px #25180f,
        8px 15px 20px #0006;
}

#about .vr-portrait-mat {
    padding: 7px;
    background: #d8c6a9;
    border: 1px solid #b49b7b;
}

#about .vr-portrait-mat img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    filter: saturate(.82);
}

#about .vr-founder-paper {
    position: relative;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 28px 22px;
    color: #493524;
    background:
        radial-gradient(ellipse at center,
            #f6ead2,#d8c09c);
    border: 1px solid #ad9270;
    box-shadow:
        inset 0 0 25px #72523222,
        4px 7px 12px #0004;
}

#about .vr-founder-paper::before {
    content: "";
    position: absolute;
    top: 7px;
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%,
            #b6ada0,#5c5044);
    box-shadow: 1px 2px 3px #0005;
}

#about .vr-founder-chapter {
    display: block;
    font: 10px Georgia,serif;
    letter-spacing: 2px;
    color: #8b6b4f;
    margin-bottom: 14px;
}

#about .vr-founder-paper h3 {
    color: #39281c;
    font: 400 clamp(24px,2.5vw,34px)/1.2 Georgia,serif;
    margin: 0 0 10px;
}

#about .vr-founder-role {
    display: block;
    font: italic 15px/1.5 Georgia,serif;
    color: #76543a;
    border-bottom: 1px solid #bda383;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

#about .vr-founder-paper p {
    font: 15px/1.85 Georgia,serif;
    color: #59432f;
    margin-bottom: 20px;
}

#about .vr-founder-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

#about .vr-founder-skills span {
    padding: 6px 9px;
    border: 1px solid #bca383;
    color: #73563e;
    font-size: 10px;
}

@media(max-width:900px) {
    #about .vr-founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #about .vr-founder-profile {
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(0,1.4fr);
        align-items: center;
        gap: 24px;
    }

    #about .vr-hanging-portrait {
        margin: auto;
    }
}

@media(max-width:650px) {
    #home .vr-legacy-book {
        grid-template-columns: minmax(0,1fr);
        padding: 7px;
    }

    #home .vr-legacy-page {
        padding: 24px 18px;
    }

    #home .vr-legacy-right {
        border-top: 4px double #ad9477;
    }

    #home .vr-review-card {
        padding: 18px;
    }

    #home .vr-review-card p {
        min-height: 0;
    }

    #about .vr-founder-profile {
        display: flex;
    }

    #about .vr-founder-gallery {
        padding: 30px 15px;
    }

    #about .vr-hanging-portrait {
        width: min(80%,250px);
    }

    #about .vr-founder-paper {
        padding: 26px 20px;
    }
}

@media(prefers-reduced-motion:reduce) {
    #home .vr-review-card,
    #about .vr-hanging-portrait {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* VIRASAT STONE EXPERTISE START */

#about .vr-founder-skills {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin-top: 30px;
    padding: 22px 14px 18px;

    background:
        repeating-linear-gradient(
            115deg,
            transparent 0 5px,
            #ffffff09 6px,
            transparent 9px
        ),
        radial-gradient(
            ellipse at 30% 20%,
            #ded6c5,
            #b6ab96
        );

    border: 5px ridge #a99b83;
    border-radius: 2px;

    box-shadow:
        inset 0 0 0 2px #d7cbb5,
        inset 0 0 18px #594c3433,
        0 5px 0 #887c68,
        0 9px 15px #392c2026;
}

#about .vr-founder-skills::before {
    content: "AREAS OF EXPERTISE";
    grid-column: 1 / -1;

    display: block;
    text-align: center;

    font-family: Georgia,serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.6;

    color: #514737;

    padding: 5px 0 15px;
    margin-bottom: 5px;

    border-bottom: 3px double #93856e;

    text-shadow: 0 1px 0 #f5ecda;
}

#about .vr-founder-skills::after {
    content: "\25C6";
    grid-column: 1 / -1;
    text-align: center;
    color: #857760;
    font-size: 13px;
    padding-top: 6px;
}

#about .vr-founder-skills span {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 10px 7px;

    background:
        linear-gradient(
            145deg,
            #c8bfad,
            #b0a48f
        );

    border: 1px solid #968872;
    border-top: 2px solid #ded5c3;
    border-bottom: 3px solid #8d806c;

    border-radius: 2px;

    color: #443b2e;

    font-family: Georgia,serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;

    text-shadow: 0 1px 0 #eee5d4;

    box-shadow:
        inset 0 1px 2px #ffffff44,
        0 3px 4px #51443122;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

@media (hover:hover) {

    #about .vr-founder-skills span:hover {
        transform: translateY(-3px);

        background:
            linear-gradient(
                145deg,
                #ddd3bf,
                #c0b39b
            );

        box-shadow:
            inset 0 1px 2px #ffffff55,
            0 6px 10px #51443133;
    }
}

#about .vr-founder-paper {
    border: 4px double #a79577;
}

#about .vr-founder-profile {
    min-width: 0;
}

@media(max-width:650px) {

    #about .vr-founder-skills {
        padding: 18px 12px 14px;
        gap: 9px;
    }

    #about .vr-founder-skills span {
        font-size: 12px;
        min-height: 46px;
        overflow-wrap: anywhere;
    }
}

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

    #about .vr-founder-skills span {
        transition: none;
        transform: none !important;
    }
}

/* VIRASAT STONE EXPERTISE END */
