/* Let the final chapter grow with its text instead of overlapping fixed positions. */
.growth {
    display: grid;
    grid-template-columns: 46% 50%;
    grid-template-rows: auto auto;
    row-gap: 48px;
    padding: 110px 0 160px;
    height: auto;
    min-height: max(900px,100svh)
}

    .growth .growth-heading {
        position: relative;
        inset: auto;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        font-size: clamp(80px,12vw,300px);
        max-width: 100%
    }

    .growth .chapter-copy {
        position: relative;
        inset: auto;
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        align-self: start;
        width: 100%;
        max-width: 650px
    }

    .growth .character-growth {
        left: 0;
        width: 42%;
        height: 74%;
        bottom: 70px
    }

.brand-logo {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0
}

.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 28px 6%;
    font-family: 'IBM Plex Mono',monospace;
    letter-spacing: 1.5px;
    font-size: 10px;
    line-height: 1.7
}

.footer-names {
    max-width: 100%;
    text-wrap: balance
}
/* Portrait tablets need distinct rows, with space for the existing parallax. */
@media(min-width:601px) and (max-width:1100px) and (orientation:portrait) {
    .growth {
        grid-template-columns: minmax(0,1fr);
        grid-template-rows: auto auto auto auto;
        row-gap: 64px;
        padding: 100px 7% 36px;
        min-height: 0
    }

        .growth .chapter-number {
            top: 36px;
            left: 7%
        }

        .growth .growth-heading {
            grid-column: 1;
            grid-row: 1;
            justify-self: start;
            font-size: clamp(80px,14vw,154px)
        }

        .growth .character-growth {
            position: relative;
            inset: auto;
            grid-column: 1;
            grid-row: 2;
            justify-self: center;
            width: 100%;
            max-width: 600px;
            height: clamp(360px,42svh,560px)
        }

        .growth .chapter-copy {
            grid-column: 1;
            grid-row: 3;
            justify-self: start;
            width: 100%;
            max-width: 650px
        }

            .growth .chapter-copy > p:not(.eyebrow) {
                max-width: 520px
            }

        .growth .chapter-bottom {
            position: relative;
            inset: auto;
            grid-column: 1;
            grid-row: 4;
            gap: 24px;
            flex-wrap: wrap;
            line-height: 1.6
        }
}

@media(max-width:600px) {
    .brand-logo {
        width: 47.25px;
        height: 47.25px
    }

    .growth {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto auto;
        row-gap: 28px;
        padding: 84px 7% 28px;
        min-height: 0
    }

        .growth .chapter-number {
            top: 28px;
            left: 7%
        }

        .growth .growth-heading {
            grid-column: 1;
            grid-row: 1;
            justify-self: start;
            font-size: 20vw
        }

        .growth .character-growth {
            position: relative;
            inset: auto;
            grid-column: 1;
            grid-row: 2;
            width: 100%;
            height: 360px
        }

        .growth .chapter-copy {
            grid-column: 1;
            grid-row: 3;
            width: 100%;
            max-width: none
        }

            .growth .chapter-copy > p:not(.eyebrow) {
                font-size: 14px;
                max-width: 100%
            }

        .growth .chapter-bottom {
            position: relative;
            inset: auto;
            grid-column: 1;
            grid-row: 4;
            margin-top: 12px;
            padding-top: 22px;
            gap: 16px;
            flex-wrap: wrap;
            font-size: 10px;
            line-height: 1.6
        }

    .site-footer {
        flex-direction: column;
        gap: 4px;
        padding: 24px 7% calc(24px + env(safe-area-inset-bottom,0px));
        font-size: 10px;
        letter-spacing: .8px
    }
}

/* Separar los títulos grandes y las etiquetas de Respeto y Equilibrio. */
@media (min-width:1001px) {
    .respect,
    .balance {
        display: grid;
        grid-template-columns: minmax(0,1fr);
        grid-template-rows: auto 1fr;
        row-gap: clamp(48px,3vw,72px);
        height: auto;
        min-height: max(900px,100svh);
        padding: 145px 3.3vw max(117px,13svh);
    }

    .balance {
        padding-top: 108px;
        padding-bottom: max(171px,19svh);
    }

        .respect .giant,
        .balance .giant {
            position: relative;
            inset: auto;
            grid-column: 1;
            grid-row: 1;
            align-self: start;
        }

        .respect .chapter-copy,
        .balance .chapter-copy {
            position: relative;
            inset: auto;
            grid-column: 1;
            grid-row: 2;
            align-self: end;
            justify-self: start;
            width: 27vw;
            max-width: 430px;
        }
}

@media (min-width:2000px) {
    .respect,
    .balance {
        min-height: max(1100px,100svh);
    }

    .respect {
        padding-bottom: max(143px,13svh);
    }

    .balance {
        padding-bottom: max(209px,19svh);
    }
}
