@font-face {
    font-family: "u-reg";
    src:
        local("u-reg"),
        url("fonts/u-reg.woff2") format("woff2");
}

:root {
    --stroke: .09lh;
    --yellow: #FFC92E;
}

* {
    box-sizing: border-box;
    font-weight: normal;
    font-size: 1.35rem;
    color: black;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    background-color: black;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;

}

body {
    font-family: "u-reg", sans-serif;
    padding: 1lh;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    row-gap: 1lh;
    /* background-image: url("bg.jpg"); */
    /* background-size: 100vh; */
    height: max-content;
    background-color: var(--yellow);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

/* -------------------layout */



header,
main,
footer {
    max-width: 85ch;
    width: 100%;
    margin: auto;

}


footer {
    max-width: 65ch;
    padding: 1lh 0;
    padding-top: 6lh;
}

header {
    position: relative;
    max-width: 65ch;
    z-index: 1;

    min-height: calc(100svh - 2lh);
    display: flex;
    flex-direction: column;
    gap: 1lh;
    justify-content: space-between;

    & * {
        color: white;
    }


}


main {
    flex: 1;
    justify-content: center;
}

/* -------------------images */

img {
    width: 100%;
    padding-top: 1lh;
    padding-bottom: 0lh;
    max-height: 60vh;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.cover {
    padding-top: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    /* object-fit: cover; */
    background-color: rgb(0, 0, 0);
    background-size: cover;
    background-position: center;
    background-image:
        radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.7) 100%),
        url("imgs/cover.webp");
    z-index: 0;
}

.logo {
    /* padding-bottom: 2lh; */
}


figure {
    padding: 0;
    margin: 0;
}

figure:hover {
    cursor: pointer;
}

.double {
    display: flex;
    gap: 1lh;
    max-width: 65ch;
    margin: 0 auto;
}

.click-gallery {
    display: flex;
    flex-direction: column;
    gap: 1lh;
    padding-bottom: 1lh;
    align-items: center;

    & img {
        max-height: 60vh;
        object-fit: contain;
    }

    & figcaption span {
        text-decoration-thickness: .045lh;
        text-underline-offset: .1lh;
    }
}


/* -------------------typography */


h4,
h3 {
    padding-top: 2lh;
    margin: 0;

    text-align: center;
}

h5 {
    text-indent: 2lh;
    margin: 0;
    padding-bottom: 1lh;
}

p a {
    text-decoration: underline;
    text-decoration-thickness: .045lh;
    text-underline-offset: .1lh;
}

p {
    margin: 0 auto;
    /* text-indent: 2lh; */
}


/* -------------------above fold */

.pitch a {
    text-decoration: none;
}

.logo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1lh;
    overflow: visible;
    width: 100%;
}

line,
path {
    stroke-width: var(--stroke);
}

/* .logo img {
    border: 1px solid red;
    vector-effect: non-scaling-stroke;
} */

svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.name {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: .25lh;
    width: 100%;
    text-shadow: 0px 0px 20px black;
}

.box {
    aspect-ratio: 3 / 2;
    width: 300px;
    height: 200px;
    width: 100% !important;
    height: 100% !important;
    border: var(--stroke) solid rgb(255, 255, 255);
    position: relative;
}

.pitch {
    grid-column: span 2;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* -------------------responsive */

@media only screen and (max-width: 600px) {
    * {
        font-size: .95rem;
    }

    body {
        padding: .75lh;
    }

    .click-gallery {


        & img {
            height: 40vh;
        }

    }

    header {
        /* min-height: calc(50svh - 2lh) */
    }

    .cover {

        background-image:
            radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.7) 100%),
            url(imgs/cover-vert.webp);
        background-position: right;
    }

}