/** =================================================
 *  HEADING
 */

.heading {
    position: relative;
    text-wrap: balance;
    z-index: 0;
}

.block-heading--medium {
    font-size: 1.5rem;
}


/** =================================================
 *  TEXT
 */


.block-text {
    width: 100%;
    position: relative;
    font-weight: 300;
    line-height: 1.4;
    margin-block: 1.125em;

    strong {
        font-weight: var(--b-weight, 700);
    }
}
.block-text:is(.font-playfair) {
    font-weight: 400;
}
.block-text p + p {
    margin-top: 1em;
}
.block-text h3 + p {
    margin-top: 0.75em;
}
.block-text p + h3 {
    margin-top: 1.5em;
}
.block-text ul {
    padding-left: 2em;
    margin: 0.5em 0;
}


.font-fluid {
    --font-size-desktop-rem: calc(var(--font-size, 1.75) * 1rem);
    
    --font-size-mobile: calc((var(--font-size, 1.75) - 1) * 0.5 + 1);
    --font-size-mobile-rem: calc(var(--font-size-mobile) * 1rem);
    font-size: var(--font-size-mobile-rem);
}
@container page (720px <= width < 1280px) {
    .font-fluid {
        --font-size-fluid: calc(var(--font-size-mobile-rem) + var(--vw-base) * (var(--font-size-desktop-rem) - var(--font-size-mobile-rem)));
        font-size: clamp(var(--font-size-mobile-rem), var(--font-size-fluid), var(--font-size-desktop-rem));
    }
}
@container page (width >= 1280px) {
    .font-fluid {
        font-size: calc(var(--font-size, 1.75) * 1rem);
    }
}

/** =================================================
 *  IMAGE
 */

.block-image {
    position: relative;
    z-index: 0;
    --mb: 0;
    --mt: 0;
    --mb-sm: var(--mb);
    --mt-sm: var(--mt);
    margin-bottom: var(--mb);
    margin-top: var(--mt);
}
@container page (width < 720px) {
    .block-image {
        margin-top: var(--mt-sm, var(--mt));
        margin-bottom: var(--mb-sm, var(--mb));
    }
}
.block-image__image {
    width: auto;
    height: auto;
}
.block-image__decor {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}
.block-image.-clip-round-circles {
    width: 85%;
    overflow: hidden;
    .block-image__clip-container {
        position: relative;
        width: 120%;
        aspect-ratio: 16/11;
    }
    .block-image__clip-wrapper {
        position: relative;
        width: 60%;
        max-width: 60%;
        clip-path: circle(50% at 50% 50%);
        aspect-ratio: 1/1;
        overflow: hidden;
    }
    .block-image__image {
        position: absolute;
        top: 0;
        left: 0;
    }
    .block-image__image.-portrait {
        width: 100%;
        height: auto;
    }
    .block-image__image.-landscape {
        width: auto;
        height: 100%;
        max-width: none;
    }
    .block-image__decor.-circle {
        width: 61.5%;
    }
    .block-image__decor.-circle:nth-child(1) {
        top: 0.4rem;
        left: -0.5em;
    }
    .block-image__decor.-circle:nth-child(3) {
        top: -0.25rem;
        left: 0.2em;
    }
    .block-image__decor.-circle:nth-child(4) {
        top: -0.2rem;
        left: -0.3em;
    }
    .block-image__decor.-connected-circles {
        width: 40%;
        top: 60%;
        left: 45%;
    }
}
.block-image.-full {
    width: 100%;
}
.block-image.-full img:not(.-custom-height) {
    width: 100%;
}

.block-image.-fill-height {
    overflow: hidden;
}
.block-image.-fill-height img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
@container page (width <= 720px) {
    .block-image.-full,
    .block-image.-clip-round-circles {
        max-width: 25rem;
        width: 100%;
        margin-inline: auto;
    }
    .block-image.-clip-round-circles {
        left: 1rem;
    }
    .block-image.-clip-round-circles .block-image__clip-container {
        aspect-ratio: 4/3;
    }
    .block-image.-clip-round-circles .block-image__decor.-connected-circles {
        display: none;
    }
    .block-image.-clip-round-circles .block-image__clip-wrapper {
        width: 70%;
        max-width: 70%;
    }
    .block-image.-clip-round-circles .block-image__decor.-circle {
        width: 72%;
    }
}
@container page (width >= 720px) {
    .block-image.-fill-height {
        width: auto;
        height: 100%;
        align-self: stretch;
        overflow: hidden;
    }
    .block-image.-fill-height img {
        position: absolute;
        top: 0;
        left: 0;
    }
}


