.productionText {
    width: 100%;
    margin-inline: auto;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5vw, 3.5rem);
    box-sizing: border-box;
}

.productionText_Inner {
    box-sizing: border-box;
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5vw, 3.5rem);
}

.productionText_Inner--imageBackground {
    position: relative;
    isolation: isolate;
    background-repeat: no-repeat;
    aspect-ratio: 613 / 256;
    justify-content: flex-start;
    overflow: hidden;
    border-radius: 20px;
}

.productionText_Inner--imageBackground::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        90deg,
        rgba(28, 28, 28, 0.94) 0%,
        rgba(28, 28, 28, 0.82) 42%,
        rgba(28, 28, 28, 0.5) 100%
    );
    pointer-events: none;
}

.productionText_Inner--imageBackground .productionText_Column {
    position: relative;
    z-index: 1;
    padding-left: 10%;
}

.productionText_Inner--imageBackground .productionText_production {
    position: relative;
    z-index: 1;
}

.productionText_Column {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(1.5rem, 2vw, 2rem);
    padding-left: 4%;
}

.productionText_Column h2 {
    color: #A3B199;
font-family: Inter;
font-size: 50px;
font-style: normal;
font-weight: 400;
line-height: 80px; /* 114.286% */
    margin: 0;
}

.productionText_Description {
    color: #FFF;
font-family: Inter;
font-size: clamp(0.9375rem, 0.35vw + 0.82rem, 1.6875rem);
font-style: normal;
font-weight: 400;
line-height: 32px; /* 133.333% */ /* 133.333% */
    margin: 0;
    width: 100%;
    max-width: 36rem;
}

.productionText_Button {
    border-radius: 40px;
background: #A3B199;
box-shadow: -3px -3px 5px 0 rgba(255, 255, 255, 0.20);
color: #1C1C1C;
padding: 2px 20px;
margin: 0;
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 45px; /* 214.286% */
    text-decoration: none;
}

.productionText_Button:hover {
    background: #79896D;
    box-shadow: 0 5px 6px 0 rgba(0, 0, 0, 0.42) inset, 3px 3px 10px 0 rgba(255, 255, 255, 0.20);
}

.productionText_production {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    /* One gutter size: used as explicit grid tracks (cycle) and as gap (1–3 cards). */
    --pb-gap: clamp(1rem, 2.75vw, 1.75rem);
}

/*
 * Match cycle box to the grid’s intrinsic width so the arrows overlay shares
 * the same origin as calc(20vw + …) positions (full-width cycle was shifting arrows left).
 */
.productionText_production .productionBlock__cycle {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

/* 1–3 cards: equal row and column gap between tracks. */
.productionText_production .productionBlock__grid {
    width: 100%;
    gap: var(--pb-gap);
    justify-items: center;
    align-items: center;
}

/*
 * Four-card cycle: dedicated gap tracks so horizontal and vertical space
 * between card edges are exactly var(--pb-gap) (same value both axes).
 */
.productionText_production .productionBlock__grid--cycleFlow {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    grid-template-columns: 20vw var(--pb-gap) 20vw;
    grid-template-rows: 20vw var(--pb-gap) 20vw;
    gap: 0;
    column-gap: 0;
    row-gap: 0;
    justify-items: stretch;
    align-items: stretch;
}

.productionText_production .productionBlock__grid--cycleFlow .productionBlock__card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.productionText_production .productionBlock__grid--cycleFlow .productionBlock__card:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.productionText_production .productionBlock__grid--cycleFlow .productionBlock__card:nth-child(3) {
    grid-column: 3;
    grid-row: 3;
}

.productionText_production .productionBlock__grid--cycleFlow .productionBlock__card:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
}

