:root {
  --bg: #f1deca;
  --paper: #fff4e6;
  --paper-soft: #fff8ef;
  --text: #312a26;
  --muted: #74665e;
  --accent: #8e2d30;
  --accent-light: #bd6d66;
  --line: #dec9b6;
  --shadow: rgba(70, 44, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(rgba(94, 66, 45, 0.13) 0.55px, transparent 0.55px),
    linear-gradient(90deg, rgba(142, 45, 48, 0.014) 1px, transparent 1px),
    linear-gradient(rgba(142, 45, 48, 0.012) 1px, transparent 1px);
  background-size: 14px 14px, 42px 42px, 42px 42px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.invite-sheet {
  position: relative;
  width: min(960px, 100% - 28px);
  margin: 0 auto 32px;
  padding: 18px clamp(24px, 3.8vw, 50px) 38px;
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 238, 0.96), rgba(250, 235, 216, 0.94));
  border: 1px solid rgba(142, 45, 48, 0.12);
  border-radius: 30px;
  box-shadow: 0 18px 60px rgba(82, 48, 29, 0.08);
}

.section {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.floating-sticker {
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 12px rgba(70, 44, 30, 0.12));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero {
  position: relative;
  height: 462px;
  min-height: 0;
  padding: 0;
  text-align: center;
  isolation: isolate;
}

.hero-center {
  position: relative;
  z-index: 5;
  width: min(410px, 50%);
  margin: 0 auto;
  padding-top: 28px;
}

.mini-divider {
  position: absolute;
  top: -8px;
  left: 50%;
  z-index: 6;
  width: 82px;
  margin: 0;
  transform: translateX(-50%);
}

.hero-title-text {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0 0 10px;
  color: var(--accent);
  font-family: "Marck Script", cursive;
  font-size: clamp(70px, 6.8vw, 98px);
  font-weight: 400;
  line-height: 0.82;
}

.title-name {
  display: block;
}

.title-amp {
  position: absolute;
  top: 37%;
  left: 54%;
  font-family: "Marck Script", cursive;
  font-size: 0.46em;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.kicker {
  margin: 0 0 10px;
  color: var(--text);
  font-family: "Amatic SC", "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-center .kicker {
  display: inline-block;
  margin: 0 0 6px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 22px;
}

.divider,
.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}

.divider {
  width: min(270px, 100%);
  margin: 0 auto 10px;
}

.divider span,
.section-title::before,
.section-title::after {
  height: 1px;
  content: "";
  background: rgba(142, 45, 48, 0.26);
}

.hero-text {
  width: min(370px, 100%);
  margin: 0 auto 8px;
  color: #342d29;
  background: transparent;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.22;
}

.date-line {
  margin: 0;
  color: var(--accent);
  font-family: "Amatic SC", "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-sticker,
.hero-flower {
  position: absolute;
  max-width: none;
  margin: 0;
  object-fit: contain;
}

.hero-sticker {
  z-index: 3;
}

.hero-flower {
  z-index: 2;
  width: clamp(165px, 18vw, 215px);
  opacity: 0.98;
  transform-origin: center;
}

.hero-sticker-left {
  top: -30px;
  left: -50px;
  width: clamp(285px, 31vw, 360px);
}

.hero-sticker-right {
  top: -14px;
  right: -22px;
  width: clamp(255px, 28vw, 320px);
}

.hero-flower-left {
  top: 186px;
  left: -72px;
  transform: scaleX(-1) rotate(-4deg);
}

.hero-flower-right {
  top: 188px;
  right: -68px;
  transform: rotate(4deg);
}

.framed-panel {
  border: 1px solid rgba(142, 45, 48, 0.16);
  border-radius: 22px;
  background: rgba(255, 249, 240, 0.28);
  box-shadow: none;
}

.framed-panel::before,
.framed-panel::after,
.personal-panel::before,
.personal-panel::after {
  display: none;
}

.framed-panel::before,
.personal-panel::before {
  top: 10px;
  left: 10px;
}

.framed-panel::after,
.personal-panel::after {
  right: 10px;
  bottom: 10px;
  transform: rotate(180deg);
}

.story-panel {
  position: relative;
  min-height: 300px;
  display: block;
  margin: 14px 0 48px;
  padding: 22px 32px 18px;
  overflow: visible;
}

.story-copy {
  position: relative;
  z-index: 4;
  width: min(365px, 44%);
}

.story-copy h2,
.dress-panel h2,
.personal-heading h2 {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "Marck Script", cursive;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 400;
  line-height: 1;
}


.story-copy h2 {
  margin: 0 0 11px;
  color: var(--accent);
  font-family: "Marck Script", cursive;
  font-size: clamp(42px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.story-copy h2 span {
  margin-left: 4px;
  font-size: 0.6em;
  vertical-align: 0.1em;
}

.story-copy p,
.guest-message p,
.dress-panel p {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.32;
}

.story-copy p {
  max-width: 360px;
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.story-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.story-main,
.story-flower {
  position: absolute;
  max-width: none;
  object-fit: contain;
}

.story-main {
  z-index: 3;
  width: clamp(390px, 41vw, 470px);
  right: 24px;
  bottom: -52px;
}

.story-flower {
  z-index: 2;
  width: clamp(78px, 8.5vw, 94px);
}

.story-flower-left {
  top: 102px;
  right: 352px;
  bottom: auto;
}

.story-flower-right {
  top: 118px;
  right: 12px;
  bottom: auto;
  transform: scaleX(-1);
}

.section-title {
  width: min(760px, 100%);
  grid-template-columns: 1fr auto auto auto 1fr;
  gap: 10px;
  margin: 22px auto 18px;
}

.section-title h2 {
  margin: 0;
  color: var(--accent);
  font-family: "Amatic SC", "Cormorant Garamond", serif;
  font-size: clamp(42px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 0.9;
}

.section-title span {
  font-size: 24px;
}
.section-title::before {
  grid-column: 1;
}

.section-title span:first-of-type {
  grid-column: 2;
}

.section-title h2 {
  grid-column: 3;
}

.section-title span:last-of-type {
  grid-column: 4;
}

.section-title::after {
  grid-column: 5;
}

.program-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 38px 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 30px;
}

.program-grid::before {
  position: absolute;
  top: 28px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  content: "";
  background: linear-gradient(var(--line), var(--line)) center / 1px 8px repeat-y;
}

.program-heart {
  z-index: 2;
  align-self: center;
  justify-self: center;
  color: var(--accent);
  background: var(--paper);
  font-size: 44px;
  line-height: 1;
}

.program-card {
  position: relative;
  display: grid;
  grid-template-columns: 134px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 162px;
  border: 1px solid rgba(142, 45, 48, 0.16);
  border-radius: 18px;
  padding: 20px 22px 18px;
  overflow: visible;
  background: rgba(255, 249, 240, 0.24);
}

.program-icon {
  width: 124px;
  height: 124px;
  max-width: none;
  object-fit: contain;
}

time {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
  color: var(--accent);
  font-family: "Amatic SC", "Cormorant Garamond", serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 0.9;
}

time::after {
  flex: 1;
  height: 1px;
  margin-top: 8px;
  border-top: 2px dotted rgba(142, 45, 48, 0.28);
  content: "";
}

.program-card h3,
.location-card h3 {
  margin-bottom: 7px;
  color: var(--text);
  font-family: "Amatic SC", "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 0.95;
}

.program-card p,
.location-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.24;
}

.program-detail {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  margin-top: -2px;
  border-top: 1px solid rgba(142, 45, 48, 0.15);
  padding-top: 10px;
  text-align: left;
}

.program-detail p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.22;
}

.note {
  display: none;
}

.personal-panel {
  position: relative;
  margin: 18px 28px 220px;
  padding: 28px 28px 18px;
  overflow: visible;
  border: 1px solid rgba(142, 45, 48, 0.22);
  border-radius: 20px;
  background: rgba(255, 249, 240, 0.18);
  box-shadow: none;
  text-align: center;
  transform: rotate(-0.18deg);
}

.personal-paper-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  z-index: 10;
  width: 142px;
  height: 28px;
  border-radius: 3px;
  background: rgba(232, 213, 190, 0.76);
  box-shadow: 0 4px 12px rgba(70, 44, 30, 0.08);
  transform: translateX(-50%) rotate(1.5deg);
}

.personal-scene {
  position: relative;
  min-height: 780px;
  overflow: visible;
  isolation: isolate;
}

.personal-sticker-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

.personal-copy {
  position: relative;
  z-index: 6;
  width: min(392px, 48%);
  margin: 0 auto;
  padding: 32px 0 430px;
  text-align: center;
}

.personal-copy::after {
  display: block;
  margin: 18px auto 0;
  color: rgba(142, 45, 48, 0.72);
  content: "— ♡ —";
  font-size: 18px;
  letter-spacing: 0.18em;
}

.personal-panel .kicker {
  min-height: 18px;
  margin-bottom: 7px;
  font-size: 13px;
}

.personal-copy h2 {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "Marck Script", cursive;
  font-size: clamp(42px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 1.05;
}

.personal-copy p:not(.signature):not(.kicker) {
  margin: 0;
  font-size: 20px;
  line-height: 1.32;
}

.personal-slot,
.personal-group-scene {
  position: absolute;
  margin: 0;
  overflow: visible;
  filter: drop-shadow(0 14px 16px rgba(70, 44, 30, 0.13));
  transform-origin: center center;
}

.personal-slot[hidden],
.personal-group-scene[hidden] {
  display: none !important;
}

.personal-slot img,
.personal-slot-placeholder,
.personal-group-scene img,
.personal-group-scene .personal-slot-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.personal-slot img[hidden],
.personal-slot-placeholder[hidden],
.personal-group-scene img[hidden],
.personal-group-scene .personal-slot-placeholder[hidden] {
  display: none !important;
}

.personal-slot-placeholder {
  display: grid;
  place-items: center;
  min-height: 100%;
  border: 1px dashed rgba(142, 45, 48, 0.35);
  border-radius: 18px;
  padding: 14px;
  color: var(--accent);
  background: rgba(255, 250, 242, 0.72);
  font-family: "Amatic SC", "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  white-space: pre-line;
}

.personal-slot--left-primary {
  top: var(--slot-top, 4px);
  right: var(--slot-right, auto);
  bottom: var(--slot-bottom, auto);
  left: var(--slot-left, -86px);
  z-index: var(--slot-z, 2);
  width: var(--slot-width, 282px);
  height: var(--slot-height, 318px);
  transform: rotate(var(--slot-rotate, -5deg)) scale(var(--composition-sticker-scale, 1));
}

.personal-slot--right-primary {
  top: var(--slot-top, 4px);
  right: var(--slot-right, -86px);
  bottom: var(--slot-bottom, auto);
  left: var(--slot-left, auto);
  z-index: var(--slot-z, 2);
  width: var(--slot-width, 282px);
  height: var(--slot-height, 318px);
  transform: rotate(var(--slot-rotate, 5deg)) scale(var(--composition-sticker-scale, 1));
}

.personal-slot--left-secondary {
  top: var(--slot-top, auto);
  right: var(--slot-right, auto);
  bottom: var(--slot-bottom, 210px);
  left: var(--slot-left, -88px);
  z-index: var(--slot-z, 3);
  width: var(--slot-width, 238px);
  height: var(--slot-height, 266px);
  transform: rotate(var(--slot-rotate, -8deg)) scale(var(--composition-sticker-scale, 1));
}

.personal-slot--right-secondary {
  top: var(--slot-top, auto);
  right: var(--slot-right, -88px);
  bottom: var(--slot-bottom, 210px);
  left: var(--slot-left, auto);
  z-index: var(--slot-z, 3);
  width: var(--slot-width, 238px);
  height: var(--slot-height, 266px);
  transform: rotate(var(--slot-rotate, 8deg)) scale(var(--composition-sticker-scale, 1));
}

.personal-group-scene {
  top: var(--slot-top, auto);
  right: var(--slot-right, auto);
  bottom: var(--slot-bottom, -88px);
  left: var(--slot-left, 50%);
  z-index: var(--slot-z, 5);
  width: var(--slot-width, 600px);
  height: var(--slot-height, 430px);
  transform: translateX(-50%) translateY(var(--composition-group-y, 0px)) rotate(var(--slot-rotate, 0deg)) scale(var(--composition-group-scale, 1));
}

.personal-scene--single .personal-group-scene {
  width: var(--slot-width, 520px);
  height: var(--slot-height, 372px);
}

.personal-scene--couple .personal-group-scene {
  width: var(--slot-width, 620px);
  height: var(--slot-height, 444px);
}

.personal-scene--family .personal-group-scene {
  bottom: var(--slot-bottom, -98px);
  width: var(--slot-width, 650px);
  height: var(--slot-height, 456px);
}

.personal-scene--group .personal-group-scene {
  bottom: var(--slot-bottom, -106px);
  width: var(--slot-width, 680px);
  height: var(--slot-height, 476px);
}

.personal-scene--family .personal-slot--left-primary,
.personal-scene--family .personal-slot--right-primary,
.personal-scene--group .personal-slot--left-primary,
.personal-scene--group .personal-slot--right-primary {
  top: var(--slot-top, 34px);
  width: var(--slot-width, 220px);
  height: var(--slot-height, 248px);
}


.personal-panel[data-composition="compact"] {
  margin-bottom: 165px;
}

.personal-scene[data-composition="compact"] {
  min-height: 650px;
  --composition-sticker-scale: 1.04;
  --composition-group-scale: 1.08;
  --composition-group-y: -42px;
}

.personal-scene[data-composition="compact"] .personal-copy {
  padding-bottom: 300px;
}

.signature {
  margin: 12px 0 0;
  color: var(--accent);
  font-family: "Marck Script", cursive;
  font-size: 46px !important;
  font-weight: 400 !important;
}

.dress-panel {
  display: grid;
  grid-template-columns: 180px 1fr 210px;
  gap: 16px;
  align-items: center;
  min-height: 118px;
  margin-bottom: 28px;
  overflow: visible;
  border-radius: 20px;
  padding: 10px 24px;
  text-align: center;
}

.dress-panel > div {
  position: relative;
  z-index: 2;
}

.detail-sticker {
  position: relative;
  z-index: 3;
  width: 244px;
  max-height: 205px;
  object-fit: contain;
}

.dress-panel {
  grid-template-columns: 142px 1fr 250px;
  min-height: 64px;
  padding: 4px 22px;
}

.dress-panel h2 {
  margin: 0 0 4px;
  font-family: "Amatic SC", "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.9;
  text-transform: uppercase;
}

.dress-panel p {
  margin: 0;
  font-size: 17px;
  line-height: 1.05;
  white-space: nowrap;
}

.dress-shoes {
  width: 132px;
  margin: -18px 0 -16px -8px;
}

.dress-dance {
  width: 372px;
  left: -50px;
  max-height: none;
  margin: -104px -74px -92px auto;
  transform: translateY(10px);
}

.gift-chinchilla,
.gift-envelope {
  position: absolute;
  z-index: 3;
  max-width: none;
  max-height: none;
  margin: 0;
  pointer-events: none;
}

.gift-chinchilla {
  left: -22px;
  bottom: -26px;
  width: 258px;
  transform: translateY(18%);
}

.gift-envelope {
  right: -18px;
  top: 50%;
  width: 224px;
  transform: translateY(-48%);
}

.locations {
  margin-bottom: 28px;
}

.location-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  gap: 8px;
  align-items: center;
}

.location-grid::before {
  position: absolute;
  top: 41%;
  left: calc(50% - 100px);
  width: 200px;
  height: 1px;
  content: "";
  border-top: 2px dashed rgba(142, 45, 48, 0.22);
}

.route-heart {
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--accent);
  background: var(--paper);
  font-size: 42px;
}

.location-card {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: transparent;
}

.location-map-sticker {
  width: 100%;
  max-width: none;
  margin: -18% 0;
  object-fit: contain;
  transform-origin: center;
  transition: transform 180ms ease, filter 180ms ease;
}

.location-card {
  cursor: pointer;
}

.location-card:hover .location-map-sticker,
.location-card:focus-within .location-map-sticker {
  filter: drop-shadow(0 12px 16px rgba(88, 52, 31, 0.16));
  transform: translateY(-4px) scale(1.035);
}

.location-card:active .location-map-sticker {
  transform: translateY(-1px) scale(1.018);
}

.map-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  font-size: 0;
}

