/* --- Base Reset --- */
body, html { margin: 0; padding: 0; width: 100%; font-family: 'Lato', sans-serif; background-color: #000; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: 'Rufina', serif; }

/* --- Color Variables --- */
:root { 
    --lead-color-01: rgba(176, 189, 162, 1); 
    --lead-color-02: rgba(237, 181, 161, 1); 
    --lead-color-03: black; 
    --lead-color-05: rgba(154, 171, 181, 1); 
}
.background-lead-01 { background: var(--lead-color-01); }
.background-lead-02 { background: var(--lead-color-02); }
.background-lead-03 { background: var(--lead-color-03); }
.background-lead-05 { background: var(--lead-color-05); }

/* --- Scroll Progress Bar --- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}
.scroll-progress-bar {
    height: 100%;
    background: var(--lead-color-02);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* --- Branding & Nav --- */
.floating-logo { position: fixed; top: 20px; left: 20px; z-index: 1100; width: 140px; height: auto; }
.floating-logo svg { width: 100%; height: auto; display: block; }
.logo-colour { fill: #ffffff; } 

.main-nav { position: fixed; top: 20px; right: 20px; z-index: 1100; }
.hamburger { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.hamburger-line { 
    display: block; width: 28px; height: 2px; background-color: #ffffff; 
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

/* X Transformation */
.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Menu Overlay --- */
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.98); z-index: 1050;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.5s ease-in-out;
}
.menu-overlay.active { opacity: 1; visibility: visible; }
.overlay-content a {
    display: block; color: #fff; font-size: 3rem; text-decoration: none;
    font-family: 'Rufina', serif; margin: 20px 0; text-transform: uppercase;
    transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0; transform: translateY(20px);
}
.menu-overlay.active a { opacity: 1; transform: translateY(0); }
.menu-overlay.active a:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active a:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.active a:nth-child(3) { transition-delay: 0.3s; }

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    width: 100%;
}
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; animation: float 2s infinite; }
.mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.7); border-radius: 12px; position: relative; }
.wheel { width: 4px; height: 6px; background: #fff; border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scroll-dot 1.5s infinite; }
.tracking-wide { letter-spacing: 0.1em; opacity: 0.7; }

/* --- CSS Native Masonry Grid --- */
.masonry-grid {
    column-count: 1;
    column-gap: 1.5rem; 
    padding: 0 1.5rem; 
    width: 100%;
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem; 
}
.masonry-item img {
    width: 100%;
    display: block;
}

/* Masonry Breakpoints */
@media (min-width: 768px) {
    .floating-logo { width: 200px; left: 40px; top: 30px; }
    .main-nav { right: 40px; top: 30px; }
    .masonry-grid { column-count: 2; }
}
@media (min-width: 992px) {
    .masonry-grid { column-count: 3; }
}
@media (min-width: 1400px) {
    .masonry-grid { column-count: 4; }
}

/* Animations */
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50% , 12px); } }
@keyframes float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }