.section-white {
    background-color: #ffff;
}

.section-white .container {
    padding: 10rem 2.5rem 5rem;
}

.title-description-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.title-description-flex .text-title {
    flex: 0 0 auto;
    margin-bottom: 0;
    font-size: 4rem;
}

.title-description-flex p {
    flex: 0 0 18rem;
    margin-bottom: 0;
}

.text-title {
    font-family: "Geist Mono", monospace;
    font-weight: 900;
    color: var(--block-bg-secondary);
    font-size: 2rem;
}

.timeline-carousel-outer {
    display: flex;
    width: 100%;
    margin-top: 4rem;
}

.timeline-carousel-wrapper {
    position: relative;
    --visible-items: 3;
    --peek: 0.5;
    --item-gap: clamp(2rem, 3vw, 4.5rem);
    --item-w: calc((100% - (var(--item-gap) * var(--visible-items))) / (var(--visible-items) + var(--peek)));
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.timeline-carousel {
    display: flex;
    align-items: center;
    gap: var(--item-gap);
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 1.25rem 0;
}

.timeline-carousel::-webkit-scrollbar {
    display: none;
}

.timeline-item {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: var(--item-w);
    height: 15rem;
    background-color: var(--block-bg);
    color: #fff;
    padding: 1rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-origin: left center;
}

.timeline-item.is-active {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}

.timeline-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: calc(var(--item-w) * var(--peek));
    height: 15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, transparent, var(--block-bg) 45%);
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: background 0.25s ease;
}

.timeline-carousel-next:hover {
    background: var(--block-bg);
}

.timeline-carousel-next:active {
    opacity: 0.8;
}

.timeline-carousel-next svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: currentColor;
}

.text-subtitle {
    font-family: "Geist Mono", monospace;
    font-weight: 900;
    color: var(--block-bg-secondary);
    font-size: 5rem;
}

.values-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 5rem;
}

.values-flex .text-subtitle {
    margin-bottom: 0;
}

.values-copy {
    flex: 0 0 25rem;
    padding-left: 3rem;
}

.values-copy p {
    margin-top: 1.5rem;
}

.stats-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-right: 3rem;
}

.stats-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-right: 3rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-card-box {
    width: 14rem;
    height: 20rem;
    perspective: 1600px;
    container-type: inline-size;
}

.stat-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.stat-card-box:hover .stat-card-inner {
    transform: rotateY(180deg);
}

.stat-card-face {
    position: absolute;
    inset: 0;
    display: flex;
    backface-visibility: hidden;
    border: 1px solid var(--block-bg-secondary);
    box-sizing: border-box;
    padding: 0 1rem;
}

.stat-card-front {
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #fff;
    color: var(--block-bg-secondary);
    overflow: hidden;
}

.stat-card-back {
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background-color: var(--block-bg-secondary);
    color: #fff;
    transform: rotateY(180deg);
}

.stat-card-number {
    font-family: "Geist Mono", monospace;
    font-weight: 500;
    color: inherit;
    font-size: clamp(4rem, 48cqi, 8rem);
    line-height: 1;
    white-space: nowrap;
}

.stat-card-suffix {
    font-family: "Geist Mono", monospace;
    color: inherit;
    font-size: clamp(0.9rem, 10cqi, 1.3rem);
    line-height: 1;
    white-space: nowrap;
    opacity: 0.75;
}

.stat-card-back-text {
    font-family: "Geist Mono", monospace;
    font-size: 1rem;
    line-height: 1.5;
}


.mural-grid {
    --mural-height: 28rem;

    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 1.5rem;
    margin-top: 7rem;
    height: var(--mural-height);
}

.mural-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.mural-item {
    overflow: hidden;
    border: 1px solid var(--block-bg-secondary);
}

.mural-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mural-item-tall {
    height: 100%;
}

.mural-column-left .mural-item:nth-child(1) {
    flex: 6 1 0;
}