.map-link:focus-visible {
  outline: 2px solid rgba(142, 45, 48, 0.56);
  outline-offset: -5px;
}

  .gifts-panel {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  min-height: 104px;
  padding: 14px 200px 14px;
  overflow: visible;
  border-radius: 20px;
  text-align: center;
}

  .gifts-panel > div {
  position: relative;
  z-index: 2;
}

  .gifts-panel h2 {
  margin: 0 0 4px;
  color: var(--accent);
  font-family: "Amatic SC", "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.9;
  text-transform: uppercase;
}

  .gifts-panel h2 span {
  margin-left: 4px;
  font-size: 0.85em;
  vertical-align: 0.05em;
}

  .gifts-panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.12;
}

.rsvp-panel {
  display: grid;
  justify-items: center;
  margin: 22px 0 14px;
}

.rsvp-open,
.rsvp-primary,
.rsvp-secondary,
.rsvp-back,
.rsvp-close {
  cursor: pointer;
  font-family: "Amatic SC", "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rsvp-open,
.rsvp-primary {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  color: #fff8ef;
  background: linear-gradient(180deg, #993642, var(--accent));
  box-shadow: 0 16px 26px rgba(142, 45, 48, 0.22);
}

.rsvp-open {
  width: min(440px, 100%);
  padding: 0 24px;
  font-size: 24px;
}

.rsvp-dialog[hidden],
.rsvp-step[hidden] {
  display: none !important;
}


.rsvp-panel:has(.rsvp-dialog:not([hidden])) {
  z-index: 1000;
}

.rsvp-panel:has(.rsvp-dialog:not([hidden])) .rsvp-dialog {
  z-index: 10000;
}

.rsvp-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.rsvp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(49, 42, 38, 0.36);
  backdrop-filter: blur(3px);
}

.rsvp-flow {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(142, 45, 48, 0.22);
  border-radius: 22px;
  padding: 30px;
  background: linear-gradient(180deg, #fff8ef, #f8ead8);
  box-shadow: 0 22px 70px rgba(70, 44, 30, 0.22);
}

.rsvp-close,
.rsvp-back {
  border: 0;
  background: transparent;
  color: var(--accent);
}

.rsvp-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  font-size: 32px;
  line-height: 1;
  pointer-events: auto;
  touch-action: manipulation;
}

.rsvp-back {
  margin: 0 0 10px;
  padding: 0;
  font-size: 18px;
}

.rsvp-step {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.rsvp-flow[data-state="accepted-form"] {
  overflow: visible;
}

.rsvp-step--accepted {
  position: relative;
  isolation: isolate;
}

.rsvp-step--accepted > :not(.rsvp-side-sticker) {
  position: relative;
  z-index: 2;
}

.rsvp-side-sticker {
  position: absolute;
  z-index: 1;
  width: 205px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 12px 14px rgba(70, 44, 30, 0.13));
}

.rsvp-side-sticker--left {
  top: 90px;
  left: -80px;
}

.rsvp-side-sticker--right {
  top: 90px;
  right: -80px;
  width: 225px;
}

.rsvp-step h2 {
  margin: 0;
  color: var(--accent);
  font-family: "Marck Script", cursive;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
}

.rsvp-step p {
  max-width: 500px;
  margin: 0;
  font-size: 19px;
  line-height: 1.28;
}

.rsvp-decor {
  width: min(260px, 72%);
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(70, 44, 30, 0.13));
}

