/*******************************
 * variables
 */
:root {
    --color-slate-blue: #566A7D;
    --color-smoky-sage: #8F9A8D;
    --color-sandstone: #D4C7B5;
    --color-beige: #E9E1D6;
    --color-cool-beige: #E8D3C2;
    --color-light-beige: #EEDDCF;
    --color-warm-beige: #F5ECE3;
    --color-warm-sand: #FAF4ED;
    --color-warm-cream: #F4F0E8;
    --color-deep-moss: #4F5D50;
    --color-soft-charcoal: #252724;
    --color-muted-gold: #C39A5C;
    --color-standard-border: #CCCCCC;
    --color-input-field: #FBF8F3;
    --breakpoint-desktop: 1280px;
}

/*******************************
 * fonts
 */
@font-face {
    font-family: "editorial-serif";
    src: url("../font/editorial-serif/CormorantGaramond-Regular.ttf") format("truetype");
    font-weight: 400; /* normal */
    font-style: normal;
}

@font-face {
    font-family: "editorial-serif";
    src: url("../font/editorial-serif/CormorantGaramond-Light.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "editorial-serif";
    src: url("../font/editorial-serif/CormorantGaramond-Bold.ttf") format("truetype");
    font-weight: 700; /* bold */
    font-style: normal;
}

@font-face {
    font-family: "clean-sans-serif";
    src: url("../font/clean-sans-serif/static/Figtree-Regular.ttf") format("truetype");
    font-weight: 400; /* normal */
    font-style: normal;
}

@font-face {
    font-family: "clean-sans-serif";
    src: url("../font/clean-sans-serif/static/Figtree-Light.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "clean-sans-serif";
    src: url("../font/clean-sans-serif/static/Figtree-Bold.ttf") format("truetype");
    font-weight: 700; /* bold */
    font-style: normal;
}

/*******************************
 * css reset
 */

/* set box-sizing rules */
*, *::before, *::after {
    box-sizing: border-box;
}

/* remove default margin */
body, h1, h2, h3, h4, p, hr {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-slate-blue);
    line-height: 0.7;
}

p {
    color: var(--color-soft-charcoal);
}

/* set core body defaults */
body {
    min-height: 100vh;
    width: 100%;
    line-height: 1.5;
    background-color: var(--color-warm-sand);
    position: relative;
}

/* inherit fonts for form elements */
input, input::placeholder, button {
    font-family: inherit;
    font-size: inherit;
}

/* set responsive media */
img {
    max-width: 100%;
    display: block;
}

/*********************************
 * body leaves
 */
body::before {
    content: "";
    position: absolute;
    background-image: url("../img/leaves-shadows.png");
    background-repeat: no-repeat;
    background-size: 100vh;
    transform: scaleX(-1);
    height: 100vh;
    width: 100vw;
    filter: blur(8px);
    overflow: hidden;
    opacity: 0.3;
    z-index: -1;
}

@media screen and (min-width: 1280px) {
    body::before {
        filter: none;
        background-size: 100%;
        opacity: 0.5;
    }
}

/*********************************
 * hero section
 */

section#hero {
    width: 100%;
    min-height: 100vh;
    font-family: "editorial-serif", sans-serif;
    overflow: hidden;
}

section#hero > div.content {
    padding: 5em 5em 0 5em;
}

section#hero > div.content > h2 {
    font-size: 8em;
    line-height: 0.8;
}

section#hero > div.content > h2 > span {
    vertical-align: top;
    display: inline-block;
    padding-top: 40px;
    padding-left: 10px;
    font-family: "clean-sans-serif", serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

section#hero > div.content > h4 {
    font-family: "clean-sans-serif";
    font-size: 2.5em;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-top: 2.5em;
}

section#hero > div.content > hr {
    border: none;
    background-color: var(--color-muted-gold);
    width: 8em;
    height: 0.4em;
    margin: 4em 0;
}

section#hero > div.content > div > h1 {
    font-size: 9em;
    line-height: 1;
}

section#hero > div.content > div > p {
    margin-top: 2em;
    font-family: "clean-sans-serif", serif;
    font-size: 2.8em;
}

form.waitlist-form {
    margin: 2em 0;
}

form.waitlist-form > div.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: "clean-sans-serif", serif;
}

