.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-container {
    width: min(100% - 32px, 1280px);
    margin-inline: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-page {
    background: transparent;
    color: var(--forest2);
}

.section-eyebrow {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--leaf);
}

.section-eyebrow--light {
    color: #bbf7d0;
}

.section-title {
    margin: 12px 0 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.045em;
    color: var(--forest2);
}

.section-description {
    max-width: 768px;
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #3f3f46;
}

.section-header {
    margin-bottom: 48px;
}

.section-header--split {
    display: grid;
    gap: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.button:hover {
    transform: translateY(-4px);
}

.button--primary {
    background: var(--forest);
    color: #fff;
    box-shadow: var(--shadow-card);
}

.button--secondary {
    border: 1px solid rgba(11, 51, 38, .10);
    background: rgba(255, 255, 255, .70);
    color: var(--forest2);
    box-shadow: 0 1px 8px rgba(16, 32, 24, .05);
    backdrop-filter: blur(14px);
}

.button--light {
    margin-top: 32px;
    background: #fff;
    color: var(--forest2);
}

.button--light:hover {
    background: #d1fae5;
}


/* Hero */

.portfolio-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
}

.portfolio-hero__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(64px);
    pointer-events: none;
}

.portfolio-hero__glow--right {
    top: -160px;
    right: 0;
    width: 512px;
    height: 512px;
    background: rgba(47, 125, 75, .20);
}

.portfolio-hero__glow--left {
    left: 0;
    bottom: 0;
    width: 320px;
    height: 320px;
    background: rgba(167, 243, 208, .30);
}

.portfolio-hero__layout {
    position: relative;
    display: grid;
    gap: 48px;
}

.portfolio-hero__title {
    max-width: 1024px;
    margin: 16px 0 0;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.05em;
    color: var(--forest2);
}

.portfolio-hero__text {
    max-width: 768px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.8;
    color: #3f3f46;
}

.portfolio-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.portfolio-preview {
    position: relative;
}

.portfolio-browser-card {
    padding: 24px;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 40px;
    background: rgba(255, 255, 255, .65);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
}

.portfolio-browser-card__dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.portfolio-browser-card__dots span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.portfolio-browser-card__dots span:nth-child(1) {
    background: #fca5a5;
}

.portfolio-browser-card__dots span:nth-child(2) {
    background: #fde68a;
}

.portfolio-browser-card__dots span:nth-child(3) {
    background: #86efac;
}

.portfolio-browser-card__mockup {
    display: grid;
    gap: 16px;
}

.mockup-line {
    height: 40px;
    border-radius: 999px;
    background: #d1fae5;
}

.mockup-line--large {
    width: 75%;
}

.mockup-grid {
    display: grid;
    gap: 16px;
}

.mockup-grid--two {
    grid-template-columns: repeat(2, 1fr);
}

.mockup-grid--two div {
    min-height: 160px;
    border-radius: 24px;
}

.mockup-grid--two div:nth-child(1) {
    background: #ecfdf5;
}

.mockup-grid--two div:nth-child(2) {
    background: var(--cream);
}

.mockup-grid--three {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mockup-grid--three div {
    min-height: 80px;
    border-radius: 24px;
}

.mockup-grid--three div:nth-child(1) {
    background: #d1fae5;
}

.mockup-grid--three div:nth-child(2) {
    background: #fff;
}

.mockup-grid--three div:nth-child(3) {
    background: #ecfdf5;
}

.portfolio-mini-stat {
    position: absolute;
    right: -12px;
    bottom: -24px;
    margin: 0;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .80);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
}

.portfolio-mini-stat dt {
    font-size: 28px;
    font-weight: 900;
    color: var(--forest2);
}

.portfolio-mini-stat dd {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #52525b;
}


/* Stats */

.portfolio-stats {
    padding-bottom: 80px;
}

.portfolio-stats__grid {
    display: grid;
    gap: 16px;
}

.portfolio-stat-card {
    padding: 28px;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 32px;
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 1px 8px rgba(16, 32, 24, .05);
    backdrop-filter: blur(14px);
}

