*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role='list'],ol[role='list']{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1.1}
h1,h2,h3,h4{text-wrap:balance; font-size:1em;}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture,video{max-width:100%;display:block;height:auto}input,button,textarea,select{font:inherit}textarea:not([rows]){min-height:10em}
h1, h2, h3, h4, h5, h6{ font-weight: normal; }
h1, h2, h3, h4, h5, h6, p, ul, ol{  margin: 0; padding: 0; }


@font-face {
    font-family: "droulers";
    src: url('/assets/droulers_regular.woff2') format('woff2');
    font-style: normal;
}

@font-face {
    font-family: "droulers";
    src: url('/assets/droulers_italic.woff2') format('woff2');
    font-style: italic;
}

@font-face {
    font-family: "graebenbach";
    src: url('/assets/graebenbach-regular.woff2') format('woff2');
    font-style: italic;
}

@property --header-padding {
    initial-value: 0;
    inherits: true;
    syntax: "<length>";
}

*{
    box-sizing: border-box;
}

html{
    --bg: #F6F4EB;
    --page-margin: 10rem;
    --page-padding: 1.25rem;

    --header-padding: 2rem;
    --delay-steps: 0.5s;

    @media (width <= 50rem){
        --page-margin: 9rem;
        --header-padding: 1rem;
    }

    @media (width <= 31rem) {
        --page-margin: 7rem;
    }

    &:has(dialog[open]), &:has(.open-nav){
        overflow: hidden;
    }
}


body{
    font-family: "droulers", sans-serif;
    line-height: 1.2;
    letter-spacing: 0.01em;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    background-color: var( --bg );
}

a {
    cursor: pointer;
    text-underline-offset: 0.25em;

    &:link, &:visited, &:hover, &:active{
        color: inherit;
    }
}

#skip-to-content-link {
    position: fixed;
    top: 0;

    background: black;
    color: white;
    left: 50%;
    padding: 8px;

    transform: translate(-50%, -150%);
    transition: transform 0.3s;
    z-index: 100;

    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;

    &:focus {
        transform: translate(-50%, 0);
    }
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

header{
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;

    padding: var( --header-padding ) var( --page-padding );

    .logo{
        position: absolute;
        top: var(--header-padding);
        left: 50%;
        translate: -50% -40%;

        @media (width <= 50rem){
            translate: -50% -20%;
        }

        @media (width <= 37rem){
            translate: -50% -30%;
        }

        svg{
            height: 3.5rem;
            width: auto;
            display: block;

            @media (width <= 37rem){
                height: 2.5rem;
            }
        }
    }

    ul{
        display: grid;
        grid-template-columns: auto auto auto 1fr;
        list-style-type: "";
        gap: 5ch;

        li:last-child{
            text-align: right;
        }

        a[aria-current="page"]{
            font-style: italic;
        }
    }

    a{
        text-decoration: none;

        &:hover{
            font-style: italic;
        }
    }
}

@keyframes show-header {
    0%{ opacity: 0; }
    100%{ opacity: 1; }
}

#main-header{
    margin-bottom: -5.2rem;
    transition: background-color 0.2s ease-out;

    @media (width <= 64rem){
        margin-bottom: calc( var( --header-padding ) * -2);
        min-height: 5rem;
    }

    @media (width <= 50rem){
        min-height: 4.5rem;
    }

    @media (width <= 37rem){
        min-height: 3.25rem;
    }

    .show-intro &{
        opacity: 0;
        animation-name: show-header;
        animation-duration: 1s;
        animation-fill-mode: forwards;
        animation-delay: var( --delay, 0s );
    }

    .logo{
        z-index: 2;
    }

    body:has(dialog[open]) &{
        .logo{
            opacity: 0;
        }
    }

    @media (width <= 64rem){
        nav{
            position: fixed;
            top: 0;
            bottom: 0;
            left: auto;
            right: 0;
            height: 100%;
            width: 100%;
            display: none;
            background-color: var( --bg );
            transition: translate 0.4s ease-out;

            place-content: center;
            font-size: 1.4rem;

            @starting-style {
                translate: 100% 0;
            }

            ul{
                display: flex;
                flex-direction: column;
                gap: 2rem;


                li, li:last-child{
                    text-align: center;
                }
            }
        }
    }

    .open-nav &{
        nav{
            display: grid;
        }
    }

    .scrolled &{
        background-color: var( --bg );
    }
}


