:root {
    --color-bg: #0a0a0b;
    --color-surface: #141416;
    --color-border: #2a2a2e;
    --color-text: #f5f5f4;
    --color-text-muted: #8c8c8a;
    --color-accent: #e8ff47;
    --color-accent-dim: #c4d93c;
    
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Instrument Sans', -apple-system, sans-serif;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 1000;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, var(--color-bg) 0%, transparent 100%);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-bg);
    background: var(--color-accent);
    padding: 0.625rem 1.25rem;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 255, 71, 0.25);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(232, 255, 71, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-text-muted);
    background: var(--color-surface);
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Section Styles */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* Services */
.services {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s var(--ease-out-expo);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dim) 100%);
    border-radius: 14px;
    margin-bottom: 1.5rem;
    color: var(--color-bg);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Experience */
.experience {
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-border));
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-accent);
    transform: translateX(-4px);
    box-shadow: 0 0 0 4px var(--color-bg);
}

.timeline-period {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.02em;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0.5rem 0;
}

.timeline-content p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* Contact */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, transparent, var(--color-surface));
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.contact p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-email {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--color-accent);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out-expo);
    margin-bottom: 2rem;
}

.contact-email:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
    transform: scale(1.02);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-links a:hover {
    color: var(--color-text);
}

.contact-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-phones a {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-phones a:hover {
    color: var(--color-accent);
}

.phone-divider {
    color: var(--color-border);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        text-align: center;
        padding-top: 7rem;
        min-height: auto;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-row {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    header {
        padding: 1rem 1.5rem;
    }
    
    .hero, .services, .experience, .contact {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .stats-row {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Animations on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.hero h1 {
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-description {
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s both;
}

.hero-actions {
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s both;
}

.stats-row {
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.5s both;
}