/** =================================================
 *  IMAGES
 */


.block-images {
    position: relative;
    width: 100%;
}

.block-images--layout-grid,
.block-images--layout-grid-3 {
    display: grid;
    gap: 1rem;
    grid-auto-flow: dense;
    align-items: stretch;
}
.block-images--layout-grid {
    grid-template-columns: repeat(2, 1fr);
}
.block-images--layout-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.block-images--layout-freeform {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    img {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        position: relative;
        object-fit: cover;
    }
}
.block-images__image-wrapper {
    position: absolute;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 5000rem;

    img {
        object-fit: cover;
    }
    img.-landscape {
        height: 100%;
        width: auto;
    }
    img.-portrait {
        width: 100%;
        height: auto;
    }
}
.block-images__decor {
    position: absolute;
    pointer-events: none;
    scale: 1.01;

    &.-i1 {
        translate: -2% -2%;
    }
    &.-i2 {
        translate: 1% -1%;
    }
    &.-i3 {
        translate: -2% 2%;
    }
}

@container page (width <= 720px) {
    .block-images {
        max-width: 25rem;
        width: 100%;
        margin-inline: auto;
    }
    .block-images--layout-freeform:has(>img.-main-image) {
        aspect-ratio: auto !important;
    }
    .block-images--layout-freeform:has(>img.-main-image) img {
        display: none;
    }
    .block-images--layout-freeform > img.-main-image {
        position: static;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

/** =================================================
 *  TEAM
 */


.layout-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 14.5rem));
    gap: 2rem;
    justify-content: center;
}

.team-member {
    position: relative;
}
.team-member__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    padding: 0.75rem;
    padding-bottom: 0.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}


/** =================================================
 *  TAG-TITLE
 */

.block-tag-title {
    display: block;
    width: max-content;
    padding: 0.3em 1em;
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    background-color: var(--color-t-5);
}

/** =================================================
 *  CARD
 */


.block-card {
    width: 100%;
    min-width: 0;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 3px solid var(--color-t-2);
    background-color: var(--color-t-1);
}
.block-card__image {
    padding: 2rem;
    background-color: #fff;

    &.-borderless {
        padding: 0;
    }
}
.block-card__content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.block-card__text {
    font-weight: 300;
}
.block-card__button {
    align-self: stretch;
}


/** =================================================
 *  QUOTE
 */

.quote {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 0;
    color: var(--color-t-4);
    font-size: 1.75rem;
    font-weight: 400;
    padding-block: 0.75rem;

    strong {
        font-weight: 900;
    }

    &.-align-center {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    &.-align-right {
        align-items: end;
        text-align: right;
    }
    &.-align-left {
        align-items: start;
        text-align: left;
    }
}
.quote__text {
    position: relative;
    margin-top: 0.5em;
    text-wrap: balance;
}
.quote__decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    rotate: 20deg;
    width: 12rem;
    background-color: var(--color-t-2);
    z-index: 0;
}
.quote__source {
    display: block;
    position: relative;
    color: var(--color-g-1);
    font-weight: 300;
    font-size: 1.25rem;
    margin-top: 1.5em;
    font-style: normal;

    &::before {
        content: "— ";
    }
}
.quote__icon {
    width: 3rem;
    height: 3rem;
}

.layout-grid .quote {
    font-size: 1.25rem;
    padding-inline: 1em;
}
.layout-grid .quote__decoration {
    display: none;
}
.layout-grid .quote__source {
    font-size: 1rem;
}

/** =================================================
 *  TESTIMONIAL
 */