.rsvp-flow[data-state="choice"] {
  overflow: visible;
  margin-top: 76px;
}

.rsvp-step--choice .rsvp-decor {
  width: min(430px, 92%);
  max-height: 310px;
  margin: -148px 0 -12px;
  transform: translateY(-8px);
}

.rsvp-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.rsvp-primary,
.rsvp-secondary {
  min-height: 54px;
  padding: 0 22px;
  font-size: 22px;
}

.rsvp-secondary {
  border: 1px solid rgba(142, 45, 48, 0.32);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 250, 242, 0.8);
}

.rsvp-step form,
.rsvp-field-plain {
  gap: 0 !important;
}
.rsvp-step label,
.rsvp-step fieldset {
  width: 100%;
}

.rsvp-step label,
.rsvp-step fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  text-align: left;
  font-weight: 600;
}

.rsvp-step fieldset {
  border: 0;
  padding: 0;
}

.rsvp-step legend {
  margin-bottom: 8px;
  color: var(--text);
  text-align: center;
  font-size: 18px;
}

.choice {
  min-height: 46px;
  display: flex !important;
  align-items: center;
  border: 1px solid rgba(142, 45, 48, 0.2);
  border-radius: 16px;
  padding: 10px 12px;
  background: #fffaf2;
}

.choice input {
  width: auto;
  margin: 0 9px 0 0;
}

.choice--with-note {
  align-items: flex-start;
  flex-wrap: wrap;
}

.choice--with-note input {
  margin-top: 3px;
}

.choice-note {
  flex-basis: 100%;
  max-height: 0;
  margin-left: 27px;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 180ms ease, margin-top 180ms ease, opacity 160ms ease, transform 180ms ease;
}

.choice--with-note:has(input:checked) {
  border-color: rgba(142, 45, 48, 0.32);
  background: #fff7ec;
}

.choice--with-note:has(input:checked) .choice-note {
  max-height: 72px;
  margin-top: 8px;
  opacity: 1;
  transform: translateY(0);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(142, 45, 48, 0.2);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--text);
  background: #fffaf2;
  font: inherit;
}

textarea {
  resize: vertical;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.rsvp-logistics {
  display: grid;
  gap: 12px;
  width: 100%;
}

.rsvp-note {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(142, 45, 48, 0.16);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 250, 242, 0.72);
  text-align: left;
}

.rsvp-note img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.rsvp-note h3 {
  margin: 0 0 4px;
  color: var(--accent);
  font-family: "Amatic SC", "Cormorant Garamond", serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.rsvp-note p {
  margin: 0;
  font-size: 16px;
}

.rsvp-note a {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 700;
}

.rsvp-flow[data-state="declined-form"] {
  overflow: visible;
}

.rsvp-step--declined {
  position: relative;
  isolation: isolate;
  gap: 10px;
}

.rsvp-step--declined h2 {
  max-width: 620px;
  font-size: clamp(48px, 5vw, 70px);
  line-height: 0.86;
}

.rsvp-step--declined > p {
  max-width: 590px;
  margin: -4px auto 2px;
}

.rsvp-declined-scene {
  position: relative;
  width: min(620px, 100%);
  height: 280px;
  margin: -2px auto -10px;
  overflow: visible;
  isolation: isolate;
}

.rsvp-declined-side,
.rsvp-declined-main {
  position: absolute;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 12px 14px rgba(70, 44, 30, 0.13));
}

.rsvp-declined-side {
  z-index: 1;
  width: 280px;
}

.rsvp-declined-side--left {
  top: 0;
  left: 8px;
  transform: rotate(-3deg);
}

.rsvp-declined-side--right {
  top: 4px;
  right: 34px;
  width: 292px;
  transform: rotate(3deg);
}

.rsvp-declined-main {
  z-index: 2;
  left: 50%;
  bottom: -34px;
  width: min(355px, 66%);
  max-height: 226px;
  transform: translateX(-50%);
}

