:root {
    color-scheme: light;
    --bg: #fbeed6;
    --outer-bg: #e6d8b8;
    --maroon: #631922;
    --maroon-hover: #4e1219;
    --gold: #a8873f;
    --gold-muted: #9a7b38;
    --ink: #4a372b;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--outer-bg);
    color: var(--ink);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 440px;
    margin: 0 auto;
    background: var(--bg) url("images/plain-bg.webp") top center / 100% auto repeat-y;
    box-shadow: 0 0 48px rgba(90, 58, 18, 0.16);
    position: relative;
    overflow: hidden;
}

section {
    position: relative;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16% 28px 40%;
}

section > * {
    position: relative;
    z-index: 1;
}

/* Full-bleed section artwork layers */
.hero > img,
section > img.art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    z-index: 0;
}

.hero {
    padding: 58% 28px 14%;
}

.hero > img {
    -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
}

.hero .t {
    width: 100%;
}

section > img.art {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

/* Section-specific safe text zones matching each illustration */
section:nth-of-type(2) {
    padding: 15% 28px 42%;
}

section:nth-of-type(3) {
    padding: 15% 28px 38%;
}

section:nth-of-type(4) {
    aspect-ratio: auto;
    display: block;
    padding: 52px 24px 0;
}

section:nth-of-type(4) > img.art {
    position: static;
    display: block;
    width: calc(100% + 48px);
    height: auto;
    margin: 20px -24px 0;
    object-fit: initial;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 92%, transparent 100%);
}

.eyebrow {
    font-family: Cinzel, Georgia, serif;
    letter-spacing: 0.3em;
    font-size: 10.5px;
    color: var(--gold-muted);
    font-weight: 600;
    text-transform: uppercase;
}

h1,
h2 {
    font-family: Cinzel, Georgia, serif;
    color: var(--maroon);
    font-weight: 400;
    margin: 8px 0;
    line-height: 1.18;
    text-transform: uppercase;
}

h2 {
    font-size: 27px;
    letter-spacing: 0.06em;
}

h1 {
    font-size: 38px;
    letter-spacing: 0.08em;
}

.amp {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic;
    color: var(--gold);
    font-size: 22px;
    line-height: 1.2;
    margin: 2px 0;
}

.div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gold);
    font-size: 10px;
    margin: 10px 0;
}

.div:before,
.div:after {
    content: "";
    width: 44px;
    height: 1px;
    background: var(--gold);
    opacity: 0.45;
}

.date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    font-family: Cinzel, Georgia, serif;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--maroon);
    margin: 6px 0;
}

.date b {
    font-size: 44px;
    font-weight: 400;
    line-height: 1;
    padding: 2px 16px;
    border: solid rgba(168, 135, 63, 0.45);
    border-width: 0 1px;
}

.venue {
    font-family: Cinzel, Georgia, serif;
    color: var(--maroon);
    font-size: 21px;
    letter-spacing: 0.08em;
    margin: 10px 0 4px;
}

.sub {
    color: var(--gold-muted);
    letter-spacing: 0.24em;
    font-size: 11px;
    font-family: Cinzel, Georgia, serif;
    text-transform: uppercase;
}

p {
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 340px;
    color: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    min-height: 44px;
    padding: 12px 30px;
    border-radius: 999px;
    background: var(--maroon);
    color: #fff;
    text-decoration: none;
    font-family: Cinzel, Georgia, serif;
    letter-spacing: 0.22em;
    font-size: 11.5px;
    box-shadow: 0 6px 18px rgba(99, 25, 34, 0.22);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    background: var(--maroon-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(99, 25, 34, 0.28);
}

.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.cd {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
    padding: 16px 20px;
    border-radius: 16px;
    background: #faf0da url("images/plain-bg.webp") center / cover;
    border: 1px solid rgba(168, 135, 63, 0.3);
    box-shadow: 0 4px 18px rgba(90, 58, 18, 0.08);
}

.cd div {
    min-width: 60px;
}

.cd b {
    display: block;
    font-family: Cinzel, Georgia, serif;
    font-size: 34px;
    line-height: 1.1;
    color: var(--maroon);
    font-weight: 400;
}

.cd span {
    display: block;
    margin-top: 4px;
    font-family: Cinzel, Georgia, serif;
    font-size: 9.5px;
    letter-spacing: 0.2em;
    color: var(--gold-muted);
}

/* Initial envelope screen & opening animation */
#env {
    position: fixed;
    inset: 0;
    z-index: 9;
    background: var(--outer-bg);
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s;
}

#env.o {
    opacity: 0;
    transform: scale(1.04);
    visibility: hidden;
    pointer-events: none;
}

.env-frame {
    width: min(100vw, 440px);
    height: 100%;
    background: var(--bg) url("images/plain-bg.webp") center / cover;
    box-shadow: 0 0 48px rgba(90, 58, 18, 0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    overflow: hidden;
}

.env-btn {
    font-family: Cinzel, Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.28em;
    font-weight: 600;
    color: #38240e;
    padding: 12px 34px;
    border-radius: 999px;
    border: 2px solid #fff;
    background: linear-gradient(135deg, #e5cf94 0%, #bd9847 55%, #9a762b 100%);
    box-shadow: 0 4px 16px rgba(120, 85, 25, 0.22);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.env-div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gold);
    font-size: 10px;
    margin: 14px 0 32px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.env-div:before,
.env-div:after {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold);
    opacity: 0.55;
}

.envelope-stage {
    position: relative;
    width: min(88vw, 360px);
    perspective: 1400px;
}

.envelope-wrapper {
    position: relative;
    width: 100%;
    animation: f 3.4s ease-in-out infinite;
}

.envelope-glow {
    position: absolute;
    inset: -18%;
    background: radial-gradient(circle, rgba(215, 173, 98, 0.55) 0%, rgba(215, 173, 98, 0) 68%);
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.envelope {
    position: relative;
    width: 100%;
    aspect-ratio: 400 / 260;
    border-radius: 12px;
    box-shadow: 0 20px 44px rgba(105, 70, 20, 0.25);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.envelope-back {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #520d17 0%, #6d1924 100%);
    border-radius: 12px;
    border: 1.5px solid #c59c47;
    z-index: 1;
}

.envelope-card {
    position: absolute;
    left: 6%;
    right: 6%;
    top: 8%;
    bottom: 8%;
    background: var(--bg) url("images/plain-bg.webp") center / cover;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 2;
    transform: translateY(10px) scale(0.95);
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.32s, opacity 0.45s ease 0.28s, box-shadow 0.7s ease, z-index 0s linear 0.55s;
}

.card-inner-frame {
    height: 100%;
    border: 1.5px solid #d5b570;
    outline: 1px solid rgba(213, 181, 112, 0.45);
    outline-offset: -5px;
    border-radius: 6px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.card-monogram {
    font-family: Cinzel, Georgia, serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--gold-muted);
}

.card-kicker {
    font-style: italic;
    font-size: 12px;
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
    max-width: none;
}

.card-heading {
    font-family: Cinzel, Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--gold-muted);
    margin: 2px 0 0;
}

.card-names {
    font-family: Cinzel, Georgia, serif;
    font-size: 20px;
    color: var(--maroon);
    letter-spacing: 0.05em;
    line-height: 1.15;
}

.card-ornament {
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px 0;
}

.card-location {
    font-style: normal;
    font-family: Cinzel, Georgia, serif;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-muted);
    line-height: 1.3;
    margin: 0;
    max-width: none;
}

.envelope-pocket {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: 10px;
    overflow: hidden;
}

.pocket-svg,
.top-flap-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.envelope-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 58%;
    z-index: 4;
    transform-origin: top center;
    transform: rotateX(0deg);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.14s, z-index 0s linear 0.42s;
    pointer-events: none;
}

