/* =========================================================
   MINEFLOW PROJECTS PAGE
   Dedicated CSS
   Scoped to project-page components
========================================================= */


/* =========================================================
   ROOT
========================================================= */

.mf-projects-page {
    --mf-project-navy: #061d22;
    --mf-project-deep: #041519;
    --mf-project-teal: #0b3437;
    --mf-project-green: #35d04b;
    --mf-project-cyan: #08b9d8;
    --mf-project-white: #f4f7f5;
    --mf-project-muted: #8b9a9d;
    --mf-project-border: rgba(255, 255, 255, 0.12);

    position: relative;
    overflow: hidden;
    background: var(--mf-project-navy);
    color: var(--mf-project-white);
}


/* =========================================================
   GLOBAL PROJECT CONTAINER
========================================================= */

.mf-projects-page .container-1680 {
    width: min(1680px, calc(100% - 120px));
    margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.mf-projects-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 40%,
            rgba(8, 185, 216, 0.13),
            transparent 30%),
        linear-gradient(135deg,
            #041519 0%,
            #061f24 55%,
            #062b2b 100%);
}


.mf-projects-hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px);

    background-size: 90px 90px;

    opacity: .45;

    pointer-events: none;
}


.mf-projects-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}


.mf-projects-orb-one {
    width: 480px;
    height: 480px;

    right: -160px;
    top: 15%;

    background:
        radial-gradient(circle,
            rgba(53, 208, 75, .16),
            transparent 68%);

    animation: mfProjectOrbFloat 9s ease-in-out infinite;
}


.mf-projects-orb-two {
    width: 320px;
    height: 320px;

    left: -120px;
    bottom: -80px;

    background:
        radial-gradient(circle,
            rgba(8, 185, 216, .13),
            transparent 70%);

    animation: mfProjectOrbFloat 12s ease-in-out infinite reverse;
}


@keyframes mfProjectOrbFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -30px, 0);
    }
}


/* =========================================================
   HERO TOP
========================================================= */

.mf-projects-hero-top {
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-inline: 60px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, .58);
}


.mf-projects-hero-index {
    display: flex;
    align-items: center;
    gap: 14px;
}


.mf-projects-hero-index span {
    color: var(--mf-project-green);
}


.mf-projects-hero-location {
    color: rgba(255, 255, 255, .45);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.mf-projects-hero-content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;

    gap: 90px;

    padding-top: 120px;
}


.mf-projects-hero-copy {
    max-width: 720px;
}


.mf-projects-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 25px;

    color: var(--mf-project-green);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .25em;
    text-transform: uppercase;
}


.mf-projects-hero-kicker::before {
    content: "";

    width: 42px;
    height: 2px;

    background:
        linear-gradient(90deg,
            var(--mf-project-green),
            var(--mf-project-cyan));
}


.mf-projects-hero-copy h1 {
    margin: 0;

    font-size: clamp(70px, 7.2vw, 140px);
    line-height: .84;
    letter-spacing: -.075em;
    font-weight: 800;
}


.mf-projects-hero-copy h1 span {
    display: block;

    color: var(--mf-project-green);

    background:
        linear-gradient(100deg,
            #35d04b,
            #08b9d8);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.mf-projects-hero-copy p {
    max-width: 590px;

    margin: 42px 0 34px;

    color: rgba(255, 255, 255, .65);

    font-size: 18px;
    line-height: 1.75;
}


.mf-projects-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;

    padding: 18px 25px;

    border-radius: 100px;

    background:
        linear-gradient(100deg,
            var(--mf-project-green),
            var(--mf-project-cyan));

    color: #031619;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


.mf-projects-hero-button i {
    transition: transform .4s ease;
}


.mf-projects-hero-button:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 50px rgba(8, 185, 216, .18);
}