.testimonial {
    position: relative;
    font-size: 1.125rem;
    text-align: left;
    font-weight: 300;
    display: flex;
    gap: 1rem;
}
.testimonial__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.testimonial__author {
    display: grid;
    grid-template-columns: 5.375rem 1fr;
    gap: 1rem;
    align-items: center;
}
.testimonial__author-image {
    width: 5.375rem;
    height: 5.375rem;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial__author-name {
    font-weight: 700;
    display: block;
    font-style: normal;
}
.testimonial__icon {
    width: 2.7rem;
    height: 2.7rem;
    color: var(--color-t-4);
}
.testimonial__separator {
    height: 100%;
    width: 1px;
    background-color: var(--color-t-4);
}
@container page (width < 720px) {
    .testimonial {
        padding-top: 3rem;
    }
    .testimonial__icon {
        position: absolute;
        top: 0;
        left: 0;
    }
    .testimonial__separator {
        display: none;
    }
}


/** =================================================
 *  TEASER CARDS
 */


.teaser-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: min-content 1fr;
    box-shadow: var(--shadow-elevation-2);
    background-color: var(--color-t-1);
}
.teaser-card__title, 
.teaser-card__text {
    margin: 0;
    padding: 1rem;
    padding-inline: 1.45rem;
}
.teaser-card__title {
    font-size: 1.375rem;
    color: var(--color-t-5);
    line-height: 1.3;
    &.-colored {
        background-color: var(--color-t-2);
    }
}
.teaser-card__text {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--color-g-1);
    font-weight: 300;
    display: flex;
    flex-direction: column;
}
.teaser-card__title:not(.-colored) + .teaser-card__text {
    padding-top: 0;
}

.teaser-card__text p + p {
    margin-top: 1em;
}
.teaser-card__text a:last-child {
    text-decoration: none;
    color: var(--color-t-5);
    font-weight: 700;
}
.teaser-card__text p:has(+ p:last-child) {
    margin-bottom: auto;
}

.teaser-card > *:first-child {
    margin-top: 0;
}
.teaser-card > *:first-child:not(.-colored) {
    padding-top: 2rem;
}
.teaser-card > *:last-child {
    margin-bottom: 0;
    padding-bottom: 1.75rem;
}


.teaser-card__text ul {
    list-style-type: none;
    padding-left: 0;
}
.teaser-card__text ul li {
    padding: 0.5rem 0;
}
.teaser-card__text ul li + li {
    border-top: 1px solid #E1EEF0;
}


/** =================================================
 *  BUTTONS
 */

.buttons-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/** =================================================
 *  VIDEO
 */

.block-video {
    position: relative;
    width: 100%;
    box-shadow: var(--shadow-elevation-2);
    border-radius: 0.5rem;
    overflow: hidden;
}
.block-video__video {
    width: 100%;
} 


/** =================================================
 *  HEADER
 */


.layout-header {
    position: relative;
    overflow: hidden;
    z-index: 0;
    padding-inline: 1.5rem;
    padding-top: 16svw;
    padding-bottom: 10svw;
}
.layout-header__content {
    position: relative;
    z-index: 0;
    display: grid;
    max-width: var(--container-width-inside);
    container-type: inline-size;
    margin-inline: auto;
}

.layout-header__squircle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
    background-color: var(--squircle-color, var(--color-t-1));
}

.layout-header__main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: start;
}
.layout-header__secondary {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    align-self: end;
    gap: 1.25rem;
}

.layout-header__title {
    position: relative;
    font-weight: 700;
    line-height: 1.2;
}
.layout-header__intro-text {
    line-height: 1.3;
    font-size: 1.25rem;
    font-weight: 300;
    p {
        text-wrap: balance;
    }
}
.layout-header__page-title {
    font-family: var(--font-family-playfair);
    color: var(--color-t-4);
}
.layout-header__image-right {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--w, 45cqw);
}
.layout-header__image-left {
    position: absolute;
    z-index: 0;
}
.layout-header__button {
    /* font-size: 1.56vw; */
    font-size: 1.884cqw;
}


