.diamondAlineaSection {
    height: 47rem;
    display: flex;
    flex-direction: row;
    margin-right: calc(var(--small-left-outline) - 3rem);;
    margin-bottom: 8rem;
}

.diamondAlineaSection .rectangle {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(23deg);
    width: 604px;
    height: 710px;
    
}

.diamondAlineaSection .rectangle > img {
    width: 400px;
    height: 600px;
    object-fit: cover;
    transform: rotate(-23deg);
}

.diamondAlineaSection > .split-page:first-child  {
    width: 75%;
    margin-left: var(--small-left-outline);
    display: flex;
    align-items: center;
    justify-content: end;
}

.diamondAlineaSection > .split-page:nth-child(2)  {
    margin-left: calc(var(--small-left-outline) - 3rem);;
}

.diamondAlineaSection > .split-page > .textLocation  {
    margin-bottom: 10rem;
}

.tableAlineaSection > .entire-block{
    margin: 0 var(--small-left-outline);
}

.tableAlineaSection .alineas {
    display: grid;
    row-gap: 2rem;
    column-gap: 4rem;
}

.tableAlineaSection .alineas,
.tableAlineaSection .subtitle {
    font-size: 19px;
}

.tableAlineaSection .space-between {
    display: flex;
    justify-content: space-between;
}

.tableAlineaSection .single-alinea {
    border-radius: 4px;
}

