:root {
    --green: #79c330;
    --cream: #f7f4ef;
    --field: #e7f0d8;
    --button: #8faf5e;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    background: var(--green);
    color: #fff;
    font-family: Georgia, serif;
    overflow-x: hidden;
}

body.admin-bar .nav {
    top: 32px;
}

.hero {
    height: 100vh;
    min-height: 620px;
    position: relative;
    background:
        linear-gradient(180deg, #0002, #0003),
        url("../images/ole-fit-main.jpg") center 18% / cover;
}

.nav {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    height: 154px;
    background: transparent;
    display: flex;
    align-items: flex-start;
    padding: 8px 5vw;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.nav.scrolled {
    background: var(--green);
    border-color: #ffffff55;
}

.nav--light {
    background: #fff;
    box-shadow: 0 10px 26px #00000012;
}

.nav--light.scrolled {
    background: #fff;
    border-color: transparent;
}

.logo {
    width: 136px;
    height: 136px;
    border-radius: 50%;
    object-fit: cover;
    background: #1d1d1d;
}

.links {
    margin-left: auto;
    display: flex;
    align-items: flex-start;
    gap: 35px;
    padding-top: 45px;
}

.links > a,
.drop > a {
    color: #fff !important;
    text-decoration: none;
    font-size: 22.5px;
    line-height: 1;
    white-space: nowrap;
}

.nav--light .links > a,
.nav--light .drop > a {
    color: #222 !important;
}

.links > a.active {
    text-decoration: underline;
    text-underline-offset: 12px;
}

.drop {
    position: relative;
    padding-bottom: 22px;
}

.drop > a {
    display: inline-flex;
    align-items: center;
}

.drop > a::after {
    content: "\2304";
    font-size: 17px;
    margin-left: 9px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    width: 325px;
    text-align: center;
    padding: 17px 20px 20px;
    box-shadow: 0 8px 18px #0002;
}

.nav--light .dropdown {
    background: #fff;
}

.drop:hover .dropdown,
.drop.open .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    color: #fff !important;
    text-decoration: none;
    font-size: 20.7px;
    line-height: 1.42;
    padding: 4px;
}

.dropdown a:hover {
    color: #fff !important;
    text-decoration: underline;
}

.nav--light .dropdown a,
.nav--light .dropdown a:hover {
    color: #222 !important;
}

.toggle {
    display: none;
    color: #fff;
    background: none;
    border: 0;
    font-size: 27px;
    margin: 19px 0 0 auto;
    cursor: pointer;
}

.nav--light .toggle {
    color: #222;
}

.simple-page {
    min-height: 100vh;
    padding-top: 154px;
    background: #fff;
    color: #222;
}

.simple-page__content {
    padding: 88px 5vw 120px;
}

.simple-page__content h1 {
    margin: 0;
    color: #222;
    font: 400 clamp(31px, 4.3vw, 68px) / 0.95 Georgia, serif;
    letter-spacing: 0;
    text-align: center;
}

.simple-page__rule {
    width: 100%;
    height: 2px;
    margin: 62px 0 58px;
    background: #222;
}

.contact-form {
    width: 100%;
    margin: 0;
    color: #222;
}

.contact-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    width: 100%;
    margin: 0 0 28px;
    padding: 18px 20px;
    border-radius: 10px;
    font: 700 18px Georgia, serif;
}

.form-message--success {
    background: var(--field);
    color: #35591f;
}

.form-message--error {
    background: #f8e9e3;
    color: #7a2b1f;
}

.form-title {
    margin: 0 0 18px;
    font: 400 28px Georgia, serif;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
}

.form-field {
    display: block;
    color: #222;
    font: 700 17px Georgia, serif;
    text-align: left;
}

.form-field--wide {
    grid-column: 1 / -1;
}

.form-field em {
    color: #858585;
    font-style: normal;
    font-weight: 400;
    margin-left: 8px;
}

.field-label {
    display: block;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: var(--field);
    color: #222;
    font: 24px Georgia, serif;
    outline: none;
}

.contact-form input,
.contact-form select {
    height: 58px;
    padding: 0 16px;
}

.contact-form textarea {
    min-height: 130px;
    padding: 16px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    box-shadow: inset 0 0 0 2px var(--button);
}

