@font-face {
    font-family: "Delight";
    src: url("./asset/fonts/delight-black.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #0a0a0a;
    --paper: #ffffff;
    --muted: #767676;
    --surface: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

@view-transition {
    navigation: auto;
}

/* Lenis Smooth Scroll Boilerplate */
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    color: var(--ink);
    font-family: "Delight", sans-serif;
    overflow-x: hidden;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


/* =========================================================
   FIXED NAVIGATION
   ========================================================= */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 100;
    mix-blend-mode: difference;
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
    box-sizing: border-box;
}
.topbar .brand {
    font-weight: 600;
    font-size: clamp(11px, 1.15vw, 18px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 240px);
    color: #ffffff;
    transition: color 0.2s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: auto;
}
.topbar .brand2 {
    font-weight: 100;
    font-size: clamp(11px, 1.15vw, 18px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 240px);
    color: #ffffff;
    transition: color 0.2s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: auto;
}
body.nav-invert .topbar .brand {
    color: #ffffff;
}
body.nav-invert .gridsnav a {
    color: #ffffff;
}

.gridsnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 56px;
    padding: 0 10px;
    box-sizing: border-box;
    mix-blend-mode: difference;
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
}
.nav-links {
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
    padding: 0;
    pointer-events: auto;
}
.nav-links.is-pinned {
    position: fixed;
    top: 5px;
    left: 0;
    right: 0;
}
.home,
.about,
.contact {
    font-size: 12px;
    font-weight: bolder;
    margin: 0;
    padding: 0;
}

.gridsnav a {
    text-decoration: none;
    color: white;
    transition: color 0.2s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    padding-bottom: 4px;
}

.gridsnav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width 0.3s ease;
}

.gridsnav a:hover::after {
    width: 100%;
}

.nav-links a {
    filter: blur(0px);
    transition: filter 0.35s ease;
}

.nav-links a:hover {
    filter: blur(1px);
}


/* =========================================================
   PROJECT TITLE BANNER
   ========================================================= */

.bigname {
    padding-top: clamp(65px, 8vw, 105px);
    padding-right: 24px;
    padding-bottom: clamp(24px, 3vw, 44px);

    width: 100%;
}

.bigname-title,
.bigname-project1 {
    font-family: "Delight", sans-serif;
    font-size: clamp(48px, 9vw, 150px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}


/* =========================================================
   PROJECT SHOWCASE LAYOUT (STICKY SIDEBAR + SCROLLING GALLERY)
   Inspired by minimal architectural portfolios
   ========================================================= */

.project-showcase {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;

    gap: clamp(32px, 5vw, 80px);

    /* Same left alignment as THE INTERIOR COLLECTIVE */
    padding-left: 10px;

    /* Same right alignment as CONTACT */
    padding-right: 24px;

    padding-bottom: clamp(60px, 8vw, 140px);

    width: 100%;
    position: relative;
}

/* Sticky Left Sidebar (Metadata & Narrative) */
.project-sidebar {
    flex: 0 0 clamp(280px, 30vw, 430px);
    position: sticky;
    top: clamp(76px, 6vw, 100px);
    align-self: flex-start;
    z-index: 10;
}

.project-sticky-card {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2vw, 28px);
}

