* {
    box-sizing: border-box;
}

:root {
    --background: #f7f6f2;
    --surface: #ffffff;
    --text: #171717;
    --muted: #686868;
    --line: #deddd8;
    --accent: #365f52;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

.site-header {
    border-bottom: 1px solid var(--line);
}

.top-bar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: transparent;
}

.site-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.desktop-navigation .menu {
    gap: 2rem;
    background: transparent;
}

.desktop-navigation a {
    font-size: 0.92rem;
    text-decoration: none;
}

.desktop-navigation a:hover,
.mobile-navigation a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-navigation {
    display: none;
}

.hero {
    padding: 7rem 0 6rem;
}

.eyebrow,
.section-label {
    margin: 0 0 1.25rem;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1,
.contact-hero h1 {
    max-width: 800px;
    margin: 0 0 1.5rem;
    font-size: clamp(3.2rem, 7vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.hero-intro {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.65;
}

.hero-links {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.text-link {
    display: inline-block;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--text);
    padding-bottom: 0.15rem;
}

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

.hero-photo-wrap {
    display: flex;
    justify-content: flex-end;
}

.hero-photo {
    width: 270px;
    height: 356px;
    object-fit: cover;
}

.content-section {
    padding: 6rem 0;
    border-top: 1px solid var(--line);
}

.content-section h2 {
    max-width: 800px;
    margin: 0 0 2rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.content-section p {
    max-width: 780px;
    color: var(--muted);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.work-item {
    min-height: 270px;
    padding: 2rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.work-number {
    margin: 0 0 2.5rem !important;
    color: var(--accent) !important;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.work-item h3 {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    line-height: 1.2;
}

.work-item p:last-child {
    margin: 0;
    font-size: 0.95rem;
}

.product-section {
    padding-bottom: 7rem;
}

.site-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    width: 100px;
    height: auto;
}

.site-footer .menu {
    gap: 1.5rem;
    background: transparent;
}

.site-footer a {
    font-size: 0.9rem;
    text-decoration: none;
}

.copyright {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: right;
}

.contact-hero {
    padding: 8rem 0 7rem;
}

.contact-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
}

.email-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--text);
}

.email-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.contact-links-section {
    padding-bottom: 7rem;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

@media screen and (max-width: 639px) {
    .top-bar {
        min-height: 72px;
    }

    .desktop-navigation {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-navigation {
        display: flex;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        border-top: 0 solid var(--line);
        transition: max-height 0.25s ease, padding 0.25s ease, border-top-width 0.25s ease;
    }

    .mobile-navigation.is-open {
        max-height: 220px;
        padding: 0.75rem 0 1rem;
        border-top-width: 1px;
    }

    .mobile-navigation a {
        padding: 0.75rem 0;
        font-size: 1rem;
        text-decoration: none;
    }

    .hero {
        padding: 4.5rem 0 4rem;
    }

    .hero h1,
    .contact-hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .hero-intro {
        font-size: 1.05rem;
    }

    .hero-photo-wrap {
        justify-content: flex-start;
        margin-top: 3rem;
    }

    .hero-photo {
        width: 220px;
        height: auto;
    }

    .content-section {
        padding: 4rem 0;
    }

    .content-section h2 {
        margin-bottom: 1.5rem;
    }

    .section-label {
        margin-bottom: 2rem;
    }

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

    .work-item {
        min-height: 0;
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .site-footer .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .copyright {
        text-align: left;
    }

    .contact-hero {
        padding: 5rem 0 4rem;
    }
}