.portfolio-stat-card strong {
    display: block;
    font-size: 40px;
    font-weight: 900;
    color: var(--forest2);
}

.portfolio-stat-card p {
    margin: 8px 0 0;
    font-weight: 800;
    color: #52525b;
}


/* Projects */

.portfolio-projects {
    padding: 80px 0;
}

.project-list {
    display: grid;
    gap: 28px;
}

.project-card {
    overflow: hidden;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 32px;
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 1px 8px rgba(16, 32, 24, .05);
    backdrop-filter: blur(14px);
    transition: transform .3s ease, box-shadow .3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.project-card__media {
    position: relative;
    min-height: 260px;
    margin: 0;
    overflow: hidden;
    background: #ecfdf5;
}

.project-card__media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform .7s ease;
}

.project-card:hover .project-card__media img {
    transform: scale(1.05);
}

.project-card__category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    color: var(--leaf);
    font-size: 14px;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.project-card__body {
    padding: 28px;
}

.project-card__title {
    margin: 0;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 900;
    color: var(--forest2);
}

.project-card__intro,
.project-card__description {
    margin: 16px 0 0;
    line-height: 1.75;
    color: #52525b;
}

.project-card__meta {
    margin-top: 24px;
}

.project-services,
.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.project-services li {
    padding: 8px 16px;
    border-radius: 999px;
    background: #d1fae5;
    color: var(--leaf);
    font-size: 14px;
    font-weight: 800;
}

.project-technologies li {
    padding: 4px 12px;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 999px;
    background: #fff;
    color: #52525b;
    font-size: 12px;
    font-weight: 900;
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    color: var(--leaf);
    font-weight: 900;
    text-decoration: none;
    transition: gap .25s ease;
}

.project-card:hover .project-card__link {
    gap: 12px;
}


/* Approach */

.portfolio-approach {
    padding: 96px 0;
    background: rgba(255, 255, 255, .70);
}

.approach-grid {
    display: grid;
    gap: 24px;
}

.approach-card {
    padding: 28px;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 32px;
    background: rgba(248, 244, 232, .70);
    box-shadow: 0 1px 8px rgba(16, 32, 24, .05);
    transition: transform .3s ease, box-shadow .3s ease;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.approach-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: #fff;
    font-size: 24px;
}

.approach-card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    color: var(--forest2);
}

.approach-card p {
    margin: 12px 0 0;
    line-height: 1.75;
    color: #52525b;
}


/* CTA */

.portfolio-cta {
    padding: 96px 0;
}

.portfolio-cta__box {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 40px;
    background: var(--forest);
    color: #fff;
    box-shadow: var(--shadow-card);
}

.portfolio-cta__glow {
    position: absolute;
    top: -96px;
    right: -96px;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(47, 125, 75, .25);
    filter: blur(64px);
}

.portfolio-cta__content {
    position: relative;
    max-width: 768px;
}

.portfolio-cta h2 {
    margin: 16px 0 0;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.05em;
}

.portfolio-cta p:not(.section-eyebrow) {
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .72);
}


/* Responsive */

@media (min-width: 768px) {
    .portfolio-stats__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-cta__box {
        padding: 64px;
    }
}

@media (min-width: 1024px) {
    .portfolio-hero__layout {
        grid-template-columns: 1fr .9fr;
        align-items: center;
    }

    .section-header--split {
        grid-template-columns: .8fr 1.2fr;
        align-items: end;
    }

    .project-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .portfolio-hero {
        padding: 80px 0;
    }

    .portfolio-hero__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .portfolio-mini-stat {
        right: 12px;
        bottom: -28px;
    }

    .portfolio-browser-card {
        border-radius: 28px;
    }

    .project-card__body,
    .approach-card,
    .portfolio-stat-card {
        padding: 22px;
    }

    .portfolio-cta__box {
        padding: 28px;
        border-radius: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .button,
    .project-card,
    .project-card__media img,
    .approach-card {
        transition: none !important;
    }
}