 :root {
  --cream: #fffaf5; --paper: #fffdf9; --blush: #f7e5e8; --pink: #d9879e;
  --rose: #a95772; --ink: #49383e; --muted: #806f74; --line: #ead6d9;
  --shadow: 0 18px 55px rgba(116, 66, 81, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; line-height: 1.65; overflow-x: hidden; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.topbar { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; padding: 22px clamp(20px, 5vw, 72px); display: flex; justify-content: space-between; align-items: center; }
.brand { text-decoration: none; font-family: "Caveat", cursive; font-size: 1.6rem; color: var(--rose); }
.brand span { font-family: sans-serif; }
.music-toggle { border: 1px solid var(--line); background: rgba(255,255,255,.75); color: var(--rose); border-radius: 999px; padding: 9px 15px; font-size: .82rem; display: flex; gap: 8px; align-items: center; backdrop-filter: blur(8px); }
.music-icon { font-size: 1.1rem; }
.section-shell { width: min(1120px, calc(100% - 44px)); margin: 0 auto; }
.hero { min-height: 740px; padding: 145px 5vw 105px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 7vw; align-items: center; position: relative; }
.hero-copy { max-width: 550px; }
.eyebrow { color: var(--rose); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 700; margin: 0 0 15px; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(3.1rem, 6.5vw, 5.7rem); margin: 0 0 22px; }
h1 [data-her-name] { color: var(--rose); }
.pink-dot { color: var(--pink); }
.hero-lede { color: var(--muted); max-width: 420px; font-size: 1.05rem; margin-bottom: 30px; }
.primary-button { border: 0; border-radius: 999px; background: var(--rose); color: white; padding: 14px 24px; box-shadow: 0 8px 22px rgba(169,87,114,.2); transition: transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(169,87,114,.27); }
.primary-button span { margin-left: 10px; }
.micro-copy { color: #a18d92; font-size: .75rem; margin-top: 14px; }
.hero-photo-wrap { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.polaroid { background: white; padding: 14px 14px 46px; box-shadow: var(--shadow); transform: rotate(3deg); width: min(350px, 80%); position: relative; }
.polaroid img { width: 100%; height: 340px; object-fit: cover; display: block; background: var(--blush); }
.polaroid figcaption { font-family: "Caveat", cursive; text-align: center; font-size: 1.45rem; color: #80636d; padding-top: 8px; }
.tape { position: absolute; z-index: 2; width: 105px; height: 27px; background: rgba(231,190,190,.55); transform: rotate(-8deg); }
.tape-top { top: 34px; left: 27%; }
.hero-sticker { position: absolute; z-index: 2; font-family: "Caveat", cursive; color: var(--rose); font-size: 1.3rem; line-height: 1; text-align: center; transform: rotate(-12deg); }
.sticker-one { top: 160px; right: 3%; border: 1px dashed var(--pink); border-radius: 50%; padding: 17px 12px; }
.doodle-heart { position: absolute; font-size: 4rem; color: var(--pink); right: 8%; bottom: 42px; transform: rotate(15deg); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; text-decoration: none; color: var(--rose); font-size: 1.6rem; animation: bob 1.8s infinite; }
@keyframes bob { 50% { transform: translateY(7px); } }
.story-section, .gallery-section { padding: 105px 0; }
.section-heading { max-width: 620px; margin: 0 auto 45px; text-align: center; }
.section-heading h2, .paper-note h2 { font-size: clamp(2.35rem, 4.5vw, 3.7rem); margin: 0 0 15px; }
h2 em { color: var(--rose); font-weight: 500; }
.section-heading > p:last-child { color: var(--muted); margin: 0 auto; max-width: 500px; }
.memory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.memory-card { background: var(--paper); padding: 14px 14px 22px; box-shadow: var(--shadow); transform: rotate(var(--tilt, 0deg)); }
.memory-card:nth-child(2n) { --tilt: 1.8deg; }
.memory-card:nth-child(3n) { --tilt: -1.4deg; }
.memory-card img { width: 100%; height: 230px; object-fit: cover; display: block; background: var(--blush); }
.memory-card .memory-date { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--rose); margin: 17px 4px 6px; }
.memory-card h3 { font: 500 1.55rem "Playfair Display", serif; margin: 0 4px 7px; }
.memory-card p { color: var(--muted); font-size: .88rem; margin: 0 4px; }
.reasons-section { padding: 60px 0 110px; }
.paper-note { position: relative; max-width: 850px; margin: auto; padding: clamp(35px, 7vw, 75px); background: #f8e9e9; box-shadow: var(--shadow); text-align: center; transform: rotate(-.5deg); }
.paper-note:before { content: ""; position: absolute; inset: 13px; border: 1px dashed rgba(169,87,114,.28); pointer-events: none; }
.note-pin { position: absolute; width: 15px; height: 15px; border-radius: 50%; background: #bd7188; top: 17px; left: 50%; box-shadow: 0 2px 4px #9b6274; }
.paper-note h2 { margin-bottom: 12px; }
.note-intro { color: var(--muted); margin: 0 auto 30px; }
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; position: relative; }
.reason-item { background: rgba(255,255,255,.7); border: 1px solid rgba(234,214,217,.8); border-radius: 8px; padding: 17px 18px; text-align: left; font-size: .92rem; }
.reason-item span { color: var(--rose); margin-right: 9px; }
.note-signoff { display: block; font: 1.5rem "Caveat", cursive; color: var(--rose); margin-top: 25px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; align-items: start; }
.gallery-item { padding: 12px 12px 42px; background: white; box-shadow: var(--shadow); position: relative; transform: rotate(var(--tilt, 0deg)); }
.gallery-item:nth-child(3n+1) { --tilt: -2deg; }
.gallery-item:nth-child(3n+2) { --tilt: 1.5deg; margin-top: 25px; }
.gallery-item:nth-child(3n) { --tilt: -1deg; }
.gallery-item img { width: 100%; height: 270px; object-fit: cover; display: block; background: var(--blush); }
.gallery-item p { position: absolute; bottom: 7px; left: 10px; right: 10px; text-align: center; font: 1.35rem "Caveat", cursive; color: #80636d; margin: 0; }
.question-section { background: #f7e7e9; padding: 115px 22px; text-align: center; position: relative; overflow: hidden; }
.question-section:before, .question-section:after { content: "♡"; position: absolute; color: rgba(217,135,158,.2); font-size: 17rem; line-height: 1; }
.question-section:before { top: -30px; left: -30px; transform: rotate(-20deg); }
.question-section:after { bottom: -70px; right: -20px; transform: rotate(18deg); }
.question-inner { position: relative; z-index: 1; max-width: 720px; margin: auto; }
.tiny-flower { color: var(--rose); font-size: 2rem; margin-bottom: 15px; }
.question-inner h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0 0 17px; }
.question-subtitle { color: var(--muted); }
.big-question { color: var(--rose); font: 600 clamp(2.3rem, 5.6vw, 4.6rem) "Caveat", cursive; margin: 18px 0 30px; }
.answer-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.yes-button { min-width: 150px; font-size: 1.05rem; }
.soft-button { border: 1px solid #d9aab7; color: var(--rose); background: rgba(255,255,255,.62); border-radius: 999px; padding: 13px 21px; }
.gentle-note { font-size: .8rem; color: #8e747c; margin-top: 22px; }
.celebration-section { padding: 90px 22px; background: #fff6f3; text-align: center; }
.celebration-card { max-width: 650px; margin: auto; }
.celebration-hearts { color: var(--rose); font-size: 2.2rem; letter-spacing: .4em; }
.celebration-card h2 { font-size: clamp(2.7rem, 6vw, 4.5rem); margin: 0 0 18px; }
.celebration-message { color: var(--muted); max-width: 500px; margin: 0 auto 25px; }
.celebration-photo { width: min(280px, 80%); height: 280px; object-fit: cover; background: var(--blush); padding: 10px 10px 35px; box-shadow: var(--shadow); transform: rotate(2deg); }
.handwritten { font: 2rem "Caveat", cursive; color: var(--rose); }
.text-button { border: 0; background: transparent; color: var(--rose); text-decoration: underline; text-underline-offset: 4px; }
.site-footer { display: flex; gap: 12px; justify-content: center; align-items: center; padding: 25px 15px; color: #9a858b; font-size: .75rem; }
.site-footer span:nth-child(2) { color: var(--pink); }
.ambient-hearts { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.ambient-heart { position: absolute; bottom: -30px; color: rgba(217,135,158,.25); animation: float-up linear forwards; }
@keyframes float-up { to { transform: translateY(-110vh) rotate(35deg); opacity: 0; } }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.confetti { position: fixed; z-index: 20; top: -20px; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; animation: fall 3.2s ease-in forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); opacity: .1; } }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .topbar { padding: 17px 20px; }
  .hero { min-height: auto; padding: 125px 8px 80px; grid-template-columns: 1fr; gap: 25px; text-align: center; }
  .hero-copy { margin: auto; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-photo-wrap { min-height: 360px; }
  .polaroid { width: min(300px, 78%); }
  .polaroid img { height: 270px; }
  .sticker-one { top: 0; right: 2%; }
  .doodle-heart { right: 3%; bottom: 15px; }
  .scroll-cue { bottom: 12px; }
  .memory-grid, .gallery-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
  .memory-card img { height: 180px; }
  .gallery-item img { height: 190px; }
  .reasons-grid { grid-template-columns: 1fr; }
  .story-section, .gallery-section { padding: 75px 0; }
  .reasons-section { padding: 35px 0 75px; }
}
@media (max-width: 430px) {
  .brand { font-size: 1.35rem; }
  .music-toggle { padding: 8px 11px; font-size: .72rem; }
  .memory-grid, .gallery-grid { grid-template-columns: 1fr; max-width: 340px; margin: auto; }
  .memory-card img, .gallery-item img { height: 245px; }
  .gallery-item:nth-child(3n+2) { margin-top: 0; }
  .site-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.inside-joke { position: relative; margin: 8px 0 0; color: var(--rose); font: 1.65rem "Caveat", cursive; }
