:root {
    --color-bg: #fafafa;
    --color-surface: #ffffff;
    --color-text: #0d0d0d;
    --color-text-secondary: #737373;
    --color-border: #e0e0e0;
    --color-border-light: #f0f0f0;
    --color-accent: #0d0d0d;
    
    --font-display: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Crimson Pro', Georgia, serif;
    
    --spacing: clamp(1rem, 3vw, 2rem);
    --gap: clamp(0.5rem, 2vw, 1rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Dot Grid Background */
.dot-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #d4d4d4 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 0.5px solid var(--color-border);
}

.nav-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.25rem clamp(1.5rem, 4vw, 3rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 28px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 0.5px;
    background-color: var(--color-text);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-date {
    color: var(--color-text);
}

.hero-status {
    color: var(--color-text-secondary);
    padding: 0.25rem 0.75rem;
    background-color: var(--color-surface);
    border: 0.5px solid var(--color-border);
    border-radius: 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--color-text);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 300;
    line-height: 1.3;
    color: var(--color-text-secondary);
    font-style: italic;
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 540px;
    margin-top: 0.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background-color: var(--color-text);
    color: var(--color-surface);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    margin-top: 1rem;
    border: 0.5px solid var(--color-text);
}

.hero-cta:hover {
    background-color: transparent;
    color: var(--color-text);
    transform: translateX(4px);
}

.hero-cta svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.hero-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border: 0.5px solid var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    background-color: var(--color-surface);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Projects Section */
.projects {
    padding: clamp(6rem, 12vw, 10rem) 0;
    position: relative;
    z-index: 1;
}

.projects-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section-header {
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5px;
    background-color: var(--color-border);
    border: 0.5px solid var(--color-border);
}

.project-item {
    background-color: var(--color-surface);
    position: relative;
    overflow: hidden;
}

.project-border {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-visual {
    aspect-ratio: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover .project-visual img {
    transform: scale(1.05);
}

/* Coming Soon State */
.coming-soon .project-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-content {
    text-align: center;
}

.coming-soon-text {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    text-transform: uppercase;
}

/* Hover Info Overlay */
.project-hover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover .project-hover-info {
    transform: translateY(0);
}

.project-hover-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.project-hover-desc {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about {
    padding: clamp(6rem, 12vw, 10rem) 0;
    background-color: var(--color-surface);
    border-top: 0.5px solid var(--color-border);
    border-bottom: 0.5px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.about-content {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.about-text.large {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* Contact Section */
.contact {
    padding: clamp(6rem, 12vw, 10rem) 0;
    position: relative;
    z-index: 1;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.contact-content {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-email {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.contact-email:hover {
    opacity: 0.6;
}

.contact-social {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 0.5px;
    background-color: var(--color-text);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    color: var(--color-text);
}

.social-link:hover::after {
    width: 100%;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: var(--color-surface);
    border-top: 0.5px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.875rem;
    }
    
    .hero-meta {
        flex-wrap: wrap;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-hover-info {
        padding: 1.5rem;
    }
    
    .contact-social {
        flex-direction: column;
        gap: 1rem;
    }
}

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

.hero-content > * {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

.hero-image {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.project-item {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.project-item:nth-child(1) { animation-delay: 0.1s; }
.project-item:nth-child(2) { animation-delay: 0.2s; }
.project-item:nth-child(3) { animation-delay: 0.3s; }
.project-item:nth-child(4) { animation-delay: 0.4s; }
.project-item:nth-child(5) { animation-delay: 0.5s; }
.project-item:nth-child(6) { animation-delay: 0.6s; }
