.wedding-notice {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 44px 16px 72px;
  background:
    linear-gradient(#8cd8e4 0 31%, transparent 31%),
    #78b950;
  color: #44271f;
}

.wedding-notice::before {
  position: absolute;
  inset: 0 0 auto;
  height: 44%;
  background: url("../../../assets/stardew/scenes/spring-panorama.png") center bottom / cover no-repeat;
  content: "";
  image-rendering: pixelated;
}

.wedding-notice__scene {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  height: 260px;
  margin: 0 auto -28px;
}

.wedding-notice__arch {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 188px;
  height: 146px;
  border: 10px solid #f4d8e8;
  border-bottom: 0;
  box-shadow:
    inset 0 0 0 4px #a46b82,
    0 0 0 4px #553126;
  transform: translateX(50%);
}

.wedding-notice__arch::before,
.wedding-notice__arch::after {
  position: absolute;
  top: -18px;
  width: 34px;
  height: 26px;
  background: #f1a7be;
  box-shadow: 18px 8px #f7e3ed, 8px 20px #6da94e;
  content: "";
}

.wedding-notice__arch::before {
  left: -22px;
}

.wedding-notice__arch::after {
  right: -4px;
  transform: scaleX(-1);
}

.wedding-notice__couple {
  position: absolute;
  right: 50%;
  bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: end;
  transform: translateX(50%);
}

.wedding-notice__sprite {
  width: 48px;
  height: 96px;
  object-fit: fill;
  image-rendering: pixelated;
  animation: wedding-notice-idle 1.6s steps(2, end) infinite;
}

.wedding-notice__sprite--bride {
  animation-delay: -0.8s;
}

.wedding-notice__board {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 34px 24px 30px;
  border: 8px solid #7b4328;
  border-radius: 4px;
  outline: 4px solid #c47a42;
  background: #f6dfaa url("../../../assets/stardew/ui/letter-background.png") center / 100% 100% no-repeat;
  box-shadow: 8px 10px 0 rgb(54 76 36 / 35%);
  text-align: center;
}

.wedding-notice__eyebrow,
.wedding-notice__signature {
  margin: 0;
  color: #7f3d31;
  font-family: STKaiti, KaiTi, serif;
}

.wedding-notice__title {
  margin: 10px 0 14px;
  font-size: clamp(1.45rem, 6vw, 2rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.wedding-notice__names {
  display: flex;
  margin: 0 0 18px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: #a23646;
  font-size: clamp(1.5rem, 8vw, 2.4rem);
  font-weight: 800;
}

.wedding-notice__heart {
  color: #d75c70;
  font-size: 1rem;
}

.wedding-notice__invitation {
  max-width: 32em;
  margin: 0 auto 22px;
  line-height: 1.8;
}

.wedding-notice__details {
  display: grid;
  margin: 0;
  gap: 8px;
  text-align: left;
}

.wedding-notice__detail {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  padding-block: 7px;
  border-bottom: 2px dashed rgb(123 67 40 / 35%);
}

.wedding-notice__label,
.wedding-notice__value {
  margin: 0;
  line-height: 1.55;
}

.wedding-notice__label {
  color: #a23646;
  font-weight: 800;
}

.wedding-notice__signature {
  margin-top: 24px;
}

@keyframes wedding-notice-idle {
  50% { transform: translateY(-2px); }
}

@media (min-width: 768px) {
  .wedding-notice { padding-inline: 32px; }
  .wedding-notice__board { padding-inline: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .wedding-notice__sprite { animation: none; }
}