.mf-projects-hero-button:hover i {
    transform: translateY(4px);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.mf-projects-hero-visual {
    position: relative;

    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.mf-projects-hero-image {
    position: relative;

    width: min(760px, 100%);
    height: 600px;

    overflow: hidden;

    border-radius: 4px;

    transform:
        perspective(1200px) rotateY(-4deg);

    box-shadow:
        0 40px 100px rgba(0, 0, 0, .35);

    transition:
        transform 1s cubic-bezier(.2, .8, .2, 1);
}


.mf-projects-hero-visual:hover .mf-projects-hero-image {
    transform:
        perspective(1200px) rotateY(0deg) translateY(-8px);
}


.mf-projects-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transform: scale(1.06);

    transition:
        transform 1.2s cubic-bezier(.2, .8, .2, 1);
}


.mf-projects-hero-visual:hover .mf-projects-hero-image img {
    transform: scale(1.01);
}


.mf-projects-hero-image-shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, .05),
            rgba(0, 0, 0, .55));
}


.mf-projects-hero-label {
    position: absolute;

    right: -22px;
    bottom: 40px;

    z-index: 3;

    padding: 22px 28px;

    background: rgba(3, 22, 26, .9);

    border: 1px solid rgba(255, 255, 255, .12);

    backdrop-filter: blur(14px);

    display: flex;
    flex-direction: column;
    gap: 6px;
}


.mf-projects-hero-label span {
    color: var(--mf-project-green);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .25em;
}


.mf-projects-hero-label strong {
    font-size: 15px;
    letter-spacing: .12em;
}


.mf-projects-hero-number {
    position: absolute;

    top: 20px;
    right: 20px;

    z-index: 3;

    width: 62px;
    height: 62px;

    border: 1px solid rgba(255, 255, 255, .3);

    border-radius: 50%;

    display: grid;
    place-items: center;

    color: var(--mf-project-green);

    font-size: 13px;
    font-weight: 800;
}


.mf-projects-hero-bottom {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 35px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;

    color: rgba(255, 255, 255, .4);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
}


.mf-projects-hero-bottom div {
    width: 40px;
    height: 1px;

    background: rgba(255, 255, 255, .2);
}


/* =========================================================
   INTRO
========================================================= */

.mf-projects-intro {
    padding: 150px 0;

    background: #f3f5f1;
    color: #09151a;
}


.mf-projects-intro-layout {
    display: grid;

    grid-template-columns: 100px 1.2fr .8fr;

    gap: 70px;

    align-items: start;
}


.mf-projects-intro-number {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(6, 29, 34, .2);

    border-radius: 50%;

    font-size: 12px;
    font-weight: 800;

    color: #0b594b;
}


.mf-projects-intro-heading>span {
    display: block;

    margin-bottom: 24px;

    color: #0b594b;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .25em;
}


.mf-projects-intro-heading h2 {
    margin: 0;

    max-width: 800px;

    font-size: clamp(55px, 6vw, 105px);

    line-height: .92;

    letter-spacing: -.07em;
}


.mf-projects-intro-heading h2 em {
    color: #0b594b;
    font-style: normal;
}


.mf-projects-intro-copy {
    padding-top: 50px;
}


.mf-projects-intro-copy p {
    margin: 0 0 22px;

    color: #607075;

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   FILTER
========================================================= */

.mf-project-filter-section {
    padding: 90px 0 45px;

    background: #f3f5f1;
    color: #09151a;
}


.mf-project-filter-top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 30px;

    padding-bottom: 22px;

    border-bottom: 1px solid rgba(6, 29, 34, .15);
}


.mf-project-filter-top>span {
    color: #607075;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
}


.mf-project-filter-count {
    display: flex;
    gap: 10px;
    align-items: baseline;
}


.mf-project-filter-count strong {
    font-size: 13px;
}


.mf-project-filter-count small {
    color: #718083;

    font-size: 10px;
    letter-spacing: .15em;
}


.mf-project-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


.mf-project-filter {
    border: 1px solid rgba(6, 29, 34, .18);

    background: transparent;

    padding: 13px 21px;

    border-radius: 100px;

    color: #15272b;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        transform .3s ease;
}


.mf-project-filter:hover {
    transform: translateY(-2px);

    border-color: #0b594b;
}


.mf-project-filter.active {
    background: #0b594b;

    border-color: #0b594b;

    color: #fff;
}


