@font-face{font-family:Cormorant;src:url('/media/cormorant.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:Cormorant;src:url('/media/cormorant-italic.woff2') format('woff2');font-style:italic;font-weight:300 700;font-display:swap}
@font-face{font-family:DM Sans;src:url('/media/dm-sans.woff2') format('woff2');font-weight:100 1000;font-display:swap}

:root {
  color-scheme: light;
  --paper: #f8f3e9;
  --cream: #fffaf1;
  --ink: #2e2028;
  --muted: #67545a;
  --wine: #4c273c;
  --night: #24141c;
  --gold: #dfba97;
  --line: #dacbc3;
  --serif: Cormorant, Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.6 var(--sans); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .68; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #af7d5b; outline-offset: 5px; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: absolute; z-index: 10; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--cream); }
.container { width: min(1120px, calc(100% - 112px)); margin-inline: auto; }
.section { padding: 104px 0; }
.eyebrow, .button, .explore, .to-top {
  font: 700 10px/1.5 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow { margin: 0 0 11px; }
.eyebrow span { margin-inline: .35em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.button:hover { transform: translateY(-2px); }
.button-ivory { background: var(--cream); color: #382330; }
.button-ivory:hover { background: #f4dfcf; }
.button-wine { color: var(--cream); background: var(--wine); }
.button-wine:hover { background: #653650; }

.site-header { position: relative; z-index: 1; background: var(--night); color: var(--cream); border-bottom: 1px solid #e8bd9e32; }
.site-nav { height: 65px; margin-inline: auto; width: min(1376px, calc(100% - 104px)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wordmark { justify-self: start; font: 500 28px/1 var(--serif); letter-spacing: -.095em; white-space: nowrap; text-decoration: none; }
.wordmark span { font-style: italic; color: var(--gold); margin-inline: .18em; }
.site-nav nav { display: flex; gap: 34px; }
.site-nav nav a, .nav-rsvp { color: #fff3e4; text-decoration: none; font: 600 10px/1.5 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
.site-nav nav a:hover { color: var(--gold); }
.nav-rsvp { justify-self: end; min-height: 35px; padding: 6px 15px; border-color: #dcb08b78; }
.nav-rsvp:hover { border-color: var(--gold); background: #674154; }

.hero {
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(560px, calc(100svh - 110px), 815px);
  overflow: hidden;
  position: relative;
  background: #3b2730;
  text-align: center;
  color: var(--cream);
}
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before {
  background: #3b2730 url('/media/garden.webp') center 52% / cover no-repeat;
  animation: settle 1.45s ease-out both;
}
.hero::after { background: linear-gradient(180deg,#21121a56,#21121a25 26%,#21121a6e 67%,#21121acc), radial-gradient(ellipse at center,#22141c7f 0%,#22141c57 36%,#22141c17 71%); }
.hero-frame { pointer-events: none; position: absolute; inset: 21px; border: 1px solid #f9e9d954; }
.hero-frame i { position: absolute; width: 25px; height: 25px; border: solid #f3d6ae; border-width: 1px 0 0 1px; top: -1px; left: -1px; }
.hero-frame i:nth-child(2) { left: auto; right: -1px; transform: rotate(90deg); }
.hero-frame i:nth-child(3) { top: auto; bottom: -1px; left: auto; right: -1px; transform: rotate(180deg); }
.hero-frame i:nth-child(4) { top: auto; bottom: -1px; transform: rotate(270deg); }
.hero-content { position: relative; z-index: 1; padding: 65px 22px 95px; animation: enter .9s .08s ease-out both; }
.flourish { color: var(--gold); display: flex; align-items: center; justify-content: center; gap: 13px; margin-bottom: 21px; }
.flourish::before,.flourish::after { content: ""; display: block; width: 31px; height: 1px; background: currentColor; opacity: .65; }
.flourish span { font-size: 17px; line-height: 1; }
.hero .eyebrow { color: #f9e2c9; letter-spacing: .32em; }
.hero h1 { font: 500 clamp(66px, 10vw, 146px)/.88 var(--serif); letter-spacing: -.059em; margin: 16px 0 21px; text-shadow: 0 2px 29px #210f17a8; }
h1 em { color: #f1c9a4; font-size: .72em; margin-inline: .015em; }
.hero-date { font: 600 clamp(24px, 3vw, 35px)/1 var(--serif); margin: 0; }
.hero-place { margin: 13px 0 26px; letter-spacing: .06em; font-size: 12px; }
.explore { position: absolute; z-index: 2; bottom: 37px; text-decoration: none; color: var(--cream); font-size: 9px; }
.hero-petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-petals i { position: absolute; top: -20px; left: var(--x); width: 6px; height: 11px; background: #edcdb286; border-radius: 85% 15% 85% 25%; animation: fall var(--speed) linear var(--delay) infinite; }
.hero-petals i:nth-child(1){--x:16%;--speed:17s;--delay:-8s}
.hero-petals i:nth-child(2){--x:68%;--speed:22s;--delay:-18s}
.hero-petals i:nth-child(3){--x:91%;--speed:19s;--delay:-4s}
.hero-petals i:nth-child(4){--x:24%;--speed:20s;--delay:-15s}
.hero-petals i:nth-child(5){--x:79%;--speed:18s;--delay:-10s}
@keyframes fall { from { transform: translate(0,-20px) rotate(0); opacity: 0; } 12%, 75% { opacity: .72; } to { transform: translate(-95px,850px) rotate(290deg); opacity: 0; } }
@keyframes settle { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes enter { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: translateY(0); } }

.section-heading { margin: 0 auto 48px; text-align: center; }
.section-heading .eyebrow, .chapter .eyebrow, .rsvp .eyebrow { color: #815139; }
.section h2 { margin: 0; font: 500 clamp(50px, 6.1vw, 88px)/.93 var(--serif); letter-spacing: -.053em; text-wrap: balance; }
.section h2 em, .chapter h3 em { color: #82546a; }
.section-heading > p:last-child { margin: 15px auto 0; max-width: 440px; color: var(--muted); }
.chapters { display: grid; grid-template-columns: 1fr 65px 1fr; max-width: 891px; align-items: start; margin: auto; }
.chapter { position: relative; padding: 12px; border: 1px solid #d8c9be; background: #fffbf4; }
.chapter:nth-of-type(2) { margin-top: 45px; }
.chapter-image { overflow: hidden; background: #a58774; }
.chapter-image img { width: 100%; height: clamp(200px, 26vw, 300px); object-fit: cover; transition: transform .8s; }
.chapter:hover img { transform: scale(1.04); }
.chapter:first-of-type img { object-position: center 53%; }
.chapter-copy { padding: 23px 19px 22px; }
.chapter-copy h3 { margin: 0; font: 500 clamp(36px, 4vw, 52px)/1 var(--serif); letter-spacing: -.039em; }
.chapter-copy > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.chapter-thread { min-height: 100%; display: grid; place-items: center; color: #94624b; }
.chapter-thread span { position: relative; font-size: 26px; }
.chapter-thread span::before,.chapter-thread span::after { content: ""; display: block; position: absolute; width: 1px; height: 49px; background: #d6c0ab; left: 50%; }
.chapter-thread span::before { bottom: 42px; }
.chapter-thread span::after { top: 42px; }

.events { background: radial-gradient(ellipse at 50% 0,#552c40,#301b28 74%); color: var(--cream); }
.events h2 em { color: #e4bda1; }
.events .section-heading > p:last-child { color: #f3ded2; }
.events .eyebrow { color: #efc7a9; }
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.event { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; background: #f9eee507; border: 1px solid #d9ab8e72; padding: 33px clamp(22px, 3.5vw, 47px) 28px; }
.event h3 { margin: 6px 0 9px; font: 500 clamp(38px, 4vw, 61px)/.95 var(--serif); letter-spacing: -.04em; }
.event-time { margin: 17px 0 5px; font-weight: 700; color: #fae1cb; }
.event-note { margin: 0 0 21px; color: #f0dcd4; font-size: 14px; }
.venue { border-top: 1px solid #ddad934f; padding-top: 21px; }
.venue h4 { margin: 0 0 4px; font-size: 15px; }
.venue address { font-style: normal; color: #f0dcd4; font-size: 14px; }
.venue-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 23px; row-gap: 0; margin-top: 13px; }
.venue-links a { padding-block: 8px 5px; border-bottom: 1px solid #d9ab8e; color: #ffddc4; text-decoration: none; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.venue-links a:hover { color: white; }

.rsvp { background: #f4ede4; }
.rsvp-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: clamp(32px, 7vw, 110px); }
.rsvp-invite { margin-block: 38px; }
.rsvp-invite > p:last-child { color: var(--muted); max-width: 29ch; margin-top: 16px; }
.envelope { position: relative; width: 112px; height: 68px; margin: 0 0 39px 4px; perspective: 450px; transform: rotate(-8deg); filter: drop-shadow(0 8px 10px #744c6140); }
.envelope > * { position: absolute; inset: 0; }
.envelope-back { z-index: 0; background: #714358; }
.envelope-front { z-index: 2; background: linear-gradient(30deg,#5b3248,#6c3d55); clip-path: polygon(0 0,50% 57%,100% 0,100% 100%,0 100%); }
.envelope-letter { z-index: 1; inset: 4px; background: #fff1d9; box-shadow: inset 0 0 0 4px #f6dfbc; transition: transform .7s .3s; }
.envelope-flap { z-index: 3; background: #85526b; clip-path: polygon(0 0,100% 0,50% 64%); transform-origin: top; transition: transform .6s, z-index .05s .3s; }
.envelope-seal { z-index: 4; inset: 27px auto auto 42px; width: 29px; height: 29px; display: grid; place-content: center; grid-auto-flow: column; border: 1px solid #f2c8a2; border-radius: 50%; background: #aa6d69; color: #fff2e7; font: 600 12px/1 var(--serif); opacity: 1; transition: opacity .3s; }
.envelope-seal span { font-style: italic; }
.rsvp-layout:focus-within .envelope-flap,.rsvp-layout:hover .envelope-flap,.rsvp-invite.in-view .envelope-flap { transform: rotateX(178deg); z-index: 0; }
.rsvp-layout:focus-within .envelope-letter,.rsvp-layout:hover .envelope-letter,.rsvp-invite.in-view .envelope-letter { transform: translateY(-28px); }
.rsvp-layout:focus-within .envelope-seal,.rsvp-layout:hover .envelope-seal,.rsvp-invite.in-view .envelope-seal { opacity: 0; }
.rsvp-card { background: #fffaf3; border: 1px solid var(--line); padding: clamp(20px, 4.25vw, 49px); box-shadow: 0 14px 43px #38242e0c; min-width: 0; }
.progress { margin: 0 0 25px; padding: 0 0 18px; display: flex; flex-wrap: wrap; gap: 9px 24px; border-bottom: 1px solid #e1d4ca; list-style: none; color: #6f5c61; }
.progress li { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.progress li span { display: grid; place-items: center; border: 1px solid #baa6a4; border-radius: 50%; width: 24px; height: 24px; font-size: 11px; letter-spacing: 0; }
.progress [aria-current="step"] { color: var(--wine); }
.progress [aria-current="step"] span { background: var(--wine); color: white; border-color: var(--wine); }
.rsvp-card h3 { margin: 0 0 14px; font: 500 clamp(39px, 5vw, 61px)/.94 var(--serif); letter-spacing: -.05em; }
.rsvp-card h3:focus { outline: none; }
.rsvp-card label { display: block; font-size: 13px; font-weight: 700; color: #4a3740; }
.rsvp-card input:is([type="text"],[type="number"]) { display: block; width: 100%; margin-top: 5px; padding: 10px; border: 1px solid #bdabb0; border-radius: 0; background: #fffdfa; color: var(--ink); min-height: 43px; font-size: 16px; }
.rsvp-card input[type="number"] { width: 90px; }
.rsvp-card input::placeholder { color: #76646b; }
.field-hint { color: var(--muted); margin: 5px 0 13px; font-size: 13px; }
.guest { margin: 14px 0 0; padding: 8px 0 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.guest legend { padding: 0; font-size: 12px; font-weight: 700; color: #815139; }
.guest label { min-width: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button-back { background: transparent; color: var(--wine); border-color: #cab8ba; }
.button-back:hover { border-color: var(--wine); }
.choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices .choice { display: flex; align-items: center; gap: 11px; border: 1px solid #cfbdbe; padding: 12px; margin-top: 8px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--wine); background: #f3e6ec; }
.choice input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--wine); }
.choice strong,.choice small { display: block; }
.choice small { margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 400; }
.form-error { font-size: 14px; color: #891e3a; margin: 12px 0 0; }
.confirmation { text-align: center; padding: 20px 0; animation: enter .5s ease-out both; }
.confirmation .flourish { color: #9b624a; }
.confirmation p { color: var(--muted); }
.confirmation-ref { font-size: 13px; }

.footer { background: var(--night); color: var(--cream); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 17px; padding: 23px max(24px, calc((100% - 1120px) / 2)); }
.footer p { margin: 0; font: 500 italic 22px/1.25 var(--serif); }
.to-top { justify-self: end; text-decoration: none; white-space: nowrap; font-size: 9px; }

.reveal.in-view { animation: enter .73s cubic-bezier(.2,.65,.25,1) both; }
.chapter:nth-of-type(2).in-view, .event:nth-child(2).in-view { animation-delay: .1s; }

@media (max-width: 900px) {
  .container { width: calc(100% - 64px); }
  .section { padding: 76px 0; }
  .site-nav { width: calc(100% - 62px); }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 38px); }
  .section { padding: 62px 0; }
  .site-nav { grid-template-columns: auto 1fr auto; gap: 13px; width: calc(100% - 34px); height: 55px; }
  .site-nav nav { justify-self: center; gap: clamp(9px, 2.3vw, 16px); }
  .site-nav nav a,.nav-rsvp { letter-spacing: .07em; }
  .nav-rsvp { padding-inline: 8px; }
  .site-nav .wordmark { font-size: 22px; }
  .hero { min-height: min(720px, calc(100svh - 55px)); }
  .hero::before { background-position: center 52%; }
  .hero::after { background: linear-gradient(180deg,#23141a2b,#23141a75 40%,#23141a6b 73%,#23141abe); }
  .hero-frame { inset: 12px; }
  .hero-content { padding: 64px 16px 87px; }
  .hero h1 { font-size: clamp(55px, 11.6vw, 76px); }
  .explore { bottom: 24px; }
  .section-heading { margin-bottom: 31px; }
  .section h2 { font-size: clamp(45px, 9.5vw, 64px); }
  .chapters,.event-grid,.rsvp-layout { grid-template-columns: 1fr; gap: 15px; }
  .chapter { padding: 9px; }
  .chapter:nth-of-type(2) { margin-top: 0; }
  .chapter-thread { display: none; }
  .chapter-image img { height: 240px; }
  .chapter-copy { padding: 18px 13px; }
  .event { display: block; grid-row: auto; padding: 24px 21px; }
  .rsvp-invite { margin: 10px 5px 22px; }
  .rsvp-card { padding: 22px 17px; }
  .envelope { margin-bottom: 28px; }
  .footer { grid-template-columns: auto 1fr auto; padding: 21px 15px; gap: 9px; }
  .footer p { text-align: center; font-size: 19px; }
  .footer .wordmark { font-size: 23px; }
}
@media (max-width: 335px) {
  .site-nav { gap: 5px; width: calc(100% - 20px); }
  .site-nav nav a,.nav-rsvp { font-size: 9px; }
  .hero h1 { font-size: 50px; }
  .guest { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
