/* Scoped to Kry; the existing CaseUI sequence owns movement. */
.case-shell[data-case=mental-health]{container-type:inline-size;overflow:clip;--case-toolbar-height:65px;--kry-section-space:clamp(48px,6cqw,80px)}
.case-shell[data-case=mental-health] .case-toolbar{height:var(--case-toolbar-height)}
.case-shell[data-case=mental-health] .case-scroll{height:calc(100% - var(--case-toolbar-height))}
.case-shell[data-case=mental-health]>.visual-column{top:var(--case-toolbar-height)}
.case-shell[data-case=mental-health][data-story-group=sleep]{background:#002b42}
.case-shell[data-case=mental-health][data-story-group=sleep] .case-toolbar{color:#fff}
.case-shell[data-case=mental-health][data-story-group=sleep] .case-brand-kry{filter:brightness(0) invert(1)}
.case-shell[data-case=mental-health][data-story-group=sleep] .close{background:#ffffff26;color:#fff}
@media(max-width:650px){.case-shell[data-case=mental-health]{--case-toolbar-height:55px}}
.case-shell[data-case=mental-health] .case-opening-brand-logo{display:block;width:84px;height:48px;object-fit:contain;margin-bottom:34px}
.case-shell[data-case=mental-health] .case-brand-kry{width:56px;height:32px;filter:brightness(0)}
.case-shell[data-case=mental-health] .case-scroll{z-index:auto}
.case-shell[data-case=mental-health] .case-text{z-index:auto}
.case-shell[data-case=mental-health] .case-contained-chapter{position:relative;z-index:5;display:grid;grid-template-columns:54% 46%;align-items:center;width:min(90.8cqw,1120px);left:max(0px,calc((90.8cqw - 1120px)/2));min-height:calc(100svh - 142px);padding:64px 0;overflow:hidden;background:var(--case-surface,#B4E4FF)}
.case-contained-chapter .contained-copy{min-width:0;padding-right:9%}
.case-contained-chapter .contained-visual{position:relative;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.case-shell[data-case=mental-health] .case-contained-chapter .kry-story-art{width:88%;height:clamp(320px,60svh,580px)}
.case-shell[data-case=mental-health] .case-contained-chapter .kry-story-art img{width:100%;height:100%;max-height:none;object-fit:contain}
@media(max-width:650px){.case-shell[data-case=mental-health] .case-contained-chapter{display:block;width:100%;left:0;min-height:0;padding:45px 0 50px}.case-shell[data-case=mental-health] .case-contained-chapter.case-overview{padding-top:20px}.case-contained-chapter .contained-copy{padding-right:0}.case-contained-chapter .contained-visual{margin-top:30px}.case-shell[data-case=mental-health] .case-contained-chapter .kry-story-art{height:auto;max-width:340px}.case-shell[data-case=mental-health] .case-contained-chapter .kry-story-art img{height:auto}}
.kry-story-art{width:88%;margin:0 auto;align-self:center}.kry-story-art img{display:block;width:100%;height:auto;max-height:65svh;object-fit:contain}
.kry-heart{width:85%;max-width:380px;margin:0 auto}.kry-heart img{display:block;width:100%;height:auto;object-fit:contain}
.kry-framing{width:100%;margin:0;align-self:center}
.kry-care-loop{display:block;width:100%;height:auto;aspect-ratio:600/570}
.kry-care-loop-labels{fill:#fff;font-size:25px;font-family:inherit;line-height:1.25}
.kry-care-wordmark{filter:brightness(0) invert(1)}
@media(prefers-reduced-motion:reduce){.kry-framing .kry-care-loop{display:none}.kry-framing .kry-care-static{display:block}}
.case-shell[data-case=mental-health] .visual-stage .visual-scene[data-visual-type=kry-care-framing]{align-items:center}
.kry-framing-copy{display:grid}
.kry-framing-copy>div{grid-area:1/1;align-self:center}
.case-shell[data-case=mental-health] .kry-framing-copy h2{margin-bottom:0}
.case-shell[data-case=mental-health] .kry-framing-copy [data-care-intro] h2{margin-bottom:35px}
@media(min-width:651px){.case-shell[data-case=mental-health] .sequence-copy:has(.kry-framing-copy){top:0;margin-top:0;height:var(--care-stage-height,calc(100svh - 142px));padding:0;display:flex;align-items:center}.kry-framing-copy{width:100%}}
.kry-framing-copy [data-care-intro]{opacity:calc(1 - var(--care-question,1));transform:translateY(calc(var(--care-question,1)*-8px))}
.kry-framing-copy [data-care-question]{opacity:var(--care-question,1);transform:translateY(calc((1 - var(--care-question,1))*8px))}
.kry-framing-mobile-question{display:none}
.kry-objectives{width:100%;max-width:500px;margin:0;align-self:center;display:grid;gap:28px}
.kry-objective{display:grid;grid-template-columns:100px minmax(0,1fr);gap:24px;align-items:center;text-align:left}
.kry-objective-graphic{width:100px;height:100px;display:grid;place-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;color:#fff}
.kry-objective-graphic svg{display:block;width:76%;height:76%;overflow:visible}
.kry-objective-graphic path{fill:none;stroke:currentColor;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
.kry-objective-graphic circle{fill:currentColor;transform-box:fill-box;transform-origin:center}
.kry-objective-graphic.is-retention{background-image:url('assets/kry-system/objective-retention.svg')}
.kry-objective-graphic.is-growth{background-image:url('assets/kry-system/objective-growth.svg')}
.kry-objective-graphic.is-health{background-image:url('assets/kry-system/objective-health.svg')}
.kry-objectives h3{font-size:clamp(23px,2.3cqw,30px);line-height:1.15;font-weight:400;letter-spacing:-.025em;margin:0 0 12px}
.case-shell[data-case=mental-health] .kry-objectives p{font-size:17px;line-height:1.5;max-width:350px;margin:0}
@media(max-width:650px){.kry-objectives{gap:28px}.kry-objective{grid-template-columns:76px minmax(0,1fr);gap:18px}.kry-objective-graphic{width:76px;height:76px}.kry-objectives h3{font-size:24px}.case-shell[data-case=mental-health] .kry-objectives p{font-size:16px}}
@media(max-width:650px){.kry-framing-copy{display:block}.kry-framing-copy [data-care-intro]{opacity:1;transform:none}.kry-framing-copy [data-care-question]{display:none}.kry-framing-mobile-question{display:block;padding-block:15px 45px}.kry-framing-mobile-question h2{font-size:36px;line-height:1.15;letter-spacing:-.03em;margin:0}.kry-objectives{margin:auto}}
.kry-priorities{width:100%;margin:0}.kry-priorities>div{position:relative;border-top:1px solid #002b4233;padding:26px 0 28px 38px}.kry-priorities>div>span{position:absolute;left:0;top:30px;font-size:12px}.kry-priorities h3{font-size:clamp(22px,2.3vw,32px);font-weight:400;margin:0 0 12px;line-height:1.2}.case-shell[data-case=mental-health] .kry-priorities p{font-size:16px;line-height:1.5;margin:0}
.case-shell[data-case=mental-health] .case-wide-moment{position:relative;display:block;width:min(90.8cqw,1120px);left:max(0px,calc((90.8cqw - 1120px)/2));z-index:5;text-align:center;padding:var(--kry-section-space) 40px;margin-block:32px;border-radius:32px;min-height:0;background:#fff;overflow:hidden}
.case-shell[data-case=mental-health] .case-wide-moment .wide-moment-visual>:is(figure,.kry-system-boards,.kry-system-example){margin-block:0}
.case-shell[data-case=mental-health] .case-wide-moment h2{font-size:clamp(38px,5.5vw,70px);max-width:850px;margin-bottom:25px}.case-shell[data-case=mental-health] .case-wide-moment>p{max-width:650px;font-size:20px;line-height:1.55}.wide-moment-visual{width:100%;margin-top:35px}.kry-reveal{margin:0 -40px;width:calc(100% + 80px)}.kry-reveal img{display:block;width:100%;height:auto}
.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-reveal){background:#fff;padding-top:clamp(64px,7cqw,96px);padding-bottom:0}
.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-reveal) h2{max-width:880px;text-wrap:balance;margin-inline:auto;margin-bottom:28px}
.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-reveal)>p{max-width:630px;margin-inline:auto;margin-bottom:0;text-wrap:pretty}
.case-wide-moment:has(.kry-reveal) .wide-moment-visual{margin-top:clamp(24px,3cqw,40px)}
.kry-reveal img{object-fit:contain;max-height:none}

@media(max-width:650px){.case-shell[data-case=mental-health] .case-wide-moment{width:100%;left:0;padding:var(--kry-section-space) 20px;border-radius:22px;margin-block:24px}.case-shell[data-case=mental-health] .case-wide-moment h2{font-size:36px}.case-shell[data-case=mental-health] .case-wide-moment>p{font-size:17px}.wide-moment-visual{margin-top:25px}.kry-reveal{margin-inline:-20px;width:calc(100% + 40px)}.kry-heart{max-width:340px}.kry-story-art{max-width:400px;margin:auto}.kry-story-art img{max-height:none}.kry-priorities>div{padding-top:22px;padding-bottom:22px}}
.case-shell[data-case=mental-health] .kry-hero{width:100%;margin:0;align-self:center}.kry-hero img{display:block;width:100%;height:auto}
/* The hero crop belongs to its own section, not the following chapter. */
@media(min-width:651px){
 .case-shell[data-case=mental-health] .case-contained-chapter.kry-overview{width:calc(min(90.8cqw,1120px) + max(4.6cqw,calc((100cqw - 1120px)/2)));grid-template-columns:min(49.032cqw,604.8px) 1fr;grid-template-rows:auto auto;align-content:center;align-items:start;min-height:calc(100svh - 142px)}
 .kry-overview-heading{grid-column:1;grid-row:1}
 .kry-overview-intro{grid-column:1;grid-row:2}
 .case-shell[data-case=mental-health] .kry-overview .contained-visual{grid-column:2;grid-row:1 / span 2;position:static;overflow:visible}
 .case-shell[data-case=mental-health] .kry-overview .kry-hero{position:absolute;bottom:0;right:-2px;width:min(48cqw,650px);max-width:none;transform:none}
}
.kry-evidence{width:100%;margin:0;color:#002b42}
.kry-original{max-width:350px;margin-inline:auto}.kry-original img{display:block;width:100%;height:auto;border-radius:24px}
.visual-scene:not([data-sequence-visual]) .kry-original{max-width:270px}.visual-scene:not([data-sequence-visual]) .kry-original img{max-height:65svh;width:auto;max-width:100%;margin:auto}
.kry-alpha{background:#fff4df;border-radius:28px;padding:clamp(25px,3vw,44px)}.kry-alpha blockquote{font-size:clamp(24px,2.5vw,36px);line-height:1.3;letter-spacing:-.025em;margin:0}.kry-alpha-stat{margin-top:40px;padding-top:24px;border-top:1px solid #002b4226;display:flex;align-items:center;gap:24px}.kry-alpha-stat strong{font-size:48px;line-height:1;letter-spacing:-2px;font-weight:400;white-space:nowrap}.kry-alpha-stat small{font-size:18px;letter-spacing:0}.kry-alpha-stat>span{font-size:13px;line-height:1.4;max-width:100px}
.kry-results{padding:clamp(25px,3vw,44px);background:#fff;border-radius:28px}.kry-result{padding:24px 0;border-bottom:1px solid #002b4220}.kry-result strong{display:block;font-size:clamp(60px,6vw,88px);font-weight:400;line-height:1;letter-spacing:-.06em}.kry-result small{font-size:26px;letter-spacing:-1px}.kry-result>span{display:block;font-size:15px;line-height:1.5;margin-top:15px}
.kry-foundation{background:#fff;border-radius:28px;padding:30px}.kry-foundation img{display:block;width:100%;height:auto;margin-block:35px}.kry-course-names{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kry-course-names>span{padding:16px;border-radius:14px;font-size:16px;background:#ffebc6}.kry-course-names>span:nth-child(2){background:#e0f3ff}.kry-course-names>span:nth-child(3){background:#f7e5ef}.kry-course-names>span:nth-child(4){background:#e9e3f8}
/* Original system artefacts lead into the existing configurable exercise. */
.case-shell[data-case=mental-health] .case-wide-moment:has(:is(.kry-system-boards,.kry-system-example)){background:var(--case-surface,#B4E4FF);border-radius:0}
.case-shell[data-case=mental-health] .case-wide-moment:has(:is(.kry-system-boards,.kry-system-example))>h2,.case-shell[data-case=mental-health] .case-wide-moment:has(:is(.kry-system-boards,.kry-system-example))>p{margin-inline:auto;text-wrap:balance}
.kry-system-boards{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;max-width:880px;margin:10px auto 60px;text-align:left}
.kry-system-boards figure{margin:0;min-width:0}.kry-system-boards figure:nth-child(2){margin-top:70px}
.kry-system-boards img{display:block;width:100%;height:auto}
.kry-system-example{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;max-width:860px;margin:0 auto 60px;text-align:left}
.kry-template-art{width:100%;max-width:270px;margin:0 auto}.kry-template-art img{display:block;width:100%;height:auto}
.kry-template-demo{min-width:0}
.kry-template-demo .demo-switch button{min-height:44px}
@media(max-width:650px){.kry-system-boards{grid-template-columns:1fr;gap:36px;max-width:400px;margin:0 auto 40px}.kry-system-boards figure:nth-child(2){margin-top:0}.kry-system-example{grid-template-columns:1fr;gap:40px;margin-bottom:40px}.kry-template-art{max-width:250px}}
/* Measurement and findings: saturated colours from the supplied Kry artwork. */
.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-measurement) h2,.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-measurement)>p{margin-inline:auto}
.kry-measurement{width:100%;max-width:960px;margin:0 auto 60px;text-align:left}
.kry-feedback-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:0}
.kry-feedback-journey li{padding:28px;border-radius:24px;background:#01454b;color:#fff}
.kry-feedback-journey li:nth-child(2){background:#a893ec;color:#002b42}.kry-feedback-journey li:nth-child(3){background:#fbd100;color:#002b42}
.kry-feedback-journey h3{font-size:clamp(22px,2.4cqw,29px);font-weight:400;line-height:1.15;letter-spacing:-.025em;margin:0 0 18px}
.case-shell[data-case=mental-health] .kry-feedback-journey p{font-size:16px;line-height:1.5;margin:0}
.kry-metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:36px;text-align:left}
.kry-metric-grid.is-single{grid-template-columns:1fr}
.kry-chart-panel{min-width:0;border-radius:24px;padding:30px}
.kry-duration{background:#fbd100;color:#002b42}.kry-satisfaction{background:#01454b;color:#fff}
.kry-chart-panel h3{font-size:17px;line-height:1.4;font-weight:400;margin:0 0 20px}
.kry-chart-value{font-size:clamp(52px,6cqw,76px);line-height:1;letter-spacing:-.055em;margin-bottom:30px}
.kry-chart-value>span{font-size:.4em;letter-spacing:-.02em}
.kry-bar-row+ .kry-bar-row{margin-top:20px}.kry-bar-row>div:first-child{display:flex;justify-content:space-between;gap:16px;align-items:baseline;font-size:13px;margin-bottom:8px}
.kry-bar-row strong{font-weight:500;white-space:nowrap}.kry-bar-row small{font-size:inherit;font-weight:400}
.kry-bar-track{height:22px;border-radius:20px;background:#002b421c;overflow:hidden}
.kry-bar-track>span{display:block;height:100%;border-radius:inherit;background:#002b42;transform-origin:left center}
.kry-bar-track.is-intended>span{background:#0a7e85}
.kry-chart-axis{display:flex;justify-content:space-between;font-size:11px;line-height:1.4;margin-top:12px}
.kry-rating-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:42px}
.kry-rating-scale>span{display:block;height:54px;border:1px solid #ffffff80;border-radius:16px;overflow:hidden;background:#ffffff14}
.kry-rating-scale i{display:block;height:100%;background:#39cfba;transform-origin:left center}
.visual-scene .kry-metric-grid{grid-template-columns:1fr;gap:16px;margin-bottom:0}
.visual-scene .kry-chart-panel{padding:24px}.visual-scene .kry-chart-value{font-size:58px;margin-bottom:24px}.visual-scene .kry-rating-scale{margin-top:24px}.visual-scene .kry-rating-scale>span{height:38px;border-radius:12px}
@media(max-width:650px){.kry-measurement{margin-bottom:40px}.kry-feedback-journey{grid-template-columns:1fr;gap:12px;margin-bottom:0}.kry-feedback-journey li{padding:24px}.kry-metric-grid{grid-template-columns:1fr;gap:14px;margin-bottom:28px}.kry-chart-panel{padding:24px}.kry-chart-value{font-size:58px}.kry-rating-scale{margin-top:28px}.kry-rating-scale>span{height:42px}}
.kry-first-lesson{width:100%;max-width:min(310px,calc(74svh - 180px));margin:0 auto;align-self:center}
.kry-lesson-art{position:relative}
.kry-lesson-art img{display:block;width:100%;height:auto}
.kry-lesson-duration{width:100%;max-width:430px;margin:0 auto;align-self:center}
.kry-lesson-duration .kry-metric-grid{margin-bottom:14px}
.kry-habit-visual{width:100%;max-width:330px;margin:0 auto}
.kry-habit-visual>img{display:block;width:100%;height:auto}
.kry-habit-quote{font-size:clamp(22px,2.4cqw,30px);font-weight:400;line-height:1.35;letter-spacing:-.02em;margin:26px 0 0;padding:0 12px;text-wrap:pretty}
.kry-habit-quote cite{display:block;font-size:12px;line-height:1.5;font-style:normal;letter-spacing:0;margin-top:16px}
.kry-insights-concept{max-width:300px}
.kry-night-threshold{padding:0 0 28px;text-align:center}
.kry-night-markers{display:flex;justify-content:center;gap:10px}
.kry-night-markers>span{display:grid;place-items:center;width:38px;height:42px;border:1px solid #b4e4ff66;border-radius:14px;background:#ffffff0d}
.kry-night-markers svg{width:21px;height:21px;fill:#b4e4ff}
.kry-screen-quote{font-size:21px;line-height:1.4;margin:28px 0 0;letter-spacing:-.02em;border-left:2px solid #002b4233;padding-left:20px}
.kry-screen-quote cite,.kry-alpha-quotes cite{display:block;font-size:12px;font-style:normal;line-height:1.5;margin-top:16px;letter-spacing:0;color:#365569}
.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-alpha){background:var(--case-surface,#B4E4FF);border-radius:0}
.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-alpha) h2,.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-learning-flow) h2,.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-sleep-intro) h2{margin-inline:auto;text-wrap:balance}
.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-alpha)>p,.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-learning-flow)>p,.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-sleep-intro)>p{margin-inline:auto}
.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-results) h2,.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-results)>p{margin-inline:auto;text-wrap:balance}
.case-wide-moment .kry-results{max-width:920px;padding:0;margin:0 auto;background:transparent;text-align:left;border-radius:0}
.kry-beta-findings{display:grid;grid-template-columns:1fr 1fr;gap:36px;border-top:1px solid #002b4226;padding-top:30px;margin-bottom:0}
.kry-beta-findings h3{font-size:24px;font-weight:400;line-height:1.25;letter-spacing:-.025em;margin:0 0 14px}
.case-shell[data-case=mental-health] .kry-beta-findings p{font-size:16px;line-height:1.6;margin:0}
.case-wide-moment .kry-alpha{background:transparent;max-width:920px;margin:0 auto;padding:0;text-align:left;border-radius:0}
.kry-alpha-metrics{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding-bottom:42px}
.kry-alpha-metrics strong{display:block;font-size:clamp(48px,6cqw,76px);font-weight:400;letter-spacing:-.055em;line-height:1.1}
.kry-alpha-metrics small{font-size:.4em;letter-spacing:-.02em}.kry-alpha-metrics span{display:block;font-size:15px;line-height:1.5;margin-top:12px}
.kry-alpha-quotes{display:grid;grid-template-columns:1fr 1fr;gap:40px;border-top:1px solid #002b4226;padding-top:32px}
.kry-alpha-quotes blockquote{font-size:clamp(21px,2.3cqw,28px);line-height:1.45;margin:0;letter-spacing:-.02em}
.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-learning-flow){background:var(--case-surface,#B4E4FF);border-radius:0}
.kry-learning-flow{width:100%;max-width:1040px;margin:40px auto 60px;text-align:left;color:#002b42}
.kry-learning-flow svg{display:block;width:100%;height:auto;overflow:visible;font-family:inherit}
.kry-workflow-labels{fill:currentColor;font-size:19px}
.kry-workflow-annotations{fill:currentColor;font-size:17px}
.kry-workflow-guides{stroke:currentColor;stroke-width:1;fill:currentColor;opacity:.45}
.kry-workflow-rails{fill:none;stroke:#fff;stroke-width:10;stroke-linecap:round;opacity:.45}
.kry-workflow-tracks{fill:none;stroke-width:12;stroke-linecap:round}
.kry-workflow-learning{fill:none;stroke:#f58a00;stroke-width:12;stroke-linecap:round;stroke-linejoin:round}
.kry-workflow-phases path{fill:none;stroke:currentColor;stroke-width:1;stroke-dasharray:4 6;opacity:.3}
.kry-workflow-phases text,.kry-workflow-milestones{fill:currentColor;font-size:16px}
.kry-workflow-team{fill:currentColor;font-size:13px}
.kry-workflow-mobile{display:none}
/* Sleep is one continuous chapter; the shared stage retains ownership of its UI. */
.case-shell[data-case=mental-health] .case-story-group[data-story-group=sleep]{position:relative;display:flow-root;background:#002b42;color:#fff}
.case-shell[data-case=mental-health] .case-story-group[data-story-group=sleep]::before{content:"";position:absolute;inset:0 auto 0 -4.6cqw;width:100cqw;background:#002b42;z-index:0;pointer-events:none}
.case-shell[data-case=mental-health] .case-story-group[data-story-group=sleep]>.chapter:not(.case-wide-moment){position:relative;z-index:2}
.case-shell[data-case=mental-health] .case-story-group[data-story-group=sleep] .case-wide-moment{background:#002b42;color:#fff;border-radius:0;margin-block:0;padding-block:var(--kry-section-space)}
.case-shell[data-case=mental-health] .case-story-group[data-story-group=sleep]>.case-wide-moment:first-child{padding-top:clamp(80px,9cqw,120px)}
.case-shell[data-case=mental-health] .chapter-sequence:has(.kry-diary-concept){padding-top:clamp(40px,6svh,64px)}
.case-shell[data-case=mental-health] .visual-scene[data-story-group=sleep]{color:#fff}
.case-shell[data-case=mental-health] :is(.case-story-group,.visual-scene)[data-story-group=sleep] cite{color:#b4e4ff}
.case-shell[data-case=mental-health] :is(.case-story-group,.visual-scene)[data-story-group=sleep] :is(.kry-screen-quote,.kry-beta-findings){border-color:#ffffff40}
.case-shell[data-case=mental-health] .case-story-group[data-story-group=sleep] .kry-results{color:#fff}
.kry-sleep-intro{width:100%;max-width:860px;margin:0 auto}
.kry-sleep-intro>svg{display:block;width:100%;height:auto}
@media(max-width:650px){
  .kry-first-lesson{max-width:310px}.kry-lesson-duration{max-width:400px}
  .kry-beta-findings{grid-template-columns:1fr;gap:26px;padding-top:26px}
  .kry-alpha-metrics{gap:20px;padding-bottom:28px}.kry-alpha-metrics strong{font-size:48px}.kry-alpha-metrics span{font-size:13px}
  .kry-alpha-quotes{grid-template-columns:1fr;gap:28px;padding-top:28px}.kry-alpha-quotes blockquote{font-size:21px}
  .kry-learning-flow{margin:12px auto 40px;max-width:420px}
  .kry-learning-flow .kry-workflow-desktop{display:none}
  .kry-workflow-mobile{display:block}
  .kry-workflow-mobile section{padding:28px 0;border-bottom:1px solid #002b4226}
  .kry-workflow-mobile h3{font-size:25px;line-height:1.2;font-weight:400;letter-spacing:-.03em;margin:10px 0 12px}
  .case-shell[data-case=mental-health] .kry-workflow-mobile p{font-size:16px;line-height:1.5;margin:0;max-width:30em}
  .kry-workflow-mobile svg{margin-top:24px}
  .kry-workflow-mobile .kry-workflow-labels{font-size:14px}
  .kry-workflow-mobile .kry-workflow-rails{stroke-width:5}
  .kry-workflow-mobile .kry-workflow-tracks,.kry-workflow-mobile .kry-workflow-learning{stroke-width:7}
  .kry-workflow-mobile-team{display:flex;align-items:center;gap:16px;margin-top:28px;font-size:12px;line-height:1.5}
  .kry-workflow-mobile-team img{width:90px;height:auto;flex:none}
  .case-shell[data-case=mental-health] .case-story-group[data-story-group=sleep]::before{left:-24px;width:calc(100% + 48px)}
  .case-shell[data-case=mental-health] .case-story-group[data-story-group=sleep]>.case-wide-moment:first-child{padding-top:64px}
  .kry-sleep-intro{margin:0 auto}
}
@media(min-width:651px){.case-shell[data-case=mental-health] .chapter h2,.case-shell[data-case=mental-health] .sequence-copy h2{font-size:clamp(38px,4.5vw,64px)}.case-shell[data-case=mental-health] .sequence-copy{top:12svh;margin-top:12svh}.case-shell[data-case=mental-health] .chapter p,.case-shell[data-case=mental-health] .sequence-copy p{font-size:clamp(17px,1.35vw,20px);line-height:1.6}}
@media(max-width:650px){.case-shell[data-case=mental-health] .mobile-visual{height:auto;min-height:0;overflow:visible;margin:30px 0 0}.case-shell[data-case=mental-health] .mobile-visual .visual-scene{position:relative;inset:auto;padding:0;display:block}.kry-hero{max-width:370px;margin:auto!important}.kry-original{max-width:310px}.visual-scene:not([data-sequence-visual]) .kry-original{max-width:270px}.visual-scene:not([data-sequence-visual]) .kry-original img{max-height:none;width:100%}.kry-alpha blockquote{font-size:28px}.kry-alpha-stat{margin-top:30px}.kry-results,.kry-alpha,.kry-foundation{max-width:420px;margin:auto}.case-shell[data-case=mental-health] .visual-beat{padding-block:20px 45px}.case-shell[data-case=mental-health] .sequence-copy{padding-bottom:15px}.kry-result strong{font-size:70px}}

/* Close with team learning, then the person who benefits. */
.case-shell[data-case=mental-health] .case-wide-moment:has(:is(.kry-takeaways,.kry-patient-finale)){background:transparent;border-radius:0}
.case-wide-moment:has(:is(.kry-takeaways,.kry-patient-finale)) .wide-moment-visual{margin-top:0}
.kry-takeaways{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,6cqw,80px);max-width:960px;margin:auto;text-align:left}
.case-shell[data-case=mental-health] .kry-takeaways h2{font-size:clamp(30px,3.2cqw,42px);line-height:1.12;letter-spacing:-.035em;margin:0 0 24px;text-wrap:balance}
.case-shell[data-case=mental-health] .kry-takeaways p{font-size:18px;line-height:1.65;margin:0}
.case-shell[data-case=mental-health] .case-wide-moment:has(.kry-patient-finale){padding:24px 0 0;margin-bottom:0}
.kry-patient-finale{position:relative;container-type:inline-size;max-width:560px;width:100%;margin:auto}
.kry-patient-finale>img{display:block;width:100%;height:auto}
.kry-patient-message{position:absolute;top:15%;left:14%;width:72%;text-align:center}
.case-shell[data-case=mental-health] .kry-patient-message h2{font-size:clamp(36px,10cqw,56px);line-height:1.02;letter-spacing:-.045em;margin:0 0 24px;text-wrap:balance}
.case-shell[data-case=mental-health] .kry-patient-message p{font-size:clamp(17px,4cqw,22px);line-height:1.45;margin:0;text-wrap:balance}
@media(max-width:650px){.kry-takeaways{grid-template-columns:1fr;gap:44px}.case-shell[data-case=mental-health] .kry-takeaways h2{font-size:30px;margin-bottom:18px}.case-shell[data-case=mental-health] .kry-takeaways p{font-size:17px}.kry-patient-message{top:12%;left:12%;width:76%}.case-shell[data-case=mental-health] .kry-patient-message h2{font-size:clamp(27px,7.8cqw,42px);margin-bottom:16px}.case-shell[data-case=mental-health] .kry-patient-message p{font-size:clamp(15px,3.9cqw,19px)}}

/* Mobile uses an uninterrupted reading flow; desktop retains its editorial stage. */
.kry-care-static{display:none;width:100%;height:auto}
.kry-care-static-labels{fill:#fff;font-size:27px;font-family:inherit}
.kry-care-static-logo{filter:brightness(0) invert(1)}
.kry-activities-board{display:block;width:100%;height:auto;border-radius:clamp(18px,2cqw,32px);overflow:hidden}
.kry-system-boards img{border-radius:clamp(18px,2cqw,32px)}
@media(max-width:650px){
 .case-shell[data-case=mental-health]{--kry-section-space:40px}
 .case-shell[data-case=mental-health] .case-layout{padding-inline:20px}
 .case-shell[data-case=mental-health] .chapter{min-height:0;padding-block:36px 44px}
 .case-shell[data-case=mental-health] .chapter h2,.case-shell[data-case=mental-health] .sequence-copy h2{font-size:clamp(30px,8.5cqw,36px);line-height:1.12;margin-bottom:22px;text-wrap:pretty}
 .case-shell[data-case=mental-health] .chapter p,.case-shell[data-case=mental-health] .sequence-copy p{font-size:17px;line-height:1.55}
 .case-shell[data-case=mental-health] .case-contained-chapter.case-overview{padding-top:16px}
 .case-shell[data-case=mental-health] .case-overview h2{font-size:38px}
 .case-shell[data-case=mental-health] .contained-visual{margin-top:28px}
 .case-shell[data-case=mental-health] .kry-hero{max-width:270px}
 .case-shell[data-case=mental-health] .case-contained-chapter .kry-story-art{width:70%;max-width:230px;height:auto}
 .case-shell[data-case=mental-health] .case-contained-chapter .kry-story-art img{max-height:310px;object-fit:contain}
 .kry-heart{width:72%;max-width:230px}
 .kry-story-art:has(img[src$="experts.svg"]){width:88%;max-width:270px}
 .case-shell[data-case=mental-health] .sequence-copy{padding:36px 0 0;margin:0;position:static}
 .case-shell[data-case=mental-health] .sequence-copy:has(.kry-framing-copy){padding-bottom:0}
 .case-shell[data-case=mental-health] .visual-beat{min-height:0!important;padding:24px 0 40px}
 .case-shell[data-case=mental-health] .visual-beat:last-child{padding-bottom:40px}
 .case-shell[data-case=mental-health] .mobile-visual,.case-shell[data-case=mental-health] .visual-beat .mobile-visual{position:relative;top:auto;margin:0;overflow:visible}
 .kry-framing{max-width:340px;margin:auto}
 .kry-framing .kry-care-loop{display:none}
 .kry-framing .kry-care-static{display:block}
 .kry-framing-mobile-question{padding:0 0 32px}
 .kry-framing-mobile-question h2{font-size:30px;font-weight:400;line-height:1.15;margin:0}
 .case-shell[data-case=mental-health] .kry-framing-copy [data-care-intro] h2{margin-bottom:22px}
 .case-shell[data-case=mental-health] .case-wide-moment{padding-inline:18px;margin-block:16px}
 .case-shell[data-case=mental-health] .case-wide-moment h2{font-size:32px}
 .case-shell[data-case=mental-health] .case-wide-moment .wide-moment-visual{margin-top:26px}
 .case-shell[data-case=mental-health] .case-wide-moment:has(.kry-reveal){padding-top:40px}
 .kry-reveal{margin-inline:-18px;width:calc(100% + 36px)}
 .case-shell[data-case=mental-health] .chapter-sequence:has(.kry-diary-concept){padding-top:20px}
 .case-shell[data-case=mental-health] .case-story-group[data-story-group=sleep]::before{left:-20px;width:calc(100% + 40px)}
 .case-shell[data-case=mental-health] .case-story-group[data-story-group=sleep]>.case-wide-moment:first-child{padding-top:48px}
 .kry-system-boards{gap:28px}
 .kry-template-art{max-width:220px}
 .kry-system-example{gap:28px}
 .case-shell[data-case=mental-health] .case-wide-moment:has(:is(.kry-takeaways,.kry-patient-finale)) .wide-moment-visual{margin-top:0}
 .kry-patient-message{top:12%;left:12%;width:76%}
 .case-shell[data-case=mental-health] .kry-patient-message h2{font-size:clamp(30px,10cqw,42px);line-height:1.04;margin-bottom:18px}
 .case-shell[data-case=mental-health] .kry-patient-message p{font-size:clamp(15px,4.8cqw,18px);line-height:1.4}
}

@media(max-width:650px){
 .case-shell[data-case=mental-health] .case-story-group[data-story-group=closing]{position:relative;display:flow-root;background:#B4E4FF}
 .case-shell[data-case=mental-health] .case-story-group[data-story-group=closing]::before{content:"";position:absolute;inset:0 -20px;background:#B4E4FF;pointer-events:none}
 .case-shell[data-case=mental-health] .case-wide-moment:not(:has(.kry-reveal,.kry-patient-finale))>h2,.case-shell[data-case=mental-health] .case-wide-moment:not(:has(.kry-reveal,.kry-patient-finale))>p{text-align:left}
}

/* Keep the Sleep examples distinct from their introductory copy. */
@media(max-width:650px){
 .case-shell[data-case=mental-health] .chapter:has(:is(.kry-first-lesson,.kry-lesson-duration))>.mobile-visual{margin-top:44px}
}

/* Put the burden illustration before the research framing on desktop. */
@media(min-width:651px){
 .case-shell[data-case=mental-health] .case-contained-chapter:has(img[src$="heavy-burden.svg"]){grid-template-columns:46% 54%}
 .case-contained-chapter:has(img[src$="heavy-burden.svg"]) .contained-visual{grid-column:1;grid-row:1}
 .case-contained-chapter:has(img[src$="heavy-burden.svg"]) .contained-copy{grid-column:2;grid-row:1;padding-right:0;padding-left:9%}
}

/* A continuous mobile introduction: title, portrait, then words in her blue top. */
@media(max-width:650px){
 .case-shell[data-case=mental-health] .case-contained-chapter.kry-overview{display:flex;flex-direction:column;overflow:visible;padding-top:24px;padding-bottom:28px}
 .kry-overview-heading{width:100%;text-align:center}
 .case-shell[data-case=mental-health] .kry-overview-heading .case-opening-brand-logo{margin:0 auto 26px;width:64px;height:36px}
 .case-shell[data-case=mental-health] .kry-overview-heading h2{font-size:clamp(32px,9cqw,40px);line-height:1.12;max-width:11ch;margin:0 auto 28px;text-wrap:balance}
 .kry-overview-heading .facts{justify-content:center;flex-wrap:wrap;margin-bottom:0}
 .case-shell[data-case=mental-health] .kry-overview .contained-visual{flex:none;width:calc(100% + 40px);margin:32px -20px 0;overflow:hidden}
 .case-shell[data-case=mental-health] .kry-overview .kry-hero{width:140%;max-width:none;margin:0!important;flex-shrink:0;transform:translateX(-8%)}
 .kry-overview-intro{position:relative;width:100%;margin-top:-1px;padding-top:28px;background:#B4E4FF}
 .case-shell[data-case=mental-health] .kry-overview-intro>p{margin-top:0}
 .kry-overview-intro .case-contribution{margin-top:32px}
}
