:root {
  --ground-deep: #360818;
  --ground: #5a1030;
  --ground-lit: #7a1740;
  --cream: #f2dca4;
  --cream-soft: #eacb94;
  --gold: #d7a642;
  --gold-soft: rgba(215, 166, 66, 0.62);
  --leaf: #8dae32;
  --blue: #5d9bcf;
  --red: #a8322f;
  --shadow: rgba(18, 4, 13, 0.42);
  --paper: var(--cream);
  --paper-deep: var(--gold);
  --paper-shadow: var(--shadow);
  --ink-olive: var(--leaf);
  --ink-plum: var(--cream);
  --ink-soft: var(--cream-soft);
  --background: var(--ground);
  --blue-accent: var(--blue);
  --red-accent: var(--red);
  --line: var(--gold-soft);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Baskerville, "Baskerville Old Face", "Libre Baskerville", Georgia, "Times New Roman", serif;
  color: var(--ink-soft);
  background:
    linear-gradient(rgba(82, 11, 43, 0.48), rgba(82, 11, 43, 0.48)),
    linear-gradient(rgba(12, 2, 8, 0.72), rgba(12, 2, 8, 0.72)),
    url("paper-texture.jpg") repeat,
    radial-gradient(circle at 50% 8%, rgba(190, 42, 87, 0.1), transparent 42%),
    radial-gradient(circle at 18% 34%, rgba(148, 24, 70, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(215, 166, 66, 0.025), transparent 34%),
    linear-gradient(180deg, var(--ground-lit) 0%, var(--ground) 42%, var(--ground-deep) 100%);
  background-size: auto, 170px 170px, auto, auto, auto, auto, auto;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.text-link-inline {
  color: var(--blue-accent);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.paper-background {
  position: fixed;
  inset: 1rem;
  pointer-events: none;
  background: none;
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 5px rgba(215, 166, 66, 0.16);
  opacity: 0.95;
  z-index: 0;
}

.paper-background::before,
.paper-background::after {
  color: var(--red-accent);
  content: "❧";
  font-size: 1.3rem;
  line-height: 1;
  opacity: 0.82;
  position: absolute;
}

.paper-background::before {
  left: 0.65rem;
  top: 0.65rem;
  transform: rotate(-42deg);
}

.paper-background::after {
  bottom: 0.65rem;
  right: 0.65rem;
  transform: rotate(138deg);
}

.site-shell {
  width: min(100% - 3rem, 58rem);
  margin: 0 auto;
  padding: 3.25rem 0 4.75rem;
  position: relative;
  z-index: 1;
}

.gallery-shell {
  width: min(100% - 3rem, 76rem);
}

.card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 0;
  padding: 3.6rem 3rem;
  position: relative;
  overflow: hidden;
}

.details-card {
  padding-top: 0.75rem;
}

.hero.details-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 8rem);
}

.hero.details-card .home-bottom-nav {
  margin-top: auto;
}

.home-bottom-nav {
  max-width: 100%;
  padding-top: 2.2rem;
  width: 100%;
}

.card::before {
  content: none;
}

.hero,
.details-card,
.gallery,
.schedule-section {
  text-align: center;
}

.eyebrow,
.section-kicker,
h1,
h2,
h3,
h4,
.hero-copy,
.date,
.event-date,
.event-time,
.event-location {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--ink-olive);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.wreath {
  color: var(--red-accent);
  font-size: 2.15rem;
  margin: 1.35rem 0 1.1rem;
}

h1,
h2,
h3 {
  font-family: Didot, "Bodoni 72", "Bodoni 72 Smallcaps", "Baskerville Old Face", Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5.35rem);
  color: var(--paper);
  letter-spacing: 0.22em;
  margin: 0;
  text-shadow: 0 2px 0 rgba(22, 6, 17, 0.24);
  white-space: nowrap;
}

.hero-title {
  align-items: baseline;
  display: inline-flex;
  gap: 0.22em;
  justify-content: center;
}

.hero-title-primary {
  font-size: 1em;
  letter-spacing: inherit;
}

.hero-title-secondary {
  font-size: 1em;
  letter-spacing: inherit;
}

h2 {
  color: var(--paper);
  font-size: clamp(1.7rem, 5.4vw, 2.65rem);
  letter-spacing: 0.18em;
  margin: 0.5rem 0 1rem;
}

