/* =========================================
   BASE STYLES & VARIABLES
========================================= */
:root {
    --bg-color: #020202;
    --text-color: #ffffff;
    --accent-color: #B2D5E5;
    --header-bg: rgba(2, 2, 2, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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;
}

html {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
}

main, .main {
    display: flow-root;
}

/* =========================================
   PAGE TRANSITION (Curtain)
========================================= */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1; 
    visibility: visible;
}

.page-transition-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--text-color);
    opacity: 0; /* HIDE initially to prevent flash before JS runs */
}

/* =========================================
   CUSTOM DOM SCROLLBAR
========================================= */
html::-webkit-scrollbar, 
body::-webkit-scrollbar, 
*::-webkit-scrollbar {
    display: none;
}
* {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.footer-huge-text,
.footer-form-title,
.cover-title,
.footer-col h4 {
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header styles removed, now using style.css */

/* =========================================
   HERO COVER SECTION
========================================= */
.cover-about {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cover-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.cover-parallax {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
}

.cover-parallax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color, rgba(2, 2, 2, 0.45));
    z-index: 1;
}

.cover-title-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    padding: 0 4vw;
    z-index: 2;
    pointer-events: none;
}

.cover-title {
    display: flex;
    justify-content: center;
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(3.5rem, 14vw, 14rem);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text-color);
    mix-blend-mode: difference; /* Creates a cool effect over the image */
}

/* =========================================
   INTRO SECTION
========================================= */
.intro-section {
    padding: 10vw 4vw;
    width: 100%;
}

.intro-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .intro-container {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
    }
    
    .intro-title-wrapper {
        grid-column: 1 / 13;
        margin-bottom: 5vw;
    }
    
    .intro-content {
        grid-column: 7 / 13;
    }
}

.intro-title {
    font-size: clamp(2.2rem, 5.5vw, 5.5rem);
    line-height: 1.15;
    font-weight: 400;
    text-transform: uppercase;
}

.intro-title span {
    display: inline-block;
    will-change: transform, opacity;
}

.intro-title .line-left {
    display: inline-block;
}

.intro-title .line-right {
    display: inline-block;
    margin-left: clamp(1rem, 5vw, 6rem);
}

.intro-lead {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.intro-text {
    font-size: 1rem;
    color: rgba(232, 227, 217, 0.7);
    line-height: 1.6;
}

/* =========================================
   VALUES SECTION (STICKY)
========================================= */
.values-section {
    padding: 10vw 0;
    width: 100%;
}

.values-container {
    display: flex;
    flex-direction: column;
    padding: 0 4vw;
}

@media (min-width: 1024px) {
    .values-container {
        flex-direction: row;
        gap: 5vw;
    }
    
    .values-sticky-left {
        width: 35%;
        position: relative;
    }
    
    .values-scroll-right {
        width: 65%;
    }
}

/* Left Sticky Side */
.sticky-inner {
    position: sticky;
    top: 15vh;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sticky-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sticky-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.sticky-nav-item.active {
    opacity: 1;
}

.nav-num {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: bold;
}

.nav-title {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
}

.sticky-images-box {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    margin-top: 2rem;
}

.sticky-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.sticky-img.active {
    opacity: 1;
    visibility: visible;
}

.sticky-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

/* Right Scrollable Side */
.value-block {
    margin-bottom: 15vh;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.value-block:last-child {
    margin-bottom: 0;
}

.value-image {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 3rem;
    position: relative;
}

.value-image img {
    width: 100%;
    height: 130%; /* For parallax */
    object-fit: cover;
    position: absolute;
    top: -15%;
    left: 0;
}

.value-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.value-text {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    margin-bottom: 1.5rem;
    max-width: 80%;
}

.value-desc {
    font-size: 1rem;
    color: rgba(232, 227, 217, 0.7);
    line-height: 1.6;
    max-width: 70%;
    margin-left: auto; /* Right align description like Oakame */
}

/* Footer inherits from style.css */

@media (max-width: 1023px) {
    .cover-title {
        font-size: clamp(2.6rem, 13vw, 8rem);
        letter-spacing: -0.01em;
    }
    .intro-section {
        padding: 15vw 4vw 8vw;
    }
    .values-section {
        padding: 8vw 0;
    }
    .values-container {
        display: flex;
        flex-direction: column;
    }
    .values-sticky-left {
        position: relative;
        height: auto;
        top: 0;
        margin-bottom: 2.5rem;
    }
    .sticky-inner {
        position: relative;
        top: 0;
        height: auto;
        display: block;
    }
    .sticky-images-box {
        display: none !important;
    }
    .value-block {
        margin-bottom: 8vh;
        min-height: auto;
    }
    .value-image {
        height: 45vh;
        margin-bottom: 2rem;
    }
    .value-text, .value-desc {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .cover-title {
        font-size: clamp(2rem, 12vw, 4.2rem);
        letter-spacing: 0;
    }
    .intro-title {
        font-size: clamp(1.8rem, 8.5vw, 3rem);
        line-height: 1.15;
    }
    .value-title {
        font-size: clamp(1.5rem, 6.5vw, 2.2rem);
    }
}

/* =========================================
   GLOBAL CUSTOM CURSOR
========================================= */
body, a, button, input, textarea, .swiper-button-next, .swiper-button-prev, .btn-primary, .btn-secondary {
    cursor: none !important;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(178, 213, 229, 0.6); /* Candy Blue outline */
    background-color: transparent;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* hidden until move */
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: #ffffff; /* White dot */
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(178, 213, 229, 0.15); /* Candy blue tint on hover */
    border-color: transparent;
}

/* =========================================
   GLOBAL CUSTOM SCROLLBAR (Lookbook Style)
========================================= */
.koloryt-global-scrollbar {
    position: fixed !important;
    right: 3px !important;
    top: 0 !important;
    width: 8px !important;
    height: 100vh !important;
    background: transparent !important;
    z-index: 99999 !important;
    pointer-events: none !important;
}

.koloryt-global-scrollbar .swiper-scrollbar-drag {
    background: rgba(255, 255, 255, 0.35) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: background 0.2s ease !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.koloryt-global-scrollbar .swiper-scrollbar-drag:hover {
    background: rgba(255, 255, 255, 0.6) !important;
}
