/* Readable diagrams first; scroll progressively connects their parts. */
.portal-hero.portal-hero-simple{display:block;min-height:0;padding:155px 8% 70px;max-width:1440px;margin:auto}
.portal-hero-simple .portal-copy{max-width:990px}.portal-hero-simple .portal-copy>p{max-width:620px}
.scroll-invitation{display:inline-flex;gap:18px;align-items:center;margin-top:22px;font-size:12px;color:var(--muted)}.scroll-invitation span{color:var(--copper);font-size:25px}
.identity-story{--study-accent:#8cb2d0;--academy-accent:#acc58d;--nav-height:94px;padding:0 8%;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
[data-theme="light"] .identity-story{--study-accent:#365c7b;--academy-accent:#486b42}
.identity-stage{display:grid;grid-template-columns:1fr 1.1fr;gap:0 8%;align-items:center;padding:60px 0;position:relative}
.identity-story.motion-ready{height:220svh}.motion-ready .identity-stage{position:sticky;top:var(--nav-height);height:calc(100svh - var(--nav-height));padding:32px 0 58px}
.identity-copy-window{min-width:0}.motion-ready .identity-copy-window{height:320px;overflow:hidden}
.identity-copy-track{position:relative}.motion-ready .identity-copy-track{height:100%}.identity-chapter{padding:20px 0 32px}.motion-ready .identity-chapter{position:absolute;inset:0;height:320px;will-change:transform,opacity}
.identity-chapter h2{font-size:clamp(32px,3.5vw,53px);line-height:1.08;letter-spacing:-1.7px;margin:20px 0}.identity-chapter p{font-size:16px;line-height:1.75;color:var(--muted);max-width:410px;margin:20px 0 28px}.identity-chapter .eyebrow{font-size:10px;letter-spacing:1.7px}
.identity-map{width:100%;max-width:560px;justify-self:center;grid-column:2;grid-row:1}.map-heading{text-align:center;color:var(--muted);font-size:12px;letter-spacing:.4px;margin-bottom:18px}.map-parent{font:42px Georgia,serif;text-align:center;color:var(--ink);letter-spacing:-1px}.map-connectors{height:65px;display:block;width:100%}
.map-branches{display:grid;grid-template-columns:1fr 1fr;gap:20px}.map-branch{--branch-fill:var(--panel);border:1px solid var(--line);padding:22px 18px 17px;border-radius:10px;color:var(--ink);background:var(--bg);position:relative;overflow:hidden}.map-study{border-color:var(--study-accent)}.map-academy{border-color:var(--academy-accent)}.map-branch:before{content:'';position:absolute;inset:0;opacity:var(--branch-light,0);pointer-events:none}.map-study:before{background:linear-gradient(145deg,#88b0d020,transparent)}.map-academy:before{background:linear-gradient(145deg,#adc58e20,transparent)}
.branch-kicker{font-size:9px;letter-spacing:1.8px;color:var(--muted)}.map-branch h3{font-size:clamp(22px,2.5vw,32px);letter-spacing:-1px;margin:9px 0 0}.map-branch svg{display:block;width:100%;max-width:180px;margin:12px auto 8px;color:var(--muted)}.map-branch p{font-size:14px;line-height:1.75;margin:8px 0 18px}.branch-status{display:block;font-size:8px;letter-spacing:1.2px;border-top:1px solid var(--line);padding-top:12px}.map-study .branch-status{color:var(--study-accent)}.map-academy .branch-status{color:var(--academy-accent)}
.map-documents,.map-lesson{transform-box:fill-box;transform-origin:center}.identity-progress{grid-column:1/-1;margin-top:26px;font-size:10px;color:var(--muted);letter-spacing:.5px}.motion-ready .identity-progress{position:absolute;bottom:24px;left:0;right:0;margin:0}.identity-progress>div{height:2px;background:var(--line);margin-top:12px}.identity-progress i{display:block;height:100%;width:100%;transform:scaleX(var(--progress,0));transform-origin:left;background:var(--copper)}
/* Replace the old nested squares and brain with one case file. */
.page-practice .scene.case-animation{aspect-ratio:auto;width:100%;max-width:540px;height:auto;position:relative}
.case-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;font-size:12px;color:var(--muted);margin-bottom:16px}.case-steps span{padding:10px 0;border-bottom:1px solid var(--line)}.case-steps [data-current="true"]{color:var(--copper);border-color:var(--copper)}
.case-drawing{display:block;width:100%;height:auto;color:var(--muted);overflow:visible}.case-drawing text{font-family:Arial,Helvetica,sans-serif;fill:var(--muted);stroke:none;font-size:15px}.case-drawing .case-name{fill:var(--ink);font-size:17px}.case-analysis,.case-action{opacity:0}.case-folder-mark{opacity:0}.case-paper,.case-folder,.case-action{transform-box:view-box;transform-origin:240px 140px}
.page-practice .case-animation .scene-caption{position:static;margin:18px 0 0;font-size:12px;text-align:center;line-height:1.5;letter-spacing:0;min-height:36px}
@media(max-width:850px){.identity-stage{gap:0 5%}.map-branches{gap:12px}.map-branch{padding:17px 12px}.identity-chapter h2{font-size:36px}}
@media(max-width:650px){
.portal-hero.portal-hero-simple{padding:calc(var(--nav-height,94px) + 45px) 7% 45px}.portal-hero-simple h1{font-size:43px;letter-spacing:-1.9px}.scroll-invitation{margin-top:13px;font-size:11px}
.identity-story{padding:0 7%}.identity-story.motion-ready{height:200svh}.identity-stage{display:flex;flex-direction:column;gap:20px;padding:38px 0}.motion-ready .identity-stage{padding:20px 0 42px;justify-content:center;gap:12px}
.identity-map{order:0;max-width:380px;width:100%}.map-heading{font-size:10px;margin-bottom:10px}.map-parent{font-size:32px;line-height:1}.map-connectors{height:30px}.map-branches{gap:12px}.map-branch{padding:13px 12px 12px;border-radius:7px}.branch-kicker{font-size:8px;letter-spacing:1.1px}.map-branch h3{font-size:24px;margin-top:6px}.map-branch svg{height:72px;max-width:120px;margin:7px auto 5px}.map-branch p{font-size:12px;line-height:1.5;margin:7px 0 10px}.branch-status{font-size:7px;letter-spacing:.65px;padding-top:9px}
.identity-copy-window{order:1;width:100%}.motion-ready .identity-copy-window{height:235px;flex-shrink:0}.identity-chapter{padding:14px 0 20px}.motion-ready .identity-chapter{height:235px}.identity-chapter h2{font-size:29px;line-height:1.1;letter-spacing:-.9px;margin:12px 0}.identity-chapter .eyebrow{font-size:8px;letter-spacing:1.2px}.identity-chapter p{font-size:13px;line-height:1.6;margin:13px 0 15px}.identity-chapter .text-link{font-size:12px}.identity-progress{order:2;width:100%}.motion-ready .identity-progress{bottom:15px;font-size:8px}.identity-progress>div{margin-top:8px}
.page-practice .scene.case-animation{width:100%;max-width:350px}.case-steps{font-size:10px;gap:10px;margin-bottom:3px}.case-steps span{padding:7px 0}.page-practice .case-animation .scene-caption{font-size:10px;margin:3px 0 0;min-height:27px}.page-practice .case-drawing{max-height:155px}
}
@media(max-width:650px) and (max-height:740px){.motion-ready .identity-stage{padding:10px 0 36px;gap:6px}.map-heading{margin-bottom:5px}.map-branch{padding:10px 11px}.map-branch svg{height:52px;margin:5px auto}.map-branch h3{font-size:22px}.map-branch p{font-size:11px;margin:5px 0 7px}.branch-status{padding-top:7px}.motion-ready .identity-copy-window,.motion-ready .identity-chapter{height:220px}.identity-chapter h2{font-size:27px;margin:9px 0}.identity-chapter p{margin:10px 0 13px}.page-practice .case-drawing{max-height:135px}}
@media(prefers-reduced-motion:reduce){.identity-story.motion-ready{height:auto}.motion-ready .identity-stage{position:static;height:auto;padding:45px 0}.motion-ready .identity-copy-window{height:auto;overflow:visible}.identity-copy-track{transform:none!important;will-change:auto}.motion-ready .identity-chapter{position:static;height:auto;padding:20px 0 30px;opacity:1!important;transform:none!important;will-change:auto}.motion-ready .identity-progress{display:none}.map-documents,.map-lesson{transform:none!important}}
