:root {
  --paper: #f6f0ea;
  --ink: #28231f;
  --rose: #c45f62;
  --deep-rose: #9f4349;
  --sage: #76826f;
  --cream: #fffaf5;
  --peach: #f6c4b7;
  --butter: #f4d88b;
  --sky: #b8d7d0;
  --line: rgba(40, 35, 31, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif SC", serif;
  overflow-x: hidden;
}

.grain {
  position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: .2;
  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='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}
.floating-doodles { position: fixed; inset: 0; z-index: 9; pointer-events: none; overflow: hidden; }
.doodle { position: absolute; display: grid; place-items: center; color: var(--rose); filter: drop-shadow(0 4px 0 rgba(255,255,255,.65)); animation: bob 3.6s ease-in-out infinite; }
.d-heart { left: 2.2vw; top: 23%; font-size: 24px; transform: rotate(-12deg); }
.d-star { right: 3vw; top: 36%; font-size: 30px; color: #d6a645; animation-delay: -1s; }
.d-flower { left: 3vw; top: 72%; font-size: 28px; color: var(--sage); animation-delay: -2s; }
.d-spark { right: 4vw; top: 82%; font-size: 35px; color: var(--peach); animation-delay: -.5s; }
@keyframes bob { 0%,100% { translate: 0 0; rotate: -4deg; } 50% { translate: 0 -10px; rotate: 5deg; } }

.page-shell { max-width: 1440px; margin: auto; padding: 0 5.5vw; }
.topbar { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-family: Outfit, sans-serif; font-size: 12px; letter-spacing: .17em; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 500; }
.brand-mark { font-family: serif; font-size: 24px; color: var(--rose); background: #fff; border: 1px solid var(--rose); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; box-shadow: 3px 3px 0 var(--peach); }
.edition { opacity: .55; }

.hero { min-height: calc(100vh - 92px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 8vw; padding: 6vw 2vw 8vw; }
.eyebrow, .label { color: var(--deep-rose); font: 500 11px/1.2 Outfit, sans-serif; letter-spacing: .22em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(54px, 6.2vw, 100px); line-height: 1.12; font-weight: 500; letter-spacing: -.055em; margin: 28px 0 32px; }
h1 em { color: var(--rose); font-style: italic; font-weight: 400; }
.intro { max-width: 580px; font-size: clamp(15px, 1.25vw, 19px); line-height: 2; color: rgba(40,35,31,.7); }
.text-link { display: inline-flex; gap: 20px; margin-top: 18px; padding-bottom: 6px; border-bottom: 1px solid; color: var(--ink); text-decoration: none; font-size: 14px; }
.text-link span { color: var(--rose); transition: transform .25s; }
.text-link:hover span { transform: translateY(5px); }

.hero-art { position: relative; min-height: 590px; display: flex; align-items: center; justify-content: center; }
.sun { width: 370px; height: 370px; border-radius: 50%; background: #e9b5a2; opacity: .65; position: absolute; top: 10%; right: 3%; box-shadow: inset -18px -16px 0 rgba(255,255,255,.16); }
.arch { position: relative; width: 340px; height: 500px; border: 2px solid rgba(159,67,73,.3); border-radius: 180px 180px 28px 28px; background: rgba(255,250,245,.52); overflow: hidden; box-shadow: 12px 14px 0 rgba(196,95,98,.12), 20px 24px 70px rgba(74,52,38,.08); }
.cloud { position: absolute; width: 88px; height: 28px; border-radius: 30px; background: rgba(255,255,255,.82); z-index: 3; filter: drop-shadow(3px 4px 0 rgba(184,215,208,.42)); animation: cloudFloat 6s ease-in-out infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; bottom: 5px; }
.cloud::before { width: 40px; height: 40px; left: 14px; }.cloud::after { width: 28px; height: 28px; right: 10px; }
.cloud-one { left: -2%; top: 14%; }.cloud-two { right: -6%; top: 35%; transform: scale(.7); animation-delay: -3s; }
@keyframes cloudFloat { 50% { translate: 12px 3px; } }
.stem { position: absolute; width: 2px; height: 330px; background: var(--sage); transform-origin: bottom; bottom: -15px; left: 50%; }
.stem-1 { transform: rotate(-18deg); }.stem-2 { transform: rotate(4deg); height: 390px; }.stem-3 { transform: rotate(23deg); height: 315px; }
.flower { position: absolute; width: 95px; height: 95px; z-index: 2; animation: float 4s ease-in-out infinite; }
.flower-1 { left: 46px; top: 125px; transform: rotate(-10deg); }.flower-2 { left: 132px; top: 54px; animation-delay: -1.5s; }.flower-3 { right: 30px; top: 155px; transform: scale(.78) rotate(12deg); animation-delay: -2.5s; }
.flower i { position: absolute; left: 28px; top: 4px; width: 40px; height: 48px; border-radius: 50% 50% 45% 45%; background: #c86366; transform-origin: 20px 44px; }
.flower i:nth-child(2) { transform: rotate(90deg); }.flower i:nth-child(3) { transform: rotate(180deg); }.flower i:nth-child(4) { transform: rotate(270deg); }
.flower b { position: absolute; left: 35px; top: 34px; width: 27px; height: 27px; border-radius: 50%; background: #d9a956; z-index: 3; }
.leaf { position: absolute; width: 75px; height: 32px; border-radius: 100% 0 100% 0; background: var(--sage); opacity: .85; }
.leaf-1 { left: 95px; bottom: 125px; transform: rotate(28deg); }.leaf-2 { right: 56px; bottom: 190px; transform: rotate(-12deg) scale(.8); }.leaf-3 { left: 65px; bottom: 225px; transform: rotate(45deg) scale(.65); }
.mini-heart { position: absolute; color: var(--rose); z-index: 4; animation: beat 1.6s ease-in-out infinite; }
.heart-one { top: 92px; right: 54px; font-size: 18px; }.heart-two { top: 215px; left: 34px; font-size: 13px; animation-delay: -.6s; }
.bear-sticker { position: absolute; left: -38px; bottom: 18px; width: 122px; height: 110px; z-index: 5; transform: rotate(-7deg); filter: drop-shadow(6px 8px 0 rgba(159,67,73,.14)); }
.bear-face { position: absolute; left: 8px; top: 13px; width: 94px; height: 84px; border: 3px solid #6e5140; border-radius: 48% 48% 45% 45%; background: #dcae7e; z-index: 2; }
.bear-ear { position: absolute; top: 3px; width: 35px; height: 35px; border: 3px solid #6e5140; border-radius: 50%; background: #dcae7e; }
.bear-ear.left { left: 8px; }.bear-ear.right { right: 20px; }
.eye { position: absolute; top: 31px; width: 6px; height: 8px; border-radius: 50%; background: #49362c; }.eye.left { left: 24px; }.eye.right { right: 24px; }
.bear-nose { position: absolute; left: 39px; top: 43px; width: 13px; height: 10px; border-radius: 50%; background: #49362c; }
.bear-nose::after { content: "⌣"; position: absolute; left: -2px; top: 2px; font-size: 18px; font-weight: 400; }
.blush { position: absolute; top: 46px; width: 15px; height: 7px; border-radius: 50%; background: #e78787; opacity: .7; }.blush.left { left: 8px; }.blush.right { right: 8px; }
.bear-sign { position: absolute; left: 73px; top: 55px; width: 55px; height: 46px; display: grid; place-items: center; border: 2px solid #6e5140; border-radius: 9px; background: var(--butter); color: #68483b; font-size: 12px; line-height: 1.25; text-align: center; z-index: 4; transform: rotate(9deg); }
.art-note { position: absolute; right: -4%; bottom: 6%; font: italic 18px/1.4 Georgia, serif; color: var(--deep-rose); transform: rotate(-6deg); }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }

.invitation { padding: 110px 0 130px; border-top: 1px solid var(--line); }
.section-heading { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 65px; }
.section-heading > span { font: 400 13px Outfit, sans-serif; color: var(--rose); border: 1px solid var(--rose); border-radius: 50%; padding: 8px; }
.section-heading p { margin-bottom: 14px; font: 500 11px Outfit, sans-serif; letter-spacing: .2em; color: var(--sage); }
.section-heading h2 { font-size: clamp(38px, 4vw, 62px); line-height: 1.25; font-weight: 500; letter-spacing: -.04em; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { min-height: 330px; padding: 34px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; border: 2px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.32); box-shadow: 7px 8px 0 rgba(118,130,111,.14); transition: transform .3s, background .3s; overflow: hidden; }
.plan-card::after { content: "✦"; position: absolute; right: 26px; bottom: 25px; color: var(--butter); opacity: .7; }
.plan-card + .plan-card { border-left: 2px solid var(--line); }
.plan-card:hover { transform: translateY(-8px) rotate(-1deg); background: var(--cream); }
.plan-card.feature { background: var(--rose); color: var(--cream); border-color: var(--deep-rose); box-shadow: 7px 8px 0 #edb5ac; transform: rotate(1deg); }
.plan-card.feature .label { color: #f8d6cf; }
.card-number { position: absolute; top: 24px; right: 28px; font: 400 12px Outfit, sans-serif; opacity: .5; }
.line-icon { position: absolute; top: 34px; left: 34px; font-size: 34px; font-family: serif; }
.doll-head { width: 58px; height: 54px; top: 29px; border: 2px solid #624b40; border-radius: 48% 48% 46% 46%; background: #f3c8a7; box-shadow: 3px 4px 0 rgba(196,95,98,.2); z-index: 2; }
.doll-ear { position: absolute; top: 17px; width: 14px; height: 18px; border: 2px solid #624b40; border-radius: 50%; background: #f3c8a7; z-index: -1; }
.doll-ear.left { left: -9px; }.doll-ear.right { right: -9px; }
.doll-hair { position: absolute; left: 3px; top: 2px; width: 48px; height: 17px; border-radius: 28px 28px 55% 45%; background: #754e3c; transform: rotate(-2deg); }
.tiny-glasses { position: absolute; left: 8px; top: -8px; width: 40px; height: 17px; transform: rotate(-6deg); z-index: 3; }
.tiny-glasses::before, .tiny-glasses::after { content: ""; position: absolute; top: 2px; width: 17px; height: 12px; border: 2px solid #302c2a; border-radius: 4px 4px 8px 8px; background: #536a70; box-shadow: inset 4px 2px 0 rgba(255,255,255,.32); }
.tiny-glasses::before { left: 0; }.tiny-glasses::after { right: 0; }
.tiny-glasses i { position: absolute; left: 17px; top: 6px; width: 7px; height: 2px; background: #302c2a; }
.tiny-glasses b { position: absolute; left: -7px; top: 4px; width: 54px; height: 2px; background: #302c2a; z-index: -1; }
.doll-eye { position: absolute; top: 25px; width: 4px; height: 5px; border-radius: 50%; background: #493b35; }
.doll-eye.left { left: 16px; }.doll-eye.right { right: 16px; }
.doll-mouth { position: absolute; left: 21px; top: 27px; color: #6b4841; font-size: 16px; line-height: 1; }
.doll-cheek { position: absolute; top: 33px; width: 9px; height: 5px; border-radius: 50%; background: #e99292; opacity: .7; }
.doll-cheek.left { left: 7px; }.doll-cheek.right { right: 7px; }
.plan-card h3 { font-size: 25px; font-weight: 500; margin: 9px 0; }
.plan-card > p:last-child { margin: 0; font-size: 14px; opacity: .68; }

.question { position: relative; margin: 0 calc(50% - 50vw); padding: 130px 24px; text-align: center; color: var(--cream); background-color: #343b33; background-image: radial-gradient(rgba(255,255,255,.07) 1.5px, transparent 1.5px); background-size: 25px 25px; overflow: hidden; }
.question::before, .question::after { content: ""; position: absolute; width: 170px; height: 170px; border: 3px solid rgba(246,196,183,.24); border-radius: 50%; }
.question::before { left: -70px; top: -60px; }.question::after { right: -80px; bottom: -60px; }
.question-stars { color: var(--butter); font-size: 20px; margin-bottom: 24px; letter-spacing: .2em; }
.question .eyebrow { color: #d9a9a3; }
.question h2 { font-size: clamp(42px, 5vw, 72px); font-weight: 500; letter-spacing: -.04em; margin: 25px 0 20px; }
.question > p:not(.eyebrow):not(.tiny-note) { color: rgba(255,250,245,.68); }
.actions { margin: 42px auto 25px; display: flex; justify-content: center; gap: 16px; min-height: 58px; }
button { font: 500 14px "Noto Serif SC", serif; cursor: pointer; border-radius: 0; }
.yes-button { min-width: 190px; border: 2px solid #f5a7a8; border-radius: 15px; padding: 17px 24px; background: var(--rose); color: white; display: flex; justify-content: space-between; align-items: center; box-shadow: 5px 6px 0 #842f35; transition: transform .2s, background .2s; }
.yes-button:hover { transform: translateY(-3px); background: #d36d70; }
.maybe-button { min-width: 140px; padding: 16px 24px; border: 2px dashed #ecf8fc; border-radius: 15px; background: #bfe3f2; color: #294b5b; box-shadow: 4px 5px 0 #729fb3; transition: .2s; }
.maybe-button:hover { background: #d5f1fb; }
.maybe-button.is-escaping {
  position: fixed;
  z-index: 90;
  margin: 0;
  transition: left .18s cubic-bezier(.2,.8,.2,1), top .18s cubic-bezier(.2,.8,.2,1), transform .18s ease;
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}
.maybe-button.is-escaping::after {
  content: "";
  position: absolute;
  inset: -22px;
}
.tiny-note { font: 300 11px Outfit, sans-serif; letter-spacing: .08em; opacity: .38; }

footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; font: 400 10px Outfit, sans-serif; letter-spacing: .16em; opacity: .6; }
.footer-heart { font-size: 24px; color: var(--rose); }
.success-dialog { width: min(540px, calc(100vw - 32px)); padding: 70px 45px 55px; border: 3px solid var(--rose); border-radius: 28px; color: var(--ink); background-color: var(--cream); background-image: radial-gradient(#f3d6cd 1.2px, transparent 1.2px); background-size: 18px 18px; text-align: center; box-shadow: 10px 12px 0 rgba(196,95,98,.4), 0 24px 100px rgba(0,0,0,.24); }
.success-dialog::backdrop { background: rgba(31,27,23,.72); backdrop-filter: blur(5px); }
.success-dialog[open] { animation: pop .38s ease-out; }
.close-dialog { position: absolute; top: 14px; right: 18px; border: 0; background: none; color: var(--ink); font-size: 26px; font-weight: 300; }
.big-heart { font-size: 58px; color: var(--rose); margin: 18px 0 8px; animation: beat 1s infinite; }
.success-dialog h2 { font-size: 42px; font-weight: 500; margin-bottom: 17px; }
.success-dialog p:not(.eyebrow) { line-height: 1.9; color: rgba(40,35,31,.66); font-size: 14px; }
.calendar-button { margin-top: 14px; border: 1px solid var(--ink); padding: 13px 25px; background: transparent; }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(20px); } }
@keyframes beat { 50% { transform: scale(1.12); } }
.confetti span { position: fixed; z-index: 100; top: -20px; width: 8px; height: 14px; animation: fall 2.8s linear forwards; }
@keyframes fall { to { transform: translate(var(--drift), 105vh) rotate(720deg); opacity: .3; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .page-shell { padding: 0 22px; }
  .topbar { height: 74px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 80px 0 90px; gap: 60px; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-art { min-height: 480px; transform: scale(.9); }
  .art-note { right: 0; }
  .invitation { padding: 85px 0; }
  .section-heading { gap: 20px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 250px; }
  .plan-card + .plan-card { border-left: 2px solid var(--line); border-top: 2px solid var(--line); }
  .bear-sticker { left: -4px; bottom: -4px; transform: scale(.82) rotate(-7deg); }
  .floating-doodles { opacity: .65; }
  .question { padding: 95px 22px; }
  .actions { flex-direction: column; align-items: center; }
  .yes-button, .maybe-button { width: min(100%, 300px); }
  .maybe-button.is-escaping { width: auto; min-width: 140px; }
  footer span:first-child, footer span:last-child { font-size: 8px; max-width: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
