        :root {
            --black: #0D0D0D;
            --sand: #FBF9F6; /* Brighter, cleaner sand */
            --clay: #B38B71;
            --olive: #2D362C;
            --copper: #9A5C3E;
            --white: #FFFFFF;
            --accent: #E2D1C3;
            --transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--sand);
            color: var(--black);
            overflow-x: hidden;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, .serif { font-family: 'Cormorant Garamond', serif; font-weight: 500; }
        .syne { font-family: 'Syne', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; }

        /* --- LOADER --- */
        #loader {
            position: fixed; inset: 0; background: var(--black); z-index: 9999;
            display: flex; flex-direction: column; align-items: center; justify-content: center; 
            color: var(--sand); transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
        }
        .loader-bar { width: 0%; height: 1px; background: var(--clay); margin-top: 20px; transition: 1s; }

        /* --- CUSTOM HEADER --- */
        header {
            position: fixed; top: 0; width: 100%; z-index: 1000;
            padding: 50px 80px; display: flex; justify-content: space-between;
            align-items: flex-start; transition: var(--transition);
        }
        header.scrolled {
            padding: 20px 80px; background: rgba(251, 249, 246, 0.95);
            backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.04);
            align-items: center;
        }

.logo{
    cursor:pointer;
    display:flex;
    align-items:center;
}