.rsvp-step--declined textarea {
  min-height: 112px;
}

.rsvp-submit-declined {
  min-width: min(410px, 100%);
  border-color: rgba(160, 48, 57, 0.42);
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 10px 18px rgba(90, 52, 34, 0.09);
}

@media (prefers-reduced-motion: no-preference) {
  .rsvp-flow {
    animation: rsvp-in 180ms ease-out;
  }
}

@keyframes rsvp-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.footer {
  min-height: 220px;
  display: grid;
  grid-template-columns: 300px 1fr 260px;
  gap: 8px;
  align-items: end;
  text-align: center;
}

.footer img {
  width: 290px;
  max-width: none;
  max-height: 280px;
  object-fit: contain;
}

.footer-left {
  margin: 0 0 -14px -32px;
}

.footer-right {
  width: 250px !important;
  max-width: none;
  margin: 0 -16px 8px 0;
}

.footer-divider {
  color: var(--accent);
  font-size: 20px;
}

.footer p {
  margin: 0;
  color: var(--accent);
  font-family: "Marck Script", cursive;
  font-size: clamp(62px, 8vw, 96px);
  line-height: 0.95;
}

.footer span {
  color: var(--muted);
  font-size: 21px;
  font-weight: 600;
}





@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .location-map-sticker {
    transition: none;
  }
}

