* { box-sizing: border-box; }

:root {
  --pink: #ff70ad;
  --pink-light: #ffd8e9;
  --text: #fff5fa;
  --muted: #f1c9dc;
  --night: #1d0a20;
}

html { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(ellipse at 13% 18%, rgba(255, 83, 157, .25), transparent 34%),
    radial-gradient(ellipse at 88% 76%, rgba(148, 55, 151, .26), transparent 38%),
    linear-gradient(135deg, #180919 0%, #35102f 52%, #1b0a20 100%);
}

button { font: inherit; }

.ambient {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
  pointer-events: none;
}
.ambient-one { background: #ff4e9c; top: -140px; left: -110px; }
.ambient-two { background: #a43ba8; right: -150px; bottom: -130px; }

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 42px));
  margin: 0 auto;
}

.topbar {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 202, 226, .13);
}
.brand {
  color: #ffe5f0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}
.topbar-note {
  color: #e9b5d0;
  font-size: 10px;
  letter-spacing: .17em;
  font-weight: 600;
}
.topbar-note span { color: var(--pink); margin-left: 7px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  padding: 58px 0 45px;
}

.portrait-frame {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 190, 222, .43);
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.025));
  box-shadow: 0 28px 85px rgba(0,0,0,.38), 0 0 38px rgba(255,75,155,.13);
}
.portrait-glow {
  position: absolute;
  z-index: -1;
  inset: 12%;
  background: #ff5ca8;
  filter: blur(65px);
  opacity: .22;
}
.couple-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 0.91 / 1;
  object-fit: cover;
  object-position: 49% 43%;
  border-radius: 20px;
}
.portrait-sticker {
  position: absolute;
  display: grid;
  place-items: center;
  color: #7c244f;
  background: #fff0f7;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.sticker-top {
  top: -18px;
  right: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 31px;
  transform: rotate(12deg);
}
.sticker-bottom {
  left: -15px;
  bottom: 28px;
  padding: 12px 17px;
  border-radius: 7px;
  font: italic 600 17px "Playfair Display", serif;
  transform: rotate(-7deg);
}

.copy { padding: 15px 0; }
.eyebrow, .modal-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ff9bc8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}
.eyebrow span { width: 20px; height: 1px; background: #ff8fbe; }
h1 {
  margin: 22px 0 22px;
  font: 700 clamp(48px, 6vw, 76px)/1.04 "Playfair Display", serif;
  letter-spacing: -.04em;
}
h1 em { color: #ff83b9; }
.intro, .promise {
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.promise { color: #f7dce9; margin-top: 13px; }
.forgive-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 30px;
  border: 1px solid #ffc0dd;
  border-radius: 999px;
  color: white;
  background: linear-gradient(110deg, #ff4b9e, #d92d83);
  box-shadow: 0 0 0 5px rgba(255, 94, 169, .10), 0 14px 35px rgba(255, 45, 137, .3);
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.forgive-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 7px rgba(255, 94, 169, .13), 0 17px 42px rgba(255, 45, 137, .4);
}
.forgive-button span { font-size: 18px; }
.signature {
  color: #d99ab9;
  font: italic 17px "Playfair Display", serif;
  margin-top: 22px;
}

.bottom-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 0 32px;
  color: #d99ab9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-align: center;
}
.bottom-note p { white-space: nowrap; }
.bottom-note b { color: #ff65a8; padding: 0 6px; }
.line { width: min(90px, 12vw); height: 1px; background: rgba(255, 170, 207, .35); }

.floating-hearts {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.heart {
  position: absolute;
  bottom: -35px;
  color: rgba(255, 133, 190, .7);
  text-shadow: 0 0 15px rgba(255, 76, 159, .55);
  animation: float-up linear forwards;
}
@keyframes float-up {
  to { transform: translateY(-115vh) rotate(28deg); opacity: 0; }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 3, 15, .75);
  backdrop-filter: blur(9px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.modal.show { opacity: 1; visibility: visible; }
.modal-card {
  position: relative;
  width: min(460px, 100%);
  padding: 42px 32px 35px;
  border: 1px solid rgba(255, 183, 218, .5);
  border-radius: 25px;
  text-align: center;
  background: linear-gradient(145deg, #501644, #29102e);
  box-shadow: 0 25px 90px rgba(0,0,0,.5), 0 0 40px rgba(255,70,157,.16);
  transform: translateY(12px) scale(.98);
  transition: transform .25s;
}
.modal.show .modal-card { transform: translateY(0) scale(1); }
.modal-heart { font-size: 43px; margin-bottom: 10px; }
.modal-eyebrow { justify-content: center; }
.modal-card h2 {
  margin: 13px 0;
  font: 700 31px/1.2 "Playfair Display", serif;
}
.modal-card p:not(.modal-eyebrow) {
  color: #f4d9e8;
  font-size: 14px;
  line-height: 1.85;
}
.modal-signoff {
  margin-top: 22px;
  color: #ff9bc9;
  font: italic 21px "Playfair Display", serif;
}
.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  border: 0;
  background: transparent;
  color: #ffd5e8;
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .site-shell { width: min(100% - 26px, 560px); }
  .topbar { min-height: 65px; }
  .brand { font-size: 10px; }
  .topbar-note { font-size: 8px; letter-spacing: .1em; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 35px 0 20px; }
  .portrait-frame { max-width: 480px; margin: 0 auto; }
  .couple-portrait { aspect-ratio: .98 / 1; }
  .copy { text-align: center; padding: 8px 5px; }
  .eyebrow { justify-content: center; font-size: 9px; }
  h1 { font-size: 54px; margin: 17px 0; }
  .intro, .promise { margin-left: auto; margin-right: auto; font-size: 14px; }
  .bottom-note { gap: 8px; font-size: 7px; letter-spacing: .12em; }
  .bottom-note p { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