#menu-toggle {
    display: none;
    position: absolute;
    right: var( --header-padding );
    top: calc( var( --header-padding ) - var( --button-width ) );

    --button-width: 20px;

    width: var(--button-width);
    height: var(--button-width);

    padding: 1em;
    box-sizing: content-box;


    @media (width <= 64rem){
        display: block;
    }

    .bar {
        width: var(--button-width);
        height: 1.5px;
        display: block;
        background-color: currentColor;
        transform-origin: 56% 50%;
        transition: transform 0.2s ease-in-out 0.2s, opacity 0.1s linear 0.2s;
    }

    .middleBar {
        margin: 5px 0;
        transition: transform 0.2s ease-in-out 0.2s,
        background-color 0.2s ease-in-out 0.2s;
        position: relative;
    }

    .middleBar .inside {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: currentColor;
        transition: transform 0.2s ease-in-out;
    }

    .open-nav & {
        color: black;

        .bar {
            transition: transform 0.2s ease-in-out, opacity 0.1s linear 0.2s;
        }

        .bar.topBar {
            transform: translateY(7px);
            opacity: 0;
            transform-origin: 0 1px;
        }

        .bar.middleBar {
            background: transparent;
            transition: transform 0.2s ease-in-out 0.2s;
        }

        .bar.middleBar .inside {
            transition: transform 0.2s ease-in-out 0.2s;
            transform: rotate(45deg);
        }

        .bar.middleBar .inside:last-child {
            transform: rotate(-45deg);
        }

        .bar.bottomBar {
            transform: translateY(-7px);
            opacity: 0;
        }
    }
}

#main-footer{
    padding: var( --page-padding );
    margin-top: 6rem;

    .logo{
        svg{
            height: 3rem;
            width: auto;
            display: block;
        }
        margin-bottom: 0.5rem;
    }

    .grid{
        --cols: 3;
        display: grid;
        grid-template-columns: repeat(var( --cols ), minmax(0,1fr));
        gap: 2ch;

        @media (width <= 50rem){
            --cols: 2;
        }

        @media (width <= 37rem){
            --cols: 1;
        }
    }

    ul{
        list-style-type: "";
    }

    a{
        text-decoration: none;

        &:hover{
            font-style: italic;
        }
    }
}

button{
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font: inherit;
    color: currentColor;
    cursor: pointer;
    line-height: 1;
}

.uppercase{
    text-transform: uppercase;
}

@keyframes intro-images {
    0%, 99%{ opacity: 1;}
    100%{ opacity: 0;}
}

@keyframes logo-transition{
    0%{ fill: black; }
    99.9%{ opacity: 1; }
    100%{
        top: var( --header-padding );
        height: 3.5rem;
        translate: -50% -40%;
        opacity: 0;
        fill: black;
    }
}

@keyframes logo-transition-mobile{
    0%{ fill: black; }
    99.9%{ opacity: 1; }
    100%{
        top: var( --header-padding );
        height: 2.5rem;
        translate: -50% -20%;
        opacity: 0;
        fill: black;
    }
}

@keyframes intro-text-animation {
    from{
        height: 0;
        padding: 0;
    }
    to{
        height: auto;
        padding: 2lh;
    }
}