h3 {
  color: var(--ink-olive);
  font-family: Baskerville, "Baskerville Old Face", Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 0.75rem;
}

h4 {
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.55rem;
}

.hero-copy,
.date {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-copy {
  color: var(--paper-deep);
  margin: 1.15rem 0 0.58rem;
}

.date {
  color: var(--blue-accent);
  margin: 0;
}

.hero .date {
  color: var(--ink-soft);
}

.rsvp-link {
  display: inline-block;
  margin-top: 1.35rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rsvp-link:hover,
.rsvp-link:focus-visible {
  background: rgba(94, 143, 196, 0.16);
  text-decoration: none;
}

.schedule-link,
.text-link {
  display: block;
  width: fit-content;
  margin: 0.9rem auto 0;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-link {
  opacity: 0.62;
}

.gallery-link[aria-disabled="true"] {
  cursor: default;
}

.gallery-link.schedule-link-live {
  opacity: 1;
}

.back-link {
  margin: 0 auto 1.35rem;
}

.button-options {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0 auto 0;
  max-width: 62rem;
}

.button-option {
  align-items: center;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(4.7rem, max-content));
  justify-content: center;
  min-width: 0;
}

.button-option .rsvp-link {
  margin-top: 0;
  min-width: 0;
}

.button-option .schedule-link,
.button-option .gallery-link {
  min-width: 0;
}

.button-option .schedule-link {
  justify-self: center;
}

.button-option .rsvp-link {
  justify-self: center;
}

.button-option .gallery-link {
  justify-self: center;
}

.rsvp-link-live {
  background:
    linear-gradient(rgba(94, 143, 196, 0.14), rgba(94, 143, 196, 0.14)),
    rgba(38, 67, 108, 0.9);
  border: 2px solid var(--gold);
  box-shadow:
    inset 0 0 0 2px rgba(240, 217, 155, 0.12),
    0 0 0 1px rgba(215, 166, 66, 0.42);
  color: var(--ink-soft);
  font-size: 1.08rem;
  letter-spacing: 0.22em;
  padding: 1.02rem 2.25rem;
}

.home-rsvp-link {
  align-self: center;
  font-size: 1.24rem;
  margin-top: 0.35rem;
  min-width: 19rem;
  padding: 1.18rem 3.15rem;
  width: fit-content;
}

.home-rsvp-note {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.6;
  margin: 1rem auto 0;
  max-width: 28rem;
}

.home-bottom-nav {
  margin-top: 2.7rem;
}

.schedule-link-live {
  color: var(--ink-olive);
  border-bottom: 0;
  padding-bottom: 0;
  position: relative;
}

.schedule-link-live[aria-current="page"] {
  color: var(--gold);
}

.schedule-link-live::after {
  background: currentColor;
  content: "";
  display: block;
  height: 1px;
  margin: 0.52rem auto 0;
  opacity: 0.82;
  position: relative;
  width: 5.4rem;
}

.schedule-link-live::before {
  background: currentColor;
  content: "";
  display: block;
  height: 0.38rem;
  left: 50%;
  margin-left: -0.19rem;
  position: absolute;
  top: calc(100% + 0.35rem);
  transform: rotate(45deg);
  width: 0.38rem;
  z-index: 1;
}

.lede,
.detail-block p,
.schedule-event p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
  margin: 0;
  max-width: 28rem;
  margin-inline: auto;
}

.lede {
  max-width: 32rem;
}

.divider {
  width: 15.5rem;
  height: 1px;
  background: var(--line);
  margin: 2.15rem auto;
  position: relative;
}

.divider::after {
  background: var(--red-accent);
  content: "";
  height: 0.48rem;
  left: 50%;
  margin-left: -0.24rem;
  position: absolute;
  top: -0.235rem;
  transform: rotate(45deg);
  width: 0.48rem;
}

.divider-large {
  margin: 2.65rem auto 2.55rem;
}

.divider-large::after {
  background: var(--red-accent);
}

.detail-block + .detail-block {
  margin-top: 2.55rem;
}

.schedule-section {
  padding-top: 0.75rem;
}

.schedule-section h1 {
  font-size: 4.35rem;
  letter-spacing: 0.18em;
  margin-top: 0;
  margin-bottom: 2.85rem;
}

.travel-section h1 {
  font-size: 4rem;
  letter-spacing: 0.16em;
}

.schedule-section .divider-large {
  display: none;
}

.schedule-event {
  margin-inline: auto;
  max-width: 34rem;
}

.schedule-event > p:last-of-type {
  color: rgba(234, 203, 148, 0.92);
  font-size: 1.02rem;
  line-height: 1.62;
  max-width: 25rem;
}

.schedule-event > p:last-of-type,
.schedule-note p {
  text-align: center;
}

.travel-event > p + p {
  margin-top: 0.9rem;
}

.registry-section .schedule-event > p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 28rem;
}

