@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500&display=swap");

/* @link https://utopia.fyi/type/calculator?c=320,20,1.2,1140,24,1.25,1,0,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l */
:root {
    --fluid-min-width: 320;
    --fluid-max-width: 1140;
    --fluid-screen: 100vw;
    --fluid-bp: calc(
            (var(--fluid-screen) - var(--fluid-min-width) / 16 * 1rem) /
            (var(--fluid-max-width) - var(--fluid-min-width))
    );
}

@media screen and (min-width: 1140px) {
    :root {
        --fluid-screen: calc(var(--fluid-max-width) * 1px);
    }
}

:root {
    --f-0-min: 18;
    --f-0-max: 20;
    --step-0: calc(
            ((var(--f-0-min) / 16) * 1rem) + (var(--f-0-max) - var(--f-0-min)) *
            var(--fluid-bp)
    );
    --f-1-min: 20;
    --f-1-max: 24;
    --step-1: calc(
            ((var(--f-1-min) / 16) * 1rem) + (var(--f-1-max) - var(--f-1-min)) *
            var(--fluid-bp)
    );
}

* {
    box-sizing: border-box;
}

body {
    /*background-color: #111;*/
    background-color: #111;
    font-family: "Open Sans", sans-serif;
    color: white;
    overscroll-behavior: none;
    margin: 0;
    padding: 0;
    font-weight: 300;
    overflow-x: hidden;
    font-size: var(--step-0);
}

.font {
    font-family: 'Uncial Antiqua';
}

section {
    /*min-height: 100vh;*/
}

p {
    line-height: 1.35;
}

#content {
    padding: 0 0.75rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

.flow--lg > * + * {
    margin-top: 2em;
}

.flow > * + * {
    margin-top: 1em;
}

.title {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 50vh;
}

#content {
    overflow: visible;
    width: 100%;
}

.heading {
    position: absolute;
    top: 50vh;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

h1 {
    font-size: clamp(12px, 8vw, 100px);
    text-align: center;
    /*line-height: 0.67;*/
    line-height: 1.1;
    margin: 0 auto;
    font-family: 'Uncial Antiqua';
    /*font-family: 'Cinzel Decorative';*/
}

h1 .eyebrow {
    font-family: "Open sans", sans-serif;
    font-size: clamp(12px, 3vw, 40px);
    font-weight: 400;
}

h2 {
    font-family: 'Uncial Antiqua';
}

.heading p {
    font-family: 'Uncial Antiqua';
    font-size: 15.5vw;
    font-size: clamp(12px, 15.5vw, 250px);
    text-align: center;
    line-height: 0.67;
    margin: 0;
    text-align: center;
    color: #111;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #1d73c2;
    z-index: -10;
}

.intro,
h2,
h3 {
    font-size: var(--step-1);
    font-weight: 500;
}

.text-container {
    position: relative;
}

.text-container p {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    color: transparent;
}

.text-container p:first-child {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    /*color: white;*/
    color: #1d73c2;
}

.image-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0.2rem;
    grid-row-gap: 0.2rem;
    width: 70vw;
    margin: 0 auto;
    padding-top: 40vh;
    z-index: -1;
}

.image-grid .image_cont {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.image-grid img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 150%;
    object-fit: cover;
}

.image-grid .image_cont:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.image-grid .image_cont:nth-child(2) {
    grid-column: 3;
    grid-row: 2;
}

.image-grid .image_cont:nth-child(3) {
    grid-column: 2;
    grid-row: 3;
}

.parallax-images {
    margin-top: 10vh;
    padding: 10rem 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 20vh;
    align-items: center;
    justify-items: center;
}

.parallax-images .image_cont {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.parallax-images img {
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    height: 140%;
    width: 100%;
    object-fit: cover;
}

.parallax-images .parallax-text {
    grid-column: 2;
    grid-row: 1;
}

.parallax-images .image_cont:nth-child(2) {
    grid-column: 1/span 1;
    grid-row: 1;
    width: 100%;
}

.parallax-images .image_cont:nth-child(3) {
    grid-column: 2/span 1;
    grid-row: 2;
}

.spacer {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stagger {
    font-size: 8vw;
}

.bars {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4rem;
}

.bars .bars-text {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #1d73c2;
    height: 60vh;
}

.bars .bars-text .content {
    text-align: center;
}

.bars .bars-cont {
    /*flex: 1 1 500px;*/
    display: flex;
    width: 100%;
    /*height: 60vh;*/
    align-items: flex-end;
}

.bars .bar {
    border-radius: 10px;
    margin: 2vw;
    text-align: center;
    flex: 1 0 auto;
    font-size: var(--step-0);
    justify-self: flex-end;
    font-family: 'Uncial Antiqua';
    font-size: clamp(16px, 3vw, 36px);
}

.content {
    /*border-left: solid 1px white;*/
    padding: 0.5rem 2rem;
}

.staggered {
    /*display: flex;*/
    /*align-items: center;*/
    /*flex-wrap: wrap;*/
    /*column-gap: 4rem;*/
    text-align: center;
}

.staggered h3 {
    font-family: 'Uncial Antiqua';
    font-size: clamp(16px, 6vw, 80px);
    letter-spacing: 0.03em;
}

.staggered_text {
    flex: 1 1 300px;
}

.staggered_demo {
    flex: 1 1 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-slab {
    position: relative;
    height: 500px;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.parallax-slab img {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 180%;
    object-fit: cover;
}

.v-center {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.spacer {
    height: 10vh;
}

a {
    color: #1d73c2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.button {
    border: 0 none;
    border-radius: 54px;
    font-size: 16px;
    font-weight: 500;
    height: 54px;
    line-height: 54px;
    padding: 0 25px;
    position: relative;
    text-transform: uppercase;
    vertical-align: middle;
    background-image: linear-gradient(to right, #d5610f 0%, #dc3545 51%, #d5610f);
    background-size: 200% auto;
    color: #fff;
    outline: none;
    z-index: 2;
    transition: all 0.5s ease 0s;
    font-family: 'Uncial Antiqua';
    display: inline-block;
    margin: 0 5px;
    min-width: 150px;
    text-align: center;
}

.button:hover {
    background-image: linear-gradient(to right, #dc3545 0%, #d5610f 51%, #d5610f);
    text-decoration: none;
}

.sky {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.logo {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 150px;
    line-height: 0;
}

.logo img {
    height: auto;
    max-width: 100%;
}

@media (max-width: 660px) {
    .title {
        min-height: 300px;
    }

    .parallax-images {
        display: flex;
        flex-wrap: wrap;
    }

    .parallax-text {
        text-align: center;
        order: 2;
        width: 100%;
    }

    .parallax-slab img {
        height: 100%;
    }
}