.floatingAlineaSection {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.floatingAlineaSection  > .entire-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floatingAlineaSection > .entire-block>.title.width-default,
.floatingAlineaSection > .entire-block.width-default {
    max-width: 40rem;
}
.floatingAlineaSection > .entire-block>.title.width-wider,
.floatingAlineaSection > .entire-block.width-wider {
    max-width: 55rem;
}
.floatingAlineaSection > .entire-block>.title.width-wider-plus,
.floatingAlineaSection > .entire-block.width-wider-plus {
    max-width: 67rem;
}
.floatingAlineaSection > .entire-block>.title.width-widest,
.floatingAlineaSection > .entire-block.width-widest {
    max-width: 70rem;
}
.floatingAlineaSection > .entire-block>.title.width-more-widest,
.floatingAlineaSection > .entire-block.width-more-widest {
    max-width: 80rem;
}

.solidAlineaRowSection {
    display: flex;
    gap: 1rem;
    padding: calc(var(--small-left-outline) / 3);
    justify-content: space-between;
}

.solidAlineaRowSection.align-left {
    flex-direction: row-reverse;
    padding-right: var(--small-left-outline);
}

.solidAlineaRowSection.align-right {
    flex-direction: row;
    padding-left: var(--small-left-outline);
}

.solidAlineaRowSection > .photo-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.solidAlineaRowSection > .photo-container > img {
    width: 300px;
    height: 450px;
    object-fit: cover;
}

.solidAlineaRowSection > .text-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.solidAlineaRowSection > .text-container > .textLocation {
    max-width: 700px;
}

.solidAlineaRowSection > .text-container > .textLocation.align-left {
    text-align: end;
}

.floatingModalAlineaSection {
    @media (max-width: 799px) {
        /* --bp-contact */
        --fs-subheading: var(--fs-subheading-m);
        --fs-body: var(--fs-body-m);
        --fs-button: var(--fs-button-m);
    }
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.floatingModalAlineaSection > .outline-block {
    box-sizing: border-box;
    width: calc(var(--d) * 1247);
    min-height: calc(var(--d) * 457);
    border-radius: calc(var(--d) * 59);
    border: 5px solid;
    @media (max-width: 799px) {
        /* --bp-contact */
        width: calc(var(--m) * 378);
        min-height: 0;
        border-radius: calc(var(--m) * 38);
        border-width: 3px;
    }
}

.floatingModalAlineaSection > .outline-block > .entire-block{
    padding: calc(var(--d) * 96) calc(var(--d) * 80) calc(var(--d) * 86);
    display: flex;
    flex-direction: column;
    align-items: center;
    span {
        display: block;
        max-width: calc(var(--d) * 900);
        font-size: var(--fs-body);
        line-height: var(--lh-body);
    }
    .button-link {
        width: auto;
        margin-top: calc(var(--fs-body) * 1.86);
    }
    .button {
        width: calc(var(--d) * 398);
        height: calc(var(--d) * 69);
        padding: 0;
        font-size: var(--fs-button);
    }
    @media (max-width: 799px) {
        /* --bp-contact */
        padding: calc(var(--m) * 25) calc(var(--m) * 16) calc(var(--m) * 24);
        span {
            max-width: calc(var(--m) * 340);
        }
        .button-link {
            margin-top: calc(var(--fs-body) * 1.14);
        }
        .button {
            width: calc(var(--m) * 198);
            height: calc(var(--m) * 28);
        }
    }
}

.floatingModalAlineaSection {
    .title {
        margin: 0;
    }
}

.floatingModalAlineaSection .title.small {
    font-size: var(--fs-subheading);
    font-weight: 600;
    line-height: 1.2;
    text-wrap: balance;
    margin-bottom: 0.47em;
    @media (max-width: 799px) {
        /* --bp-contact */
        margin-bottom: 0.3em;
    }
}

/* ==========================================================================
   alineaSectionWithImageAndButton  (homepage: "Hoi! Ik ben Lianne")W
   ========================================================================== */
#main > section.alineaSectionWithImageAndButton {
    display: block;
    @media (max-width: 1023px) {
        /* --bp-about */
        --fs-heading: var(--fs-heading-m);
        --fs-body: var(--fs-body-m);
        --fs-button: var(--fs-button-m);
        --lh-heading: var(--lh-heading-m);
    }
    margin-bottom: calc(var(--d) * 292);
    @media (max-width: 1023px) {
        /* --bp-about */
        margin-bottom: calc(var(--m) * 70);
    }
}

.alineaSectionWithImageAndButton > .split-box {
    align-items: flex-start;
    gap: calc(var(--d) * 48);
    margin-left: calc(var(--d) * 533);
    > * {
        flex: none;
    }
    .photo-container > img {
        display: block;
        box-sizing: border-box;
        width: calc(var(--d) * 400);
        height: calc(var(--d) * 600);
        object-fit: cover;
        border: calc(var(--d) * 5) solid;
    }
    .text-container {
        width: calc(var(--d) * 560);
        margin-top: calc(var(--d) * 50);
    }
    .textLocation {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .title {
        font-size: var(--fs-heading);
        line-height: var(--lh-heading);
        text-wrap: balance;
        margin: 0 0 0.26em;
    }
    span {
        font-size: var(--fs-body);
        line-height: var(--lh-body);
    }
    .extra-spacing-bottom {
        margin-bottom: calc(var(--fs-body) * 1.6);
    }
    .button-link {
        width: auto;
    }
    .button {
        width: calc(var(--d) * 330);
        height: calc(var(--d) * 69);
        padding: 0;
        font-size: var(--fs-button);
    }
    @media (max-width: 1023px) {
        /* --bp-about */
        gap: calc(var(--m) * 21);
        margin-left: calc(var(--m) * -11);
        .photo-container > img {
            width: calc(var(--m) * 171);
            height: calc(var(--m) * 257);
            border-width: calc(var(--m) * 3);
        }
        .text-container {
            width: calc(var(--m) * 210);
            margin-top: calc(var(--fs-heading) * -0.12);
        }
        .title {
            margin-bottom: 0.17em;
        }
        .button {
            width: calc(var(--m) * 198);
            height: calc(var(--m) * 28);
        }
    }
}

/* ==========================================================================
   alineaSectionWithImageWithoutButton  (over mij: "Hi, ik ben Lianne")
   Desktop: square photo left, right-aligned text right of it.
   Mobile:  heading centred on top, photo bleeds off the left edge,
            left-aligned text beside it.
   ========================================================================== */
#main > section.alineaSectionWithImageWithoutButton {
    display: block;
    @media (max-width: 599px) {
        /* --bp-about-intro */
        --fs-heading: var(--fs-heading-m);
        --fs-body: var(--fs-body-m);
        --lh-heading: var(--lh-heading-m);
        /* one design px of the 412 design, but growing along with the body
           text instead of the viewport: once the text stops growing the
           photo does too, so the text stays as tall as the photo */
        --iu: calc(var(--fs-body) / 13.2);
    }
    margin-top: calc(var(--d) * 236);
    margin-bottom: calc(var(--d) * 146);
    @media (max-width: 599px) {
        /* --bp-about-intro */
        margin-top: calc(var(--m) * 30);
        margin-bottom: calc(var(--m) * 70);
    }
}

.alineaSectionWithImageWithoutButton > .split-box {
    align-items: center;
    gap: calc(var(--d) * 38);
    margin-left: calc(var(--d) * 183);
    > * {
        flex: none;
    }
    .photo-container > img {
        display: block;
        box-sizing: border-box;
        width: calc(var(--d) * 619);
        height: calc(var(--d) * 619);
        object-fit: cover;
        border: calc(var(--d) * 5) solid;
    }
    .text-container {
        width: max(calc(var(--d) * 680), calc(var(--fs-body) * 19));
    }
    .textLocation {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
    }
    .title {
        font-size: var(--fs-heading);
        line-height: var(--lh-heading);
        margin: 0 0 0.3em;
    }
    span {
        font-size: var(--fs-body);
        line-height: var(--lh-body);
    }
    @media (max-width: 599px) {
        /* --bp-about-intro */
        display: grid;
        grid-template-columns: calc(var(--iu) * 175) 1fr;
        grid-template-areas:
            "title title"
            "photo text";
        column-gap: calc(var(--iu) * 17);
        row-gap: calc(var(--m) * 11);
        align-items: start;
        margin-left: 0;
        .text-container,
        .textLocation {
            display: contents;
        }
        .title {
            grid-area: title;
            text-align: center;
            margin: 0;
        }
        span {
            grid-area: text;
            text-align: left;
            margin-right: calc(var(--m) * 18);
            /* first line level with the top of the photo */
            margin-top: calc(var(--fs-body) * -0.45);
        }
        .photo-container {
            grid-area: photo;
            overflow: hidden;
            > img {
                width: calc(var(--iu) * 273);
                height: calc(var(--iu) * 273);
                margin-left: calc(var(--iu) * -98);
                border-width: calc(var(--iu) * 3);
            }
        }
    }
}

/* ==========================================================================
   specificallyArrangedTripleCubesOfAlineasSection  (over mij: "Mijn werkwijze")
   Desktop: dark green block left (text1), text2 top right, light green
            block (text3) overlapping the bottom of the dark green block.
   Mobile:  dark green block, light green block overlapping its bottom
            right corner, text2 underneath.
   ========================================================================== */
#main > section.specificallyArrangedTripleCubesOfAlineasSection {
    @media (max-width: 767px) {
        /* --bp-about-method */
        --fs-heading: var(--fs-heading-m);
        --fs-body: var(--fs-body-m);
        --lh-heading: var(--lh-heading-m);
    }
    margin-bottom: calc(var(--d) * 318);
    @media (max-width: 767px) {
        /* --bp-about-method */
        margin-bottom: calc(var(--m) * 100);
    }
}