.contact-form select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #333 50%),
        linear-gradient(135deg, #333 50%, transparent 50%);
    background-color: var(--field);
    background-position:
        calc(100% - 22px) 25px,
        calc(100% - 12px) 25px;
    background-size: 10px 10px;
    background-repeat: no-repeat;
}

.submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.submit-button {
    border: 0;
    border-radius: 12px;
    background: var(--button);
    color: #fff;
    font: 700 17px Georgia, serif;
    padding: 24px 42px;
    min-width: 150px;
    cursor: pointer;
}

.contact-alt {
    width: 100%;
    margin: 100px 0 0;
    font: 400 clamp(24px, 3.2vw, 40px) / 1.1 Georgia, serif;
}

.contact-details {
    width: 100%;
    margin: 18px 0 0;
    font: 400 clamp(18px, 2vw, 26px) / 1.35 Georgia, serif;
}

.contact-details a {
    color: #222;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.wordmark {
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translateX(-50%);
    font: bold clamp(34px, 4.5vw, 68px) / 0.85 Georgia, serif;
    white-space: nowrap;
    text-align: center;
    text-shadow: 0 2px 13px #0008;
}

.wordmark i {
    display: block;
    color: var(--green);
    font: italic 1.05em Georgia, serif;
    margin-top: 12px;
}

.locations {
    position: absolute;
    z-index: 2;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12vw;
}

.locations a {
    background: #fff;
    color: var(--green);
    min-width: 131px;
    padding: 21px 23px;
    border-radius: 18px;
    text-align: center;
    text-decoration: none;
    font-size: 15.3px;
    font-weight: bold;
    transition: opacity 0.2s;
}

.locations a:hover {
    opacity: 0.78;
}

.below {
    padding: 100px 9vw;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 9vw;
}

.below h2 {
    font: 400 clamp(38px, 5.4vw, 77px) / 0.95 Georgia, serif;
    margin: 15px 0;
}

.below p {
    font-size: 21.6px;
    line-height: 1.35;
}

.below a {
    color: #fff;
}

.footer {
    background: var(--cream);
    color: #222;
    padding: 30px 5vw;
    display: flex;
    justify-content: space-between;
    font: 12px Arial, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 1000px) {
    body.admin-bar .nav {
        top: 46px;
    }

    .nav {
        height: 72px;
        padding: 6px 16px;
    }

    .logo {
        width: 66px;
        height: 66px;
    }

    .links {
        display: none;
    }

    .toggle {
        display: block;
    }

    .links.mobile {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 20px;
        background: var(--green);
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .nav--light .links.mobile {
        background: #fff;
    }

    .links.mobile > a,
    .links.mobile .drop > a {
        font-size: 20px;
    }

    .dropdown {
        position: static;
        transform: none;
        width: auto;
        padding: 8px 0;
        background: transparent;
        box-shadow: none;
    }

    .drop:hover .dropdown {
        display: none;
    }

    .drop.open .dropdown {
        display: block;
    }

    .simple-page {
        padding-top: 72px;
    }

    .simple-page__content {
        padding: 58px 18px 80px;
    }

    .simple-page__content h1 {
        font-size: clamp(24px, 7.4vw, 37px);
    }

    .simple-page__rule {
        margin: 38px 0 42px;
    }

    .form-title {
        font-size: 26px;
    }

    .form-message {
        font-size: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contact-form,
    .contact-alt,
    .contact-details {
        width: 100%;
    }

    .contact-form input,
    .contact-form select {
        height: 54px;
        font-size: 21px;
    }

    .contact-form textarea {
        font-size: 21px;
    }

    .contact-alt {
        margin-top: 70px;
        font-size: clamp(24px, 7vw, 34px);
    }

    .contact-details {
        font-size: clamp(18px, 5vw, 24px);
    }

    .wordmark {
        top: 20%;
        width: 100%;
        padding: 0 16px;
        font-size: clamp(27px, 8.1vw, 52px);
        white-space: normal;
    }

    .locations {
        bottom: 20%;
        gap: 12px;
        width: 90%;
        justify-content: center;
    }

    .locations a {
        min-width: 0;
        width: 31%;
        padding: 16px 6px;
        font-size: 12px;
    }

    .below {
        display: block;
        padding: 65px 22px;
    }

    .below p {
        font-size: 17px;
    }

    .footer {
        display: block;
        line-height: 2;
    }
}
