/* ==========================================================================
   Prairie Livestock - 2026 Luxury Editorial Rose Design System
   Minimalist, quiet luxury, high-fashion editorial pacing.
   ========================================================================== */

:root {
    --prairie-noir: #201419;         /* Deep Rose Espresso */
    --prairie-rose: #C86D85;         /* Dusty Couture Rose */
    --prairie-rose-dark: #A85269;    /* Deep Crimson Rose */
    --prairie-rose-light: #EBB6C4;   /* Pale Petal */
    --prairie-rose-mist: #F6EAEE;    /* Soft Rose Mist Wash */
    --prairie-blush: #FAF4F5;        /* Whisper Blush Alabaster Canvas */
    --prairie-card: #FFFFFF;         /* Crisp Milk White */
    --prairie-border: #EBDCE1;       /* Hairline Silk Rose Border */
    --prairie-border-subtle: #F2E7EB;/* Subtle Line */
    --prairie-text: #22161A;         /* Deep Espresso Loam */
    --prairie-muted: #6B555D;        /* Refined Editorial Taupe */
    --prairie-gold: #C89B7B;         /* Warm Champagne Rose Gold */
}

/* Base Smooth Scrolling & Canvas */
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    text-size-adjust: 100%;
}

body {
    background-color: var(--prairie-blush);
    color: var(--prairie-text);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    letter-spacing: -0.01em;
}

/* High-Fashion Editorial Typography */
h1, h2, h3, h4, .font-serif {
    font-family: 'Fraunces', Georgia, serif;
    font-feature-settings: "liga" 1, "dlig" 1;
    letter-spacing: -0.02em;
}

/* Luxury Editorial Image Card */
.editorial-card {
    background: #FFFFFF;
    border: 1px solid var(--prairie-border);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(200, 109, 133, 0.12);
    border-color: var(--prairie-rose-light);
}

/* Quiet Luxury Buttons */
.btn-rose {
    background-color: var(--prairie-rose);
    color: #FFFFFF;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px -3px rgba(200, 109, 133, 0.35);
}

.btn-rose:hover {
    background-color: var(--prairie-rose-dark);
    box-shadow: 0 8px 24px -4px rgba(200, 109, 133, 0.45);
    transform: translateY(-1px);
}

.btn-rose:active {
    transform: translateY(1px);
}

.btn-noir {
    background-color: var(--prairie-noir);
    color: #FFFFFF;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px -3px rgba(32, 20, 25, 0.25);
}

.btn-noir:hover {
    background-color: #352129;
    box-shadow: 0 8px 24px -4px rgba(32, 20, 25, 0.35);
    transform: translateY(-1px);
}

.btn-minimal {
    background-color: transparent;
    border: 1px solid var(--prairie-border);
    color: var(--prairie-noir);
    transition: all 0.3s ease;
}

.btn-minimal:hover {
    border-color: var(--prairie-rose);
    color: var(--prairie-rose);
    background-color: #FFFFFF;
}

/* Silky Scroll Reveals */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scroll-reveal { opacity: 1; transform: none; transition: none; }
    .editorial-card, .btn-rose, .btn-noir { transition: none; transform: none !important; }
}

/* Elegant Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAF4F5;
}
::-webkit-scrollbar-thumb {
    background: #E0CDD3;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C86D85;
}

/* ==========================================================================
   2026 Spatial 3D Hero & Floating Island Navigation System
   ========================================================================== */

/* 3D Perspective Canvas */
.hero-perspective {
    perspective: 1400px;
    transform-style: preserve-3d;
}

.hero-3d-stage,
.hero-card-stage,
.hero-text-stage {
    transform-style: preserve-3d;
    will-change: transform;
}

/* 2026 Glassmorphism Surfaces */
.glass-pill {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.glass-card-2026 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.55),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
}

/* Interactive 3D Spatial Feature Card */
.hero-3d-card {
    transform-style: preserve-3d;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform;
}

.hero-3d-card:hover {
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 35px 90px -10px rgba(0, 0, 0, 0.65),
                0 0 40px rgba(200, 109, 133, 0.25),
                inset 0 1px 2px 0 rgba(255, 255, 255, 0.6);
}

/* Specular Card Glare */
.card-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 65%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
    z-index: 15;
}

/* 3D Tactile Buttons */
.btn-3d-rose {
    background: linear-gradient(135deg, #D47B93 0%, #C86D85 50%, #A85269 100%);
    box-shadow: 0 12px 28px -6px rgba(200, 109, 133, 0.55),
                0 4px 10px rgba(0, 0, 0, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-3d-rose:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 36px -6px rgba(200, 109, 133, 0.7),
                0 6px 14px rgba(0, 0, 0, 0.2),
                inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.btn-3d-rose:active {
    transform: translateY(1px) scale(0.99);
}

.btn-sheen {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
}

.btn-3d-rose:hover .btn-sheen {
    animation: btnSheenSweep 0.9s ease forwards;
}

@keyframes btnSheenSweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn-3d-glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.25),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-3d-glass:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.35),
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.btn-3d-glass:active {
    transform: translateY(1px) scale(0.99);
}

/* Floating Navigation Capsule System */
.glass-header-island {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease;
}

.glass-header-scrolled {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -10px rgba(32, 20, 25, 0.12);
    background-color: rgba(250, 244, 245, 0.94);
}

.nav-capsule {
    position: relative;
    transition: all 0.25s ease;
}

.nav-capsule.active {
    color: var(--prairie-noir);
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(32, 20, 25, 0.06);
    border: 1px solid var(--prairie-border);
}

/* Cross-Device Touch Fluidity */
#hero-entrance,
#hero-3d-card {
    touch-action: pan-y;
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-3d-card,
    .hero-text-stage,
    #hero-bg-img {
        transform: none !important;
    }
}