.layout-header--main .layout-header__image-right {
    width: var(--w, 45cqw);
}
.layout-header--main .layout-header__content {
    height: 100%;
}
.layout-header--main .layout-header__squircle {
    width: 72%;
    rotate: -18deg;
    translate: -25% -42%;
    /* transition: translate 500ms ease-out, rotate 500ms ease-out; */
}
.layout-header__squircle-2 {
    position: absolute;
    z-index: 0;
    background-color: var(--color-t-1);
}
.layout-header--main .layout-header__title {
    max-width: 10ch;
    line-height: 1.2;
    font-weight: 800;
}
@container page (width < 720px) {
    .layout-header--main {
        padding-top: 7.5rem;
        padding-bottom: 4rem;
    }
    .layout-header--main .layout-header__content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .layout-header--main .layout-header__title {
        font-size: 2.85rem;
        font-size: 18cqw;
    }
    .layout-header--main .layout-header__intro-text {
        margin-top: 5rem;
        margin-bottom: 0.5rem;
        line-height: 1.5;
        font-size: 1.5rem;
    }
    .layout-header--main .layout-header__image-right {
        display: none;
    }
    .layout-header--main .layout-header__image-left {
        right: 0;
        left: auto;
        bottom: auto;
        top: 11rem;
        top: 71cqw;
        width: auto;
        max-height: 5rem;
    }
    .layout-header--main .layout-header__squircle {
        transform-origin: bottom right;
        width: 150svw;
        rotate: -5deg;
        translate: -30% -100%;
        top: 13rem;
        top: 75cqw;
    }
}
@container page (width >= 720px) {
    .layout-header--main {
        padding-inline: 8svw;
    }
    .layout-header--main .layout-header__content {
        grid-template-columns: 3fr 2fr;
        gap: 11%;
    }
    .layout-header--main .layout-header__title {
        font-size: 4.875rem;
        font-size: 7.38cqw;
    }
    .layout-header--main .layout-header__intro-text {
        font-size: 2rem;
        font-size: 3.02cqw;
        margin-top: 1.5rem;
    }
    .layout-header--main .layout-header__secondary {
        gap: 2.1cqw;
    }
    .layout-header--main .layout-header__image-left {
        bottom: 0;
        right: 52%;
        width: 18%;
    }
}
@container page (720px <= width < 1280px) {
    .layout-header--main {
        padding-top: 13svw;
        padding-bottom: 9svw;
        aspect-ratio: 16/9;
        max-height: 45rem;
    }
}
@container page (width >= 1280px) {
    .layout-header--main {
        height: 45rem;
        padding-top: 10.35rem;
        padding-bottom: 7.2rem;
    }
}



.layout-header--sub .layout-header__intro-text {
    line-height: 1.4;
}

@container page (width < 720px) {
    .layout-header--sub {
        padding-top: 30cqw;
        padding-bottom: 5rem;
    }
    .layout-header--sub .layout-header__content {
        grid-template-columns: minmax(0, 1fr);
    }
    .layout-header--sub .layout-header__title {
        font-size: 2.5rem;
        font-size: 11cqw;
    }
    .layout-header--sub .layout-header__intro-text {
        font-size: 1.75rem;
        font-size: 7.75cqw;
        margin-top: 12cqw;
    }
    .layout-header--sub .layout-header__image-left {
        display: none;
    }
    .layout-header--sub .layout-header__image-right {
        position: static;
        width: 100%;
        max-width: 25rem;
        margin-top: 1.5rem;
    }
    .layout-header__page-title {
        font-size: 2.5rem;
        text-wrap: balance;
        margin-top: 2rem;
    }
    .layout-header--sub .layout-header__squircle {
        translate: -30% -36%;
        width: 140%;
        rotate: -38deg;
    }
}
@container page (width >= 720px) {
    .layout-header--sub {
        max-height: 50rem;
    }
    .layout-header--sub .layout-header__content {
        grid-template-columns: 3fr 2fr;
        gap: 8svw;
        gap: 11svw;
        height: 100%;
    }
    .layout-header--sub .layout-header__secondary {
        gap: 2.1cqw;
    }
    .layout-header--sub .layout-header__title {
        font-size: 2.5rem;
        font-size: 3.75cqw;
        line-height: 1.3;
    }
    .layout-header--sub .layout-header__intro-text {
        font-size: 2.61cqw;
        margin-top: 1cqw;
    }
    .layout-header--sub .layout-header__image-left {
        bottom: -6cqw;
        left: 0;
        width: 31%;
    }
    .layout-header__page-title {
        position: absolute;
        bottom: 0;
        right: 0;
        font-size: 4.69cqw;
    }
    .layout-header--sub .layout-header__squircle {
        translate: -26% -45%;
        width: 80%;
        rotate: -5deg;
        /* transition: transform 500ms ease-out; */
    }
}
@container page (720px <= width < 1280px) {
    .layout-header--sub {
        padding-top: 12svw;
        padding-inline: 7.75svw;
        padding-bottom: 5svw;
        aspect-ratio: 16/10;
    }
    
}
@container page (width >= 1280px) {
    .layout-header--sub {
        height: 50rem;
        padding-top: 9.5625rem;
        padding-bottom: 4rem;
        padding-inline: 2rem;
    }
    .layout-header--sub .layout-header__content {
        gap: 8.9rem;
    }
}






