@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Manrope:wght@400;500;600;700;800&family=Noto+Serif+Devanagari:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,500;0,6..96,700;1,6..96,500&family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Manrope:wght@400;500;600;700;800&family=Noto+Serif+Devanagari:wght@400;500&display=swap');

:root {
    --ink: #292929;
    --dark: #171717;
    --paper: #F5F1E8;
    --gold: #B59A62;
    --clay: #B59A62;
    --muted: #a6a18e;
    --line: rgba(181,154,98,.25);
    --display: 'Bodoni Moda', Georgia, serif;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
    scrollbar-width: thin;
    scrollbar-color: #8c7656 var(--dark);
}

body {
    margin: 0;
    background: var(--dark);
    color: var(--paper);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }

[lang="sa"] {
    font-family: 'Noto Serif Devanagari', 'Nirmala UI', Mangal, serif;
    letter-spacing: 0;
    line-height: 1.8;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -.045em;
}

h1 {
    font-size: clamp(54px, 8vw, 132px);
    line-height: 1.08;
    margin-bottom: 30px;
}

h2 {
    font-size: clamp(38px, 5.5vw, 88px);
    line-height: 1.12;
    margin-bottom: 30px;
}

h3 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
}

em { color: var(--gold); font-weight: 500; }
p { font-size: 15px; line-height: 1.85; }

.eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.navigation {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(94%, 1320px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 20px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: rgba(41,41,41,.94);
    backdrop-filter: blur(12px);
    z-index: 50;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: 23px;
    letter-spacing: .02em;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
}

nav { display: flex; gap: 4px; }

nav a {
    font-size: 12px;
    padding: 10px 13px;
    border-radius: 30px;
    transition: background .2s, color .2s;
}

nav a:hover, nav a.active {
    color: var(--gold);
    background: #ffffff0b;
}

.menu-toggle { display: none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border: 1px solid var(--paper);
    border-radius: 40px;
    background: var(--paper);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    transition: background .2s, color .2s;
}

.button:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.button.small { padding: 12px 19px; }

.button.outline {
    background: transparent;
    color: var(--paper);
    border-color: var(--line);
}

.button.outline:hover {
    background: var(--paper);
    color: var(--ink);
}

.page { display: none; }
.page.active { display: block; }

.hero {
    min-height: 100svh;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 140px 7% 110px;
    background:
        radial-gradient(ellipse at 50% 25%, #78533866, transparent 55%),
        linear-gradient(120deg, #201914, #3d2b20, #191613);
}

.hero.has-image {
    background:
        linear-gradient(0deg, #171717, #17171755 50%, #17171755),
        var(--hero-image) center / cover;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(70px, 11vw, 170px);
    margin: 24px 0;
}

.hero p {
    max-width: 520px;
    margin: 25px auto 35px;
    color: #e1d4c2;
}

.actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.arch {
    position: absolute;
    left: 50%;
    bottom: -12%;
    height: 110%;
    border: 1px solid #B59A6235;
    border-radius: 48% 48% 0 0;
    transform: translateX(-50%);
}

.arch-one { width: 82%; }
.arch-two { width: 65%; }
.arch-three { width: 48%; }

.orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    right: 9%;
    top: 24%;
    opacity: .2;
    background: radial-gradient(circle at 30% 25%, #f0dca6, #a56a39 35%, #302018 75%);
    box-shadow: 20px 30px 70px #0005;
    transform: translate3d(var(--mx,0),var(--my,0),0);
    transition: transform .6s ease-out;
}

.hero-bottom {
    position: absolute;
    bottom: 25px;
    left: 6%;
    right: 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 10px;
    letter-spacing: .12em;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.section, .editorial {
    padding: clamp(75px,10vw,150px) 7%;
}

main > .page.section {
    padding-top: 155px;
    min-height: 100svh;
}

.light {
    background: var(--paper);
    color: var(--ink);
}

.light em { color: #915437; }

.editorial-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    max-width: 1000px;
}

.editorial-columns p { font-size: 18px; }

.service-list article {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 25px 0;
}

.service-list h3 { margin: 0; }
.service-list span { color: var(--gold); }
.text-link { display: inline-block; margin-top: 30px; border-bottom: 1px solid; padding-bottom: 6px; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
    margin-top: 60px;
}

.process-grid article {
    border-top: 1px solid #29292944;
    padding-top: 25px;
}

.process-grid span {
    font-family: var(--display);
    font-size: 42px;
    color: #915437;
}

.closing {
    padding: 130px 7%;
    text-align: center;
    background: #33271e;
}

.lead {
    max-width: 650px;
    color: inherit;
    opacity: .8;
    margin-bottom: 50px;
}

.chapters {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 14px;
}

.chapter {
    position: relative;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    padding: 30px 18px;
    border: 1px solid var(--line);
    border-radius: 100px 100px 4px 4px;
    background: var(--chapter-color);
    color: var(--paper);
    overflow: hidden;
    transition: transform .25s, border-color .25s;
}

.chapter:hover { transform: translateY(-6px); }
.chapter.selected { border-color: var(--gold); }

.chapter strong {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.chapter .symbol {
    font-family: var(--display);
    font-size: 70px;
    color: var(--gold);
    opacity: .75;
    align-self: center;
}

.service-detail {
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding-top: 35px;
}

.book-scene {
    perspective: 1600px;
    max-width: 1050px;
    margin: 60px auto;
}

.book {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #65452c;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 30px 70px #0005;
}

.book-left, .book-right {
    background: #eadcc1;
    color: var(--ink);
    min-height: 410px;
    padding: clamp(25px,4vw,50px);
}

.book-left {
    background: linear-gradient(90deg,#eadcc1 90%,#b6a385);
}

.book-right {
    background: linear-gradient(90deg,#c9b89b,#F5F1E8 10%);
    transform-origin: left center;
    backface-visibility: hidden;
}

.book-right h2 { font-size: clamp(32px,4vw,58px); }

.book-art {
    display: grid;
    place-items: center;
    min-height: 220px;
    border: 1px solid #a28c68;
    background: #39372e;
    color: var(--gold);
    font-family: var(--display);
    font-size: 100px;
    margin-bottom: 20px;
}

.book-label { font-size: 11px; opacity: .65; }

.book-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.pricing-list article {
    display: grid;
    grid-template-columns: 50px 1.5fr 1fr auto;
    align-items: center;
    gap: 25px;
    border-top: 1px solid #29292933;
    padding: 30px 0;
}

.pricing-list h3 { margin-bottom: 8px; }
.pricing-list p { margin: 0; }

.price {
    font-family: var(--display);
    font-size: 38px;
}

.price small {
    display: block;
    font: 11px var(--sans);
}

.light .button {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.founders {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.founders article { text-align: center; }

.portrait {
    min-height: 280px;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at top,#795738,#292929);
    border: 1px solid var(--line);
    border-radius: 180px 180px 8px 8px;
    font-family: var(--display);
    font-size: 70px;
    color: var(--gold);
    margin-bottom: 25px;
}

.statement {
    text-align: center;
    margin-top: 100px;
}

.statement h2 { font-size: clamp(30px,5vw,65px); }

.letter {
    max-width: 800px;
    padding: clamp(25px,5vw,65px);
    border: 1px solid #a18c6b;
    background: #f8efdf;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
}

input, textarea, select {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border: 1px solid #b9aa91;
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    font-size: 16px;
}

textarea { resize: vertical; }

footer {
    background: #171411;
    padding: 75px 7% 25px;
    border-top: 1px solid var(--line);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
}

.footer-links a:hover { color: var(--gold); }

.footer-wordmark {
    font-family: var(--display);
    font-size: clamp(50px,17vw,260px);
    letter-spacing: -.06em;
    line-height: 1.3;
    text-align: center;
    margin: 40px 0 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 20px 0;
    font-size: 12px;
}

.note { font-size: 12px; opacity: .7; }

dialog {
    background: var(--ink);
    color: var(--paper);
    width: min(92%,580px);
    max-height: 90svh;
    padding: 35px;
    border: 1px solid var(--line);
    border-radius: 25px;
}

dialog::backdrop { background: #100c09c9; }

.close-dialog {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    color: var(--paper);
    border: 0;
    font-size: 28px;
}

.session {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 22px;
    margin: 12px 0;
    background: #ffffff08;
    color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: left;
}

.session:hover { background: #ffffff12; }
.session span { font-size: 13px; }

.entrance {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.door {
    position: absolute;
    top: 0;
    width: 50.1%;
    height: 100%;
    background: #292929;
    transition: transform .65s cubic-bezier(.76,0,.24,1);
}

.door-left { left: 0; }
.door-right { right: 0; }

.entrance-brand {
    z-index: 1;
    text-align: center;
    transition: opacity .2s;
}

.entrance-brand img { width: 100px; border-radius: 50%; }
.entrance-brand h2 { font-size: 42px; margin: 15px 0; }
.entrance-brand p { font-size: 22px; color: var(--gold); }

.entrance.open .door-left { transform: translateX(-101%); }
.entrance.open .door-right { transform: translateX(101%); }
.entrance.open .entrance-brand { opacity: 0; }

:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 5px;
}

@media(max-width:1000px) {
    .chapters { grid-template-columns: repeat(3,1fr); }
    .navigation { gap: 10px; }
    nav a { padding: 9px; }
}

@media(max-width:760px) {
    .navigation { border-radius: 24px; flex-wrap: wrap; top: 10px; }
    .brand { font-size: 19px; }
    .menu-toggle {
        display: block;
        border: 0;
        color: var(--paper);
        background: transparent;
    }
    nav { display: none; width: 100%; flex-wrap: wrap; order: 4; }
    nav.expanded { display: flex; }
    .hero h1 { font-size: clamp(60px,14vw,100px); }
    .hero-bottom { flex-wrap: wrap; font-size: 9px; }
    .orb { display: none; }
    .editorial-columns, .founders { grid-template-columns: 1fr; }
    .process-grid, .chapters { grid-template-columns: repeat(2,1fr); }
    .chapter { min-height: 250px; }
    .book { grid-template-columns: 1fr; }
    .book-left, .book-right { min-height: auto; }
    .pricing-list article { grid-template-columns: 30px 1fr; gap: 12px; }
    .pricing-list .price, .pricing-list .button { grid-column: 2; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-top > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .service-list article { grid-template-columns: 30px 1fr; }
    .service-list article a { grid-column: 2; }
    .service-list h3 { font-size: 25px; }
}

@media(prefers-reduced-motion:reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .entrance { display: none; }
}


/* VIRASAT VISUAL V5 */

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

/* Smooth, readable typography */

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    overflow-wrap: break-word;
}

h1 {
    line-height: 1.12;
    letter-spacing: -.045em;
}

h2 {
    line-height: 1.18;
}

[lang="sa"] {
    font-family: "Noto Serif Devanagari",
                 "Nirmala UI", Mangal, serif;
    letter-spacing: 0;
    line-height: 1.9;
    font-weight: 500;
}

/* Cinematic entrance */

body.entrance-lock {
    overflow: hidden;
}

.entrance {
    z-index: 9999;
    overflow: hidden;
    pointer-events: auto;
}

.door {
    background:
        linear-gradient(135deg,#292929,#171717);
    transition: transform 720ms
        cubic-bezier(.76,0,.24,1);
    will-change: transform;
}

.door-left {
    border-right: 1px solid #B59A6255;
}

.door-right {
    border-left: 1px solid #B59A6255;
}

.door::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid #B59A6235;
    border-radius: 180px 180px 4px 4px;
}

.door::after {
    content: "";
    position: absolute;
    inset: 36px;
    border: 1px solid #B59A6220;
    border-radius: 180px 180px 4px 4px;
}

.entrance-brand {
    position: relative;
    z-index: 5;
    transition: opacity 180ms ease;
}

.entrance-brand img {
    width: 135px;
    height: 135px;
    object-fit: contain;
    border-radius: 0;
}

.entrance-brand h2 {
    font-size: clamp(35px,5vw,60px);
    letter-spacing: .12em;
    margin: 18px 0 10px;
}

.entrance-brand p {
    color: var(--gold);
    font-size: clamp(20px,3vw,28px);
}

.entrance.open .entrance-brand {
    opacity: 0 !important;
    visibility: hidden;
}

.entrance.open .door-left {
    transform: translate3d(-101%,0,0);
}

.entrance.open .door-right {
    transform: translate3d(101%,0,0);
}

/* Refined floating navigation */

.navigation {
    width: min(94%,1250px);
    padding: 10px 18px;
    background: rgba(35,30,26,.94);
    border: 1px solid #B59A6238;
    border-radius: 60px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 35px #0003;
}

nav a {
    font-size: 13px;
    font-weight: 600;
}

nav a.active {
    background: #B59A6214;
    color: var(--gold);
}

/* Cinematic hero */

.hero {
    min-height: 100svh;
    background-color: #211a14;
}

.hero.has-image {
    background:
        linear-gradient(
            180deg,
            #130f0b66,
            #130f0b55 45%,
            #171717dd
        ),
        var(--hero-image) center / cover no-repeat;
}

.hero.has-image .architecture {
    display: none;
}

.hero h1 {
    font-size: clamp(58px,9vw,145px);
    text-shadow: 0 4px 30px #0005;
}

.hero-content {
    animation: heroAppear 650ms var(--ease) both;
}

@keyframes heroAppear {
    from {
        opacity: 0;
        transform: translate3d(0,16px,0);
    }
    to {
        opacity: 1;
        transform: translate3d(0,0,0);
    }
}

/* The six architectural chapters */

.chapters {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 18px;
    margin: 65px 0;
}

.chapter {
    min-height: 420px;
    isolation: isolate;
    padding: 25px 17px;
    border-radius: 110px 110px 12px 12px;
    border: 1px solid #B59A6255;
    background-color: var(--chapter-color);
    background-image:
        linear-gradient(
            180deg,
            #17120f44,
            transparent 30%,
            #17120fbb 75%,
            #17120f
        ),
        var(--chapter-image,none);
    background-position: center;
    background-size: cover;
    box-shadow: 0 12px 25px #0003;
    transition:
        transform 350ms var(--ease),
        border-color 250ms,
        box-shadow 250ms;
}

.chapter::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid #B59A6244;
    border-radius: inherit;
    pointer-events: none;
}

.chapter::after {
    content: "";
    position: absolute;
    inset: 13px;
    border: 1px solid #B59A6220;
    border-radius: inherit;
    pointer-events: none;
}

.chapter:nth-child(even) {
    margin-top: 35px;
}

.chapter:hover {
    transform: translate3d(0,-10px,0);
    border-color: var(--gold);
    box-shadow: 0 22px 40px #0005;
}

.chapter.selected {
    border-color: var(--gold);
}

.chapter strong {
    font-family: var(--serif);
    font-size: clamp(22px,2.3vw,35px);
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
}

.chapter > span:first-child {
    align-self: center;
    font-size: 10px;
    letter-spacing: .13em;
    margin-top: 18px;
}

.chapter .symbol {
    font-size: 85px;
    opacity: .45;
}

.chapter.has-art .symbol {
    visibility: hidden;
}

.chapter > span:last-child {
    font-size: 11px;
    color: var(--gold);
}

.service-detail {
    background: #ffffff03;
    border: 1px solid #B59A6233;
    border-radius: 16px;
    padding: clamp(25px,4vw,55px);
}

/* Physical portfolio journal */

.book-scene {
    perspective: 1800px;
}

.book {
    background: #59402c;
    padding: 12px 15px 16px;
    border-radius: 8px;
    box-shadow:
        0 5px 0 #34261a,
        0 9px 0 #241b13,
        0 25px 55px #0006;
}

.book-left {
    background:
        linear-gradient(
            90deg,
            #F5F1E8,
            #e5d6bb 94%,
            #a69272
        );
}

.book-right {
    background:
        linear-gradient(
            90deg,
            #b5a183,
            #F5F1E8 12%,
            #f5ead6
        );
}

.book-art {
    background-position: center;
    background-size: cover;
    border: 5px solid #f7efdf;
    outline: 1px solid #b5a183;
    box-shadow: 0 5px 15px #0002;
    min-height: 270px;
}

.book-art.has-art {
    color: transparent;
}

.book-controls button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* Pricing and correspondence */

.pricing-list article {
    transition: background 200ms ease;
}

.pricing-list article:hover {
    background: #29292905;
}

.letter {
    border-radius: 6px;
    box-shadow: 0 15px 40px #29292912;
}

/* Footer */

footer {
    background:
        linear-gradient(160deg,#171717,#15120f);
}

.footer-wordmark {
    font-size: clamp(48px,15vw,220px);
    color: var(--paper);
    opacity: .9;
}

/* Responsive chapters */

@media(max-width:1100px) {
    .chapters {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .chapter:nth-child(even) {
        margin-top: 0;
    }
}

@media(max-width:760px) {
    .chapters {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }

    .chapter {
        min-height: 300px;
        border-radius: 80px 80px 8px 8px;
        padding: 20px 13px;
    }

    .chapter strong {
        font-size: 24px;
    }

    .navigation {
        border-radius: 22px;
    }

    .hero h1 {
        font-size: clamp(52px,12vw,85px);
    }

    .book-art {
        min-height: 200px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .entrance {
        display: none;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    body.entrance-lock {
        overflow: auto;
    }
}


/* VIRASAT HERITAGE V6 START */

:root {
    --display: 'Playfair Display', Georgia, serif;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Manrope', Arial, sans-serif;
    --dark: #171717;
    --ink: #292929;
    --paper: #F5F1E8;
    --gold: #B59A62;
    --clay: #B59A62;
    --ease: cubic-bezier(.22,1,.36,1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sans);
    overflow-x: hidden;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3,
.hero h1,
.book-right h2,
.footer-wordmark,
.brand {
    font-family: var(--display);
    font-weight: 600;
    font-optical-sizing: auto;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(48px,6.8vw,112px);
    line-height: 1.13;
}

h2 {
    font-size: clamp(34px,4.8vw,76px);
    line-height: 1.18;
}

h3 {
    font-size: clamp(23px,2.5vw,34px);
    line-height: 1.3;
}

em {
    font-weight: 500;
    font-style: italic;
}

p {
    font-family: var(--sans);
    font-size: clamp(14px,1.1vw,17px);
    line-height: 1.85;
}

[lang="sa"] {
    font-family: 'Noto Serif Devanagari',
                 'Nirmala UI', Mangal, serif;
    letter-spacing: 0;
    line-height: 1.9;
}

/* PREMIUM FLOATING HEADER */

.navigation {
    top: 18px;
    width: min(calc(100% - 48px),1320px);
    min-height: 70px;
    padding: 10px 18px;
    gap: 16px;
    border: 1px solid rgba(181,154,98,.22);
    border-radius: 20px;
    background: rgba(29,25,21,.91);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px #0003;
}

.brand {
    flex-shrink: 0;
    font-size: 24px;
    letter-spacing: .045em;
    font-weight: 700;
}

.brand img {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    border: 1px solid #B59A6266;
}

.navigation nav {
    align-items: center;
    gap: 4px;
}

nav a {
    position: relative;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 10px;
    transition: color .2s, background .2s;
}

nav a.active {
    color: var(--gold);
    background: #B59A6210;
}

nav a:hover {
    color: var(--gold);
}

.navigation .button {
    min-height: 44px;
    border-radius: 12px;
    padding: 12px 20px;
    white-space: nowrap;
    font-weight: 800;
}

.button {
    min-height: 46px;
    border-radius: 10px;
    font-weight: 700;
    transition: transform .2s,
                background .2s,
                color .2s;
}

.button:hover {
    transform: translateY(-2px);
}

/* CINEMATIC ARCHITECTURAL HOMEPAGE */

.hero {
    min-height: 100svh;
    padding: 150px 6% 110px;
    background: #241c16;
}

.hero.has-image {
    background:
        linear-gradient(
            180deg,
            rgba(19,15,11,.45),
            rgba(19,15,11,.55) 48%,
            rgba(19,15,11,.9)
        ),
        var(--hero-image) center center / cover no-repeat;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: clamp(58px,8vw,132px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.055em;
    margin: 20px 0 30px;
    text-shadow: 0 5px 40px #0005;
}

.hero h1 em {
    font-weight: 500;
    color: #e1c58e;
}

.hero p {
    max-width: 600px;
    color: #F5F1E8;
    margin: 25px auto 32px;
}

.hero .eyebrow {
    font-size: 11px;
    letter-spacing: .23em;
}

.hero .orb {
    display: none;
}

.hero-bottom {
    border-color: #e4c68c44;
    padding-top: 18px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 95px 4% 25px;
    border: 1px solid #B59A6225;
    pointer-events: none;
}

/* EDITORIAL CONTENT */

.section,
.editorial {
    padding: clamp(70px,9vw,145px) 7%;
}

.editorial.light {
    background:
        radial-gradient(
            ellipse at 90% 10%,
            #B59A6220,
            transparent 60%
        ),
        #F5F1E8;
}

.editorial-columns {
    gap: 7%;
}

.eyebrow {
    font-weight: 800;
    letter-spacing: .19em;
}

.process-grid article {
    padding: 30px 20px;
    border: 1px solid #29292925;
    border-radius: 8px;
    background: #ffffff20;
}

.process-grid article span {
    font-family: var(--display);
}

/* REALISTIC JOURNAL */

.book-scene {
    perspective: 2200px;
    max-width: 1180px;
    margin: 70px auto 50px;
    padding: 20px 10px;
}

.book {
    position: relative;
    transform-style: preserve-3d;
    background:
        linear-gradient(
            135deg,
            #795334,
            #3b291c 60%,
            #68462b
        );
    padding: 14px 17px 20px;
    border: 1px solid #a28252;
    border-radius: 9px 15px 15px 9px;
    box-shadow:
        0 4px 0 #a49170,
        0 7px 0 #d8c5a2,
        0 10px 0 #958261,
        0 14px 0 #b9a687,
        0 19px 0 #38271b,
        0 40px 70px #0006;
    transform: rotateX(3deg);
    transition: transform 450ms var(--ease);
}

.book-left,
.book-right {
    min-height: 460px;
    position: relative;
    padding: clamp(25px,4vw,55px);
    border: 1px solid #ad9b7b;
}

.book-left {
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 5px,
            #8a735205 6px
        ),
        linear-gradient(
            90deg,
            #e4d3b3,
            #f5ead5 12%,
            #F5F1E8 90%,
            #ad9875
        );
}

.book-right {
    transform-origin: left center;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 5px,
            #8a735205 6px
        ),
        linear-gradient(
            90deg,
            #b4a07e,
            #F5F1E8 13%,
            #f7edd9 95%,
            #ddc9a7
        );
    box-shadow: inset 0 0 35px #9a81591a;
}

.book-left::before,
.book-right::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid #8d765333;
    pointer-events: none;
}

.book-right h2 {
    font-size: clamp(30px,4vw,62px);
    color: #292929;
    font-weight: 600;
    letter-spacing: -.035em;
}

.book-art {
    min-height: 290px;
    border: 7px solid #f8f0df;
    outline: 1px solid #aa9674;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 18px #35251633;
    transform: rotate(-1.2deg);
}

.book-controls {
    margin: 35px auto;
    gap: 18px;
}

.book-controls button {
    border-radius: 8px;
}

.book-controls button:disabled {
    opacity: .3;
    cursor: not-allowed;
    transform: none;
}

/* SIX PREMIUM CHAPTERS */

.chapters {
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap: 24px;
}

.chapter {
    min-height: 380px;
    border-radius: 150px 150px 12px 12px;
    padding: 35px 25px;
    border: 1px solid #B59A6266;
    box-shadow: 0 15px 35px #0004;
    transition: transform .3s var(--ease),
                border-color .25s;
}

.chapter:nth-child(even) {
    margin-top: 0;
}

.chapter:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
}

.chapter strong {
    font-family: var(--display);
    font-size: clamp(23px,2.5vw,36px);
    font-weight: 600;
    line-height: 1.2;
}

.chapter .symbol {
    font-family: var(--display);
    font-weight: 500;
}

.service-detail {
    border: 1px solid #B59A6233;
    background: #ffffff03;
    border-radius: 12px;
}

/* PRICING LEDGER */

.pricing-list article {
    padding: 30px 22px;
    border: 1px solid #29292922;
    border-radius: 10px;
    margin-bottom: 14px;
    background: #ffffff30;
}

.price {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(28px,3vw,45px);
}

/* ANTIQUE CORRESPONDENCE */

#contact {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(
            ellipse at 85% 20%,
            #B59A6244,
            transparent 50%
        ),
        #e8d8bb;
}

.letter {
    position: relative;
    max-width: 850px;
    margin: 50px auto 20px;
    padding: clamp(30px,6vw,80px);
    border-radius: 3px;
    border: 1px solid #9c825a;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 7px,
            #91734405 8px
        ),
        linear-gradient(
            130deg,
            #f6ecd8,
            #efe1c5,
            #e5d0aa
        );
    box-shadow:
        0 2px 0 #c3ad86,
        0 6px 0 #d9c6a5,
        0 12px 0 #bda681,
        0 25px 50px #49351d25;
}

.letter::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid #9c825a66;
    pointer-events: none;
}

.letter::after {
    content: "V";
    position: absolute;
    right: 35px;
    top: 26px;
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 30% 25%,
            #ac6549,
            #783f2d 65%,
            #502b20
        );
    border: 3px double #d3a27a;
    color: #f1d4a2;
    font-family: var(--display);
    font-size: 28px;
    box-shadow: 2px 4px 8px #39201633;
    transform: rotate(-12deg);
    pointer-events: none;
}

.letter .eyebrow {
    margin-right: 70px;
    font-family: var(--display);
    font-size: 17px;
    letter-spacing: .06em;
}

.letter label {
    font-size: 13px;
    color: #5d4933;
}

.letter input,
.letter select,
.letter textarea {
    background: #ffffff25;
    border: 0;
    border-bottom: 1px solid #9c825a88;
    border-radius: 0;
    padding: 14px 8px;
    color: #292929;
    font-size: 16px;
}

.letter input:focus,
.letter textarea:focus,
.letter select:focus {
    outline: 1px solid #9c825a;
    outline-offset: 2px;
    background: #ffffff45;
}

.letter .button {
    background: #392b20;
    color: #F5F1E8;
}

/* ENTRANCE */

.entrance-brand img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
}

.entrance-brand h2 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: .14em;
    font-size: clamp(30px,5vw,55px);
}

.entrance-brand p {
    font-size: clamp(19px,3vw,27px);
}

.door {
    background:
        radial-gradient(
            ellipse at center,
            #292929,
            #211a14
        );
    transition: transform 720ms
        cubic-bezier(.76,0,.24,1);
}

/* FOOTER */

footer {
    background: #191613;
    border-top: 1px solid #B59A6233;
}

.footer-wordmark {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(46px,14vw,210px);
    letter-spacing: -.055em;
}

/* TABLETS */

@media(max-width:1100px) {
    .navigation {
        width: calc(100% - 30px);
        gap: 8px;
    }

    nav a {
        padding: 10px;
        font-size: 12px;
    }

    .brand {
        font-size: 20px;
    }

    .chapters {
        gap: 16px;
    }

    .chapter {
        min-height: 330px;
    }

    .book-left,
    .book-right {
        padding: 30px;
        min-height: 380px;
    }
}

/* MOBILE AND SMALL TABLETS */

@media(max-width:850px) {
    .navigation {
        top: 10px;
        width: calc(100% - 24px);
        border-radius: 16px;
        padding: 10px 12px;
        flex-wrap: wrap;
        min-height: 60px;
    }

    .brand {
        font-size: 19px;
        gap: 7px;
    }

    .brand img {
        width: 35px;
        height: 35px;
    }

    .menu-toggle {
        display: block;
        background: transparent;
        border: 1px solid #B59A6244;
        border-radius: 8px;
        color: var(--paper);
        padding: 10px 12px;
        min-height: 44px;
        font-size: 12px;
    }

    .navigation nav {
        display: none;
        width: 100%;
        order: 5;
        padding-top: 12px;
        border-top: 1px solid #B59A6222;
    }

    .navigation nav.expanded {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    nav a {
        padding: 14px;
        font-size: 14px;
    }

    .navigation .button {
        padding: 10px 12px;
        font-size: 11px;
    }

    .hero {
        padding: 130px 6% 115px;
    }

    .hero h1 {
        font-size: clamp(48px,10vw,90px);
        letter-spacing: -.045em;
    }

    .hero p {
        font-size: 15px;
    }

    .chapters {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .chapter {
        min-height: 300px;
        padding: 22px 17px;
    }

    .book {
        transform: none;
    }

    .book-art {
        min-height: 220px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    main > .page.section {
        padding-top: 120px;
    }
}

@media(max-width:480px) {
    .navigation {
        gap: 5px;
    }

    .brand {
        font-size: 16px;
    }

    .brand img {
        width: 30px;
        height: 30px;
    }

    .hero h1 {
        font-size: clamp(44px,12vw,62px);
    }

    .hero-bottom {
        justify-content: center;
        text-align: center;
    }

    .hero::after {
        display: none;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: auto;
    }

    .chapter {
        min-height: 270px;
        padding: 20px 12px;
        border-radius: 90px 90px 8px 8px;
    }

    .chapter strong {
        font-size: 22px;
    }

    .chapter .symbol {
        font-size: 55px;
    }

    .book-scene {
        padding: 10px 0;
        margin: 35px auto;
    }

    .book {
        grid-template-columns: 1fr;
        padding: 8px 9px 13px;
    }

    .book-left,
    .book-right {
        min-height: auto;
        padding: 25px;
    }

    .book-controls {
        gap: 8px;
    }

    .book-controls .button {
        padding: 12px;
        font-size: 12px;
    }

    .letter {
        padding: 35px 24px;
    }

    .letter::after {
        width: 42px;
        height: 42px;
        right: 23px;
        top: 23px;
        font-size: 23px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        gap: 25px;
    }
}

@media(prefers-reduced-motion:reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .book {
        transform: none !important;
    }
}

/* VIRASAT HERITAGE V6 END */