/* Each card: square (1:1). Cycle cells are 20vw; 1–3 card grid uses 20vw cards centered in fr tracks. */
.productionText_production .productionBlock__card {
    justify-content: center;
    width: 20vw;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    padding: clamp(0.25rem, 0.8vw, 0.5rem);
    border-radius: 12px;
    gap: 0.2rem;
    background: transparent;
    border: 2px solid var(--Piggelin-Light, #c0e0c6);
    box-sizing: border-box;
}

.productionText_production .productionBlock__grid--cycleFlow .productionBlock__card {
    width: 100%;
    max-width: 100%;
}

.productionText_production .productionBlock__cardTitle {
    font-size: clamp(1.4rem, 0.12vw + 0.42rem, 0.75rem);
    letter-spacing: 0.08em;
    color: #ffffff;
}

.productionText_production .productionBlock__cardSubtitle {
    font-size: clamp(1rem, 0.1vw + 0.38rem, 0.65rem);
    color: #A3B199;
    line-height: 1.15;
}

.productionText_production .productionBlock__arrow {
    width: clamp(52px, 8vw, 96px);
    height: clamp(52px, 8vw, 96px);
}

.productionText_production .productionBlock__arrow svg {
    width: clamp(26px, 4.5vw, 52px);
    height: auto;
    max-height: clamp(72px, 14vw, 140px);
}

.productionText_production .productionBlock__arrow svg path {
    stroke-width: 3;
}

/* Arrow centers sit on the explicit gap tracks (matches 20vw + --pb-gap grid). */
.productionText_production .productionBlock__arrow--right {
    left: calc(20vw + var(--pb-gap) / 2);
    top: 10vw;
}

.productionText_production .productionBlock__arrow--down {
    left: calc(30vw + var(--pb-gap));
    top: calc(20vw + var(--pb-gap) / 2);
}

.productionText_production .productionBlock__arrow--left {
    left: calc(20vw + var(--pb-gap) / 2);
    top: calc(30vw + var(--pb-gap));
}

.productionText_production .productionBlock__arrow--up {
    left: 10vw;
    top: calc(20vw + var(--pb-gap) / 2);
}

/* Row layout (1081px+): shrink arrows before column breakpoint so they stay in the gutter */
@media (max-width: 1500px) and (min-width: 1081px) {
    .productionText_production {
        --pb-gap: clamp(1rem, 2.2vw, 1.65rem);
    }

    .productionText_production .productionBlock__arrow {
        width: clamp(32px, 4.25vw, 68px);
        height: clamp(32px, 4.25vw, 68px);
    }

    .productionText_production .productionBlock__arrow svg {
        width: clamp(14px, 2.35vw, 34px);
        max-height: clamp(30px, 5.5vw, 70px);
    }

    .productionText_production .productionBlock__arrow svg path {
        stroke-width: 2.5;
    }
}

@media (max-width: 1080px) {
    .productionText_Inner--imageBackground {
        padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem);
        box-sizing: border-box;
        /* Fixed ratio + overflow:hidden clips CTA between ~900–1080px; let height follow content */
        aspect-ratio: auto;
        min-height: min-content;
    }

    .productionText_Inner--imageBackground .productionText_Column {
        padding-left: 0;
    }

    .productionText_Inner--imageBackground .productionText_Column h2 {
        line-height: 1.15;
    }

    .productionText_Button {
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .productionText_Inner {
        flex-direction: column;
        align-items: stretch;
    }

    .productionText_Column {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        align-self: stretch;
        box-sizing: border-box;
        padding-left: clamp(1rem, 4vw, 2.5rem);
        padding-right: clamp(1rem, 4vw, 2.5rem);
    }

    .productionText_Inner--imageBackground .productionText_Column {
        padding-left: 0;
        padding-right: 0;
    }

    .productionText_production {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        align-self: stretch;
        box-sizing: border-box;
        --pb-gap: clamp(1.25rem, 3.5vw, 2rem);
    }

    .productionText_production .productionBlock__cycle {
        width: 100%;
        max-width: 100%;
    }

    .productionText_production .productionBlock__grid--cycleFlow {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        grid-template-columns: minmax(0, 1fr) var(--pb-gap) minmax(0, 1fr);
        grid-template-rows: auto var(--pb-gap) auto;
    }

    .productionText_production .productionBlock__arrow {
        width: clamp(28px, 7vw, 56px);
        height: clamp(28px, 7vw, 56px);
    }

    .productionText_production .productionBlock__arrow svg {
        width: clamp(14px, 3.5vw, 28px);
        max-height: clamp(28px, 10vw, 56px);
    }

    .productionText_production .productionBlock__arrow svg path {
        stroke-width: 2.5;
    }

    /* Arrows: % left = overlay width, % top = overlay height (square 2×2 + gap tracks). */
    .productionText_production .productionBlock__arrow--right {
        left: 50%;
        top: calc((100% - var(--pb-gap)) / 4);
    }

    .productionText_production .productionBlock__arrow--down {
        left: calc((100% - var(--pb-gap)) * 0.75 + var(--pb-gap));
        top: 50%;
    }

    .productionText_production .productionBlock__arrow--left {
        left: 50%;
        top: calc((100% - var(--pb-gap)) * 0.75 + var(--pb-gap));
    }

    .productionText_production .productionBlock__arrow--up {
        left: calc((100% - var(--pb-gap)) / 4);
        top: 50%;
    }

    .productionText_Column h2 {
        font-size: clamp(1.75rem, 5vw + 1rem, 50px);
        line-height: 1.15;
    }
}

/* Keep explicit gap-track grid (equal H/V gutters); production block switches cycle to flex <768px. */
@media (max-width: 768px) {
    .productionText_production .productionBlock__cycle .productionBlock__grid--cycleFlow {
        display: grid;
        flex-direction: unset;
        align-items: stretch;
        column-gap: 0;
        row-gap: 0;
        gap: 0;
    }

    .productionText_production .productionBlock__arrowsOverlay {
        display: block;
    }

    .productionText_production {
        --pb-gap: clamp(1.25rem, 4vw, 2.25rem);
    }

    .productionText_production .productionBlock__arrow {
        width: clamp(24px, 6.5vw, 48px);
        height: clamp(24px, 6.5vw, 48px);
    }

    .productionText_production .productionBlock__arrow svg {
        width: clamp(12px, 3.25vw, 24px);
        max-height: clamp(24px, 9vw, 48px);
    }

    .productionText_production .productionBlock__arrow svg path {
        stroke-width: 2;
    }
}

@media (max-width: 480px) {
    .productionText_production {
        --pb-gap: clamp(1.35rem, 4.5vw, 2.5rem);
    }

    .productionText_production .productionBlock__arrow {
        width: clamp(20px, 10vw, 40px);
        height: clamp(20px, 10vw, 40px);
    }

    .productionText_production .productionBlock__arrow svg {
        width: clamp(10px, 5vw, 22px);
        max-height: clamp(20px, 12vw, 40px);
    }
}

@media (max-width: 639px) {
    .productionText {
        padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1rem, 4vw, 1.5rem);
        gap: clamp(1.25rem, 4vw, 2rem);
    }

    .productionText_Inner {
        gap: clamp(1.25rem, 4vw, 2rem);
    }

    .productionText_Column h2 {
        font-size: clamp(1.25rem, 5vw + 0.35rem, 1.65rem);
        line-height: 1.2;
    }

    .productionText_Description {
        line-height: 1.45;
    }

    .productionText_Button {
        font-size: 12px;
        line-height: 1.35;
        padding: 0.7rem 1rem;
    }

    .productionText_production .productionBlock__cardTitle {
        font-size: clamp(0.65rem, 2.4vw + 0.35rem, 0.8125rem);
    }

    .productionText_production .productionBlock__cardSubtitle {
        font-size: clamp(0.6rem, 2.1vw + 0.3rem, 0.75rem);
    }
}

/* Column layout only: restore larger arrows between tablet and 1080 (narrow phones stay smaller above). */
@media (min-width: 640px) and (max-width: 1080px) {
    .productionText_production .productionBlock__arrow {
        width: clamp(52px, 8vw, 96px);
        height: clamp(52px, 8vw, 96px);
    }

    .productionText_production .productionBlock__arrow svg {
        width: clamp(26px, 4.5vw, 52px);
        height: auto;
        max-height: clamp(72px, 14vw, 140px);
    }

    .productionText_production .productionBlock__arrow svg path {
        stroke-width: 3;
    }
}