:root {
  --paper: #f4f6f5;
  --white: #fff;
  --ink: #1e2221;
  --muted: #68706d;
  --red: #d94d3f;
  --blue: #b8d0ce;
  --green: #d9e2b5;
  --line: rgba(30, 34, 33, 0.18);
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, sans-serif; }
a { color: inherit; }
.invite-header { min-height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 22px; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.invite-header a { text-decoration: none; }
.invite-header p { margin: 0; }
.invite-header span { justify-self: end; }
.hero { min-height: calc(100svh - 108px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .55fr); grid-template-rows: 1fr auto; gap: 32px; padding: 54px 4vw 42px; overflow: hidden; }
.hero-title { align-self: center; }
.hero-title > p, .schedule header > p, .dress header > p, .place > div > p, .rsvp > p { margin: 0 0 20px; color: var(--red); font-size: 10px; font-weight: 700; text-transform: uppercase; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; }
h1 { max-width: 900px; margin: 0; font-size: clamp(62px, 10vw, 146px); line-height: .72; }
h1 span { display: block; overflow-wrap: anywhere; }
h1 em { display: block; margin: 18px 0 14px 18%; color: var(--red); font-size: .34em; font-weight: 400; }
.hero-detail { max-width: 280px; align-self: end; padding-bottom: 8px; }
.hero-message { margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hero-detail a, .place-copy a { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; text-decoration: none; }
.hero-art { min-height: 112px; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: end; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.letterpress { display: flex; align-items: center; gap: 18px; font-family: Georgia, serif; font-size: clamp(36px, 5vw, 68px); }
.letterpress i { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font: 700 12px/1 Arial, sans-serif; }
.hero-art figcaption { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.date-band { min-height: 86px; display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 20px; background: var(--ink); color: white; }
.date-band p, .date-band span { margin: 0; color: #b9c0bd; font-size: 11px; text-transform: uppercase; }
.date-band strong { font-family: Georgia, serif; font-size: 46px; font-weight: 400; }
.schedule, .dress { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(320px, .9fr); gap: 8vw; padding: 110px 6vw; }
.schedule h2, .dress h2, .place h2 { margin: 0; font-size: clamp(48px, 7vw, 96px); line-height: .9; }
.schedule ol { margin: 0; padding: 0; list-style: none; }
.schedule li { display: grid; grid-template-columns: 86px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.schedule li:last-child { border-bottom: 1px solid var(--line); }
.schedule time { color: var(--red); font-family: Georgia, serif; font-size: 26px; }
.schedule li div { display: grid; gap: 6px; }
.schedule li strong { font-size: 13px; }
.schedule li span { color: var(--muted); font-size: 11px; }
.place { min-height: 72vh; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(240px, 360px); gap: 4vw; align-items: center; padding: 80px 6vw; background: var(--blue); }
.place-index { align-self: start; color: var(--red); font: 700 11px/1 Arial, sans-serif; }
.place-copy { align-self: end; }
.place-copy p { margin: 0 0 28px; line-height: 1.7; }
.dress { background: var(--white); }
.dress > p { align-self: end; max-width: 380px; margin: 0; color: var(--muted); line-height: 1.7; }
.swatches { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 38px; }
.swatches span { aspect-ratio: 1.35; background: var(--swatch); }
.rsvp { min-height: 70vh; display: grid; place-items: center; align-content: center; padding: 90px 24px; text-align: center; background: var(--green); }
.rsvp h2 { margin: 0; font-size: clamp(68px, 11vw, 142px); line-height: .75; }
.rsvp button { min-width: 150px; min-height: 48px; margin-top: 42px; border: 0; background: var(--ink); color: white; font-weight: 700; cursor: pointer; }
.rsvp button.is-done { background: var(--red); }
.rsvp small { min-height: 18px; margin-top: 12px; color: var(--muted); font-size: 10px; }
footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 6vw; background: var(--red); color: white; }
footer p { margin: 0; font-family: Georgia, serif; font-size: 24px; }
footer span { font-size: 10px; text-transform: uppercase; }

@media (max-width: 720px) {
  .hero { min-height: calc(100svh - 90px); grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: 42px 20px 28px; }
  h1 { font-size: clamp(46px, 15vw, 72px); }
  h1 span { overflow-wrap: normal; word-break: normal; }
  .hero-detail { max-width: 310px; }
  .hero-art { grid-column: 1; }
  .schedule, .dress { grid-template-columns: 1fr; gap: 52px; padding: 82px 20px; }
  .schedule h2, .dress h2, .place h2 { font-size: 52px; }
  .place { grid-template-columns: 44px 1fr; gap: 28px 12px; padding: 72px 20px; }
  .place-copy { grid-column: 2; }
  .swatches { grid-column: 1; grid-template-columns: repeat(5, minmax(42px, 1fr)); overflow-x: auto; }
  .swatches span { aspect-ratio: 1; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
