/* ============================================================
   PAGES 2 & 3 — dotted background
   ============================================================ */
.page--dotted {
  background-color: var(--paper-bg);
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.6px);
  background-size: 17px 17px;
}

/* Arch panels */
.arch {
  position: absolute;
  border: 2.5px solid var(--black);
  border-radius: 50% 50% 6px 6px / 42% 42% 6px 6px;
  padding: 6%;
  text-align: center;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.arch--yellow {
  background: var(--yellow);
  left: 4%;
  top: 21%;
  width: 54%;
  height: 60%;
}
.arch--pink {
  background: var(--pink);
  right: 2%;
  top: 20%;
  width: 56%;
  height: 66%;
}
.arch__kicker {
  margin: 4% 0 2%;
  font-family: var(--f-anton);
  font-size: clamp(11px, 3.4cqw, 14px);
  letter-spacing: 2px;
}
.arch__big {
  margin: 0 0 4%;
  font-family: var(--f-anton);
  font-size: clamp(24px, 9cqw, 36px);
  letter-spacing: 1px;
}
.arch__body {
  margin: 0;
  font-family: var(--f-anton);
  font-size: clamp(12px, 4cqw, 17px);
  line-height: 1.32;
  text-align: justify;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.arch__body--white { color: var(--white); }

/* Mini yellow info box */
.mini-box {
  position: absolute;
  background: var(--yellow);
  border: 2.5px solid var(--black);
  padding: 3% 4%;
  z-index: 5;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
  font-family: var(--f-anton);
  line-height: 1.15;
}
.mini-box p { margin: 0 0 4px; font-size: clamp(11px, 3.4cqw, 14px); }
.mini-box__eq { color: var(--pink); text-align: center; }
.mini-box--p2 { right: 4%; top: 42%; width: 40%; }
.mini-box--p3 { left: 4%; top: 44%; width: 40%; }

/* Doodle words */
.doodle-word {
  position: absolute;
  margin: 0;
  z-index: 5;
  font-family: var(--f-display);
  pointer-events: none;
}
.doodle-word--ehhh {
  right: 5%;
  top: 32%;
  font-size: clamp(26px, 10cqw, 40px);
  color: var(--pink);
  -webkit-text-stroke: 1.5px var(--black);
  paint-order: stroke fill;
  transform: rotate(-6deg);
}
.doodle-word--what {
  left: 4%;
  top: 35%;
  font-size: clamp(28px, 11cqw, 42px);
  color: var(--white);
  -webkit-text-stroke: 2px var(--black);
  paint-order: stroke fill;
  transform: rotate(-4deg);
}

/* Stickers (characters) */
.sticker {
  position: absolute;
  z-index: 4;
  height: auto;
  pointer-events: none;
}
.sticker--q { top: 3%; right: 3%; width: 24%; }
.sticker--book { bottom: 2%; right: 2%; width: 34%; z-index: 6; }
.sticker--mega { top: 18%; left: 2%; width: 30%; }
.sticker--two { bottom: 3%; left: 3%; width: 44%; z-index: 6; }

/* Paper note (tap-to-reduce, p2) */
.note {
  position: absolute;
  left: 4%;
  bottom: 3%;
  width: 54%;
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 7;
  transform: rotate(-4deg);
  text-align: left;
}
.note__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
}
.note__text {
  position: relative;
  z-index: 1;
  display: block;
  padding: 16% 14% 16% 22%;
  font-family: var(--f-anton);
  font-size: clamp(9px, 3cqw, 12px);
  line-height: 1.25;
  color: var(--black);
}
.note__line { display: block; }
.note__line--reduced { margin-top: 6px; }

/* tap-to-reduce reveal state (shared p2 note + p3 box) */
.note__line--reduced,
.mini-box__line--reduced { opacity: 0.4; }
.tap-reduce .rd { transition: opacity 0.4s ease; }
.tap-reduce.reduced .rd { opacity: 0.35; }
.tap-reduce.reduced .note__line--reduced,
.tap-reduce.reduced .mini-box__line--reduced { opacity: 1; }
.tap-reduce u { text-decoration: underline; text-decoration-thickness: 2px; }

.mini-box--p3 .mini-box__line { display: block; margin-bottom: 6px; font-size: clamp(11px, 3.6cqw, 15px); }
.mini-box--p3 { line-height: 1.2; cursor: pointer; text-align: left; }

.spark--p2-l { left: 3%; top: 30%; fill: var(--pink); width: 40px; height: 40px; }
.spark--p2-r { right: 6%; top: 60%; fill: var(--pink); width: 52px; height: 52px; }
.spark--p3-tr { top: 15%; right: 4%; fill: var(--pink); width: 60px; height: 60px; }
.spark--p3-r { right: 8%; top: 66%; fill: var(--black); width: 48px; height: 48px; }
