:root {
    --brand-ink: #1a1510;
    --brand-ink-dark: #0e0c0a;
    --brand-ivory: #faf6ef;
    --brand-cream: #f7f2ea;
    --brand-sand: #c8a97e;
    --brand-gold: #b8922a;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--brand-ink-dark);
    color: var(--brand-ivory);
}

/* Intersection Observer Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Delay Helpers for staggered animations */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-600 { transition-delay: 600ms; }

/* Cinematic Button */
.btn-luxury {
    display: inline-block;
    border: 1px solid var(--brand-sand);
    background: transparent;
    color: var(--brand-ivory);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1rem 3rem;
    font-size: 0.75rem;
    font-weight: 400;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brand-gold);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-luxury:hover {
    color: var(--brand-ink-dark);
    border-color: var(--brand-gold);
}

.btn-luxury:hover::before {
    transform: translateY(0);
}

.hide-scroll::-webkit-scrollbar {
    display: none;
}
.hide-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Grain Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 40;
    pointer-events: none;
    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');
}

/* Luxury Card Transitions */
.group:hover img {
    filter: grayscale(0%) brightness(1.1) !important;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.letter-spacing-widest {
    letter-spacing: 0.5em;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: #c8a97e !important; /* brand-sand */
    opacity: 0.2 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #b8922a !important; /* brand-gold */
}

.swiper-button-next, .swiper-button-prev {
    color: #c8a97e !important;
    transition: all 0.5s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #faf6ef !important; /* brand-ivory */
}

/* 1:1 Product Image Standardization */
.aspect-square {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
}

.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--brand-ink);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-image-container:hover img {
    transform: scale(1.08);
}

/* Mobile Specific Video Scaling */
@media (max-width: 1024px) {
    .scale-105 {
        --tw-scale-x: 1.05;
        --tw-scale-y: 1.2 !important;
    }
}
