:root  {
    --if-blue: #05a2de;
    --if-blue-dark: #0279ae;
    --if-orange: #c1622b;
    --if-ink: #101820;
    --if-muted: #57636c;
    --if-light: #eef1ef;
    --if-line: #dce4e7;
    --if-white: #fff;
    color: var(--if-ink);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
}

section {
    margin-left: -24px;
    margin-right: -24px;
}
.if-reference *,
.if-reference *::before,
.if-reference *::after {
    box-sizing: border-box;
}

.if-reference [hidden] {
    display: none !important;
}

.if-ref-container {
    width: min(1260px, calc(100% - 40px));
    margin-inline: auto;
}

.if-ref-eyebrow {
    margin: 0 0 14px;
    color: var(--if-blue-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.if-ref-hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 82px;
    color: var(--if-white);
    background: var(--if-ink);
}

.if-ref-hero::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 162, 222, .13) 1px, transparent 1px),
        linear-gradient(rgba(5, 162, 222, .13) 1px, transparent 1px);
    background-size: 54px 54px;
    content: '';
    mask-image: linear-gradient(to right, #000, transparent 72%);
}

.if-ref-hero::after {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 470px;
    height: 470px;
    border: 92px solid rgba(5, 162, 222, .14);
    border-radius: 50%;
    content: '';
}

.if-ref-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 100px;
    align-items: end;
}

.if-ref-breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 34px;
    color: #fff;
    font-size: 13px;
}

.if-ref-breadcrumb a {
    color: #a9bac3;
    text-decoration: none;
}

.if-ref-hero .if-ref-eyebrow {
    color: #46c8f5;
}

.if-ref-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: clamp(44px, 6vw, 74px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.if-ref-hero h1 em {
    color: #49c4f1;
    font-style: normal;
}

.if-ref-lead {
    max-width: 760px;
    margin: 27px 0 0;
    color: #c7d1d6;
    font-size: 18px;
    line-height: 1.75;
}

.if-ref-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.if-ref-stat {
    padding: 24px 0;
}

.if-ref-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.if-ref-stat:nth-child(even) {
    padding-left: 28px;
}

.if-ref-stat strong {
    display: block;
    color: #fff;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: 35px;
    line-height: 1;
}

.if-ref-stat span,
.if-ref-stats__wide span {
    display: block;
    margin-top: 8px;
    color: #91a7b2;
    font-size: 13px;
}

.if-ref-stats__wide {
    grid-column: 1 / -1;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 14px;
}

.if-ref-featured,
.if-ref-all {
    padding: 86px 0;
}

.if-ref-featured {
    background: var(--if-light);
}

.if-ref-section-head {
    display: flex;
    gap: 30px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.if-ref-section-head h2,
.if-ref-cta h2 {
    margin: 0;
    color: var(--if-ink);
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: clamp(31px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.if-ref-section-head > p {
    max-width: 510px;
    margin: 0;
    color: var(--if-muted);
}

.if-ref-featured__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.if-ref-project {
    position: relative;
    min-height: 310px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid #e1e7e8;
    border-radius: 18px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.if-ref-project:hover {
    border-color: transparent;
    box-shadow: 0 16px 46px rgba(16, 24, 32, .09);
    transform: translateY(-4px);
}

.if-ref-project.is-featured {
    border: 0;
    color: #fff;
    background: var(--if-blue);
}

.if-ref-project__top {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.if-ref-project__meta {
    color: var(--if-blue-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.if-ref-project.is-featured .if-ref-project__meta,
.if-ref-project.is-featured p {
    color: #dff5fd;
}

.if-ref-logo-box {
    display: grid;
    flex: 0 0 auto;
    width: 112px;
    height: 74px;
    padding: 12px;
    place-items: center;
    border: 1px solid var(--if-line);
    border-radius: 12px;
    background: #fff;
}

.if-ref-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.if-ref-project h3 {
    margin: 37px 0 11px;
    color: var(--if-ink);
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.18;
}

.if-ref-project.is-featured h3 {
    color: #fff;
}

.if-ref-project p {
    max-width: 510px;
    margin: 0;
    color: var(--if-muted);
}

.if-ref-all {
    padding-bottom: 105px;
}

.if-ref-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
}

.if-ref-filter {
    padding: 10px 17px;
    border: 1px solid var(--if-line);
    border-radius: 999px;
    color: var(--if-muted);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s;
}

.if-ref-filter:hover,
.if-ref-filter:focus-visible,
.if-ref-filter.is-active {
    border-color: var(--if-ink);
    color: #fff;
    background: var(--if-ink);
}

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

.if-ref-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    min-height: 148px;
    padding: 22px;
    border: 1px solid var(--if-line);
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.if-ref-card:hover {
    border-color: #a7dff3;
    box-shadow: 0 11px 28px rgba(16, 24, 32, .07);
}

.if-ref-card__logo {
    display: grid;
    height: 62px;
    place-items: center;
}

.if-ref-card__logo img {
    max-width: 68px;
    max-height: 58px;
    object-fit: contain;
}

.if-ref-card h3 {
    margin: 0 0 8px;
    color: var(--if-ink);
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.if-ref-card p {
    margin: 0;
    color: var(--if-muted);
    font-size: 13px;
    line-height: 1.55;
}

.if-ref-empty {
    padding: 35px;
    color: var(--if-muted);
    text-align: center;
}

.if-ref-cta {
    padding: 0 0 90px;
}

.if-ref-cta__inner {
    position: relative;
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: space-between;
    padding: 48px 54px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background: var(--if-blue);
}

.if-ref-cta__inner::after {
    position: absolute;
    top: -145px;
    right: 210px;
    width: 240px;
    height: 240px;
    border: 55px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    content: '';
}

.if-ref-cta h2 {
    color: #fff;
    font-size: 36px;
}

.if-ref-cta p {
    margin: 8px 0 0;
    color: #dff6ff;
}

.if-ref-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    gap: 12px;
    align-items: center;
    padding: 15px 22px;
    border-radius: 10px;
    color: #fff;
    background: var(--if-orange);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.if-ref-button:hover,
.if-ref-button:focus-visible {
    color: #fff;
    background: #a95021;
}

@media (max-width: 980px) {
    .if-ref-hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .if-ref-stats {
        max-width: 620px;
    }

    .if-ref-featured__grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .if-ref-container {
        width: min(100% - 28px, 1260px);
    }

    .if-ref-hero {
        padding: 62px 0;
    }

    .if-ref-hero h1 {
        font-size: 43px;
    }

    .if-ref-lead {
        font-size: 16px;
    }

    .if-ref-stats {
        grid-template-columns: 1fr;
    }

    .if-ref-stat,
    .if-ref-stat:nth-child(even) {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .if-ref-featured,
    .if-ref-all {
        padding: 64px 0;
    }

    .if-ref-section-head {
        display: block;
    }

    .if-ref-section-head > p {
        margin-top: 14px;
    }

    .if-ref-project {
        min-height: 330px;
    }

    .if-ref-grid {
        grid-template-columns: 1fr;
    }

    .if-ref-cta__inner {
        display: block;
        padding: 38px 27px;
    }

    .if-ref-button {
        margin-top: 25px;
    }
}
