:root {
  --brand: #55496d;
  --ink: #372f43;
  --blue-ink: #55496d;
  --rust: #704a69;
  --table: #382f46;
}
body {
  background: var(--table);
}
.worktable {
  background-image:
    linear-gradient(#332b423d, #332b423d), url("table-purple.webp");
}
.worktable::before {
  background: linear-gradient(#85748f9e, #352c42 32%, transparent);
}
.room-table-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  z-index: 1;
  background: url("table-purple.webp") center top/1536px 1024px;
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 -8px 12px #2d243b66;
}
.room-imprint {
  z-index: 3;
  gap: 10px;
  width: 145px;
  transform: rotate(-3deg);
}
.room-imprint img {
  width: 112px;
  height: auto;
  mix-blend-mode: multiply;
}
.room-imprint p {
  font:
    18px/1.2 Ink,
    cursive;
  color: var(--brand);
}
.room-imprint .room-smallprint {
  font:
    13px/1.4 Text,
    sans-serif;
  color: #372f43;
}
.room-smallprint {
  margin-top: 9px;
  background: url("paper-stock.webp") center/100% 100% no-repeat;
  padding: 10px 12px;
  transform: rotate(3deg);
}
.table-stamp {
  position: absolute;
  top: 28px;
  left: 7%;
  width: 86px;
  height: auto;
  opacity: 0.85;
  transform: rotate(-5deg);
}
.photo-pencil {
  font-size: 23px;
  bottom: -145px;
}
.photo-pencil cite {
  display: block;
  font:
    11px/1.5 Text,
    sans-serif;
  margin-top: 14px;
}
.open-invitation {
  background: none;
  border: 1px solid transparent;
  border-image: url("paper-stock.webp") 80 fill / 28px/0 stretch;
}
.open-invitation .origin-copy {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 26px;
  color: #62576b;
}
.paper-eyebrow {
  font:
    11px/1.6 Text,
    sans-serif;
  letter-spacing: 0.02em;
  color: #655b6b;
}
.night-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: start;
  gap: 55px;
  padding-top: 110px;
  padding-bottom: 140px;
}
.night-program {
  position: relative;
  padding: 55px 58px 62px;
  transform: rotate(-2deg);
  background: none;
  border: 1px solid transparent;
  border-image: url("paper-stock.webp") 80 fill / 28px/0 stretch;
}
.program-logo {
  position: absolute;
  right: 42px;
  top: 31px;
  width: 62px;
  height: auto;
  opacity: 0.9;
}
.night-program .paper-eyebrow {
  max-width: 70%;
  margin-bottom: 24px;
}
.night-program h2,
.friends-sheet h2 {
  font:
    42px/1.05 Ink,
    cursive;
  color: var(--brand);
  margin: 0 0 38px;
}
.night-running-order {
  list-style: none;
  margin: 0;
  padding: 0;
}
.night-running-order li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 23px 0;
  border-top: 1px solid #55496d26;
}
.night-running-order li > span {
  font:
    24px/1.2 Ink,
    cursive;
  color: var(--brand);
  padding-top: 3px;
}
.night-running-order h3 {
  font:
    24px/1.2 Ink,
    cursive;
  color: var(--brand);
  margin-bottom: 11px;
}
.night-running-order p {
  font-size: 13px;
  line-height: 1.8;
}
.night-colour {
  font-size: 12px;
  line-height: 1.85;
  margin-top: 26px;
  color: #62576b;
}
.next-night {
  padding-top: 90px;
}
.meeting-card {
  position: relative;
  padding: 35px 35px 36px;
  text-align: center;
  transform: rotate(3deg);
}
.meeting-card > .ink {
  font-size: 23px;
  line-height: 1.3;
}
.calendar-date {
  color: var(--brand);
  margin: 28px 0 12px;
}
.calendar-date > span {
  display: block;
  font:
    15px/1.1 Text,
    sans-serif;
  letter-spacing: 0.3em;
  margin-left: 0.3em;
}
.calendar-date strong {
  display: block;
  font:
    110px/0.95 Ink,
    cursive;
  margin-top: 18px;
  letter-spacing: -0.06em;
}
.meeting-card h3 {
  font:
    25px/1.25 Ink,
    cursive;
  margin-bottom: 12px;
  color: var(--brand);
}
.meeting-card > p:not(.ink) {
  font-size: 12px;
  line-height: 1.7;
}
.meeting-venue {
  margin-top: 23px;
  font-weight: 600;
}
.meeting-card .venue-status {
  margin-top: 8px;
  color: #734a60;
  font-size: 16px;
}
.meeting-countdown {
  margin-top: 27px;
  color: var(--brand);
  font-size: 19px !important;
}
.calendar-invitation {
  display: block;
  position: relative;
  width: 175px;
  margin: 25px auto 0;
  padding: 0;
  transform: rotate(-7deg);
  transition: transform 0.45s var(--settle);
}
.calendar-invitation img {
  width: 100%;
  height: auto;
  filter: drop-shadow(5px 8px 5px #382f443d);
}
.calendar-invitation span {
  display: block;
  font:
    17px/1.3 Ink,
    cursive;
  color: var(--brand);
  margin-top: 6px;
}
.keep-date {
  display: block;
  font-size: 17px;
  color: var(--brand);
  padding: 12px 15px;
  margin: 17px auto 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.venue-map {
  display: block;
  position: relative;
  padding: 29px 30px;
  margin: 45px 0 0 -25px;
  width: 290px;
  max-width: 100%;
  transform: rotate(-5deg);
}
.venue-map > .ink {
  display: block;
  font-size: 28px;
  color: var(--brand);
}
.venue-map small {
  display: block;
  font-size: 11px;
  margin-top: 9px;
}
.map-folds {
  position: absolute;
  inset: 8px;
  border-inline: 1px solid #55496d1f;
  background: linear-gradient(
    90deg,
    transparent 31%,
    #55496d20 32%,
    transparent 34%,
    transparent 65%,
    #55496d20 66%,
    transparent 68%
  );
  pointer-events: none;
}
.impact-spread {
  padding-top: 100px;
  padding-bottom: 185px;
}
.impact-heading {
  color: var(--paper);
  margin: 0 0 50px 6%;
  transform: rotate(-3deg);
}
.impact-heading > .ink {
  font-size: 23px;
  margin-bottom: 14px;
}
.impact-heading h2 {
  font:
    70px/1 Ink,
    cursive;
  letter-spacing: -0.03em;
}
.impact-ledger {
  margin: 0 auto;
  width: calc(100% - 110px);
  padding: 58px 64px 55px;
  transform: rotate(0.7deg);
  background: none;
  border: 1px solid transparent;
  border-image: url("paper-stock.webp") 80 fill / 28px/0 stretch;
}
.ledger-heading {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 35px;
  align-items: center;
  padding-bottom: 45px;
  border-bottom: 2px solid #55496d7d;
}
.ledger-heading img {
  width: 92px;
  height: auto;
}
.impact-total {
  font:
    55px/1.1 Ink,
    cursive;
  color: var(--brand);
  margin: 13px 0 15px;
}
.ledger-heading > div > p:last-child {
  font-size: 14px;
  line-height: 1.8;
}
.ledger-asof {
  font-size: 11px;
  color: #62576b;
}
.impact-entry {
  display: grid;
  grid-template-columns: minmax(100px, 0.25fr) minmax(0, 1fr);
  gap: 32px;
  padding: 42px 0;
  border-bottom: 1px solid #55496d30;
}
.gift-number {
  font:
    20px/1.2 Ink,
    cursive;
  color: #75657f;
}
.gift-reference p {
  font-size: 11px;
  margin: 12px 0 8px;
}
.gift-reference strong {
  font:
    27px/1.1 Ink,
    cursive;
  color: var(--brand);
}
.gift-charity {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand);
  margin-bottom: 15px;
}
.gift-story h3 {
  font:
    31px/1.2 Ink,
    cursive;
  color: var(--brand);
  margin: 0 0 17px;
  max-width: 560px;
}
.gift-story > p:last-child {
  font-size: 14px;
  line-height: 1.85;
  max-width: 680px;
}
.latest-selection {
  margin: 43px 0 0 auto;
  padding: 25px 30px;
  width: 70%;
  background: #55496d0b;
  border-left: 2px solid #55496d73;
}
.latest-selection > .ink {
  font-size: 19px;
  color: var(--brand);
}
.latest-selection h3 {
  font:
    29px/1.25 Ink,
    cursive;
  margin: 12px 0;
  color: var(--brand);
}
.latest-selection p {
  font-size: 13px;
  line-height: 1.8;
}
.recent-selections {
  margin-top: 13px;
  color: #62576b;
}
.recipient-archive {
  margin-top: 45px;
}
.archive-grip {
  width: 100%;
  text-align: left;
  padding: 25px 0 15px;
  border-top: 1px dashed #55496d80;
  color: var(--brand);
}
.archive-grip > span {
  display: block;
  font:
    26px/1.3 Ink,
    cursive;
}
.archive-grip small {
  display: block;
  font:
    15px/1.4 Ink,
    cursive;
  margin-top: 9px;
}
.recipient-fold {
  height: calc(var(--archive-height, 0px) * var(--archive-open, 0));
  overflow: hidden;
  perspective: 1500px;
}
.recipient-years {
  transform-origin: 50% 0;
  transform: rotateX(calc((1 - var(--archive-open, 0)) * -9deg));
}
.recipient-years {
  padding: 25px 0 5px;
}
.recipient-year {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 15px;
  padding: 17px 0;
  border-top: 1px solid #55496d20;
}
.recipient-year h4 {
  font:
    22px/1.4 Ink,
    cursive;
  margin: 0;
  color: var(--brand);
}
.recipient-year p {
  font-size: 12px;
  line-height: 1.9;
}
.impact-quote {
  position: relative;
  width: 335px;
  padding: 30px 36px;
  margin: 50px 0 0 1%;
  transform: rotate(-5deg);
}
.impact-quote blockquote {
  margin: 0;
  font:
    30px/1.25 Ink,
    cursive;
  color: var(--brand);
}
.impact-quote figcaption {
  margin-top: 18px;
  font-size: 11px;
}
.impact-stub {
  width: max-content;
  max-width: 95%;
  margin: -68px 4% 0 auto;
  transform: rotate(4deg);
}
.collection-note {
  width: 470px;
}
.collection-note h2 {
  font-size: 31px;
}
.collection-note p {
  max-width: 350px;
}
.friends-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.58fr);
  gap: 55px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 125px;
}
.friends-sheet {
  padding: 50px 51px 55px;
  transform: rotate(-2deg);
  background: none;
  border: 1px solid transparent;
  border-image: url("paper-stock.webp") 80 fill / 28px/0 stretch;
}
.friends-sheet > .paper-eyebrow {
  margin-bottom: 23px;
}
.sponsor-credit {
  padding: 20px 0;
  border-top: 1px solid #55496d25;
}
.sponsor-credit h3 {
  font:
    26px/1.3 Ink,
    cursive;
  margin: 0 0 10px;
  color: var(--brand);
}
.sponsor-credit p,
.past-thanks,
.beyond-cheque p {
  font-size: 13px;
  line-height: 1.85;
}
.past-thanks {
  color: #62576b;
  margin-top: 25px;
}
.beyond-cheque {
  margin-top: 35px;
}
.beyond-cheque h3 {
  font-size: 25px;
  color: var(--brand);
  margin-bottom: 14px;
}
.community-quote {
  padding: 35px 34px;
  transform: rotate(5deg);
}
.community-quote > .ink {
  font-size: 23px;
  color: #75617d;
}
.community-quote blockquote {
  font:
    30px/1.35 Ink,
    cursive;
  margin: 15px 0 23px;
  color: var(--brand);
}
.community-quote figcaption {
  font-size: 11px;
  line-height: 1.7;
}
.imprint-scene {
  flex-wrap: wrap;
  gap: 35px;
}
.imprint-card {
  min-height: 400px;
}
.imprint-front {
  gap: 16px;
}
.imprint-logo {
  width: 115px;
  height: auto;
}
.imprint-name {
  font:
    25px/1.2 Ink,
    cursive;
  color: var(--brand);
}
.imprint-front > .imprint-prompt {
  font-size: 17px;
}
.imprint-back p.colophon {
  font-size: 10px;
  color: #655b6b;
}
.contact-note {
  display: block;
  width: 310px;
  max-width: 100%;
  padding: 28px 31px;
  transform: rotate(3deg);
}
.contact-note > .ink {
  font-size: 25px;
  color: var(--brand);
}
.contact-note strong {
  display: block;
  font:
    17px/1.6 Ink,
    cursive;
  margin: 10px 0;
  overflow-wrap: anywhere;
  color: var(--brand);
}
.contact-note small {
  font-size: 11px;
}
.motion-note {
  margin-top: 35px;
}
.guide-cover {
  color: var(--brand);
}
.letter-logo {
  position: absolute;
  right: 20px;
  top: 5px;
  width: 68px;
  height: auto;
}
.letter-context {
  position: relative;
  padding-right: 85px;
  margin-bottom: 27px;
}
.letter-title {
  font:
    38px/1.15 Ink,
    cursive;
  color: var(--brand);
  margin-top: 16px;
}
.letter-body,
.writing-paper textarea,
.flowing-ink,
.address-inner input {
  color: var(--brand);
  caret-color: var(--brand);
}
.letter-subject .ink-correction,
.signature-line .ink-correction {
  font-size: 14px;
  line-height: 1.5;
}
.nomination-website {
  margin: 22px 0;
  position: relative;
}
.nomination-website label {
  display: block;
  font-size: 20px;
}
.nomination-website input {
  width: 100%;
  max-width: 100%;
  font-size: 20px;
}
.donation-amount {
  display: block;
  gap: 7px;
  align-items: baseline;
  flex-wrap: wrap;
  position: relative;
  margin: 25px 0;
}
.donation-amount input {
  display: inline-block;
  width: var(--ink-width, 4ch);
  max-width: 50%;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: textfield;
  color: var(--brand);
  font: inherit;
}
.donation-amount input::-webkit-inner-spin-button,
.donation-amount input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.donation-amount .ink-correction {
  width: 100%;
}
.letter-agreement {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  position: relative;
  padding: 12px 0;
  margin: 5px 0 24px;
  cursor: pointer;
  font:
    16px/1.6 Ink,
    cursive;
}
.letter-agreement input {
  position: absolute;
  left: 0;
  top: 15px;
  width: 22px;
  height: 22px;
  opacity: 0;
}
.letter-agreement .pencil-box {
  margin-top: 3px;
  border-radius: 1px 2px 0 3px;
  transform: rotate(-3deg);
  border-color: #55496d80;
}
.letter-agreement input:checked + .pencil-box::after {
  content: "";
  display: block;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
  margin: 4px 3px;
}
.letter-agreement input:focus-visible + .pencil-box {
  outline: 0;
  box-shadow:
    -3px 2px 0 -2px var(--brand),
    3px -2px 0 -2px var(--brand);
  border-color: var(--brand);
}
.letter-agreement input[aria-invalid="true"] + .pencil-box {
  border-color: #8b3e54;
  border-width: 2px;
}
#agreement-error {
  margin: -15px 0 20px 33px;
  font-size: 15px;
}
.ink-impression {
  color: #55496dcf;
  border-color: #55496daf;
  outline-color: #55496d7d;
}

