.work-hero {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: radial-gradient(circle at 78% 45%, rgba(35, 162, 119, .28), transparent 30%), linear-gradient(125deg, #003a4c, #005b73 65%, #064d5a);
}

.work-hero__inner {
    display: grid;
    min-height: 680px;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 3rem;
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.work-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.work-eyebrow,
header .work-eyebrow {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0 0 1.25rem;
    color: #207343;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.5;
    text-transform: uppercase;
    text-shadow: none;
}

.work-eyebrow span {
    width: 1.8rem;
    height: 2px;
    background: #e67e22;
}

.work-eyebrow--light,
header .work-eyebrow--light {
    color: #99e4bb;
}

.work-hero h1 {
    margin: 0 0 1.5rem;
    color: white;
    font-size: clamp(3rem, 5.2vw, 5.25rem);
    line-height: 1.08;
}

.work-hero h1 span {
    color: #69e5a1;
}

header .work-hero__description {
    max-width: 640px;
    margin: 0;
    color: #e0edf0;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.8;
}

.work-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.25rem;
}

.work-hero__actions a,
.work-cta a {
    gap: .75rem;
    text-decoration: none;
}

.work-hero .btn-forest:hover,
.work-cta .btn-forest:hover {
    border-color: #69e5a1;
    color: white;
}

.work-hero__visual {
    position: relative;
    width: min(100%, 440px);
    aspect-ratio: 1;
    justify-self: center;
}

.work-hero__orbit {
    position: absolute;
    inset: 5%;
    border: 1px solid rgba(164, 232, 209, .28);
    border-radius: 50%;
}

.work-hero__orbit--inner {
    inset: 20%;
    border-style: dashed;
    border-color: rgba(164, 232, 209, .45);
}

.work-hero__core {
    position: absolute;
    inset: 36%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 32%;
    background: linear-gradient(145deg, #28b16a, #08706c);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .22);
    color: white;
    font-size: 2.5rem;
}

.work-hero__tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem 1rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .8rem;
    background: #075467;
    color: white;
    font-size: .8rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

.work-hero__tag i { color: #80e6ad; }
.work-hero__tag--one { top: 16%; left: 3%; }
.work-hero__tag--two { top: 31%; right: 0; }
.work-hero__tag--three { bottom: 13%; left: 24%; }

.work-section { padding: clamp(4.5rem, 7vw, 7rem) 0; }
.work-capabilities, .work-why { background: #fff; }
.work-featured { background: #f7faf9; }
#portfolio { scroll-margin-top: 6rem; }

.work-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.75rem;
}

.work-section-heading h2 {
    margin: 0;
    color: #083f4d;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.15;
}

.work-section-heading > p {
    max-width: 420px;
    margin: 0;
    color: #53686e;
    line-height: 1.8;
}

.work-capabilities__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.work-capabilities__list li {
    display: flex;
    min-height: 5.5rem;
    align-items: center;
    gap: .85rem;
    padding: 1.15rem;
    border: 1px solid #e0ece9;
    border-radius: .9rem;
    background: #f8fbfa;
    color: #174954;
    font-size: .85rem;
    font-weight: 700;
}

.work-capabilities__list i {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .7rem;
    background: #e2f4e9;
    color: #1f8f4e;
}

.work-featured__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.work-feature {
    --project-teal: #1F6A73;
    --project-green: #3A8B4F;
    overflow: hidden;
    border: 1px solid #dfece8;
    border-radius: 1.25rem;
    background: white;
    box-shadow: 0 12px 35px rgba(20, 61, 65, .07);
}

.work-feature__content { padding: clamp(1.5rem, 3vw, 2rem); }
.work-feature__label {
    margin-bottom: .6rem;
    color: #207343;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.work-feature h3 { margin-bottom: .65rem; color: #083f4d; font-size: 1.6rem; }
.work-feature__content > p:not(.work-feature__label) { color: #53686e; line-height: 1.75; }
.work-feature__content a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: .6rem;
    margin-top: .75rem;
    color: #207343;
    font-weight: 700;
    text-decoration: none;
}
.work-feature__content a:hover { color: #005b73; text-decoration: underline; }

.project-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .85rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: #e4f4e9;
    color: #17653a;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.4;
}

.project-status::before {
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.project-status--ready {
    background: #e5f1f5;
    color: #075b70;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: .25rem 0 1rem;
    padding: 0;
    list-style: none;
}

.project-tags li {
    padding: .3rem .6rem;
    border: 1px solid #dceae6;
    border-radius: .4rem;
    background: #f7faf9;
    color: #385e62;
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.4;
}

.project-brand-image {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-items: center;
    padding: 2rem;
    background: #eef4f3;
}

.project-brand-image img {
    width: auto;
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
}

.work-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 1.5rem;
}

.work-filters button {
    min-height: 2.75rem;
    padding: .7rem 1rem;
    border: 1px solid #cbded9;
    border-radius: 999px;
    background: white;
    color: #28515a;
    font-size: .8rem;
    font-weight: 700;
    transition: background-color .2s, color .2s, border-color .2s;
}

.work-filters button:hover { border-color: #1f8f4e; color: #146b38; }
.work-filters button[aria-pressed="true"] { border-color: #005b73; background: #005b73; color: white; }
.work-filters[hidden], .work-filter-empty[hidden], .projects-grid .project-item[hidden] { display: none; }
.work-filter-status { margin: 0 0 1rem; color: #53686e; font-size: .85rem; }
.work-filter-status:empty { display: none; }
.work-filter-empty { margin: 0; padding: 2rem; border: 1px dashed #b5d3c8; border-radius: 1rem; color: #28515a; }
.work-filter-empty a { color: #146b38; font-weight: 700; text-decoration: underline; }

.work-why__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.work-why__grid article { padding: 1.5rem; border: 1px solid #e1ece9; border-radius: 1rem; }
.work-why__grid span { color: #21814a; font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.work-why__grid h3 { margin: 1.5rem 0 .75rem; color: #083f4d; font-size: 1.1rem; }
.work-why__grid p { margin: 0; color: #53686e; font-size: .88rem; line-height: 1.75; }

.work-cta { padding: 0 0 clamp(4.5rem, 7vw, 7rem); background: white; }
.work-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 1.5rem;
    background: radial-gradient(circle at 85% 20%, rgba(46, 204, 113, .2), transparent 35%), #004b5e;
}
.work-cta h2 { margin: 0 0 .75rem; color: white; font-size: clamp(2rem, 4vw, 3.5rem); }
.work-cta__inner > div > p:last-child { margin: 0; color: #d8eaec; }
.work-cta a { flex-shrink: 0; }

.work-hero a:focus-visible,
.work-feature a:focus-visible,
.work-feature button:focus-visible,
.work-filters button:focus-visible,
.work-filter-empty a:focus-visible,
.work-cta a:focus-visible {
    outline: 3px solid #e67e22;
    outline-offset: 3px;
}

@media (max-width: 1023px) {
    .work-hero__inner { min-height: 0; grid-template-columns: 1fr .65fr; gap: 1rem; }
    .work-capabilities__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .work-why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .work-hero__inner { grid-template-columns: 1fr; padding-top: 9rem; padding-bottom: 4.5rem; }
    header.work-hero h1 { font-size: clamp(2.6rem, 9vw, 3.5rem) !important; }
    .work-hero__visual { display: none; }
    .work-section-heading, .work-cta__inner { align-items: flex-start; flex-direction: column; }
    .work-featured__grid { grid-template-columns: 1fr; }
    .work-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .work-hero__actions .btn-premium { width: auto; }
    .work-cta .btn-premium { width: auto; }
}

@media (max-width: 480px) {
    .work-capabilities__list, .work-why__grid { grid-template-columns: 1fr; }
    .work-hero__actions { flex-direction: column; align-items: stretch; }
    .work-hero__actions .btn-premium, .work-cta .btn-premium { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .work-filters button { transition: none; }
}
