:root {
  --font-body: 'Newsreader', serif;
  --font-headline: 'Libre Caslon Text', serif;
  --font-label: 'Literata', serif;
}

html,
body,
.page-wrapper,
.main-wrapper,
section,
[class*="section_"],
.nav_component,
.footer_component {
    background-color: #000 !important;
}

/* 2. Preloader */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.preloader_slices {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1;
}

.preloader_slice {
    flex: 1;
    background-color: #000;
    height: 100%;
}

.preloader-ui {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-percent {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: #fff;
    margin-top: 2rem;
}

/* 2. About Section — Sticky word reveal */
.section_about {
    height: 300vh !important;
    position: relative !important;
    z-index: 1 !important;
    background-color: #000 !important;
}

.section_about-next {
    position: relative !important;
    z-index: 2 !important;
    background-color: #000 !important;
    background-image: url("/assets/images/1.jpeg") !important;
    background-position: 50% !important;
    background-size: cover !important;
}

.about-next_overlap {
    background-image: linear-gradient(#000, rgba(0, 0, 0, 0.2) 60%, #000) !important;
}

.container-global.is-about {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    overflow: hidden !important;
    /* Clip the flying words here, NOT on the parent */
}

.about-text {
    font-family: var(--font-body) !important;
    font-size: 3.25rem !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: #fff !important;
    max-width: 76rem !important;
    width: 100% !important;
    text-align: left !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-text .word {
    display: inline-block !important;
    transform: translateX(110vw);
    margin-right: 0.18em !important;
    will-change: transform;
    opacity: 0;
    /* Hidden initially, JS will animate this */
}

/* 3. Works Section — Production 3-column grid */
.section_works {
    position: relative !important;
    z-index: 5 !important;
    background-color: #000 !important;
}

.works_main-wrapper {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 17.43px !important;
    align-items: start !important;
    position: relative !important;
}

.works-left {
    grid-column: 1 / 3 !important;
    /* Columns 1-2 */
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    z-index: 10 !important;
}

.works-center {
    grid-column: 3 / 4 !important;
    /* Column 3 */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
}

.works-right {
    grid-column: 4 / 6 !important;
    /* Columns 4-5 */
    position: relative !important;
    z-index: 5 !important;
}

.works-titles {
    display: flex !important;
    flex-direction: column !important;
}

@media (min-width: 992px) {
    .works-titles {
        padding-top: 50vh !important;
        padding-bottom: 50vh !important;
    }
}

/* --- Works Section Restoration --- */
.works_main-wrapper {
    display: grid !important;
    grid-template-columns: 2fr 1.5fr 1fr !important;
    /* Widened center for horizontal title */
    gap: 2rem !important;
    width: 100% !important;
    position: relative !important;
}

.works-left {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
}

.works-center {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.h2_works {
    font-family: var(--font-body) !important;
    font-size: clamp(40px, 5vw, 87.15px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.2) !important;
    transition: color 0.2s linear !important;
    cursor: pointer !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

/* --- Hero Description Fix --- */
.hero_top-desc-holder .p {
    word-spacing: normal !important;
    text-align: left !important;
    letter-spacing: -0.01em !important;
}

/* --- Works Overlap Fix --- */
.works-right {
    padding-left: 2vw !important;
    /* Push titles away from year */
}

.works-right_overlay-top {
    background-image: linear-gradient(#000, rgba(0, 0, 0, 0)) !important;
}

.works-right_overlay-bottom {
    background-image: linear-gradient(rgba(0, 0, 0, 0), #000) !important;
}

.h2_works.is-active {
    color: #fff !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

.work_h2-wrapper {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

/* Works Year */
.works-year {
    display: inline-flex !important;
    gap: 2px !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.1em !important;
    font-weight: 400 !important;
}

.works-year__digit {
    display: inline-block !important;
    width: 0.65em !important;
    text-align: center !important;
}

/* Works Details */
.work-detail {
    display: none;
    opacity: 0;
}

@media (min-width: 992px) {
    .work-detail:first-child {
        display: block !important;
        opacity: 1 !important;
    }
}

.works-detail_img-holder {
    width: 85% !important;
    max-width: 35rem !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.works-detail_img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.works-detail_img.is-sm {
    border: none !important;
}

.work-detail_list {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-top: 2rem !important;
}

.work-detail_list-item {
    display: flex !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 1rem 0 !important;
    gap: 2rem !important;
}

.work-detail_list-left {
    flex: 0 0 30% !important;
    max-width: 30% !important;
}

.work-detail_list-left p {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #fff !important;
    letter-spacing: -0.02em !important;
}

.work-detail_list-right {
    flex: 1 !important;
}

.work-detail_list-right p {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.4 !important;
}

.work-detail_list-tags {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.works-detail_bottom {
    margin-top: 2rem !important;
}

.button-line {
    width: 100% !important;
    height: 1px !important;
    background-color: #fff !important;
    margin-top: 0.5rem !important;
    transform-origin: left !important;
}

/* 4. Services Section */
.section_services-top {
    position: relative !important;
    z-index: 10 !important;
    background-color: #000 !important;
}

.section_services {
    position: relative !important;
    z-index: 10 !important;
    background-color: #000 !important;
    min-height: 100vh !important;
    perspective: 3600px !important;
}

.service_slide {
    position: relative !important;
    height: 100vh !important;
}

.content-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 100vh !important;
    transform-style: preserve-3d !important;
}

.slide-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: absolute !important;
    inset: 0 !important;
    background-color: #fff !important;
    /* Default: White */
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.slide-content.is-black {
    background-color: #000 !important;
}

.slide-content.is-grey {
    background-color: #3f3f3f !important;
}

.slide-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    padding: 4rem 2rem 0 !important;
}

.h2_slide {
    color: #000 !important;
    /* Default: Black */
    font-size: 7.5vw !important;
    line-height: 0.85em !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.04em !important;
    text-align: center !important;
}

/* Override text color for dark slides */
.slide-content.is-black .h2_slide,
.slide-content.is-grey .h2_slide {
    color: #fff !important;
}

.slide-number {
    color: rgba(10, 10, 10, 0.6) !important;
    font-size: 1.5rem !important;
}

.slide-content.is-black .slide-number,
.slide-content.is-grey .slide-number {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* The white Approach row — production uses a 4-column grid */
.slide-bottom {
    background-color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6rem 10% !important;
    position: relative !important;
    min-height: 60vh !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    text-align: center !important;
}

.slide-lable-wrapper {
    margin-bottom: 1.5rem !important;
}

.slider-info_wrapper {
    width: 100% !important;
    max-width: 50rem !important;
    margin-bottom: 2rem !important;
}

/* Image wrapper removed from layout */

.slide_pic {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.slide-bottom .p,
.slide-bottom .p.black,
.slide-bottom .p._60 {
    color: #333 !important;
    font-size: 1.25rem !important;
    /* Enlarged from 14px */
    line-height: 1.5 !important;
    text-align: center !important;
}

.slide-lable-wrapper .p {
    color: #000 !important;
}

.button-add.is-black .p {
    color: #000 !important;
}

.button-line.is-black {
    background-color: #000 !important;
}

/* Service laptop */
.service_laptop-wrapper {
    position: relative !important;
    z-index: 3 !important;
}

/* 5. Hero */
.h1.is-hero {
    line-height: 0.8 !important;
    /* Tighter for parity */
    letter-spacing: -0.05em !important;
    font-size: clamp(3.5rem, 6vw, 8.5rem) !important;
    text-transform: none !important;
    margin-bottom: 2rem !important;
}

/* 6. Team Section */
.section_team {
    position: relative !important;
    z-index: 15 !important;
    /* Higher than Services (10) */
    background-color: #000 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.team_cards {
    margin-top: 0 !important;
}



.team-card_person-wrapper {
    overflow: hidden !important;
    transform: translateZ(0) !important;
}

.team-card_person-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 7. Footer */
.section_footer {
    position: relative !important;
    z-index: 20 !important;
    /* Higher than Team (15) */
    background-color: #000 !important;
    padding: 0 !important;
    margin-top: 10rem !important;
    /* Reduced margin */
    color: #fff !important;
}

.footer_big-text {
    font-size: 14vw !important;
    /* Matches nayakandco.in proportion */
    line-height: 0.8 !important;
    letter-spacing: -0.05em !important;
    color: #fff !important;
    text-transform: none !important;
    margin-bottom: -1vw !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.footer_top-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4vw !important;
    margin-bottom: 8rem !important;
    align-items: start !important;
}

.footer_bottom-wrapper {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    align-items: end !important;
    width: 100% !important;
}

.footer_logo-text-wrapper {
    grid-column: 1 !important;
}

.footer_bottom-left-side {
    grid-column: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 4rem !important;
}

.footer_link-title .p {
    font-size: 0.85rem !important;
    opacity: 0.6 !important;
    margin-bottom: 1.5rem !important;
}

.footer_link-wrap {
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
    height: 18px !important;
    /* Matches production ~17.8px */
    text-decoration: none !important;
}

.footer_link-text {
    font-family: var(--font-body) !important;
    font-size: 15.687px !important;
    font-weight: 500 !important;
    line-height: 17.25px !important;
    color: #fff !important;
    display: block !important;
    white-space: nowrap !important;
}

.footer_link-text:nth-child(2) {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
}

.span-gray {
    opacity: 0.4 !important;
}

.footer_bottom-img-wrapper {
    width: 250px !important;
    aspect-ratio: 4/3 !important;
    overflow: hidden !important;
    border-radius: 4px !important;
}

.footer_images-holder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.footer_bottom-terms-wrapper {
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 1rem !important;
}

/* 8. Testimonials */
.testimonial_card {
    position: relative !important;
    padding: 3rem 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.testimonial_index {
    position: absolute !important;
    top: 1rem !important;
    left: 2rem !important;
    font-size: 0.75rem !important;
    opacity: 0.5 !important;
}

.testimonial_text {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    color: #fff !important;
    display: block !important;
}

.testimonial_ind.works-section-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.works-section-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vertical-text {
    font-size: 2.25rem !important;
    letter-spacing: -0.02em !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    opacity: 0.8 !important;
    text-align: center !important;
}

/* 9. Nav */
.nav_wrapper {
    padding-top: 17.43px !important;
    width: 100% !important;
}

.nav_contain {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.nav_link-block {
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    height: 18px !important;
    /* Matches link height */
    text-decoration: none !important;
    margin-right: 2rem !important;
}

.nav_link-block:last-child {
    margin-right: 0 !important;
}

.link_text {
    font-family: var(--font-body) !important;
    font-size: 15.687px !important;
    font-weight: 400 !important;
    line-height: 15.687px !important;
    letter-spacing: -0.47061px !important;
    color: #fff !important;
    display: block !important;
    white-space: nowrap !important;
}

.link_text:nth-child(2) {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
}

/* Contact Button */
.button-main {
    background-color: #fff !important;
    border: 1px solid #fff !important;
    border-radius: 100px !important;
    padding: 8.715px 1.5rem !important;
    text-decoration: none !important;
    overflow: hidden !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.4s ease, scale 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.button-main:hover {
    background-color: transparent !important;
    scale: 0.95 !important;
}

.button-main_inner {
    position: relative !important;
    height: 14px !important;
    overflow: hidden !important;
}

.button-text {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #000 !important;
    line-height: 14px !important;
    display: block !important;
    transition: color 0.4s ease !important;
}

.button-main:hover .button-text {
    color: #fff !important;
}

/* Philosophy Text */
.nav_philosophy-wrapper .p {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.nav_philosophy-wrapper .p.opacity-60 {
    opacity: 0.6 !important;
    max-width: 200px !important;
}

/* 10. Noise Overlay & Cursor */
html,
body {
    cursor: auto !important;
}

.cursor-dot {
    display: none !important;
}

.form_bg-overlay,
.footer_bg-overlay {
    opacity: 0.5 !important;
    mix-blend-mode: overlay !important;
}

/* 11. Split Text Stability */
.gsap_split_line {
    overflow: hidden !important;
    display: block !important;
}

/* 12. Videos */
video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 13. Logo */
.logo-main {
    width: 22.65rem !important;
    /* Matches production 362.5px */
    height: auto !important;
}

/* 14. Mobile */
@media (max-width: 991px) {
    .works_main-wrapper {
        display: block !important;
    }

    .works-left,
    .works-center {
        display: none !important;
    }

    .works-right {
        width: 100% !important;
    }

    .works-titles {
        padding: 0 !important;
    }

    .h2_works {
        font-size: 10vw !important;
        white-space: normal !important;
    }

    /* Force 1:1 on Mobile */
    .works-detail_img-holder {
        width: 90% !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .works-detail_img {
        height: 100% !important;
        object-fit: cover !important;
    }
}