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

:root {
    --bg:         #FAFAF8;
    --bg-alt:     #F2F0ED;
    --text:       #1A1A1A;
    --text-muted: #6B7280;
    --accent:     #B5936B;
    --border:     #E5E2DC;
    --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* === LAYOUT === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* === NAV === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.05em;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

nav ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.btn-nav {
    background: var(--text) !important;
    color: var(--bg) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 500;
    transition: opacity 0.2s ease !important;
}

.btn-nav:hover {
    opacity: 0.75;
}

/* === HERO === */
.hero {
    padding-top: 10rem;
    padding-bottom: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.eyebrow {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 720px;
}

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

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

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    padding: 0.875rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.btn-primary:hover {
    opacity: 0.78;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text);
    padding: 0.875rem 2rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--text);
}

/* === SECTION LABEL === */
.section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* === ABOUT === */
.about {
    background: var(--bg-alt);
}

.about h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.975rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.tags span {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.about-facts {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 4rem;
}

.fact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.fact:first-child {
    padding-top: 0;
}

.fact:last-child {
    border-bottom: none;
}

.fact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 600;
}

.fact-value {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 400;
    line-height: 1.5;
}

/* === SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.service-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    transition: border-color 0.2s ease;
}

.service-card:hover {
    border-color: var(--accent);
}

.service-num {
    display: block;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

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

/* === WORK === */
.work {
    background: var(--bg-alt);
}

.work h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.project-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 3rem;
    margin-bottom: 1.25rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.project-year {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.project-card h3 {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 640px;
    font-size: 0.95rem;
}

.project-metrics {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.metric-value {
    font-size: 1.85rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text);
    line-height: 1;
}

.metric-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nda-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border: 1px dashed var(--border);
    border-radius: 12px;
    gap: 1rem;
}

.nda-note p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* === EXPERIENCE === */
.timeline {
    margin-top: 0.5rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border);
    align-items: baseline;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.timeline-loc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === CONTACT === */
.contact {
    background: var(--text);
    color: var(--bg);
    text-align: center;
}

.contact .section-label {
    color: var(--accent);
}

.contact h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.contact > .container > p {
    color: rgba(250, 250, 248, 0.55);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.contact .btn-primary {
    background: var(--accent);
    color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: rgba(250, 250, 248, 0.4);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.social-links a:hover {
    color: rgba(250, 250, 248, 0.9);
}

/* === FOOTER === */
footer {
    background: var(--text);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

footer p {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(250, 250, 248, 0.25);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .hero {
        padding-top: 8rem;
        padding-bottom: 5rem;
        min-height: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-facts {
        padding-top: 0;
    }

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

    .project-card {
        padding: 2rem 1.5rem;
    }

    .project-metrics {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .nda-note {
        flex-direction: column;
        text-align: center;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    nav ul {
        gap: 1rem;
    }

    nav ul li:not(:last-child):not(:nth-last-child(2)) {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
}
