/* Chapter 01 Section production styles */
.chapter-section-page{background:#f8f4ea;color:#062821;}
.chapter-progress{position:sticky;top:var(--header-h);z-index:85;height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,5vw,92px);background:rgba(255,255,255,.86);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(6,40,33,.08)}
.chapter-progress .chapter-title{display:flex;align-items:center;gap:22px;font-weight:900;letter-spacing:.02em}.chapter-progress .chapter-title span:first-child{color:var(--green);letter-spacing:.08em}.chapter-progress .section-tabs{display:flex;gap:34px;align-items:center}.chapter-progress .section-tabs a{font-size:18px;font-weight:800;color:rgba(6,40,33,.62);position:relative;padding:18px 0}.chapter-progress .section-tabs a.active{color:var(--green)}.chapter-progress .section-tabs a.active:after{content:"";position:absolute;left:0;right:0;bottom:10px;height:3px;border-radius:99px;background:var(--green)}
.section-hero{min-height:calc(100vh - var(--header-h));position:relative;display:flex;align-items:center;overflow:hidden;background-image:url('../images/chapter/jq100-qinghai-field.jpg');background-size:cover;background-position:center center;}
.section-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(248,244,234,.98) 0%,rgba(248,244,234,.88) 28%,rgba(248,244,234,.44) 48%,rgba(248,244,234,.08) 72%,rgba(248,244,234,0) 100%);z-index:1}.section-hero:after{content:"";position:absolute;inset:auto 0 0 0;height:26%;background:linear-gradient(0deg,rgba(248,244,234,.92),transparent);z-index:1}.section-hero-content{position:relative;z-index:2;width:min(630px,90vw);margin-left:clamp(30px,6vw,96px);padding:120px 0 130px}.section-hero h1{font-size:clamp(56px,7.5vw,106px);line-height:.95;letter-spacing:-.06em;color:var(--green-dark);margin:0 0 26px}.section-hero .lead{font-size:clamp(26px,2.4vw,38px);line-height:1.28;color:var(--green);font-weight:900;margin:0 0 24px}.section-hero p{font-size:19px;line-height:1.72;color:#102f29;max-width:570px}.photo-credit{position:absolute;right:clamp(26px,5vw,90px);bottom:40px;z-index:3;color:white;font-weight:800;text-shadow:0 3px 18px rgba(0,0,0,.45);display:flex;gap:24px;align-items:center;background:rgba(0,0,0,.15);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:12px 18px}.photo-credit span{white-space:nowrap}
.section-body{padding:70px clamp(26px,5vw,92px) 90px;background:linear-gradient(180deg,#f8f4ea 0%,#fbf8f1 100%)}.idea-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(44px,6vw,90px);align-items:start;max-width:1500px;margin:0 auto}.impact-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-bottom:1px solid rgba(6,40,33,.16);padding-bottom:36px}.impact-card{padding:0 28px;border-right:1px solid rgba(6,40,33,.14);text-align:center}.impact-card:last-child{border-right:0}.impact-icon{width:72px;height:72px;border:1.5px solid var(--green);border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;color:var(--green);font-size:31px}.impact-card h3{font-size:20px;margin:0 0 10px;color:var(--green-dark)}.impact-card p{margin:0;color:var(--muted);line-height:1.55;font-size:15.5px}.section-quote{font-family:Georgia,serif;margin-top:42px;color:rgba(6,40,33,.62);font-size:clamp(28px,3vw,42px);line-height:1.2}.section-quote .mark{font-size:54px;color:rgba(0,107,63,.25);vertical-align:-.18em;margin-right:12px}.jiaqi-action{background:rgba(255,255,255,.64);border:1px solid rgba(6,40,33,.08);border-radius:28px;padding:30px;box-shadow:0 20px 50px rgba(0,0,0,.06)}.jiaqi-action .label{font-size:18px;font-weight:900;color:var(--green);letter-spacing:.08em;text-transform:uppercase;margin-bottom:20px}.action-media{display:grid;grid-template-columns:240px 1fr;gap:26px;align-items:center}.action-media img{width:100%;border-radius:18px;box-shadow:0 14px 30px rgba(0,0,0,.14)}.action-copy h3{font-size:24px;margin:0 0 12px;color:var(--green-dark)}.action-copy p{font-size:17px;line-height:1.7;margin:0;color:#173d34}.action-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:28px;border-top:1px solid rgba(6,40,33,.13);padding-top:22px}.action-stats div{text-align:center;border-right:1px solid rgba(6,40,33,.14)}.action-stats div:last-child{border-right:0}.action-stats strong{display:block;font-size:28px;color:var(--green);line-height:1}.action-stats span{display:block;font-size:14px;color:var(--muted);margin-top:7px}.section-next{max-width:1500px;margin:70px auto 0;display:flex;align-items:center;justify-content:space-between;gap:26px;background:var(--green-dark);color:white;border-radius:28px;padding:34px 42px;overflow:hidden;position:relative}.section-next:after{content:"";position:absolute;right:0;top:0;bottom:0;width:40%;background:linear-gradient(90deg,transparent,rgba(226,169,58,.14));pointer-events:none}.section-next small{display:block;color:var(--gold);font-weight:900;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px}.section-next h3{font-size:30px;margin:0 0 8px}.section-next p{margin:0;color:rgba(255,255,255,.72)}.section-next .btn{border-color:rgba(255,255,255,.65);color:white;background:rgba(255,255,255,.08)}
@media (max-width: 1100px){.chapter-progress .section-tabs{gap:18px}.idea-grid{grid-template-columns:1fr}.impact-cards{grid-template-columns:repeat(2,1fr);gap:28px 0}.impact-card:nth-child(2){border-right:0}.impact-card:nth-child(n+3){padding-top:8px}.photo-credit{left:30px;right:30px;justify-content:center;bottom:24px}}
@media (max-width: 767px){.chapter-progress{top:92px;height:auto;min-height:58px;padding:10px 18px;align-items:flex-start;gap:10px;overflow-x:auto}.chapter-progress .chapter-title{min-width:170px;display:block;font-size:13px}.chapter-progress .chapter-title strong{display:none}.chapter-progress .section-tabs{gap:22px;min-width:max-content}.chapter-progress .section-tabs a{font-size:15px;padding:8px 0}.chapter-progress .section-tabs a.active:after{bottom:1px}.section-hero{min-height:auto;display:block;background:#fbf8f1;background-image:none}.section-hero:before{display:block;position:relative;inset:auto;height:48vh;min-height:320px;background-image:linear-gradient(180deg,rgba(251,248,241,0) 0%,rgba(251,248,241,.10) 60%,#fbf8f1 100%),url('../images/chapter/jq100-qinghai-field.jpg');background-size:cover;background-position:center center;z-index:0}.section-hero:after{display:none}.section-hero-content{margin:0;width:auto;padding:22px 22px 36px}.section-hero h1{font-size:clamp(42px,13vw,58px);line-height:1.02;margin-bottom:20px}.section-hero .lead{font-size:23px;line-height:1.32}.section-hero p{font-size:16px}.photo-credit{position:relative;left:auto;right:auto;bottom:auto;margin:0 22px 26px;color:var(--green-dark);text-shadow:none;background:rgba(255,255,255,.72);border-color:rgba(6,40,33,.08);border-radius:18px;display:block}.photo-credit span{display:block;white-space:normal;margin:4px 0}.section-body{padding:46px 20px 64px}.impact-cards{grid-template-columns:1fr;border-bottom:0;gap:18px}.impact-card{border:1px solid rgba(6,40,33,.10)!important;border-radius:20px;padding:22px!important;background:rgba(255,255,255,.58)}.section-quote{font-size:29px}.jiaqi-action{padding:22px;border-radius:22px}.action-media{grid-template-columns:1fr}.action-stats{grid-template-columns:1fr;gap:18px}.action-stats div{border-right:0;border-bottom:1px solid rgba(6,40,33,.13);padding-bottom:16px}.action-stats div:last-child{border-bottom:0}.section-next{display:block;padding:28px 22px;border-radius:22px}.section-next .btn{margin-top:22px;width:100%;justify-content:center}}

/* Chapter 01 Section 02 specific image treatment */
.section-hero-02{background-position:center center;}
.section-hero-02:before{background:linear-gradient(90deg,rgba(248,244,234,.98) 0%,rgba(248,244,234,.90) 30%,rgba(248,244,234,.52) 52%,rgba(248,244,234,.10) 78%,rgba(248,244,234,0) 100%);} 
@media (max-width:767px){
  .section-hero-02:before{
    background-image:linear-gradient(180deg,rgba(251,248,241,0) 0%,rgba(251,248,241,.10) 60%,#fbf8f1 100%),url('../images/chapter/question-changed-family.jpg') !important;
    background-position:center top !important;
  }
}

/* Chapter 01 Section 03 specific image treatment */
.section-hero-03{background-position:center center;}
.section-hero-03:before{background:linear-gradient(90deg,rgba(248,244,234,.98) 0%,rgba(248,244,234,.91) 31%,rgba(248,244,234,.54) 52%,rgba(248,244,234,.16) 75%,rgba(248,244,234,0) 100%);} 
.section-hero-03 .dark-credit{background:rgba(24,16,6,.42);box-shadow:0 10px 30px rgba(0,0,0,.20)}
@media (max-width:767px){
  .section-hero-03:before{
    background-image:linear-gradient(180deg,rgba(251,248,241,0) 0%,rgba(251,248,241,.06) 58%,#fbf8f1 100%),url('../images/chapter/pinglu-terrace-2015.jpg') !important;
    background-position:center center !important;
  }
}


/* Chapter 01 Section 04 specific image treatment */
.section-hero-04{background-position:center right;}
.section-hero-04:before{background:linear-gradient(90deg,rgba(248,244,234,.99) 0%,rgba(248,244,234,.93) 30%,rgba(248,244,234,.60) 49%,rgba(248,244,234,.12) 70%,rgba(248,244,234,0) 100%);}
.section-hero-04 .dark-credit{background:rgba(28,18,12,.44);box-shadow:0 10px 30px rgba(0,0,0,.22)}
@media (max-width:767px){
  .section-hero-04:before{
    background-image:linear-gradient(180deg,rgba(251,248,241,0) 0%,rgba(251,248,241,.08) 60%,#fbf8f1 100%),url('../images/chapter/quinoa-seeds-bowl-real.jpg') !important;
    background-position:center center !important;
  }
}

/* Knowledge Hub · Complete Nutrition */
.knowledge-tabs a{font-size:15px!important;white-space:nowrap}.knowledge-hero{background-position:center right}.knowledge-hero:before{background:linear-gradient(90deg,rgba(248,244,234,.99) 0%,rgba(248,244,234,.94) 27%,rgba(248,244,234,.62) 47%,rgba(248,244,234,.18) 68%,rgba(248,244,234,0) 100%)}.knowledge-hero .eyebrow{color:var(--green);font-weight:900;letter-spacing:.16em;text-transform:uppercase;margin-bottom:22px}.nutrition-hero{background-position:center center}.nutrition-hero .section-hero-content{width:min(590px,90vw)}.nutrition-body .impact-icon{font-size:24px;font-weight:900}.nutrition-body .section-next{background:#173c2b}
@media (max-width:767px){.knowledge-tabs{gap:18px!important}.knowledge-tabs a{font-size:14px!important}.knowledge-hero:before{background-image:linear-gradient(180deg,rgba(251,248,241,0) 0%,rgba(251,248,241,.05) 58%,#fbf8f1 100%),url('../images/chapter/complete-nutrition-hero.jpg')!important;background-position:center top!important}.knowledge-hero .eyebrow{font-size:12px;margin-bottom:14px}.nutrition-hero .section-hero-content{width:auto}}


/* QA v2.0 navigation and mobile hero fixes */
.dropdown a.subitem{padding-left:34px;font-size:14px;}
.dropdown a.subitem .dot{transform:scale(.82);opacity:.85;}
@media (max-width:767px){
  .section-hero:before{height:40vh;min-height:260px;background-size:cover!important;}
  .section-hero-content{position:relative;background:#fbf8f1;margin-top:0;padding-top:26px;}
  .section-hero h1{font-size:clamp(40px,12vw,54px);letter-spacing:-.055em;}
  .section-hero-02:before{background-position:58% center!important;}
  .section-hero-03:before{background-position:57% center!important;}
  .section-hero-04:before{background-position:62% center!important;}
  .knowledge-hero:before{background-position:58% center!important;}
}

/* Mobile Framework v2.0 Fix 2: stop inline desktop background images from repeating under text */
@media (max-width: 767px){
  .section-hero,
  .section-hero-02,
  .section-hero-03,
  .section-hero-04,
  .knowledge-hero,
  .nutrition-hero{
    background-image:none !important;
    background:#fbf8f1 !important;
    min-height:auto !important;
    display:block !important;
    overflow:visible !important;
  }

  .section-hero::before,
  .knowledge-hero::before,
  .nutrition-hero::before{
    content:"" !important;
    display:block !important;
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:42vh !important;
    min-height:270px !important;
    max-height:420px !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
    z-index:0 !important;
  }

  .section-hero-content{
    position:relative !important;
    z-index:2 !important;
    background:#fbf8f1 !important;
    margin:0 !important;
    width:100% !important;
    box-sizing:border-box !important;
    padding:28px 22px 42px !important;
  }

  .section-hero::after,
  .knowledge-hero::after,
  .nutrition-hero::after{
    display:none !important;
  }

  .section-hero-02::before{
    background-image:linear-gradient(180deg,rgba(251,248,241,0) 0%,rgba(251,248,241,.14) 68%,#fbf8f1 100%),url('../images/chapter/question-changed-family.jpg') !important;
    background-position:62% center !important;
  }
  .section-hero-03::before{
    background-image:linear-gradient(180deg,rgba(251,248,241,0) 0%,rgba(251,248,241,.12) 68%,#fbf8f1 100%),url('../images/chapter/pinglu-terrace-2015.jpg') !important;
    background-position:center center !important;
  }
  .section-hero-04::before{
    background-image:linear-gradient(180deg,rgba(251,248,241,0) 0%,rgba(251,248,241,.14) 68%,#fbf8f1 100%),url('../images/chapter/quinoa-seeds-bowl-real.jpg') !important;
    background-position:58% center !important;
  }
  .nutrition-hero::before,
  .knowledge-hero::before{
    background-image:linear-gradient(180deg,rgba(251,248,241,0) 0%,rgba(251,248,241,.14) 68%,#fbf8f1 100%),url('../images/chapter/complete-nutrition-hero.jpg') !important;
    background-position:58% center !important;
  }

  .photo-credit{
    display:none !important;
  }
}


/* Mobile Framework v2.1: use a real image block on mobile, never a CSS background behind text */
.mobile-hero-media{display:none;}
@media (max-width:767px){
  .section-hero,.knowledge-hero,.nutrition-hero{
    background-image:none!important;
    background:#fbf8f1!important;
    display:block!important;
    min-height:auto!important;
    overflow:visible!important;
  }
  .section-hero::before,.section-hero::after,.knowledge-hero::before,.knowledge-hero::after,.nutrition-hero::before,.nutrition-hero::after{
    display:none!important;content:none!important;background:none!important;height:0!important;
  }
  .mobile-hero-media{display:block!important;width:100%;height:42vh;min-height:280px;max-height:420px;overflow:hidden;background:#fbf8f1;}
  .mobile-hero-media img{width:100%;height:100%;object-fit:cover;display:block;}
  .mobile-hero-media.img-02 img{object-position:62% center;}
  .mobile-hero-media.img-03 img{object-position:center center;}
  .mobile-hero-media.img-04 img{object-position:58% center;}
  .mobile-hero-media.img-nutrition img{object-position:58% center;}
  .mobile-hero-media.img-01 img{object-position:center center;}
  .section-hero-content{
    background:#fbf8f1!important;
    margin:0!important;
    padding:30px 22px 44px!important;
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
    position:relative!important;
    z-index:2!important;
  }
  .section-hero h1{font-size:clamp(40px,12vw,56px)!important;line-height:1.02!important;}
  .section-hero .lead{font-size:22px!important;line-height:1.32!important;}
  .section-hero p{font-size:16px!important;line-height:1.75!important;}
  .photo-credit{display:none!important;}
}


/* Chapter 02 · The Jiaqi Platform */
.platform-hero{background-position:center center;}
.platform-hero:before{background:linear-gradient(90deg,rgba(248,244,234,.98) 0%,rgba(248,244,234,.91) 30%,rgba(248,244,234,.56) 50%,rgba(248,244,234,.16) 76%,rgba(248,244,234,0) 100%);} 
.platform-hero .dark-credit{background:rgba(14,25,18,.42);box-shadow:0 10px 30px rgba(0,0,0,.20)}
.platform-overview{padding-top:54px}.platform-map{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:28px}.platform-map .impact-card{border:1px solid rgba(6,40,33,.10)!important;border-radius:22px;background:rgba(255,255,255,.66);padding:26px!important;box-shadow:0 14px 35px rgba(0,0,0,.04)}
@media (max-width:1100px){.platform-map{grid-template-columns:repeat(2,1fr)}}
@media (max-width:767px){.platform-map{grid-template-columns:1fr}.mobile-hero-media.img-platform img{object-position:center center}.chapter-progress .section-tabs.platform-tabs{gap:18px}}
