/* ========== BASE RESET & FOUNDATION ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol {
    list-style: none;
}

/* ========== SELECTION ========== */
::selection {
    background: #f29a82;
    color: #2c2420;
}

/* ========== FOCUS ========== */
:focus-visible {
    outline: 2px solid #df502e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .blob {
        animation: none;
        border-radius: 50%;
    }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf6f1;
}
::-webkit-scrollbar-thumb {
    background: #e8c9a0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a96a;
}

/* ========== NAVBAR SCROLL EFFECT ========== */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(44, 36, 32, 0.08);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
    max-height: 400px;
}

/* ========== CARD LIFT ========== */
.lift-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lift-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(126, 46, 28, 0.12);
}

/* ========== PILL BADGE ========== */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ========== BLOB ANIMATION ========== */
.blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blobFloat 8s ease-in-out infinite;
}
@keyframes blobFloat {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 56% 44% / 46% 62% 38% 54%; }
    50% { border-radius: 44% 56% 48% 52% / 54% 42% 58% 46%; }
    75% { border-radius: 62% 38% 66% 34% / 38% 56% 44% 62%; }
}

/* ========== DNA WAVE ========== */
.dna-strand {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 60px;
}
.dna-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #df502e;
    animation: dnaWave 1.5s ease-in-out infinite;
}
.dna-dot:nth-child(2) { animation-delay: 0.1s; }
.dna-dot:nth-child(3) { animation-delay: 0.2s; }
.dna-dot:nth-child(4) { animation-delay: 0.3s; }
.dna-dot:nth-child(5) { animation-delay: 0.4s; }
.dna-dot:nth-child(6) { animation-delay: 0.5s; }
.dna-dot:nth-child(7) { animation-delay: 0.6s; }
.dna-dot:nth-child(8) { animation-delay: 0.7s; }
@keyframes dnaWave {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-12px); opacity: 1; }
}

/* ========== PATTERN DOTS ========== */
.pattern-dots {
    background-image: radial-gradient(circle, #e8c9a0 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    html {
        font-size: 16px;
    }
}

/* ========== PRINT ========== */
@media print {
    header, footer, .lift-card, .blob {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
    a {
        color: black;
    }
}
