:root {
  --paper: #fff8f5;
  --paper-deep: #f8ebe5;
  --blush: #f7d9df;
  --blush-deep: #efb9c7;
  --rose: #d9859c;
  --cherry: #8a294f;
  --wine: #63203b;
  --ink: #402b36;
  --muted: #876c78;
  --line: #ead2d7;
  --cream: #fffaf2;
  --script: 'Caveat', 'Bradley Hand', cursive;
  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --shadow: 0 24px 80px rgba(113, 49, 74, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::before { position: fixed; inset: 0; z-index: -2; content: ''; pointer-events: none; background: radial-gradient(ellipse at 81% 13%, rgba(247, 217, 223, .38), transparent 34%), radial-gradient(ellipse at 8% 62%, rgba(247, 217, 223, .25), transparent 32%), var(--paper); }
.paper-grain { position: fixed; inset: 0; z-index: 7; opacity: .08; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.petal-field { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.petal { position: absolute; display: block; color: var(--rose); font-size: 18px; opacity: .18; animation: drift 19s ease-in-out infinite; }
.petal-one { left: 7%; top: 20%; animation-delay: -2s; }
.petal-two { left: 85%; top: 26%; font-size: 28px; animation-delay: -7s; }
.petal-three { left: 18%; top: 78%; animation-delay: -5s; }
.petal-four { left: 94%; top: 76%; font-size: 25px; animation-delay: -11s; }
.petal-five { left: 56%; top: 10%; font-size: 14px; animation-delay: -9s; }
.petal-six { left: 72%; top: 91%; animation-delay: -3s; }
@keyframes drift { 0%,100% { transform: translate3d(0, 0, 0) rotate(-8deg); } 50% { transform: translate3d(9px, -18px, 0) rotate(8deg); } }

.site-header, main, .site-footer { width: min(1140px, calc(100% - 88px)); margin-inline: auto; }
.site-header { height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(138, 41, 79, .1); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--cherry); text-decoration: none; font-family: var(--script); font-size: 26px; font-weight: 700; line-height: 1; }
.wordmark em { color: #ac7385; font-size: 21px; font-weight: 500; }
.wordmark-mark { width: 27px; height: 27px; position: relative; display: inline-block; }
.wordmark-mark::before, .wordmark-mark::after { position: absolute; content: ''; left: 12px; top: 5px; width: 12px; height: 18px; border: 1.6px solid var(--cherry); border-radius: 12px 12px 2px 12px; transform: rotate(-43deg); }
.wordmark-mark::after { left: 5px; transform: rotate(43deg) scaleX(-1); }
.wordmark-mark span { position: absolute; top: 1px; right: -1px; width: 2px; height: 5px; border-radius: 2px; background: var(--rose); transform: rotate(16deg); }
.wordmark-mark i { position: absolute; bottom: 0; left: 4px; width: 2px; height: 5px; border-radius: 2px; background: var(--rose); transform: rotate(-15deg); }
.header-note { color: var(--muted); font-size: 12px; letter-spacing: .025em; }
.tiny-heart { margin-right: 8px; color: var(--cherry); font-size: 10px; }

.hero { min-height: 610px; position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; padding: 58px 0 110px; }
.hero-copy { position: relative; z-index: 2; padding: 15px 0 0 32px; }
.eyebrow { margin: 0; color: var(--cherry); font-size: 10px; font-weight: 700; letter-spacing: .2em; line-height: 1.5; }
.hero-copy .eyebrow { display: flex; gap: 11px; align-items: center; }
.eyebrow-line { width: 32px; height: 1px; background: var(--rose); }
.eyebrow-dot { color: var(--rose); }
h1, h2, p { margin-top: 0; }
h1 { margin: 22px 0 21px; font-family: var(--serif); font-size: clamp(72px, 8.25vw, 108px); font-weight: 400; line-height: .87; letter-spacing: -.055em; color: var(--wine); }
h1 span { display: inline-block; color: var(--cherry); font-family: var(--script); font-size: 1.15em; font-weight: 600; letter-spacing: -.035em; }
.hero-intro { max-width: 415px; margin: 0 0 27px; color: var(--muted); font-family: var(--serif); font-size: 20px; line-height: 1.55; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 21px; border: 0; border-radius: 3px; font: 600 12px var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(138, 41, 79, .18); }
.button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #b25175; outline-offset: 4px; }
.button-primary { color: #fff9f6; background: var(--cherry); box-shadow: 0 7px 19px rgba(138, 41, 79, .14); }
.button-primary:hover { background: var(--wine); }
.signature { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: var(--muted); font-family: var(--script); font-size: 23px; }
.signature-heart { color: var(--cherry); font-size: 22px; }

.hero-art { width: min(100%, 510px); justify-self: center; position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero-art::before { position: absolute; inset: 11%; content: ''; border-radius: 50%; background: radial-gradient(circle at 45% 41%, rgba(255,255,255,.8), rgba(248,224,228,.57) 46%, rgba(247,217,223,.08) 72%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 27px 80px rgba(138,41,79,.07); }
.art-orbit { position: absolute; z-index: 1; border: 1px solid rgba(138,41,79,.17); border-radius: 50%; transform: rotate(-27deg); }
.orbit-one { inset: 7% 13%; }
.orbit-two { inset: 16% 5%; transform: rotate(31deg); border-color: rgba(138,41,79,.12); }
.cake-illustration { width: 85%; position: relative; z-index: 2; filter: drop-shadow(0 21px 20px rgba(104,40,66,.12)); animation: cake-float 5.5s ease-in-out infinite; }
.cake-illustration svg { display: block; width: 100%; overflow: visible; }
@keyframes cake-float { 0%,100% { transform: translateY(1px) rotate(-.6deg); } 50% { transform: translateY(-8px) rotate(.8deg); } }
.art-sparkle { position: absolute; z-index: 3; color: var(--cherry); animation: twinkle 2.6s ease-in-out infinite; }
.sparkle-a { top: 15%; left: 25%; font-size: 23px; }
.sparkle-b { top: 26%; right: 13%; color: #cc718c; font-size: 34px; animation-delay: -1s; }
.sparkle-c { bottom: 20%; left: 15%; color: #b96880; font-size: 18px; animation-delay: -.5s; }
@keyframes twinkle { 0%,100% { opacity: .42; transform: scale(.86) rotate(0); } 50% { opacity: 1; transform: scale(1.13) rotate(13deg); } }
.art-caption { position: absolute; z-index: 4; right: 2%; bottom: 8%; display: flex; gap: 8px; align-items: center; padding: 10px 16px; border: 1px solid rgba(138,41,79,.13); border-radius: 999px; background: rgba(255,250,242,.86); color: var(--muted); font-family: var(--serif); font-size: 15px; box-shadow: 0 8px 30px rgba(138,41,79,.07); }
.caption-star { color: var(--rose); font-size: 12px; }
.art-stamp { position: absolute; z-index: 4; left: 9%; bottom: 21%; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(138,41,79,.18); border-radius: 50%; color: var(--cherry); font-family: var(--script); font-size: 27px; transform: rotate(-13deg); }
.hero-bottom-note { position: absolute; left: 32px; right: 32px; bottom: 42px; display: flex; align-items: center; gap: 14px; color: var(--cherry); font-family: var(--script); font-size: 20px; }
.dotted-line { width: 52px; border-top: 1px dashed #d7a7b4; }
.hero-bottom-note a { color: var(--muted); font-family: var(--sans); font-size: 10px; text-decoration: none; }
.hero-bottom-note a:hover { color: var(--cherry); }

.letter-section { padding: 78px 32px 86px; border-top: 1px solid rgba(138,41,79,.1); border-bottom: 1px solid rgba(138,41,79,.1); }
.section-kicker { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.section-kicker > span:first-child { color: var(--cherry); font-size: 11px; }
.kicker-rule { width: 39px; height: 1px; background: #d7a7b4; }
.letter-layout { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 42px; margin: 42px 7% 0; }
.letter-heading .eyebrow { margin-bottom: 15px; }
.letter-heading h2, .wish-content h2 { margin: 0 0 18px; color: var(--wine); font-family: var(--serif); font-size: clamp(51px, 6.2vw, 73px); font-weight: 400; line-height: .91; letter-spacing: -.045em; }
.letter-heading h2 span, .wish-content h2 span { color: var(--cherry); font-family: var(--script); font-size: 1.15em; font-weight: 600; letter-spacing: -.015em; }
.heading-aside { margin: 22px 0 0; color: #a3848f; font-family: var(--script); font-size: 23px; line-height: 1.14; transform: rotate(-3deg); }
.letter-card { min-height: 415px; position: relative; overflow: hidden; padding: 33px clamp(25px, 5.2vw, 65px) 30px; background: #fffdf8; border: 1px solid rgba(190,142,147,.35); box-shadow: var(--shadow); transform: rotate(.8deg); transition: transform .35s ease, box-shadow .35s ease; }
.letter-card:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 28px 85px rgba(113,49,74,.15); }
.letter-card::before { position: absolute; inset: 11px; border: 1px solid rgba(215,167,180,.48); content: ''; pointer-events: none; }
.letter-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #a5818c; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.letter-topline span:last-child { color: var(--rose); font-size: 12px; }
.letter-fold { position: absolute; top: -84px; right: -66px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(247,217,223,.72), rgba(247,217,223,0)); }
.letter-salutation { position: relative; margin: 31px 0 13px; color: var(--cherry); font-family: var(--script); font-size: 35px; font-weight: 600; }
.letter-body { position: relative; max-width: 565px; color: #5f4852; font-family: var(--serif); font-size: 18px; line-height: 1.62; }
.letter-body p { margin: 0 0 13px; }
.letter-body .letter-emphasis { color: var(--wine); font-size: 20px; }
.letter-signoff { position: relative; display: flex; align-items: center; gap: 9px; margin-top: 16px; color: var(--muted); font-family: var(--serif); font-size: 14px; }
.letter-signature { color: var(--cherry); font-family: var(--script); font-size: 30px; font-weight: 600; }
.signature-seal { width: 31px; height: 31px; display: grid; place-items: center; margin-left: 4px; border: 1px solid #e1b1bb; border-radius: 50%; color: var(--cherry); font-size: 17px; }
.letter-corner { position: absolute; color: #d78ea0; opacity: .52; font-size: 25px; }
.corner-one { right: 21px; bottom: 15px; }
.corner-two { left: 20px; bottom: 15px; font-size: 15px; }
.letter-footnote { margin: 38px 7% 0; color: #947884; font-size: 11px; letter-spacing: .02em; }
.letter-footnote .tiny-heart { margin-right: 7px; }

.wish-section { position: relative; overflow: hidden; padding: 79px 32px 86px; }
.wish-kicker { position: relative; z-index: 1; }
.wish-content { width: min(570px, 100%); position: relative; z-index: 1; margin: 39px auto 0; text-align: center; }
.wish-content .eyebrow { margin-bottom: 16px; }
.wish-content h2 { margin-bottom: 18px; font-size: clamp(61px, 8vw, 83px); }
.wish-description { width: min(475px, 100%); margin: 0 auto 28px; color: var(--muted); font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.wish-form { text-align: left; }
.wish-form label { display: block; margin: 0 0 9px; color: var(--cherry); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.textarea-wrap { position: relative; }
.textarea-wrap textarea { width: 100%; display: block; resize: vertical; min-height: 129px; padding: 17px 47px 17px 17px; border: 1px solid #e6c9d0; border-radius: 3px; background: rgba(255,253,250,.83); color: var(--ink); font: 15px/1.5 var(--serif); transition: border .2s ease, box-shadow .2s ease; }
.textarea-wrap textarea::placeholder { color: #b497a0; }
.textarea-wrap textarea:focus { border-color: #b96880; outline: none; box-shadow: 0 0 0 3px rgba(217,133,156,.13); }
.textarea-flower { position: absolute; top: 13px; right: 15px; color: #d68ca0; opacity: .8; font-size: 19px; }
.form-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; color: #987f88; font-size: 10px; }
.wish-submit { width: 100%; margin-top: 19px; }
.privacy-note { margin: 13px 0 0; color: #a78c95; text-align: center; font-size: 10px; }
.privacy-note span { margin-right: 5px; color: var(--rose); }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--cherry); text-align: center; font-family: var(--script); font-size: 23px; line-height: 1.2; }
.form-status.error { color: #a03b4f; font-family: var(--sans); font-size: 12px; }
.wish-submit:disabled { cursor: wait; opacity: .78; }
.reveal-ready { opacity: 0; transform: translateY(13px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.25,1); }
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
.wish-decor { position: absolute; color: rgba(217,133,156,.28); pointer-events: none; }
.wish-decor-left { top: 24%; left: 9%; font-size: 86px; transform: rotate(-22deg); }
.wish-decor-right { right: 11%; bottom: 19%; font-family: var(--script); font-size: 102px; transform: rotate(12deg); }

.site-footer { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(138,41,79,.11); color: #a0828d; font-size: 10px; }
.site-footer > span:last-child { color: var(--cherry); font-family: var(--script); font-size: 21px; }
.site-footer i { padding: 0 4px; font-family: var(--sans); font-size: 12px; font-style: normal; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: 22px; width: max-content; max-width: calc(100% - 36px); padding: 13px 18px; border: 1px solid rgba(138,41,79,.13); border-radius: 4px; background: #fffdf8; box-shadow: var(--shadow); color: var(--cherry); font-size: 12px; text-align: center; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 780px) {
  .site-header, main, .site-footer { width: min(100% - 44px, 600px); }
  .site-header { height: 75px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 15px; padding: 54px 4px 114px; }
  .hero-copy { padding: 0 4px; }
  h1 { max-width: 580px; margin: 20px 0 17px; font-size: clamp(74px, 13vw, 100px); }
  .hero-intro { max-width: 430px; font-size: 18px; }
  .hero-art { width: min(100%, 420px); margin: 0 auto; }
  .hero-bottom-note { left: 4px; right: 4px; bottom: 40px; }
  .letter-section { padding: 58px 4px 65px; }
  .letter-layout { grid-template-columns: 1fr; gap: 27px; margin: 34px 3% 0; }
  .letter-heading h2 { font-size: 60px; }
  .heading-aside { position: absolute; right: 7%; margin-top: -64px; text-align: right; font-size: 20px; }
  .letter-card { min-height: 0; padding: 30px clamp(22px, 6vw, 45px); }
  .letter-body { font-size: 17px; }
  .letter-footnote { margin: 28px 3% 0; }
  .wish-section { padding: 60px 4px 69px; }
  .wish-content { margin-top: 31px; }
  .wish-decor-left { left: 0; font-size: 62px; }
  .wish-decor-right { right: 0; font-size: 76px; }
}
@media (max-width: 460px) {
  .site-header, main, .site-footer { width: calc(100% - 36px); }
  .site-header { height: 68px; }
  .wordmark { gap: 9px; font-size: 24px; }
  .header-note { font-size: 10px; }
  .hero { padding-top: 43px; gap: 2px; }
  h1 { margin-top: 17px; font-size: clamp(68px, 16vw, 80px); }
  .hero-intro { max-width: 330px; font-size: 17px; }
  .hero-art { width: min(110%, 360px); margin-top: -5px; margin-bottom: 4px; }
  .art-caption { right: 0; bottom: 5%; font-size: 13px; }
  .art-stamp { left: 3%; bottom: 17%; }
  .hero-bottom-note { gap: 9px; font-size: 18px; }
  .dotted-line { width: 27px; }
  .hero-bottom-note a { font-size: 9px; }
  .section-kicker { font-size: 9px; }
  .letter-section, .wish-section { padding-top: 51px; padding-bottom: 55px; }
  .letter-card { padding: 26px 25px 28px; }
  .letter-salutation { font-size: 31px; }
  .letter-body { font-size: 16px; }
  .letter-signoff { gap: 7px; }
  .wish-content h2 { font-size: 69px; }
  .wish-description { font-size: 17px; }
  .form-meta { font-size: 9px; }
  .site-footer { min-height: 74px; font-size: 9px; }
  .site-footer > span:last-child { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready { opacity: 1; transform: none; }
}