.start{
    .intro{
        position: fixed;
        inset: 0;
        z-index: 10;
        pointer-events: none;

        svg{
            position: absolute;
            top: 50%;
            left: 50%;
            z-index: 100;

            translate: -50% -50%;
            width: 90%;
            height: 100%;
            mix-blend-mode: difference;
            fill: #fff;

            animation-name: logo-transition;
            animation-duration: 1s;
            animation-fill-mode: forwards;

            @media (width <= 50rem){
                width: 80%;
                animation-name: logo-transition-mobile;
            }
        }

        picture{
            position: absolute;
            inset: 0;

            img{
                height: 100%;
                width: 100%;
                object-fit: cover;
            }

            animation-name: intro-images;
            animation-duration: 0.2s;
            animation-fill-mode: forwards;
            animation-delay: calc( var( --delay-steps ) * var( --index ) );
            z-index: calc( 100 - var( --index ) );

            &:nth-of-type(1){ --index: 0; }
            &:nth-of-type(2){ --index: 1; }
            &:nth-of-type(3){ --index: 2; }
            &:nth-of-type(4){ --index: 3; }
            &:nth-of-type(5){ --index: 4; }
            &:nth-of-type(6){ --index: 5; }
            &:nth-of-type(7){ --index: 6; }
            &:nth-of-type(8){ --index: 7; }
            &:nth-of-type(9){ --index: 8; }
            &:nth-of-type(10){ --index: 9; }
            &:nth-of-type(11){ --index: 10; }
            &:nth-of-type(12){ --index: 11; }
            &:nth-of-type(13){ --index: 12; }
            &:nth-of-type(14){ --index: 13; }
            &:nth-of-type(15){ --index: 14; }
            &:nth-of-type(16){ --index: 15; }
            &:nth-of-type(17){ --index: 16; }
            &:nth-of-type(18){ --index: 17; }
            &:nth-of-type(19){ --index: 18; }
            &:nth-of-type(20){ --index: 19; }
        }
    }

    .hero{
        height: 100svh;

        display: grid;
        grid-template-rows: 1fr auto;
    }

    .hero-image{
        overflow: hidden;

        picture{
            contain: size;
        }

        picture, img{
            height: 100%;
        }

        img{
            object-fit: cover;
        }

        .video-wrapper{
            height: 100%;

            video{
                object-fit: cover;
                height: 100%;
                width: 100%;
            }
        }
    }

    &.show-intro{
        .intro-text{
            height: 0;
            padding: 0;
        }
    }

    .intro-text{
        overflow: clip;
        text-align: center;
        padding: 2lh;
        animation-name: intro-text-animation;
        animation-duration: 0.8s;
        animation-fill-mode: forwards;
        animation-delay: var( --delay, 2s );
    }
}

.block{
    &.twoImagesBlock{
        display: grid;
        grid-template-columns: 1fr 1fr;

        @media (width <= 37rem){
            grid-template-columns: 1fr;

            & > *{
                width: 80%;

                &:has(.portrait){
                    width: 60%;
                }
            }

            & > *:last-child{
                margin-left: auto;
            }
        }
    }

    &.imageBlock{
        &:has(img.portrait){
            width: 50%;
            margin-inline: auto;
        }
    }

    &.markup{
        padding-inline-start: 50%;
        padding-inline-end: var( --page-padding );
        margin-block: 5rem;

        @media (width <= 50rem){
            padding-inline-start: var( --page-padding );
        }

        &:first-child{
            margin-block-start: 0;

            h1, h2{
                margin-block-start: 0;
            }
        }


    }
}

.block .markup,
.infos .text{
    h1, h2, h3{
        text-transform: uppercase;
        margin-block: 1rem;
    }

    h1, h2{
        font-size: 1.375rem;
    }

    h3{
        font-size: 1.2rem;
    }

    p{
        font-family: "graebenbach", sans-serif;
        line-height: 1.3;
        font-size: 1.1rem;
        text-wrap: balance;

        @supports (text-wrap: pretty) {
            text-wrap: pretty;
        }
    }

    p + p{
        margin-top: 1lh;
    }

    p + h2,
    p + h3{
        margin-block-start: 3rem;
    }
}