/* =========================================================
   FEATURED PROJECT
========================================================= */

.mf-featured-project {
    padding: 45px 0 120px;

    background: #f3f5f1;
    color: #09151a;
}


.mf-featured-project-card {
    position: relative;

    display: grid;

    grid-template-columns: 1.45fr .55fr;

    min-height: 680px;

    overflow: hidden;

    background: #061d22;
    color: #fff;
}


.mf-featured-project-image {
    position: relative;

    min-height: 680px;

    overflow: hidden;
}


.mf-featured-project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 1.1s cubic-bezier(.2, .8, .2, 1);
}


.mf-featured-project-card:hover .mf-featured-project-image img {
    transform: scale(1.05);
}


.mf-featured-project-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(3, 18, 21, .05),
            rgba(3, 18, 21, .45));
}


.mf-featured-project-tag {
    position: absolute;

    left: 30px;
    top: 30px;

    padding: 10px 14px;

    background: rgba(3, 22, 26, .8);

    border: 1px solid rgba(255, 255, 255, .2);

    backdrop-filter: blur(10px);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
}


.mf-featured-project-number {
    position: absolute;

    right: 30px;
    top: 30px;

    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .3);

    border-radius: 50%;

    color: var(--mf-project-green);

    font-size: 12px;
    font-weight: 800;
}


.mf-featured-project-info {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 60px;
}


.mf-featured-project-meta {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 50px;

    color: rgba(255, 255, 255, .5);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
}


.mf-featured-project-info h2 {
    margin: 0;

    font-size: clamp(42px, 4vw, 70px);

    line-height: .98;

    letter-spacing: -.055em;
}


.mf-featured-project-info h2 span {
    display: block;

    color: var(--mf-project-green);
}


.mf-featured-project-info p {
    max-width: 420px;

    margin: 35px 0 55px;

    color: rgba(255, 255, 255, .58);

    line-height: 1.75;

    font-size: 15px;
}


.mf-featured-project-footer {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


.mf-featured-project-footer span {
    padding: 9px 12px;

    border: 1px solid rgba(255, 255, 255, .12);

    color: rgba(255, 255, 255, .55);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;
}


/* =========================================================
   PROJECT GRID
========================================================= */

.mf-project-grid-section {
    padding: 120px 0 150px;

    background: #f3f5f1;
    color: #09151a;
}


.mf-project-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 90px 35px;
}


.mf-project-card {
    position: relative;
}


.mf-project-card-large {
    grid-column: span 2;
}


.mf-project-card-wide {
    grid-column: span 2;
}


.mf-project-card-image {
    position: relative;

    height: 530px;

    overflow: hidden;

    background: #dce2df;
}


.mf-project-card-large .mf-project-card-image {
    height: 700px;
}


.mf-project-card-wide .mf-project-card-image {
    height: 620px;
}


.mf-project-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(.2, .8, .2, 1),
        filter .6s ease;
}


.mf-project-card:hover .mf-project-card-image img {
    transform: scale(1.07);

    filter: saturate(1.08);
}


.mf-project-card-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(180deg,
            transparent 45%,
            rgba(0, 0, 0, .58));

    opacity: .75;

    transition: opacity .5s ease;
}


.mf-project-card:hover .mf-project-card-overlay {
    opacity: 1;
}


.mf-project-card-index {
    position: absolute;

    left: 25px;
    top: 25px;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .5);

    color: #fff;

    font-size: 11px;
    font-weight: 800;
}


.mf-project-card-arrow {
    position: absolute;

    right: 25px;
    top: 25px;

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff;

    color: #061d22;

    font-size: 20px;

    transform: scale(.75);
    opacity: 0;

    transition:
        transform .45s ease,
        opacity .45s ease;
}


.mf-project-card:hover .mf-project-card-arrow {
    transform: scale(1);
    opacity: 1;
}


.mf-project-card-info {
    padding: 24px 5px 0;
}


.mf-project-card-info>span {
    color: #0b7764;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
}


.mf-project-card-info h3 {
    margin: 12px 0 10px;

    font-size: clamp(30px, 3vw, 48px);

    line-height: .98;

    letter-spacing: -.045em;
}


