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

:root {
    --color-bg: #E8C69A;
    --color-text: #453000;
    --color-blob-1: #d4945a;
    --color-blob-2: #c48550;
    --color-blob-3: #daa06d;
    --mouse-x: 0;
    --mouse-y: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background blobs */
.background {
    position: fixed;
    top: -50px;
    left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--color-blob-1);
    top: -10%;
    left: -10%;
    animation: float-1 8s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--color-blob-2);
    top: 50%;
    right: -15%;
    animation: float-2 10s ease-in-out infinite;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--color-blob-3);
    bottom: -10%;
    left: 30%;
    animation: float-3 9s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(150px, 80px) scale(1.15);
    }
    66% {
        transform: translate(80px, 150px) scale(0.9);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-120px, -100px) scale(1.1);
    }
    66% {
        transform: translate(-60px, 120px) scale(0.85);
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -80px) scale(1.12);
    }
    66% {
        transform: translate(-80px, -50px) scale(0.9);
    }
}

/* Main content */
main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 3rem;
}

/* Glass card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px rgba(69, 48, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Hero section */
.hero {
    text-align: center;
}

.hero-card {
    padding: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 8vw, 6rem);
    animation: fade-in 1s ease-out;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    opacity: 0.8;
}

/* Values section */
.values {
    width: 100%;
    max-width: 800px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.value-item {
    padding: 1.25rem 1.5rem;
    text-align: center;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 40px rgba(69, 48, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    margin-top: 2rem;
    animation: fade-in 1s ease-out 0.3s both;
}

.email-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.email-link:hover {
    opacity: 1;
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    main {
        padding: 1.5rem;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .value-item {
        padding: 1rem;
    }

    .blob {
        filter: blur(60px);
    }

    .blob-1 {
        width: 300px;
        height: 300px;
    }

    .blob-2 {
        width: 250px;
        height: 250px;
    }

    .blob-3 {
        width: 200px;
        height: 200px;
    }
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
    .glass-card {
        background: rgba(255, 255, 255, 0.7);
    }

    .email-link {
        background: rgba(255, 255, 255, 0.5);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .blob {
        animation: none;
    }

    .hero-card,
    footer {
        animation: none;
    }

    .value-item {
        transition: none;
    }
}
