/* Custom Styles & Utilities */
body {
    background-color: #F9F9F6;
    color: #0A0A0A;
    overflow-x: hidden;
}

/* Noise Texture for organic feel */
.bg-noise {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 50;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #C5A059;
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(197, 160, 89, 0.5);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    transition-timing-function: ease-out;
}

/* Hover states for cursor */
a:hover ~ .cursor-dot, button:hover ~ .cursor-dot, .interactive:hover ~ .cursor-dot {
    background-color: #0A0A0A;
}
a:hover ~ .cursor-outline, button:hover ~ .cursor-outline, .interactive:hover ~ .cursor-outline {
    width: 60px;
    height: 60px;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Custom Input styles */
.input-line {
    background: transparent;
    border: none;
    border-bottom: 1px solid #E5E5DF;
    border-radius: 0;
    padding: 1rem 0;
    width: 100%;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.3s ease;
}
.input-line:focus {
    outline: none;
    border-color: #C5A059;
}
.input-line::placeholder {
    color: #999;
    font-weight: 300;
}

/* Dark section inputs */
.dark-section .input-line {
    border-bottom-color: #333;
    color: #F9F9F6;
}
.dark-section .input-line:focus {
    border-color: #C5A059;
}

/* Editorial Image Mask */
.img-mask {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-mask.reveal:not(.active) {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    transform: translateY(0); /* override default reveal */
}
