body {
  --night: #151a21;
  --ivory: #f7edda;
  --pink: #ffb89d;
  background: var(--night);
  color: var(--ivory);
  font-family: "Atkinson Hyperlegible Next", Arial, sans-serif;
}
main {
  max-width: 1800px;
  margin: auto;
}
.d-spread {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}
.d-party-picture {
  position: relative;
  min-height: 260px;
}
.d-party-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.d-party-picture figcaption {
  position: absolute;
  bottom: 18px;
  left: 5%;
  padding: 5px 10px;
  background: #14191fe6;
  color: white;
  font-size: 12px;
}
.d-spread > .d-dessert {
  position: relative;
  isolation: isolate;
  justify-content: flex-start;
  padding: clamp(24px, 4vw, 68px);
  background: #201d1b;
}
.d-spread > .d-dessert img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.d-spread > .d-dessert::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #151317f7, #151317c9 35%, transparent 76%);
}
.d-spread > .d-dessert > div {
  max-width: 40ch;
}
.d-nav,
.d-nav nav,
.d-footer {
  display: flex;
  align-items: center;
  gap: 20px;
}
a {
  text-underline-offset: 4px;
}
.d-nav {
  grid-column: 1/-1;
  justify-content: space-between;
  padding: 13px 4%;
  border-bottom: 1px solid #716b61;
  background: #161920;
}
.d-nav > a {
  font:
    400 clamp(22px, 2.5vw, 36px) / 1 Gloock,
    Georgia,
    serif;
  text-decoration: none;
}
.d-nav nav {
  font-size: 14px;
}
.d-invite {
  min-height: min(70vh, 650px);
  align-self: stretch;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.d-invite > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.d-invite:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    #11161ac9 0%,
    #21171063 36%,
    transparent 57%,
    #101219d6
  );
}
.d-cover-title {
  position: absolute;
  inset: 0;
  min-height: 100%;
  padding: clamp(22px, 4vw, 74px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.d-cover-title > p:first-child,
.d-courses > header > p:first-child,
.d-menu > p,
.d-dessert > div > p:first-child,
.d-rsvp-inner > p:first-child,
.d-story figcaption {
  font:
    400 12px/1.5 "Space Mono",
    monospace;
}
.d-cover-title h1 {
  font:
    400 clamp(68px, 11.7vw, 205px) / 0.79 Gloock,
    Georgia,
    serif;
  letter-spacing: -0.067em;
  margin: clamp(18px, 3vw, 45px) 0;
}
.d-cover-title > p:nth-of-type(2) {
  margin-top: auto;
  font:
    400 clamp(29px, 3.3vw, 63px) / 1 Gloock,
    serif;
}
.d-cover-title a {
  margin-top: 13px;
}
.d-reader {
  min-width: 0;
}
.d-reader > section {
  padding: clamp(26px, 4vw, 70px) clamp(22px, 4.7vw, 78px);
}
h2 {
  font:
    400 clamp(31px, 3.8vw, 67px) / 1.06 Gloock,
    Georgia,
    serif;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.d-courses {
  border-bottom: 1px solid #6e6661;
}
.d-courses h2 {
  margin: 12px 0 8px;
  color: var(--pink);
}
.d-courses > header > p:last-child {
  max-width: 47ch;
}
.d-course-book {
  margin-top: 23px;
}
.d-course-book details {
  border-bottom: 1px solid #686765;
  padding: 8px 0;
}
.d-course-book summary {
  padding: 6px 0;
  font:
    400 22px/1.15 Gloock,
    Georgia,
    serif;
}
.d-course-book summary span {
  font:
    400 14px/1 "Space Mono",
    monospace;
  color: var(--pink);
  margin-right: 10px;
}
.d-course-book h3 {
  font:
    600 18px/1.25 "Atkinson Hyperlegible Next",
    sans-serif;
  margin: 9px 0 6px;
}
.d-course-book details p {
  max-width: 43ch;
  margin-bottom: 12px;
}
.d-menu {
  background: #f6b69d;
  color: #372527;
}
.d-menu > p {
  margin: 8px 0 17px;
}
.d-menu details {
  border-top: 1px solid #865951;
  padding: 8px 0;
}
.d-menu summary {
  font-size: 18px;
  font-weight: 700;
}
.d-menu summary span {
  float: right;
  font-size: 13px;
  margin-left: 5px;
}
.d-menu details > div {
  margin: 7px 0;
}
.d-menu details a {
  display: inline-block;
  margin-top: 10px;
}
.d-story {
  background: #232c34;
}
.d-story img,
.d-dessert img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
}
.d-story figcaption {
  margin: 5px 0 18px;
}
.d-story p,
.d-dessert p,
.d-visit p {
  margin: 9px 0;
}
.d-story > div > p:first-child,
.d-visit > div:first-child > p,
.d-flourish {
  display: none;
}
.d-dessert {
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
}
.d-dessert img {
  aspect-ratio: 2.1;
}
.d-timing {
  background: #f3ecdc;
  color: #33302d;
}
.d-timing > div {
  margin-top: 16px;
}
.d-timing article {
  margin: 11px 0;
}
.d-timing b {
  font-weight: 750;
}
.d-visit {
  background: #263044;
}
.d-visit address {
  margin-top: 12px;
  font-style: normal;
}
.d-visit h2 br {
  display: none;
}
.d-rsvp {
  border-top: 1px solid #706d65;
}
.d-rsvp h2 {
  margin: 7px 0 12px;
  color: var(--pink);
}
.d-rsvp form {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}
.d-rsvp label {
  display: grid;
  gap: 3px;
}
.d-rsvp :is(input, select, textarea) {
  width: 100%;
  min-height: 44px;
  background: #242b33;
  border: 1px solid #9f9b91;
  color: var(--ivory);
  border-radius: 4px;
  padding: 8px;
}
.d-rsvp input[readonly] {
  background: transparent;
  color: var(--pink);
  font:
    700 18px/1.2 "Atkinson Hyperlegible Next",
    sans-serif;
}
.d-rsvp button {
  padding: 12px 15px;
  min-height: 44px;
  background: var(--pink);
  color: var(--night);
  border: 0;
  border-radius: 4px;
  font-weight: 700;
}
.d-rsvp output {
  padding: 13px;
  background: #2d3440;
}
.d-footer {
  padding: 17px 6%;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 12px;
  background: #0b1015;
}
@keyframes kitchen-focus {
  from {
    transform: scale(1.065);
  }
  to {
    transform: scale(1);
  }
}
@keyframes menu-unfold {
  from {
    transform: translateX(12px);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .d-invite.in-view img {
    animation: kitchen-focus 1.2s ease-out both;
  }
  .d-courses.in-view details[open] h3 {
    animation: menu-unfold 0.55s ease-out both;
  }
}
@media (max-width: 760px) {
  .d-spread {
    display: block;
  }
  .d-party-picture {
    min-height: 210px;
  }
  .d-spread > .d-dessert {
    min-height: 350px;
  }
  main {
    display: block;
  }
  .d-nav nav {
    gap: 10px;
    font-size: 12px;
  }
  .d-invite {
    position: relative;
    min-height: 370px;
    height: 60svh;
    max-height: 560px;
  }
  .d-invite img {
    object-position: 50% 61%;
  }
  .d-cover-title h1 {
    font-size: clamp(76px, 19vw, 135px);
  }
  .d-cover-title > p:nth-of-type(2) {
    font-size: 30px;
  }
  .d-reader > section {
    padding: 28px 6%;
  }
  .d-menu summary span {
    float: none;
    display: block;
    margin-left: 18px;
  }
  .d-menu summary {
    font-size: 17px;
  }
}
