/* Launch v3: illustrated subpage heroes, passport, printables, explorer gate, certificate,
   back-to-top, footer rhythm, parents & teachers page, print styles. */

/* ---------- Illustrated subpage hero ---------- */
.ihero { position: relative; overflow: hidden; padding: 12px 0 40px; }
.ihero-grid { display: grid; gap: 24px; align-items: center; }
.ihero h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); max-width: 18ch; }
.ihero .promise { max-width: 44ch; }
.ihero-art { position: relative; display: grid; justify-items: center; min-width: 0; }
.ihero-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
@media (min-width: 960px) {
  .ihero { padding: 24px 0 64px; }
  .ihero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}

/* /books/: a dream shelf */
.shelf { position: relative; width: min(100%, 520px); padding: 0 0 28px; }
.shelf-sky { position: absolute; inset: 0 0 18px; border-radius: 32px; background: linear-gradient(180deg, #cfc9ea 0%, #dfe2f3 70%, #efe9ee 100%); overflow: hidden; }
.shelf-star { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.85); animation: twinkle 3.4s ease-in-out infinite; }
.shelf-star:nth-child(1) { left: 10%; top: 14%; } .shelf-star:nth-child(2) { left: 28%; top: 30%; animation-delay: -1s; }
.shelf-star:nth-child(3) { left: 46%; top: 10%; animation-delay: -2s; } .shelf-star:nth-child(4) { left: 62%; top: 26%; animation-delay: -0.5s; }
.shelf-star:nth-child(5) { left: 88%; top: 40%; animation-delay: -1.6s; } .shelf-star:nth-child(6) { left: 18%; top: 52%; animation-delay: -2.6s; }
.shelf-star:nth-child(7) { left: 74%; top: 8%; animation-delay: -1.2s; }
.shelf-moon { position: absolute; right: 8%; top: 9%; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 36% 36%, #fffef6, #fbf1cf 55%, #efdc9c); box-shadow: 0 0 28px 8px rgba(255, 247, 214, 0.7); }
.shelf-books { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 64px 18px 0; }
.shelf-book { width: 31%; max-width: 150px; }
.shelf-book-1 { rotate: -3deg; }
.shelf-book-2 { rotate: 2deg; }
.shelf-next { width: 22%; opacity: 0.9; rotate: 7deg; transform-origin: 0 100%; }
.shelf-next .cover { box-shadow: 0 10px 20px -14px rgba(59, 42, 34, 0.5); }
.shelf-plush { width: 20%; max-width: 100px; height: auto; margin-left: -4px; }
.shelf-board { position: absolute; left: 0; right: 0; bottom: 6px; height: 24px; border-radius: 6px; background: linear-gradient(180deg, #c99a6b, #a8774b 60%, #8c5f39); box-shadow: 0 14px 22px -12px rgba(59, 42, 34, 0.6); }

/* /meet-sunny/: everyone lined up on the quilt */
.lineup { position: relative; display: flex; align-items: flex-end; justify-content: center; width: min(100%, 560px); padding: 0 6px 22px; }
.lu-quilt { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; border-radius: 22px; background: repeating-linear-gradient(90deg, #dbe5f2 0 28px, #fbf7ee 28px 56px), #dbe5f2; box-shadow: inset 0 6px 0 rgba(255, 255, 255, 0.6), 0 14px 26px -16px rgba(40, 40, 80, 0.45); }
.lu { position: relative; display: block; margin: 0 -6px; }
.lu img { height: auto; }
.lu-sunny .face-swap { width: 150px; height: 184px; margin: 0; }
.lu-sunny .face-swap img { width: 150px; }
.lu-sloth img { width: 118px; }
.lu-baxter img { width: 96px; }
.lu-mira img { width: 82px; }
.lu-mystery { width: 70px; display: grid; place-items: center; }
.lu-mystery svg { width: 70px; height: 90px; }
.lu-mystery span { position: absolute; top: 18%; font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: #fff; }
.lu-sloth, .lu-baxter, .lu-mira { animation: bob 4.2s ease-in-out infinite; }
.lu-baxter { animation-delay: -1.4s; } .lu-mira { animation-delay: -2.8s; }
@media (max-width: 520px) {
  .lu-sunny .face-swap { width: 112px; height: 138px; } .lu-sunny .face-swap img { width: 112px; }
  .lu-sloth img { width: 88px; } .lu-baxter img { width: 72px; } .lu-mira img { width: 62px; } .lu-mystery, .lu-mystery svg { width: 52px; }
}

/* /about/: bedtime under the moon, a suitcase with a plushie peeking out */
.ab-art { position: relative; width: min(100%, 460px); aspect-ratio: 5 / 4; }
.ab-sky { position: absolute; inset: 0; border-radius: 32px; background: linear-gradient(180deg, var(--night-2), #4b4785 70%, #6b6aa3); overflow: hidden; }
.ab-star { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8); animation: twinkle 3.6s ease-in-out infinite; }
.ab-star:nth-child(1) { left: 10%; top: 14%; } .ab-star:nth-child(2) { left: 30%; top: 26%; animation-delay: -1s; } .ab-star:nth-child(3) { left: 52%; top: 10%; animation-delay: -2s; }
.ab-star:nth-child(4) { left: 70%; top: 34%; animation-delay: -0.6s; } .ab-star:nth-child(5) { left: 88%; top: 52%; animation-delay: -1.8s; } .ab-star:nth-child(6) { left: 18%; top: 48%; animation-delay: -2.7s; }
.ab-moon { position: absolute; right: 10%; top: 10%; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 36% 36%, #fffef6, #fbf1cf 55%, #efdc9c); box-shadow: 0 0 34px 10px rgba(255, 247, 214, 0.45); }
.ab-bed { position: absolute; left: 50%; bottom: 0; width: 64%; translate: -50% 0; filter: brightness(0.92); }
.ab-suitcase { position: absolute; left: 5%; bottom: 4%; width: 26%; aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(180deg, #b5543a, #8f3b25); box-shadow: 0 10px 18px -10px rgba(0, 0, 0, 0.5); }
.ab-suitcase span { position: absolute; left: 30%; top: -14%; width: 40%; height: 18%; border: 4px solid #8f3b25; border-bottom: 0; border-radius: 10px 10px 0 0; }
.ab-peek { position: absolute; left: 9%; bottom: 20%; width: 15%; rotate: -10deg; }

/* /contact/: a letter for Sunny */
.ct-art { position: relative; width: min(100%, 420px); aspect-ratio: 7 / 5; }
.ct-letter { position: absolute; right: 4%; top: 10%; width: 58%; aspect-ratio: 3 / 2; border-radius: 14px; background: #fffaf1; box-shadow: 0 18px 34px -18px rgba(59, 42, 34, 0.55); rotate: 6deg; overflow: hidden; }
.ct-flap { position: absolute; left: 0; right: 0; top: 0; height: 60%; background: linear-gradient(160deg, #f4e3c3 50%, transparent 50.5%), linear-gradient(200deg, #f4e3c3 50%, transparent 50.5%); background-size: 50% 100%, 50% 100%; background-position: left top, right top; background-repeat: no-repeat; }
.ct-heart { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cta); color: #fff; font-size: 1.4rem; }
.ct-run { position: absolute; left: 0; bottom: 0; width: 46%; }

/* /for-parents-and-teachers/ hero art */
.pt-art { position: relative; width: min(100%, 440px); display: grid; justify-items: center; padding-bottom: 10px; }
.pt-blocks { width: 58%; height: auto; }
.pt-books { position: absolute; right: 0; bottom: 0; display: flex; gap: 6px; }
.pt-books .b3d-sm { width: 92px; }
.pt-art .face-swap { position: absolute; left: 0; top: 4%; }

/* ---------- 3D passport (the sample design, now an object) ---------- */
.b3d-host { display: block; border: 0; background: none; padding: 10px 24px 26px 6px; margin: 0 auto; cursor: pointer; border-radius: 26px; font: inherit; color: inherit; }
.b3d-host:focus-visible { box-shadow: var(--focus); }
.b3d-host:hover .b3d-cover, .b3d-host:focus-visible .b3d-cover { transform: translateZ(1px) rotateY(-34deg); }
.b3d-host:hover .b3d, .b3d-host:focus-visible .b3d { --ry: 8deg; }
.b3d-passport { width: min(280px, 72vw); --t: 14px; }
.b3d-passport .passport { width: 100%; rotate: 0deg; justify-self: auto; border-radius: 6px 16px 16px 6px; }
.b3d-passport .b3d-spine { background: linear-gradient(90deg, #1b3e3d, #23504f 50%, #1b3e3d); }
.b3d-passport .b3d-back { background: #1f4746; border-radius: 6px 16px 16px 6px; }
.b3d-passport .b3d-pages { background: repeating-linear-gradient(90deg, #fffdf7 0 2px, #e3d9c3 2px 3px); }
.pp-inside { display: grid; align-content: center; justify-items: center; gap: 6px; padding: 18px 12px 18px 34%; text-align: center; border-radius: 4px 14px 14px 4px; }
.ppi-title { font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.pp-inside img { width: 64px; height: auto; }
.ppi-name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.ppi-note { font-size: 0.8rem; line-height: 1.3; color: var(--ink-soft); }
.pp-hint { margin-top: 6px; }

/* ---------- Printables: how it works + entries ---------- */
.entries, .entry-list { padding: 48px 0; }
.how3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: none; }
.how3 li { position: relative; background: #fffaf1; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px 22px; text-align: center; display: grid; justify-items: center; align-content: start; }
.how-art { height: 110px; width: auto; margin-bottom: 8px; }
.how-n { position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--honey-soft); font-family: var(--display); font-weight: 600; }
.how3 h3 { margin-bottom: 0.25em; }
.how3 p { margin: 0; }
.ecards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.ecard { position: relative; border-radius: 24px; box-shadow: var(--shadow); padding: 44px 20px 20px; display: grid; justify-items: center; align-content: start; text-align: center; background: #fffaf1; }
.ecard-starter { background: linear-gradient(180deg, #fff3da, #fffaf1); }
.ecard-canada { background: linear-gradient(180deg, #e3eef6, #f6fafc); }
.ecard-ireland { background: linear-gradient(180deg, #e9f2ea, #f3f8f3); }
.ecard-master { background: linear-gradient(180deg, #ece8f8, #faf8fe); }
.ec-tag { position: absolute; top: 12px; left: 50%; translate: -50% 0; white-space: nowrap; font-weight: 700; font-size: 0.9rem; padding: 2px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); }
.ec-face { height: 100px; width: auto; margin-bottom: 6px; }
.ec-prev { width: 100%; height: auto; border-radius: 12px; margin-bottom: 8px; }
.ec-mystery { display: grid; place-items: center; width: 80px; height: 100px; font-family: var(--display); font-weight: 600; font-size: 2.6rem; color: var(--ireland-ink); }
.ecard h3 { margin-bottom: 0.25em; }
.ecard p { margin: 0 0 6px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 10px 0; }
.btn-dl { width: auto; }
.dl-soon { font-weight: 700; background: rgba(255, 255, 255, 0.75); border-radius: 14px; padding: 10px 14px; }
.dl-kicker { font-weight: 700; color: var(--ink-soft); margin: 0; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.92rem; }
.download.dl-early { padding: 18px 20px 10px; }

/* ---------- Explorer gate ---------- */
.ex-art { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; width: min(100%, 420px); }
.ex-art .b3d { width: 56%; }
.ex-friend { width: 38%; height: auto; margin-left: -6%; }
.gate { background: #fffaf1; border-radius: 24px; box-shadow: var(--shadow); padding: 18px 18px 14px; margin-top: 8px; max-width: 560px; }
.gate-row { display: grid; gap: 10px; }
.gate-row .btn { width: 100%; }
@media (min-width: 600px) { .gate-row { grid-template-columns: 1fr auto; } .gate-row .btn { width: auto; } }
.gate-status { min-height: 1.6em; margin: 8px 0 4px; font-weight: 700; }
.gate-status.is-error { color: #8a2a12; }
.gate-hint { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.gate.is-wiggle { animation: wiggle-x 0.42s ease; }
@keyframes wiggle-x { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-7px); } 55% { transform: translateX(6px); } 80% { transform: translateX(-3px); } }
.ex-dl { margin-top: 6px; }
.ex-prev { width: min(100%, 360px); height: auto; border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 8px; }
.ex-more { padding: 10px 0 48px; }

/* ---------- Master Explorer certificate preview ---------- */
.cert {
  position: relative; margin: 0; width: min(100%, 440px); aspect-ratio: 4 / 3; display: grid; justify-items: center; align-content: center; gap: 4px;
  padding: 26px 26px 20px; text-align: center; background: #fffaf1; border-radius: 18px; rotate: -2deg;
  box-shadow: inset 0 0 0 8px #fbe3b0, inset 0 0 0 11px #e0b866, 0 24px 44px -24px rgba(59, 42, 34, 0.6);
}
.cert-ribbon { position: absolute; right: 22px; top: -14px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--cta); color: #fff; font-size: 1.5rem; box-shadow: 0 8px 14px -8px rgba(0, 0, 0, 0.5); }
.cert-kicker { font-weight: 700; color: #8a3a22; font-size: 0.95rem; }
.cert-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.1; }
.cert-line { font-size: 0.98rem; color: var(--ink-soft); max-width: 30ch; }
.cert-name { font-family: var(--display); font-weight: 600; font-size: 1.35rem; padding: 0 18px 2px; border-bottom: 2px dashed #c9b394; color: #8a7262; }
.cert-foot { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 0.92rem; text-align: left; line-height: 1.3; }
.cert-foot img { width: 44px; height: 44px; }
.cert-img { margin: 0; } .cert-img img { width: min(100%, 460px); height: auto; border-radius: 16px; box-shadow: var(--shadow); }

/* ---------- Back to top: a little moon with Sunny the Sloth ---------- */
.to-top {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none; background: var(--night); box-shadow: 0 10px 22px -10px rgba(20, 16, 50, 0.7), 0 0 0 3px rgba(253, 243, 220, 0.9);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.9); transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.3, 0.7, 0.4, 1.4), visibility 0s linear 0.3s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.3, 0.7, 0.4, 1.4), visibility 0s; }
.tt-moon { position: absolute; inset: 7px; border-radius: 50%; background: radial-gradient(circle at 36% 36%, #fffef6, #fbf1cf 55%, #efdc9c); box-shadow: 0 0 16px 4px rgba(255, 247, 214, 0.45); }
.to-top img { position: relative; width: 34px; height: 34px; }
.tt-label { display: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top:hover .tt-moon { animation: pulse 1.6s ease-in-out infinite; }
.to-top:focus-visible { box-shadow: var(--focus); border-radius: 50%; }
html:not(.js) .to-top { display: none; }
@media (max-width: 719px) { body.has-buybar .to-top { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- Goodnight footer: rhythm and padding at every width ---------- */
.site-footer.gn { padding: 0 0 calc(32px + env(safe-area-inset-bottom)); }
.gn-scene { height: 190px; }
.gn-sleeper { width: 176px; bottom: -6px; }
.gn .gn-line { margin: 20px auto 36px; }
.gn .footer-grid { gap: 28px 56px; margin-bottom: 28px; align-items: start; }
.gn .footer-grid p { margin: 0 0 0.5em; }
.gn .footer-title { margin-bottom: 0.3em; }
.gn nav ul.footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px !important; margin: 0; }
.gn nav ul.footer-links a { padding: 10px 0; display: inline-flex; align-items: center; min-height: 44px; }
.gn .footer-legal { margin-top: 0; padding-top: 20px; }
.gn .footer-legal p { line-height: 1.5; }
@media (min-width: 600px) { .gn nav ul.footer-links { grid-template-columns: repeat(3, minmax(0, max-content)); column-gap: 36px !important; } }
@media (min-width: 720px) { .gn-scene { height: 230px; } .gn-sleeper { width: 240px; } .gn .gn-line { margin: 24px auto 44px; } }
@media (min-width: 960px) {
  .gn .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .gn nav ul.footer-links { grid-template-columns: repeat(4, max-content); justify-content: end; }
}

/* ---------- Parents, teachers & librarians ---------- */
.pt-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pt-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); font-weight: 700; font-size: 1rem; text-decoration: none; }
.pt-jump a:hover { background: var(--honey-soft); }
.who-sec, .read-guide, .lessons-sec, .ideas, .pt-passport { padding: 48px 0; }
@media (min-width: 960px) { .who-sec, .read-guide, .lessons-sec, .ideas, .pt-passport { padding: 72px 0; } }
.aud-tabs { list-style: none; margin: 0 auto 22px; padding: 6px; display: none; gap: 6px; width: max-content; max-width: 100%; border-radius: 999px; background: rgba(255, 255, 255, 0.75); box-shadow: var(--shadow); }
.aud.is-tabs .aud-tabs { display: flex; }
.aud-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 6px; border-radius: 999px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.aud-tab img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: #fdf0d6; }
.aud-tab[aria-selected="true"] { background: var(--honey-soft); box-shadow: inset 0 0 0 2px #e9c77d; }
.aud-tab:focus-visible { box-shadow: var(--focus); }
@media (max-width: 480px) { .aud-tab { padding: 0 10px 0 4px; font-size: 1rem; gap: 4px; } .aud-tab img { width: 30px; height: 30px; } }
.aud-panel { margin-bottom: 26px; }
.aud.is-tabs .aud-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aud-panel:focus-visible { box-shadow: var(--focus); border-radius: 18px; }
.aud-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.aud-card { background: #fffaf1; border-radius: 24px; box-shadow: var(--shadow); padding: 18px 20px 20px; }
.aud-art { height: 84px; width: auto; margin-bottom: 6px; }
.aud-card h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.aud-card p { margin: 0; }
.aud-ctas { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 14px 0 0; }
.ra-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.ra-step { position: relative; background: #fffaf1; border-radius: 24px; box-shadow: var(--shadow); padding: 16px 18px 18px; }
.ra-step:nth-child(2) { background: linear-gradient(180deg, #eeeaf8, #fffaf1); }
.ra-step:nth-child(5) { background: linear-gradient(180deg, #fff1d6, #fffaf1); }
.ra-face { width: 78px; height: auto; margin-bottom: 4px; }
.ra-n { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--honey-soft); font-weight: 700; font-size: 0.95rem; }
.ra-step h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.ra-step p { margin: 0; font-size: 1.05rem; }
.lbook { border-radius: var(--radius); padding: 20px; margin-bottom: 22px; background: rgba(255, 255, 255, 0.55); box-shadow: var(--shadow); }
.lbook-canada { background: linear-gradient(180deg, #e3eef6, #fbf7ee 50%); }
.lbook-ireland { background: linear-gradient(180deg, #e9f2ea, #fbf7ee 60%); }
.lbook-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 18px; }
.lbook-head .b3d-sm { width: 92px; }
.lbook-head h3 { margin-bottom: 0.2em; }
.lbook-head h3 a { text-decoration: none; }
.lbook-place { margin: 0; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; }
.lbook-head p { margin-bottom: 0.4em; }
.lbook h4 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 0 0 0.4em; }
.print-btn { margin-top: 4px; }
.pt-pp-grid { display: grid; gap: 28px; align-items: center; }
.pp-two { display: grid; gap: 14px; margin: 14px 0 6px; }
.pp-col { background: #fffaf1; border-radius: 22px; box-shadow: var(--shadow); padding: 16px 20px; }
.pp-col h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.pp-col ul { margin: 0; padding-left: 1.1em; }
.pp-col li { margin-bottom: 0.3em; }
@media (min-width: 700px) { .pp-two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .pt-pp-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 48px; } }
.idea-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.idea { position: relative; background: #fffaf1; border-radius: 24px; box-shadow: var(--shadow); padding: 18px 20px 20px 116px; min-height: 140px; }
.idea-art { position: absolute; left: 16px; top: 18px; width: 84px; height: 84px; object-fit: contain; }
.idea-tag { display: inline-block; font-weight: 700; font-size: 0.88rem; padding: 2px 10px; border-radius: 999px; background: var(--honey-soft); margin-bottom: 6px; }
.idea h3 { font-size: 1.25rem; margin-bottom: 0.25em; }
.idea p { margin: 0; font-size: 1.05rem; }
.pt-cta { padding: 24px 0 64px; }
.pt-cta-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cta-card { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cta-print { background: linear-gradient(135deg, #fde9bd, #fbf0d8); }
.cta-books { background: linear-gradient(135deg, #dceaf3, #eef4f8); }
.cta-card:hover, .cta-card:focus-visible { transform: translateY(-4px); }
.cta-art { width: 96px; height: auto; flex: none; }
.cta-books-art { display: flex; flex: none; gap: 4px; }
.cta-books-art .b3d-sm { width: 70px; }
.cta-title { display: block; font-family: var(--display); font-weight: 600; font-size: 1.45rem; }
.cta-title::after { content: "\00a0→"; }
.cta-text { display: block; color: var(--ink-soft); }

/* ---------- Print: clean discussion cards on plain paper ---------- */
@media print {
  .site-header, .site-footer, .to-top, .preview-banner, .dusk, .sparkles, .buybar, .skip-link, .print-btn, .pt-jump { display: none !important; }
  body { background: #fff !important; color: #000; font-size: 12pt; }
  .rv-wait { opacity: 1 !important; translate: none !important; }
  .q-card, .pt-card, .aud-card, .ra-step, .idea, .lbook { box-shadow: none !important; border: 1px solid #999; background: #fff !important; break-inside: avoid; }
  .print-one main > *:not(.lessons-sec) { display: none !important; }
  .print-one .lessons-sec .section-head, .print-one .lbook:not(.print-target) { display: none !important; }
  .print-one .lessons-sec { padding: 0; }
  .b3d { display: none; }
}
/* sizing pass */
.shelf { width: min(100%, 560px); }
.shelf-books { padding-top: 92px; gap: 12px; }
.shelf-book { width: 33%; max-width: 168px; }
@media (min-width: 960px) {
  .lineup { width: min(100%, 600px); }
  .lu-sunny .face-swap { width: 190px; height: 232px; } .lu-sunny .face-swap img { width: 190px; }
  .lu-sloth img { width: 150px; } .lu-baxter img { width: 122px; } .lu-mira img { width: 104px; } .lu-mystery, .lu-mystery svg { width: 84px; }
  .lu-quilt { height: 80px; }
}
@media (max-width: 959px) {
  .ihero-printables .ihero-art { order: -1; }
  .ihero-printables .b3d-passport { width: min(210px, 56vw); }
}
/* footer: the sleeper fits inside the scene at every width */
.gn-scene { height: 214px; }
.gn-sleeper { width: 160px; bottom: -4px; }
.gn .footer-legal { font-size: 0.9rem; }
@media (min-width: 720px) { .gn-scene { height: 272px; } .gn-sleeper { width: 210px; } }
/* the passport opens wide enough to show entry 1 inside */
.b3d-host:hover .b3d-passport .b3d-cover, .b3d-host:focus-visible .b3d-passport .b3d-cover, .b3d-passport.is-open .b3d-cover { transform: translateZ(1px) rotateY(-70deg); }
.b3d-passport .pp-inside { padding-left: 40%; }
.b3d-host:hover .b3d-passport .b3d-cover, .b3d-host:focus-visible .b3d-passport .b3d-cover, .b3d-passport.is-open .b3d-cover { transform: translateZ(2px) translateX(-46%) rotateY(-24deg); }
.b3d-passport .pp-inside { padding-left: 50%; }
.b3d-host:hover .b3d-passport .b3d-cover, .b3d-host:focus-visible .b3d-passport .b3d-cover, .b3d-passport.is-open .b3d-cover { transform: translateZ(2px) translateX(-62%) rotateY(-22deg); }
.b3d-passport .pp-inside { padding-left: 42%; padding-right: 6px; }
.pp-host { padding-left: 34%; padding-right: 0; }
@media (max-width: 959px) { .pp-host { padding-left: 24%; } }
@media (max-width: 959px) { .pp-host { padding-left: 16%; padding-right: 8%; } }

/* ---------- Before/after coloring slider (/printables/) ---------- */
.color-it { padding: 48px 0; }
/* the slider itself lives in wow5.css */
.how-env { height: 110px; width: auto; border-radius: 8px; }
.ec-prev { box-shadow: 0 8px 18px -12px rgba(59, 42, 34, 0.5); background: #fff; }