@media (max-width: 760px) {
  .invite-sheet {
    width: min(100% - 10px, 560px);
    padding: 10px 12px 26px;
    border-radius: 22px;
  }

  .hero {
    height: 470px;
    min-height: 0;
    display: block;
    padding: 0;
  }

  .hero-center {
    width: min(306px, 100%);
    margin: 0 auto;
    padding-top: 24px;
  }

  .hero-title-text {
    margin-bottom: 8px;
    font-size: clamp(58px, 15vw, 80px);
  }

  .title-amp {
    top: 37%;
    left: 54%;
  }

  .kicker {
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .hero-text {
    font-size: 16px;
  }

  .date-line {
    font-size: 14px;
  }

  .hero-sticker {
    position: absolute;
  }

  .hero-sticker-left {
    left: -16px;
    top: auto;
    bottom: 18px;
    width: 180px;
    margin: 0;
  }

  .hero-sticker-right {
    right: -12px;
    top: auto;
    bottom: 34px;
    width: 154px;
    margin: 0;
  }

  .hero-flower {
    width: 138px;
  }

  .hero-flower-left {
    left: -24px;
    top: auto;
    bottom: 18px;
    transform: scaleX(-1);
  }

  .hero-flower-right {
    right: -22px;
    top: auto;
    bottom: 32px;
    transform: none;
  }

  .story-panel,
  .personal-layout {
    grid-template-columns: 1fr;
  }

  .story-panel {
    min-height: auto;
    margin: 24px 0 44px;
    padding: 22px 18px 0;
    text-align: left;
  }

  .story-copy {
    width: auto;
    max-width: none;
  }

  .story-copy h2 {
    font-size: clamp(40px, 10.5vw, 46px);
  }

  .story-copy h2 span {
    font-size: 0.6em;
  }

  .story-copy p {
    max-width: none;
    font-size: 17px;
  }

  .story-art {
    position: relative;
    inset: auto;
    height: 248px;
    margin: 2px -12px -20px;
  }

  .story-main {
    right: 50%;
    bottom: -12px;
    width: 290px;
    transform: translateX(50%);
  }

  .story-flower-left {
    top: 104px;
    left: -2px;
    right: auto;
    bottom: auto;
    width: 66px;
  }

  .story-flower-right {
    top: 112px;
    right: -2px;
    bottom: auto;
    width: 64px;
    transform: scaleX(-1);
  }

  .program-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .program-grid::before,
  .program-heart {
    display: none;
  }

  .program-card {
    grid-template-columns: 108px 1fr;
    min-height: auto;
    gap: 12px;
    padding: 16px 14px;
  }

  .program-icon {
    width: 98px;
    height: 98px;
    max-width: none;
  }

  time {
    font-size: 44px;
  }

  .program-card h3,
  .location-card h3 {
    font-size: 26px;
  }

  .program-card p,
  .location-card p {
    font-size: 17px;
  }

  .program-detail {
    gap: 4px;
    padding-top: 9px;
  }

  .program-detail p {
    font-size: 15px;
    line-height: 1.22;
  }

  .personal-panel {
    margin: 10px 4px 150px;
    padding: 22px 14px 16px;
  }

  .personal-scene {
    display: grid;
    min-height: 0;
    grid-template-rows: auto 430px;
    overflow: visible;
  }

  .personal-copy {
    grid-row: 1;
    width: min(300px, 100%);
    padding: 0 0 14px;
  }

  .personal-copy::after {
    margin-top: 12px;
    font-size: 15px;
  }

  .personal-copy h2 {
    font-size: clamp(34px, 9vw, 46px);
  }

  .personal-copy p:not(.signature):not(.kicker) {
    font-size: 17px;
  }

  .personal-sticker-stage {
    position: relative;
    inset: auto;
    grid-row: 2;
    min-height: 430px;
    margin: 0 -18px;
  }

  .personal-slot--left-primary {
    top: var(--slot-mobile-top, -8px);
    right: var(--slot-mobile-right, auto);
    bottom: var(--slot-mobile-bottom, auto);
    left: var(--slot-mobile-left, -32px);
    z-index: var(--slot-mobile-z, var(--slot-z, 2));
    width: var(--slot-mobile-width, min(204px, 58vw));
    height: var(--slot-mobile-height, 230px);
    transform: rotate(var(--slot-mobile-rotate, var(--slot-rotate, -5deg))) scale(var(--composition-sticker-scale, 1));
  }

  .personal-slot--right-primary {
    top: var(--slot-mobile-top, -6px);
    right: var(--slot-mobile-right, -32px);
    bottom: var(--slot-mobile-bottom, auto);
    left: var(--slot-mobile-left, auto);
    z-index: var(--slot-mobile-z, var(--slot-z, 2));
    width: var(--slot-mobile-width, min(204px, 58vw));
    height: var(--slot-mobile-height, 230px);
    transform: rotate(var(--slot-mobile-rotate, var(--slot-rotate, 5deg))) scale(var(--composition-sticker-scale, 1));
  }

  .personal-slot--left-secondary {
    top: var(--slot-mobile-top, auto);
    right: var(--slot-mobile-right, auto);
    bottom: var(--slot-mobile-bottom, 126px);
    left: var(--slot-mobile-left, -32px);
    z-index: var(--slot-mobile-z, var(--slot-z, 3));
    width: var(--slot-mobile-width, min(176px, 50vw));
    height: var(--slot-mobile-height, 198px);
    transform: rotate(var(--slot-mobile-rotate, var(--slot-rotate, -8deg))) scale(var(--composition-sticker-scale, 1));
  }

  .personal-slot--right-secondary {
    top: var(--slot-mobile-top, auto);
    right: var(--slot-mobile-right, -32px);
    bottom: var(--slot-mobile-bottom, 126px);
    left: var(--slot-mobile-left, auto);
    z-index: var(--slot-mobile-z, var(--slot-z, 3));
    width: var(--slot-mobile-width, min(176px, 50vw));
    height: var(--slot-mobile-height, 198px);
    transform: rotate(var(--slot-mobile-rotate, var(--slot-rotate, 8deg))) scale(var(--composition-sticker-scale, 1));
  }

  .personal-group-scene {
    top: var(--slot-mobile-top, auto);
    right: var(--slot-mobile-right, auto);
    bottom: var(--slot-mobile-bottom, -48px);
    left: var(--slot-mobile-left, var(--slot-left, 50%));
    z-index: var(--slot-mobile-z, var(--slot-z, 5));
    width: var(--slot-mobile-width, min(430px, 118vw));
    height: var(--slot-mobile-height, 304px);
    transform: translateX(-50%) translateY(var(--composition-group-y, 0px)) rotate(var(--slot-mobile-rotate, var(--slot-rotate, 0deg))) scale(var(--composition-group-scale, 1));
  }

  .personal-scene--single .personal-group-scene {
    width: var(--slot-mobile-width, min(390px, 108vw));
    height: var(--slot-mobile-height, 276px);
  }

  .personal-scene--couple .personal-group-scene {
    width: var(--slot-mobile-width, min(440px, 120vw));
    height: var(--slot-mobile-height, 312px);
  }

  .personal-scene--family .personal-group-scene,
  .personal-scene--group .personal-group-scene {
    bottom: var(--slot-mobile-bottom, -54px);
    width: var(--slot-mobile-width, min(460px, 124vw));
    height: var(--slot-mobile-height, 324px);
  }


  .personal-panel[data-composition="compact"] {
    margin-bottom: 120px;
  }

  .personal-scene[data-composition="compact"] {
    grid-template-rows: auto 375px;
    --composition-sticker-scale: 1.03;
    --composition-group-scale: 1.06;
    --composition-group-y: -26px;
  }

  .personal-scene[data-composition="compact"] .personal-sticker-stage {
    min-height: 375px;
  }

  .personal-slot-placeholder {
    border-radius: 14px;
    padding: 10px;
    font-size: 18px;
  }

  .dress-panel {
    grid-template-columns: 88px minmax(0, 1fr) 88px;
    gap: 8px;
    min-height: 104px;
    padding: 12px 10px;
  }
.gifts-panel {
    min-height: 132px;
    padding: 18px 96px 18px;
  }

  .dress-panel h2,
  .gifts-panel h2 {
    margin-bottom: 4px;
    font-size: 24px;
  }

  .dress-panel p,
  .gifts-panel p {
    font-size: 15px;
    line-height: 1.24;
  }

  .detail-sticker {
    width: 112px;
    max-height: 112px;
  }

  .dress-shoes {
    margin: -4px auto -6px -8px;
  }

  .gift-chinchilla {
    left: -18px;
    bottom: -16px;
    width: 148px;
    transform: translateY(34%);
  }

  .dress-dance {
    width: 124px;
    margin: -18px -16px -18px auto;
  }

  .gift-envelope {
    right: -14px;
    width: 136px;
    transform: translateY(-46%);
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .location-grid::before,
  .route-heart {
    display: none;
  }

  .location-map-sticker {
    margin: -14% 0;
  }

  .rsvp-dialog {
    align-items: end;
    padding: 0;
  }

  .rsvp-flow {
    width: 100%;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    padding: 26px 16px 20px;
  }

  .rsvp-flow[data-state="choice"] {
    margin-top: 54px;
  }

  .rsvp-step--choice .rsvp-decor {
    width: min(350px, 94%);
    max-height: 250px;
    margin: -112px 0 -8px;
    transform: translateY(-6px);
  }

  .rsvp-actions {
    grid-template-columns: 1fr;
  }

  .rsvp-side-sticker {
    width: 126px;
    opacity: 0.94;
  }

  .rsvp-side-sticker--left {
    top: 198px;
    left: -42px;
  }

  .rsvp-side-sticker--right {
    top: 192px;
    right: -44px;
    width: 136px;
  }

  .rsvp-step--declined {
    gap: 9px;
  }

  .rsvp-step--declined h2 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: 0.9;
  }

  .rsvp-step--declined > p {
    margin: -2px auto 0;
  }

  .rsvp-declined-scene {
    width: 100%;
    height: 190px;
    margin: -2px auto -8px;
  }

  .rsvp-declined-side {
    width: 166px;
    opacity: 0.96;
  }

  .rsvp-declined-side--left {
    top: 4px;
    left: -18px;
  }

  .rsvp-declined-side--right {
    top: 8px;
    right: -6px;
    width: 174px;
  }

  .rsvp-declined-main {
    bottom: -20px;
    width: min(228px, 64%);
    max-height: 158px;
  }

  .rsvp-step--declined textarea {
    min-height: 104px;
  }

  .rsvp-submit-declined {
    min-width: 0;
  }

  .rsvp-note {
    grid-template-columns: 56px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .rsvp-note img {
    width: 50px;
    height: 50px;
  }

  .footer {
    min-height: 168px;
    grid-template-columns: 118px 1fr 108px;
    gap: 0;
    align-items: end;
  }

  .footer img {
    width: 136px;
    max-width: none;
    max-height: 156px;
  }

  .footer-left {
    margin: 0 0 -6px -20px;
  }

  .footer-right {
    width: 120px !important;
    max-width: none;
    margin: 0 -10px 6px 0;
  }

  .footer p {
    font-size: clamp(48px, 15vw, 68px);
  }

  .footer span {
    font-size: 15px;
  }
}

@media (max-width: 390px) {
  .invite-sheet {
    padding-inline: 10px;
  }

  .hero {
    height: 470px;
    min-height: 0;
  }

  .hero-sticker-left {
    width: 168px;
    left: -16px;
    top: auto;
    bottom: 18px;
  }

  .hero-sticker-right {
    width: 144px;
    right: -12px;
    top: auto;
    bottom: 34px;
  }

  .program-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .program-icon {
    margin: 0 auto;
  }
}

/* Poster refinement pass */
.invite-sheet::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  opacity: 0.06;
  background-image:
    radial-gradient(rgba(106, 76, 52, 0.14) 0.65px, transparent 0.65px),
    radial-gradient(rgba(142, 45, 48, 0.06) 0.48px, transparent 0.48px);
  background-size: 12px 12px, 21px 21px;
  mix-blend-mode: multiply;
}

.invite-sheet > * {
  position: relative;
  z-index: 1;
}

.hero::before,
.hero::after {
  display: none;
}


.hero-center .divider b {
  font-size: 24px;
  line-height: 1;
}

.program-flower {
  position: absolute;
  z-index: 3;
  width: 118px;
  bottom: -34px;
}

.program-flower-left {
  top: -34px;
  bottom: auto;
  left: -34px;
}

.program-flower-right {
  right: -34px;
  transform: scaleX(-1);
}

.location-card,
.choice,
input,
textarea {
  border-radius: 14px;
}

.personal-panel {
  border-radius: 18px;
}

@media (max-width: 760px) {
  .mini-divider {
    top: -4px;
    width: 72px;
  }

  .program-flower {
    width: 86px;
    bottom: -20px;
  }

  .program-flower-left {
    top: -16px;
    bottom: auto;
    left: -12px;
  }

  .program-flower-right {
    right: -12px;
  }

  .story-copy p {
    font-weight: 400;
  }
}













/* Mobile layout refinement pass */
@media (max-width: 760px) {
  .invite-sheet {
    overflow-x: clip;
  }

  .personal-panel {
    margin: 12px 0 54px;
    padding: 20px 12px 12px;
    transform: none;
  }

  .personal-scene,
  .personal-scene[data-composition="compact"] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    grid-template-rows: none;
    --composition-sticker-scale: 0.9;
    --composition-group-scale: 0.92;
    --composition-group-y: 0px;
  }

  .personal-copy,
  .personal-scene[data-composition="compact"] .personal-copy {
    width: min(315px, 100%);
    padding: 0 4px 12px;
  }

  .personal-panel .kicker {
    min-height: 0;
    font-size: 12px;
    line-height: 1.08;
  }

  .personal-copy h2 {
    font-size: clamp(32px, 8.5vw, 42px);
    line-height: 1;
  }

  .personal-copy p:not(.signature):not(.kicker) {
    font-size: 16px;
    line-height: 1.24;
  }

  .signature {
    font-size: 36px !important;
  }

  .personal-sticker-stage,
  .personal-scene[data-composition="compact"] .personal-sticker-stage {
    position: relative;
    width: 100%;
    min-height: 300px;
    height: 300px;
    margin: 0;
    overflow: visible;
  }

  .personal-slot--left-primary,
  .personal-slot--right-primary,
  .personal-slot--left-secondary,
  .personal-slot--right-secondary {
    width: min(160px, 45vw);
    height: 180px;
  }

  .personal-slot--left-primary {
    top: var(--slot-mobile-top, 0px);
    left: var(--slot-mobile-left, -18px);
  }

  .personal-slot--right-primary {
    top: var(--slot-mobile-top, 0px);
    right: var(--slot-mobile-right, -18px);
  }

  .personal-slot--left-secondary {
    bottom: var(--slot-mobile-bottom, 62px);
    left: var(--slot-mobile-left, -18px);
    width: min(138px, 39vw);
    height: 156px;
  }

  .personal-slot--right-secondary {
    bottom: var(--slot-mobile-bottom, 62px);
    right: var(--slot-mobile-right, -18px);
    width: min(138px, 39vw);
    height: 156px;
  }

  .personal-group-scene,
  .personal-scene--single .personal-group-scene,
  .personal-scene--couple .personal-group-scene,
  .personal-scene--family .personal-group-scene,
  .personal-scene--group .personal-group-scene {
    position: relative;
    inset: auto;
    align-self: center;
    width: min(390px, 108vw);
    height: 278px;
    margin: -42px auto -18px;
    transform: none;
  }

  .dress-panel {
    grid-template-columns: 78px minmax(0, 1fr) 78px;
    gap: 6px;
    min-height: 118px;
    padding: 12px 10px;
    overflow: hidden;
  }

  .dress-panel > div {
    min-width: 0;
  }

  .dress-panel h2 {
    font-size: 23px;
    line-height: 0.95;
  }

  .dress-panel p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.2;
    white-space: normal;
  }

  .dress-shoes {
    width: 82px;
    margin: 0 auto;
  }

  .dress-dance {
    left: auto;
    width: 92px;
    margin: 0 auto;
    transform: none;
  }

  .gifts-panel {
    min-height: 360px;
    padding: 22px 22px 84px;
    overflow: hidden;
  }

  .gifts-panel > div {
    width: min(270px, 100%);
    margin: 0 auto;
  }

  .gifts-panel h2 {
    font-size: 27px;
    line-height: 0.92;
  }

  .gifts-panel p {
    font-size: 17px;
    line-height: 1.2;
  }

  .gift-chinchilla {
    left: 8px;
    bottom: -3px;
    width: 118px;
    transform: none;
  }

  .gift-envelope {
    top: 48%;
    right: 14px;
    width: 116px;
    transform: translateY(-50%);
  }

  .rsvp-panel {
    margin-top: 18px;
  }

  .rsvp-open {
    width: min(100%, 420px);
    min-height: 60px;
    padding: 0 18px;
    font-size: clamp(21px, 6.1vw, 27px);
    letter-spacing: 0.07em;
  }

  .footer {
    min-height: 265px;
    grid-template-columns: 96px minmax(0, 1fr) 86px;
    align-items: end;
    overflow: hidden;
  }

  .footer-left {
    width: 126px !important;
    margin: 0 0 6px -14px;
  }

  .footer-right {
    width: 104px !important;
    margin: 0 -4px 12px 0;
  }

  .footer p {
    font-size: clamp(52px, 16vw, 68px);
    line-height: 0.9;
  }
}