.objects,
.journal{
    #main{
        margin-block-start: var( --page-margin );
        padding-inline: var( --page-padding );
    }

    .filter{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 1rem 2rem;

        margin-block-end: 1.75rem;
    }

    fieldset{
        display: flex;
        gap: 2rem;
        border: none;
        padding: 0;

        &.view-mode{
            gap: 3ch;
            margin-left: auto;
        }

        label{
            transition: opacity 0.2s ease-out;
            cursor: pointer;

            &:hover{
                opacity: 1;
            }
        }

        &:has(input:checked){
            label:not(:hover):has( input:not(:checked) ){
                opacity: 0.6;
            }
        }

        input{
            padding: 0;
            margin: 0;
            cursor: pointer;

            &:focus{
                outline-offset: 0.3rem;
            }
        }
    }

    .color-mode{
        label{
            position: relative;
        }

        input{
            -webkit-appearance: none;
            appearance: none;

            position: absolute;
            inset: 0;
        }
    }

    .view-mode{
        label{
            display: flex;
            gap: 1ch;
            align-items: baseline;

            cursor: pointer;
        }
        input{
            -webkit-appearance: none;
            appearance: none;
            background-color: black;
            height: 1cap;
            aspect-ratio: 1;
            position: relative;
            cursor: pointer;
        }


        input[value="list"]{
            background-color: #e5e5f7;
            opacity: 1;
            background-image: linear-gradient(0deg, black 50%, var( --bg ) 50%);
            background-size: 0.3cap 0.3cap;

            /*
            &::before,
            &::after{
                content: " ";
                position: absolute;
                background-color: var( --bg );
                height: calc( 1cap / 5);

                width: 100%;
                top: calc( 1cap / 5 );
            }

            &::after{
                top: auto;
                bottom: calc( 1cap / 5 );
            }

             */
        }
    }
}

.objects-list{
    display: grid;
    --cols: 4;
    grid-template-columns: repeat(var( --cols ), minmax(0,1fr));
    gap: 3rem 0.625rem;

    @media (max-width: 1200px){
        --cols: 3;
    }

    @media (width <= 50rem){
        --cols: 2;
    }

    @media (width <= 31rem){
        --cols: 1;
    }

    article{
        transition: color 0.2s ease-out, background 0.2s ease-out;

        a{
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0 1ch;
            text-decoration: none;

            &:hover{
                font-style: italic;
            }
        }

        .image-wrapper{
            grid-column: 1 / -1;
            margin-bottom: 0.625rem;

            position: relative;
        }

        .dimensions{ display: none; }

        &:has(.overlay-image){
            .overlay-image{
                position: absolute;
                inset: 0;
                z-index: 2;

                opacity: 0;
                transition: opacity 0.2s ease-out;

                img{
                    height: 100%;
                    width: 100%;
                    object-fit: cover;
                }
            }

            a:hover{
                .overlay-image{
                    opacity: 1;
                }
            }
        }
    }

    &[data-view="list"]{
        --cols: 5;
        gap: 0;

        article{
            grid-column: 1 / -1;
            position: relative;

            font-size: 1.25rem;

            &::before{
                display: block;
                content: " ";
                position: absolute;
                top: 0;
                left: calc( var( --page-padding ) * -1 );
                right: calc( var( --page-padding ) * -1 );
                bottom: 0;
                z-index: -1;
                pointer-events: none;
                transition: color 0.2s ease-out, background 0.2s ease-out;
            }

            &:has(a:hover){
                color: var( --bg );

                &::before{
                    background-color: #5B5657;
                }
            }

            a{
                grid-template-columns: repeat( var( --cols ), minmax(0,1fr));

                @media (width <= 50rem){
                    grid-template-columns: auto 1fr 1fr;

                    grid-template-rows: auto auto 1fr;
                }

                @media (width <= 37rem){
                    .title,
                    .category{
                        grid-column: 2 / -1;
                    }

                    .dimensions,
                    .price{
                        font-size: 1rem;
                        margin-top: 1ch;
                    }

                    .price{
                        text-align: right;
                    }
                }
            }

            border-top: 1px solid black;
            padding-block: 0.625rem;

            .image-wrapper{
                grid-column: 1 / span 1;

                @media (width <= 50rem){
                    grid-row-end: span 2;
                }

                @media (width <= 37rem){
                    grid-row: 1 / -1;
                }
            }

            picture,
            .overlay-image picture{
                grid-column: 1 / span 1;
                height: 200px;

                img{
                    object-fit: contain;
                    height: 100%;
                    width: auto;
                    object-position: left;
                }
            }

            .category{ text-transform: none; }
            .dimensions{ display: block; }

        }
    }

    &[data-color="neutral"]{
        article:not(.color-neutral){
            display: none;
        }
    }

    &[data-color="bright"]{
        article:not(.color-bright){
            display: none;
        }
    }

    &[data-color="dark"]{
        article:not(.color-dark){
            display: none;
        }
    }
}

.page{
    #main{
        margin-block-start: var( --page-margin );
    }

    .related{
        margin-inline: var( --page-padding );
        margin-block-start: 2lh;
    }
}