.layout-header--picture .layout-header__image-left {
    left: 0;
    width: 15cqw;
    bottom: 0cqw;
}
.layout-header__subtitle {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-family-playfair);
}
.layout-header--picture .layout-header__image-right {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-top-left-radius: 7svw;
    border-bottom-right-radius: 7svw;
    object-fit: cover;
}

@container page (width < 720px) {
    .layout-header--picture {
        padding-top: 6rem;
    }
    .layout-header--picture .layout-header__content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .layout-header--picture .layout-header__title {
        font-size: 3rem;
    }
    .layout-header--picture .layout-header__intro-text {
        padding-top: 0.5rem;
        font-size: 1.75rem;
    }
    .layout-header--picture .layout-header__subtitle {
        grid-column: auto;
    }
    .layout-header--picture .layout-header__image-left {
        display: none;
    }
    .layout-header--picture .layout-header__image-right {
        margin-top: 2rem;
    }
    .layout-header--picture .layout-header__squircle {
        width: 110%;
        rotate: -32deg;
        top: 0;
        translate: -16% -36%;
    }
    .layout-header__squircle-2 {
        width: 40%;
        rotate: -30deg;
        right: 0;
        bottom: -4cqw;
    }
    .layout-header__subtitle {
        line-height: 1.3;
    }
}
@container page (720px <= width < 1280px) {
    .layout-header--picture {
        aspect-ratio: 16/8;
    }
    .layout-header--picture .layout-header__image-right {
        border-top-left-radius: 7svw;
        border-bottom-right-radius: 7svw;
    }
}
@container page (width >= 720px) {
    .layout-header--picture {
        padding-top: 13svw;
        padding-inline: 9svw;
        padding-bottom: 0;
    }

    .layout-header--picture .layout-header__content {
        grid-template-columns: 7fr 6fr;
        column-gap: 9svw;
        row-gap: 0;
        grid-template-rows: min-content 1fr;
    }
    .layout-header--picture .layout-header__title {
        font-size: 3.75rem;
        font-size: 5.8cqw;
    }
    .layout-header--picture .layout-header__intro-text {
        font-size: 2.8rem;
        font-size: 4.33cqw;
    }
    .layout-header__subtitle {
        position: relative;
        grid-column: 2 / 3;
        padding-top: 0.75rem;
        font-size: 2rem;
        font-size: 3.1cqw; 
        font-weight: 700;
        font-family: var(--font-family-playfair);
    }
    .layout-header--picture .layout-header__squircle {
        width: 40cqw;
        rotate: -23deg;
        top: 50%;
        translate: -55% -60%;
        @starting-style {
            translate: -65% -60%;
            rotate: -30deg;
        }
    }
    .layout-header__squircle-2 {
        width: 20cqw;
        rotate: -30deg;
        right: 0;
        bottom: -4cqw;
    }
}
@container page (width > 1280px) {
    .layout-header--picture {
        padding-top: 10.4rem;
        padding-inline: 7.2rem;
        padding-bottom: 7.25rem;
    }
    .layout-header--picture .layout-header__content {
        column-gap: 7.125rem;
    }
    .layout-header--picture .layout-header__image-right {
        border-top-left-radius: 5.6rem;
        border-bottom-right-radius: 5.6rem;
    }
}






