/* home page css */
.loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.horizontal-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    height: 100vh;
    will-change: transform;
}

.h-slide {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    perspective: 1500px;
}

.loader h2 {
    color: #D5D1CC;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 10px;
    word-spacing: 10px;
    
}

.loader h1 {
    font-size: 70px;
    line-height: 63px;
    color: #D5D1CC;
    margin-bottom: 40px;
    font-weight: 300;
    margin-top: 20px;
}

.loader .counter {
    font-size: 70px;
    color: #D5D1CC;
    line-height: 70px;
}

.loader h1,
.loader h2,
.loader .counter {
    opacity: 0;
    transform: translateY(50px);
}

main {
    opacity: 0;
}

header {
    transform: translateY(-100%);
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
}

.wave {
    fill: none;
    stroke: rgba(255, 200, 150, 0.5);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    filter: blur(0.5px);
    opacity: 0.4;
}

.loaderbg {
    position: absolute;
    inset: 0;
}
.abs-figure {
    position: absolute;
    bottom: auto;
    opacity: 0.2;
    top: auto;
}

.abs-figure img {
    height: 420px;
}
/* Section 1 Styles */
.section1 {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    text-transform: uppercase;
    background-color: #000;
}

.section1 h1 {
    font-size: 50px;
    font-weight: 300;
    color: #D5D1CC;
    text-transform: uppercase;
}

.section1-reveal span {
    display: block;
    opacity: 0;
    transform: translateY(60px);
}

/* Section 2 Styles */
.section2 {
    display: flex;
    background-color: #000;
}

.section2-bg {
    position: absolute;
    inset: -15%;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.section2-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.section2-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    width: 100%;
    will-change: transform;
}

.block1 {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background-color: transparent;
}

.image-col {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.content-box {
    max-width: 600px;
    margin-left: 10%;
    color: #fff;
}

.project-tag {
    font-size: 10px;
    letter-spacing: 0.25em;
    color: #c49b63;
    margin-bottom: 2.5rem;
    background: rgba(196, 155, 99, 0.08);
    padding: 6px 16px;
    border-radius: 40px;
    display: inline-block;
    border: 1px solid rgba(196, 155, 99, 0.2);
    text-transform: uppercase;
}

.project-loc {
    font-size: 11px;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    font-weight: 400;
}

.content-box h1.main-title {
    font-size: clamp(2.5rem, 4.2vw, 4.8rem);
    line-height: 1;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-transform: uppercase;
    font-family: var(--h-font);
}

.project-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.visual-wrapper {
    width: 88%;
    height: 78vh;
    margin: auto;
    overflow: hidden;
    position: relative;
    border-radius: 2px;
}


.legacy-link {
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    letter-spacing: 0.3em;
    transition: 0.4s;
    font-weight: 400;
    text-transform: uppercase;
}

.legacy-link:hover {
    border-bottom-color: #c49b63;
    color: #c49b63;
}

/* Slider Nav Styling (Timeless Club Style) */
.slider-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 4%;
    pointer-events: none;
    z-index: 1000;
}

.prev-btn,
.next-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    background: transparent;
    pointer-events: auto;
    color: #fff;
}

.prev-btn::after,
.next-btn::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 55% 45% 45% 55% / 45% 55% 55% 45%;
    animation: rotateDoodle 15s linear infinite;
    pointer-events: none;
}

.prev-btn:hover,
.next-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.prev-btn:hover::after,
.next-btn:hover::after {
    border-color: #fff;
}

@keyframes rotateDoodle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Section 3 — full-bleed video + scroll-driven panels */
.section3--video-story {
    background-color: #000;
}

.section3--video-story .bg-video,
.section3__video-frame {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    transform-origin: 50% 35%;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    isolation: isolate;
}

.section3__video-el {

  will-change: transform;

  transform: translate3d(0, 0, 0);

  transform-style: preserve-3d;

  backface-visibility: hidden;

  perspective: 1000px;

}

.section3--video-story .bg-video video,
.section3__video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    will-change: auto;
}

