/* v23: one mobile chapter = heading + connected visual + explanation + sources. */
@media (max-width: 900px) {
  #journey .scene:not(.scene-earth) {
    --chapter-space:clamp(22px,6vw,48px);
    --chapter-surface:#f7eee3;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-auto-flow:row;
    grid-auto-rows:auto;
    align-content:start;
    row-gap:0;
    margin:0;
    padding:0 0 44px;
    border-top:12px solid #e8dfd0;
    background:var(--chapter-surface)!important;
  }
  #journey .scene-ferment { --chapter-surface:#f6ead6!important; }
  #journey .scene-zinc { --chapter-surface:#eeece6!important; }
  #journey .scene-nk { --chapter-surface:#f4ecdd!important; }
  #journey .scene-product { --chapter-surface:#eeecdf!important; }
  #journey .scene:not(.scene-earth) .copy { display:contents; }
  #journey .scene:not(.scene-earth) .copy>* {
    grid-column:1;
    grid-row:auto;
    min-width:0;
    width:auto;
    max-width:720px;
    margin-left:var(--chapter-space);
    margin-right:var(--chapter-space);
  }
  #journey .scene:not(.scene-earth) .copy>h2 {
    grid-row:1;
    align-self:end;
    margin-top:38px;
    margin-bottom:25px;
    padding:0;
    font-size:clamp(32px,8.3vw,56px);
    line-height:1.24;
    letter-spacing:-.055em;
    overflow-wrap:break-word;
  }
  #journey .scene:not(.scene-earth)>picture,
  #journey .scene-body .immune-theater,
  #journey .scene-zinc .zinc-static-layers {
    grid-column:1;
    grid-row:2;
    position:relative;
    width:calc(100% - 32px);
    margin:0 16px;
    border-radius:18px;
    overflow:hidden;
    isolation:isolate;
  }
  #journey .scene:not(.scene-earth) .copy>.description {
    margin-top:23px;
    margin-bottom:0;
    font-size:clamp(17px,4.35vw,21px);
    line-height:1.8;
  }
  #journey .scene:not(.scene-earth) .copy>.description span { white-space:normal; }
  #journey .scene:not(.scene-earth) .copy>.supporting-copy { margin-top:18px; }
  #journey .scene:not(.scene-earth) .copy>.evidence-sources {
    margin-top:26px;
    margin-bottom:0;
    padding-top:22px;
    border-top:1px solid #c8bba5;
  }
  #journey .scene:not(.scene-earth) .copy>.evidence-note {
    margin-top:21px;
    margin-bottom:0;
    padding-left:19px;
    color:#64594c;
    font-size:14px;
    line-height:1.85;
  }
  #journey .scene:not(.scene-earth) .copy>.evidence-note li+li { margin-top:6px; }
  #journey .scene-ferment .copy>.clinical-comparison,
  #journey .scene-nk .copy>.nk-human-study,
  #journey .scene-ferment .copy>.cohort-research-context {
    width:auto;
    max-width:none;
    margin-top:24px;
    padding:22px 18px;
    border:1px solid #d9cab1;
    border-radius:16px;
    background:#fffcf5;
  }
  #journey .scene-ferment .clinical-metric { padding-right:0; }
  #journey .scene-ferment .metric-row { grid-template-columns:44px minmax(0,1fr) 67px; gap:8px; }
  #journey .scene-ferment .metric-row>strong { font-size:24px; }
  #journey .scene-nk .copy>.nk-mouse-study { margin-top:22px; }
  #journey .scene-nk .nk-human-study .study-type { margin-top:0; }
  #journey .scene-nk .nk-values strong { font-size:clamp(30px,8vw,42px); }

  /* The existing macro lens now belongs to the image, not a separate chapter row. */
  #journey .scene-ferment .ferment-callout {
    grid-column:1;
    grid-row:2;
    position:relative;
    inset:auto;
    align-self:end;
    justify-self:start;
    z-index:3;
    display:flex;
    align-items:center;
    gap:12px;
    width:calc(100% - 56px);
    max-width:500px;
    min-height:0;
    height:auto;
    margin:0 28px 14px;
    padding:10px 12px;
    border:1px solid #d4b68b;
    border-radius:18px;
    background:#fff8eaf2;
    box-shadow:0 6px 24px #5c351a17;
    pointer-events:none;
  }
  #journey .scene-ferment .ferment-callout::before {
    width:76px;
    flex:0 0 76px;
    aspect-ratio:1;
    border-width:3px;
    background-position:50% 54%;
  }
  #journey .scene-ferment .ferment-callout>span {
    width:auto;
    font-size:clamp(23px,6.3vw,29px);
    line-height:1.18;
    color:#9e451b;
  }
  #journey .scene-ferment .ferment-callout .pga-label-title { white-space:nowrap; }
  #journey .scene-ferment .ferment-callout small {
    font-size:clamp(15px,4vw,19px);
    line-height:1.35;
    margin-top:5px;
    color:#4c3425;
    white-space:nowrap;
  }
  html:not([lang="ko"]) #journey .scene-ferment .ferment-callout .pga-label-title,
  html:not([lang="ko"]) #journey .scene-ferment .ferment-callout small { white-space:normal; overflow-wrap:anywhere; }
  html:not([lang="ko"]) #journey .scene-ferment .ferment-callout>span { font-size:22px; }
  html:not([lang="ko"]) #journey .scene-ferment .ferment-callout small { font-size:15px; }
  #journey .scene-product .copy>.product-tags { margin-top:25px; margin-bottom:18px; }
  #journey .scene-product .copy>.button { margin-top:0; margin-bottom:0; justify-self:start; }
}
@media (min-width: 600px) and (max-width: 900px) {
  #journey .scene:not(.scene-earth)>picture,
  #journey .scene-body .immune-theater,
  #journey .scene-zinc .zinc-static-layers { width:calc(100% - 64px); margin-left:32px; margin-right:32px; }
  #journey .scene-ferment .ferment-callout { margin-left:48px; margin-bottom:20px; width:calc(100% - 96px); }
}
@media (max-width: 360px) {
  #journey .scene:not(.scene-earth) .copy>h2 { font-size:29px; }
  #journey .scene-ferment .ferment-callout { gap:8px; padding:9px; }
  #journey .scene-ferment .ferment-callout::before { width:58px; flex-basis:58px; }
  #journey .scene-ferment .ferment-callout>span { font-size:22px; }
  #journey .scene-ferment .ferment-callout small { font-size:14px; }
  #journey .scene-ferment .copy>.clinical-comparison { padding-left:13px; padding-right:13px; }
}
