
/* VIRASAT HERITAGE V7 */

:root {
    --v7-ink: #292929;
    --v7-paper: #F5F1E8;
    --v7-gold: #B59A62;
    --v7-bronze: #B59A62;
    --v7-ease: cubic-bezier(.22,1,.36,1);
}

/* CUSTOM SERVICE SELECT */

.v7-select {
    position: relative;
    width: 100%;
    font-family: var(--sans, Manrope, sans-serif);
}

.v7-native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.v7-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    border: 1px solid #a58b6255;
    border-radius: 7px;
    background: #fff8e94d;
    color: var(--v7-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.v7-select-trigger:hover,
.v7-select-trigger:focus-visible {
    border-color: var(--v7-bronze);
    background: #fff8e999;
    outline: 2px solid #a58b6244;
    outline-offset: 2px;
}

.v7-select-arrow {
    width: 9px;
    height: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s;
}

.v7-select.is-open .v7-select-arrow {
    transform: rotate(225deg);
}

.v7-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 200;
    padding: 7px;
    background: #292929;
    color: #F5F1E8;
    border: 1px solid #B59A62;
    border-radius: 9px;
    box-shadow: 0 15px 35px #24190f40;
    max-height: 290px;
    overflow-y: auto;
    animation: v7MenuIn .22s var(--v7-ease);
}

.v7-select-menu[hidden] {
    display: none !important;
}

.v7-select-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: #F5F1E8;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.v7-select-option:hover,
.v7-select-option:focus-visible,
.v7-select-option[aria-selected="true"] {
    background: #B59A6215;
    border-color: #B59A6233;
    outline: none;
}

.v7-select-number {
    font-size: 10px;
    letter-spacing: .08em;
    color: #B59A62;
}

.v7-select-check {
    margin-left: auto;
    color: #B59A62;
    opacity: 0;
}

.v7-select-option[aria-selected="true"]
.v7-select-check {
    opacity: 1;
}

@keyframes v7MenuIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOUNDERS GALLERY */

.v7-founder-card {
    min-width: 0;
    text-align: center;
}

.v7-portrait-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 5;
    margin: 0 auto 26px;
    padding: 15px;
    display: grid;
    place-items: center;
    border: 1px solid #b99a65;
    border-radius: 3px !important;
    background:
        linear-gradient(
            135deg,
            #8e7048,
            #493622 35%,
            #745936 70%,
            #3e2c1c
        );
    box-shadow:
        0 0 0 4px #292929,
        0 0 0 5px #B59A6255,
        0 15px 35px #0005;
    overflow: hidden;
    transition: transform .35s var(--v7-ease);
}

.v7-portrait-frame::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 3px double #B59A6288;
    pointer-events: none;
    z-index: 3;
}

.v7-portrait-inner {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #B59A6266;
    background:
        radial-gradient(
            ellipse at 50% 25%,
            #6d543a,
            #30271f 75%
        );
}

.v7-portrait-inner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: saturate(.85);
}

.v7-portrait-initials {
    color: #B59A62;
    font-family: var(--display, Georgia, serif);
    font-size: clamp(45px,6vw,82px);
}

.v7-portrait-corner {
    position: absolute;
    width: 17px;
    height: 17px;
    background: #b79a64;
    clip-path: polygon(
        50% 0%, 65% 35%,
        100% 50%, 65% 65%,
        50% 100%, 35% 65%,
        0% 50%, 35% 35%
    );
    z-index: 4;
}

.v7-portrait-corner:nth-of-type(1) {
    top: 5px;
    left: 5px;
}

.v7-portrait-corner:nth-of-type(2) {
    top: 5px;
    right: 5px;
}

.v7-portrait-corner:nth-of-type(3) {
    bottom: 5px;
    left: 5px;
}

.v7-portrait-corner:nth-of-type(4) {
    bottom: 5px;
    right: 5px;
}

.v7-founder-card h3 {
    font-size: clamp(24px,3vw,38px);
    line-height: 1.25;
}

@media (hover: hover) {
    .v7-portrait-frame:hover {
        transform: translateY(-5px);
    }
}

/* HERITAGE CORRESPONDENCE ROOM */

#contact {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(
            ellipse at 50% 35%,
            #F5F1E8 0%,
            #e5d4b5 60%,
            #c8af87 100%
        );
}

.v7-contact-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.v7-contact-decoration img {
    position: absolute;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.v7-object-arch {
    width: min(34vw,480px);
    top: 4%;
    left: -10%;
    opacity: .19;
}

.v7-object-pillar {
    width: min(20vw,240px);
    right: -3%;
    top: 15%;
    opacity: .22;
}

.v7-object-compass {
    width: min(20vw,250px);
    left: 2%;
    bottom: 6%;
    opacity: .25;
    transform: rotate(-16deg);
}

.v7-object-quill {
    width: min(19vw,220px);
    right: 2%;
    bottom: 5%;
    opacity: .28;
    transform: rotate(8deg);
}

#contact .letter {
    background:
        radial-gradient(
            ellipse at 20% 10%,
            #fff8e9,
            transparent 70%
        ),
        #efe2c8;
    border: 1px solid #a68c61;
    box-shadow:
        0 3px 0 #bda781,
        0 7px 0 #e1d0ae,
        0 10px 0 #b6a17d,
        0 25px 65px #5d442d30;
    overflow: visible;
}