.section3__video-el.video-background {
    /* frame scrub uses currentTime; no transform on the video itself */
    pointer-events: none;
}

.section3__vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgb(0 0 0 / 62%) 0%, rgb(0 0 0 / 65%) 40%, rgba(0, 0, 0, 0.65) 100%);
}

.section3-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #D5D1CC;
    padding: clamp(1rem, 5vw, 3rem);
    pointer-events: none;
    overflow: hidden;
    perspective: 1200px;
}

/* Panel 1 above panel 2 so copy stays visible; panel 2 revealed when panel 1 fades */
.section3-panel--1 {
    z-index: 3;
}

.section3-panel--2 {
    z-index: 2;
}

.section3-panel__inner {
    pointer-events: auto;
    max-width: 920px;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.section3-panel__title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.section3-panel__text {
    max-width: 560px;
    margin: 0 auto;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.65;
    opacity: 0.85;
    /* font-family: 'TT Drugs', sans-serif; */
    font-weight: 300;
}

.section3-cta {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #D5D1CC;
    text-decoration: none;
    border-bottom: 1px solid rgba(213, 209, 204, 0.45);
    padding-bottom: 0.65rem;
    transition: color 0.3s ease, border-color 0.3s ease, letter-spacing 0.3s ease;
}

.section3-cta:hover {
    color: #fff;
    border-color: #fff;
    letter-spacing: 0.42em;
}

.bg-video {
    position: absolute;
    left: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
}

.bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-col h1 {
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    font-size: 44px;
    letter-spacing: 1px;
}

.content-col a:after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 55% 45% 45% 55% / 45% 55% 55% 45%;
    animation: rotateDoodle 15s linear infinite;
    pointer-events: none;
}

.content-col a {
    width: 85px;
    height: 95px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    background: transparent;
    pointer-events: auto;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-left: auto;
    margin-right: auto;
    transform: translate(20px, 110px);
}

a.def-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #fff;
    text-decoration: none;
    background: #bc867d;
    /* Branded background by default */
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid transparent;
    /* Keeps layout stable */
    text-transform: uppercase;
}

/* Luxury corner segments (Exact Architectural Reveal) */
a.def-btn::before,
a.def-btn::after {
    content: "";
    position: absolute;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    width: 0;
    height: 0;
}

/* Top-Left: Sharp architectural corner */
a.def-btn::before {
    top: -2px;
    left: -2px;
    border-top: 1.5px solid #fff;
    border-left: 1.5px solid #fff;
    -webkit-mask-image: radial-gradient(circle at 0 0, black 40%, transparent 100%);
    mask-image: radial-gradient(circle at 0 0, black 40%, transparent 100%);
}

/* Bottom-Right: Sharp architectural corner */
a.def-btn::after {
    bottom: -2px;
    right: -2px;
    border-bottom: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    -webkit-mask-image: radial-gradient(circle at 100% 100%, black 40%, transparent 100%);
    mask-image: radial-gradient(circle at 100% 100%, black 40%, transparent 100%);
}

/* Hover: Transition from solid fill to the minimalist frame */
a.def-btn:hover {
    background: transparent;
    color: #fff;
    letter-spacing: 0.45em;
    /* Elite spacing */
}

a.def-btn:hover::before,
a.def-btn:hover::after {
    width: 60%;
    height: 70%;
    opacity: 1;
}



.section3 p {
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 400;
    max-width: 670px;
    margin-top: 40px;
    margin-bottom: 44px;
}

.section3-panel__inner {
    margin-top: 120px;
}

