/* Second-pass Folio study: semantic illustrations, not a new template. */
.folio-story .story-split { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; overflow:hidden; border-radius:.6rem; background:#465262; border:1px solid #465262; margin-block:2.4rem; max-width:none; }
.folio-story .story-split > .story-mini { display:grid; align-content:start; gap:.7rem; background:#111a26; color:#f1f5fb; padding:clamp(1.15rem,2.4vw,2rem); border:0; border-radius:0; }
.folio-story .story-split .story-mini > strong { font:600 clamp(1.28rem,2.2vw,1.75rem)/1.2 var(--sans); letter-spacing:-.03em; margin-top:.2rem; }
.folio-story .story-split .story-mini > span { font:400 1rem/1.9 var(--sans); color:#d4dde8; }
.folio-story .story-split .tone-blue { border-top:5px solid #a5d8ee; }
.folio-story .story-split .tone-rust { border-top:5px solid #f6a596; }
.craft-illustration { display:block; width:100%; height:auto; }
.craft-illustration .grid { stroke:#b8c6d5; stroke-opacity:.14; fill:none; stroke-width:.7; }
.craft-illustration .quiet { fill:none; stroke:#aabbd0; stroke-opacity:.55; stroke-width:1.2; }
.craft-illustration .trace { fill:none; stroke:#9bd5ee; stroke-width:2.1; stroke-linecap:round; stroke-linejoin:round; }
.craft-illustration .break { fill:none; stroke:#f6a596; stroke-width:2.1; stroke-linecap:round; stroke-linejoin:round; }
.craft-illustration .dash { stroke-dasharray:5 6; }
.craft-illustration .blue { fill:#9bd5ee; }
.craft-illustration .warm { fill:#f6a596; }
.craft-illustration .light { fill:#edf7ff; }
.craft-illustration .bluewash { fill:#9bd5ee; fill-opacity:.12; stroke:#9bd5ee; stroke-width:1.3; }
.craft-illustration .warmwash { fill:#f6a596; fill-opacity:.12; stroke:#f6a596; stroke-width:1.3; }
.craft-illustration .surface { fill:#1b2b3a; stroke:#67849d; stroke-width:1.2; }
.folio-story .thesis-panel { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr); grid-template-rows:auto auto; align-items:center; gap:.65rem 1.6rem; position:relative; overflow:hidden; border-inline-start:0; border-top:4px solid var(--accent); padding:clamp(1.4rem,3.5vw,3rem); background:var(--plate); max-width:none; }
.folio-story .thesis-panel > span { grid-column:1; margin:0; }
.folio-story #origin-chapter-3 .thesis-panel blockquote { grid-column:1; border:0; background:none; padding:0; margin:0; font-size:clamp(1.75rem,3.2vw,3.1rem); max-width:23ch; line-height:1.17; }
.folio-story .thesis-panel > svg { grid-column:2; grid-row:1/3; align-self:center; color:var(--accent); }
.craft-orbit .ring { stroke:var(--wire); stroke-width:1.5; fill:none; opacity:.75; }
.craft-orbit .core { fill:var(--paper); stroke:var(--accent); stroke-width:2; }
.craft-orbit .detail { stroke:var(--ink); stroke-width:2; fill:none; opacity:.73; }
.craft-orbit .accent { fill:var(--accent); }
.folio-story .durable-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; border-block:2px solid var(--ink); margin-block:2.1rem; max-width:none; }
.folio-story .durable-grid > div { display:grid; grid-template-columns:2.7rem minmax(0,1fr); grid-template-rows:auto auto; align-content:start; gap:.2rem .8rem; border:0; border-bottom:1px solid var(--line); background:none; padding:1.15rem 1rem 1.15rem 0; }
.folio-story .durable-grid > div:nth-child(even) { border-inline-start:1px solid var(--line); padding-inline-start:1rem; }
.folio-story .durable-grid > div:nth-last-child(-n+2) { border-bottom:0; }
.folio-story .durable-grid > div > svg { width:2.35rem; height:2.35rem; grid-row:1/3; color:var(--accent); }
.folio-story .durable-grid strong { font:600 1.1rem/1.35 var(--sans); letter-spacing:-.025em; }
.folio-story .durable-grid span { color:var(--mute); font:400 .9rem/1.5 var(--sans); }
.folio-story .kiss-grid { gap:clamp(1rem,2vw,1.8rem); }
.folio-story .kiss-grid > div { border-top:0; padding-top:0; }
.folio-story .kiss-grid > div > svg { background:#111a26; border-radius:.4rem; margin-bottom:1rem; }
.folio-story .kiss-grid > div > span { margin-bottom:.4rem; }
.folio-story #learning-source-records .source-record { border-top:0; padding-top:0; }
.folio-story .source-record > svg { background:#111a26; border-radius:.4rem; margin-bottom:.2rem; }
.folio-story .learning-track { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:1.2rem; row-gap:2.1rem; margin-block:2.1rem; }
.folio-story .learning-stage { position:relative; padding:1rem 0 0; background:none; border:0; border-top:2px solid var(--wire); border-radius:0; }
.folio-story .learning-stage .stage-icon { color:var(--accent); width:2.8rem; height:2.8rem; display:block; margin:0 0 .8rem; background:none; }
.folio-story .learning-stage h3 { font-size:1.12rem; line-height:1.3; margin-bottom:.55rem; }
.folio-story .learning-stage p { font-size:.93rem; line-height:1.6; color:var(--mute); }
.folio-story #architecture-layers .architecture-illustration { background:#111a26; border:none; border-radius:.6rem; max-width:none; margin-block:2rem; }
.folio-story #architecture-layers .architecture-illustration svg { background:#111a26; display:block; }
.folio-story #architecture-layers .architecture-illustration figcaption { color:#d4dde8; padding:0 1.4rem 1.2rem; font:500 .8rem/1.6 var(--sans); }
.craft-stack .connector { fill:none; stroke:#9cb1c6; stroke-width:1.4; stroke-dasharray:5 5; }
.craft-stack .contour { stroke:#a6c2d8; stroke-width:1.25; stroke-linejoin:round; }
.craft-stack .facet { fill:#1e3347; }
.craft-stack .plate-top { fill:#35566b; }
.craft-stack .plate-red { fill:#905755; }
.craft-stack .plate-core { fill:#c7d8e3; }
.craft-stack .ruler { fill:none; stroke:#9ccfe3; stroke-width:1.1; opacity:.57; }
.craft-stack .annotation { font:600 14px var(--sans); fill:#eef5ff; }
.craft-stack .index { font:600 12px var(--sans); fill:#a9c9d9; }
@media(max-width:850px) { .folio-story .learning-track { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) {
 .folio-story .story-split,.folio-story .durable-grid,.folio-story .learning-track { grid-template-columns:minmax(0,1fr); }
 .folio-story .story-split > .story-mini { padding:1.2rem; }
 .folio-story .durable-grid > div:nth-child(even) { border-inline-start:0; padding-inline-start:0; }
 .folio-story .durable-grid > div:nth-last-child(2) { border-bottom:1px solid var(--line); }
 .folio-story .thesis-panel { display:block; }
 .folio-story .thesis-panel > svg { max-width:12rem; margin:1.2rem auto 0; }
 .folio-story .thesis-panel > span { margin-bottom:.7rem; }
}

.craft-stack .annotation { font-size:21px; }
.craft-stack .index { font-size:14px; }
@media(max-width:620px) {
 .folio-story #architecture-layers .architecture-illustration .craft-stack-desktop {display:none;}
 .folio-story #architecture-layers .architecture-illustration .craft-stack-mobile {display:block;}
}

.folio-story #architecture-layers .architecture-illustration .craft-stack-mobile {display:none;}
@media(max-width:620px) { .folio-story #architecture-layers .architecture-illustration .craft-stack-mobile {display:block;} }
.folio-story .story-split > .story-mini.tone-rust {border-top-color:#f6a596;}