.mf-project-card-info h3 strong {
    color: #0b594b;
}


.mf-project-card-info p {
    max-width: 550px;

    margin: 0;

    color: #68777a;

    line-height: 1.7;

    font-size: 14px;
}


/* =========================================================
   VIDEO SECTION
========================================================= */

.mf-project-video-section {
    position: relative;

    padding: 150px 0;

    overflow: hidden;

    background: #04181c;
}


.mf-project-video-background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 30%,
            rgba(53, 208, 75, .1),
            transparent 25%),
        radial-gradient(circle at 80% 70%,
            rgba(8, 185, 216, .1),
            transparent 25%);
}


.mf-project-video-heading {
    position: relative;
    z-index: 2;

    max-width: 800px;

    margin-bottom: 70px;
}


.mf-project-video-label {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 25px;

    color: rgba(255, 255, 255, .5);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .25em;
}


.mf-project-video-label span {
    color: var(--mf-project-green);
}


.mf-project-video-heading h2 {
    margin: 0;

    font-size: clamp(60px, 7vw, 110px);

    line-height: .9;

    letter-spacing: -.07em;
}


.mf-project-video-heading h2 span {
    display: block;

    color: var(--mf-project-green);
}


.mf-project-video-heading p {
    max-width: 600px;

    margin-top: 30px;

    color: rgba(255, 255, 255, .55);

    line-height: 1.8;
}


.mf-project-video-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.mf-project-video-card {
    min-width: 0;
}


.mf-project-video-frame {
    position: relative;

    height: 430px;

    overflow: hidden;

    background: #0a292d;
}


.mf-project-video-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 1s ease,
        filter .6s ease;
}


.mf-project-video-card:hover .mf-project-video-frame img {
    transform: scale(1.06);

    filter: brightness(.65);
}


.mf-project-video-play {
    position: absolute;

    inset: 50% auto auto 50%;

    transform:
        translate(-50%, -50%) scale(.85);

    width: 82px;
    height: 82px;

    border: 1px solid rgba(255, 255, 255, .45);

    border-radius: 50%;

    background: rgba(3, 22, 26, .65);

    backdrop-filter: blur(10px);

    color: #fff;

    cursor: pointer;

    opacity: .8;

    transition:
        transform .45s ease,
        background .45s ease,
        opacity .45s ease;
}


.mf-project-video-play span {
    display: grid;
    place-items: center;

    width: 100%;
    height: 100%;
}


.mf-project-video-play i {
    margin-left: 3px;

    font-size: 17px;
}


.mf-project-video-card:hover .mf-project-video-play {
    transform:
        translate(-50%, -50%) scale(1);

    opacity: 1;

    background:
        linear-gradient(135deg,
            var(--mf-project-green),
            var(--mf-project-cyan));

    color: #041519;

    border-color: transparent;
}


.mf-project-video-duration {
    position: absolute;

    right: 18px;
    bottom: 18px;

    padding: 8px 12px;

    background: rgba(3, 22, 26, .8);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}


.mf-project-video-info {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    padding-top: 20px;
}


.mf-project-video-info span:first-child {
    color: var(--mf-project-green);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
}


.mf-project-video-info h3 {
    margin: 8px 0 0;

    color: #fff;

    font-size: 25px;

    line-height: 1.05;
}


.mf-project-video-arrow {
    width: 45px;
    height: 45px;

    border: 1px solid rgba(255, 255, 255, .2);

    border-radius: 50%;

    display: grid;
    place-items: center;

    color: #fff;

    font-size: 17px;

    transition:
        background .3s ease,
        color .3s ease;
}


.mf-project-video-card:hover .mf-project-video-arrow {
    background: var(--mf-project-green);

    color: #041519;
}


/* =========================================================
   PROJECT STORY
========================================================= */

.mf-project-story {
    padding: 150px 0;

    background: #f3f5f1;

    color: #09151a;
}


.mf-project-story-layout {
    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 90px;

    align-items: center;
}


