/* ── Story-first home + world pages (Oct 2026 redesign) ─────────────────── */

.author-quote {
  max-width: 640px; margin: 30px auto 0; padding: 4px 0 4px 22px;
  border-left: 4px solid var(--accent); text-align: left;
}
.author-quote p { font-family: var(--font-title); font-size: 19.5px; line-height: 1.5; color: var(--ink); }
.author-quote cite { display: block; margin-top: 12px; font-family: var(--font-hand); font-style: normal; font-size: 23px; color: var(--accent-deep); }
.author-quote.left { margin: 18px 0 0; }
.draft-note { margin-top: 16px; font-size: 14px; color: var(--soft-ink); background: var(--paper); border: 1px dashed var(--path); border-radius: var(--r-sm); padding: 10px 14px; }

.hopes .promise-item .hand { font-size: 20px; margin-bottom: 2px; }
.hopes .promise-item .hand::after { content: ""; }

/* map cards are links now */
a.jcard, a.jnode { text-decoration: none; color: inherit; display: block; transition: transform .18s ease, box-shadow .18s ease; }
a.jcard:hover, a.jcard:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
a.jnode:hover, a.jnode:focus-visible { transform: scale(1.06); }
.journey-arc { margin-top: 34px; font-family: var(--font-title); font-style: italic; font-size: 17px; color: var(--soft-ink); }

/* world hero */
.world-hero {
  background: linear-gradient(180deg, color-mix(in srgb, var(--wc) 22%, var(--cream)), var(--cream));
  padding: 48px 0 20px;
}
.world-hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
.world-hero .hand { color: var(--wcd); }
.world-hero h1 { font-family: var(--font-title); font-weight: 600; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; color: var(--wcd); }
.world-hero .w1-tagline { margin-top: 12px; }
.world-hero .who { margin-top: 12px; color: var(--soft-ink); }
.world-hero-art { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-hero); }
@media (max-width: 760px) { .world-hero .wrap { grid-template-columns: 1fr; } .world-hero-text { text-align: center; } }

.story-text p { color: var(--soft-ink); margin-bottom: 14px; }
.story-col h2, #lines h2 { margin-bottom: 12px; }

.line-list { display: grid; gap: 14px; margin-top: 8px; }
.line-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 20px; }
.line-card blockquote { font-family: var(--font-title); font-style: italic; font-size: 20px; line-height: 1.3; color: var(--accent-deep); }
.line-card p { margin-top: 8px; font-size: 15.5px; color: var(--soft-ink); }

.char-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-top: 36px; }
.char-panel { text-align: center; }
.char-pic { width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: color-mix(in srgb, var(--wc) 18%, var(--cream)); box-shadow: var(--shadow-card); }
.char-pic img { width: 100%; height: 100%; object-fit: cover; }
.char-panel h3 { margin-bottom: 2px; }
.char-power { font-family: var(--font-hand); font-size: 22px; color: var(--accent-deep); margin-bottom: 8px; }
.char-panel p { font-size: 15.5px; }

.world-pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; }
.world-pager a { text-decoration: none; font-weight: 700; color: var(--ink); display: grid; gap: 2px; }
.world-pager a small { font-family: var(--font-hand); font-size: 18px; font-weight: 400; color: var(--soft-ink); }
.world-pager .next { text-align: right; }

/* ── hero slideshow (auto-playing lines → mission) ─────────────────────── */
.hero .kicker { max-width: 34ch; margin-left: auto; margin-right: auto; }
.hero-show {
  position: relative; display: grid; align-items: center;
  max-width: 760px; min-height: 180px; margin: 26px auto 30px;
}
.hero-show .hero-slide {
  grid-area: 1 / 1; margin: 0; align-self: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease;
  pointer-events: none;
}
.hero-show .hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-show .line {
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(27px, 4.2vw, 46px); line-height: 1.16; color: var(--ink);
}
.hero-show .mission {
  font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--soft-ink);
  max-width: 680px; margin: 0 auto;
}

/* ── character slideshow (desktop 3-up, mobile 1-up) ───────────────────── */
.char-carousel { position: relative; margin-top: 30px; }
.cc-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 14px; scrollbar-width: none;
}
.cc-track::-webkit-scrollbar { display: none; }
.cc-card {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; margin: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 24px 20px; text-align: center;
}
.cc-pic {
  width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 50%;
  overflow: hidden; box-shadow: var(--shadow-card);
  background: color-mix(in srgb, var(--wc, var(--accent)) 18%, var(--cream));
}
.cc-pic img { width: 100%; height: 100%; object-fit: cover; }
.cc-card h3 { margin-bottom: 2px; }
.cc-card .char-power {
  font-family: var(--font-hand); font-size: 22px; color: var(--accent-deep); margin-bottom: 8px;
}
.cc-card p { font-size: 15px; color: var(--soft-ink); }

.cc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--accent-deep); font-size: 26px;
  cursor: pointer; box-shadow: var(--shadow-card); display: grid; place-items: center;
}
.cc-arrow:hover { border-color: var(--accent); }
.cc-arrow.prev { left: -12px; }
.cc-arrow.next { right: -12px; }

.cc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.cc-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: var(--path); cursor: pointer;
}
.cc-dots button.is-active { background: var(--accent); }

@media (max-width: 760px) {
  .cc-card { flex-basis: 100%; }
  .cc-arrow.prev { left: 2px; }
  .cc-arrow.next { right: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-track { scroll-behavior: auto; }
  .hero-show .hero-slide { transition: none; }
}

/* ── 23 Oct 2026: mission block + book-scene character cards ── */
#our-mission .mission-text { max-width: 680px; margin-left: auto; margin-right: auto; }
.cc-card { padding: 0 0 22px; overflow: hidden; display: flex; flex-direction: column; }
.cc-card .cc-pic {
  width: 100%; height: auto; aspect-ratio: 4 / 5; max-width: 100%;
  margin: 0 0 18px; border-radius: 0; box-shadow: none; background: var(--cream);
}
.cc-card .cc-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-card figcaption { padding: 0 20px; }
.hero-show { max-width: 980px; }
.hero-show .hero-slide { justify-self: center; text-align: center; max-width: none; width: 100%; margin-left: auto; margin-right: auto; text-wrap: balance; }
.hero-show .line { font-size: clamp(26px, 3.6vw, 44px); }
.hero-show .line .keep { white-space: nowrap; }

/* ── 23 Oct 2026: world pages use the same book-scene character pictures ── */
.char-panel { padding: 0 0 26px; overflow: hidden; }
.char-panel .char-pic {
  width: 100%; height: auto; aspect-ratio: 4 / 5; max-width: 100%;
  margin: 0 0 18px; border-radius: 0; box-shadow: none; background: var(--cream);
}
.char-panel .char-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.char-panel h3, .char-panel .char-power, .char-panel p { padding-left: 22px; padding-right: 22px; }

/* ── 23 Oct 2026: buy-the-book card under the pricing ── */
.book-offer {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 22px auto 0; padding: 26px 30px; text-align: left;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card);
}
.book-offer-text { flex: 1 1 380px; min-width: 0; }
.book-offer h3 { margin: 2px 0 6px; }
.book-offer p { margin: 0; color: var(--soft-ink); }
@media (max-width: 600px) { .book-offer { text-align: center; justify-content: center; } }

.tmore { display: inline-block; margin-top: 10px; font-weight: 800; font-size: 14.5px; color: var(--wt, var(--accent-deep)); text-decoration: none; }
.tmore:hover, .tmore:focus-visible { text-decoration: underline; }