.back-link{
    display: block;
    width: fit-content;
    margin-inline-start: var( --page-padding );
    margin-block-end: -1lh;

    @media (width <= 50rem){
        margin-block-end: 2lh;
    }
}

.field-wrapper{
    margin-bottom: 1lh;

    label{
        display: block;
        margin-bottom: 0.5em;
    }
}

input, textarea{
    width: 100%;

    padding: 0.75em 1em;
    background-color: transparent;
    font-family: "graebenbach", sans-serif;

    &:not([type="radio"]){
        border: 1px solid currentColor;
    }
}

input{
    line-height: 1;
}

textarea{
    resize: block;
}


dialog{
    position: fixed;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: transparent;

    border: none;
    translate: 0 0;

    padding: 0;

    margin: 0;
    max-height: 100%;
    max-width: 100%;

    transition:
        display .4s allow-discrete,
        overlay .4s allow-discrete;

    &[open]{

        &::backdrop{
            background-color: var( --bg );
            opacity: 0.95;
        }

        form[action]{
            translate: 0 0;

            @starting-style {
                translate: 100% 0;
            }
        }

        .preview-image{
            @starting-style {
                opacity: 0;
            }
        }
    }

    header{

        @media (width <= 50rem){
            ul{
                display: none;
            }
        }

        ul{
            li:last-child{
                display: none;
            }
        }
    }

    .container{
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 0;
        align-items: start;

        @media (width <= 50rem){
            grid-template-columns: 1fr;
        }
    }

    form[action]{
        padding: 2rem;
        padding-top: 3rem;

        /* width: max(66%, 400px); */
        width: 100%;

        height: 100%;
        margin-left: auto;
        overflow: auto;

        background-color: var( --bg );
        translate: 100% 0;
        transition: translate 0.4s ease-out;

        @media (width <= 50rem){
            width: 100%;
            padding-top: 2rem;
        }

        .inner{
            max-width: 60ch;
            margin-block-end: 2rem;
        }
    }

    form[method="dialog"]{
        position: fixed;
        top: 0.5rem;
        right: 1rem;
        z-index: 5;

        @media (width <= 50rem){
            top: 0;
        }

        button{
            display: block;
            padding: 0.25rem 1rem;
            font-size: 2.5rem;
        }
    }

    .preview-image{
        position: sticky;
        /* top: 5rem;
        margin: 0 0 2rem var( --page-padding );
        height: calc( 100vh - 7rem );
        */

        top: 0;
        height: 100dvh;
        margin-top: -5.2rem;
        transition: opacity 0.4s ease-out;

        img, picture{
            height: 100%;
        }

        img{
            object-fit: cover;
        }

        @media (width <= 50rem){
            position: static;
            height: auto;
            margin: 0;
        }
    }

    .object-preview{
        display: none;
        margin-block-end: 3rem;

        .details{
            margin-block-start: 2rem;
        }
    }

    .object-inquiry &{
        .object-preview{
            display: grid;
        }
    }
}

button[type="submit"],
.black-btn{
    background-color: black;
    color: var( --bg );
    display: block;
    width: 100%;

    padding: 0.5em;
    transition: background-color 0.2s ease-out;

    &:hover{
        background-color: color-mix(in srgb, black 60%, white);
    }

    &:focus{
        background-color: color-mix(in srgb, black 60%, white);

        outline: 2px solid black;
        outline-offset: 0.5em;
    }
}

#main{
    transition: filter 0.4s ease-out;
}

:has(dialog#contact-overlay[open]){
    #main{
        filter: blur( 20px );
    }
}

.message{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background-color: var( --bg );
}

body:has(.message){
    margin-top: 3rem;
}