.mf-project-story-image {
    position: relative;

    height: 720px;

    overflow: hidden;
}


.mf-project-story-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 1s ease;
}


.mf-project-story-image:hover img {
    transform: scale(1.04);
}


.mf-project-story-image-number {
    position: absolute;

    left: 25px;
    top: 25px;

    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff;

    font-size: 11px;
    font-weight: 800;
}


.mf-project-story-content {
    max-width: 620px;
}


.mf-project-story-label {
    color: #0b7764;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .25em;
}


.mf-project-story-content h2 {
    margin: 25px 0 30px;

    font-size: clamp(48px, 5vw, 82px);

    line-height: .94;

    letter-spacing: -.065em;
}


.mf-project-story-content h2 span {
    color: #0b7764;
}


.mf-project-story-content p {
    color: #68777a;

    font-size: 16px;

    line-height: 1.8;
}


.mf-project-story-stats {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    margin-top: 55px;

    padding-top: 25px;

    border-top: 1px solid rgba(6, 29, 34, .16);
}


.mf-project-story-stats div {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.mf-project-story-stats strong {
    color: #0b594b;

    font-size: 24px;
}


.mf-project-story-stats span {
    color: #7a898c;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}


/* =========================================================
   FINAL CTA
========================================================= */

.mf-projects-cta {
    position: relative;

    padding: 170px 0;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            #061d22,
            #073337);
}


.mf-projects-cta-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px);

    background-size: 80px 80px;
}


.mf-projects-cta-glow {
    position: absolute;

    width: 600px;
    height: 600px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(53, 208, 75, .15),
            transparent 70%);

    filter: blur(10px);
}


.mf-projects-cta-inner {
    position: relative;
    z-index: 2;

    text-align: center;

    max-width: 1050px;

    margin: auto;
}


.mf-projects-cta-label {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;

    margin-bottom: 30px;

    color: rgba(255, 255, 255, .45);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .25em;
}


.mf-projects-cta-label strong {
    color: var(--mf-project-green);
}


.mf-projects-cta-inner h2 {
    margin: 0;

    font-size: clamp(65px, 8vw, 135px);

    line-height: .85;

    letter-spacing: -.075em;
}


.mf-projects-cta-inner h2 span {
    display: block;

    color: var(--mf-project-green);
}


.mf-projects-cta-inner>p {
    max-width: 650px;

    margin: 40px auto;

    color: rgba(255, 255, 255, .55);

    line-height: 1.8;

    font-size: 17px;
}


.mf-projects-cta-actions {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


.mf-projects-cta-primary,
.mf-projects-cta-secondary {
    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding: 17px 25px;

    border-radius: 100px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}


.mf-projects-cta-primary {
    background:
        linear-gradient(100deg,
            var(--mf-project-green),
            var(--mf-project-cyan));

    color: #031619;
}


.mf-projects-cta-secondary {
    border: 1px solid rgba(255, 255, 255, .2);

    color: #fff;
}


.mf-projects-cta-primary:hover,
.mf-projects-cta-secondary:hover {
    transform: translateY(-4px);
}


.mf-projects-cta-primary:hover {
    box-shadow:
        0 20px 50px rgba(53, 208, 75, .18);
}


.mf-projects-cta-secondary:hover {
    background: rgba(255, 255, 255, .08);
}


/* =========================================================
   VIDEO MODAL
========================================================= */

.mf-project-video-modal {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


.mf-project-video-modal.active {
    visibility: visible;
    opacity: 1;
}


.mf-project-video-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 8, 11, .9);

    backdrop-filter: blur(10px);
}


.mf-project-video-modal-content {
    position: relative;
    z-index: 2;

    width: min(1200px, 100%);

    transform:
        translateY(30px) scale(.96);

    transition:
        transform .45s cubic-bezier(.2, .8, .2, 1);
}


.mf-project-video-modal.active .mf-project-video-modal-content {
    transform:
        translateY(0) scale(1);
}


.mf-project-video-modal-frame {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: #000;

    box-shadow:
        0 40px 100px rgba(0, 0, 0, .5);
}


.mf-project-video-modal-frame iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}


