/* MMU case study: preserve the portfolio's warm charcoal / stone identity. */
body.single-case_study:has(.mmu-case) .case-study-title{max-width:1050px;font-size:clamp(40px,5.7vw,82px);line-height:1.06}
.mmu-cover{max-width:1440px;margin:0 auto 80px;padding:clamp(28px,5vw,72px);background:#1b1b19;color:#eee9e1;border:1px solid #3a3834;display:grid;grid-template-columns:1fr 1fr;align-items:center;overflow:hidden}
.mmu-cover-copy{position:relative;z-index:1}
.mmu-small{display:block;font-size:11px;line-height:1.7;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.mmu-cover .mmu-small{color:#b2afa8}
.mmu-cover-copy>p{font-size:clamp(48px,6.4vw,94px);line-height:1.02;letter-spacing:-.06em;margin:34px 0;font-weight:400}
.mmu-cover em{font-style:normal;color:#ff641e}
.mmu-cover-foot{font-size:14px;color:#c8c3b9}
.mmu-cover-art svg{width:115%;max-width:none;height:auto;display:block;margin-left:-5%}
.mmu-cover>figcaption{grid-column:1/-1;border-top:1px solid #3a3834;margin-top:25px;padding-top:20px;color:#aaa59c;font-size:12px;line-height:1.7}
.mmu-case{--mmu-rule:var(--line)}
.mmu-case>p{max-width:72ch;font-size:18px;line-height:1.85;color:var(--muted);margin:0 0 24px}
.mmu-case .mmu-lede{font-size:clamp(22px,2.1vw,29px);line-height:1.55;color:var(--fg);letter-spacing:-.015em;margin-bottom:28px}
.mmu-case .mmu-byline{font-size:12px;letter-spacing:.02em;margin:0 0 35px}
.mmu-case h2{font-size:clamp(28px,3vw,43px);line-height:1.2;font-weight:400;letter-spacing:-.035em;margin:82px 0 28px;scroll-margin-top:110px;max-width:26ch}
.mmu-case h3{font-weight:400}
.mmu-scope{border-left:2px solid var(--orange);padding:6px 0 6px 24px;margin:38px 0 55px}
.mmu-scope strong{font-size:18px;font-weight:400;color:var(--fg)}
.mmu-scope p{font-size:15px;line-height:1.75;color:var(--muted);margin:10px 0 0}
.mmu-case .mmu-figure{margin:42px 0 48px;padding:clamp(20px,3vw,34px);border:1px solid var(--line);background:var(--surface)}
.mmu-case .mmu-figure figcaption{padding:20px 0 0;margin:26px 0 0;border-top:1px solid var(--line);font-size:12px;line-height:1.75;color:var(--muted)}
.mmu-figure figcaption strong{color:var(--fg);font-weight:400}
.mmu-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.mmu-pair .mmu-small{margin-bottom:14px;letter-spacing:.06em;font-size:10px}
.mmu-archive img{display:block;width:100%;height:auto}
.mmu-material-image{max-width:690px;margin:auto}
.mmu-material-labels{display:flex;justify-content:space-around;font-size:12px;margin-top:16px;color:var(--muted)}
.mmu-equation{display:grid;gap:28px;margin-top:28px}
.mmu-equation>div+div{border-top:1px solid var(--line);padding-top:24px}
.mmu-equation span,.mmu-equation small{display:block;font-size:13px;color:var(--muted)}
.mmu-equation strong{display:block;font-weight:400;font-size:clamp(29px,3.8vw,51px);line-height:1.25;letter-spacing:-.045em;margin:8px 0 12px;white-space:nowrap}
.mmu-equation i{font-style:normal;color:var(--orange)}
.mmu-equation sup{font-size:.5em;vertical-align:super}
.mmu-state-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:20px;margin-top:30px}
.mmu-state-grid b{color:var(--orange);font-size:12px;font-weight:400}
.mmu-case .mmu-state-grid h3{font-size:23px;margin:14px 0 8px}
.mmu-state-grid p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.mmu-case .mmu-state-output{border-top:1px solid var(--line);padding-top:20px;margin:26px 0 0;font-size:16px;color:var(--fg)}
.mmu-state-output span{color:var(--orange)}
.mmu-motion svg{display:block;width:100%;height:auto;overflow:visible;color:var(--fg)}
.mmu-motion svg text{font-family:Archivo,Arial,sans-serif;font-size:22px;fill:currentColor}
.mmu-motion svg .mmu-svg-kicker{font-size:17px;letter-spacing:1.2px}
.mmu-motion svg .mmu-svg-large{font-size:36px}
.mmu-svg-panel{fill:var(--bg);stroke:var(--line);stroke-width:2}
.mmu-svg-line{fill:none;stroke:var(--orange);stroke-width:2}
.mmu-svg-plane{fill:none;stroke:var(--muted);stroke-opacity:.3;stroke-width:1.5;stroke-dasharray:5 6}
.mmu-layer text{fill:var(--muted);font-size:18px}
.mmu-layer:not(:first-child) text{opacity:0}
.mmu-case .mmu-play{display:inline-flex;align-items:center;gap:32px;min-height:44px;padding:9px 0;background:none;border:0;border-bottom:1px solid var(--muted);color:var(--fg);font:inherit;font-size:13px;cursor:pointer;margin-top:18px}
.mmu-case .mmu-play[hidden]{display:none}
.mmu-play:focus-visible{outline:2px solid var(--orange);outline-offset:5px}
.mmu-play span{color:var(--orange)}
.mmu-stat-pair{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:25px}
.mmu-stat-pair strong{display:block;font-weight:400;font-size:clamp(40px,5vw,67px);line-height:1.2;letter-spacing:-.05em}
.mmu-stat-pair>div>span{display:block;color:var(--muted);font-size:13px;margin-top:8px}
.mmu-stat-pair strong>span{font-size:.45em;color:var(--orange);margin-left:3px}
.mmu-case .mmu-chart-heading{margin:34px 0 18px;font-size:15px;line-height:1.6}
.mmu-chart-row{display:grid;grid-template-columns:1fr auto;gap:10px;margin:0 0 23px;font-size:12px}
.mmu-chart-row b{font-weight:400;color:var(--fg)}
.mmu-chart-row>span{color:var(--muted)}
.mmu-chart-row>div{grid-column:1/-1;height:11px;background:var(--bg)}
.mmu-chart-bar{display:block;height:100%;background:var(--orange);transform-origin:left}
.mmu-chart-row:nth-child(2) .mmu-chart-bar{opacity:.75}
.mmu-chart-row:nth-child(3) .mmu-chart-bar{background:var(--muted)}
.mmu-source{margin:70px 0 0;padding:32px 0;border-top:1px solid var(--line)}
.mmu-case .mmu-source h3{font-size:27px;margin:14px 0 20px}
.mmu-source p{font-size:15px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
.mmu-source .mmu-source-note{font-size:12px;margin-top:20px}
body:has(.mmu-case) .case-study-rail__inner{max-height:calc(100vh - 140px);overflow:auto;padding-right:14px}
@media(max-width:800px){.mmu-cover{margin:0 24px 55px;padding:30px;grid-template-columns:1fr}.mmu-cover-art{max-width:450px;margin:0 auto;width:100%}.mmu-cover-copy>p{font-size:60px;margin:24px 0}.mmu-cover-art svg{width:100%;margin:0}.mmu-cover>figcaption{margin-top:10px}.mmu-case>p{font-size:17px}.mmu-case h2{margin-top:60px}}
@media(max-width:540px){.mmu-cover{margin:0 18px 42px;padding:25px}.mmu-cover-copy>p{font-size:54px}.mmu-cover-art{margin-top:16px}.mmu-cover-foot{font-size:12px}.mmu-pair{grid-template-columns:1fr;gap:25px}.mmu-state-grid{grid-template-columns:1fr;gap:20px}.mmu-state-grid>div{display:grid;grid-template-columns:24px 1fr;gap:6px 10px}.mmu-state-grid b{grid-row:1/3;padding-top:4px}.mmu-case .mmu-state-grid h3{margin:0;font-size:21px}.mmu-state-grid p{grid-column:2}.mmu-motion[data-motion="pipeline"] svg{min-width:570px}.mmu-motion[data-motion="pipeline"] [data-composition-id]{overflow-x:auto;padding-bottom:12px}.mmu-stat-pair{gap:14px}.mmu-equation strong{font-size:29px}.mmu-case .mmu-figure{padding:20px}.mmu-chart-row{font-size:11px}.mmu-stat-pair strong{font-size:41px}}
@media(prefers-reduced-motion:reduce){.mmu-case *{scroll-behavior:auto!important}}

.mmu-case .mmu-scroll-hint{display:none}
.mmu-layer-legend{display:flex;gap:20px;flex-wrap:wrap;margin-top:18px;color:var(--muted);font-size:12px}
.mmu-layer-legend span:before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;background:#b59b80}
.mmu-layer-legend span:nth-child(2):before{background:#ded7cb;border:1px solid #8f8c86}
.mmu-layer-legend span:nth-child(3):before{background:#8f8c86}
.mmu-motion [tabindex]:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
@media(max-width:540px){.mmu-case .mmu-scroll-hint{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin:18px 0 8px}}

/* Source-material reservations: visibly draft content, never imitation screenshots. */
.mmu-case .mmu-placeholder{margin:46px 0 54px;border:1px solid var(--line);background:var(--surface);padding:clamp(22px,3vw,34px);scroll-margin-top:115px}
.mmu-placeholder-meta{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px;line-height:1.6;letter-spacing:.04em}
.mmu-placeholder-meta>span:first-child{color:var(--orange)}
.mmu-placeholder-body{min-height:230px;display:flex;flex-direction:column;justify-content:center;padding:32px 0;max-width:540px}
.mmu-placeholder-body>strong{display:block;font-weight:400;font-size:clamp(25px,3vw,37px);line-height:1.2;letter-spacing:-.025em;color:var(--fg);max-width:21ch}
.mmu-placeholder-body>p{font-size:15px;line-height:1.75;color:var(--muted);margin:18px 0 0;max-width:49ch}
.mmu-case .mmu-placeholder figcaption{padding:19px 0 0;margin:0;border-top:1px solid var(--line);font-size:12px;line-height:1.7;color:var(--muted)}
.mmu-case .mmu-placeholder--archive .mmu-placeholder-body{min-height:195px}
.mmu-case .mmu-placeholder--demo{background:var(--bg);border-top:2px solid var(--orange)}
.mmu-placeholder--demo .mmu-placeholder-body{min-height:260px}
.mmu-case .mmu-placeholder-status{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 24px}
@media(max-width:540px){.mmu-placeholder-body{min-height:220px}.mmu-placeholder-meta{font-size:10px}.mmu-placeholder--demo .mmu-placeholder-body{min-height:235px}}

/* Original presentation imagery, with readable archival captions. */
.mmu-case .mmu-source-gallery{scroll-margin-top:115px}
.mmu-case .mmu-source-gallery h3{font-weight:400;font-size:clamp(24px,3vw,32px);line-height:1.25;letter-spacing:-.025em;margin:15px 0 28px}
.mmu-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.mmu-source-grid>div{min-width:0}
.mmu-source-grid .mmu-small{display:block;margin-bottom:10px}
.mmu-source-grid img{display:block;width:100%;height:auto}
.mmu-source-gallery--single .mmu-source-grid{grid-template-columns:1fr;max-width:585px;margin-inline:auto}
.mmu-source-gallery--triple .mmu-source-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mmu-source-gallery a:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
.mmu-original-layers{display:grid;background-color:#dedbd5;background-image:conic-gradient(#d0cdc7 25%,transparent 0 50%,#d0cdc7 0 75%,transparent 0);background-size:24px 24px;aspect-ratio:1055/594}
.mmu-original-layers img{grid-area:1/1;width:100%;height:auto}
.mmu-original-layers img[hidden]{display:none}
.mmu-case .mmu-layer-controls{border:0;padding:0;margin:24px 0 0;display:flex;flex-wrap:wrap;gap:8px 24px;color:var(--fg);font-size:14px}
.mmu-layer-controls[hidden]{display:none!important}
.mmu-layer-controls legend{font-size:12px;color:var(--muted);margin-bottom:10px}
.mmu-layer-controls label{display:flex;align-items:center;gap:9px;min-height:44px;cursor:pointer}
.mmu-layer-controls input{width:18px;height:18px;accent-color:var(--orange)}
.mmu-layer-controls input:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
.mmu-layer-controls output{flex-basis:100%;font-size:12px;color:var(--muted)}
.mmu-layer-originals{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:20px;font-size:12px}
@media(max-width:700px){.mmu-source-grid,.mmu-source-gallery--triple .mmu-source-grid{grid-template-columns:1fr;gap:24px}}