.single-object{

    .back-link{
        margin-block-end: 1lh;
        margin-inline-start: var( --page-padding );
    }

    #main{
        margin-block-start: 5rem;
    }

    .splide.multiple{
        --height: 75vh;

        height: var( --height );
        margin-block-end: 2rem;

        @media (width <= 50rem){
            --height: 65vh;
        }

        picture, img, video{
            height: var( --height );
            width: auto;
            cursor: pointer;
        }
    }

    .splide.single{
        height: 100%;

        picture, img, video{
            height: 90svh;
            width: 90vw;
            object-fit: contain;
            margin: 5svh 5vw;
        }
    }

    /*
    .swiper{
        --height: 60vh;

        height: var( --height );
        margin-block-end: 2rem;
        padding-inline-start: var( --page-padding);

        @media (width <= 50rem){
            padding-inline-start: 0;
            --height: 50vh;
        }

        picture, img, video{
            height: var( --height );
            width: auto;
        }

        .swiper-slide{
            height: auto;
            width: auto;
        }
    }
     */

    .infos{
        display: grid;
        grid-template-columns: 7fr 5fr;
        gap: 3rem 1rem;
        padding-inline: var( --page-padding );

        @media (width <= 50rem){
            grid-template-columns: 1fr;
        }

        .title-wrapper{
            display: flex;
            font-size: 1.25rem;

            .title{ flex: 1; }
            .category{ flex: 2; }
        }

        .details{
            padding-inline-end: 3rem;

            @media (width <= 62rem){
                padding-inline-end: 0;
            }
        }

        .text{
            margin-block-start: 2rem;

            font-family: "graebenbach", sans-serif;
            line-height: 1.3;
            font-size: 1.1rem;
            text-wrap: balance;

            .inspired-by{
                margin-block-start: 1lh;
            }
        }

        .inquire{
            margin-block-start: 2lh;
        }

        #object-images-slideshow{
            &::backdrop
        }
    }

    .colors{
        dd{
            display: flex;
            flex-wrap: wrap;
            gap: 0.5em;
        }

        .color{
            height: 1rem;
            aspect-ratio: 1;
            border-radius: 50%;
            background-color: var( --color );
        }
    }

    .related{
        grid-column: 1 / -1;

        h2{
            font-size: 1.25rem;
            margin-block-start: 2em;
            margin-block-end: 1em;
        }

        .objects-list{
            @media (width <= 50rem){
                article:nth-child(n+3){
                    display: none;
                }
            }

            @media (width <= 31rem){
                --cols: 2;

                article:nth-child(n+3){
                    display: none;
                }

                a{
                    grid-template-columns: 1fr;

                    .price{
                        display: none;
                    }
                }
            }
        }
    }
}

.details{
    .table{
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0.5em 2em;
        /* width: max-content; */
        max-width: 100%;

        dl{
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: subgrid;
            border-bottom: 1px dashed black;
            padding-bottom: 0.5em;
        }
    }
}

figcaption{
    padding: 0.5em var( --page-padding ) 1em;
}

.contact{
    #main{
        min-height: 100vh;
    }

    .contact-grid{
        min-height: 100vh;

        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 2em;

        @media (width <= 50rem){
            grid-template-columns: 1fr;
        }

        .image{
            height: 100vh;
            position: sticky;
            top: 0;

            @media (width <= 50rem){
                height: 50vh;
                position: static;
            }

            picture, img{
                height: 100%;
                object-fit: cover;
            }
        }

        .content{
            margin-top: 10rem;
            max-width: 60ch;

            @media (width <= 50rem){
                margin-top: 0;
                padding-inline-start: var( --page-padding );
            }
        }

        .text{
            margin-bottom: 3rem;
            padding-inline-start: 0;
        }

        form{
            padding-inline-end: var( --page-padding );

        }
    }
}

.video-wrapper{
    position: relative;

    button{
        position: absolute;
        left: 1rem;
        bottom: 1rem;

        width: 2rem;
        padding: 1rem;
        box-sizing: content-box;
        aspect-ratio: 1;

        background-color: color-mix(in srgb, white 60%, transparent);
        border-radius: 2rem;
        transition: background-color 0.2s ease-out;

        &:hover{
            background-color: white;
        }

        svg{
            width: 100%;
            height: 100%;

            &:nth-child(1){ display: block; }
            &:nth-child(2){ display: none; }
        }
    }


    &.muted{
        .mute{
            svg:nth-child(1){ display: none; }
            svg:nth-child(2){ display: block; }
        }
    }
}

.start-link{
    @media (width <= 64rem){
        display: none;
    }
}

.contact-link{
    @media (width > 64rem){
        display: none;
    }
}