@media (max-width: 390px) {
  .personal-slot--left-primary,
  .personal-slot--right-primary {
    width: 148px;
    height: 166px;
  }

  .personal-slot--left-secondary,
  .personal-slot--right-secondary {
    width: 126px;
    height: 142px;
  }

  .personal-group-scene,
  .personal-scene--couple .personal-group-scene,
  .personal-scene--family .personal-group-scene,
  .personal-scene--group .personal-group-scene {
    width: min(360px, 110vw);
    height: 256px;
  }

  .gift-envelope {
    right: 8px;
    width: 104px;
  }

  .gift-chinchilla {
    width: 108px;
  }
}
/* Mobile refinement follow-up: keep personal copy first and prevent sticker spill */
@media (max-width: 760px) {
  .personal-copy {
    order: 1;
  }

  .personal-sticker-stage {
    order: 2;
  }

  .personal-group-scene {
    order: 3;
  }

  .personal-sticker-stage,
  .personal-scene[data-composition="compact"] .personal-sticker-stage {
    min-height: 270px;
    height: 270px;
  }

  .personal-slot--left-primary,
  .personal-slot--right-primary {
    width: min(148px, 41vw);
    height: 166px;
  }

  .personal-slot--left-secondary,
  .personal-slot--right-secondary {
    width: min(126px, 35vw);
    height: 142px;
    bottom: var(--slot-mobile-bottom, 54px);
  }

  .personal-group-scene,
  .personal-scene--single .personal-group-scene,
  .personal-scene--couple .personal-group-scene,
  .personal-scene--family .personal-group-scene,
  .personal-scene--group .personal-group-scene {
    width: min(330px, 94vw);
    height: 236px;
    margin: -34px auto -8px;
  }
}

@media (max-width: 390px) {
  .personal-sticker-stage,
  .personal-scene[data-composition="compact"] .personal-sticker-stage {
    min-height: 250px;
    height: 250px;
  }

  .personal-group-scene,
  .personal-scene--couple .personal-group-scene,
  .personal-scene--family .personal-group-scene,
  .personal-scene--group .personal-group-scene {
    width: min(318px, 92vw);
    height: 226px;
  }
}
/* Mobile hard caps for per-guest custom sticker placement */
@media (max-width: 760px) {
  .personal-slot--left-primary,
  .personal-slot--right-primary {
    width: min(148px, 41vw) !important;
    height: 166px !important;
  }

  .personal-slot--left-secondary,
  .personal-slot--right-secondary {
    width: min(126px, 35vw) !important;
    height: 142px !important;
  }

  .personal-group-scene,
  .personal-scene--single .personal-group-scene,
  .personal-scene--couple .personal-group-scene,
  .personal-scene--family .personal-group-scene,
  .personal-scene--group .personal-group-scene {
    width: min(318px, 92vw) !important;
    height: 226px !important;
  }
}
/* Mobile hard caps for per-guest side sticker offsets */
@media (max-width: 760px) {
  .personal-slot--left-primary {
    top: 0 !important;
    left: 6px !important;
    right: auto !important;
  }

  .personal-slot--right-primary {
    top: 0 !important;
    right: 6px !important;
    left: auto !important;
  }

  .personal-slot--left-secondary {
    left: 10px !important;
    right: auto !important;
    bottom: 46px !important;
  }

  .personal-slot--right-secondary {
    right: 10px !important;
    left: auto !important;
    bottom: 46px !important;
  }
}
/* Mobile gifts sticker balance */
@media (max-width: 760px) {
  .gift-envelope {
    top: 60% !important;
    right: 18px !important;
    width: 92px !important;
  }
}
/* Mobile gifts diagonal composition */
@media (max-width: 760px) {
  .gifts-panel {
    min-height: 390px;
    padding: 118px 22px 88px;
  }

  .gift-envelope {
    top: 42px !important;
    right: 34px !important;
    width: 108px !important;
    transform: rotate(2deg) !important;
  }

  .gift-chinchilla {
    left: 18px !important;
    bottom: 24px !important;
    width: 122px !important;
    transform: none !important;
  }
}

@media (max-width: 390px) {
  .gift-envelope {
    top: 40px !important;
    right: 26px !important;
    width: 100px !important;
  }

  .gift-chinchilla {
    left: 16px !important;
    bottom: 22px !important;
    width: 116px !important;
  }
}
/* Mobile gifts diagonal composition fine tune */
@media (max-width: 760px) {
  .gift-envelope {
    top: 20px !important;
    right: 34px !important;
    width: 96px !important;
  }
}

