:root { color-scheme: light; --pink: #efa1b0; --deep-pink: #b65278; --pink-ink: #89405d; }
body { background: #fffdfb; color: #735c5c; }
.content { position: relative; display: block; width: 100%; max-width: none; margin: 0; padding: 0; font-family: Georgia, serif; outline: none; background: #fffdfb url("./textura-papel.png") center / 460px repeat; background-blend-mode: multiply; }
.content > .paper { width: 100%; margin: 0; }
.letter-heading { position: relative; height: clamp(540px, 88svh, 900px); overflow: hidden; text-align: center; }
.portrait-scene {
  position: absolute;
  inset: 0;
  mask-image: linear-gradient(to bottom, #000 0%, #000 84%, #000e 88%, #0009 93%, #0003 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 84%, #000e 88%, #0009 93%, #0003 97%, transparent 100%);
}
.quince-portrait { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 63%; }
.portrait-caption { position: absolute; inset: 24px auto auto 24px; width: min(48%, 600px); padding: 24px; z-index: 2; }
.quince-eyebrow { font-family: Montserrat, sans-serif; font-size: 10px; text-transform: uppercase; color: #fff2d7; }
.content .celebrant { max-width: 680px; margin: 8px auto 0; font-size: 68px; color: #ffe7a5; text-shadow: 0 2px 10px #182a20; line-height: 1.2; overflow-wrap: normal; }
.content .script-title { margin: 0 0 18px; font-family: "Great Vibes", cursive; font-size: 36px; font-weight: 400; line-height: 1.15; color: var(--deep-pink); letter-spacing: 0; text-shadow: none; text-transform: none; }
.content .quince-title { margin: 0; font-size: 36px; color: #fff2c9; }
.hero-guest { max-width: 440px; margin: 14px auto 0; color: #fff6e8; font: 12px/1.6 Montserrat, sans-serif; text-shadow: 0 1px 5px #000; overflow-wrap: anywhere; }
.letter-block { position: relative; padding: 42px 24px; text-align: center; }
.letter-block p { max-width: 560px; margin: 0 auto 18px; font-size: 14px; line-height: 1.8; }
.letter-block p:last-child { margin-bottom: 0; }
.letter-block .small-label { font-size: 10px; text-transform: uppercase; margin-top: 24px; }
.family-names { font-family: "Great Vibes", cursive; font-size: 29px !important; }
.guest-dedication { padding-bottom: 28px; }
.letter-block .guest-name { font: 32px "Great Vibes", cursive; color: #89405d; overflow-wrap: anywhere; }
.letter-block .guest-seats { font-size: 12px; }
.guest-count-field { display: grid; gap: 9px; }
.guest-count-field label { font-family: Georgia, serif; font-size: 13px; }
.pink-band {
  background-image: url("./textura-papel.png"), linear-gradient(180deg, #fffdfb 0%, #f9dce3 12%, #f2bdcd 34%, #eda6bd 60%, #f6d0da 84%, #fffdfb 100%);
  background-size: 460px, 100% 100%;
  background-repeat: repeat, no-repeat;
  background-blend-mode: multiply;
  color: #753847;
}
.pink-band .script-title { color: #934563; text-shadow: none; }
.floral-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 460px; margin: 24px auto 12px; }
.floral-countdown strong { display: block; font-family: Montserrat, sans-serif; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; color: #853b59; }
.floral-countdown span { font-family: Montserrat, sans-serif; font-size: 8px; text-transform: uppercase; color: #753847; }
.event-date { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 26px 0 18px; }
.event-date > strong { font-family: Cinzel, serif; font-size: 84px; color: #d55b89; line-height: 1; font-weight: 400; }
.event-date > div { display: grid; text-align: left; gap: 3px; }
.event-date span { font-size: 12px; color: #a4854c; }
.event-date .date-month { font-family: "Great Vibes", cursive; font-size: 35px; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; max-width: 280px; margin: auto; }
.calendar span { display: grid; place-items: center; aspect-ratio: 1; font-size: 12px; }
.calendar .calendar-weekday { font-size: 10px; }
.calendar .event-day { border: 1px solid var(--deep-pink); border-radius: 50%; color: var(--deep-pink); }
.ornament { display: block; font-size: 32px; color: #a78a56; margin-bottom: 12px; }
.event-time { color: var(--deep-pink); font-size: 18px !important; font-style: italic; }
.venue-name { font-size: 12px !important; text-transform: uppercase; }
.gold-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: 11px 24px; border: 0; border-radius: 4px; background: #dc8198; color: #fff; text-decoration: none; font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 600; cursor: pointer; }
.gold-button:hover { background: #b65278; }
.gold-button:focus-visible { outline: 2px solid var(--deep-pink); outline-offset: 4px; }
.itinerary { padding: 0; margin: 26px auto 0; list-style: none; max-width: 270px; }
.itinerary li { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; min-height: 60px; font-size: 12px; }
.itinerary li::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #e9bec7; }
.itinerary li::after { content: ""; position: absolute; left: calc(50% - 4px); width: 9px; height: 9px; border-radius: 50%; background: #cf7b92; }
.itinerary time { text-align: right; color: var(--deep-pink); }
.itinerary span { text-align: left; }
.dress-block { background-image: url("./textura-papel.png"), linear-gradient(180deg, #fffdfb, #f5d7df 70%, #f1cbd7); }
.gifts-block { background-image: url("./textura-papel.png"), linear-gradient(180deg, #f1cbd7, #f5d7df 45%, #fffdfb); }
.letter-block .detail-eyebrow { font: 11px Montserrat, sans-serif; text-transform: uppercase; color: #935d71; margin-bottom: 14px; }
.formal-word { margin: 0 0 16px; font-family: Cinzel, serif; font-size: 28px; font-weight: 400; text-transform: none; color: #85415d; }
.gift-envelope { display: block; width: 150px; height: 100px; object-fit: contain; margin: 0 auto 16px; }
.gifts-block > p { max-width: 440px; }
.attendance-form { display: grid; gap: 9px; width: 100%; max-width: 460px; text-align: left; margin: 25px auto 0; }
.attendance-form fieldset { border: 0; padding: 0; margin: 0 0 18px; font-size: 13px; }
.attendance-form legend { margin-bottom: 12px; }
.attendance-form .radio-label { display: flex; align-items: center; gap: 8px; font-family: Georgia, serif; font-size: 13px; margin: 8px 0; }
.attendance-form > label { font-family: "Great Vibes", cursive; color: var(--deep-pink); font-size: 28px; line-height: 1.2; }
.attendance-form > label span { font-family: Georgia, serif; font-size: 10px; }
.attendance-form input:not([type="radio"]), .attendance-form select { width: 100%; min-width: 0; min-height: 44px; padding: 12px; margin-bottom: 5px; background: #fce8ed; border: 1px solid #eebdc9; border-radius: 4px; color: #754653; font: 12px Montserrat, sans-serif; }
.attendance-form input:focus, .attendance-form select:focus { outline: 2px solid #bb667f; outline-offset: 2px; }
.attendance-form input[type="radio"] { accent-color: #bd5e7b; width: 16px; height: 16px; }
.attendance-form > button { margin-top: 14px; }
.attendance-form .attendance-status { font-size: 12px; margin-top: 8px; }
[hidden] { display: none !important; }
.farewell-name { font-style: italic; }
@media (min-width: 700px) { .letter-block { padding-block: 60px; } }
@media (max-width: 699px) { .portrait-caption { inset: 0 0 auto; width: 100%; padding: 28px 20px 55px; background: linear-gradient(#05080c80, transparent); } .content .celebrant { font-size: 58px; } }
@media (max-width: 350px) { .letter-block { padding-inline: 24px; } .content .celebrant { font-size: 54px; } .floral-countdown strong { font-size: 22px; } .content .script-title { font-size: 32px; } }
