:root{
  --ink:#19241f;--muted:#657169;--paper:#f7f5ef;--card:#fff;--accent:#315044;--accent2:#728f4d;--soft:#edf2e8;--line:#dce3dc;--shell:min(1180px,calc(100% - 48px));--shadow:0 12px 34px rgba(34,43,37,.08)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",YuGothic,Meiryo,sans-serif;line-height:1.8}a{color:inherit}.shell{width:var(--shell);margin-inline:auto}
.site-header{background:#fff;border-bottom:1px solid #e9ece9}.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between}.brand img{display:block;width:132px;height:41px;object-fit:contain;object-position:left center}.tagline{margin:0;color:#707a75;font-size:.76rem;letter-spacing:.04em}
.feature-hero{position:relative;height:430px;margin-top:28px;overflow:hidden;border-radius:15px;box-shadow:var(--shadow);background:#243a31}.feature-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:64% center}.hero-scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,23,18,.98) 0%,rgba(17,41,32,.93) 34%,rgba(17,41,32,.62) 52%,rgba(17,41,32,.13) 78%,rgba(17,41,32,0) 100%)}.feature-hero-copy{position:relative;z-index:2;width:62%;height:100%;display:flex;flex-direction:column;justify-content:center;padding:46px 58px;color:#fff}.hero-meta{display:flex;gap:10px;margin-bottom:14px;font-size:.75rem;font-weight:800;color:#cfe3c9}.hero-meta span:last-child{border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:1px 9px}.feature-hero h1{margin:0;font-size:clamp(2.7rem,4.3vw,4.05rem);line-height:1.16;letter-spacing:.01em;font-weight:800}.hero-lead{margin:22px 0 0;max-width:680px;color:#f1f5f2;font-size:.98rem;line-height:1.75}
.opening{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.72fr);gap:36px;padding:34px 0 20px}.opening-copy{padding-right:10px}.opening-copy p{margin:0 0 12px;font-size:.98rem;line-height:1.95;color:#354039}.opening-lead{font-size:1.18rem!important;font-weight:700;color:#1e2e26!important}.know-panel{align-self:start;background:#f6efd9;border:1px solid #eadfc1;border-radius:12px;padding:20px 22px}.eyebrow{margin:0 0 7px;color:var(--accent);font-size:.72rem;font-weight:800;letter-spacing:.14em}.know-panel h2{margin:0 0 14px;font-size:1.08rem}.know-panel ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}.know-panel li{position:relative;padding-left:22px;font-size:.82rem;line-height:1.55}.know-panel li:before{content:"✓";position:absolute;left:0;color:#6f8c3b;font-weight:800}
.timeline-strip{margin-top:4px;margin-bottom:34px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 20px;display:flex;align-items:center;gap:12px;box-shadow:0 5px 18px rgba(32,45,36,.04)}.timeline-strip div{display:flex;flex-direction:column;min-width:110px}.timeline-strip b{font-size:.78rem;color:var(--accent2)}.timeline-strip span{font-size:.78rem;color:#4f5b54}.timeline-strip i{height:1px;background:#cbd5cd;flex:1;min-width:26px}
.feature-chapter{margin-bottom:34px}.chapter-label{display:inline-block;background:var(--accent2);color:#fff;font-weight:800;font-size:.88rem;padding:8px 14px;border-radius:5px 5px 0 0}.chapter-grid{background:#fff;border-radius:0 14px 14px 14px;box-shadow:var(--shadow);overflow:hidden}.two-col{display:grid;grid-template-columns:1.1fr .9fr}.reverse{grid-template-columns:1.1fr .9fr}.chapter-copy{padding:34px 38px}.chapter-kicker{margin:0 0 8px;color:#6f874f;font-size:.78rem;font-weight:800;letter-spacing:.04em}.chapter-copy h2{margin:0 0 20px;font-size:2rem;line-height:1.35}.chapter-copy p{margin:0 0 14px;font-size:.94rem;line-height:1.9;color:#3f4944}.decision-board{display:grid;gap:12px;padding:26px;background:#eef2e7}.decision{background:#fff;border:1px solid #d9e1d8;border-radius:10px;padding:16px 16px 14px;position:relative}.decision span{position:absolute;right:14px;top:12px;font-size:.74rem;color:#9aa59d}.decision strong{display:block;font-size:1.02rem;margin-bottom:5px}.decision p{margin:0;font-size:.8rem;line-height:1.55;color:#647068}.decision.best{border-color:#93ad72;background:#f5f8ee}.decision.caution{background:#fbf8ee}.decision.wrong{background:#f8f4f2}
.lab-layout{display:grid;grid-template-columns:.95fr 1.05fr}.lab-card{margin:30px;align-self:center;background:#17201c;color:#fff;border-radius:12px;padding:20px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}.lab-top{display:flex;justify-content:space-between;color:#a7b6ad;font-size:.68rem;letter-spacing:.12em}.dna-line{height:78px;margin:14px 0 18px;background:repeating-linear-gradient(135deg,#89a66c 0 4px,transparent 4px 12px),linear-gradient(180deg,#22302a,#1a241f);opacity:.75;border-radius:8px}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.result-grid>div{background:#222e28;border:1px solid #34443c;border-radius:8px;padding:12px;min-height:118px}.result-grid b{display:block;color:#9dbb7f;font-size:1.4rem}.result-grid strong{display:block;margin:3px 0 6px;font-size:.88rem}.result-grid span{display:block;color:#aab4ae;font-size:.7rem;line-height:1.45}.result-grid .hot{background:#2b3b31;border-color:#75905b}
.rights-board{padding:28px;background:#edf1e7}.rights-board h3{margin:0 0 14px;font-size:1.15rem}.rights-board>div{display:grid;grid-template-columns:82px 62px 1fr;gap:10px;align-items:start;padding:12px 0;border-top:1px solid #d3dbd2}.rights-board span{font-size:.62rem;letter-spacing:.11em;color:#7c8a80}.rights-board b{font-size:.86rem}.rights-board p{margin:0;font-size:.76rem;line-height:1.55;color:#5c6760}
.population-layout{display:grid;grid-template-columns:.9fr 1.1fr}.population-visual{position:relative;min-height:420px;background:#223029}.population-visual>img{width:100%;height:100%;object-fit:cover;display:block;opacity:.88}.population-overlay{position:absolute;left:20px;right:20px;bottom:18px;background:rgba(11,21,16,.86);color:#fff;padding:18px 20px;border-radius:10px}.population-overlay span{font-size:.72rem;color:#b9cbb7;letter-spacing:.1em}.population-overlay b{display:block;font-size:1.9rem;margin:2px 0 4px}.population-overlay p{margin:0;font-size:.78rem;line-height:1.55;color:#d8e0da}.ending-quote{margin:18px 0 0;background:#20322a;color:#fff;padding:28px 34px;border-radius:12px;font-size:1.38rem;line-height:1.7;font-weight:700;border-left:6px solid #7d9a58}
.notes{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px 28px;margin-top:12px;margin-bottom:12px}.notes h2{margin:0 0 8px;font-size:1.08rem}.notes h3{margin:18px 0 8px;font-size:.98rem}.notes p,.notes li{font-size:.78rem;line-height:1.7;color:#5f6b64}.notes ul{margin:0;padding-left:1.1em}
.carousel-section{padding:30px 0 18px}.section-heading{margin-bottom:18px}.section-heading h2{margin:0;font-size:2.05rem;line-height:1.2}.shared-carousel{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;align-items:center}.shared-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 88px)/5);gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 1px 10px;scrollbar-width:none}.shared-track::-webkit-scrollbar{display:none}.shared-track>*{scroll-snap-align:start}.carousel-button{width:44px;height:44px;border:1px solid #a9b7ae;border-radius:50%;background:#fff;color:#5d7466;font-size:1.2rem;cursor:pointer}.book-card,.feature-card{display:block;text-decoration:none;background:#fff;border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.book-thumbnail{aspect-ratio:8/5;background:#e7ece5;overflow:hidden}.book-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}.book-meta{padding:13px 14px 16px}.reading{font-size:.66rem;color:#789175}.book-meta h3{font-size:1rem;margin:2px 0 6px}.book-meta p{margin:0;font-size:.72rem;line-height:1.55;color:#6a756f}.other-features{padding-bottom:62px}.feature-carousel .shared-track{grid-auto-columns:calc((100% - 22px)/2)}.feature-thumb{height:156px}.feature-earth{background:radial-gradient(circle at 67% 35%,#b8d5b3 0 18%,transparent 19%),linear-gradient(135deg,#294e3e,#7d9c78)}.feature-signal{background:radial-gradient(circle,transparent 0 15%,#c3dfc1 16% 17%,transparent 18% 28%,#c3dfc1 29% 30%,transparent 31%),#253d4b}.feature-copy{padding:14px 16px 16px}.feature-copy h3{margin:0;font-size:.96rem;line-height:1.45}.feature-copy p{margin:8px 0 0;font-size:.74rem;color:#6e7973}
.site-footer{background:#171717;color:#fff}.footer-inner{min-height:112px;display:flex;align-items:center;justify-content:space-between;font-size:.76rem}.footer-links{display:flex;gap:24px}.footer-links a{text-decoration:none}.footer-inner p{margin:0;color:#aaa}
@media(max-width:1000px){.feature-hero-copy{width:72%}.feature-hero h1{font-size:3rem}.two-col,.reverse,.lab-layout,.population-layout{grid-template-columns:1fr}.decision-board{grid-template-columns:repeat(3,1fr)}.lab-card{margin:24px}.population-visual{min-height:330px}.shared-track{grid-auto-columns:calc((100% - 22px)/2)}.feature-carousel .shared-track{grid-auto-columns:calc((100% - 22px)/2)}}
@media(max-width:640px){:root{--shell:calc(100% - 28px)}.header-inner{min-height:72px;display:block;padding:14px 0}.tagline{margin-top:3px;font-size:.66rem}.feature-hero{height:520px;margin-top:16px}.feature-hero>img{object-position:67% center}.hero-scrim{background:linear-gradient(180deg,rgba(14,34,26,.08),rgba(13,31,24,.95) 62%)}.feature-hero-copy{width:100%;height:100%;padding:24px 22px;justify-content:flex-end}.feature-hero h1{font-size:2.15rem;line-height:1.24}.hero-lead{font-size:.82rem;line-height:1.65}.opening{grid-template-columns:1fr;gap:18px;padding:28px 0 20px}.opening-copy p{font-size:.9rem}.timeline-strip{overflow-x:auto;gap:8px}.timeline-strip div{min-width:110px}.timeline-strip i{min-width:24px;flex:0 0 24px}.chapter-copy{padding:24px 22px}.chapter-copy h2{font-size:1.55rem}.chapter-copy p{font-size:.88rem}.decision-board{grid-template-columns:1fr;padding:20px}.result-grid{grid-template-columns:1fr}.rights-board>div{grid-template-columns:70px 52px 1fr}.ending-quote{font-size:1.08rem;padding:22px}.shared-carousel{grid-template-columns:38px minmax(0,1fr) 38px;gap:7px}.carousel-button{width:38px;height:38px}.shared-track,.feature-carousel .shared-track{grid-auto-columns:84%;gap:14px}.section-heading h2{font-size:1.7rem}.footer-inner{display:block;padding:24px 0}.footer-inner p{margin-top:15px}}

/* v3 visual refinement: multilingual-safe images, denser feature storytelling */
.hero-meta{margin-bottom:12px}.hero-meta span{border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:2px 10px}.feature-hero h1{max-width:760px;font-size:clamp(2.65rem,4.15vw,3.9rem);line-height:1.13;word-break:keep-all;overflow-wrap:normal}.hero-lead{max-width:720px}
.opening{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:28px;padding:32px 0 18px}.opening-visual{margin:0;background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}.opening-visual img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.opening-visual figcaption{padding:10px 14px 13px;font-size:.74rem;line-height:1.55;color:#667169}.know-panel{display:none}
.timeline-strip{padding:14px 18px;gap:10px}.timeline-step{display:grid!important;grid-template-columns:46px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;min-width:145px!important}.timeline-step img{grid-row:1/3;width:46px;height:46px;border-radius:50%;object-fit:cover;background:#eef2ec;border:1px solid #d9e1da}.timeline-step b{font-size:.73rem!important}.timeline-step span{font-size:.7rem!important;white-space:nowrap}
.decision-board{gap:14px}.decision{padding:0 16px 16px;overflow:hidden}.decision img{display:block;width:calc(100% + 32px);height:120px;object-fit:cover;margin:0 -16px 14px;border-bottom:1px solid #dde4dd}.decision strong{font-size:1.05rem}.decision p{font-size:.78rem}.decision span{top:132px}
.lab-card{background:#18251f;padding:18px}.lab-top{font-size:.65rem}.lab-process{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin:16px 0 18px}.lab-node{background:#233229;border:1px solid #34483d;border-radius:9px;padding:10px;text-align:center;min-width:0}.lab-node img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:7px;margin-bottom:8px;background:#eef3ef}.lab-node span{font-size:.68rem;color:#d5dfd8;line-height:1.35}.lab-arrow{color:#9fba87;font-size:1.15rem}.database-node{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:114px}.database-disc{width:62px;height:62px;border-radius:50%;border:7px solid #84a06d;box-shadow:0 0 0 7px rgba(132,160,109,.18),0 0 0 14px rgba(132,160,109,.08);margin:8px 0 12px}.dna-line{display:none}.result-grid>div{min-height:105px}
.rights-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}.rights-board h3{grid-column:1/-1;margin:0 0 2px}.rights-board>div{display:block!important;padding:0!important;border:1px solid #d6dfd6!important;background:#fff;border-radius:10px;overflow:hidden}.right-card img{width:100%;height:112px;object-fit:cover;background:#eef3ef;border-bottom:1px solid #dbe3dc}.right-card span,.right-card b,.right-card p{display:block;margin-left:14px;margin-right:14px}.right-card span{margin-top:10px}.right-card b{margin-top:2px;font-size:.92rem}.right-card p{margin-top:5px;margin-bottom:12px;font-size:.74rem;line-height:1.5}.feature-carousel .shared-track{grid-auto-columns:calc((100% - 88px)/5)}.feature-thumb{height:auto;aspect-ratio:8/5;overflow:hidden;background:#e8ece8}.feature-thumb img{display:block;width:100%;height:100%;object-fit:cover}.feature-copy h3{font-size:.82rem;line-height:1.42}.feature-copy p{font-size:.7rem}.other-features{padding-bottom:52px}
@media(max-width:1000px){.opening{grid-template-columns:1fr}.opening-visual{max-width:720px}.rights-board{grid-template-columns:repeat(2,1fr)}.feature-carousel .shared-track{grid-auto-columns:calc((100% - 22px)/2)}}
@media(max-width:640px){.feature-hero h1{font-size:2rem;line-height:1.2}.opening{padding-top:24px}.timeline-step{min-width:138px!important}.decision img{height:100px}.lab-process{grid-template-columns:1fr;gap:6px}.lab-arrow{transform:rotate(90deg);text-align:center}.rights-board{grid-template-columns:1fr}.right-card img{height:128px}.feature-carousel .shared-track{grid-auto-columns:84%}}

/* v4 public-quality visual refinement */
.feature-hero>img{object-position:72% center}
.feature-hero-copy{width:50%;padding:44px 54px}
.feature-hero h1{font-size:clamp(2.55rem,3.85vw,3.7rem);line-height:1.14;max-width:610px}
.hero-scrim{background:linear-gradient(90deg,rgba(7,18,22,.98) 0%,rgba(16,38,45,.94) 30%,rgba(16,38,45,.72) 48%,rgba(16,38,45,.28) 66%,rgba(16,38,45,0) 88%)}
.opening{grid-template-columns:1.1fr .9fr;align-items:start;gap:36px}
.editorial-scene{margin:0;border-radius:14px;overflow:hidden;background:#15281f;box-shadow:var(--shadow)}
.editorial-scene>img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:64% center}
.scene-caption{padding:16px 18px 18px;background:#173027;color:#fff}
.scene-caption span{display:block;color:#b9cfaa;font-size:.68rem;font-weight:800;letter-spacing:.16em;margin-bottom:5px}
.scene-caption b{display:block;font-size:1rem;line-height:1.45}.scene-caption p{margin:6px 0 0;color:#dce5df;font-size:.76rem;line-height:1.6}
.timeline-step img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.decision-board{grid-template-columns:repeat(3,1fr);gap:14px;align-content:start}
.decision{padding:0 0 15px;overflow:hidden}.decision img{display:block;width:100%;height:145px;object-fit:cover;margin-bottom:14px}.decision strong,.decision p{margin-left:14px;margin-right:14px}.decision span{top:158px}
.lab-card{background:#13261e}.lab-node{background:#1c3328;border-radius:10px;overflow:hidden;padding:0}.lab-node img{width:100%;height:128px;object-fit:cover;display:block}.lab-node span{display:block;padding:10px 12px;color:#e8efe9;font-size:.78rem;font-weight:700}.lab-process{align-items:stretch}.lab-arrow{align-self:center}
.right-card img{height:150px;object-fit:cover;filter:saturate(.82) contrast(1.02)}
.population-visual img{object-position:62% center}
.feature-carousel .shared-track{grid-auto-columns:calc((100% - 88px)/5)}
.feature-card{min-width:0}.feature-thumb{height:auto;aspect-ratio:8/5}.feature-thumb img{object-fit:cover}
@media(max-width:1000px){.feature-hero-copy{width:62%}.decision-board{grid-template-columns:1fr}.opening{grid-template-columns:1fr}.right-card img{height:140px}}
@media(max-width:640px){.feature-hero>img{object-position:78% center}.feature-hero-copy{width:100%}.feature-hero h1{font-size:2rem}.decision img{height:150px}.timeline-step img{width:46px;height:46px}.lab-node img{height:150px}}


/* v5 rhythm refinement: tighten vertical spacing without flattening chapter boundaries */
.feature-hero{
  margin-top:20px;
}

.opening{
  padding:24px 0 12px;
  gap:28px;
}
.opening-copy p{
  margin-bottom:10px;
  line-height:1.88;
}
.editorial-scene .scene-caption{
  padding:13px 16px 15px;
}

.timeline-strip{
  margin-top:0;
  margin-bottom:24px;
  padding:13px 18px;
}

.feature-chapter{
  margin-bottom:22px;
}
.chapter-copy{
  padding:28px 34px;
}
.chapter-copy h2{
  margin-bottom:16px;
}
.chapter-copy p{
  margin-bottom:11px;
  line-height:1.82;
}
.chapter-label{
  padding:7px 13px;
}

.decision-board{
  padding:20px;
  gap:12px;
}
.lab-card{
  margin:22px;
}
.rights-board{
  padding:22px;
}
.population-visual{
  min-height:0;
}

.note-box,
.sources-box{
  margin-top:18px;
  margin-bottom:18px;
}

.carousel-section{
  padding:22px 0 12px;
}
.section-heading{
  margin-bottom:14px;
}
.other-features{
  padding-bottom:34px;
}

/* Keep enough separation for hierarchy, but let the next chapter peek into view */
.feature-chapter + .feature-chapter{
  margin-top:-2px;
}

/* Desktop density tuning */
@media (min-width:1001px){
  .feature-hero{
    height:420px;
  }
  .opening{
    align-items:stretch;
  }
  .timeline-strip{
    min-height:82px;
  }
}

/* Tablet/mobile retain rhythm without cramped stacking */
@media (max-width:1000px){
  .opening{
    gap:20px;
    padding-top:20px;
  }
  .feature-chapter{
    margin-bottom:18px;
  }
  .chapter-copy{
    padding:26px 28px;
  }
  .carousel-section{
    padding-top:20px;
  }
}

@media (max-width:640px){
  .feature-hero{
    margin-top:12px;
  }
  .opening{
    padding:18px 0 10px;
  }
  .timeline-strip{
    margin-bottom:18px;
  }
  .feature-chapter{
    margin-bottom:16px;
  }
  .chapter-copy{
    padding:22px 20px;
  }
  .carousel-section{
    padding:18px 0 10px;
  }
  .other-features{
    padding-bottom:24px;
  }
}


/* v6 image-system refinement */
.feature-hero{
  height: clamp(360px, 34vw, 470px);
  overflow: hidden;
}
.feature-hero .hero-visual,
.feature-hero .hero-visual img{
  width:100%;
  height:100%;
}
.feature-hero .hero-visual img{
  object-fit:cover;
  object-position:82% 48%;
}
.feature-hero .hero-copy{
  max-width:min(48%, 650px);
}
.feature-hero .hero-copy h1{
  max-width:11.5em;
  line-height:1.12;
}

.editorial-scene{
  min-height:0;
  align-self:start;
}
.editorial-scene img{
  width:100%;
  aspect-ratio:16/10;
  height:auto;
  object-fit:cover;
  object-position:center 45%;
  display:block;
}

.timeline-strip img,
.timeline-strip .timeline-thumb img{
  width:54px !important;
  height:54px !important;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:50%;
  flex:0 0 54px;
}

.feature-chapter .chapter-media,
.feature-chapter .chapter-image{
  overflow:hidden;
}
.feature-chapter .chapter-media img,
.feature-chapter .chapter-image img{
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
  object-position:center;
  display:block;
}

.decision-board .choice-card img,
.decision-board .decision-card img,
.decision-board img{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center;
  display:block;
}

.lab-flow img,
.lab-card img,
.dna-flow img{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center;
  display:block;
}

.rights-board img,
.rights-grid img{
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:cover;
  object-position:center;
  display:block;
}

.population-visual img,
.conclusion-visual img{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center 48%;
  display:block;
}

.book-card img,
.yokai-card img,
.related-card img{
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
  object-position:center;
  display:block;
}

.category-other-themes__card img,
.other-feature-card img{
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
  object-position:center;
  display:block;
}
.category-other-themes__card,
.other-feature-card{
  width:min(280px, 24vw);
  flex:0 0 min(280px, 24vw);
}

.category-other-themes__track,
.other-features-track{
  justify-content:flex-start;
  align-items:stretch;
}

.feature-chapter figure{
  margin:0 0 14px;
}

@media (max-width: 760px){
  .feature-hero{
    height:340px;
  }
  .feature-hero .hero-copy{
    max-width:68%;
  }
  .feature-hero .hero-visual img{
    object-position:78% 50%;
  }
  .editorial-scene img,
  .feature-chapter .chapter-media img,
  .feature-chapter .chapter-image img,
  .population-visual img{
    aspect-ratio:16/11;
  }
  .decision-board .choice-card img,
  .decision-board .decision-card img,
  .lab-flow img,
  .lab-card img,
  .dna-flow img{
    aspect-ratio:16/10;
  }
  .category-other-themes__card,
  .other-feature-card{
    width:78vw;
    flex-basis:78vw;
  }
}


/* v7 story-image system: each image visualizes the surrounding prose */
.feature-hero > img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.editorial-scene img{
  aspect-ratio:16/10;
  object-fit:cover;
}

.decision-board .decision img{
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center;
}

.lab-process .lab-node img{
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center;
}

.rights-board img,
.rights-grid img{
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center;
}

.day14 .chapter-media img,
.day14 .chapter-image img,
.day14 img.story-main{
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center;
}

@media (min-width:1001px){
  .decision-board .decision img{max-height:190px;}
  .lab-process .lab-node img{max-height:160px;}
  .rights-board img,.rights-grid img{max-height:180px;}
}


/* v8: remove dummy shelves; do not stretch sparse real items */
.related-articles .book-grid,
.related-articles .carousel-track,
.related-articles .shelf-track,
.carousel-section .book-grid,
.carousel-section .carousel-track,
.category-other-themes__track,
.other-features-track{
  justify-content:flex-start !important;
}
.related-articles .book-card,
.related-articles .yokai-card,
.related-articles .related-card{
  flex:0 0 210px;
  width:210px;
}
.category-other-themes__card,
.other-feature-card{
  flex:0 0 210px !important;
  width:210px !important;
}
@media (max-width:760px){
  .related-articles .book-card,
  .related-articles .yokai-card,
  .related-articles .related-card,
  .category-other-themes__card,
  .other-feature-card{
    flex-basis:72vw !important;
    width:72vw !important;
  }
}


/* v9 targeted review fixes */
.timeline-strip img,
.timeline-strip .timeline-thumb img,
.timeline-step img{
  width:108px !important;
  height:108px !important;
  flex:0 0 108px !important;
  border-radius:50%;
  object-fit:cover;
}

/* compensate timeline row height for larger circles without creating dead space */
.timeline-strip{
  min-height:132px;
  padding-top:12px;
  padding-bottom:12px;
}
.timeline-step{
  align-items:center;
}

/* Timeline layout fix: keep the connector on the image axis and labels below it. */
.timeline-strip{
  position:relative;
  align-items:flex-start;
  padding:16px 30px 20px;
  gap:clamp(12px,2vw,32px);
  overflow-x:auto;
}
.timeline-step{
  position:relative;
  z-index:1;
  display:flex !important;
  flex:1 1 0;
  min-width:145px !important;
  flex-direction:column !important;
  align-items:center !important;
  row-gap:6px;
  text-align:center;
}
.timeline-step img{
  display:block;
  margin:0 auto 2px;
}
.timeline-step b,
.timeline-step span{
  position:static;
  display:block;
  line-height:1.35;
  white-space:normal;
}
.timeline-strip > i{
  flex:1 1 auto;
  min-width:24px;
  align-self:flex-start;
  margin-top:54px;
  position:relative;
  z-index:0;
}
@media(max-width:640px){
  .timeline-strip{
    padding:16px 18px 20px;
    gap:10px;
  }
  .timeline-step{
    flex:0 0 145px;
  }
  .timeline-strip > i{
    flex:0 0 24px;
    margin-top:54px;
  }
}

/* opening image: image only; remove redundant caption panel */
.editorial-scene .scene-caption{
  display:none !important;
}

/* DAY14 image: clean photo only, no overlay/caption card on top */
.day14 .population-overlay,
.day14 .image-overlay,
.day14 .stat-overlay,
.day14 .visual-callout{
  display:none !important;
}

/* Formal installation: shared SORE shell plus v9 feature-only shelves. */
.feature-single-carousel{display:block;max-width:280px;}
.feature-single-carousel .shared-track{display:block;overflow:visible;padding:2px 1px 10px;}
.feature-single-carousel .shared-track>div{width:280px;}
.feature-single-carousel .book-card{display:block;}
.feature-no-nav{display:grid;grid-template-columns:repeat(2,minmax(0,280px));gap:22px;align-items:start;}
.feature-no-nav .feature-card{min-width:0;}
@media(max-width:640px){.feature-no-nav{grid-template-columns:minmax(0,280px);}.feature-single-carousel .shared-track>div{width:min(280px,100%);}}


.catalog-book-grid,.catalog-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;min-width:0}
.catalog-book-tile{display:block;width:100%;min-width:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;text-decoration:none}
.catalog-book-tile:hover,.catalog-book-tile:focus-visible{transform:none}
.catalog-book-image-wrap{display:block;width:100%;min-width:0;aspect-ratio:4/5;overflow:hidden;border:1px solid rgba(35,45,39,.12);border-radius:2px;background:#ece9e1}
.catalog-book-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.catalog-book-title{display:block;width:100%;min-width:0;margin:8px 0 0;text-align:center}
.catalog-book-short-title{display:-webkit-box;width:100%;min-width:0;max-width:100%;overflow:hidden;color:inherit;text-align:center;font-size:clamp(.78rem,1.15vw,1rem);font-weight:700;line-height:1.35;overflow-wrap:anywhere;word-break:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.catalog .yokai-grid,.catalog .published-castle-grid,.catalog .castle-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.catalog .yokai-grid>div,.catalog .published-castle-grid>div,.catalog .castle-grid>div{min-width:0}
@media(max-width:560px){
  .catalog-book-grid,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  .catalog-book-title{margin-top:7px}
  .catalog-book-short-title{font-size:.84rem;line-height:1.3}
  .catalog .yokai-grid,.catalog .published-castle-grid,.catalog .castle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
}


.sore-shared-feature-shelf{padding:8px 0 68px}
.sore-shared-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0}
.sore-shared-feature-card{display:block;min-width:0;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:var(--radius,12px);color:#fff;text-decoration:none;background:#22382e}
.sore-shared-feature-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.sore-shared-feature-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,0) 48%,rgba(0,0,0,.68))}
.sore-shared-feature-title{position:absolute;z-index:1;top:14px;left:16px;right:16px;margin:0;color:#fff;font-size:clamp(.95rem,1.35vw,1.2rem);font-weight:800;line-height:1.4}
.sore-shared-feature-cta{position:absolute;z-index:1;left:16px;right:16px;bottom:13px;color:#fff;font-size:.82rem;font-weight:700}
.sore-shared-catalog-shelf{padding:8px 0 68px}
@media(max-width:640px){.sore-shared-feature-grid{grid-template-columns:1fr;gap:14px}.sore-shared-feature-card{aspect-ratio:16/9}.sore-shared-feature-title{top:13px;left:14px;right:14px;font-size:1rem}.sore-shared-feature-cta{left:14px;right:14px;bottom:12px}}