.logo img{
    height:140px;   /* control logo size */
    width:auto;
    display:block;
}        
        .nav-column { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
        header.scrolled .nav-column { flex-direction: row; gap: 40px; }

        nav a { 
            text-decoration: none; color: var(--black); font-size: 0.75rem; 
            font-weight: 700; text-transform: uppercase; cursor: pointer;
            transition: 0.3s; opacity: 0.6;
        }
        nav a:hover, nav a.active { opacity: 1; color: var(--copper); }

        /* --- SECTIONS --- */
        section { padding: 160px 8%; position: relative; }
        .page { display: none; min-height: 100vh; animation: fadeIn 1s ease forwards; }
        .page.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        /* --- HERO --- */
        .hero { height: 100vh; display: flex; align-items: center; padding-top: 100px; }
        .hero-content { flex: 1; z-index: 10; }
        .hero-content h1 { font-size: 8.5vw; line-height: 0.85; margin-bottom: 40px; letter-spacing: -0.03em; }
        .hero-content p { max-width: 450px; font-size: 1.1rem; color: #555; margin-bottom: 40px; }
        
        .hero-visual { flex: 1; position: relative; height: 90vh; display: flex; justify-content: flex-end; }
        .parallax-img {
            position: absolute; object-fit: cover;
            box-shadow: 40px 40px 80px rgba(0,0,0,0.05);
            transition: transform 0.2s linear;
        }
        .hero-img-main { width: 70%; height: 80%; top: 5%; right: 0; z-index: 2; }
        .hero-img-sub { width: 45%; height: 50%; bottom: 10%; left: 0; z-index: 3; transform: rotate(-3deg); border: 15px solid var(--white); }


        .archive-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:60px;
}

.archive-item img{
    width:100%;
    height:260px;
    object-fit:cover;
    margin-bottom:18px;
}

.archive-item h3{
    font-family:'Syne';
    font-size:0.9rem;
    letter-spacing:0.05em;
    margin-bottom:6px;
}

.archive-item p{
    font-size:0.8rem;
    opacity:0.6;
    line-height:1.6;
}
        /* --- PROJECT PANELS --- */
        .panel-container { background: var(--white); }
        .project-panel {
            height: 100vh; position: sticky; top: 0; width: 100%;
            overflow: hidden; display: flex; align-items: center;
            background: var(--sand);
        }
        .project-panel:nth-child(even) { background: #EAE8E4; }
        .panel-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; filter: grayscale(20%); }
        .panel-info {
            position: absolute; bottom: 80px; left: 80px; color: var(--black);
            max-width: 600px; z-index: 5;
        }
        .panel-info h2 { font-size: 5rem; margin-bottom: 10px; line-height: 1; }
        .panel-info p { font-family: 'Syne'; font-size: 0.8rem; font-weight: 700; color: var(--copper); }

        /* --- HORIZONTAL SCROLL --- */
        .h-scroll-wrap { background: var(--black); color: var(--sand); padding: 140px 0; overflow: hidden; }
        .h-scroll-track { display: flex; gap: 60px; padding: 0 8%; transition: transform 0.1s; }
        .h-item { min-width: 450px; cursor: pointer; }
        .h-item img { width: 100%; height: 600px; object-fit: cover; margin-bottom: 25px; transition: 0.6s; }
        .h-item:hover img { transform: scale(0.97); }

        /* --- AUTH MODAL --- */
        .modal-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.4);
            backdrop-filter: blur(10px); z-index: 2000; display: none;
            align-items: center; justify-content: center;
        }
        .modal-overlay.active { display: flex; }
        .auth-card {
            background: var(--sand); width: 100%; max-width: 450px;
            padding: 60px; position: relative; border-radius: 2px;
        }
        .auth-card h2 { font-size: 3rem; margin-bottom: 30px; }
        .form-group { margin-bottom: 25px; }
        .form-group input {
            width: 100%; padding: 15px 0; border: none; border-bottom: 1px solid #ccc;
            background: transparent; outline: none; font-family: inherit; transition: 0.3s;
        }
        .form-group input:focus { border-bottom-color: var(--black); }

        /* --- BUTTONS --- */
        .btn {
            display: inline-flex; align-items: center; gap: 15px;
            padding: 20px 45px; background: var(--black); color: white;
            text-decoration: none; font-size: 0.8rem; font-weight: 700;
            text-transform: uppercase; border: none; cursor: pointer; transition: 0.4s;
        }
        .btn-copper { background: var(--copper); }
        .btn:hover { background: var(--clay); letter-spacing: 2px; }

        /* --- QUICK VIEW --- */
        #quick-view {
            position: fixed; inset: 0; background: var(--sand); z-index: 3000;
            display: none; padding: 120px 8%; overflow-y: auto;
        }
        #quick-view.active { display: block; animation: qvIn 0.8s cubic-bezier(0.85, 0, 0.15, 1); }
        @keyframes qvIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

        /* --- STUDIO GRID --- */
        .masonry {
            display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px;
        }
        .m-item { grid-column: span 4; margin-bottom: 40px; }
        .m-item.wide { grid-column: span 8; }
        .m-item.tall { grid-row: span 2; }
        .m-item img { width: 100%; height: 100%; object-fit: cover; }

        /* --- FOOTER --- */
        footer { background: var(--black); color: var(--sand); padding: 120px 8% 60px; }
        .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 100px; }
        .footer-links a { display: block; color: var(--sand); opacity: 0.5; text-decoration: none; margin-bottom: 10px; font-size: 0.9rem; }
        .footer-links a:hover { opacity: 1; }

        /* --- MISC --- */
        .text-reveal { overflow: hidden; }
        .text-reveal span { display: block; transform: translateY(100%); transition: 1s cubic-bezier(0.16, 1, 0.3, 1); }
        .section-tag { font-family: 'Syne'; font-size: 0.7rem; color: var(--clay); font-weight: 800; display: block; margin-bottom: 20px; }

        @media (max-width: 1024px) {
            header { padding: 30px; }
            .hero { flex-direction: column; height: auto; padding-top: 150px; }
            .hero-content h1 { font-size: 15vw; }
            .hero-visual { width: 100%; height: 50vh; }
            .footer-top { grid-template-columns: 1fr 1fr; }
            .masonry { grid-template-columns: 1fr; }
            .m-item { grid-column: span 1 !important; }
        }
        /* NEWSLETTER SECTION */
.footer-subscribe{
    max-width:300px;
}

.footer-subscribe form{
    display:flex;
    gap:10px;
    margin-bottom:12px;
}

.footer-subscribe input{
    flex:1;
    padding:10px 14px;
    font-size:0.75rem;
    border:1px solid rgba(255,255,255,0.08);
    background:transparent;
    color:white;
    outline:none;
    font-family:'Syne', sans-serif;
    transition:all .25s ease;
}

.footer-subscribe input::placeholder{
    color:rgba(255,255,255,0.35);
}

.footer-subscribe input:focus{
    border-color:var(--clay);
}

/* BUTTON */
.footer-subscribe button{
    padding:10px 16px;
    font-size:0.65rem;
    letter-spacing:0.08em;
    border:none;
    background:var(--clay);
    color:white;
    cursor:pointer;
    font-family:'Syne', sans-serif;
    transition:all .25s ease;
}

.footer-subscribe button:hover{
    background:#fff;
    color:#000;
}

/* MESSAGE */
#newsletter-message{
    font-size:0.65rem;
    opacity:0.6;
    margin-top:5px;
}
    