#contact .letter::before {
    border: 3px double #a58b6255;
}

#contact .letter input,
#contact .letter textarea {
    font-family: var(--sans, Manrope, sans-serif);
    background: #fff9ee44;
}

#contact .letter textarea {
    background-image:
        repeating-linear-gradient(
            transparent,
            transparent 30px,
            #a58b6220 31px
        );
    line-height: 31px;
}

/* LUXURY INVITATION */

.v7-invitation {
    color: #292929 !important;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            #fff6e2,
            transparent 70%
        ),
        #efe1c5 !important;
    border: 3px double #B59A62 !important;
    border-radius: 5px !important;
    box-shadow:
        0 0 0 7px #292929,
        0 0 0 8px #B59A6266,
        0 25px 90px #0006 !important;
    max-height: 88dvh;
    overflow-y: auto;
}

.v7-invitation-header {
    text-align: center;
    padding: 24px 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid #a58b6244;
}

.v7-invitation-seal {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px double #c49666;
    background:
        radial-gradient(
            circle at 30% 25%,
            #ad6c49,
            #793e2b 65%,
            #4d291d
        );
    box-shadow: 2px 5px 9px #49271633;
    color: #f1d4a2;
    font: 600 35px Georgia, serif;
}

.v7-invitation-kicker {
    font-size: 10px;
    letter-spacing: .24em;
    font-weight: 700;
    color: #80613d;
}

.v7-invitation-title {
    font-family: var(--display, Georgia, serif);
    font-size: clamp(27px,4vw,43px);
    font-weight: 600;
    line-height: 1.2;
    margin: 12px 0;
    color: #292929;
}

.v7-invitation-subtitle {
    color: #69513a;
    font-size: 14px;
}

.v7-invitation-session {
    display: block;
    width: 100%;
    padding: 20px !important;
    margin: 12px 0;
    color: #292929 !important;
    background: #fff9ee55 !important;
    border: 1px solid #a58b6277 !important;
    border-radius: 6px !important;
    text-align: left;
    transition: background .2s, transform .2s;
}

.v7-invitation-session:hover {
    background: #B59A6233 !important;
    transform: translateY(-2px);
}

.v7-invitation-session p,
.v7-invitation-session span,
.v7-invitation-session h3 {
    color: inherit !important;
}

.v7-invitation-motto {
    text-align: center;
    color: #80613d;
    padding: 18px 0 5px;
    font-family: 'Noto Serif Devanagari',
                 'Nirmala UI', serif;
    font-size: 15px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .v7-portrait-frame {
        max-width: 290px;
        padding: 11px;
    }

    .v7-contact-decoration img {
        opacity: .12;
    }

    .v7-invitation {
        max-width: calc(100vw - 34px);
    }
}

@media (max-width: 480px) {
    .v7-select-trigger,
    .v7-select-option {
        font-size: 16px;
    }

    .v7-portrait-frame {
        max-width: 270px;
    }

    .v7-contact-decoration img {
        opacity: .08;
    }

    .v7-invitation-header {
        padding: 18px 5px;
    }

    .v7-invitation-session {
        padding: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v7-select-menu,
    .v7-portrait-frame,
    .v7-invitation-session {
        animation: none !important;
        transition: none !important;
    }
}


/* FOUNDER PORTRAITS V8 START */

.v7-portrait-frame {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 3 / 4 !important;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 3px !important;
    border: 1px solid #b99a65;
    background: linear-gradient(
        135deg,
        #8e7048,
        #493622 35%,
        #745936 70%,
        #3e2c1c
    );
    box-shadow:
        0 0 0 4px #292929,
        0 0 0 5px #B59A6266,
        0 18px 40px rgba(0,0,0,.35);
    overflow: hidden;
}

.v7-portrait-inner {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.v7-portrait-inner img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 25%;
    border-radius: 0 !important;
    filter: none !important;
    transition: transform .65s cubic-bezier(.22,1,.36,1);
}

.v7-portrait-initials[hidden] {
    display: none !important;
}

.v7-founder-card {
    text-align: center;
    min-width: 0;
}

.v7-founder-card h3 {
    margin-top: 24px;
    margin-bottom: 10px;
    line-height: 1.25;
}

@media (hover: hover) {
    .v7-portrait-frame:hover .v7-portrait-inner img {
        transform: scale(1.035);
    }
}

@media (max-width: 1024px) {
    .v7-portrait-frame {
        max-width: 300px;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .v7-portrait-frame {
        max-width: 280px;
        padding: 10px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v7-portrait-inner img {
        transition: none !important;
        transform: none !important;
    }
}

/* FOUNDER PORTRAITS V8 END */