/* The letter is on this table. The document remains the only scroll surface. */
body.note-open {
  overflow: visible;
}
.reply-dialog[open] {
  display: block;
  position: absolute;
  inset: auto;
  left: 0;
  top: 190px;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  padding: 0;
  margin: 0;
  overflow: visible;
  overscroll-behavior: auto;
  z-index: 12;
  background: transparent;
}
.reply-dialog.in-transit {
  overflow: visible;
  touch-action: auto;
}
.reply-dialog::backdrop {
  background: transparent;
}
.writing-desk {
  min-height: 0;
  padding-top: 24px;
}
.writing-reserve {
  height: 0;
  pointer-events: none;
  overflow-anchor: none;
}
.envelope-actor,
.paper-rig,
.address-packet {
  position: absolute;
}
.reply-dialog:not([open]) {
  display: none;
}
body.at-table.note-open .wayfinder {
  opacity: 1;
  pointer-events: none;
}
.outbox-arrangement {
  min-height: 200px;
}
.outbox-tray {
  min-height: 150px;
}
.question-cover > span:first-child {
  white-space: pre-line;
}
.calendar-invitation:focus-visible,
.venue-map:focus-visible,
.keep-date:focus-visible,
.archive-grip:focus-visible,
.contact-note:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
.calendar-invitation.is-pressed {
  transform: rotate(-4deg) translateY(3px);
}
@media (hover: hover) and (pointer: fine) {
  .calendar-invitation:hover {
    transform: rotate(-4deg) translateY(-5px);
  }
  .venue-map:hover {
    transform: rotate(-3deg) translateY(-3px);
  }
}
@media (max-width: 1000px) {
  .night-spread {
    gap: 30px;
  }
  .night-program {
    padding: 44px 35px 49px;
  }
  .meeting-card {
    padding: 30px 25px;
  }
  .impact-ledger {
    width: calc(100% - 30px);
    padding: 43px 44px;
  }
  .friends-spread {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
  }
  .friends-sheet {
    padding: 40px 35px;
  }
}
@media (max-width: 850px) {
  .night-spread {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 70px;
  }
  .night-program {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
  .next-night {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
    align-items: center;
    gap: 28px;
    padding-top: 20px;
  }
  .venue-map {
    margin: 0;
  }
  .ledger-heading {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 23px;
  }
  .ledger-heading img {
    width: 70px;
  }
  .impact-total {
    font-size: 43px;
  }
  .impact-entry {
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 23px;
  }
  .friends-spread {
    grid-template-columns: minmax(0, 1fr);
  }
  .community-quote {
    max-width: 390px;
    margin: 10px 0 0 auto;
  }
}
@media (max-width: 650px) {
  .room-imprint {
    width: 110px;
    gap: 7px;
  }
  .room-imprint img {
    width: 78px;
  }
  .room-imprint > p:not(.room-smallprint) {
    display: none;
  }
  .room-imprint .room-smallprint {
    font:
      11px/1.4 Ink,
      cursive;
    max-width: 110px;
    margin-top: 1px;
  }
  .room-table-edge {
    height: 44px;
  }
  .open-invitation .origin-copy {
    font-size: 12px;
  }
  .night-spread {
    padding-top: 65px;
    padding-bottom: 90px;
    gap: 40px;
  }
  .night-program {
    padding: 40px 27px 43px;
    transform: rotate(-1deg);
  }
  .program-logo {
    width: 48px;
    right: 24px;
    top: 28px;
  }
  .night-program h2,
  .friends-sheet h2 {
    font-size: 35px;
  }
  .night-program .paper-eyebrow {
    max-width: 72%;
    font-size: 10px;
  }
  .night-running-order li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    padding: 24px 0;
  }
  .night-running-order h3 {
    font-size: 24px;
  }
  .night-running-order p {
    font-size: 13px;
  }
  .night-running-order li > span {
    font-size: 22px;
  }
  .night-colour {
    font-size: 12px;
  }
  .next-night {
    display: block;
    max-width: 355px;
    margin: auto;
    padding: 0 8px;
  }
  .meeting-card {
    padding: 35px 27px 34px;
  }
  .meeting-card .calendar-date strong {
    font-size: 100px;
  }
  .venue-map {
    margin: 40px 0 0 -10px;
    width: 285px;
  }
  .impact-spread {
    padding-top: 70px;
    padding-bottom: 110px;
  }
  .impact-heading {
    margin: 0 0 37px 3%;
  }
  .impact-heading h2 {
    font-size: 55px;
  }
  .impact-heading > .ink {
    font-size: 21px;
  }
  .impact-ledger {
    width: 100%;
    padding: 36px 28px;
    transform: rotate(0.35deg);
  }
  .ledger-heading {
    display: block;
    padding-bottom: 32px;
  }
  .ledger-heading img {
    width: 63px;
    margin-bottom: 23px;
  }
  .impact-total {
    font-size: 37px;
  }
  .ledger-heading > div > p:last-child {
    font-size: 13px;
  }
  .impact-entry {
    display: block;
    padding: 32px 0;
  }
  .gift-reference {
    display: flex;
    gap: 12px;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 21px;
  }
  .gift-reference p {
    margin: 0;
    font-size: 11px;
  }
  .gift-reference strong {
    font-size: 24px;
    margin-left: auto;
  }
  .gift-story h3 {
    font-size: 29px;
    line-height: 1.2;
  }
  .gift-story > p:last-child {
    font-size: 14px;
    line-height: 1.8;
  }
  .latest-selection {
    width: 100%;
    padding: 22px 0 22px 18px;
    background: none;
  }
  .archive-grip > span {
    font-size: 24px;
  }
  .recipient-year {
    display: block;
  }
  .recipient-year h4 {
    margin-bottom: 8px;
  }
  .recipient-year p {
    font-size: 13px;
  }
  .impact-quote {
    width: 280px;
    padding: 26px 29px;
    margin: 38px 0 0 -3px;
  }
  .impact-quote blockquote {
    font-size: 28px;
  }
  .impact-quote figcaption {
    font-size: 11px;
  }
  .impact-stub {
    margin: 30px 0 0 auto;
  }
  .collection-note {
    width: 100%;
    max-width: 100%;
    padding-inline: 27px;
  }
  .collection-note h2 {
    font-size: 29px;
  }
  .collection-note p {
    font-size: 12px;
  }
  .friends-spread {
    padding-top: 65px;
    padding-bottom: 90px;
    gap: 35px;
  }
  .friends-sheet {
    padding: 38px 29px;
  }
  .community-quote {
    padding: 29px;
    width: 90%;
  }
  .community-quote blockquote {
    font-size: 28px;
  }
  .imprint-logo {
    width: 110px;
  }
  .imprint-card {
    min-height: 420px;
  }
  .contact-note {
    margin: 38px 0 0 auto;
    width: 285px;
    padding: 26px 25px;
  }
  .motion-note {
    margin-top: 38px;
  }
  .letter-logo {
    width: 54px;
    right: 40px;
    top: 8px;
  }
  .letter-context {
    padding-right: 64px;
  }
  .letter-title {
    font-size: 33px;
    margin-top: 13px;
  }
  .letter-agreement {
    font-size: 15px;
    line-height: 1.6;
  }
  .letter-body .ink-correction {
    font:
      14px/1.5 Ink,
      cursive;
    color: #8b3e54;
  }
  .writing-desk {
    padding-top: 18px;
  }
  .table-stamp {
    width: 58px;
    top: 15px;
    left: 7%;
  }
  .nomination-website input,
  .nomination-website label {
    font-size: 20px;
  }
}