.env-sparkles {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 1px;
    height: 1px;
    z-index: 6;
    pointer-events: none;
}

.env-spark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff7d6 0%, #d8a948 70%, transparent 100%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.env-spark.petal-spark {
    width: 8px;
    height: 11px;
    border-radius: 75% 25% 70% 30%;
    background: radial-gradient(circle at 30% 30%, #f59aa4, #b8293b);
}

#env.opening .env-spark {
    animation: spark-burst 0.95s cubic-bezier(0.16, 1, 0.3, 1) var(--sd, 0s) forwards;
}

@keyframes spark-burst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, -60px))) scale(1.1) rotate(var(--sr, 180deg));
    }
}

.wax-seal {
    position: absolute;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.wax-seal-ripple {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(180, 38, 54, 0.55);
    animation: seal-pulse 2.4s ease-out infinite;
}

.wax-seal-ripple.ripple-2 {
    animation-delay: 1.2s;
    border-color: rgba(197, 156, 71, 0.55);
}

.wax-seal-tassels {
    position: absolute;
    top: 46px;
    display: flex;
    gap: 10px;
    z-index: 0;
}

.wax-seal-tassels span {
    width: 4px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d7b25e 0%, #9b7328 70%, #b42636 75%, #821420 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    transform-origin: top center;
}

.wax-seal-tassels span:first-child {
    transform: rotate(5deg);
}

.wax-seal-tassels span:last-child {
    transform: rotate(-5deg);
}

.wax-seal-body {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #c83344 0%, #8f1624 58%, #5b0913 100%);
    box-shadow: 0 6px 16px rgba(72, 9, 18, 0.45), inset 0 2px 5px rgba(255, 200, 205, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-inner-ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(242, 212, 146, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #f9e8c3;
    gap: 1px;
}

.seal-text {
    font-family: Cinzel, Georgia, serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
}

@keyframes seal-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

/* Opening sequence */
#env.opening .envelope-wrapper {
    animation: none;
}

#env.opening .env-btn,
#env.opening .env-div {
    opacity: 0;
    transform: translateY(-20px) scale(0.94);
}

#env.opening .wax-seal {
    transform: translate(-50%, -50%) scale(1.3) rotate(18deg);
    opacity: 0;
}

#env.opening .envelope-top {
    transform: rotateX(180deg);
    z-index: 1;
}

#env.opening .envelope-glow {
    opacity: 1;
    transform: scale(1.35);
}

#env.opening .envelope-card {
    opacity: 1;
    z-index: 5;
    transform: translateY(-138px) scale(1.08);
    box-shadow: 0 26px 56px rgba(85, 50, 12, 0.34);
}

#env.opening .envelope {
    transform: translateY(48px) rotateX(8deg) scale(0.95);
}

@keyframes f {
    50% {
        transform: translateY(-7px);
    }
}

/* Floating music toggle button */
#music-btn {
    position: fixed;
    right: max(16px, calc(50vw - 204px));
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    z-index: 8;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    background: var(--maroon);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(60, 14, 20, 0.32);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#music-btn[hidden] {
    display: none;
}

#music-btn:hover {
    background: var(--maroon-hover);
    transform: scale(1.06);
}

#music-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

#music-btn .icon-off {
    display: none;
}

#music-btn.muted .icon-on {
    display: none;
}

#music-btn.muted .icon-off {
    display: block;
}

.petals {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100vw, 440px);
    pointer-events: none;
    overflow: hidden;
    z-index: 4;
}

