:root {
  --ink: #241f2a;
  --purple: #4f2a68;
  --gold: #ffe889;
  --cream: #fff8e8;
  --blue: #dceef8;
  --soft: #f1e8f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

main {
  display: grid;
  gap: 32px;
  justify-content: center;
  padding: 32px;
}

.slide {
  position: relative;
  width: min(1080px, calc(100vw - 32px));
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7f3ee;
  border: 4px solid var(--ink);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgb(31 21 45 / 18%);
}

.slide::after {
  content: "© 2026 Merci Soothing Touch Massage and Bodywork, LLC. All rights reserved. Merci Soothing Touch Massage and Bodywork™ is a trademark of Merci Soothing Touch Massage and Bodywork, LLC.";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 6px;
  z-index: 4;
  color: rgb(23 21 26 / 72%);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 0%) 62%, rgb(255 248 232 / 74%) 100%);
  pointer-events: none;
}

.bubble {
  position: absolute;
  z-index: 3;
  max-width: 430px;
  padding: 20px 22px;
  background: white;
  border: 4px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 rgb(79 42 104 / 22%);
  font-size: 28px;
  line-height: 1.14;
  font-weight: 900;
}

.bubble.long {
  font-size: 21px;
  line-height: 1.12;
}

.bubble::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background: inherit;
  border-right: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  transform: rotate(45deg);
  bottom: -18px;
  left: 70px;
}

.thought {
  border-style: dashed;
}

.bubble[data-speaker]::before {
  content: attr(data-speaker);
  position: absolute;
  top: -17px;
  left: 20px;
  padding: 4px 10px;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.clarice {
  background: #f4ecff;
}

.rabbit {
  background: white;
}

.narrator,
.tortoise {
  background: var(--blue);
}

.s1-rabbit {
  left: 42px;
  top: 64px;
  max-width: 510px;
}

.s1-rabbit::after {
  left: auto;
  right: 72px;
}

.s1-tortoise {
  right: 38px;
  top: 64px;
  max-width: 360px;
  background: var(--blue);
}

.s1-tortoise::after {
  left: auto;
  right: 72px;
}

.s2-clarice {
  left: 350px;
  top: 18px;
  max-width: 455px;
  font-size: 17px;
}

.s2-clarice::after,
.s6-tortoise::after {
  left: auto;
  right: 72px;
}

.s4-clarice::after {
  left: auto;
  right: 72px;
}

.s2-rabbit {
  left: 46px;
  bottom: 86px;
  max-width: 390px;
}

.s3-narrator {
  left: 118px;
  top: 28px;
  max-width: 380px;
}

.s3-narrator::after {
  left: auto;
  right: 68px;
}

.s3-tortoise {
  left: 72px;
  top: 112px;
  max-width: 310px;
  background: var(--blue);
}

.s3-rabbit {
  right: 42px;
  top: 44px;
  width: 220px;
  font-size: 21px;
  line-height: 1.12;
}

.s3-rabbit::after {
  left: 24px;
  right: auto;
}

.s4-clarice {
  right: 320px;
  top: 34px;
  max-width: 400px;
  font-size: 24px;
}

.s5-rabbit {
  left: 14px;
  top: 24px;
  max-width: 360px;
  font-size: 21px;
}

.s5-rabbit::after {
  left: auto;
  right: 60px;
}

.s5-tortoise {
  right: 38px;
  top: 258px;
  max-width: 370px;
  background: var(--blue);
}

.s5-tortoise::after {
  left: auto;
  right: 72px;
}

.board-copy {
  position: absolute;
  right: 74px;
  top: 78px;
  z-index: 3;
  width: 505px;
  color: #493426;
  font-family: "Comic Sans MS", "Marker Felt", "Bradley Hand", cursive;
  text-align: center;
  transform: rotate(-0.7deg);
  text-shadow: 0 1px 0 rgb(255 255 255 / 55%);
}

.board-copy h1 {
  margin: 0 0 22px;
  color: #4f2a68;
  font-size: 58px;
  line-height: 0.95;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.board-copy p {
  margin: 20px 0 0;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 900;
}

.s6-tortoise {
  left: 116px;
  top: 30px;
  max-width: 360px;
  font-size: 22px;
}

.s6-tortoise::after {
  left: 178px;
  right: auto;
}

@media (max-width: 760px) {
  main {
    gap: 18px;
    padding: 16px;
  }

  .slide {
    width: calc(100vw - 24px);
    border-width: 3px;
    border-radius: 18px;
  }

  .slide::after {
    left: 14px;
    right: 14px;
    font-size: 7px;
  }

  .bubble {
    padding: 10px 12px;
    border-width: 3px;
    border-radius: 15px;
    font-size: 12px;
    box-shadow: 4px 4px 0 rgb(79 42 104 / 22%);
  }

  .bubble::after {
    width: 15px;
    height: 15px;
    border-width: 3px;
    bottom: -10px;
    left: 38px;
  }

  .bubble[data-speaker]::before {
    top: -11px;
    left: 10px;
    padding: 2px 6px;
    border-width: 2px;
    font-size: 8px;
  }

  .board-copy {
    right: 14px;
    top: 14px;
    width: 48%;
  }

  .board-copy h1 {
    margin-bottom: 8px;
    font-size: 19px;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }

  .board-copy p {
    margin-top: 7px;
    font-size: 10px;
  }

  .s1-rabbit,
  .s2-rabbit,
  .s3-narrator,
  .s3-tortoise,
  .s6-tortoise {
    left: 16px;
  }

  .s2-clarice,
  .s3-rabbit,
  .s4-clarice {
    right: 14px;
  }

  .s1-rabbit,
  .s2-clarice,
  .s3-narrator,
  .s3-tortoise,
  .s3-rabbit,
  .s4-clarice,
  .s5-rabbit {
    top: 16px;
  }

  .s2-rabbit,
  .s6-tortoise {
    bottom: 32px;
  }

  .s4-clarice {
    font-size: 10px;
    max-width: 42%;
  }

  .s6-tortoise {
    max-width: 42%;
    font-size: 10px;
    top: 15px;
    bottom: auto;
  }

  .s3-tortoise,
  .s3-rabbit {
    max-width: 34%;
    font-size: 10px;
  }
}
