:root {
    --white: rgb(251, 248, 245);
    --off-white: rgb(250, 243, 242);
    --light-gray: rgb(171, 171, 171);
    --gray: 121 119 119;
    --gray-100: rgba(var(--gray) / 100%);
    --gray-45: rgba(var(--gray) / 45%);
    --dark-gray: rgb(92, 91, 90);
    
    --light-beige: rgb(199, 179, 153);
    --beige: rgb(170, 148, 119);
    --dark-beige: rgb(102, 78, 60);
    --faint-green: rgb(221, 224, 211);
    --light-green: rgb(164, 173, 158);
    --green: rgb(95, 108, 87);
}

body {
    font-size: max(14px, 1.1vw);
    font-family: 'Figtree', sans-serif;
    line-height: 1.3;
    background-color: var(--white);
}

header {
    box-sizing: border-box;
    position: sticky;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25em 18vw;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 3;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0.1em 0.75em rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.15s;
    z-index: -1;
}

header.scrolled::before {
    opacity: 1;
}

.upper-header {
    display: flex;
    justify-content: end;
    background-color: var(--light-beige);
    padding: 0.41em 1.5vw;
    box-sizing: border-box;
}

.upper-header a {
    padding: 0 0.35em;
}

.upper-header a img {
    display: block;
    height: 21px;
}

.header-logos {
    display: flex;
    justify-content: space-between;
}

.header-logos a {
    display: flex;
}

.header-logos img {
    height: 4.3em;
}

nav {
    font-size: max(0.9em, 15px);
}

