* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 1rem/1.65 var(--sans);
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-underline-offset: .25em; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand, .footer-names {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
}
.wrap { width: min(1340px, 90%); margin-inline: auto; }
.header-inner, .desktop-nav, .mobile-nav, .hero-actions, .button, .footer-inner, .inline-links {
  display: flex;
  align-items: center;
}
.header-inner {
  min-height: 78px;
  justify-content: space-between;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.brand { font-size: 2.5rem; line-height: 1; letter-spacing: -.09em; text-decoration: none; }
.brand i { color: var(--wine); font-size: .83em; padding-inline: .08em; }
.desktop-nav { gap: clamp(1.2rem, 2.5vw, 2.7rem); }
.desktop-nav a, .mobile-nav a { font-size: .9rem; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: .4em;
}
.nav-rsvp {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: .35rem 1.2rem;
  border: 1px solid var(--wine);
  border-radius: 100px;
  color: var(--wine);
  font-weight: 600;
}
.button {
  background: var(--wine);
  color: var(--surface);
  border: 0;
  border-radius: 100px;
  min-height: 48px;
  padding: .7rem 1.55rem;
  justify-content: center;
  gap: .55rem;
  width: fit-content;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 600;
}
.button:hover { background: var(--wine-dark); }
.button:disabled { opacity: .65; cursor: wait; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; z-index: 10; top: -5rem; left: 1rem; background: white; padding: .6rem; }
.skip:focus { top: .4rem; }
.mobile-nav { display: none; }
.hero-actions, .inline-links { gap: 1.25rem; flex-wrap: wrap; }
.hero-actions { margin-top: 1.5rem; }
.text-link, .back { font-size: .94rem; text-decoration-thickness: 1px; }
.text-link:hover, .back:hover, footer a:hover { color: var(--wine); }
.footer-inner {
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.65rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .9rem;
}
.footer-inner b { padding-inline: .35rem; color: var(--wine); font-weight: 400; }
.footer-names { font-size: 1.6rem; font-style: italic; }
.interior { max-width: 1150px; padding-block: 3.4rem 5rem; min-height: 70vh; }
.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 25%);
  align-items: center;
  gap: 3rem;
  padding-bottom: 2.8rem;
  margin-bottom: 2.8rem;
  border-bottom: 1px solid var(--rule);
}
.page-intro h1, .interior > h1 {
  font-size: clamp(3.1rem, 6.3vw, 6rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin: .8rem 0 1.1rem;
}
.page-intro p { max-width: 40rem; }
.section-photo { width: 100%; height: auto; object-fit: cover; }
.page-intro .section-photo { aspect-ratio: 4 / 3; }
.back { color: var(--muted); }
.detail-grid {
  display: grid;
  grid-template-columns: minmax(12rem, .6fr) minmax(0, 1.4fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}
.eyebrow { font: 600 .76rem/1.5 var(--sans); color: var(--wine); letter-spacing: .13em; text-transform: uppercase; }
.note { padding-left: 1.3rem; border-left: 1px solid var(--wine); }
.note h2, .reading h2 { font-size: 2.45rem; line-height: 1.1; letter-spacing: -.035em; margin-bottom: .7rem; }
.note h2 { margin-top: .75rem; }
.note a, .reading p + a, .reading address + a { display: inline-block; margin-top: .8rem; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 1.25rem 0; }
.reading section + section { border-top: 1px solid var(--rule); margin-top: 2.1rem; padding-top: 2rem; }
.reading section > p + p, .reading section > p + address, .reading .button, .inline-links { margin-top: .8rem; }
dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
dt, dd { border-bottom: 1px solid var(--rule); padding: .7rem 0; }
dt { font-weight: 600; padding-right: .6rem; }
dd { margin: 0; }
.reading details { border-bottom: 1px solid var(--rule); padding: .8rem 0; }
.reading summary { font-weight: 600; color: var(--ink); }
.reading details p { padding: .6rem 0 .2rem; }
.form label, .form legend { display: block; font-weight: 600; }
.form small, .form-note { font-size: .9rem; color: var(--muted); font-weight: 400; }
.form input:not([type=radio]):not([type=hidden]), textarea {
  width: 100%;
  border: 1px solid #a9aa99;
  border-radius: 3px;
  padding: .7rem .85rem;
  background: var(--surface);
  color: var(--ink);
  margin-top: .4rem;
}
textarea { resize: vertical; }
.form fieldset { padding: 0; margin: 1.5rem 0; border: 0; min-width: 0; }
.choices { display: flex; gap: .65rem 1.6rem; flex-wrap: wrap; margin-top: .35rem; }
.choices label { display: flex; min-height: 44px; align-items: center; gap: .55rem; font-weight: 400; cursor: pointer; }
input[type=radio] { width: 1.15rem; height: 1.15rem; accent-color: var(--wine); margin: 0; }
.form-note { margin: .7rem 0 1rem; }
#form-status:not(:empty) { margin: 1rem 0; color: var(--wine); font-weight: 600; }
@media (max-width: 700px) {
  .header-inner { min-height: 64px; }
  .brand { font-size: 2.2rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: flex; gap: .45rem; }
  .nav-toggle summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .nav-toggle .icon { width: 24px; height: 24px; }
  .nav-toggle nav {
    position: absolute;
    z-index: 5;
    top: 100%;
    right: 0;
    min-width: 13rem;
    padding: .5rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--rule);
  }
  .nav-toggle nav a { display: block; padding: .65rem 0; }
  .footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .interior { padding-block: 1.85rem 3rem; }
  .page-intro { grid-template-columns: 1fr; gap: 1.25rem; padding-bottom: 1.65rem; margin-bottom: 1.8rem; }
  .page-intro .section-photo { aspect-ratio: 2.8; }
  .detail-grid { grid-template-columns: 1fr; gap: 2rem; }
}
