/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0a0a0a;
    --text-primary: #f4f4f2;
    --text-muted: #888884;
    --border-color: rgba(255, 255, 255, 0.12);
    --panel-bg: linear-gradient(135deg, #0d0d0c 0%, #161614 100%);
    --card-bg: rgba(255, 255, 255, 0.02);
    --shadow-depth: 0 20px 40px rgba(0, 0, 0, 0.4);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* Luxurious Architectural Light Theme with Real Depth */
body.light-theme {
    --bg-color: #f2f2ed;
    --text-primary: #0e0e0d;
    --text-muted: #5e5e59;
    --border-color: rgba(0, 0, 0, 0.12);
    --panel-bg: linear-gradient(135deg, #ffffff 0%, #e6e6e0 100%);
    --card-bg: rgba(255, 255, 255, 0.7);
    --shadow-depth: 0 20px 40px rgba(0, 0, 0, 0.06);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Optimized Ambient Atmosphere (GPU Friendly) */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

body.light-theme .ambient-background {
    opacity: 0.08;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #d4af37 0%, transparent 70%);
    top: -10%;
    left: 10%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3c4f45 0%, transparent 70%);
    bottom: -20%;
    right: 10%;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
    opacity: 0.04;
}

/* High-End Sticky Smart Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1500;
    will-change: transform;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

body.light-theme .site-header {
    background-color: rgba(242, 242, 237, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Push body content down so it doesn't hide behind the fixed header */
main {
    padding-top: 80px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a, 
.theme-toggle, 
.inspector-trigger {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: color 0.3s ease;
}

.nav-links a:hover, 
.theme-toggle:hover, 
.inspector-trigger:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: calc(100vh - 100px);
    padding: 6rem 5%;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.sub-heading {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.08;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0; 
    transform: translateY(30px);
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 460px;
    opacity: 0;
    transform: translateY(20px);
}

/* Image & Video Presentation */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-depth);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.96);
    transition: box-shadow 0.4s ease;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.hero-badge {
    position: absolute;
    bottom: 15%;
    right: 8%;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    z-index: 3;
    pointer-events: none;
}

.divider-line {
    width: 90%;
    margin: 0 auto;
    height: 1px;
    background-color: var(--border-color);
}

/* Collection Section */
.collection-section {
    padding: 8rem 5%;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.shift-down {
    transform: translateY(6rem);
}

.img-container {
    width: 100%;
    height: 500px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-depth);
    overflow: hidden;
    position: relative;
    background-color: var(--bg-color);
    transition: box-shadow 0.4s ease;
}

.img-1, .img-2 {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    filter: brightness(0.85);
}

.img-1 {
    background-image: linear-gradient(rgba(10, 10, 10, 0.25), rgba(10, 10, 10, 0.5)), url('work-1.jpg');
}

.img-2 {
    background-image: linear-gradient(rgba(10, 10, 10, 0.25), rgba(10, 10, 10, 0.5)), url('work-2.jpg');
}

.img-container:hover .placeholder-img {
    transform: scale(1.06);
    filter: brightness(1);
}

.item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.item-caption {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 90%;
    margin-top: 0.5rem;
}

/* Immersive Parallax Section */
.parallax-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 6rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.parallax-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    z-index: 1;
}

.parallax-img {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.7)), url('parallax-bg.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 5%;
}

.parallax-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 400;
    margin-top: 1.5rem;
    line-height: 1.15;
}

/* =========================================
   PINNED HORIZONTAL SECTION (MOBILE & DESKTOP)
   ========================================= */
.horizontal-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.horizontal-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    height: 100vh;
    will-change: transform;
}

.horizontal-panel {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    border-right: 1px solid var(--border-color);
    background: var(--panel-bg);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.02);
}

.horizontal-panel h3 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    font-weight: 400;
    margin-top: 1rem;
    line-height: 1.1;
}

/* Interactive ROI Calculator Section */
.roi-section {
    padding: 8rem 5%;
    border-top: 1px solid var(--border-color);
}

.roi-calculator-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-depth);
    padding: 4rem;
    margin-top: 3rem;
}

.roi-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group label {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.input-group input[type="range"] {
    width: 100%;
    accent-color: var(--text-primary);
}

.roi-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border-color);
    padding-left: 4rem;
}

.result-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--text-primary);
    margin: 1rem 0;
}

.result-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Comparison Section Styling */
.comparison-section {
    padding: 8rem 5%;
    border-top: 1px solid var(--border-color);
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 550px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-depth);
    overflow: hidden;
    user-select: none;
    margin-top: 3rem;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.after-image {
    background-image: linear-gradient(rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.5)), url('work-1.jpg');
}