.layout-header--product .layout-header__content {
    grid-template-columns: 2fr 2fr;
}
.layout-header--product .layout-header__squircle {
    width: 48cqw;
    rotate: -19deg;
    top: 0;
    right: 0;
    left: auto;
    translate: 42% -34%;
}
.layout-header__logo {
    width: 100%;
    margin-bottom: 9cqw;
}
.layout-header--product .layout-header__intro-text {
    margin-top: 0.4em;
    line-height: 1.5;
}
.layout-header--product .layout-header__image-right {
    position: relative;
    width: 100%;
}
@container page (width < 720px) {
    .layout-header--product {
        max-height: none;
        padding-top: 7.5rem;
    }
    .layout-header__logo {
        margin-inline: auto;
        width: 80%;
        margin-bottom: 20cqw;
        margin-top: 2cqw;
    }
    .layout-header--product .layout-header__content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .layout-header--product .layout-header__title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    .layout-header--product .layout-header__intro-text {
        margin-top: 0.4em;
    }
}
@container page (width >= 720px) {
    .layout-header--product {
        padding-top: 13svw;
        padding-inline: 9svw;
        padding-bottom: 0;
    }
    .layout-header--product .layout-header__title {
        line-height: 1.3;
        font-size: 3.75cqw;
    }
    .layout-header--product .layout-header__intro-text {
        font-size: 2.61cqw;
        line-height: 1.4;
    }
}
@container page (720px <= width <= 1280px) {
    .layout-header--product {
        aspect-ratio: 16/8;
    }
    .layout-header--product .layout-header__content {
        gap: 10cqw;
    }
    
}
@container page (width >= 1280px) {
    .layout-header--product {
        padding-top: 10.4rem;
        padding-bottom: 4rem;
        padding-inline: 2rem;
        height: 40rem;
    }
    .layout-header--product .layout-header__content {
        gap: 8rem;
    }
}


/** =================================================
 *  LIST
 */

.block-list {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 1.5em;
    row-gap: 2.25em;
}

.block-list__row {
    display: contents;
}

.block-list__image {
    width: 3rem;
    height: 3rem;
    position: relative;
    top: 0.4rem;
}
.block-list__text {
    font-weight: 300;

    h3 {
        font-size: 1em;
        font-weight: 500;
        color: var(--color-t-5);
    }

    h3 + p,
    p + p {
        margin-top: 0.25em;
    }
}

/** =================================================
 *  PROFILE
 */

.block-profile {
    width: 100%;
    position: relative;
    z-index: 0;
    margin-inline: auto;
}
.block-profile.-people-1 {
    padding-right: 5rem;
}
.block-profile.-people-2 {
    max-width: 30rem;
}
.block-profile__person {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.block-profile.-people-1 .block-profile__person {
    flex-direction: column;
}
.block-profile.-people-2 .block-profile__person {
    flex-direction: row;
    justify-content: space-between;
    gap: 1.25rem;
}
.block-profile.-layout-horizontal.-people-1 {
    padding-right: 0;

    .block-profile__person {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: end;
        gap: 1.25rem;
    }
    .block-profile__info {
        width: 100%;
        text-align: left;
    }
    .block-profile__photo {
        width: 11.875rem;
        height: 11.875rem;
    }
    .block-profile__background {
        width: 10rem;
        height: 10rem;
        left: 10rem;
        top: 5%;
    }
}
.block-profile.-layout-vertical.-people-1 {
    display: flex;
    justify-content: center;
}
.block-profile.-people-2 .block-profile__person + .block-profile__person {
    flex-direction: row-reverse;
    margin-top: 1.5rem;
}
.block-profile__photo {
    position: relative;
    width: 12.75rem;
    height: 12.75rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.block-profile.-people-2 .block-profile__photo {
    width: 11.8rem;
    height: 11.8rem;
}
.block-profile__info {
    position: relative;
    color: var(--color-r-5);
    min-width: 0;
}
.block-profile.-people-1 .block-profile__info {
    text-align: center;
}
.block-profile.-people-2 .block-profile__info {
    text-align: left;
}
.block-profile__name {
    font-weight: 600;
}
.block-profile__role {
    font-weight: 300;
}
.block-profile.-people-2 .block-profile__role {
    margin-top: 0.5rem;
}
.block-profile__background {
    position: absolute;
    rotate: -30deg;
    top: 10%;
    bottom: 2%;
    left: 50%;
    translate: -20% 0;
    background-color: var(--color-r-3);
    z-index: 0;
}
.block-profile.-people-2 .block-profile__background {
    width: 14rem;
    rotate: -40deg;
    top: 50%;
    bottom: auto;
    left: 50%;
    translate: -50% -50%;
}
@container page (width <= 720px) {
    .block-profile.-people-1 {
        margin-inline: -1.5rem;
        width: calc(100% + 3rem);
        overflow: hidden;
        padding-bottom: 2rem;
    }
    .block-profile.-people-1 .block-profile__background {
        bottom: 10%;
    }
    .block-profile.-people-1.-layout-vertical {
        padding-right: 1rem;
    }
    .block-profile.-people-2 .block-profile__person {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .block-profile.-people-2 .block-profile__photo {
        width: 9.5rem;
        height: 9.5rem;
    }
    .block-profile.-people-2 .block-profile__role,
    .block-profile.-people-2 .block-profile__name {
        text-align: center;
    }
    .block-profile.-people-2 .block-profile__person + .block-profile__person {
        flex-direction: column;
        align-items: center;
    }
    .block-profile.-people-2 .block-profile__background {
        top: 40%;
        width: 18rem;
    }
}

/** =================================================
 *  CALLOUT
 */

.block-callout {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
}
.block-callout__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.block-callout__icon {
    width: 6.25rem;
    height: 6.25rem;
}
.block-callout__text {
    text-align: center;
    font-size: 2rem;
    color: var(--color-t-5);
}
.block-callout__text strong {
    font-weight: 900;
}
.block-callout__background {
    --w: 70%;
    --g: calc((100% - var(--w)) / 2 / var(--w) * 100%);
    position: absolute;
    z-index: 0;
    width: var(--w);
    left: 50%;
    top: 50%;
    translate: calc(-50% + (var(--x) - 50) / 100 * var(--g)) calc(-50% + (var(--y) - 50) / 100 * var(--g));
}


/** =================================================
 *  REFERENCES GRID
 */

.references-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 14.5rem));
    align-items: stretch;
    gap: 2rem;
    justify-content: center;
}
.references-grid__item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    border: 1px solid var(--color-t-3);
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    transition: border-color 80ms ease-out, box-shadow 100ms ease-out;

    &:hover {
        border-color: var(--color-t-4);
        box-shadow: var(--shadow-elevation-1);
    }
}
.references-grid__image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;

    &.-landscape {
        width: 80%;
        height: auto;
    }
    &.-portrait {
        width: auto;
        height: 80%;
    }
}

