:root {
    color-scheme: light;
    --paper: #fbfbf9;
    --ink: #242523;
    --muted: #626660;
    --line: #d9dcd6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .25em;
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus-visible {
    outline: 2px solid #405c45;
    outline-offset: 5px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: .5rem;
    z-index: 2;
    padding: .6rem .8rem;
    color: #fff;
    background: #242523;
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-shell {
    width: min(100% - 3rem, 70rem);
    margin-inline: auto;
}

.site-header {
    min-height: 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -.06em;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.brand-secondary {
    margin-left: .4rem;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: 0;
}

.site-header nav {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
    font-size: .875rem;
}

.site-header nav a {
    text-decoration: none;
}

.site-header nav a:hover {
    text-decoration: underline;
}

.hero {
    padding-block: clamp(4rem, 9vw, 8rem);
}

.hero h1 {
    margin: 0;
    max-width: 63rem;
    font-size: clamp(2.45rem, 5.4vw, 4.4rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.12;
}

.hero h1 span {
    display: block;
}

.hero-lead {
    max-width: 43rem;
    margin-block: 1.8rem;
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-lead p {
    margin: 0;
}

.text-link {
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: .3rem;
}

.text-link:hover {
    border-bottom-width: 2px;
}

.hero-action {
    display: inline-flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-action span {
    font-size: 1.2rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 1rem;
}

.section-heading h2, .approach h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.section-heading span, .eyebrow {
    color: var(--muted);
    font-size: .8rem;
}

.project {
    border-top: 1px solid var(--line);
}

.project:last-child {
    border-bottom: 1px solid var(--line);
}

.project summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 10rem 1.2rem;
    gap: 1rem;
    align-items: center;
    padding-block: 1.4rem;
    min-height: 4.5rem;
    cursor: pointer;
    list-style: none;
}

.project summary::-webkit-details-marker {
    display: none;
}

.project-title {
    font-size: 1.08rem;
}

.project-sector {
    color: var(--muted);
    font-size: .85rem;
}

.project-plus {
    color: var(--muted);
    font-size: 1.4rem;
    text-align: right;
}

.project[open] .project-plus {
    transform: rotate(45deg);
}

.project-detail {
    max-width: 43rem;
    padding: 0 0 1.5rem;
}

.project-detail p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.approach {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2rem;
    padding-block: 4rem;
}

.approach p {
    max-width: 40rem;
    margin: 0;
    color: var(--muted);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1.7rem 2.5rem;
    border-top: 1px solid var(--line);
    font-size: .875rem;
}

.site-footer strong, .site-footer span, .footer-contact a {
    display: block;
}

.site-footer strong {
    font-weight: 600;
}

.site-footer span {
    color: var(--muted);
}

.footer-contact {
    text-align: right;
}

.content-page {
    max-width: 56rem;
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.content-page h1 {
    margin: 0 0 2rem;
    font-size: clamp(2.3rem, 4.6vw, 3.8rem);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.eyebrow {
    margin: 0 0 .6rem;
}

.prose {
    max-width: 46rem;
}

.prose h2 {
    margin: 3rem 0 1rem;
    font-size: 1.35rem;
    line-height: 1.3;
    font-weight: 600;
}

.prose h3 {
    margin: 2rem 0 .5rem;
    font-size: 1.02rem;
    line-height: 1.4;
}

.prose p, .prose li {
    max-width: 46rem;
}

.prose ul {
    padding-left: 1.3rem;
}

.prose li + li {
    margin-top: .5rem;
}

.return-link {
    margin-top: 3rem;
}

.section-list {
    margin-top: 3rem;
}

.section-list-item {
    padding-block: 1.7rem;
    border-top: 1px solid var(--line);
}

.section-list-item:last-child {
    border-bottom: 1px solid var(--line);
}

.section-list-item h2, .section-list-item h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.section-list-item h2 a, .section-list-item h3 a {
    text-decoration: none;
}

.section-list-item h2 a:hover, .section-list-item h3 a:hover {
    text-decoration: underline;
}

.section-list-item > p:not(.eyebrow) {
    color: var(--muted);
}

@media (max-width: 600px) {
    .site-shell {
        width: min(100% - 2rem, 70rem);
    }

    .site-header {
        align-items: flex-start;
        padding-block: 1rem;
        gap: 1rem;
    }

    .brand img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .brand-secondary {
        display: block;
        margin: -.25rem 0 0;
    }

    .site-header nav {
        gap: .4rem 1rem;
        justify-content: flex-end;
    }

    .hero h1 {
        overflow-wrap: anywhere;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .3rem;
    }

    .project summary {
        grid-template-columns: minmax(0, 1fr) 1.2rem;
    }

    .project-sector {
        display: none;
    }

    .approach {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .site-footer {
        flex-direction: column;
    }

    .footer-contact {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media print {
    .site-header nav, .hero-action, .skip-link, .return-link {
        display: none;
    }

    .site-shell, .content-page, .prose {
        width: auto;
        max-width: none;
    }

    .site-footer {
        margin-top: 2rem;
    }
}

.language-switch {
    display: inline-flex;
    gap: .5rem;
    white-space: nowrap;
}

.language-switch a[aria-current="page"] {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.availability {
    display: inline-block;
    margin: 0 0 1.8rem;
    padding: .4rem .75rem;
    border-left: 3px solid #405c45;
    background: #f0f2ed;
    font-size: .95rem;
    font-weight: 600;
}
.hero-action { display: flex; width: fit-content; }

[hidden] { display: none !important; }
.footer-privacy { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
@media (max-width: 850px) { .site-footer { flex-wrap: wrap; } }
@media print { .footer-privacy { display: none !important; } }
