/* Target v8.13 — touch layouts use real content height and one reading stage. */
.ep-topic-mobile,.ep-topic-mobile-visual,.ep-build-phase{display:none}
@media(max-width:760px){
 .method{height:auto!important}
 .method .method-stage{height:auto!important;min-height:0!important;display:block!important;padding:104px 20px 64px!important;overflow:visible!important}
 .method .method-head{display:block;margin-bottom:28px!important}
 .method .method-head .h2{font-size:42px;line-height:1.02;margin:0 0 16px}
 .method .method-head .body-lg{font-size:16px;line-height:1.45;margin-top:0!important}
 .method .method-grid{display:grid!important;grid-template-columns:1fr;grid-template-rows:repeat(4,auto);max-height:none!important;min-height:0!important;padding:0!important;perspective:none;border-top:1px solid var(--brand-primary)!important;border-bottom:1px solid var(--brand-primary)!important;background:var(--brand-paper)!important}
 .method .method-step{height:auto;min-height:0!important;max-height:none;margin:0;border:0!important;border-bottom:1px solid var(--brand-primary)!important;border-radius:0;background:var(--brand-paper)!important;box-shadow:none;transform:none;overflow:clip}
 .method .method-step:last-child{border-bottom:0!important}
 .method .method-content{display:grid!important;grid-template-columns:26px minmax(0,1fr);grid-template-rows:auto auto;gap:8px 14px;align-content:center;padding:14px 14px!important}
 .method .method-base{position:relative;inset:auto;display:grid!important;visibility:visible!important;color:var(--brand-primary)!important;pointer-events:auto}
 .method .method-overlay{position:absolute!important;inset:0!important;display:grid!important;visibility:visible!important;color:#FFFFFF!important;clip-path:inset(0 calc(100% - var(--mobile-fill,0)*100%) 0 0)!important}
 .method .method-fill{display:block!important;background:var(--brand-primary);transform:scaleX(var(--mobile-fill,0))!important}
 .method .method-symbol{grid-column:1;grid-row:1/3;margin:0;align-self:start;padding-top:3px}
 .method .method-symbol .geo-icon{width:26px;height:26px}
 .method .method-step .n{display:none}
 .method .method-step h3{grid-column:2;font-size:28px!important;line-height:1.05;margin:0!important}
 .method .method-step h3 br{display:none}
 .method .method-step :is(p,.ths-rich){grid-column:2;font-size:14px;line-height:1.4;max-width:100%;opacity:1}
 .method .method-cue{display:flex!important;margin-top:18px;font-size:10px}
}
@media(max-width:700px){
 /* Content decides the height; browser chrome and larger text cannot crop it. */
 .experience-page.ep-enhanced .ep-scene{height:auto;min-height:100svh;overflow:visible;padding:104px 20px 88px}
 .experience-page .ep-cover{grid-template-rows:auto auto;gap:26px}
 .experience-page .ep-cover-image{height:clamp(280px,85vw,430px);min-height:0}
 .experience-page .ep-manifesto{min-height:0!important}
 .experience-page .ep-manifesto-grid{display:flex;flex-direction:column;gap:24px;height:auto;position:static}
 .experience-page .ep-manifesto-copy{display:contents}
 .experience-page .ep-manifesto-copy h2{order:0;width:100%;min-height:0;font-size:44px;margin:0;max-width:100%}
 .experience-page .ep-people-photo{order:1;position:static;width:100%;height:auto;max-height:none;align-self:stretch}
 .experience-page .ep-people-photo img{height:auto;max-height:none;aspect-ratio:1.1;object-fit:cover!important;object-position:center 65%}
 .experience-page .ep-people-photo figcaption{display:block;position:static;writing-mode:horizontal-tb;transform:none;white-space:normal;font-size:12px;margin-top:10px}
 .experience-page .ep-manifesto-copy :is(p,.ths-rich){order:2;font-size:16px;line-height:1.5;margin:0!important}
 .experience-page .ep-vision{order:3;grid-template-columns:1fr 1fr;gap:22px 18px;margin:6px 0 0!important}
 .experience-page .ep-vision dt{font-size:16px}.experience-page .ep-vision dd{font-size:14px;line-height:1.4}
 .experience-page .ep-topics .ep-topics-layout{display:block;flex:none}
 .experience-page.ep-enhanced .ep-topics :is(.ep-topic-controls,.ep-topic-panels){display:none}
 .experience-page.ep-enhanced .ep-topic-mobile{display:block}
 .ep-topic-mobile details{border-top:1px solid var(--brand-primary)}
 .ep-topic-mobile details:last-child{border-bottom:1px solid var(--brand-primary)}
 .ep-topic-mobile summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:66px;padding:18px 0;cursor:pointer;color:var(--brand-primary);font:400 30px/1.05 "Instrument Serif",Georgia,serif;letter-spacing:-.02em}
 .ep-topic-mobile summary::-webkit-details-marker{display:none}
 .ep-topic-mobile summary:focus-visible{outline:3px solid var(--brand-primary);outline-offset:4px}
 .ep-topic-disclosure{position:relative;width:24px;height:24px;flex:none}
 .ep-topic-disclosure::before,.ep-topic-disclosure::after{content:"";position:absolute;top:11px;left:4px;width:16px;height:1px;background:currentColor;transition:transform .2s}
 .ep-topic-disclosure::after{transform:rotate(90deg)}
 .ep-topic-mobile [open] .ep-topic-disclosure::after{transform:rotate(0)}
 .ep-topic-mobile-content{padding-bottom:28px}
 .experience-page .ep-topic-mobile-visual{display:block;margin:0 0 24px;height:auto}
 .ep-topic-mobile-visual img{display:block;width:100%;height:auto!important;aspect-ratio:4/3;object-fit:cover;object-position:center}
 .ep-topic-mobile-content h3{font-size:34px;line-height:1.05;margin:0 0 16px;color:var(--brand-primary)}
 .ep-topic-mobile-content :is(p,.ths-rich){font-size:16px;line-height:1.5}
 .experience-page .ep-topics .ep-topic-note{font-size:12px!important;line-height:1.5!important;margin-top:28px!important}
 .experience-page .ep-build-story{display:block}
 .experience-page .ep-build-controls{display:none}
 .experience-page .ep-build-frames{display:flex;flex-direction:column;gap:32px}
 .experience-page .ep-build-frames figure,.experience-page.ep-enhanced .ep-build-frames figure:not(.is-active){display:flex;height:auto;overflow:visible}
 .experience-page .ep-build-frames img{width:100%;height:auto!important;max-height:none;flex:none;aspect-ratio:440/424;object-fit:cover}
 .experience-page .ep-build-phase{display:flex;align-items:center;gap:16px;font-size:24px;line-height:1.1;color:var(--brand-primary);margin:0 0 14px;font-family:"Instrument Serif",Georgia,serif}
 .ep-build-phase span{font:400 11px/1.4 "Inter Tight",Arial,sans-serif;color:var(--brand-olive)}
 .experience-page .ep-build-frames figcaption{font-size:14px;line-height:1.4;padding-top:12px}
 .experience-page .ep-build-bottom{margin-top:32px}
 .experience-page .ep-build-bottom ul{gap:16px;font-size:14px;line-height:1.4}
 .experience-page .ep-guest{display:block;min-height:0!important}
 .experience-page .ep-guest .ep-guest-top{margin-bottom:36px}
 .experience-page .ep-guest .ep-guest-top h2{font-size:44px;max-width:100%;margin-bottom:24px}
 .experience-page .ep-guest .ep-guest-top :is(p,.ths-rich){font-size:16px;line-height:1.5}
 .experience-page .ep-guest .ep-guest-top :is(p,.ths-rich)+:is(p,.ths-rich){margin-top:16px}
 .experience-page .ep-guest.is-mobile-journey{--ep-story-node:56px;--ep-story-row:clamp(210px,calc((100svh - 200px)*.55),290px)}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-layout{display:grid;grid-template-columns:88px minmax(0,1fr);gap:18px;height:clamp(340px,calc(100svh - 200px),540px);min-height:0;max-height:none;background:var(--brand-dark)}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-route{align-self:stretch;height:100%;max-height:none;padding:6px 0;overflow:clip}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-route a{font-size:15px;line-height:1.15;gap:14px}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-detail h3{font-size:32px;line-height:1.06;margin:0 0 20px}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-detail article>:is(p,.ths-rich):last-child{font-size:16px;line-height:1.45}
 .experience-page .ep-guest.is-mobile-journey .ep-step-label{font-size:11px;line-height:1.4;margin-bottom:18px;letter-spacing:0}
 .experience-page .ep-guest .ep-guest-foot{margin-top:28px!important}
 .experience-page .ep-render-layout{flex:none}
 .experience-page .ep-render .ep-compare-projects{height:auto;min-height:0;flex:none}
 .experience-page .ep-render .ep-compare-canvas{height:clamp(230px,65vw,380px);min-height:0}
 .experience-page .ep-render .ep-tools{display:block}
 .experience-page .ep-render .ep-tools article{margin-top:24px;padding-top:18px}
 .experience-page .ep-render .ep-tools h3{font-size:30px}
 .experience-page .ep-render .ep-tools :is(p,.ths-rich){font-size:16px;line-height:1.5}
 .experience-page .ep-participate{gap:32px}
 .experience-page .ep-participate-copy>:is(p,.ths-rich),.experience-page .ep-participate-path li :is(p,.ths-rich){font-size:15px;line-height:1.45}
 .experience-page .ep-participate-path li{padding:16px 0}
 .experience-page .ep-production :is(p,.ths-rich),.experience-page .ep-network-roles dd{font-size:16px;line-height:1.5}
 .experience-page .ep-production-roles dd{font-size:14px;line-height:1.4}
}
@media(max-width:360px){
 .method .method-content{padding:14px 10px!important;gap:7px 10px;grid-template-columns:24px minmax(0,1fr)}
 .method .method-step h3{font-size:26px!important}
 .method .method-step :is(p,.ths-rich){font-size:13px}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-layout{grid-template-columns:74px minmax(0,1fr);gap:12px}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-detail h3{font-size:27px}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-detail article>:is(p,.ths-rich):last-child{font-size:15px}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-route a{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.ep-topic-disclosure::before,.ep-topic-disclosure::after{transition:none}}

@media(max-width:700px){
 body:not(.ep-enhanced) .ep-topics .ep-topic-panel{display:block;min-height:0;margin-bottom:40px}
 .ep-topics .ep-topic-panel .ep-topic-mobile-visual{height:auto!important;max-height:none}
 .experience-page .ep-journey{bottom:max(15px,env(safe-area-inset-bottom))}
}

/* Keep mobile step names centered under their circles, clear of the line. */
@media(max-width:700px){
 .experience-page .ep-guest.is-mobile-journey .ep-guest-route a{align-items:center;text-align:center;width:100%;min-width:0}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-route li{min-width:0}
 .experience-page .ep-guest.is-mobile-journey .ep-route-track{left:calc(50% - .5px)}
 .experience-page .ep-guest.is-mobile-journey .ep-guest-route a>span:last-child{position:relative;z-index:2;max-width:100%;padding:5px 1px;background:var(--brand-dark);line-height:1.2}
}