nav a {
    color: var(--gray-100);
    letter-spacing: 0.12em;
    margin-left: 2.25em;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

nav a:hover,
nav a.active {
    color: var(--dark-beige);
    text-decoration: underline;
    text-underline-offset: 0.6em;
}

.header-spacing {
    height: 99px;
}

h1 {
    color: var(--light-green);
    font: normal min(6.75em, 14vw) 'Imperial Script', cursive;
    margin-top: 0.12em;
    margin-bottom: 0.22em;
    line-height: 1;
    text-shadow: 0.02em 0.02em 0.04em rgba(0, 0, 0, 0.2);
}

.p-lg h1 {
    font-size: min(6.75em, 11vw);
}

h2 {
    color: var(--light-beige);
    font: 500 2.92em 'Cormorant Garamond', serif;
    margin-bottom: 0.5em;
    margin-top: 0;
    line-height: 1;
}

h3 {
    font: 400 1.45em 'Figtree', sans-serif;
    color: var(--dark-beige);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5em;
    margin-top: 0;
    line-height: 1;
}

h3.decorated::before {
    content: '\2014';
    margin-right: 0.5em;
}

h3.decorated::after {
    content: '\2014';
    margin-left: 0.5em;
}

h4 {
    font: 700 0.85em 'Figtree', sans-serif;
    color: var(--dark-beige);
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

h5 {
    margin: 0.25em 0;
}

p, ul {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gray-100);
    font-weight: 500;
    margin-top: 0;
}

b {
    font-weight: 700;
}

a {
    color: var(--light-beige);
    text-decoration: none;
}

a:not(.btn):hover {
    text-decoration: underline;
}

button,
.btn,
input[type='submit'],
input[type='button'] {
    display: block;
    width: min-content;
    min-width: 10.2em;
    text-align: center;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    border-radius: 0;
    margin: 1em auto;
    padding: 0.4em 1.5em;
    white-space: nowrap;
    border: 3px solid var(--light-beige);
    font-size: 0.74em;
    background-color: var(--light-beige);
    box-shadow: 0.12em 0.12em 0.35em rgba(0, 0, 0, 0.2);
}

button:hover,
.btn:hover,
input[type='submit']:hover,
input[type='button']:hover {
    background-color: transparent;
    color: var(--light-beige);
    font-weight: 500;
}

.btn {
    text-decoration: none;
    font-weight: 500;
}

ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

li {
    padding-left: 1em;
    text-indent: -1em;
    margin-bottom: 1em;
}

li:before {
    content: "❦";
    padding-right: 0.4vw;
}

main {
    padding: calc(2.25vw + 1em) 0 5.5vw;
    background-color: rgb(255, 255, 255);
}

section:not(.allow-overflow) {
    overflow: hidden;
}

:is(main, section) :is(h1, h3) {
    text-align: center;
}

section a {
    color: var(--dark-beige);
    font-weight: 700;
}

.container > p {
    text-align: center;
    font-size: 1.39em;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 1.5em;
}

.basic-flex {
    display: flex;
    margin-top: 2.5em;
    margin-bottom: 3em;
}

.basic-flex img {
    max-width: 100%;
}

.basic-flex p {
    line-height: 1.4;
}

.callout {
    background-color: var(--light-green);
    padding: 0.1em 1em;
    text-align: center;
}

.callout h3 {
    color: white;
    margin: 0.5em;
    font-weight: 500;
}

.contact-form {
    background: transparent url('/assets/Reception_ghosted.jpg') top / cover no-repeat;
    background-attachment: fixed;
    padding: calc(3.5vw + 0.5em) 5vw 0.1em;
}

@supports (-webkit-touch-callout: none) {
    .contact-form {
        background-attachment: scroll;
    }
}

.contact-form :is(h1, h4) {
    text-align: center;
}

.contact-form h1 {
    margin-top: 0;
}

/*.contact-form form {
    width: min(100%, 26em);
    margin: 3.5vw auto 3.5em;
}

form[name="contact"] {
    padding: calc(1.25vw + 0.5em);
    background-color: rgb(255, 255, 255);
    border: 1px solid var(--light-gray);
    box-shadow: 0.2em 0.2em 0.4em rgba(0, 0, 0, 0.2);
}

form[name="contact"] .spacer {
    width: 0.75em;
}

input[type='submit']:hover {
    box-shadow: 0.12em 0.12em 0.35em rgba(0, 0, 0, 0.2),
        inset 0 0 0.25em rgba(0, 0, 0, 0.2);
}

label {
    color: var(--gray-100);
    display: block;
    font-weight: 400;
    font-size: max(0.75em, 12px);
    margin-bottom: 0.1em;
}

input, textarea {
    box-sizing: border-box;
    color: var(--gray-100);
    text-align: left;
    margin-bottom: 1em;
    width: 100%;
    padding: calc(calc(32px - 1.3em) / 2) 0.4em;
    border: none;
    background-color: var(--white);
}

input.invalid {
    border: 1px solid rgb(168 81 79);
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
}*/

/* fixes styles in Safari */
/*.fix-ios {
    display: flex;
}

.fix-ios > input[type="date"] {
    display: flex;
    display: -webkit-flex;
    flex: 1 0 0;
    -webkit-flex: 1 0 0;
    border-radius: 4px;
}*/

/*input[type="date"] {
    display: block;
    min-width: 95%;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) and (stroke-color:transparent) {
        input[type="date"] {
            font-size: 0.95em;
            min-height: 2em;
        }
        
        .fix-ios > input[type="date"] {
            font-size: 1.13em;
        }
    }
}*/

/* ---------------------- */

/*textarea {
    resize: vertical;
}

.grecaptcha-badge {
    visibility: hidden !important;
}*/

.fine-print {
    margin: 0;
    font: 400 max(0.7em, 12px) 'Figtree', sans-serif;
    color: var(--light-gray);
}

.fine-print a {
    color: var(--light-beige);
}

/*.alert-success,
.alert-failure {
    margin-bottom: 1em;
    margin-right: auto;
    margin-left: auto;
}

.alert-success {
    background-color: var(--faint-green);
    border: 1px solid var(--green);
    color: var(--green);
    padding: 0.5em 1em;
    max-width: 440px;
    font-size: 1.2em;
    text-align: center;
}

.alert-failure {
    background-color: rgb(224 144 142);
    border: 1px solid rgb(168 81 79);
    font-size: max(0.8em, 12px);
    padding: 0.75em 1em 0;
}

.alert-failure ul {
    color: rgb(117 57 55);
}*/

footer .upper {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: min(4.1em, 4.1vw) max(calc(calc(100% - 64em) / 2), 1em) min(3.8em, 3.8vw);
    font-size: max(calc(12px + 0.4vw), 14px);
    line-height: 1.6;
}

footer .sec {
    border-right: 1px solid var(--gray-45);
    padding: 0 max(2.25vw, 0.8em);
}

footer .sec:first-child {
    position: relative;
    padding: 0 5vw 0 0;
}

footer .decoration {
    position: absolute;
    width: 21em;
    top: -3em;
    left: -2.5em;
    z-index: -1;
}

footer .sec:nth-child(2) {
    max-width: 17.5em;
}

footer .sec:first-child a {
    display: inline-block;
    margin: 2vw 0.5rem;
}

footer .sec:first-child a:first-child {
    margin-left: 0;
}

footer .sec:first-child a:last-child {
    margin-right: 0;
}

footer .sec:last-child {
    border-right: none;
}

footer .sec:last-child p {
    line-height: 1.475;
    margin-bottom: 0.34em;
}

footer .sec:first-child a img {
    height: 1.72em;
}

footer .upper :is(p, a, address) {
    font-size: 1.05em;
    font-weight: 500;
    color: var(--gray-100);
    letter-spacing: 0.05em;
    line-height: 1.58;
}

footer p {
    font-weight: 400;
}

address {
    font-style: normal;
}

.address-type {
    display: block;
    font-size: max(0.6em, 12px);
    text-transform: uppercase;
    letter-spacing: initial;
    line-height: 0.5;
    margin-top: -0.2em;
}

footer a {
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--light-beige);
}

