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

:root {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-dark: #0a0a0a;
    --text-primary: #111111;
    --text-secondary: #666666;
    --text-light: #999999;
    --accent: #c9a962;
    --accent-dark: #b8984d;
    --border: #e8e8e8;
    --border-light: #f2f2f2;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: none;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.cursor {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid var(--accent);
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: difference;
}

nav.scrolled {
    background: rgba(250, 250, 250, 0.9);
    backdrop-filter: blur(20px);
    mix-blend-mode: normal;
    padding: 1.25rem 4rem;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
}

nav.scrolled .logo {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

nav.scrolled .nav-links a {
    color: var(--text-secondary);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hero {
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    padding-top: 8rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-badge::before {
    content: '\25C6';
    font-size: 1rem;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -3px;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.case-studies {
    padding: 2rem 4rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.case-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.case-client {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.case-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.case-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.case-review {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
    margin-bottom: 1.5rem;
}

.review-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.review-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-info p {
    font-size: 0.75rem;
    color: var(--text-light);
}

.case-results {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    justify-content: space-between;
}

.result-item {
    text-align: center;
    flex: 1;
    min-width: 4rem;
}

.result-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}

.result-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.case-study-cta {
    background: var(--bg-dark);
    color: white;
    text-align: center;
    padding: 6rem 4rem;
}

.case-study-cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.case-study-cta p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

.case-study-cta .cta-btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.case-study-cta .cta-btn:hover {
    background: var(--accent-dark);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (max-width: 1024px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor, .cursor-dot {
        display: none;
    }

    nav {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 6rem 2rem;
        min-height: auto;
    }

    .hero-content {
        padding: 0;
    }

    .case-studies {
        padding: 2rem;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-study-cta {
        padding: 4rem 2rem;
    }
}