.specificallyArrangedTripleCubesOfAlineasSection {
    .title {
        font-size: var(--fs-heading);
        line-height: var(--lh-heading);
        margin: 0 0 0.5em;
    }
    span {
        display: block;
        font-size: var(--fs-body);
        line-height: var(--lh-body);
    }

    > .row {
        display: flex;
        flex-direction: row;
        text-align: left;
    }
    > .row > .column {
        display: flex;
        flex-direction: column;
    }
    > .row > .column:first-child {
        flex: none;
        box-sizing: border-box;
        width: calc(var(--d) * 1090);
        min-height: calc(var(--d) * 703);
        padding: calc(var(--d) * 110) calc(var(--d) * 80) calc(var(--d) * 110) calc(var(--d) * 140);
        > .sub-row {
            max-width: calc(var(--d) * 640);
        }
    }
    > .row > .column:nth-child(2) {
        flex: 1;
        min-width: 0;
    }
    .sub-row.secondary {
        box-sizing: border-box;
        min-height: calc(var(--d) * 252);
        padding: calc(var(--d) * 118) calc(var(--d) * 83) calc(var(--d) * 30) calc(var(--d) * 51);
    }
    .sub-row.tertiary {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        min-height: calc(var(--d) * 255);
        margin-left: calc(var(--d) * -276);
        padding: calc(var(--d) * 60) calc(var(--d) * 80);
        > span {
            max-width: calc(var(--d) * 610);
        }
    }

    @media (max-width: 767px) {
        /* --bp-about-method */
        .title {
            margin-bottom: 0.1em;
        }
        > .row {
            flex-direction: column;
        }
        > .row > .column:first-child {
            width: calc(var(--m) * 381);
            min-height: 0;
            /* the light green block covers the bottom 103 design px */
            padding: calc(var(--m) * 30) calc(var(--m) * 31) calc(var(--m) * 113);
            > .sub-row {
                max-width: none;
            }
        }
        > .row > .column:nth-child(2) {
            display: contents;
        }
        .sub-row.tertiary {
            order: 1;
            /* always reaches below the dark green block (136 - 103 = 33) */
            min-height: calc(var(--m) * 136);
            margin: calc(var(--m) * -103) 0 0 calc(var(--m) * 101);
            padding: calc(var(--m) * 20) calc(var(--m) * 18) calc(var(--m) * 20) calc(var(--m) * 22);
            > span {
                max-width: none;
            }
        }
        .sub-row.secondary {
            order: 2;
            min-height: 0;
            margin: calc(var(--m) * 22) calc(var(--m) * 31) 0 calc(var(--m) * 32);
            padding: 0;
            > span {
                font-size: calc(var(--fs-body) * 13 / 15);
                line-height: 1.46;
            }
        }
    }
}