.sec h4 {
    margin-top: 0;
    margin-bottom: 1.6em;
}

footer .lower {
    background-color: var(--light-beige);
    text-align: center;
    padding: 1.3em;
}

footer .lower :is(p, a) {
    margin: 0;
    font: 400 max(0.8em, 12px) 'Figtree', sans-serif;
    color: var(--white);
    letter-spacing: 0.1em;
}

footer .lower a {
    font-size: inherit;   
}

footer .lower a:hover {
    color: var(--gray-100);
}

/* #region UTILITY CLASSES */

.container {
    width: min(calc(40em + 26vw), 100%);
    margin: 0 auto;
    padding: 0 4vw;
    box-sizing: border-box;
}

.no-overflow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.flex {
    display: flex;
}

.flex-half {
    flex: 1;
    flex-basis: 50%;
}

.flex-grow {
    flex-grow: 1;
}

.spacer {
    width: 2vw;
    flex-shrink: 0;
}

.indent {
    margin-left: 2em;
}

.p-lg {
    padding: 3em 4em 7em;
}

.p-md {
    padding: 2.5em 0 5em;
}

.p-sm {
    padding: 0.5em 0;
}

.m-0 {
    margin: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-lg {
    margin-bottom: 3em;
}

.no-break {
    white-space: nowrap;
}

.tablet-show,
.tablet-sm-show,
.mobile-show,
.xs-show {
    display: none;
}

/* #endregion */

@media (max-width: 1320px) {
    header {
        padding: 0.25em max(calc(calc(100vw - 60em) / 2), 0.75em);
    }
}

/* Tablet */
@media (max-width: 960px) {
    .p-md {
        padding: 4vw 0;
    }

    .p-sm {
        padding: 0.5em 0;
    }
}

@media (max-width: 910px) {
    /* switch to hamburger menu */
    .tablet-show {
        display: initial;
    }

    .tablet-hide,
    .pc-only {
        display: none;
    }

    header {
        display: block;
        padding: 0.25em 1em;
    }

    .header-logos img {
        height: 3.5em;
    }

    .header-logos {
        align-items: center;
    }
    
    .upper-header a {
        margin: 0 0.1em;
    }
    
    .upper-header a img {
        height: 18px;
    }

    nav {
        height: 0;
        overflow: hidden;
        transition: height 0.3s;
    }

    nav.active {
        height: 21.2em;
    }

    nav a {
        display: block;
        padding: 0.75em 1em 0.75em 0;
        border-top: 1px solid rgba(255 255 255 0.4);
        margin-left: 0;
    }
    
    nav a:first-child {
        padding-top: calc(1vw + 1.3em);
    }

    nav a:last-child {
        border-bottom: 1px solid rgba(255 255 255 0.4);
    }

    .menu-icon {
        display: flex;
    }   
}

@media (max-width: 850px) {
    h3 {
        font-size: calc(2vw + 0.5em);
    }

    form[name="contact"] {
        font-size: 1.25em;
    }

    footer .sec h4 {
        font-size: 0.8em;
    }

    footer .sec:first-child {
        padding-right: 3vw;
    }
    
    footer h2 {
        font-size: 2.45em;
    }

    .p-lg {
        padding: 1em 5vw 5em;
    }

    .indent {
        margin-left: 1em;
    }
}

@media (max-width: 820px) {
    .tablet-sm-show {
        display: initial;
    }

    .tablet-sm-hide {
        display: none;
    }

    .contact-form {
        background-image: url('/assets/Reception_ghosted_tablet.jpg');
    }

    /*footer .sec:first-child {
        max-width: 11.1em;
    }*/

    footer .sec:first-child img {
        margin-bottom: 1em;
    }
}

@media (max-width: 740px) {
    /*.header-logos img {
        height: 2.3em;
    }*/

    .menu-icon {
        padding-top: 0.6em;
        padding-bottom: 0.6em;
    }
    
    nav a {
        padding-left: 11vw;
    }

    footer .upper {
        flex-wrap: wrap;
    }
    
    footer .sec:nth-child(2) {
        max-width: unset;
        border-left: 1px solid var(--gray-45);
    }

    footer .sec:first-child {
        width: 100%;
        max-width: unset;
        border-right: none;
        margin: 0 0 2vw;
        padding: 0 2.25vw;
        text-align: center;
    }
    
    footer .sec:last-child {
        flex-grow: 1;
    }
    
    footer .decoration {
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    /*footer .sec:first-child img {
        width: min(15em, 100%);
    }*/

    footer .lower {
        font-size: 0.79em;
    }

    .p-lg {
        padding-bottom: 3.75em;
    }
    
    .contact-form {
        padding-left: 2vw;
        padding-right: 2vw;
    }
    
    .contact-form form {
        box-sizing: border-box;
    }
}

@media (max-width: 536px) {
    .mobile-show {
        display: initial;
    }

    .mobile-hide {
        display: none;
    }

    /*.header-logos {
        padding: 4vw 3vw;
    }*/

    .divider {
        margin: 0 4vw;
    }

    /*.header-logos img {
        height: 1.8em;
    }*/

    .menu-icon {
        padding-top: 0.3em;
        padding-bottom: 0.3em;
    }

    /*h1 {
        font-size: 2.25em;
    }

    h2 {
        font-size: 1.9em;
    }

    section {
        font-size: 0.85em;
    }*/

    .contact-form {
        background-image: url('/assets/Reception_ghosted_mobile.jpg');
    }

    footer .upper {
        padding: 2.5em 0.5em 2.5em 0.75em;
    }

    footer .sec:first-child {
        width: 100%;
        margin: 0 0 4vw;
        padding: 0 2.25vw;
    }

    footer .sec {
        flex-grow: 1;
    }

    .indent {
        margin-left: 0.5em;
    }
}

@media (max-width: 500px) {
    footer .sec p {
        font-size: 0.9em;
    }
}

@media (max-width: 476px) {
    .xs-hide {
        display: none;
    }

    .xs-show {
        display: initial;
    }

    footer .upper {
        padding-left: max(calc(calc(100vw - 23em) / 2), 1em);
        padding-right: max(calc(calc(100vw - 23em) / 2), 1em);
        padding-bottom: 1em;
    }

    footer .sec {
        width: 100%;
        margin-bottom: 4vw;
        border-right: none;
    }
    
    footer .sec:last-child {
        border-left: 1px solid var(--gray-45);
    }
}

@media (max-width: 400px) {
    :root {
        --icon-size: 5.2vw;
    }

    .header-logos img {
        height: 14vw;
    }
    
    .upper-header a {
        margin: 0 0.25em;
    }

    .upper-header a img {
        height: 16px;
    }

    .menu-icon {
        padding: 1.4vw 2vw;
    }
    
    h2 {
        font-size: 10vw;
    }
    
    button,
    .btn,
    input[type="submit"],
    input[type="button"] {
        white-space: normal;
        width: auto;
    }
}

@media (max-width: 360px) {
    form .flex {
        flex-direction: column;
    }
}