form.waitlist-form > div.input-group label {
    visibility: hidden;
    position: absolute;
} 

form.waitlist-form > div.input-group input {
    flex: 1;
    width: 100%;
    border-radius: 2px;
    border: 2px solid var(--color-standard-border);
    background-color: var(--color-input-field);
    font-size: 3em;
    padding: 1em;
}

form.waitlist-form > div.input-group input:focus {
    outline: none;
    box-shadow:0 0 0 2px rgba(13,37,62,.18);
}

form.waitlist-form > div.input-group button {
    flex: 1;
    border-radius: 0 4px 4px 0;
    border: none;
    background-color: var(--color-slate-blue);
    color: white;
    padding: 1.5em 0;
    font-size: 2.5em;
    cursor: pointer;
}

div[id^=form-message-] {
    font-family: "clean-sans-serif", sans;
    font-size: 1em;
    min-height: 2em;
}

section#hero > div.hero-img {
    position: relative;
    height: 1000px;
    width: 100%;
    overflow: hidden;
}

section#hero > div.hero-img::before {
    content: "";
    position: absolute;
    background-image: url("../img/leaves-shadows.png");
    background-repeat: no-repeat;
    background-size: 200%;
    transform: scaleX(-1);
    height: 100%;
    width: 100%;
    filter: blur(8px);
    overflow: hidden;
    opacity: 0.5;
    z-index: -1;
}

section#hero > div.hero-img img {
    max-width: none;
    width: 150%;
    transform: translateX(-25%);
}

@media screen and (min-width: 1280px) {
    section#hero {
        display: flex;
        flex-direction: row;
        max-height: 100vh;
    }

    section#hero > div.content {
        padding: 3em 3em 0 3em;
    }

    section#hero > div.content > h2 {
        font-size: 4em;
    }

    section#hero > div.content > h2 > span {
        padding-top: 20px;
        padding-left: 5px;
        font-size: 10px;
    }

    section#hero > div.content > h4 {
        font-family: "clean-sans-serif";
        font-size: 1.3em;
    }

    section#hero > div.content > hr {
        width: 4em;
        height: 0.2em;
        margin: 2em 0;
    }

    section#hero > div.content > div > h1 {
        font-size: 7em;
    }

    section#hero > div.content > div > p {
        font-size: 1.2em;
    }

    form.waitlist-form {
        width: 25em;
    }

    form.waitlist-form > div.input-group {
        flex-direction: row;
        gap: 0;
    }

    form.waitlist-form > div.input-group input {
        border-right: none;
        border-radius: 4px 0 0 4px;
    }

    form.waitlist-form > div.input-group input,
    form.waitlist-form > div.input-group button {
        font-size: 1em;
        padding: 1em;
    }

    section#hero > div.hero-img {
        overflow: visible;
    }

    section#hero > div.hero-img::before {
        content: none;
    }

    section#hero > div.hero-img img {
        max-width: none;
        width: 175%;
        transform: translateX(-35%);
    }
}

/*********************************
 * features section
 */
section#info {
    background-color: var(--color-beige);
    padding: 5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: "editorial-serif", sans-serif;
    border-top: 3px solid var(--color-standard-border);
}

section#info > h3 {
    font-size: 4em;
    line-height: 1.2;
    color: var(--color-slate-blue);
}

section#info > hr {
    border: none;
    background-color: var(--color-muted-gold);
    width: 8em;
    height: 0.4em;
    margin: 4em 0;
}

section#info > p {
    font-family: "clean-sans-serif", sans;
    font-size: 2.3em;
    line-height: 2;
    color: var(--color-soft-charcoal);
    margin-bottom: 1.5em;
}

section#info > div#features {
    width: 100%;
    margin-top: 3em;
    border-top: 2px solid var(--color-muted-gold);
}

section#info > div#features > div.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4em 0;
    border-bottom: 2px solid var(--color-muted-gold);
}

section#info > div#features > div.feature > svg {
    width: 15em;
}

section#info > div#features > div.feature > svg path,
section#info > div#features > div.feature > svg rect {
    stroke: var(--color-slate-blue);
}

section#info > div#features > div.feature > span {
    font-family: "clean-sans-serif", sans;
    font-size: 3em;
    color: var(--color-slate-blue);
    width: 8em;
}

