/* Each WAG dog guides one chapter as the visitor scrolls. */
.intro-grid{gap:48px;align-items:center}
.intro-guide{min-width:0}
.intro-guide .intro-lead{margin-bottom:16px}
.chapter-guide{width:280px;max-width:100%;margin:0 auto;text-align:center}
.intro-guide .chapter-guide{margin-top:24px}
.chapter-guide img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.leaf-wag{display:block;width:100%;height:auto;aspect-ratio:1;overflow:visible}
/* The body stays still; overlapping artwork hides the tail's pivot. */
.leaf-tail{transform-box:view-box;transform-origin:350px 700px}
.guide-motion .chapter-guide.is-active .leaf-tail{animation:leaf-tail-wag 1.1s ease-in-out infinite}
@keyframes leaf-tail-wag{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(7deg)}}
@media(prefers-reduced-motion:reduce){.guide-motion .chapter-guide.is-active .leaf-tail{animation:none;transform:none}}
.disc-scene{position:relative;isolation:isolate}
.disc-scene .shin-disc{position:relative;z-index:1}
.disc-scene .nana-thrower{position:absolute;z-index:0;top:2%;left:1%;width:26%;height:auto;aspect-ratio:auto}
.intro-story{position:relative;background:#fffdf5;border:2px solid #e6bb53;border-radius:26px;padding:32px 34px}
.intro-story::before{content:"";position:absolute;left:-12px;top:55%;width:20px;height:20px;background:#fffdf5;border-left:2px solid #e6bb53;border-bottom:2px solid #e6bb53;transform:rotate(45deg)}
.intro-story p{line-height:2.05}
.intro-story .textlink{display:inline-block;margin-top:8px}
.guided-heading{display:grid;grid-template-columns:310px minmax(0,1fr);align-items:center;gap:48px;margin-bottom:40px}
.guided-heading.gaku-scene{grid-template-columns:minmax(0,1fr) 360px}
.gaku-scene .chapter-guide{grid-column:2;grid-row:1;width:360px}
.gaku-scene .guide-copy{grid-column:1;grid-row:1}
.guide-copy{position:relative;background:#fffdf7;border:2px solid #bfd9ad;border-radius:26px;padding:30px 36px}
.guide-copy::before{content:"";position:absolute;left:-12px;top:45%;width:20px;height:20px;background:#fffdf7;border-left:2px solid #bfd9ad;border-bottom:2px solid #bfd9ad;transform:rotate(45deg)}
.gaku-scene .guide-copy::before{left:auto;right:-12px;transform:rotate(225deg)}
.guided-heading .heading{display:block;margin:0}
.guided-heading .heading h2{margin:10px 0 16px;font-size:32px;line-height:1.55}
.guided-heading .heading p{max-width:620px;font-size:14px;line-height:2}
.guide-motion .chapter-guide{opacity:0;transform:translate3d(-18px,16px,0) scale(.97);transition:opacity .65s ease,transform .75s cubic-bezier(.22,.61,.36,1)}
.guide-motion .chapter-guide.is-active{opacity:1;transform:translate3d(0,0,0) scale(1)}
@media(max-width:1040px){.intro-grid,.guided-heading{gap:32px}.intro-story,.guide-copy{padding:26px}.guided-heading{grid-template-columns:250px minmax(0,1fr)}.chapter-guide{width:260px}.guided-heading .heading h2{font-size:29px}}
@media(min-width:701px) and (max-width:1040px){.guided-heading.gaku-scene{grid-template-columns:minmax(0,1fr) 300px}.gaku-scene .chapter-guide{width:300px}}
@media(max-width:700px){
  .intro-grid{gap:24px}
  .intro-guide .eyebrow{font-size:10px}
  .intro-guide h2{font-size:34px;margin:8px 0 16px}
  .intro-guide .intro-lead{margin:0}
  .chapter-guide{width:220px}
  .intro-guide .chapter-guide{margin-top:22px}
  .intro-story,.guide-copy{padding:24px 22px;border-radius:22px}
  .intro-story::before,.guide-copy::before{left:50%;top:-12px;transform:translateX(-50%) rotate(135deg)}
  .intro-story p{font-size:13px}
  .guided-heading{grid-template-columns:1fr;gap:26px;margin-bottom:28px}
  .guided-heading.gaku-scene{grid-template-columns:1fr}
  .gaku-scene .chapter-guide{grid-column:1;grid-row:1;width:300px}
  .gaku-scene .guide-copy{grid-column:1;grid-row:2}
  .gaku-scene .guide-copy::before{left:50%;right:auto;top:-12px;transform:translateX(-50%) rotate(135deg)}
  .guided-heading .heading h2{font-size:27px;margin:10px 0 15px}
  .guided-heading .heading p{font-size:13px}
}
@media(max-width:360px){.intro-guide .intro-lead{font-size:19px!important}.intro-story,.guide-copy{padding:21px 18px}.guided-heading .heading h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.guide-motion .chapter-guide{opacity:1;transform:none;transition:none}}