@media (max-width:768px) {
    .section3-panel__inner {
        margin-top: 0px;
    }

    .loaderbg svg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .wave.w2,
    .wave.w4,
    .wave.w6,
    .wave.w8,
    .wave.w10 {
        display: none;
    }

    .loader h1 {
        margin-top: 30px;
        font-size: 55px;
        margin-bottom: 40px;
    }

    .loader .counter {
        font-size: 90px;
    }

    .section1 h1 {
        font-size: 40px;
        line-height: 54px;
        margin: 0 20px
    }
    .abs-figure img
    {
        height:310px;
    }

    .section4.h-slide {
        width: 200vw;
    }

    .section5.h-slide {
        width: 200vw;
    }

    .section3-panel {
        padding: 2rem 1.5rem !important;
        width: 100% !important;
    }

    .section3-panel__title {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }

    .section3-panel__text {
        font-size: 16px !important;
        max-width: 100% !important;
    }

    .image-col video {
        width: 100%;
        height: auto;
    }

    .content-col h1 {
        font-size: 32px;
    }

    .content-col a {
        transform: unset;
        margin-top: 40px;
    }

    .image-col video {
        width: 100%;
        height: auto;
    }


    .content-col a {
        transform: unset;
        margin-top: 40px;
    }

    .section3 p {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    a.def-btn {
        padding: 12px 20px;
        font-size: 14px;
        margin-top: 20px;
    }

    h1.h-font.section3-panel__title {
        margin-top: 30px;
    }
}

/* Home disclaimer modal */
.home-disclaimer-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.home-disclaimer-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-disclaimer-modal__backdrop {
    position: absolute;
    inset: 0;
    background:rgb(255 255 255 / 0%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

body.home-disclaimer-open main {
    pointer-events: none;
    touch-action: none;
}

.home-disclaimer-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    max-height: min(88vh, 760px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.35);
    background: rgba(10, 10, 10, 0.96);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.home-disclaimer-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(197, 160, 89, 0.35);
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
    box-shadow: unset;
}

.home-disclaimer-modal__close span {
    position: absolute;
    width: 16px;
    height: 1px;
    background: #d5d1cc;
    transition: background 0.3s ease;
}

.home-disclaimer-modal__close span:first-child {
    transform: rotate(45deg);
}

.home-disclaimer-modal__close span:last-child {
    transform: rotate(-45deg);
}

.home-disclaimer-modal__close:hover {
    border-color: #c5a059;
    background: rgba(197, 160, 89, 0.12);
}

.home-disclaimer-modal__close:hover span {
    background: #ffffff;
}

.home-disclaimer-modal__header {
    flex-shrink: 0;
    padding: 22px 52px 16px 28px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    text-align: center;
}

.home-disclaimer-modal__header h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c5a059;
}

.home-disclaimer-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 28px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 160, 89, 0.45) transparent;
}

.home-disclaimer-modal__body::-webkit-scrollbar {
    width: 6px;
}

.home-disclaimer-modal__body::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.45);
    border-radius: 3px;
}

.home-disclaimer-modal__body p {
    font-size: 14px;
    line-height: 1.75;
    color: #c8c4bf;
    margin: 0 0 16px;
}

.home-disclaimer-modal__body p:last-child {
    margin-bottom: 0;
}

.home-disclaimer-modal__body a {
    color: #c5a059;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-disclaimer-modal__footer {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 3;
    padding: 16px 28px 22px;
    border-top: 1px solid rgba(197, 160, 89, 0.25);
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.98) 40%, #0a0a0a 100%);
    box-shadow: 0 -12px 24px rgba(0, 0, 0, 0.35);
}

.home-disclaimer-modal__btn {
    display: block;
    margin:auto;
    padding: 14px 24px;
    border: 1px solid #c5a059;
    background: #c5a059;
    color: #0a0a0a;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.25s ease;
}

.home-disclaimer-modal__btn:hover {
    background: transparent;
    color: #c5a059;
    transform: translateY(-1px);
}

.home-disclaimer-modal__btn:active {
    transform: translateY(0);
}

@media (max-width: 575px) {
    .home-disclaimer-modal {
        padding: 12px;
    }

    .home-disclaimer-modal__dialog {
        max-height: 92vh;
    }

    .home-disclaimer-modal__header,
    .home-disclaimer-modal__body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-disclaimer-modal__header {
        padding-right: 52px;
    }

    .home-disclaimer-modal__footer {
        padding: 14px 18px 18px;
    }

    .home-disclaimer-modal__btn {
        padding: 12px 20px;
        font-size: 0.68rem;
    }
}
