/* Waitlist v2 additions (loaded after site.css): free-stamp line, fact strip, role chips,
   3D book covers, lessons, Explorer Passport, gift band, /thanks/ downloads.
   site.css, fx.js and signup.js are shared with the launch site and stay unchanged.
   Motion: transform/opacity only, and all of it stops under reduced motion. */

.text-link { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.text-link::after { content: "\00a0→"; }

/* ---------- hero ---------- */
.hero .promise { margin-bottom: 0.6em; }
.wl-free { margin: 0 0 6px; }
.wl-free a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 8px;
  border-radius: 22px; background: #fffaf1; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.35;
}
.wl-free a:hover { background: #fff3dc; }
.wl-free a:focus-visible { box-shadow: var(--focus); }
.wl-free-arrow { flex: none; font-size: 1.2em; }
.wl-free-k { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--cta); color: #fff; font-size: 0.92rem; letter-spacing: 0.02em; }
@media (max-width: 959px) {
  .hero-art { width: min(46vw, 260px); margin: 0 0 4px; }
  .hero .wrap { gap: 6px; }
}

/* ---------- role chips (same as launch) ---------- */
.roles { border: 0; margin: 0 0 12px; padding: 0; }
.roles legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.optional { font-weight: 400; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 2px solid #8a7262; background: #fff; font-size: 1.05rem; transition: background-color 0.15s ease, border-color 0.15s ease;
}
.chip input:checked + span { background: var(--honey-soft); border-color: var(--ink); font-weight: 700; }
.chip input:focus-visible + span { box-shadow: var(--focus); }

/* ---------- answer-first fact strip ---------- */
section.wl-facts { padding: 8px 0 4px; }
.factstrip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.factstrip li { padding: 6px 14px; border-radius: 999px; background: #fffaf1; box-shadow: inset 0 0 0 2px var(--honey-soft); font-size: 1rem; }
@media (min-width: 960px) { .factstrip { justify-content: center; } }

/* ---------- 3D book covers (from the launch site) ---------- */
.cover {
  position: relative; display: grid; grid-template-rows: auto 1fr; justify-items: center;
  aspect-ratio: 1 / 1; width: 100%; border-radius: 10px 18px 18px 10px; overflow: hidden; padding: 8% 5% 4%;
  text-align: center; color: var(--ink); font-size: 0.6rem;
}
.cover-canada { background: radial-gradient(circle at 20% 20%, #fff 0 2px, transparent 3px), radial-gradient(circle at 78% 30%, #fff 0 2px, transparent 3px), linear-gradient(180deg, #cfe2ef 0%, #e7f1f8 60%, #f8fbfd 100%); }
.cover-ireland { background: radial-gradient(120% 60% at 50% 110%, #c3dcc8 0%, transparent 60%), linear-gradient(180deg, #e9f2ea 0%, #dcebdf 100%); }
.cover .c-series, .cover .c-author { display: none; }
.c-place { font-family: var(--display); font-weight: 600; font-size: 1.25em; line-height: 1.05; }
.cover-canada .c-place { color: var(--canada-ink); }
.cover-ireland .c-place { color: var(--ireland-ink); }
.c-art { position: relative; width: 100%; align-self: end; display: flex; justify-content: center; align-items: flex-end; min-height: 0; }
.c-art img { height: auto; }
.c-hero { width: 42%; position: relative; z-index: 2; }
.c-left { width: 28%; margin-right: -6%; }
.c-right { width: 23%; margin-left: -4%; }
.c-mystery { font-family: var(--display); font-weight: 600; font-size: 2.2em; color: #fff; text-shadow: 0 2px 0 rgba(47, 94, 58, 0.35); margin-left: 4%; }
.b3d { --ry: 22deg; --rx: 4deg; --t: 12px; position: relative; display: block; width: 100%; perspective: 1100px; }
.b3d-obj { position: relative; display: block; transform-style: preserve-3d; transform: rotateY(var(--ry)) rotateX(var(--rx)); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.b3d-cover { position: relative; display: block; transform-origin: 0 50%; transform: translateZ(1px); transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.b3d-cover .cover { box-shadow: inset 7px 0 0 rgba(0, 0, 0, 0.08), inset 9px 0 6px -4px rgba(255, 255, 255, 0.4); border-radius: 4px 12px 12px 4px; }
.b3d-back { position: absolute; inset: 0; border-radius: 4px 12px 12px 4px; background: #e9dcc4; transform: translateZ(calc(var(--t) * -1)); }
.b3d-spine { position: absolute; left: 0; top: 0; width: var(--t); height: 100%; transform-origin: 0 50%; transform: rotateY(90deg); background: linear-gradient(90deg, #8f3b25, #b5543a 50%, #8f3b25); border-radius: 3px 0 0 3px; }
.b3d-ireland .b3d-spine { background: linear-gradient(90deg, #2f5e3a, #4f8a5c 50%, #2f5e3a); }
.b3d-canada .b3d-spine { background: linear-gradient(90deg, #1e4f4c, #2f6b6a 50%, #1e4f4c); }
.b3d-pages { position: absolute; right: 0; top: 2%; width: var(--t); height: 96%; transform-origin: 100% 50%; transform: rotateY(-90deg); background: repeating-linear-gradient(90deg, #fffdf7 0 2px, #eadfca 2px 3px); }
.b3d-peek { position: absolute; inset: 2% 2% 2% 0; display: grid; place-items: center; transform: translateZ(-1px); background: linear-gradient(90deg, #efe4cf, #fffaf0 18%); border-radius: 2px 10px 10px 2px; }
.b3d-peek-line { font-family: var(--display); font-weight: 600; font-size: 0.7rem; color: var(--ink-soft); padding-left: 28%; }
.b3d-shadow { position: absolute; left: 6%; right: -2%; bottom: -7%; height: 16%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(59, 42, 34, 0.32), rgba(59, 42, 34, 0)); }
.b3d-sm { width: 92px; flex: none; }
@media (hover: hover) {
  .book:hover .b3d-cover { transform: translateZ(1px) rotateY(-32deg); }
  .book:hover .b3d { --ry: 8deg; }
}
.book.is-tapped .b3d-cover { transform: translateZ(1px) rotateY(-32deg); }

/* ---------- book cards: title row + gentle lesson ---------- */
.book-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.book-head h3 { margin: 0; }
.wl-lesson { padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.78); }
.wl-lesson-k { display: block; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-soft); }
.coming .section-head { max-width: 46ch; }

/* ---------- Explorer Passport ---------- */
.wl-pp-grid { display: grid; gap: 24px; align-items: center; padding: 26px 20px; border-radius: var(--radius); background: linear-gradient(135deg, #fde9bd, #fbf0d8); box-shadow: var(--shadow); }
.wl-pp-art { position: relative; justify-self: center; width: min(78vw, 360px); aspect-ratio: 360 / 300; }
.wl-pp-env { position: absolute; left: 0; bottom: 0; width: 72%; height: auto; transform: rotate(-4deg); filter: drop-shadow(0 12px 16px rgba(59, 42, 34, 0.25)); }
.wl-pp-page { position: absolute; right: 0; top: 0; width: 46%; height: auto; border-radius: 8px; background: #fff; transform: rotate(5deg); box-shadow: 0 14px 22px -14px rgba(59, 42, 34, 0.6); }
.wl-pp-copy h2 { margin-bottom: 0.3em; }
.wl-pp-steps { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 10px; }
.wl-pp-steps li { display: flex; gap: 12px; align-items: flex-start; }
.wl-n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fffaf1; font-weight: 700; box-shadow: inset 0 0 0 2px #e9c77d; }
.btn.wl-btn-inline { width: auto; }
@media (min-width: 960px) { .wl-pp-grid { grid-template-columns: 400px minmax(0, 1fr); padding: 34px 40px; gap: 40px; } .wl-pp-art { width: 100%; } }

/* ---------- gift band ---------- */
section.wl-gift { padding-top: 12px; }
.wl-gift-in { display: grid; gap: 14px; justify-items: start; padding: 22px 20px; border-radius: var(--radius); background: linear-gradient(135deg, #dceaf3, #fffaf1 70%); box-shadow: var(--shadow); }
.wl-gift-art { width: 110px; height: auto; transform-origin: 50% 100%; }
.wl-gift-in h2 { margin-bottom: 0.3em; }
.wl-gift-in p { margin-bottom: 0.4em; }
@media (min-width: 720px) { .wl-gift-in { grid-template-columns: 150px minmax(0, 1fr); align-items: center; padding: 28px 36px; } .wl-gift-art { width: 140px; justify-self: center; } }

/* ---------- /thanks/: downloads ---------- */
.download { text-align: left; background: var(--honey-soft); border-radius: 22px; padding: 18px 20px 10px; margin: 14px auto 18px; max-width: 560px; }
.download h2 { margin: 0 0 0.3em; }
.dl-kicker { font-weight: 700; color: var(--ink-soft); margin: 0; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.92rem; }
.center-card .dl-prev { float: right; width: 112px; height: auto; margin: 0 0 8px 14px; border-radius: 8px; background: #fff; box-shadow: 0 10px 18px -12px rgba(59, 42, 34, 0.6); transform: rotate(3deg); }
.dl-row { clear: both; display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 10px 0; }
.center-card .dl-row .btn { width: auto; }
.env-line { font-size: 1.05rem; }

@media (prefers-reduced-motion: reduce) {
  .b3d-obj, .b3d-cover, .chip span { transition: none !important; }
  .book:hover .b3d-cover, .book.is-tapped .b3d-cover { transform: translateZ(1px); }
}
@media print { .wl-free, .wl-gift { display: none; } }
