/* Give every chapter its actual available height; fit copy instead of scrolling it. */
#story{top:clamp(82px,12svh,116px);bottom:clamp(78px,12svh,104px);overflow:visible;scroll-behavior:auto}
#story .chapter{padding-block:0;min-height:100%;height:auto}
#story .chapter>*{flex-shrink:0}
#story .eyebrow{margin-bottom:18px}
#story .lead{line-height:1.5;margin-top:18px}
#story .read-more{margin-top:16px}
#story .investment-facts{margin-top:20px;line-height:1.4}
#story .investment-facts>div{padding:9px 0}
#story .founder-lines{margin-top:20px;gap:8px;line-height:1.4}
#story .founder-lines .lasting{margin-top:6px}
#story .portfolio-chapter{min-height:100%;height:auto;max-height:none}
#portfolio-companies{overflow:visible;max-height:none;min-height:0;flex:none;padding-right:0}
.portfolio-company{min-height:44px;padding:7px 0}
.portfolio-company strong{font-size:16px}.portfolio-company small{font-size:11px;margin-top:2px}
#portfolio-count{margin-top:14px}
#portfolio-pages{display:flex;align-items:center;gap:12px;margin-top:8px;pointer-events:auto;font-size:12px;color:var(--soft)}
#portfolio-pages button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;font-size:18px}
#portfolio-explore{margin-top:8px}
@media(max-width:700px){
 .sector-stable #story{inset:88px 0 78px}
 #story .sector-chapter{min-height:100%;justify-content:center}
 .sector-copy{padding:0 0 12px}.sector-copy h2{font-size:32px}
 .sector-copy .eyebrow{margin-bottom:10px}.sector-copy .lead{margin-top:12px}
 .sector-copy .sector-notes{grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}
 .sector-copy .sector-notes h3{font-size:15px}.sector-copy .sector-notes p{font-size:12px;line-height:1.45}
 .sector-copy .read-more{margin-top:10px}
 .sector-ocean{height:clamp(90px,19svh,160px)}
 body[data-chapter=portfolio] #story{inset:88px var(--gutter) 78px;display:block}
 #story .portfolio-chapter{justify-content:center}
 .portfolio-chapter h2{font-size:32px}.portfolio-intro{font-size:13px;line-height:1.4}
 #portfolio-count{margin-top:10px}
 .portfolio-company{min-height:44px;padding:6px 0}
}
@media(max-height:560px) and (min-width:701px){
 .header{padding-top:16px;padding-bottom:8px}.brand>img{height:40px}
 #menu-toggle{display:block}.chapters{display:none;top:66px;left:auto;right:24px;transform:none;background:#071d2bf7;padding:14px;grid-template-columns:1fr 1fr;gap:4px 20px;border:1px solid var(--line)}.chapters.open{display:grid}
 #story{inset:76px var(--gutter) 70px}
 #story .chapter{justify-content:center;max-width:100%}
 #story h1{font-size:40px;max-width:900px}#story h2{font-size:34px}
 #story .eyebrow{font-size:10px;margin-bottom:10px}#story .lead{font-size:14px;line-height:1.4;margin-top:12px}#story .read-more{margin-top:10px;padding:7px 0;min-height:36px}
 #story [data-section=early]{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;align-content:center;align-items:start}
 #story [data-section=early]>.eyebrow,#story [data-section=early]>h2,#story [data-section=early]>.lead,#story [data-section=early]>.read-more{grid-column:1}
 #story [data-section=early]>.investment-facts{grid-column:2;grid-row:1/span 5;margin:0;font-size:14px}
 #story .investment-facts>div{grid-template-columns:105px 1fr;gap:12px}
 #execution-arrival,#execution-journey{display:grid;grid-template-columns:1fr 1fr;gap:12px 40px;width:100%;align-items:start}
 #execution-arrival>.lead,#execution-journey>.lead{margin-top:0}#execution-journey>.execution-fragment{grid-column:2;font-size:19px;margin:0;min-height:0}
 .sector-copy{width:100%;max-width:none;display:grid;grid-template-columns:1fr 1fr;column-gap:40px;align-items:start}
 .sector-copy>.eyebrow,.sector-copy>h2,.sector-copy>.lead,.sector-copy>.read-more{grid-column:1}
 .sector-copy>.sector-notes{grid-column:2;grid-row:1/span 5;gap:20px;margin:0}
 #story .portfolio-chapter{max-width:680px;display:grid;grid-template-columns:1fr 1fr;column-gap:30px;align-content:center;align-items:start}
 .portfolio-chapter>.eyebrow,.portfolio-chapter>h2,.portfolio-chapter>.portfolio-intro,.portfolio-chapter>#portfolio-count,.portfolio-chapter>#portfolio-explore{grid-column:1}
 .portfolio-chapter>#portfolio-companies{grid-column:2;grid-row:1/span 4;margin:0}.portfolio-chapter>#portfolio-pages{grid-column:2;grid-row:5/span 2;margin:0}
 body[data-chapter=south-west] #story{top:86px;bottom:142px;width:min(68vw,680px)}
 body[data-chapter=south-west] .territory-chapter{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;align-content:end;align-items:start}
 body[data-chapter=south-west] .territory-chapter .eyebrow{grid-column:1;grid-row:1}
 body[data-chapter=south-west] .territory-chapter h2{font-size:30px;grid-column:1;grid-row:2}
 body[data-chapter=south-west] .territory-chapter .lead{font-size:13px;grid-column:2;grid-row:1/span 2;margin:0}
 body[data-chapter=south-west] .territory-chapter .read-more{grid-column:1;grid-row:3;margin:4px 0 0}
 body[data-chapter=south-west] .territory-chapter .map-legend{grid-column:2;grid-row:3;margin-top:10px}
 #map-continue{bottom:88px}#territory-panel small{bottom:16px;max-width:370px}
}
@media(max-width:700px) and (max-height:580px){.sector-ocean{height:60px}}
