.projects-archive-hero,
.project-hero {
    padding: 96px 0 56px;
    background: #f5f5f3;
}

.projects-archive-hero .container,
.project-hero .container {
    max-width: 1180px;
}

.projects-archive-hero h1,
.project-hero h1 {
    max-width: 900px;
    margin: 10px 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: 0;
}

.projects-archive-hero p,
.project-hero__content > p {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.55;
    color: #3d3d3d;
}

.projects-archive,
.project-section {
    padding: 72px 0;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.project-filters a,
.related-services a,
.related-services span,
.project-card__terms span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(15, 15, 15, 0.16);
    color: #171717;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.project-filters a.is-active {
    background: #171717;
    color: #fff;
    border-color: #171717;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.project-card {
    background: #fff;
    border: 1px solid rgba(15, 15, 15, 0.1);
}

.project-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #e4e0d8;
    overflow: hidden;
}

.project-card__image img,
.project-hero__image img,
.project-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card__body {
    padding: 22px;
}

.project-card__terms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.project-card h2,
.project-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: 0;
}

.project-card h2 a,
.project-card h3 a {
    color: inherit;
    text-decoration: none;
}

.project-card__meta {
    margin: 0 0 12px;
    color: #666;
    font-weight: 600;
}

.project-empty {
    max-width: 720px;
    padding: 40px;
    background: #f5f5f3;
}

.project-hero .container {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    gap: 48px;
    align-items: end;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #6b6b6b;
}

.breadcrumbs a {
    color: inherit;
}

.project-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 0;
}

.project-facts div {
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.project-facts dt {
    margin-bottom: 7px;
    color: #656565;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.project-facts dd {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.project-hero__image {
    aspect-ratio: 4 / 5;
    margin: 0;
    background: #e2e3e1;
}

.project-copy {
    max-width: 820px;
    font-size: 19px;
    line-height: 1.7;
}

.project-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.project-detail {
    padding-top: 24px;
    border-top: 1px solid rgba(15, 15, 15, 0.14);
}

.project-detail h2 {
    margin: 0 0 14px;
    font-size: 28px;
    letter-spacing: 0;
}

.project-detail p {
    color: #343434;
    line-height: 1.65;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.project-gallery a {
    display: block;
    aspect-ratio: 1 / 1;
    background: #e4e0d8;
    overflow: hidden;
}

.related-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination {
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    margin-right: 6px;
    border: 1px solid rgba(15, 15, 15, 0.16);
    color: #171717;
    text-decoration: none;
}

.pagination .current {
    background: #171717;
    color: #fff;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.6fr) minmax(240px, 0.6fr);
    gap: 22px;
    margin: 36px 0 52px;
}

.service-intro-grid__main,
.service-intro-grid__panel {
    padding: 28px;
    background: #f5f5f3;
}

.service-intro-grid__main p {
    margin: 0;
    font-size: 22px;
    line-height: 1.55;
    color: #252525;
}

.service-intro-grid__panel h2 {
    margin: 0 0 14px;
    font-size: 18px;
    letter-spacing: 0;
}

.service-intro-grid__panel ul {
    margin: 0;
    padding-left: 18px;
}

.service-intro-grid__panel li {
    margin: 8px 0;
    color: #343434;
}

.service-process {
    padding: 72px 0;
}

@media (max-width: 900px) {
    .project-grid,
    .project-hero .container,
    .project-details-grid,
    .service-intro-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-facts {
        grid-template-columns: 1fr;
    }

    .projects-archive-hero,
    .project-hero {
        padding: 72px 0 42px;
    }
}

@media (max-width: 560px) {
    .projects-archive,
    .project-section {
        padding: 48px 0;
    }

    .projects-archive-hero h1,
    .project-hero h1 {
        font-size: 42px;
    }

    .projects-archive-hero p,
    .project-hero__content > p {
        font-size: 18px;
    }

    .project-card__body,
    .project-empty {
        padding: 20px;
    }
}
