:root {
    --row-gap: 60px;
    --col-gap: 16px;
    --section-padding: 120px;
    --section-grad-height: 240px;
    --primary-color: #A97C50;
    --primary-lighter: #be9871;
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background: #080B0A;
    margin: 0;
    color: #BCB0A5;
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 26px;
}

#smooth-wrapper {
    overflow: hidden;
}

#smooth-content {
    position: relative;
    will-change: transform;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

p {
    font-size: 17px;
    line-height: 28px;
    letter-spacing: 0.25px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    gap: var(--row-gap);
}

.col-3 {
    width: 30%;
}

.col-6 {
    width: 50%;
}

/* ——————————————————————————————
   FLOATING HEADER
—————————————————————————————— */
.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 20px 80px;

    transition: padding 0.3s ease, backdrop-filter 0.3s ease;
    will-change: transform, opacity;
    background: linear-gradient(180deg, rgba(8, 11, 10, 0.6) 0%, rgba(8, 11, 10, 0.4) 50%, rgba(8, 11, 10, 0) 100%);
    backdrop-filter: blur(2px);
}

.floating-header.shrink {
    padding: 10px 20px;
    transform: translateY(0) scale(0.95);
    /* backdrop-filter: blur(20px); */
}

.site-name {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--primary-lighter);
    text-transform: uppercase;
}

.floating-header.shrink .logo {
    width: 80px;
}

.floating-header .site-desc {
    text-align: right;
    font-size: 15px;
    line-height: 1.1;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: 300;
    display: flex;
    gap: 16px;
    align-items: center;
}

.floating-header.shrink .site-desc {
    font-size: 14px;
}

/* Menu button */
.menu-btn {
    width: 40px;
    height: 12px;
    top: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: auto;
    position: relative;
}

.menu-btn .line {
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.35s ease;
}

.menu-btn.active .line1 {
    transform: translateY(5px) rotate(45deg);
}

.menu-btn.active .line2 {
    transform: translateY(-5px) rotate(-45deg);
}


.menu-box {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
    width: 180px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: all 0.35s ease;
    z-index: 9999;
}

.menu-box.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.menu-box a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

/* HERO SECTION */
section.hero {
    width: 100%;
    overflow: hidden;
    background: #080B0A
}

/* Background image for parallax */
.hero-bg {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* height: 100%; */
    overflow: hidden;
    display: flex;
    justify-content: center;

    filter: blur(0px);
    /* Hero blur effect base */
    transition: filter 0.3s ease-out;
    /* Hero blur effect base */
}

.hero-img {
    width: 100%;
    /* max-width: 1440px; */
    height: auto;
    /* object-fit: contain;   
    object-position: center; */
    user-select: none;
    pointer-events: none;

    will-change: transform, filter;
    /* Make hero image smooth for transforms */
}

.col-9.parag {
    flex: 1;
}

/* Hero Content */
.hero-content {
    width: 100%;
    position: absolute;
    z-index: 2;
    margin-top: -200px;
    transform: translateY(-50%);

}

.hero-content .container {
    display: flex;
    gap: var(--row-gap)
}

.hero-content h2 {
    /* font-size: 3.5rem;
    line-height: 1.1; */
}

.hero-content p {
    /* margin-top: 1rem;
    font-size: 1.25rem; */
}

/* section: INTRO */
section.intro {
    width: 100%;
    background: black;
    padding: var(--section-padding) 0;
    position: relative;
    color: var(--primary-lighter)
}

section.intro h2 {
    font-size: 60px;
    text-align: center;
    line-height: 64px;
}

.pattern-bg .bg-left,
.pattern-bg .bg-right {
    transform-origin: center;
    will-change: transform;
}

.fade-sentence {
    transform: translateY(20px);
    margin-bottom: 20px;
}

section.intro::after {
    width: 100%;
    height: 240px;
    background: linear-gradient(180deg, #080B0A, transparent);
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    z-index: 1;

}

.separator {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 60px 0;
}

.separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-lighter), transparent);
}

.separator-line.right {
    background: linear-gradient(to left, transparent, var(--primary-lighter), transparent);
}

.separator-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    margin: 0 20px;
    position: relative;
    box-shadow: 0 0 10px rgba(238, 90, 57, 0.4);
}

.pattern-bg .bg-left {
    position: absolute;
    width: 60%;
    left: -30%;
    bottom: 60px;
}

.pattern-bg .bg-right {
    position: absolute;
    width: 60%;
    right: -30%;
    top: 60px;
}

