
:root {
    --burgundy: #391b2b;
    --burgundy-light: #512b3e;
    --ivory: #f8f3eb;
    --gold: #c6a675;
    --muted: #cbb9bd;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--burgundy);
    font-family: 'Montserrat', sans-serif;
}

.page {
    min-height: 100vh;
}

/* Hero */

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--burgundy);
    color: var(--ivory);
}

.hero-image {
    min-height: 650px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-content {
    padding: 70px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.eyebrow,
.section-kicker {
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 500;
}

.eyebrow {
    color: var(--gold);
}

h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(55px, 6vw, 88px);
    font-weight: 400;
    line-height: 1;
    margin: 30px 0 15px;
}

h1 span {
    color: var(--gold);
    font-style: italic;
}

.ornament {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 20px;
    color: var(--gold);
}

.ornament span:not(.ornament-diamond) {
    width: 45px;
    height: 1px;
    background: var(--gold);
}

.ornament-diamond {
    font-size: 10px;
}

.hero-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-size: 32px;
    margin: 0 0 15px;
}

.intro {
    max-width: 420px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 35px;
}

/* Buttons */

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    padding: 0 30px;
    background: var(--gold);
    color: var(--burgundy);
    border: 1px solid var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.primary-button:hover {
    background: transparent;
    color: var(--gold);
}

.primary-button span {
    font-size: 18px;
}

/* Guest section */

.guest-section {
    padding: 85px 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.section-kicker {
    color: #a17b64;
    margin-bottom: 20px;
}

.guest-section h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 43px;
    font-weight: 400;
    margin: 0 0 15px;
}

.guest-section > p {
    color: #796a70;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 auto 30px;
    max-width: 470px;
}

.guest-form {
    display: flex;
    flex-direction: column;
    max-width: 380px;
    margin: 30px auto 0;
    text-align: left;
}

.guest-form label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.guest-form input {
    height: 52px;
    border: 1px solid #ded2c8;
    background: #fffdf9;
    padding: 0 15px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 18px;
    border-radius: 0;
}

.guest-form input:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.guest-form .primary-button {
    width: 100%;
}

.notice {
    display: inline-block;
    padding: 15px 25px;
    background: #eee5da;
    color: var(--burgundy);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.error-message {
    max-width: 380px;
    margin: 15px auto;
    padding: 12px;
    background: #f5e2e0;
    color: #842d2d;
    font-size: 13px;
}

/* Footer */

footer {
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #e7ddd3;
}

.footer-ornament {
    color: #ad7c83;
    font-size: 16px;
}

footer p {
    color: #8a777d;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
}

/* Mobile layout */

@media (max-width: 800px) {

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-image {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .hero-content {
        padding: 55px 25px 65px;
    }

    h1 {
        font-size: 65px;
    }

    .hero-content h2 {
        font-size: 29px;
    }

    .guest-section {
        padding: 65px 25px;
    }

    .guest-section h2 {
        font-size: 36px;
    }
}

@media (max-width: 380px) {

    h1 {
        font-size: 54px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }
}
