:root {
  color-scheme: light;
  --ink: #565651;
  --muted: #72726b;
  --pink: #cb3562;
  --pink-light: #fff5f7;
  --blue: #bed9ed;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #eee7e5; color: var(--ink); font: 22px/1.5 var(--serif); }
body, input, textarea, button { -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--pink); }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
p { margin: 0 0 18px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.12; }
h2 { font-size: clamp(31px, 6vw, 40px); margin-bottom: 26px; text-wrap: balance; }
h3 { font-size: 29px; }
em { font-weight: 400; color: var(--pink); }
.invitation-sheet { max-width: 640px; margin: 0 auto; background: #fff; overflow: clip; }
.invitation-sheet :is(h1, h2, h3, p, a) { overflow-wrap: anywhere; }
.section { position: relative; padding: 32px 68px; text-align: center; scroll-margin-top: 24px; }
.eyebrow { font: 10px/1.7 var(--sans); letter-spacing: .19em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted); }
.hero {
  min-height: 920px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 160px 100px 200px;
  background: #fff url("assets/wildflower-frame.webp") center / 100% 100% no-repeat;
}
.hero-content { width: 100%; }
.hero .eyebrow { margin-bottom: 58px; }
h1 { font-size: clamp(46px, 10vw, 68px); letter-spacing: .025em; }
h1 span { display: block; }
h1 em { display: block; margin: 8px 0; font-size: 31px; color: var(--muted); }
.little-line { display: block; width: 20px; height: 1px; margin: 30px auto 26px; background: #c4c4bb; }
.hero-message { font-size: 22px; line-height: 1.4; margin-bottom: 26px; }
.wedding-date { display: inline-block; padding: 8px 12px; border-block: 1px solid #c8c9c1; font-size: 25px; line-height: 1.3; }
.hero-scroll { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; margin-top: 26px; text-decoration: none; font-size: 25px; }
.couple-section { padding-top: 35px; }
.couple-photo, .couple-monogram { width: 300px; height: 300px; margin: 36px auto 30px; border-radius: 50%; }
.couple-photo { object-fit: cover; object-position: center; }
.couple-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 50px;
  background: #fff url("assets/wildflower-frame.webp") center / 100% 100% no-repeat;
  font-size: 58px;
}
.couple-monogram em { font-size: 34px; }
.floral-divider { height: 34px; max-width: 340px; margin: 28px auto; background: url("assets/divider.svg") center / contain no-repeat; }
.couple-message { font-size: 24px; line-height: 1.6; }
.signature { margin-top: 25px; font-size: 25px; font-style: italic; }
.text-link { display: inline-block; padding: 10px 0; font: 12px/1.7 var(--sans); text-underline-offset: 5px; }
.section-lead { line-height: 1.55; margin: 0 auto 28px; }
.family-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/wildflower-frame.webp") left center / 100% 100% no-repeat;
  opacity: .12;
  pointer-events: none;
}
.family-section > * { position: relative; }
.family-pair { margin: 30px 0; }
.family-pair .eyebrow { margin-bottom: 8px; font-size: 9px; }
.family-pair h3 { font-size: 27px; line-height: 1.35; }
.events-section { padding-top: 18px; }
.event-card { position: relative; padding: 32px 4px; border-bottom: 1px solid #ede9e4; }
.event-card:last-of-type { border-bottom: none; }
.event-number { display: block; font-size: 17px; font-style: italic; color: var(--pink); margin-bottom: 8px; }
.event-card h3 { margin-bottom: 18px; }
.event-date { font-size: 21px; color: var(--pink); }
.event-location { font-size: 25px; margin-bottom: 5px; }
.event-address { font: 12px/1.7 var(--sans); color: var(--muted); margin-bottom: 12px; }
.event-description { font-size: 20px; margin: 12px 0 20px; }
.wildflower-together .invitation-navigation a { color: var(--pink); border-color: #ecc5d0; font: 11px/1.5 var(--sans); border-radius: 24px; padding: 10px 16px; }
.pink-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  min-height: 50px;
  width: 100%;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 28px;
  background: var(--pink);
  color: #fff;
  font: 13px/1.6 var(--sans);
  text-decoration: none;
  transition: background-color .2s;
}
.pink-button:hover { background: #ad244d; }
.pink-button span { font: 24px/1 var(--serif); }
.countdown-section { padding-top: 0; }
.countdown-section h2 { font-size: 33px; }
.countdown-section h2 em { display: block; margin-top: 5px; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #b6b7ac; border-radius: 22px; padding: 18px 8px; }
.countdown > div + div { border-left: 1px solid #eee6e4; }
.countdown span { display: block; color: var(--pink); font-size: 37px; line-height: 1.2; }
.countdown small { display: block; font: 9px/1.6 var(--sans); margin-top: 5px; }
.rsvp-section { padding-top: 0; }
.rsvp-section .floral-divider { margin-bottom: 38px; }
.rsvp-deadline { font-size: 18px; }
.rsvp-form { margin-top: 30px; padding: 26px; background: #fff9fa; border: 1px solid #f1dfe3; border-radius: 8px; text-align: left; }
.rsvp-form label, .rsvp-form legend { display: block; margin-bottom: 8px; font: 12px/1.6 var(--sans); }
.form-field { margin-bottom: 20px; min-width: 0; }
.name-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rsvp-form input:not([type="hidden"]):not([type="radio"]), .rsvp-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #dbcdd0;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: 16px/1.5 var(--sans);
}
.rsvp-form textarea { resize: vertical; }
.rsvp-form input::placeholder, .rsvp-form textarea::placeholder { color: #7d7577; font-size: 13px; opacity: 1; }
.attendance-field { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.attendance-options { display: grid; grid-template-columns: 1fr; gap: 9px; }
.attendance-options label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px; min-height: 46px; border: 1px solid #e4d7db; border-radius: 4px; cursor: pointer; background: #fff; }
.attendance-options input { accent-color: var(--pink); margin: 0; width: 16px; height: 16px; }
.attendance-options label:has(input:checked) { border-color: var(--pink); background: var(--pink-light); }
.wildflower-together .invitation-guest-count-help { font: 11px/1.6 var(--sans); color: var(--muted); }
.form-status, .form-feedback { font: 13px/1.7 var(--sans); color: #486849; }
.form-status { padding: 16px; border: 1px solid #dbe6d6; border-radius: 6px; background: #f5f9f3; }
.form-status--error { color: #942b41; background: #fff3f4; border-color: #e8c8ce; }
.form-feedback { text-align: center; margin: 18px 0 0; }
.form-feedback:empty { display: none; }
.invitation-footer { padding-top: 50px; padding-bottom: 210px; background: url("assets/wildflower-frame.webp") bottom / 100% auto no-repeat; }
.footer-names { font-size: 32px; }
.footer-message { font-style: italic; font-size: 24px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0; }
.footer-links a { font: 11px/1.5 var(--sans); min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; }
.wedday-credit { font: 10px/1.7 var(--sans); color: var(--muted); text-decoration: none; }
.skip-link { position: absolute; top: -150px; left: 16px; z-index: 10000; background: #fff; padding: 15px; font: 14px var(--sans); }
.skip-link:focus { top: 12px; }
@media (max-width: 600px) {
  body { font-size: 21px; }
  .hero { min-height: 740px; padding: 135px 68px 170px; }
  .hero .eyebrow { margin-bottom: 45px; }
  .section { padding-inline: 35px; }
  .couple-photo, .couple-monogram { width: 260px; height: 260px; }
  .couple-message { font-size: 22px; }
  .invitation-footer { padding-bottom: 165px; }
}
@media (max-width: 400px) {
  .hero { min-height: 670px; padding: 115px 48px 150px; }
  .hero .eyebrow { margin-bottom: 34px; }
  .hero-message { font-size: 20px; }
  .wedding-date { font-size: 23px; }
  .section { padding-inline: 25px; }
  .couple-photo, .couple-monogram { width: min(260px, 100%); height: auto; aspect-ratio: 1; }
  .rsvp-form { padding: 22px 18px; }
  .name-fields { grid-template-columns: 1fr; gap: 0; }
  .countdown span { font-size: 32px; }
  .invitation-footer { padding-bottom: 145px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