/* section with just bg */
section.just-bg {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

section.just-bg .section-bg {
    position: sticky;
    top: 0;
    width: 100%;
    overflow: hidden;
}

section.just-bg .section-bg img.full {
    width: 100%;
    height: 100%;
    /* slightly larger for smooth parallax */
    object-fit: cover;
    will-change: transform;
}

section.just-bg .section-bg img.contain {
    max-width: 1440px;
    width: 100%;
    height: auto;
}

/* section 3 */

section .section-grad-top {
    background: #080B0A;
    background: linear-gradient(180deg, rgba(8, 11, 10, 1) 0%, rgba(8, 11, 10, 0.74) 50%, rgba(8, 11, 10, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--section-grad-height);
    z-index: 2;
}

section .section-grad-bottom {
    background: #080B0A;
    background: linear-gradient(360deg, rgba(8, 11, 10, 1) 0%, rgba(8, 11, 10, 0.74) 50%, rgba(8, 11, 10, 0) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--section-grad-height);
    z-index: 2;
}

.section3-bg {}

.section3-bg img.bg {}

/* section 4  */
#section4 {
    position: relative;
    width: 100%;
    height: 120vh;
    /* adjust if needed */
    background-size: contain;
    background-color: #080b0a;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    will-change: background-position;
    z-index: 2;
}

#section4 .parallax-gif {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 3;
}

#section4 .parallax-gif-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    opacity: 0.9;
    /* slightly translucent layers */
}

#section4 .parallax-gif-layer:nth-child(1) {
    opacity: 0.4;
    filter: blur(3px);
}

#section4 .parallax-gif-layer:nth-child(2) {
    opacity: 0.7;
    filter: blur(1.5px);
}

#section4 .parallax-gif-layer:nth-child(3) {
    opacity: 1;
}

#section4 .overlay-content {
    position: relative;
    z-index: 10;
}

.section-content {
    position: relative;
    z-index: 4;
}

.section-bg img {
    width: 100%;
}

.section-6 {
    position: relative;
    background: #080B0A;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
}




/* section stack images */





/* SECTION 6 */
.section-6 .section-bg img {
    height: 100%;
    object-fit: cover;
}

.section-6 .section-content {
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--row-gap)
}

.section-6 .section-content .color .row,
.section-6 .section-content .color .images-container {
    display: flex;
    gap: var(--row-gap);
    align-items: flex-end;
}

.section-6 .section-content .color .row .images-container,
.section-6 .section-content .color .images-container .img {
    flex: 1
}

.section-6 .section-content .color .text {
    width: calc((100% - var(--row-gap) * 2) / 3);
}

.section-6 .section-content .color .row .img img {
    width: 100%;
}

.section-6 .section-content .color .row h3 {
    font-family: Taviraj, serif;
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 0 24px 0;
}

.section-7 {
    position: relative;
    overflow: hidden;
}

.section-7 .section-bg {
    top: 0;
}

.section-8 {
    padding: var(--section-padding) 0;
    overflow: hidden;
    position: relative;
    background: black;
    min-height: 50vh;
    color: var(--primary-lighter)
}

.section-8 .site-name {
    font-size: 40px;
    line-height: 48px;
}

section.section-8 .section-bg {
    top: 0;
}

section.section-8 .row {
    align-items: center;
}

section.section-8 .thank {
    font-size: 40px;
}

section.section-8 .credits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

section.section-8 .credit {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

section.section-8 .credit .label {
    width: 30%;
    font-weight: 400;
}

.section-8,
.section-9 {
    background: #080b0a;
}

.section-8 .section-bg,
section.section-9 .section-bg {
    display: flex;
    justify-content: center;
}

section.footer {
    padding: var(--section-padding) 0;
    overflow: hidden;
    position: relative;
    background: black;
    color: var(--primary-lighter);
    min-height: 50vh;
}

section.footer .section-bg {
    top: 0;
}

section.footer .section-content {
    font-size: 40px;
    line-height: 48px;
    text-align: center;
}

.bg {
    filter: blur(20px);
    transform: scale(1.05);
    transition: filter 0.6s ease-out, transform 0.6s ease-out;
}

.bg.loaded {
    filter: blur(0);
    transform: scale(1);
}

section {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

.color .img {
    perspective: 900px;
    /* Enables 3D space */
    display: inline-block;
    transform-style: preserve-3d;
}

.color .img img {
    width: 100%;
    transition: transform 0.15s ease-out, box-shadow 0.2s ease-out;
    will-change: transform;
}

.color .img:hover img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}






.showreel-layout {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.left-block img {
    width: 100%;
    height: auto;
    display: block;
}

.left-block {
    flex: 1;
}

.right-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.right-block img {
    width: 100%;
    display: block;
    object-fit: cover;
    flex: 1;
}

/* back to top */
/* Back to top base styles */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;

    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: none;
    outline: none;

    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    padding: 0;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        visibility 0.3s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top-icon,
.back-to-top svg {
    display: block;
    width: 22px;
    height: 22px;
    color: #fff;
    fill: #fff;
}

.back-to-top:hover {
    background: var(--primary-lighter);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px) scale(1.05);
}

.back-to-top:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 38px;
        height: 38px;
    }
}


