/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

/* Base */
:root {
    --bg: #fafaf8;
    --text: #1a1a1a;
    --text-secondary: #6b6560;
    --text-muted: #8a8580;
    --divider: #e0ddd8;
    --tag-bg: #edeae5;
    --column: 700px;
    --pad-x: 3rem;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography primitives */
h1, h2, h3 {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.005em;
}

h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 3.5rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    line-height: 1.75;
}

a {
    color: inherit;
}

.label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.lede {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--pad-x);
    border-bottom: 1px solid var(--divider);
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Button */
.btn {
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background: #000;
}

/* Layout — each top-level section is its own centered column */
.hero,
.services,
.contact {
    max-width: var(--column);
    margin: 0 auto;
    padding: 6rem var(--pad-x) 4rem;
}

.services {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.contact {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Hero */
.hero .lede {
    margin-bottom: 2.5rem;
}

.facts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--divider);
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.fact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.fact-value {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1;
}

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

/* Services */
.service {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--divider);
}

.service-last {
    border-bottom: 1px solid var(--divider);
}

.service-body {
    flex: 1;
}

.service-body p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 220px;
    padding-top: 0.4rem;
    list-style: none;
}

.tags li {
    font-size: 0.7rem;
    background: var(--tag-bg);
    padding: 0.3rem 0.6rem;
    border-radius: 2px;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

/* Contact */
.contact h2 {
    margin-bottom: 1.5rem;
}

.contact .lede {
    max-width: 480px;
}

.contact .btn {
    margin-bottom: 3rem;
}

.details {
    border-top: 1px solid var(--divider);
    padding-top: 2rem;
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.detail {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.detail-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text);
}

/* Footer */
.footer {
    max-width: var(--column);
    margin: 0 auto;
    padding: 2.5rem var(--pad-x);
    border-top: 1px solid var(--divider);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

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

.footer-tax {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--tag-bg);
    font-size: 0.7rem;
    color: #b0aba5;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --pad-x: 2rem;
    }

    h1 {
        font-size: 2.6rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .facts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .service {
        flex-direction: column;
        gap: 1.25rem;
    }

    .tags {
        max-width: none;
        padding-top: 0;
    }

    .details {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --pad-x: 1.5rem;
    }

    .nav {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hero,
    .services,
    .contact {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}
