@font-face {
    font-family: "Dancing Script";
    src: url("../fonts/DancingScript-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Quattrocento Sans";
    src: url("../fonts/QuattrocentoSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Quattrocento Sans";
    src: url("../fonts/QuattrocentoSans-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    background-color: #faf5ed;
    color: #5c4a3a;
    font-family: "Quattrocento Sans", Georgia, serif;
    padding: clamp(28px, 5vh, 56px) 24px 0;
}

main {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: clamp(20px, 3vh, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - clamp(28px, 5vh, 56px));
    min-height: calc(100dvh - clamp(28px, 5vh, 56px));
}

h1 {
    font-family: "Dancing Script", cursive;
    font-weight: 600;
    font-size: clamp(36px, 8vw, 48px);
    color: #8d2424;
    letter-spacing: clamp(0.5px, 0.5vw, 3px);
    line-height: 1.15;
    margin-bottom: clamp(12px, 2vh, 24px);
}

.divider {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto clamp(12px, 2vh, 20px);
}

.divider-wing {
    flex: 1;
    height: 1.5px;
    background-color: #8d2424;
    opacity: 0.6;
    position: relative;
}

.divider-wing::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border: 1.2px solid #8d2424;
    background: transparent;
    transform: translateY(-50%);
}

.divider-wing:first-child::after {
    right: -10px;
}

.divider-wing:last-child::after {
    left: -10px;
}

.divider-ornament {
    opacity: 0.65;
    line-height: 1;
}

.paw-icon {
    width: 36px;
    height: 36px;
    fill: url(#paw-gradient);
    filter: drop-shadow(0 1px 2px rgba(80, 20, 20, 0.3));
}

.artwork {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: 4px;
    margin: 0 auto clamp(16px, 3vh, 36px);
    border: 1px solid rgba(140, 100, 60, 0.15);
    padding: 8px;
    background-color: #fff;
    box-shadow:
        0 1px 4px rgba(140, 100, 60, 0.15),
        0 4px 24px rgba(140, 100, 60, 0.1);
}

.content {
    width: 100%;
    margin: auto 0;
}

.message {
    max-width: 480px;
    margin: 0 auto;
    font-size: clamp(15px, 2vw, 16.5px);
    font-style: italic;
    line-height: 1.9;
}


.sign-off {
    margin-top: 4px;
    font-family: "Dancing Script", cursive;
    font-style: normal;
    font-size: clamp(15px, 2vw, 17px);
    color: #5c4a3a;
    text-align: center;
    position: relative;
}

.contact {
    position: fixed;
    bottom: 16px;
    right: 20px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: lowercase;
}

@media (max-height: 700px) {
    .contact {
        position: static;
        margin-top: clamp(20px, 3vh, 40px);
        align-self: flex-end;
    }
}

.contact a {
    color: #5c4a3a;
    text-decoration: none;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.contact a:hover {
    opacity: 0.6;
}
