:root {
    --cream: hsl(34, 52%, 94%);
    --warm-paper: hsl(35,45%,88%);
    --espresso: hsl(28, 22%, 16%);
    --soft-espresso: hsl(28,18%,24%);
    --wine: hsl(8,37%, 23%);
    --gold: hsl(40, 35%, 65%);
    --muted-gold: hsla(40,35%,65%,0.45);
}
@font-face {
    font-family: 'Cormorant';
    src: url('Cormorant.ttf') format('truetype');
}
@font-face {
    font-family: 'Lora';
    src: url('Lora.ttf') format('truetype');
}
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
html {
    background-color: hsl(33, 14%, 85%);
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
    width: 100%;
    font-size: 1.08rem;
    line-height: 1.8;
    background-color: var(--cream);
    color: var(--espresso);
}
nav {
    position: fixed;
    top: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px;
    background-color: var(--cream);
    width: 100%;
    box-sizing: border-box;
    min-height: 70px;
    height: auto;
    border-bottom: 1px solid var(--muted-gold);
    box-shadow: 0 2px 12px hsla(28,22%,10%,0.18);
    z-index: 50;
}
nav #nav-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    width: 100%;
    height: auto;
    color: hsl(33, 14%, 50%);
}
nav #nav-content #left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
nav #nav-content #right {
    display: inline-flex;
    width: auto;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}