@media (max-width: 390px) {
  .gift-envelope {
    top: 18px !important;
    right: 28px !important;
    width: 92px !important;
  }
}
/* Mobile gifts final corner placement */
@media (max-width: 760px) {
  .gifts-panel {
    min-height: 430px;
    padding: 116px 22px 138px !important;
  }

  .gifts-panel > div {
    position: relative;
    z-index: 4;
  }

  .gift-envelope {
    top: 18px !important;
    right: 18px !important;
    width: 96px !important;
    z-index: 3 !important;
    transform: rotate(2deg) !important;
  }

  .gift-chinchilla {
    left: 18px !important;
    bottom: 24px !important;
    width: 118px !important;
    z-index: 3 !important;
    transform: none !important;
  }
}

@media (max-width: 390px) {
  .gifts-panel {
    min-height: 430px;
    padding: 112px 20px 136px !important;
  }

  .gift-envelope {
    top: 16px !important;
    right: 16px !important;
    width: 92px !important;
  }

  .gift-chinchilla {
    left: 16px !important;
    bottom: 24px !important;
    width: 114px !important;
  }
}
/* Mobile gifts final micro-positioning */
@media (max-width: 760px) {
  .gifts-panel {
    min-height: 400px;
    padding: 96px 22px 116px !important;
  }

  .gift-envelope {
    top: 8px !important;
    right: 6px !important;
    width: 94px !important;
    transform: rotate(2deg) !important;
  }

  .gift-chinchilla {
    left: 6px !important;
    bottom: 10px !important;
    width: 116px !important;
  }
}

@media (max-width: 390px) {
  .gifts-panel {
    min-height: 396px;
    padding: 92px 20px 112px !important;
  }

  .gift-envelope {
    top: 6px !important;
    right: 4px !important;
    width: 90px !important;
  }

  .gift-chinchilla {
    left: 4px !important;
    bottom: 8px !important;
    width: 112px !important;
  }
}
/* Mobile footer balance */
@media (max-width: 760px) {
  .footer {
    grid-template-columns: 102px minmax(0, 1fr) 94px;
    min-height: 238px;
    padding-top: 8px;
  }

  .footer > div {
    transform: translateX(10px);
  }

  .footer-left {
    width: 118px !important;
    margin: 0 0 12px -8px;
  }

  .footer-right {
    width: 92px !important;
    margin: 0 2px 22px 0;
  }

  .footer p {
    font-size: clamp(44px, 13.8vw, 58px);
    line-height: 0.92;
  }

  .footer-divider {
    font-size: 18px;
    transform: translateX(2px);
  }
}

