@font-face {
  font-family: "Paprika";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/paprika.woff2") format("woff2");
}

@font-face {
  font-family: "Hunter Skyfar";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/hunter-skyfar.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/open-sans-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/open-sans-bold.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --aubergine: #51204f;
  --violet: #7b3674;
  --lavender: #aa82ad;
  --gold: #c9a467;
  --cream: #fffaf2;
  --paper: #f7efe5;
  --ink: #44353f;
  --white: #fffdf9;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--aubergine);
}

body {
  margin: 0;
  color: var(--white);
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  background: var(--aubergine);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background-image: url("hero-old.jpg");
  background-position: center 46%;
  background-size: cover;
}

.page-shell::before,
.page-shell::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.page-shell::before {
  background:
    linear-gradient(90deg, rgba(39, 20, 46, .84), rgba(55, 27, 57, .55) 50%, rgba(44, 19, 48, .72)),
    linear-gradient(180deg, rgba(27, 25, 45, .13), rgba(34, 12, 35, .54));
}

.page-shell::after {
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(38, 13, 37, .58));
}

.site-header,
.site-footer,
.farewell {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .27);
}

.wordmark {
  display: block;
  width: min(370px, 55vw);
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(28, 9, 30, .26));
}

.header-note,
.eyebrow,
.site-footer {
  text-transform: uppercase;
  letter-spacing: .15em;
}

.header-note {
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .82);
}

.farewell {
  display: grid;
  align-items: center;
  gap: clamp(24px, 3vw, 34px);
  padding-block: clamp(36px, 6vh, 72px);
}

.farewell-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(330px, .82fr);
  gap: clamp(26px, 4vw, 58px);
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 44px;
  background: rgba(255, 250, 242, .96);
  box-shadow: 0 30px 80px rgba(27, 9, 29, .38);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.message,
.portrait,
.portrait-stage {
  position: relative;
  z-index: 1;
}

.message {
  align-self: center;
  padding-block: 6px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--violet);
  font-size: .65rem;
  font-weight: 700;
}

h1,
h2,
.names {
  font-weight: 400;
}

h1 {
  margin: 0 0 27px;
  color: var(--aubergine);
  line-height: 1;
}

h1 > span {
  display: block;
  font-family: "Paprika", cursive;
  font-size: clamp(3.45rem, 5.4vw, 5.25rem);
  line-height: 1.04;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  letter-spacing: -.015em;
  text-rendering: optimizeLegibility;
  word-spacing: .035em;
}

h1 small {
  display: block;
  margin-top: 16px;
  font-family: "Paprika", cursive;
  font-size: clamp(1.5rem, 2.35vw, 2.25rem);
  line-height: 1.3;
}

.salutation {
  margin: 0 0 17px;
  color: var(--violet);
  font-family: "Paprika", cursive;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.5;
}

.message > p:not(.eyebrow, .salutation) {
  max-width: 660px;
  margin: 0 0 15px;
  color: #594b54;
  font-size: 1rem;
  line-height: 1.72;
}

.signoff {
  position: relative;
  min-height: 78px;
  margin-top: 27px;
  padding: 21px 0 0 76px;
  border-top: 1px solid rgba(81, 32, 79, .16);
}

.signoff p {
  margin: 0;
  color: #675865;
  font-family: "Paprika", cursive;
  font-size: .85rem;
}

