:root {
  --paper: #faf3ef; --ink: #57323f; --rose: #a45d72; --berry: #82425a;
  --muted: #806772; --line: #c698a631;
  --serif: 'Cormorant Garamond', Georgia, serif; --script: 'Great Vibes', cursive;
  --sans: 'DM Sans', Arial, sans-serif; --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.is-closed { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--berry); outline-offset: 5px; }
::selection { background: #deb3c1; color: #57323f; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; background: #faf3ef; }
.aurora { position: absolute; border-radius: 50%; filter: blur(55px); will-change: transform; }
.aurora-rose { width: min(100vw, 900px); height: min(100vw, 900px); top: -35%; left: -23%; background: radial-gradient(ellipse, #e9b5c488, transparent 70%); animation: auroraRose 21s ease-in-out infinite alternate; }
.aurora-peach { width: 850px; height: 850px; bottom: -70%; right: -30%; background: radial-gradient(ellipse, #e5cbbf88, transparent 70%); animation: auroraPeach 25s ease-in-out infinite alternate; }
.aurora-lilac { width: 650px; height: 700px; right: -22%; top: 5%; background: radial-gradient(ellipse, #d5bccf66, transparent 68%); animation: auroraLilac 19s ease-in-out infinite alternate; }
.ambient-grain { position: absolute; inset: 0; opacity: .3; 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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23845563' opacity='.17' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.petals { position: absolute; inset: 0; transform: translate(calc(var(--pointer-x, 0) * 10px), calc(var(--pointer-y, 0) * 10px)); transition: transform 1.5s ease-out; }
.petal { position: absolute; top: -10%; left: var(--left); width: var(--size); height: calc(var(--size) * 1.5); background: linear-gradient(140deg, #f6d9df, #c48ca069); border-radius: 70% 10% 70% 25%; opacity: 0; animation: petalFall var(--duration) var(--delay) linear infinite; }
.ambient.is-paused * { animation-play-state: paused; }
.topbar { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 90px; padding: 20px clamp(22px, 5vw, 70px); display: flex; align-items: center; justify-content: space-between; transition: background .4s, box-shadow .4s; }
body.scrolled .topbar { background: #faf3efda; backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.monogram { display: flex; align-items: center; gap: 19px; font: 42px/1 var(--script); text-decoration: none; color: var(--berry); }
.monogram span { font: 10px var(--sans); letter-spacing: .16em; opacity: .65; border-left: 1px solid #a45d7240; padding-left: 19px; }
.languages { display: flex; gap: 3px; padding: 5px; border: 1px solid #b68c9b30; background: #fffaf88c; backdrop-filter: blur(12px); border-radius: 40px; }
.lang { border: 0; padding: 10px 13px; border-radius: 30px; background: transparent; font: 600 10px var(--sans); letter-spacing: .1em; color: var(--muted); transition: background .3s, color .3s; }
.lang.active { background: var(--berry); color: #fff5f3; box-shadow: 0 3px 9px #82425a24; }
.lang:hover:not(.active) { background: #eedfe3; color: var(--berry); }
.eyebrow { margin: 0 0 22px; font: 500 10px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--rose); }
.envelope { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; transition: opacity .8s ease, visibility .8s; }
.envelope::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, #fffaf344, #faf3ef44); z-index: -1; }
.envelope-content { text-align: center; width: 100%; padding: 75px 22px 38px; }
.cover-eyebrow { margin-bottom: 22px; animation: enterUp 1.2s var(--ease) both; }
.cover-name { font: 400 clamp(80px, 12vw, 132px)/.96 var(--script); letter-spacing: -.025em; margin: 0; color: var(--berry); animation: enterUp 1.4s .1s var(--ease) both; }
.cover-subtitle { font: italic 25px/1.4 var(--serif); margin: 12px 0 30px; color: #8e6672; animation: enterUp 1.4s .2s var(--ease) both; }
.letter-scene { width: min(410px, 83vw); margin: 0 auto; height: 250px; perspective: 1200px; animation: letterArrive 1.5s .25s var(--ease) both; }
.letter-envelope { position: relative; height: 235px; width: 100%; transform: rotate(-4deg); filter: drop-shadow(0 22px 23px #74445425); transition: transform 1.4s var(--ease); }
.envelope-back { position: absolute; inset: 0; background: #d8b3b9; border-radius: 7px; box-shadow: inset 0 0 30px #9f586a1a; }
.letter-paper { position: absolute; z-index: 2; left: 7%; width: 86%; top: 12px; height: 205px; background: linear-gradient(145deg, #fffef9, #f8f0e6); border: 1px solid #fff8ed; border-radius: 4px; text-align: center; padding: 12px 13px; box-shadow: 0 -2px 15px #6d3c4114; transition: transform 1.4s .45s var(--ease); }
.letter-paper::after { content: ''; position: absolute; inset: 9px; border: 1px solid #c3a38536; pointer-events: none; }
.letter-bow { width: 68px; height: 43px; color: var(--rose); }
.letter-paper p { font: 11px/1.5 var(--serif); color: #947482; margin: 7px 0 13px; }
.paper-name { display: block; font: 45px/1 var(--script); color: var(--berry); }
.paper-date { font: 9px var(--sans); letter-spacing: .24em; margin-top: 16px; color: var(--rose); }
.envelope-pocket { position: absolute; inset: 0; z-index: 3; border-radius: 4px 4px 7px 7px; background: linear-gradient(150deg, #f1d4d7, #e7c3ca); clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.envelope-pocket::before { content: ''; position: absolute; inset: 0; background: linear-gradient(22deg, #fae4e466, transparent 50%); clip-path: polygon(0 100%, 50% 46%, 100% 100%); }
.envelope-pocket::after { content: ''; position: absolute; left: -8%; bottom: -6px; width: 116%; height: 62%; clip-path: polygon(0 100%, 50% 0, 100% 100%); background: linear-gradient(180deg, #f6dfe1, #efd0d5); }
.envelope-flap { position: absolute; z-index: 4; inset: 0 0 auto; height: 145px; background: linear-gradient(170deg, #fce8e8, #e5bdc6); clip-path: polygon(0 0, 100% 0, 50% 94%); transform-origin: top center; backface-visibility: visible; }
.wax-seal { position: absolute; z-index: 5; left: calc(50% - 31px); top: 101px; width: 62px; height: 62px; padding: 0; display: grid; place-content: center; border: 0; border-radius: 46% 51% 47% 48%; background: radial-gradient(circle at 35% 25%, #c78598, #a35d74 50%, #8c4962); color: #f7d8db; box-shadow: 2px 5px 8px #7a3e5d45, inset 2px 2px 2px #f7c5ce80, inset -2px -2px 3px #61334450; transition: transform .4s, box-shadow .4s; animation: sealBreath 3.5s 2s ease-in-out infinite; }
.wax-seal::before { content: ''; position: absolute; inset: 7px; border: 1px solid #f2c4ce77; border-radius: 50%; box-shadow: 1px 1px 2px #75415c66, inset 1px 1px 1px #75415c33; }
.wax-seal span { font: 32px/1 var(--script); transform: translateY(2px); text-shadow: 1px 1px 0 #60304750; }
.wax-seal i { font-style: normal; font-size: 10px; line-height: 1; }
.wax-seal:hover { transform: scale(1.1); }
.envelope-address { position: absolute; z-index: 4; bottom: 23px; left: 0; width: 100%; text-align: center; font: italic 16px var(--serif); color: #986a7b; }
.open-label { border: 0; background: transparent; color: var(--berry); padding: 13px 4px 9px; display: inline-flex; gap: 20px; align-items: center; font: 500 11px var(--sans); letter-spacing: .08em; border-bottom: 1px solid #a45d7255; animation: enterUp 1.4s .7s var(--ease) both; }
.open-label > span:last-child { font-size: 17px; transition: transform .3s; }
.open-label:hover > span:last-child { transform: translate(3px, -3px); }
.cover-bottom { position: absolute; bottom: 20px; left: 0; width: 100%; text-align: center; font-size: 9px; letter-spacing: .17em; color: #a0858a; }
.cover-bottom span { padding: 0 18px; }
.cover-flower { position: absolute; z-index: -1; width: 230px; height: 460px; color: #b9899970; pointer-events: none; }
.cover-flower-left { bottom: -50px; left: max(-35px, calc(50% - 560px)); animation: botanicalSway 10s ease-in-out infinite alternate; }
.cover-flower-right { top: -130px; right: max(-35px, calc(50% - 560px)); animation: botanicalSwayRight 12s ease-in-out infinite alternate; }
.cover-orbit { position: absolute; z-index: -1; border: 1px solid #b9879a19; width: 780px; height: 780px; border-radius: 50%; }
.orbit-one { transform: translate(-22%, -1%); animation: orbit 28s ease-in-out infinite alternate; }
.orbit-two { width: 950px; height: 950px; transform: translate(22%, 2%); animation: orbit 32s -12s ease-in-out infinite alternate-reverse; }
.envelope.is-opening .wax-seal { animation: breakSeal .7s var(--ease) both; pointer-events: none; }
.envelope.is-opening .envelope-flap { animation: flipFlap 1.1s .2s cubic-bezier(.45, 0, .2, 1) both; }
.envelope.is-opening .letter-paper { transform: translateY(-125px) rotate(4deg); }
.envelope.is-opening .letter-envelope { transform: translateY(45px) rotate(0deg); }
.envelope.is-opening .open-label { opacity: 0; transition: opacity .3s; animation: none; }
.envelope.is-leaving { opacity: 0; transform: scale(1.04); transition: opacity .85s ease, transform 1.4s var(--ease); pointer-events: none; }
.envelope.opened { visibility: hidden; }
.site { position: relative; z-index: 1; opacity: 0; transition: opacity 1.1s ease; }
.site.visible { opacity: 1; }
.section { max-width: 760px; padding: 90px 36px; margin: 0 auto; text-align: center; position: relative; }
.hero { min-height: 850px; min-height: 100svh; max-width: 1100px; padding: 125px 35px 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.hero-arch { position: absolute; width: min(590px, 82vw); top: 110px; bottom: 100px; border: 1px solid #b58a9840; border-bottom: 0; border-radius: 50% 50% 0 0; pointer-events: none; }
.hero-arch::before { content: ''; position: absolute; inset: 14px 13px -12px; border: 1px solid #b58a981c; border-bottom: 0; border-radius: inherit; }
.hero-body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin: 10px 0 65px; }
.hero-bow { width: 112px; height: 75px; color: var(--rose); margin-bottom: 27px; }
.hero h1 { font: 400 clamp(95px, 15vw, 176px)/1 var(--script); margin: 0 0 7px; letter-spacing: -.025em; color: var(--berry); }
/* The opening animation focuses this heading for assistive technologies. */
#heroName:focus { outline: none; }
.hero-title { font: italic 40px/1.2 var(--serif); margin: 0; color: #956478; }
.hero-divider { display: flex; align-items: center; gap: 18px; font-size: 22px; color: #ae7c8d; margin: 28px 0 23px; }
.hero-divider span { height: 1px; width: 47px; background: #b281934a; }
.hero-note { font: 400 22px/1.5 var(--serif); max-width: 355px; color: #896874; margin: 0; }
.hero-date { display: flex; align-items: center; gap: 18px; margin-top: 26px; font-size: 10px; letter-spacing: .2em; color: var(--berry); }
.hero-date i { width: 3px; height: 3px; background: var(--rose); border-radius: 50%; }
.hero-botanical { position: absolute; width: 225px; height: 425px; color: #ae7a8b88; pointer-events: none; }
.botanical-left { left: 20px; bottom: 130px; animation: botanicalSway 11s ease-in-out infinite alternate; }
.botanical-right { right: 20px; top: 140px; animation: botanicalSwayRight 13s ease-in-out infinite alternate; }
.scroll-cue { position: absolute; bottom: 34px; display: flex; flex-direction: column; gap: 9px; align-items: center; font-size: 9px; text-decoration: none; text-transform: uppercase; letter-spacing: .15em; color: var(--rose); }
.scroll-cue b { font-weight: 500; }
.scroll-line { width: 1px; height: 29px; background: linear-gradient(transparent, #b77e92); animation: lineBreathe 2.7s ease-in-out infinite; }
.visible .hero-body > * { animation: enterUp 1.4s var(--ease) both; }
.visible .hero-body > :nth-child(2) { animation-delay: .12s; }
.visible .hero-body > :nth-child(3) { animation-delay: .25s; }
.visible .hero-body > :nth-child(4) { animation-delay: .35s; }
.visible .hero-body > :nth-child(5) { animation-delay: .45s; }
.visible .hero-body > :nth-child(6) { animation-delay: .55s; }
.visible .hero-body > :nth-child(7) { animation-delay: .65s; }
h2 { margin: 0 0 26px; font: 400 clamp(39px, 6.5vw, 60px)/1.05 var(--serif); letter-spacing: -.045em; }
.copy { margin: 0 auto; max-width: 460px; color: #806772; font: 400 22px/1.65 var(--serif); }
[data-i18n='heroNote'], [data-i18n='inviteTitle'], [data-i18n='locationName'] { white-space: pre-line; }
.invitation { padding-top: 55px; }
.glasses-icon { width: 70px; height: 82px; color: var(--rose); margin: 0 auto 30px; }
.signature { display: flex; flex-direction: column; margin-top: 29px; gap: 13px; }
.signature span { font: italic 18px var(--serif); color: var(--muted); }
.signature strong { font: 43px/1.1 var(--script); color: var(--berry); }
.mood-tags { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 45px; color: var(--rose); font: 10px var(--sans); letter-spacing: .1em; }
.mood-tags i { font-size: 14px; font-style: normal; }
.date-section { padding-top: 35px; }
.date-card { padding: 44px 50px 40px; background: linear-gradient(130deg, #fffaf8be, #f2e2e7a3); border: 1px solid #d6b2bd66; border-radius: 180px 180px 24px 24px; box-shadow: 0 20px 60px #7b395009, inset 0 0 0 7px #fffaf433; }
.date-card > .eyebrow { margin-top: 30px; }
.date-layout { display: flex; justify-content: center; align-items: center; margin: 10px auto 28px; gap: 25px; }
.date-number { font: 400 135px/1 var(--serif); letter-spacing: -.09em; color: var(--berry); padding-right: 26px; border-right: 1px solid #b68a9b44; }
.date-info { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.date-info > span { font: italic 32px var(--serif); }
.date-info > strong { font: 500 12px var(--sans); letter-spacing: .2em; margin-top: 7px; color: var(--rose); }
.date-info > b { font: 400 11px var(--sans); margin-top: 20px; color: var(--muted); }
.calendar { border-top: 1px solid var(--line); padding-top: 21px; margin: auto; max-width: 390px; }
.week, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.week { font: 500 9px var(--sans); text-transform: uppercase; color: #ac8b97; margin-bottom: 11px; }
.days > span { height: 37px; font: 400 13px var(--sans); display: grid; place-items: center; position: relative; color: #876775; }
.days .chosen { color: white; isolation: isolate; }
.chosen i { position: absolute; z-index: -1; inset: -6px 0 0; font-style: normal; font-size: 45px; line-height: 1; color: var(--rose); animation: calendarHeart 4s ease-in-out infinite; }
.chosen b { font-weight: 500; transform: translateY(-2px); }
.location { padding-top: 25px; }
.location-copy { max-width: 365px; margin-bottom: 30px; font-size: 20px; }
.map-card { height: 405px; border: 1px solid #cba6b455; border-radius: 25px; position: relative; overflow: hidden; background: #f0e7e3; box-shadow: 0 15px 40px #7b39500c; }
.map-frame { display: block; width: 100%; height: calc(100% - 87px); border: 0; }
.map-caption { position: absolute; height: 87px; bottom: 0; left: 0; right: 0; background: #fffaf6; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 22px; text-align: left; text-decoration: none; transition: background .3s; }
.map-caption:hover { background: #f7e9ed; }
.map-caption small { display: block; font: 8px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; }
.map-caption b { font: 500 21px var(--serif); }
.map-caption > span { font-size: 25px; color: var(--rose); transition: transform .3s; }
.map-caption:hover > span { transform: translate(2px, -2px); }
.coordinates { color: #ad8d97; font-size: 9px; letter-spacing: .08em; margin-top: 17px; }
.coordinates span { margin: 0 9px; }
.countdown-section { padding-top: 10px; padding-bottom: 110px; }
.countdown-heading { font-size: 34px; max-width: 340px; margin: 0 auto 30px; color: #956575; }
.countdown { display: flex; align-items: flex-start; justify-content: center; gap: 15px; }
.countdown div { min-width: 67px; }
.countdown strong { display: block; font: 400 57px/1 var(--serif); color: var(--berry); font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 13px; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; color: #ac8998; }
.countdown > i { font: 400 27px var(--serif); color: #be96a5; margin-top: 7px; font-style: normal; }
.gift-section { padding-top: 0; padding-bottom: 90px; }
.gift-card { background: linear-gradient(155deg, #fffaf6dc, #f2e3e7b3); border: 1px solid #cda8b344; border-radius: 28px; padding: 37px 44px 40px; box-shadow: 0 25px 60px #7b39500a; }
.gift-bow { width: 83px; height: 57px; margin-bottom: 20px; color: var(--rose); }
.gift-card h2 { font-size: 48px; }
.gift-card .copy { font-size: 20px; max-width: 390px; }
.bank-card { position: relative; isolation: isolate; overflow: hidden; text-align: left; padding: 28px; margin: 28px 0 15px; background: linear-gradient(125deg, #f1d4dc, #e9c8d4 60%, #e7ced7); border: 1px solid #fff6f4a6; border-radius: 19px; box-shadow: 0 10px 20px #9765780d, inset 0 1px 0 #fff8f5; }
.bank-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.bank-card-top > span:first-child, .bank-card-number > span { color: #986577; font: 500 8px var(--sans); letter-spacing: .15em; text-transform: uppercase; display: block; }
.card-heart { font-size: 23px; color: #aa7687; line-height: 1; }
.bank-card > strong { font: 500 25px var(--serif); }
.bank-card-number { margin-top: 29px; }
.bank-card-number b { display: block; font: 500 clamp(19px, 3.5vw, 26px) var(--serif); letter-spacing: .09em; margin-top: 11px; font-variant-numeric: tabular-nums; }
.bank-flower { position: absolute; right: -30px; bottom: -75px; font: 240px/1 var(--serif); color: #a7718c13; z-index: -1; animation: flowerRotate 60s linear infinite; }
.copy-button { display: flex; width: 100%; justify-content: center; align-items: center; gap: 12px; border: 1px solid transparent; background: var(--berry); color: #fff3f1; border-radius: 13px; padding: 19px 15px; font: 500 10px/1.5 var(--sans); letter-spacing: .07em; transition: background .3s, transform .3s, box-shadow .3s; }
.copy-button:hover { background: #6b344b; transform: translateY(-2px); box-shadow: 0 7px 15px #82425a20; }
.copy-button:active { transform: scale(.98); }
footer { position: relative; text-align: center; border-top: 1px solid var(--line); max-width: 960px; margin: 0 auto; padding: 52px 24px 60px; }
.footer-bow { width: 64px; height: 45px; color: var(--rose); }
footer p { font: italic 22px var(--serif); color: var(--muted); margin: 19px 0 18px; }
.footer-name { font: 62px/1.2 var(--script); color: var(--berry); }
footer small { display: block; font: 8px var(--sans); letter-spacing: .15em; color: #ad8d96; margin: 22px 0 0; }
footer small span { margin: 0 14px; }
.back-top { display: grid; place-items: center; height: 35px; width: 35px; margin: 27px auto 0; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; color: var(--rose); font-size: 15px; transition: background .3s; }
.back-top:hover { background: #efdce4; }
.footer-credit { display: block; margin-top: 34px; padding-top: 23px; border-top: 1px solid var(--line); font: 400 10px/1.8 var(--sans); color: var(--muted); text-decoration: none; transition: color .3s; }
.footer-credit:hover { color: var(--berry); }
.footer-credit:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.footer-credit strong { margin-left: 4px; font-weight: 600; letter-spacing: .025em; color: var(--berry); }
.sound { position: fixed; z-index: 15; bottom: 23px; right: 25px; display: flex; align-items: center; gap: 9px; height: 43px; padding: 0 16px; border: 1px solid #bc899c40; background: #fff7f1dd; backdrop-filter: blur(15px); color: var(--berry); border-radius: 30px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s, transform .5s; box-shadow: 0 4px 20px #84526711; }
.sound.show { opacity: 1; transform: none; pointer-events: auto; }
.sound-label { font-size: 9px; }
.sound-bars { display: flex; gap: 2px; height: 14px; align-items: center; }
.sound-bars i { width: 2px; height: 5px; border-radius: 2px; background: var(--rose); }
.sound.playing .sound-bars i { animation: equalizer .9s ease-in-out infinite alternate; }
.sound.playing .sound-bars i:nth-child(2) { animation-delay: -.6s; }
.sound.playing .sound-bars i:nth-child(3) { animation-delay: -.3s; }
.sound.playing .sound-bars i:nth-child(4) { animation-delay: -.75s; }
#toast { position: fixed; left: 50%; bottom: 80px; transform: translate(-50%, 20px); opacity: 0; max-width: calc(100% - 30px); border-radius: 25px; padding: 14px 22px; background: var(--berry); color: white; font-size: 11px; text-align: center; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 60; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.no-script { position: fixed; inset: auto 12px 20px; z-index: 70; text-align: center; background: var(--paper); padding: 20px; }
.motion-ready .reveal { opacity: 0; transform: translateY(35px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.motion-ready .reveal.in-view { opacity: 1; transform: none; }
html[lang='ru'] .cover-name, html[lang='ru'] .hero h1, html[lang='ru'] .paper-name, html[lang='ru'] .signature strong, html[lang='ru'] .footer-name { font-family: var(--serif); font-style: italic; letter-spacing: -.055em; }
html[lang='ru'] .hero h1 { font-size: clamp(84px, 12vw, 140px); }
html[lang='ru'] .cover-name { font-size: clamp(72px, 10vw, 114px); }
@keyframes auroraRose { to { transform: translate(30vw, 20vh) scale(1.25); } }
@keyframes auroraPeach { to { transform: translate(-30vw, -30vh) scale(.85); } }
@keyframes auroraLilac { to { transform: translate(-18vw, 25vh) scale(1.15); } }
@keyframes petalFall { 0% { opacity: 0; transform: translate3d(0, -40px, 0) rotate(0); } 12% { opacity: .6; } 50% { transform: translate3d(45px, 55vh, 0) rotate(140deg); } 88% { opacity: .4; } 100% { opacity: 0; transform: translate3d(-30px, 115vh, 0) rotate(300deg); } }
@keyframes enterUp { from { opacity: 0; transform: translateY(24px); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes letterArrive { from { opacity: 0; transform: translateY(40px) rotate(7deg); } to { opacity: 1; transform: none; } }
@keyframes sealBreath { 50% { box-shadow: 2px 5px 8px #7a3e5d45, 0 0 0 9px #c889a115, inset 2px 2px 2px #f7c5ce80, inset -2px -2px 3px #61334450; } }
@keyframes breakSeal { to { transform: translateY(70px) rotate(20deg) scale(.7); opacity: 0; } }
@keyframes flipFlap { 0% { transform: perspective(900px) rotateX(0); z-index: 4; } 49% { z-index: 4; } 50% { z-index: 1; } 100% { transform: perspective(900px) rotateX(180deg); z-index: 1; } }
@keyframes botanicalSway { from { transform: rotate(-8deg); } to { transform: rotate(-2deg) translateY(-8px); } }
@keyframes botanicalSwayRight { from { transform: rotate(171deg); } to { transform: rotate(178deg) translateY(8px); } }
@keyframes orbit { to { transform: translate(5%, 6%) rotate(15deg) scale(1.08); } }
@keyframes lineBreathe { 50% { transform: scaleY(.5); opacity: .5; } }
@keyframes calendarHeart { 50% { transform: scale(1.08); } }
@keyframes flowerRotate { to { transform: rotate(360deg); } }
@keyframes equalizer { to { height: 14px; } }
@media (min-width: 1100px) {
  .invitation { max-width: 860px; }
  .invitation .copy { max-width: 520px; }
  .hero-botanical { width: 260px; height: 480px; }
}
@media (max-width: 600px) {
  .topbar { height: 76px; padding: 15px 21px; }
  .monogram { font-size: 34px; gap: 13px; }
  .monogram span { font-size: 8px; padding-left: 13px; }
  .lang { padding: 9px 10px; font-size: 9px; }
  .section { padding: 65px 24px; }
  .eyebrow { font-size: 9px; letter-spacing: .17em; }
  .envelope-content { padding: 65px 20px 30px; }
  .cover-name { font-size: 90px; }
  .cover-subtitle { font-size: 22px; margin-bottom: 30px; }
  .letter-scene { height: 220px; max-width: 345px; }
  .letter-envelope { height: 207px; }
  .envelope-flap { height: 128px; }
  .wax-seal { top: 88px; }
  .letter-paper { height: 183px; }
  .letter-bow { width: 57px; height: 36px; }
  .letter-paper p { font-size: 10px; margin-top: 4px; margin-bottom: 10px; }
  .paper-name { font-size: 41px; }
  .paper-date { font-size: 8px; margin-top: 11px; }
  .envelope-address { bottom: 20px; font-size: 15px; }
  .cover-flower { width: 160px; height: 320px; opacity: .5; }
  .cover-flower-left { left: -70px; bottom: 40px; }
  .cover-flower-right { right: -65px; top: -90px; }
  .cover-eyebrow { margin-bottom: 20px; }
  .hero { min-height: 780px; min-height: 100svh; padding-top: 125px; padding-bottom: 45px; }
  .hero-arch { top: 103px; bottom: 102px; width: calc(100% - 54px); }
  .hero-bow { width: 87px; height: 58px; margin-bottom: 28px; }
  .hero h1 { font-size: 110px; }
  .hero-title { font-size: 32px; }
  .hero-note { font-size: 21px; max-width: 245px; }
  .hero .eyebrow { font-size: 8px; max-width: 240px; }
  .hero-body { margin: 0 0 70px; }
  .hero-botanical { width: 135px; height: 260px; opacity: .55; }
  .botanical-left { left: -37px; bottom: 95px; }
  .botanical-right { right: -39px; top: 100px; }
  .hero-divider { margin: 23px 0 20px; }
  .hero-date { font-size: 9px; margin-top: 23px; }
  .scroll-cue { bottom: 27px; }
  .invitation { padding-top: 40px; }
  .copy { font-size: 21px; }
  h2 { font-size: 42px; }
  .mood-tags { gap: 13px; }
  .date-section { padding-top: 15px; }
  .date-card { padding: 36px 25px 30px; }
  .date-card > .eyebrow { margin-top: 15px; }
  .date-number { font-size: 115px; padding-right: 19px; }
  .date-layout { gap: 19px; }
  .date-info > span { font-size: 27px; }
  .date-info > b { font-size: 9px; }
  .days > span { height: 32px; font-size: 11px; }
  .chosen i { font-size: 37px; inset: -3px 0 0; }
  .week { font-size: 8px; }
  .location { padding-top: 20px; }
  .map-card { height: 350px; }
  .map-caption { padding: 18px 16px; }
  .map-caption b { font-size: 19px; }
  .map-caption small { font-size: 7px; }
  .countdown-section { padding-top: 10px; padding-bottom: 80px; }
  .countdown-heading { font-size: 30px; max-width: 300px; }
  .countdown { gap: 9px; }
  .countdown div { min-width: 52px; }
  .countdown strong { font-size: 45px; }
  .countdown > i { font-size: 23px; margin-top: 4px; }
  .countdown span { font-size: 7px; }
  .gift-section { padding-top: 0; }
  .gift-card { padding: 29px 22px 26px; border-radius: 23px; }
  .gift-card h2 { font-size: 41px; }
  .gift-card .copy { font-size: 19px; }
  .bank-card { padding: 23px 20px; }
  .bank-card > strong { font-size: 23px; }
  .bank-card-number b { font-size: 23px; letter-spacing: .04em; }
  .bank-card-number { margin-top: 26px; }
  .sound { right: 16px; bottom: 17px; height: 40px; padding: 0 13px; }
  footer { margin: 0 24px; }
  footer p { font-size: 20px; }
  html[lang='ru'] .hero h1 { font-size: 91px; }
  html[lang='ru'] .cover-name { font-size: 78px; }
}
@media (max-width: 360px) {
  .section { padding-left: 18px; padding-right: 18px; }
  .cover-name { font-size: 78px; }
  .cover-subtitle { font-size: 20px; }
  .letter-scene { width: 82vw; height: 200px; }
  .letter-envelope { height: 185px; }
  .envelope-flap { height: 116px; }
  .wax-seal { top: 73px; }
  .letter-paper { height: 164px; }
  .letter-paper p { font-size: 9px; margin-bottom: 8px; }
  .paper-name { font-size: 34px; }
  .hero h1 { font-size: 94px; }
  html[lang='ru'] .hero h1 { font-size: 78px; }
  .countdown { gap: 6px; }
  .countdown div { min-width: 49px; }
  .bank-card { padding: 22px 15px; }
  .bank-card-number b { font-size: 20px; letter-spacing: .025em; }
}
@media (max-height: 720px) {
  .envelope-content { padding-top: 60px; padding-bottom: 25px; }
  .cover-eyebrow { margin-bottom: 12px; }
  .cover-name { font-size: 76px; }
  .cover-subtitle { margin: 7px 0 25px; font-size: 21px; }
  .cover-bottom { bottom: 10px; }
  .hero { min-height: 700px; }
}
@media (max-height: 520px) and (min-width: 600px) {
  .envelope-content { padding-top: 65px; }
  .cover-eyebrow { display: none; }
  .cover-name { font-size: 48px; }
  .cover-subtitle { font-size: 17px; margin: 3px 0 10px; }
  .letter-scene { width: 260px; height: 157px; }
  .letter-envelope { height: 155px; }
  .envelope-flap { height: 98px; }
  .wax-seal { top: 57px; width: 52px; height: 52px; left: calc(50% - 26px); }
  .letter-paper { height: 141px; padding-top: 5px; }
  .letter-bow { width: 45px; height: 30px; }
  .letter-paper p { font-size: 8px; margin: 1px 0 7px; }
  .paper-name { font-size: 31px; }
  .paper-date { font-size: 7px; margin-top: 8px; }
  .envelope-address { bottom: 12px; }
  .open-label { font-size: 9px; padding-top: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .petals { display: none; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}
