:root { color-scheme: light; --ink: #493b30; --soft-ink: #74624e; --rust: #935039; --paper: #fbf4e6; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; padding: 46px 22px 26px; background: #714a3a; color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
.postcard { position: relative; width: min(100%, 860px); margin: 0 auto; overflow: hidden; background: var(--paper); box-shadow: 0 18px 55px #2b170b40, 0 2px 5px #2b170b33; }
.postcard::before { content: ""; position: absolute; inset: 16px; border: 1px solid #b6a17f80; pointer-events: none; z-index: 2; }
.postcard::after { content: ""; position: absolute; inset: 21px; border: 1px solid #b6a17f30; pointer-events: none; z-index: 2; }
.letter { position: relative; z-index: 1; padding: 42px 50px 44px; text-align: center; }
p, h1 { margin: 0; }
.season { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--soft-ink); }
.salutation { font-size: 18px; font-style: italic; margin-top: 32px; color: var(--soft-ink); }
h1 { font-size: clamp(42px, 6.7vw, 66px); font-weight: 400; line-height: 1.15; letter-spacing: -2px; margin-top: 15px; }
h1 em { font-weight: 400; color: var(--rust); }
.invitation-copy { font-size: 18px; line-height: 1.7; margin-top: 25px; }
.date { display: flex; align-items: center; justify-content: center; gap: 26px; width: min(100%, 360px); margin: 29px auto 22px; padding: 19px 10px; border-top: 1px solid #b6a17f80; border-bottom: 1px solid #b6a17f80; }
.weekday { font-size: 17px; font-style: italic; color: var(--soft-ink); }
time { display: grid; grid-template-columns: auto auto; column-gap: 13px; align-items: center; text-align: left; }
.day { font-size: 65px; line-height: .95; grid-row: span 2; color: var(--rust); }
.month { font-size: 24px; line-height: 1.15; padding-top: 2px; }
.year { font-size: 15px; letter-spacing: 2px; line-height: 1.5; color: var(--soft-ink); }
.place-note { font-size: 15px; color: var(--soft-ink); }
.save-date { display: inline-flex; align-items: center; gap: 29px; margin-top: 18px; padding: 10px 17px; border: 1px solid #93503999; color: var(--rust); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; text-decoration: none; }
.save-date:hover { background: #9350390c; }
.save-date:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
.verse { margin-top: 34px; color: var(--soft-ink); }
.verse p { font-size: 18px; font-style: italic; }
.verse span { display: inline-block; margin-top: 9px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 10px; letter-spacing: 1px; }
.signature { margin-top: 25px; font-size: 22px; font-style: italic; color: var(--rust); }
.branch { position: absolute; width: 190px; pointer-events: none; opacity: .82; }
.branch-top { top: -12px; left: -27px; transform: rotate(-13deg); }
.branch-bottom { bottom: -20px; right: -26px; transform: rotate(166deg); }
.envelope-note { margin: 22px auto 0; text-align: center; color: #eadfca; font-size: 14px; font-style: italic; letter-spacing: .3px; }
@media (max-width: 600px) {
  body { padding: 18px 12px 20px; }
  .postcard::before { inset: 10px; }
  .postcard::after { inset: 14px; }
  .letter { padding: 31px 25px 35px; }
  .season { font-size: 10px; letter-spacing: 2.4px; }
  .salutation { margin-top: 31px; font-size: 16px; }
  h1 { font-size: 43px; letter-spacing: -1.7px; margin-top: 15px; }
  .invitation-copy { font-size: 17px; margin-top: 23px; line-height: 1.65; }
  .wide-only { display: none; }
  .date { gap: 16px; margin-top: 27px; padding: 18px 3px; }
  .weekday { font-size: 15px; }
  .day { font-size: 58px; }
  .month { font-size: 22px; }
  .year { font-size: 14px; }
  .place-note { font-size: 14px; }
  .save-date { padding: 12px 18px; }
  .verse { margin-top: 32px; }
  .verse p { font-size: 17px; }
  .signature { margin-top: 23px; font-size: 21px; }
  .branch { width: 125px; opacity: .5; }
  .branch-top { left: -30px; top: -15px; }
  .branch-bottom { right: -34px; bottom: -14px; }
  .envelope-note { font-size: 13px; margin-top: 19px; }
}
@media (max-width: 359px) {
  .letter { padding-left: 22px; padding-right: 22px; }
  h1 { font-size: 37px; }
  .invitation-copy { font-size: 16px; }
  .date { gap: 12px; }
  time { column-gap: 9px; }
  .day { font-size: 52px; }
  .month { font-size: 20px; }
  .weekday { font-size: 14px; }
}
@media print {
  body { background: #fff; padding: 0; }
  .postcard { max-width: 860px; box-shadow: none; break-inside: avoid; }
  .save-date, .envelope-note { display: none; }
}

/* A personal invitation has no invented event date or RSVP destination. */
.together { display: flex; align-items: center; justify-content: center; gap: 20px; width: min(100%, 300px); margin: 28px auto 22px; padding: 12px 0 16px; border-top: 1px solid #b6a17f80; border-bottom: 1px solid #b6a17f80; font-size: 41px; font-style: italic; color: var(--rust); }
.ampersand { font-size: 30px; color: var(--soft-ink); }
.signature { max-width: 330px; margin-left: auto; margin-right: auto; line-height: 1.35; }
@media (max-width: 600px) { .season { font-size: 9px; letter-spacing: 1.5px; } .together { font-size: 36px; margin-top: 24px; } }
