/* =========================================================
   Safe Web Innovations — Projectenpagina
   Case-study layout op de centrale websiteachtergrond
   ========================================================= */

/* Hero */

.projects-hero {
    padding: 104px 0 126px;
    background: transparent;
}

.projects-hero__inner {
    max-width: 1320px;
}

.projects-hero h1 {
    max-width: 1180px;
    margin-bottom: 32px;
    font-size: clamp(3.25rem, 6.2vw, 6.4rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.projects-hero__intro {
    max-width: 900px;
    margin-bottom: 64px;
    color: var(--color-text-muted);
    font-size: clamp(1.05rem, 1.45vw, 1.24rem);
    line-height: 1.78;
}

.projects-hero__summary {
    display: grid;
    max-width: 1160px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.projects-hero__summary div {
    min-width: 0;
}

.projects-hero__summary strong {
    display: block;
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 800;
}

.projects-hero__summary span {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Uitgelichte projecten */

.featured-project {
    padding: 48px 0 138px;
    background: transparent;
}

.featured-project--alternate {
    padding-top: 112px;
    padding-bottom: 128px;
}

.featured-project__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 54px;
}

.featured-project__header > div {
    max-width: 900px;
}

.featured-project__header h2 {
    margin-bottom: 14px;
    font-size: clamp(3rem, 5.5vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.featured-project__subtitle {
    max-width: 720px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.7;
}

.text-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 196, 0, 0.55);
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.text-link span {
    font-size: 1.05rem;
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

.project-status {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 196, 0, 0.4);
    border-radius: 999px;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Gedeelde projectpresentatie */

.project-image-showcase {
    position: relative;
    margin-bottom: 88px;
    overflow: hidden;
    padding: clamp(30px, 4vw, 58px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    background:
        radial-gradient(circle at 72% 24%, rgba(103, 68, 255, 0.17), transparent 37%),
        radial-gradient(circle at 12% 86%, rgba(255, 196, 0, 0.09), transparent 31%),
        rgba(8, 11, 24, 0.62);
}

.project-image-showcase::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 90%);
    pointer-events: none;
}

.project-image-showcase--jsm {
    background:
        radial-gradient(circle at 74% 20%, rgba(207, 176, 82, 0.14), transparent 38%),
        radial-gradient(circle at 14% 88%, rgba(103, 68, 255, 0.09), transparent 32%),
        rgba(8, 11, 24, 0.62);
}

.project-image-showcase--pdfshop {
    background:
        radial-gradient(circle at 76% 18%, rgba(170, 76, 255, 0.16), transparent 38%),
        radial-gradient(circle at 12% 88%, rgba(255, 196, 0, 0.07), transparent 32%),
        rgba(8, 11, 24, 0.62);
}

.project-image-showcase__intro {
    position: relative;
    z-index: 2;
    max-width: 480px;
    margin-bottom: clamp(30px, 4vw, 52px);
}

.project-image-showcase__intro .eyebrow {
    margin-bottom: 10px;
}

.project-image-showcase__intro > p:last-child {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.project-image-showcase__frame {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    background: #080b14;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
}

.project-image-showcase--pdfshop .project-image-showcase__frame {
    width: 100%;
}

.project-image-showcase__bar {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #11141e;
}

.project-image-showcase__bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.project-image-showcase__bar span:first-child {
    background: rgba(255, 196, 0, 0.8);
}

.project-image-showcase__bar strong {
    margin-left: 8px;
    color: rgba(245, 247, 255, 0.52);
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.project-image-showcase__frame > a {
    display: block;
    cursor: zoom-in;
}

.project-image-showcase__frame img {
    display: block;
    width: 100%;
    background: #080b14;
    transition:
        filter 180ms ease,
        transform 180ms ease;
}

.project-image-showcase__frame > a:hover img {
    filter: brightness(1.06);
    transform: scale(1.008);
}

.project-image-showcase__frame > a:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: -3px;
}

.project-image-showcase__frame figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 18px 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-image-showcase__frame figcaption strong {
    color: var(--color-text);
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.project-image-showcase__frame figcaption span {
    color: var(--color-text-muted);
    font-size: 0.7rem;
    text-align: right;
}

/* PDFSHOP concept */

.pdfshop-concept {
    padding: clamp(18px, 2.4vw, 34px);
    background: #f7f7fb;
    color: #171724;
}

.pdfshop-concept__header {
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) auto;
    align-items: center;
    gap: clamp(20px, 3vw, 46px);
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(23, 23, 36, 0.1);
}

.pdfshop-concept__logo {
    color: #171724;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.pdfshop-concept__logo span {
    color: #7c3aed;
}

.pdfshop-concept__search {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 11px;
    padding: 0 16px;
    border: 1px solid rgba(23, 23, 36, 0.12);
    border-radius: 12px;
    background: #fff;
}

.pdfshop-concept__search span {
    color: #7c3aed;
    font-size: 1.25rem;
}

.pdfshop-concept__search p {
    margin: 0;
    color: #777789;
    font-size: 0.75rem;
}

.pdfshop-concept__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.7rem;
}

.pdfshop-concept__actions strong {
    padding: 10px 15px;
    border-radius: 9px;
    background: #7c3aed;
    color: #fff;
}

.pdfshop-concept__content {
    padding-top: clamp(26px, 3.5vw, 48px);
}

.pdfshop-concept__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.pdfshop-concept__heading p {
    margin: 0 0 5px;
    color: #7c3aed;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pdfshop-concept__heading h4 {
    margin: 0;
    color: #171724;
    font-size: clamp(1.35rem, 2.7vw, 2.5rem);
    letter-spacing: -0.045em;
}

.pdfshop-concept__heading > span {
    color: #7c3aed;
    font-size: 0.72rem;
    font-weight: 800;
}

.pdfshop-concept__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
}

.pdfshop-concept__categories li {
    padding: 8px 13px;
    border: 1px solid rgba(23, 23, 36, 0.1);
    border-radius: 999px;
    background: #fff;
    color: #555568;
    font-size: 0.66rem;
}

.pdfshop-concept__categories li:first-child {
    border-color: #7c3aed;
    background: #7c3aed;
    color: #fff;
}

.pdfshop-concept__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 26px);
}

.pdfshop-concept__grid article {
    min-width: 0;
}

.pdfshop-concept__cover {
    position: relative;
    display: flex;
    min-height: clamp(170px, 22vw, 310px);
    justify-content: space-between;
    flex-direction: column;
    padding: clamp(16px, 2vw, 28px);
    overflow: hidden;
    border-radius: 14px;
    color: #fff;
}

.pdfshop-concept__cover::after {
    position: absolute;
    right: -24%;
    bottom: -35%;
    width: 80%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    content: "";
}

.pdfshop-concept__cover--business {
    background: linear-gradient(145deg, #171724, #4c1d95);
}

.pdfshop-concept__cover--design {
    background: linear-gradient(145deg, #7c3aed, #ec4899);
}

.pdfshop-concept__cover--learn {
    background: linear-gradient(145deg, #0f766e, #22c55e);
}

.pdfshop-concept__cover span {
    align-self: flex-start;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 5px;
    font-size: 0.55rem;
    font-weight: 850;
}

.pdfshop-concept__cover strong {
    position: relative;
    z-index: 1;
    font-size: clamp(1rem, 2vw, 1.75rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.pdfshop-concept__grid article > p {
    margin: 12px 0 4px;
    color: #7c3aed;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pdfshop-concept__grid h5 {
    margin: 0 0 8px;
    color: #171724;
    font-size: clamp(0.8rem, 1.3vw, 1rem);
}

.pdfshop-concept__grid article > strong {
    color: #171724;
    font-size: 0.75rem;
}

/* Persoonlijk dashboard */

.featured-project--dashboard {
    padding-top: 112px;
    padding-bottom: 128px;
}

.featured-project--dashboard .featured-project__header h2 {
    font-size: clamp(2.7rem, 4.8vw, 5.2rem);
}

.dashboard-showcase {
    position: relative;
    min-height: clamp(660px, 61vw, 880px);
    margin-bottom: 88px;
    padding: clamp(30px, 4vw, 58px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    background:
        radial-gradient(circle at 68% 28%, rgba(103, 68, 255, 0.18), transparent 36%),
        radial-gradient(circle at 16% 82%, rgba(255, 196, 0, 0.1), transparent 30%),
        rgba(8, 11, 24, 0.62);
}

.dashboard-showcase::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    pointer-events: none;
}

.dashboard-showcase__intro {
    position: relative;
    z-index: 5;
    max-width: 430px;
}

.dashboard-showcase__intro .eyebrow {
    margin-bottom: 10px;
}

.dashboard-showcase__intro > p:last-child {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.dashboard-showcase figure {
    position: absolute;
    z-index: 2;
    min-width: 0;
    margin: 0;
}

.dashboard-showcase img {
    display: block;
    width: 100%;
    border: clamp(5px, 0.7vw, 10px) solid #171923;
    border-radius: clamp(12px, 1.5vw, 22px);
    background: #0b0d16;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
    object-fit: cover;
    transition:
        border-color 180ms ease,
        filter 180ms ease,
        transform 180ms ease;
}

.dashboard-showcase figure > a {
    display: block;
    border-radius: clamp(12px, 1.5vw, 22px);
    cursor: zoom-in;
}

.dashboard-showcase figure > a:hover img {
    border-color: rgba(255, 196, 0, 0.72);
    filter: brightness(1.06);
    transform: translateY(-3px);
}

.dashboard-showcase figure > a:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 5px;
}

.dashboard-showcase figcaption {
    position: absolute;
    top: calc(100% + 13px);
    left: 50%;
    display: grid;
    width: max-content;
    max-width: 180px;
    text-align: center;
    transform: translateX(-50%);
}

.dashboard-showcase figcaption strong {
    color: var(--color-text);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-showcase figcaption span {
    display: none;
}

.dashboard-showcase .dashboard-showcase__desktop {
    right: 10%;
    bottom: 112px;
    width: 67%;
}

.dashboard-showcase__desktop::after {
    position: absolute;
    right: 4%;
    bottom: -13px;
    left: 4%;
    z-index: -1;
    height: 24px;
    border-radius: 0 0 50% 50%;
    background: linear-gradient(180deg, #2c2f3b, #11131b);
    content: "";
}

.dashboard-showcase__devices {
    position: absolute;
    inset: 0;
}

.dashboard-showcase__devices .dashboard-showcase__landscape {
    bottom: 93px;
    left: 4%;
    z-index: 4;
    width: 34%;
}

.dashboard-showcase__devices .dashboard-showcase__portrait {
    right: 3.5%;
    bottom: 95px;
    z-index: 3;
    width: 25.5%;
}

.dashboard-showcase__devices .dashboard-showcase__mobile {
    right: 29.5%;
    bottom: 89px;
    z-index: 4;
    width: 10.5%;
}

.dashboard-showcase__mobile img {
    border-radius: clamp(16px, 2vw, 28px);
}

.dashboard-showcase__mobile figcaption {
    top: auto;
    bottom: calc(100% + 10px);
}

/* Dashboard lightbox */

body.dashboard-lightbox-open {
    overflow: hidden;
}

.dashboard-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: clamp(16px, 3vw, 44px);
    opacity: 0;
    transition: opacity 180ms ease;
}

.dashboard-lightbox[hidden] {
    display: none;
}

.dashboard-lightbox.is-visible {
    opacity: 1;
}

.dashboard-lightbox__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(3, 5, 13, 0.92);
    backdrop-filter: blur(14px);
    cursor: zoom-out;
}

.dashboard-lightbox__panel {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1500px, 100%);
    max-height: calc(100vh - clamp(32px, 6vw, 88px));
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: #090c17;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62);
    transform: translateY(12px) scale(0.985);
    transition: transform 180ms ease;
}

.dashboard-lightbox.is-visible .dashboard-lightbox__panel {
    transform: translateY(0) scale(1);
}

.dashboard-lightbox__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 20px 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-lightbox__header .eyebrow {
    margin-bottom: 4px;
    font-size: 0.62rem;
}

.dashboard-lightbox__header h3 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.dashboard-lightbox__close {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: var(--color-text);
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.dashboard-lightbox__close span {
    font-size: 1.8rem;
    line-height: 1;
}

.dashboard-lightbox__close:hover,
.dashboard-lightbox__close:focus-visible {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #080a12;
}

.dashboard-lightbox__close:focus-visible {
    outline: 3px solid rgba(255, 196, 0, 0.28);
    outline-offset: 3px;
}

.dashboard-lightbox__image-wrap {
    display: grid;
    min-height: 0;
    place-items: center;
    overflow: auto;
    padding: clamp(14px, 2.5vw, 34px);
}

.dashboard-lightbox__image-wrap img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.dashboard-lightbox__hint {
    margin: 0;
    padding: 12px 24px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    font-size: 0.72rem;
    text-align: center;
}

/* Case study */

.case-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(310px, 390px);
    align-items: start;
    gap: clamp(70px, 8vw, 130px);
}

.case-content {
    min-width: 0;
}

.case-section {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 28px;
    padding: 0 0 72px;
    margin-bottom: 72px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.case-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.case-section__number {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.case-section__label {
    margin-bottom: 16px;
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.case-section h3 {
    max-width: 850px;
    margin-bottom: 24px;
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.case-section div > p:last-child,
.case-section div > p:not(.case-section__label) {
    max-width: 820px;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.82;
}

.case-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
    padding: 30px 0 0;
    margin: 0;
    list-style: none;
}

.case-feature-list li {
    position: relative;
    padding-left: 22px;
    color: rgba(245, 247, 255, 0.88);
    font-size: 0.9rem;
    line-height: 1.6;
}

.case-feature-list li::before {
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 16px rgba(255, 196, 0, 0.45);
    content: "";
}

/* Projectinformatie */

.case-facts {
    position: sticky;
    top: calc(var(--header-height) + 34px);
    padding-left: 34px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.case-facts__title {
    margin-bottom: 28px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-facts dl {
    padding: 0;
    margin: 0;
}

.case-facts dl > div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-facts dt {
    color: rgba(245, 247, 255, 0.46);
    font-size: 0.78rem;
    font-weight: 750;
}

.case-facts dd {
    margin: 0;
    color: rgba(245, 247, 255, 0.88);
    font-size: 0.86rem;
    line-height: 1.6;
}

.technology-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 30px 0 0;
    margin: 0;
    list-style: none;
}

.technology-list li {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: rgba(245, 247, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 750;
}

/* Aanpak */

.project-approach {
    padding-top: 130px;
}

.project-approach__heading {
    max-width: 850px;
    margin-bottom: 62px;
}

.project-approach__heading h3 {
    margin-bottom: 0;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    list-style: none;
}

.approach-steps li {
    min-width: 0;
    padding: 30px 28px 0 0;
}

.approach-steps li + li {
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.approach-steps span {
    display: block;
    margin-bottom: 34px;
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.approach-steps strong {
    display: block;
    margin-bottom: 14px;
    color: var(--color-text);
    font-size: 1rem;
}

.approach-steps p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.7;
}

/* Overige projecten */

.other-projects {
    padding: 128px 0 140px;
    background: transparent;
}

.other-projects__heading {
    max-width: 850px;
    margin-bottom: 64px;
}

.other-projects__heading h2 {
    margin-bottom: 0;
}

.other-projects__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
}

.compact-project,
.next-project {
    min-width: 0;
}

.compact-project a {
    display: block;
}

.compact-project__media {
    position: relative;
    min-height: clamp(390px, 36vw, 590px);
    margin-bottom: 30px;
    overflow: hidden;
    background: rgba(8, 11, 24, 0.3);
}

.compact-project__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 450ms ease,
        filter 450ms ease;
}

.compact-project a:hover img {
    transform: scale(1.025);
    filter: brightness(0.88);
}

.compact-project__content > p {
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.compact-project__content h3 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.compact-project__content span {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.next-project {
    display: flex;
    min-height: 100%;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 80px;
    padding: clamp(38px, 5vw, 72px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.next-project__symbol {
    position: relative;
    width: 72px;
    height: 72px;
}

.next-project__symbol span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    background: var(--color-primary);
    transform: translate(-50%, -50%);
}

.next-project__symbol span:first-child {
    width: 72px;
    height: 2px;
}

.next-project__symbol span:last-child {
    width: 2px;
    height: 72px;
}

.next-project > div:last-child {
    max-width: 610px;
}

.next-project h3 {
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.next-project > div:last-child > p:not(.eyebrow) {
    max-width: 530px;
    margin-bottom: 34px;
    color: var(--color-text-muted);
    font-size: 0.96rem;
    line-height: 1.78;
}

/* Focus */

.text-link:focus-visible,
.compact-project a:focus-visible,
.next-project .button:focus-visible {
    outline: 3px solid rgba(168, 85, 247, 0.55);
    outline-offset: 5px;
}

/* Laptop */

@media (max-width: 1180px) {
    .projects-hero {
        padding: 90px 0 112px;
    }

    .case-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, 340px);
        gap: 70px;
    }

    .approach-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 52px;
    }

    .approach-steps li:nth-child(4) {
        padding-left: 0;
        border-left: 0;
    }
}

/* Tablet */

@media (max-width: 900px) {
    .projects-hero__summary {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .featured-project__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .dashboard-showcase {
        min-height: 690px;
    }

    .dashboard-showcase .dashboard-showcase__desktop {
        right: 7%;
        bottom: 150px;
        width: 78%;
    }

    .dashboard-showcase__devices .dashboard-showcase__landscape {
        bottom: 118px;
        left: 3%;
        width: 40%;
    }

    .dashboard-showcase__devices .dashboard-showcase__portrait {
        right: 3%;
        bottom: 120px;
        width: 30%;
    }

    .dashboard-showcase__devices .dashboard-showcase__mobile {
        right: 34%;
        bottom: 116px;
        width: 13%;
    }

    .case-layout {
        grid-template-columns: 1fr;
        gap: 76px;
    }

    .case-facts {
        position: static;
        padding-top: 34px;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        border-left: 0;
    }

    .case-facts dl {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 42px;
    }

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

    .approach-steps li:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .approach-steps li:nth-child(even) {
        padding-left: 28px;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }

    .other-projects__grid {
        grid-template-columns: 1fr;
        gap: 72px;
    }

    .next-project {
        min-height: 620px;
    }
}

/* Mobiel */

@media (max-width: 640px) {
    .projects-hero {
        padding: 64px 0 90px;
    }

    .projects-hero h1 {
        font-size: clamp(2.75rem, 12vw, 4.4rem);
    }

    .projects-hero__intro {
        margin-bottom: 48px;
    }

    .projects-hero__summary {
        padding-top: 28px;
    }

    .featured-project {
        padding: 42px 0 96px;
    }

    .featured-project--alternate {
        padding-top: 72px;
        padding-bottom: 82px;
    }

    .featured-project--dashboard {
        padding-top: 78px;
        padding-bottom: 92px;
    }

    .featured-project__header {
        margin-bottom: 38px;
    }

    .featured-project__header h2 {
        font-size: clamp(2.8rem, 13vw, 4.6rem);
    }

    .project-image-showcase,
    .project-image-showcase--pdfshop {
        min-height: 0;
        margin-bottom: 56px;
        padding: 24px 18px;
        border-radius: 22px;
    }

    .project-image-showcase__intro {
        margin-bottom: 28px;
    }

    .project-image-showcase__intro > p:last-child {
        font-size: 0.8rem;
    }

    .project-image-showcase__frame,
    .project-image-showcase--pdfshop .project-image-showcase__frame {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        border-radius: 15px;
    }

    .project-image-showcase__frame figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding: 13px 14px 15px;
    }

    .project-image-showcase__frame figcaption span {
        text-align: left;
    }

    .pdfshop-concept {
        padding: 16px;
    }

    .pdfshop-concept__header {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-bottom: 18px;
    }

    .pdfshop-concept__actions {
        display: none;
    }

    .pdfshop-concept__heading > span {
        display: none;
    }

    .pdfshop-concept__categories {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .pdfshop-concept__categories li {
        flex-shrink: 0;
    }

    .pdfshop-concept__grid {
        gap: 9px;
    }

    .pdfshop-concept__cover {
        min-height: 160px;
        padding: 12px 10px;
        border-radius: 9px;
    }

    .pdfshop-concept__cover strong {
        font-size: 0.9rem;
    }

    .pdfshop-concept__grid article > p {
        margin-top: 9px;
        font-size: 0.5rem;
    }

    .pdfshop-concept__grid h5 {
        font-size: 0.68rem;
    }

    .dashboard-showcase {
        min-height: 610px;
        margin-bottom: 56px;
        padding: 24px 18px;
        border-radius: 22px;
    }

    .dashboard-showcase__intro {
        max-width: 300px;
    }

    .dashboard-showcase__intro > p:last-child {
        font-size: 0.8rem;
    }

    .dashboard-showcase .dashboard-showcase__desktop {
        right: 4%;
        bottom: 244px;
        width: 92%;
    }

    .dashboard-showcase__devices .dashboard-showcase__landscape {
        bottom: 90px;
        left: 4%;
        width: 52%;
    }

    .dashboard-showcase__devices .dashboard-showcase__portrait {
        right: 4%;
        bottom: 90px;
        width: 39%;
    }

    .dashboard-showcase__devices .dashboard-showcase__mobile {
        right: 43%;
        bottom: 86px;
        width: 16%;
    }

    .dashboard-showcase figcaption {
        top: calc(100% + 8px);
        max-width: 150px;
    }

    .dashboard-showcase .dashboard-showcase__mobile figcaption {
        top: auto;
        bottom: calc(100% + 8px);
    }

    .dashboard-showcase figcaption span {
        display: none;
    }

    .dashboard-showcase figcaption strong {
        font-size: 0.58rem;
    }

    .dashboard-lightbox {
        padding: 10px;
    }

    .dashboard-lightbox__panel {
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }

    .dashboard-lightbox__header {
        padding: 14px 14px 13px 17px;
    }

    .dashboard-lightbox__close {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .dashboard-lightbox__hint {
        padding: 10px 14px 12px;
        font-size: 0.66rem;
    }

    .case-section {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 54px;
        margin-bottom: 54px;
    }

    .case-section__number {
        margin-top: 0;
    }

    .case-section h3 {
        font-size: clamp(1.85rem, 8vw, 2.7rem);
    }

    .case-feature-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .case-facts dl {
        grid-template-columns: 1fr;
    }

    .case-facts dl > div {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .project-approach {
        padding-top: 92px;
    }

    .project-approach__heading {
        margin-bottom: 46px;
    }

    .approach-steps {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .approach-steps li,
    .approach-steps li:nth-child(even),
    .approach-steps li:nth-child(odd) {
        padding: 26px 0 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .approach-steps span {
        margin-bottom: 20px;
    }

    .other-projects {
        padding: 94px 0 104px;
    }

    .other-projects__heading {
        margin-bottom: 46px;
    }

    .compact-project__media {
        min-height: 420px;
    }

    .next-project {
        min-height: 560px;
        gap: 64px;
        padding: 34px 26px;
    }

    .next-project .button {
        width: 100%;
    }
}

/* Kleine mobiel */

@media (max-width: 420px) {
    .case-facts dl > div {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .compact-project__media {
        min-height: 360px;
    }

    .next-project {
        min-height: 520px;
    }
}
