/* ================= crayon touches (loaded after site.css) ================= */
[hidden] { display: none !important; }
.scribble { display: block; overflow: visible; pointer-events: none; }
.squiggle { display: block; width: 180px; height: 22px; margin: -6px auto 10px; overflow: visible; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.45,.05,.4,1) .2s forwards; }

/* hero */
.crayon-hero { position: relative; background: #fffdf9; overflow: hidden; }
.crayon-hero .wrap { position: relative; z-index: 1; grid-template-columns: 1.1fr .9fr; }
.crayon-hero .doodles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.crayon-hero .doodles .scribble { position: absolute; }
.crayon-hero .s1 { width: 520px; height: 320px; left: -140px; top: -90px; }
.crayon-hero .s2 { width: 460px; height: 280px; right: -120px; bottom: -80px; }
.crayon-hero .s3 { width: 300px; height: 200px; right: 30%; top: -110px; }
.crayon-hero .s4 { width: 260px; height: 160px; left: 30%; bottom: -100px; }
.tool { position: absolute; width: 210px; height: 40px; filter: drop-shadow(0 4px 6px rgba(60,40,80,.18)); animation: bob 6s ease-in-out infinite; }
.t1 { left: -70px; top: 86px; transform: rotate(28deg); }
.t2 { left: -46px; top: 150px; transform: rotate(18deg); animation-delay: -2s; }
.t3 { right: -80px; top: 60px; transform: rotate(-152deg); animation-delay: -1s; width: 230px; height: 44px; }
.t4 { right: -60px; bottom: 70px; transform: rotate(200deg); animation-delay: -3s; }
.t5 { left: 42%; bottom: -24px; transform: rotate(-8deg); animation-delay: -4s; width: 220px; height: 42px; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.colored { position: relative; white-space: nowrap; z-index: 0; }
.colored .scribble { position: absolute; left: -6%; bottom: -2%; width: 112%; height: 70%; z-index: -1; }
.proof { margin-top: 18px; color: #e7a400; letter-spacing: 2px; font-size: 1.05rem; }
.proof span { color: var(--muted); letter-spacing: 0; font-size: .95rem; margin-left: 6px; }
.hero-book { position: relative; display: flex; flex-direction: column; align-items: center; }
.flip-hint { font-family: var(--script); font-size: 1.45rem; color: var(--lav); margin: 10px 0 0; display: flex; align-items: center; gap: 4px; transform: rotate(-4deg); }
.flip-hint svg { width: 46px; height: 32px; transform: scaleY(-1) rotate(160deg); }
@media (max-width: 860px) {
  .crayon-hero .wrap { grid-template-columns: 1fr; }
  .tool { width: 150px; height: 30px; } .t3 { width: 160px; height: 32px; } .t5 { display: none; }
  .t1 { top: 20px; } .t2 { top: 70px; }
}

/* flipbook */
.flipbook { width: 100%; max-width: 460px; position: relative; }
.flipbook .flip-still { width: 100%; box-shadow: 0 14px 34px rgba(60,40,80,.18); border-radius: 4px; }
.flipbook .flip-stage { width: 100%; }
.flipbook.ready .flip-stage { filter: drop-shadow(0 14px 22px rgba(60,40,80,.16)); }
.flip-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; font-family: var(--head); color: var(--muted); }
.flip-ctrl button { width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--teal); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.flip-ctrl button:hover { border-color: var(--teal); }
.flip-wide { max-width: 940px; margin: 0 auto; }
.flip-wide .flipbook { max-width: 920px; margin: 0 auto; }

/* steps: numbers on a pink crayon patch instead of circles */
.steps-sec { background: #fff; }
.steps li { box-shadow: none; border: 2px dashed #eadfe3; background: #fffdfb; }
.steps li::before { content: none; }
.num { position: relative; display: inline-grid; place-items: center; width: 74px; height: 64px; margin: -6px 0 6px -8px; }
.num .scribble { position: absolute; inset: 0; width: 100%; height: 100%; }
.num b { position: relative; font-family: var(--head); font-size: 2rem; color: #b44e62; }

/* clothesline of real photos */
.clothesline-sec { padding-bottom: 40px; overflow: hidden; }
.clothesline { position: relative; padding-top: 18px; }
.clothesline .line { position: absolute; left: 0; right: 0; top: 14px; width: 100%; height: 60px; }
.clothesline ul { list-style: none; margin: 0; padding: 0 24px 30px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; justify-content: safe center; }
.clothesline ul::-webkit-scrollbar { display: none; }
.clothesline li { position: relative; flex: 0 0 auto; scroll-snap-align: center; padding-top: calc(24px + 18px * sin(var(--i) * 0.4)); transform-origin: 50% 0; animation: sway 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
.clothesline .pin { position: absolute; left: 50%; top: calc(4px + 18px * sin(var(--i) * 0.4)); width: 16px; height: 38px; margin-left: -8px; z-index: 2; }
.clothesline figure { margin: 0; background: #fff; padding: 10px 10px 26px; box-shadow: 0 10px 22px rgba(60,40,80,.16); rotate: calc((var(--i) - 3.5) * 1.3deg); }
.clothesline img { width: 210px; height: 230px; object-fit: cover; }
@keyframes sway { 0%,100% { rotate: -1.4deg; } 50% { rotate: 1.4deg; } }

/* ways to use */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.use h3 { color: var(--ink); font-size: 1.18rem; margin-top: 4px; }
.use p { color: var(--muted); margin: 0; }
.use-blob { position: relative; width: 70px; height: 58px; display: grid; place-items: center; margin-left: -6px; }
.use-blob .scribble { position: absolute; inset: 0; width: 100%; height: 100%; }
.use-blob span { position: relative; font-family: var(--script); font-size: 1.9rem; color: var(--ink); }
@media (max-width: 860px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }

/* reviews as taped paper notes */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.note-card { position: relative; margin: 0; background: #fff; padding: 30px 24px 22px; box-shadow: 0 8px 22px rgba(120,60,80,.1); rotate: var(--r); transition: rotate .3s, translate .3s; }
.note-card:hover { rotate: 0deg; translate: 0 -4px; }
.note-card .tape { position: absolute; top: -12px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: rgba(151,125,178,.28); rotate: -3deg; }
.note-card .stars { color: #f0b429; letter-spacing: 2px; }
.note-card blockquote { margin: 8px 0 12px; font-family: var(--script); font-size: 1.55rem; line-height: 1.25; color: var(--ink); }
.note-card figcaption { font-size: .9rem; font-weight: 700; color: var(--teal-d); }
.note-card figcaption span { font-weight: 400; color: var(--muted); }
@media (max-width: 860px) { .notes { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.photo-tilt img { rotate: -2deg; border: 10px solid #fff; box-shadow: 0 12px 30px rgba(60,40,80,.15); border-radius: 4px; }
.card:hover { rotate: -.6deg; }

@media (prefers-reduced-motion: reduce) {
  .draw { animation: none; stroke-dashoffset: 0; }
  .tool, .clothesline li { animation: none; }
  .note-card, .card { transition: none; }
}