@media screen and (min-width: 1280px) {
    section#info > h3 {
        font-size: 3.5em;
    }

    section#info > hr {
        width: 4em;
        height: 0.2em;
        margin: 2em 0;
    }

    section#info > p {
        font-size: 1.5em;
        line-height: 1.5;
        margin-bottom: 1em;
        width: 50%;
    }

    section#info > div#features {
        display: flex;
        flex-direction: row;
        justify-content: spaced-evenly;
        border: none;
    }

    section#info > div#features > div.feature {
        flex: 1;
        padding: 2em 0;
        border-bottom: none;
        position: relative;
    }

    section#info > div#features > div.feature::after {
        content: "";
        position: absolute;
        top: 4em;
        right: 0;
        height: 10em;
        border-right: 2px solid var(--color-muted-gold);
    } 

    section#info > div#features > div.feature:last-child::after {
        content: none;
    }

    section#info > div#features > div.feature > svg {
        width: 8em;
        margin-bottom: 1em;
    }

    section#info > div#features > div.feature > span {
        font-size: 1em;
        width: 5em;
    }

    section#info > div#features > div.feature:nth-child(1) > span,
    section#info > div#features > div.feature:nth-child(4) > span,
    section#info > div#features > div.feature:nth-child(5) > span {
        width: 8em;
    }
}

/************************************
 * bottom-third
 */
section#bottom-third {
    border-top: 3px solid var(--color-standard-border);
    display: flex;
    flex-direction: column;
}

section#bottom-third > div:first-child {
    background-image: url("../img/happy-hands.jpeg"), linear-gradient(90deg, var(--color-cool-beige) 0%, var(--color-light-beige) 45%, var(--color-warm-beige) 100%);
    background-position: top 40% left 50%;
    background-size: 150%;
    background-repeat: no-repeat;
    height: 50em;
}

section#bottom-third > div > img {
    display: none;
}

section#bottom-third > div:not(:first-child) {
    padding: 5em;
}

section#bottom-third > div > h3 {
    font-family: "editorial-serif", serif;
    font-size: 5em;
    color: var(--color-slate-blue);
}

section#bottom-third > div > hr {
    border: none;
    background-color: var(--color-muted-gold);
    width: 8em;
    height: 0.4em;
    margin: 4em 0;
}

section#bottom-third > div > p {
    color: var(--color-soft-charcoal);
    font-family: "clean-sans-serif", sans;
    font-size: 2.3em;
    line-height: 2;
    margin-bottom: 0.5em;
}

section#bottom-third > div > form {
    margin-top: 4em;
}

@media screen and (min-width: 1280px) {
    section#bottom-third {
        flex-direction: row;
    }

    section#bottom-third > div {
        flex: 1;
    }

    section#bottom-third > div:first-child {
        height: auto;
    }

    section#bottom-third > div > h3 {
        font-size: 3em;
    }

    section#bottom-third > div > hr {
        height: 0.2em;
        margin: 2em 0;
    }

    section#bottom-third > div > p {
        font-size: 1.2em;
        line-height: 1.5;
    } 
}

/**********************************
 * footer
 */
footer {
    padding: 5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 3px solid var(--color-standard-border);
    position: relative;
}

footer > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer > div > h3 {
    font-size: 4em;
    line-height: 0.8;
}

footer > div > h3 > span {
    vertical-align: top;
    display: inline-block;
    padding-top: 10px;
    padding-left: 10px;
    font-family: "clean-sans-serif", serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

footer > div > hr {
    border: none;
    background-color: var(--color-muted-gold);
    width: 8em;
    height: 0.4em;
    margin: 4em 0;
}

footer > div > h4 {
    margin-top: 2em;
    font-family: "clean-sans-serif", serif;
    font-size: 2em;
}

footer > a > svg {
    cursor: pointer;
}

@media screen and (min-width: 1280px) {
    footer {
        flex-direction: row;
        padding: 2em;
    }

    footer > div {
        flex: 1;
    }

    footer > div > hr {
        height: 0.2em;
        margin: 1em 0;
    }

    footer > div > h4 {
        margin-top: 0;
        font-size: 1em;
    }

    footer > a {
        width: 10em;
        position: absolute;
        right: 0;
    }

    footer > a > svg {
        width: 100%;
        height: auto;
    }
}