.signoff .names {
  margin-top: 3px;
  color: var(--aubergine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: .015em;
}

.lavender-mark {
  position: absolute;
  bottom: -7px;
  left: 8px;
  width: 45px;
  height: 78px;
  transform: rotate(-8deg);
}

.lavender-mark .stem {
  fill: none;
  stroke: #799061;
  stroke-linecap: round;
  stroke-width: 2;
}

.lavender-mark .buds {
  fill: #88608d;
  opacity: .88;
}

.portrait-stage {
  display: grid;
  align-self: center;
  place-items: center;
  min-width: 0;
}

.portrait-bouquet {
  position: absolute;
  top: -145%;
  right: -130%;
  z-index: 0;
  display: block;
  width: 220%;
  max-width: 780px;
  height: auto;
  opacity: .21;
  pointer-events: none;
  transform: rotate(-7deg);
  user-select: none;
}

.portrait {
  align-self: center;
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  margin: 0 auto;
  padding: 10px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(58, 31, 55, .24);
  transform: rotate(1.7deg);
}

.portrait::before {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 94px;
  height: 29px;
  background: rgba(231, 214, 181, .68);
  box-shadow: 0 2px 4px rgba(70, 46, 60, .08);
  content: "";
  transform: translateX(-50%) rotate(-2deg);
}

.portrait-crop {
  height: clamp(280px, 24vw, 300px);
  overflow: hidden;
  border-radius: 20px;
}

.portrait img {
  display: block;
  width: 190%;
  max-width: none;
  height: auto;
  margin-top: -11%;
  margin-left: -10%;
}

.continuation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

.continuation-photo {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(27, 9, 29, .3);
}

.continuation-photo img {
  position: absolute;
  top: 10px;
  left: 10px;
  display: block;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 20px;
  object-fit: cover;
  object-position: center 57%;
}

.next-chapter {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 0;
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(145deg, #7c3c75, #562654);
  box-shadow: 0 13px 28px rgba(58, 31, 55, .18);
  color: var(--white);
}

.next-chapter .eyebrow {
  margin-bottom: 8px;
  color: #ead39d;
}

.next-chapter h2 {
  margin: 0 0 13px;
  font-family: "Paprika", cursive;
  font-size: clamp(1.55rem, 2.35vw, 2rem);
  line-height: 1.25;
  white-space: nowrap;
}

.next-chapter > p:not(.eyebrow) {
  max-width: 460px;
  margin: 0 0 13px;
  color: rgba(255, 255, 255, .86);
  font-size: .94rem;
  line-height: 1.7;
}

.next-chapter strong {
  color: #fff;
  font-weight: 700;
}

.cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-top: 18px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, .53);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .025em;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.cta svg {
  flex: 0 0 auto;
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  background: rgba(255, 255, 255, .19);
  outline: none;
  transform: translateY(-2px);
}

.cta:hover svg,
.cta:focus-visible svg {
  transform: translateX(3px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px 24px;
  color: rgba(255, 255, 255, .68);
  font-size: .58rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, .28);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  line-height: 0;
}

.footer-credit img {
  display: block;
  width: 70px;
  height: 15px;
  filter: brightness(0) invert(1);
  opacity: .68;
  transition: opacity 180ms ease;
}

.footer-credit:hover img,
.footer-credit:focus-visible img {
  opacity: 1;
}

.legal-content {
  display: grid;
  align-items: start;
  width: min(880px, calc(100% - 64px));
  margin-inline: auto;
  padding-block: clamp(36px, 6vh, 70px);
}

.legal-card {
  min-width: 0;
  padding: clamp(34px, 6vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 38px;
  background: rgba(255, 250, 242, .97);
  box-shadow: 0 28px 70px rgba(27, 9, 29, .34);
  color: var(--ink);
}

.legal-card .back-link {
  display: inline-block;
  margin-bottom: 34px;
  color: #75516f;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.legal-card .back-link:hover,
.legal-card .back-link:focus-visible {
  color: var(--aubergine);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-card h1 {
  margin: 0 0 38px;
  color: var(--aubergine);
  font-family: "Paprika", cursive;
  font-size: clamp(2.35rem, 6vw, 4rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.legal-card section + section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(81, 32, 79, .13);
}

.legal-card h2 {
  margin: 0 0 10px;
  color: var(--aubergine);
  font-family: "Paprika", cursive;
  font-size: 1.17rem;
  font-weight: 400;
  line-height: 1.45;
}

.legal-card p,
.legal-card address {
  margin: 0;
  color: #594b54;
  font-size: .93rem;
  font-style: normal;
  line-height: 1.75;
}

.legal-card p + p {
  margin-top: 13px;
}

.legal-card a:not(.back-link) {
  color: var(--violet);
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.legal-card .legal-date {
  margin-top: 36px;
  color: #8d7e88;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer a[aria-current="page"] {
  color: #fff;
  text-decoration-color: currentColor;
}

@media (max-width: 940px) {
  .page-shell {
    overflow: visible;
  }

  .farewell-card {
    grid-template-columns: 1fr;
    max-width: 700px;
  }

  .portrait {
    width: min(100%, 500px);
  }

  .portrait-crop {
    height: min(46vw, 280px);
  }
}

@media (min-width: 721px) and (max-width: 940px) {
  .continuation {
    gap: 20px;
  }

  .next-chapter {
    padding: 28px;
  }

  .next-chapter h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
  }

  .next-chapter > p:not(.eyebrow) {
    margin-bottom: 8px;
    font-size: .85rem;
    line-height: 1.58;
  }

  .cta {
    gap: 10px;
    margin-top: 10px;
    padding: 12px 14px;
    font-size: .68rem;
  }
}

@media (max-width: 720px) {
  .continuation {
    grid-template-columns: 1fr;
  }

  .continuation-photo {
    min-height: 0;
    aspect-ratio: 2 / 1;
  }

  .next-chapter {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .farewell {
    width: min(100% - 18px, 1180px);
  }

  .legal-content {
    width: min(100% - 18px, 880px);
    padding-block: 27px 40px;
  }

  .site-header {
    justify-content: center;
    padding-top: 21px;
  }

  .header-note {
    display: none;
  }

  .wordmark {
    width: min(100%, 335px);
    margin-inline: auto;
  }

  .farewell {
    padding-block: 27px 40px;
  }

  .farewell-card {
    gap: 27px;
    padding: 32px 20px 23px;
    border-radius: 26px;
  }

  h1 > span {
    font-size: clamp(3.05rem, 16vw, 4.35rem);
  }

  h1 small {
    margin-top: 11px;
    font-size: clamp(1.28rem, 6.8vw, 1.75rem);
  }

  .salutation {
    font-size: clamp(.96rem, 4.3vw, 1.12rem);
  }

  .message > p:not(.eyebrow, .salutation) {
    margin-bottom: 13px;
    font-size: .93rem;
    line-height: 1.66;
  }

  .signoff {
    padding-left: 65px;
  }

  .lavender-mark {
    left: 2px;
  }

  .portrait {
    width: 100%;
  }

  .portrait-crop {
    height: clamp(220px, 66vw, 260px);
  }

  .next-chapter {
    min-height: 0;
    padding: 25px 22px;
    border-radius: 23px;
  }

  .next-chapter h2 {
    font-size: clamp(1.4rem, 6.4vw, 1.85rem);
  }

  .continuation {
    gap: 18px;
  }

  .continuation-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 23px;
  }

  .continuation-photo img {
    border-radius: 15px;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    padding-bottom: 22px;
    text-align: center;
  }

  .site-footer nav {
    justify-content: center;
    width: 100%;
  }

  .legal-card {
    padding: 32px 22px;
    border-radius: 26px;
  }

  .legal-card .back-link {
    margin-bottom: 28px;
  }

  .legal-card h1 {
    margin-bottom: 30px;
    font-size: clamp(1.75rem, 7vw, 3.2rem);
  }

  .legal-card section + section {
    margin-top: 26px;
    padding-top: 23px;
  }
}

@media (max-width: 360px) {
  .farewell-card {
    padding-inline: 18px;
  }

  .eyebrow {
    font-size: .59rem;
    letter-spacing: .13em;
  }

  .cta {
    padding-inline: 15px;
    font-size: .68rem;
  }

  .site-footer nav {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
