:root {
    --turquoise: #76b4c1;
    --light-turquoise: #c4dadd;
    --dark: #29454b;
    --bronze: #947d67;
    --button: #705b49;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--dark);
    background: var(--light-turquoise);
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    background: var(--turquoise);
}

.site-header img {
    display: block;
    width: 220px;
    height: auto;
}

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

.hero img {
    display: block;
    width: 100%;
    height: clamp(340px, 42vw, 650px);
    object-fit: cover;
    object-position: center 30%;
}

.welcome {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 56px 24px;
    text-align: center;
    background: linear-gradient(
        180deg,
        var(--light-turquoise),
        var(--turquoise)
    );
}

.welcome::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -100px;
    bottom: -100px;
    width: 460px;
    height: 460px;
    background: url("assets/images/moon.png")
                center / contain no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.content {
    max-width: 680px;
    margin: 0 auto;
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
}

h1, h2, .signature {
    font-family: "Marcellus", Georgia, serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.2;
    margin: 18px 0;
}

h2 {
    font-size: 28px;
    margin-bottom: 14px;
}

.ornament {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--bronze);
    font-size: 26px;
    margin: 20px 0 28px;
}

.ornament span {
    width: 65px;
    height: 1px;
    background: var(--bronze);
}

.button {
    display: inline-block;
    margin: 20px 0;
    padding: 14px 48px;
    background: var(--button);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    transition: background 150ms ease;
}

.button:hover {
    background: #594737;
}

.contact {
    margin: 24px auto;
    padding-top: 20px;
    border-top: 1px solid rgba(41, 69, 75, 0.2);
}

.contact a {
    display: block;
    width: fit-content;
    margin: 8px auto;
    color: var(--dark);
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

.contact .youtube {
    margin-top: 24px;
}

.signature {
    margin: 32px 0 0;
    font-size: 23px;
}

footer {
    padding: 28px 24px;
    background: var(--turquoise);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    font-size: 12px;
}

footer img {
    width: 160px;
    height: auto;
}

a:focus-visible {
    outline: 3px solid var(--dark);
    outline-offset: 5px;
}

@media (max-width: 600px) {
    .site-header img {
        width: 180px;
    }

    .hero img {
        height: 340px;
    }

    .welcome {
        padding: 36px 20px;
    }

    .welcome::before {
        width: 300px;
        height: 300px;
    }

    body {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