.petal {
    position: absolute;
    top: -20px;
    width: var(--size, 7px);
    height: calc(var(--size, 7px) * 1.35);
    border-radius: 80% 20% 75% 25% / 70% 30% 70% 30%;
    background: radial-gradient(circle at 35% 30%, rgba(242, 165, 174, 0.85) 0%, rgba(210, 92, 108, 0.75) 65%, rgba(168, 48, 64, 0.65) 100%);
    opacity: 0;
    will-change: transform, opacity;
    animation: petal-fall var(--dur, 12s) linear var(--delay, 0s) infinite;
}

.petal:nth-child(2n) {
    border-radius: 25% 75% 30% 70% / 35% 65% 35% 65%;
    background: radial-gradient(circle at 35% 30%, rgba(247, 184, 190, 0.85) 0%, rgba(222, 114, 126, 0.72) 65%, rgba(178, 62, 76, 0.62) 100%);
}

.fade {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade.v {
    opacity: 1;
    transform: none;
}

/* Staggered child reveals inside each scrolled section */
section.fade > :not(img.art) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

section.fade.v > :not(img.art) {
    opacity: 1;
    transform: none;
}

section.fade.v > :nth-child(1) { transition-delay: 0.05s; }
section.fade.v > :nth-child(2) { transition-delay: 0.14s; }
section.fade.v > :nth-child(3) { transition-delay: 0.22s; }
section.fade.v > :nth-child(4) { transition-delay: 0.3s; }
section.fade.v > :nth-child(5) { transition-delay: 0.38s; }
section.fade.v > :nth-child(6) { transition-delay: 0.44s; }

section.fade > img.art {
    opacity: 0.35;
    transform: scale(1.05);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

section.fade.v > img.art {
    opacity: 1;
    transform: scale(1);
}

@supports (animation-timeline: view()) {
    .hero > img {
        animation: hero-parallax linear both;
        animation-timeline: view();
        animation-range: exit 0% exit 100%;
    }

    @keyframes hero-parallax {
        from { transform: translateY(0) scale(1); }
        to { transform: translateY(36px) scale(1.04); }
    }
}

@keyframes petal-fall {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    10% {
        opacity: 0.55;
    }
    50% {
        opacity: 0.5;
        transform: translate3d(var(--sway, -18px), 52vh, 0) rotate(160deg);
    }
    88% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--drift, 26px), 106vh, 0) rotate(320deg);
    }
}

/* Your Blessings Section */
.visually-hidden {
    position: absolute;
    clip-path: inset(50%);
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    white-space: nowrap;
}

.sec-blessings {
    aspect-ratio: auto;
    display: block;
    padding: 28px 16px 48px;
}

.blessings-card {
    position: relative;
    background: #fdf9f1;
    border: 1px solid #e6d7b9;
    border-radius: 22px;
    padding: 28px 18px 22px;
    box-shadow: 0 8px 28px rgba(90, 58, 18, 0.08), inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.blessings-card .corner {
    position: absolute;
    font-size: 11px;
    color: #d4b97c;
    line-height: 1;
    pointer-events: none;
}

.blessings-card .tl { top: 10px; left: 12px; }
.blessings-card .tr { top: 10px; right: 12px; }
.blessings-card .bl { bottom: 10px; left: 12px; }
.blessings-card .br { bottom: 10px; right: 12px; }

.blessings-script {
    font-family: "Great Vibes", cursive;
    font-size: 28px;
    line-height: 1.15;
    color: #5e1823;
}

.blessings-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    color: #52141e;
    margin: 2px 0 4px;
}

.blessings-title svg {
    color: #b43c4c;
    flex-shrink: 0;
}

.blessings-sub {
    font-style: normal;
    font-size: 15px;
    line-height: 1.55;
    color: #6b5548;
    max-width: 320px;
}

.quick-wishes {
    margin-top: 18px;
    text-align: left;
}

.quick-label {
    font-family: Cinzel, Georgia, serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #6e353b;
    margin-bottom: 10px;
}

.quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 14px;
    font-weight: 500;
    color: #4f3b2f;
    background: #fffcf6;
    border: 1px solid #e3d3b6;
    border-radius: 999px;
    padding: 7px 14px;
    min-height: 36px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.pill:hover {
    background: #f8eedb;
    border-color: var(--gold);
}

.pill.active {
    background: #f5e6cc;
    border-color: var(--maroon);
    color: var(--maroon);
}

.pill:focus-visible {
    outline: 2px solid var(--maroon);
    outline-offset: 2px;
}

.blessings-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #8c6b53;
    pointer-events: none;
}

.textarea-wrap .input-icon {
    top: 14px;
}

.blessings-form input,
.blessings-form textarea {
    width: 100%;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: max(1rem, 1em);
    line-height: 1.45;
    color: var(--ink);
    background: #fff;
    border: 1px solid #e2d3b8;
    border-radius: 14px;
    padding: 12px 14px 12px 42px;
    min-height: 48px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blessings-form textarea {
    resize: vertical;
    min-height: 92px;
}

.blessings-form input::placeholder,
.blessings-form textarea::placeholder {
    color: #9e8a7a;
}

.blessings-form input:focus-visible,
.blessings-form textarea:focus-visible {
    outline: none;
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(99, 25, 34, 0.12);
}

.blessings-form input:user-invalid,
.blessings-form textarea:user-invalid {
    border-color: #b43c4c;
}

.wish-status {
    font-style: normal;
    font-size: 14px;
    line-height: 1.4;
    color: var(--maroon);
    min-height: 0;
    margin: 0;
}

.wish-status:empty {
    display: none;
}

.btn-submit {
    width: 100%;
    min-height: 48px;
    padding: 13px 24px;
    border: none;
    border-radius: 999px;
    background: #520d17;
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(82, 13, 23, 0.25);
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-submit:hover {
    background: #6b1522;
    transform: translateY(-1px);
}

.btn-submit:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* Best Compliments Section */
.sec-compliments {
    aspect-ratio: auto;
    display: block;
    padding: 4px 16px 36px;
}

.compliments-card {
    background: #480912;
    border: 1.5px solid #8c6b3f;
    border-radius: 22px;
    padding: 26px 20px;
    color: #fff8ed;
    box-shadow: 0 8px 24px rgba(58, 12, 18, 0.22);
}

.compliments-heading {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff8ed;
}

.compliments-div {
    margin: 10px 0 12px;
    color: #d8b47c;
}

.compliments-div:before,
.compliments-div:after {
    background: #d8b47c;
    opacity: 0.65;
}

.compliments-names {
    font-style: italic;
    font-size: 20px;
    line-height: 1.45;
    color: #fff8ed;
    max-width: none;
}

.compliments-names .sep {
    color: #c9a265;
    font-style: normal;
    margin: 0 6px;
}

.compliments-firm {
    font-style: italic;
    font-size: 22px;
    line-height: 1.4;
    color: #fff8ed;
    margin-top: 2px;
    max-width: none;
}

.compliments-role {
    font-style: normal;
    font-size: 16px;
    line-height: 1.4;
    color: #d8b47c;
    margin-top: 4px;
    max-width: none;
}

/* Footer */
.site-footer {
    background: #fffcf7;
    border-top: 1px solid #eadcc2;
    padding: 26px 24px 32px;
    text-align: center;
}

.footer-eyebrow {
    font-family: Cinzel, Georgia, serif;
    font-size: 9.5px;
    letter-spacing: 0.28em;
    color: var(--gold-muted);
    text-transform: uppercase;
}

.footer-brand {
    font-family: Cinzel, Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--maroon);
    margin: 6px 0 4px;
}

.footer-link {
    display: inline-block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: var(--gold-muted);
    text-decoration: none;
    padding: 4px 8px;
}

.footer-link:hover {
    color: var(--maroon);
    text-decoration: underline;
}

.footer-link:focus-visible {
    outline: 2px solid var(--maroon);
    outline-offset: 2px;
}