#logo-container {
    display: inline-flex;
    overflow: hidden;
    height: 52px;
    width: auto;
    flex-shrink: 0;
}
nav .logo {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 52px;
    position: relative;
    overflow: hidden;
    object-fit: contain;
    display: block;
}
nav h1 {
    font-family: 'Cormorant', serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    letter-spacing: 0.12em;
    font-weight: 400;
    margin-top: 0;
    height: auto;
    width: auto;
    line-height: 1.05;
    color: var(--espresso);
    padding-left: 10px;
    /*
    border-top: 2px solid hsl(33, 14%, 50%);
    border-bottom: 2px solid hsl(33, 14%, 50%);
    */
}
#menu-toggle {
    position: absolute;
    display: block;
    opacity: 0%;
}
.menu-btn {
    display: flex;
    width: 28px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10;
    background-color: inherit;
    cursor: pointer;
}
.menu-btn span {
    display: block;
    position: relative;
    width: 28px;
    height: 4px;
    margin: 0px auto;
    background: radial-gradient(circle at center, hsl(33, 14%, 30%), hsl(33, 14%, 50%));

}
.nav-links {
    position: fixed;
    top: 73px;
    height: 100vh;
    right: -100%;
    width: 100%;
    display: block;
    flex-direction: column;
    list-style: none;
    text-align: center;
    z-index: 49;
    background-color: var(--cream);
}
.nav-links li {
    margin-top: 15px;
    width: 100%;
    background-color: inherit;
}
.nav-links li a {
    text-decoration: none;
    background-color: inherit;
    color: var(--espresso);
    font-size: 0.78rem;
}
.nav-links li:hover {
    background-color: var(--warm-paper);
}
.nav-links li:after {
    content: "";
    display: block;
    width: 62px;
    height: 1px;
    margin-top: 12px;
    background-color: var(--muted-gold);
    margin-left: auto;
    margin-right: auto;
}
#menu-toggle:checked ~ .nav-links{
    right: 0px;
    transition: right ease 0.2s;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    color: var(--espresso);
    background-color: var(--cream);
    font-family: 'Lora', serif;
    margin-right: auto;
    margin-left: auto;
    margin-top: 100px;
}
/* background-color changed from #DED1C8. */
.overlay {
    background-color:  transparent;
    width: min(92%, 1080px);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(28px, 5vw, 72px);
    padding: clamp(36px, 7vw, 96px);
}
main h2 {
    display: block;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.03em;
    font-family: "Cormorant", "serif";
    margin: 20px auto 60px auto;
    background-color: transparent;
    width: 90%;
    color: var(--wine);
    padding: 20px;
    text-align: center;
}
#hero-img {
    gap: 0px;
    background-color: #EFE0CD;
    border-radius: 16px;
    display: block;
    width: min(100%, 1100px);
    aspect-ratio: 16/10;
    object-fit: cover;
    height: auto;
    position: static;  
    margin: 48px auto 48px auto;
    box-shadow: 0 10px 24px hsla(28,22%,10%,0.16);
}
#hero-img:hover {
    transform: scale(1.02);
    transition: transform 0.5s ease;
}
main p {
    font-size: 1.0rem;
    font-family: "Lora", "san-serif";
    line-height: 1.7;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    width: 100%;
    max-width: 62ch;
    text-align: center;
    background-color: transparent;
    color: hsl(8, 37%, 5%);
}
main p a {
    display: block;
    width: fit-content;
    margin: 50px auto 100px auto;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: "Lora","sans-serif";
    background-color: var(--gold);
    color: var(--espresso);
    border: 1px solid var(--gold);
    letter-spacing: 0.04em;
}
main p a:hover {
    transform: translateY(-2px);
    transition: transform 0.4s ease;
}
.quote {
    font-family: "Cormorant", "serif";
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.03em;
    text-align: center; 
    background-color: transparent;
    color: var(--wine);
    margin-top: 72px;
    margin-bottom: 108px;
}
main .contact-link-heading {
    margin-top: 158px;
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.03em;
    text-align: center; 
    font-family: "Cormorant", "serif";
    font-size: clamp(2.2rem, 5vw, 4rem);
    background-color: transparent;
    color: var(--wine);
    letter-spacing: 0.02em;
}
main .contact-link-heading::after {
    content: "";
    display: block;
    width: 64px;
    height: 1px;
    margin: 12px auto 0;
    background-color: var(--gold);
}
main .contact-links {
    display: flex;
    gap: 36px;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    list-style:none;
    font-family: "Lora", "sans-serif";
    font-size: 1.2rem;
    text-align: center;
    background-color: transparent;
    padding-top: 20px;
    margin-bottom: 48px;
}
main .contact-links li{
    margin-top: 18px;
    width: min(100%, 320px);
    padding: 28px 24px 28px 24px;
    border: 1px solid var(--muted-gold);
    border-radius: 18px;
    background-color: var(--warm-paper);
}
main .contact-links li:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px hsla(28,22%,10%,0.16);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
main .contact-links li .label{
    display: block;
    font-size: 0.75rem;
    letter-spacing: .15em;
    color: var(--wine);
    margin-bottom: 0px;
    text-transform: uppercase;
}
main .contact-links li .label::after {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    margin: 8px auto 0;
    background-color: var(--gold);
}
main .contact-links li a {
    display: inline-block;
    max-width: 100%;
    font-family: "Lora","sans-serif";
    font-size: 0.95rem;
    padding: 0px 26px 0px 26px;
    font-family: "Lora","sans-serif";
    background-color: transparent;
    color: var(--espresso);
    letter-spacing: 0.04em;
    text-decoration: none;
    overflow-wrap: break-word;
}
footer {
    text-align: center;
    padding: 20px;
    background-color: hsl(36,45%,91%);
    color: var(--espresso);
    height: 10%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
footer p {
    font-size: 1rem;
    background-color: transparent;
}
.footer-links {
    font-size: 1rem;
    background-color: transparent;
    list-style: none;
}
.footer-links li {
    background-color: transparent;
    padding: 3px;
}
.footer-links li a {
    background-color: transparent;
    text-decoration: none;
    color: var(--espresso);
}
@media(min-width: 768px) and (max-width: 1119px) {
    main {
        margin-top: 130px;
        max-width: 82%;
    }
    .overlay {
        width: min(88vw, 760px);
        padding: clamp(32px, 5vw, 56px);
    }
    main h2 {
        font-size: clamp(3rem, 8vw, 4.4rem);
        padding: 0;
        width: 100%;
    }
    #hero-img {
        width: 100%;
        max-width: 720px;
        aspect-ratio: 16/9;
        margin: 36px auto;
    }
    main .contact-link-heading {
        margin-top: 72px;
    }
    main p a {
        margin-bottom: 64px;
    }
}
@media (min-width: 1120px) {
    .menu-btn {
        display: none;
    }
nav {
    overflow: visible;
}
    .nav-links {
        position: absolute;
        align-self: stretch;
        display: flex;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: row;
        background: none;
        list-style: none;
        background-color: var(--cream);
        height: 44px;
        padding-left: 90px;
        border-bottom: 1px solid var(--muted-gold);
    }
    .nav-links li {
        background-color: transparent;
        padding: 14px 22px;
        margin-right: 0px;
        margin-top: 0;
        width: auto;
        display: flex;
        align-items: center;
    }
    .nav-links li:hover {
        background: transparent;
        cursor: pointer;
    }
    .nav-links li:hover a {
        color: var(--gold);
    }
    .nav-links li a {
        background-color: transparent;
        text-decoration: none;
        color: var(--espresso);
        text-transform: uppercase;
    }
    .nav-links li:after {
        content: "";
        display: none;
    }
    main {
        margin-top: 130px;
        max-width: 100%;
    }
    .overlay{
        width: min(90vw, 1180px);
        padding: clamp(56px, 6vw, 96px);
        display: grid;
        grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
        grid-template-areas: 
            "headline image"
            "copy image"
            "cta image"
            "quote quote"
            "contact contact";
        column-gap: clamp(40px, 6vw, 96px);
        align-items: center;
    }
    .description {
        grid-area: copy;
        text-align: left;
        margin-left: 0;
    }
    main h2 {
        grid-area: headline;
        text-align: left;
        width: 100%;
        padding: 0;
        margin: 0 0 28px;
    }
    main h2::after {
        margin-left: 0;
    }
    #hero-img {
        grid-area: image;
        width: 100%;
        max-width: none;
        margin: 0;
        aspect-ratio: 4/5;
        object-fit: cover;
    }
    .quote{
        grid-area: quote;
        text-align: center;
        margin-top: 72px;
    }
    .cta-row {
        grid-area: cta;
    }
    main p {
        text-align: left;
    }
    main p a {
        margin-left: 0;
        margin-top: 18px;
    }
    .contact-link-heading,
    .contact-links {
        grid-column: 1/-1;
    }
} 


