@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Italiana&display=swap');

:root { --paper: #f6f2e9; --ink: #353d31; --olive: #556047; --muted: #626b59; --line: #d9d7cb; --serif: 'Italiana', Georgia, serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.7 'DM Sans', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid #86614f; outline-offset: 4px; }
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(54px, 6.5vw, 86px); letter-spacing: -2px; max-width: 520px; }
h1 em { color: #9d7d6c; font-family: Georgia, serif; font-size: .7em; }
h2 { font-size: clamp(34px, 4vw, 46px); letter-spacing: -.6px; }
h3 { font-size: 27px; }
p + p { margin-top: 14px; }
.container { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 5; background: var(--paper); padding: 10px; }
.skip-link:focus { top: 10px; }
.draft { padding: 7px 20px; text-align: center; background: #e9ebdf; color: var(--muted); font-size: 11px; }
header { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { width: min(1120px, calc(100% - 80px)); margin: auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.monogram { font: 32px var(--serif); letter-spacing: -3px; }
.monogram span { font-size: 22px; margin: 0 5px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
nav a { padding: 10px 0; }
nav a:hover, .text-link:hover { color: #925a46; }
.nav-rsvp { border-bottom: 1px solid var(--olive); }
.nav-rsvp span { margin-left: 10px; }
.eyebrow, .card-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; margin-bottom: 16px; color: var(--olive); }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding-block: 58px 64px; }
.intro { max-width: 430px; margin-top: 22px; font-size: 16px; color: var(--muted); }
.wedding-facts { display: flex; gap: 35px; margin-block: 26px; }
.wedding-facts dt { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.wedding-facts dd { margin: 0; font-size: 15px; font-weight: 500; }
.reply-deadline { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.reply-deadline time { color: var(--ink); font-weight: 500; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; padding: 13px 20px; min-height: 46px; border: 1px solid var(--olive); background: var(--olive); color: #fffaf1; font-size: 13px; cursor: pointer; }
.button:hover { background: #3b4733; }
.button-secondary { background: transparent; color: var(--olive); }
.button-secondary:hover { color: #fffaf1; }
.text-link { display: inline-block; font-size: 12px; border-bottom: 1px solid currentColor; padding-block: 4px; }
.text-link span { margin-left: 12px; }
.hero-photo img { width: 100%; height: auto; display: block; border-radius: 65px 65px 4px 4px; }
.hero-photo figcaption { text-align: center; color: var(--muted); font-size: 11px; padding-top: 10px; }
.section { padding-block: 62px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.notice { color: var(--muted); font-size: 12px; border-left: 2px solid #b59c7f; padding-left: 14px; }
.day-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 42px; align-items: center; }
.inline-photo { min-width: 0; }
.inline-photo img { display: block; width: 100%; height: auto; border-radius: 5px; }
.schedule-photo { transform: rotate(2deg); padding: 7px; background: #faf8f2; }
.rsvp-photo { max-width: 310px; margin-top: 28px; }
.schedule { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.schedule li { display: grid; grid-template-columns: 90px 145px 1fr; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding: 19px 0; }
.schedule time { color: var(--olive); font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.schedule time span { font-size: 12px; font-weight: 400; }
.schedule h3 { font-size: 25px; }
.schedule p { font-size: 14px; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { padding: 28px; border: 1px solid var(--line); background: #faf8f2; }
.card-label { font-size: 10px; margin-bottom: 12px; }
.info-card h3 { margin-bottom: 14px; }
.info-card p { font-size: 14px; }
.info-card address { font-style: normal; color: var(--muted); margin-bottom: 22px; }
.info-card .actions { gap: 15px; }
.muted { color: var(--muted); }
.more-info { margin-top: 22px; font-size: 13px; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 14px 0; font-weight: 500; }
.more-info p { padding-bottom: 18px; color: var(--muted); }
.lodging-band { background: #e9ebdf; }
.lodging-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; border: 0; }
.lodging-layout h2 { margin-bottom: 20px; }
.lodging-layout p { color: var(--muted); font-size: 14px; }
.lodging-layout strong { font-weight: 600; color: var(--ink); }
.lodging-request { padding-left: 35px; border-left: 1px solid #c6cbb9; }
.lodging-request h3 { margin-bottom: 18px; }
.request-steps { margin: 0 0 20px; padding-left: 22px; font-size: 14px; }
.request-steps li { padding-left: 6px; margin-bottom: 10px; }
.request-steps li::marker { color: var(--olive); font-weight: 600; }
.lodging-request .field-note { margin: 0 0 14px; font-size: 12px; }
.rsvp { display: grid; grid-template-columns: .7fr 1.3fr; gap: 65px; border-top: 0; }
.rsvp-copy h2 { margin-bottom: 20px; }
.rsvp-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.demo-note { margin-top: 25px; background: #e9ebdf; border-left: 2px solid var(--olive); padding: 15px; font-size: 12px; color: var(--muted); }
.demo-note strong { color: var(--ink); font-weight: 500; }
form { background: #faf8f2; border: 1px solid var(--line); padding: 30px; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend, form label { font-size: 13px; font-weight: 500; display: block; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); cursor: pointer; font-weight: 400; margin: 0; }
.choices label:has(input:checked) { background: #e9ebdf; border-color: var(--olive); }
.choices input { width: auto; min-height: auto; margin: 0; accent-color: var(--olive); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row > div { min-width: 0; }
input, select, textarea { width: 100%; border: 1px solid #bfc4b5; border-radius: 3px; padding: 11px 12px; background: var(--paper); color: var(--ink); font-size: 14px; margin-bottom: 19px; min-height: 46px; }
textarea { resize: vertical; min-height: 78px; }
.optional { color: var(--muted); font-size: 11px; font-weight: 400; }
.field-note { color: var(--muted); font-size: 11px; margin: -8px 0 20px; }
form .button { width: 100%; }
.form-status { font-size: 13px; margin-top: 18px; }
.form-status:empty, [hidden] { display: none !important; }
.contact { display: grid; grid-template-columns: .7fr 1.3fr; gap: 65px; }
.contact h2 { margin-bottom: 16px; }
.contact > div > p:not(.eyebrow) { font-size: 14px; }
.contact-people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact address { font-style: normal; min-width: 0; }
.contact h3 { margin-bottom: 12px; }
.contact address a { display: block; width: fit-content; padding-block: 5px; font-size: 14px; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.contact address a:hover { color: #925a46; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 26px; font-size: 12px; color: var(--muted); }
footer > span { font-size: 11px; }
@media (max-width: 900px) {
  .hero { gap: 30px; }
  .day-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; }
  .actions { gap: 14px; }
  .schedule li { grid-template-columns: 80px 1fr; gap: 4px 15px; }
  .schedule time { grid-row: span 2; align-self: start; }
  .schedule p { grid-column: 2; }
  .lodging-layout, .rsvp { gap: 35px; }
  .rsvp { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 26px; }
  .rsvp-copy { max-width: 600px; }
  .rsvp-photo { max-width: 250px; }
  .demo-note { margin-top: 18px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 120px; }
  .container, .header-inner { width: calc(100% - 40px); }
  .draft { font-size: 10px; padding-inline: 12px; }
  .header-inner { min-height: auto; flex-direction: column; gap: 0; padding-top: 10px; }
  .monogram { font-size: 28px; }
  nav { width: 100%; justify-content: space-between; gap: 8px; font-size: 12px; padding-bottom: 6px; }
  nav a { padding-block: 9px; }
  .nav-rsvp span { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 35px; gap: 28px; }
  h1 { font-size: clamp(46px, 10vw, 64px); letter-spacing: -1.5px; }
  .intro { font-size: 15px; margin-top: 16px; }
  .wedding-facts { gap: 25px; margin-block: 22px; }
  .wedding-facts dd { font-size: 14px; }
  .hero-photo img { border-radius: 40px 40px 4px 4px; }
  .section { padding-block: 38px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .day-layout { grid-template-columns: 1fr; gap: 24px; }
  .schedule-photo { width: min(250px, 85%); justify-self: center; }
  .notice { margin-top: 18px; }
  .schedule li { grid-template-columns: 80px 1fr; gap: 4px 15px; padding-block: 16px; }
  .schedule time { grid-row: span 2; align-self: start; font-size: 17px; padding-top: 1px; }
  .schedule h3 { font-size: 25px; }
  .schedule p { grid-column: 2; font-size: 13px; }
  .info-grid, .lodging-layout { grid-template-columns: 1fr; gap: 18px; }
  .info-card { padding: 22px; }
  .lodging-request { border-left: 0; border-top: 1px solid #c6cbb9; padding: 24px 0 0; margin-top: 6px; }
  .rsvp { gap: 24px; }
  .contact-people { gap: 25px; }
  form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  input, select, textarea { font-size: 16px; }
  footer { flex-wrap: wrap; gap: 14px; }
  footer > span { width: 100%; }
}
@media (max-width: 380px) { .contact-people { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