.before-image {
    background-image: linear-gradient(rgba(40, 10, 10, 0.4), rgba(60, 20, 20, 0.7)), url('work-2.jpg');
    width: 50%;
    border-right: 2px solid var(--text-primary);
    z-index: 2;
    overflow: hidden;
}

.badge-label {
    position: absolute;
    bottom: 2rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 3;
}

.custom-badge {
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.template-badge {
    left: 2rem;
    background: rgba(100, 20, 20, 0.8);
    color: #fff;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 40px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.handle-line {
    width: 2px;
    height: 100%;
    background-color: var(--text-primary);
}

.handle-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--text-primary);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Technical Specs Showcase Section with 3D Card Tilt */
.specs-section {
    padding: 8rem 5%;
    border-top: 1px solid var(--border-color);
    background: var(--panel-bg);
}

.specs-header {
    max-width: 700px;
    margin-bottom: 4rem;
}

.specs-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 400;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.specs-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 300;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    perspective: 1000px;
}

.spec-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
    position: relative;
    will-change: transform;
    transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.spec-card:hover {
    border-color: var(--text-primary);
    box-shadow: var(--shadow-depth);
}

.spec-number {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1.5rem;
}

.spec-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.spec-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 300;
}

/* Infinite Marquee Section */
.marquee-section {
    position: relative;
    padding: 3.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-color);
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
}

.marquee-content span {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.marquee-content .dot {
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* Live Code Inspector Drawer */
.inspector-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background: var(--panel-bg);
    border-left: 1px solid var(--border-color);
    z-index: 2000;
    padding: 3rem;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}

.inspector-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.drawer-header h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

.drawer-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.drawer-content pre {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    overflow-x: auto;
    font-size: 0.8rem;
    color: var(--text-primary);
}

/* Concierge Inquiry Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-depth);
    padding: 3.5rem 2.5rem;
    transform: translateY(30px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    font-weight: 300;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-muted);
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 400;
    margin-top: 0.5rem;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    margin-top: 1rem;
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.85;
}

/* ==========================================
   4 TYPOGRAPHY TREATMENTS
   ========================================== */

/* Treatment 1: Gradient Metallic Fade */
.gradient-title {
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Treatment 2: High-Fashion Editorial Outline Text */
.hollow-text {
    font-family: var(--font-serif);
    color: transparent;
    -webkit-text-stroke: 1px var(--text-primary);
    font-style: italic;
    transition: -webkit-text-stroke 0.4s ease, color 0.4s ease;
}

.hollow-text:hover {
    color: var(--text-primary);
}

/* Treatment 3: Asymmetrical Floating Sub-heading Layout */
.asymmetrical-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: -1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--text-primary);
}

.floating-sub {
    margin-bottom: 0 !important;
    letter-spacing: 0.3em;
    font-weight: 500;
}

.parallax-content .sub-heading {
    color: #111110;
}

/* Treatment 4: Tactile Tracked Spacing & Depth */
.tracked-title {
    letter-spacing: -0.02em;
}

/* ==========================================
   RESPONSIVE / MOBILE OPTIMIZATIONS
   ========================================== */
@media screen and (max-width: 900px) {
    .site-header {
        padding: 1rem 5%;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 4rem 5%;
        gap: 2.5rem;
        min-height: auto;
    }

    .hero-image-wrapper {
        height: 320px;
    }

    .hero-badge {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .shift-down {
        transform: translateY(0);
    }

    .img-container {
        height: 380px;
    }

    /* Keep Horizontal Track Pinned Across Mobile Screen Widths */
    .horizontal-section {
        height: 100vh;
    }

    .horizontal-track {
        display: flex;
        flex-direction: row;
        width: max-content;
        height: 100vh;
    }

    .horizontal-panel {
        flex: 0 0 100vw;
        width: 100vw;
        height: 100%;
        padding: 2rem 1.5rem;
        border-right: 1px solid var(--border-color);
        border-bottom: none;
    }

    .horizontal-panel h3 {
        font-size: clamp(2.2rem, 7.5vw, 3.2rem);
    }

    .roi-calculator-box {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .roi-results {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 2rem;
    }

    .comparison-container {
        height: 380px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .spec-card {
        padding: 2rem 1.5rem;
    }

    .inspector-drawer {
        width: 100%;
        right: -100%;
    }

    .modal-container {
        padding: 2.5rem 1.5rem;
    }
}