@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Jost;
  src: url('/fonts/jost.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --plum: #6C3A60;
  --cranberry: #A52D48;
  --mauve: #B68A9F;
  --oat: #F4EBDE;
  --sage: #8C9783;
  background: var(--oat);
  color: var(--plum);
  font-family: Jost, sans-serif;
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; padding: 24px; }
.invitation {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 48px);
  border: 1px solid var(--mauve);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 34px 24px 30px;
  text-align: center;
  overflow: hidden;
}
.invitation::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid var(--mauve);
  opacity: .35;
  pointer-events: none;
  z-index: -1;
}
.monogram {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
  line-height: 1;
}
.monogram span { color: var(--cranberry); font-style: italic; margin: 0 3px; font-size: 27px; }
.announcement { padding: 56px 0; }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 30px; }
h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(70px, 8.6vw, 132px);
  font-weight: 400;
  line-height: 1.04;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .22em;
}
.surname { display: block; font-family: Jost, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; margin-top: 10px; }
h1 em { color: var(--cranberry); font-size: .72em; font-weight: 400; }
.wedding-date { font-size: 16px; line-height: 1.4; margin: 26px 0 0; }
.wedding-location { font-size: 16px; line-height: 1.4; margin: 6px 0 0; }
.flourish { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 32px 0; }
.flourish span { width: 46px; height: 1px; background: var(--mauve); }
.flourish svg { width: 36px; height: 24px; fill: none; stroke: var(--sage); stroke-width: 1; }
.coming-soon { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; color: var(--cranberry); margin: 0 0 12px; }
.message { font-size: 16px; line-height: 1.45; margin: 0; }
.signoff { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 23px; line-height: 1.3; margin: 0; }
.botanical { position: absolute; z-index: -1; pointer-events: none; width: clamp(150px, 20vw, 290px); height: auto; }
.botanical-left { bottom: -35px; left: -45px; transform: rotate(12deg); }
.botanical-right { top: -40px; right: -40px; transform: rotate(192deg); }
::selection { background: var(--plum); color: var(--oat); }
@media (max-width: 760px) {
  body { padding: 14px; }
  .invitation { min-height: calc(100svh - 28px); padding: 30px 20px 26px; }
  .announcement { padding: 48px 0; }
  h1 { flex-direction: column; gap: 0; font-size: clamp(68px, 16vw, 104px); }
  h1 em { font-size: .58em; line-height: .95; margin: 8px 0; }
  .eyebrow { margin-bottom: 26px; font-size: 12px; }
  .flourish { margin: 26px 0; }
  .botanical { width: 160px; }
  .botanical-left { width: 120px; left: -64px; bottom: -38px; }
  .botanical-right { right: -80px; top: -20px; }
  .signoff { font-size: 21px; }
}
@media (prefers-reduced-motion: no-preference) {
  .announcement { animation: arrive 1.1s ease-out both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