.project-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.project-meta-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-label {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.meta-val {
    font-family: "Inter", sans-serif;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 500;
    color: var(--ink);
}

.project-desc {
    font-family: "Inter", sans-serif;
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.7;
    color: #262626;
    font-weight: 400;
    max-width: 46ch;
}

/* Scrolling Right Gallery Stream */
.project-gallery {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.gallery-item {
    position: relative;
    width: 100%;
    border-radius: clamp(12px, 1.2vw, 20px);
    overflow: hidden;
    background-color: transparent;
    transform: translateZ(0);
}

.gallery-media {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: inherit;
}

.gallery-media img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    border-radius: inherit;
    transform: none;
}

/* Backwards compatibility aliases */
.year {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
}
.para {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #262626;
}


/* =========================================================
   FOOTER
   ========================================================= */

.gridfooter {
    position: relative;
    z-index: 90;
    background-color: #ffffff;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(3, 50px);
    gap: 5px;
    margin-top: 60px;
    padding-bottom: 24px;
}
.mumbai {
    grid-column: 1/3;
    grid-row: 1/1;
    font-size: 12px;
    margin-left: 15px;
}
.confooter {
    grid-column: 1/3;
    grid-row: 2/2;
    font-size: 12px;
    margin-left: 15px;
    margin-top: 20px;
}
.mailfooter {
    grid-column: 1/3;
    grid-row: 2/2;
    font-size: 12px;
    margin-left: 15px;
    margin-top: 35px;
    cursor: pointer;
    width: fit-content;
    filter: blur(0px);
    transition: filter 0.35s ease;
}
.mailfooter:hover,
.mailfooter a:hover {
    filter: blur(1px);
}
.mailfooter a {
    text-decoration: none;
    color: inherit;
}
.copyfooter {
    grid-column: 1/3;
    grid-row: 3/3;
    font-size: 12px;
    margin-left: 15px;  
    margin-top: 15px; 
}
.socialfooter {
    grid-column: 2/4;
    grid-row: 2/2;
    font-size: 12px;
    margin-top: 20px;
    margin-left: 80px;
}
.socialfooter a {
    text-decoration: none;
    color: black;
    filter: blur(0px);
    transition: filter 0.35s ease;
}
.socialfooter a:hover {
    filter: blur(1px);
}
.rightfooter {
    grid-column: 2/4;
    grid-row: 3/3;
    font-size: 12px;
    margin-top: 15px;
    margin-left: 80px;
    white-space: nowrap;
}
.devfooter {
    grid-column: 7 / 11;
    grid-row: 2 / 3;
    font-size: 12px;
    text-align: right;
    margin-top: 35px;
    padding-right: 24px;
    white-space: nowrap;
}
.developer {
    grid-column: 7 / 11;
    grid-row: 3 / 4;
    font-size: 12px;
    text-align: right;
    margin-top: 0px;
    padding-right: 24px;
    white-space: nowrap;
}
.developer2 {
    grid-column: 7 / 11;
    grid-row: 3 / 4;
    font-size: 12px;
    text-align: right;
    margin-top: 16px;
    padding-right: 24px;
    white-space: nowrap;
}
.developer a,
.developer2 a {
    text-decoration: none;
    color: black;
    filter: blur(0px);
    transition: filter 0.35s ease;
}
.developer a:hover,
.developer2 a:hover {
    filter: blur(1px);
}


/* =========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================= */

/* Tablet & Mobile Layout Adaptations (<= 899px) */
@media (max-width: 899px) {
    .bigname {
        padding: clamp(55px, 9vw, 85px) clamp(16px, 3.5vw, 24px) 12px;
    }

    .bigname-title,
    .bigname-project1 {
        font-size: clamp(38px, 9.5vw, 76px);
        line-height: 0.95;
    }

    .project-showcase {
        flex-direction: column;
        gap: 32px;
        padding: 0 clamp(16px, 3.5vw, 24px) 60px;
    }

    .project-sidebar {
        position: static;
        flex: none;
        width: 100%;
    }

    .project-desc {
        max-width: 100%;
    }

    .project-gallery {
        width: 100%;
        gap: 8px;
    }

   .gallery-media img {
    width: 100%;
    height: auto;
    object-fit: initial;
    object-position: initial;
    transform: none !important;
}

    .gallery-media img {
        transform: none !important;
    }
}

/* Tablet footer (landscape & portrait, including iPad Pro) */
@media (max-width: 1024px) and (min-width: 650px) {
    .gridfooter {
        grid-template-columns: repeat(10, 1fr);
        grid-template-rows: repeat(3, 50px);
        padding: 0 clamp(15px, 2.5vw, 24px) 24px;
        gap: 5px;
    }
    .mumbai { grid-column: 1 / 4; grid-row: 1 / 2; margin-left: 0; }
    .confooter { grid-column: 1 / 4; grid-row: 2 / 3; margin-left: 0; margin-top: 20px; }
    .mailfooter { grid-column: 1 / 4; grid-row: 2 / 3; margin-left: 0; margin-top: 35px; }
    .copyfooter { grid-column: 1 / 4; grid-row: 3 / 4; margin-left: 0; margin-top: 15px; }
    
    .socialfooter { grid-column: 4 / 7; grid-row: 2 / 3; margin-left: 0; margin-top: 20px; text-align: left; padding-right: 0; }
    .rightfooter { grid-column: 4 / 7; grid-row: 3 / 4; margin-left: 0; margin-top: 15px; text-align: left; padding-right: 0; white-space: nowrap; }
    .devfooter { grid-column: 7 / 11; grid-row: 2 / 3; margin-top: 35px; text-align: right; padding-right: 0; white-space: nowrap; }
    .developer { grid-column: 7 / 11; grid-row: 3 / 4; margin-top: 0px; text-align: right; padding-right: 0; white-space: nowrap; }
    .developer2 { grid-column: 7 / 11; grid-row: 3 / 4; margin-top: 16px; text-align: right; padding-right: 0; white-space: nowrap; }
}

/* Tablet & High-Res Portrait Orientation Adaptations */
@media (min-width: 900px) and (orientation: portrait) {
    .topbar {
        height: clamp(56px, 3vw, 76px);
        padding: 0 clamp(20px, 2.5vw, 40px);
    }
    .topbar .brand,
    .topbar .brand2 {
        font-size: clamp(18px, 1.1vw, 24px);
    }
    .nav-links {
        gap: clamp(20px, 2.5vw, 40px);
        padding-top: clamp(18px, 1.4vw, 28px);
        padding-right: clamp(20px, 2.5vw, 40px);
    }
    .nav-links a {
        font-size: clamp(12px, 0.8vw, 16px);
    }
    .bigname {
        padding: clamp(65px, 4.5vw, 100px) clamp(20px, 2.5vw, 40px) clamp(16px, 1.5vw, 28px);
    }
    .bigname-title,
    .bigname-project1 {
        font-size: clamp(56px, 7.5vw, 130px);
    }
    .project-showcase {
        gap: clamp(28px, 3vw, 48px);
        padding: 0 clamp(20px, 2.5vw, 40px) clamp(40px, 5vw, 80px);
    }
}

/* Mobile Devices (<= 649px) */
@media (max-width: 649px) {
    .topbar {
        padding: 0 10px;
    }
    .topbar .brand,
    .topbar .brand2 {
        font-size: clamp(8.5px, 2.7vw, 12.5px);
        letter-spacing: -0.01em;
        max-width: calc(100% - 165px);
    }
    .gridsnav {
        padding: 0 10px;
        height: 56px;
    }
    .nav-links {
        padding: 0;
        gap: clamp(8px, 2vw, 16px);
    }
    .nav-links a {
        font-size: clamp(8.5px, 2.3vw, 10.5px);
    }
    .gridfooter {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, auto);
        gap: 12px clamp(12px, 3vw, 24px);
        padding: 40px clamp(15px, 3.5vw, 24px) 24px;
    }
    .gridfooter .confooter {
        display: none !important;
    }
    .gridfooter > div {
        margin: 0 !important;
        font-size: clamp(10.5px, 2.7vw, 12px);
        line-height: 1.4;
    }
    .mumbai {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
        text-align: left !important;
        margin-left: 0 !important;
    }
    .socialfooter {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
        text-align: right !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
    .mailfooter {
        grid-column: 1 / 2 !important;
        grid-row: 2 / 3 !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
    .devfooter {
        grid-column: 2 / 3 !important;
        grid-row: 2 / 3 !important;
        text-align: right !important;
        margin-top: 0 !important;
        padding-right: 0 !important;
    }
    .copyfooter {
        grid-column: 1 / 2 !important;
        grid-row: 3 / 4 !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
    .developer {
        grid-column: 2 / 3 !important;
        grid-row: 3 / 4 !important;
        text-align: right !important;
        margin-top: 0 !important;
        padding-right: 0 !important;
    }
    .rightfooter {
        grid-column: 1 / 2 !important;
        grid-row: 4 / 5 !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
    .developer2 {
        grid-column: 2 / 3 !important;
        grid-row: 4 / 5 !important;
        text-align: right !important;
        margin-top: 0 !important;
        padding-right: 0 !important;
    }
}

/* =========================================================
   4K ULTRA-HD & LARGE MONITORS (>= 2000px)
   ========================================================= */
@media (min-width: 2000px) and (orientation: landscape) {
    .topbar {
        height: clamp(64px, 3vw, 96px);
        padding: 0 clamp(16px, 1vw, 30px);
    }
    .topbar .brand,
    .topbar .brand2 {
        font-size: clamp(20px, 0.9vw, 32px);
    }
    .nav-links {
        gap: clamp(24px, 2vw, 60px);
        padding-top: clamp(20px, 1.2vw, 36px);
        padding-right: clamp(16px, 1vw, 30px);
    }
    .nav-links a {
        font-size: clamp(13px, 0.65vw, 20px);
    }
    .bigname {
        padding: clamp(80px, 5vw, 140px) clamp(24px, 2vw, 60px) clamp(30px, 2vw, 50px);
    }
    .bigname-title,
    .bigname-project1 {
        font-size: clamp(100px, 11vw, 320px);
    }
    .project-showcase {
        gap: clamp(48px, 4vw, 100px);
        padding: 0 clamp(24px, 2vw, 60px) clamp(80px, 8vw, 180px);
    }
    .project-sidebar {
        flex: 0 0 clamp(360px, 26vw, 600px);
        top: clamp(90px, 5vw, 140px);
    }
    .meta-label {
        font-size: clamp(12px, 0.65vw, 16px);
    }
    .meta-val {
        font-size: clamp(16px, 0.9vw, 22px);
    }
    .project-desc {
        font-size: clamp(17px, 0.95vw, 24px);
        line-height: 1.7;
    }
    .project-gallery {
    gap: 10px;
}
    .gallery-item {
        border-radius: clamp(16px, 1.2vw, 28px);
    }
}