/* Cursor order button */
.cursor-order-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;

    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    text-align: center;

    pointer-events: auto;
    opacity: 0;
    z-index: 9999;
}

.cursor-order-btn a {
    width: 100%;
    height: 100%;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Visible/active state */
.cursor-order-btn.active {
    opacity: 1;
    transform: translate(var(--x, 0px), var(--y, 0px)) translate(-50%, -50%) scale(1);
}

.cursor-order-btn.grow {
    transform: scale(1.15);
}

/* accessibility: small label fallback if needed */
.cursor-order-btn .label {
    pointer-events: none;
    user-select: none;
}

.cursor-order-btn.active {
    animation: popIn 0.35s cubic-bezier(.16, 1.22, .27, 1) forwards;
}

@keyframes popIn {
    0% {
        transform: translate(var(--x), var(--y)) translate(-50%, -50%) scale(0.4);
    }

    60% {
        transform: translate(var(--x), var(--y)) translate(-50%, -50%) scale(1.12);
    }

    100% {
        transform: translate(var(--x), var(--y)) translate(-50%, -50%) scale(1);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    :root {
        --row-gap: 20px;
        --section-padding: 40px;
        --section-grad-height: 30px;
    }

    .container {
        max-width: 100%;
        padding: 16px;
    }

    #section4 {
        height: 40vh
    }

    .floating-header.shrink {
        padding: 10px 16px;
    }
}


@media (max-width:768px) {
    :root {
        --row-gap: 40px;
        --col-gap: 12px;
        --section-padding: 40px;
        --section-grad-height: 40px;
    }

    body,
    p {
        font-size: 15px;
        line-height: 26px;
    }

    .floating-header {
        padding: 20px 10px 0 10px;
    }

    .floating-header:not(.shrink) {
        background: linear-gradient(180deg, rgba(8, 11, 10, 1) 0%, rgba(8, 11, 10, 0.74) 50%, rgba(8, 11, 10, 0) 100%);
    }

    .floating-header.shrink .site-name {
        font-size: 16px;
        line-height: 24px;
    }

    .floating-header .site-desc {
        font-size: 12px;
        padding-top: 20px;
    }

    .container {
        max-width: 100%;
        padding: 20px;
    }

    section.hero {
        padding-top: 120px
    }

    .section-6 .section-content .color .row {
        flex-direction: column;
    }

    .section-6 .color .img.col-4 {
        width: calc((100% - 40px) / 2);
    }

    .section-6 .section-content .color .row>div {
        width: 100%;
    }

    .section-6 .section-content .color .row h3 {
        font-size: 24px
    }

    .section-6 .section-content .color:nth-child(even) .row {
        flex-direction: column-reverse;
    }

    section.footer .row {
        display: flex;
        flex-direction: column;
        gap: var(--row-gap);
    }

    section.footer .col-6 {
        width: 100%;
    }

    section.footer .thank {
        min-height: unset;
    }

    section.footer .credit .label {
        width: 50%;
    }

    section.footer .section-bg img {
        height: 100%;
    }

    .cursor-order-btn {
        transform: none !important;
        left: 20px !important;
        bottom: 20px !important;
        top: auto !important;

        width: 90px;
        height: 90px;
        font-size: 14px;
        line-height: 20px;

        opacity: 1 !important;
        pointer-events: auto;
        mix-blend-mode: normal;

        position: fixed !important;
    }

    .cursor-order-btn.active {
        transform: none !important;
    }

    #section4 {
        height: 50vh
    }

    .section-8 .site-name {
        font-size: 24px;
    }

    section.section-8 .row {
        flex-direction: column;
        justify-content: flex-start;
    }

    section.section-8 .credit {
        justify-content: space-between;
    }

    .section-8 .col-6 {
        width: 100%;
    }

    section.intro h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .separator {
        height: 10px;
        margin: 30px 0;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --row-gap: 30px;
        --section-padding: 60px;
        --section-grad-height: 60px;
    }

    .container {
        max-width: 100%;
        padding: 30px;
    }

    .floating-header.shrink {
        padding: 10px 30px;
    }
}