*,
*::before,
*::after {
    font-family: 'Roboto', 'Helvetica', sans-serif;
    box-sizing: border-box;
}
body {
    font-size: 62.5%;
}
header {
    padding: 1rem 4%;
}
header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
header nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0 1.6rem;
    margin: 0;
    padding: 0;
    flex: 1;
}
header nav ul li {
    display: inline-block;
    font-size: 1rem;
}
.header-links a {
    color: inherit;
    text-decoration: none;
}
.header-btn {
    padding: .3rem 2.4rem;
    border: 1px;
    background: #383838;
    color: #fff;
}

/* Burger button - hidden until nav links no longer fit */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 3.4rem;
    height: 3.4rem;
    background: none;
    border: 1px solid #38383866;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}
.burger span {
    display: block;
    width: 1.7rem;
    height: 2px;
    background: #383838;
    margin: 0 auto;
}

/* Mobile dropdown menu - hidden by default, toggled by js/nav.js */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #f1f3f5;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
}
.mobile-menu.open {
    max-height: 400px;
}
.mobile-link {
    color: #383838;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.4rem;
    padding: 1.4rem 4%;
    border-top: 1px solid #38383822;
}

main {
    background-image: url(/jwli_bg_only_hq.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 685px;
    display: flex;
    align-items: center;
    padding: 3rem 10%;
}
main section {
    text-align: left;
}
main section h2 {
    font-size: 2.2rem;
    font-weight: 400;
    color: #383838;
}
main section p {
    font-size: 1.4rem;
    font-weight: 400;
    color: #383838;
}
main section span {
    display: block;
    font-size: 1rem;
    color: #383838;
    padding-bottom: 1rem;
}
.email-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
main section input {
    border: 1px solid #707070;
    border-radius: 5px;
    width: 17rem;
    max-width: 100%;
    height: 2rem;
    font-size: 1rem;
    padding-left: 1rem;
}
main section button {
    color: #fff;
    background: #b7bec4;
    border: 1px solid #696a6b;
    border-radius: 6px;
    padding: .4rem 3rem;
    font-size: 1.2rem;
    font-weight: 300;
}
main + section {
    padding: 0 20%;
}
main + section section {
    text-align: center;
}
h1 {
    font-size: 2.2rem;
    font-weight: 500;
    padding-top: 4rem;
}
.double-p {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    gap: 2rem;
    padding-top: 1rem;
}
.double-p p {
    flex: 1 1 220px;
    font-size: 1.1rem;
    line-height: 2rem;
}
.double-p strong {
    border-top: 4px solid #ffbabada;
}
.em-p {
    font-size: 1rem;
    color: #8a8a8a;
    text-align: center;
    padding: 2rem 0 5rem;
}
.history-sec {
    padding: 2% 5%;
    background: #f1f3f5;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.history-sec > section {
    flex: 1 1 320px;
}
.history-sec section h3 {
    font-size: 2.2rem;
    font-weight: 500;
    color: #383838;
}
.history-sec section p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #575757;
    line-height: 2rem;
}
.history-sec section + section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.history-sec section + section img {
    width: 50%;
    max-width: 20rem;
}
img + span {
    font-size: 1rem;
    color: #727272cb;
    padding: 1rem;
}
.who-we-r {
    padding: 0 6%;
}
.who-we-r > div {
    text-align: center;
}
.who-we-r > div h3 {
    font-size: 2.2rem;
    font-weight: 500;
    color: #383838;
}
.who-we-r > section {
    border: 1px solid #f1f3f5;
    padding: 2rem 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.founder-img {
    flex: 0 1 275px;
    display: flex;
    justify-content: center;
}
.founder-img img {
    width: 100%;
    max-width: 275px;
}
.founder-img + section {
    flex: 1 1 300px;
    align-items: center;
    justify-content: center;
}
.founder-img + section h4 {
    font-size: 1.2rem;
}
.founder-img + section p {
    font-size: 1.2rem;
    line-height: 2rem;
}
.who-we-r + section {
    padding: 3rem 6%;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}
.who-we-r + section section {
    flex: 1 1 300px;
}
.simmons {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', 'Helvetica', sans-serif;
    color: #202020;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: .5rem;
}
.simmons + span {
    font-family: 'Playfair Display', 'Helvetica', sans-serif;
    color: #575757;
    letter-spacing: 1px;
    border-top: .5px solid #575757;
}
.who-we-r + section section h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #99999b;
}
.who-we-r + section section p {
    font-size: 1.2rem;
    color: #383838;
    line-height: 2rem;
}
.newsletter {
    background: #d2dde7;
    padding: 1.5rem 7.5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}
.newsletter span {
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
}
.newsletter input {
    border: 1px solid #707070;
    border-radius: 5px;
    width: 25rem;
    max-width: 100%;
    height: 2rem;
    font-size: 1rem;
}
.newsletter button {
    color: #fff;
    background: #b7bec4;
    border: 1px solid #696a6b;
    border-radius: 6px;
    padding: .4rem 3rem;
    font-size: 1.2rem;
    font-weight: 300;
}
footer {
    padding: 1rem 7.5% 2rem;
    background: #8f9ca3;
}
.footer-top {
    border-bottom: 1px solid #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding-bottom: 1rem;
}
footer section p {
    font-size: 1rem;
    color: #fff;
}
.footer-top ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-top ul li {
    color: #fff;
    font-size: 1rem;
    display: inline;
    padding-left: 2rem;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    padding-top: 2rem;
}
.footer-bottom ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-bottom ul li {
    font-size: 1rem;
    font-weight: 300;
    color: #fff;
    padding-bottom: .4rem;
}
.footer-bottom ul li strong, .footer-bottom span {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}
.footer-bottom span {
    padding-top: .5rem;
}

@media (max-width: 1400px) {
    main {
        background-size: contain;
    }
}
@media (max-width: 1075px) {
    main section h2 {
        font-size: 1.6rem;
    }
    main section p {
        font-size: 1rem;
    }
}
@media (max-width: 1045px) {
    main {
        background-image: none;
        background: #d2dde7;
        justify-content: center;
    }
    main section {
        text-align: center;
    }
    .email-row {
        justify-content: center;
    }
}
@media (max-width: 960px) {
    .header-links,
    .header-btn {
        display: none;
    }
    .burger {
        display: flex;
    }
    .mobile-menu {
        display: flex;
    }
}
@media (max-width: 770px) {
    .founder-img img {
        max-width: 180px;
    }
}
@media (max-width: 680px) {
    .history-sec {
        flex-direction: column;
    }
    .history-sec section + section img {
        max-width: 16rem;
    }
}
@media (max-width: 620px) {
    main + section {
        padding: 0 6%;
    }
    main section {
        padding: 0 1rem;
    }
    h1 {
        font-size: 1.6rem;
    }
    .who-we-r + section {
        padding: 1rem;
    }
    .founder-img {
        flex-basis: 100%;
    }
}
