/* Compact, content-sized chapters retain the numbered editorial rhythm. */
.equipment-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.equipment-photo { min-width:0; margin:0; }
.equipment-photo img { display:block; width:100%; height:auto; aspect-ratio:960/559; object-fit:contain; }
.equipment-photo figcaption { padding-top:8px; color:#395f52; font-size:13px; font-weight:500; line-height:1.5; }
.equipment-description { display:block; margin-top:5px; color:#587067; font-size:12px; font-weight:400; line-height:1.65; }
.equipment-notice { display:block; margin-top:8px; color:#395f52; font-size:12px; font-weight:600; line-height:1.65; }
.equipment-motion { position:relative; }
.equipment-motion canvas { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 62%; }
.equipment-motion [hidden] { display:none!important; }
.equipment-photo-wide { grid-column:1 / -1; }
.equipment-photo-wide img { aspect-ratio:8/3; object-fit:cover; object-position:center 62%; }
.equipment-photo-original img { aspect-ratio:auto; object-fit:contain; }
.equipment-photo-original canvas { object-fit:contain; object-position:center; }
@media(max-width:520px) {
  .equipment-gallery { gap:12px; }
  .equipment-photo figcaption { font-size:12px; }
}
:root { --hero-height:clamp(640px, 76svh, 720px); }
.narrative-chapter { box-sizing:border-box; height:auto; padding:36px 5.5vw; color:#43554d; background:#fbfcfa; display:flex; align-items:center; }
.chapter-tint { background:#eff5f1; }
.chapter-inner { width:100%; max-width:1660px; margin:0 auto; display:grid; grid-template-columns:150px minmax(0,1fr) minmax(0,1.06fr); gap:42px; align-items:center; }
.chapter-label { align-self:start; margin:12px 0 0!important; font-size:13px!important; line-height:1.7!important; }
.chapter-copy,.chapter-media { min-width:0; }
.chapter-copy h2 { font-family:'Segoe UI','Microsoft YaHei',Arial,sans-serif; font-size:clamp(30px,2.8vw,46px); font-weight:650; letter-spacing:-.035em; line-height:1.35; margin:0 0 24px; }
.chapter-deck { color:#3187ae; font-size:19px; line-height:1.65; margin:0 0 20px; }
.chapter-summary { color:#586e62; font-size:16px; line-height:1.95; margin:0 0 24px; }
.chapter-figure { margin:0; }
.chapter-figure img { width:100%; height:auto; max-height:470px; aspect-ratio:3/2; object-fit:contain; display:block; }
.chapter-highlights { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; margin:22px 0 28px; border-top:1px solid #cddbd1; padding-top:20px; }
.chapter-highlights div { min-width:0; }
.chapter-highlights b { display:block; font-size:19px; line-height:1.5; font-weight:600; color:#385b49; }
.chapter-highlights span { display:block; font-size:13px; color:#6c7c72; line-height:1.7; margin-top:4px; }
.chapter-actions { display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.chapter-more { color:#316b4d; font-size:14px; line-height:1.7; border-bottom:1px solid #9fbdab; padding:6px 0; }
.chapter-detail-links { display:flex; flex-wrap:wrap; gap:9px 18px; margin-top:18px; padding-top:14px; border-top:1px solid #d3dfd7; }
.chapter-detail-links a { color:#296344; font-size:14px; line-height:1.8; font-weight:600; }
.chapter-detail-links a:hover { color:#e35a16; }
.chapter-detail-links a:focus-visible { outline:2px solid #3c7752; outline-offset:4px; }
.chapter-contact { background:#ff5a00; color:#fff; padding:12px 18px; font-size:13px; line-height:1.6; }
.chapter-more:focus-visible,.chapter-contact:focus-visible,.reading-toolbar button:focus-visible { outline:2px solid #3c7752; outline-offset:5px; }
.feedstock-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:start; }
.feedstock-photo { margin:0; min-width:0; }
.feedstock-photo img { width:100%; height:350px; object-fit:cover; display:block; }
.feedstock-photo:nth-child(2) { margin-top:30px; }
.feedstock-photo:nth-child(3) { margin-top:60px; }
.feedstock-photo figcaption { font-size:17px; color:#3c604c; font-weight:600; padding-top:12px; }
.narrative-chapter,.chapter-group,#global { scroll-margin-top:0; }
.reading-open { overflow:hidden; }
.reading-dialog { position:fixed; inset:0; width:min(860px,calc(100% - 40px)); max-height:86svh; margin:auto; padding:0; border:1px solid #d8e1da; background:#fbfcfa; color:#43554d; border-radius:6px; box-shadow:0 20px 80px #102d3640; overflow-y:auto; }
.reading-dialog::backdrop { background:#17372c99; backdrop-filter:blur(4px); }
.reading-toolbar { position:sticky; top:0; display:flex; align-items:center; justify-content:space-between; padding:18px 30px; background:#f1f6f2; border-bottom:1px solid #dae4dc; z-index:1; }
.reading-toolbar span { font-size:11px; letter-spacing:2px; color:#59806b; }
.reading-toolbar button { border:1px solid #bfd0c4; padding:9px 15px; cursor:pointer; font-size:14px; border-radius:3px; background:white; }
.reading-body { padding:30px 40px 40px; }
.reading-body h2 { margin:0 0 24px; font-size:28px; line-height:1.5; font-weight:600; }
.reading-body p { margin:0 0 20px; font-size:17px; line-height:2; }
/* Keep both hero slides in a shorter frame. */
.hero.carousel { height:var(--hero-height)!important; min-height:var(--hero-height)!important; }
.hero .hero-track { height:100%; min-height:0!important; }
.hero .hero-panel { padding:158px 6vw 72px!important; align-items:center; }
.hero .industrial { min-height:0!important; height:100%!important; max-height:520px; }
.hero-panel:nth-child(2) h2 { font-family:inherit; font-size:clamp(36px,4vw,58px); line-height:1.28; letter-spacing:-.03em; margin:28px 0 18px; font-weight:650; }
.hero-panel:nth-child(2) h2 em { font-style:normal; color:#3187ae; }
/* The factory image fills the right side; its caption sits on the image. */
.hero .hero-panel:nth-child(2) { grid-template-columns:1fr 1.16fr; gap:4vw; padding-right:0!important; }
.hero .hero-panel:nth-child(2) .industrial { max-width:none; max-height:none; width:100%; overflow:hidden; }
.hero .hero-panel:nth-child(2) .original-scene-image { inset:0; width:100%; height:100%; object-fit:cover; object-position:55% center; }
.hero .hero-panel:nth-child(2) .visual-caption { bottom:0; padding:35px 26px 20px; background:linear-gradient(transparent,#163e35e8); color:#fff; }
.hero .hero-panel:nth-child(2) .visual-caption b { color:#fff; font-size:12px; }
.hero .hero-panel:nth-child(2) .visual-caption span { color:#e2eee6!important; font-size:10px; }
/* The final map is a deliberately shallow strip, with the complete map intact. */
#global { padding:24px 5.5vw!important; display:grid; grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr); gap:0 60px; align-items:center; height:360px; }
#global .global-head { display:block!important; width:100%; max-width:500px; margin:0 0 0 auto!important; grid-row:1 / span 2; }
#global .global-head .section-label { margin-bottom:14px; }
#global .global-head h2 { font-size:clamp(28px,2.8vw,42px)!important; line-height:1.3; margin:12px 0!important; }
#global .global-en { font-size:11px; letter-spacing:.13em; }
#global .global-head>p { font-size:14px!important; line-height:1.9!important; margin-top:22px; }
#global .geo-stage { width:100%; height:260px; max-width:680px!important; min-height:0!important; aspect-ratio:auto; margin:0!important; }
#global .map-legend { max-width:680px!important; width:100%; margin:8px 0 0!important; gap:12px 24px; flex-wrap:wrap; font-size:10px; }
#global .map-legend>b { font-size:9px; }
footer .photo-credits-link { font-size:11px; letter-spacing:0; }
@media(min-width:2100px) {
  .hero .hero-copy { max-width:760px; justify-self:end; }
  .hero .industrial { max-width:800px; width:100%; justify-self:start; }
}
@media(max-width:1200px) and (min-width:851px) {
  .narrative-chapter { padding:32px 5.5vw; }
  .chapter-inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:26px 35px; }
  .chapter-label { grid-column:1 / -1; margin:0!important; }
  .chapter-copy h2 { font-size:33px; }
  .chapter-summary { font-size:15px; line-height:1.85; }
  .chapter-highlights { gap:12px; }
  .chapter-highlights b { font-size:17px; }
  .feedstock-photo img { height:280px; }
  .hero .hero-panel { padding:150px 5.5vw 68px!important; }
  #global { gap:0 30px; }
}
@media(max-width:850px) {
  .narrative-chapter { height:auto; min-height:0; padding:32px 24px; }
  .chapter-inner { display:flex; flex-direction:column; align-items:stretch; gap:26px; }
  .chapter-label { margin:0!important; }
  .chapter-copy h2 { font-size:31px; margin-bottom:20px; }
  .chapter-deck { font-size:17px; }
  .chapter-summary { font-size:16px; line-height:1.9; }
  .chapter-figure img { max-height:360px; }
  .chapter-highlights { gap:16px; }
  .chapter-highlights b { font-size:18px; }
  .feedstock-gallery { gap:9px; }
  .feedstock-photo img { height:220px; }
  .feedstock-photo:nth-child(2) { margin-top:16px; }
  .feedstock-photo:nth-child(3) { margin-top:32px; }
  .feedstock-photo figcaption { font-size:15px; }
  .hero.carousel { height:auto!important; min-height:0!important; }
  .hero .hero-track { height:auto; align-items:stretch; }
  .hero .hero-panel { padding:135px 24px 100px!important; grid-template-columns:1fr; grid-template-rows:auto 260px; gap:20px; align-items:start; }
  .hero .industrial { height:260px!important; width:100%; max-width:100%; margin:0; transform:none!important; }
  .hero .hero-copy h1,.hero-panel:nth-child(2) h2 { font-size:38px!important; }
  .hero .hero-foot { bottom:0; padding:10px 24px!important; gap:6px 12px; letter-spacing:.4px; }
  .hero .hero-foot span { font-size:8px!important; line-height:1.4; }
  .hero .slide-controls { top:auto; bottom:76px; right:24px; }
  .hero .hero-panel:nth-child(2) { grid-template-columns:1fr; gap:20px; padding-right:24px!important; }
  .hero .hero-panel:nth-child(2) .visual-caption { padding:25px 14px 12px; }
  .hero .hero-panel:nth-child(2) .visual-caption b { font-size:10px; }
  .hero .hero-panel:nth-child(2) .visual-caption span { font-size:8px; }
  .hero .actions { margin-top:24px; }
  #global { height:auto; padding:24px!important; display:block; }
  #global .global-head { margin:0 auto 12px!important; max-width:100%; }
  #global .global-head>p { margin-top:12px; font-size:13px!important; }
  #global .global-head h2 { font-size:28px!important; }
  #global .geo-stage { height:auto; aspect-ratio:1.9; width:100%; margin:0 auto!important; }
  #global .map-legend { gap:10px 16px; font-size:10px; }
  .reading-dialog { width:calc(100% - 24px); max-height:90svh; }
  .reading-toolbar { padding:12px 18px; }
  .reading-body { padding:22px; }
  .reading-body h2 { font-size:24px; }
  .reading-body p { font-size:16px; }
}
@media(max-width:380px) { .feedstock-photo img { height:180px; } .chapter-copy h2 { font-size:28px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media print { .narrative-chapter { height:auto; break-inside:avoid; } .reading-dialog { display:block; position:static; max-height:none; box-shadow:none; border:0; } .reading-toolbar,.chapter-more { display:none; } }

/* Matched equipment images and caption rows for the Chinese review. */
html[lang="zh-CN"] .equipment-gallery { column-gap:20px; row-gap:24px; }
html[lang="zh-CN"] .equipment-photo:not(.equipment-photo-wide) img { aspect-ratio:4/3; object-fit:contain; }
html[lang="zh-CN"] .equipment-photo figcaption { padding-top:12px; }
html[lang="zh-CN"] .equipment-title { display:block; font-weight:600; line-height:1.6; }
html[lang="zh-CN"] .equipment-photo:not(.equipment-photo-wide) .equipment-title { min-height:3.2em; }
html[lang="zh-CN"] .equipment-description { margin-top:6px; line-height:1.8; }
@media(max-width:520px) {
 html[lang="zh-CN"] .equipment-gallery { grid-template-columns:1fr; }
 html[lang="zh-CN"] .equipment-photo:not(.equipment-photo-wide) .equipment-title { min-height:0; }
}
