:root {
    /* Nature Distilled Palette */
    --color-bg: #0C0B0A; /* Warm black */
    --color-surface: #171513; /* Dark taupe/clay surface */
    --color-surface-hover: #221F1B;
    --color-text: #E8E4DF; /* Sand / Bone */
    --color-text-muted: #A19E9A;
    
    --color-earth-clay: #9A8B73; /* Clay accent */
    --color-cool-blue: #5E7A8C; /* Trust blue */
    --color-silver-chrome: #D1D5D8; /* Metallic subtle details */
    
    /* Typography */
    --font-heading: 'Playfair Display', serif; /* High contrast serif */
    --font-body: 'Inter', sans-serif; /* Ultra-thin sans-serif */
    
    /* Spacing & Layout */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    --spacing-xxl: 8rem;
    
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-snappy: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Film Grain Texture */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 300; /* Ultra-thin technical */
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400; /* Contrast generated by the font style */
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Liquid Glassmorphism */
.glass-liquid {
    background: rgba(23, 21, 19, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(209, 213, 216, 0.08); /* Silver Chrome subtle border */
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* Tactile Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-snappy);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    border-radius: 0px; /* Square by default */
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(209, 213, 216, 0.2), transparent); /* Brushed Silver sweep */
    transform: translateX(-100%);
    transition: 0.6s ease;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background-color: var(--color-earth-clay);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-surface);
    color: var(--color-earth-clay);
    border-color: var(--color-earth-clay);
    border-radius: 12px; /* Shape change interaction */
    box-shadow: 0 0 20px rgba(154, 139, 115, 0.2); /* Subtle glow */
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-silver-chrome);
    color: var(--color-silver-chrome);
}

.btn-outline:hover {
    border-color: var(--color-cool-blue);
    color: var(--color-cool-blue);
    background-color: rgba(94, 122, 140, 0.1);
    border-radius: 12px;
}

/* Animations 2.0: Kinetic & Parallax */
.reveal, .reveal-kinetic {
    opacity: 0;
    transition: all 1.2s var(--transition-smooth);
}

.reveal {
    transform: translateY(40px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Kinetic Typography: Letters skew and un-skew on scroll */
.reveal-kinetic {
    transform: translateY(60px) skewY(5deg) scale(0.95);
    transform-origin: left bottom;
}

.reveal-kinetic.active {
    opacity: 1;
    transform: translateY(0) skewY(0) scale(1);
}

/* Custom Reveal Animations */
.reveal-depth {
    opacity: 0;
    transform: scale(0.9) translateZ(-100px);
    transition: all 1.2s var(--transition-smooth);
}
.reveal-depth.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
}

.reveal-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1.2s var(--transition-smooth);
}
.reveal-slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1.2s var(--transition-smooth);
}
.reveal-slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

@keyframes slideInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.5rem)); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: var(--spacing-md) 0;
    transition: padding var(--transition-smooth);
}

.header.scrolled {
    padding: var(--spacing-sm) 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-style: italic;
    color: var(--color-silver-chrome);
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url('images/img_2.jpg') center/cover no-repeat;
}

/* Subtle organic pulse for hero background */
.hero-video-bg::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(ellipse at center, rgba(154, 139, 115, 0.1) 0%, transparent 60%);
    animation: organicBreathe 20s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes organicBreathe {
    0% { transform: scale(0.8) translate(-5%, -5%); opacity: 0.5; }
    100% { transform: scale(1.2) translate(5%, 5%); opacity: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(12,11,10,0.3) 0%, #0C0B0A 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 var(--spacing-sm);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-silver-chrome);
    line-height: 1.05;
}

.hero-title span {
    display: block;
    color: var(--color-earth-clay);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    font-weight: 100;
    max-width: 600px;
    margin-inline: auto;
    letter-spacing: 0.02em;
}

/* Anti-Grid & Asymmetry */
.anti-grid-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.fluid-divider {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 C320,150 420,-50 1440,50 L1440,100 L0,100 Z" fill="%230C0B0A"/></svg>') no-repeat center bottom / cover;
    z-index: 10;
}

.asymmetric-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media(min-width: 992px) {
    .asymmetric-layout {
        grid-template-columns: 5fr 7fr;
        gap: var(--spacing-xxl);
    }
    
    .asymmetric-layout.reverse {
        grid-template-columns: 7fr 5fr;
    }
    
    .asym-img {
        transform: translateY(50px);
    }
}

/* Dynamic Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-sm);
    padding: var(--spacing-xl) 0;
}

.bento-item {
    background-color: var(--color-surface);
    border-radius: 4px; /* Minimal border radius */
    overflow: hidden;
    position: relative;
    grid-column: span 12;
    aspect-ratio: 16/9;
}

.bento-item img, .bento-item .mock-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--transition-smooth);
}

.bento-item:hover img, .bento-item:hover .mock-img {
    transform: scale(1.08); /* Cinematic zoom */
}

.bento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,11,10,0.9), transparent 50%);
    pointer-events: none;
    opacity: 0.8;
    transition: opacity var(--transition-smooth);
}

.bento-item:hover::after {
    opacity: 0.4;
}

/* Proportional Grid Weights - Elite Bento */
@media(min-width: 768px) {
    .bento-item { aspect-ratio: unset; min-height: 400px; }
    .bento-item.hero-bento { grid-column: span 8; grid-row: span 2; }
    .bento-item.tall-bento { grid-column: span 4; grid-row: span 2; }
    .bento-item.wide-bento { grid-column: span 8; }
    .bento-item.square-bento { grid-column: span 4; }
}

/* Monkey's Fist */
.mf-card {
    padding: var(--spacing-xl);
    border-radius: 2px;
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.mf-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
    color: var(--color-silver-chrome);
}

.mf-desc {
    color: var(--color-text-muted);
    font-weight: 100;
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
}

.input-field {
    width: 100%;
    padding: 1.25rem;
    background: rgba(12, 11, 10, 0.6);
    border: 1px solid var(--color-surface-hover);
    color: var(--color-silver-chrome);
    font-family: var(--font-body);
    font-weight: 100;
    outline: none;
    transition: var(--transition-smooth);
}

.input-field:focus {
    border-color: var(--color-cool-blue);
    background: var(--color-bg);
}

/* Filter Navigation */
.filter-nav {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-bottom: 1px solid var(--color-surface);
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    list-style: none;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-surface-hover);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    transition: var(--transition-snappy);
    border-radius: 30px;
}

.filter-btn.active, .filter-btn:hover {
    color: var(--color-bg);
    background: var(--color-silver-chrome);
    border-color: var(--color-silver-chrome);
    box-shadow: 0 4px 15px rgba(209, 213, 216, 0.2);
}

/* Footer & Form */
.footer {
    padding: var(--spacing-xxl) 0 var(--spacing-md);
    background-color: #050505;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-info h3 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-earth-clay);
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-cool-blue);
    margin-bottom: 0.5rem;
    display: block;
}

@media(min-width: 768px) {
    .nav-links {
        display: flex;
        gap: var(--spacing-lg);
    }
    .nav-links a {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        transition: var(--transition-snappy);
    }
    .nav-links a:hover {
        color: var(--color-earth-clay);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .mf-form {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 1rem;
        max-width: 700px;
        margin: 0 auto;
    }
}

/* Floating WhatsApp (Updated for Elite) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
    z-index: 1000;
    transition: var(--transition-snappy);
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}
