.projects-hero {
position: relative;
min-height: 620px;
display: flex;
align-items: flex-end;
overflow: hidden;
background: #101814;
}

.projects-hero-bg {
position: absolute;
inset: 0;
background:
linear-gradient(
90deg,
rgba(7, 15, 12, .88) 0%,
rgba(7, 15, 12, .58) 45%,
rgba(7, 15, 12, .18) 100%
),
url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=2200&q=90')
center center / cover no-repeat;
}

.projects-hero-content {
position: relative;
z-index: 2;
max-width: 760px;
padding: 0 7vw 90px;
color: #fff;
}

.projects-eyebrow,
.section-eyebrow {
display: inline-block;
margin-bottom: 20px;
font-size: 12px;
font-weight: 800;
letter-spacing: 3px;
text-transform: uppercase;
}

.projects-eyebrow {
color: #b7e83f;
}

.projects-hero h1 {
margin: 0;
font-size: clamp(48px, 6vw, 88px);
line-height: .98;
font-weight: 500;
letter-spacing: -3px;
}

.projects-hero h1 strong {
color: #b7e83f;
font-weight: 700;
}

.projects-hero p {
max-width: 620px;
margin: 30px 0 0;
font-size: 17px;
line-height: 1.8;
color: rgba(255,255,255,.78);
}

.projects-section {
padding: 120px 7vw;
background: #f5f7f3;
}

.projects-heading {
max-width: 750px;
margin-bottom: 55px;
}

.projects-heading .section-eyebrow {
color: #608d20;
}

.projects-heading h2 {
margin: 0;
font-size: clamp(42px, 5vw, 72px);
line-height: 1;
letter-spacing: -3px;
font-weight: 500;
color: #172119;
}

.projects-heading h2 strong {
color: #679b21;
font-weight: 700;
}

.projects-heading p {
max-width: 650px;
margin-top: 28px;
font-size: 16px;
line-height: 1.8;
color: #69736b;
}

.project-filters {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 45px;
}

.project-filter {
border: 1px solid #d8ded7;
background: transparent;
color: #4d584f;
padding: 13px 22px;
border-radius: 50px;
font-family: inherit;
font-size: 13px;
font-weight: 700;
cursor: pointer;
transition: all .3s ease;
}

.project-filter:hover,
.project-filter.active {
background: #172119;
border-color: #172119;
color: #b7e83f;
}

.projects-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 22px;
}

.project-card {
min-height: 470px;
overflow: hidden;
border-radius: 4px;
}

.project-card.project-large {
min-height: 650px;
}

.project-card.project-wide {
grid-column: span 2;
min-height: 520px;
}

.project-image {
position: relative;
width: 100%;
height: 100%;
min-height: inherit;
overflow: hidden;
background: #172119;
}

.project-image::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(
to top,
rgba(5, 13, 9, .88) 0%,
rgba(5, 13, 9, .25) 48%,
rgba(5, 13, 9, 0) 75%
);
z-index: 1;
}

.project-image img {
width: 100%;
height: 100%;
min-height: inherit;
object-fit: cover;
display: block;
transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.project-card:hover .project-image img {
transform: scale(1.06);
}

.project-overlay {
position: absolute;
z-index: 2;
left: 0;
right: 0;
bottom: 0;
padding: 38px;
color: #fff;
}

.project-overlay span {
display: inline-block;
margin-bottom: 12px;
color: #b7e83f;
font-size: 11px;
font-weight: 800;
letter-spacing: 2px;
text-transform: uppercase;
}

.project-overlay h3 {
margin: 0;
font-size: 28px;
line-height: 1.1;
font-weight: 700;
}

.project-overlay p {
max-width: 520px;
margin: 14px 0 20px;
color: rgba(255,255,255,.78);
font-size: 14px;
line-height: 1.65;
}

.project-overlay a {
display: inline-flex;
align-items: center;
gap: 9px;
color: #fff;
text-decoration: none;
font-size: 13px;
font-weight: 800;
transition: color .3s ease;
}

.project-overlay a:hover {
color: #b7e83f;
}

.projects-cta {
position: relative;
min-height: 570px;
display: flex;
align-items: center;
overflow: hidden;
background:
linear-gradient(
90deg,
rgba(11, 23, 16, .94),
rgba(11, 23, 16, .65)
),
url('https://images.unsplash.com/photo-1466611653911-95081537e5b7?auto=format&fit=crop&w=2200&q=90')
center / cover no-repeat;
}

.projects-cta-content {
max-width: 700px;
padding: 80px 7vw;
color: #fff;
}

.projects-cta-content > span {
display: block;
margin-bottom: 20px;
color: #b7e83f;
font-size: 12px;
font-weight: 800;
letter-spacing: 3px;
}

.projects-cta h2 {
margin: 0;
font-size: clamp(45px, 5vw, 75px);
line-height: 1;
letter-spacing: -3px;
font-weight: 500;
}

.projects-cta h2 strong {
color: #b7e83f;
}

.projects-cta p {
margin: 28px 0;
color: rgba(255,255,255,.72);
line-height: 1.8;
}

.projects-cta-btn {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 16px 24px;
border-radius: 50px;
background: #b7e83f;
color: #172119;
text-decoration: none;
font-size: 13px;
font-weight: 800;
transition: transform .3s ease, background .3s ease;
}

.projects-cta-btn:hover {
transform: translateY(-3px);
background: #fff;
}

@media (max-width: 900px) {


.projects-hero {
    min-height: 540px;
}

.projects-hero-content {
    padding: 0 6vw 65px;
}

.projects-section {
    padding: 85px 6vw;
}

.projects-grid {
    grid-template-columns: 1fr;
}

.project-card,
.project-card.project-large {
    min-height: 480px;
}

.project-card.project-wide {
    grid-column: span 1;
    min-height: 480px;
}


}

@media (max-width: 600px) {

.projects-hero {
    min-height: 500px;
}

.projects-hero-content {
    padding: 0 22px 48px;
}

.projects-hero h1 {
    font-size: 48px;
    letter-spacing: -2px;
}

.projects-hero p {
    font-size: 14px;
    line-height: 1.7;
}

.projects-section {
    padding: 70px 20px;
}

.projects-heading h2 {
    font-size: 44px;
    letter-spacing: -2px;
}

.projects-heading p {
    font-size: 14px;
}

.project-filters {
    gap: 8px;
}

.project-filter {
    padding: 11px 16px;
    font-size: 11px;
}

.project-card,
.project-card.project-large,
.project-card.project-wide {
    min-height: 420px;
}

.project-overlay {
    padding: 25px;
}

.project-overlay h3 {
    font-size: 24px;
}

.project-overlay p {
    font-size: 13px;
}

.projects-cta {
    min-height: 500px;
}

.projects-cta-content {
    padding: 60px 22px;
}

.projects-cta h2 {
    font-size: 45px;
    letter-spacing: -2px;
}


}