.mf-project-video-modal-close {
    position: absolute;

    right: 0;
    top: -65px;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .25);

    background: rgba(3, 22, 26, .8);

    color: #fff;

    font-size: 27px;

    cursor: pointer;

    transition:
        background .3s ease,
        transform .3s ease;
}


.mf-project-video-modal-close:hover {
    background: var(--mf-project-green);

    color: #041519;

    transform: rotate(90deg);
}


/* =========================================================
   FILTER ANIMATION
========================================================= */

.mf-project-card.mf-project-hidden {
    display: none;
}


.mf-project-card.mf-project-filter-show {
    animation:
        mfProjectCardIn .55s cubic-bezier(.2, .8, .2, 1) both;
}


@keyframes mfProjectCardIn {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.mf-project-reveal {
    opacity: 0;

    transform: translateY(45px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.2, .8, .2, 1);
}


.mf-project-reveal.mf-project-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   CUSTOM POINTER GLOW
========================================================= */

.mf-projects-page::after {
    content: "";

    position: fixed;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(circle,
            rgba(53, 208, 75, .07),
            transparent 70%);

    transform:
        translate(-50%, -50%);

    left: var(--mf-project-mouse-x, -300px);
    top: var(--mf-project-mouse-y, -300px);

    z-index: 1;
}


/* =========================================================
   RESPONSIVE — 1400
========================================================= */

@media (max-width: 1400px) {

    .mf-projects-page .container-1680 {
        width: min(1680px, calc(100% - 80px));
    }

    .mf-projects-hero-content {
        gap: 50px;
    }

    .mf-projects-hero-image {
        height: 520px;
    }

    .mf-projects-hero-visual {
        min-height: 520px;
    }

    .mf-featured-project-info {
        padding: 45px;
    }

}


/* =========================================================
   RESPONSIVE — 1100
========================================================= */

@media (max-width: 1100px) {

    .mf-projects-page .container-1680 {
        width: calc(100% - 50px);
    }

    .mf-projects-hero-content {
        grid-template-columns: 1fr;

        padding-top: 160px;
    }

    .mf-projects-hero-copy {
        max-width: 900px;
    }

    .mf-projects-hero-visual {
        min-height: 500px;
    }

    .mf-projects-hero-image {
        width: 100%;
        height: 500px;
    }

    .mf-projects-hero-bottom {
        display: none;
    }

    .mf-projects-intro-layout {
        grid-template-columns: 70px 1fr;
    }

    .mf-projects-intro-copy {
        grid-column: 2;
        padding-top: 0;
    }

    .mf-featured-project-card {
        grid-template-columns: 1fr;
    }

    .mf-featured-project-image {
        min-height: 550px;
    }

    .mf-featured-project-info {
        padding: 55px;
    }

    .mf-project-video-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mf-project-video-card:last-child {
        grid-column: span 2;
        max-width: calc(50% - 12px);
    }

    .mf-project-story-layout {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .mf-project-story-content {
        max-width: 800px;
    }

}


/* =========================================================
   RESPONSIVE — 768
========================================================= */

@media (max-width: 768px) {

    .mf-projects-page .container-1680 {
        width: calc(100% - 32px);
    }


    /* HERO */

    .mf-projects-hero {
        min-height: auto;

        padding-bottom: 70px;
    }

    .mf-projects-hero-top {
        position: relative;

        top: auto;

        padding: 30px 0 0;
    }

    .mf-projects-hero-location {
        display: none;
    }

    .mf-projects-hero-content {
        padding-top: 70px;

        gap: 55px;
    }

    .mf-projects-hero-copy h1 {
        font-size: clamp(58px, 15vw, 95px);
    }

    .mf-projects-hero-copy p {
        font-size: 15px;

        margin-top: 30px;
    }

    .mf-projects-hero-image {
        height: 420px;

        transform: none;
    }

    .mf-projects-hero-visual {
        min-height: 420px;
    }

    .mf-projects-hero-label {
        right: 15px;
        bottom: 20px;
    }


    /* INTRO */

    .mf-projects-intro {
        padding: 90px 0;
    }

    .mf-projects-intro-layout {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .mf-projects-intro-copy {
        grid-column: auto;
    }

    .mf-projects-intro-heading h2 {
        font-size: clamp(48px, 13vw, 75px);
    }


    /* FILTER */

    .mf-project-filter-section {
        padding: 60px 0 30px;
    }

    .mf-project-filter-top {
        align-items: flex-start;
        gap: 20px;
    }

    .mf-project-filters {
        overflow-x: auto;
        flex-wrap: nowrap;

        padding-bottom: 10px;

        scrollbar-width: none;
    }

    .mf-project-filters::-webkit-scrollbar {
        display: none;
    }

    .mf-project-filter {
        flex: 0 0 auto;
    }


    /* FEATURED */

    .mf-featured-project {
        padding: 30px 0 80px;
    }

    .mf-featured-project-image {
        min-height: 400px;
    }

    .mf-featured-project-info {
        padding: 35px 25px;
    }

    .mf-featured-project-info h2 {
        font-size: 45px;
    }

    .mf-featured-project-meta {
        margin-bottom: 30px;
    }


    /* PROJECT GRID */

    .mf-project-grid-section {
        padding: 80px 0 100px;
    }

    .mf-project-grid {
        grid-template-columns: 1fr;

        gap: 65px 0;
    }

    .mf-project-card-large,
    .mf-project-card-wide {
        grid-column: auto;
    }

    .mf-project-card-image,
    .mf-project-card-large .mf-project-card-image,
    .mf-project-card-wide .mf-project-card-image {
        height: 430px;
    }

    .mf-project-card-info h3 {
        font-size: 35px;
    }


    /* VIDEO */

    .mf-project-video-section {
        padding: 90px 0;
    }

    .mf-project-video-heading h2 {
        font-size: 60px;
    }

    .mf-project-video-grid {
        grid-template-columns: 1fr;
    }

    .mf-project-video-card:last-child {
        grid-column: auto;

        max-width: none;
    }

    .mf-project-video-frame {
        height: 390px;
    }


    /* STORY */

    .mf-project-story {
        padding: 90px 0;
    }

    .mf-project-story-image {
        height: 480px;
    }

    .mf-project-story-content h2 {
        font-size: 52px;
    }

    .mf-project-story-stats {
        grid-template-columns: repeat(2, 1fr);

        row-gap: 30px;
    }


    /* CTA */

    .mf-projects-cta {
        padding: 100px 0;
    }

    .mf-projects-cta-inner h2 {
        font-size: 65px;
    }

    .mf-projects-cta-inner>p {
        font-size: 15px;
    }


    /* MODAL */

    .mf-project-video-modal {
        padding: 15px;
    }

    .mf-project-video-modal-close {
        top: -58px;
    }

}


/* =========================================================
   RESPONSIVE — 480
========================================================= */

@media (max-width: 480px) {

    .mf-projects-hero-copy h1 {
        font-size: 57px;
    }

    .mf-projects-hero-image {
        height: 330px;
    }

    .mf-projects-hero-visual {
        min-height: 330px;
    }

    .mf-projects-hero-number {
        width: 45px;
        height: 45px;
    }

    .mf-projects-hero-label {
        padding: 15px 18px;
    }

    .mf-featured-project-image {
        min-height: 300px;
    }

    .mf-featured-project-info h2 {
        font-size: 39px;
    }

    .mf-project-card-image,
    .mf-project-card-large .mf-project-card-image,
    .mf-project-card-wide .mf-project-card-image {
        height: 330px;
    }

    .mf-project-video-frame {
        height: 320px;
    }

    .mf-project-video-heading h2 {
        font-size: 50px;
    }

    .mf-project-story-image {
        height: 360px;
    }

    .mf-project-story-content h2 {
        font-size: 43px;
    }

    .mf-projects-cta-inner h2 {
        font-size: 52px;
    }

    .mf-projects-cta-actions {
        flex-direction: column;
    }

    .mf-projects-cta-primary,
    .mf-projects-cta-secondary {
        width: 100%;

        justify-content: center;
    }

}