/* ==========================================================================
   over mij quote (floatingAlineaSection with class "about-quote")
   ========================================================================== */
#main > section.about-quote {
    @media (max-width: 767px) {
        /* --bp-about-quote */
        --fs-quote: var(--fs-quote-m);
        --fs-body: var(--fs-body-m);
    }
    margin-bottom: calc(var(--d) * 434);
    @media (max-width: 767px) {
        /* --bp-about-quote */
        margin-bottom: calc(var(--m) * 140);
    }

    > .entire-block {
        max-width: max(calc(var(--d) * 1440), calc(var(--fs-quote) * 26));
        padding: 0 calc(var(--d) * 40);
        @media (max-width: 767px) {
            /* --bp-about-quote */
            max-width: calc(var(--m) * 371);
            padding: 0;
        }
    }
    .title {
        font-size: var(--fs-quote);
        font-weight: 500;
        line-height: 1.42;
        text-wrap: balance;
        margin: 0 0 0.6em;
        @media (max-width: 767px) {
            /* --bp-about-quote */
            line-height: 1.4;
            margin-bottom: 0.3em;
        }
    }
    span {
        max-width: max(calc(var(--d) * 1200), calc(var(--fs-body) * 44));
        font-size: var(--fs-body);
        line-height: var(--lh-body);
        text-wrap: balance;
        @media (max-width: 767px) {
            /* --bp-about-quote */
            font-size: calc(var(--fs-body) * 14 / 15);
            line-height: 1.43;
        }
    }
}

/* ==========================================================================
   portfolio intro (floatingAlineaSection with class "portfolio-intro")
   ========================================================================== */
#main > section.portfolio-intro {
    @media (max-width: 767px) {
        /* --bp-portfolio */
        --fs-heading: var(--fs-heading-m);
        --fs-body: var(--fs-body-m);
        --lh-heading: var(--lh-heading-m);
    }
    margin-top: calc(var(--d) * 116);
    margin-bottom: calc(var(--d) * 187);
    @media (max-width: 767px) {
        /* --bp-portfolio */
        margin-top: calc(var(--m) * 24);
        margin-bottom: calc(var(--m) * 39);
    }

    > .entire-block {
        max-width: max(calc(var(--d) * 760), calc(var(--fs-body) * 34));
        @media (max-width: 767px) {
            /* --bp-portfolio */
            max-width: calc(var(--m) * 310);
        }
    }
    .title {
        font-size: var(--fs-heading);
        line-height: var(--lh-heading);
        margin: 0 0 0.6em;
    }
    span {
        font-size: var(--fs-body);
        line-height: var(--lh-body);
    }
}

/* ==========================================================================
   contact intro (floatingAlineaSection with class "contact-intro")
   ========================================================================== */
#main > section.contact-intro {
    @media (max-width: 599px) {
        /* --bp-contact-form */
        --fs-heading: var(--fs-heading-m);
        --fs-body: var(--fs-body-m);
        --lh-heading: var(--lh-heading-m);
    }
    margin-top: calc(var(--d) * 116);
    margin-bottom: calc(var(--d) * 100);
    @media (max-width: 599px) {
        /* --bp-contact-form */
        margin-top: calc(var(--m) * 24);
        margin-bottom: calc(var(--m) * 62);
    }

    > .entire-block {
        /* never wider than the contact form box below it */
        max-width: min(max(calc(var(--d) * 830), calc(var(--fs-body) * 37)), calc(100vw - var(--d) * 480));
        @media (max-width: 599px) {
            /* --bp-contact-form */
            max-width: calc(var(--m) * 316);
        }
    }
    .title {
        font-size: var(--fs-heading);
        line-height: var(--lh-heading);
        margin: 0 0 0.6em;
    }
    span {
        font-size: var(--fs-body);
        line-height: var(--lh-body);
    }
}