@media (max-width: 390px) {
  .footer {
    grid-template-columns: 98px minmax(0, 1fr) 88px;
  }

  .footer > div {
    transform: translateX(8px);
  }

  .footer p {
    font-size: clamp(42px, 13.2vw, 54px);
  }

  .footer-right {
    width: 88px !important;
    margin-right: 0;
  }
}
/* Mobile footer final spacing */
@media (max-width: 760px) {
  .footer {
    grid-template-columns: 110px minmax(0, 1fr) 82px;
    min-height: 224px;
  }

  .footer > div {
    transform: translateX(14px);
  }

  .footer-left {
    width: 112px !important;
    margin: 0 0 12px -12px;
  }

  .footer-right {
    width: 78px !important;
    margin: 0 -2px 24px 0;
  }

  .footer p {
    font-size: clamp(38px, 12vw, 50px);
    line-height: 0.94;
  }

  .footer-divider {
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .footer {
    grid-template-columns: 106px minmax(0, 1fr) 76px;
  }

  .footer > div {
    transform: translateX(12px);
  }

  .footer p {
    font-size: clamp(37px, 11.8vw, 48px);
  }

  .footer-right {
    width: 76px !important;
    margin-right: -2px;
  }
}
/* Mobile footer center restore and dinner flower placement */
@media (max-width: 760px) {
  .footer > div {
    transform: none !important;
  }

  .program-card:nth-of-type(2) .program-flower-right {
    top: -16px !important;
    right: auto !important;
    bottom: auto !important;
    left: -12px !important;
    transform: none !important;
  }
}

@media (max-width: 390px) {
  .footer > div {
    transform: none !important;
  }
}
/* Mobile personal block composition tightening */
@media (max-width: 760px) {
  .personal-panel {
    margin-bottom: 42px !important;
  }

  .personal-scene,
  .personal-scene[data-composition="compact"] {
    min-height: 0 !important;
  }

  .personal-copy,
  .personal-scene[data-composition="compact"] .personal-copy {
    padding-bottom: 8px !important;
  }

  .personal-sticker-stage,
  .personal-scene[data-composition="compact"] .personal-sticker-stage {
    height: 232px !important;
    min-height: 232px !important;
    margin-top: -4px !important;
  }

  .personal-slot--left-primary,
  .personal-slot--right-primary {
    top: -12px !important;
    width: min(166px, 46vw) !important;
    height: 188px !important;
  }

  .personal-slot--left-primary {
    left: -4px !important;
  }

  .personal-slot--right-primary {
    right: -4px !important;
  }

  .personal-slot--left-secondary,
  .personal-slot--right-secondary {
    width: min(142px, 39vw) !important;
    height: 160px !important;
    bottom: 28px !important;
  }

  .personal-slot--left-secondary {
    left: -2px !important;
  }

  .personal-slot--right-secondary {
    right: -2px !important;
  }

  .personal-group-scene,
  .personal-scene--single .personal-group-scene,
  .personal-scene--couple .personal-group-scene,
  .personal-scene--family .personal-group-scene,
  .personal-scene--group .personal-group-scene {
    width: min(334px, 94vw) !important;
    height: 238px !important;
    margin: -50px auto -6px !important;
  }
}

@media (max-width: 390px) {
  .personal-sticker-stage,
  .personal-scene[data-composition="compact"] .personal-sticker-stage {
    height: 224px !important;
    min-height: 224px !important;
  }

  .personal-slot--left-primary,
  .personal-slot--right-primary {
    width: min(158px, 44vw) !important;
    height: 178px !important;
  }

  .personal-slot--left-secondary,
  .personal-slot--rightSecondary,
  .personal-slot--right-secondary {
    width: min(136px, 38vw) !important;
    height: 152px !important;
  }

  .personal-group-scene,
  .personal-scene--single .personal-group-scene,
  .personal-scene--couple .personal-group-scene,
  .personal-scene--family .personal-group-scene,
  .personal-scene--group .personal-group-scene {
    width: min(322px, 93vw) !important;
    height: 230px !important;
    margin-top: -48px !important;
  }
}
/* Mobile personal block micro balance */
@media (max-width: 760px) {
  .personal-slot--left-primary {
    left: -8px !important;
  }

  .personal-slot--right-primary {
    right: -8px !important;
  }

  .personal-slot--left-secondary {
    left: -10px !important;
    bottom: 12px !important;
    width: min(136px, 37vw) !important;
    height: 154px !important;
  }

  .personal-slot--right-secondary {
    right: -10px !important;
    bottom: 12px !important;
    width: min(136px, 37vw) !important;
    height: 154px !important;
  }

  .personal-group-scene,
  .personal-scene--single .personal-group-scene,
  .personal-scene--couple .personal-group-scene,
  .personal-scene--family .personal-group-scene,
  .personal-scene--group .personal-group-scene {
    margin-top: -58px !important;
  }
}

@media (max-width: 390px) {
  .personal-slot--left-primary {
    left: -8px !important;
  }

  .personal-slot--right-primary {
    right: -8px !important;
  }

  .personal-slot--left-secondary {
    left: -10px !important;
    bottom: 10px !important;
  }

  .personal-slot--right-secondary {
    right: -10px !important;
    bottom: 10px !important;
  }
}
/* Mobile personal block: primary stickers under signature */
@media (max-width: 760px) {
  .personal-sticker-stage,
  .personal-scene[data-composition="compact"] .personal-sticker-stage {
    height: 270px !important;
    min-height: 270px !important;
    margin-top: -8px !important;
  }

  .personal-slot--left-primary,
  .personal-slot--right-primary {
    top: -24px !important;
    width: min(166px, 45vw) !important;
    height: 188px !important;
  }

  .personal-slot--left-primary {
    left: -22px !important;
    transform: rotate(-6deg) scale(var(--composition-sticker-scale, 1)) !important;
  }

  .personal-slot--right-primary {
    right: -22px !important;
    transform: rotate(6deg) scale(var(--composition-sticker-scale, 1)) !important;
  }

  .personal-slot--left-secondary,
  .personal-slot--right-secondary {
    bottom: 22px !important;
    width: min(130px, 36vw) !important;
    height: 146px !important;
  }

  .personal-slot--left-secondary {
    left: -20px !important;
  }

  .personal-slot--right-secondary {
    right: -20px !important;
  }

  .personal-group-scene,
  .personal-scene--single .personal-group-scene,
  .personal-scene--couple .personal-group-scene,
  .personal-scene--family .personal-group-scene,
  .personal-scene--group .personal-group-scene {
    width: min(320px, 92vw) !important;
    height: 228px !important;
    margin: -44px auto -4px !important;
  }
}

@media (max-width: 390px) {
  .personal-sticker-stage,
  .personal-scene[data-composition="compact"] .personal-sticker-stage {
    height: 260px !important;
    min-height: 260px !important;
  }

  .personal-slot--left-primary,
  .personal-slot--right-primary {
    top: -22px !important;
    width: min(160px, 44vw) !important;
    height: 180px !important;
  }

  .personal-slot--left-primary {
    left: -22px !important;
  }

  .personal-slot--right-primary {
    right: -22px !important;
  }

  .personal-slot--left-secondary,
  .personal-slot--right-secondary {
    bottom: 20px !important;
    width: min(124px, 34vw) !important;
    height: 140px !important;
  }

  .personal-slot--leftSecondary,
  .personal-slot--left-secondary {
    left: -18px !important;
  }

  .personal-slot--right-secondary {
    right: -18px !important;
  }
}
/* Mobile personal block final nudge */
@media (max-width: 760px) {
  .personal-slot--left-primary,
  .personal-slot--right-primary {
    top: -44px !important;
  }

  .personal-slot--left-secondary,
  .personal-slot--right-secondary {
    width: min(142px, 39vw) !important;
    height: 160px !important;
  }
}

@media (max-width: 390px) {
  .personal-slot--left-primary,
  .personal-slot--right-primary {
    top: -42px !important;
  }

  .personal-slot--left-secondary,
  .personal-slot--right-secondary {
    width: min(136px, 37vw) !important;
    height: 154px !important;
  }
}
/* Mobile hero composition: closer stickers and floral base */
@media (max-width: 760px) {
  .hero {
    height: 390px !important;
  }

  .hero-sticker-left {
    left: 8px !important;
    bottom: 46px !important;
    width: 164px !important;
  }

  .hero-sticker-right {
    right: 10px !important;
    bottom: 58px !important;
    width: 148px !important;
  }

  .hero-flower {
    width: 142px !important;
    z-index: 2;
  }

  .hero-flower-left {
    left: -6px !important;
    bottom: 18px !important;
    transform: scaleX(-1) rotate(-5deg) !important;
  }

  .hero-flower-right {
    right: -6px !important;
    bottom: 22px !important;
    transform: rotate(5deg) !important;
  }
}

@media (max-width: 390px) {
  .hero {
    height: 382px !important;
  }

  .hero-sticker-left {
    left: 4px !important;
    bottom: 44px !important;
    width: 156px !important;
  }

  .hero-sticker-right {
    right: 6px !important;
    bottom: 56px !important;
    width: 140px !important;
  }

  .hero-flower {
    width: 134px !important;
  }

  .hero-flower-left {
    left: -8px !important;
    bottom: 16px !important;
  }

  .hero-flower-right {
    right: -8px !important;
    bottom: 20px !important;
  }
}
/* Mobile hero final readability balance */
@media (max-width: 760px) {
  .date-line {
    position: relative;
    z-index: 7;
    margin-top: 4px;
  }

  .hero-sticker-left {
    bottom: 36px !important;
  }

  .hero-sticker-right {
    bottom: 44px !important;
  }

  .hero-flower-left {
    bottom: 12px !important;
  }

  .hero-flower-right {
    bottom: 14px !important;
  }
}

@media (max-width: 390px) {
  .hero-sticker-left {
    bottom: 34px !important;
  }

  .hero-sticker-right {
    bottom: 42px !important;
  }

  .hero-flower-left {
    bottom: 10px !important;
  }

  .hero-flower-right {
    bottom: 12px !important;
  }
}
/* Mobile hero final layer separation */
@media (max-width: 760px) {
  .hero-sticker-left {
    left: -4px !important;
    bottom: 54px !important;
    width: 160px !important;
  }

  .hero-sticker-right {
    right: -2px !important;
    bottom: 62px !important;
    width: 144px !important;
  }

  .hero-flower-left {
    left: -20px !important;
    bottom: -2px !important;
    width: 150px !important;
    transform: scaleX(-1) rotate(-7deg) !important;
  }

  .hero-flower-right {
    right: -20px !important;
    bottom: 0 !important;
    width: 150px !important;
    transform: rotate(7deg) !important;
  }
}

@media (max-width: 390px) {
  .hero-sticker-left {
    left: -6px !important;
    bottom: 52px !important;
    width: 154px !important;
  }

  .hero-sticker-right {
    right: -4px !important;
    bottom: 60px !important;
    width: 138px !important;
  }

  .hero-flower-left {
    left: -22px !important;
    bottom: -4px !important;
    width: 142px !important;
  }

  .hero-flower-right {
    right: -22px !important;
    bottom: -2px !important;
    width: 142px !important;
  }
}
/* Mobile hero flower baseline correction */
@media (max-width: 760px) {
  .hero-flower-left {
    bottom: 10px !important;
  }

  .hero-flower-right {
    bottom: 12px !important;
  }
}

@media (max-width: 390px) {
  .hero-flower-left {
    bottom: 8px !important;
  }

  .hero-flower-right {
    bottom: 10px !important;
  }
}
/* Mobile hero: floral title arch */
@media (max-width: 760px) {
  .hero {
    height: 350px !important;
  }

  .hero-flower {
    width: 112px !important;
    z-index: 4 !important;
    opacity: 0.96;
  }

  .hero-flower-left {
    top: 76px !important;
    bottom: auto !important;
    left: -14px !important;
    transform: scaleX(-1) rotate(-12deg) !important;
  }

  .hero-flower-right {
    top: 78px !important;
    right: -14px !important;
    bottom: auto !important;
    transform: rotate(12deg) !important;
  }

  .hero-sticker-left {
    left: -4px !important;
    bottom: 28px !important;
  }

  .hero-sticker-right {
    right: -2px !important;
    bottom: 36px !important;
  }

  .story-panel {
    margin-top: 12px !important;
  }
}

@media (max-width: 390px) {
  .hero {
    height: 342px !important;
  }

  .hero-flower {
    width: 104px !important;
  }

  .hero-flower-left {
    top: 74px !important;
    left: -16px !important;
  }

  .hero-flower-right {
    top: 76px !important;
    right: -16px !important;
  }

  .hero-sticker-left {
    bottom: 26px !important;
  }

  .hero-sticker-right {
    bottom: 34px !important;
  }
}
/* Mobile hero floral arch fine tune */
@media (max-width: 760px) {
  .hero-flower {
    width: 96px !important;
    z-index: 3 !important;
  }

  .hero-flower-left {
    top: 30px !important;
    left: -10px !important;
    bottom: auto !important;
    transform: scaleX(-1) rotate(-14deg) !important;
  }

  .hero-flower-right {
    top: 32px !important;
    right: -10px !important;
    bottom: auto !important;
    transform: rotate(14deg) !important;
  }
}

@media (max-width: 390px) {
  .hero-flower {
    width: 92px !important;
  }

  .hero-flower-left {
    top: 30px !important;
    left: -12px !important;
  }

  .hero-flower-right {
    top: 32px !important;
    right: -12px !important;
  }
}