.mural-column-left .mural-item:nth-child(2) {
    flex: 4 1 0;
}

.mural-column-right .mural-item:nth-child(1) {
    flex: 4 1 0;
}

.mural-column-right .mural-item:nth-child(2) {
    flex: 6 1 0;
}

.section-dark-green .container {
    padding: 3.5rem 2.5rem 4rem;
}

.section-dark-green {
    background-color: var(--block-bg);
    color: var(--bg-secondary);
}

.section-flex-dark {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.section-flex-left {
    flex: 0 0 20rem;
}

.section-flex-right {
    flex: 0 0 30rem;
    margin-left: auto;
}

.btn-equal {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 17rem;
    font-size: 1.25rem;
    text-align: center;
}

.btn-padded {
    padding: 3rem;
    width: 17rem;
    font-size: 1.25rem;
}

.text-title {
    font-family: "Geist Mono", monospace;
    font-weight: 900;
    color: var(--block-bg-secondary);
    font-size: 2rem;
}

.text-title-wrap {
    max-width: 20rem;
    word-wrap: break-word;
    line-height: 1.2;
}

.form-contact {
    background-color: var(--bg-secondary);
    color: var(--accent-dark);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
}

.form-contact input.form-control,
.form-contact textarea.form-control,
.form-contact select.form-select {
    border-radius: var(--border-radius-sm);
    color: var(--accent-dark);
    background-color: #ffffff;
    border: 1px solid transparent;
}

.form-contact input.form-control:focus,
.form-contact textarea.form-control:focus,
.form-contact select.form-select:focus {
    background-color: #ffffff;
    border-color: var(--accent-dark);
    box-shadow: none;
}

.form-contact input.form-control::placeholder,
.form-contact textarea.form-control::placeholder {
    color: var(--bg-secondary);
    opacity: 1;
}

.form-contact input.form-control:focus::placeholder,
.form-contact textarea.form-control:focus::placeholder {
    color: var(--bg-secondary);
}

@media (max-width: 768px) {

    .title-description-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .title-description-flex .text-title {
        font-size: 2.5rem;
    }

    .title-description-flex p {
        flex: 1 1 auto;
    }

    .values-flex {
        flex-direction: column;
        gap: 2rem;
        margin-top: 3rem;
    }

    .values-copy {
        flex: 1 1 auto;
        padding-left: 0;
    }

    .text-subtitle {
        font-size: 3rem;
    }

    .stats-group {
        width: 100%;
        margin-right: 0;
        justify-content: center;
    }

    .stat-card-box {
        width: 100%;
        max-width: 20rem;
    }

    .mural-grid {
        display: flex;
        grid-template-columns: unset;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
        gap: 1rem;
        margin-top: 4rem;
        height: 22rem;
    }

    .mural-grid::-webkit-scrollbar {
        display: none;
    }

    .mural-column,
    .mural-item-tall {
        flex: 0 0 85%;
        scroll-snap-align: center;
        height: 100%;
    }

    .section-flex-dark {
        flex-direction: column;
        gap: 2.5rem;
    }

    .section-flex-left,
    .section-flex-right {
        flex: 1 1 100%;
        margin-left: 0;
        width: 100%;
    }

    .text-title-wrap {
        max-width: 100%;
    }

    .btn-equal,
    .btn-padded {
        width: 100%;
        padding: 1.25rem 1rem;
    }

    .timeline-carousel-wrapper {
        width: 100%;
    }

    .stats-group {
        width: 100%;
        margin-right: 0;
        gap: 1rem;
        row-gap: 1rem;
        justify-content: space-between;
    }

    .stat-card {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 0;
    }

    .stat-card-box {
        width: 100%;
        max-width: none;
        height: 15rem;
        min-width: 0;
    }

    .stat-card-face {
        min-width: 0;
    }

    .stat-card-back {
        overflow: hidden;
        padding: 1rem;
    }
}