:root {
  --cream: #fff7e9;
  --paper: #fffaf1;
  --ink: #321c20;
  --oxblood: #481b2a;
  --rose: #c88b84;
  --gold: #b89456;
  --muted: #745b58;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(1.25rem, 6vw, 6.5rem);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--paper);
  color: var(--ink);
  padding: 0.7rem 1rem;
}
.skip-link:focus {
  top: 1rem;
}
a {
  color: inherit;
}
.masthead {
  height: 82px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid rgba(72, 27, 42, 0.14);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.17em;
}
.monogram {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--oxblood);
  font: 500 1.2rem var(--serif);
  letter-spacing: 0;
}
.masthead nav {
  justify-self: end;
  text-align: right;
}
.masthead nav a {
  text-decoration: none;
}
.masthead nav a:hover,
.site-footer a:hover {
  color: var(--rose);
}
.hero {
  position: relative;
  min-height: 680px;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  max-width: 1600px;
  margin: auto;
}
.hero-copy {
  padding-left: clamp(0rem, 4vw, 4rem);
  position: relative;
  z-index: 1;
}
.hero h1 {
  margin: 0;
  color: var(--oxblood);
  font: 400 clamp(4rem, 8.1vw, 8.5rem)/0.78 var(--serif);
  letter-spacing: -0.045em;
}
.hero h1 span {
  display: block;
}
.hero h1 .ampersand {
  margin: 0.35em 0 0.24em 13%;
  font-size: 0.5em;
  font-style: italic;
  color: var(--rose);
}
.invitation {
  margin: 2rem 0 1.4rem;
  color: var(--muted);
  font: 400 clamp(1.2rem, 1.7vw, 1.55rem)/1.35 var(--serif);
}
.hero-date {
  margin: 0 0 2.25rem;
  color: var(--oxblood);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-date span {
  color: #725628;
}
.text-link {
  font-size: 0.875rem;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 0.55rem;
}
.hero-flourish {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 170px;
  margin-top: 3.5rem;
  color: var(--gold);
}
.hero-flourish span:not(.star-ornament) {
  height: 1px;
  background: var(--gold);
  flex: 1;
  opacity: 0.65;
}
.star-ornament {
  position: relative;
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  flex: none;
}
.star-ornament,
.star-ornament::before {
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}
.star-ornament::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: rotate(45deg);
}
.portrait-frame {
  margin: 0;
  justify-self: center;
  width: min(100%, 470px);
  text-align: center;
}
.portrait-arch {
  height: clamp(390px, 45vw, 560px);
  padding: 10px;
  border: 1px solid var(--gold);
  border-radius: 48% 48% 4px 4px / 36% 36% 4px 4px;
  position: relative;
}
.portrait-arch:before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(200, 139, 132, 0.75);
  border-radius: inherit;
  pointer-events: none;
}
.portrait-arch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: inherit;
}
.celebrations {
  background: var(--oxblood);
  color: var(--cream);
  padding: clamp(5rem, 9vw, 9rem) var(--gutter);
  position: relative;
}
.celebrations:before,
.celebrations:after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(184, 148, 86, 0.55);
}
.celebrations:before {
  top: 18px;
}
.celebrations:after {
  bottom: 18px;
}
.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 4rem;
}
.section-heading h2 {
  font: 400 clamp(3rem, 6vw, 5rem)/0.92 var(--serif);
  margin: 0 0 1.4rem;
  letter-spacing: -0.025em;
}
.attendance-note {
  margin: 0 auto;
  color: #e6d8ca;
  font-size: 0.875rem;
  max-width: 510px;
}
.events {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 247, 233, 0.28);
  border-bottom: 1px solid rgba(255, 247, 233, 0.28);
}
.event-card {
  padding: 2.6rem clamp(1rem, 3vw, 3rem);
  padding-right: 3.5rem;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 1.3rem;
  position: relative;
}
.event-card:nth-child(even) {
  border-left: 1px solid rgba(255, 247, 233, 0.28);
}
.event-card:nth-child(n + 3) {
  border-top: 1px solid rgba(255, 247, 233, 0.28);
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #d6b67d;
}
.event-day {
  font: 400 3.4rem/0.9 var(--serif);
}
.event-month {
  text-align: center;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-top: 0.5rem;
}
.event-details h3 {
  font: 400 clamp(1.6rem, 2.5vw, 2rem)/1.05 var(--serif);
  margin: 0 0 0.8rem;
  color: var(--cream);
}
.event-time {
  margin: 0 0 1.2rem;
  font-size: 0.875rem;
  color: #e6c9b7;
}
.venue-name {
  margin: 0;
  font-size: 0.875rem;
}
.venue-place {
  margin: 0.1rem 0 0.8rem;
  color: #ddc9bf;
  font-size: 0.875rem;
}
.lunch-note {
  margin: -0.45rem 0 0.85rem;
  font-size: 0.875rem;
  color: #e6c9bf;
  font-style: italic;
}
.map-link {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 0.25rem;
  color: #e0bb81;
  font-size: 0.875rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 187, 129, 0.5);
  padding-bottom: 0.25rem;
}
.map-link:hover {
  color: var(--cream);
}
.event-ornament {
  position: absolute;
  right: 1.1rem;
  top: 1.5rem;
  color: rgba(224, 187, 129, 0.65);
}
.closing {
  text-align: center;
  padding: 5rem 1.5rem 5.5rem;
  background: var(--paper);
  color: var(--oxblood);
}
.closing-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  font: 1.3rem var(--serif);
}
.closing > p:first-of-type {
  font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.2 var(--serif);
  margin: 0;
}
.closing-rule {
  display: block;
  width: 54px;
  height: 1px;
  margin: 1.6rem auto;
  background: var(--gold);
}
.closing-names {
  font: italic 1rem var(--serif);
  margin: 0;
  color: var(--muted);
}
.closing-names i {
  color: var(--rose);
}
.site-footer {
  min-height: 68px;
  background: var(--oxblood);
  color: #e5d5c8;
  padding: 1rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .masthead {
    height: 68px;
    grid-template-columns: 1fr auto;
    padding-inline: 1.2rem;
  }
  .masthead nav {
    display: block;
    justify-self: end;
  }
  .wordmark {
    font-size: 0.875rem;
  }
  .hero {
    min-height: 0;
    padding: 4rem 1.35rem 3rem;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-copy {
    text-align: center;
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(4.2rem, 17vw, 6.5rem);
  }
  .hero h1 .ampersand {
    margin: 0.28em auto 0.2em;
  }
  .invitation {
    margin: 1.6rem auto 1.2rem;
  }
  .hero-date {
    margin-bottom: 1.8rem;
  }
  .hero-flourish {
    margin: 2rem auto 0;
  }
  .portrait-frame {
    width: min(90%, 390px);
  }
  .portrait-arch {
    height: min(112vw, 480px);
  }

  .celebrations {
    padding: 5.5rem 1.25rem;
  }
  .section-heading {
    margin-bottom: 2.6rem;
  }
  .events {
    grid-template-columns: minmax(0, 1fr);
    max-width: 540px;
  }
  .event-card {
    padding: 2rem 1.2rem;
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .event-card:nth-child(even) {
    border-left: 0;
  }
  .event-card + .event-card {
    border-top: 1px solid rgba(255, 247, 233, 0.28);
  }

  .site-footer {
    padding-inline: 1.2rem;
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Road trips and RSVP */
.masthead nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  flex-wrap: wrap;
}
.venue-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
}
.venue-line .venue-name {
  margin: 0;
}
.uber-link {
  color: #e0bb81;
  font-size: 0.875rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.road-trips {
  padding: clamp(4.5rem, 8vw, 7rem) var(--gutter);
  background: var(--cream);
  color: var(--ink);
}
.road-trips .section-heading {
  margin-bottom: 2.75rem;
}
.road-trips .section-heading h2,
.rsvp .section-heading h2 {
  margin-bottom: 1rem;
}
.road-trips-intro {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
}
.road-trip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
}
.road-trip-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(184, 148, 86, 0.55);
  display: flex;
  flex-direction: column;
}
.road-trip-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.58;
  object-fit: cover;
}
.road-trip-copy {
  padding: 1.35rem clamp(1.1rem, 2vw, 1.6rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.road-trip-number {
  color: #725628;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.875rem;
  margin: 0 0 0.55rem;
}
.road-trip-card h3 {
  font: 400 clamp(1.7rem, 2.3vw, 2.15rem)/1.05 var(--serif);
  color: var(--oxblood);
  margin: 0 0 0.8rem;
}
.road-trip-card details {
  width: 100%;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(184, 148, 86, 0.45);
}
.road-trip-card summary {
  color: var(--oxblood);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  text-underline-offset: 0.2em;
}
.road-trip-card summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 1px;
}
.road-trip-stops {
  margin: 0.8rem 0 0.75rem;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.road-trip-stops li {
  padding-left: 0.15rem;
}
.optional-stop {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0.5rem 0 0;
}
.road-trip-card
  p:not(.road-trip-number):not(.image-credit):not(.optional-stop) {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
.road-trip-link {
  display: inline-block;
  max-width: 100%;
  color: var(--oxblood);
  font-size: 0.875rem;
  line-height: 1.45;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
  margin: 0.25rem 0 0.55rem;
}
.road-trip-link:hover,
.uber-link:hover {
  color: var(--rose);
}
.image-credit {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
  margin: auto 0 0.1rem;
  padding-top: 1rem;
}
.image-credit a {
  color: inherit;
  text-underline-offset: 0.15em;
}
.rsvp {
  padding: clamp(4.5rem, 8vw, 7rem) var(--gutter);
  background: var(--oxblood);
  color: var(--cream);
}
.rsvp .section-heading {
  margin: 0 auto 1.5rem;
}
.rsvp .section-heading h2 {
  color: var(--cream);
}
.rsvp-form-help {
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.875rem;
}
.rsvp-form-link {
  color: #e0bb81;
  text-underline-offset: 0.2em;
}
.rsvp-form-frame {
  display: block;
  width: min(100%, 680px);
  height: 56rem;
  margin: 0 auto;
  border: 0;
  border-radius: 0.5rem;
  background: var(--cream);
}
@media (max-width: 900px) {
  .road-trip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .masthead {
    height: auto;
    min-height: 68px;
    padding-block: 0.85rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }
  .masthead nav {
    justify-self: stretch;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .road-trip-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
  }
}

.engagement-gallery {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) var(--gutter);
  background: var(--paper);
  color: var(--ink);
}
.engagement-gallery::before,
.engagement-gallery::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(184, 148, 86, 0.5);
}
.engagement-gallery::before {
  top: 1rem;
}
.engagement-gallery::after {
  bottom: 1rem;
}
.engagement-gallery .section-heading {
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.engagement-gallery .section-heading h2 {
  margin: 0;
  color: var(--oxblood);
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.engagement-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  max-width: 1120px;
  margin: 0 auto;
}
.engagement-gallery-grid figure {
  min-width: 0;
  margin: 0;
}
.engagement-gallery-grid a {
  display: block;
  width: 100%;
}
.engagement-gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
  padding: 0.45rem;
  border: 1px solid rgba(184, 148, 86, 0.65);
  background: var(--cream);
}
.engagement-gallery-grid a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
@media (max-width: 760px) {
  .masthead nav {
    justify-content: flex-start;
    column-gap: 0.7rem;
    row-gap: 0.45rem;
  }
  .engagement-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 540px;
  }
}


/* Fancybox controls remain visible and touch-accessible without hover. */
.fancybox-skin {
  background: var(--paper);
  color: var(--ink);
}
.fancybox-close {
  top: 4px;
  right: 4px;
  width: 36px;
  height: 36px;
  visibility: visible;
  opacity: 1;
}
.fancybox-nav {
  visibility: visible !important;
}
.fancybox-nav span {
  visibility: visible !important;
  opacity: 1;
}
.fancybox-close:focus-visible,
.fancybox-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.fancybox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) {
  .fancybox-wrap,
  .fancybox-overlay {
    transition: none !important;
  }
}