.reference-details {
    text-align: left;
    font-size: 1.375rem;
    display: none;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}
@container page (width < 720px) {
    .reference-details {
        align-items: end;
    }
}
.reference-details.-open {
    display: flex;
}
.reference-details__backdrop {
    position: absolute;
    border: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 300ms ease-out;
    @starting-style {
        background-color: rgba(0, 0, 0, 0);
    }
}
.reference-details__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 7rem auto;
    gap: 5rem;
    row-gap: 3rem;
    background-color: #fff;
    padding: 3rem;
    border-radius: 0.5rem;
    width: 72rem;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    overscroll-behavior: contain;
    transition: opacity 200ms ease-out, translate 200ms ease-out;
    @starting-style {
        opacity: 0;
        translate: 0 2rem;
    }
}
@container page (width >= 720px) {
    .reference-details__panel {
        grid-template-columns: minmax(0, 1fr) 2fr;
        grid-template-rows: min-content;
    }
}
.reference-details__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: none;
}
.reference-details__name {
    font-size: 1.75rem;
    font-weight: 600;
}
.reference-details__description {
    font-size: 1.25rem;
}
.reference-details__image {
    align-self: start;
    justify-self: start;
    max-height: 7rem;
    width: auto;
    max-width: 100%;
}
@container page (width < 720px) {
    .reference-details__image {
        margin-inline: auto;
    }
}
@container page (width >= 720px) {
    .reference-details__image {
        height: auto;
        max-height: 100%;
        max-width: 100%;
    }
}

.reference-details__prev,
.reference-details__next {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-t-2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 150ms ease-out;

    &:hover:not(:disabled) {
        background-color: var(--color-t-3);
    }
}
.reference-details__prev {
    left: 1.25rem;
}
.reference-details__next {
    right: 1.25rem;
}
@container page (width < 720px) {
    .reference-details__prev {
        top: 80%;
        left: 0.5rem;
    }
    .reference-details__next {
        top: 80%;
        right: 0.5rem;
    }
}


/** =================================================
 *  DECORATIONS
 */

