* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
    --gutter: 100px;
    --padding: 50px;

    --huge-text: 3.5vw;
    --large-text: 2.5vw;
    --medium-text: 1.5vw;
    --normal-text: 1.1vw;
}

html,
body {
	width: 100%;
	height: 100%;
}

body {
    height: calc(100dvh * var(--section-count));
}

img {
    width: 100%;
}

.grid {
    display: grid;
    width: auto;
    align-items: center;
    gap: 3vw;
}

.grid.split-two {
    grid-template-columns: 1fr 1fr;
}

.padded {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}



.grid.split-forty-sixty {
    grid-template-columns: 4fr 6fr;
}

.grid.split-three {
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
}

.grid .split-left, .grid .split-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flex {
    display: flex;
    padding-top: var(--padding);
    padding-bottom: var(--padding);
    height: fit-content;
    align-items: center;
    width: 100%;
    gap: 3vw;
}

.flex.split-forty-sixty .split-left {
    width: 33%;
}

.flex.split-forty-sixty .split-right {
    width: 50%;
}

.flex.split-sixty-forty .split-left {
    width: 50%;
}

.flex.split-sixty-forty .split-right {
    width: 33%;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section .content-container {
    padding: var(--padding) 0;
    width: 100%;
    max-width: min(85vw, 1800px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.full-background {
    background-position: center center;
    background-size: cover;
}

h1, h2, h4, li {
    font-family: 'PP Eiko Italic';
    line-height: 120%;
    font-weight: 300;
    letter-spacing: 1px;
}

h1 {
    color: #fff;
    font-size: 50px;
    font-size: var(--huge-text);
    text-align: center;
}

h2 {
    font-size: 40px;
    font-size: var(--large-text);
    font-weight: 400;
    text-transform: lowercase;
}

h3, p, div, span{
    font-family: 'PP Neue Montreal Book';
    margin-bottom: 1.5rem;
    line-height: 120%;
}

h3 {
    font-size: 32px;
    font-size: var(--medium-text);
    font-weight: 600;
    margin-bottom: 2rem;
}


h4 {
    font-size: 32px;
    font-size: var(--medium-text);
    font-weight: 300;
}

p {
    font-size: 22px;
    font-size: var(--normal-text);
    font-weight: 400;
}

.text-light {
    color: #fff;
}

.text-dark {
    color: #000;
}

.medium-text {
    font-size: 30px;
    font-size: var(--medium-text);
    margin: 40px 0;
}

.large-text {
    font-size: 55px;
    font-size: var(--large-text);
    color: #fff;
    text-align: center;
}

.heading {
    padding-top: var(--padding);
    padding-bottom: var(--padding);
}

section.full-height {
    min-height: 110vh;
}

.text-wrap {
    position: relative;
    overflow: hidden;
    width: 450px;
    height: 80vh;
}

.panels {
    position: relative;
    width: 100%;
    height: 100%;
}
  
.panel {
    width: 100%;
    position: absolute;
    padding: 0px 50px;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.panel:first-child {
    opacity: 1;
}

.panel > div {
    max-width: 1050px;
    display: flex;
    flex-direction: column;
    /* gap: 50px; */
}

.hero-section {
    background-image: url("images/hero-background.jpg");
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.hero-section .panels {
    display: flex;
    align-items: center;
}

.hero-section .panel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.values-section {
    background-image: url("images/values-background.jpg");
    display: flex;
    flex-direction: column;
}

.values-section .panel {
    height: auto;
}

.values-section h2 {
    color: #fff;
}

.values-section p {
    color: #fff;
}

.values-section li {
    color: #fff;    
    font-size: 24px;
    font-size: var(--medium-text);
    margin-bottom: 3rem;
    opacity: 0.5;
}

.people-section {
    z-index: -1;
}

.people-section .panel {
    flex-direction: row;
}

.people-section .panels {
    height: 100vh;
}

.people-section img {
    width: 80%
}

.people-section h3 {
    margin-bottom: 0;
}
.people-section h4 {
    font-size: 24px;
    font-weight: 300;
}

.footer-section {
    background-image: url("images/footer-background.jpg");
}

.footer-section .grid {
    padding-top: 150px;
}

a, a:link, a:visited {
    color: white;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    width: fit-content;
}

.footer-section a {
    font-family: 'PP Eiko Italic';
    line-height: 120%;
    font-weight: 300;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    font-size: 32px;
    font-size: var(--medium-text);
    text-align: center;
    text-shadow: 0 0 6px #00000078;
}

a::before {
    content: "";
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, white, white);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size .3s ease-in;
}

a:hover::before {
    background-size: 100% 2px;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 1024px) {
    :root {
        --gutter: 0px;
        --padding: 25px;
        --huge-text: 10vw;
        --large-text: 6.5vw;
        --medium-text: 5.5vw;
        --normal-text: 4vw;
    }
    .mobile-only {
        display: block;
    }
    .desktop-only {
        display: none;
    }
    .flex {
        flex-direction: column;
    }
    .flex > div {
        width: 100% !important;
    }
    h3 {
        margin: 20px 0;
    }
    .medium-text {
        font-size: 18px;
        font-weight: 600;
        margin-top: 20px;
        margin-bottom: 0;
        padding-bottom: 20px;
    }
    .values-section .panel, .values-section .panels, .people-section .panel, .people-section .panels {
        position: unset;
        height: unset;
    }
    .values-section .panel {
        padding: 0;
    }
    .values-section h4 {
        margin-bottom: 10px;
    }
    .grid {
        grid-template-columns: 1fr !important;
    }
    .flex.split-sixty-forty .split-right {
        order: -1;
    }
    section {
        padding: 50px;
    }
    .people-section .panel {
        padding: 0;
        flex-direction: column;
    }
    .people-section .panel > div {
        align-items: center;
    }
    .people-section .medium-text {
        box-shadow: 0px -20px 60px 40px #fff;
        background: #fff;
        z-index: -1;
    }
    .people-section .people-image {
        z-index: 0;
        height: 185px;
    }
    .people-section .people-content {
        z-index: 1;
    }
    .people-section img {
        opacity: 0.75;
    }
    .footer-section a {
        font-size: 20px;
        margin: 15px 0;
    }
}