.travel-details-list {
  margin: 2.45rem auto 0;
  max-width: 34rem;
}

.faq-details-list {
  margin-top: 1.65rem;
}

.travel-detail {
  border-top: 1px solid rgba(215, 166, 66, 0.42);
  max-width: 100%;
  padding: 1rem 0;
}

.travel-detail:last-child {
  border-bottom: 1px solid rgba(215, 166, 66, 0.42);
}

.travel-detail + .travel-detail {
  margin-top: 0;
}

.travel-detail + .travel-detail::before {
  content: none;
}

.travel-detail summary {
  align-items: center;
  color: var(--paper);
  cursor: pointer;
  display: flex;
  font-family: Didot, "Bodoni 72", "Bodoni 72 Smallcaps", "Baskerville Old Face", Georgia, serif;
  font-size: 1.05rem;
  gap: 1rem;
  justify-content: space-between;
  letter-spacing: 0.13em;
  line-height: 1.35;
  list-style: none;
  text-align: left;
  text-transform: uppercase;
}

.travel-detail summary::-webkit-details-marker {
  display: none;
}

.travel-detail summary::after {
  color: var(--ink-olive);
  content: "+";
  flex: 0 0 auto;
  font-family: Baskerville, "Baskerville Old Face", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.travel-detail[open] summary::after {
  content: "–";
}

.travel-detail summary:hover,
.travel-detail summary:focus-visible {
  color: var(--ink-soft);
}

.travel-detail-body {
  padding-top: 1.05rem;
  text-align: left;
}

.travel-detail-body p {
  color: rgba(234, 203, 148, 0.92);
  font-size: 1rem;
  line-height: 1.62;
  margin-left: 0;
  margin-right: 0;
  max-width: 28rem;
  text-align: left;
}

.travel-detail-body p + p {
  margin-top: 0.85rem;
}

.travel-subheading {
  text-align: left;
  margin: 1.1rem auto 0.35rem;
}

.travel-detail-body .travel-subheading:first-child {
  margin-top: 0;
}

.travel-detail .schedule-note h3,
.travel-detail .schedule-note p {
  text-align: left;
}

.schedule-event h2 {
  color: var(--paper);
  font-family: Didot, "Bodoni 72", "Bodoni 72 Smallcaps", "Baskerville Old Face", Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: 0.15em;
  line-height: 1.35;
  margin: 0 0 0.8rem;
}

.schedule-event + .schedule-event {
  margin-top: 3.15rem;
}

.schedule-event + .schedule-event::before {
  content: "❦";
  color: var(--red-accent);
  display: block;
  font-size: 1rem;
  line-height: 1;
  margin: 0 auto 2.75rem;
  opacity: 0.78;
}

.travel-details-list .travel-detail + .travel-detail {
  margin-top: 0;
}

.travel-details-list .travel-detail + .travel-detail::before {
  content: none;
  display: none;
}

.schedule-event .host {
  color: var(--paper);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 1.1rem;
}

.event-date,
.event-time,
.event-location {
  color: var(--blue-accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.55;
}

.event-location {
  margin-bottom: 0.95rem;
}

.schedule-notes {
  margin: 1.9rem auto 0;
  max-width: 30rem;
}

.schedule-note {
  margin-top: 1.22rem;
}

.schedule-note h3 {
  color: var(--ink-olive);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.48rem;
}

.schedule-note p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.64;
  max-width: 27rem;
}

.schedule-notes-title {
  color: var(--paper-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 0.95rem;
  text-transform: uppercase;
}

.schedule-notes--panel {
  border: 1px solid rgba(215, 166, 66, 0.48);
  box-shadow: inset 0 0 0 1px rgba(215, 166, 66, 0.14);
  padding: 1.2rem 1.35rem 1.35rem;
}

.schedule-notes--panel .schedule-note:first-of-type {
  margin-top: 0;
}

.schedule-notes--panel .schedule-note p {
  max-width: 22rem;
}

.schedule-notes--panel-tight {
  max-width: 31rem;
  padding: 1.05rem 1.18rem 1.15rem;
}

.schedule-notes--panel-tight .schedule-notes-title {
  color: var(--ink-olive);
  margin-bottom: 0.7rem;
}

.schedule-notes--panel-tight .schedule-note + .schedule-note {
  margin-top: 0.95rem;
}

.schedule-notes--panel-tight .schedule-note h3 {
  font-size: 0.74rem;
  margin-bottom: 0.34rem;
}

.schedule-notes--panel-tight .schedule-note p {
  font-size: 0.9rem;
  line-height: 1.58;
  max-width: 28rem;
}

.travel-panel {
  max-width: 34rem;
}

.travel-panel .schedule-note p {
  max-width: 30rem;
}

.travel-list {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
  list-style: none;
  margin: 0.8rem 0 0;
  max-width: 28rem;
  padding: 0;
  text-align: left;
}

.schedule-notes--panel-soft {
  background: rgba(74, 13, 46, 0.22);
  border-color: rgba(215, 165, 63, 0.26);
  max-width: 24rem;
  padding: 1rem 1.15rem 1.1rem;
}

.schedule-notes--panel-soft .schedule-notes-title {
  color: var(--ink-olive);
  margin-bottom: 0.75rem;
}

.schedule-notes--panel-soft .schedule-note + .schedule-note {
  border-top: 1px solid rgba(215, 165, 63, 0.26);
  margin-top: 0.9rem;
  padding-top: 0.9rem;
}

.schedule-notes--rules {
  max-width: 24rem;
}

.schedule-notes--rules .schedule-note {
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding-top: 0.95rem;
}

.schedule-notes--rules .schedule-note + .schedule-note {
  margin-top: 0.95rem;
}

.schedule-notes--rules .schedule-note:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.schedule-notes--rules .schedule-note h3 {
  margin-bottom: 0.35rem;
}

.schedule-notes--columns {
  column-gap: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 30rem;
}

.schedule-notes--columns .schedule-note {
  margin-top: 0;
}

.schedule-notes--columns .schedule-note p {
  max-width: 100%;
}

.schedule-notes--inline {
  max-width: 25rem;
  text-align: left;
}

.schedule-notes--inline .schedule-note {
  margin-top: 0.85rem;
}

.schedule-notes--inline .schedule-note:first-of-type {
  margin-top: 0;
}

.schedule-notes--inline .schedule-note h3,
.schedule-notes--inline .schedule-note p {
  display: inline;
}

.schedule-notes--inline .schedule-note h3::after {
  content: " ";
}

.schedule-notes--inline .schedule-note p {
  max-width: none;
  text-align: inherit;
}

.schedule-notes--footnotes {
  border-top: 1px solid var(--line);
  max-width: 23rem;
  padding-top: 0.9rem;
}

.schedule-notes--footnotes .schedule-note {
  margin-top: 0.85rem;
  padding-left: 1.5rem;
  position: relative;
}

.schedule-notes--footnotes .schedule-note:first-of-type {
  margin-top: 0;
}

.schedule-notes--footnotes .schedule-note h3 {
  margin-bottom: 0.28rem;
}

.schedule-notes--footnotes .schedule-note::before {
  color: var(--ink-olive);
  font-size: 0.72rem;
  left: 0;
  position: absolute;
  top: 0.12rem;
}

.schedule-notes--footnotes .schedule-note:nth-of-type(1)::before {
  content: "01";
}

.schedule-notes--footnotes .schedule-note:nth-of-type(2)::before {
  content: "02";
}

.schedule-notes--capsules {
  display: grid;
  gap: 0.9rem;
  max-width: 24rem;
}

.schedule-notes--capsules .schedule-note {
  background: rgba(74, 13, 46, 0.22);
  border: 1px solid rgba(215, 165, 63, 0.26);
  margin-top: 0;
  padding: 0.95rem 1rem 1rem;
}

.schedule-notes--capsules .schedule-note h3 {
  margin-bottom: 0.38rem;
}

.schedule-notes--capsules-faint {
  gap: 0.7rem;
  max-width: 23rem;
}

.schedule-notes--capsules-faint .schedule-note {
  background: rgba(74, 13, 46, 0.16);
  border-color: rgba(215, 165, 63, 0.2);
  padding: 0.82rem 0.95rem 0.88rem;
}

.schedule-notes--capsules-faint .schedule-note h3 {
  font-size: 0.72rem;
  margin-bottom: 0.3rem;
}

.schedule-notes--capsules-faint .schedule-note p {
  font-size: 0.86rem;
  line-height: 1.56;
}

.image-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
  margin: 2.75rem auto 0;
  max-width: 68rem;
  text-align: left;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  min-width: 0;
  page-break-inside: avoid;
}

.gallery-item img {
  background: rgba(18, 4, 13, 0.22);
}

figure {
  margin: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.2rem;
  border: 1px solid rgba(215, 165, 63, 0.4);
  filter: saturate(0.88) contrast(0.96);
}

.rsvp-only {
  padding: 0;
}

.rsvp-intro {
  margin-bottom: 1.4rem;
}

.rsvp-intro p {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.62;
  margin: 0;
}

.rsvp-intro p + p {
  margin-top: 0.65rem;
}

@media (max-width: 900px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .paper-background {
    inset: 0.55rem;
  }

  .site-shell {
    width: min(100% - 1.5rem, 42rem);
    padding-top: 1.4rem;
    padding-bottom: 2rem;
  }

  .gallery-shell {
    width: min(100% - 1.5rem, 42rem);
  }

  .card {
    padding: 2.35rem 1.1rem;
  }

  h1 {
    font-size: clamp(1.8rem, 10.5vw, 2.8rem);
    letter-spacing: 0.08em;
  }

  .hero-title {
    gap: 0.18em;
  }

  h2 {
    font-size: clamp(1.45rem, 9vw, 2rem);
    letter-spacing: 0.12em;
  }

  .hero-copy,
  .date,
  .eyebrow,
  .section-kicker,
  h3 {
    letter-spacing: 0.12em;
  }

  .button-options {
    gap: 1.15rem;
    max-width: 17.5rem;
  }

  .button-option {
    column-gap: 1rem;
    row-gap: 1.05rem;
    grid-template-columns: repeat(2, 7.75rem);
  }

  .button-option .schedule-link,
  .button-option .rsvp-link,
  .button-option .gallery-link {
    justify-self: center;
    width: 7.75rem;
  }

  .button-option .gallery-link {
    grid-column: 1 / -1;
  }

  .schedule-link-live::after {
    margin-top: 0.42rem;
    width: 4.7rem;
  }

  .schedule-link-live::before {
    top: calc(100% + 0.25rem);
  }

  .schedule-section h1 {
    font-size: 2.45rem;
    letter-spacing: 0.1em;
    margin-bottom: 2.1rem;
  }

  .travel-section h1 {
    font-size: 2rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .travel-section .lede {
    font-size: 1rem;
    line-height: 1.58;
    max-width: 19rem;
  }

  .travel-details-list {
    margin-top: 2rem;
    max-width: 100%;
  }

  .travel-detail {
    padding: 0.92rem 0;
  }

  .travel-detail summary {
    font-size: 0.9rem;
    letter-spacing: 0.11em;
  }

  .schedule-event h2 {
    font-size: 1rem;
    letter-spacing: 0.13em;
  }

  .schedule-event .host {
    font-size: 0.96rem;
  }

  .event-date,
  .event-time,
  .event-location {
    font-size: 0.82rem;
    letter-spacing: 0.13em;
  }

  .schedule-event > p:last-of-type {
    font-size: 1rem;
    line-height: 1.58;
  }

  .schedule-event + .schedule-event {
    margin-top: 2.65rem;
  }

  .schedule-event + .schedule-event::before {
    margin-bottom: 2.25rem;
  }

  .schedule-notes--columns {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 1;
  }

}