.squircle {
    aspect-ratio: 1/1;
    clip-path: url(#squircle-clip);

    @supports (corner-shape: superellipse(1.9)) {
        corner-shape: superellipse(1.9);
        border-radius: 50%;
    }

    &.-secondary,
    &.-red {
        background-color: var(--color-r-3);
    }
    &.-primary,
    &.-blue {
        background-color: var(--color-t-2);
    }
    &.-primary-light {
        background-color: var(--color-t-1);
    }
    &.-white {
        background-color: #fff;
    }
    &.-simcision-blue {
        background-color: var(--color-simcision-blue-light);
    }
    &.-sustain-green {
        background-color: var(--color-sustain-green-light);
    }
}

.heading__decoration--squircle-primary-left {
    position: absolute;
    left: 0;
    translate: -40% 0;
    top: -0.25em;
    bottom: -0.25em;
    background-color: var(--color-t-1);
    rotate: -30deg;
    z-index: -1;
}
.heading__decoration--squircle-white-right {
    position: absolute;
    right: 0;
    translate: 40% 0;
    top: -0.25em;
    bottom: -0.25em;
    background-color: #fff;
    rotate: -30deg;
    z-index: -1;
}


.decoration--squircle-left {
    left: 0;
    translate: -40% 0;
    top: -1rem;
    bottom: -1rem;
    rotate: -30deg;
    z-index: 0;
}
@container page (width > 720px) {
    .decoration--squircle-left {
        left: 0;
        translate: 0 0;
        top: -1rem;
        bottom: -1rem;
        rotate: -30deg;
        z-index: 0;
    }
}
.decoration--squircle-left-offset {
    left: 0;
    translate: -30% 0;
    top: -1rem;
    bottom: -1rem;
    rotate: -30deg;
    z-index: 0;
}
.decoration--squircle-right {
    right: 2em;
    translate: 0 0;
    top: 2rem;
    width: 13rem;
    max-width: 45%;
    rotate: -18deg;
    z-index: 0;
}
.decoration--squircle-left-center {
    left: 0;
    translate: 0 -60%;
    top: 50%;
    width: 10rem;
    rotate: -30deg;
    z-index: 0;
}
.decoration--squircle-right-center {
    right: 0;
    translate: 0 -55%;
    top: 50%;
    width: 7.5rem;
    rotate: -30deg;
    z-index: 0;
}
.decoration--squircle-left-mid {
    left: 0;
    translate: 0 0;
    top: 0;
    width: 65%;
    rotate: -15deg;
    z-index: 0;
}
@container page (width > 720px) {
    .layout-column:has(.decoration--squircle-left) {
        padding-left: min(20%, 6em);
    }
}
.layout-column:has(.decoration--squircle-right) {
    padding-right: 2em;
}
.layout-column:has(.decoration--squircle-left-center) {
    padding-left: 5em;
}
.layout-column:has(.decoration--squircle-left-mid) {
    padding-left: 3em;
}

.decoration {
    position: absolute;
}
.decoration img {
    position: relative;
}
.decoration.-top-right {
    top: 0;
    right: 0;
}
.decoration.-bottom-left {
    bottom: 0;
    left: 0;
}
.decoration.-top-left {
    top: 0;
    left: 0;
}
.decoration.-bottom-right {
    bottom: 0;
    right: 0;
}
.decoration.-right {
    right: 0;
}
.decoration.-left {
    left: 0;
}
.decoration.-top {
    top: 0;
}
.decoration.-bottom {
    bottom: 0;
}
.decoration.-center {
    top: 50%;
    translate: 0 -50%;
}

.decoration.connected-circles-1 img {
    width: 9.125rem;
    max-width: 30svw;
}
.decoration.connected-circles-2 img {
    width: 10rem;
    max-width: 30svw;
}

/** =================================================
 *  SEPARATORS
 */

.separator {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.separator__line {
    width: 100%;
    height: 12px;
    background-image: url("../images/line.png");
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    border: none;
}
.separator__images {
    display: flex;
    width: max-content;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    flex-shrink: 0;
}
.separator__image {
    width: auto;
    height: 5rem;
    flex-shrink: 0;
}
@container page (width <= 720px) {
    .separator__images {
        flex-direction: column;
        align-items: center;
    }
}
